pds-dev-kit-web-test 2.5.683 → 2.5.690

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 (617) hide show
  1. package/dist/index.d.ts +6 -6
  2. package/dist/index.js +3 -14
  3. package/dist/src/common/assets/icons/fill/index.d.ts +0 -1
  4. package/dist/src/common/assets/icons/fill/index.js +0 -2
  5. package/dist/src/common/assets/icons/line/index.d.ts +0 -1
  6. package/dist/src/common/assets/icons/line/index.js +0 -2
  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/resources/en.json +1 -61
  10. package/dist/src/common/services/i18n/resources/es.json +1 -61
  11. package/dist/src/common/services/i18n/resources/fil.json +1 -61
  12. package/dist/src/common/services/i18n/resources/index.d.ts +0 -421
  13. package/dist/src/common/services/i18n/resources/ja.json +1 -61
  14. package/dist/src/common/services/i18n/resources/ko.json +1 -62
  15. package/dist/src/common/services/i18n/resources/zh-cn.json +1 -61
  16. package/dist/src/common/services/i18n/resources/zh-tw.json +1 -61
  17. package/dist/src/common/styles/colorSet/PaletteColor_Dark.json +1 -4
  18. package/dist/src/common/styles/colorSet/PaletteColor_light.json +1 -4
  19. package/dist/src/common/styles/colorSet/UIColor.json +1 -6
  20. package/dist/src/common/styles/colorSet/index.d.ts +124 -135
  21. package/dist/src/common/styles/colorSet/index.js +2 -2
  22. package/dist/src/common/styles/colorSet/ui-type.d.ts +0 -5
  23. package/dist/src/common/styles/scroll/scrollbarStyle.d.ts +0 -2
  24. package/dist/src/common/styles/scroll/scrollbarStyle.js +3 -4
  25. package/dist/src/common/types/components.d.ts +0 -9
  26. package/dist/src/common/types/components.js +0 -8
  27. package/dist/src/common/types/form.d.ts +9 -0
  28. package/dist/src/common/types/form.js +10 -0
  29. package/dist/src/common/types/index.d.ts +1 -1
  30. package/dist/src/common/types/index.js +1 -1
  31. package/dist/src/common/types/text.d.ts +0 -2
  32. package/dist/src/common/utils/SystemUIPositionGenerator/hoverTypeSystemUICssGenerator.js +1 -1
  33. package/dist/src/common/utils/dateHelper.d.ts +0 -3
  34. package/dist/src/common/utils/dateHelper.js +0 -37
  35. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.d.ts +1 -4
  36. package/dist/src/desktop/common/components/TextFieldBase/TextFieldBase.js +23 -32
  37. package/dist/src/desktop/components/AdminList/AdminList.d.ts +1 -10
  38. package/dist/src/desktop/components/AdminList/AdminList.js +18 -16
  39. package/dist/src/desktop/components/AdminList/HeaderRow.d.ts +1 -10
  40. package/dist/src/desktop/components/AdminList/HeaderRow.js +2 -2
  41. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.d.ts +1 -2
  42. package/dist/src/desktop/components/AdminListHeader/AdminListHeader.js +2 -2
  43. package/dist/src/desktop/components/AdminListHeader/HeaderBar.d.ts +1 -2
  44. package/dist/src/desktop/components/AdminListHeader/HeaderBar.js +2 -2
  45. package/dist/src/desktop/components/BasicButtonGroup/BasicButtonGroup.js +1 -1
  46. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.d.ts +2 -6
  47. package/dist/src/desktop/components/BasicFormGroup/BasicFormGroup.js +6 -67
  48. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.d.ts +1 -6
  49. package/dist/src/desktop/components/BodyTextGroup/BodyTextGroup.js +2 -70
  50. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
  51. package/dist/src/desktop/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
  52. package/dist/src/desktop/components/ChatList/Body.d.ts +1 -1
  53. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.d.ts +1 -1
  54. package/dist/src/desktop/components/DesktopTabBar/DesktopTabBar.js +8 -21
  55. package/dist/src/desktop/components/TextButton/TextButton.d.ts +3 -6
  56. package/dist/src/desktop/components/TextButton/TextButton.js +40 -67
  57. package/dist/src/desktop/components/TextField/TextField.d.ts +1 -2
  58. package/dist/src/desktop/components/TextField/TextField.js +7 -7
  59. package/dist/src/desktop/components/TextLabel/TextLabel.d.ts +3 -3
  60. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  61. package/dist/src/desktop/components/UploadTextButton/UploadTextButton.js +39 -56
  62. package/dist/src/desktop/components/index.d.ts +1 -7
  63. package/dist/src/desktop/components/index.js +1 -14
  64. package/dist/src/desktop/index.d.ts +1 -1
  65. package/dist/src/desktop/index.js +2 -8
  66. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFA.js +1 -1
  67. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFB.js +1 -1
  68. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFE.js +1 -1
  69. package/dist/src/desktop/layout/LayoutWF/Containers/ContentsContainer/variation/WFL.js +5 -8
  70. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.d.ts +1 -2
  71. package/dist/src/desktop/panels/DesktopBasicModal/DesktopBasicModal.js +15 -13
  72. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.d.ts +1 -3
  73. package/dist/src/desktop/panels/DesktopBasicModalWithTab/DesktopBasicModalWithTab.js +10 -16
  74. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.d.ts +3 -19
  75. package/dist/src/desktop/panels/DesktopHeadlessModal/DesktopHeadlessModal.js +31 -42
  76. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.d.ts +1 -3
  77. package/dist/src/desktop/panels/DesktopTutorialModal/DesktopTutorialModal.js +5 -11
  78. package/dist/src/desktop/panels/index.d.ts +1 -2
  79. package/dist/src/desktop/panels/index.js +1 -6
  80. package/dist/src/hybrid/components/Divider/Divider.d.ts +1 -3
  81. package/dist/src/hybrid/components/Divider/Divider.js +7 -9
  82. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.d.ts +1 -3
  83. package/dist/src/mobile/common/components/TextFieldBase/TextFieldBase.js +22 -26
  84. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.d.ts +3 -2
  85. package/dist/src/mobile/components/ChatBubbleListItem/ChatBubbleListItem.js +8 -3
  86. package/dist/src/mobile/components/ChatList/Body.d.ts +1 -1
  87. package/dist/src/mobile/components/MobileTabBar/MobileTabBar.d.ts +1 -3
  88. package/dist/src/mobile/components/MobileTabBar/MobileTabBar.js +13 -36
  89. package/dist/src/mobile/components/TextButton/TextButton.d.ts +3 -6
  90. package/dist/src/mobile/components/TextButton/TextButton.js +31 -55
  91. package/dist/src/mobile/components/TextField/TextField.d.ts +1 -2
  92. package/dist/src/mobile/components/TextField/TextField.js +7 -7
  93. package/dist/src/mobile/components/TextLabel/TextLabel.d.ts +3 -3
  94. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.d.ts +1 -1
  95. package/dist/src/mobile/components/UploadTextButton/UploadTextButton.js +30 -44
  96. package/dist/src/mobile/components/index.d.ts +1 -6
  97. package/dist/src/mobile/components/index.js +1 -11
  98. package/dist/src/mobile/index.d.ts +1 -1
  99. package/dist/src/mobile/index.js +2 -7
  100. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.d.ts +1 -3
  101. package/dist/src/mobile/panels/MobileBasicModal/MobileBasicModal.js +7 -14
  102. package/dist/src/sub/AdminList/AdminList/AdminList.d.ts +1 -10
  103. package/dist/src/sub/AdminList/AdminList/AdminList.js +18 -19
  104. package/dist/src/sub/AdminList/AdminList/HeaderRow.d.ts +1 -10
  105. package/dist/src/sub/AdminList/AdminList/HeaderRow.js +2 -2
  106. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.d.ts +22 -0
  107. package/dist/src/sub/DynamicLayout/CompositionEditor/CompositionEditor.js +1134 -0
  108. package/dist/src/sub/DynamicLayout/CompositionRenderer/ComponentBlockMatcher.js +4 -1
  109. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.d.ts +5 -3
  110. package/dist/src/sub/DynamicLayout/CompositionRenderer/Composition.js +122 -54
  111. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.d.ts +11 -0
  112. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionBackground.js +45 -0
  113. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.d.ts +10 -0
  114. package/dist/src/sub/DynamicLayout/CompositionRenderer/createCompositions.js +79 -0
  115. package/dist/src/sub/DynamicLayout/DynamicLayout.d.ts +1 -1
  116. package/dist/src/sub/DynamicLayout/DynamicLayout.js +4 -2
  117. package/dist/src/sub/DynamicLayout/components/Section/components/CustomSectionBackgroundMedia.js +24 -2
  118. package/dist/src/sub/DynamicLayout/components/Section/sectionContext.d.ts +2 -2
  119. package/dist/src/sub/DynamicLayout/components/Section/util/parseSectionBackgroundMediaData.js +3 -1
  120. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.d.ts +12 -0
  121. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/downIcons.js +76 -0
  122. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.d.ts +4 -0
  123. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/index.js +47 -0
  124. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.d.ts +12 -0
  125. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/leftIcons.js +76 -0
  126. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.d.ts +12 -0
  127. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/rightIcons.js +76 -0
  128. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.d.ts +12 -0
  129. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/editorNavigationIcons/upIcons.js +76 -0
  130. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.d.ts +40 -0
  131. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/assets/icons/line/index.js +36 -177
  132. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_Dark.json +152 -4
  133. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/PaletteColor_light.json +150 -2
  134. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/SemanticColor.json +45 -1
  135. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/UIColor.json +262 -9
  136. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/index.d.ts +593 -0
  137. package/dist/src/sub/DynamicLayout/components/pdsOriginal/common/styles/colorSet/ui-type.d.ts +253 -0
  138. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.d.ts +3 -1
  139. package/dist/src/sub/DynamicLayout/components/pdsOriginal/desktop/IconButton/IconButton.js +5 -3
  140. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.d.ts +2 -1
  141. package/dist/src/sub/DynamicLayout/components/pdsOriginal/hybrid/Icon/Icon.js +9 -2
  142. package/dist/src/sub/DynamicLayout/compositionActionTypes.d.ts +139 -0
  143. package/dist/src/sub/DynamicLayout/compositionQueryContext.d.ts +8 -0
  144. package/dist/src/sub/DynamicLayout/compositionQueryContext.js +14 -0
  145. package/dist/src/sub/DynamicLayout/mock_componentBlocks.d.ts +911 -0
  146. package/dist/src/sub/DynamicLayout/mock_componentBlocks.js +4238 -0
  147. package/dist/src/sub/DynamicLayout/mock_composition.d.ts +3 -0
  148. package/dist/src/sub/DynamicLayout/mock_composition.js +1664 -0
  149. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.d.ts +1 -0
  150. package/dist/src/sub/DynamicLayout/mock_contentsCarousel.js +1168 -0
  151. package/dist/src/sub/DynamicLayout/mock_contentsList.d.ts +1 -0
  152. package/dist/src/sub/DynamicLayout/mock_contentsList.js +1091 -0
  153. package/dist/src/sub/DynamicLayout/mock_queryData.d.ts +96 -0
  154. package/dist/src/sub/DynamicLayout/mock_queryData.js +2639 -0
  155. package/dist/src/sub/DynamicLayout/mock_slideBanner.d.ts +842 -0
  156. package/dist/src/sub/DynamicLayout/mock_slideBanner.js +854 -0
  157. package/dist/src/sub/DynamicLayout/mock_video.d.ts +368 -0
  158. package/dist/src/sub/DynamicLayout/mock_video.js +371 -0
  159. package/dist/src/sub/DynamicLayout/mock_video_cb.d.ts +0 -1
  160. package/dist/src/sub/DynamicLayout/mock_video_cb.js +4 -5
  161. package/dist/src/sub/DynamicLayout/mocks.d.ts +8 -961
  162. package/dist/src/sub/DynamicLayout/mocks.js +45 -4237
  163. package/dist/src/sub/DynamicLayout/sectionActionTypes.d.ts +4 -4
  164. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.d.ts +1 -1
  165. package/dist/src/sub/DynamicLayout/sections/CustomSection/CustomSection.js +7 -7
  166. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.d.ts +1 -1
  167. package/dist/src/sub/DynamicLayout/sections/CustomSection/FlexGridItem.js +6 -5
  168. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/ComponentBlockMatcher.js +13 -3
  169. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Button/Button.js +18 -2
  170. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.d.ts +10 -4
  171. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarousel.js +148 -3
  172. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.d.ts +12 -0
  173. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/ContentsCarouselCore.js +72 -0
  174. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.d.ts +15 -0
  175. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationNextBtn.js +69 -0
  176. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.d.ts +15 -0
  177. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomNavigationPrevBtn.js +69 -0
  178. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.d.ts +9 -0
  179. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/CustomProgressbar.js +87 -0
  180. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.d.ts +4 -0
  181. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/navigationConfigs.js +849 -0
  182. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.d.ts +43 -0
  183. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/components/progressConfigs.js +162 -0
  184. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.d.ts +39 -0
  185. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/contentsCarouselUtils.js +182 -0
  186. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.d.ts +18 -0
  187. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useFlexGridLayout.js +229 -0
  188. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.d.ts +14 -0
  189. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/hooks/useSwiper.js +46 -0
  190. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.d.ts +1 -0
  191. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/index.js +8 -0
  192. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.d.ts +139 -0
  193. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsCarousel/types.js +2 -0
  194. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.d.ts +14 -0
  195. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsList.js +255 -0
  196. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.d.ts +17 -0
  197. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/ContentsListCore.js +39 -0
  198. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.d.ts +10 -0
  199. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/CustomPagination.js +85 -0
  200. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.d.ts +25 -0
  201. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/components/paginationConfigs.js +183 -0
  202. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.d.ts +29 -0
  203. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/contentsListUtils.js +130 -0
  204. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.d.ts +18 -0
  205. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/hooks/useFlexGridLayout.js +229 -0
  206. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/index.d.ts +1 -0
  207. package/dist/src/{desktop/panels/MultilingualModal → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList}/index.js +3 -3
  208. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.d.ts +67 -0
  209. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/ContentsList/types.js +2 -0
  210. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Image/Image.js +39 -3
  211. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.d.ts +14 -0
  212. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBanner.js +159 -0
  213. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.d.ts +12 -0
  214. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/SlideBannerCore.js +39 -0
  215. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.d.ts +15 -0
  216. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationNextBtn.js +69 -0
  217. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.d.ts +15 -0
  218. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomNavigationPrevBtn.js +69 -0
  219. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.d.ts +20 -0
  220. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomPagination.js +173 -0
  221. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.d.ts +9 -0
  222. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/CustomProgressbar.js +87 -0
  223. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.d.ts +4 -0
  224. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/navigationConfigs.js +849 -0
  225. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.d.ts +43 -0
  226. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/components/progressConfigs.js +162 -0
  227. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.d.ts +18 -0
  228. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useFlexGridLayout.js +229 -0
  229. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.d.ts +16 -0
  230. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/hooks/useSwiper.js +63 -0
  231. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/index.d.ts +1 -0
  232. package/dist/src/{desktop/components/Snackbar → sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner}/index.js +3 -3
  233. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.d.ts +46 -0
  234. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/slideBannerUtils.js +186 -0
  235. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.d.ts +163 -0
  236. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/SlideBanner/types.js +2 -0
  237. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/Text.js +58 -8
  238. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.d.ts +7 -0
  239. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/Text/textSpecFormatOptions.js +211 -0
  240. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/VideoPlayer.js +3 -28
  241. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.d.ts +0 -1
  242. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/VideoPlayer/helper.js +5 -15
  243. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/componentBlocks/types.d.ts +52 -3
  244. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/propComponent/CBBackgroundMedia.d.ts +2 -0
  245. package/dist/src/sub/DynamicLayout/sections/CustomSection/components/ComponentBlock/propComponent/CBBackgroundMedia.js +17 -0
  246. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/group.d.ts +1 -1
  247. package/dist/src/sub/DynamicLayout/sections/CustomSection/newUtils/replaceUndefinedValues.js +1 -1
  248. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.d.ts +27 -10
  249. package/dist/src/sub/DynamicLayout/sections/CustomSection/types.js +3 -1
  250. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim.d.ts +4 -4
  251. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding.d.ts +2 -2
  252. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.d.ts +14 -0
  253. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseCompositionPlacement.js +26 -0
  254. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseJsonProperties.d.ts +2 -2
  255. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.d.ts +7 -2
  256. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parsePlacement.js +16 -5
  257. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.d.ts +2 -2
  258. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/parseProperties.js +4 -3
  259. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropBorder.js +3 -0
  260. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/stylePropParsers/parseStylePropTextSpec.js +2 -0
  261. package/dist/src/sub/DynamicLayout/sections/CustomSection/util/types.d.ts +58 -3
  262. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.d.ts +1 -1
  263. package/dist/src/sub/DynamicLayout/sections/FlexGridCustomSection.js +1 -0
  264. package/dist/src/sub/DynamicLayout/types.d.ts +68 -17
  265. package/package.json +4 -8
  266. package/release-note.md +2 -2
  267. package/dist/scripts/copy-tinymce.d.ts +0 -1
  268. package/dist/scripts/copy-tinymce.js +0 -32
  269. package/dist/src/common/assets/icons/fill/Translate.d.ts +0 -4
  270. package/dist/src/common/assets/icons/fill/Translate.js +0 -30
  271. package/dist/src/common/assets/icons/line/Translate.d.ts +0 -4
  272. package/dist/src/common/assets/icons/line/Translate.js +0 -30
  273. package/dist/src/common/hooks/useParentResizeObserver.d.ts +0 -2
  274. package/dist/src/common/hooks/useParentResizeObserver.js +0 -20
  275. package/dist/src/common/hooks/useResizeObserver.d.ts +0 -3
  276. package/dist/src/common/hooks/useResizeObserver.js +0 -27
  277. package/dist/src/common/hooks/useWindowSize.d.ts +0 -4
  278. package/dist/src/common/hooks/useWindowSize.js +0 -22
  279. package/dist/src/common/types/multilingual.d.ts +0 -16
  280. package/dist/src/core/pricing/formatter.d.ts +0 -4
  281. package/dist/src/core/pricing/formatter.js +0 -18
  282. package/dist/src/core/pricing/index.d.ts +0 -2
  283. package/dist/src/core/pricing/index.js +0 -18
  284. package/dist/src/core/pricing/policy.d.ts +0 -26
  285. package/dist/src/core/pricing/policy.js +0 -98
  286. package/dist/src/core/pricing/service.d.ts +0 -62
  287. package/dist/src/core/pricing/service.js +0 -157
  288. package/dist/src/core/pricing/translator.d.ts +0 -27
  289. package/dist/src/core/pricing/translator.js +0 -54
  290. package/dist/src/core/pricing/types.d.ts +0 -19
  291. package/dist/src/core/pricing/types.js +0 -31
  292. package/dist/src/core/pricing/validator.d.ts +0 -29
  293. package/dist/src/core/pricing/validator.js +0 -105
  294. package/dist/src/desktop/components/BoxItem/BoxItem.d.ts +0 -68
  295. package/dist/src/desktop/components/BoxItem/BoxItem.js +0 -107
  296. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
  297. package/dist/src/desktop/components/BoxItem/LeftBox/Checkbox.js +0 -9
  298. package/dist/src/desktop/components/BoxItem/LeftBox/Image.d.ts +0 -11
  299. package/dist/src/desktop/components/BoxItem/LeftBox/Image.js +0 -9
  300. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
  301. package/dist/src/desktop/components/BoxItem/LeftBox/LeftBox.js +0 -36
  302. package/dist/src/desktop/components/BoxItem/LeftBox/index.d.ts +0 -2
  303. package/dist/src/desktop/components/BoxItem/LeftBox/index.js +0 -8
  304. package/dist/src/desktop/components/BoxItem/index.d.ts +0 -1
  305. package/dist/src/desktop/components/BoxItem/index.js +0 -8
  306. package/dist/src/desktop/components/Calendar/Calendar.d.ts +0 -4
  307. package/dist/src/desktop/components/Calendar/Calendar.js +0 -434
  308. package/dist/src/desktop/components/Calendar/components/CurrentTimeIndicator/CurrentTimeIndicator.d.ts +0 -7
  309. package/dist/src/desktop/components/Calendar/components/CurrentTimeIndicator/CurrentTimeIndicator.js +0 -47
  310. package/dist/src/desktop/components/Calendar/components/CurrentTimeIndicator/index.d.ts +0 -2
  311. package/dist/src/desktop/components/Calendar/components/CurrentTimeIndicator/index.js +0 -4
  312. package/dist/src/desktop/components/Calendar/components/Schedule/AllDaySchedulesSection.d.ts +0 -12
  313. package/dist/src/desktop/components/Calendar/components/Schedule/AllDaySchedulesSection.js +0 -140
  314. package/dist/src/desktop/components/Calendar/components/Schedule/MultiWeekSchedulesLayer.d.ts +0 -21
  315. package/dist/src/desktop/components/Calendar/components/Schedule/MultiWeekSchedulesLayer.js +0 -186
  316. package/dist/src/desktop/components/Calendar/components/Schedule/ScheduleItem.d.ts +0 -25
  317. package/dist/src/desktop/components/Calendar/components/Schedule/ScheduleItem.js +0 -56
  318. package/dist/src/desktop/components/Calendar/components/Schedule/TimeBasedScheduleItem.d.ts +0 -12
  319. package/dist/src/desktop/components/Calendar/components/Schedule/TimeBasedScheduleItem.js +0 -183
  320. package/dist/src/desktop/components/Calendar/components/Schedule/index.d.ts +0 -4
  321. package/dist/src/desktop/components/Calendar/components/Schedule/index.js +0 -11
  322. package/dist/src/desktop/components/Calendar/constants.d.ts +0 -2
  323. package/dist/src/desktop/components/Calendar/constants.js +0 -49
  324. package/dist/src/desktop/components/Calendar/context/CalendarContext.d.ts +0 -53
  325. package/dist/src/desktop/components/Calendar/context/CalendarContext.js +0 -63
  326. package/dist/src/desktop/components/Calendar/hooks/useTimeDragSelection.d.ts +0 -16
  327. package/dist/src/desktop/components/Calendar/hooks/useTimeDragSelection.js +0 -81
  328. package/dist/src/desktop/components/Calendar/index.d.ts +0 -9
  329. package/dist/src/desktop/components/Calendar/index.js +0 -31
  330. package/dist/src/desktop/components/Calendar/types/types.d.ts +0 -70
  331. package/dist/src/desktop/components/Calendar/types/types.js +0 -10
  332. package/dist/src/desktop/components/Calendar/utils/calendarUtils.d.ts +0 -13
  333. package/dist/src/desktop/components/Calendar/utils/calendarUtils.js +0 -60
  334. package/dist/src/desktop/components/Calendar/utils/index.d.ts +0 -2
  335. package/dist/src/desktop/components/Calendar/utils/index.js +0 -18
  336. package/dist/src/desktop/components/Calendar/utils/timeFormatUtils.d.ts +0 -18
  337. package/dist/src/desktop/components/Calendar/utils/timeFormatUtils.js +0 -59
  338. package/dist/src/desktop/components/Calendar/views/DailyView.d.ts +0 -8
  339. package/dist/src/desktop/components/Calendar/views/DailyView.js +0 -116
  340. package/dist/src/desktop/components/Calendar/views/MonthlyView.d.ts +0 -29
  341. package/dist/src/desktop/components/Calendar/views/MonthlyView.js +0 -501
  342. package/dist/src/desktop/components/Calendar/views/WeeklyView.d.ts +0 -9
  343. package/dist/src/desktop/components/Calendar/views/WeeklyView.js +0 -150
  344. package/dist/src/desktop/components/Calendar/views/YearlyView.d.ts +0 -13
  345. package/dist/src/desktop/components/Calendar/views/YearlyView.js +0 -77
  346. package/dist/src/desktop/components/PriceTextField/PriceTextField.d.ts +0 -44
  347. package/dist/src/desktop/components/PriceTextField/PriceTextField.js +0 -587
  348. package/dist/src/desktop/components/PriceTextField/index.d.ts +0 -1
  349. package/dist/src/desktop/components/PriceTextField/index.js +0 -8
  350. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.d.ts +0 -14
  351. package/dist/src/desktop/components/PriceTextLabel/PriceTextLabel.js +0 -47
  352. package/dist/src/desktop/components/PriceTextLabel/index.d.ts +0 -1
  353. package/dist/src/desktop/components/PriceTextLabel/index.js +0 -8
  354. package/dist/src/desktop/components/RichTextEditor/RichTextEditor.d.ts +0 -34
  355. package/dist/src/desktop/components/RichTextEditor/RichTextEditor.js +0 -247
  356. package/dist/src/desktop/components/RichTextEditor/index.d.ts +0 -2
  357. package/dist/src/desktop/components/RichTextEditor/index.js +0 -8
  358. package/dist/src/desktop/components/Snackbar/Snackbar.d.ts +0 -17
  359. package/dist/src/desktop/components/Snackbar/Snackbar.js +0 -221
  360. package/dist/src/desktop/components/Snackbar/index.d.ts +0 -1
  361. package/dist/src/desktop/components/Snackbar/provider.d.ts +0 -11
  362. package/dist/src/desktop/components/Snackbar/provider.js +0 -43
  363. package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.d.ts +0 -13
  364. package/dist/src/desktop/panels/MultilingualModal/MultilingualModal.js +0 -206
  365. package/dist/src/desktop/panels/MultilingualModal/index.d.ts +0 -1
  366. package/dist/src/mobile/components/BoxItem/BoxItem.d.ts +0 -68
  367. package/dist/src/mobile/components/BoxItem/BoxItem.js +0 -106
  368. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.d.ts +0 -7
  369. package/dist/src/mobile/components/BoxItem/LeftBox/Checkbox.js +0 -9
  370. package/dist/src/mobile/components/BoxItem/LeftBox/Image.d.ts +0 -11
  371. package/dist/src/mobile/components/BoxItem/LeftBox/Image.js +0 -9
  372. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.d.ts +0 -11
  373. package/dist/src/mobile/components/BoxItem/LeftBox/LeftBox.js +0 -36
  374. package/dist/src/mobile/components/BoxItem/LeftBox/index.d.ts +0 -2
  375. package/dist/src/mobile/components/BoxItem/LeftBox/index.js +0 -8
  376. package/dist/src/mobile/components/BoxItem/index.d.ts +0 -1
  377. package/dist/src/mobile/components/BoxItem/index.js +0 -8
  378. package/dist/src/mobile/components/PriceTextField/PriceTextField.d.ts +0 -43
  379. package/dist/src/mobile/components/PriceTextField/PriceTextField.js +0 -574
  380. package/dist/src/mobile/components/PriceTextField/index.d.ts +0 -1
  381. package/dist/src/mobile/components/PriceTextField/index.js +0 -8
  382. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.d.ts +0 -14
  383. package/dist/src/mobile/components/PriceTextLabel/PriceTextLabel.js +0 -47
  384. package/dist/src/mobile/components/PriceTextLabel/index.d.ts +0 -1
  385. package/dist/src/mobile/components/PriceTextLabel/index.js +0 -8
  386. package/dist/src/mobile/components/RichTextEditor/RichTextEditor.d.ts +0 -34
  387. package/dist/src/mobile/components/RichTextEditor/RichTextEditor.js +0 -251
  388. package/dist/src/mobile/components/RichTextEditor/index.d.ts +0 -2
  389. package/dist/src/mobile/components/RichTextEditor/index.js +0 -8
  390. package/dist/src/mobile/components/Snackbar/Snackbar.d.ts +0 -17
  391. package/dist/src/mobile/components/Snackbar/Snackbar.js +0 -221
  392. package/dist/src/mobile/components/Snackbar/index.d.ts +0 -1
  393. package/dist/src/mobile/components/Snackbar/index.js +0 -8
  394. package/dist/src/mobile/components/Snackbar/provider.d.ts +0 -11
  395. package/dist/src/mobile/components/Snackbar/provider.js +0 -43
  396. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.d.ts +0 -6
  397. package/dist/src/sub/DynamicLayout/CompositionRenderer/CompositionRenderer.js +0 -27
  398. package/dist/tinymce/CHANGELOG.md +0 -3453
  399. package/dist/tinymce/README.md +0 -73
  400. package/dist/tinymce/bower.json +0 -27
  401. package/dist/tinymce/composer.json +0 -52
  402. package/dist/tinymce/icons/default/icons.js +0 -194
  403. package/dist/tinymce/icons/default/icons.min.js +0 -1
  404. package/dist/tinymce/icons/default/index.js +0 -7
  405. package/dist/tinymce/license.txt +0 -21
  406. package/dist/tinymce/models/dom/index.js +0 -7
  407. package/dist/tinymce/models/dom/model.js +0 -8040
  408. package/dist/tinymce/models/dom/model.min.js +0 -1
  409. package/dist/tinymce/notices.txt +0 -21
  410. package/dist/tinymce/package.json +0 -32
  411. package/dist/tinymce/plugins/accordion/index.js +0 -7
  412. package/dist/tinymce/plugins/accordion/plugin.js +0 -1054
  413. package/dist/tinymce/plugins/accordion/plugin.min.js +0 -5
  414. package/dist/tinymce/plugins/advlist/index.js +0 -7
  415. package/dist/tinymce/plugins/advlist/plugin.js +0 -259
  416. package/dist/tinymce/plugins/advlist/plugin.min.js +0 -5
  417. package/dist/tinymce/plugins/anchor/index.js +0 -7
  418. package/dist/tinymce/plugins/anchor/plugin.js +0 -214
  419. package/dist/tinymce/plugins/anchor/plugin.min.js +0 -5
  420. package/dist/tinymce/plugins/autolink/index.js +0 -7
  421. package/dist/tinymce/plugins/autolink/plugin.js +0 -228
  422. package/dist/tinymce/plugins/autolink/plugin.min.js +0 -5
  423. package/dist/tinymce/plugins/autoresize/index.js +0 -7
  424. package/dist/tinymce/plugins/autoresize/plugin.js +0 -192
  425. package/dist/tinymce/plugins/autoresize/plugin.min.js +0 -5
  426. package/dist/tinymce/plugins/autosave/index.js +0 -7
  427. package/dist/tinymce/plugins/autosave/plugin.js +0 -233
  428. package/dist/tinymce/plugins/autosave/plugin.min.js +0 -5
  429. package/dist/tinymce/plugins/charmap/index.js +0 -7
  430. package/dist/tinymce/plugins/charmap/plugin.js +0 -1658
  431. package/dist/tinymce/plugins/charmap/plugin.min.js +0 -5
  432. package/dist/tinymce/plugins/code/index.js +0 -7
  433. package/dist/tinymce/plugins/code/plugin.js +0 -85
  434. package/dist/tinymce/plugins/code/plugin.min.js +0 -5
  435. package/dist/tinymce/plugins/codesample/index.js +0 -7
  436. package/dist/tinymce/plugins/codesample/plugin.js +0 -2471
  437. package/dist/tinymce/plugins/codesample/plugin.min.js +0 -13
  438. package/dist/tinymce/plugins/directionality/index.js +0 -7
  439. package/dist/tinymce/plugins/directionality/plugin.js +0 -395
  440. package/dist/tinymce/plugins/directionality/plugin.min.js +0 -5
  441. package/dist/tinymce/plugins/emoticons/index.js +0 -7
  442. package/dist/tinymce/plugins/emoticons/js/emojiimages.js +0 -1
  443. package/dist/tinymce/plugins/emoticons/js/emojiimages.min.js +0 -1
  444. package/dist/tinymce/plugins/emoticons/js/emojis.js +0 -1
  445. package/dist/tinymce/plugins/emoticons/js/emojis.min.js +0 -1
  446. package/dist/tinymce/plugins/emoticons/plugin.js +0 -595
  447. package/dist/tinymce/plugins/emoticons/plugin.min.js +0 -5
  448. package/dist/tinymce/plugins/fullscreen/index.js +0 -7
  449. package/dist/tinymce/plugins/fullscreen/plugin.js +0 -1249
  450. package/dist/tinymce/plugins/fullscreen/plugin.min.js +0 -5
  451. package/dist/tinymce/plugins/help/index.js +0 -7
  452. package/dist/tinymce/plugins/help/js/i18n/keynav/ar.js +0 -90
  453. package/dist/tinymce/plugins/help/js/i18n/keynav/bg_BG.js +0 -90
  454. package/dist/tinymce/plugins/help/js/i18n/keynav/ca.js +0 -90
  455. package/dist/tinymce/plugins/help/js/i18n/keynav/cs.js +0 -90
  456. package/dist/tinymce/plugins/help/js/i18n/keynav/da.js +0 -90
  457. package/dist/tinymce/plugins/help/js/i18n/keynav/de.js +0 -90
  458. package/dist/tinymce/plugins/help/js/i18n/keynav/el.js +0 -90
  459. package/dist/tinymce/plugins/help/js/i18n/keynav/en.js +0 -90
  460. package/dist/tinymce/plugins/help/js/i18n/keynav/es.js +0 -90
  461. package/dist/tinymce/plugins/help/js/i18n/keynav/eu.js +0 -90
  462. package/dist/tinymce/plugins/help/js/i18n/keynav/fa.js +0 -90
  463. package/dist/tinymce/plugins/help/js/i18n/keynav/fi.js +0 -90
  464. package/dist/tinymce/plugins/help/js/i18n/keynav/fr_FR.js +0 -90
  465. package/dist/tinymce/plugins/help/js/i18n/keynav/he_IL.js +0 -90
  466. package/dist/tinymce/plugins/help/js/i18n/keynav/hi.js +0 -90
  467. package/dist/tinymce/plugins/help/js/i18n/keynav/hr.js +0 -90
  468. package/dist/tinymce/plugins/help/js/i18n/keynav/hu_HU.js +0 -90
  469. package/dist/tinymce/plugins/help/js/i18n/keynav/id.js +0 -90
  470. package/dist/tinymce/plugins/help/js/i18n/keynav/it.js +0 -90
  471. package/dist/tinymce/plugins/help/js/i18n/keynav/ja.js +0 -90
  472. package/dist/tinymce/plugins/help/js/i18n/keynav/kk.js +0 -90
  473. package/dist/tinymce/plugins/help/js/i18n/keynav/ko_KR.js +0 -90
  474. package/dist/tinymce/plugins/help/js/i18n/keynav/ms.js +0 -90
  475. package/dist/tinymce/plugins/help/js/i18n/keynav/nb_NO.js +0 -90
  476. package/dist/tinymce/plugins/help/js/i18n/keynav/nl.js +0 -90
  477. package/dist/tinymce/plugins/help/js/i18n/keynav/pl.js +0 -90
  478. package/dist/tinymce/plugins/help/js/i18n/keynav/pt_BR.js +0 -90
  479. package/dist/tinymce/plugins/help/js/i18n/keynav/pt_PT.js +0 -90
  480. package/dist/tinymce/plugins/help/js/i18n/keynav/ro.js +0 -90
  481. package/dist/tinymce/plugins/help/js/i18n/keynav/ru.js +0 -90
  482. package/dist/tinymce/plugins/help/js/i18n/keynav/sk.js +0 -90
  483. package/dist/tinymce/plugins/help/js/i18n/keynav/sl_SI.js +0 -90
  484. package/dist/tinymce/plugins/help/js/i18n/keynav/sv_SE.js +0 -90
  485. package/dist/tinymce/plugins/help/js/i18n/keynav/th_TH.js +0 -90
  486. package/dist/tinymce/plugins/help/js/i18n/keynav/tr.js +0 -90
  487. package/dist/tinymce/plugins/help/js/i18n/keynav/uk.js +0 -90
  488. package/dist/tinymce/plugins/help/js/i18n/keynav/vi.js +0 -90
  489. package/dist/tinymce/plugins/help/js/i18n/keynav/zh_CN.js +0 -84
  490. package/dist/tinymce/plugins/help/js/i18n/keynav/zh_TW.js +0 -90
  491. package/dist/tinymce/plugins/help/plugin.js +0 -898
  492. package/dist/tinymce/plugins/help/plugin.min.js +0 -5
  493. package/dist/tinymce/plugins/image/index.js +0 -7
  494. package/dist/tinymce/plugins/image/plugin.js +0 -1505
  495. package/dist/tinymce/plugins/image/plugin.min.js +0 -5
  496. package/dist/tinymce/plugins/importcss/index.js +0 -7
  497. package/dist/tinymce/plugins/importcss/plugin.js +0 -344
  498. package/dist/tinymce/plugins/importcss/plugin.min.js +0 -5
  499. package/dist/tinymce/plugins/insertdatetime/index.js +0 -7
  500. package/dist/tinymce/plugins/insertdatetime/plugin.js +0 -187
  501. package/dist/tinymce/plugins/insertdatetime/plugin.min.js +0 -5
  502. package/dist/tinymce/plugins/link/index.js +0 -7
  503. package/dist/tinymce/plugins/link/plugin.js +0 -1242
  504. package/dist/tinymce/plugins/link/plugin.min.js +0 -5
  505. package/dist/tinymce/plugins/lists/index.js +0 -7
  506. package/dist/tinymce/plugins/lists/plugin.js +0 -2172
  507. package/dist/tinymce/plugins/lists/plugin.min.js +0 -5
  508. package/dist/tinymce/plugins/media/index.js +0 -7
  509. package/dist/tinymce/plugins/media/plugin.js +0 -1217
  510. package/dist/tinymce/plugins/media/plugin.min.js +0 -5
  511. package/dist/tinymce/plugins/nonbreaking/index.js +0 -7
  512. package/dist/tinymce/plugins/nonbreaking/plugin.js +0 -123
  513. package/dist/tinymce/plugins/nonbreaking/plugin.min.js +0 -5
  514. package/dist/tinymce/plugins/pagebreak/index.js +0 -7
  515. package/dist/tinymce/plugins/pagebreak/plugin.js +0 -117
  516. package/dist/tinymce/plugins/pagebreak/plugin.min.js +0 -5
  517. package/dist/tinymce/plugins/preview/index.js +0 -7
  518. package/dist/tinymce/plugins/preview/plugin.js +0 -97
  519. package/dist/tinymce/plugins/preview/plugin.min.js +0 -5
  520. package/dist/tinymce/plugins/quickbars/index.js +0 -7
  521. package/dist/tinymce/plugins/quickbars/plugin.js +0 -447
  522. package/dist/tinymce/plugins/quickbars/plugin.min.js +0 -5
  523. package/dist/tinymce/plugins/save/index.js +0 -7
  524. package/dist/tinymce/plugins/save/plugin.js +0 -118
  525. package/dist/tinymce/plugins/save/plugin.min.js +0 -5
  526. package/dist/tinymce/plugins/searchreplace/index.js +0 -7
  527. package/dist/tinymce/plugins/searchreplace/plugin.js +0 -1093
  528. package/dist/tinymce/plugins/searchreplace/plugin.min.js +0 -5
  529. package/dist/tinymce/plugins/table/index.js +0 -7
  530. package/dist/tinymce/plugins/table/plugin.js +0 -3462
  531. package/dist/tinymce/plugins/table/plugin.min.js +0 -5
  532. package/dist/tinymce/plugins/template/index.js +0 -7
  533. package/dist/tinymce/plugins/template/plugin.js +0 -567
  534. package/dist/tinymce/plugins/template/plugin.min.js +0 -5
  535. package/dist/tinymce/plugins/visualblocks/index.js +0 -7
  536. package/dist/tinymce/plugins/visualblocks/plugin.js +0 -98
  537. package/dist/tinymce/plugins/visualblocks/plugin.min.js +0 -5
  538. package/dist/tinymce/plugins/visualchars/index.js +0 -7
  539. package/dist/tinymce/plugins/visualchars/plugin.js +0 -560
  540. package/dist/tinymce/plugins/visualchars/plugin.min.js +0 -5
  541. package/dist/tinymce/plugins/wordcount/index.js +0 -7
  542. package/dist/tinymce/plugins/wordcount/plugin.js +0 -405
  543. package/dist/tinymce/plugins/wordcount/plugin.min.js +0 -5
  544. package/dist/tinymce/skins/content/dark/content.css +0 -79
  545. package/dist/tinymce/skins/content/dark/content.js +0 -15
  546. package/dist/tinymce/skins/content/dark/content.min.css +0 -14
  547. package/dist/tinymce/skins/content/default/content.css +0 -74
  548. package/dist/tinymce/skins/content/default/content.js +0 -15
  549. package/dist/tinymce/skins/content/default/content.min.css +0 -14
  550. package/dist/tinymce/skins/content/document/content.css +0 -79
  551. package/dist/tinymce/skins/content/document/content.js +0 -15
  552. package/dist/tinymce/skins/content/document/content.min.css +0 -14
  553. package/dist/tinymce/skins/content/tinymce-5/content.css +0 -74
  554. package/dist/tinymce/skins/content/tinymce-5/content.js +0 -15
  555. package/dist/tinymce/skins/content/tinymce-5/content.min.css +0 -14
  556. package/dist/tinymce/skins/content/tinymce-5-dark/content.css +0 -79
  557. package/dist/tinymce/skins/content/tinymce-5-dark/content.js +0 -15
  558. package/dist/tinymce/skins/content/tinymce-5-dark/content.min.css +0 -14
  559. package/dist/tinymce/skins/content/writer/content.css +0 -75
  560. package/dist/tinymce/skins/content/writer/content.js +0 -15
  561. package/dist/tinymce/skins/content/writer/content.min.css +0 -14
  562. package/dist/tinymce/skins/ui/oxide/content.css +0 -798
  563. package/dist/tinymce/skins/ui/oxide/content.inline.css +0 -792
  564. package/dist/tinymce/skins/ui/oxide/content.inline.js +0 -15
  565. package/dist/tinymce/skins/ui/oxide/content.inline.min.css +0 -14
  566. package/dist/tinymce/skins/ui/oxide/content.js +0 -15
  567. package/dist/tinymce/skins/ui/oxide/content.min.css +0 -14
  568. package/dist/tinymce/skins/ui/oxide/skin.css +0 -3763
  569. package/dist/tinymce/skins/ui/oxide/skin.js +0 -2
  570. package/dist/tinymce/skins/ui/oxide/skin.min.css +0 -1
  571. package/dist/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
  572. package/dist/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  573. package/dist/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  574. package/dist/tinymce/skins/ui/oxide-dark/content.css +0 -779
  575. package/dist/tinymce/skins/ui/oxide-dark/content.inline.css +0 -792
  576. package/dist/tinymce/skins/ui/oxide-dark/content.inline.js +0 -15
  577. package/dist/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -14
  578. package/dist/tinymce/skins/ui/oxide-dark/content.js +0 -15
  579. package/dist/tinymce/skins/ui/oxide-dark/content.min.css +0 -14
  580. package/dist/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
  581. package/dist/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  582. package/dist/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  583. package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
  584. package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  585. package/dist/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  586. package/dist/tinymce/skins/ui/tinymce-5/content.css +0 -798
  587. package/dist/tinymce/skins/ui/tinymce-5/content.inline.css +0 -792
  588. package/dist/tinymce/skins/ui/tinymce-5/content.inline.js +0 -15
  589. package/dist/tinymce/skins/ui/tinymce-5/content.inline.min.css +0 -14
  590. package/dist/tinymce/skins/ui/tinymce-5/content.js +0 -15
  591. package/dist/tinymce/skins/ui/tinymce-5/content.min.css +0 -14
  592. package/dist/tinymce/skins/ui/tinymce-5/skin.css +0 -3857
  593. package/dist/tinymce/skins/ui/tinymce-5/skin.js +0 -2
  594. package/dist/tinymce/skins/ui/tinymce-5/skin.min.css +0 -1
  595. package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.css +0 -30
  596. package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.js +0 -2
  597. package/dist/tinymce/skins/ui/tinymce-5/skin.shadowdom.min.css +0 -1
  598. package/dist/tinymce/skins/ui/tinymce-5-dark/content.css +0 -779
  599. package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.css +0 -792
  600. package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.js +0 -15
  601. package/dist/tinymce/skins/ui/tinymce-5-dark/content.inline.min.css +0 -14
  602. package/dist/tinymce/skins/ui/tinymce-5-dark/content.js +0 -15
  603. package/dist/tinymce/skins/ui/tinymce-5-dark/content.min.css +0 -14
  604. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.css +0 -3857
  605. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.js +0 -2
  606. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.min.css +0 -1
  607. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.css +0 -30
  608. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.js +0 -2
  609. package/dist/tinymce/skins/ui/tinymce-5-dark/skin.shadowdom.min.css +0 -1
  610. package/dist/tinymce/themes/silver/index.js +0 -7
  611. package/dist/tinymce/themes/silver/theme.js +0 -30775
  612. package/dist/tinymce/themes/silver/theme.min.js +0 -1
  613. package/dist/tinymce/tinymce.d.ts +0 -3238
  614. package/dist/tinymce/tinymce.js +0 -31779
  615. package/dist/tinymce/tinymce.min.js +0 -11
  616. package/scripts/copy-tinymce.js +0 -37
  617. /package/dist/src/{common/types/multilingual.js → sub/DynamicLayout/compositionActionTypes.js} +0 -0
