pds-dev-kit-web-test 2.5.417 → 2.5.419

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 (240) hide show
  1. package/dist/index.d.ts +2 -2
  2. package/dist/index.js +3 -2
  3. package/dist/src/common/assets/icons/fill/Cam.d.ts +4 -0
  4. package/dist/src/common/assets/icons/fill/Cam.js +30 -0
  5. package/dist/src/common/assets/icons/fill/CamOff.d.ts +4 -0
  6. package/dist/src/common/assets/icons/fill/CamOff.js +30 -0
  7. package/dist/src/common/assets/icons/fill/Video.js +1 -1
  8. package/dist/src/common/assets/icons/fill/VideoOff.js +1 -1
  9. package/dist/src/common/assets/icons/fill/VideoStop.d.ts +4 -0
  10. package/dist/src/common/assets/icons/fill/VideoStop.js +30 -0
  11. package/dist/src/common/assets/icons/fill/VideoType.js +1 -1
  12. package/dist/src/common/assets/icons/fill/index.d.ts +3 -0
  13. package/dist/src/common/assets/icons/fill/index.js +7 -1
  14. package/dist/src/common/assets/icons/line/Cam.d.ts +4 -0
  15. package/dist/src/common/assets/icons/line/Cam.js +30 -0
  16. package/dist/src/common/assets/icons/line/CamOff.d.ts +4 -0
  17. package/dist/src/common/assets/icons/line/CamOff.js +30 -0
  18. package/dist/src/common/assets/icons/line/CheckBox.d.ts +4 -0
  19. package/dist/src/common/assets/icons/line/CheckBox.js +30 -0
  20. package/dist/src/common/assets/icons/line/Dropdown.d.ts +4 -0
  21. package/dist/src/common/assets/icons/line/Dropdown.js +30 -0
  22. package/dist/src/common/assets/icons/line/Radio.d.ts +4 -0
  23. package/dist/src/common/assets/icons/line/Radio.js +30 -0
  24. package/dist/src/common/assets/icons/line/SectionQuestion32.d.ts +4 -0
  25. package/dist/src/common/assets/icons/line/SectionQuestion32.js +30 -0
  26. package/dist/src/common/assets/icons/line/SectionQuestion40.d.ts +4 -0
  27. package/dist/src/common/assets/icons/line/SectionQuestion40.js +30 -0
  28. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.d.ts +4 -0
  29. package/dist/src/common/assets/icons/line/SectionQuestionnaire32.js +30 -0
  30. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.d.ts +4 -0
  31. package/dist/src/common/assets/icons/line/SectionQuestionnaire40.js +30 -0
  32. package/dist/src/common/assets/icons/line/TextLong.d.ts +4 -0
  33. package/dist/src/common/assets/icons/line/TextLong.js +30 -0
  34. package/dist/src/common/assets/icons/line/TextShort.d.ts +4 -0
  35. package/dist/src/common/assets/icons/line/TextShort.js +30 -0
  36. package/dist/src/common/assets/icons/line/Video.js +1 -1
  37. package/dist/src/common/assets/icons/line/VideoOff.js +1 -1
  38. package/dist/src/common/assets/icons/line/VideoStop.d.ts +4 -0
  39. package/dist/src/common/assets/icons/line/VideoStop.js +30 -0
  40. package/dist/src/common/assets/icons/line/VideoType.js +1 -1
  41. package/dist/src/common/assets/icons/line/index.d.ts +12 -0
  42. package/dist/src/common/assets/icons/line/index.js +25 -1
  43. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.d.ts +2 -1
  44. package/dist/src/common/components/ThreeBarProgress/ThreeBarProgress.js +48 -4
  45. package/dist/src/common/services/i18n/resources/en.json +9 -1
  46. package/dist/src/common/services/i18n/resources/es.json +9 -1
  47. package/dist/src/common/services/i18n/resources/fil.json +9 -1
  48. package/dist/src/common/services/i18n/resources/index.d.ts +56 -0
  49. package/dist/src/common/services/i18n/resources/ja.json +9 -1
  50. package/dist/src/common/services/i18n/resources/ko.json +9 -1
  51. package/dist/src/common/services/i18n/resources/zh-cn.json +9 -1
  52. package/dist/src/common/services/i18n/resources/zh-tw.json +9 -1
  53. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +9 -1
  54. package/dist/src/common/styles/colorSet/PaletteColor_light.json +9 -1
  55. package/dist/src/common/styles/colorSet/UIColor.json +14 -1
  56. package/dist/src/common/styles/colorSet/index.d.ts +31 -2
  57. package/dist/src/common/styles/colorSet/index.js +2 -2
  58. package/dist/src/common/styles/colorSet/ui-type.d.ts +13 -0
  59. package/dist/src/common/utils/dateHelper.d.ts +13 -0
  60. package/dist/src/common/utils/dateHelper.js +87 -0
  61. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +1 -0
  62. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +27 -13
  63. package/dist/src/desktop/components/BasicListItem/BasicListItem.d.ts +4 -1
  64. package/dist/src/desktop/components/BasicListItem/BasicListItem.js +26 -4
  65. package/dist/src/desktop/components/BasicListItem/Contents.d.ts +3 -1
  66. package/dist/src/desktop/components/BasicListItem/Contents.js +2 -2
  67. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.d.ts +1 -0
  68. package/dist/src/desktop/components/BasicListItem/RightBox/IconButton.js +2 -2
  69. package/dist/src/desktop/components/Checkbox/Checkbox.d.ts +3 -1
  70. package/dist/src/desktop/components/Checkbox/Checkbox.js +17 -3
  71. package/dist/src/desktop/components/Chip/Chip.d.ts +1 -1
  72. package/dist/src/desktop/components/Chip/Chip.js +50 -5
  73. package/dist/src/desktop/components/Radio/Radio.js +2 -2
  74. package/dist/src/desktop/components/TextField/TextField.js +41 -15
  75. package/dist/src/desktop/layout/LayoutWT/Containers/ContentsContainer/variation/WTU.js +2 -2
  76. package/dist/src/mobile/components/BasicListItem/BasicListItem.d.ts +4 -1
  77. package/dist/src/mobile/components/BasicListItem/BasicListItem.js +26 -4
  78. package/dist/src/mobile/components/BasicListItem/Contents.d.ts +3 -1
  79. package/dist/src/mobile/components/BasicListItem/Contents.js +2 -2
  80. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.d.ts +1 -0
  81. package/dist/src/mobile/components/BasicListItem/RightBox/IconButton.js +2 -2
  82. package/dist/src/mobile/components/Checkbox/Checkbox.d.ts +3 -1
  83. package/dist/src/mobile/components/Checkbox/Checkbox.js +17 -3
  84. package/dist/src/mobile/components/Chip/Chip.d.ts +1 -1
  85. package/dist/src/mobile/components/Chip/Chip.js +50 -5
  86. package/dist/src/mobile/components/DatePicker/DatePicker.d.ts +16 -0
  87. package/dist/src/mobile/components/DatePicker/DatePicker.js +156 -0
  88. package/dist/src/mobile/components/DatePicker/DatePickerHeader.d.ts +14 -0
  89. package/dist/src/mobile/components/DatePicker/DatePickerHeader.js +27 -0
  90. package/dist/src/mobile/components/DatePicker/Day.d.ts +13 -0
  91. package/dist/src/mobile/components/DatePicker/Day.js +94 -0
  92. package/dist/src/mobile/components/DatePicker/index.d.ts +1 -0
  93. package/dist/src/mobile/components/DatePicker/index.js +8 -0
  94. package/dist/src/mobile/components/DatePicker/utils.d.ts +16 -0
  95. package/dist/src/mobile/components/DatePicker/utils.js +68 -0
  96. package/dist/src/mobile/components/Radio/Radio.js +2 -2
  97. package/dist/src/mobile/components/TextField/TextField.js +41 -15
  98. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +6 -1
  99. package/dist/src/mobile/components/TextLabel/TextLabel.js +83 -3
  100. package/dist/src/mobile/components/index.d.ts +2 -1
  101. package/dist/src/mobile/components/index.js +3 -1
  102. package/dist/src/mobile/index.d.ts +1 -1
  103. package/dist/src/mobile/index.js +3 -2
  104. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFA.js +1 -1
  105. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFB.js +1 -1
  106. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFC.js +1 -1
  107. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFD.js +1 -1
  108. package/dist/src/mobile/layout/LayoutMF/Containers/ContentsContainer/variation/MFE.js +1 -1
  109. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMA.js +1 -1
  110. package/dist/src/mobile/layout/LayoutMM/Containers/ContentsContainer/variation/MMB.js +1 -1
  111. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPA.js +1 -1
  112. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPB.js +1 -1
  113. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPC.js +1 -1
  114. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPD.js +1 -1
  115. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPE.js +1 -1
  116. package/dist/src/mobile/layout/LayoutMP/Containers/ContentsContainer/variation/MPF.js +1 -1
  117. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSA.js +1 -1
  118. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSB.js +1 -1
  119. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSC.js +1 -1
  120. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSD.js +1 -1
  121. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSE.js +1 -1
  122. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSF.js +1 -1
  123. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSG.js +1 -1
  124. package/dist/src/mobile/layout/LayoutMS/Containers/ContentsContainer/variation/MSH.js +1 -1
  125. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +3 -3
  126. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +2 -1
  127. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +6 -5
  128. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +1 -1
  129. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +2 -2
  130. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +4 -3
  131. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +38 -12
  132. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +4 -1
  133. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +12 -1
  134. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.d.ts +8 -0
  135. package/dist/src/sub/DynamicLayout/components/Section/components/VideoBGMedia.js +77 -0
  136. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
  137. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
  138. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
  139. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
  140. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
  141. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
  142. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
  143. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
  144. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
  145. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
  146. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
  147. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
  148. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
  149. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
  150. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
  151. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
  152. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
  153. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
  154. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
  155. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +3 -1
  156. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +5 -3
  157. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -1
  158. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +9 -2
  159. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +4 -4
  160. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +1 -1
  161. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +1 -1
  162. package/dist/src/sub/DynamicLayout/mock_composition.js +852 -43
  163. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -2
  164. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1071 -274
  165. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -2
  166. package/dist/src/sub/DynamicLayout/mock_contentsList.js +1017 -222
  167. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +96 -0
  168. package/dist/src/sub/DynamicLayout/mock_queryData.js +2639 -0
  169. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +842 -2
  170. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +803 -267
  171. package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
  172. package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
  173. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +368 -0
  174. package/dist/src/sub/DynamicLayout/mock_video_cb.js +371 -0
  175. package/dist/src/sub/DynamicLayout/mocks.d.ts +2 -776
  176. package/dist/src/sub/DynamicLayout/mocks.js +4266 -11
  177. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  178. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  179. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +4 -4
  180. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +11 -15
  181. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -0
  182. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +25 -4
  183. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +149 -54
  184. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +21 -1
  185. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.d.ts +5 -1
  186. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigation.js +5 -56
  187. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.d.ts +10 -4
  188. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomPagination.js +30 -32
  189. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +3 -1
  190. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +47 -24
  191. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
  192. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +849 -0
  193. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +43 -0
  194. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +162 -0
  195. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +2 -12
  196. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +144 -316
  197. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +38 -23
  198. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +35 -23
  199. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +5 -3
  200. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +59 -132
  201. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +25 -0
  202. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +183 -0
  203. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +1 -1
  204. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +58 -35
  205. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +11 -1
  206. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +13 -5
  207. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +91 -26
  208. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.d.ts +5 -1
  209. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigation.js +5 -56
  210. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +9 -2
  211. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +30 -32
  212. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +3 -1
  213. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +47 -24
  214. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
  215. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +849 -0
  216. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +43 -0
  217. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +162 -0
  218. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +3 -3
  219. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +168 -67
  220. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +46 -6
  221. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +10 -4
  222. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.d.ts +5 -0
  223. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +148 -0
  224. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +4 -0
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +25 -0
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.d.ts +1 -0
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/index.js +8 -0
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +17 -8
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +11 -4
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -0
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +1 -1
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +2 -2
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +15 -2
  236. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  237. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -1
  238. package/dist/src/sub/DynamicLayout/types.d.ts +10 -1
  239. package/package.json +2 -3
  240. package/release-note.md +3 -3
