pds-dev-kit-web-test 2.7.92 → 2.7.94

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 (679) hide show
  1. package/dist/index.d.ts +7 -7
  2. package/dist/index.js +3 -16
  3. package/dist/src/common/assets/icons/fill/index.d.ts +0 -2
  4. package/dist/src/common/assets/icons/fill/index.js +1 -5
  5. package/dist/src/common/assets/icons/line/index.d.ts +0 -3
  6. package/dist/src/common/assets/icons/line/index.js +1 -7
  7. package/dist/src/common/hooks/useTooltip.js +1 -1
  8. package/dist/src/common/index.d.ts +1 -1
  9. package/dist/src/common/services/i18n/i18n.d.ts +2 -2
  10. package/dist/src/common/services/i18n/i18n.js +7 -10
  11. package/dist/src/common/services/i18n/resources/en.json +2 -71
  12. package/dist/src/common/services/i18n/resources/es.json +1 -70
  13. package/dist/src/common/services/i18n/resources/fil.json +2 -64
  14. package/dist/src/common/services/i18n/resources/index.d.ts +0 -476
  15. package/dist/src/common/services/i18n/resources/ja.json +1 -70
  16. package/dist/src/common/services/i18n/resources/ko.json +1 -70
  17. package/dist/src/common/services/i18n/resources/zh-cn.json +2 -71
  18. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -70
  19. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -4
  20. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -4
  21. package/dist/src/common/styles/colorSet/UIColor.json +1 -6
  22. package/dist/src/common/styles/colorSet/index.d.ts +124 -135
  23. package/dist/src/common/styles/colorSet/index.js +2 -2
  24. package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -5
  25. package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +0 -2
  26. package/dist/src/common/styles/scroll/scrollbarStyle.js +3 -4
  27. package/dist/src/common/types/components.d.ts +0 -9
  28. package/dist/src/common/types/components.js +0 -8
  29. package/dist/src/common/types/form.d.ts +9 -0
  30. package/dist/src/common/types/form.js +10 -0
  31. package/dist/src/common/types/index.d.ts +1 -1
  32. package/dist/src/common/types/index.js +1 -1
  33. package/dist/src/common/types/text.d.ts +0 -2
  34. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  35. package/dist/src/common/utils/dateHelper.d.ts +0 -3
  36. package/dist/src/common/utils/dateHelper.js +0 -37
  37. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +1 -4
  38. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +23 -32
  39. package/dist/src/desktop/components/AdminList/AdminList.d.ts +1 -11
  40. package/dist/src/desktop/components/AdminList/AdminList.js +19 -47
  41. package/dist/src/desktop/components/AdminList/BulkActionBar.js +2 -2
  42. package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +1 -10
  43. package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
  44. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +1 -3
  45. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +2 -3
  46. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -2
  47. package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +4 -4
  48. package/dist/src/desktop/components/AdminListItem/AdminListItem.d.ts +0 -2
  49. package/dist/src/desktop/components/AdminListItem/AdminListItem.js +3 -10
  50. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  51. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +2 -5
  52. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +6 -17
  53. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +1 -4
  54. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +2 -22
  55. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
  56. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
  57. package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
  58. package/dist/src/desktop/components/ContextMenu/ContextMenu.d.ts +1 -3
  59. package/dist/src/desktop/components/ContextMenu/ContextMenu.js +7 -38
  60. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +1 -1
  61. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +8 -21
  62. package/dist/src/desktop/components/Dropdown/Dropdown.d.ts +1 -3
  63. package/dist/src/desktop/components/Dropdown/Dropdown.js +6 -6
  64. package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.d.ts +1 -3
  65. package/dist/src/desktop/components/EditApplyTextField/EditApplyTextField.js +10 -19
  66. package/dist/src/desktop/components/TextButton/TextButton.d.ts +3 -6
  67. package/dist/src/desktop/components/TextButton/TextButton.js +40 -67
  68. package/dist/src/desktop/components/TextField/TextField.d.ts +1 -4
  69. package/dist/src/desktop/components/TextField/TextField.js +14 -24
  70. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -3
  71. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  72. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +39 -56
  73. package/dist/src/desktop/components/index.d.ts +1 -8
  74. package/dist/src/desktop/components/index.js +1 -16
  75. package/dist/src/desktop/index.d.ts +2 -2
  76. package/dist/src/desktop/index.js +2 -10
  77. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +1 -1
  78. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +1 -1
  79. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +1 -1
  80. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +5 -8
  81. package/dist/src/desktop/panels/ContentSheet/ContentSheet.d.ts +1 -4
  82. package/dist/src/desktop/panels/ContentSheet/ContentSheet.js +3 -11
  83. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +1 -2
  84. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +15 -13
  85. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.d.ts +1 -3
  86. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.js +10 -16
  87. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +3 -19
  88. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +31 -42
  89. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +1 -3
  90. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +5 -11
  91. package/dist/src/desktop/panels/SectionSheet/SectionSheet.d.ts +1 -4
  92. package/dist/src/desktop/panels/SectionSheet/SectionSheet.js +3 -11
  93. package/dist/src/desktop/panels/index.d.ts +1 -2
  94. package/dist/src/desktop/panels/index.js +1 -6
  95. package/dist/src/hybrid/components/Divider/Divider.d.ts +1 -3
  96. package/dist/src/hybrid/components/Divider/Divider.js +7 -9
  97. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +1 -3
  98. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +22 -26
  99. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
  100. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
  101. package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
  102. package/dist/src/mobile/components/ContextMenu/ContextMenu.d.ts +1 -3
  103. package/dist/src/mobile/components/ContextMenu/ContextMenu.js +7 -38
  104. package/dist/src/mobile/components/DatePicker/DatePicker.js +2 -2
  105. package/dist/src/mobile/components/Dropdown/Dropdown.d.ts +1 -3
  106. package/dist/src/mobile/components/Dropdown/Dropdown.js +6 -6
  107. package/dist/src/mobile/components/MobileTabBar/MobileTabBar.d.ts +1 -3
  108. package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +13 -36
  109. package/dist/src/mobile/components/TextButton/TextButton.d.ts +3 -6
  110. package/dist/src/mobile/components/TextButton/TextButton.js +31 -55
  111. package/dist/src/mobile/components/TextField/TextField.d.ts +1 -2
  112. package/dist/src/mobile/components/TextField/TextField.js +8 -9
  113. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -3
  114. package/dist/src/mobile/components/TextLabel/TextLabel.js +1 -3
  115. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  116. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +30 -44
  117. package/dist/src/mobile/components/index.d.ts +1 -6
  118. package/dist/src/mobile/components/index.js +1 -11
  119. package/dist/src/mobile/index.d.ts +1 -1
  120. package/dist/src/mobile/index.js +2 -7
  121. package/dist/src/mobile/panels/ContentSheet/ContentSheet.d.ts +1 -4
  122. package/dist/src/mobile/panels/ContentSheet/ContentSheet.js +3 -11
  123. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.d.ts +1 -3
  124. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +7 -14
  125. package/dist/src/mobile/panels/SectionSheet/SectionSheet.d.ts +1 -4
  126. package/dist/src/mobile/panels/SectionSheet/SectionSheet.js +3 -11
  127. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +1 -10
  128. package/dist/src/sub/AdminList/AdminList/AdminList.js +20 -51
  129. package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -10
  130. package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
  131. package/dist/src/sub/AdminList/AdminListHeader/HeaderBar.js +2 -2
  132. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.d.ts +0 -2
  133. package/dist/src/sub/AdminList/AdminListItem/AdminListItem.js +5 -15
  134. package/dist/src/sub/AdminList/BulkActionBar/BulkActionBar.js +2 -2
  135. package/dist/src/sub/AdminList/ToolBar/ToolBar.d.ts +1 -2
  136. package/dist/src/sub/AdminList/ToolBar/ToolBar.js +3 -3
  137. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +22 -0
  138. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1134 -0
  139. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
  140. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +5 -3
  141. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +123 -55
  142. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
  143. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
  144. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.d.ts +6 -2
  145. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItem.js +11 -15
  146. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.d.ts +14 -0
  147. package/dist/src/sub/DynamicLayout/CompositionRenderer/FlexGridItemForCCB.js +68 -0
  148. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +10 -0
  149. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +79 -0
  150. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  151. package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -2
  152. package/dist/src/sub/DynamicLayout/GridAutoRowEditor/GridAutoRowEditor.d.ts +9 -0
  153. package/dist/src/sub/DynamicLayout/GridAutoRowEditor/GridAutoRowEditor.js +356 -0
  154. package/dist/src/sub/DynamicLayout/components/EditModeSectionMatcher/SectionBox.js +2 -2
  155. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +24 -2
  156. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  157. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
  158. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
  159. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
  160. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
  161. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
  162. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
  163. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
  164. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
  165. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
  166. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
  167. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
  168. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
  169. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
  170. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
  171. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
  172. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
  173. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
  174. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
  175. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
  176. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +3 -1
  177. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +5 -3
  178. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -1
  179. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +9 -2
  180. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
  181. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
  182. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
  183. package/dist/src/sub/DynamicLayout/gleStyles.js +1 -1
  184. package/dist/src/sub/DynamicLayout/mock.json +8163 -0
  185. package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +911 -0
  186. package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +4238 -0
  187. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
  188. package/dist/src/sub/DynamicLayout/mock_composition.js +1664 -0
  189. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -0
  190. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1168 -0
  191. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -0
  192. package/dist/src/sub/DynamicLayout/mock_contentsList.js +1091 -0
  193. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +96 -0
  194. package/dist/src/sub/DynamicLayout/mock_queryData.js +2639 -0
  195. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +842 -0
  196. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +854 -0
  197. package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
  198. package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
  199. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -1
  200. package/dist/src/sub/DynamicLayout/mock_video_cb.js +4 -5
  201. package/dist/src/sub/DynamicLayout/mocks.d.ts +8 -961
  202. package/dist/src/sub/DynamicLayout/mocks.js +43 -4237
  203. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  204. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  205. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +12 -14
  206. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +7 -6
  207. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.d.ts → ComponentBlockMatcherWithCCB.d.ts} +1 -1
  208. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/{ComponentBlockMatcher.js → ComponentBlockMatcherWithCCB.js} +15 -5
  209. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +18 -2
  210. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +10 -4
  211. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +151 -3
  212. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +11 -0
  213. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +76 -0
  214. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +15 -0
  215. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +69 -0
  216. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +15 -0
  217. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +69 -0
  218. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +9 -0
  219. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +87 -0
  220. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
  221. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +849 -0
  222. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +43 -0
  223. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +162 -0
  224. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +39 -0
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +182 -0
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +18 -0
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +229 -0
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +14 -0
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +46 -0
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
  232. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +139 -0
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +14 -0
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +256 -0
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +16 -0
  236. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +38 -0
  237. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +10 -0
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +85 -0
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +25 -0
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +183 -0
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +29 -0
  242. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +130 -0
  243. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +18 -0
  244. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +229 -0
  245. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
  246. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.js +8 -0
  247. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +67 -0
  248. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
  249. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Embed/IframeDenied.js +2 -2
  250. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +39 -3
  251. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +14 -0
  252. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +159 -0
  253. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +11 -0
  254. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +38 -0
  255. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +15 -0
  256. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +69 -0
  257. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +15 -0
  258. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +69 -0
  259. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +20 -0
  260. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +179 -0
  261. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +9 -0
  262. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +87 -0
  263. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
  264. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +849 -0
  265. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +43 -0
  266. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +162 -0
  267. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +18 -0
  268. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +229 -0
  269. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +16 -0
  270. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +63 -0
  271. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
  272. package/dist/src/{desktop/components/Snackbar → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner}/index.js +3 -3
  273. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +46 -0
  274. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +186 -0
  275. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +163 -0
  276. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
  277. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.d.ts +2 -2
  278. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +59 -9
  279. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.d.ts +7 -0
  280. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.js +211 -0
  281. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +3 -28
  282. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -1
  283. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +5 -15
  284. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +52 -3
  285. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/propComponent/CBBackgroundMedia.d.ts +2 -0
  286. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/propComponent/CBBackgroundMedia.js +17 -0
  287. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/StyledSwiper/StyledSwiper.d.ts +2 -0
  288. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/StyledSwiper/StyledSwiper.js +13 -0
  289. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  290. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  291. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +27 -10
  292. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -1
  293. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  294. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  295. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
  296. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
  297. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  298. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +6 -20
  299. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +16 -5
  300. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  301. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.js +4 -3
  302. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.js +3 -0
  303. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +2 -0
  304. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +58 -3
  305. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  306. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -0
  307. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/EmptyMembershipSheet.js +2 -2
  308. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/MembershipPlanSheet.js +2 -2
  309. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/desktop/components/UnavailableMembershipPlanSheet.js +2 -2
  310. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateA/mobile/components/EmptyMembershipSheet.js +2 -2
  311. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/EmptyMembershipSheet.js +2 -2
  312. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/MembershipPlanSheet.js +2 -2
  313. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/desktop/components/UnavailableMembershipPlanSheet.js +2 -2
  314. package/dist/src/sub/DynamicLayout/sections/MembershipSection/EditType/templates/TemplateB/mobile/components/EmptyMembershipSheet.js +2 -2
  315. package/dist/src/sub/DynamicLayout/types.d.ts +68 -17
  316. package/dist/src/sub/DynamicLayout/utils/groupUtils.d.ts +16 -0
  317. package/dist/src/sub/DynamicLayout/utils/groupUtils.js +156 -0
  318. package/package.json +14 -23
  319. package/release-note.md +3 -4
  320. package/dist/scripts/copy-tinymce.d.ts +0 -1
  321. package/dist/scripts/copy-tinymce.js +0 -32
  322. package/dist/src/common/assets/icons/fill/Gift.d.ts +0 -4
  323. package/dist/src/common/assets/icons/fill/Gift.js +0 -30
  324. package/dist/src/common/assets/icons/fill/Translate.d.ts +0 -4
  325. package/dist/src/common/assets/icons/fill/Translate.js +0 -30
  326. package/dist/src/common/assets/icons/line/Gift.d.ts +0 -4
  327. package/dist/src/common/assets/icons/line/Gift.js +0 -30
  328. package/dist/src/common/assets/icons/line/TimeExtension.d.ts +0 -4
  329. package/dist/src/common/assets/icons/line/TimeExtension.js +0 -30
  330. package/dist/src/common/assets/icons/line/Translate.d.ts +0 -4
  331. package/dist/src/common/assets/icons/line/Translate.js +0 -30
  332. package/dist/src/common/hooks/usePackageTranslation.d.ts +0 -4
  333. package/dist/src/common/hooks/usePackageTranslation.js +0 -14
  334. package/dist/src/common/hooks/useParentResizeObserver.d.ts +0 -2
  335. package/dist/src/common/hooks/useParentResizeObserver.js +0 -20
  336. package/dist/src/common/hooks/useResizeObserver.d.ts +0 -3
  337. package/dist/src/common/hooks/useResizeObserver.js +0 -27
  338. package/dist/src/common/hooks/useWindowSize.d.ts +0 -4
  339. package/dist/src/common/hooks/useWindowSize.js +0 -22
  340. package/dist/src/common/styles/editorContentStyle.d.ts +0 -1
  341. package/dist/src/common/styles/editorContentStyle.js +0 -76
  342. package/dist/src/common/types/LocalizedContent.d.ts +0 -4
  343. package/dist/src/core/pricing/formatter.d.ts +0 -4
  344. package/dist/src/core/pricing/formatter.js +0 -18
  345. package/dist/src/core/pricing/index.d.ts +0 -2
  346. package/dist/src/core/pricing/index.js +0 -18
  347. package/dist/src/core/pricing/policy.d.ts +0 -26
  348. package/dist/src/core/pricing/policy.js +0 -98
  349. package/dist/src/core/pricing/service.d.ts +0 -62
  350. package/dist/src/core/pricing/service.js +0 -157
  351. package/dist/src/core/pricing/translator.d.ts +0 -27
  352. package/dist/src/core/pricing/translator.js +0 -54
  353. package/dist/src/core/pricing/types.d.ts +0 -19
  354. package/dist/src/core/pricing/types.js +0 -31
  355. package/dist/src/core/pricing/validator.d.ts +0 -29
  356. package/dist/src/core/pricing/validator.js +0 -105
  357. package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +0 -68
  358. package/dist/src/desktop/components/BoxItem/BoxItem.js +0 -107
  359. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
  360. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +0 -9
  361. package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +0 -11
  362. package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +0 -9
  363. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
  364. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +0 -36
  365. package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +0 -2
  366. package/dist/src/desktop/components/BoxItem/LeftBox/index.js +0 -8
  367. package/dist/src/desktop/components/BoxItem/index.d.ts +0 -1
  368. package/dist/src/desktop/components/BoxItem/index.js +0 -8
  369. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.d.ts +0 -12
  370. package/dist/src/desktop/components/Calendar/AllDaySchedulesSection.js +0 -134
  371. package/dist/src/desktop/components/Calendar/Calendar.d.ts +0 -4
  372. package/dist/src/desktop/components/Calendar/Calendar.js +0 -437
  373. package/dist/src/desktop/components/Calendar/CalendarContext.d.ts +0 -53
  374. package/dist/src/desktop/components/Calendar/CalendarContext.js +0 -77
  375. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.d.ts +0 -7
  376. package/dist/src/desktop/components/Calendar/CurrentTimeIndicator.js +0 -49
  377. package/dist/src/desktop/components/Calendar/DailyView.d.ts +0 -8
  378. package/dist/src/desktop/components/Calendar/DailyView.js +0 -172
  379. package/dist/src/desktop/components/Calendar/MonthlyView.d.ts +0 -29
  380. package/dist/src/desktop/components/Calendar/MonthlyView.js +0 -494
  381. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.d.ts +0 -21
  382. package/dist/src/desktop/components/Calendar/MultiWeekSchedulesLayer.js +0 -186
  383. package/dist/src/desktop/components/Calendar/ScheduleItem.d.ts +0 -25
  384. package/dist/src/desktop/components/Calendar/ScheduleItem.js +0 -56
  385. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.d.ts +0 -12
  386. package/dist/src/desktop/components/Calendar/TimeBasedScheduleItem.js +0 -184
  387. package/dist/src/desktop/components/Calendar/WeeklyView.d.ts +0 -9
  388. package/dist/src/desktop/components/Calendar/WeeklyView.js +0 -220
  389. package/dist/src/desktop/components/Calendar/YearlyView.d.ts +0 -13
  390. package/dist/src/desktop/components/Calendar/YearlyView.js +0 -76
  391. package/dist/src/desktop/components/Calendar/calendarUtils.d.ts +0 -13
  392. package/dist/src/desktop/components/Calendar/calendarUtils.js +0 -59
  393. package/dist/src/desktop/components/Calendar/constants.d.ts +0 -1
  394. package/dist/src/desktop/components/Calendar/constants.js +0 -31
  395. package/dist/src/desktop/components/Calendar/index.d.ts +0 -14
  396. package/dist/src/desktop/components/Calendar/index.js +0 -42
  397. package/dist/src/desktop/components/Calendar/timeFormatUtils.d.ts +0 -18
  398. package/dist/src/desktop/components/Calendar/timeFormatUtils.js +0 -59
  399. package/dist/src/desktop/components/Calendar/types.d.ts +0 -65
  400. package/dist/src/desktop/components/LocalizedButton/LocalizedButton.d.ts +0 -8
  401. package/dist/src/desktop/components/LocalizedButton/LocalizedButton.js +0 -44
  402. package/dist/src/desktop/components/LocalizedButton/index.d.ts +0 -1
  403. package/dist/src/desktop/components/LocalizedButton/index.js +0 -8
  404. package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +0 -44
  405. package/dist/src/desktop/components/PriceTextField/PriceTextField.js +0 -587
  406. package/dist/src/desktop/components/PriceTextField/index.d.ts +0 -1
  407. package/dist/src/desktop/components/PriceTextField/index.js +0 -8
  408. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.d.ts +0 -14
  409. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +0 -47
  410. package/dist/src/desktop/components/PriceTextLabel/index.d.ts +0 -1
  411. package/dist/src/desktop/components/PriceTextLabel/index.js +0 -8
  412. package/dist/src/desktop/components/RichTextEditor/HTMLReader.d.ts +0 -5
  413. package/dist/src/desktop/components/RichTextEditor/HTMLReader.js +0 -35
  414. package/dist/src/desktop/components/RichTextEditor/RichTextEditor.d.ts +0 -37
  415. package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +0 -276
  416. package/dist/src/desktop/components/RichTextEditor/index.d.ts +0 -2
  417. package/dist/src/desktop/components/RichTextEditor/index.js +0 -8
  418. package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +0 -17
  419. package/dist/src/desktop/components/Snackbar/Snackbar.js +0 -221
  420. package/dist/src/desktop/components/Snackbar/index.d.ts +0 -1
  421. package/dist/src/desktop/components/Snackbar/provider.d.ts +0 -11
  422. package/dist/src/desktop/components/Snackbar/provider.js +0 -43
  423. package/dist/src/desktop/panels/LocalizedContentModal/LocalizedContentModal.d.ts +0 -34
  424. package/dist/src/desktop/panels/LocalizedContentModal/LocalizedContentModal.js +0 -171
  425. package/dist/src/desktop/panels/LocalizedContentModal/index.d.ts +0 -1
  426. package/dist/src/desktop/panels/LocalizedContentModal/index.js +0 -8
  427. package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +0 -68
  428. package/dist/src/mobile/components/BoxItem/BoxItem.js +0 -106
  429. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
  430. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +0 -9
  431. package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +0 -11
  432. package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +0 -9
  433. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
  434. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +0 -36
  435. package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +0 -2
  436. package/dist/src/mobile/components/BoxItem/LeftBox/index.js +0 -8
  437. package/dist/src/mobile/components/BoxItem/index.d.ts +0 -1
  438. package/dist/src/mobile/components/BoxItem/index.js +0 -8
  439. package/dist/src/mobile/components/PriceTextField/PriceTextField.d.ts +0 -43
  440. package/dist/src/mobile/components/PriceTextField/PriceTextField.js +0 -574
  441. package/dist/src/mobile/components/PriceTextField/index.d.ts +0 -1
  442. package/dist/src/mobile/components/PriceTextField/index.js +0 -8
  443. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.d.ts +0 -14
  444. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +0 -47
  445. package/dist/src/mobile/components/PriceTextLabel/index.d.ts +0 -1
  446. package/dist/src/mobile/components/PriceTextLabel/index.js +0 -8
  447. package/dist/src/mobile/components/RichTextEditor/RichTextEditor.d.ts +0 -37
  448. package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +0 -281
  449. package/dist/src/mobile/components/RichTextEditor/index.d.ts +0 -2
  450. package/dist/src/mobile/components/RichTextEditor/index.js +0 -8
  451. package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +0 -17
  452. package/dist/src/mobile/components/Snackbar/Snackbar.js +0 -221
  453. package/dist/src/mobile/components/Snackbar/index.d.ts +0 -1
  454. package/dist/src/mobile/components/Snackbar/index.js +0 -8
  455. package/dist/src/mobile/components/Snackbar/provider.d.ts +0 -11
  456. package/dist/src/mobile/components/Snackbar/provider.js +0 -43
  457. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
  458. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
  459. package/dist/tinymce/CHANGELOG.md +0 -3453
  460. package/dist/tinymce/README.md +0 -73
  461. package/dist/tinymce/bower.json +0 -27
  462. package/dist/tinymce/composer.json +0 -52
  463. package/dist/tinymce/icons/default/icons.js +0 -194
  464. package/dist/tinymce/icons/default/icons.min.js +0 -1
  465. package/dist/tinymce/icons/default/index.js +0 -7
  466. package/dist/tinymce/license.txt +0 -21
  467. package/dist/tinymce/models/dom/index.js +0 -7
  468. package/dist/tinymce/models/dom/model.js +0 -8040
  469. package/dist/tinymce/models/dom/model.min.js +0 -1
  470. package/dist/tinymce/notices.txt +0 -21
  471. package/dist/tinymce/package.json +0 -32
  472. package/dist/tinymce/plugins/accordion/index.js +0 -7
  473. package/dist/tinymce/plugins/accordion/plugin.js +0 -1054
  474. package/dist/tinymce/plugins/accordion/plugin.min.js +0 -5
  475. package/dist/tinymce/plugins/advlist/index.js +0 -7
  476. package/dist/tinymce/plugins/advlist/plugin.js +0 -259
  477. package/dist/tinymce/plugins/advlist/plugin.min.js +0 -5
  478. package/dist/tinymce/plugins/anchor/index.js +0 -7
  479. package/dist/tinymce/plugins/anchor/plugin.js +0 -214
  480. package/dist/tinymce/plugins/anchor/plugin.min.js +0 -5
  481. package/dist/tinymce/plugins/autolink/index.js +0 -7
  482. package/dist/tinymce/plugins/autolink/plugin.js +0 -228
  483. package/dist/tinymce/plugins/autolink/plugin.min.js +0 -5
  484. package/dist/tinymce/plugins/autoresize/index.js +0 -7
  485. package/dist/tinymce/plugins/autoresize/plugin.js +0 -192
  486. package/dist/tinymce/plugins/autoresize/plugin.min.js +0 -5
  487. package/dist/tinymce/plugins/autosave/index.js +0 -7
  488. package/dist/tinymce/plugins/autosave/plugin.js +0 -233
  489. package/dist/tinymce/plugins/autosave/plugin.min.js +0 -5
  490. package/dist/tinymce/plugins/charmap/index.js +0 -7
  491. package/dist/tinymce/plugins/charmap/plugin.js +0 -1658
  492. package/dist/tinymce/plugins/charmap/plugin.min.js +0 -5
  493. package/dist/tinymce/plugins/code/index.js +0 -7
  494. package/dist/tinymce/plugins/code/plugin.js +0 -85
  495. package/dist/tinymce/plugins/code/plugin.min.js +0 -5
  496. package/dist/tinymce/plugins/codesample/index.js +0 -7
  497. package/dist/tinymce/plugins/codesample/plugin.js +0 -2471
  498. package/dist/tinymce/plugins/codesample/plugin.min.js +0 -13
  499. package/dist/tinymce/plugins/directionality/index.js +0 -7
  500. package/dist/tinymce/plugins/directionality/plugin.js +0 -395
  501. package/dist/tinymce/plugins/directionality/plugin.min.js +0 -5
  502. package/dist/tinymce/plugins/emoticons/index.js +0 -7
  503. package/dist/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
  504. package/dist/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -1
  505. package/dist/tinymce/plugins/emoticons/js/emojis.js +0 -1
  506. package/dist/tinymce/plugins/emoticons/js/emojis.min.js +0 -1
  507. package/dist/tinymce/plugins/emoticons/plugin.js +0 -595
  508. package/dist/tinymce/plugins/emoticons/plugin.min.js +0 -5
  509. package/dist/tinymce/plugins/fullscreen/index.js +0 -7
  510. package/dist/tinymce/plugins/fullscreen/plugin.js +0 -1249
  511. package/dist/tinymce/plugins/fullscreen/plugin.min.js +0 -5
  512. package/dist/tinymce/plugins/help/index.js +0 -7
  513. package/dist/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
  514. package/dist/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
  515. package/dist/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
  516. package/dist/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
  517. package/dist/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
  518. package/dist/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
  519. package/dist/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
  520. package/dist/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
  521. package/dist/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
  522. package/dist/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
  523. package/dist/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
  524. package/dist/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
  525. package/dist/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
  526. package/dist/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
  527. package/dist/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
  528. package/dist/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
  529. package/dist/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
  530. package/dist/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
  531. package/dist/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
  532. package/dist/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
  533. package/dist/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
  534. package/dist/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
  535. package/dist/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
  536. package/dist/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
  537. package/dist/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
  538. package/dist/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
  539. package/dist/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
  540. package/dist/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
  541. package/dist/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
  542. package/dist/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
  543. package/dist/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
  544. package/dist/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
  545. package/dist/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
  546. package/dist/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
  547. package/dist/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
  548. package/dist/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
  549. package/dist/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
  550. package/dist/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
  551. package/dist/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
  552. package/dist/tinymce/plugins/help/plugin.js +0 -898
  553. package/dist/tinymce/plugins/help/plugin.min.js +0 -5
  554. package/dist/tinymce/plugins/image/index.js +0 -7
  555. package/dist/tinymce/plugins/image/plugin.js +0 -1505
  556. package/dist/tinymce/plugins/image/plugin.min.js +0 -5
  557. package/dist/tinymce/plugins/importcss/index.js +0 -7
  558. package/dist/tinymce/plugins/importcss/plugin.js +0 -344
  559. package/dist/tinymce/plugins/importcss/plugin.min.js +0 -5
  560. package/dist/tinymce/plugins/insertdatetime/index.js +0 -7
  561. package/dist/tinymce/plugins/insertdatetime/plugin.js +0 -187
  562. package/dist/tinymce/plugins/insertdatetime/plugin.min.js +0 -5
  563. package/dist/tinymce/plugins/link/index.js +0 -7
  564. package/dist/tinymce/plugins/link/plugin.js +0 -1242
  565. package/dist/tinymce/plugins/link/plugin.min.js +0 -5
  566. package/dist/tinymce/plugins/lists/index.js +0 -7
  567. package/dist/tinymce/plugins/lists/plugin.js +0 -2172
  568. package/dist/tinymce/plugins/lists/plugin.min.js +0 -5
  569. package/dist/tinymce/plugins/media/index.js +0 -7
  570. package/dist/tinymce/plugins/media/plugin.js +0 -1217
  571. package/dist/tinymce/plugins/media/plugin.min.js +0 -5
  572. package/dist/tinymce/plugins/nonbreaking/index.js +0 -7
  573. package/dist/tinymce/plugins/nonbreaking/plugin.js +0 -123
  574. package/dist/tinymce/plugins/nonbreaking/plugin.min.js +0 -5
  575. package/dist/tinymce/plugins/pagebreak/index.js +0 -7
  576. package/dist/tinymce/plugins/pagebreak/plugin.js +0 -117
  577. package/dist/tinymce/plugins/pagebreak/plugin.min.js +0 -5
  578. package/dist/tinymce/plugins/preview/index.js +0 -7
  579. package/dist/tinymce/plugins/preview/plugin.js +0 -97
  580. package/dist/tinymce/plugins/preview/plugin.min.js +0 -5
  581. package/dist/tinymce/plugins/quickbars/index.js +0 -7
  582. package/dist/tinymce/plugins/quickbars/plugin.js +0 -447
  583. package/dist/tinymce/plugins/quickbars/plugin.min.js +0 -5
  584. package/dist/tinymce/plugins/save/index.js +0 -7
  585. package/dist/tinymce/plugins/save/plugin.js +0 -118
  586. package/dist/tinymce/plugins/save/plugin.min.js +0 -5
  587. package/dist/tinymce/plugins/searchreplace/index.js +0 -7
  588. package/dist/tinymce/plugins/searchreplace/plugin.js +0 -1093
  589. package/dist/tinymce/plugins/searchreplace/plugin.min.js +0 -5
  590. package/dist/tinymce/plugins/table/index.js +0 -7
  591. package/dist/tinymce/plugins/table/plugin.js +0 -3462
  592. package/dist/tinymce/plugins/table/plugin.min.js +0 -5
  593. package/dist/tinymce/plugins/template/index.js +0 -7
  594. package/dist/tinymce/plugins/template/plugin.js +0 -567
  595. package/dist/tinymce/plugins/template/plugin.min.js +0 -5
  596. package/dist/tinymce/plugins/visualblocks/index.js +0 -7
  597. package/dist/tinymce/plugins/visualblocks/plugin.js +0 -98
  598. package/dist/tinymce/plugins/visualblocks/plugin.min.js +0 -5
  599. package/dist/tinymce/plugins/visualchars/index.js +0 -7
  600. package/dist/tinymce/plugins/visualchars/plugin.js +0 -560
  601. package/dist/tinymce/plugins/visualchars/plugin.min.js +0 -5
  602. package/dist/tinymce/plugins/wordcount/index.js +0 -7
  603. package/dist/tinymce/plugins/wordcount/plugin.js +0 -405
  604. package/dist/tinymce/plugins/wordcount/plugin.min.js +0 -5
  605. package/dist/tinymce/skins/content/dark/content.css +0 -79
  606. package/dist/tinymce/skins/content/dark/content.js +0 -15
  607. package/dist/tinymce/skins/content/dark/content.min.css +0 -14
  608. package/dist/tinymce/skins/content/default/content.css +0 -74
  609. package/dist/tinymce/skins/content/default/content.js +0 -15
  610. package/dist/tinymce/skins/content/default/content.min.css +0 -14
  611. package/dist/tinymce/skins/content/document/content.css +0 -79
  612. package/dist/tinymce/skins/content/document/content.js +0 -15
  613. package/dist/tinymce/skins/content/document/content.min.css +0 -14
  614. package/dist/tinymce/skins/content/tinymce-5/content.css +0 -74
  615. package/dist/tinymce/skins/content/tinymce-5/content.js +0 -15
  616. package/dist/tinymce/skins/content/tinymce-5/content.min.css +0 -14
  617. package/dist/tinymce/skins/content/tinymce-5-dark/content.css +0 -79
  618. package/dist/tinymce/skins/content/tinymce-5-dark/content.js +0 -15
  619. package/dist/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -14
  620. package/dist/tinymce/skins/content/writer/content.css +0 -75
  621. package/dist/tinymce/skins/content/writer/content.js +0 -15
  622. package/dist/tinymce/skins/content/writer/content.min.css +0 -14
  623. package/dist/tinymce/skins/ui/oxide/content.css +0 -798
  624. package/dist/tinymce/skins/ui/oxide/content.inline.css +0 -792
  625. package/dist/tinymce/skins/ui/oxide/content.inline.js +0 -15
  626. package/dist/tinymce/skins/ui/oxide/content.inline.min.css +0 -14
  627. package/dist/tinymce/skins/ui/oxide/content.js +0 -15
  628. package/dist/tinymce/skins/ui/oxide/content.min.css +0 -14
  629. package/dist/tinymce/skins/ui/oxide/skin.css +0 -3763
  630. package/dist/tinymce/skins/ui/oxide/skin.js +0 -2
  631. package/dist/tinymce/skins/ui/oxide/skin.min.css +0 -1
  632. package/dist/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
  633. package/dist/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  634. package/dist/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  635. package/dist/tinymce/skins/ui/oxide-dark/content.css +0 -779
  636. package/dist/tinymce/skins/ui/oxide-dark/content.inline.css +0 -792
  637. package/dist/tinymce/skins/ui/oxide-dark/content.inline.js +0 -15
  638. package/dist/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -14
  639. package/dist/tinymce/skins/ui/oxide-dark/content.js +0 -15
  640. package/dist/tinymce/skins/ui/oxide-dark/content.min.css +0 -14
  641. package/dist/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
  642. package/dist/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  643. package/dist/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  644. package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
  645. package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  646. package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  647. package/dist/tinymce/skins/ui/tinymce-5/content.css +0 -798
  648. package/dist/tinymce/skins/ui/tinymce-5/content.inline.css +0 -792
  649. package/dist/tinymce/skins/ui/tinymce-5/content.inline.js +0 -15
  650. package/dist/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -14
  651. package/dist/tinymce/skins/ui/tinymce-5/content.js +0 -15
  652. package/dist/tinymce/skins/ui/tinymce-5/content.min.css +0 -14
  653. package/dist/tinymce/skins/ui/tinymce-5/skin.css +0 -3857
  654. package/dist/tinymce/skins/ui/tinymce-5/skin.js +0 -2
  655. package/dist/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
  656. package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +0 -30
  657. package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
  658. package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
  659. package/dist/tinymce/skins/ui/tinymce-5-dark/content.css +0 -779
  660. package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.css +0 -792
  661. package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -15
  662. package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -14
  663. package/dist/tinymce/skins/ui/tinymce-5-dark/content.js +0 -15
  664. package/dist/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -14
  665. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.css +0 -3857
  666. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
  667. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
  668. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +0 -30
  669. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
  670. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
  671. package/dist/tinymce/themes/silver/index.js +0 -7
  672. package/dist/tinymce/themes/silver/theme.js +0 -30775
  673. package/dist/tinymce/themes/silver/theme.min.js +0 -1
  674. package/dist/tinymce/tinymce.d.ts +0 -3238
  675. package/dist/tinymce/tinymce.js +0 -31779
  676. package/dist/tinymce/tinymce.min.js +0 -11
  677. package/scripts/copy-tinymce.js +0 -37
  678. /package/dist/src/{common/types/LocalizedContent.js → sub/DynamicLayout/compositionActionTypes.js} +0 -0
  679. /package/dist/src/{desktop/components/Calendar → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel}/types.js +0 -0