@@ -1,6 +1,7 @@
1
1
  import { ComponentBlock } from '../types';
2
- import type { ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
3
- export declare function parsePlacement(components: ComponentBlock[], zOrders: ZOrder): {
2
+ import type { PlaceRestrictionType } from '../../../../DynamicLayout/types';
3
+ import type { ZOrder } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
4
+ export declare function parsePlacement(components: ComponentBlock[], zOrders: ZOrder, placementRestriction?: PlaceRestrictionType): {
4
5
  sm: {
5
6
  i: string;
6
7
  x: number;
@@ -9,6 +10,8 @@ export declare function parsePlacement(components: ComponentBlock[], zOrders: ZO
9
10
  h: number;
10
11
  z: number;
11
12
  autoResize: boolean;
13
+ minH: number;
14
+ minW: number;
12
15
  }[];
13
16
  lg: {
14
17
  i: string;
@@ -18,6 +21,8 @@ export declare function parsePlacement(components: ComponentBlock[], zOrders: ZO
18
21
  h: number;
19
22
  z: number;
20
23
  autoResize: boolean;
24
+ minH: number;
25
+ minW: number;
21
26
  }[];
22
27
  };
23
28
  export default parsePlacement;
@@ -12,13 +12,13 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
12
12
  Object.defineProperty(exports, "__esModule", { value: true });
13
13
  exports.parsePlacement = void 0;
14
14
  var types_1 = require("../types");
15
- function parsePlacement(components, zOrders) {
15
+ function parsePlacement(components, zOrders, placementRestriction) {
16
16
  if (!zOrders) {
17
17
  console.error('Z-ORDER NOT FOUND');
18
18
  }
19
19
  return components.reduce(function (acc, cur) {
20
20
  var id = cur.id, jsonProperties = cur.jsonProperties, componentBlockCode = cur.componentBlockCode;
21
- var _a = parsePropPlacement(jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, id, componentBlockCode, zOrders), mobileLayout = _a.mobileLayout, desktopLayout = _a.desktopLayout;
21
+ var _a = parsePropPlacement(jsonProperties.data.CB_PLACEMENT_PROP_PLACEMENT, id, componentBlockCode, zOrders, placementRestriction ? placementRestriction[componentBlockCode] : undefined), mobileLayout = _a.mobileLayout, desktopLayout = _a.desktopLayout;
22
22
  return {
23
23
  sm: __spreadArray(__spreadArray([], acc.sm, true), [mobileLayout], false),
24
24
  lg: __spreadArray(__spreadArray([], acc.lg, true), [desktopLayout], false)
@@ -26,7 +26,8 @@ function parsePlacement(components, zOrders) {
26
26
  }, { sm: [], lg: [] });
27
27
  }
28
28
  exports.parsePlacement = parsePlacement;
29
- function parsePropPlacement(props, id, cbCode, zOrders) {
29
+ function parsePropPlacement(props, id, cbCode, zOrders, cbRestriction) {
30
+ var _a, _b, _c, _d;
30
31
  var desktopLayout = {
31
32
  i: id.toString(),
32
33
  x: props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTX,
@@ -34,7 +35,9 @@ function parsePropPlacement(props, id, cbCode, zOrders) {
34
35
  w: props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS,
35
36
  h: props.CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS,
36
37
  z: zOrders.desktop[id],
37
- autoResize: cbCode === types_1.CB_ALL_CODES.CB_TEXT
38
+ autoResize: AUTO_RESIZE_CODES.includes(cbCode),
39
+ minH: (_a = cbRestriction === null || cbRestriction === void 0 ? void 0 : cbRestriction.rowHMin) !== null && _a !== void 0 ? _a : 1,
40
+ minW: (_b = cbRestriction === null || cbRestriction === void 0 ? void 0 : cbRestriction.columnWMin) !== null && _b !== void 0 ? _b : 1
38
41
  };
39
42
  var mobileLayout = {
40
43
  i: id.toString(),
@@ -43,11 +46,19 @@ function parsePropPlacement(props, id, cbCode, zOrders) {
43
46
  w: props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_COLS:MOBILE'],
44
47
  h: props['CB_PLACEMENT_PROP_PLACEMENT_SPEC_ROWS:MOBILE'],
45
48
  z: zOrders.mobile[id],
46
- autoResize: cbCode === types_1.CB_ALL_CODES.CB_TEXT
49
+ autoResize: AUTO_RESIZE_CODES.includes(cbCode),
50
+ minH: (_c = cbRestriction === null || cbRestriction === void 0 ? void 0 : cbRestriction.rowHMin) !== null && _c !== void 0 ? _c : 1,
51
+ minW: (_d = cbRestriction === null || cbRestriction === void 0 ? void 0 : cbRestriction.mobileColumnWMin) !== null && _d !== void 0 ? _d : 1
47
52
  };
48
53
  return {
49
54
  mobileLayout: mobileLayout,
50
55
  desktopLayout: desktopLayout
51
56
  };
52
57
  }
58
+ var AUTO_RESIZE_CODES = [
59
+ types_1.CB_ALL_CODES.CB_TEXT
60
+ // CB_ALL_CODES.CB_LIST,
61
+ // CB_ALL_CODES.CB_CONTENTSCAROUSEL,
62
+ // CB_ALL_CODES.CB_SLIDEBANNER
63
+ ];
53
64
  exports.default = parsePlacement;
@@ -1,5 +1,5 @@
1
1
  import { CB_LAYOUT_PROP_KEYS } from './layoutPropParsers/types';
2
2
  import { CB_STYLE_PROP_KEYS } from './stylePropParsers/types';
3
- import type { Device, ParserResult, CB_TEXT_PROPERTIES_TYPE, CB_BTN_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE } from './types';
3
+ import type { Device, ParserResult, CB_TEXT_PROPERTIES_TYPE, CB_BTN_PROPERTIES_TYPE, CB_IMG_PROPERTIES_TYPE, CB_TWITTER_PROPERTIES_TYPE, CB_DIVIDER_PROPERTIES_TYPE, CB_YOUTUBE_PROPERTIES_TYPE, CB_RICHTEXT_PROPERTIES_TYPE, CB_EMBED_PROPERTIES_TYPE, CB_LIST_PROPERTIES_TYPE, CB_CONTENTSCAROUSEL_PROPERTIES_TYPE, CB_SLIDEBANNER_PROPERTIES_TYPE, CB_VIDEOPLAYER_PROPERTIES_TYPE } from './types';
4
4
  export type specTypes = CB_LAYOUT_PROP_KEYS | CB_STYLE_PROP_KEYS;
5
- export default function parseProperties(properties: CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE, device: Device): ParserResult;
5
+ export default function parseProperties(properties: CB_TEXT_PROPERTIES_TYPE | CB_BTN_PROPERTIES_TYPE | CB_IMG_PROPERTIES_TYPE | CB_TWITTER_PROPERTIES_TYPE | CB_DIVIDER_PROPERTIES_TYPE | CB_YOUTUBE_PROPERTIES_TYPE | CB_RICHTEXT_PROPERTIES_TYPE | CB_EMBED_PROPERTIES_TYPE | CB_LIST_PROPERTIES_TYPE | CB_CONTENTSCAROUSEL_PROPERTIES_TYPE | CB_SLIDEBANNER_PROPERTIES_TYPE | CB_VIDEOPLAYER_PROPERTIES_TYPE, device: Device): ParserResult;
@@ -27,8 +27,8 @@ function parseProperties(properties, device) {
27
27
  specs: specs
28
28
  };
29
29
  if (normalizedProperty.name in types_4.CB_STYLE_PROP_KEYS) {
30
- var _a = (0, stylePropParsers_1.parseStyleProperties)(normalizedProperty, device), style = _a.style, hoverStyle = _a.hoverStyle;
31
- return __assign(__assign({}, acc), { style: __assign(__assign({}, acc.style), style), hoverStyle: __assign(__assign({}, acc.hoverStyle), hoverStyle) });
30
+ var _a = (0, stylePropParsers_1.parseStyleProperties)(normalizedProperty, device), style = _a.style, hoverStyle = _a.hoverStyle, overlayStyle = _a.overlayStyle;
31
+ return __assign(__assign({}, acc), { style: __assign(__assign({}, acc.style), style), hoverStyle: __assign(__assign({}, acc.hoverStyle), hoverStyle), overlayStyle: __assign(__assign({}, acc.overlayStyle), overlayStyle) });
32
32
  }
33
33
  if (normalizedProperty.name in types_3.CB_LAYOUT_PROP_KEYS) {
34
34
  var style = (0, layoutPropParsers_1.parseLayoutProperties)(normalizedProperty, device).style;
@@ -48,7 +48,8 @@ function parseProperties(properties, device) {
48
48
  hoverStyle: {},
49
49
  layout: {},
50
50
  effect: {},
51
- content: {}
51
+ content: {},
52
+ overlayStyle: {}
52
53
  });
53
54
  }
54
55
  exports.default = parseProperties;
@@ -27,6 +27,9 @@ function parseStylePropBorder(namedProps, device) {
27
27
  var value = specs[baseKey];
28
28
  var hoverValue = specs["".concat(baseKey, ":HOVER")];
29
29
  var isRadius = cssPropertyKey === 'borderRadius';
30
+ if (value === null || value === undefined) {
31
+ return acc;
32
+ }
30
33
  if (isRadius) {
31
34
  var _d = value, tl = _d.tl, tr = _d.tr, bl = _d.bl, br = _d.br;
32
35
  var hoverValueTypeExpanded = hoverValue;
@@ -87,5 +87,7 @@ function getParsedKey(key) {
87
87
  case "CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE":
88
88
  case "CB_STYLE_PROP_TEXT_SPEC_VERTICAL:MOBILE:HOVER":
89
89
  return 'VERTICAL';
90
+ default:
91
+ return '';
90
92
  }
91
93
  }
@@ -1,22 +1,31 @@
1
+ import type { CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsCarousel/types';
2
+ import type { CB_STYLE_PROP_CONTENTSLIST_SPECS } from '../components/ComponentBlock/componentBlocks/ContentsList/types';
3
+ import type { CB_STYLE_PROP_SLIDEBANNER_SPECS } from '../components/ComponentBlock/componentBlocks/SlideBanner/types';
1
4
  import type { CB_TWITTER_STYLE_PROPS } from '../components/ComponentBlock/componentBlocks/Twitter/types';
2
- import type { CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_CONTENT_PROP_VIDEO, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS } from '../components/ComponentBlock/componentBlocks/types';
5
+ import type { CB_CONTENT_PROP_CONTENTSCAROUSEL, CB_CONTENT_PROP_SLIDEBANNER, CB_CONTENT_PROP_CLINK, CB_CONTENT_PROP_CODEBLOCK, CB_CONTENT_PROP_IMAGE, CB_CONTENT_PROP_TEXT, CB_CONTENT_PROP_TWITTER, CB_STYLE_PROP_COLOR_SPECS, CB_STYLE_PROP_TEXT_SPECS, CB_CONTENT_PROP_CONTENTSLIST, CB_CONTENT_PROP_VIDEO } from '../components/ComponentBlock/componentBlocks/types';
3
6
  import type { CB_CONTENT_PROP_YOUTUBE_TYPE, CB_STYLE_PROP_BGCOLOR_SPECS } from '../components/ComponentBlock/componentBlocks/Youtube/types';
4
7
  import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './contentPropParsers/parseContentVisibility';
5
8
  import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './effectPropParsers/parseEffectPropEntAnim';
6
9
  import type { CB_LAYOUT_PROP_ARRANGE_SPECS } from './layoutPropParsers/parseLayoutPropArrange';
7
10
  import type { CB_LAYOUT_PROP_PADDING_SPECS } from './layoutPropParsers/parseLayoutPropPadding';
8
11
  import type { NamedLayoutPropType } from './layoutPropParsers/types';
12
+ import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './stylePropParsers/parseStylePropBgOverlay';
9
13
  import type { CB_STYLE_PROP_BORDER_SPECS } from './stylePropParsers/parseStylePropBorder';
10
14
  import type { CB_STYLE_PROP_DIVIDER_SPECS } from './stylePropParsers/parseStylePropDivider';
11
15
  import type { CB_STYLE_PROP_IMAGE_SPECS } from './stylePropParsers/parseStylePropImage';
12
16
  import type { CB_STYLE_PROP_TEXT_OPACITY_SPECS } from './stylePropParsers/parseStylePropOpacity';
13
17
  import type { CB_STYLE_PROP_SHADOW_SPECS } from './stylePropParsers/parseStylePropShadow';
14
18
  import type { NamedStylePropType } from './stylePropParsers/types';
19
+ import type { CB_STYLE_PROP_BGMEDIA_SPECS } from '../../../../DynamicLayout/types';
15
20
  import type { CSSProperties } from 'react';
16
21
  export type STRING_PLAIN = string;
17
22
  export type ENUM_STRING = string;
18
23
  export type NUMBER_INTEGER = number;
19
24
  export type STRING_8DIGIT_HEX = string;
25
+ export type CCB_VALUE_TYPE = 'VALUE' | 'DATA';
26
+ export type CB_VALUE_TYPE = 'VALUE' | 'DELEGATEDDATA' | 'QUERYDATA';
27
+ export type COMPOSITION_VALUE_TYPE = 'VALUE' | 'DELEGATEDDATA' | 'QUERYDATA';
28
+ export type SECTION_VALUE_TYPE = 'VALUE' | 'QUERYDATA';
20
29
  export type CB_GENERAL_PROPERTIES_TYPE = {
21
30
  CB_PLACEMENT_PROP_PLACEMENT: CB_PLACEMENT_PROP_SPECS;
22
31
  CB_CONTENT_PROP_HOVER: {
@@ -34,8 +43,6 @@ export type CB_PLACEMENT_PROP_SPECS = {
34
43
  'CB_PLACEMENT_PROP_PLACEMENT_SPEC_STARTY:MOBILE': number;
35
44
  CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX: number;
36
45
  'CB_PLACEMENT_PROP_PLACEMENT_SPEC_ZINDEX:MOBILE': number;
37
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_LATEST_LOCKED_STARTY:MOBILE': number;
38
- 'CB_PLACEMENT_PROP_PLACEMENT_SPEC_LOCKSTATUS:MOBILE': 'LOCKED' | 'FALLBACK_TO_SYNC' | undefined;
39
46
  };
40
47
  export type CB_TEXT_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
41
48
  CB_CONTENT_PROP_TEXT: CB_CONTENT_PROP_TEXT;
@@ -122,6 +129,53 @@ export type CB_YOUTUBE_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
122
129
  CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
123
130
  CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
124
131
  };
132
+ export type CB_CONTENTSCAROUSEL_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
133
+ CB_CONTENT_PROP_CONTENTSCAROUSEL: CB_CONTENT_PROP_CONTENTSCAROUSEL;
134
+ CB_STYLE_PROP_CONTENTSCAROUSEL: CB_STYLE_PROP_CONTENTSCAROUSEL_SPECS;
135
+ CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
136
+ CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
137
+ CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
138
+ CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
139
+ CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
140
+ CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
141
+ CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
142
+ CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
143
+ CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
144
+ CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
145
+ CB_CONTENT_PROP_CLINK: CB_CONTENT_PROP_CLINK;
146
+ CB_EFFECT_PROP_CONTENTSCAROUSEL: CB_EFFECT_PROP_CONTENTSCAROUSEL;
147
+ };
148
+ export type CB_EFFECT_PROP_CONTENTSCAROUSEL = {
149
+ CB_EFFECT_PROP_CONTENTSCAROUSEL_SPEC_TRANSITIONTYPE: 'SLIDE' | 'CUBE' | 'FADE' | 'CARDS' | 'COVERFLOW' | 'FLIP';
150
+ };
151
+ export type CB_SLIDEBANNER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
152
+ CB_CONTENT_PROP_SLIDEBANNER: CB_CONTENT_PROP_SLIDEBANNER;
153
+ CB_STYLE_PROP_SLIDEBANNER: CB_STYLE_PROP_SLIDEBANNER_SPECS;
154
+ CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
155
+ CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
156
+ CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
157
+ CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
158
+ CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
159
+ CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
160
+ CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
161
+ CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
162
+ CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
163
+ CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
164
+ };
165
+ export type CB_LIST_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
166
+ CB_CONTENT_PROP_CONTENTSLIST: CB_CONTENT_PROP_CONTENTSLIST;
167
+ CB_STYLE_PROP_CONTENTSLIST: CB_STYLE_PROP_CONTENTSLIST_SPECS;
168
+ CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
169
+ CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
170
+ CB_STYLE_PROP_OPACITY: CB_STYLE_PROP_TEXT_OPACITY_SPECS;
171
+ CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
172
+ CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
173
+ CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
174
+ CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
175
+ CB_LAYOUT_PROP_ARRANGE: CB_LAYOUT_PROP_ARRANGE_SPECS;
176
+ CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
177
+ CB_EFFECT_PROP_ENTANIM: CB_EFFECT_PROP_ENTANIM_SPECS;
178
+ };
125
179
  export type CB_VIDEOPLAYER_PROPERTIES_TYPE = CB_GENERAL_PROPERTIES_TYPE & {
126
180
  CB_CONTENT_PROP_VISIBILITY: CB_CONTENT_PROP_VISIBILITY_SPECS;
127
181
  CB_CONTENT_PROP_VIDEO: CB_CONTENT_PROP_VIDEO;
@@ -144,6 +198,7 @@ export type OverlayStyle = {
144
198
  export type Device = 'DESKTOP' | 'MOBILE';
145
199
  export type DefaultBrightTheme = 'LIGHT' | 'DARK';
146
200
  export type ParserResult = {
201
+ overlayStyle: any;
147
202
  style: CSSProperties;
148
203
  hoverStyle: CSSProperties;
149
204
  layout: CSSProperties;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ISection } from '../types';
3
- import type { Layout } from 'publ-echo/dist/lib/GridLayoutEditor/types';
3
+ import type { Layout } from 'publ-echo-test/dist/lib/GridLayoutEditor/types';
4
4
  export type LayoutsType = {
5
5
  sm: Layout;
6
6
  lg: Layout;
@@ -176,6 +176,7 @@ var FlexGridCustomSection = (0, react_1.forwardRef)(function CustomSection(props
176
176
  }
177
177
  return 16;
178
178
  }
179
+ // NOTE: Desktop
179
180
  if (responsiveFontMode) {
180
181
  return size.width * 0.0133;
181
182
  }
@@ -1,11 +1,14 @@
1
1
  import type { TypeOfSectionAction } from './sectionActionTypes';
2
- import type { ComponentBlock } from './sections/CustomSection/types';
2
+ import type { CB_ALL_CODES, ComponentBlock } from './sections/CustomSection/types';
3
3
  import type { CB_CONTENT_PROP_VISIBILITY_SPECS } from './sections/CustomSection/util/contentPropParsers/parseContentVisibility';
4
4
  import type { CB_EFFECT_PROP_ENTANIM_SPECS } from './sections/CustomSection/util/effectPropParsers/parseEffectPropEntAnim';
5
5
  import type { CB_LAYOUT_PROP_PADDING_SPECS } from './sections/CustomSection/util/layoutPropParsers/parseLayoutPropPadding';
6
6
  import type { CB_STYLE_PROP_BGCOLOR_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgColor';
7
7
  import type { CB_STYLE_PROP_BGOVERLAY_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBgOverlay';
8
- import type { Block, ZOrder } from 'publ-echo/dist/lib/GridLayoutEditor/group';
8
+ import type { CB_STYLE_PROP_BORDER_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropBorder';
9
+ import type { CB_STYLE_PROP_SHADOW_SPECS } from './sections/CustomSection/util/stylePropParsers/parseStylePropShadow';
10
+ import type { CCB_VALUE_TYPE, COMPOSITION_VALUE_TYPE } from './sections/CustomSection/util/types';
11
+ import type { Block, ZOrder } from 'publ-echo-test/dist/lib/GridLayoutEditor/group';
9
12
  import type { Ref } from 'react';
10
13
  export { TypeOfSectionAction };
11
14
  export type TypeOfSectionManifestSchema = 'BASE_INTRO' | 'BASE_CONTENTS' | 'BASE_CONTENTS_CAROUSEL' | 'BASE_FOOTER' | 'BASE_INFO_BOX' | 'EXP_IFRAME' | 'PRG_MEMBERSHIP_DISPLAY' | 'CUSTOM';
@@ -235,6 +238,20 @@ export type DynamicLayoutProps = {
235
238
  shortcutKeyMode?: CustomSectionShortcutKeysType;
236
239
  dynamicLayoutRef?: Ref<CustomSectionImperativeHandleRef>;
237
240
  zoomScale?: number;
241
+ queryData?: QueryData;
242
+ placementRestriction?: PlaceRestrictionType;
243
+ };
244
+ export type PlaceRestrictionValue = {
245
+ columnWInit: number;
246
+ columnWMin: number;
247
+ mobileColumnWMax: number;
248
+ mobileColumnWMin: number;
249
+ rowHInit: number;
250
+ rowHMin: number;
251
+ };
252
+ export type PlaceRestrictionType = Record<CB_ALL_CODES, PlaceRestrictionValue>;
253
+ export type QueryData = {
254
+ [key: string]: Array<Record<string, unknown>>;
238
255
  };
239
256
  export type NavHandlerAction = {
240
257
  openNewTab: boolean;
@@ -344,6 +361,8 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS_BASE = {
344
361
  CB_STYLE_PROP_BGMEDIA_SPEC_IMAGEFIT: string;
345
362
  CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME: number;
346
363
  CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR: string;
364
+ CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE: CCB_VALUE_TYPE | COMPOSITION_VALUE_TYPE;
365
+ CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA: string;
347
366
  };
348
367
  export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
349
368
  'CB_STYLE_PROP_BGMEDIA_SPEC_ENDTIME:HOVER': number | null | undefined;
@@ -377,25 +396,19 @@ export type CB_STYLE_PROP_BGMEDIA_SPECS = CB_STYLE_PROP_BGMEDIA_SPECS_BASE & {
377
396
  'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:HOVER'?: string | null;
378
397
  'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:MOBILE'?: string | null;
379
398
  'CB_STYLE_PROP_BGMEDIA_SPEC_VIDEOSELECTOR:MOBILE:HOVER'?: string | null;
399
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:HOVER'?: CCB_VALUE_TYPE | null;
400
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:MOBILE'?: CCB_VALUE_TYPE | null;
401
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_VALUETYPE:MOBILE:HOVER'?: CCB_VALUE_TYPE | null;
402
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA:HOVER'?: string | null;
403
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA:MOBILE'?: string | null;
404
+ 'CB_STYLE_PROP_BGMEDIA_SPEC_CONNECTDATA:MOBILE:HOVER'?: string | null;
380
405
  };
381
406
  export interface IComposition {
382
407
  id: number;
383
408
  administrativeTitle?: string;
384
- display: boolean;
385
- order: number;
386
- manifest: {
387
- schema: TypeOfSectionManifestSchema;
388
- availableProperties: Array<KeyOfSectionProperties>;
389
- availableStyles: Array<KeyOfSectionStyles>;
390
- availableTemplates: Array<TypeofSectionTemplate>;
391
- } | Record<string, never>;
392
- template: TypeofSectionTemplate;
393
- properties: ISectionProperties;
394
- styles: ISectionStyles;
395
- dynamicLayoutSectionItems: Array<IItem> | null;
409
+ isDefault: boolean;
396
410
  insertedAt: string;
397
411
  updatedAt: string;
398
- type: TypeOfSectionType;
399
412
  program?: 'MEMBERSHIP_DISPLAY';
400
413
  programData?: {
401
414
  mdid: string;
@@ -409,6 +422,44 @@ export interface IComposition {
409
422
  };
410
423
  };
411
424
  };
412
- componentBlocks?: ComponentBlock[];
413
- jsonProperties?: ISectionJsonProperties;
425
+ componentBlocks: ComponentBlock[];
426
+ jsonProperties: ICompositionJsonProperties;
427
+ compositionCode: string;
428
+ compositionTemplateCode: string;
429
+ dynamicLayoutComponentBlockId: number;
414
430
  }
431
+ export type ICompositionJsonProperties = {
432
+ data: {
433
+ CB_CONTENT_PROP_COMPOSITIONSMARTARRANGE: {
434
+ CB_CONTENT_PROP_COMPOSITIONSMARTARRANGE_SPEC_MANUAL: null;
435
+ };
436
+ CB_CONTENT_PROP_HOVER: {
437
+ CB_CONTENT_PROP_HOVER_SPEC_MUSE: boolean;
438
+ };
439
+ CB_LAYOUT_PROP_PADDING: CB_LAYOUT_PROP_PADDING_SPECS;
440
+ CB_PLACEMENT_PROP_COMPOSITION: {
441
+ CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS: number;
442
+ 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_COLUMNS:MOBILE': number | null;
443
+ CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT: number | null;
444
+ 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXHEIGHT:MOBILE': number | null;
445
+ CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH: number | null;
446
+ 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MAXWIDTH:MOBILE': number | null;
447
+ CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT: number | null;
448
+ 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINHEIGHT:MOBILE': number | null;
449
+ CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH: number | null;
450
+ 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_MINWIDTH:MOBILE': number | null;
451
+ CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS: number;
452
+ 'CB_PLACEMENT_PROP_COMPOSITION_SPEC_ROWS:MOBILE': number | null;
453
+ };
454
+ CB_STYLE_PROP_BGCOLOR: CB_STYLE_PROP_BGCOLOR_SPECS;
455
+ CB_STYLE_PROP_BGMEDIA: CB_STYLE_PROP_BGMEDIA_SPECS;
456
+ CB_STYLE_PROP_BGOVERLAY: CB_STYLE_PROP_BGOVERLAY_SPECS;
457
+ CB_STYLE_PROP_BORDER: CB_STYLE_PROP_BORDER_SPECS;
458
+ CB_STYLE_PROP_SHADOW: CB_STYLE_PROP_SHADOW_SPECS;
459
+ };
460
+ zOrders: ZOrder;
461
+ pedigree: SectionPedigree;
462
+ currentVersion: string;
463
+ minVersion: string;
464
+ version: string;
465
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pds-dev-kit-web-test",
3
- "version": "2.5.683",
3
+ "version": "2.5.690",
4
4
  "license": "MIT",
5
5
  "private": false,
6
6
  "main": "dist/index.js",
@@ -12,11 +12,9 @@
12
12
  "@testing-library/jest-dom": "^5.14.1",
13
13
  "@testing-library/react": "^11.2.7",
14
14
  "@testing-library/user-event": "^12.8.3",
15
- "@tinymce/tinymce-react": "^4.3.0",
16
15
  "@types/google-spreadsheet": "^3.1.5",
17
16
  "@types/react": "^17.0.27",
18
17
  "@types/react-dom": "^17.0.9",
19
- "@types/uuid": "^8.3.4",
20
18
  "dotenv": "^8.2.0",
21
19
  "google-spreadsheet": "^3.1.15",
22
20
  "i18next": "^21.3.2",
@@ -25,21 +23,19 @@
25
23
  "lottie-react": "^2.3.1",
26
24
  "nuka-carousel": "^4.8.4",
27
25
  "publ-echo": "^0.0.119",
26
+ "publ-echo-test": "^0.0.331",
28
27
  "react-hook-form": "^7.28.1",
29
28
  "react-i18next": "^11.12.0",
30
29
  "react-router-dom": "^5.2.0",
31
30
  "react-scripts": "4.0.3",
32
31
  "smoothscroll-polyfill": "^0.4.4",
33
32
  "styled-components": "^5.2.1",
34
- "swiper": "^8.4.5",
35
- "tinymce": "^6.3.1",
33
+ "swiper": "^9.4.1",
36
34
  "tsc-init": "^2.1.0",
37
- "uuid": "^8.3.2",
38
35
  "web-vitals": "^1.1.2"
39
36
  },
40
37
  "scripts": {
41
- "build": "rm -rf ./dist && tsc && tsc-alias && npm run copy:tinymce",
42
- "copy:tinymce": "node scripts/copy-tinymce.js",
38
+ "build": "rm -rf ./dist && tsc && tsc-alias",
43
39
  "prepare": "npm run build | husky install",
44
40
  "sync:color": "dotenv -e env/.env node syncColor.ts",
45
41
  "storybook": "start-storybook -p 6006",
package/release-note.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # PDS-DEV-KIT-WEB Release Notes
2
- ## [v2.2.224]
2
+ ## [v2.2.178]
3
3
  ## daily|https://design.storybook.publ.biz/
4
4
 
5
5
  ### 업데이트 사항
6
- * [PDS-1351] RichTextEditor의 톤 적용이 되지 않는 현상
6
+ * [FIX- BGMEDIA 영상fallbackurl적용]
@@ -1 +0,0 @@
1
- export {};
@@ -1,32 +0,0 @@
1
- /* eslint-disable @typescript-eslint/no-var-requires */
2
- var fs = require('fs');
3
- var path = require('path');
4
- var sourceDir = path.join(__dirname, '../node_modules/tinymce');
5
- var targetDir = path.join(__dirname, '../dist/tinymce');
6
- function copyDir(src, dest) {
7
- if (!fs.existsSync(dest)) {
8
- fs.mkdirSync(dest, { recursive: true });
9
- }
10
- var items = fs.readdirSync(src);
11
- items.forEach(function (item) {
12
- var srcPath = path.join(src, item);
13
- var destPath = path.join(dest, item);
14
- if (fs.statSync(srcPath).isDirectory()) {
15
- copyDir(srcPath, destPath);
16
- }
17
- else {
18
- fs.copyFileSync(srcPath, destPath);
19
- }
20
- });
21
- }
22
- console.log('Copying TinyMCE static files to dist...');
23
- if (fs.existsSync(sourceDir)) {
24
- copyDir(sourceDir, targetDir);
25
- console.log('TinyMCE static files copied successfully!');
26
- console.log("Files copied to: ".concat(targetDir));
27
- }
28
- else {
29
- console.error('TinyMCE source directory not found:', sourceDir);
30
- console.log('Make sure tinymce is installed: npm install tinymce');
31
- process.exit(1);
32
- }
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type IconType from '../IconType';
3
- declare const Translate: ({ color, size, ...rest }: IconType) => JSX.Element;
4
- export default Translate;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __rest = (this && this.__rest) || function (s, e) {
14
- var t = {};
15
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
- t[p] = s[p];
17
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
- t[p[i]] = s[p[i]];
21
- }
22
- return t;
23
- };
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- var jsx_runtime_1 = require("react/jsx-runtime");
26
- var Translate = function (_a) {
27
- var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
28
- return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M7.097,7.947 C6.356,6.96 5.801,5.917 5.413,4.781 L8.679,4.781 C8.263,6.029 7.742,7.072 7.097,7.947 L7.097,7.947 Z M16.353,12.562 L13.833,12.562 L15.099,8.982 L16.353,12.562 Z M16.608,5.369 L16.497,5.076 L13.666,5.076 L11.391,11.25 C10.424,10.814 9.569,10.32 8.882,9.798 C9.972,8.418 10.808,6.734 11.37,4.781 L13.655,4.781 L13.655,2.413 L8.256,2.413 L8.256,0 L5.743,0 L5.743,2.413 L0.454,2.413 L0.454,4.781 L2.778,4.781 C3.348,6.624 4.211,8.335 5.295,9.767 C4.321,10.562 2.798,11.553 0.706,12.205 L0,12.431 L1.355,14.732 L1.819,14.559 C3.726,13.858 5.579,12.815 7.075,11.604 C7.998,12.353 9.19,13.082 10.491,13.693 L8.813,18.245 L11.805,18.245 L12.945,15.022 L17.221,15.022 L18.363,18.245 L21.389,18.245 L16.608,5.369 Z", transform: "translate(2 2.85)" }) })));
29
- };
30
- exports.default = Translate;
@@ -1,4 +0,0 @@
1
- /// <reference types="react" />
2
- import type IconType from '../IconType';
3
- declare const Translate: ({ color, size, ...rest }: IconType) => JSX.Element;
4
- export default Translate;
@@ -1,30 +0,0 @@
1
- "use strict";
2
- var __assign = (this && this.__assign) || function () {
3
- __assign = Object.assign || function(t) {
4
- for (var s, i = 1, n = arguments.length; i < n; i++) {
5
- s = arguments[i];
6
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
7
- t[p] = s[p];
8
- }
9
- return t;
10
- };
11
- return __assign.apply(this, arguments);
12
- };
13
- var __rest = (this && this.__rest) || function (s, e) {
14
- var t = {};
15
- for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
16
- t[p] = s[p];
17
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
18
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
19
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
20
- t[p[i]] = s[p[i]];
21
- }
22
- return t;
23
- };
24
- Object.defineProperty(exports, "__esModule", { value: true });
25
- var jsx_runtime_1 = require("react/jsx-runtime");
26
- var Translate = function (_a) {
27
- var color = _a.color, size = _a.size, rest = __rest(_a, ["color", "size"]);
28
- return ((0, jsx_runtime_1.jsx)("svg", __assign({ width: size, height: size, viewBox: "0 0 24 24" }, rest, { children: (0, jsx_runtime_1.jsx)("path", { fill: color, fillRule: "evenodd", d: "M6.497,8.1963 C5.449,6.9073 4.718,5.5273 4.267,3.9813 L8.624,3.9813 C8.109,5.7143 7.413,7.0933 6.497,8.1963 L6.497,8.1963 Z M14.519,7.4273 L16.317,12.5623 L12.667,12.5623 L14.483,7.4273 L14.519,7.4273 Z M15.634,5.1083 L15.622,5.0763 L13.345,5.0763 L11.021,11.3853 C9.701,10.8303 8.56,10.1643 7.716,9.4583 C8.954,8.0013 9.879,6.1593 10.467,3.9813 L12.655,3.9813 L12.655,2.4133 L7.256,2.4133 L7.256,0.0003 L5.543,0.0003 L5.543,2.4133 L0.254,2.4133 L0.254,3.9813 L2.476,3.9813 C3.068,6.0193 4.025,7.9003 5.247,9.4253 C4.261,10.2833 2.599,11.4483 0.228,12.1863 L8.8817842e-16,12.2593 L0.911,13.8033 L0.932,13.8403 L1.081,13.7843 C3.06,13.0563 4.974,11.9563 6.476,10.6833 C7.479,11.5503 8.867,12.4003 10.394,13.0843 L8.788,17.4453 L10.923,17.4453 L12.062,14.2223 L16.904,14.2223 L18.031,17.4123 L18.043,17.4453 L20.215,17.4453 L15.634,5.1083 Z", transform: "translate(2 3.2)" }) })));
29
- };
30
- exports.default = Translate;
@@ -1,2 +0,0 @@
1
- /// <reference types="react" />
2
- export declare function useParentResizeObserver<T extends HTMLElement>(ref: React.RefObject<T>, callback: () => void, delay?: number): void;
@@ -1,20 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useParentResizeObserver = void 0;
4
- var react_1 = require("react");
5
- var useResizeObserver_1 = require("./useResizeObserver");
6
- function useParentResizeObserver(ref, callback, delay) {
7
- if (delay === void 0) { delay = 100; }
8
- (0, react_1.useLayoutEffect)(function () {
9
- var _a;
10
- var parent = (_a = ref.current) === null || _a === void 0 ? void 0 : _a.parentElement;
11
- if (!parent)
12
- return;
13
- var debouncedCallback = (0, useResizeObserver_1.debounce)(callback, delay);
14
- var resizeObserver = new ResizeObserver(debouncedCallback);
15
- resizeObserver.observe(parent);
16
- callback();
17
- return function () { return resizeObserver.disconnect(); };
18
- }, [ref, callback]);
19
- }
20
- exports.useParentResizeObserver = useParentResizeObserver;
@@ -1,3 +0,0 @@
1
- /// <reference types="react" />
2
- export declare const debounce: (fn: () => void, delay: number) => () => void;
3
- export declare function useResizeObserver<T extends HTMLElement>(ref: React.RefObject<T>, callback: () => void, delay?: number): void;
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useResizeObserver = exports.debounce = void 0;
4
- var react_1 = require("react");
5
- var debounce = function (fn, delay) {
6
- var timer = null;
7
- return function () {
8
- if (timer)
9
- clearTimeout(timer);
10
- timer = setTimeout(fn, delay);
11
- };
12
- };
13
- exports.debounce = debounce;
14
- function useResizeObserver(ref, callback, delay) {
15
- if (delay === void 0) { delay = 100; }
16
- (0, react_1.useLayoutEffect)(function () {
17
- var target = ref.current;
18
- if (!target)
19
- return;
20
- var debouncedCallback = (0, exports.debounce)(callback, delay);
21
- var resizeObserver = new ResizeObserver(debouncedCallback);
22
- resizeObserver.observe(target);
23
- callback();
24
- return function () { return resizeObserver.disconnect(); };
25
- }, [ref, callback, delay]);
26
- }
27
- exports.useResizeObserver = useResizeObserver;
@@ -1,4 +0,0 @@
1
- export declare function useWindowSize(): {
2
- width: number;
3
- height: number;
4
- };
@@ -1,22 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useWindowSize = void 0;
4
- var react_1 = require("react");
5
- function useWindowSize() {
6
- var _a = (0, react_1.useState)({
7
- width: window.innerWidth,
8
- height: window.innerHeight
9
- }), size = _a[0], setSize = _a[1];
10
- (0, react_1.useEffect)(function () {
11
- var handleResize = function () {
12
- setSize({
13
- width: window.innerWidth,
14
- height: window.innerHeight
15
- });
16
- };
17
- window.addEventListener('resize', handleResize);
18
- return function () { return window.removeEventListener('resize', handleResize); };
19
- }, []);
20
- return size;
21
- }
22
- exports.useWindowSize = useWindowSize;