@@ -4,33 +4,39 @@ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_STYLE_TYPE = 'DESIGN1' | 'DESIGN
4
4
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMSPACING_TYPE = 'WIDE' | 'NORMAL' | 'NARROW';
5
5
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMCURSOR_TYPE = 'ONCE' | 'ALL' | 'SCROLL';
6
6
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_INFINITESCROLL_TYPE = boolean;
7
- export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17';
8
- export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET13' | 'INSET14' | 'INSET15' | 'INSET16' | 'INSET17' | 'INSET18' | 'INSET19' | 'INSET20';
9
- export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
10
- export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20';
11
- export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET13' | 'INSET14' | 'INSET15' | 'INSET16' | 'INSET17' | 'INSET18' | 'INSET19' | 'INSET20';
7
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20' | 'DESIGN21' | 'DESIGN22' | 'DESIGN23' | 'DESIGN24' | 'DESIGN25' | 'DESIGN26' | 'DESIGN27' | 'DESIGN28' | 'DESIGN29' | 'DESIGN30' | 'DESIGN31' | 'DESIGN32' | 'DESIGN33' | 'DESIGN34' | 'DESIGN35' | 'DESIGN36' | 'DESIGN37' | 'DESIGN38' | 'DESIGN39' | 'DESIGN40' | 'DESIGN41' | 'DESIGN42' | 'DESIGN43' | 'DESIGN44' | 'DESIGN45' | 'DESIGN46' | 'DESIGN47' | 'DESIGN48' | 'DESIGN49' | 'DESIGN50' | 'DESIGN51' | 'DESIGN52' | 'DESIGN53' | 'DESIGN54' | 'DESIGN55' | 'DESIGN56' | 'DESIGN57' | 'DESIGN58' | 'DESIGN59' | 'DESIGN60' | 'DESIGN61' | 'DESIGN62' | 'DESIGN63' | 'DESIGN64' | 'DESIGN65' | 'DESIGN66' | 'DESIGN67' | 'DESIGN68' | 'DESIGN69' | 'DESIGN70' | 'DESIGN71' | 'DESIGN72' | 'DESIGN73' | 'DESIGN74' | 'DESIGN75' | 'DESIGN76' | 'DESIGN77' | 'DESIGN78' | 'DESIGN79' | 'DESIGN80' | 'DESIGN81' | 'DESIGN82' | 'DESIGN83' | 'DESIGN84' | 'DESIGN85' | 'DESIGN86' | 'DESIGN87' | 'DESIGN88' | 'DESIGN89' | 'DESIGN90' | 'DESIGN91' | 'DESIGN92' | 'DESIGN93' | 'DESIGN94' | 'DESIGN95' | 'DESIGN96' | 'DESIGN97' | 'DESIGN98' | 'DESIGN99' | 'DESIGN100';
8
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET1' | 'INSET2' | 'INSET3' | 'INSET4' | 'INSET5' | 'INSET6' | 'INSET7' | 'INSET8';
12
9
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
13
- export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20';
14
- export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC__NEXTBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET13' | 'INSET14' | 'INSET15' | 'INSET16' | 'INSET17' | 'INSET18' | 'INSET19' | 'INSET20';
10
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR = string;
11
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR = string;
12
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16' | 'DESIGN17' | 'DESIGN18' | 'DESIGN19' | 'DESIGN20' | 'DESIGN21' | 'DESIGN22' | 'DESIGN23' | 'DESIGN24' | 'DESIGN25' | 'DESIGN26' | 'DESIGN27' | 'DESIGN28' | 'DESIGN29' | 'DESIGN30' | 'DESIGN31' | 'DESIGN32' | 'DESIGN33' | 'DESIGN34' | 'DESIGN35' | 'DESIGN36' | 'DESIGN37' | 'DESIGN38' | 'DESIGN39' | 'DESIGN40' | 'DESIGN41' | 'DESIGN42' | 'DESIGN43' | 'DESIGN44' | 'DESIGN45' | 'DESIGN46' | 'DESIGN47' | 'DESIGN48' | 'DESIGN49' | 'DESIGN50' | 'DESIGN51' | 'DESIGN52' | 'DESIGN53' | 'DESIGN54' | 'DESIGN55' | 'DESIGN56' | 'DESIGN57' | 'DESIGN58' | 'DESIGN59' | 'DESIGN60' | 'DESIGN61' | 'DESIGN62' | 'DESIGN63' | 'DESIGN64' | 'DESIGN65' | 'DESIGN66' | 'DESIGN67' | 'DESIGN68' | 'DESIGN69' | 'DESIGN70' | 'DESIGN71' | 'DESIGN72' | 'DESIGN73' | 'DESIGN74' | 'DESIGN75' | 'DESIGN76' | 'DESIGN77' | 'DESIGN78' | 'DESIGN79' | 'DESIGN80' | 'DESIGN81' | 'DESIGN82' | 'DESIGN83' | 'DESIGN84' | 'DESIGN85' | 'DESIGN86' | 'DESIGN87' | 'DESIGN88' | 'DESIGN89' | 'DESIGN90' | 'DESIGN91' | 'DESIGN92' | 'DESIGN93' | 'DESIGN94' | 'DESIGN95' | 'DESIGN96' | 'DESIGN97' | 'DESIGN98' | 'DESIGN99' | 'DESIGN100';
13
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION_TYPE = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12' | 'INSET1' | 'INSET2' | 'INSET3' | 'INSET4' | 'INSET5' | 'INSET6' | 'INSET7' | 'INSET8';
15
14
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
15
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR = string;
16
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR = string;
16
17
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8';
17
18
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
19
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR = string;
20
+ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR = string;
18
21
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE = boolean;
19
22
  export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS_BASE = {
20
23
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_STYLE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_STYLE_TYPE;
21
24
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMSPACING: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMSPACING_TYPE;
22
25
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMCURSOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMCURSOR_TYPE;
23
- CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE_TYPE;
24
- CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION_TYPE;
25
- CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE_TYPE;
26
26
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE;
27
27
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNLOCATION_TYPE;
28
28
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE;
29
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
30
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
29
31
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
30
- CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC__NEXTBTNLOCATION_TYPE;
32
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION_TYPE;
31
33
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE;
34
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
35
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
32
36
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE;
33
37
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE;
38
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
39
+ CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
34
40
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE;
35
41
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYTIME: NUMBER_INTEGER;
36
42
  CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_INFINITESCROLL: CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_INFINITESCROLL_TYPE;
@@ -45,15 +51,6 @@ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS = CB_STYLE_PROP_CONTENTSCAROUSE
45
51
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMCURSOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMCURSOR_TYPE;
46
52
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMCURSOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMCURSOR_TYPE;
47
53
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMCURSOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_ITEMCURSOR_TYPE;
48
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE_TYPE;
49
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE_TYPE;
50
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSTYLE_TYPE;
51
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION_TYPE;
52
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION_TYPE;
53
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONLOCATION_TYPE;
54
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE_TYPE;
55
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE_TYPE;
56
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PAGINATIONSIZE_TYPE;
57
54
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE;
58
55
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE;
59
56
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSTYLE_TYPE;
@@ -63,21 +60,39 @@ export type CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS = CB_STYLE_PROP_CONTENTSCAROUSE
63
60
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE;
64
61
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE;
65
62
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSIZE_TYPE;
63
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
64
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
65
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNPRIMARYCOLOR;
66
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
67
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
68
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PREVBTNSECONDARYCOLOR;
66
69
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
67
70
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
68
71
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSTYLE_TYPE;
69
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC__NEXTBTNLOCATION_TYPE;
70
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC__NEXTBTNLOCATION_TYPE;
71
- 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC__NEXTBTNLOCATION_TYPE;
72
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION_TYPE;
73
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION_TYPE;
74
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNLOCATION_TYPE;
72
75
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE;
73
76
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE;
74
77
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSIZE_TYPE;
78
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR;
79
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR;
80
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNPRIMARYCOLOR;
81
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR;
82
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR;
83
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_NEXTBTNSECONDARYCOLOR;
75
84
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE;
76
85
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE;
77
86
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBAR_TYPE;
78
87
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE;
79
88
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE;
80
89
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSIZE_TYPE;
90
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR;
91
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR;
92
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARPRIMARYCOLOR;
93
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR;
94
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR;
95
+ 'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_PROGRESSBARSECONDARYCOLOR;
81
96
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE;
82
97
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE:MOBILE': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE;
83
98
  'CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE:MOBILE:HOVER': CB_STYLE_PROP_CONTENTSCAROUSEL_SPEC_AUTOPLAYUSE_TYPE;
@@ -32,11 +32,14 @@ var contentsListUtils_1 = require("./contentsListUtils");
32
32
  function ContentsList(props) {
33
33
  var _a = (0, react_1.useContext)(dynamicLayoutContext_1.dynamicLayoutContext), device = _a.device, mode = _a.mode, queryData = _a.queryData;
34
34
  var index = props.index, compositions = props.compositions, CB_CONTENT_PROP_CONTENTSLIST = props.CB_CONTENT_PROP_CONTENTSLIST, CB_STYLE_PROP_CONTENTSLIST = props.CB_STYLE_PROP_CONTENTSLIST, CB_STYLE_PROP_SHADOW = props.CB_STYLE_PROP_SHADOW, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
35
- var CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE, CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA, CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS;
35
+ var CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS, CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS, CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE, CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA;
36
36
  var _b = (0, react_1.useState)(false), isHovered = _b[0], setIsHovered = _b[1];
37
37
  var _c = (0, react_1.useState)(1), currentPage = _c[0], setCurrentPage = _c[1];
38
- var itemCounts = CB_CONTENT_PROP_CONTENTSLIST.CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS;
39
- var totalPage = Math.ceil(compositions.length / itemCounts);
38
+ var parsedQueryPath = removeFirstSegment(CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA);
39
+ var queryDataValue = queryData === null || queryData === void 0 ? void 0 : queryData[parsedQueryPath];
40
+ var totalPage = Math.ceil((CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE === 'DATA' && queryDataValue
41
+ ? queryDataValue === null || queryDataValue === void 0 ? void 0 : queryDataValue.length
42
+ : compositions.length - 1) / CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS);
40
43
  var _d = (0, util_1.parseProperties)(props, device), style = _d.style, hoverStyle = _d.hoverStyle, layout = _d.layout, effect = _d.effect;
41
44
  var contentPropCss = (0, contentsListUtils_1.parseGridContentProp)({
42
45
  props: CB_CONTENT_PROP_CONTENTSLIST
@@ -64,37 +67,46 @@ function ContentsList(props) {
64
67
  var effectVisibleStyle = hasEffect
65
68
  ? { opacity: isVisible ? 1 : 0, position: 'relative' }
66
69
  : { position: 'relative' };
67
- // eslint-disable-next-line
68
- var handlePrevBtnClick = function () {
69
- if (currentPage === 1)
70
- return;
71
- setCurrentPage(function (prev) { return prev - 1; });
70
+ var handlePageClick = function (page) {
71
+ setCurrentPage(page);
72
72
  };
73
- // eslint-disable-next-line
74
- var handleNextBtnClick = function () {
75
- if (currentPage === totalPage)
76
- return;
77
- setCurrentPage(function (prev) { return prev + 1; });
78
- };
79
- var handleBulletClick = function (index) {
80
- setCurrentPage(index + 1);
81
- };
82
- var startIndex = (currentPage - 1) * itemCounts;
83
- var endIndex = startIndex + itemCounts;
84
- return ((0, jsx_runtime_1.jsxs)(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({ id: "contentslist-box", className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), editModeStyle), { position: 'relative', overflow: 'hidden' }), hoverStyle: __assign(__assign({}, hoverStyle), { position: 'relative', overflow: 'hidden' }), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); }, "data-number-of-items": itemCounts, "data-number-of-columns": CB_CONTENT_PROP_CONTENTSLIST_SPEC_COLUMNS, "data-row-gap": 1, "data-column-gap": 24 }, { children: (0, jsx_runtime_1.jsx)(S_ContentsListWrapper, __assign({ id: "contentslist-wrapper" }, { children: (0, jsx_runtime_1.jsx)(S_ContentsListGrid, __assign({ id: "contentslist-grid", contentPropCss: contentPropCss, stylePropCss: isHovered ? hoverStylePropCss : stylePropCss }, { children: (0, createCompositions_1.createCompositions)({
73
+ var startIndex = (currentPage - 1) * CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS;
74
+ var endIndex = startIndex + CB_CONTENT_PROP_CONTENTSLIST_SPEC_DISPLAYCOUNTS;
75
+ 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({ id: "contentslist-box", className: "cb-layout-box", normalStyle: __assign(__assign(__assign(__assign({}, style), layout), effectCssProperties), editModeStyle), hoverStyle: __assign({}, hoverStyle), cbStylePropsShadowSpecs: CB_STYLE_PROP_SHADOW, device: device, onMouseEnter: function () { return setIsHovered(true); }, onMouseLeave: function () { return setIsHovered(false); } }, { children: (0, jsx_runtime_1.jsxs)(S_ContentsListWrapper, { children: [(0, jsx_runtime_1.jsx)(S_ContentsListLayout, __assign({ contentPropCss: contentPropCss, stylePropCss: isHovered ? hoverStylePropCss : stylePropCss, borderStyle: {
76
+ borderBottomLeftRadius: style.borderBottomLeftRadius,
77
+ borderBottomRightRadius: style.borderBottomRightRadius,
78
+ borderTopLeftRadius: style.borderTopLeftRadius,
79
+ borderTopRightRadius: style.borderTopRightRadius,
80
+ borderWidth: style.borderWidth,
81
+ borderColor: style.borderColor,
82
+ borderStyle: style.borderStyle
83
+ }, hoverBorderStyle: {
84
+ borderBottomLeftRadius: hoverStyle.borderBottomLeftRadius,
85
+ borderBottomRightRadius: hoverStyle.borderBottomRightRadius,
86
+ borderTopLeftRadius: hoverStyle.borderTopLeftRadius,
87
+ borderTopRightRadius: hoverStyle.borderTopRightRadius,
88
+ borderWidth: hoverStyle.borderWidth,
89
+ borderColor: hoverStyle.borderColor,
90
+ borderStyle: hoverStyle.borderStyle
91
+ } }, { children: (0, createCompositions_1.createCompositions)({
85
92
  valueType: CB_CONTENT_PROP_CONTENTSLIST_SPEC_VALUETYPE,
86
93
  queryPath: CB_CONTENT_PROP_CONTENTSLIST_SPEC_CONNECTDATA,
94
+ limit: CB_CONTENT_PROP_CONTENTSLIST_SPEC_ITEMCOUNTS,
87
95
  queryData: queryData,
88
96
  compositions: compositions
89
- }).slice(startIndex, endIndex) })) })) })), (0, jsx_runtime_1.jsx)(CustomPagination_1.CustomPagination, { effectVisibleStyle: effectVisibleStyle, type: isHovered ? paginationHoverStyle.type : paginationNormalStyle.type, offset: isHovered ? paginationHoverStyle.offset : paginationNormalStyle.offset, current: currentPage, total: totalPage, size: isHovered ? paginationHoverStyle.size : paginationNormalStyle.size, onBulletClick: handleBulletClick })] })));
97
+ }).slice(startIndex, endIndex) })), (0, jsx_runtime_1.jsx)(CustomPagination_1.CustomPagination, { type: isHovered ? paginationHoverStyle.type : paginationNormalStyle.type, offset: isHovered ? paginationHoverStyle.offset : paginationNormalStyle.offset, current: currentPage, total: totalPage, size: isHovered ? paginationHoverStyle.size : paginationNormalStyle.size, primaryColor: isHovered ? paginationHoverStyle.primaryColor : paginationNormalStyle.primaryColor, secondaryColor: isHovered ? paginationHoverStyle.secondaryColor : paginationNormalStyle.secondaryColor, onPageClick: handlePageClick })] }) })) })));
90
98
  }
