pds-dev-kit-web-test 2.7.117 → 2.7.119

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 (234) hide show
  1. package/dist/src/common/hooks/useAbsolutePositioner.js +2 -2
  2. package/dist/src/common/hooks/useTooltip.d.ts +2 -2
  3. package/dist/src/common/hooks/useTooltip.js +2 -2
  4. package/dist/src/common/utils/SystemUIPositionGenerator/clickTypeSystemUICssGenerator.d.ts +1 -1
  5. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.d.ts +1 -1
  6. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +2 -2
  7. package/dist/src/desktop/components/AdminList/BulkActionBar.d.ts +1 -1
  8. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -1
  9. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
  10. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +3 -3
  11. package/dist/src/desktop/components/BasicListItem/Contents.d.ts +1 -1
  12. package/dist/src/desktop/components/BasicListItem/Contents.js +1 -1
  13. package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.js +1 -1
  14. package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.js +1 -1
  15. package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.js +1 -1
  16. package/dist/src/desktop/components/BasicListItem/LeftBox/Image.js +1 -1
  17. package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.js +1 -1
  18. package/dist/src/desktop/components/BasicListItem/RightBox/Description.d.ts +1 -1
  19. package/dist/src/desktop/components/BasicListItem/RightBox/Description.js +1 -1
  20. package/dist/src/desktop/components/BasicListItem/RightBox/Switch.js +1 -1
  21. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
  22. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +1 -1
  23. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +2 -2
  24. package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -1
  25. package/dist/src/desktop/components/Dropdown/Dropdown.js +1 -1
  26. package/dist/src/desktop/components/IconButton/IconButton.d.ts +1 -1
  27. package/dist/src/desktop/components/IconButton/IconButton.js +2 -2
  28. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
  29. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +3 -3
  30. package/dist/src/desktop/components/Select/Select.js +1 -1
  31. package/dist/src/desktop/components/Slider/Slider.d.ts +1 -1
  32. package/dist/src/desktop/components/Slider/Slider.js +1 -1
  33. package/dist/src/desktop/components/TextField/TextField.js +1 -1
  34. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +1 -1
  35. package/dist/src/desktop/components/TextLabel/TextLabel.js +2 -2
  36. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +1 -1
  37. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +2 -2
  38. package/dist/src/hybrid/components/Switch/Switch.d.ts +1 -1
  39. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +2 -2
  40. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
  41. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  42. package/dist/src/mobile/components/BasicListItem/Contents.d.ts +1 -1
  43. package/dist/src/mobile/components/BasicListItem/Contents.js +1 -1
  44. package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.js +1 -1
  45. package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.js +1 -1
  46. package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.js +1 -1
  47. package/dist/src/mobile/components/BasicListItem/LeftBox/Image.js +1 -1
  48. package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.js +1 -1
  49. package/dist/src/mobile/components/BasicListItem/RightBox/Description.d.ts +1 -1
  50. package/dist/src/mobile/components/BasicListItem/RightBox/Description.js +1 -1
  51. package/dist/src/mobile/components/BasicListItem/RightBox/Switch.js +1 -1
  52. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
  53. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +1 -1
  54. package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +1 -1
  55. package/dist/src/mobile/components/DatePicker/DatePicker.js +2 -2
  56. package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +1 -1
  57. package/dist/src/mobile/components/DatePicker/Day.js +1 -1
  58. package/dist/src/mobile/components/DatePicker/utils.js +1 -1
  59. package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +1 -1
  60. package/dist/src/mobile/components/Dropdown/Dropdown.js +1 -1
  61. package/dist/src/mobile/components/MobileHeaderBar/utils.d.ts +1 -1
  62. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
  63. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.js +1 -1
  64. package/dist/src/mobile/components/Select/Select.js +1 -1
  65. package/dist/src/mobile/components/Slider/Slider.d.ts +1 -1
  66. package/dist/src/mobile/components/Slider/Slider.js +1 -1
  67. package/dist/src/mobile/components/TextField/TextField.js +1 -1
  68. package/dist/src/mobile/components/TextLabel/TextLabel.js +2 -2
  69. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +1 -1
  70. package/dist/src/sub/AdminList/AdminList/AdminList.js +2 -2
  71. package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -1
  72. package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
  73. package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +1 -1
  74. package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.js +2 -2
  75. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +1 -1
  76. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
  77. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +1 -1
  78. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
  79. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +1 -1
  80. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +2 -2
  81. package/dist/src/sub/AdminList/ToolBar/ChipList.d.ts +1 -1
  82. package/dist/src/sub/AdminList/ToolBar/ChipList.js +1 -1
  83. package/dist/src/sub/AdminList/ToolBar/SearchField.js +4 -4
  84. package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +1 -1
  85. package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
  86. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +2 -2
  87. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +4 -4
  88. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.d.ts +4 -2
  89. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.js +7 -5
  90. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.d.ts +14 -0
  91. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.js +68 -0
  92. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +1 -1
  93. package/dist/src/sub/DynamicLayout/GridAutoRowEditor/GridAutoRowEditor.js +65 -30
  94. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +1 -1
  95. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +2 -2
  96. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +2 -2
  97. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -2
  98. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +1 -1
  99. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts +2 -2
  100. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -1
  101. package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +1 -1
  102. package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +135 -0
  103. package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +3 -1
  104. package/dist/src/sub/DynamicLayout/mocks.js +0 -3
  105. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +5 -5
  106. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.d.ts +1 -1
  107. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +2 -2
  108. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +1 -1
  109. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +7 -7
  110. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +2 -2
  111. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +4 -4
  112. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +1 -1
  113. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +1 -1
  114. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +1 -1
  115. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +1 -1
  116. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +3 -3
  117. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +1 -1
  118. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +2 -2
  119. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +7 -6
  120. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +1 -1
  121. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +1 -1
  122. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +3 -3
  123. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +1 -1
  124. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +1 -1
  125. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +1 -1
  126. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +1 -1
  127. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.d.ts +1 -1
  128. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +2 -2
  129. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/types.d.ts +1 -1
  130. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +1 -1
  131. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +5 -5
  132. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.d.ts +1 -1
  133. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +2 -2
  134. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +4 -4
  135. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +1 -1
  136. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +1 -1
  137. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +15 -17
  138. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +1 -1
  139. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +1 -1
  140. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +1 -1
  141. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +2 -2
  142. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +16 -6
  143. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -2
  144. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/types.d.ts +1 -1
  145. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +1 -1
  146. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +5 -5
  147. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +1 -1
  148. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +4 -4
  149. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +1 -1
  150. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.d.ts +1 -1
  151. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.d.ts +1 -1
  152. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +1 -1
  153. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +1 -1
  154. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +7 -4
  155. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.js +1 -1
  156. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +1 -1
  157. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +1 -1
  158. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +1 -1
  159. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
  160. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +1 -1
  161. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +31 -13
  162. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
  163. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.js +1 -1
  164. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts +1 -1
  165. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.js +1 -1
  166. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.js +2 -2
  167. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.d.ts +1 -1
  168. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +4 -4
  169. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.d.ts +1 -1
  170. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.js +2 -2
  171. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.d.ts +1 -1
  172. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +5 -5
  173. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.d.ts +1 -1
  174. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +4 -4
  175. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.d.ts +1 -1
  176. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +3 -3
  177. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
  178. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
  179. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
  180. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.d.ts +1 -1
  181. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.js +3 -3
  182. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.d.ts +1 -1
  183. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +4 -4
  184. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.d.ts +1 -1
  185. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.js +3 -3
  186. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.d.ts +1 -1
  187. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.d.ts +1 -1
  188. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.js +5 -5
  189. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
  190. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.js +2 -2
  191. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.d.ts +1 -1
  192. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +4 -4
  193. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.d.ts +1 -1
  194. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.js +2 -2
  195. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.d.ts +1 -1
  196. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.js +2 -2
  197. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +1 -1
  198. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +5 -5
  199. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.d.ts +1 -1
  200. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +6 -6
  201. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
  202. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
  203. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
  204. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.d.ts +1 -1
  205. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +4 -4
  206. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.d.ts +1 -1
  207. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.js +3 -3
  208. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.d.ts +1 -1
  209. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.d.ts +1 -1
  210. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +5 -5
  211. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
  212. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.d.ts +1 -1
  213. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.js +1 -1
  214. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.js +1 -1
  215. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.js +1 -1
  216. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
  217. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.js +1 -1
  218. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
  219. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.js +1 -1
  220. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.js +1 -1
  221. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
  222. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.js +1 -1
  223. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
  224. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +3 -3
  225. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +2 -2
  226. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -3
  227. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +2 -2
  228. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.d.ts +1 -1
  229. package/dist/src/sub/DynamicLayout/utils/groupUtils.d.ts +24 -0
  230. package/dist/src/sub/DynamicLayout/utils/groupUtils.js +224 -0
  231. package/dist/src/sub/SandollFontKit/types.d.ts +1 -1
  232. package/package.json +1 -1
  233. /package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.d.ts → ComponentBlockMatcherWithCCB.d.ts} +0 -0
  234. /package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.js → ComponentBlockMatcherWithCCB.js} +0 -0
