pds-dev-kit-web-test 2.5.418 → 2.5.420

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 (401) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +2 -3
  3. package/dist/src/common/assets/icons/fill/Video.js +1 -1
  4. package/dist/src/common/assets/icons/fill/VideoOff.js +1 -1
  5. package/dist/src/common/assets/icons/fill/VideoType.js +1 -1
  6. package/dist/src/common/assets/icons/fill/index.d.ts +0 -3
  7. package/dist/src/common/assets/icons/fill/index.js +1 -7
  8. package/dist/src/common/assets/icons/line/Video.js +1 -1
  9. package/dist/src/common/assets/icons/line/VideoOff.js +1 -1
  10. package/dist/src/common/assets/icons/line/VideoType.js +1 -1
  11. package/dist/src/common/assets/icons/line/index.d.ts +0 -12
  12. package/dist/src/common/assets/icons/line/index.js +1 -25
  13. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +1 -2
  14. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +4 -48
  15. package/dist/src/common/hooks/useAbsolutePositioner.js +2 -2
  16. package/dist/src/common/hooks/useTooltip.d.ts +2 -2
  17. package/dist/src/common/hooks/useTooltip.js +2 -2
  18. package/dist/src/common/services/i18n/resources/en.json +1 -9
  19. package/dist/src/common/services/i18n/resources/es.json +1 -9
  20. package/dist/src/common/services/i18n/resources/fil.json +1 -9
  21. package/dist/src/common/services/i18n/resources/index.d.ts +0 -56
  22. package/dist/src/common/services/i18n/resources/ja.json +1 -9
  23. package/dist/src/common/services/i18n/resources/ko.json +1 -9
  24. package/dist/src/common/services/i18n/resources/zh-cn.json +1 -9
  25. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -9
  26. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -9
  27. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -9
  28. package/dist/src/common/styles/colorSet/UIColor.json +1 -14
  29. package/dist/src/common/styles/colorSet/index.d.ts +2 -31
  30. package/dist/src/common/styles/colorSet/index.js +2 -2
  31. package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -13
  32. package/dist/src/common/utils/SystemUIPositionGenerator/clickTypeSystemUICssGenerator.d.ts +1 -1
  33. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.d.ts +1 -1
  34. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +2 -2
  35. package/dist/src/desktop/components/AdminList/BulkActionBar.d.ts +1 -1
  36. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -1
  37. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -1
  38. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +13 -27
  39. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
  40. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +3 -3
  41. package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +1 -4
  42. package/dist/src/desktop/components/BasicListItem/BasicListItem.js +4 -26
  43. package/dist/src/desktop/components/BasicListItem/Contents.d.ts +2 -4
  44. package/dist/src/desktop/components/BasicListItem/Contents.js +3 -3
  45. package/dist/src/desktop/components/BasicListItem/LeftBox/Badge.js +1 -1
  46. package/dist/src/desktop/components/BasicListItem/LeftBox/Checkbox.js +1 -1
  47. package/dist/src/desktop/components/BasicListItem/LeftBox/Icon.js +1 -1
  48. package/dist/src/desktop/components/BasicListItem/LeftBox/Image.js +1 -1
  49. package/dist/src/desktop/components/BasicListItem/LeftBox/Radio.js +1 -1
  50. package/dist/src/desktop/components/BasicListItem/RightBox/Description.d.ts +1 -1
  51. package/dist/src/desktop/components/BasicListItem/RightBox/Description.js +1 -1
  52. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  53. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
  54. package/dist/src/desktop/components/BasicListItem/RightBox/Switch.js +1 -1
  55. package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +1 -3
  56. package/dist/src/desktop/components/Checkbox/Checkbox.js +3 -17
  57. package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
  58. package/dist/src/desktop/components/Chip/Chip.js +5 -50
  59. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
  60. package/dist/src/desktop/components/ContextMenuItem/ContextMenuItem.js +1 -1
  61. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +2 -2
  62. package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -1
  63. package/dist/src/desktop/components/Dropdown/Dropdown.js +1 -1
  64. package/dist/src/desktop/components/IconButton/IconButton.d.ts +1 -1
  65. package/dist/src/desktop/components/IconButton/IconButton.js +2 -2
  66. package/dist/src/desktop/components/Radio/Radio.js +2 -2
  67. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
  68. package/dist/src/desktop/components/SegmentedButtonGroup/SegmentedButtonGroup.js +3 -3
  69. package/dist/src/desktop/components/Select/Select.js +1 -1
  70. package/dist/src/desktop/components/Slider/Slider.d.ts +1 -1
  71. package/dist/src/desktop/components/Slider/Slider.js +1 -1
  72. package/dist/src/desktop/components/TextField/TextField.js +16 -42
  73. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +1 -1
  74. package/dist/src/desktop/components/TextLabel/TextLabel.js +2 -2
  75. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.d.ts +1 -1
  76. package/dist/src/desktop/components/UploadIconButton/UploadIconButton.js +2 -2
  77. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
  78. package/dist/src/hybrid/components/Switch/Switch.d.ts +1 -1
  79. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +2 -2
  80. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.d.ts +1 -1
  81. package/dist/src/mobile/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  82. package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +1 -4
  83. package/dist/src/mobile/components/BasicListItem/BasicListItem.js +4 -26
  84. package/dist/src/mobile/components/BasicListItem/Contents.d.ts +2 -4
  85. package/dist/src/mobile/components/BasicListItem/Contents.js +3 -3
  86. package/dist/src/mobile/components/BasicListItem/LeftBox/Badge.js +1 -1
  87. package/dist/src/mobile/components/BasicListItem/LeftBox/Checkbox.js +1 -1
  88. package/dist/src/mobile/components/BasicListItem/LeftBox/Icon.js +1 -1
  89. package/dist/src/mobile/components/BasicListItem/LeftBox/Image.js +1 -1
  90. package/dist/src/mobile/components/BasicListItem/LeftBox/Radio.js +1 -1
  91. package/dist/src/mobile/components/BasicListItem/RightBox/Description.d.ts +1 -1
  92. package/dist/src/mobile/components/BasicListItem/RightBox/Description.js +1 -1
  93. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +0 -1
  94. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
  95. package/dist/src/mobile/components/BasicListItem/RightBox/Switch.js +1 -1
  96. package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +1 -3
  97. package/dist/src/mobile/components/Checkbox/Checkbox.js +3 -17
  98. package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
  99. package/dist/src/mobile/components/Chip/Chip.js +5 -50
  100. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.d.ts +1 -1
  101. package/dist/src/mobile/components/ContextMenuItem/ContextMenuItem.js +1 -1
  102. package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +1 -1
  103. package/dist/src/mobile/components/Dropdown/Dropdown.js +1 -1
  104. package/dist/src/mobile/components/MobileHeaderBar/utils.d.ts +1 -1
  105. package/dist/src/mobile/components/Radio/Radio.js +2 -2
  106. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.d.ts +1 -1
  107. package/dist/src/mobile/components/SegmentedButtonGroup/SegmentedButtonGroup.js +1 -1
  108. package/dist/src/mobile/components/Select/Select.js +1 -1
  109. package/dist/src/mobile/components/Slider/Slider.d.ts +1 -1
  110. package/dist/src/mobile/components/Slider/Slider.js +1 -1
  111. package/dist/src/mobile/components/TextField/TextField.js +16 -42
  112. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +1 -6
  113. package/dist/src/mobile/components/TextLabel/TextLabel.js +3 -83
  114. package/dist/src/mobile/components/index.d.ts +1 -2
  115. package/dist/src/mobile/components/index.js +1 -3
  116. package/dist/src/mobile/index.d.ts +1 -1
  117. package/dist/src/mobile/index.js +2 -3
  118. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
  119. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
  120. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
  121. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
  122. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
  123. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
  124. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
  125. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
  126. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
  127. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
  128. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
  129. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
  130. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
  131. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
  132. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
  133. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
  134. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
  135. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
  136. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
  137. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
  138. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
  139. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +1 -1
  140. package/dist/src/sub/AdminList/AdminList/AdminList.js +2 -2
  141. package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -1
  142. package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
  143. package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.d.ts +1 -1
  144. package/dist/src/sub/AdminList/AdminListHeader/AdminListHeader.js +2 -2
  145. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.d.ts +1 -1
  146. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
  147. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +1 -1
  148. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +6 -6
  149. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.d.ts +1 -1
  150. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +2 -2
  151. package/dist/src/sub/AdminList/ToolBar/ChipList.d.ts +1 -1
  152. package/dist/src/sub/AdminList/ToolBar/ChipList.js +1 -1
  153. package/dist/src/sub/AdminList/ToolBar/SearchField.js +4 -4
  154. package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +1 -1
  155. package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
  156. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +1 -2
  157. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +7 -8
  158. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +1 -1
  159. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +4 -4
  160. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +4 -5
  161. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +12 -38
  162. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/EditModeSectionMatcher.js +1 -1
  163. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +1 -4
  164. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackground.js +2 -2
  165. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.d.ts +2 -2
  166. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -13
  167. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.d.ts +2 -2
  168. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +2 -4
  169. package/dist/src/sub/DynamicLayout/components/SectionMatcher/SectionMatcher.js +1 -1
  170. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
  171. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
  172. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
  173. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
  174. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
  175. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
  176. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
  177. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
  178. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +4 -4
  179. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +1 -1
  180. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +1 -1
  181. package/dist/src/sub/DynamicLayout/mock_composition.js +43 -852
  182. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +2 -1
  183. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +274 -1047
  184. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +2 -1
  185. package/dist/src/sub/DynamicLayout/mock_contentsList.js +222 -1009
  186. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +2 -810
  187. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +267 -771
  188. package/dist/src/sub/DynamicLayout/mocks.d.ts +776 -2
  189. package/dist/src/sub/DynamicLayout/mocks.js +11 -4266
  190. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  191. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  192. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
  193. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +15 -11
  194. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +0 -3
  195. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.d.ts +1 -1
  196. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +11 -32
  197. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +2 -2
  198. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +57 -140
  199. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +1 -21
  200. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +56 -5
  201. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +4 -8
  202. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +21 -27
  203. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +23 -46
  204. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +11 -1
  205. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +319 -69
  206. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +24 -9
  207. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +2 -2
  208. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +96 -47
  209. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +3 -3
  210. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +132 -59
  211. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +1 -1
  212. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +35 -32
  213. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +2 -2
  214. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Divider/Divider.js +1 -1
  215. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/Embed.js +1 -1
  216. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +1 -1
  217. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/types.d.ts +1 -1
  218. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +7 -15
  219. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/types.d.ts +1 -1
  220. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.d.ts +1 -1
  221. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/RichText.js +5 -5
  222. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/RichText/types.d.ts +1 -1
  223. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +2 -2
  224. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +28 -77
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +56 -5
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +2 -7
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +21 -27
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +23 -46
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +1 -1
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +67 -64
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +7 -7
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +6 -12
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/Twitter.js +2 -2
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Twitter/types.d.ts +1 -1
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.d.ts +1 -1
  236. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/Youtube.js +4 -4
  237. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/parseYoutubeContentProp.d.ts +1 -1
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Youtube/types.d.ts +1 -1
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.d.ts +1 -1
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/components/S_CB_BoxWithShadow.js +1 -1
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/hooks/useCLINK.js +1 -1
  242. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +8 -17
  243. package/dist/src/sub/DynamicLayout/sections/CustomSection/hooks/useGoogleFonts/useGoogleFonts.js +1 -1
  244. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  245. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +5 -12
  246. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +0 -1
  247. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +1 -1
  248. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +1 -1
  249. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
  250. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
  251. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  252. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -16
  253. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  254. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +3 -3
  255. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/desktop/D_TemplateA.js +1 -1
  256. package/dist/src/sub/DynamicLayout/sections/FullscreenIframeSection/templates/TemplateA/mobile/M_TemplateA.js +1 -1
  257. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.d.ts +1 -1
  258. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/MembershipSection.js +1 -1
  259. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/TemplateA.js +2 -2
  260. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/D_TemplateA.d.ts +1 -1
  261. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +4 -4
  262. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.d.ts +1 -1
  263. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipBenefitInfo.js +2 -2
  264. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.d.ts +1 -1
  265. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +5 -5
  266. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.d.ts +1 -1
  267. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipSheet.js +4 -4
  268. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.d.ts +1 -1
  269. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/NarrowMembershipListView.js +3 -3
  270. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
  271. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
  272. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
  273. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.d.ts +1 -1
  274. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/WideMembershipListView.js +3 -3
  275. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/M_TemplateA.d.ts +1 -1
  276. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +4 -4
  277. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.d.ts +1 -1
  278. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipBenefitInfo.js +3 -3
  279. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipContents.d.ts +1 -1
  280. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.d.ts +1 -1
  281. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/MembershipSectionSheet.js +5 -5
  282. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
  283. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/TemplateB.js +2 -2
  284. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/D_TemplateB.d.ts +1 -1
  285. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +4 -4
  286. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.d.ts +1 -1
  287. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipBenefitInfo.js +2 -2
  288. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.d.ts +1 -1
  289. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipCard.js +2 -2
  290. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.d.ts +1 -1
  291. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +5 -5
  292. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.d.ts +1 -1
  293. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipSheet.js +6 -6
  294. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
  295. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.d.ts +1 -1
  296. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +4 -4
  297. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/M_TemplateB.d.ts +1 -1
  298. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +4 -4
  299. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.d.ts +1 -1
  300. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipBenefitInfo.js +3 -3
  301. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipContents.d.ts +1 -1
  302. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.d.ts +1 -1
  303. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/MembershipSectionSheet.js +5 -5
  304. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
  305. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.d.ts +1 -1
  306. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/MembershipSection.js +1 -1
  307. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/TemplateA.js +1 -1
  308. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/D_TemplateA.js +1 -1
  309. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/desktop/components/SectionContents.js +2 -2
  310. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/M_TemplateA.js +1 -1
  311. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateA/mobile/components/SectionContents.js +2 -2
  312. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/TemplateB.js +1 -1
  313. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/D_TemplateB.js +1 -1
  314. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/desktop/components/SectionContents.js +2 -2
  315. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/M_TemplateB.js +1 -1
  316. package/dist/src/sub/DynamicLayout/sections/MembershipSection/NormalType/templates/TemplateB/mobile/components/SectionContents.js +2 -2
  317. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.d.ts +3 -3
  318. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/desktop/MembershipSectionItem.js +2 -2
  319. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.d.ts +3 -3
  320. package/dist/src/sub/DynamicLayout/sections/MembershipSection/components/mobile/MembershipSectionItem.js +2 -2
  321. package/dist/src/sub/DynamicLayout/sections/MembershipSection/constants.d.ts +1 -1
  322. package/dist/src/sub/DynamicLayout/types.d.ts +1 -10
  323. package/dist/src/sub/SandollFontKit/types.d.ts +1 -1
  324. package/package.json +3 -2
  325. package/release-note.md +3 -3
  326. package/dist/src/common/assets/icons/fill/Cam.d.ts +0 -4
  327. package/dist/src/common/assets/icons/fill/Cam.js +0 -30
  328. package/dist/src/common/assets/icons/fill/CamOff.d.ts +0 -4
  329. package/dist/src/common/assets/icons/fill/CamOff.js +0 -30
  330. package/dist/src/common/assets/icons/fill/VideoStop.d.ts +0 -4
  331. package/dist/src/common/assets/icons/fill/VideoStop.js +0 -30
  332. package/dist/src/common/assets/icons/line/Cam.d.ts +0 -4
  333. package/dist/src/common/assets/icons/line/Cam.js +0 -30
  334. package/dist/src/common/assets/icons/line/CamOff.d.ts +0 -4
  335. package/dist/src/common/assets/icons/line/CamOff.js +0 -30
  336. package/dist/src/common/assets/icons/line/CheckBox.d.ts +0 -4
  337. package/dist/src/common/assets/icons/line/CheckBox.js +0 -30
  338. package/dist/src/common/assets/icons/line/Dropdown.d.ts +0 -4
  339. package/dist/src/common/assets/icons/line/Dropdown.js +0 -30
  340. package/dist/src/common/assets/icons/line/Radio.d.ts +0 -4
  341. package/dist/src/common/assets/icons/line/Radio.js +0 -30
  342. package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +0 -4
  343. package/dist/src/common/assets/icons/line/SectionQuestion32.js +0 -30
  344. package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +0 -4
  345. package/dist/src/common/assets/icons/line/SectionQuestion40.js +0 -30
  346. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +0 -4
  347. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +0 -30
  348. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +0 -4
  349. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +0 -30
  350. package/dist/src/common/assets/icons/line/TextLong.d.ts +0 -4
  351. package/dist/src/common/assets/icons/line/TextLong.js +0 -30
  352. package/dist/src/common/assets/icons/line/TextShort.d.ts +0 -4
  353. package/dist/src/common/assets/icons/line/TextShort.js +0 -30
  354. package/dist/src/common/assets/icons/line/VideoStop.d.ts +0 -4
  355. package/dist/src/common/assets/icons/line/VideoStop.js +0 -30
  356. package/dist/src/common/utils/dateHelper.d.ts +0 -13
  357. package/dist/src/common/utils/dateHelper.js +0 -87
  358. package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +0 -16
  359. package/dist/src/mobile/components/DatePicker/DatePicker.js +0 -156
  360. package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +0 -14
  361. package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +0 -27
  362. package/dist/src/mobile/components/DatePicker/Day.d.ts +0 -13
  363. package/dist/src/mobile/components/DatePicker/Day.js +0 -94
  364. package/dist/src/mobile/components/DatePicker/index.d.ts +0 -1
  365. package/dist/src/mobile/components/DatePicker/index.js +0 -8
  366. package/dist/src/mobile/components/DatePicker/utils.d.ts +0 -16
  367. package/dist/src/mobile/components/DatePicker/utils.js +0 -68
  368. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +0 -8
  369. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +0 -77
  370. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
  371. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
  372. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
  373. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
  374. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
  375. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
  376. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
  377. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
  378. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
  379. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
  380. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
  381. package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
  382. package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
  383. package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
  384. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -368
  385. package/dist/src/sub/DynamicLayout/mock_video_cb.js +0 -371
  386. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  387. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
  388. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -27
  389. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -96
  390. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -23
  391. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -176
  392. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  393. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
  394. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -27
  395. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -96
  396. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +0 -5
  397. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +0 -148
  398. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -4
  399. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +0 -25
  400. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +0 -1
  401. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +0 -8