91
- var S_ContentsListWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n position: relative;\n width: 100%;\n"], ["\n height: 100%;\n position: relative;\n width: 100%;\n"])));
92
- var S_ContentsListGrid = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: grid;\n height: 100%;\n\n ", "\n ", "\n"], ["\n display: grid;\n height: 100%;\n\n ", "\n ", "\n"])), function (_a) {
99
+ var S_ContentsListWrapper = styled_components_1.default.div(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n height: 100%;\n width: 100%;\n"], ["\n height: 100%;\n width: 100%;\n"])));
100
+ var S_ContentsListLayout = styled_components_1.default.div(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n display: grid;\n height: 100%;\n overflow: hidden;\n width: 100%;\n\n ", ";\n ", ";\n"], ["\n display: grid;\n height: 100%;\n overflow: hidden;\n width: 100%;\n\n ", ";\n ", ";\n"])), function (_a) {
93
101
  var contentPropCss = _a.contentPropCss;
94
102
  return contentPropCss;
95
103
  }, function (_a) {
96
104
  var stylePropCss = _a.stylePropCss;
97
105
  return stylePropCss;
98
106
  });
107
+ function removeFirstSegment(path) {
108
+ var segments = path.split('/');
109
+ return segments.slice(1).join('/');
110
+ }
99
111
  exports.default = ContentsList;
