pds-dev-kit-web-test 0.1.10 → 0.2.0

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 (252) hide show
  1. package/README.md +1 -12
  2. package/dist/index.d.ts +2 -2
  3. package/dist/src/common/assets/icons/line/Box.d.ts +4 -0
  4. package/dist/src/common/assets/icons/line/Box.js +30 -0
  5. package/dist/src/common/assets/icons/line/Cart.d.ts +4 -0
  6. package/dist/src/common/assets/icons/line/Cart.js +30 -0
  7. package/dist/src/common/assets/icons/line/Delivery.d.ts +4 -0
  8. package/dist/src/common/assets/icons/line/Delivery.js +30 -0
  9. package/dist/src/common/assets/icons/line/DottedCircle.d.ts +4 -0
  10. package/dist/src/common/assets/icons/line/DottedCircle.js +30 -0
  11. package/dist/src/common/assets/icons/line/Receipt.d.ts +4 -0
  12. package/dist/src/common/assets/icons/line/Receipt.js +30 -0
  13. package/dist/src/common/assets/icons/line/Shop.d.ts +4 -0
  14. package/dist/src/common/assets/icons/line/Shop.js +30 -0
  15. package/dist/src/common/assets/icons/line/Shoppingbag.d.ts +4 -0
  16. package/dist/src/common/assets/icons/line/Shoppingbag.js +30 -0
  17. package/dist/src/common/assets/icons/line/index.d.ts +7 -0
  18. package/dist/src/common/assets/icons/line/index.js +14 -0
  19. package/dist/src/common/services/i18n/resources/en.json +20 -1
  20. package/dist/src/common/services/i18n/resources/es.json +20 -1
  21. package/dist/src/common/services/i18n/resources/fil.json +20 -1
  22. package/dist/src/common/services/i18n/resources/index.d.ts +133 -0
  23. package/dist/src/common/services/i18n/resources/ja.json +20 -1
  24. package/dist/src/common/services/i18n/resources/ko.json +20 -1
  25. package/dist/src/common/services/i18n/resources/zh-cn.json +20 -1
  26. package/dist/src/common/services/i18n/resources/zh-tw.json +20 -1
  27. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +22 -3
  28. package/dist/src/common/styles/colorSet/PaletteColor_light.json +21 -2
  29. package/dist/src/common/styles/colorSet/SemanticColor.json +13 -1
  30. package/dist/src/common/styles/colorSet/UIColor.json +37 -1
  31. package/dist/src/common/styles/colorSet/index.d.ts +86 -0
  32. package/dist/src/common/styles/colorSet/ui-type.d.ts +36 -0
  33. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +4 -1
  34. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +36 -11
  35. package/dist/src/desktop/common/components/TextFieldBase/constants.d.ts +1 -0
  36. package/dist/src/desktop/common/components/TextFieldBase/constants.js +4 -0
  37. package/dist/src/desktop/components/IconButton/IconButton.d.ts +4 -2
  38. package/dist/src/desktop/components/IconButton/IconButton.js +52 -4
  39. package/dist/src/desktop/components/IconButton/constants.d.ts +15 -0
  40. package/dist/src/desktop/components/IconButton/constants.js +19 -0
  41. package/dist/src/desktop/components/TextField/TextField.d.ts +3 -1
  42. package/dist/src/desktop/components/TextField/TextField.js +5 -5
  43. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.d.ts +1 -1
  44. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/ContentsContainer.js +2 -1
  45. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSG.js +57 -32
  46. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSI.d.ts +15 -0
  47. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/WSI.js +117 -0
  48. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/index.d.ts +1 -0
  49. package/dist/src/desktop/layout/LayoutWS/Containers/ContentsContainer/variation/index.js +3 -1
  50. package/dist/src/desktop/layout/LayoutWS/ContainersBox/ContainersBox.d.ts +1 -1
  51. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTA.js +1 -1
  52. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTK.js +1 -1
  53. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +4 -1
  54. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +35 -10
  55. package/dist/src/mobile/common/components/TextFieldBase/constants.d.ts +1 -0
  56. package/dist/src/mobile/common/components/TextFieldBase/constants.js +4 -0
  57. package/dist/src/mobile/components/MobileHeaderBar/MobileHeaderBar.js +1 -1
  58. package/dist/src/mobile/components/TextField/TextField.d.ts +3 -1
  59. package/dist/src/mobile/components/TextField/TextField.js +5 -5
  60. package/dist/src/sub/AdminList/ToolBar/ToolBar.js +1 -1
  61. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  62. package/dist/src/sub/DynamicLayout/DynamicLayout.js +9 -2
  63. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.d.ts +7 -0
  64. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/RichText.js +24 -0
  65. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/index.d.ts +2 -0
  66. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/RichText/index.js +8 -0
  67. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.d.ts +78 -0
  68. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/TwitterTimeline.js +52 -0
  69. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/index.d.ts +2 -0
  70. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/TwitterTimeline/index.js +8 -0
  71. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.d.ts +3 -0
  72. package/dist/src/sub/DynamicLayout/components/ComponentBlocks/index.js +7 -0
  73. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +38 -2
  74. package/dist/src/sub/DynamicLayout/components/Section/Section.js +10 -2
  75. package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +5 -0
  76. package/dist/src/sub/DynamicLayout/custonSectionSampleData.d.ts +173 -0
  77. package/dist/src/sub/DynamicLayout/custonSectionSampleData.js +167 -0
  78. package/dist/src/sub/DynamicLayout/mock_samplePage.d.ts +1 -0
  79. package/dist/src/sub/DynamicLayout/mock_samplePage.js +449 -16
  80. package/dist/src/sub/DynamicLayout/mock_storybook.d.ts +7 -0
  81. package/dist/src/sub/DynamicLayout/mock_storybook.js +2310 -0
  82. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +5 -0
  83. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/BlockMatcher.d.ts +11 -0
  84. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/BlockMatcher.js +65 -0
  85. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Button.d.ts +8 -0
  86. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Button.js +51 -0
  87. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Divider.d.ts +7 -0
  88. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Divider.js +29 -0
  89. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Image.d.ts +7 -0
  90. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Image.js +18 -0
  91. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Instagram.d.ts +7 -0
  92. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Instagram.js +19 -0
  93. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/RichText.d.ts +7 -0
  94. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/RichText.js +9 -0
  95. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Text.d.ts +7 -0
  96. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Text.js +29 -0
  97. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Twitter.d.ts +7 -0
  98. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Twitter.js +30 -0
  99. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Youtube.d.ts +9 -0
  100. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/Youtube.js +38 -0
  101. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/index.d.ts +8 -0
  102. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/blocks/index.js +22 -0
  103. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/index.d.ts +1 -0
  104. package/dist/src/sub/DynamicLayout/sections/CustomSection/BlockMatcher/index.js +8 -0
  105. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +11 -0
  106. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +83 -0
  107. package/dist/src/sub/DynamicLayout/sections/CustomSection/index.d.ts +2 -0
  108. package/dist/src/sub/DynamicLayout/sections/CustomSection/index.js +8 -0
  109. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +72 -0
  110. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +13 -0
  111. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts +4 -0
  112. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.js +79 -0
  113. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/index.d.ts +1 -0
  114. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/index.js +8 -0
  115. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.d.ts +5 -0
  116. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.js +25 -0
  117. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.d.ts +8 -0
  118. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.js +27 -0
  119. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.d.ts +3 -0
  120. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +35 -0
  121. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.d.ts +8 -0
  122. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.js +10 -0
  123. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.d.ts +8 -0
  124. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +85 -0
  125. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.d.ts +8 -0
  126. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +93 -0
  127. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.d.ts +11 -0
  128. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +174 -0
  129. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.d.ts +3 -0
  130. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +49 -0
  131. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.d.ts +7 -0
  132. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +33 -0
  133. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.d.ts +11 -0
  134. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.js +88 -0
  135. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/index.d.ts +1 -0
  136. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/index.js +8 -0
  137. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/index.d.ts +1 -0
  138. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/index.js +8 -0
  139. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.d.ts +7 -0
  140. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.js +28 -0
  141. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.d.ts +3 -0
  142. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +35 -0
  143. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.d.ts +8 -0
  144. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.js +11 -0
  145. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.d.ts +7 -0
  146. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.js +22 -0
  147. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.d.ts +7 -0
  148. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.js +51 -0
  149. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.d.ts +3 -0
  150. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +48 -0
  151. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/index.d.ts +1 -0
  152. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/index.js +8 -0
  153. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.d.ts +5 -0
  154. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.js +25 -0
  155. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.d.ts +8 -0
  156. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.js +25 -0
  157. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.d.ts +3 -0
  158. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +35 -0
  159. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.d.ts +8 -0
  160. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.js +10 -0
  161. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.d.ts +7 -0
  162. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.js +85 -0
  163. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +8 -0
  164. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +85 -0
  165. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.d.ts +8 -0
  166. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +79 -0
  167. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.d.ts +3 -0
  168. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +48 -0
  169. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.d.ts +7 -0
  170. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +33 -0
  171. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/index.d.ts +1 -0
  172. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/index.js +8 -0
  173. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/index.d.ts +1 -0
  174. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/index.js +8 -0
  175. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.d.ts +7 -0
  176. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.js +28 -0
  177. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.d.ts +3 -0
  178. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +35 -0
  179. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.d.ts +8 -0
  180. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.js +11 -0
  181. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.d.ts +7 -0
  182. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.js +22 -0
  183. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.d.ts +7 -0
  184. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +51 -0
  185. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.d.ts +3 -0
  186. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +48 -0
  187. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/index.d.ts +1 -0
  188. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/index.js +8 -0
  189. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/index.d.ts +2 -0
  190. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/index.js +7 -0
  191. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.d.ts +4 -0
  192. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.js +54 -0
  193. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/index.d.ts +1 -0
  194. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/index.js +8 -0
  195. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.d.ts +3 -0
  196. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.js +15 -0
  197. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.d.ts +3 -0
  198. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.js +30 -0
  199. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.d.ts +3 -0
  200. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.js +49 -0
  201. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/index.d.ts +1 -0
  202. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/index.js +8 -0
  203. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/index.d.ts +1 -0
  204. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/index.js +8 -0
  205. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.d.ts +3 -0
  206. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.js +33 -0
  207. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.d.ts +3 -0
  208. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.js +48 -0
  209. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/index.d.ts +1 -0
  210. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/index.js +8 -0
  211. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.d.ts +3 -0
  212. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.js +15 -0
  213. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.d.ts +3 -0
  214. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.js +30 -0
  215. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.d.ts +3 -0
  216. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.js +48 -0
  217. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/index.d.ts +1 -0
  218. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/index.js +8 -0
  219. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/index.d.ts +1 -0
  220. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/index.js +8 -0
  221. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.d.ts +3 -0
  222. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.js +33 -0
  223. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.d.ts +3 -0
  224. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.js +48 -0
  225. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/index.d.ts +1 -0
  226. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/index.js +8 -0
  227. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/index.d.ts +2 -0
  228. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/index.js +7 -0
  229. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +44 -0
  230. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +252 -0
  231. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/index.d.ts +1 -0
  232. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/index.js +8 -0
  233. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/index.d.ts +2 -0
  234. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/index.js +7 -0
  235. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +45 -0
  236. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +272 -0
  237. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/index.d.ts +1 -0
  238. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/index.js +8 -0
  239. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.d.ts +13 -0
  240. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.js +58 -0
  241. package/dist/src/sub/DynamicLayout/sections/MembershipSection/index.d.ts +3 -0
  242. package/dist/src/sub/DynamicLayout/sections/MembershipSection/index.js +7 -0
  243. package/dist/src/sub/DynamicLayout/sections/MembershipSection/type.d.ts +5 -0
  244. package/dist/src/sub/DynamicLayout/sections/MembershipSection/type.js +2 -0
  245. package/dist/src/sub/DynamicLayout/sections/index.d.ts +2 -0
  246. package/dist/src/sub/DynamicLayout/sections/index.js +5 -1
  247. package/dist/src/sub/DynamicLayout/types.d.ts +107 -4
  248. package/dist/src/sub/DynamicLayout/utils/formatCurrency.d.ts +8 -0
  249. package/dist/src/sub/DynamicLayout/utils/formatCurrency.js +27 -0
  250. package/package.json +3 -1
  251. package/release-note.md +6 -6
  252. package/webhook/node_modules/esrecurse/.babelrc +3 -0
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.M_TemplateA = void 0;
7
+ var M_TemplateA_1 = require("./M_TemplateA");
8
+ Object.defineProperty(exports, "M_TemplateA", { enumerable: true, get: function () { return __importDefault(M_TemplateA_1).default; } });
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare function TemplateB(): JSX.Element;
3
+ export default TemplateB;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ var jsx_runtime_1 = require("react/jsx-runtime");
4
+ var react_1 = require("react");
5
+ var dynamicLayoutContext_1 = require("../../../../../../DynamicLayout/dynamicLayoutContext");
6
+ var desktop_1 = require("./desktop");
7
+ var mobile_1 = require("./mobile");
8
+ function TemplateB() {
9
+ var device = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext).device;
10
+ return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: {
11
+ MOBILE: (0, jsx_runtime_1.jsx)(mobile_1.M_TemplateB, {}, void 0),
12
+ DESKTOP: (0, jsx_runtime_1.jsx)(desktop_1.D_TemplateB, {}, void 0)
13
+ }[device] }, void 0));
14
+ }
15
+ exports.default = TemplateB;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare function TemplateB(): JSX.Element;
3
+ export default TemplateB;
@@ -0,0 +1,30 @@
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 __importDefault = (this && this.__importDefault) || function (mod) {
7
+ return (mod && mod.__esModule) ? mod : { "default": mod };
8
+ };
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ var jsx_runtime_1 = require("react/jsx-runtime");
11
+ var react_1 = require("react");
12
+ var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
13
+ var styled_components_1 = __importDefault(require("styled-components"));
14
+ var SectionContents_1 = __importDefault(require("./components/SectionContents"));
15
+ function TemplateB() {
16
+ return ((0, jsx_runtime_1.jsxs)(S_MembershipSection, { children: [(0, jsx_runtime_1.jsx)(SectionContents_1.default, {}, void 0), (0, jsx_runtime_1.jsx)(MembershipSection, {}, void 0)] }, void 0));
17
+ }
18
+ var S_MembershipSection = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n --max-viewport-width: 1920;\n --max-viewport-width-px: 1920px;\n --max-width: 1500;\n --max-width-px: 1500px;\n --min-viewport-width: 1200;\n --min-viewport-width-px: 1200px;\n --min-width: 1000;\n --min-width-px: 1000px;\n margin: ", " auto;\n max-width: var(--max-width-px);\n min-width: var(--min-width-px);\n width: calc(\n (100% - var(--min-viewport-width-px)) * (var(--max-width) - var(--min-width)) /\n (var(--max-viewport-width) - var(--min-viewport-width)) + var(--min-width-px)\n );\n"], ["\n --max-viewport-width: 1920;\n --max-viewport-width-px: 1920px;\n --max-width: 1500;\n --max-width-px: 1500px;\n --min-viewport-width: 1200;\n --min-viewport-width-px: 1200px;\n --min-width: 1000;\n --min-width-px: 1000px;\n margin: ", " auto;\n max-width: var(--max-width-px);\n min-width: var(--min-width-px);\n width: calc(\n (100% - var(--min-viewport-width-px)) * (var(--max-width) - var(--min-width)) /\n (var(--max-viewport-width) - var(--min-viewport-width)) + var(--min-width-px)\n );\n"])), function (_a) {
19
+ var theme = _a.theme;
20
+ return theme.spacing.spacingK;
21
+ });
22
+ function MembershipSection() {
23
+ var programmedSectionComponents = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext).programmedSectionComponents;
24
+ if (!programmedSectionComponents) {
25
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0);
26
+ }
27
+ return programmedSectionComponents.PRG_MEMBERSHIP_DISPLAY ? (programmedSectionComponents.PRG_MEMBERSHIP_DISPLAY) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0));
28
+ }
29
+ exports.default = TemplateB;
30
+ var templateObject_1;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare function SectionContents(): JSX.Element;
3
+ export default SectionContents;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ var jsx_runtime_1 = require("react/jsx-runtime");
22
+ var react_1 = require("react");
23
+ var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
24
+ var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
25
+ var styled_components_1 = __importDefault(require("styled-components"));
26
+ function SectionContents() {
27
+ var section = (0, react_1.useContext)(Section_1.sectionContext);
28
+ if (!section) {
29
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0);
30
+ }
31
+ var _a = section.styles, buttonAlphaBackgroundColorInHex = _a.buttonAlphaBackgroundColorInHex, buttonAlphaLabelColorInHex = _a.buttonAlphaLabelColorInHex, buttonAlphaDesignType = _a.buttonAlphaDesignType, descriptionColorInHex = _a.descriptionColorInHex, titleColorInHex = _a.titleColorInHex;
32
+ var _b = section.properties, title = _b.title, description = _b.description, buttonAlphaLabel = _b.buttonAlphaLabel, buttonAlphaLinkSrc = _b.buttonAlphaLinkSrc, buttonAlphaLinkType = _b.buttonAlphaLinkType;
33
+ return ((0, jsx_runtime_1.jsxs)(S_SectionDataBox, __assign({ isEmptySectionData: !title && !description && !buttonAlphaLinkSrc }, { children: [title && ((0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Title, { text: title, textAlign: "center", color: titleColorInHex, customFontSize: "48px", customFontWeight: "bold" }, void 0)), description && ((0, jsx_runtime_1.jsx)(S_DescriptionWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.Description, { text: description, textAlign: "center", color: descriptionColorInHex, styleTheme: "headingBold" }, void 0) }, void 0)), buttonAlphaLinkSrc && ((0, jsx_runtime_1.jsx)(S_ButtonWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.D_MembershipSectionItem.DesignedSectionButton, { buttonType: buttonAlphaDesignType, text: buttonAlphaLabel, linkType: buttonAlphaLinkType, src: buttonAlphaLinkSrc, textColor: buttonAlphaLabelColorInHex, backgroundColor: buttonAlphaBackgroundColorInHex, borderColor: buttonAlphaLabelColorInHex }, void 0) }, void 0))] }), void 0));
34
+ }
35
+ var S_SectionDataBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), function (_a) {
36
+ var isEmptySectionData = _a.isEmptySectionData;
37
+ return (isEmptySectionData ? 0 : '80px');
38
+ });
39
+ var S_DescriptionWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-top: ", ";\n"], ["\n padding-top: ", ";\n"])), function (_a) {
40
+ var theme = _a.theme;
41
+ return theme.spacing.spacingF;
42
+ });
43
+ var S_ButtonWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n justify-content: center;\n padding-top: ", ";\n"], ["\n align-items: center;\n display: flex;\n justify-content: center;\n padding-top: ", ";\n"])), function (_a) {
44
+ var theme = _a.theme;
45
+ return theme.spacing.spacingG;
46
+ });
47
+ exports.default = SectionContents;
48
+ var templateObject_1, templateObject_2, templateObject_3;
@@ -0,0 +1 @@
1
+ export { default as D_TemplateB } from './D_TemplateB';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.D_TemplateB = void 0;
7
+ var D_TemplateB_1 = require("./D_TemplateB");
8
+ Object.defineProperty(exports, "D_TemplateB", { enumerable: true, get: function () { return __importDefault(D_TemplateB_1).default; } });
@@ -0,0 +1 @@
1
+ export { default as TemplateB } from './TemplateB';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.TemplateB = void 0;
7
+ var TemplateB_1 = require("./TemplateB");
8
+ Object.defineProperty(exports, "TemplateB", { enumerable: true, get: function () { return __importDefault(TemplateB_1).default; } });
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare function TemplateB(): JSX.Element;
3
+ export default TemplateB;
@@ -0,0 +1,33 @@
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 __importDefault = (this && this.__importDefault) || function (mod) {
7
+ return (mod && mod.__esModule) ? mod : { "default": mod };
8
+ };
9
+ Object.defineProperty(exports, "__esModule", { value: true });
10
+ var jsx_runtime_1 = require("react/jsx-runtime");
11
+ var react_1 = require("react");
12
+ var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
13
+ var styled_components_1 = __importDefault(require("styled-components"));
14
+ var SectionContents_1 = __importDefault(require("./components/SectionContents"));
15
+ function TemplateB() {
16
+ return ((0, jsx_runtime_1.jsxs)(S_MembershipSection, { children: [(0, jsx_runtime_1.jsx)(SectionContents_1.default, {}, void 0), (0, jsx_runtime_1.jsx)(MembershipSection, {}, void 0)] }, void 0));
17
+ }
18
+ var S_MembershipSection = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin: ", " auto;\n padding: 0 ", ";\n"], ["\n margin: ", " auto;\n padding: 0 ", ";\n"])), function (_a) {
19
+ var theme = _a.theme;
20
+ return theme.spacing.spacingG;
21
+ }, function (_a) {
22
+ var theme = _a.theme;
23
+ return theme.spacing.spacingE;
24
+ });
25
+ function MembershipSection() {
26
+ var programmedSectionComponents = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext).programmedSectionComponents;
27
+ if (!programmedSectionComponents) {
28
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0);
29
+ }
30
+ return programmedSectionComponents.PRG_MEMBERSHIP_DISPLAY ? (programmedSectionComponents.PRG_MEMBERSHIP_DISPLAY) : ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0));
31
+ }
32
+ exports.default = TemplateB;
33
+ var templateObject_1;
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ declare function SectionContents(): JSX.Element;
3
+ export default SectionContents;
@@ -0,0 +1,48 @@
1
+ "use strict";
2
+ var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
+ if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
+ return cooked;
5
+ };
6
+ var __assign = (this && this.__assign) || function () {
7
+ __assign = Object.assign || function(t) {
8
+ for (var s, i = 1, n = arguments.length; i < n; i++) {
9
+ s = arguments[i];
10
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
+ t[p] = s[p];
12
+ }
13
+ return t;
14
+ };
15
+ return __assign.apply(this, arguments);
16
+ };
17
+ var __importDefault = (this && this.__importDefault) || function (mod) {
18
+ return (mod && mod.__esModule) ? mod : { "default": mod };
19
+ };
20
+ Object.defineProperty(exports, "__esModule", { value: true });
21
+ var jsx_runtime_1 = require("react/jsx-runtime");
22
+ var react_1 = require("react");
23
+ var Section_1 = require("../../../../../../../../DynamicLayout/components/Section");
24
+ var components_1 = require("../../../../../../../../DynamicLayout/sections/MembershipSection/components");
25
+ var styled_components_1 = __importDefault(require("styled-components"));
26
+ function SectionContents() {
27
+ var section = (0, react_1.useContext)(Section_1.sectionContext);
28
+ if (!section) {
29
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0);
30
+ }
31
+ var _a = section.styles, buttonAlphaBackgroundColorInHex = _a.buttonAlphaBackgroundColorInHex, buttonAlphaLabelColorInHex = _a.buttonAlphaLabelColorInHex, buttonAlphaDesignType = _a.buttonAlphaDesignType, descriptionColorInHex = _a.descriptionColorInHex, titleColorInHex = _a.titleColorInHex;
32
+ var _b = section.properties, title = _b.title, description = _b.description, buttonAlphaLabel = _b.buttonAlphaLabel, buttonAlphaLinkSrc = _b.buttonAlphaLinkSrc, buttonAlphaLinkType = _b.buttonAlphaLinkType;
33
+ return ((0, jsx_runtime_1.jsxs)(S_SectionDataBox, __assign({ isEmptySectionData: !title && !description && !buttonAlphaLinkSrc }, { children: [title && ((0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.Title, { text: title, textAlign: "center", color: titleColorInHex, styleTheme: "headingBold" }, void 0)), description && ((0, jsx_runtime_1.jsx)(S_DescriptionWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.Description, { text: description, textAlign: "center", color: descriptionColorInHex, styleTheme: "body1Regular" }, void 0) }, void 0)), buttonAlphaLinkSrc && ((0, jsx_runtime_1.jsx)(S_ButtonWrapper, { children: (0, jsx_runtime_1.jsx)(components_1.M_MembershipSectionItem.DesignedSectionButton, { buttonType: buttonAlphaDesignType, text: buttonAlphaLabel, linkType: buttonAlphaLinkType, src: buttonAlphaLinkSrc, textColor: buttonAlphaLabelColorInHex, backgroundColor: buttonAlphaBackgroundColorInHex, borderColor: buttonAlphaLabelColorInHex }, void 0) }, void 0))] }), void 0));
34
+ }
35
+ var S_SectionDataBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n margin-bottom: ", ";\n"], ["\n margin-bottom: ", ";\n"])), function (_a) {
36
+ var isEmptySectionData = _a.isEmptySectionData, theme = _a.theme;
37
+ return isEmptySectionData ? 0 : theme.spacing.spacingG;
38
+ });
39
+ var S_DescriptionWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding-top: ", ";\n"], ["\n padding-top: ", ";\n"])), function (_a) {
40
+ var theme = _a.theme;
41
+ return theme.spacing.spacingD;
42
+ });
43
+ var S_ButtonWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n justify-content: center;\n padding-top: ", ";\n"], ["\n align-items: center;\n display: flex;\n justify-content: center;\n padding-top: ", ";\n"])), function (_a) {
44
+ var theme = _a.theme;
45
+ return theme.spacing.spacingF;
46
+ });
47
+ exports.default = SectionContents;
48
+ var templateObject_1, templateObject_2, templateObject_3;
@@ -0,0 +1 @@
1
+ export { default as M_TemplateB } from './M_TemplateB';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.M_TemplateB = void 0;
7
+ var M_TemplateB_1 = require("./M_TemplateB");
8
+ Object.defineProperty(exports, "M_TemplateB", { enumerable: true, get: function () { return __importDefault(M_TemplateB_1).default; } });
@@ -0,0 +1,2 @@
1
+ export { TemplateA } from './TemplateA';
2
+ export { TemplateB } from './TemplateB';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.TemplateB = exports.TemplateA = void 0;
4
+ var TemplateA_1 = require("./TemplateA");
5
+ Object.defineProperty(exports, "TemplateA", { enumerable: true, get: function () { return TemplateA_1.TemplateA; } });
6
+ var TemplateB_1 = require("./TemplateB");
7
+ Object.defineProperty(exports, "TemplateB", { enumerable: true, get: function () { return TemplateB_1.TemplateB; } });
@@ -0,0 +1,44 @@
1
+ /// <reference types="react" />
2
+ import type { FillIconNameKeys, LineIconNameKeys } from '../../../../../DynamicLayout/components/pdsOriginal/common';
3
+ import type { TextLabelProps } from '../../../../../DynamicLayout/components/pdsOriginal/desktop/TextLabel/TextLabel';
4
+ import type { IItemButton, IItemDescription, IItemTitle, IMembershipCardTemplate } from '../../../../../DynamicLayout/types';
5
+ declare function MembershipSectionItem(): JSX.Element;
6
+ declare namespace MembershipSectionItem {
7
+ var Title: ({ text, color, lineHeight, ...textLabelProps }: IItemTitle & TextLabelProps & {
8
+ lineHeight?: number | undefined;
9
+ }) => JSX.Element;
10
+ var Description: ({ text, color, fontWeight, ...textLabelProps }: IItemDescription & TextLabelProps & {
11
+ fontWeight?: string | undefined;
12
+ }) => JSX.Element;
13
+ var DesignedSectionButton: ({ buttonType, backgroundColor, textColor, text, linkType, src, linkMethod, state, borderColor }: IItemButton) => JSX.Element;
14
+ var IconButton: ({ iconButtonIconColor, iconButtonDisabledIconColor, iconButtonBackgroundColor, iconButtonBorderColor, iconButtonDisabledBackgroundColor, isDisabled, iconName, state, onClick }: IconButtonProps) => JSX.Element;
15
+ var MembershipCard: ({ membershipCardTemplate }: MembershipCardProps) => JSX.Element;
16
+ var ColorOverrideIcon: ({ iconColor, iconName }: ColorOverrideIconProps) => JSX.Element;
17
+ var XlargeMainButton: ({ buttonTextColor, buttonBackgroundColor, state, buttonText, $paddingBottom }: XlargeMainButtonProps) => JSX.Element;
18
+ }
19
+ declare type IconButtonProps = {
20
+ iconButtonIconColor: string;
21
+ iconButtonDisabledIconColor: string;
22
+ iconButtonBackgroundColor: string;
23
+ iconButtonBorderColor: string;
24
+ iconButtonDisabledBackgroundColor: string;
25
+ isDisabled?: boolean;
26
+ iconName: FillIconNameKeys | LineIconNameKeys;
27
+ state?: 'normal' | 'disabled';
28
+ onClick?: (value?: number | string) => void;
29
+ };
30
+ declare type MembershipCardProps = {
31
+ membershipCardTemplate: IMembershipCardTemplate;
32
+ };
33
+ declare type ColorOverrideIconProps = {
34
+ iconColor: string;
35
+ iconName: FillIconNameKeys | LineIconNameKeys;
36
+ };
37
+ declare type XlargeMainButtonProps = {
38
+ buttonTextColor?: string;
39
+ buttonBackgroundColor?: string;
40
+ state?: 'normal' | 'disabled';
41
+ buttonText: string;
42
+ $paddingBottom?: string;
43
+ };
44
+ export default MembershipSectionItem;
@@ -0,0 +1,252 @@
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
+ Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
20
+ }) : (function(o, m, k, k2) {
21
+ if (k2 === undefined) k2 = k;
22
+ o[k2] = m[k];
23
+ }));
24
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
25
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
26
+ }) : function(o, v) {
27
+ o["default"] = v;
28
+ });
29
+ var __importStar = (this && this.__importStar) || function (mod) {
30
+ if (mod && mod.__esModule) return mod;
31
+ var result = {};
32
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
33
+ __setModuleDefault(result, mod);
34
+ return result;
35
+ };
36
+ var __rest = (this && this.__rest) || function (s, e) {
37
+ var t = {};
38
+ for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
39
+ t[p] = s[p];
40
+ if (s != null && typeof Object.getOwnPropertySymbols === "function")
41
+ for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
42
+ if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
43
+ t[p[i]] = s[p[i]];
44
+ }
45
+ return t;
46
+ };
47
+ Object.defineProperty(exports, "__esModule", { value: true });
48
+ var jsx_runtime_1 = require("react/jsx-runtime");
49
+ var react_1 = require("react");
50
+ var pdsOriginal_1 = require("../../../../../DynamicLayout/components/pdsOriginal");
51
+ var dynamicLayoutContext_1 = require("../../../../../DynamicLayout/dynamicLayoutContext");
52
+ var styled_components_1 = __importStar(require("styled-components"));
53
+ var constants_1 = require("../../constants");
54
+ function MembershipSectionItem() {
55
+ return (0, jsx_runtime_1.jsx)(S_Item, { "x-dlayout-section-element-name": "Item", isClickable: false }, void 0);
56
+ }
57
+ var S_Item = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n position: relative;\n ", "\n"], ["\n position: relative;\n ", "\n"])), function (_a) {
58
+ var isClickable = _a.isClickable;
59
+ return isClickable && 'cursor : pointer;';
60
+ });
61
+ function Title(_a) {
62
+ var text = _a.text, color = _a.color, _b = _a.lineHeight, lineHeight = _b === void 0 ? 1.5 : _b, textLabelProps = __rest(_a, ["text", "color", "lineHeight"]);
63
+ return ((0, jsx_runtime_1.jsx)(S_TitleStyleWrapper, __assign({ "x-dlayout-membership-item-element-name": "Title", color: color, lineHeight: lineHeight }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_TextLabel, __assign({ text: text, colorTheme: "sysTextPrimary" }, textLabelProps), void 0) }), void 0));
64
+ }
65
+ var S_TitleStyleWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n & > div {\n color: ", ";\n line-height: ", ";\n }\n"], ["\n & > div {\n color: ", ";\n line-height: ", ";\n }\n"])), function (_a) {
66
+ var color = _a.color;
67
+ return color;
68
+ }, function (_a) {
69
+ var lineHeight = _a.lineHeight;
70
+ return lineHeight;
71
+ });
72
+ function Description(_a) {
73
+ var text = _a.text, color = _a.color, fontWeight = _a.fontWeight, textLabelProps = __rest(_a, ["text", "color", "fontWeight"]);
74
+ return ((0, jsx_runtime_1.jsx)(S_DescriptionStyleWrapper, __assign({ "x-dlayout-membership-item-element-name": "Description", color: color, fontWeight: fontWeight }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_TextLabel, __assign({ text: text, colorTheme: "sysTextSecondary" }, textLabelProps), void 0) }), void 0));
75
+ }
76
+ var S_DescriptionStyleWrapper = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n & > div {\n color: ", ";\n width: 100%;\n\n ", ";\n }\n"], ["\n & > div {\n color: ", ";\n width: 100%;\n\n ", ";\n }\n"])), function (_a) {
77
+ var color = _a.color;
78
+ return color;
79
+ }, function (_a) {
80
+ var fontWeight = _a.fontWeight;
81
+ return fontWeight && "font-weight : " + fontWeight + ";";
82
+ });
83
+ function DesignedSectionButton(_a) {
84
+ var buttonType = _a.buttonType, backgroundColor = _a.backgroundColor, textColor = _a.textColor, text = _a.text, _b = _a.linkType, linkType = _b === void 0 ? 'NONE' : _b, _c = _a.src, src = _c === void 0 ? '' : _c, _d = _a.linkMethod, linkMethod = _d === void 0 ? 'CLICK_BUTTON_IN_ITEM' : _d, _e = _a.state, state = _e === void 0 ? 'normal' : _e, borderColor = _a.borderColor;
85
+ var _f = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), mode = _f.mode, isPreview = _f.isPreview, navigationHandler = _f.navigationHandler;
86
+ var handleClickButton = function (e) {
87
+ if (isPreview !== null && isPreview !== void 0 ? isPreview : mode === 'PREVIEW')
88
+ return;
89
+ e.preventDefault();
90
+ e.stopPropagation();
91
+ typeof navigationHandler === 'function' && navigationHandler(linkType, src);
92
+ };
93
+ if (!src || linkMethod !== 'CLICK_BUTTON_IN_ITEM')
94
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {}, void 0);
95
+ switch (buttonType) {
96
+ case 'A':
97
+ return ((0, jsx_runtime_1.jsx)(S_DesignedSectionMainButtonWrapper, __assign({ "x-dlayout-membership-item-element-name": "Button", backgroundColor: backgroundColor, color: textColor, radius: 0, state: state, type: buttonType }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_MainButton, { text: text || 'BUTTON', state: state, onClick: handleClickButton }, void 0) }), void 0));
98
+ case 'B':
99
+ return ((0, jsx_runtime_1.jsx)(S_DesignedSectionMainButtonWrapper, __assign({ "x-dlayout-membership-item-element-name": "Button", backgroundColor: backgroundColor, color: textColor, radius: 6, state: state, type: buttonType }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_MainButton, { text: text || 'BUTTON', state: state, onClick: handleClickButton }, void 0) }), void 0));
100
+ case 'C':
101
+ return ((0, jsx_runtime_1.jsx)(S_DesignedSectionMainButtonWrapper, __assign({ "x-dlayout-membership-item-element-name": "Button", backgroundColor: backgroundColor, color: textColor, radius: 14, state: state, type: buttonType }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_MainButton, { text: text || 'BUTTON', state: state, onClick: handleClickButton }, void 0) }), void 0));
102
+ case 'D':
103
+ return ((0, jsx_runtime_1.jsx)(S_DesignedSectionMainButtonWrapper, __assign({ "x-dlayout-membership-item-element-name": "Button", backgroundColor: backgroundColor, color: textColor, radius: 24, state: state, type: buttonType }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_MainButton, { text: text || 'BUTTON', state: state, onClick: handleClickButton }, void 0) }), void 0));
104
+ case 'E':
105
+ return ((0, jsx_runtime_1.jsx)(S_DesignedSectionMainButtonWrapper, __assign({ "x-dlayout-membership-item-element-name": "Button", backgroundColor: backgroundColor, color: textColor, radius: 0, borderWidth: 2, borderColor: borderColor, state: state, type: buttonType }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_MainButton, { text: text || 'BUTTON', state: state, onClick: handleClickButton }, void 0) }), void 0));
106
+ case 'F':
107
+ return ((0, jsx_runtime_1.jsx)(S_DesignedSectionMainButtonWrapper, __assign({ "x-dlayout-membership-item-element-name": "Button", backgroundColor: backgroundColor, color: textColor, radius: 6, borderWidth: 2, borderColor: borderColor, state: state, type: buttonType }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_MainButton, { text: text || 'BUTTON', state: state, onClick: handleClickButton }, void 0) }), void 0));
108
+ case 'G':
109
+ return ((0, jsx_runtime_1.jsx)(S_DesignedSectionMainButtonWrapper, __assign({ "x-dlayout-membership-item-element-name": "Button", backgroundColor: backgroundColor, color: textColor, radius: 14, borderWidth: 2, borderColor: borderColor, state: state, type: buttonType }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_MainButton, { text: text || 'BUTTON', state: state, onClick: handleClickButton }, void 0) }), void 0));
110
+ case 'H':
111
+ return ((0, jsx_runtime_1.jsx)(S_DesignedSectionMainButtonWrapper, __assign({ "x-dlayout-membership-item-element-name": "Button", backgroundColor: backgroundColor, color: textColor, radius: 24, borderWidth: 2, borderColor: borderColor, state: state, type: buttonType }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_MainButton, { text: text || 'BUTTON', state: state, onClick: handleClickButton }, void 0) }), void 0));
112
+ case 'I':
113
+ return ((0, jsx_runtime_1.jsx)(S_DesignedSectionTextButtonWrapper, __assign({ color: textColor, state: state }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_TextButton, { text: text || 'BUTTON', onClick: handleClickButton, state: state }, void 0) }), void 0));
114
+ default:
115
+ return (0, jsx_runtime_1.jsx)("button", __assign({ type: "button" }, { children: "wrong type" }), void 0);
116
+ }
117
+ }
118
+ var S_DesignedSectionMainButtonWrapper = styled_components_1.default.div(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n & > button {\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n\n box-sizing: border-box;\n\n & div {\n color: ", ";\n }\n }\n"], ["\n & > button {\n background-color: ", ";\n border: ", ";\n border-radius: ", ";\n\n box-sizing: border-box;\n\n & div {\n color: ", ";\n }\n }\n"])), function (_a) {
119
+ var theme = _a.theme, backgroundColor = _a.backgroundColor, state = _a.state;
120
+ if (backgroundColor && state === 'normal') {
121
+ return backgroundColor;
122
+ }
123
+ return theme.ui_cpnt_button_fill_base_disabled;
124
+ }, function (_a) {
125
+ var borderWidth = _a.borderWidth, borderColor = _a.borderColor, state = _a.state, type = _a.type, theme = _a.theme;
126
+ if (type === 'E' || type === 'F' || type === 'G' || type === 'H') {
127
+ if (borderWidth && borderColor && state === 'normal') {
128
+ return borderWidth + "px solid " + borderColor;
129
+ }
130
+ if (borderWidth && state === 'disabled') {
131
+ return borderWidth + "px solid " + theme.ui_cpnt_button_line_border_disabled;
132
+ }
133
+ }
134
+ return 'none';
135
+ }, function (_a) {
136
+ var radius = _a.radius;
137
+ return radius + "px";
138
+ }, function (_a) {
139
+ var color = _a.color, state = _a.state, theme = _a.theme;
140
+ if (state === 'normal') {
141
+ return color;
142
+ }
143
+ return theme.ui_cpnt_textlabel_sys_tertiary;
144
+ });
145
+ var S_DesignedSectionTextButtonWrapper = styled_components_1.default.div(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n & > button {\n background: none;\n box-sizing: border-box;\n\n & div {\n color: ", ";\n }\n\n &:hover:enabled {\n background: none;\n }\n\n &:active:enabled {\n background: none;\n }\n }\n"], ["\n & > button {\n background: none;\n box-sizing: border-box;\n\n & div {\n color: ", ";\n }\n\n &:hover:enabled {\n background: none;\n }\n\n &:active:enabled {\n background: none;\n }\n }\n"])), function (_a) {
146
+ var color = _a.color, state = _a.state, theme = _a.theme;
147
+ if (state === 'normal') {
148
+ return color;
149
+ }
150
+ return theme.ui_cpnt_textlabel_sys_tertiary;
151
+ });
152
+ function IconButton(_a) {
153
+ var iconButtonIconColor = _a.iconButtonIconColor, iconButtonDisabledIconColor = _a.iconButtonDisabledIconColor, iconButtonBackgroundColor = _a.iconButtonBackgroundColor, iconButtonBorderColor = _a.iconButtonBorderColor, iconButtonDisabledBackgroundColor = _a.iconButtonDisabledBackgroundColor, _b = _a.isDisabled, isDisabled = _b === void 0 ? false : _b, iconName = _a.iconName, _c = _a.state, state = _c === void 0 ? 'normal' : _c, onClick = _a.onClick;
154
+ var handleOnClick = function () {
155
+ onClick && onClick();
156
+ };
157
+ return ((0, jsx_runtime_1.jsx)(S_IconButtonWrapper, __assign({ iconButtonIconColor: iconButtonIconColor, iconButtonDisabledIconColor: iconButtonDisabledIconColor, iconButtonBackgroundColor: iconButtonBackgroundColor, iconButtonDisabledBackgroundColor: iconButtonDisabledBackgroundColor, iconButtonBorderColor: iconButtonBorderColor, isDisabled: isDisabled }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_IconButton, { fillType: "line", shapeType: "circular", baseSize: "large", iconName: iconName, state: state, onClick: handleOnClick }, void 0) }), void 0));
158
+ }
159
+ var S_IconButtonWrapper = styled_components_1.default.div(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n & > button {\n background-color: ", ";\n border: ", ";\n }\n\n & > button:hover:enabled {\n background-color: ", ";\n border: ", ";\n }\n\n & > button > svg > path {\n stroke: ", ";\n }\n"], ["\n & > button {\n background-color: ", ";\n border: ", ";\n }\n\n & > button:hover:enabled {\n background-color: ", ";\n border: ", ";\n }\n\n & > button > svg > path {\n stroke: ", ";\n }\n"])), function (_a) {
160
+ var iconButtonBackgroundColor = _a.iconButtonBackgroundColor, iconButtonDisabledBackgroundColor = _a.iconButtonDisabledBackgroundColor, isDisabled = _a.isDisabled;
161
+ return (isDisabled ? iconButtonDisabledBackgroundColor : iconButtonBackgroundColor);
162
+ }, function (_a) {
163
+ var iconButtonBorderColor = _a.iconButtonBorderColor;
164
+ return "1px " + iconButtonBorderColor + " solid";
165
+ }, function (_a) {
166
+ var iconButtonBackgroundColor = _a.iconButtonBackgroundColor;
167
+ return iconButtonBackgroundColor;
168
+ }, function (_a) {
169
+ var iconButtonBorderColor = _a.iconButtonBorderColor;
170
+ return "1px " + iconButtonBorderColor + " solid";
171
+ }, function (_a) {
172
+ var iconButtonIconColor = _a.iconButtonIconColor, iconButtonDisabledIconColor = _a.iconButtonDisabledIconColor, isDisabled = _a.isDisabled;
173
+ return isDisabled ? iconButtonDisabledIconColor : iconButtonIconColor;
174
+ });
175
+ function MembershipCard(_a) {
176
+ var membershipCardTemplate = _a.membershipCardTemplate;
177
+ var backgroundImageSrc = membershipCardTemplate.backgroundImageSrc, designSchema = membershipCardTemplate.designSchema, logoImageSrc = membershipCardTemplate.logoImageSrc, overlayColorPrimary = membershipCardTemplate.overlayColorPrimary, overlayColorSecondary = membershipCardTemplate.overlayColorSecondary, overlayType = membershipCardTemplate.overlayType;
178
+ return ((0, jsx_runtime_1.jsxs)("div", __assign({ style: { position: 'relative' } }, { children: [(0, jsx_runtime_1.jsxs)(S_MembershipCardBox, { children: [(0, jsx_runtime_1.jsx)(pdsOriginal_1.ImageView, { src: backgroundImageSrc, width: 288, height: 455, scaleType: "cover" }, void 0), (0, jsx_runtime_1.jsx)(S_GlossyOverlayWrapper, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.ImageView, { src: constants_1.COMMON_OVERLAY_IMAGE_SRC, width: 288, height: 455, ratio: "10_16", scaleType: "cover" }, void 0) }, void 0), (0, jsx_runtime_1.jsx)(S_LogoImageWrapper, __assign({ designSchema: designSchema }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.ImageView, { src: logoImageSrc, width: "responsive", scaleType: "contain" }, void 0) }), void 0), (0, jsx_runtime_1.jsx)(S_MembershipCardOverlay, { overlayType: overlayType, overlayColorPrimary: overlayColorPrimary, overlayColorSecondary: overlayColorSecondary }, void 0)] }, void 0), (0, jsx_runtime_1.jsx)(S_MembershipCardShadow, {}, void 0)] }), void 0));
179
+ }
180
+ var S_MembershipCardBox = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n border-radius: 12px;\n height: 455px;\n min-width: 288px;\n overflow: hidden;\n position: relative;\n"], ["\n border-radius: 12px;\n height: 455px;\n min-width: 288px;\n overflow: hidden;\n position: relative;\n"])));
181
+ var S_GlossyOverlayWrapper = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n inset: 0;\n position: absolute;\n z-index: 4;\n"], ["\n inset: 0;\n position: absolute;\n z-index: 4;\n"])));
182
+ var designSchemaA = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n left: 10%;\n top: 6%;\n width: 50%;\n"], ["\n left: 10%;\n top: 6%;\n width: 50%;\n"])));
183
+ var designSchemaB = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n width: 60%;\n"], ["\n left: 50%;\n top: 50%;\n transform: translate(-50%, -50%);\n width: 60%;\n"])));
184
+ var S_LogoImageWrapper = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n justify-content: center;\n position: absolute;\n z-index: 3;\n\n ", "\n"], ["\n align-items: center;\n display: flex;\n justify-content: center;\n position: absolute;\n z-index: 3;\n\n ", "\n"])), function (_a) {
185
+ var designSchema = _a.designSchema;
186
+ switch (designSchema) {
187
+ case 'A':
188
+ return designSchemaA;
189
+ case 'B':
190
+ return designSchemaB;
191
+ default:
192
+ return designSchemaA;
193
+ }
194
+ });
195
+ var overlaySolidType = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n"], ["\n background-color: ", ";\n"])), function (_a) {
196
+ var overlayColorPrimary = _a.overlayColorPrimary;
197
+ return overlayColorPrimary;
198
+ });
199
+ var overlayGradientType = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n background: ", ";\n"], ["\n background: ", ";\n"])), function (_a) {
200
+ var overlayColorPrimary = _a.overlayColorPrimary, overlayColorSecondary = _a.overlayColorSecondary;
201
+ return "linear-gradient(135deg, " + overlayColorPrimary + ", " + overlayColorSecondary + ")";
202
+ });
203
+ var S_MembershipCardOverlay = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n height: 455px;\n position: absolute;\n top: 0;\n width: 288px;\n z-index: 2;\n\n ", "\n"], ["\n height: 455px;\n position: absolute;\n top: 0;\n width: 288px;\n z-index: 2;\n\n ", "\n"])), function (_a) {
204
+ var overlayType = _a.overlayType;
205
+ switch (overlayType) {
206
+ case 'NONE':
207
+ return;
208
+ case 'SOLID':
209
+ return overlaySolidType;
210
+ case 'GRADIENT':
211
+ return overlayGradientType;
212
+ default:
213
+ return;
214
+ }
215
+ });
216
+ var S_MembershipCardShadow = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n height: 455px;\n position: absolute;\n top: 0;\n width: 288px;\n\n &::after {\n border-radius: 12px;\n box-shadow: 0 25px 30px 0 rgba(0, 0, 0, 0.2);\n content: '';\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n }\n"], ["\n height: 455px;\n position: absolute;\n top: 0;\n width: 288px;\n\n &::after {\n border-radius: 12px;\n box-shadow: 0 25px 30px 0 rgba(0, 0, 0, 0.2);\n content: '';\n height: 100%;\n left: 0;\n position: absolute;\n top: 0;\n width: 100%;\n }\n"])));
217
+ function ColorOverrideIcon(_a) {
218
+ var iconColor = _a.iconColor, iconName = _a.iconName;
219
+ return ((0, jsx_runtime_1.jsx)(S_ColorOverrideIconWrapper, __assign({ "x-dlayout-membership-item-element-name": "Icon", iconColor: iconColor }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.Icon, { colorKey: "ui_cpnt_icon_sys_grey_01", iconName: iconName }, void 0) }), void 0));
220
+ }
221
+ var S_ColorOverrideIconWrapper = styled_components_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n justify-content: center;\n\n & path {\n stroke: ", ";\n }\n"], ["\n align-items: center;\n display: flex;\n justify-content: center;\n\n & path {\n stroke: ", ";\n }\n"])), function (_a) {
222
+ var iconColor = _a.iconColor;
223
+ return iconColor;
224
+ });
225
+ function XlargeMainButton(_a) {
226
+ var buttonTextColor = _a.buttonTextColor, buttonBackgroundColor = _a.buttonBackgroundColor, _b = _a.state, state = _b === void 0 ? 'normal' : _b, buttonText = _a.buttonText, $paddingBottom = _a.$paddingBottom;
227
+ return ((0, jsx_runtime_1.jsx)(S_XlargeMainButtonPropsWrapper, __assign({ "x-dlayout-membership-item-element-name": "Icon", buttonTextColor: buttonTextColor, buttonBackgroundColor: buttonBackgroundColor, "$paddingBottom": $paddingBottom }, { children: (0, jsx_runtime_1.jsx)(pdsOriginal_1.D_MainButton, { text: buttonText, size: "rlarge", state: state, responsiveMode: "use" }, void 0) }), void 0));
228
+ }
229
+ var S_XlargeMainButtonPropsWrapper = styled_components_1.default.div(templateObject_17 || (templateObject_17 = __makeTemplateObject(["\n align-items: center;\n display: flex;\n justify-content: center;\n margin-top: ", ";\n padding-bottom: ", ";\n\n & > button {\n background-color: ", ";\n box-sizing: border-box;\n height: 64px;\n\n & div {\n color: ", ";\n text-align: center;\n }\n }\n"], ["\n align-items: center;\n display: flex;\n justify-content: center;\n margin-top: ", ";\n padding-bottom: ", ";\n\n & > button {\n background-color: ", ";\n box-sizing: border-box;\n height: 64px;\n\n & div {\n color: ", ";\n text-align: center;\n }\n }\n"])), function (_a) {
230
+ var theme = _a.theme;
231
+ return theme.spacing.spacingF;
232
+ }, function (_a) {
233
+ var $paddingBottom = _a.$paddingBottom;
234
+ return $paddingBottom && $paddingBottom;
235
+ }, function (_a) {
236
+ var theme = _a.theme, buttonBackgroundColor = _a.buttonBackgroundColor;
237
+ return buttonBackgroundColor
238
+ ? buttonBackgroundColor
239
+ : theme.ui_cpnt_button_fill_base_disabled;
240
+ }, function (_a) {
241
+ var buttonTextColor = _a.buttonTextColor, theme = _a.theme;
242
+ return buttonTextColor ? buttonTextColor : theme.ui_cpnt_textlabel_sys_tertiary;
243
+ });
244
+ MembershipSectionItem.Title = Title;
245
+ MembershipSectionItem.Description = Description;
246
+ MembershipSectionItem.DesignedSectionButton = DesignedSectionButton;
247
+ MembershipSectionItem.IconButton = IconButton;
248
+ MembershipSectionItem.MembershipCard = MembershipCard;
249
+ MembershipSectionItem.ColorOverrideIcon = ColorOverrideIcon;
250
+ MembershipSectionItem.XlargeMainButton = XlargeMainButton;
251
+ exports.default = MembershipSectionItem;
252
+ var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12, templateObject_13, templateObject_14, templateObject_15, templateObject_16, templateObject_17;
@@ -0,0 +1 @@
1
+ export { default as D_MembershipSectionItem } from './MembershipSectionItem';
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.D_MembershipSectionItem = void 0;
7
+ var MembershipSectionItem_1 = require("./MembershipSectionItem");
8
+ Object.defineProperty(exports, "D_MembershipSectionItem", { enumerable: true, get: function () { return __importDefault(MembershipSectionItem_1).default; } });
@@ -0,0 +1,2 @@
1
+ export { D_MembershipSectionItem } from './desktop';
2
+ export { M_MembershipSectionItem } from './mobile';
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.M_MembershipSectionItem = exports.D_MembershipSectionItem = void 0;
4
+ var desktop_1 = require("./desktop");
5
+ Object.defineProperty(exports, "D_MembershipSectionItem", { enumerable: true, get: function () { return desktop_1.D_MembershipSectionItem; } });
6
+ var mobile_1 = require("./mobile");
7
+ Object.defineProperty(exports, "M_MembershipSectionItem", { enumerable: true, get: function () { return mobile_1.M_MembershipSectionItem; } });