@@ -14,14 +14,9 @@ export interface CustomPaginationProps {
14
14
  transformOrigin?: string;
15
15
  };
16
16
  size?: number;
17
+ onBulletClick?: (index: number) => void;
17
18
  }
18
- export declare const CustomPagination: ({ current, total, type, offset, size, prevBtnDisabled, nextBtnDisabled, onBulletClick, onPrevBtnClick, onNextBtnClick }: CustomPaginationProps & {
19
- prevBtnDisabled: boolean;
20
- nextBtnDisabled: boolean;
21
- onBulletClick: (index: number) => void;
22
- onPrevBtnClick: () => void;
23
- onNextBtnClick: () => void;
24
- }) => JSX.Element;
19
+ export declare const CustomPagination: ({ current, total, type, offset, size, onBulletClick }: CustomPaginationProps) => JSX.Element;
25
20
  export interface FlexBoxProps {
26
21
  direction?: 'row' | 'column';
27
22
  justifyContent?: string;
@@ -40,47 +40,48 @@ var __importStar = (this && this.__importStar) || function (mod) {
40
40
  Object.defineProperty(exports, "__esModule", { value: true });
41
41
  exports.CustomPagination = void 0;
42
42
  var jsx_runtime_1 = require("react/jsx-runtime");
43
- var components_1 = require("../../../../../../../../DynamicLayout/components");
43
+ var components_1 = require("@sub/DynamicLayout/components");
44
44
  var styled_components_1 = __importStar(require("styled-components"));
45
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, _d = _a.type, type = _d === void 0 ? 'NONE' : _d, _e = _a.offset, offset = _e === void 0 ? { top: '0' } : _e, _f = _a.size, size = _f === void 0 ? 1 : _f, prevBtnDisabled = _a.prevBtnDisabled, nextBtnDisabled = _a.nextBtnDisabled, onBulletClick = _a.onBulletClick, onPrevBtnClick = _a.onPrevBtnClick, onNextBtnClick = _a.onNextBtnClick;
46
+ var _b = _a.current, current = _b === void 0 ? 1 : _b, _c = _a.total, total = _c === void 0 ? 1 : _c, _d = _a.type, type = _d === void 0 ? 'NONE' : _d, _e = _a.offset, offset = _e === void 0 ? { top: '0' } : _e, _f = _a.size, size = _f === void 0 ? 1 : _f, onBulletClick = _a.onBulletClick;
47
47
  var bullets = Array.from({ length: total }, function (_, i) { return i; });
48
48
  return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current), "$offset": offset, "$size": size }, { children: (function () {
49
49
  switch (type) {
50
50
  case 'NONE':
51
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
52
51
  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) }))] })));