100
112
  var templateObject_1, templateObject_2;
@@ -1,7 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import type { CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE } from '../types';
3
3
  export interface CustomPaginationProps {
4
- effectVisibleStyle?: React.CSSProperties;
5
4
  current?: number;
6
5
  total?: number;
7
6
  type?: CB_STYLE_PROP_CONTENTSLIST_SPEC_PAGINATIONSTYLE_TYPE;
@@ -15,9 +14,12 @@ export interface CustomPaginationProps {
15
14
  transformOrigin?: string;
16
15
  };
17
16
  size?: number;
18
- onBulletClick?: (index: number) => void;
17
+ primaryColor?: string;
18
+ secondaryColor?: string;
19
19
  }
20
- export declare const CustomPagination: ({ effectVisibleStyle, current, total, type, offset, size, onBulletClick }: CustomPaginationProps) => JSX.Element;
20
+ export declare const CustomPagination: ({ current, total, type, offset, size, primaryColor, secondaryColor, onPageClick }: CustomPaginationProps & {
21
+ onPageClick: (page: number) => void;
22
+ }) => JSX.Element;
21
23
  export interface FlexBoxProps {
22
24
  direction?: 'row' | 'column';
23
25
  justifyContent?: string;
@@ -40,70 +40,69 @@ 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");
44
43
  var styled_components_1 = __importStar(require("styled-components"));
44
+ var paginationConfigs_1 = require("./paginationConfigs");
45
45
  var CustomPagination = function (_a) {
46
- var effectVisibleStyle = _a.effectVisibleStyle, _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
- 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), "$offset": offset, "$size": size, effectVisibleStyle: effectVisibleStyle }, { children: (function () {
49
- switch (type) {
50
- case 'NONE':
51
- case 'DESIGN1':
52
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
53
- case 'DESIGN2':
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) }))] })));
55
- case 'DESIGN3':
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) }))] })));
57
- case 'DESIGN4':
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 }))] })));
59
- case 'DESIGN5':
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 }))] })));
61
- case 'DESIGN6':
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" })] }));
63
- case 'DESIGN7':
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 })] }));
65
- case 'DESIGN8':
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" })] })));
67
- case 'DESIGN9':
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 })] })));
69
- case 'DESIGN10':
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 }))] })));
71
- case 'DESIGN11':
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 }))] })));
73
- case 'DESIGN12':
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)); }) })));
75
- case 'DESIGN13':
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)); }) })));
77
- case 'DESIGN14':
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)); }) })));
79
- case 'DESIGN15':
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)); }) })));
81
- case 'DESIGN16':
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)); }) })));
85
- default:
86
- return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
87
- }
88
- })() })));
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, primaryColor = _a.primaryColor, secondaryColor = _a.secondaryColor, onPageClick = _a.onPageClick;
47
+ var getPageGroupStart = function (page) {
48
+ return Math.floor((page - 1) / 5) * 5 + 1;
49
+ };
50
+ var groupStart = getPageGroupStart(current);
51
+ var groupEnd = Math.min(groupStart + 4, total);
52
+ var pageNumbers = Array.from({ length: groupEnd - groupStart + 1 }, function (_, index) { return groupStart + index; });
53
+ var handlePrevious = function () {
54
+ if (current > 1) {
55
+ onPageClick(current - 1);
56
+ }
57
+ };
58
+ var handleNext = function () {
59
+ if (current < total) {
60
+ onPageClick(current + 1);
61
+ }
62
+ };
63
+ var handlePageClick = function (pageNumber) {
64
+ onPageClick(pageNumber);
65
+ };
66
+ var renderPagination = function () {
67
+ switch (type) {
68
+ case 'NONE':
69
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
70
+ case 'DESIGN1':
71
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design1, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
72
+ case 'DESIGN2':
73
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design2, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
74
+ case 'DESIGN3':
75
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design3, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
76
+ case 'DESIGN4':
77
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design4, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
78
+ case 'DESIGN5':
79
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design5, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
80
+ case 'DESIGN6':
81
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design6, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
82
+ case 'DESIGN7':
83
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design7, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
84
+ case 'DESIGN8':
85
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design8, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
86
+ case 'DESIGN9':
87
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design9, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
88
+ case 'DESIGN10':
89
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design10, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
90
+ case 'DESIGN11':
91
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design11, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
92
+ case 'DESIGN12':
93
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design12, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
94
+ case 'DESIGN13':
95
+ return ((0, jsx_runtime_1.jsx)(paginationConfigs_1.Design13, { total: total, current: current, primaryColor: primaryColor, secondaryColor: secondaryColor, pages: pageNumbers, onNext: handleNext, onPrevious: handlePrevious, onPageChange: handlePageClick }));
96
+ default:
97
+ return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, {});
98
+ }
99
+ };
100
+ return ((0, jsx_runtime_1.jsx)(S_Pagination, __assign({ className: "custom-pagination_".concat(current), "$offset": offset, "$size": size }, { children: renderPagination() })));
89
101
  };
