pds-dev-kit-web-test 2.7.95 → 2.7.96

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 (529) hide show
  1. package/package.json +1 -1
  2. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.d.ts +0 -11
  3. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +0 -59
  4. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +0 -11
  5. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +0 -285
  6. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +0 -11
  7. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +0 -45
  8. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.d.ts +0 -14
  9. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.js +0 -68
  10. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +0 -10
  11. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +0 -79
  12. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.d.ts +0 -6
  13. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.js +0 -24
  14. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/index.d.ts +0 -2
  15. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/index.js +0 -8
  16. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/Text.d.ts +0 -13
  17. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/Text.js +0 -63
  18. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/index.d.ts +0 -2
  19. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/Text/index.js +0 -8
  20. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.d.ts +0 -70
  21. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.js +0 -52
  22. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/index.d.ts +0 -2
  23. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/index.js +0 -8
  24. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.d.ts +0 -4
  25. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.js +0 -9
  26. package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/ErrorBoundary.d.ts +0 -15
  27. package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/ErrorBoundary.js +0 -73
  28. package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/index.d.ts +0 -1
  29. package/dist/src/sub/DynamicLayout/components/Section/ErrorBoundary/index.js +0 -8
  30. package/dist/src/sub/DynamicLayout/components/mobile/Item/Item.d.ts +0 -23
  31. package/dist/src/sub/DynamicLayout/components/mobile/Item/Item.js +0 -462
  32. package/dist/src/sub/DynamicLayout/components/mobile/Item/index.d.ts +0 -1
  33. package/dist/src/sub/DynamicLayout/components/mobile/Item/index.js +0 -8
  34. package/dist/src/sub/DynamicLayout/components/mobile/Section/Section.d.ts +0 -16
  35. package/dist/src/sub/DynamicLayout/components/mobile/Section/Section.js +0 -141
  36. package/dist/src/sub/DynamicLayout/components/mobile/Section/index.d.ts +0 -1
  37. package/dist/src/sub/DynamicLayout/components/mobile/Section/index.js +0 -8
  38. package/dist/src/sub/DynamicLayout/components/mobile/common/Carousel.d.ts +0 -11
  39. package/dist/src/sub/DynamicLayout/components/mobile/common/Carousel.js +0 -85
  40. package/dist/src/sub/DynamicLayout/components/mobile/common/index.d.ts +0 -1
  41. package/dist/src/sub/DynamicLayout/components/mobile/common/index.js +0 -8
  42. package/dist/src/sub/DynamicLayout/components/mobile/index.d.ts +0 -3
  43. package/dist/src/sub/DynamicLayout/components/mobile/index.js +0 -22
  44. package/dist/src/sub/DynamicLayout/dynamicLayoutContext.d.ts +0 -3
  45. package/dist/src/sub/DynamicLayout/dynamicLayoutContext.js +0 -8
  46. package/dist/src/sub/DynamicLayout/gleStyles.d.ts +0 -3
  47. package/dist/src/sub/DynamicLayout/gleStyles.js +0 -19
  48. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/ContentsCarouselSection.d.ts +0 -4
  49. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/ContentsCarouselSection.js +0 -53
  50. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/index.d.ts +0 -1
  51. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/index.js +0 -8
  52. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/TemplateA.d.ts +0 -3
  53. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/TemplateA.js +0 -15
  54. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/desktop/D_TemplateA.d.ts +0 -3
  55. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/desktop/D_TemplateA.js +0 -98
  56. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/desktop/index.d.ts +0 -1
  57. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/desktop/index.js +0 -8
  58. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/index.d.ts +0 -1
  59. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/index.js +0 -8
  60. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/mobile/M_TemplateA.d.ts +0 -3
  61. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/mobile/M_TemplateA.js +0 -93
  62. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/mobile/index.d.ts +0 -1
  63. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateA/mobile/index.js +0 -8
  64. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/TemplateB.d.ts +0 -3
  65. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/TemplateB.js +0 -15
  66. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/desktop/D_TemplateB.d.ts +0 -3
  67. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/desktop/D_TemplateB.js +0 -98
  68. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/desktop/index.d.ts +0 -1
  69. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/desktop/index.js +0 -8
  70. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/index.d.ts +0 -1
  71. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/index.js +0 -8
  72. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/mobile/M_TemplateB.d.ts +0 -3
  73. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/mobile/M_TemplateB.js +0 -93
  74. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/mobile/index.d.ts +0 -1
  75. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/TemplateB/mobile/index.js +0 -8
  76. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/index.d.ts +0 -2
  77. package/dist/src/sub/DynamicLayout/sections/ContentsCarouselSection/templates/index.js +0 -7
  78. package/dist/src/sub/DynamicLayout/sections/ContentsSection/ContentsSection.d.ts +0 -4
  79. package/dist/src/sub/DynamicLayout/sections/ContentsSection/ContentsSection.js +0 -53
  80. package/dist/src/sub/DynamicLayout/sections/ContentsSection/index.d.ts +0 -1
  81. package/dist/src/sub/DynamicLayout/sections/ContentsSection/index.js +0 -8
  82. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/TemplateA.d.ts +0 -3
  83. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/TemplateA.js +0 -15
  84. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/desktop/D_TemplateA.d.ts +0 -3
  85. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/desktop/D_TemplateA.js +0 -71
  86. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/desktop/index.d.ts +0 -1
  87. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/desktop/index.js +0 -8
  88. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/index.d.ts +0 -1
  89. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/index.js +0 -8
  90. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/mobile/M_TemplateA.d.ts +0 -3
  91. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/mobile/M_TemplateA.js +0 -57
  92. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/mobile/index.d.ts +0 -1
  93. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateA/mobile/index.js +0 -8
  94. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/TemplateB.d.ts +0 -3
  95. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/TemplateB.js +0 -15
  96. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/desktop/D_TemplateB.d.ts +0 -3
  97. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/desktop/D_TemplateB.js +0 -71
  98. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/desktop/index.d.ts +0 -1
  99. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/desktop/index.js +0 -8
  100. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/index.d.ts +0 -1
  101. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/index.js +0 -8
  102. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/mobile/M_TemplateB.d.ts +0 -3
  103. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/mobile/M_TemplateB.js +0 -53
  104. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/mobile/index.d.ts +0 -1
  105. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/TemplateB/mobile/index.js +0 -8
  106. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/index.d.ts +0 -2
  107. package/dist/src/sub/DynamicLayout/sections/ContentsSection/templates/index.js +0 -7
  108. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +0 -9
  109. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +0 -1103
  110. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.d.ts +0 -12
  111. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +0 -72
  112. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcherWithCCB.d.ts +0 -11
  113. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcherWithCCB.js +0 -72
  114. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +0 -5
  115. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +0 -141
  116. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +0 -14
  117. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +0 -160
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -11
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -76
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +0 -15
  121. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +0 -69
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +0 -15
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +0 -69
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -9
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -87
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
  129. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
  130. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +0 -39
  131. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -182
  132. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +0 -18
  133. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +0 -229
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +0 -14
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +0 -46
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +0 -14
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +0 -256
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +0 -10
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +0 -85
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +0 -29
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +0 -130
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +0 -18
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +0 -229
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +0 -1
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +0 -8
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.d.ts +0 -5
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +0 -79
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.d.ts +0 -5
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +0 -48
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/EmbedIframe.d.ts +0 -8
  155. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/EmbedIframe.js +0 -45
  156. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.d.ts +0 -3
  157. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +0 -21
  158. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.d.ts +0 -1
  159. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/constant.js +0 -9
  160. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.d.ts +0 -5
  161. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +0 -176
  162. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +0 -5
  163. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +0 -70
  164. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/index.d.ts +0 -1
  165. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/index.js +0 -8
  166. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -14
  167. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -159
  168. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -11
  169. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -38
  170. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +0 -15
  171. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +0 -69
  172. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +0 -15
  173. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +0 -69
  174. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -20
  175. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -179
  176. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -9
  177. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -87
  178. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  179. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
  180. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
  181. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
  182. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +0 -18
  183. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +0 -229
  184. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +0 -16
  185. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +0 -63
  186. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +0 -1
  187. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.js +0 -8
  188. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -46
  189. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -186
  190. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +0 -5
  191. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +0 -151
  192. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.d.ts +0 -7
  193. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.js +0 -211
  194. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.d.ts +0 -5
  195. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +0 -54
  196. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +0 -5
  197. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +0 -148
  198. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +0 -1
  199. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +0 -8
  200. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +0 -6
  201. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +0 -105
  202. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/index.d.ts +0 -1
  203. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/index.js +0 -8
  204. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +0 -15
  205. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.js +0 -58
  206. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_AnimationObserverBox.d.ts +0 -6
  207. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_AnimationObserverBox.js +0 -27
  208. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_Box.d.ts +0 -2
  209. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_Box.js +0 -50
  210. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.d.ts +0 -11
  211. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +0 -106
  212. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_HiddenCover.d.ts +0 -1
  213. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_HiddenCover.js +0 -13
  214. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.d.ts +0 -12
  215. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +0 -35
  216. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/StyledSwiper/StyledSwiper.d.ts +0 -2
  217. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/StyledSwiper/StyledSwiper.js +0 -13
  218. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/index.d.ts +0 -1
  219. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/index.js +0 -5
  220. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/getGoogleFonts.d.ts +0 -2
  221. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/getGoogleFonts.js +0 -14
  222. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/index.d.ts +0 -2
  223. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/index.js +0 -10
  224. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.d.ts +0 -4
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.js +0 -17
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.d.ts +0 -6
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIntersectionObserver.js +0 -38
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIsMounted.d.ts +0 -1
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useIsMounted.js +0 -15
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useResizableObserver.d.ts +0 -12
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useResizableObserver.js +0 -74
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/index.d.ts +0 -1
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/index.js +0 -8
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/clsx.d.ts +0 -7
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/clsx.js +0 -33
  236. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.d.ts +0 -31
  237. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/colorUtil.js +0 -71
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/fontSizeAdjustment.d.ts +0 -1
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/fontSizeAdjustment.js +0 -333
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +0 -15
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.js +0 -140
  242. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/index.d.ts +0 -2
  243. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/index.js +0 -10
  244. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.d.ts +0 -2
  245. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +0 -47
  246. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.d.ts +0 -14
  247. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/textUtil.js +0 -213
  248. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseSectionPadding.d.ts +0 -23
  249. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseSectionPadding.js +0 -26
  250. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +0 -14
  251. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +0 -26
  252. package/dist/src/sub/DynamicLayout/sections/FooterSection/FooterSection.d.ts +0 -4
  253. package/dist/src/sub/DynamicLayout/sections/FooterSection/FooterSection.js +0 -53
  254. package/dist/src/sub/DynamicLayout/sections/FooterSection/index.d.ts +0 -1
  255. package/dist/src/sub/DynamicLayout/sections/FooterSection/index.js +0 -8
  256. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/TemplateA.d.ts +0 -3
  257. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/TemplateA.js +0 -15
  258. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/desktop/D_TemplateA.d.ts +0 -3
  259. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/desktop/D_TemplateA.js +0 -51
  260. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/desktop/index.d.ts +0 -1
  261. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/desktop/index.js +0 -8
  262. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/index.d.ts +0 -1
  263. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/index.js +0 -8
  264. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/mobile/M_TemplateA.d.ts +0 -3
  265. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/mobile/M_TemplateA.js +0 -51
  266. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/mobile/index.d.ts +0 -1
  267. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateA/mobile/index.js +0 -8
  268. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/TemplateB.d.ts +0 -3
  269. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/TemplateB.js +0 -15
  270. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/desktop/D_TemplateB.d.ts +0 -3
  271. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/desktop/D_TemplateB.js +0 -51
  272. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/desktop/index.d.ts +0 -1
  273. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/desktop/index.js +0 -8
  274. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/index.d.ts +0 -1
  275. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/index.js +0 -8
  276. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/mobile/M_TemplateB.d.ts +0 -3
  277. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/mobile/M_TemplateB.js +0 -51
  278. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/mobile/index.d.ts +0 -1
  279. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/TemplateB/mobile/index.js +0 -8
  280. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/index.d.ts +0 -2
  281. package/dist/src/sub/DynamicLayout/sections/FooterSection/templates/index.js +0 -7
  282. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/FullscreenIframeSection.d.ts +0 -4
  283. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/FullscreenIframeSection.js +0 -51
  284. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/index.d.ts +0 -1
  285. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/index.js +0 -8
  286. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/TemplateA.d.ts +0 -3
  287. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/TemplateA.js +0 -15
  288. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.d.ts +0 -3
  289. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.js +0 -37
  290. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/index.d.ts +0 -1
  291. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/index.js +0 -8
  292. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/index.d.ts +0 -1
  293. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/index.js +0 -8
  294. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.d.ts +0 -3
  295. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.js +0 -37
  296. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/index.d.ts +0 -1
  297. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/index.js +0 -8
  298. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/index.d.ts +0 -1
  299. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/index.js +0 -5
  300. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/InfoBoxSection.d.ts +0 -4
  301. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/InfoBoxSection.js +0 -51
  302. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/index.d.ts +0 -1
  303. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/index.js +0 -8
  304. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/TemplateA.d.ts +0 -3
  305. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/TemplateA.js +0 -15
  306. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/desktop/D_TemplateA.d.ts +0 -3
  307. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/desktop/D_TemplateA.js +0 -86
  308. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/desktop/index.d.ts +0 -1
  309. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/desktop/index.js +0 -8
  310. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/index.d.ts +0 -1
  311. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/index.js +0 -8
  312. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/mobile/M_TemplateA.d.ts +0 -3
  313. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/mobile/M_TemplateA.js +0 -68
  314. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/mobile/index.d.ts +0 -1
  315. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/TemplateA/mobile/index.js +0 -8
  316. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/index.d.ts +0 -1
  317. package/dist/src/sub/DynamicLayout/sections/InfoBoxSection/templates/index.js +0 -5
  318. package/dist/src/sub/DynamicLayout/sections/IntroSection/IntroSection.d.ts +0 -4
  319. package/dist/src/sub/DynamicLayout/sections/IntroSection/IntroSection.js +0 -57
  320. package/dist/src/sub/DynamicLayout/sections/IntroSection/index.d.ts +0 -1
  321. package/dist/src/sub/DynamicLayout/sections/IntroSection/index.js +0 -8
  322. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/TemplateA.d.ts +0 -3
  323. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/TemplateA.js +0 -15
  324. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/desktop/D_TemplateA.d.ts +0 -3
  325. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/desktop/D_TemplateA.js +0 -48
  326. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/desktop/index.d.ts +0 -1
  327. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/desktop/index.js +0 -8
  328. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/index.d.ts +0 -1
  329. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/index.js +0 -8
  330. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/mobile/M_TemplateA.d.ts +0 -3
  331. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/mobile/M_TemplateA.js +0 -65
  332. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/mobile/index.d.ts +0 -1
  333. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateA/mobile/index.js +0 -8
  334. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/TemplateB.d.ts +0 -3
  335. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/TemplateB.js +0 -15
  336. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/desktop/D_TemplateB.d.ts +0 -3
  337. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/desktop/D_TemplateB.js +0 -49
  338. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/desktop/index.d.ts +0 -1
  339. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/desktop/index.js +0 -8
  340. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/index.d.ts +0 -1
  341. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/index.js +0 -8
  342. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/mobile/M_TemplateB.d.ts +0 -3
  343. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/mobile/M_TemplateB.js +0 -65
  344. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/mobile/index.d.ts +0 -1
  345. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateB/mobile/index.js +0 -8
  346. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/TemplateC.d.ts +0 -3
  347. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/TemplateC.js +0 -15
  348. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/desktop/D_TemplateC.d.ts +0 -3
  349. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/desktop/D_TemplateC.js +0 -49
  350. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/desktop/index.d.ts +0 -1
  351. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/desktop/index.js +0 -8
  352. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/index.d.ts +0 -1
  353. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/index.js +0 -8
  354. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/mobile/M_TemplateC.d.ts +0 -3
  355. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/mobile/M_TemplateC.js +0 -54
  356. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/mobile/index.d.ts +0 -1
  357. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateC/mobile/index.js +0 -8
  358. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/TemplateD.d.ts +0 -3
  359. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/TemplateD.js +0 -15
  360. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/desktop/D_TemplateD.d.ts +0 -3
  361. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/desktop/D_TemplateD.js +0 -48
  362. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/desktop/index.d.ts +0 -1
  363. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/desktop/index.js +0 -8
  364. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/index.d.ts +0 -1
  365. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/index.js +0 -8
  366. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/mobile/M_TemplateD.d.ts +0 -3
  367. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/mobile/M_TemplateD.js +0 -54
  368. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/mobile/index.d.ts +0 -1
  369. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/TemplateD/mobile/index.js +0 -8
  370. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/index.d.ts +0 -4
  371. package/dist/src/sub/DynamicLayout/sections/IntroSection/templates/index.js +0 -11
  372. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts +0 -4
  373. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.js +0 -79
  374. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/index.d.ts +0 -1
  375. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/index.js +0 -8
  376. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.d.ts +0 -5
  377. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.js +0 -25
  378. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.d.ts +0 -8
  379. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.js +0 -27
  380. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.d.ts +0 -3
  381. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +0 -35
  382. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.d.ts +0 -8
  383. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.js +0 -10
  384. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.d.ts +0 -8
  385. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +0 -85
  386. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.d.ts +0 -8
  387. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +0 -97
  388. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.d.ts +0 -11
  389. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +0 -178
  390. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.d.ts +0 -3
  391. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +0 -49
  392. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.d.ts +0 -7
  393. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +0 -33
  394. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.d.ts +0 -11
  395. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.js +0 -88
  396. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/index.d.ts +0 -1
  397. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/index.js +0 -8
  398. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/index.d.ts +0 -1
  399. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/index.js +0 -8
  400. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.d.ts +0 -7
  401. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.js +0 -28
  402. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.d.ts +0 -3
  403. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +0 -35
  404. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.d.ts +0 -8
  405. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.js +0 -11
  406. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.d.ts +0 -7
  407. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.js +0 -22
  408. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.d.ts +0 -7
  409. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.js +0 -51
  410. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.d.ts +0 -3
  411. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +0 -48
  412. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/index.d.ts +0 -1
  413. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/index.js +0 -8
  414. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.d.ts +0 -5
  415. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.js +0 -25
  416. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.d.ts +0 -8
  417. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.js +0 -25
  418. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.d.ts +0 -3
  419. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +0 -35
  420. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.d.ts +0 -8
  421. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.js +0 -10
  422. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.d.ts +0 -7
  423. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.js +0 -89
  424. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +0 -8
  425. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +0 -85
  426. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.d.ts +0 -8
  427. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +0 -79
  428. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.d.ts +0 -3
  429. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +0 -48
  430. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.d.ts +0 -7
  431. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +0 -33
  432. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/index.d.ts +0 -1
  433. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/index.js +0 -8
  434. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/index.d.ts +0 -1
  435. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/index.js +0 -8
  436. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.d.ts +0 -7
  437. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.js +0 -28
  438. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.d.ts +0 -3
  439. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +0 -35
  440. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.d.ts +0 -8
  441. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.js +0 -11
  442. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.d.ts +0 -7
  443. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.js +0 -22
  444. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.d.ts +0 -7
  445. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +0 -51
  446. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.d.ts +0 -3
  447. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +0 -48
  448. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/index.d.ts +0 -1
  449. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/index.js +0 -8
  450. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/index.d.ts +0 -2
  451. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/index.js +0 -7
  452. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.d.ts +0 -4
  453. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.js +0 -54
  454. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/index.d.ts +0 -1
  455. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/index.js +0 -8
  456. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.d.ts +0 -3
  457. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.js +0 -15
  458. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.d.ts +0 -3
  459. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.js +0 -30
  460. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.d.ts +0 -3
  461. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.js +0 -49
  462. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/index.d.ts +0 -1
  463. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/index.js +0 -8
  464. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/index.d.ts +0 -1
  465. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/index.js +0 -8
  466. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.d.ts +0 -3
  467. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.js +0 -33
  468. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.d.ts +0 -3
  469. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.js +0 -48
  470. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/index.d.ts +0 -1
  471. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/index.js +0 -8
  472. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.d.ts +0 -3
  473. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.js +0 -15
  474. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.d.ts +0 -3
  475. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.js +0 -30
  476. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.d.ts +0 -3
  477. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.js +0 -48
  478. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/index.d.ts +0 -1
  479. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/index.js +0 -8
  480. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/index.d.ts +0 -1
  481. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/index.js +0 -8
  482. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.d.ts +0 -3
  483. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.js +0 -33
  484. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.d.ts +0 -3
  485. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.js +0 -48
  486. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/index.d.ts +0 -1
  487. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/index.js +0 -8
  488. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/index.d.ts +0 -2
  489. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/index.js +0 -7
  490. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +0 -44
  491. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +0 -256
  492. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/index.d.ts +0 -1
  493. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/index.js +0 -8
  494. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/index.d.ts +0 -2
  495. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/index.js +0 -7
  496. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +0 -45
  497. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +0 -276
  498. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/index.d.ts +0 -1
  499. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/index.js +0 -8
  500. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.d.ts +0 -13
  501. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.js +0 -58
  502. package/dist/src/sub/DynamicLayout/sections/MembershipSection/index.d.ts +0 -3
  503. package/dist/src/sub/DynamicLayout/sections/MembershipSection/index.js +0 -7
  504. package/dist/src/sub/DynamicLayout/sections/MembershipSection/type.d.ts +0 -5
  505. package/dist/src/sub/DynamicLayout/sections/MembershipSection/type.js +0 -2
  506. package/dist/src/sub/DynamicLayout/sections/index.d.ts +0 -9
  507. package/dist/src/sub/DynamicLayout/sections/index.js +0 -21
  508. package/dist/src/sub/DynamicLayout/utils/formatCurrency.d.ts +0 -8
  509. package/dist/src/sub/DynamicLayout/utils/formatCurrency.js +0 -27
  510. package/dist/src/sub/GoogleFontkit/api/getGoogleFontCss.d.ts +0 -10
  511. package/dist/src/sub/GoogleFontkit/api/getGoogleFontCss.js +0 -53
  512. package/dist/src/sub/GoogleFontkit/constants.d.ts +0 -7
  513. package/dist/src/sub/GoogleFontkit/constants.js +0 -44
  514. package/dist/src/sub/GoogleFontkit/types.d.ts +0 -44
  515. package/dist/src/sub/GoogleFontkit/types.js +0 -14
  516. package/dist/src/sub/GoogleFontkit/utils/callGoogleFontCSSAndApply.d.ts +0 -2
  517. package/dist/src/sub/GoogleFontkit/utils/callGoogleFontCSSAndApply.js +0 -72
  518. package/dist/src/sub/GoogleFontkit/utils/createStyleSheet.d.ts +0 -1
  519. package/dist/src/sub/GoogleFontkit/utils/createStyleSheet.js +0 -10
  520. package/dist/src/sub/GoogleFontkit/utils/extractFontStyles.d.ts +0 -1
  521. package/dist/src/sub/GoogleFontkit/utils/extractFontStyles.js +0 -22
  522. package/dist/src/sub/GoogleFontkit/utils/fillStyleSheet.d.ts +0 -1
  523. package/dist/src/sub/GoogleFontkit/utils/fillStyleSheet.js +0 -13
  524. package/dist/src/sub/GoogleFontkit/utils/getFontId.d.ts +0 -1
  525. package/dist/src/sub/GoogleFontkit/utils/getFontId.js +0 -6
  526. package/dist/src/sub/GoogleFontkit/utils/getMatches.d.ts +0 -1
  527. package/dist/src/sub/GoogleFontkit/utils/getMatches.js +0 -14
  528. package/dist/src/sub/GoogleFontkit/utils/isStyleSheetExists.d.ts +0 -1
  529. package/dist/src/sub/GoogleFontkit/utils/isStyleSheetExists.js +0 -12