52
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
54
53
  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) }))] })));
54
+ 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) }))] })));
56
55
  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 }))] })));
56
+ 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) }))] })));
58
57
  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 }))] })));
58
+ 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 }))] })));
60
59
  case 'DESIGN5':
61
- return ((0, jsx_runtime_1.jsxs)(FlexBox, { children: [(0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onPrevBtnClick, disabled: prevBtnDisabled }, { 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: nextBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }) }))] }));
60
+ 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 }))] })));
62
61
  case 'DESIGN6':
63
- return ((0, jsx_runtime_1.jsxs)(FlexBox, { children: [(0, jsx_runtime_1.jsx)(S_Pointer, __assign({ onClick: onPrevBtnClick, disabled: prevBtnDisabled }, { 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: nextBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 }) }))] }));
62
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, { 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)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" })] }));
64
63
  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: prevBtnDisabled }, { 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: nextBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" }) }))] })));
64
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, { 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)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 })] }));
66
65
  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: prevBtnDisabled }, { 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: nextBtnDisabled }, { children: (0, jsx_runtime_1.jsx)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 }) }))] })));
66
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { 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)(components_1.Icon, { iconName: "ic_arrow_right", size: 16, colorKey: "ui_cpnt_icon_sys_dark" })] })));
68
67
  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 }))] })));