90
102
  exports.CustomPagination = CustomPagination;
91
- 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) {
92
- var _b = _a.alignItems, alignItems = _b === void 0 ? 'center' : _b;
93
- return alignItems;
94
- }, function (_a) {
95
- var _b = _a.direction, direction = _b === void 0 ? 'row' : _b;
96
- return direction;
97
- }, function (_a) {
98
- var _b = _a.gap, gap = _b === void 0 ? '0' : _b;
99
- return gap;
100
- }, function (_a) {
101
- var _b = _a.justifyContent, justifyContent = _b === void 0 ? 'center' : _b;
102
- return justifyContent;
103
- });
104
- var S_Pagination = styled_components_1.default.div(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n /* ", "; */\n"], ["\n padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n /* ", "; */\n"])), function (_a) {
103
+ var S_Pagination = 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 padding: 5px;\n position: absolute;\n ", ";\n transform: ", ";\n transform-origin: ", ";\n width: max-content;\n z-index: 2;\n"])), function (_a) {
105
104
  var $offset = _a.$offset;
106
- return (0, styled_components_1.css)(templateObject_2 || (templateObject_2 = __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, ";") : '');
105
+ 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, ";") : '');
107
106
  }, function (_a) {
108
107
  var _b, _c;
109
108
  var $size = _a.$size, $offset = _a.$offset;
@@ -111,78 +110,6 @@ var S_Pagination = styled_components_1.default.div(templateObject_3 || (template
111
110
  }, function (_a) {
112
111
  var $offset = _a.$offset;
113
112
  return $offset.transformOrigin || 'center center';
114
- }, function (_a) {
115
- var effectVisibleStyle = _a.effectVisibleStyle;
116
- return effectVisibleStyle && __assign({}, effectVisibleStyle);
117
- });
118
- var body2Bold = (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) {
119
- var theme = _a.theme;
120
- return theme.desktopFontSize.body2;
121
- }, function (_a) {
122
- var theme = _a.theme;
123
- return theme.fontWeight.bold;
124
- }, function (_a) {
125
- var theme = _a.theme;
126
- return theme.desktopLineHeight.body2;
127
- });
128
- var body2Regular = (0, styled_components_1.css)(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"], ["\n font-size: ", ";\n font-weight: ", ";\n line-height: ", ";\n"])), function (_a) {
129
- var theme = _a.theme;
130
- return theme.desktopFontSize.body2;
131
- }, function (_a) {
132
- var theme = _a.theme;
133
- return theme.fontWeight.normal;
134
- }, function (_a) {
135
- var theme = _a.theme;
136
- return theme.desktopLineHeight.body2;
137
- });
138
- var sysTextWhite = (0, styled_components_1.css)(templateObject_6 || (templateObject_6 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
139
- var theme = _a.theme;
140
- return theme.ui_cpnt_textlabel_sys_white;
141
- });
142
- var sysTextBlack = (0, styled_components_1.css)(templateObject_7 || (templateObject_7 = __makeTemplateObject(["\n color: ", ";\n"], ["\n color: ", ";\n"])), function (_a) {
143
- var theme = _a.theme;
144
- return theme.ui_cpnt_textlabel_sys_black;
145
- });
146
- var S_TextLabel = styled_components_1.default.div(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n ", ";\n\n ", ";\n"], ["\n ", ";\n\n ", ";\n"])), function (_a) {
147
- var styleTheme = _a.styleTheme;
148
- return styleTheme &&
149
- {
150
- body2Bold: body2Bold,
151
- body2Regular: body2Regular
152
- }[styleTheme];
153
- }, function (_a) {
154
- var colorTheme = _a.colorTheme;
155
- return colorTheme
156
- ? {
157
- sysTextWhite: sysTextWhite,
158
- sysTextBlack: sysTextBlack
159
- }[colorTheme]
160
- : sysTextWhite;
161
- });
162
- var verticalDivider = (0, styled_components_1.css)(templateObject_9 || (templateObject_9 = __makeTemplateObject(["\n height: 16px;\n width: 1px;\n"], ["\n height: 16px;\n width: 1px;\n"])));
163
- var horizontalDivider = (0, styled_components_1.css)(templateObject_10 || (templateObject_10 = __makeTemplateObject(["\n height: 1px;\n width: 100%;\n"], ["\n height: 1px;\n width: 100%;\n"])));
164
- var S_Divider = styled_components_1.default.div(templateObject_11 || (templateObject_11 = __makeTemplateObject(["\n background-color: ", ";\n opacity: 0.6;\n ", ";\n"], ["\n background-color: ", ";\n opacity: 0.6;\n ", ";\n"])), function (_a) {
165
- var color = _a.color;
166
- return (color === 'WHITE' ? '#ffffff' : '#000000');
167
- }, function (_a) {
168
- var type = _a.type;
169
- return (type === 'VERTICAL' ? verticalDivider : horizontalDivider);
170
- });
171
- var whiteBullet = (0, styled_components_1.css)(templateObject_12 || (templateObject_12 = __makeTemplateObject(["\n background-color: #ffffff;\n opacity: ", ";\n"], ["\n background-color: #ffffff;\n opacity: ", ";\n"])), function (_a) {
172
- var isActive = _a.isActive;
173
- return (isActive ? 1 : 0.2);
174
- });
175
- var darkBullet = (0, styled_components_1.css)(templateObject_13 || (templateObject_13 = __makeTemplateObject(["\n background-color: #000000;\n opacity: ", ";\n"], ["\n background-color: #000000;\n opacity: ", ";\n"])), function (_a) {
176
- var isActive = _a.isActive;
177
- return (isActive ? 1 : 0.3);
178
- });
179
- var S_Dot = styled_components_1.default.div(templateObject_14 || (templateObject_14 = __makeTemplateObject(["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"], ["\n border-radius: 50%;\n cursor: pointer;\n height: 8px;\n width: 8px;\n ", ";\n"])), function (_a) {
180
- var color = _a.color;
181
- return (color === 'WHITE' ? whiteBullet : darkBullet);
182
- });
183
- var S_Bar = styled_components_1.default.div(templateObject_15 || (templateObject_15 = __makeTemplateObject(["\n cursor: pointer;\n height: 2px;\n width: 40px;\n ", ";\n"], ["\n cursor: pointer;\n height: 2px;\n width: 40px;\n ", ";\n"])), function (_a) {
184
- var color = _a.color;
185
- return (color === 'WHITE' ? whiteBullet : darkBullet);
186
113
  });
