@gravity-ui/page-constructor 1.10.6 → 1.10.7-alpha.0

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 (297) hide show
  1. package/CHANGELOG.md +7 -0
  2. package/build/cjs/blocks/Banner/Banner.js +3 -3
  3. package/build/cjs/blocks/CardLayout/CardLayout.js +1 -1
  4. package/build/cjs/blocks/Companies/Companies.js +2 -2
  5. package/build/cjs/blocks/ContentLayout/ContentLayout.js +1 -1
  6. package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js +2 -2
  7. package/build/cjs/blocks/Header/Header.d.ts +1 -1
  8. package/build/cjs/blocks/Header/Header.js +3 -3
  9. package/build/cjs/blocks/HeaderSlider/HeaderSlider.js +3 -3
  10. package/build/cjs/blocks/Icons/Icons.js +1 -1
  11. package/build/cjs/blocks/Info/Info.js +2 -2
  12. package/build/cjs/blocks/Info/schema.js +1 -1
  13. package/build/cjs/blocks/LinkTable/LinkTable.js +4 -4
  14. package/build/cjs/blocks/Media/Media.js +6 -6
  15. package/build/cjs/blocks/Media/MediaContent.js +1 -1
  16. package/build/cjs/blocks/Preview/MediaContent/MediaContent.js +3 -3
  17. package/build/cjs/blocks/Preview/MediaContent/PreviewContent.js +2 -2
  18. package/build/cjs/blocks/Preview/MediaContent/PreviewMedia.js +2 -2
  19. package/build/cjs/blocks/Preview/Preview.js +3 -3
  20. package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +7 -7
  21. package/build/cjs/blocks/Questions/Questions.js +2 -2
  22. package/build/cjs/blocks/Questions/schema.js +1 -1
  23. package/build/cjs/blocks/Security/Security.js +1 -1
  24. package/build/cjs/blocks/Security/schema.js +1 -1
  25. package/build/cjs/blocks/Share/Share.js +2 -2
  26. package/build/cjs/blocks/Share/i18n/index.js +2 -2
  27. package/build/cjs/blocks/Share/schema.js +1 -1
  28. package/build/cjs/blocks/Simple/Simple.js +4 -4
  29. package/build/cjs/blocks/Slider/Arrow/Arrow.d.ts +1 -1
  30. package/build/cjs/blocks/Slider/Arrow/Arrow.js +2 -2
  31. package/build/cjs/blocks/Slider/Slider.js +9 -9
  32. package/build/cjs/blocks/Slider/models.d.ts +2 -2
  33. package/build/cjs/blocks/Table/Table.js +1 -1
  34. package/build/cjs/blocks/Tabs/Tabs.js +6 -6
  35. package/build/cjs/blocks/Tabs/schema.js +1 -1
  36. package/build/cjs/blocks/validators.js +19 -19
  37. package/build/cjs/components/Anchor/Anchor.d.ts +2 -1
  38. package/build/cjs/components/Anchor/Anchor.js +2 -2
  39. package/build/cjs/components/Anchor/__tests__/Anchor.test.d.ts +1 -0
  40. package/build/cjs/components/Anchor/__tests__/Anchor.test.js +21 -0
  41. package/build/cjs/components/AnimateBlock/AnimateBlock.js +1 -1
  42. package/build/cjs/components/Author/Author.js +1 -1
  43. package/build/cjs/components/BackLink/BackLink.d.ts +1 -1
  44. package/build/cjs/components/BackLink/BackLink.js +1 -1
  45. package/build/cjs/components/BackgroundImage/BackgroundImage.js +2 -2
  46. package/build/cjs/components/BackgroundMedia/BackgroundMedia.js +4 -4
  47. package/build/cjs/components/BalancedMasonry/BalancedMasonry.js +2 -2
  48. package/build/cjs/components/BlockBase/BlockBase.js +2 -2
  49. package/build/cjs/components/BlockHeader/BlockHeader.js +2 -2
  50. package/build/cjs/components/Button/Button.js +2 -2
  51. package/build/cjs/components/Button/utils.d.ts +2 -2
  52. package/build/cjs/components/ButtonTabs/ButtonTabs.js +1 -1
  53. package/build/cjs/components/CardBase/CardBase.js +3 -3
  54. package/build/cjs/components/Control/Control.js +1 -1
  55. package/build/cjs/components/ErrorWrapper/ErrorWrapper.js +1 -1
  56. package/build/cjs/components/FileLink/FileLink.js +1 -1
  57. package/build/cjs/components/Foldable/Foldable.js +2 -2
  58. package/build/cjs/components/FullWidthBackground/FullWidthBackground.js +2 -2
  59. package/build/cjs/components/FullscreenImage/FullscreenImage.js +2 -2
  60. package/build/cjs/components/HTML/HTML.js +1 -1
  61. package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
  62. package/build/cjs/components/HeightCalculator/HeightCalculator.js +2 -2
  63. package/build/cjs/components/Image/Image.js +1 -1
  64. package/build/cjs/components/Link/Link.d.ts +1 -1
  65. package/build/cjs/components/Link/Link.js +3 -3
  66. package/build/cjs/components/Link/Links.js +2 -2
  67. package/build/cjs/components/Media/DataLens/DataLens.js +1 -1
  68. package/build/cjs/components/Media/Image/Image.d.ts +1 -1
  69. package/build/cjs/components/Media/Image/Image.js +6 -6
  70. package/build/cjs/components/Media/Media.js +5 -5
  71. package/build/cjs/components/Media/Video/Video.d.ts +1 -1
  72. package/build/cjs/components/Media/Video/Video.js +2 -2
  73. package/build/cjs/components/OutsideClick/OutsideClick.js +1 -1
  74. package/build/cjs/components/OverflowScroller/OverflowScroller.d.ts +1 -1
  75. package/build/cjs/components/OverflowScroller/OverflowScroller.js +2 -2
  76. package/build/cjs/components/ReactPlayer/CircleProgress.js +1 -1
  77. package/build/cjs/components/ReactPlayer/CustomBarControls.js +2 -2
  78. package/build/cjs/components/ReactPlayer/ReactPlayer.js +4 -4
  79. package/build/cjs/components/RouterLink/RouterLink.js +1 -1
  80. package/build/cjs/components/Table/Table.js +1 -1
  81. package/build/cjs/components/Title/Title.js +2 -2
  82. package/build/cjs/components/ToggleArrow/ToggleArrow.js +1 -1
  83. package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.d.ts +1 -1
  84. package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.js +2 -2
  85. package/build/cjs/components/UnpublishedLabel/i18n/index.js +2 -2
  86. package/build/cjs/components/VideoBlock/VideoBlock.js +3 -3
  87. package/build/cjs/components/YFMWrapper/YFMWrapper.js +3 -3
  88. package/build/cjs/components/YandexForm/YandexForm.js +1 -1
  89. package/build/cjs/containers/Loadable/Loadable.js +4 -4
  90. package/build/cjs/containers/Loadable/i18n/index.js +2 -2
  91. package/build/cjs/containers/PageConstructor/PageConstructor.d.ts +1 -1
  92. package/build/cjs/containers/PageConstructor/PageConstructor.js +4 -4
  93. package/build/cjs/containers/PageConstructor/Provider.js +1 -1
  94. package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +2 -2
  95. package/build/cjs/containers/PageConstructor/components/ConstructorBlock/index.js +1 -1
  96. package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +2 -2
  97. package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/index.js +1 -1
  98. package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/ConstructorFootnotes.js +1 -1
  99. package/build/cjs/containers/PageConstructor/components/ConstructorFootnotes/index.js +1 -1
  100. package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +2 -2
  101. package/build/cjs/containers/PageConstructor/components/ConstructorItem/index.js +1 -1
  102. package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js +2 -2
  103. package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/index.js +1 -1
  104. package/build/cjs/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js +1 -1
  105. package/build/cjs/containers/PageConstructor/components/ConstructorRow/index.js +1 -1
  106. package/build/cjs/context/animateContext/AnimateContext.js +1 -1
  107. package/build/cjs/context/animateContext/index.js +1 -1
  108. package/build/cjs/context/breakpointContext/breakpointContext.js +1 -1
  109. package/build/cjs/context/breakpointContext/index.js +1 -1
  110. package/build/cjs/context/innerContext/InnerContext.js +1 -1
  111. package/build/cjs/context/innerContext/index.js +1 -1
  112. package/build/cjs/context/localeContext/index.js +1 -1
  113. package/build/cjs/context/localeContext/localeContext.d.ts +1 -1
  114. package/build/cjs/context/localeContext/localeContext.js +1 -1
  115. package/build/cjs/context/locationContext/index.js +1 -1
  116. package/build/cjs/context/locationContext/locationContext.d.ts +2 -2
  117. package/build/cjs/context/locationContext/locationContext.js +1 -1
  118. package/build/cjs/context/metrikaContext/index.js +1 -1
  119. package/build/cjs/context/metrikaContext/metrikaContext.js +1 -1
  120. package/build/cjs/context/mobileContext/MobileContext.js +1 -1
  121. package/build/cjs/context/mobileContext/index.js +1 -1
  122. package/build/cjs/context/projectSettingsContext/ProjectSettingsContext.js +1 -1
  123. package/build/cjs/context/projectSettingsContext/index.js +1 -1
  124. package/build/cjs/context/ssrContext/SSRContext.js +1 -1
  125. package/build/cjs/context/ssrContext/index.js +1 -1
  126. package/build/cjs/context/stylesContext/StylesContext.js +1 -1
  127. package/build/cjs/context/stylesContext/index.js +1 -1
  128. package/build/cjs/context/theme/ThemeContext.js +1 -1
  129. package/build/cjs/context/theme/ThemeProvider.js +1 -1
  130. package/build/cjs/context/theme/ThemeValueContext.d.ts +1 -1
  131. package/build/cjs/context/theme/ThemeValueContext.js +1 -1
  132. package/build/cjs/context/theme/index.js +4 -4
  133. package/build/cjs/context/theme/useTheme.js +1 -1
  134. package/build/cjs/context/theme/useThemeValue.js +1 -1
  135. package/build/cjs/context/theme/withTheme.js +1 -1
  136. package/build/cjs/context/videoContext/VideoContext.js +1 -1
  137. package/build/cjs/context/videoContext/index.js +1 -1
  138. package/build/cjs/grid/Break/Break.js +1 -1
  139. package/build/cjs/grid/Col/Col.d.ts +1 -1
  140. package/build/cjs/grid/Col/Col.js +2 -2
  141. package/build/cjs/grid/Grid/Grid.js +1 -1
  142. package/build/cjs/grid/Row/Row.js +1 -1
  143. package/build/cjs/grid/index.js +6 -6
  144. package/build/cjs/grid/types.d.ts +2 -2
  145. package/build/cjs/hooks/index.js +4 -4
  146. package/build/cjs/hooks/useFocus.js +1 -1
  147. package/build/cjs/hooks/useIntersection.d.ts +1 -1
  148. package/build/cjs/hooks/useMetrika.d.ts +1 -1
  149. package/build/cjs/hooks/useMount.d.ts +1 -1
  150. package/build/cjs/hooks/useWindowBreakpoint.js +1 -1
  151. package/build/cjs/icons/ArrowConstructor.js +1 -1
  152. package/build/cjs/icons/ArrowSidebar.js +1 -1
  153. package/build/cjs/icons/Chevron.js +1 -1
  154. package/build/cjs/icons/Facebook.js +1 -1
  155. package/build/cjs/icons/FullScreen.js +1 -1
  156. package/build/cjs/icons/Github.js +1 -1
  157. package/build/cjs/icons/Linkedin.js +1 -1
  158. package/build/cjs/icons/NavigationArrow.js +1 -1
  159. package/build/cjs/icons/NavigationChevron.js +1 -1
  160. package/build/cjs/icons/NavigationClose.js +1 -1
  161. package/build/cjs/icons/NavigationOpen.js +1 -1
  162. package/build/cjs/icons/PlayVideo.js +1 -1
  163. package/build/cjs/icons/PreviewClose.js +1 -1
  164. package/build/cjs/icons/Telegram.js +1 -1
  165. package/build/cjs/icons/Twitter.js +1 -1
  166. package/build/cjs/icons/Vk.js +1 -1
  167. package/build/cjs/icons/index.js +11 -11
  168. package/build/cjs/index.js +11 -11
  169. package/build/cjs/models/common.d.ts +3 -3
  170. package/build/cjs/models/components.d.ts +1 -1
  171. package/build/cjs/models/constructor-items/blocks.d.ts +29 -29
  172. package/build/cjs/models/constructor-items/common.d.ts +25 -25
  173. package/build/cjs/models/constructor-items/index.d.ts +1 -1
  174. package/build/cjs/models/constructor-items/index.js +3 -3
  175. package/build/cjs/models/constructor-items/sub-blocks.d.ts +15 -15
  176. package/build/cjs/models/constructor.d.ts +10 -10
  177. package/build/cjs/models/index.js +7 -7
  178. package/build/cjs/models/navigation.d.ts +3 -3
  179. package/build/cjs/models/react.d.ts +1 -1
  180. package/build/cjs/navigation/components/Header/Header.js +7 -7
  181. package/build/cjs/navigation/components/Logo/Logo.js +2 -2
  182. package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.js +3 -3
  183. package/build/cjs/navigation/components/Navigation/Navigation.js +6 -6
  184. package/build/cjs/navigation/components/NavigationItem/NavigationItem.js +6 -6
  185. package/build/cjs/navigation/components/NavigationPopup/NavigationPopup.js +3 -3
  186. package/build/cjs/navigation/components/SocialIcon/SocialIcon.js +1 -1
  187. package/build/cjs/navigation/containers/Layout/Layout.js +2 -2
  188. package/build/cjs/schema/index.d.ts +1 -1
  189. package/build/cjs/schema/validators/blocks.js +20 -20
  190. package/build/cjs/schema/validators/index.js +5 -5
  191. package/build/cjs/schema/validators/sub-blocks.js +11 -11
  192. package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.js +2 -2
  193. package/build/cjs/sub-blocks/BackgroundCard/schema.js +1 -1
  194. package/build/cjs/sub-blocks/BannerCard/BannerCard.js +1 -1
  195. package/build/cjs/sub-blocks/BasicCard/BasicCard.js +3 -3
  196. package/build/cjs/sub-blocks/BasicCard/schema.js +1 -1
  197. package/build/cjs/sub-blocks/CardWithImage/CardWithImage.js +1 -1
  198. package/build/cjs/sub-blocks/Content/Content.js +3 -3
  199. package/build/cjs/sub-blocks/Divider/Divider.js +1 -1
  200. package/build/cjs/sub-blocks/HubspotForm/HubspotFormContainer.d.ts +2 -2
  201. package/build/cjs/sub-blocks/HubspotForm/HubspotFormContainer.js +2 -2
  202. package/build/cjs/sub-blocks/HubspotForm/index.js +2 -2
  203. package/build/cjs/sub-blocks/MediaCard/MediaCard.js +2 -2
  204. package/build/cjs/sub-blocks/NewsCard/NewsCard.js +1 -1
  205. package/build/cjs/sub-blocks/Partner/Partner.js +1 -1
  206. package/build/cjs/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.js +2 -2
  207. package/build/cjs/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.js +1 -1
  208. package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.js +5 -5
  209. package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/List.js +1 -1
  210. package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.js +1 -1
  211. package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.js +3 -3
  212. package/build/cjs/sub-blocks/PriceDetailed/SeparatePriceDetailed/SeparatePriceDetailed.js +1 -1
  213. package/build/cjs/sub-blocks/Quote/Quote.js +1 -1
  214. package/build/cjs/sub-blocks/TutorialCard/TutorialCard.js +2 -2
  215. package/build/cjs/text-transform/blocks.d.ts +5 -5
  216. package/build/cjs/text-transform/blocks.js +4 -4
  217. package/build/cjs/text-transform/index.js +2 -2
  218. package/build/cjs/text-transform/utils.js +4 -4
  219. package/build/cjs/utils/blocks.d.ts +1 -1
  220. package/build/cjs/utils/cn.d.ts +1 -1
  221. package/build/cjs/utils/cn.js +1 -1
  222. package/build/cjs/utils/configure.d.ts +1 -1
  223. package/build/cjs/utils/hubspot.d.ts +1 -1
  224. package/build/cjs/utils/hubspot.js +1 -2
  225. package/build/cjs/utils/index.js +6 -6
  226. package/build/cjs/utils/registerKeyset.d.ts +1 -1
  227. package/build/cjs/utils/theme.d.ts +1 -1
  228. package/build/cjs/utils/url.d.ts +1 -1
  229. package/build/esm/blocks/Header/Header.d.ts +1 -1
  230. package/build/esm/blocks/Share/schema.js +1 -1
  231. package/build/esm/blocks/Slider/Arrow/Arrow.d.ts +1 -1
  232. package/build/esm/blocks/Slider/models.d.ts +2 -2
  233. package/build/esm/components/Anchor/Anchor.d.ts +2 -1
  234. package/build/esm/components/Anchor/Anchor.js +1 -1
  235. package/build/esm/components/Anchor/__tests__/Anchor.test.d.ts +1 -0
  236. package/build/esm/components/Anchor/__tests__/Anchor.test.js +18 -0
  237. package/build/esm/components/BackLink/BackLink.d.ts +1 -1
  238. package/build/esm/components/Button/utils.d.ts +2 -2
  239. package/build/esm/components/Link/Link.d.ts +1 -1
  240. package/build/esm/components/Media/Image/Image.d.ts +1 -1
  241. package/build/esm/components/Media/Video/Video.d.ts +1 -1
  242. package/build/esm/components/OverflowScroller/OverflowScroller.d.ts +1 -1
  243. package/build/esm/components/UnpublishedLabel/UnpublishedLabel.d.ts +1 -1
  244. package/build/esm/containers/PageConstructor/PageConstructor.d.ts +1 -1
  245. package/build/esm/context/localeContext/localeContext.d.ts +1 -1
  246. package/build/esm/context/locationContext/locationContext.d.ts +2 -2
  247. package/build/esm/context/theme/ThemeValueContext.d.ts +1 -1
  248. package/build/esm/grid/Col/Col.d.ts +1 -1
  249. package/build/esm/grid/types.d.ts +2 -2
  250. package/build/esm/hooks/useIntersection.d.ts +1 -1
  251. package/build/esm/hooks/useMetrika.d.ts +1 -1
  252. package/build/esm/hooks/useMount.d.ts +1 -1
  253. package/build/esm/models/common.d.ts +3 -3
  254. package/build/esm/models/components.d.ts +1 -1
  255. package/build/esm/models/constructor-items/blocks.d.ts +29 -29
  256. package/build/esm/models/constructor-items/common.d.ts +25 -25
  257. package/build/esm/models/constructor-items/index.d.ts +1 -1
  258. package/build/esm/models/constructor-items/sub-blocks.d.ts +15 -15
  259. package/build/esm/models/constructor.d.ts +10 -10
  260. package/build/esm/models/navigation.d.ts +3 -3
  261. package/build/esm/models/react.d.ts +1 -1
  262. package/build/esm/navigation/components/NavigationItem/NavigationItem.js +1 -1
  263. package/build/esm/schema/index.d.ts +1 -1
  264. package/build/esm/sub-blocks/HubspotForm/HubspotFormContainer.d.ts +2 -2
  265. package/build/esm/text-transform/blocks.d.ts +5 -5
  266. package/build/esm/utils/blocks.d.ts +1 -1
  267. package/build/esm/utils/cn.d.ts +1 -1
  268. package/build/esm/utils/configure.d.ts +1 -1
  269. package/build/esm/utils/hubspot.d.ts +1 -1
  270. package/build/esm/utils/hubspot.js +1 -2
  271. package/build/esm/utils/registerKeyset.d.ts +1 -1
  272. package/build/esm/utils/theme.d.ts +1 -1
  273. package/build/esm/utils/url.d.ts +1 -1
  274. package/package.json +18 -3
  275. package/server/grid/types.d.ts +2 -2
  276. package/server/index.js +5 -1
  277. package/server/models/common.d.ts +3 -3
  278. package/server/models/components.d.ts +1 -1
  279. package/server/models/constructor-items/blocks.d.ts +29 -29
  280. package/server/models/constructor-items/common.d.ts +25 -25
  281. package/server/models/constructor-items/index.d.ts +1 -1
  282. package/server/models/constructor-items/index.js +5 -1
  283. package/server/models/constructor-items/sub-blocks.d.ts +15 -15
  284. package/server/models/constructor.d.ts +10 -10
  285. package/server/models/index.js +5 -1
  286. package/server/models/navigation.d.ts +3 -3
  287. package/server/models/react.d.ts +1 -1
  288. package/server/text-transform/blocks.d.ts +5 -5
  289. package/server/text-transform/index.js +5 -1
  290. package/server/utils/blocks.d.ts +1 -1
  291. package/server/utils/cn.d.ts +1 -1
  292. package/server/utils/configure.d.ts +1 -1
  293. package/server/utils/hubspot.d.ts +1 -1
  294. package/server/utils/hubspot.js +1 -2
  295. package/server/utils/index.js +5 -1
  296. package/server/utils/theme.d.ts +1 -1
  297. package/server/utils/url.d.ts +1 -1
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const react_1 = (0, tslib_1.__importStar)(require("react"));
4
+ const react_1 = tslib_1.__importStar(require("react"));
5
5
  const utils_1 = require("../../../utils");