68
+ return ((0, jsx_runtime_1.jsxs)(FlexBox, __assign({ gap: "8px" }, { 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)(components_1.Icon, { iconName: "ic_arrow_right", size: 16 })] })));
70
69
  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 }))] })));
70
+ 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 }))] })));
72
71
  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)); }) })));
72
+ 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 }))] })));
74
73
  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: "WHITE", isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
74
+ 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: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
76
75
  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: "DARK", isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
76
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Dot, { color: "WHITE", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
78
77
  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: "WHITE", isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
78
+ 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: "DARK", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
80
79
  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: "DARK", isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
80
+ 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: "WHITE", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
82
81
  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: "WHITE", isActive: index + 1 === current, onClick: function () { return onBulletClick(index); } }, index)); }) })));
82
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: "DARK", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
83
+ case 'DESIGN17':
84
+ return ((0, jsx_runtime_1.jsx)(FlexBox, __assign({ gap: "8px" }, { children: bullets.map(function (_, index) { return ((0, jsx_runtime_1.jsx)(S_Bar, { color: "WHITE", isActive: index + 1 === current, onClick: onBulletClick ? function () { return onBulletClick(index); } : undefined }, index)); }) })));
84
85
  default:
85
86
  return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
86
87
  }
@@ -180,12 +181,5 @@ var S_Bar = styled_components_1.default.div(templateObject_15 || (templateObject
180
181
  var color = _a.color;
181
182
  return (color === 'WHITE' ? whiteBullet : darkBullet);
182
183
  });
