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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (370) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/dist/index.js +12 -3
  3. package/dist/src/common/assets/icons/fill/Translate.d.ts +4 -0
  4. package/dist/src/common/assets/icons/fill/Translate.js +30 -0
  5. package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
  6. package/dist/src/common/assets/icons/fill/index.js +2 -0
  7. package/dist/src/common/assets/icons/line/Translate.d.ts +4 -0
  8. package/dist/src/common/assets/icons/line/Translate.js +30 -0
  9. package/dist/src/common/assets/icons/line/index.d.ts +1 -0
  10. package/dist/src/common/assets/icons/line/index.js +2 -0
  11. package/dist/src/common/hooks/useParentResizeObserver.d.ts +2 -0
  12. package/dist/src/common/hooks/useParentResizeObserver.js +20 -0
  13. package/dist/src/common/hooks/useResizeObserver.d.ts +3 -0
  14. package/dist/src/common/hooks/useResizeObserver.js +27 -0
  15. package/dist/src/common/hooks/useTooltip.js +1 -1
  16. package/dist/src/common/hooks/useWindowSize.d.ts +4 -0
  17. package/dist/src/common/hooks/useWindowSize.js +22 -0
  18. package/dist/src/common/index.d.ts +1 -1
  19. package/dist/src/common/services/i18n/resources/en.json +61 -1
  20. package/dist/src/common/services/i18n/resources/es.json +61 -1
  21. package/dist/src/common/services/i18n/resources/fil.json +61 -1
  22. package/dist/src/common/services/i18n/resources/index.d.ts +421 -0
  23. package/dist/src/common/services/i18n/resources/ja.json +61 -1
  24. package/dist/src/common/services/i18n/resources/ko.json +62 -1
  25. package/dist/src/common/services/i18n/resources/zh-cn.json +61 -1
  26. package/dist/src/common/services/i18n/resources/zh-tw.json +61 -1
  27. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +4 -1
  28. package/dist/src/common/styles/colorSet/PaletteColor_light.json +4 -1
  29. package/dist/src/common/styles/colorSet/UIColor.json +5 -1
  30. package/dist/src/common/styles/colorSet/index.d.ts +10 -0
  31. package/dist/src/common/styles/colorSet/ui-type.d.ts +4 -0
  32. package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +2 -0
  33. package/dist/src/common/styles/scroll/scrollbarStyle.js +4 -3
  34. package/dist/src/common/types/components.d.ts +9 -0
  35. package/dist/src/common/types/components.js +8 -0
  36. package/dist/src/common/types/index.d.ts +1 -1
  37. package/dist/src/common/types/index.js +1 -1
  38. package/dist/src/common/types/multilingual.d.ts +16 -0
  39. package/dist/src/common/types/text.d.ts +2 -0
  40. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  41. package/dist/src/common/utils/dateHelper.d.ts +3 -0
  42. package/dist/src/common/utils/dateHelper.js +37 -0
  43. package/dist/src/core/pricing/formatter.d.ts +4 -0
  44. package/dist/src/core/pricing/formatter.js +18 -0
  45. package/dist/src/core/pricing/index.d.ts +2 -0
  46. package/dist/src/core/pricing/index.js +18 -0
  47. package/dist/src/core/pricing/policy.d.ts +26 -0
  48. package/dist/src/core/pricing/policy.js +98 -0
  49. package/dist/src/core/pricing/service.d.ts +62 -0
  50. package/dist/src/core/pricing/service.js +157 -0
  51. package/dist/src/core/pricing/translator.d.ts +27 -0
  52. package/dist/src/core/pricing/translator.js +54 -0
  53. package/dist/src/core/pricing/types.d.ts +19 -0
  54. package/dist/src/core/pricing/types.js +31 -0
  55. package/dist/src/core/pricing/validator.d.ts +29 -0
  56. package/dist/src/core/pricing/validator.js +105 -0
  57. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +4 -1
  58. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +32 -23
  59. package/dist/src/desktop/components/AdminList/AdminList.d.ts +10 -1
  60. package/dist/src/desktop/components/AdminList/AdminList.js +16 -18
  61. package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +10 -1
  62. package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
  63. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +2 -1
  64. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +2 -2
  65. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +2 -1
  66. package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +2 -2
  67. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  68. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +6 -2
  69. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +67 -6
  70. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +6 -1
  71. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +70 -2
  72. package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +67 -0
  73. package/dist/src/desktop/components/BoxItem/BoxItem.js +107 -0
  74. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
  75. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +9 -0
  76. package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +11 -0
  77. package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +9 -0
  78. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
  79. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +36 -0
  80. package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +2 -0
  81. package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner → desktop/components/BoxItem/LeftBox}/index.js +3 -3
  82. package/dist/src/desktop/components/BoxItem/index.d.ts +1 -0
  83. package/dist/src/desktop/components/BoxItem/index.js +8 -0
  84. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +12 -0
  85. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +134 -0
  86. package/dist/src/desktop/components/Calendar/Calendar.d.ts +4 -0
  87. package/dist/src/desktop/components/Calendar/Calendar.js +399 -0
  88. package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +51 -0
  89. package/dist/src/desktop/components/Calendar/CalendarContext.js +76 -0
  90. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +7 -0
  91. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +48 -0
  92. package/dist/src/desktop/components/Calendar/DailyView.d.ts +2 -0
  93. package/dist/src/desktop/components/Calendar/DailyView.js +91 -0
  94. package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +28 -0
  95. package/dist/src/desktop/components/Calendar/MonthlyView.js +419 -0
  96. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +21 -0
  97. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +186 -0
  98. package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +25 -0
  99. package/dist/src/desktop/components/Calendar/ScheduleItem.js +56 -0
  100. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +12 -0
  101. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +184 -0
  102. package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +6 -0
  103. package/dist/src/desktop/components/Calendar/WeeklyView.js +114 -0
  104. package/dist/src/desktop/components/Calendar/YearlyView.d.ts +13 -0
  105. package/dist/src/desktop/components/Calendar/YearlyView.js +76 -0
  106. package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +24 -0
  107. package/dist/src/desktop/components/Calendar/calendarUtils.js +87 -0
  108. package/dist/src/desktop/components/Calendar/constants.d.ts +1 -0
  109. package/dist/src/desktop/components/Calendar/constants.js +31 -0
  110. package/dist/src/desktop/components/Calendar/index.d.ts +14 -0
  111. package/dist/src/desktop/components/Calendar/index.js +42 -0
  112. package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +18 -0
  113. package/dist/src/desktop/components/Calendar/timeFormatUtils.js +59 -0
  114. package/dist/src/desktop/components/Calendar/types.d.ts +61 -0
  115. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
  116. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
  117. package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
  118. package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +43 -0
  119. package/dist/src/desktop/components/PriceTextField/PriceTextField.js +604 -0
  120. package/dist/src/desktop/components/PriceTextField/index.d.ts +1 -0
  121. package/dist/src/desktop/components/PriceTextField/index.js +8 -0
  122. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
  123. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +47 -0
  124. package/dist/src/desktop/components/PriceTextLabel/index.d.ts +1 -0
  125. package/dist/src/desktop/components/PriceTextLabel/index.js +8 -0
  126. package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +17 -0
  127. package/dist/src/desktop/components/Snackbar/Snackbar.js +221 -0
  128. package/dist/src/desktop/components/Snackbar/index.d.ts +1 -0
  129. package/dist/src/desktop/components/Snackbar/index.js +8 -0
  130. package/dist/src/desktop/components/Snackbar/provider.d.ts +11 -0
  131. package/dist/src/desktop/components/Snackbar/provider.js +43 -0
  132. package/dist/src/desktop/components/TextButton/TextButton.d.ts +6 -3
  133. package/dist/src/desktop/components/TextButton/TextButton.js +67 -40
  134. package/dist/src/desktop/components/TextField/TextField.d.ts +2 -1
  135. package/dist/src/desktop/components/TextField/TextField.js +7 -7
  136. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -3
  137. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  138. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +56 -39
  139. package/dist/src/desktop/components/index.d.ts +6 -1
  140. package/dist/src/desktop/components/index.js +12 -1
  141. package/dist/src/desktop/index.d.ts +1 -1
  142. package/dist/src/desktop/index.js +7 -2
  143. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +1 -1
  144. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +1 -1
  145. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +1 -1
  146. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +8 -5
  147. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +2 -1
  148. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +13 -15
  149. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.d.ts +3 -1
  150. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.js +16 -10
  151. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +19 -3
  152. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +42 -31
  153. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +3 -1
  154. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +11 -5
  155. package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.d.ts +13 -0
  156. package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.js +206 -0
  157. package/dist/src/desktop/panels/MultilingualModal/index.d.ts +1 -0
  158. package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList → desktop/panels/MultilingualModal}/index.js +3 -3
  159. package/dist/src/desktop/panels/index.d.ts +2 -1
  160. package/dist/src/desktop/panels/index.js +6 -1
  161. package/dist/src/hybrid/components/Divider/Divider.d.ts +3 -1
  162. package/dist/src/hybrid/components/Divider/Divider.js +9 -7
  163. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +3 -1
  164. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +26 -22
  165. package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +67 -0
  166. package/dist/src/mobile/components/BoxItem/BoxItem.js +106 -0
  167. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
  168. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +9 -0
  169. package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +11 -0
  170. package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +9 -0
  171. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
  172. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +36 -0
  173. package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +2 -0
  174. package/dist/src/mobile/components/BoxItem/LeftBox/index.js +8 -0
  175. package/dist/src/mobile/components/BoxItem/index.d.ts +1 -0
  176. package/dist/src/mobile/components/BoxItem/index.js +8 -0
  177. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
  178. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
  179. package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
  180. package/dist/src/mobile/components/PriceTextField/PriceTextField.d.ts +42 -0
  181. package/dist/src/mobile/components/PriceTextField/PriceTextField.js +591 -0
  182. package/dist/src/mobile/components/PriceTextField/index.d.ts +1 -0
  183. package/dist/src/mobile/components/PriceTextField/index.js +8 -0
  184. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
  185. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +47 -0
  186. package/dist/src/mobile/components/PriceTextLabel/index.d.ts +1 -0
  187. package/dist/src/mobile/components/PriceTextLabel/index.js +8 -0
  188. package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +17 -0
  189. package/dist/src/mobile/components/Snackbar/Snackbar.js +221 -0
  190. package/dist/src/mobile/components/Snackbar/index.d.ts +1 -0
  191. package/dist/src/mobile/components/Snackbar/index.js +8 -0
  192. package/dist/src/mobile/components/Snackbar/provider.d.ts +11 -0
  193. package/dist/src/mobile/components/Snackbar/provider.js +43 -0
  194. package/dist/src/mobile/components/TextButton/TextButton.d.ts +6 -3
  195. package/dist/src/mobile/components/TextButton/TextButton.js +55 -31
  196. package/dist/src/mobile/components/TextField/TextField.d.ts +2 -1
  197. package/dist/src/mobile/components/TextField/TextField.js +7 -7
  198. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -3
  199. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  200. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +44 -30
  201. package/dist/src/mobile/components/index.d.ts +5 -1
  202. package/dist/src/mobile/components/index.js +9 -1
  203. package/dist/src/mobile/index.d.ts +1 -1
  204. package/dist/src/mobile/index.js +6 -2
  205. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.d.ts +3 -1
  206. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +13 -6
  207. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +10 -1
  208. package/dist/src/sub/AdminList/AdminList/AdminList.js +19 -18
  209. package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +10 -1
  210. package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
  211. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +1 -4
  212. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +3 -5
  213. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +54 -54
  214. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +6 -0
  215. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +27 -0
  216. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  217. package/dist/src/sub/DynamicLayout/DynamicLayout.js +2 -4
  218. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -24
  219. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  220. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
  221. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
  222. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
  223. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
  224. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
  225. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
  226. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
  227. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
  228. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
  229. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +1 -3
  230. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +3 -5
  231. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -2
  232. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +2 -9
  233. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +1 -0
  234. package/dist/src/sub/DynamicLayout/mock_video_cb.js +5 -4
  235. package/dist/src/sub/DynamicLayout/mocks.d.ts +961 -8
  236. package/dist/src/sub/DynamicLayout/mocks.js +4239 -55
  237. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.d.ts +1 -1
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +5 -6
  242. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -13
  243. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +2 -18
  244. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -10
  245. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +3 -140
  246. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +3 -39
  247. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +8 -49
  248. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +28 -3
  249. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +1 -0
  250. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +15 -5
  251. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +3 -55
  252. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  253. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  254. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +10 -27
  255. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -3
  256. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  257. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  258. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  259. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +2 -7
  260. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +5 -16
  261. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  262. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +0 -2
  263. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -53
  264. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  265. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +0 -1
  266. package/dist/src/sub/DynamicLayout/types.d.ts +17 -64
  267. package/package.json +2 -3
  268. package/release-note.md +2 -2
  269. package/dist/src/common/types/form.d.ts +0 -9
  270. package/dist/src/common/types/form.js +0 -10
  271. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +0 -22
  272. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +0 -1134
  273. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +0 -11
  274. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +0 -45
  275. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +0 -10
  276. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +0 -79
  277. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
  278. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
  279. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
  280. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
  281. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
  282. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
  283. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
  284. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
  285. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
  286. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
  287. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +0 -139
  288. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +0 -8
  289. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +0 -14
  290. package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +0 -911
  291. package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +0 -4238
  292. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +0 -3
  293. package/dist/src/sub/DynamicLayout/mock_composition.js +0 -1607
  294. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +0 -1
  295. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +0 -1111
  296. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +0 -1
  297. package/dist/src/sub/DynamicLayout/mock_contentsList.js +0 -1091
  298. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
  299. package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
  300. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +0 -842
  301. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +0 -854
  302. package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
  303. package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
  304. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -12
  305. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -61
  306. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +0 -15
  307. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +0 -69
  308. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +0 -15
  309. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +0 -69
  310. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -9
  311. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -87
  312. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  313. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
  314. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
  315. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
  316. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +0 -39
  317. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -182
  318. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +0 -18
  319. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +0 -229
  320. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +0 -14
  321. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +0 -46
  322. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
  323. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
  324. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +0 -139
  325. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +0 -14
  326. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +0 -221
  327. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +0 -17
  328. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +0 -39
  329. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +0 -10
  330. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +0 -85
  331. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
  332. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
  333. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +0 -29
  334. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +0 -130
  335. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +0 -18
  336. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +0 -229
  337. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +0 -1
  338. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +0 -67
  339. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +0 -2
  340. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -14
  341. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -151
  342. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -12
  343. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -39
  344. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +0 -15
  345. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +0 -69
  346. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +0 -15
  347. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +0 -69
  348. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -20
  349. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -173
  350. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -9
  351. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -87
  352. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  353. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
  354. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
  355. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
  356. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +0 -18
  357. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +0 -229
  358. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +0 -16
  359. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +0 -63
  360. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +0 -1
  361. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -46
  362. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -186
  363. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +0 -163
  364. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +0 -2
  365. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.d.ts +0 -7
  366. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.js +0 -211
  367. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +0 -14
  368. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +0 -26
  369. /package/dist/src/{sub/DynamicLayout/compositionActionTypes.js → common/types/multilingual.js} +0 -0
  370. /package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel → desktop/components/Calendar}/types.js +0 -0