6
6
  const components_1 = require("../../../components");
7
7
  const b = (0, utils_1.block)('separate-price-detailed-block');
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const react_1 = (0, tslib_1.__importStar)(require("react"));
4
+ const react_1 = tslib_1.__importStar(require("react"));
5
5
  const uikit_1 = require("@gravity-ui/uikit");
6
6
  const utils_1 = require("../../utils");
7
7
  const models_1 = require("../../models");
@@ -1,9 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- const react_1 = (0, tslib_1.__importDefault)(require("react"));
4
+ const react_1 = tslib_1.__importDefault(require("react"));
5
5
  const utils_1 = require("../../utils");
6
- const CardBase_1 = (0, tslib_1.__importDefault)(require("../../components/CardBase/CardBase"));
6
+ const CardBase_1 = tslib_1.__importDefault(require("../../components/CardBase/CardBase"));
7
7
  const components_1 = require("../../components/");
8
8
  const utils_2 = require("../../components/Media/Image/utils");
9
9
  const b = (0, utils_1.block)('tutorial-card');
@@ -1,12 +1,12 @@
1
1
  import { Lang } from '../utils/configure';
2
2
  import { ConstructorBlock } from '../models/constructor';
3
- export declare type ComplexItem = {
3
+ export type ComplexItem = {
4
4
  [key: string]: string;
5
5
  };
6
- export declare type Item = string | null | ComplexItem;
7
- export declare type TransformerRaw = (lang: Lang, content: string) => string;
8
- export declare type Transformer = (text: string) => string;
9
- export declare type Parser<T = any> = (transformer: Transformer, block: T) => T;
6
+ export type Item = string | null | ComplexItem;
7
+ export type TransformerRaw = (lang: Lang, content: string) => string;
8
+ export type Transformer = (text: string) => string;
9
+ export type Parser<T = any> = (transformer: Transformer, block: T) => T;
10
10
  export declare const createItemsParser: (fields: string[]) => (transformer: Transformer, items: Item[]) => (string | {
11
11
  [x: string]: string;
12
12
  } | null)[];
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.transformFootnotes = exports.transformBlocks = exports.typografTransformer = exports.yfmTransformer = exports.createItemsParser = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const lodash_1 = (0, tslib_1.__importDefault)(require("lodash"));
5
+ const lodash_1 = tslib_1.__importDefault(require("lodash"));
6
6
  const models_1 = require("../models");
7
7
  const utils_1 = require("./utils");
8
8
  const createItemsParser = (fields) => (transformer, items) => items.map((item) => {
@@ -29,13 +29,13 @@ function parseTableBlock(transformer, content) {
29
29
  }
30
30
  function parseFeatures(transformer, items) {
31
31
  return items.map((_a) => {
32
- var { title, text } = _a, rest = (0, tslib_1.__rest)(_a, ["title", "text"]);
32
+ var { title, text } = _a, rest = tslib_1.__rest(_a, ["title", "text"]);
33
33
  return (Object.assign({ title: title && transformer(title), text: text && transformer(text) }, rest));
34
34
  });
35
35
  }
36
36
  function parsePromoFeatures(transformer, items) {
37
37
  return items.map((_a) => {
38
- var { text } = _a, rest = (0, tslib_1.__rest)(_a, ["text"]);
38
+ var { text } = _a, rest = tslib_1.__rest(_a, ["text"]);
39
39
  return (Object.assign({ text: transformer(text) }, rest));
40
40
  });
41
41
  }
@@ -49,7 +49,7 @@ function parseSlider(transformer, block) {
49
49
  const parseTitle = (transformer, title) => typeof title === 'object' && 'text' in title
50
50
  ? Object.assign(Object.assign({}, title), { text: transformer(title.text) }) : title && transformer(title);
51
51
  const parseItemsTitle = (transformer, items) => items.map((_a) => {
52
- var { title } = _a, rest = (0, tslib_1.__rest)(_a, ["title"]);
52
+ var { title } = _a, rest = tslib_1.__rest(_a, ["title"]);
53
53
  return (Object.assign({ title: title && parseTitle(transformer, title) }, rest));
54
54
  });
55
55
  function parsePriceDetailedBlock(transformer, block) {
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  const tslib_1 = require("tslib");
4
- (0, tslib_1.__exportStar)(require("./utils"), exports);
5
- (0, tslib_1.__exportStar)(require("./blocks"), exports);
4
+ tslib_1.__exportStar(require("./utils"), exports);
5
+ tslib_1.__exportStar(require("./blocks"), exports);
@@ -2,9 +2,9 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.typografEntity = exports.fullTransform = exports.transformMarkdown = exports.typografToText = exports.typografToHTML = exports.sanitizeHtml = exports.typograf = exports.sanitizeStripOptions = exports.typografConfig = exports.DEFAULT_ALLOWED_TAGS = exports.TransformType = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const typograf_1 = (0, tslib_1.__importDefault)(require("typograf"));
6
- const sanitize_html_1 = (0, tslib_1.__importDefault)(require("sanitize-html"));
7
- const transform_1 = (0, tslib_1.__importDefault)(require("@doc-tools/transform"));
5
+ const typograf_1 = tslib_1.__importDefault(require("typograf"));
6
+ const sanitize_html_1 = tslib_1.__importDefault(require("sanitize-html"));
7
+ const transform_1 = tslib_1.__importDefault(require("@doc-tools/transform"));
8
8
  const configure_1 = require("../utils/configure");
9
9
  var TransformType;
10
10
  (function (TransformType) {
@@ -93,7 +93,7 @@ const transformMarkdown = (input, options) => {
93
93
  };
94
94
  exports.transformMarkdown = transformMarkdown;
95
95
  function fullTransform(input, _a) {
96
- var { lang } = _a, options = (0, tslib_1.__rest)(_a, ["lang"]);
96
+ var { lang } = _a, options = tslib_1.__rest(_a, ["lang"]);
97
97
  const result = (0, exports.transformMarkdown)(input, Object.assign({ lang }, options));
98
98
  const { html, title } = result;
99
99
  return Object.assign(Object.assign({}, result), { html: typograf(html, lang), title: title && typograf(title, lang) });
@@ -7,4 +7,4 @@ export declare const getCustomItems: ({ blocks, headers, subBlocks }?: CustomCon
7
7
  [x: string]: any;
8
8
  };
9
9
  export declare const getCustomHeaderTypes: (customBlocks?: CustomConfig) => string[];
10
- export declare const getShareLink: (url: string, type: PCShareSocialNetwork, title?: string | undefined, text?: string | undefined) => string | undefined;
10
+ export declare const getShareLink: (url: string, type: PCShareSocialNetwork, title?: string, text?: string) => string | undefined;
@@ -1,4 +1,4 @@
1
1
  import blockOrigin from 'bem-cn-lite';
2
2
  export declare const NAMESPACE = "pc-";
3
- export declare type CnBlock = ReturnType<typeof blockOrigin>;
3
+ export type CnBlock = ReturnType<typeof blockOrigin>;
4
4
  export declare function block(name: string): CnBlock;
@@ -2,7 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.block = exports.NAMESPACE = void 0;
4
4
  const tslib_1 = require("tslib");
5
- const bem_cn_lite_1 = (0, tslib_1.__importDefault)(require("bem-cn-lite"));
5
+ const bem_cn_lite_1 = tslib_1.__importDefault(require("bem-cn-lite"));
6
6
  exports.NAMESPACE = 'pc-';
7
7
  function block(name) {
8
8
  return (0, bem_cn_lite_1.default)(`${exports.NAMESPACE}${name}`);
@@ -5,7 +5,7 @@ export declare enum Lang {
5
5
  interface Config {
6
6
  lang?: Lang;
7
7
  }
8
- declare type Subscriber = (config: Config) => void;
8
+ type Subscriber = (config: Config) => void;
9
9
  export declare const configure: (newConfig: Config) => void;
10
10
  export declare const subscribeConfigure: (sub: Subscriber) => () => void;
11
11
  export declare const getConfig: () => Config;
@@ -1,4 +1,4 @@
1
- export declare type HubspotEventName = 'onBeforeFormInit' | 'onFormReady' | 'onFormSubmit' | 'onFormSubmitted' | `_${string}`;
1
+ export type HubspotEventName = 'onBeforeFormInit' | 'onFormReady' | 'onFormSubmit' | 'onFormSubmitted' | `_${string}`;
2
2
  export interface HubspotEventData {
3
3
  type: HubspotEventName | string;
4
4
  eventName: HubspotEventName;
@@ -10,7 +10,6 @@ function isHubspotEventData(maybeData) {
10
10
  exports.isHubspotEventData = isHubspotEventData;
11
11
  function loopBackHabspotEvents(formId) {
12
12
  return ({ data, source, origin }) => {
13
- var _a;
14
13
  if (!isHubspotEventData(data)) {
15
14
  return;
16
15
  }
@@ -20,7 +19,7 @@ function loopBackHabspotEvents(formId) {
20
19
  if (source === window) {
21
20
  return;
22
21
  }
23
- (_a = source) === null || _a === void 0 ? void 0 : _a.postMessage(data, origin);
22
+ source === null || source === void 0 ? void 0 : source.postMessage(data, origin);
24
23
  };
25
24
  }
26
25
  exports.loopBackHabspotEvents = loopBackHabspotEvents;
@@ -2,12 +2,12 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.isHubspotEventData = exports.configure = exports.Lang = void 0;
4
4
  const tslib_1 = require("tslib");
5
- (0, tslib_1.__exportStar)(require("./blocks"), exports);
6
- (0, tslib_1.__exportStar)(require("./scroll"), exports);
7
- (0, tslib_1.__exportStar)(require("./url"), exports);
8
- (0, tslib_1.__exportStar)(require("./cn"), exports);
9
- (0, tslib_1.__exportStar)(require("./url"), exports);
10
- (0, tslib_1.__exportStar)(require("./theme"), exports);
5
+ tslib_1.__exportStar(require("./blocks"), exports);
6
+ tslib_1.__exportStar(require("./scroll"), exports);
7
+ tslib_1.__exportStar(require("./url"), exports);
8
+ tslib_1.__exportStar(require("./cn"), exports);
9
+ tslib_1.__exportStar(require("./url"), exports);
10
+ tslib_1.__exportStar(require("./theme"), exports);
11
11
  var configure_1 = require("./configure");
12
12
  Object.defineProperty(exports, "Lang", { enumerable: true, get: function () { return configure_1.Lang; } });
13
13
  Object.defineProperty(exports, "configure", { enumerable: true, get: function () { return configure_1.configure; } });
@@ -1,5 +1,5 @@
1
1
  import { i18n } from '../i18n';
2
2
  import { Lang } from './configure';
3
- declare type KeysData = Parameters<typeof i18n.registerKeyset>[2];
3
+ type KeysData = Parameters<typeof i18n.registerKeyset>[2];
4
4
  export declare function registerKeyset<T extends KeysData>(data: Record<Lang, T>, keysetName: string): (key: string, params?: import("@gravity-ui/i18n").Params | undefined) => string;
5
5
  export {};
@@ -2,6 +2,6 @@ import { DEFAULT_THEME } from '../components/constants';
2
2
  export interface ThemedValue<T> extends Partial<Record<string, T>> {
3
3
  [DEFAULT_THEME]: T;
4
4
  }
5
- export declare type ThemeSupporting<T> = T | ThemedValue<T>;
5
+ export type ThemeSupporting<T> = T | ThemedValue<T>;
6
6
  export declare function isThemedValue<T>(value: ThemeSupporting<T>): value is ThemedValue<T>;
7
7
  export declare function getThemedValue<T>(value: ThemeSupporting<T>, theme?: string): T;
@@ -1,4 +1,4 @@
1
- export declare type Query = Record<string, number | string | null>;
1
+ export type Query = Record<string, number | string | null>;
2
2
  export declare const EXTERNAL_LINK_PROPS: {
3
3
  target: string;
4
4
  rel: string;
@@ -1,5 +1,5 @@
1
1
  import { ClassNameProps, HeaderBlockProps, WithChildren } from '../../models';
2
2
  import './Header.css';
3
- declare type HeaderBlockFullProps = HeaderBlockProps & ClassNameProps;
3
+ type HeaderBlockFullProps = HeaderBlockProps & ClassNameProps;
4
4
  export declare const HeaderBlock: (props: WithChildren<HeaderBlockFullProps>) => JSX.Element;
5
5
  export default HeaderBlock;
@@ -9,7 +9,7 @@ export const ShareBlock = {
9
9
  type: 'array',
10
10
  items: {
11
11
  type: 'string',
12
- enum: ['telegram', 'facebook', 'twitter', 'vk'],
12
+ enum: ['telegram', 'facebook', 'twitter', 'vk', 'linkedin'],
13
13
  },
14
14
  } }),
15
15
  },
@@ -1,6 +1,6 @@
1
1
  import { ClassNameProps } from '../../../models';
2
2
  import './Arrow.css';
3
- export declare type ArrowType = 'left' | 'right';
3
+ export type ArrowType = 'left' | 'right';
4
4
  export interface ArrowProps {
5
5
  type: ArrowType;
6
6
  handleClick?: (direction: ArrowType) => void;
@@ -4,5 +4,5 @@ export declare enum SliderBreakpointNames {
4
4
  Lg = "lg",
5
5
  Xl = "xl"
6
6
  }
7
- export declare type SliderBreakpointParams = Record<SliderBreakpointNames, number>;
8
- export declare type SlidesToShow = Partial<SliderBreakpointParams> | number;
7
+ export type SliderBreakpointParams = Record<SliderBreakpointNames, number>;
8
+ export type SlidesToShow = Partial<SliderBreakpointParams> | number;
@@ -2,6 +2,7 @@ import { ClassNameProps } from '../../models';
2
2
  import './Anchor.css';
3
3
  export interface AnchorProps extends ClassNameProps {
4
4
  id: string;
5
+ dataQa?: string;
5
6
  }
6
- declare const Anchor: ({ id, className }: AnchorProps) => JSX.Element;
7
+ declare const Anchor: ({ id, className, dataQa }: AnchorProps) => JSX.Element;
7
8
  export default Anchor;
@@ -3,5 +3,5 @@ import React from 'react';
3
3
  import { block } from '../../utils';
4
4
  import './Anchor.css';
5
5
  const b = block('Anchor');
6
- const Anchor = ({ id, className }) => React.createElement("div", { id: id, className: b(null, className) });
6
+ const Anchor = ({ id, className, dataQa }) => (React.createElement("div", { id: id, className: b(null, className), "data-qa": dataQa }));
7
7
  export default Anchor;
@@ -0,0 +1,18 @@
1
+ import React from 'react';
2
+ import { render, screen } from '@testing-library/react';
3
+ import Anchor from '../Anchor';
4
+ const testId = 'anc-hor';
5
+ const anchorId = 'anchorId';
6
+ describe('Anchor', () => {
7
+ test('Has id', async () => {
8
+ render(React.createElement(Anchor, { id: anchorId, dataQa: testId }));
9
+ const anchor = screen.getByTestId(testId);
10
+ expect(anchor).toHaveAttribute('id', anchorId);
11
+ });
12
+ test('Has custom class', async () => {
13
+ const className = 'custom-anchor-class';
14
+ render(React.createElement(Anchor, { id: anchorId, className: className, dataQa: testId }));
15
+ const anchor = screen.getByTestId(testId);
16
+ expect(anchor).toHaveClass(className);
17
+ });
18
+ });
@@ -1,6 +1,6 @@
1
1
  import { ReactNode } from 'react';
2
2
  import { ButtonSize } from '@gravity-ui/uikit';
3
- export declare type Theme = 'default' | 'special';
3
+ export type Theme = 'default' | 'special';
4
4
  export interface BackLinkProps {
5
5
  url: string;
6
6
  title: ReactNode;
@@ -1,5 +1,5 @@
1
1
  import { ButtonSize, ButtonView } from '@gravity-ui/uikit';
2
- export declare type OldButtonTheme = 'normal' | 'action' | 'flat' | 'light' | 'clear' | 'raised' | 'pseudo' | 'link' | 'accent' | 'websearch' | 'flat-special' | 'normal-special' | 'normal-dark' | 'pseudo-special';
3
- export declare type OldButtonSize = 'xs' | 'ns' | 's' | 'm' | 'l' | 'n' | 'head' | 'promo';
2
+ export type OldButtonTheme = 'normal' | 'action' | 'flat' | 'light' | 'clear' | 'raised' | 'pseudo' | 'link' | 'accent' | 'websearch' | 'flat-special' | 'normal-special' | 'normal-dark' | 'pseudo-special';
3
+ export type OldButtonSize = 'xs' | 'ns' | 's' | 'm' | 'l' | 'n' | 'head' | 'promo';
4
4
  export declare const toCommonView: (theme: OldButtonTheme) => ButtonView;
5
5
  export declare const toCommonSize: (size: OldButtonSize) => ButtonSize;
@@ -1,5 +1,5 @@
1
1
  import { LinkProps, ClassNameProps, WithChildren } from '../../models';
2
2
  import './Link.css';
3
- export declare type LinkFullProps = LinkProps & ClassNameProps;
3
+ export type LinkFullProps = LinkProps & ClassNameProps;
4
4
  declare const LinkBlock: (props: WithChildren<LinkFullProps>) => JSX.Element;
5
5
  export default LinkBlock;
@@ -7,6 +7,6 @@ export interface ImageAdditionProps {
7
7
  interface InnerImageProps {
8
8
  hasVideoFallback: boolean;
9
9
  }
10
- declare type ImageAllProps = ImageAdditionProps & MediaComponentImageProps & InnerImageProps;
10
+ type ImageAllProps = ImageAdditionProps & MediaComponentImageProps & InnerImageProps;
11
11
  declare const Image: (props: ImageAllProps) => JSX.Element;
12
12
  export default Image;
@@ -11,6 +11,6 @@ interface InnerVideoProps {
11
11
  setHasVideoFallback: React.Dispatch<boolean>;
12
12
  hasVideoFallback: boolean;
13
13
  }
14
- declare type VideoAllProps = VideoAdditionProps & MediaComponentVideoProps & InnerVideoProps;
14
+ type VideoAllProps = VideoAdditionProps & MediaComponentVideoProps & InnerVideoProps;
15
15
  declare const Video: (props: VideoAllProps) => JSX.Element | null;
16
16
  export default Video;
@@ -1,6 +1,6 @@
1
1
  import React, { PropsWithChildren } from 'react';
2
2
  import './OverflowScroller.css';
3
- declare type Arrow = 'left' | 'right';
3
+ type Arrow = 'left' | 'right';
4
4
  export interface OverflowScrollerProps {
5
5
  className?: string;
6
6
  onScrollStart?: () => void;
@@ -1,6 +1,6 @@
1
1
  import { WithChildren } from '../../models';
2
2
  import './UnpublishedLabel.css';
3
- export declare type LabeLType = 'label' | 'line';
3
+ export type LabeLType = 'label' | 'line';
4
4
  export interface UnpublishedLabelProps {
5
5
  type?: LabeLType;
6
6
  className?: string;
@@ -3,7 +3,7 @@ import '@doc-tools/transform/dist/js/yfm';
3
3
  import { ShouldRenderBlock, CustomConfig, PageContent, CustomItems, NavigationData } from '../../models';
4
4
  import { blockMap, subBlockMap } from '../../constructor-items';
5
5
  import './PageConstructor.css';
6
- export declare type ItemMap = typeof blockMap & typeof subBlockMap & CustomItems;
6
+ export type ItemMap = typeof blockMap & typeof subBlockMap & CustomItems;
7
7
  export interface PageConstructorProps {
8
8
  content?: PageContent;
9
9
  shouldRenderBlock?: ShouldRenderBlock;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import { Lang } from '../../utils/configure';
3
- export declare type LocaleContextProps = {
3
+ export type LocaleContextProps = {
4
4
  lang?: Lang;
5
5
  tld?: string;
6
6
  };
@@ -8,8 +8,8 @@ export interface History {
8
8
  goBack(): void;
9
9
  length: number;
10
10
  }
11
- export declare type RouterLink = React.ComponentClass<RouterLinkProps> | React.FC<WithChildren<RouterLinkProps>>;
12
- export declare type LocationContextProps = {
11
+ export type RouterLink = React.ComponentClass<RouterLinkProps> | React.FC<WithChildren<RouterLinkProps>>;
12
+ export type LocationContextProps = {
13
13
  history?: History;
14
14
  search?: string;
15
15
  hash?: string;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export declare type ConstructorTheme = 'light' | 'dark';
2
+ export type ConstructorTheme = 'light' | 'dark';
3
3
  export interface ThemeValueContextProps {
4
4
  themeValue: ConstructorTheme;
5
5
  }
@@ -7,4 +7,4 @@ export interface GridColumnProps extends GridColumnClassParams, Refable<HTMLDivE
7
7
  dataQa?: string;
8
8
  children?: React.ReactNode;
9
9
  }
10
- export declare const Col: React.ForwardRefExoticComponent<Pick<WithChildren<GridColumnProps>, "style" | "children" | "className" | "sizes" | "offsets" | "orders" | "hidden" | "visible" | "alignSelf" | "justifyContent" | "reset" | "dataQa"> & React.RefAttributes<HTMLDivElement>>;
10
+ export declare const Col: React.ForwardRefExoticComponent<Pick<WithChildren<GridColumnProps>, "style" | "children" | "className" | "dataQa" | "sizes" | "offsets" | "orders" | "hidden" | "visible" | "alignSelf" | "justifyContent" | "reset"> & React.RefAttributes<HTMLDivElement>>;
@@ -35,8 +35,8 @@ export declare enum GridColumnOrderClasses {
35
35
  First = "first",
36
36
  Last = "last"
37
37
  }
38
- export declare type GridColumnSizesType = Partial<Record<GridColumnSize, number>>;
39
- export declare type GridColumnOrderSizesType = Partial<Record<GridColumnSize, number | GridColumnOrderClasses>>;
38
+ export type GridColumnSizesType = Partial<Record<GridColumnSize, number>>;
39
+ export type GridColumnOrderSizesType = Partial<Record<GridColumnSize, number | GridColumnOrderClasses>>;
40
40
  export interface GridColumnClassParams {
41
41
  className?: string;
42
42
  sizes?: GridColumnSizesType | number;
@@ -1 +1 @@
1
- export declare const useIntersection: (element?: Element | undefined, startMargin?: string, threshold?: number) => boolean;
1
+ export declare const useIntersection: (element?: Element, startMargin?: string, threshold?: number) => boolean;
@@ -1,5 +1,5 @@
1
1
  import { ButtonPixel, MetrikaGoal, PixelEvent } from '../models';
2
- declare type UseMetrikaProps = {
2
+ type UseMetrikaProps = {
3
3
  metrikaGoals?: MetrikaGoal;
4
4
  pixelEvents?: string | string[] | PixelEvent | PixelEvent[] | ButtonPixel;
5
5
  };
@@ -1,3 +1,3 @@
1
- declare type Unsubscribe = () => void;
1
+ type Unsubscribe = () => void;
2
2
  export default function useMount(handler: () => Unsubscribe | void): void;
3
3
  export {};
@@ -7,7 +7,7 @@ export declare enum Theme {
7
7
  Light = "light",
8
8
  Dark = "dark"
9
9
  }
10
- declare type PixelCommand = 'track' | 'trackCustom';
10
+ type PixelCommand = 'track' | 'trackCustom';
11
11
  export interface PixelEvent {
12
12
  command: PixelCommand;
13
13
  event: PixelEventType | string;
@@ -33,7 +33,7 @@ export declare enum PixelEventType {
33
33
  Subscribe = "Subscribe",
34
34
  ViewContent = "ViewContent"
35
35
  }
36
- export declare type Modifiers = {
36
+ export type Modifiers = {
37
37
  [name: string]: string | boolean | undefined;
38
38
  };
39
39
  export interface Pixel<TEvent = string> {
@@ -48,5 +48,5 @@ export interface Metrika {
48
48
  export interface ClassNameProps {
49
49
  className?: string;
50
50
  }
51
- export declare type Timeout = ReturnType<typeof setTimeout> | undefined;
51
+ export type Timeout = ReturnType<typeof setTimeout> | undefined;
52
52
  export {};
@@ -1,4 +1,4 @@
1
- export declare type ArrowDirection = 'left' | 'right';
1
+ export type ArrowDirection = 'left' | 'right';
2
2
  export interface ReactPlayerBlockHandler {
3
3
  pause: () => void;
4
4
  }
@@ -48,7 +48,7 @@ export interface LoadableProps {
48
48
  export interface LoadableChildren {
49
49
  loadable?: LoadableProps;
50
50
  }
51
- export declare type ServiceDemoProps = Animatable;
51
+ export type ServiceDemoProps = Animatable;
52
52
  export declare enum SliderBreakpointNames {
53
53
  Sm = "sm",
54
54
  Md = "md",
@@ -59,8 +59,8 @@ export declare enum SliderType {
59
59
  MediaCard = "media-card",
60
60
  HeaderCard = "header-card"
61
61
  }
62
- export declare type SliderBreakpointParams = Record<SliderBreakpointNames, number>;
63
- export declare type SlidesToShow = Partial<SliderBreakpointParams> | number;
62
+ export type SliderBreakpointParams = Record<SliderBreakpointNames, number>;
63
+ export type SlidesToShow = Partial<SliderBreakpointParams> | number;
64
64
  export interface SliderProps extends Childable, Animatable, LoadableChildren {
65
65
  dots?: boolean;
66
66
  arrows?: boolean;
@@ -88,7 +88,7 @@ export interface HeaderBlockBackground extends Partial<HeaderBackgroundProps>, P
88
88
  fullWidth?: boolean;
89
89
  fullWidthMedia?: boolean;
90
90
  }
91
- export declare type ThemedHeaderBlockBackground = ThemeSupporting<HeaderBlockBackground>;
91
+ export type ThemedHeaderBlockBackground = ThemeSupporting<HeaderBlockBackground>;
92
92
  export interface HeaderBlockProps {
93
93
  title: string;
94
94
  overtitle?: string;
@@ -110,7 +110,7 @@ export interface HeaderBlockProps {
110
110
  breadcrumbs?: HeaderBreadCrumbsProps;
111
111
  status?: JSX.Element;
112
112
  }
113
- export declare type CalculatorProps = Animatable;
113
+ export type CalculatorProps = Animatable;
114
114
  export interface SimpleBlockProps extends Animatable, Childable {
115
115
  title: TitleBaseProps;
116
116
  description: string;
@@ -287,72 +287,72 @@ export interface ShareBlockProps {
287
287
  items: PCShareSocialNetwork[];
288
288
  title?: string;
289
289
  }
290
- export declare type HeaderBlockModel = {
290
+ export type HeaderBlockModel = {
291
291
  type: BlockType.HeaderBlock;
292
292
  } & HeaderBlockProps;
293
- export declare type CalculatorBlockModel = {
293
+ export type CalculatorBlockModel = {
294
294
  type: BlockType.CalculatorBlock;
295
295
  } & CalculatorProps;
296
- export declare type SliderBlockModel = {
296
+ export type SliderBlockModel = {
297
297
  type: BlockType.SliderBlock;
298
298
  } & SliderProps;
299
- export declare type ServiceDemoBlockModel = {
299
+ export type ServiceDemoBlockModel = {
300
300
  type: BlockType.ServiceDemoBlock;
301
301
  } & ServiceDemoProps;
302
- export declare type ExtendedFeaturesBlockModel = {
302
+ export type ExtendedFeaturesBlockModel = {
303
303
  type: BlockType.ExtendedFeaturesBlock;
304
304
  } & ExtendedFeaturesProps;
305
- export declare type PromoFeaturesBlockModel = {
305
+ export type PromoFeaturesBlockModel = {
306
306
  type: BlockType.PromoFeaturesBlock;
307
307
  } & PromoFeaturesProps;
308
- export declare type QuestionsBlockModel = {
308
+ export type QuestionsBlockModel = {
309
309
  type: BlockType.QuestionsBlock;
310
310
  } & QuestionsProps;
311
- export declare type BannerBlockModel = {
311
+ export type BannerBlockModel = {
312
312
  type: BlockType.BannerBlock;
313
313
  } & BannerBlockProps;
314
- export declare type CompaniesBlockModel = {
314
+ export type CompaniesBlockModel = {
315
315
  type: BlockType.CompaniesBlock;
316
316
  } & CompaniesBlockProps;
317
- export declare type MediaBlockModel = {
317
+ export type MediaBlockModel = {
318
318
  type: BlockType.MediaBlock;
319
319
  } & MediaBlockProps;
320
- export declare type PreviewBlockModel = {
320
+ export type PreviewBlockModel = {
321
321
  type: BlockType.PreviewBlock;
322
322
  } & PreviewBlockProps;
323
- export declare type InfoBlockModel = {
323
+ export type InfoBlockModel = {
324
324
  type: BlockType.InfoBlock;
325
325
  } & InfoBlockProps;
326
- export declare type SecurityBlockModel = {
326
+ export type SecurityBlockModel = {
327
327
  type: BlockType.SecurityBlock;
328
328
  } & SecurityBlockProps;
329
- export declare type TableBlockModel = {
329
+ export type TableBlockModel = {
330
330
  type: BlockType.TableBlock;
331
331
  } & TableBlockProps;
332
- export declare type TabsBlockModel = {
332
+ export type TabsBlockModel = {
333
333
  type: BlockType.TabsBlock;
334
334
  } & TabsBlockProps;
335
- export declare type SimpleBlockModel = {
335
+ export type SimpleBlockModel = {
336
336
  type: BlockType.SimpleBlock;
337
337
  } & SimpleBlockProps;
338
- export declare type LinkTableBlockModel = {
338
+ export type LinkTableBlockModel = {
339
339
  type: BlockType.LinkTableBlock;
340
340
  } & LinkTableBlockProps;
341
- export declare type CardLayoutBlockModel = {
341
+ export type CardLayoutBlockModel = {
342
342
  type: BlockType.CardLayoutBlock;
343
343
  } & CardLayoutBlockProps;
344
- export declare type IconsBlockModel = {
344
+ export type IconsBlockModel = {
345
345
  type: BlockType.IconsBlock;
346
346
  } & IconsBlockProps;
347
- export declare type HeaderSliderBlockModel = {
347
+ export type HeaderSliderBlockModel = {
348
348
  type: BlockType.HeaderSliderBlock;
349
349
  } & HeaderSliderBlockProps;
350
- export declare type ContentLayoutBlockModel = {
350
+ export type ContentLayoutBlockModel = {
351
351
  type: BlockType.ContentLayoutBlock;
352
352
  } & ContentLayoutBlockProps;
353
- export declare type ShareBLockModel = {
353
+ export type ShareBLockModel = {
354
354
  type: BlockType.ShareBlock;
355
355
  } & ShareBlockProps;
356
- declare type BlockModels = SliderBlockModel | ServiceDemoBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | CalculatorBlockModel | BannerBlockModel | CompaniesBlockModel | MediaBlockModel | InfoBlockModel | SecurityBlockModel | TableBlockModel | TabsBlockModel | SimpleBlockModel | LinkTableBlockModel | HeaderBlockModel | PreviewBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | ShareBLockModel;
357
- export declare type Block = BlockModels & BlockBaseProps;
356
+ type BlockModels = SliderBlockModel | ServiceDemoBlockModel | ExtendedFeaturesBlockModel | PromoFeaturesBlockModel | QuestionsBlockModel | CalculatorBlockModel | BannerBlockModel | CompaniesBlockModel | MediaBlockModel | InfoBlockModel | SecurityBlockModel | TableBlockModel | TabsBlockModel | SimpleBlockModel | LinkTableBlockModel | HeaderBlockModel | PreviewBlockModel | IconsBlockModel | HeaderSliderBlockModel | CardLayoutBlockModel | ContentLayoutBlockModel | ShareBLockModel;
357
+ export type Block = BlockModels & BlockBaseProps;
358
358
  export {};