183
- var S_Pointer = styled_components_1.default.div(templateObject_16 || (templateObject_16 = __makeTemplateObject(["\n cursor: ", ";\n height: 16px;\n opacity: ", ";\n"], ["\n cursor: ", ";\n height: 16px;\n opacity: ", ";\n"])), function (_a) {
184
- var disabled = _a.disabled;
185
- return (disabled ? 'not-allowed' : 'pointer');
186
- }, function (_a) {
187
- var disabled = _a.disabled;
188
- return (disabled ? 0.4 : 1);
189
- });
190
184
  exports.default = exports.CustomPagination;
191
- 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;
185
+ 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;
@@ -42,76 +42,53 @@ exports.CustomProgressbar = void 0;
42
42
  var jsx_runtime_1 = require("react/jsx-runtime");
43
43
  var react_1 = require("react");
44
44
  var styled_components_1 = __importStar(require("styled-components"));
45
- var progressConfigs_1 = require("./progressConfigs");
46
45
  var CustomProgressbar = function (_a) {
47
46
  var progressRef = _a.progressRef, leftTimeMsRef = _a.leftTimeMsRef, _b = _a.type, type = _b === void 0 ? 'NONE' : _b, _c = _a.offset, offset = _c === void 0 ? { top: '0' } : _c, _d = _a.size, size = _d === void 0 ? 1 : _d;
48
47
  var _e = (0, react_1.useState)(0), leftTimeSec = _e[0], setLeftTimeSec = _e[1];
49
48
  var _f = (0, react_1.useState)(0), progress = _f[0], setProgress = _f[1];
49
+ // 초 단위 렌더
50
50
  (0, react_1.useEffect)(function () {
51
- var updateTimer = function () {
51
+ var id = setInterval(function () {
52
52
  var _a;
53
- var sec = Math.abs(((_a = leftTimeMsRef.current) !== null && _a !== void 0 ? _a : 10000) / 1000);
53
+ var sec = Math.ceil(((_a = leftTimeMsRef.current) !== null && _a !== void 0 ? _a : 0) / 1000);
54
54
  setLeftTimeSec(sec);
55
- };
56
- updateTimer();
57
- var id = setInterval(updateTimer, 1000);
55
+ }, 1000);
58
56
  return function () { return clearInterval(id); };
59
- }, []);
57
+ }, [leftTimeMsRef]);
58
+ // 실시간 progress 반영
60
59
  (0, react_1.useEffect)(function () {
61
60
  var animationId;
62
- var lastProgress = -1;
63
61
  var updateProgress = function () {
64
62
  var _a;
65
- var currentProgress = (_a = progressRef.current) !== null && _a !== void 0 ? _a : 0;
66
- // 소수점 3자리로 제한 (0.001 단위)
67
- var fixedProgress = Math.round(currentProgress * 1000) / 1000;
68
- // 0.5% 이상 변경시에만 업데이트
69
- if (Math.abs(fixedProgress - lastProgress) > 0.005) {
70
- setProgress(fixedProgress);
71
- lastProgress = fixedProgress;
72
- }
63
+ setProgress((_a = progressRef.current) !== null && _a !== void 0 ? _a : 0);
73
64
  animationId = requestAnimationFrame(updateProgress);
74
65
  };
75
66
  animationId = requestAnimationFrame(updateProgress);
76
67
  return function () { return cancelAnimationFrame(animationId); };
77
- }, []);
78
- var renderProgressByType = function () {
79
- switch (type) {
80
- case 'NONE':
81
- return null;
82
- case 'DESIGN1':
83
- return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign1, { progress: progress, leftTimeSec: leftTimeSec });
84
- case 'DESIGN2':
85
- return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign2, { progress: progress, leftTimeSec: leftTimeSec });
86
- case 'DESIGN3':
87
- return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign3, { progress: progress });
88
- case 'DESIGN4':
89
- return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign4, { progress: progress });
90
- case 'DESIGN5':
91
- return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign5, { progress: progress });
92
- case 'DESIGN6':
93
- return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign6, { progress: progress });
94
- case 'DESIGN7':
95
- return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign7, { progress: progress });
96
- case 'DESIGN8':
97
- return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign8, { progress: progress });
98
- default:
99
- return (0, jsx_runtime_1.jsx)(progressConfigs_1.ProgressDesign1, { progress: progress, leftTimeSec: leftTimeSec });
100
- }
101
- };
102
- return ((0, jsx_runtime_1.jsx)(S_ProgressWrapper, __assign({ "$offset": offset, "$size": size }, { children: renderProgressByType() })));
68
+ }, [progressRef]);
69
+ return ((0, jsx_runtime_1.jsx)(S_Progress, __assign({ className: "autoplay-progress", "$offset": offset, "$size": size }, { children: (function () {
70
+ switch (type) {
71
+ case 'NONE':
72
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
73
+ case 'DESIGN1':
74
+ case 'DESIGN2':
75
+ return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)("svg", __assign({ viewBox: "0 0 48 48", style: { '--progress': 1 - progress } }, { children: (0, jsx_runtime_1.jsx)("circle", { cx: "24", cy: "24", r: "20" }) })), (0, jsx_runtime_1.jsx)("span", { children: "".concat(Math.ceil(leftTimeSec), "s") })] }));
76
+ default:
77
+ return (0, jsx_runtime_1.jsx)("div", { children: "Default Design" });
78
+ }
79
+ })() })));
103
80
  };