@@ -0,0 +1,224 @@
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
+ exports.findAllChildrenCbIds = void 0;
54
+ var jsx_runtime_1 = require("react/jsx-runtime");
55
+ var renderHelpers_1 = require("publ-echo-test/dist/lib/GridLayoutEditor/utils/renderHelpers");
56
+ var styled_components_1 = __importDefault(require("styled-components"));
57
+ var ErrorBoundary_1 = require("../components/Section/ErrorBoundary");
58
+ var FlexGridItem_1 = __importStar(require("../CompositionRenderer/FlexGridItem"));
59
+ function findAllChildrenCbIds(block, targetGroupId) {
60
+ // 현재 블록이 target group이면, 모든 하위 컴포넌트 블록 ID를 수집
61
+ if (block.blockId === targetGroupId) {
62
+ if (block.type === 'COMPONENT_BLOCK') {
63
+ return [block.componentBlockId];
64
+ }
65
+ // GROUP_BLOCK인 경우 모든 자식들의 ID를 재귀적으로 수집
66
+ return block.children.reduce(function (acc, child) {
67
+ return __spreadArray(__spreadArray([], acc, true), findAllChildrenCbIds(child, child.blockId), true);
68
+ }, []);
69
+ }
70
+ // 현재 블록이 target group이 아니고 COMPONENT_BLOCK이면 빈 배열 반환
71
+ if (block.type === 'COMPONENT_BLOCK') {
72
+ return [];
73
+ }
74
+ // GROUP_BLOCK이면 자식들에 대해 재귀적으로 탐색
75
+ return block.children.reduce(function (acc, child) {
76
+ return __spreadArray(__spreadArray([], acc, true), findAllChildrenCbIds(child, targetGroupId), true);
77
+ }, []);
78
+ }
79
+ exports.findAllChildrenCbIds = findAllChildrenCbIds;
80
+ function RenderPedigreeRecursively(_a) {
81
+ var isEditMode = _a.isEditMode, block = _a.block, layoutItems = _a.layoutItems, cbs = _a.cbs, parentGroupArea = _a.parentGroupArea, rowHeight = _a.rowHeight, device = _a.device, selectedRows = _a.selectedRows, pinnedGBs = _a.pinnedGBs, _b = _a.isParentGroupPinned, isParentGroupPinned = _b === void 0 ? false : _b, onToggleGBPinned = _a.onToggleGBPinned;
82
+ var type = block.type;
83
+ if (type === 'GROUP_BLOCK') {
84
+ var childrenIds = findAllChildrenCbIds(block, block.blockId).map(function (i) { return i.toString(); });
85
+ var bounding_1 = (0, renderHelpers_1.getBoundingArea)(layoutItems, childrenIds);
86
+ if (!bounding_1) {
87
+ return (0, jsx_runtime_1.jsx)("div", { children: "GROUP: NO BOUNDING AREA" });
88
+ }
89
+ var gridArea_1 = getGridAreaFromGroup({
90
+ x: bounding_1.x,
91
+ y: bounding_1.y,
92
+ cols: bounding_1.w,
93
+ rows: bounding_1.h
94
+ });
95
+ var relativeGridArea_1 = parentGroupArea
96
+ ? calculateRelativeGridArea(gridArea_1, parentGroupArea)
97
+ : gridArea_1;
98
+ // 그룹의 시작 행을 기준으로 상대적인 selectedRows 계산
99
+ var relativeSelectedRows_1 = selectedRows
100
+ .map(function (row) { return row - gridArea_1.rowStart + 1; })
101
+ .filter(function (row) { return row >= 0 && row <= bounding_1.h; });
102
+ var isGBPinned_1 = pinnedGBs.includes(block.blockId);
103
+ var defaultHeight = getMaxHeight({ cols: bounding_1.w, rows: bounding_1.h, x: bounding_1.x, y: bounding_1.y }, rowHeight);
104
+ return ((0, jsx_runtime_1.jsxs)(S_GroupItem, __assign({ cols: bounding_1.w, sectionRow: bounding_1.h, isEditMode: isEditMode, rowHeight: rowHeight, selectedRows: relativeSelectedRows_1, style: {
105
+ gridArea: gridAreaObjToString(relativeGridArea_1),
106
+ display: 'grid',
107
+ zIndex: device === 'DESKTOP'
108
+ ? block.zOrderDesktopInternal
109
+ : block.zOrderMobileInternal,
110
+ maxHeight: isGBPinned_1 ? defaultHeight : 'none'
111
+ } }, { children: [isEditMode && ((0, jsx_runtime_1.jsx)(S_Pinned, { children: isGBPinned_1 ? ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", onClick: function () { return onToggleGBPinned(block.blockId); } }, { children: "H\uACE0\uC815\uB428 \uD83D\uDCCC" }))) : ((0, jsx_runtime_1.jsx)("button", __assign({ type: "button", onClick: function () { return onToggleGBPinned(block.blockId); } }, { children: "H\uB298\uC5B4\uB0A8 \uD83E\uDEB1" }))) })), block.children.map(function (child) { return ((0, jsx_runtime_1.jsx)(RenderPedigreeRecursively, { rowHeight: rowHeight, block: child, layoutItems: layoutItems, cbs: cbs, parentGroupArea: gridArea_1, device: device, selectedRows: relativeSelectedRows_1, pinnedGBs: pinnedGBs, onToggleGBPinned: onToggleGBPinned, isEditMode: isEditMode, isParentGroupPinned: isGBPinned_1 }, child.blockId)); })] })));
112
+ }
113
+ // default: TYPE === 'COMPONENT_BLOCK'
114
+ var cbIndex = cbs.findIndex(function (c) { return c.blockId === block.blockId; });
115
+ var cb = cbs[cbIndex];
116
+ if (!cb) {
117
+ return (0, jsx_runtime_1.jsxs)("div", { children: ["NO CB FOUND FOR ", block.blockId] });
118
+ }
119
+ var originalGridAreaString = (0, FlexGridItem_1.getGridAreaFromCB)(cb.jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, device);
120
+ var originalGridArea = parseGridArea(originalGridAreaString);
121
+ // 부모 그룹이 있는 경우, 상대적 위치 계산
122
+ var relativeGridArea = parentGroupArea
123
+ ? calculateRelativeGridArea(originalGridArea, parentGroupArea)
124
+ : originalGridArea;
125
+ return (
126
+ // <S_GridItem
127
+ // style={{
128
+ // gridArea: gridAreaObjToString(relativeGridArea)
129
+ // }}
130
+ // data-og-grid-area={originalGridAreaString}
131
+ // data-rel-grid-area={gridAreaObjToString(relativeGridArea)}
132
+ // >
133
+ (0, jsx_runtime_1.jsx)(ErrorBoundary_1.ErrorBoundary, { children: (0, jsx_runtime_1.jsx)(FlexGridItem_1.default, { cb: cb, index: cbIndex, device: device, rowHeight: rowHeight, zIndex: device === 'DESKTOP'
134
+ ? block.zOrderDesktopInternal
135
+ : block.zOrderMobileInternal, style: {
136
+ gridArea: gridAreaObjToString(relativeGridArea),
137
+ pointerEvents: isEditMode ? 'none' : 'auto',
138
+ boxShadow: isEditMode ? '0 0 0 2px red' : ''
139
+ }, showPinned: isEditMode && !parentGroupArea, isParentGroupPinned: isParentGroupPinned }) }, cb.id)
140
+ // </S_GridItem>
141
+ );
142
+ }
143
+ exports.default = RenderPedigreeRecursively;
144
+ var S_Pinned = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n pointer-events: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 9999999;\n"], ["\n pointer-events: auto;\n position: absolute;\n right: 0;\n top: 0;\n z-index: 9999999;\n"])));
145
+ function clamp(num, min, max) {
146
+ return Math.max(Math.min(num, max), min);
147
+ }
148
+ function gridAreaObjToString(area) {
149
+ var rowStart = area.rowStart, colStart = area.colStart, rowEnd = area.rowEnd, colEnd = area.colEnd;
150
+ return "".concat(rowStart, " / ").concat(colStart, " / ").concat(rowEnd, " / ").concat(colEnd);
151
+ }
152
+ function getGridAreaFromGroup(position) {
153
+ var x = position.x, y = position.y, cols = position.cols, rows = position.rows;
154
+ var colStart = clamp(x + 1, 1, Math.max(1, 25 - cols));
155
+ var rowStart = clamp(y + 1, 1, Infinity);
156
+ var rowEnd = clamp(rows + rowStart, rowStart + 1, Infinity);
157
+ var colEnd = clamp(colStart + cols, colStart + 1, 25);
158
+ return {
159
+ rowStart: rowStart,
160
+ colStart: colStart,
161
+ rowEnd: rowEnd,
162
+ colEnd: colEnd
163
+ };
164
+ // const startXMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX:MOBILE'];
165
+ // const startYMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE'];
166
+ // const colsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE'];
167
+ // const rowsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'];
168
+ // const colStart = clamp(startXMobile + 1, 1, Math.max(1, 9 - colsMobile));
169
+ // const rowStart = clamp(startYMobile + 1, 1, Infinity);
170
+ // const rowEnd = clamp(rowsMobile + rowStart, rowStart + 1, Infinity);
171
+ // const colEnd = clamp(colStart + colsMobile, colStart + 1, 9);
172
+ // return `${rowStart} / ${colStart} / ${rowEnd} / ${colEnd}`;
173
+ }
174
+ /**
175
+ * grid-area 문자열을 파싱하여 객체로 변환합니다.
176
+ * 예: "1 / 2 / 3 / 4" => { rowStart: 1, colStart: 2, rowEnd: 3, colEnd: 4 }
177
+ */
178
+ function parseGridArea(gridArea) {
179
+ var _a = gridArea
180
+ .split('/')
181
+ .map(function (str) { return parseInt(str.trim(), 10); }), rowStart = _a[0], colStart = _a[1], rowEnd = _a[2], colEnd = _a[3];
182
+ return { rowStart: rowStart, colStart: colStart, rowEnd: rowEnd, colEnd: colEnd };
183
+ }
184
+ /**
185
+ * 부모 그룹 영역을 기준으로 컴포넌트의 상대적 위치를 계산합니다.
186
+ * 예: 부모가 row 21에서 시작하고 컴포넌트가 row 21에 있다면, 상대적으로는 row 1에 위치하게 됩니다.
187
+ */
188
+ function calculateRelativeGridArea(componentArea, parentArea) {
189
+ return {
190
+ // 컴포넌트의 시작 위치에서 부모의 시작 위치를 빼서 상대적 위치 계산
191
+ rowStart: componentArea.rowStart - parentArea.rowStart + 1,
192
+ colStart: componentArea.colStart - parentArea.colStart + 1,
193
+ // 상대적 끝 위치도 같은 방식으로 계산
194
+ rowEnd: componentArea.rowEnd - parentArea.rowStart + 1,
195
+ colEnd: componentArea.colEnd - parentArea.colStart + 1
196
+ };
197
+ }
198
+ function getMaxHeight(props, rowHeight) {
199
+ var gap = 10;
200
+ var rows = props.rows;
201
+ var height = rows * rowHeight + (rows - 1) * gap;
202
+ return height;
203
+ // if (device === 'DESKTOP') {
204
+ // const { rows } = props;
205
+ // const height = rows * rowHeight + (rows - 1) * gap;
206
+ // return height;
207
+ // }
208
+ // const rowsMobile = props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'];
209
+ // const height = rowsMobile * rowHeight + (rowsMobile - 1) * gap;
210
+ // return height;
211
+ }
212
+ var S_GroupItem = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n box-shadow: ", ";\n gap: 10px;\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: ", ";\n pointer-events: none;\n position: relative; /* \uBC30\uC5F4\uC744 \uACF5\uBC31\uC73C\uB85C \uAD6C\uBD84\uB41C \uBB38\uC790\uC5F4\uB85C \uD569\uCE69\uB2C8\uB2E4. */\n"], ["\n box-shadow: ", ";\n gap: 10px;\n grid-template-columns: repeat(", ", 1fr);\n grid-template-rows: ", ";\n pointer-events: none;\n position: relative; /* \uBC30\uC5F4\uC744 \uACF5\uBC31\uC73C\uB85C \uAD6C\uBD84\uB41C \uBB38\uC790\uC5F4\uB85C \uD569\uCE69\uB2C8\uB2E4. */\n"])), function (props) { return (props.isEditMode ? '0 0 0 2px blue' : 'none'); }, function (props) { return props.cols; }, function (props) {
213
+ // // 전체 행 개수만큼 배열을 생성하여 각 행의 CSS 값을 정의합니다.
214
+ return Array.from({ length: props.sectionRow })
215
+ .map(function (_, index) {
216
+ // props로 받은 selectedRows 배열에 현재 행(index)이 포함되어 있는지 확인합니다.
217
+ return props.selectedRows.includes(index)
218
+ ? "minmax(".concat(props.rowHeight, "px, auto)") // 포함되어 있다면 minmax 사용
219
+ : "".concat(props.rowHeight, "px");
220
+ } // 포함되어 있지 않다면 고정 높이 사용
221
+ )
222
+ .join(' ');
223
+ });
224
+ var templateObject_1, templateObject_2;
@@ -1,5 +1,5 @@
1
1
  import type { SandollFont } from './api/types';
2
- import type { PDSIconType } from '@common/types';
2
+ import type { PDSIconType } from '../../common/types';
3
3
  export type SANDOLL_Font = SandollFont;
4
4
  export type SANDOLL_CategoryType = 'buri' | 'min-buri' | 'slab' | 'round' | 'script' | 'deco' | 'symbol' | 'blackLetter' | 'display';
5
5
  export type SANDOLL_SortOptionType = 'date' | 'alpha';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.7.117",
3
+ "version": "2.7.119",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",