@@ -1,151 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __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 createCompositions_1 = require("../../../../../../../DynamicLayout/CompositionRenderer/createCompositions");
24
- var dynamicLayoutContext_1 = require("../../../../../../../DynamicLayout/dynamicLayoutContext");
25
- var hooks_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/hooks");
26
- var util_1 = require("../../../../../../../DynamicLayout/sections/CustomSection/util");
27
- var styled_components_1 = __importDefault(require("styled-components"));
28
- var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverBox");
29
- var S_CB_BoxWithShadow_1 = require("../components/S_CB_BoxWithShadow");
30
- var CustomNavigationNextBtn_1 = require("./components/CustomNavigationNextBtn");
31
- var CustomNavigationPrevBtn_1 = require("./components/CustomNavigationPrevBtn");
32
- var CustomPagination_1 = require("./components/CustomPagination");
33
- var CustomProgressbar_1 = require("./components/CustomProgressbar");
34
- var useFlexGridLayout_1 = require("./hooks/useFlexGridLayout");
35
- var useSwiper_1 = require("./hooks/useSwiper");
36
- var SlideBannerCore_1 = __importDefault(require("./SlideBannerCore"));
37
- var slideBannerUtils_1 = require("./slideBannerUtils");
38
- var createComponent = function (type, getDesignType, getLocation) {
39
- return function (normalStyle, hoverStyle, isHovered) {
40
- var normalDesign = getDesignType(normalStyle);
41
- var hoverDesign = getDesignType(hoverStyle);
42
- if (isHovered && hoverDesign === 'NONE')
43
- return undefined;
44
- if (normalDesign === 'NONE')
45
- return undefined;
46
- return {
47
- type: type,
48
- position: isHovered ? getLocation(hoverStyle) : getLocation(normalStyle)
49
- };
50
- };
51
- };
52
- function SlideBanner(props) {
53
- var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode, queryData = _a.queryData;
54
- var index = props.index, _b = props.CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS, CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE, CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA, CB_STYLE_PROP_SLIDEBANNER = props.CB_STYLE_PROP_SLIDEBANNER, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
55
- var compositions = props.compositions;
56
- var _c = (0, util_1.parseProperties)(props, device), style = _c.style, hoverStyle = _c.hoverStyle, layout = _c.layout, effect = _c.effect;
57
- var _d = (0, slideBannerUtils_1.parseSlideBannerStyleToSlideBannerCoreProp)({
58
- props: CB_STYLE_PROP_SLIDEBANNER,
59
- device: device
60
- }), slideBannerNormalStyle = _d.normalStyle, slideBannerHoverStyle = _d.hoverStyle;
61
- var _e = (0, slideBannerUtils_1.parseSlideBannerStyleToCustomPaginationProp)({
62
- props: CB_STYLE_PROP_SLIDEBANNER,
63
- device: device
64
- }), customPaginationNormalStyle = _e.normalStyle, customPaginationHoverStyle = _e.hoverStyle;
65
- var _f = (0, slideBannerUtils_1.parseSlideBannerStyleToCustomNavigationProp)({
66
- props: CB_STYLE_PROP_SLIDEBANNER,
67
- device: device
68
- }), customNavigationNormalStyle = _f.normalStyle, customNavigationHoverStyle = _f.hoverStyle;
69
- var _g = (0, slideBannerUtils_1.parseSlideBannerStyleToCustomProgressbarProp)({
70
- props: CB_STYLE_PROP_SLIDEBANNER,
71
- device: device
72
- }), customProgressbarNormalStyle = _g.normalStyle, customProgressbarHoverStyle = _g.hoverStyle;
73
- var _h = (0, useSwiper_1.useSwiper)(), swiperRef = _h.swiperRef, progressRef = _h.progressRef, leftTimeMsRef = _h.leftTimeMsRef, currentSlide = _h.currentSlide, isBeginning = _h.isBeginning, isEnd = _h.isEnd, onSwiper = _h.onSwiper, onSlideChangeTransitionEnd = _h.onSlideChangeTransitionEnd, onAutoplayTimeLeft = _h.onAutoplayTimeLeft, onClickBullet = _h.onClickBullet, onClickPrevBtn = _h.onClickPrevBtn, onClickNextBtn = _h.onClickNextBtn;
74
- var _j = (0, react_1.useState)(false), isHovered = _j[0], setIsHovered = _j[1];
75
- var loop = isHovered ? slideBannerNormalStyle.loop : slideBannerHoverStyle.loop;
76
- // NOTE: edit모드에서는 그리드의 이벤트만 작동하도록 CB의 포인터 이벤트는 막습니다.
77
- var editModeStyle = mode === 'EDIT' ? { pointerEvents: 'none' } : {};
78
- // NOTE: EFFECT와 관련된 함수들입니다.
79
- var cbRef = (0, react_1.useRef)(null);
80
- var entry = (0, hooks_1.useIntersectionObserver)(cbRef, { threshold: 0.2, freezeOnceVisible: false }, [
81
- index
82
- ]);
83
- var isVisible = !!(entry === null || entry === void 0 ? void 0 : entry.isIntersecting);
84
- var effectCssProperties = isVisible ? effect : {};
85
- var isNoneEffectType = device === 'DESKTOP'
86
- ? CB_EFFECT_PROP_ENTANIM.CB_EFFECT_PROP_ENTANIM_SPEC_TYPE === 'NONE'
87
- : CB_EFFECT_PROP_ENTANIM['CB_EFFECT_PROP_ENTANIM_SPEC_TYPE:MOBILE'] === 'NONE';
88
- var hasEffect = !isNoneEffectType;
89
- var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
90
- var createPrevButton = createComponent('PREV', function (style) { return style.prevBtnType || 'NONE'; }, function (style) { return style.prevBtnLocation || 'OUTSET1'; });
91
- var createNextButton = createComponent('NEXT', function (style) { return style.nextBtnType || 'NONE'; }, function (style) { return style.nextBtnLocation || 'OUTSET1'; });
92
- var createPagination = createComponent('PAGINATION', function (style) { return style.type || 'NONE'; }, function (style) { return style.location || 'OUTSET1'; });
93
- var components = [
94
- createPrevButton(customNavigationNormalStyle, customNavigationHoverStyle, isHovered),
95
- createNextButton(customNavigationNormalStyle, customNavigationHoverStyle, isHovered),
96
- createPagination(customPaginationNormalStyle, customPaginationHoverStyle, isHovered),
97
- { type: 'PROGRESSBAR', position: 'INSET5' }
98
- ].filter(function (component) { return component !== undefined; });
99
- var _k = (0, useFlexGridLayout_1.useFlexGridLayout)({ components: components }), layoutRef = _k.layoutRef, positionRefs = _k.positionRefs, ccbInset = _k.ccbInset, componentGroups = _k.componentGroups, getPositionStyle = _k.getPositionStyle, getComponentGroupLayout = _k.getComponentGroupLayout;
100
- var renderElements = function (component) {
101
- var _a;
102
- switch (component.type) {
103
- case 'PREV':
104
- return ((0, jsx_runtime_1.jsx)(CustomNavigationPrevBtn_1.CustomNavigationPrevBtn, { isDisabled: loop ? false : isBeginning, styles: isHovered ? customNavigationHoverStyle : customNavigationNormalStyle, onClick: onClickPrevBtn }));
105
- case 'NEXT':
106
- return ((0, jsx_runtime_1.jsx)(CustomNavigationNextBtn_1.CustomNavigationNextBtn, { isDisabled: loop ? false : isEnd, styles: isHovered ? customNavigationHoverStyle : customNavigationNormalStyle, onClick: onClickNextBtn }));
107
- case 'PAGINATION':
108
- return ((0, jsx_runtime_1.jsx)(CustomPagination_1.CustomPagination, { styles: isHovered ? customPaginationHoverStyle : customPaginationNormalStyle, current: currentSlide, isPrevBtnDisabled: loop ? false : isBeginning, isNextBtnDisabled: loop ? false : isEnd, total: ((_a = swiperRef.current) === null || _a === void 0 ? void 0 : _a.swiper.slides.length) || 0, onBulletClick: onClickBullet, onPrevBtnClick: onClickPrevBtn, onNextBtnClick: onClickNextBtn }));
109
- case 'PROGRESSBAR':
110
- return ((0, jsx_runtime_1.jsx)(CustomProgressbar_1.CustomProgressbar, { progressRef: progressRef, leftTimeMsRef: leftTimeMsRef, styles: isHovered ? customProgressbarHoverStyle : customProgressbarNormalStyle }));
111
- default:
112
- return null;
113
- }
114
- };
115
- return ((0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_BoxWithShadow_1.S_CB_BoxWithShadow, __assign({ className: "cb-layout-box ccb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), editModeStyle), { overflow: 'hidden' }), hoverStyle: __assign(__assign({}, hoverStyle), { overflow: 'hidden' }), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); } }, { children: (0, jsx_runtime_1.jsxs)(S_SwiperLayout, __assign({ className: "cb-slidebanner-layout-box", ref: layoutRef }, { children: [(0, jsx_runtime_1.jsx)(S_SwiperWrapper, __assign({ className: "cb-slidebanner-wrapper", ccbInset: ccbInset, customStyle: isHovered ? slideBannerHoverStyle === null || slideBannerHoverStyle === void 0 ? void 0 : slideBannerHoverStyle.customStyle : slideBannerNormalStyle === null || slideBannerNormalStyle === void 0 ? void 0 : slideBannerNormalStyle.customStyle }, { children: (0, jsx_runtime_1.jsx)(SlideBannerCore_1.default, __assign({ ref: swiperRef, className: "cb-slidebanner", onSwiper: onSwiper, onSlideChangeTransitionEnd: onSlideChangeTransitionEnd, onAutoplayTimeLeft: onAutoplayTimeLeft, slidesPerView: 1, styles: isHovered ? slideBannerHoverStyle : slideBannerNormalStyle }, { children: (0, createCompositions_1.createCompositions)({
116
- valueType: CB_CONTENT_PROP_SLIDEBANNER_SPEC_VALUETYPE,
117
- queryPath: CB_CONTENT_PROP_SLIDEBANNER_SPEC_CONNECTDATA,
118
- limit: CB_CONTENT_PROP_SLIDEBANNER_SPEC_ITEMCOUNTS,
119
- queryData: queryData,
120
- compositions: compositions
121
- }) })) })), Object.entries(componentGroups).map(function (_a) {
122
- var position = _a[0], groupComponents = _a[1];
123
- return ((0, jsx_runtime_1.jsx)("div", __assign({ className: "cb-slidebanner-button-group", ref: function (el) {
124
- if (el) {
125
- positionRefs.current[position] = el;
126
- }
127
- else {
128
- delete positionRefs.current[position];
129
- }
130
- }, style: __assign(__assign({}, getPositionStyle(position, ccbInset)), { zIndex: 3 }) }, { children: (0, jsx_runtime_1.jsx)("div", __assign({ className: "cb-slidebanner-button-layout-box", style: getComponentGroupLayout(groupComponents, position) }, { children: groupComponents.map(function (component) { return renderElements(component); }) })) }), position));
131
- })] })) })) })));
132
- }
133
- var S_SwiperLayout = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n margin: 0 auto;\n position: relative;\n width: 100%;\n"], ["\n height: 100%;\n margin: 0 auto;\n position: relative;\n width: 100%;\n"])));
134
- var S_SwiperWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n bottom: ", ";\n left: ", ";\n position: absolute;\n right: ", ";\n top: ", ";\n ", ";\n"], ["\n bottom: ", ";\n left: ", ";\n position: absolute;\n right: ", ";\n top: ", ";\n ", ";\n"])), function (_a) {
135
- var ccbInset = _a.ccbInset;
136
- return ccbInset.bottom;
137
- }, function (_a) {
138
- var ccbInset = _a.ccbInset;
139
- return ccbInset.left;
140
- }, function (_a) {
141
- var ccbInset = _a.ccbInset;
142
- return ccbInset.right;
143
- }, function (_a) {
144
- var ccbInset = _a.ccbInset;
145
- return ccbInset.top;
146
- }, function (_a) {
147
- var customStyle = _a.customStyle;
148
- return customStyle;
149
- });
150
- exports.default = SlideBanner;
151
- var templateObject_1, templateObject_2;
@@ -1,12 +0,0 @@
1
- /// <reference types="react" />
2
- import 'swiper/modules/navigation/navigation.min.css';
3
- import 'swiper/swiper-bundle.css';
4
- import type { CoreSlideBannerProps } from './types';
5
- import type { SwiperProps, SwiperRef } from 'swiper/react/swiper-react.js';
6
- export interface SlideBannerCoreProps extends SwiperProps {
7
- styles: CoreSlideBannerProps;
8
- slidesPerView?: SwiperProps['slidesPerView'];
9
- children?: React.ReactNode[] | JSX.Element;
10
- }
11
- declare const SlideBannerCore: import("react").ForwardRefExoticComponent<SlideBannerCoreProps & import("react").RefAttributes<SwiperRef>>;
12
- export default SlideBannerCore;
@@ -1,39 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __rest = (this && this.__rest) || function (s, e) {
14
- var t = {};
15
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
- t[p] = s[p];
17
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
- t[p[i]] = s[p[i]];
21
- }
22
- return t;
23
- };
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- var jsx_runtime_1 = require("react/jsx-runtime");
26
- var react_1 = require("react");
27
- var swiper_1 = require("swiper");
28
- require("swiper/modules/navigation/navigation.min.css");
29
- var react_2 = require("swiper/react");
30
- require("swiper/swiper-bundle.css");
31
- var SlideBannerCore = (0, react_1.forwardRef)(function (_a, ref) {
32
- var styles = _a.styles, slidesPerView = _a.slidesPerView, children = _a.children, props = __rest(_a, ["styles", "slidesPerView", "children"]);
33
- return ((0, jsx_runtime_1.jsx)(react_2.Swiper, __assign({ ref: ref, style: {
34
- width: '100%',
35
- height: '100%'
36
- }, modules: [swiper_1.Pagination, swiper_1.Navigation, swiper_1.Scrollbar, swiper_1.FreeMode, swiper_1.Autoplay], slidesPerView: slidesPerView, scrollbar: styles.scrollbar, freeMode: styles.freeMode, autoplay: styles.useAutoplay ? styles.autoplay : false, loop: styles.loop }, props, { children: Array.isArray(children) ? (children.map(function (slide, index) { return (0, jsx_runtime_1.jsx)(react_2.SwiperSlide, { children: slide }, index); })) : ((0, jsx_runtime_1.jsx)(react_2.SwiperSlide, { children: children })) })));
37
- });
38
- SlideBannerCore.displayName = 'SlideBannerCore';
39
- exports.default = SlideBannerCore;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CustomNavigationProps } from '../types';
3
- export interface CustomNavigationNextBtnProps {
4
- isDisabled: boolean;
5
- styles: CustomNavigationProps;
6
- onClick?: () => void;
7
- }
8
- export declare const CustomNavigationNextBtn: ({ isDisabled, styles, onClick }: CustomNavigationNextBtnProps) => JSX.Element;
9
- export interface FlexBoxProps {
10
- direction?: 'row' | 'column';
11
- justifyContent?: string;
12
- alignItems?: string;
13
- gap?: string;
14
- }
15
- export default CustomNavigationNextBtn;
@@ -1,69 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
- if (k2 === undefined) k2 = k;
19
- var desc = Object.getOwnPropertyDescriptor(m, k);
20
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
- desc = { enumerable: true, get: function() { return m[k]; } };
22
- }
23
- Object.defineProperty(o, k2, desc);
24
- }) : (function(o, m, k, k2) {
25
- if (k2 === undefined) k2 = k;
26
- o[k2] = m[k];
27
- }));
28
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
- Object.defineProperty(o, "default", { enumerable: true, value: v });
30
- }) : function(o, v) {
31
- o["default"] = v;
32
- });
33
- var __importStar = (this && this.__importStar) || function (mod) {
34
- if (mod && mod.__esModule) return mod;
35
- var result = {};
36
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
- __setModuleDefault(result, mod);
38
- return result;
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.CustomNavigationNextBtn = void 0;
42
- var jsx_runtime_1 = require("react/jsx-runtime");
43
- var IconButton_1 = require("../../../../../../../../DynamicLayout/components/pdsOriginal/desktop/IconButton");
44
- var styled_components_1 = __importStar(require("styled-components"));
45
- var navigationConfigs_1 = require("./navigationConfigs");
46
- var CustomNavigationNextBtn = function (_a) {
47
- var isDisabled = _a.isDisabled, styles = _a.styles, onClick = _a.onClick;
48
- var nextButton = styles.nextBtnType === 'NONE'
49
- ? undefined
50
- : navigationConfigs_1.nextButtonMappedIcons[styles.nextBtnType || 'DESIGN1'];
51
- var buttonSize = 'large';
52
- var iconSize = 24;
53
- if (styles.nextBtnSize === 'SMALL') {
54
- buttonSize = 'small';
55
- iconSize = 16;
56
- }
57
- if (styles.nextBtnSize === 'LARGE') {
58
- buttonSize = 'xxlarge';
59
- iconSize = 48;
60
- }
61
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: nextButton && ((0, jsx_runtime_1.jsx)(S_NextButton, __assign({ className: "cb-slidebanner-next-button", disabled: isDisabled, "$size": styles.nextBtnSize }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: buttonSize, iconSize: iconSize, shapeType: nextButton.shapeType, borderColorKey: nextButton.borderColorKey, overrideBaseColorHex: styles.nextBtnPrimaryColor, iconName: nextButton.iconName, iconFillType: "line", iconColorKey: nextButton.iconColorKey || 'ui_cpnt_icon_sys_black', overrideIconColorHex: styles.nextBtnSecondaryColor, shadow: nextButton.shadow, onClick: onClick }) }))) }));
62
- };
63
- exports.CustomNavigationNextBtn = CustomNavigationNextBtn;
64
- var S_NextButton = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n\n ", ";\n"], ["\n cursor: pointer;\n\n ", ";\n"])), function (_a) {
65
- var disabled = _a.disabled;
66
- return disabled && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n "], ["\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n "])));
67
- });
68
- exports.default = exports.CustomNavigationNextBtn;
69
- var templateObject_1, templateObject_2;
@@ -1,15 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CustomNavigationProps } from '../types';
3
- export interface CustomNavigationPrevBtnProps {
4
- isDisabled: boolean;
5
- styles: CustomNavigationProps;
6
- onClick?: () => void;
7
- }
8
- export declare const CustomNavigationPrevBtn: ({ isDisabled, styles, onClick }: CustomNavigationPrevBtnProps) => JSX.Element;
9
- export interface FlexBoxProps {
10
- direction?: 'row' | 'column';
11
- justifyContent?: string;
12
- alignItems?: string;
13
- gap?: string;
14
- }
15
- export default CustomNavigationPrevBtn;
@@ -1,69 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
- if (k2 === undefined) k2 = k;
19
- var desc = Object.getOwnPropertyDescriptor(m, k);
20
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
- desc = { enumerable: true, get: function() { return m[k]; } };
22
- }
23
- Object.defineProperty(o, k2, desc);
24
- }) : (function(o, m, k, k2) {
25
- if (k2 === undefined) k2 = k;
26
- o[k2] = m[k];
27
- }));
28
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
- Object.defineProperty(o, "default", { enumerable: true, value: v });
30
- }) : function(o, v) {
31
- o["default"] = v;
32
- });
33
- var __importStar = (this && this.__importStar) || function (mod) {
34
- if (mod && mod.__esModule) return mod;
35
- var result = {};
36
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
- __setModuleDefault(result, mod);
38
- return result;
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.CustomNavigationPrevBtn = void 0;
42
- var jsx_runtime_1 = require("react/jsx-runtime");
43
- var IconButton_1 = require("../../../../../../../../DynamicLayout/components/pdsOriginal/desktop/IconButton");
44
- var styled_components_1 = __importStar(require("styled-components"));
45
- var navigationConfigs_1 = require("./navigationConfigs");
46
- var CustomNavigationPrevBtn = function (_a) {
47
- var isDisabled = _a.isDisabled, styles = _a.styles, onClick = _a.onClick;
48
- var prevButton = styles.prevBtnType === 'NONE'
49
- ? undefined
50
- : navigationConfigs_1.prevButtonMappedIcons[styles.prevBtnType || 'DESIGN1'];
51
- var buttonSize = 'large';
52
- var iconSize = 24;
53
- if (styles.prevBtnSize === 'SMALL') {
54
- buttonSize = 'small';
55
- iconSize = 16;
56
- }
57
- if (styles.prevBtnSize === 'LARGE') {
58
- buttonSize = 'xxlarge';
59
- iconSize = 48;
60
- }
61
- return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: prevButton && ((0, jsx_runtime_1.jsx)(S_PrevButton, __assign({ className: "cb-slidebanner-prev-button", disabled: isDisabled, "$size": styles.prevBtnSize }, { children: (0, jsx_runtime_1.jsx)(IconButton_1.IconButton, { fillType: "fill", baseSize: buttonSize, iconSize: iconSize, shapeType: prevButton.shapeType, borderColorKey: prevButton.borderColorKey, overrideBaseColorHex: styles.prevBtnPrimaryColor, iconName: prevButton.iconName, iconFillType: "line", iconColorKey: prevButton.iconColorKey || 'ui_cpnt_icon_sys_black', overrideIconColorHex: styles.prevBtnSecondaryColor, shadow: prevButton.shadow, onClick: onClick }) }))) }));
62
- };
63
- exports.CustomNavigationPrevBtn = CustomNavigationPrevBtn;
64
- var S_PrevButton = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n cursor: pointer;\n\n ", ";\n"], ["\n cursor: pointer;\n\n ", ";\n"])), function (_a) {
65
- var disabled = _a.disabled;
66
- return disabled && (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n "], ["\n cursor: auto;\n opacity: 0.35;\n pointer-events: none;\n "])));
67
- });
68
- exports.default = exports.CustomNavigationPrevBtn;
69
- var templateObject_1, templateObject_2;
@@ -1,20 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CustomPaginationProps } from '../types';
3
- interface Props {
4
- current: number;
5
- total: number;
6
- isPrevBtnDisabled: boolean;
7
- isNextBtnDisabled: boolean;
8
- styles: CustomPaginationProps;
9
- onBulletClick: (index: number) => void;
10
- onPrevBtnClick: () => void;
11
- onNextBtnClick: () => void;
12
- }
13
- export declare const CustomPagination: ({ current, total, isNextBtnDisabled, isPrevBtnDisabled, styles, onBulletClick, onNextBtnClick, onPrevBtnClick }: Props) => JSX.Element;
14
- export interface FlexBoxProps {
15
- direction?: 'row' | 'column';
16
- justifyContent?: string;
17
- alignItems?: string;
18
- gap?: string;
19
- }
20
- export default CustomPagination;
@@ -1,173 +0,0 @@
1
- "use strict";
2
- var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {
3
- if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }
4
- return cooked;
5
- };
6
- var __assign = (this && this.__assign) || function () {
7
- __assign = Object.assign || function(t) {
8
- for (var s, i = 1, n = arguments.length; i < n; i++) {
9
- s = arguments[i];
10
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
11
- t[p] = s[p];
12
- }
13
- return t;
14
- };
15
- return __assign.apply(this, arguments);
16
- };
17
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
18
- if (k2 === undefined) k2 = k;
19
- var desc = Object.getOwnPropertyDescriptor(m, k);
20
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
21
- desc = { enumerable: true, get: function() { return m[k]; } };
22
- }
23
- Object.defineProperty(o, k2, desc);
24
- }) : (function(o, m, k, k2) {
25
- if (k2 === undefined) k2 = k;
26
- o[k2] = m[k];
27
- }));
28
- var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
29
- Object.defineProperty(o, "default", { enumerable: true, value: v });
30
- }) : function(o, v) {
31
- o["default"] = v;
32
- });
33
- var __importStar = (this && this.__importStar) || function (mod) {
34
- if (mod && mod.__esModule) return mod;
35
- var result = {};
36
- if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
37
- __setModuleDefault(result, mod);
38
- return result;
39
- };
40
- Object.defineProperty(exports, "__esModule", { value: true });
41
- exports.CustomPagination = void 0;
42
- var jsx_runtime_1 = require("react/jsx-runtime");
43
- var components_1 = require("../../../../../../../../DynamicLayout/components");
44
- var styled_components_1 = __importStar(require("styled-components"));
45
- var CustomPagination = function (_a) {
46
- var _b = _a.current, current = _b === void 0 ? 1 : _b, _c = _a.total, total = _c === void 0 ? 1 : _c, isNextBtnDisabled = _a.isNextBtnDisabled, isPrevBtnDisabled = _a.isPrevBtnDisabled, styles = _a.styles, onBulletClick = _a.onBulletClick, onNextBtnClick = _a.onNextBtnClick, onPrevBtnClick = _a.onPrevBtnClick;
47
- var bullets = Array.from({ length: total }, function (_, i) { return i; });
48
- return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current) }, { children: (function () {
49
- switch (styles.type) {
50
- case 'NONE':
51
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
52
- case 'DESIGN1':
53
- return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "4px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: "/ ".concat(total) }))] })));
54
- case 'DESIGN2':
55
- return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "4px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular" }, { children: "/ ".concat(total) }))] })));
56
- case 'DESIGN3':
57
- return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL", color: "WHITE" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: total }))] })));
58
- case 'DESIGN4':
59
- return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL", color: "WHITE" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular" }, { children: total }))] })));
60
- case 'DESIGN5':
61
- return ((0, jsx_runtime_1.jsxs)(FlexBox, { children: [(0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onPrevBtnClick, disabled: isPrevBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }) })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginLeft: '8px', marginRight: '4px' }, styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginRight: '8px', marginLeft: '4px', opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: "/ ".concat(total) })), (0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onNextBtnClick, disabled: isNextBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }) }))] }));
62
- case 'DESIGN6':
63
- return ((0, jsx_runtime_1.jsxs)(FlexBox, { children: [(0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onPrevBtnClick, disabled: isPrevBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16 }) })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginLeft: '8px', marginRight: '4px' }, styleTheme: "body2Bold", colorTheme: "sysTextWhite" }, { children: current })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { marginRight: '8px', marginLeft: '4px', opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextWhite" }, { children: "/ ".concat(total) })), (0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onNextBtnClick, disabled: isNextBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 }) }))] }));
64
- case 'DESIGN7':
65
- return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onPrevBtnClick, disabled: isPrevBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }) })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: total })), (0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onNextBtnClick, disabled: isNextBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }) }))] })));
66
- case 'DESIGN8':
67
- return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onPrevBtnClick, disabled: isPrevBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_left", size: 16 }) })), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ styleTheme: "body2Bold", colorTheme: "sysTextWhite" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "VERTICAL", color: "WHITE" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextWhite" }, { children: total })), (0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onNextBtnClick, disabled: isNextBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 }) }))] })));
68
- case 'DESIGN9':
69
- return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ direction: "column", gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { paddingLeft: '8px', paddingRight: '8px' }, styleTheme: "body2Bold", colorTheme: "sysTextBlack" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "HORIZONTAL" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextBlack" }, { children: total }))] })));
70
- case 'DESIGN10':
71
- return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ direction: "column", gap: "8px" }, { children: [(0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { paddingLeft: '8px', paddingRight: '8px' }, styleTheme: "body2Bold", colorTheme: "sysTextWhite" }, { children: current })), (0, jsx_runtime_1.jsx)(S_Divider, { type: "HORIZONTAL", color: "DARK" }), (0, jsx_runtime_1.jsx)(S_TextLabel, __assign({ style: { opacity: 0.6 }, styleTheme: "body2Regular", colorTheme: "sysTextWhite" }, { children: total }))] })));
72
- case 'DESIGN11':
73
- return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "DARK", isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
74
- case 'DESIGN12':
75
- return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: index + 1 === current ? styles.primaryColor : styles.secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
76
- case 'DESIGN13':
77
- return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: index + 1 === current ? styles.primaryColor : styles.secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
78
- case 'DESIGN14':
79
- return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ direction: "column", gap: "12px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: index + 1 === current ? styles.primaryColor : styles.secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
80
- case 'DESIGN15':
81
- return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: index + 1 === current ? styles.primaryColor : styles.secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
82
- case 'DESIGN16':
83
- return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: index + 1 === current ? styles.primaryColor : styles.secondaryColor, isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
84
- default:
85
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
86
- }
87
- })() })));
88
- };
89
- exports.CustomPagination = CustomPagination;
90
- var FlexBox = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n align-items: ", ";\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n justify-content: ", ";\n"], ["\n align-items: ", ";\n display: flex;\n flex-direction: ", ";\n gap: ", ";\n justify-content: ", ";\n"])), function (_a) {
91
- var _b = _a.alignItems, alignItems = _b === void 0 ? 'center' : _b;
92
- return alignItems;
93
- }, function (_a) {
94
- var _b = _a.direction, direction = _b === void 0 ? 'row' : _b;
95
- return direction;
96
- }, function (_a) {
97
- var _b = _a.gap, gap = _b === void 0 ? '0' : _b;
98
- return gap;
99
- }, function (_a) {
100
- var _b = _a.justifyContent, justifyContent = _b === void 0 ? 'center' : _b;
101
- return justifyContent;
102
- });
103
- var S_Pagination = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n max-width: 120px;\n padding: 5px;\n"], ["\n max-width: 120px;\n padding: 5px;\n"])));
104
- var body2Bold = (0, styled_components_1.css)(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), function (_a) {
105
- var theme = _a.theme;
106
- return theme.desktopFontSize.body2;
107
- }, function (_a) {
108
- var theme = _a.theme;
109
- return theme.fontWeight.bold;
110
- }, function (_a) {
111
- var theme = _a.theme;
112
- return theme.desktopLineHeight.body2;
113
- });
114
- var body2Regular = (0, styled_components_1.css)(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), function (_a) {
115
- var theme = _a.theme;
116
- return theme.desktopFontSize.body2;
117
- }, function (_a) {
118
- var theme = _a.theme;
119
- return theme.fontWeight.normal;
120
- }, function (_a) {
121
- var theme = _a.theme;
122
- return theme.desktopLineHeight.body2;
123
- });
124
- var sysTextWhite = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
125
- var theme = _a.theme;
126
- return theme.ui_cpnt_textlabel_sys_white;
127
- });
128
- var sysTextBlack = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
129
- var theme = _a.theme;
130
- return theme.ui_cpnt_textlabel_sys_black;
131
- });
132
- var S_TextLabel = styled_components_1.default.div(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n ", ";\n\n ", ";\n"], ["\n ", ";\n\n ", ";\n"])), function (_a) {
133
- var styleTheme = _a.styleTheme;
134
- return styleTheme &&
135
- {
136
- body2Bold: body2Bold,
137
- body2Regular: body2Regular
138
- }[styleTheme];
139
- }, function (_a) {
140
- var colorTheme = _a.colorTheme;
141
- return colorTheme
142
- ? {
143
- sysTextWhite: sysTextWhite,
144
- sysTextBlack: sysTextBlack
145
- }[colorTheme]
146
- : sysTextWhite;
147
- });
148
- var verticalDivider = (0, styled_components_1.css)(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n height: 16px;\n width: 1px;\n"], ["\n height: 16px;\n width: 1px;\n"])));
149
- var horizontalDivider = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n height: 1px;\n width: 100%;\n"], ["\n height: 1px;\n width: 100%;\n"])));
150
- var S_Divider = styled_components_1.default.div(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n background-color: ", ";\n opacity: 0.6;\n ", ";\n"], ["\n background-color: ", ";\n opacity: 0.6;\n ", ";\n"])), function (_a) {
151
- var color = _a.color;
152
- return (color === 'WHITE' ? '#ffffff' : '#000000');
153
- }, function (_a) {
154
- var type = _a.type;
155
- return (type === 'VERTICAL' ? verticalDivider : horizontalDivider);
156
- });
157
- var S_Dot = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n"], ["\n background-color: ", ";\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n"])), function (_a) {
158
- var color = _a.color;
159
- return color;
160
- });
161
- var S_Bar = styled_components_1.default.div(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: ", ";\n cursor: pointer;\n height: 2px;\n width: 40px;\n"], ["\n background-color: ", ";\n cursor: pointer;\n height: 2px;\n width: 40px;\n"])), function (_a) {
162
- var color = _a.color;
163
- return color;
164
- });
165
- var S_Pointer = styled_components_1.default.div(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n cursor: ", ";\n height: 16px;\n opacity: ", ";\n"], ["\n cursor: ", ";\n height: 16px;\n opacity: ", ";\n"])), function (_a) {
166
- var disabled = _a.disabled;
167
- return (disabled ? 'not-allowed' : 'pointer');
168
- }, function (_a) {
169
- var disabled = _a.disabled;
170
- return (disabled ? 0.4 : 1);
171
- });
172
- exports.default = exports.CustomPagination;
173
- 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;
@@ -1,9 +0,0 @@
1
- /// <reference types="react" />
2
- import type { CustomProgressbarProps } from '../types';
3
- type Props = {
4
- styles: CustomProgressbarProps;
5
- progressRef: React.RefObject<number>;
6
- leftTimeMsRef: React.RefObject<number>;
7
- };
8
- export declare const CustomProgressbar: ({ styles, progressRef, leftTimeMsRef }: Props) => JSX.Element;
9
- export default CustomProgressbar;