@@ -0,0 +1,186 @@
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;
@@ -0,0 +1,163 @@
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
+ };
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
1
  /// <reference types="react" />
2
2
  import type { CB_TEXT_PROPERTIES_TYPE, IndexForIntersection } from '../../../../util/types';
3
3
  type Props = CB_TEXT_PROPERTIES_TYPE & IndexForIntersection;
4
- declare function Text(props: Props): JSX.Element;
5
- export default Text;
4
+ export default function Text(props: Props): JSX.Element;
5
+ export {};
@@ -18,6 +18,7 @@ var jsx_runtime_1 = require("react/jsx-runtime");
18
18
  /* eslint-disable react/destructuring-assignment */
19
19
  var react_1 = require("react");
20
20
  var DynamicLayout_1 = require("../../../../../../../DynamicLayout");
21
+ var compositionQueryContext_1 = require("../../../../../../../DynamicLayout/compositionQueryContext");
21
22
  var hooks_1 = require("../../../../hooks");
22
23
  var getGoogleFonts_1 = require("../../../../hooks/useGoogleFonts/getGoogleFonts");
23
24
  var useGoogleFonts_1 = __importDefault(require("../../../../hooks/useGoogleFonts/useGoogleFonts"));
@@ -27,17 +28,33 @@ var S_CB_AnimationObserverBox_1 = require("../components/S_CB_AnimationObserverB
27
28
  var S_CB_Box_1 = require("../components/S_CB_Box");
28
29
  var S_HiddenCover_1 = require("../components/S_HiddenCover");
29
30
  var useCLINK_1 = __importDefault(require("../hooks/useCLINK"));
31
+ var textSpecFormatOptions_1 = require("./textSpecFormatOptions");
30
32
  function Text(props) {
31
33
  var _a = (0, react_1.useContext)(DynamicLayout_1.dynamicLayoutContext), device = _a.device, mode = _a.mode;
32
- var index = props.index, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM;
33
- var _c = (0, useCLINK_1.default)({
34
- src: CB_CONTENT_PROP_CLINK_SPEC_SRC,
34
+ var queryContext = (0, compositionQueryContext_1.useCCBQueryPath)();
35
+ var index = props.index, _b = props.CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CLINK_SPEC_SRC = _b.CB_CONTENT_PROP_CLINK_SPEC_SRC, CB_CONTENT_PROP_CLINK_SPEC_TYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_TYPE, CB_CONTENT_PROP_CLINK_SPEC_NEWTAB = _b.CB_CONTENT_PROP_CLINK_SPEC_NEWTAB, CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC = _b.CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC, CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE = _b.CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE, CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA = _b.CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA, CB_EFFECT_PROP_ENTANIM = props.CB_EFFECT_PROP_ENTANIM, _c = props.CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE = _c.CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE, CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA = _c.CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA, CB_CONTENT_PROP_TEXT_SPEC_SUFFIX = _c.CB_CONTENT_PROP_TEXT_SPEC_SUFFIX, CB_CONTENT_PROP_TEXT_SPEC_PREFIX = _c.CB_CONTENT_PROP_TEXT_SPEC_PREFIX;
36
+ var cLinkValue = function () {
37
+ if (CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DATA' ||
38
+ CB_CONTENT_PROP_CLINK_SPEC_VALUETYPE === 'DELEGATEDDATA') {
39
+ if (!(queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData)) {
40
+ return "ERROR: QueryData NOT FOUND";
41
+ }
42
+ var link = queryContext.queryData[CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA];
43
+ if (!link) {
44
+ return "ERROR: ".concat(CB_CONTENT_PROP_CLINK_SPEC_CONNECTDATA, " NOT found from queryData");
45
+ }
46
+ return link;
47
+ }
48
+ return CB_CONTENT_PROP_CLINK_SPEC_SRC;
49
+ };
50
+ var _d = (0, useCLINK_1.default)({
51
+ src: cLinkValue(),
35
52
  type: CB_CONTENT_PROP_CLINK_SPEC_TYPE,
36
53
  openNewTab: CB_CONTENT_PROP_CLINK_SPEC_NEWTAB,
37
54
  internalSrc: String(CB_CONTENT_PROP_CLINK_SPEC_INTERNALSRC)
38
- }), CLINKCursor = _c.CLINKCursor, onClickCLINK = _c.onClickCLINK;
39
- var _d = getTextStyles(props.CB_STYLE_PROP_TEXT, device), textStyle = _d.style, textHoverStyle = _d.hoverStyle;
40
- var _e = (0, util_1.parseProperties)(props, device), propsStyle = _e.style, propsHoverStyle = _e.hoverStyle, layoutStyle = _e.layout, effect = _e.effect;
55
+ }), CLINKCursor = _d.CLINKCursor, onClickCLINK = _d.onClickCLINK;
56
+ var _e = getTextStyles(props.CB_STYLE_PROP_TEXT, device), textStyle = _e.style, textHoverStyle = _e.hoverStyle;
57
+ var _f = (0, util_1.parseProperties)(props, device), propsStyle = _f.style, propsHoverStyle = _f.hoverStyle, layoutStyle = _f.layout, effect = _f.effect;
41
58
  var isEditModeAndHidden = propsStyle.visibility === 'hidden' && mode === 'EDIT';
42
59
  var googleFonts = (0, getGoogleFonts_1.getGoogleFontsFromTextSpecCode)(props.CB_STYLE_PROP_TEXT, device === 'MOBILE');
43
60
  (0, useGoogleFonts_1.default)({ fonts: googleFonts });
@@ -56,6 +73,20 @@ function Text(props) {
56
73
  var hasEffect = !isNoneEffectType;
57
74
  var effectVisibleStyle = hasEffect ? { opacity: isVisible ? 1 : 0 } : {};
58
75
  var textValue = function () {
76
+ var FORMATOPTION = props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_FORMAT;
77
+ var formatOption = textSpecFormatOptions_1.TEXT_SPEC_FORMAT_OPRIONS[FORMATOPTION];
78
+ var isDataConnected = CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DATA' ||
79
+ CB_CONTENT_PROP_TEXT_SPEC_VALUETYPE === 'DELEGATEDDATA';
80
+ if (isDataConnected) {
81
+ if (queryContext === null || queryContext === void 0 ? void 0 : queryContext.queryData) {
82
+ var value = queryContext.queryData[CB_CONTENT_PROP_TEXT_SPEC_CONNECTDATA];
83
+ if (formatOption) {
84
+ return formatOption.formatter(value);
85
+ }
86
+ return value;
87
+ }
88
+ return 'ERROR: data connected but no data';
89
+ }
59
90
  if (device === 'MOBILE' &&
60
91
  mode !== 'EDIT' &&
61
92
  props.CB_CONTENT_PROP_VISIBILITY.CB_CONTENT_PROP_VISIBILITY_SPEC_MOBILEWEB === false) {
@@ -69,22 +100,42 @@ function Text(props) {
69
100
  if (device === 'MOBILE') {
70
101
  var value = props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXTMOBILEALTERNATIVE;
71
102
  if (value === null || value === undefined) {
103
+ if (formatOption) {
104
+ return formatOption.formatter(props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT);
105
+ }
72
106
  return props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT;
73
107
  }
108
+ if (formatOption) {
109
+ return formatOption.formatter(value);
110
+ }
74
111
  return value;
75
112
  }
113
+ if (formatOption) {
114
+ return formatOption.formatter(props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT);
115
+ }
76
116
  return props.CB_CONTENT_PROP_TEXT.CB_CONTENT_PROP_TEXT_SPEC_TEXT;
77
117
  };
118
+ var getTruncatedText = function (text) {
119
+ var maxLength = props.CB_STYLE_PROP_TEXT.CB_STYLE_PROP_TEXT_SPEC_ELLIPSIS;
120
+ if (!maxLength) {
121
+ return text;
122
+ }
123
+ if (text.length > maxLength) {
124
+ return "".concat(text.slice(0, maxLength), "...");
125
+ }
126
+ return text;
127
+ };
78
128
  return ((0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [isEditModeAndHidden && (0, jsx_runtime_1.jsx)(S_HiddenCover_1.S_HiddenCover, {}), (0, jsx_runtime_1.jsx)(S_CB_AnimationObserverBox_1.S_CB_AnimationObserverBox, __assign({ style: {
79
129
  height: '100%',
80
130
  display: 'flex',
81
131
  alignItems: textStyle.alignItems
82
- }, ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsx)(S_CB_Box_1.S_CB_Box, __assign({ onMouseEnter: function (e) {
132
+ }, ref: hasEffect ? cbRef : null, effectVisibleStyle: effectVisibleStyle }, { children: (0, jsx_runtime_1.jsxs)(S_CB_Box_1.S_CB_Box, __assign({ onMouseEnter: function (e) {
83
133
  e.currentTarget.classList.add('hovered');
84
134
  }, onMouseLeave: function (e) {
85
135
  e.currentTarget.classList.remove('hovered');
86
- }, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")") }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: textValue() })) }))] }));
136
+ }, className: "cb-layout-box cb-text", normalStyle: __assign(__assign(__assign(__assign(__assign({}, textStyle), propsStyle), layoutStyle), effectCssProperties), { whiteSpace: 'pre-wrap', wordBreak: 'break-word', cursor: CLINKCursor, height: 'fit-content', minWidth: "calc(2ch + ".concat(layoutStyle.paddingLeft, " + ").concat(layoutStyle.paddingRight, ")") }), hoverStyle: __assign(__assign(__assign({}, textHoverStyle), propsHoverStyle), { whiteSpace: 'pre-wrap', wordBreak: 'break-word' }), onClick: onClickCLINK }, { children: [CB_CONTENT_PROP_TEXT_SPEC_PREFIX, textValue() === 'ERROR' ? 'EDITOR:FALLBACK_TEXT' : getTruncatedText(textValue()), CB_CONTENT_PROP_TEXT_SPEC_SUFFIX] })) }))] }));
87
137
  }
138
+ exports.default = Text;
88
139
  function getTextStyles(props, device) {
89
140
  var availableSpecCodes = [
90
141
  'CB_STYLE_PROP_TEXT_SPEC_TYPEFACE',
@@ -98,4 +149,3 @@ function getTextStyles(props, device) {
98
149
  ];
99
150
  return (0, textUtil_1.parseStyleTextToCSSProp)({ availableSpecCodes: availableSpecCodes, props: props, device: device, propKey: 'TEXT' });
100
151
  }
101
- exports.default = Text;
@@ -0,0 +1,7 @@
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 {};