pds-dev-kit-web-test 2.5.622 → 2.5.624

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 (348) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/dist/index.js +12 -3
  3. package/dist/src/common/assets/icons/fill/Translate.d.ts +4 -0
  4. package/dist/src/common/assets/icons/fill/Translate.js +30 -0
  5. package/dist/src/common/assets/icons/fill/index.d.ts +1 -0
  6. package/dist/src/common/assets/icons/fill/index.js +2 -0
  7. package/dist/src/common/assets/icons/line/Translate.d.ts +4 -0
  8. package/dist/src/common/assets/icons/line/Translate.js +30 -0
  9. package/dist/src/common/assets/icons/line/index.d.ts +1 -0
  10. package/dist/src/common/assets/icons/line/index.js +2 -0
  11. package/dist/src/common/hooks/useParentResizeObserver.d.ts +2 -0
  12. package/dist/src/common/hooks/useParentResizeObserver.js +20 -0
  13. package/dist/src/common/hooks/useResizeObserver.d.ts +3 -0
  14. package/dist/src/common/hooks/useResizeObserver.js +27 -0
  15. package/dist/src/common/hooks/useTooltip.js +1 -1
  16. package/dist/src/common/hooks/useWindowSize.d.ts +4 -0
  17. package/dist/src/common/hooks/useWindowSize.js +22 -0
  18. package/dist/src/common/index.d.ts +1 -1
  19. package/dist/src/common/services/i18n/resources/en.json +61 -1
  20. package/dist/src/common/services/i18n/resources/es.json +61 -1
  21. package/dist/src/common/services/i18n/resources/fil.json +61 -1
  22. package/dist/src/common/services/i18n/resources/index.d.ts +421 -0
  23. package/dist/src/common/services/i18n/resources/ja.json +61 -1
  24. package/dist/src/common/services/i18n/resources/ko.json +62 -1
  25. package/dist/src/common/services/i18n/resources/zh-cn.json +61 -1
  26. package/dist/src/common/services/i18n/resources/zh-tw.json +61 -1
  27. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +4 -1
  28. package/dist/src/common/styles/colorSet/PaletteColor_light.json +4 -1
  29. package/dist/src/common/styles/colorSet/UIColor.json +5 -1
  30. package/dist/src/common/styles/colorSet/index.d.ts +10 -0
  31. package/dist/src/common/styles/colorSet/ui-type.d.ts +4 -0
  32. package/dist/src/common/types/components.d.ts +9 -0
  33. package/dist/src/common/types/components.js +8 -0
  34. package/dist/src/common/types/index.d.ts +1 -1
  35. package/dist/src/common/types/index.js +1 -1
  36. package/dist/src/common/types/multilingual.d.ts +16 -0
  37. package/dist/src/common/types/text.d.ts +2 -0
  38. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  39. package/dist/src/common/utils/dateHelper.d.ts +3 -0
  40. package/dist/src/common/utils/dateHelper.js +37 -0
  41. package/dist/src/core/pricing/formatter.d.ts +4 -0
  42. package/dist/src/core/pricing/formatter.js +18 -0
  43. package/dist/src/core/pricing/index.d.ts +2 -0
  44. package/dist/src/core/pricing/index.js +18 -0
  45. package/dist/src/core/pricing/policy.d.ts +26 -0
  46. package/dist/src/core/pricing/policy.js +98 -0
  47. package/dist/src/core/pricing/service.d.ts +62 -0
  48. package/dist/src/core/pricing/service.js +157 -0
  49. package/dist/src/core/pricing/translator.d.ts +27 -0
  50. package/dist/src/core/pricing/translator.js +54 -0
  51. package/dist/src/core/pricing/types.d.ts +19 -0
  52. package/dist/src/core/pricing/types.js +31 -0
  53. package/dist/src/core/pricing/validator.d.ts +29 -0
  54. package/dist/src/core/pricing/validator.js +105 -0
  55. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +4 -1
  56. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +32 -23
  57. package/dist/src/desktop/components/AdminList/AdminList.js +15 -17
  58. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  59. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +6 -2
  60. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +67 -6
  61. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +6 -1
  62. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +70 -2
  63. package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +67 -0
  64. package/dist/src/desktop/components/BoxItem/BoxItem.js +107 -0
  65. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
  66. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +9 -0
  67. package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +11 -0
  68. package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +9 -0
  69. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
  70. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +36 -0
  71. package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +2 -0
  72. package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner → desktop/components/BoxItem/LeftBox}/index.js +3 -3
  73. package/dist/src/desktop/components/BoxItem/index.d.ts +1 -0
  74. package/dist/src/desktop/components/BoxItem/index.js +8 -0
  75. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +12 -0
  76. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +134 -0
  77. package/dist/src/desktop/components/Calendar/Calendar.d.ts +4 -0
  78. package/dist/src/desktop/components/Calendar/Calendar.js +394 -0
  79. package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +53 -0
  80. package/dist/src/desktop/components/Calendar/CalendarContext.js +77 -0
  81. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +7 -0
  82. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +48 -0
  83. package/dist/src/desktop/components/Calendar/DailyView.d.ts +8 -0
  84. package/dist/src/desktop/components/Calendar/DailyView.js +172 -0
  85. package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +29 -0
  86. package/dist/src/desktop/components/Calendar/MonthlyView.js +494 -0
  87. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +21 -0
  88. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +186 -0
  89. package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +25 -0
  90. package/dist/src/desktop/components/Calendar/ScheduleItem.js +56 -0
  91. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +12 -0
  92. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +184 -0
  93. package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +9 -0
  94. package/dist/src/desktop/components/Calendar/WeeklyView.js +204 -0
  95. package/dist/src/desktop/components/Calendar/YearlyView.d.ts +13 -0
  96. package/dist/src/desktop/components/Calendar/YearlyView.js +76 -0
  97. package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +24 -0
  98. package/dist/src/desktop/components/Calendar/calendarUtils.js +97 -0
  99. package/dist/src/desktop/components/Calendar/constants.d.ts +1 -0
  100. package/dist/src/desktop/components/Calendar/constants.js +31 -0
  101. package/dist/src/desktop/components/Calendar/index.d.ts +14 -0
  102. package/dist/src/desktop/components/Calendar/index.js +42 -0
  103. package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +18 -0
  104. package/dist/src/desktop/components/Calendar/timeFormatUtils.js +59 -0
  105. package/dist/src/desktop/components/Calendar/types.d.ts +65 -0
  106. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
  107. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
  108. package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
  109. package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +43 -0
  110. package/dist/src/desktop/components/PriceTextField/PriceTextField.js +604 -0
  111. package/dist/src/desktop/components/PriceTextField/index.d.ts +1 -0
  112. package/dist/src/desktop/components/PriceTextField/index.js +8 -0
  113. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
  114. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +47 -0
  115. package/dist/src/desktop/components/PriceTextLabel/index.d.ts +1 -0
  116. package/dist/src/desktop/components/PriceTextLabel/index.js +8 -0
  117. package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +17 -0
  118. package/dist/src/desktop/components/Snackbar/Snackbar.js +221 -0
  119. package/dist/src/desktop/components/Snackbar/index.d.ts +1 -0
  120. package/dist/src/desktop/components/Snackbar/index.js +8 -0
  121. package/dist/src/desktop/components/Snackbar/provider.d.ts +11 -0
  122. package/dist/src/desktop/components/Snackbar/provider.js +43 -0
  123. package/dist/src/desktop/components/TextButton/TextButton.d.ts +6 -3
  124. package/dist/src/desktop/components/TextButton/TextButton.js +67 -40
  125. package/dist/src/desktop/components/TextField/TextField.d.ts +2 -1
  126. package/dist/src/desktop/components/TextField/TextField.js +7 -7
  127. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -3
  128. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  129. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +56 -39
  130. package/dist/src/desktop/components/index.d.ts +6 -1
  131. package/dist/src/desktop/components/index.js +12 -1
  132. package/dist/src/desktop/index.d.ts +1 -1
  133. package/dist/src/desktop/index.js +7 -2
  134. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +1 -1
  135. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +1 -1
  136. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +1 -1
  137. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +8 -5
  138. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +17 -2
  139. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +37 -6
  140. package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.d.ts +11 -0
  141. package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.js +199 -0
  142. package/dist/src/desktop/panels/MultilingualModal/index.d.ts +1 -0
  143. package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList → desktop/panels/MultilingualModal}/index.js +3 -3
  144. package/dist/src/desktop/panels/index.d.ts +2 -1
  145. package/dist/src/desktop/panels/index.js +6 -1
  146. package/dist/src/hybrid/components/Divider/Divider.d.ts +3 -1
  147. package/dist/src/hybrid/components/Divider/Divider.js +9 -7
  148. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +3 -1
  149. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +26 -22
  150. package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +67 -0
  151. package/dist/src/mobile/components/BoxItem/BoxItem.js +106 -0
  152. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +7 -0
  153. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +9 -0
  154. package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +11 -0
  155. package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +9 -0
  156. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +11 -0
  157. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +36 -0
  158. package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +2 -0
  159. package/dist/src/mobile/components/BoxItem/LeftBox/index.js +8 -0
  160. package/dist/src/mobile/components/BoxItem/index.d.ts +1 -0
  161. package/dist/src/mobile/components/BoxItem/index.js +8 -0
  162. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +2 -3
  163. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +3 -8
  164. package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
  165. package/dist/src/mobile/components/PriceTextField/PriceTextField.d.ts +42 -0
  166. package/dist/src/mobile/components/PriceTextField/PriceTextField.js +591 -0
  167. package/dist/src/mobile/components/PriceTextField/index.d.ts +1 -0
  168. package/dist/src/mobile/components/PriceTextField/index.js +8 -0
  169. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.d.ts +14 -0
  170. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +47 -0
  171. package/dist/src/mobile/components/PriceTextLabel/index.d.ts +1 -0
  172. package/dist/src/mobile/components/PriceTextLabel/index.js +8 -0
  173. package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +17 -0
  174. package/dist/src/mobile/components/Snackbar/Snackbar.js +221 -0
  175. package/dist/src/mobile/components/Snackbar/index.d.ts +1 -0
  176. package/dist/src/mobile/components/Snackbar/index.js +8 -0
  177. package/dist/src/mobile/components/Snackbar/provider.d.ts +11 -0
  178. package/dist/src/mobile/components/Snackbar/provider.js +43 -0
  179. package/dist/src/mobile/components/TextButton/TextButton.d.ts +6 -3
  180. package/dist/src/mobile/components/TextButton/TextButton.js +55 -31
  181. package/dist/src/mobile/components/TextField/TextField.d.ts +2 -1
  182. package/dist/src/mobile/components/TextField/TextField.js +7 -7
  183. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -3
  184. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  185. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +44 -30
  186. package/dist/src/mobile/components/index.d.ts +5 -1
  187. package/dist/src/mobile/components/index.js +9 -1
  188. package/dist/src/mobile/index.d.ts +1 -1
  189. package/dist/src/mobile/index.js +6 -2
  190. package/dist/src/sub/AdminList/AdminList/AdminList.js +18 -17
  191. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +1 -4
  192. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +3 -5
  193. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +54 -54
  194. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +6 -0
  195. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +27 -0
  196. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  197. package/dist/src/sub/DynamicLayout/DynamicLayout.js +2 -4
  198. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +2 -24
  199. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  200. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +1 -3
  201. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +0 -40
  202. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +177 -36
  203. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +4 -152
  204. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +2 -150
  205. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +1 -45
  206. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +9 -262
  207. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +0 -593
  208. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +0 -253
  209. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +1 -3
  210. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +3 -5
  211. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +1 -2
  212. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +2 -9
  213. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +1 -0
  214. package/dist/src/sub/DynamicLayout/mock_video_cb.js +5 -4
  215. package/dist/src/sub/DynamicLayout/mocks.d.ts +961 -8
  216. package/dist/src/sub/DynamicLayout/mocks.js +4239 -55
  217. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  218. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  219. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
  220. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +3 -13
  221. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +2 -18
  222. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +4 -10
  223. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +3 -140
  224. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +3 -39
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +8 -49
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +28 -3
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +1 -0
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +15 -5
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +3 -55
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +10 -27
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +1 -3
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  236. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  237. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +2 -7
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +5 -16
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +0 -2
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +3 -53
  242. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  243. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +0 -1
  244. package/dist/src/sub/DynamicLayout/types.d.ts +17 -64
  245. package/package.json +2 -3
  246. package/release-note.md +2 -2
  247. package/dist/src/common/types/form.d.ts +0 -9
  248. package/dist/src/common/types/form.js +0 -10
  249. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +0 -22
  250. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +0 -1133
  251. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +0 -11
  252. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +0 -45
  253. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +0 -10
  254. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +0 -79
  255. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +0 -12
  256. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +0 -76
  257. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +0 -4
  258. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +0 -47
  259. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +0 -12
  260. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +0 -76
  261. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +0 -12
  262. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +0 -76
  263. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +0 -12
  264. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +0 -76
  265. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +0 -139
  266. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +0 -8
  267. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +0 -14
  268. package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +0 -911
  269. package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +0 -4238
  270. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +0 -3
  271. package/dist/src/sub/DynamicLayout/mock_composition.js +0 -1607
  272. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +0 -1
  273. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +0 -1111
  274. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +0 -1
  275. package/dist/src/sub/DynamicLayout/mock_contentsList.js +0 -1091
  276. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +0 -96
  277. package/dist/src/sub/DynamicLayout/mock_queryData.js +0 -2639
  278. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +0 -842
  279. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +0 -854
  280. package/dist/src/sub/DynamicLayout/mock_video.d.ts +0 -368
  281. package/dist/src/sub/DynamicLayout/mock_video.js +0 -371
  282. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +0 -12
  283. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +0 -61
  284. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +0 -15
  285. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +0 -69
  286. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +0 -15
  287. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +0 -69
  288. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +0 -9
  289. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +0 -87
  290. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +0 -4
  291. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +0 -849
  292. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +0 -43
  293. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +0 -162
  294. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +0 -39
  295. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +0 -182
  296. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +0 -18
  297. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +0 -229
  298. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +0 -14
  299. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +0 -46
  300. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +0 -1
  301. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +0 -8
  302. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +0 -139
  303. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +0 -14
  304. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +0 -214
  305. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +0 -17
  306. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +0 -39
  307. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +0 -10
  308. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +0 -85
  309. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +0 -25
  310. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +0 -183
  311. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +0 -29
  312. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +0 -130
  313. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +0 -18
  314. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +0 -229
  315. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +0 -1
  316. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +0 -67
  317. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +0 -2
  318. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +0 -14
  319. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +0 -151
  320. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +0 -12
  321. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +0 -39
  322. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +0 -15
  323. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +0 -69
  324. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +0 -15
  325. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +0 -69
  326. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +0 -20
  327. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +0 -173
  328. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +0 -9
  329. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +0 -87
  330. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +0 -4
  331. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +0 -849
  332. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +0 -43
  333. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +0 -162
  334. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +0 -18
  335. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +0 -229
  336. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +0 -16
  337. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +0 -63
  338. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +0 -1
  339. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +0 -46
  340. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +0 -186
  341. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +0 -163
  342. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +0 -2
  343. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.d.ts +0 -7
  344. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.js +0 -211
  345. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +0 -14
  346. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +0 -26
  347. /package/dist/src/{sub/DynamicLayout/compositionActionTypes.js → common/types/multilingual.js} +0 -0
  348. /package/dist/src/{sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel → desktop/components/Calendar}/types.js +0 -0