@@ -1,1103 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
- if (k2 === undefined) k2 = k;
19
- var desc = Object.getOwnPropertyDescriptor(m, k);
20
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
- desc = { enumerable: true, get: function() { return m[k]; } };
22
- }
23
- Object.defineProperty(o, k2, desc);
24
- }) : (function(o, m, k, k2) {
25
- if (k2 === undefined) k2 = k;
26
- o[k2] = m[k];
27
- }));
28
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
- Object.defineProperty(o, "default", { enumerable: true, value: v });
30
- }) : function(o, v) {
31
- o["default"] = v;
32
- });
33
- var __importStar = (this && this.__importStar) || function (mod) {
34
- if (mod && mod.__esModule) return mod;
35
- var result = {};
36
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
- __setModuleDefault(result, mod);
38
- return result;
39
- };
40
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
41
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
42
- if (ar || !(i in from)) {
43
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
44
- ar[i] = from[i];
45
- }
46
- }
47
- return to.concat(ar || Array.prototype.slice.call(from));
48
- };
49
- var __importDefault = (this && this.__importDefault) || function (mod) {
50
- return (mod && mod.__esModule) ? mod : { "default": mod };
51
- };
52
- Object.defineProperty(exports, "__esModule", { value: true });
53
- var jsx_runtime_1 = require("react/jsx-runtime");
54
- var publ_echo_test_1 = require("publ-echo-test");
55
- var group_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/group");
56
- var renderHelpers_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/utils/renderHelpers");
57
- var react_1 = __importStar(require("react"));
58
- var ErrorBoundary_1 = require("@sub/DynamicLayout/components/Section/ErrorBoundary");
59
- var dynamicLayoutContext_1 = require("@sub/DynamicLayout/dynamicLayoutContext");
60
- var gleStyles_1 = require("@sub/DynamicLayout/gleStyles");
61
- var styled_components_1 = __importDefault(require("styled-components"));
62
- var components_1 = require("../../components");
63
- var ComponentBlockMatcherWithCCB_1 = __importDefault(require("./components/ComponentBlock/ComponentBlockMatcherWithCCB"));
64
- var S_HiddenCover_1 = require("./components/ComponentBlock/componentBlocks/components/S_HiddenCover");
65
- var clsx_1 = require("./newUtils/clsx");
66
- var group_2 = require("./newUtils/group");
67
- var util_1 = require("./util");
68
- var parseSectionPadding_1 = __importDefault(require("./util/layoutPropParsers/parseSectionPadding"));
69
- var Responsive = (0, publ_echo_test_1.WidthProvider)(publ_echo_test_1.ResponsiveGridEditor);
70
- var GRID_CELL_MIN = 24;
71
- var DESKTOP_GRID_COLS = 24;
72
- var MOBILE_GRID_COLS = 8;
73
- var GLE_MIN_WIDTH_DESKTOP_PX = "".concat(GRID_CELL_MIN * DESKTOP_GRID_COLS, "px");
74
- var GLE_MIN_WIDTH_MOBILE_PX = "".concat(GRID_CELL_MIN * MOBILE_GRID_COLS, "px");
75
- var CustomSection = (0, react_1.forwardRef)(function CustomSection(props, ref) {
76
- var _a, _b, _c, _d;
77
- var _e = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _e.device, editingSectionId = _e.editingSectionId, mode = _e.mode, shortcutKeyMode = _e.shortcutKeyMode, zoomScale = _e.zoomScale, placementRestriction = _e.placementRestriction, sectionActionHandler = _e.sectionActionHandler;
78
- var componentBlocks = props.componentBlocks, jsonProperties = props.jsonProperties;
79
- var sectionPedigree = jsonProperties === null || jsonProperties === void 0 ? void 0 : jsonProperties.pedigree;
80
- var _f = (0, react_1.useState)(sectionPedigree), pedigreeState = _f[0], setPedigreeState = _f[1];
81
- (0, react_1.useEffect)(function () {
82
- setPedigreeState(sectionPedigree);
83
- }, [sectionPedigree]);
84
- var _g = jsonProperties, _h = _g.data, CB_PLACEMENT_PROP_SECTION = _h.CB_PLACEMENT_PROP_SECTION, CB_LAYOUT_PROP_PADDING = _h.CB_LAYOUT_PROP_PADDING, CB_CONTENT_PROP_SECTION = _h.CB_CONTENT_PROP_SECTION, zOrders = _g.zOrders;
85
- var colsDesktop = (_a = CB_PLACEMENT_PROP_SECTION.CB_PLACEMENT_PROP_SECTION_SPEC_COLS) !== null && _a !== void 0 ? _a : 24;
86
- var colsMobile = (_b = CB_PLACEMENT_PROP_SECTION['CB_PLACEMENT_PROP_SECTION_SPEC_COLS:MOBILE']) !== null && _b !== void 0 ? _b : 8;
87
- var _j = (0, react_1.useState)(null), selectedBlockId = _j[0], setSelectedBlockId = _j[1];
88
- var gleRef = (0, react_1.useRef)(null);
89
- var _k = (0, react_1.useState)(50), rowHeight = _k[0], setRowHeight = _k[1];
90
- var _l = (0, react_1.useState)(16), baseFontSize = _l[0], setBaseFontSize = _l[1];
91
- var isMobile = device === 'MOBILE';
92
- var isEditMode = mode === 'EDIT';
93
- var layoutByDevice = device === 'DESKTOP' ? 'lg' : 'sm';
94
- var _m = (0, react_1.useState)(function () {
95
- var _a = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : [], zOrders, placementRestriction), lg = _a.lg, sm = _a.sm;
96
- return {
97
- lg: lg,
98
- sm: sm
99
- };
100
- }), layouts = _m[0], setLayouts = _m[1];
101
- var _o = (0, react_1.useState)('ROOT'), editingGroupBlock = _o[0], setEditingGroupBlock = _o[1];
102
- var _p = (0, react_1.useState)([]), bulkBlockIds = _p[0], setBulkBlockIds = _p[1];
103
- (0, react_1.useEffect)(function () {
104
- if (editingGroupBlock) {
105
- var found = (0, group_1.findBlockByBlockId)(sectionPedigree, editingGroupBlock);
106
- if (!found) {
107
- setEditingGroupBlock('ROOT');
108
- return;
109
- }
110
- if (found.type === 'GROUP_BLOCK' && found.children.length === 0) {
111
- setEditingGroupBlock('ROOT');
112
- return;
113
- }
114
- }
115
- }, [editingGroupBlock, sectionPedigree]);
116
- var newblock = bulkBlockIds.length > 0
117
- ? (0, group_1.addBulkToTarget)(pedigreeState, editingGroupBlock, bulkBlockIds)
118
- : pedigreeState;
119
- (0, react_1.useImperativeHandle)(ref, function () {
120
- return {
121
- selectCB: function (blockId) {
122
- setSelectedBlockId(blockId);
123
- },
124
- selectCBInBulk: function (blockIds) {
125
- setBulkBlockIds(blockIds);
126
- },
127
- selectGroup: function (groupBlockId) {
128
- setBulkBlockIds([]);
129
- setSelectedBlockId(groupBlockId);
130
- }
131
- };
132
- }, [componentBlocks]);
133
- (0, react_1.useLayoutEffect)(function () {
134
- var parsedLayouts = (0, util_1.parsePlacement)(componentBlocks !== null && componentBlocks !== void 0 ? componentBlocks : [], zOrders, placementRestriction);
135
- setLayouts(function (prev) {
136
- var _a;
137
- var _b;
138
- var group = (0, group_2.getGroupCB)(prev[layoutByDevice]);
139
- var groupedCBIds = (_b = group === null || group === void 0 ? void 0 : group.childrenIds) !== null && _b !== void 0 ? _b : [];
140
- var filteredLayout = (0, group_2.filterItemsById)(parsedLayouts[layoutByDevice], groupedCBIds);
141
- if (group === null || group === void 0 ? void 0 : group.groupLayouts) {
142
- var groupCbs = parsedLayouts[layoutByDevice].filter(function (each) {
143
- return groupedCBIds.includes(each.i);
144
- });
145
- if (groupCbs.length > 0) {
146
- var newGroupLayout = (0, group_2.getGroupForMultiple)(groupCbs);
147
- filteredLayout.push(newGroupLayout);
148
- }
149
- }
150
- return __assign(__assign({}, prev), (_a = {}, _a[layoutByDevice] = filteredLayout, _a));
151
- });
152
- }, [componentBlocks, group_2.getGroupCB, layoutByDevice, zOrders]);
153
- (0, react_1.useEffect)(function () {
154
- if (editingSectionId !== props.id) {
155
- setSelectedBlockId(null);
156
- setBulkBlockIds([]);
157
- setEditingGroupBlock('ROOT');
158
- }
159
- }, [editingSectionId]);
160
- var workDir = (_c = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _c !== void 0 ? _c : '/ROOT';
161
- (0, react_1.useEffect)(function () {
162
- sectionActionHandler &&
163
- sectionActionHandler({
164
- type: '@CUSTOMSECTION/WORKDIR_CHANGED',
165
- payload: {
166
- workDir: workDir
167
- }
168
- });
169
- }, [workDir]);
170
- // NOTE: 추후에 event를 외부에서 전달받게하거나, 아예 상태를 끌어올리거나 해야합니다.
171
- (0, react_1.useLayoutEffect)(function () {
172
- var _a, _b, _c, _d, _e, _f;
173
- if (props.id !== editingSectionId) {
174
- return;
175
- }
176
- if (!shortcutKeyMode) {
177
- return;
178
- }
179
- if (shortcutKeyMode === 'SELECT_ALL') {
180
- makeAllInOneGroup();
181
- return;
182
- }
183
- // esc
184
- if (shortcutKeyMode === 'MANUAL_BULK_BREAK') {
185
- if (selectedBlockId &&
186
- editingGroupBlock !== selectedBlockId &&
187
- editingGroupBlock !== 'ROOT') {
188
- setSelectedBlockId(null);
189
- sectionActionHandler &&
190
- sectionActionHandler({
191
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
192
- payload: {
193
- block: {
194
- blockId: editingGroupBlock,
195
- type: 'GROUP_BLOCK',
196
- workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
197
- childrenBlockIds: (_b = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : [],
198
- childrenCBIds: (_c = (0, group_1.findDirectChildrenCbIds)(newblock, editingGroupBlock)) !== null && _c !== void 0 ? _c : []
199
- }
200
- }
201
- });
202
- return;
203
- }
204
- if (bulkBlockIds.length > 0) {
205
- setBulkBlockIds([]);
206
- setSelectedBlockId(null);
207
- sectionActionHandler &&
208
- sectionActionHandler({
209
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
210
- payload: {
211
- block: {
212
- blockId: editingGroupBlock,
213
- type: 'GROUP_BLOCK',
214
- workDir: (_d = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _d !== void 0 ? _d : 'NOT-FOUND',
215
- childrenBlockIds: (_e = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock)) !== null && _e !== void 0 ? _e : [],
216
- childrenCBIds: (_f = (0, group_1.findDirectChildrenCbIds)(newblock, editingGroupBlock)) !== null && _f !== void 0 ? _f : []
217
- }
218
- }
219
- });
220
- return;
221
- }
222
- if (editingGroupBlock !== 'ROOT') {
223
- setEditingGroupBlock('ROOT');
224
- setSelectedBlockId(null);
225
- sectionActionHandler &&
226
- sectionActionHandler({
227
- type: '@CUSTOMSECTION/BULK_DISMISSED',
228
- payload: {
229
- message: 'MANUAL_BULK_BREAK_OR_ESC',
230
- editingGroupBlock: 'ROOT'
231
- }
232
- });
233
- return;
234
- }
235
- if (editingGroupBlock === 'ROOT') {
236
- setSelectedBlockId(null);
237
- sectionActionHandler &&
238
- sectionActionHandler({
239
- type: '@CUSTOMSECTION/BULK_DISMISSED',
240
- payload: {
241
- message: 'MANUAL_BULK_BREAK_OR_ESC',
242
- editingGroupBlock: 'ROOT'
243
- }
244
- });
245
- }
246
- }
247
- }, [shortcutKeyMode, setSelectedBlockId]);
248
- (0, react_1.useLayoutEffect)(function () {
249
- var _a;
250
- if (props.id !== editingSectionId) {
251
- return;
252
- }
253
- if (shortcutKeyMode === 'MANUAL_COLLISION_SELECT') {
254
- if (!selectedBlockId || selectedBlockId === 'BULK') {
255
- return;
256
- }
257
- var selectedCBId = selectedBlockId ? (0, group_1.formatBlockIdToCbId)(selectedBlockId) : undefined;
258
- if (!selectedCBId) {
259
- return;
260
- }
261
- var bulks_1 = getCollisionGroupIds(selectedCBId);
262
- if (selectedBlockId) {
263
- bulks_1.push(selectedBlockId);
264
- }
265
- setBulkBlockIds(function (prev) {
266
- var set = new Set(__spreadArray(__spreadArray([], prev, true), bulks_1, true));
267
- return Array.from(set);
268
- });
269
- setSelectedBlockId(null);
270
- var newBulkCBIds = bulks_1
271
- .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
272
- .filter(function (each) { return each !== null; });
273
- var childrenCBIds = [];
274
- if (newBulkCBIds.length === 0) {
275
- var oneCB = (0, group_1.findOneComponentBlock)(newblock, bulks_1[0]);
276
- childrenCBIds = oneCB ? [oneCB] : [];
277
- }
278
- else {
279
- childrenCBIds = newBulkCBIds;
280
- }
281
- var groupDisabled = getWorkDirDirectChildrenLength() === __spreadArray(__spreadArray([], bulkBlockIds, true), bulks_1, true).length;
282
- sectionActionHandler &&
283
- sectionActionHandler({
284
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
285
- payload: {
286
- block: {
287
- type: 'BULK',
288
- blockId: 'BULK',
289
- childrenBlockIds: bulks_1,
290
- workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
291
- childrenCBIds: childrenCBIds,
292
- groupDisabled: groupDisabled && editingGroupBlock !== 'ROOT'
293
- }
294
- }
295
- });
296
- return;
297
- }
298
- }, [selectedBlockId, shortcutKeyMode, sectionActionHandler, bulkBlockIds, setSelectedBlockId]);
299
- var makeAllInOneGroup = function () {
300
- var _a, _b, _c, _d, _e;
301
- var allRootChildIds = (0, group_1.findDirectChildrenBlockIds)(pedigreeState, editingGroupBlock);
302
- if (allRootChildIds.length === 1) {
303
- var block = (0, group_1.findBlockByBlockId)(newblock, allRootChildIds[0]);
304
- if (!block) {
305
- return;
306
- }
307
- setSelectedBlockId(block.blockId);
308
- setBulkBlockIds([]);
309
- if (block.type === 'COMPONENT_BLOCK') {
310
- sectionActionHandler &&
311
- sectionActionHandler({
312
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
313
- payload: {
314
- block: {
315
- blockId: block.blockId,
316
- type: block.type,
317
- cbId: block.componentBlockId,
318
- workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND'
319
- }
320
- }
321
- });
322
- return;
323
- }
324
- if (block.type === 'GROUP_BLOCK') {
325
- sectionActionHandler &&
326
- sectionActionHandler({
327
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
328
- payload: {
329
- block: {
330
- blockId: block.blockId,
331
- type: 'GROUP_BLOCK',
332
- workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : 'NOT-FOUND',
333
- childrenBlockIds: (_c = (0, group_1.findDirectChildrenBlockIds)(newblock, block.blockId)) !== null && _c !== void 0 ? _c : [],
334
- childrenCBIds: (_d = (0, group_1.findDirectChildrenCbIds)(newblock, block.blockId)) !== null && _d !== void 0 ? _d : []
335
- }
336
- }
337
- });
338
- }
339
- return;
340
- }
341
- setBulkBlockIds(allRootChildIds);
342
- var newBulkCBIds = allRootChildIds
343
- .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
344
- .filter(function (each) { return each !== null; });
345
- var childrenCBIds = [];
346
- if (newBulkCBIds.length === 0) {
347
- var oneCB = (0, group_1.findOneComponentBlock)(newblock, allRootChildIds[0]);
348
- childrenCBIds = oneCB ? [oneCB] : [];
349
- }
350
- else {
351
- childrenCBIds = newBulkCBIds;
352
- }
353
- var groupDisabled = getWorkDirDirectChildrenLength() === allRootChildIds.length;
354
- sectionActionHandler &&
355
- sectionActionHandler({
356
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
357
- payload: {
358
- block: {
359
- type: 'BULK',
360
- blockId: 'BULK',
361
- childrenBlockIds: allRootChildIds,
362
- workDir: (_e = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _e !== void 0 ? _e : 'NOT-FOUND',
363
- childrenCBIds: childrenCBIds,
364
- groupDisabled: groupDisabled && editingGroupBlock !== 'ROOT'
365
- }
366
- }
367
- });
368
- };
369
- var getCollisionGroupIds = function (cdId1) {
370
- var layoutItem = (0, renderHelpers_1.getLayoutItem)(layouts[layoutByDevice], cdId1.toString());
371
- if (!layoutItem) {
372
- return [];
373
- }
374
- var allCollisions = (0, renderHelpers_1.getAllCollisions)(layouts[layoutByDevice], layoutItem);
375
- var allCollisionsCbIds = allCollisions.map(function (each) { return Number(each.i); });
376
- var workDirChildrenBlockIds = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock);
377
- var collisions = workDirChildrenBlockIds.filter(function (each) {
378
- var cbId = (0, group_1.formatBlockIdToCbId)(each);
379
- var allCollisions = (0, group_1.findAllChildrenCbIds)(newblock, each);
380
- if (cbId !== null && allCollisionsCbIds.includes(cbId)) {
381
- return true;
382
- }
383
- var hasCollision = allCollisions.some(function (each) { return allCollisionsCbIds.includes(each); });
384
- return hasCollision;
385
- });
386
- return __spreadArray(__spreadArray([], collisions, true), [(0, group_1.formatCbIdToBlockId)(cdId1)], false);
387
- };
388
- var _q = (0, util_1.parseCustomSectionPlacement)({
389
- isMobile: isMobile,
390
- customSectionProps: CB_PLACEMENT_PROP_SECTION
391
- }), rows = _q.rows, width = _q.width, minHeight = _q.minHeight, isFullWidth = _q.isFullWidth;
392
- var customSectionStyles = {
393
- minHeight: "".concat(minHeight, "vh"),
394
- width: '100%',
395
- maxWidth: isFullWidth ? '' : "".concat(width, "px")
396
- };
397
- var breakpoint = device === 'MOBILE' ? 'sm' : 'lg';
398
- var onClickCB = function (id) {
399
- var _a, _b, _c, _d, _e, _f, _g;
400
- var blockId = (0, group_1.formatCbIdToBlockId)(id);
401
- if (!isEditMode) {
402
- return;
403
- }
404
- var added = (function () {
405
- if (selectedBlockId === editingGroupBlock) {
406
- return [blockId];
407
- }
408
- if (selectedBlockId === 'BULK') {
409
- return [blockId];
410
- }
411
- return selectedBlockId ? [selectedBlockId, blockId] : [blockId];
412
- })();
413
- if (shortcutKeyMode === 'BULK_SELECT') {
414
- setBulkBlockIds(function (prev) {
415
- var set = new Set(__spreadArray(__spreadArray([], prev, true), added, true));
416
- return Array.from(set);
417
- });
418
- setSelectedBlockId(null);
419
- var newBulkBlockIds = Array.from(new Set(__spreadArray(__spreadArray([], bulkBlockIds, true), added, true)));
420
- var newBulkCBIds = newBulkBlockIds
421
- .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
422
- .filter(function (each) { return each !== null; });
423
- var childrenCBIds = [];
424
- if (newBulkCBIds.length === 0) {
425
- var oneCB = (0, group_1.findOneComponentBlock)(newblock, newBulkBlockIds[0]);
426
- childrenCBIds = oneCB ? [oneCB] : [];
427
- }
428
- else {
429
- childrenCBIds = newBulkCBIds;
430
- }
431
- var groupDisabled = getWorkDirDirectChildrenLength() === __spreadArray(__spreadArray([], bulkBlockIds, true), added, true).length;
432
- sectionActionHandler &&
433
- sectionActionHandler({
434
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
435
- payload: {
436
- block: {
437
- type: 'BULK',
438
- blockId: 'BULK',
439
- childrenBlockIds: newBulkBlockIds,
440
- childrenCBIds: childrenCBIds,
441
- workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
442
- groupDisabled: groupDisabled && editingGroupBlock !== 'ROOT'
443
- }
444
- }
445
- });
446
- return;
447
- }
448
- if (shortcutKeyMode === 'COLLISION_SELECT') {
449
- var bulks = getCollisionGroupIds(id);
450
- var newBulksSet = new Set(__spreadArray(__spreadArray(__spreadArray([], bulkBlockIds, true), added, true), bulks, true));
451
- var newBulks = Array.from(newBulksSet);
452
- if (newBulks.length === 1) {
453
- var blockId_1 = newBulks[0];
454
- setSelectedBlockId(blockId_1);
455
- setBulkBlockIds([]);
456
- sectionActionHandler &&
457
- sectionActionHandler({
458
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
459
- payload: {
460
- block: {
461
- type: 'COMPONENT_BLOCK',
462
- blockId: blockId_1,
463
- cbId: id,
464
- workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : 'NOT-FOUND'
465
- }
466
- }
467
- });
468
- return;
469
- }
470
- setBulkBlockIds(newBulks);
471
- setSelectedBlockId(null);
472
- var newBulkCBIds = newBulks
473
- .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
474
- .filter(function (each) { return each !== null; });
475
- var childrenCBIds = [];
476
- if (newBulkCBIds.length === 0) {
477
- var oneCB = (0, group_1.findOneComponentBlock)(newblock, bulks[0]);
478
- childrenCBIds = oneCB ? [oneCB] : [];
479
- }
480
- else {
481
- childrenCBIds = newBulkCBIds;
482
- }
483
- var groupDisabled = getWorkDirDirectChildrenLength() === newBulks.length;
484
- sectionActionHandler &&
485
- sectionActionHandler({
486
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
487
- payload: {
488
- block: {
489
- type: 'BULK',
490
- blockId: 'BULK',
491
- childrenBlockIds: newBulks,
492
- workDir: (_c = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _c !== void 0 ? _c : 'NOT-FOUND',
493
- childrenCBIds: childrenCBIds,
494
- groupDisabled: groupDisabled && editingGroupBlock !== 'ROOT'
495
- }
496
- }
497
- });
498
- return;
499
- }
500
- var blockType = blockId.startsWith('GB_') ? 'GROUP_BLOCK' : 'COMPONENT_BLOCK';
501
- setSelectedBlockId(blockId);
502
- setBulkBlockIds([]);
503
- if (blockType === 'COMPONENT_BLOCK') {
504
- sectionActionHandler &&
505
- sectionActionHandler({
506
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
507
- payload: {
508
- block: {
509
- blockId: blockId,
510
- type: blockType,
511
- cbId: id,
512
- workDir: (_d = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _d !== void 0 ? _d : 'NOT-FOUND'
513
- }
514
- }
515
- });
516
- return;
517
- }
518
- if (blockType === 'GROUP_BLOCK') {
519
- sectionActionHandler &&
520
- sectionActionHandler({
521
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
522
- payload: {
523
- block: {
524
- blockId: blockId,
525
- type: 'GROUP_BLOCK',
526
- workDir: (_e = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _e !== void 0 ? _e : 'NOT-FOUND',
527
- childrenBlockIds: (_f = (0, group_1.findDirectChildrenBlockIds)(newblock, blockId)) !== null && _f !== void 0 ? _f : [],
528
- childrenCBIds: (_g = (0, group_1.findDirectChildrenCbIds)(newblock, blockId)) !== null && _g !== void 0 ? _g : []
529
- }
530
- }
531
- });
532
- }
533
- };
534
- var onContextMenuCB = function (id, e) {
535
- var _a;
536
- var blockId = (0, group_1.formatCbIdToBlockId)(id);
537
- if (!isEditMode) {
538
- return;
539
- }
540
- if (selectedBlockId === 'BULK' && blockId !== selectedBlockId) {
541
- setBulkBlockIds([]);
542
- }
543
- // if (!['COLLISION_SELECT', 'BULK_SELECT'].includes(shortcutKeyMode ?? '')) {
544
- // if (blockId !== selectedBlockId) {
545
- // setBulkBlockIds([]);
546
- // }
547
- // }
548
- setSelectedBlockId(blockId);
549
- if (sectionActionHandler) {
550
- sectionActionHandler({
551
- type: '@CUSTOMSECTION/CB_RIGHT_CLICKED',
552
- payload: {
553
- e: e,
554
- block: {
555
- blockId: blockId,
556
- cbId: id,
557
- type: 'COMPONENT_BLOCK',
558
- workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND'
559
- }
560
- }
561
- });
562
- }
563
- };
564
- var onLayoutChange = function (props) {
565
- if (!isEditMode) {
566
- return;
567
- }
568
- if (sectionActionHandler) {
569
- sectionActionHandler({
570
- type: '@CUSTOMSECTION/PLACEMENT_CHANGED',
571
- payload: props
572
- });
573
- }
574
- setLayouts(props.layouts);
575
- };
576
- var onDragStart = function (props) {
577
- sectionActionHandler &&
578
- sectionActionHandler({
579
- type: '@CUSTOMSECTION/CB_DRAG_START',
580
- payload: __assign({}, props)
581
- });
582
- };
583
- var onDragStop = function (props) {
584
- var _a, _b, _c;
585
- if (!isEditMode || !props.item) {
586
- return;
587
- }
588
- var item = props.item, prev = props.prev;
589
- var isShiftOn = shortcutKeyMode === 'BULK_SELECT' || shortcutKeyMode === 'COLLISION_SELECT';
590
- if (isLayoutPlacementSame(item, prev) && isShiftOn) {
591
- setTimeout(function () {
592
- onClickCB(Number(item.i));
593
- }, 0);
594
- return;
595
- }
596
- // NOTE 미사용시 삭제
597
- // if (item.i === 'BULK' && props.item.groupLayouts) {
598
- // setSelectedBlockId('BULK');
599
- // const outerBasedChildrenPositions = props.item.groupLayouts.map((cb) => ({
600
- // ...cb,
601
- // x: item.x + cb.x,
602
- // y: item.y + cb.y
603
- // }));
604
- // sectionActionHandler &&
605
- // sectionActionHandler({
606
- // type: '@CUSTOMSECTION/BULK_DRAG_STOP',
607
- // payload: {
608
- // updatedBlocks: props.
609
- // ...props,
610
- // outerBasedChildrenPositions,
611
- // workDir: getBlockWorkDirPath(newblock, editingGroupBlock) ?? 'NOT-FOUND'
612
- // }
613
- // });
614
- // return;
615
- // }
616
- var numberId = Number((_a = props.item) === null || _a === void 0 ? void 0 : _a.i);
617
- var blockId = (0, group_1.formatCbIdToBlockId)(numberId);
618
- var isIdNumber = !Number.isNaN(numberId);
619
- if (blockId) {
620
- if ((0, group_2.getGroupCB)(layouts[layoutByDevice])) {
621
- setTimeout(function () {
622
- setBulkBlockIds([]);
623
- }, 100);
624
- }
625
- setSelectedBlockId(blockId);
626
- }
627
- if (isLayoutPlacementSame(item, prev)) {
628
- // 확인 필요.. 그룹과 벌크
629
- sectionActionHandler &&
630
- sectionActionHandler({
631
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
632
- payload: {
633
- block: {
634
- blockId: blockId,
635
- cbId: numberId,
636
- type: 'COMPONENT_BLOCK',
637
- workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : 'NOT-FOUND'
638
- }
639
- }
640
- });
641
- return;
642
- }
643
- if (sectionActionHandler && isIdNumber) {
644
- sectionActionHandler({
645
- type: '@CUSTOMSECTION/CB_DRAG_STOP',
646
- payload: __assign(__assign({}, props), { blockId: blockId, workDir: (_c = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _c !== void 0 ? _c : 'NOT-FOUND' })
647
- });
648
- }
649
- };
650
- var onResizeStop = function (props) {
651
- var _a;
652
- var prev = props.prev, item = props.item;
653
- if (!isEditMode || !item) {
654
- return;
655
- }
656
- var numberId = Number(item.i);
657
- var isIdNumber = !Number.isNaN(numberId);
658
- if (isLayoutPlacementSame(item, prev)) {
659
- return;
660
- }
661
- if (isIdNumber) {
662
- var blockId = (0, group_1.formatCbIdToBlockId)(numberId);
663
- setSelectedBlockId(blockId);
664
- }
665
- if (sectionActionHandler && isIdNumber) {
666
- sectionActionHandler({
667
- type: '@CUSTOMSECTION/CB_RESIZE_STOP',
668
- payload: __assign(__assign({}, props), { blockId: (0, group_1.formatCbIdToBlockId)(numberId), workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND' })
669
- });
670
- }
671
- };
672
- var onAutoFitContent = function (props) {
673
- var _a;
674
- var prev = props.prev, item = props.item;
675
- if (!isEditMode || !item) {
676
- return;
677
- }
678
- var numberId = Number(item.i);
679
- var isIdNumber = !Number.isNaN(numberId);
680
- if (isLayoutPlacementSame(item, prev)) {
681
- return;
682
- }
683
- if (isIdNumber) {
684
- var blockId = (0, group_1.formatCbIdToBlockId)(numberId);
685
- setSelectedBlockId(blockId);
686
- }
687
- if (sectionActionHandler && isIdNumber) {
688
- sectionActionHandler({
689
- type: '@CUSTOMSECTION/CB_AUTO_FIT_CONTENT',
690
- payload: __assign(__assign({}, props), { details: { hadPaddingChanged: props.hasPaddingChanged }, blockId: (0, group_1.formatCbIdToBlockId)(numberId), workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND' })
691
- });
692
- }
693
- };
694
- var onClickSection = function (e) {
695
- if (!isEditMode) {
696
- return;
697
- }
698
- if (editingGroupBlock !== 'ROOT') {
699
- onClickGroup(e, editingGroupBlock);
700
- return;
701
- }
702
- setBulkBlockIds([]);
703
- setSelectedBlockId(null);
704
- sectionActionHandler &&
705
- sectionActionHandler({
706
- type: '@CUSTOMSECTION/SECTION_CLICKED',
707
- payload: {
708
- sectionId: props.id
709
- }
710
- });
711
- };
712
- var onContextGroup = function (e, blockId, isEditingGroup) {
713
- var _a, _b, _c;
714
- setSelectedBlockId(blockId);
715
- var block = (0, group_1.findBlockByBlockId)(newblock, blockId);
716
- if ((block === null || block === void 0 ? void 0 : block.type) === 'COMPONENT_BLOCK') {
717
- return;
718
- }
719
- sectionActionHandler &&
720
- sectionActionHandler({
721
- type: '@CUSTOMSECTION/GROUP_RIGHT_CLICKED',
722
- payload: {
723
- block: {
724
- blockId: blockId,
725
- type: 'GROUP_BLOCK',
726
- workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
727
- childrenBlockIds: (_b = (0, group_1.findDirectChildrenBlockIds)(newblock, blockId)) !== null && _b !== void 0 ? _b : [],
728
- childrenCBIds: (_c = (0, group_1.findDirectChildrenCbIds)(newblock, blockId)) !== null && _c !== void 0 ? _c : []
729
- },
730
- e: e,
731
- isEditingGroup: isEditingGroup
732
- }
733
- });
734
- };
735
- var onContextSection = function (e) {
736
- if (editingGroupBlock !== 'ROOT') {
737
- e.preventDefault();
738
- return;
739
- }
740
- if (!isEditMode) {
741
- return;
742
- }
743
- if ((0, group_2.getGroupCB)(layouts[layoutByDevice])) {
744
- setBulkBlockIds([]);
745
- }
746
- setSelectedBlockId(null);
747
- sectionActionHandler &&
748
- sectionActionHandler({
749
- type: '@CUSTOMSECTION/SECTION_RIGHT_CLICKED',
750
- payload: {
751
- sectionId: props.id,
752
- e: e
753
- }
754
- });
755
- };
756
- var onWidthChange = function (width) {
757
- var responsiveFontMode =
758
- // NOTE: local환경에서 CB_CONTENT_PROP_SECTION이 없는 경우가 있음.
759
- !!(CB_CONTENT_PROP_SECTION === null || CB_CONTENT_PROP_SECTION === void 0 ? void 0 : CB_CONTENT_PROP_SECTION.CB_CONTENT_PROP_SECTION_SPEC_VARIABLEROOTFONTSIZE);
760
- if (device === 'MOBILE') {
761
- var cellWidth_1 = width / MOBILE_GRID_COLS;
762
- setRowHeight(cellWidth_1 * 0.56);
763
- // baseFontSize !== 16 && setBaseFontSize(width * 0.0133);
764
- responsiveFontMode ? setBaseFontSize(width * 0.0421) : setBaseFontSize(16);
765
- return;
766
- }
767
- var cellWidth = width / DESKTOP_GRID_COLS;
768
- setRowHeight(cellWidth * 0.56);
769
- responsiveFontMode ? setBaseFontSize(width * 0.0133) : setBaseFontSize(16);
770
- };
771
- var padding = (0, parseSectionPadding_1.default)(CB_LAYOUT_PROP_PADDING, device);
772
- var breakpoints = device === 'DESKTOP' ? { lg: 100, sm: 0 } : { lg: 1200, sm: 480 };
773
- var innerRef = (0, react_1.useRef)(null);
774
- var clickOneCBInBulk = function (id) {
775
- var _a, _b;
776
- var blockId = (0, group_1.formatCbIdToBlockId)(id);
777
- if (shortcutKeyMode === 'COLLISION_SELECT') {
778
- return;
779
- }
780
- if (shortcutKeyMode === 'BULK_SELECT') {
781
- if (bulkBlockIds.length <= 2) {
782
- var oneLastBlockId = bulkBlockIds.filter(function (each) { return each !== blockId; })[0];
783
- setBulkBlockIds([]);
784
- if (!oneLastBlockId) {
785
- return;
786
- }
787
- var cbId = (0, group_1.formatBlockIdToCbId)(oneLastBlockId);
788
- if (!cbId) {
789
- return;
790
- }
791
- setSelectedBlockId(oneLastBlockId);
792
- sectionActionHandler &&
793
- sectionActionHandler({
794
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
795
- payload: {
796
- block: {
797
- blockId: oneLastBlockId,
798
- cbId: cbId,
799
- type: 'COMPONENT_BLOCK',
800
- workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND'
801
- }
802
- }
803
- });
804
- return;
805
- }
806
- var filtered = bulkBlockIds.filter(function (each) { return each !== blockId; });
807
- setBulkBlockIds(filtered);
808
- var groupDisabled = getWorkDirDirectChildrenLength() === filtered.length;
809
- var newBulkCBIds = filtered
810
- .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
811
- .filter(function (each) { return each !== null; });
812
- sectionActionHandler &&
813
- sectionActionHandler({
814
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
815
- payload: {
816
- block: {
817
- type: 'BULK',
818
- blockId: 'BULK',
819
- childrenBlockIds: filtered,
820
- workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _b !== void 0 ? _b : 'NOT-FOUND',
821
- childrenCBIds: newBulkCBIds,
822
- groupDisabled: groupDisabled && editingGroupBlock !== 'ROOT'
823
- }
824
- }
825
- });
826
- }
827
- };
828
- var showSectionHiddenCover = (function () {
829
- if (mode === 'EDIT') {
830
- var visibilityKey = device === 'DESKTOP'
831
- ? 'CB_CONTENT_PROP_VISIBILITY_SPEC_DESKTOP'
832
- : 'CB_CONTENT_PROP_VISIBILITY_SPEC_MOBILEWEB';
833
- var isSectionVisible = jsonProperties === null || jsonProperties === void 0 ? void 0 : jsonProperties.data.CB_CONTENT_PROP_VISIBILITY[visibilityKey];
834
- // 가시성 상태를 반전하여 숨겨진 커버를 표시할지 결정
835
- var shouldShowHiddenCover = !isSectionVisible;
836
- return shouldShowHiddenCover;
837
- }
838
- return false;
839
- })();
840
- var onDoubleClickGroup = function (e, id) {
841
- e.stopPropagation();
842
- if (id === 'BULK') {
843
- return;
844
- }
845
- setEditingGroupBlock(id);
846
- };
847
- var onDoubleClickOutsideGroup = function () {
848
- setEditingGroupBlock('ROOT');
849
- setSelectedBlockId(null);
850
- };
851
- var onClickGroup = function (e, id) {
852
- var _a, _b, _c, _d, _e, _f, _g, _h, _j;
853
- e.stopPropagation();
854
- if (id === 'BULK') {
855
- return;
856
- }
857
- if (editingGroupBlock === id && shortcutKeyMode === 'BULK_SELECT') {
858
- return;
859
- }
860
- if (bulkBlockIds.includes(id) && shortcutKeyMode === 'BULK_SELECT') {
861
- if (bulkBlockIds.length <= 2) {
862
- var oneLastBlockId = bulkBlockIds.filter(function (each) { return each !== id; })[0];
863
- setBulkBlockIds([]);
864
- setSelectedBlockId(oneLastBlockId);
865
- sectionActionHandler &&
866
- sectionActionHandler({
867
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
868
- payload: {
869
- block: {
870
- blockId: oneLastBlockId,
871
- type: 'GROUP_BLOCK',
872
- workDir: (_a = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _a !== void 0 ? _a : 'NOT-FOUND',
873
- childrenBlockIds: (_b = (0, group_1.findDirectChildrenBlockIds)(newblock, oneLastBlockId)) !== null && _b !== void 0 ? _b : [],
874
- childrenCBIds: (_c = (0, group_1.findDirectChildrenCbIds)(newblock, oneLastBlockId)) !== null && _c !== void 0 ? _c : []
875
- }
876
- }
877
- });
878
- return;
879
- }
880
- var newBulkBlockIds_1 = bulkBlockIds.filter(function (each) { return each !== id; });
881
- var newBulkCBIds_1 = newBulkBlockIds_1
882
- .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
883
- .filter(function (each) { return each !== null; });
884
- var childrenCBIds_1 = [];
885
- if (newBulkCBIds_1.length === 0) {
886
- var oneCB = (0, group_1.findOneComponentBlock)(newblock, newBulkBlockIds_1[0]);
887
- childrenCBIds_1 = oneCB ? [oneCB] : [];
888
- }
889
- else {
890
- childrenCBIds_1 = newBulkCBIds_1;
891
- }
892
- setBulkBlockIds(newBulkBlockIds_1);
893
- var groupDisabled = getWorkDirDirectChildrenLength() === newBulkBlockIds_1.length;
894
- sectionActionHandler &&
895
- sectionActionHandler({
896
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
897
- payload: {
898
- block: {
899
- blockId: 'BULK',
900
- type: 'BULK',
901
- childrenBlockIds: newBulkBlockIds_1,
902
- childrenCBIds: childrenCBIds_1,
903
- workDir: (_d = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _d !== void 0 ? _d : 'NOT-FOUND',
904
- groupDisabled: groupDisabled && editingGroupBlock !== 'ROOT'
905
- }
906
- }
907
- });
908
- return;
909
- }
910
- if (shortcutKeyMode === 'BULK_SELECT') {
911
- var added = (function () {
912
- if (selectedBlockId === editingGroupBlock) {
913
- return [id];
914
- }
915
- return selectedBlockId ? [selectedBlockId, id] : [id];
916
- })();
917
- if (bulkBlockIds.length === 0 && added.length === 1) {
918
- setSelectedBlockId(id);
919
- setBulkBlockIds([]);
920
- sectionActionHandler &&
921
- sectionActionHandler({
922
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
923
- payload: {
924
- block: {
925
- blockId: id,
926
- type: 'GROUP_BLOCK',
927
- workDir: (_e = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _e !== void 0 ? _e : 'NOT-FOUND',
928
- childrenBlockIds: (_f = (0, group_1.findDirectChildrenBlockIds)(newblock, id)) !== null && _f !== void 0 ? _f : [],
929
- childrenCBIds: (_g = (0, group_1.findDirectChildrenCbIds)(newblock, id)) !== null && _g !== void 0 ? _g : []
930
- }
931
- }
932
- });
933
- return;
934
- }
935
- var newBulkBlockIds_2 = Array.from(new Set(__spreadArray(__spreadArray([], bulkBlockIds, true), added, true)));
936
- var newBulkCBIds_2 = newBulkBlockIds_2
937
- .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
938
- .filter(function (each) { return each !== null; });
939
- setBulkBlockIds(newBulkBlockIds_2);
940
- setSelectedBlockId(null);
941
- var childrenCBIds_2 = [];
942
- if (newBulkCBIds_2.length === 0) {
943
- var oneCB = (0, group_1.findOneComponentBlock)(newblock, newBulkBlockIds_2[0]);
944
- childrenCBIds_2 = oneCB ? [oneCB] : [];
945
- }
946
- else {
947
- childrenCBIds_2 = newBulkCBIds_2;
948
- }
949
- var groupDisabled = getWorkDirDirectChildrenLength() === newBulkBlockIds_2.length;
950
- sectionActionHandler &&
951
- sectionActionHandler({
952
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
953
- payload: {
954
- block: {
955
- blockId: 'BULK',
956
- type: 'BULK',
957
- childrenBlockIds: newBulkBlockIds_2,
958
- childrenCBIds: childrenCBIds_2,
959
- workDir: (_h = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _h !== void 0 ? _h : 'NOT-FOUND',
960
- groupDisabled: groupDisabled && editingGroupBlock !== 'ROOT'
961
- }
962
- }
963
- });
964
- return;
965
- }
966
- setBulkBlockIds([]);
967
- setSelectedBlockId(id);
968
- var newBulkBlockIds = (0, group_1.findDirectChildrenBlockIds)(newblock, id);
969
- var newBulkCBIds = newBulkBlockIds
970
- .map(function (id) { return (0, group_1.formatBlockIdToCbId)(id); })
971
- .filter(function (each) { return each !== null; });
972
- var childrenCBIds = [];
973
- if (newBulkCBIds.length === 0) {
974
- var oneCB = (0, group_1.findOneComponentBlock)(newblock, newBulkBlockIds[0]);
975
- childrenCBIds = oneCB ? [oneCB] : [];
976
- }
977
- else {
978
- childrenCBIds = newBulkCBIds;
979
- }
980
- sectionActionHandler &&
981
- sectionActionHandler({
982
- type: '@CUSTOMSECTION/BLOCK_CLICKED',
983
- payload: {
984
- block: {
985
- blockId: id,
986
- type: 'GROUP_BLOCK',
987
- workDir: (_j = (0, group_1.getBlockWorkDirPath)(newblock, editingGroupBlock)) !== null && _j !== void 0 ? _j : 'NOT-FOUND',
988
- childrenBlockIds: newBulkBlockIds,
989
- childrenCBIds: childrenCBIds
990
- }
991
- }
992
- });
993
- };
994
- var onBulkDragStop = function (_a) {
995
- var _b;
996
- var updatedItems = _a.updatedItems, item = _a.item;
997
- if ((item === null || item === void 0 ? void 0 : item.i) === 'BULK') {
998
- sectionActionHandler &&
999
- sectionActionHandler({
1000
- type: '@CUSTOMSECTION/BULK_DRAG_STOP',
1001
- payload: {
1002
- updatedBlocks: updatedItems.map(function (i) { return ({
1003
- cbId: Number(i.id),
1004
- blockId: (0, group_1.formatCbIdToBlockId)(Number(i.id)),
1005
- x: i.x,
1006
- y: i.y
1007
- }); })
1008
- }
1009
- });
1010
- return;
1011
- }
1012
- if (item) {
1013
- sectionActionHandler &&
1014
- sectionActionHandler({
1015
- type: '@CUSTOMSECTION/GROUP_DRAG_STOP',
1016
- payload: {
1017
- workDir: (_b = (0, group_1.getBlockWorkDirPath)(newblock, item.i)) !== null && _b !== void 0 ? _b : 'NOT-FOUND',
1018
- updatedBlocks: updatedItems.map(function (i) { return ({
1019
- cbId: Number(i.id),
1020
- blockId: (0, group_1.formatCbIdToBlockId)(Number(i.id)),
1021
- x: i.x,
1022
- y: i.y
1023
- }); })
1024
- }
1025
- });
1026
- }
1027
- };
1028
- (0, react_1.useLayoutEffect)(function () {
1029
- if (innerRef.current) {
1030
- innerRef.current.setAttribute('data-section-id', props.id.toString());
1031
- }
1032
- }, []);
1033
- function getWorkDirDirectChildrenLength() {
1034
- var ids = (0, group_1.findDirectChildrenBlockIds)(newblock, editingGroupBlock).filter(function (each) { return each !== 'BULK'; });
1035
- return ids.length + bulkBlockIds.length;
1036
- }
1037
- var editableCBIDs = (0, group_1.findDirectChildrenCbIds)(newblock, editingGroupBlock);
1038
- return ((0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsxs)(gleStyles_1.S_gleStyles, __assign({ isBulkMode: shortcutKeyMode === 'BULK_SELECT' }, { children: [showSectionHiddenCover && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_SectionWrapper, __assign({ ref: gleRef, "x-dlayout-section-type": "NO_NAME", onClick: onClickSection, onContextMenu: function (e) {
1039
- e.stopPropagation();
1040
- e.preventDefault();
1041
- onContextSection(e);
1042
- } }, { children: (0, jsx_runtime_1.jsx)(components_1.CustomSection, __assign({}, props, { isMobile: isMobile, overrideStyles: {
1043
- minHeight: customSectionStyles.minHeight,
1044
- paddingTop: padding.top,
1045
- paddingBottom: padding.bottom,
1046
- paddingRight: padding.right,
1047
- paddingLeft: padding.left
1048
- } }, { children: (0, jsx_runtime_1.jsx)(Responsive, __assign({ sectionId: props.id.toString(), innerRef: innerRef, className: (0, clsx_1.clsx)({
1049
- 'selected-grid-layout': editingSectionId === props.id
1050
- }), allowOverlap: true, layouts: layouts, resizeHandles: ['nw', 'e', 'n', 'ne', 's', 'se', 'sw', 'w'], breakpoints: breakpoints, breakpoint: breakpoint, cols: { lg: colsDesktop, sm: colsMobile }, rowHeight: rowHeight, margin: [10, 10], style: {
1051
- width: customSectionStyles.width,
1052
- maxWidth: customSectionStyles.maxWidth,
1053
- minWidth: isMobile ? GLE_MIN_WIDTH_MOBILE_PX : GLE_MIN_WIDTH_DESKTOP_PX,
1054
- fontSize: "".concat(baseFontSize, "px")
1055
- }, onLayoutChange: onLayoutChange, onDragStart: onDragStart, onDragStop: onDragStop, onResizeStop: onResizeStop, onDragStopForGroup: onBulkDragStop, onFitToContent: onAutoFitContent, onWidthChange: onWidthChange, minNbRow: rows, isDraggable: isEditMode, isResizable: isEditMode, zoom: zoomScale,
1056
- // GROUP
1057
- selectedGroupBlock: (_d = selectedBlockId === null || selectedBlockId === void 0 ? void 0 : selectedBlockId.toString()) !== null && _d !== void 0 ? _d : 'ROOT', editingGroupBlock: editingGroupBlock, blockStructure: newblock, bulkIds: bulkBlockIds, onDoubleClickGroup: onDoubleClickGroup, onClickGroup: onClickGroup, onDoubleClickOutsideGroup: onDoubleClickOutsideGroup, onContextGroup: onContextGroup }, { children: layouts[layoutByDevice].map(function (each, index) {
1058
- var matchedCB = componentBlocks === null || componentBlocks === void 0 ? void 0 : componentBlocks.find(function (cb) { return cb.id.toString() === each.i; });
1059
- var isInBulk = bulkBlockIds.includes((0, group_1.formatCbIdToBlockId)(Number(each.i)));
1060
- if (!matchedCB) {
1061
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
1062
- }
1063
- return ((0, jsx_runtime_1.jsx)("div", __assign({ className: (0, clsx_1.clsx)({
1064
- 'react-grid-item-selected': selectedBlockId === (0, group_1.formatCbIdToBlockId)(matchedCB.id)
1065
- }) }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: (0, clsx_1.clsx)({
1066
- 'grid-item-child': true
1067
- }), style: {
1068
- width: '100%',
1069
- height: '100%'
1070
- }, onClick: function (e) {
1071
- e.stopPropagation();
1072
- if (isInBulk) {
1073
- clickOneCBInBulk(matchedCB.id);
1074
- return;
1075
- }
1076
- if (editingGroupBlock !== 'ROOT') {
1077
- if (!editableCBIDs.includes(matchedCB.id)) {
1078
- e.preventDefault();
1079
- return;
1080
- }
1081
- }
1082
- onClickCB(matchedCB.id);
1083
- }, onContextMenu: function (e) {
1084
- e.stopPropagation();
1085
- e.preventDefault();
1086
- onContextMenuCB(matchedCB.id, e);
1087
- } }, { children: (0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(ComponentBlockMatcherWithCCB_1.default, { cbProps: matchedCB, device: device, rowHeight: rowHeight, index: index }) }) })) }), each.i));
1088
- }) })) })) }))] })) }));
1089
- });
1090
- function isLayoutPlacementSame(current, prev) {
1091
- if (!prev) {
1092
- return false;
1093
- }
1094
- return (prev.w === current.w &&
1095
- prev.h === current.h &&
1096
- prev.x === current.x &&
1097
- prev.y === current.y &&
1098
- prev.z === current.z &&
1099
- prev.i === current.i);
1100
- }
1101
- var S_SectionWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n"], ["\n position: relative;\n"])));
1102
- exports.default = react_1.default.memo(CustomSection);
1103
- var templateObject_1;