104
81
  exports.CustomProgressbar = CustomProgressbar;
105
- var S_ProgressWrapper = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n bottom: 16px;\n height: fit-content;\n left: 16px;\n padding: 5px;\n position: absolute;\n right: 16px;\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 10;\n\n ", ";\n"], ["\n bottom: 16px;\n height: fit-content;\n left: 16px;\n padding: 5px;\n position: absolute;\n right: 16px;\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 10;\n\n ", ";\n"])), function (_a) {
82
+ var S_Progress = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n\n &.autoplay-progress {\n align-items: center;\n bottom: 16px;\n color: blue;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n position: absolute;\n right: 16px;\n width: 48px;\n z-index: 10;\n }\n\n &.autoplay-progress svg {\n --progress: 0;\n fill: none;\n height: 100%;\n left: 0;\n position: absolute;\n stroke: var(--swiper-theme-color);\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 0px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n }\n"], ["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n\n &.autoplay-progress {\n align-items: center;\n bottom: 16px;\n color: blue;\n display: flex;\n font-weight: bold;\n height: 48px;\n justify-content: center;\n position: absolute;\n right: 16px;\n width: 48px;\n z-index: 10;\n }\n\n &.autoplay-progress svg {\n --progress: 0;\n fill: none;\n height: 100%;\n left: 0;\n position: absolute;\n stroke: var(--swiper-theme-color);\n stroke-dasharray: 125.6;\n stroke-dashoffset: calc(125.6px * (1 - var(--progress)));\n stroke-width: 4px;\n top: 0px;\n transform: rotate(-90deg);\n width: 100%;\n z-index: 10;\n }\n"])), function (_a) {
83
+ var $offset = _a.$offset;
84
+ return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), $offset.top !== undefined ? "top: ".concat($offset.top, ";") : '', $offset.bottom !== undefined ? "bottom: ".concat($offset.bottom, ";") : '', $offset.left !== undefined ? "left: ".concat($offset.left, ";") : '', $offset.right !== undefined ? "right: ".concat($offset.right, ";") : '');
85
+ }, function (_a) {
106
86
  var _b, _c;
107
87
  var $size = _a.$size, $offset = _a.$offset;
108
88
  return "scale(".concat($size, ") translate(").concat((_b = $offset.translateX) !== null && _b !== void 0 ? _b : 0, "%, ").concat((_c = $offset.translateY) !== null && _c !== void 0 ? _c : 0, "%)");
109
89
  }, function (_a) {
110
90
  var $offset = _a.$offset;
111
91
  return $offset.transformOrigin || 'center center';
112
- }, function (_a) {
113
- var $offset = _a.$offset;
114
- return (0, styled_components_1.css)(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n ", "\n ", "\n ", "\n ", "\n "], ["\n ", "\n ", "\n ", "\n ", "\n "])), $offset.top !== undefined ? "top: ".concat($offset.top, ";") : '', $offset.bottom !== undefined ? "bottom: ".concat($offset.bottom, ";") : '', $offset.left !== undefined ? "left: ".concat($offset.left, ";") : '', $offset.right !== undefined ? "right: ".concat($offset.right, ";") : '');
115
92
  });
116
93
  exports.default = exports.CustomProgressbar;
117
94
  var templateObject_1, templateObject_2;
@@ -4,7 +4,7 @@ import type { CustomPaginationProps } from './components/CustomPagination';
4
4
  import type { CustomProgressbarProps } from './components/CustomProgressbar';
5
5
  import type { SlideBannerCoreProps } from './SlideBannerCore';
6
6
  import type { CB_STYLE_PROP_SLIDEBANNER_SPECS, SlideBannerPropsKeys } from './types';
7
- import type { Device } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
7
+ import type { Device } from '@sub/DynamicLayout/sections/CustomSection/util/types';
8
8
  type ParseSlideBannerStyleToSlideBannerCoreProps = {
9
9
  props: CB_STYLE_PROP_SLIDEBANNER_SPECS;
10
10
  device: Device;