187
114
  exports.default = exports.CustomPagination;
188
- 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;
115
+ var templateObject_1, templateObject_2;
@@ -0,0 +1,25 @@
1
+ /// <reference types="react" />
2
+ type Props = {
3
+ total: number;
4
+ current: number;
5
+ primaryColor?: string;
6
+ secondaryColor?: string;
7
+ onPrevious: () => void;
8
+ onNext: () => void;
9
+ pages?: number[];
10
+ onPageChange?: (page: number) => void;
11
+ };
12
+ export declare function Design1({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
13
+ export declare function Design2({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
14
+ export declare function Design3({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
15
+ export declare function Design4({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
16
+ export declare function Design5({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
17
+ export declare function Design6({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
18
+ export declare function Design7({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
19
+ export declare function Design8({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
20
+ export declare function Design9({ total, current, pages, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
21
+ export declare function Design10({ total, current, primaryColor, secondaryColor, onPageChange, onNext, onPrevious }: Props): JSX.Element;
22
+ export declare function Design11({ total, current, primaryColor, secondaryColor, onNext, onPrevious }: Props): JSX.Element;
23
+ export declare function Design12({ total, current, primaryColor, secondaryColor, onNext, onPrevious }: Props): JSX.Element;
24
+ export declare function Design13({ total, current, primaryColor, secondaryColor, onNext, onPrevious }: Props): JSX.Element;
25
+ export {};