@@ -1,186 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.parseSlideBannerStyleToCustomProgressbarProp = exports.parseSlideBannerStyleToCustomNavigationProp = exports.parseSlideBannerStyleToCustomPaginationProp = exports.parseSlideBannerStyleToSlideBannerCoreProp = exports.getCustomPaginationPropKey = exports.getCustomProgressbarPropKey = exports.getCustomNavigationPropKey = exports.getSlideBannerCorePropKey = void 0;
4
- function getStyle(value) {
5
- switch (value) {
6
- case 'DESIGN1':
7
- return undefined;
8
- case 'DESIGN2': {
9
- return undefined;
10
- }
11
- default: {
12
- return undefined;
13
- }
14
- }
15
- }
16
- function getSlideBannerCorePropKey(key) {
17
- var baseKey = key.split(':')[0];
18
- var keyMapping = {
19
- CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE: 'customStyle',
20
- CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE: 'useAutoplay',
21
- CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME: 'autoplay',
22
- CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL: 'loop'
23
- };
24
- return keyMapping[baseKey] || null;
25
- }
26
- exports.getSlideBannerCorePropKey = getSlideBannerCorePropKey;
27
- function getCustomNavigationPropKey(key) {
28
- var baseKey = key.split(':')[0];
29
- var keyMapping = {
30
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE: 'prevBtnType',
31
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION: 'prevBtnLocation',
32
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE: 'prevBtnSize',
33
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR: 'prevBtnPrimaryColor',
34
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR: 'prevBtnSecondaryColor',
35
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE: 'nextBtnType',
36
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION: 'nextBtnLocation',
37
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE: 'nextBtnSize',
38
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR: 'nextBtnPrimaryColor',
39
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR: 'nextBtnSecondaryColor'
40
- };
41
- return keyMapping[baseKey] || null;
42
- }
43
- exports.getCustomNavigationPropKey = getCustomNavigationPropKey;
44
- function getCustomProgressbarPropKey(key) {
45
- var baseKey = key.split(':')[0];
46
- var keyMapping = {
47
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR: 'type',
48
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE: 'size',
49
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR: 'primaryColor',
50
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR: 'secondaryColor'
51
- };
52
- return keyMapping[baseKey] || null;
53
- }
54
- exports.getCustomProgressbarPropKey = getCustomProgressbarPropKey;
55
- function getCustomPaginationPropKey(key) {
56
- var baseKey = key.split(':')[0];
57
- var keyMapping = {
58
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE: 'type',
59
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE: 'size',
60
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION: 'location',
61
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR: 'primaryColor',
62
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR: 'secondaryColor'
63
- };
64
- return keyMapping[baseKey] || null;
65
- }
66
- exports.getCustomPaginationPropKey = getCustomPaginationPropKey;
67
- var transformValue = function (key, value) {
68
- var _a, _b, _c, _d;
69
- switch (key) {
70
- case 'customStyle':
71
- return _a = {}, _a[key] = getStyle(value), _a;
72
- case 'useAutoplay':
73
- return _b = {}, _b[key] = value === true, _b;
74
- case 'autoplay':
75
- return {
76
- autoplay: {
77
- delay: value * 1000,
78
- disableOnInteraction: false,
79
- pauseOnMouseEnter: true
80
- }
81
- };
82
- case 'loop':
83
- return _c = {}, _c[key] = value, _c;
84
- default:
85
- return _d = {}, _d[key] = value, _d;
86
- }
87
- };
88
- function parseSlideBannerStyleToSlideBannerCoreProp(_a) {
89
- var props = _a.props, device = _a.device;
90
- var normalStyle = {};
91
- var hoverStyle = {};
92
- var baseKeys = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
93
- baseKeys.forEach(function (baseKey) {
94
- var customNavKey = getSlideBannerCorePropKey(baseKey);
95
- if (customNavKey) {
96
- var deviceKey = device === 'DESKTOP' ? baseKey : "".concat(baseKey, ":MOBILE");
97
- var hoverKey = "".concat(deviceKey, ":HOVER");
98
- var normalValue = props[deviceKey];
99
- var hoverValue = props[hoverKey];
100
- if (normalValue !== undefined) {
101
- Object.assign(normalStyle, transformValue(customNavKey, normalValue));
102
- }
103
- Object.assign(hoverStyle, transformValue(customNavKey, hoverValue !== null && hoverValue !== void 0 ? hoverValue : normalValue));
104
- }
105
- });
106
- return {
107
- normalStyle: normalStyle,
108
- hoverStyle: hoverStyle
109
- };
110
- }
111
- exports.parseSlideBannerStyleToSlideBannerCoreProp = parseSlideBannerStyleToSlideBannerCoreProp;
112
- function parseSlideBannerStyleToCustomPaginationProp(_a) {
113
- var props = _a.props, device = _a.device;
114
- var normalStyle = {};
115
- var hoverStyle = {};
116
- var baseKeys = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
117
- baseKeys.forEach(function (baseKey) {
118
- var _a, _b;
119
- var customNavKey = getCustomPaginationPropKey(baseKey);
120
- if (customNavKey) {
121
- var deviceKey = device === 'DESKTOP' ? baseKey : "".concat(baseKey, ":MOBILE");
122
- var hoverKey = "".concat(deviceKey, ":HOVER");
123
- var normalValue = props[deviceKey];
124
- var hoverValue = props[hoverKey];
125
- if (normalValue !== undefined) {
126
- Object.assign(normalStyle, (_a = {}, _a[customNavKey] = normalValue, _a));
127
- }
128
- Object.assign(hoverStyle, (_b = {}, _b[customNavKey] = hoverValue !== null && hoverValue !== void 0 ? hoverValue : normalValue, _b));
129
- }
130
- });
131
- return {
132
- normalStyle: normalStyle,
133
- hoverStyle: hoverStyle
134
- };
135
- }
136
- exports.parseSlideBannerStyleToCustomPaginationProp = parseSlideBannerStyleToCustomPaginationProp;
137
- function parseSlideBannerStyleToCustomNavigationProp(_a) {
138
- var props = _a.props, device = _a.device;
139
- var normalStyle = {};
140
- var hoverStyle = {};
141
- var baseKeys = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
142
- baseKeys.forEach(function (baseKey) {
143
- var _a, _b;
144
- var customNavKey = getCustomNavigationPropKey(baseKey);
145
- if (customNavKey) {
146
- var deviceKey = device === 'DESKTOP' ? baseKey : "".concat(baseKey, ":MOBILE");
147
- var hoverKey = "".concat(deviceKey, ":HOVER");
148
- var normalValue = props[deviceKey];
149
- var hoverValue = props[hoverKey];
150
- if (normalValue !== undefined) {
151
- Object.assign(normalStyle, (_a = {}, _a[customNavKey] = normalValue, _a));
152
- }
153
- Object.assign(hoverStyle, (_b = {}, _b[customNavKey] = hoverValue !== null && hoverValue !== void 0 ? hoverValue : normalValue, _b));
154
- }
155
- });
156
- return {
157
- normalStyle: normalStyle,
158
- hoverStyle: hoverStyle
159
- };
160
- }
161
- exports.parseSlideBannerStyleToCustomNavigationProp = parseSlideBannerStyleToCustomNavigationProp;
162
- function parseSlideBannerStyleToCustomProgressbarProp(_a) {
163
- var props = _a.props, device = _a.device;
164
- var normalStyle = {};
165
- var hoverStyle = {};
166
- var baseKeys = Object.keys(props).filter(function (key) { return !key.includes(':HOVER') && !key.includes(':MOBILE'); });
167
- baseKeys.forEach(function (baseKey) {
168
- var _a, _b;
169
- var customNavKey = getCustomProgressbarPropKey(baseKey);
170
- if (customNavKey) {
171
- var deviceKey = device === 'DESKTOP' ? baseKey : "".concat(baseKey, ":MOBILE");
172
- var hoverKey = "".concat(deviceKey, ":HOVER");
173
- var normalValue = props[deviceKey];
174
- var hoverValue = props[hoverKey];
175
- if (normalValue !== undefined) {
176
- Object.assign(normalStyle, (_a = {}, _a[customNavKey] = normalValue, _a));
177
- }
178
- Object.assign(hoverStyle, (_b = {}, _b[customNavKey] = hoverValue !== null && hoverValue !== void 0 ? hoverValue : normalValue, _b));
179
- }
180
- });
181
- return {
182
- normalStyle: normalStyle,
183
- hoverStyle: hoverStyle
184
- };
185
- }
186
- exports.parseSlideBannerStyleToCustomProgressbarProp = parseSlideBannerStyleToCustomProgressbarProp;
@@ -1,163 +0,0 @@
1
- import type { NUMBER_INTEGER } from '../../../../../../../DynamicLayout/sections/CustomSection/util/types';
2
- import type { SwiperProps } from 'swiper/react';
3
- export type SlideBannerPropsKeys = keyof CB_STYLE_PROP_SLIDEBANNER_SPECS;
4
- export type OUTSET_POSTIION = 'OUTSET1' | 'OUTSET2' | 'OUTSET3' | 'OUTSET4' | 'OUTSET5' | 'OUTSET6' | 'OUTSET7' | 'OUTSET8' | 'OUTSET9' | 'OUTSET10' | 'OUTSET11' | 'OUTSET12';
5
- export type INSET_POSTIION = 'INSET1' | 'INSET2' | 'INSET3' | 'INSET4' | 'INSET5' | 'INSET6' | 'INSET7' | 'INSET8';
6
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE = 'DESIGN1' | 'DESIGN2';
7
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE = boolean;
8
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8' | 'DESIGN9' | 'DESIGN10' | 'DESIGN11' | 'DESIGN12' | 'DESIGN13' | 'DESIGN14' | 'DESIGN15' | 'DESIGN16';
9
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE = OUTSET_POSTIION | INSET_POSTIION;
10
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
11
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR = string;
12
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR = string;
13
- export type CB_STYLE_PROP_SLIDEBANNER_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';
14
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE = OUTSET_POSTIION | INSET_POSTIION;
15
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
16
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR = string;
17
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR = string;
18
- export type CB_STYLE_PROP_SLIDEBANNER_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';
19
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE = OUTSET_POSTIION | INSET_POSTIION;
20
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
21
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR = string;
22
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR = string;
23
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE = 'NONE' | 'DESIGN1' | 'DESIGN2' | 'DESIGN3' | 'DESIGN4' | 'DESIGN5' | 'DESIGN6' | 'DESIGN7' | 'DESIGN8';
24
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE = 'SMALL' | 'MEDIUM' | 'LARGE';
25
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR = string;
26
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR = string;
27
- export type CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE = boolean;
28
- export type CB_STYLE_PROP_SLIDEBANNER_SPECS_BASE = {
29
- CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE: CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE;
30
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE;
31
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION: CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE;
32
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE;
33
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR;
34
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR;
35
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE;
36
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE;
37
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE;
38
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR;
39
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR;
40
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE: CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE;
41
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION: CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE;
42
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE: CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE;
43
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR;
44
- CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR;
45
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE;
46
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE: CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE;
47
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR;
48
- CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR;
49
- CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE: CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE;
50
- CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME: NUMBER_INTEGER;
51
- CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL: CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE;
52
- };
53
- export type CB_STYLE_PROP_SLIDEBANNER_SPECS = CB_STYLE_PROP_SLIDEBANNER_SPECS_BASE & {
54
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE;
55
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE;
56
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_STYLE_TYPE;
57
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE;
58
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE;
59
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE;
60
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE;
61
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE;
62
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONLOCATION_TYPE;
63
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE;
64
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE;
65
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSIZE_TYPE;
66
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR;
67
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR;
68
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONPRIMARYCOLOR;
69
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR;
70
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR;
71
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSECONDARYCOLOR;
72
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE;
73
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE;
74
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE;
75
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE;
76
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE;
77
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNLOCATION_TYPE;
78
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE;
79
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE;
80
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSIZE_TYPE;
81
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR;
82
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR;
83
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNPRIMARYCOLOR;
84
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR;
85
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR;
86
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSECONDARYCOLOR;
87
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE;
88
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE;
89
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE;
90
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE;
91
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE;
92
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNLOCATION:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC__NEXTBTNLOCATION_TYPE;
93
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE;
94
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE;
95
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSIZE_TYPE;
96
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR;
97
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR;
98
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNPRIMARYCOLOR;
99
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR;
100
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR;
101
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSECONDARYCOLOR;
102
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE;
103
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE;
104
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE;
105
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE;
106
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE;
107
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSIZE_TYPE;
108
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR;
109
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR;
110
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARPRIMARYCOLOR;
111
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR;
112
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR;
113
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBARSECONDARYCOLOR;
114
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE;
115
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE;
116
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYUSE_TYPE;
117
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:HOVER': NUMBER_INTEGER;
118
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:MOBILE': NUMBER_INTEGER;
119
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_AUTOPLAYTIME:MOBILE:HOVER': NUMBER_INTEGER;
120
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE;
121
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL:MOBILE': CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE;
122
- 'CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL:MOBILE:HOVER': CB_STYLE_PROP_SLIDEBANNER_SPEC_INFINITESCROLL_TYPE;
123
- };
124
- export interface CustomNavigationProps {
125
- prevBtnDisabled?: boolean;
126
- prevBtnType?: CB_STYLE_PROP_SLIDEBANNER_SPEC_PREVBTNSTYLE_TYPE;
127
- prevBtnLocation?: OUTSET_POSTIION | INSET_POSTIION;
128
- prevBtnSize?: 'SMALL' | 'MEDIUM' | 'LARGE';
129
- prevBtnPrimaryColor?: string;
130
- prevBtnSecondaryColor?: string;
131
- nextBtnDisabled?: boolean;
132
- nextBtnType?: CB_STYLE_PROP_SLIDEBANNER_SPEC_NEXTBTNSTYLE_TYPE;
133
- nextBtnLocation?: OUTSET_POSTIION | INSET_POSTIION;
134
- nextBtnSize?: 'SMALL' | 'MEDIUM' | 'LARGE';
135
- nextBtnPrimaryColor?: string;
136
- nextBtnSecondaryColor?: string;
137
- onPrevBtnClick?: () => void;
138
- onNextBtnClick?: () => void;
139
- }
140
- export interface CustomProgressbarProps {
141
- type?: CB_STYLE_PROP_SLIDEBANNER_SPEC_PROGRESSBAR_TYPE;
142
- size?: 'SMALL' | 'MEDIUM' | 'LARGE';
143
- primaryColor?: string;
144
- secondaryColor?: string;
145
- }
146
- export interface CustomPaginationProps {
147
- current?: number;
148
- total?: number;
149
- type?: CB_STYLE_PROP_SLIDEBANNER_SPEC_PAGINATIONSTYLE_TYPE;
150
- location?: OUTSET_POSTIION | INSET_POSTIION;
151
- size?: 'SMALL' | 'MEDIUM' | 'LARGE';
152
- primaryColor?: string;
153
- secondaryColor?: string;
154
- }
155
- export type CoreSlideBannerProps = {
156
- scrollbar?: SwiperProps['scrollbar'];
157
- slidesPerGroup?: SwiperProps['slidesPerGroup'];
158
- spaceBetween?: SwiperProps['spaceBetween'];
159
- freeMode?: SwiperProps['freeMode'];
160
- autoplay?: SwiperProps['autoplay'];
161
- useAutoplay?: boolean;
162
- loop?: SwiperProps['loop'];
163
- };
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +0,0 @@
1
- type Formatter = (value: string) => string;
2
- export declare const TEXT_SPEC_FORMAT_OPRIONS: Record<string, {
3
- name: string;
4
- description: string;
5
- formatter: Formatter;
6
- } | undefined>;
7
- export {};
@@ -1,211 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.TEXT_SPEC_FORMAT_OPRIONS = void 0;
4
- exports.TEXT_SPEC_FORMAT_OPRIONS = {
5
- TYPE1: {
6
- name: 'Thousands comma, No decimal',
7
- description: '천단위 콤마, 소숫점 없음 (반올림)',
8
- formatter: function (value) {
9
- var num = Number(value);
10
- if (isNaN(num))
11
- return value; // Return original if not a number
12
- return new Intl.NumberFormat('en-US', {
13
- maximumFractionDigits: 0
14
- }).format(num);
15
- }
16
- },
17
- TYPE2: {
18
- name: 'Thousands comma, 1 decimal place',
19
- description: '천단위 콤마, 소숫점 1자리 (반올림)',
20
- formatter: function (value) {
21
- var num = Number(value);
22
- if (isNaN(num))
23
- return value; // Return original if not a number
24
- return new Intl.NumberFormat('en-US', {
25
- minimumFractionDigits: 1,
26
- maximumFractionDigits: 1
27
- }).format(num);
28
- }
29
- },
30
- TYPE3: {
31
- name: 'Thousands comma, 2 decimal places',
32
- description: '천단위 콤마, 소숫점 2자리 (반올림)',
33
- formatter: function (value) {
34
- var num = Number(value);
35
- if (isNaN(num))
36
- return value; // Return original if not a number
37
- return new Intl.NumberFormat('en-US', {
38
- minimumFractionDigits: 2,
39
- maximumFractionDigits: 2
40
- }).format(num);
41
- }
42
- },
43
- TYPE4: {
44
- name: 'Date (YYYY/MM/DD)',
45
- description: '날짜 (YYYY/MM/dd)',
46
- formatter: function (value) {
47
- var d = new Date(value);
48
- if (isNaN(d.getTime()))
49
- return value; // Return original if invalid date
50
- var yyyy = d.getFullYear();
51
- var mm = String(d.getMonth() + 1).padStart(2, '0');
52
- var dd = String(d.getDate()).padStart(2, '0');
53
- return "".concat(yyyy, "/").concat(mm, "/").concat(dd);
54
- }
55
- },
56
- TYPE5: {
57
- name: 'Date (YYYY-MM-DD)',
58
- description: '날짜 (YYYY-MM-dd)',
59
- formatter: function (value) {
60
- var d = new Date(value);
61
- if (isNaN(d.getTime()))
62
- return value;
63
- var yyyy = d.getFullYear();
64
- var mm = String(d.getMonth() + 1).padStart(2, '0');
65
- var dd = String(d.getDate()).padStart(2, '0');
66
- return "".concat(yyyy, "-").concat(mm, "-").concat(dd);
67
- }
68
- },
69
- TYPE6: {
70
- name: 'Date (YYYY. MM. DD)',
71
- description: '날짜 (YYYY. MM. dd)',
72
- formatter: function (value) {
73
- var d = new Date(value);
74
- if (isNaN(d.getTime()))
75
- return value;
76
- var yyyy = d.getFullYear();
77
- var mm = String(d.getMonth() + 1).padStart(2, '0');
78
- var dd = String(d.getDate()).padStart(2, '0');
79
- return "".concat(yyyy, ". ").concat(mm, ". ").concat(dd);
80
- }
81
- },
82
- TYPE7: {
83
- name: 'Date (YY/MM/DD)',
84
- description: '날짜 (YY/MM/dd)',
85
- formatter: function (value) {
86
- var d = new Date(value);
87
- if (isNaN(d.getTime()))
88
- return value;
89
- var yy = String(d.getFullYear()).slice(-2);
90
- var mm = String(d.getMonth() + 1).padStart(2, '0');
91
- var dd = String(d.getDate()).padStart(2, '0');
92
- return "".concat(yy, "/").concat(mm, "/").concat(dd);
93
- }
94
- },
95
- TYPE8: {
96
- name: 'Date (MM/DD/YY)',
97
- description: '날짜 (MM/dd/YY)',
98
- formatter: function (value) {
99
- var d = new Date(value);
100
- if (isNaN(d.getTime()))
101
- return value;
102
- var yy = String(d.getFullYear()).slice(-2);
103
- var mm = String(d.getMonth() + 1).padStart(2, '0');
104
- var dd = String(d.getDate()).padStart(2, '0');
105
- return "".concat(mm, "/").concat(dd, "/").concat(yy);
106
- }
107
- },
108
- TYPE9: {
109
- name: 'Date (DD/MM/YY)',
110
- description: '날짜 (dd/MM/YY)',
111
- formatter: function (value) {
112
- var d = new Date(value);
113
- if (isNaN(d.getTime()))
114
- return value;
115
- var yy = String(d.getFullYear()).slice(-2);
116
- var mm = String(d.getMonth() + 1).padStart(2, '0');
117
- var dd = String(d.getDate()).padStart(2, '0');
118
- return "".concat(dd, "/").concat(mm, "/").concat(yy);
119
- }
120
- },
121
- TYPE10: {
122
- name: 'Date (YYYY-MM-DD Korean)',
123
- description: '날짜 (YYYY년 MM월 dd일)',
124
- formatter: function (value) {
125
- var d = new Date(value);
126
- if (isNaN(d.getTime()))
127
- return value;
128
- var yyyy = d.getFullYear();
129
- var mm = d.getMonth() + 1;
130
- var dd = d.getDate();
131
- return "".concat(yyyy, "\uB144 ").concat(mm, "\uC6D4 ").concat(dd, "\uC77C");
132
- }
133
- },
134
- TYPE11: {
135
- name: 'Date (DD MMM)',
136
- description: '날짜 (dd MMM)',
137
- formatter: function (value) {
138
- var d = new Date(value);
139
- if (isNaN(d.getTime()))
140
- return value;
141
- var dd = String(d.getDate()).padStart(2, '0');
142
- var mmm = d.toLocaleString('en-US', { month: 'short' });
143
- return "".concat(dd, " ").concat(mmm);
144
- }
145
- },
146
- TYPE12: {
147
- name: 'Date (MM. DD)',
148
- description: '날짜 (MM. dd)',
149
- formatter: function (value) {
150
- var d = new Date(value);
151
- if (isNaN(d.getTime()))
152
- return value;
153
- var mm = String(d.getMonth() + 1).padStart(2, '0');
154
- var dd = String(d.getDate()).padStart(2, '0');
155
- return "".concat(mm, ". ").concat(dd);
156
- }
157
- },
158
- TYPE13: {
159
- name: 'Datetime (YYYY.MM.DD HH:mm:ss)',
160
- description: '날짜 (YYYY.MM.dd hh:mm:ss)',
161
- formatter: function (value) {
162
- // FIX: Return original value if time info is missing.
163
- if (!value.includes('T') && !value.includes(':')) {
164
- return value;
165
- }
166
- var d = new Date(value);
167
- if (isNaN(d.getTime()))
168
- return value;
169
- var yyyy = d.getFullYear();
170
- var mm = String(d.getMonth() + 1).padStart(2, '0');
171
- var dd = String(d.getDate()).padStart(2, '0');
172
- var hh = String(d.getHours()).padStart(2, '0');
173
- var min = String(d.getMinutes()).padStart(2, '0');
174
- var ss = String(d.getSeconds()).padStart(2, '0');
175
- return "".concat(yyyy, ".").concat(mm, ".").concat(dd, " ").concat(hh, ":").concat(min, ":").concat(ss);
176
- }
177
- },
178
- TYPE14: {
179
- name: 'Time (HH:mm:ss)',
180
- description: '시간 (hh:mm:ss)',
181
- formatter: function (value) {
182
- // FIX: Return original value if time info is missing.
183
- if (!value.includes('T') && !value.includes(':')) {
184
- return value;
185
- }
186
- var d = new Date(value);
187
- if (isNaN(d.getTime()))
188
- return value;
189
- var hh = String(d.getHours()).padStart(2, '0');
190
- var min = String(d.getMinutes()).padStart(2, '0');
191
- var ss = String(d.getSeconds()).padStart(2, '0');
192
- return "".concat(hh, ":").concat(min, ":").concat(ss);
193
- }
194
- },
195
- TYPE15: {
196
- name: 'Time (HH:mm)',
197
- description: '시간 (hh:mm)',
198
- formatter: function (value) {
199
- // FIX: Return original value if time info is missing.
200
- if (!value.includes('T') && !value.includes(':')) {
201
- return value;
202
- }
203
- var d = new Date(value);
204
- if (isNaN(d.getTime()))
205
- return value;
206
- var hh = String(d.getHours()).padStart(2, '0');
207
- var min = String(d.getMinutes()).padStart(2, '0');
208
- return "".concat(hh, ":").concat(min);
209
- }
210
- }
211
- };
@@ -1,14 +0,0 @@
1
- import type { ICompositionJsonProperties } from '../../../../DynamicLayout/types';
2
- type Props = {
3
- isMobile: boolean;
4
- compositionProps: ICompositionJsonProperties['data']['CB_PLACEMENT_PROP_COMPOSITION'];
5
- };
6
- declare function parseCompositionPlacement({ isMobile, compositionProps }: Props): {
7
- minHeight: number | null;
8
- maxHeight: number | null;
9
- minWidth: number | null;
10
- maxWidth: number | null;
11
- rows: number;
12
- columns: number;
13
- };
14
- export default parseCompositionPlacement;
@@ -1,26 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- function parseCompositionPlacement(_a) {
4
- var _b, _c, _d, _e, _f, _g;
5
- var isMobile = _a.isMobile, compositionProps = _a.compositionProps;
6
- var CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT, CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT, CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH, CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH, CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS, CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS = compositionProps.CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS;
7
- if (isMobile) {
8
- return {
9
- minHeight: (_b = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT:MOBILE']) !== null && _b !== void 0 ? _b : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT,
10
- maxHeight: (_c = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT:MOBILE']) !== null && _c !== void 0 ? _c : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT,
11
- minWidth: (_d = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH:MOBILE']) !== null && _d !== void 0 ? _d : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH,
12
- maxWidth: (_e = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH:MOBILE']) !== null && _e !== void 0 ? _e : CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH,
13
- rows: (_f = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS:MOBILE']) !== null && _f !== void 0 ? _f : CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS,
14
- columns: (_g = compositionProps['CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS:MOBILE']) !== null && _g !== void 0 ? _g : CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS
15
- };
16
- }
17
- return {
18
- minHeight: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT,
19
- maxHeight: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT,
20
- minWidth: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH,
21
- maxWidth: CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH,
22
- rows: CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS,
23
- columns: CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS
24
- };
25
- }
26
- exports.default = parseCompositionPlacement;