@gravity-ui/page-constructor 4.0.0-beta.0 → 4.0.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.
- package/README.md +54 -7
- package/build/cjs/blocks/Banner/schema.d.ts +72 -24
- package/build/cjs/blocks/CardLayout/schema.d.ts +16 -6
- package/build/cjs/blocks/Companies/Companies.css +5 -5
- package/build/cjs/blocks/Companies/Companies.js +3 -3
- package/build/cjs/blocks/Companies/schema.d.ts +8 -3
- package/build/cjs/blocks/ContentLayout/ContentLayout.css +4 -7
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +1 -2
- package/build/cjs/blocks/ContentLayout/schema.d.ts +112 -59
- package/build/cjs/blocks/ContentLayout/schema.js +23 -18
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.css +16 -16
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js +3 -3
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +37 -6
- package/build/cjs/blocks/ExtendedFeatures/schema.js +2 -3
- package/build/cjs/blocks/FilterBlock/schema.d.ts +19 -7
- package/build/cjs/blocks/FilterBlock/schema.js +13 -2
- package/build/cjs/blocks/Header/Header.css +28 -25
- package/build/cjs/blocks/Header/Header.js +6 -7
- package/build/cjs/blocks/Header/schema.d.ts +329 -37
- package/build/cjs/blocks/Header/schema.js +1 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +129 -54
- package/build/cjs/blocks/HeaderSlider/schema.js +3 -1
- package/build/cjs/blocks/Icons/Icons.css +2 -2
- package/build/cjs/blocks/Icons/schema.d.ts +9 -3
- package/build/cjs/blocks/Icons/schema.js +2 -1
- package/build/cjs/blocks/Info/Info.css +1 -1
- package/build/cjs/blocks/Info/Info.js +3 -3
- package/build/cjs/blocks/Info/schema.d.ts +44 -9
- package/build/cjs/blocks/Map/schema.d.ts +31 -7
- package/build/cjs/blocks/Media/Media.js +2 -2
- package/build/cjs/blocks/Media/schema.d.ts +346 -112
- package/build/cjs/blocks/Media/schema.js +1 -1
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +13 -13
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +103 -9
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +1 -0
- package/build/cjs/blocks/Questions/Questions.css +12 -12
- package/build/cjs/blocks/Questions/schema.d.ts +21 -4
- package/build/cjs/blocks/Share/Share.css +14 -12
- package/build/cjs/blocks/Share/schema.d.ts +3 -1
- package/build/cjs/blocks/Slider/Arrow/Arrow.css +4 -4
- package/build/cjs/blocks/Slider/Arrow/Arrow.js +1 -1
- package/build/cjs/blocks/Slider/Slider.css +12 -12
- package/build/cjs/blocks/Slider/Slider.js +3 -3
- package/build/cjs/blocks/Slider/schema.d.ts +16 -19
- package/build/cjs/blocks/Slider/schema.js +4 -5
- package/build/cjs/blocks/Slider/utils.d.ts +2 -2
- package/build/cjs/blocks/Slider/utils.js +3 -1
- package/build/cjs/blocks/Table/Table.css +5 -5
- package/build/cjs/blocks/Table/schema.d.ts +11 -4
- package/build/cjs/blocks/Table/schema.js +12 -2
- package/build/cjs/blocks/Tabs/Tabs.css +6 -6
- package/build/cjs/blocks/Tabs/Tabs.d.ts +1 -1
- package/build/cjs/blocks/Tabs/Tabs.js +4 -4
- package/build/cjs/blocks/Tabs/schema.d.ts +142 -18
- package/build/cjs/blocks/Tabs/schema.js +4 -1
- package/build/cjs/components/Anchor/Anchor.d.ts +2 -3
- package/build/cjs/components/AnimateBlock/AnimateBlock.d.ts +2 -3
- package/build/cjs/components/Author/Author.css +8 -8
- package/build/cjs/components/Author/Author.js +2 -2
- package/build/cjs/components/Author/schema.d.ts +3 -1
- package/build/cjs/components/BlockBase/BlockBase.css +4 -1
- package/build/cjs/components/BlockBase/BlockBase.d.ts +3 -2
- package/build/cjs/components/BlockBase/BlockBase.js +3 -5
- package/build/cjs/components/Button/Button.css +4 -0
- package/build/cjs/components/Button/Button.d.ts +2 -3
- package/build/cjs/components/Button/Button.js +3 -2
- package/build/cjs/components/ButtonTabs/ButtonTabs.css +4 -0
- package/build/cjs/components/ButtonTabs/ButtonTabs.d.ts +2 -3
- package/build/cjs/components/CardBase/CardBase.css +6 -6
- package/build/cjs/components/Control/Control.css +9 -9
- package/build/cjs/components/ErrorWrapper/ErrorWrapper.css +3 -3
- package/build/cjs/components/FileLink/FileLink.css +16 -56
- package/build/cjs/components/FileLink/FileLink.js +18 -1
- package/build/cjs/components/FullWidthBackground/FullWidthBackground.css +1 -1
- package/build/cjs/components/FullscreenImage/FullscreenImage.css +3 -3
- package/build/cjs/components/FullscreenMedia/FullscreenMedia.css +3 -3
- package/build/cjs/components/HTML/HTML.js +2 -1
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.css +11 -11
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/cjs/components/Image/Image.d.ts +2 -3
- package/build/cjs/components/Image/schema.d.ts +2 -1
- package/build/cjs/components/Image/schema.js +10 -9
- package/build/cjs/components/Link/Link.css +13 -13
- package/build/cjs/components/Media/Image/Image.js +4 -3
- package/build/cjs/components/Media/Media.js +1 -1
- package/build/cjs/components/Media/Video/Video.js +1 -0
- package/build/cjs/components/MediaBase/MediaBaseContent.js +2 -2
- package/build/cjs/components/MetaInfo/MetaInfo.css +2 -2
- package/build/cjs/components/MetaInfo/MetaInfo.js +1 -1
- package/build/cjs/components/OverflowScroller/OverflowScroller.css +1 -1
- package/build/cjs/components/ReactPlayer/CustomBarControls.css +1 -1
- package/build/cjs/components/ReactPlayer/ReactPlayer.css +2 -2
- package/build/cjs/components/Table/Table.css +8 -8
- package/build/cjs/components/Title/Title.css +4 -4
- package/build/cjs/components/Title/TitleItem.css +19 -19
- package/build/cjs/components/Title/TitleItem.d.ts +2 -3
- package/build/cjs/components/Title/TitleItem.js +2 -2
- package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.css +5 -5
- package/build/cjs/components/VideoBlock/VideoBlock.css +2 -2
- package/build/cjs/components/VideoBlock/VideoBlock.d.ts +2 -1
- package/build/cjs/components/VideoBlock/VideoBlock.js +6 -2
- package/build/cjs/components/constants.d.ts +3 -1
- package/build/cjs/components/constants.js +4 -2
- package/build/cjs/constructor-items.d.ts +1 -1
- package/build/cjs/containers/PageConstructor/PageConstructor.css +50 -30
- package/build/cjs/containers/PageConstructor/PageConstructor.js +6 -3
- package/build/cjs/containers/PageConstructor/Provider.d.ts +2 -3
- package/build/cjs/containers/PageConstructor/Provider.js +2 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.d.ts +2 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +8 -4
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.d.ts +1 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +7 -4
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.d.ts +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +5 -3
- package/build/cjs/containers/PageConstructor/components/index.d.ts +2 -0
- package/build/cjs/containers/PageConstructor/components/index.js +5 -0
- package/build/cjs/containers/PageConstructor/index.d.ts +1 -0
- package/build/cjs/containers/PageConstructor/index.js +2 -0
- package/build/cjs/context/theme/ThemeContext.d.ts +2 -3
- package/build/cjs/context/theme/ThemeContext.js +0 -1
- package/build/cjs/context/theme/index.d.ts +0 -1
- package/build/cjs/context/theme/index.js +0 -1
- package/build/cjs/context/theme/useTheme.d.ts +1 -1
- package/build/cjs/context/theme/useTheme.js +2 -2
- package/build/cjs/context/theme/withTheme.js +1 -1
- package/build/cjs/customization/BlockDecoration.d.ts +1 -1
- package/build/cjs/customization/BlockDecoration.js +8 -14
- package/build/cjs/editor/{Components → components}/AddBlock/AddBlock.css +7 -6
- package/build/cjs/editor/components/AddBlock/AddBlock.d.ts +7 -0
- package/build/cjs/editor/{Components → components}/AddBlock/AddBlock.js +3 -3
- package/build/cjs/editor/components/BlockForm/BlockForm.d.ts +12 -0
- package/build/cjs/editor/components/BlockForm/BlockForm.js +28 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.css +34 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.d.ts +10 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.js +35 -0
- package/build/cjs/editor/components/ControlPanel/i18n/en.json +3 -0
- package/build/cjs/editor/components/ControlPanel/i18n/index.d.ts +2 -0
- package/build/cjs/editor/components/ControlPanel/i18n/index.js +8 -0
- package/build/cjs/editor/components/ControlPanel/i18n/ru.json +3 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulation.d.ts +7 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulation.js +10 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.css +33 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.d.ts +8 -0
- package/build/cjs/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.js +41 -0
- package/build/cjs/editor/components/DeviceEmulation/utils.d.ts +4 -0
- package/build/cjs/editor/components/DeviceEmulation/utils.js +7 -0
- package/build/{esm/editor/Components → cjs/editor/components}/EditBlock/EditBlock.css +22 -14
- package/build/cjs/editor/components/EditBlock/EditBlock.d.ts +13 -0
- package/build/cjs/editor/components/EditBlock/EditBlock.js +48 -0
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.css +27 -0
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.d.ts +13 -0
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.js +35 -0
- package/build/cjs/editor/components/ErrorBoundary/i18n/en.json +4 -0
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.d.ts +2 -0
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.js +8 -0
- package/build/cjs/editor/components/ErrorBoundary/i18n/ru.json +4 -0
- package/build/cjs/editor/components/Layout/Layout.css +44 -0
- package/build/cjs/editor/components/Layout/Layout.d.ts +19 -0
- package/build/cjs/editor/components/Layout/Layout.js +38 -0
- package/build/cjs/editor/components/NotFoundBlock/NotFoundBlock.css +21 -0
- package/build/cjs/editor/components/NotFoundBlock/NotFoundBlock.d.ts +2 -0
- package/build/cjs/editor/components/NotFoundBlock/NotFoundBlock.js +12 -0
- package/build/cjs/editor/components/NotFoundBlock/i18n/en.json +3 -0
- package/build/cjs/editor/components/NotFoundBlock/i18n/index.d.ts +2 -0
- package/build/cjs/editor/components/NotFoundBlock/i18n/index.js +8 -0
- package/build/cjs/editor/components/NotFoundBlock/i18n/ru.json +3 -0
- package/build/cjs/editor/components/PagePropsForm/PagePropsForm.d.ts +10 -0
- package/build/cjs/editor/components/PagePropsForm/PagePropsForm.js +17 -0
- package/build/cjs/editor/components/YamlEditor/YamlEditor.css +12 -0
- package/build/cjs/editor/components/YamlEditor/YamlEditor.d.ts +6 -0
- package/build/cjs/editor/components/YamlEditor/YamlEditor.js +34 -0
- package/build/cjs/editor/containers/Editor/Editor.d.ts +2 -0
- package/build/cjs/editor/containers/Editor/Editor.js +67 -0
- package/build/cjs/editor/containers/Form/Form.css +115 -0
- package/build/cjs/editor/containers/Form/Form.d.ts +11 -0
- package/build/cjs/editor/containers/Form/Form.js +54 -0
- package/build/cjs/editor/containers/Form/dynamic-form-custom.css +0 -0
- package/build/cjs/editor/context.d.ts +9 -0
- package/build/cjs/editor/context.js +6 -0
- package/build/cjs/editor/data/previews/default-preview.js +1 -1
- package/build/cjs/editor/data/previews/header-block.js +5 -5
- package/build/cjs/editor/data/templates/banner-block.json +25 -0
- package/build/cjs/editor/data/templates/card-layout-block.json +39 -0
- package/build/cjs/editor/data/templates/companies-block.json +20 -0
- package/build/cjs/editor/data/templates/content-layout-block.json +56 -0
- package/build/cjs/editor/data/templates/extended-features-block.json +56 -0
- package/build/cjs/editor/data/templates/filter-block.json +62 -0
- package/build/cjs/editor/data/templates/header-block.json +19 -0
- package/build/cjs/editor/data/templates/header-slider-block.json +69 -0
- package/build/cjs/editor/data/templates/icons-block.json +32 -0
- package/build/cjs/editor/data/templates/info-block.json +40 -0
- package/build/cjs/editor/data/templates/link-table-block.json +10 -0
- package/build/cjs/editor/data/templates/map-block.json +48 -0
- package/build/cjs/editor/data/templates/media-block.json +15 -0
- package/build/cjs/editor/data/templates/preview-block.json +38 -0
- package/build/cjs/editor/data/templates/promo-features-block.json +52 -0
- package/build/cjs/editor/data/templates/questions-block.json +105 -0
- package/build/cjs/editor/data/templates/security-block.json +36 -0
- package/build/cjs/editor/data/templates/share-block.json +6 -0
- package/build/cjs/editor/data/templates/simple-block.json +7 -0
- package/build/cjs/editor/data/templates/slider-block.json +46 -0
- package/build/cjs/editor/data/templates/table-block.json +18 -0
- package/build/cjs/editor/data/templates/tabs-block.json +90 -0
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +27 -0
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +19 -0
- package/build/cjs/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +72 -0
- package/build/cjs/editor/dynamic-forms-custom/config.d.ts +2 -0
- package/build/cjs/editor/dynamic-forms-custom/config.js +13 -0
- package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +12 -0
- package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.js +75 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/detect.d.ts +9 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/detect.js +36 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/index.d.ts +28 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/index.js +187 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/types.d.ts +28 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/types.js +2 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/views.d.ts +37 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/views.js +46 -0
- package/build/cjs/editor/hooks/useFormSpec.d.ts +2 -0
- package/build/cjs/editor/hooks/useFormSpec.js +13 -0
- package/build/cjs/editor/hooks/usePreviousValue.d.ts +1 -0
- package/build/cjs/editor/hooks/usePreviousValue.js +11 -0
- package/build/cjs/editor/icons/Tablet.d.ts +2 -0
- package/build/cjs/editor/icons/Tablet.js +9 -0
- package/build/cjs/editor/index.d.ts +1 -1
- package/build/cjs/editor/index.js +1 -1
- package/build/cjs/editor/store/index.d.ts +12 -11
- package/build/cjs/editor/store/index.js +70 -15
- package/build/cjs/editor/store/reducer.d.ts +30 -9
- package/build/cjs/editor/store/reducer.js +20 -31
- package/build/cjs/editor/store/utils.d.ts +1 -0
- package/build/cjs/editor/store/utils.js +6 -2
- package/build/cjs/editor/styles/root.css +7 -0
- package/build/cjs/editor/types/index.d.ts +30 -12
- package/build/cjs/editor/types/index.js +8 -0
- package/build/cjs/editor/utils/index.d.ts +6 -3
- package/build/cjs/editor/utils/index.js +9 -4
- package/build/cjs/editor/widget/constants.d.ts +4 -0
- package/build/cjs/editor/widget/constants.js +8 -0
- package/build/cjs/editor/widget/index.d.ts +21 -0
- package/build/cjs/editor/widget/index.js +76 -0
- package/build/cjs/editor/widget/utils.d.ts +1 -0
- package/build/cjs/editor/widget/utils.js +19 -0
- package/build/cjs/grid/Col/Col.d.ts +3 -4
- package/build/cjs/grid/Col/Col.js +2 -2
- package/build/cjs/grid/Grid/Grid.css +1 -1
- package/build/cjs/hooks/useHeightCalculator.js +1 -1
- package/build/cjs/models/common.d.ts +6 -1
- package/build/cjs/models/common.js +6 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +17 -13
- package/build/cjs/models/constructor-items/common.d.ts +3 -5
- package/build/cjs/models/constructor.d.ts +2 -2
- package/build/cjs/models/customization.d.ts +5 -7
- package/build/cjs/models/navigation.d.ts +4 -2
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.css +92 -0
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.d.ts +4 -0
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.js +21 -0
- package/build/cjs/navigation/components/Logo/Logo.css +3 -3
- package/build/cjs/navigation/components/Logo/Logo.js +3 -3
- package/build/cjs/navigation/components/MobileMenuButton/MobileMenuButton.css +7 -0
- package/build/cjs/navigation/components/MobileMenuButton/MobileMenuButton.d.ts +3 -0
- package/build/cjs/navigation/components/MobileMenuButton/MobileMenuButton.js +15 -0
- package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.css +17 -12
- package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.d.ts +1 -10
- package/build/cjs/navigation/components/MobileNavigation/MobileNavigation.js +11 -31
- package/build/cjs/navigation/components/Navigation/Navigation.css +8 -13
- package/build/cjs/navigation/components/Navigation/Navigation.d.ts +4 -7
- package/build/cjs/navigation/components/Navigation/Navigation.js +37 -15
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.css +28 -0
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.d.ts +3 -9
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.js +15 -6
- package/build/cjs/navigation/components/NavigationItem/components/GithubButton/GithubButton.d.ts +1 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.d.ts +1 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.css +1 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.d.ts +5 -4
- package/build/cjs/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.js +12 -8
- package/build/cjs/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.css +2 -2
- package/build/cjs/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.d.ts +1 -1
- package/build/cjs/navigation/components/NavigationList/NavigationList.d.ts +3 -0
- package/build/cjs/navigation/components/NavigationList/NavigationList.js +11 -0
- package/build/cjs/navigation/components/NavigationListItem/NavigationListItem.d.ts +4 -13
- package/build/cjs/navigation/components/NavigationListItem/NavigationListItem.js +6 -13
- package/build/cjs/navigation/components/NavigationPopup/NavigationPopup.css +10 -9
- package/build/cjs/navigation/components/NavigationPopup/NavigationPopup.d.ts +1 -8
- package/build/cjs/navigation/components/NavigationPopup/NavigationPopup.js +6 -6
- package/build/cjs/navigation/components/SocialIcon/SocialIcon.css +3 -3
- package/build/cjs/navigation/containers/Layout/Layout.js +2 -2
- package/build/cjs/navigation/models.d.ts +63 -0
- package/build/cjs/navigation/{constants.js → models.js} +7 -1
- package/build/cjs/navigation/schema.d.ts +1 -0
- package/build/cjs/navigation/schema.js +1 -1
- package/build/cjs/navigation/utils.d.ts +11 -1
- package/build/cjs/navigation/utils.js +19 -1
- package/build/cjs/schema/constants.d.ts +941 -0
- package/build/cjs/schema/constants.js +42 -0
- package/build/cjs/schema/index.d.ts +9 -228
- package/build/cjs/schema/index.js +8 -46
- package/build/cjs/schema/validators/common.d.ts +158 -30
- package/build/cjs/schema/validators/common.js +57 -19
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.css +4 -4
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.js +3 -3
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +26 -6
- package/build/cjs/sub-blocks/BannerCard/BannerCard.css +16 -16
- package/build/cjs/sub-blocks/BannerCard/BannerCard.js +3 -3
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +22 -4
- package/build/cjs/sub-blocks/Content/Content.css +22 -22
- package/build/cjs/sub-blocks/Content/Content.js +3 -1
- package/build/cjs/sub-blocks/Content/ContentList/ContentList.css +48 -0
- package/build/cjs/sub-blocks/Content/ContentList/ContentList.d.ts +7 -0
- package/build/cjs/sub-blocks/Content/ContentList/ContentList.js +25 -0
- package/build/cjs/sub-blocks/Content/schema.d.ts +74 -6
- package/build/cjs/sub-blocks/Content/schema.js +27 -2
- package/build/cjs/sub-blocks/Divider/Divider.css +1 -1
- package/build/cjs/sub-blocks/Divider/schema.d.ts +3 -1
- package/build/cjs/sub-blocks/HubspotForm/HubspotForm.css +39 -39
- package/build/cjs/sub-blocks/HubspotForm/index.js +2 -2
- package/build/cjs/sub-blocks/LayoutItem/LayoutItem.css +1 -1
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +115 -10
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +100 -6
- package/build/cjs/sub-blocks/MediaCard/schema.js +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.css +2 -2
- package/build/cjs/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.css +17 -29
- package/build/cjs/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.js +18 -1
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.css +7 -7
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.css +5 -5
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +4 -1
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +5 -1
- package/build/cjs/sub-blocks/Quote/Quote.css +10 -10
- package/build/cjs/sub-blocks/Quote/Quote.js +2 -2
- package/build/cjs/sub-blocks/Quote/schema.d.ts +9 -4
- package/build/cjs/sub-blocks/Quote/schema.js +1 -2
- package/build/cjs/text-transform/config.js +19 -1
- package/build/cjs/text-transform/filter.d.ts +20 -0
- package/build/cjs/text-transform/filter.js +61 -0
- package/build/cjs/text-transform/index.d.ts +1 -0
- package/build/cjs/text-transform/index.js +1 -0
- package/build/cjs/text-transform/transformers.d.ts +2 -0
- package/build/cjs/text-transform/transformers.js +3 -2
- package/build/cjs/text-transform/utils.js +6 -1
- package/build/cjs/utils/blocks.d.ts +1 -1
- package/build/cjs/utils/blocks.js +43 -3
- package/build/cjs/utils/imageCompress.js +1 -1
- package/build/cjs/utils/theme.d.ts +1 -1
- package/build/esm/blocks/Banner/schema.d.ts +72 -24
- package/build/esm/blocks/CardLayout/schema.d.ts +16 -6
- package/build/esm/blocks/Companies/Companies.css +5 -5
- package/build/esm/blocks/Companies/Companies.js +3 -3
- package/build/esm/blocks/Companies/schema.d.ts +8 -3
- package/build/esm/blocks/ContentLayout/ContentLayout.css +4 -7
- package/build/esm/blocks/ContentLayout/ContentLayout.js +1 -2
- package/build/esm/blocks/ContentLayout/schema.d.ts +112 -59
- package/build/esm/blocks/ContentLayout/schema.js +23 -18
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.css +16 -16
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.js +3 -3
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +37 -6
- package/build/esm/blocks/ExtendedFeatures/schema.js +3 -4
- package/build/esm/blocks/FilterBlock/schema.d.ts +19 -7
- package/build/esm/blocks/FilterBlock/schema.js +13 -2
- package/build/esm/blocks/Header/Header.css +28 -25
- package/build/esm/blocks/Header/Header.js +6 -7
- package/build/esm/blocks/Header/schema.d.ts +329 -37
- package/build/esm/blocks/Header/schema.js +1 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +129 -54
- package/build/esm/blocks/HeaderSlider/schema.js +2 -1
- package/build/esm/blocks/Icons/Icons.css +2 -2
- package/build/esm/blocks/Icons/schema.d.ts +9 -3
- package/build/esm/blocks/Icons/schema.js +2 -1
- package/build/esm/blocks/Info/Info.css +1 -1
- package/build/esm/blocks/Info/Info.js +3 -3
- package/build/esm/blocks/Info/schema.d.ts +44 -9
- package/build/esm/blocks/Map/schema.d.ts +31 -7
- package/build/esm/blocks/Media/Media.js +3 -3
- package/build/esm/blocks/Media/schema.d.ts +346 -112
- package/build/esm/blocks/Media/schema.js +2 -2
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.css +13 -13
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +103 -9
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +1 -0
- package/build/esm/blocks/Questions/Questions.css +12 -12
- package/build/esm/blocks/Questions/schema.d.ts +21 -4
- package/build/esm/blocks/Share/Share.css +14 -12
- package/build/esm/blocks/Share/schema.d.ts +3 -1
- package/build/esm/blocks/Slider/Arrow/Arrow.css +4 -4
- package/build/esm/blocks/Slider/Arrow/Arrow.js +1 -1
- package/build/esm/blocks/Slider/Slider.css +12 -12
- package/build/esm/blocks/Slider/Slider.js +4 -4
- package/build/esm/blocks/Slider/schema.d.ts +16 -19
- package/build/esm/blocks/Slider/schema.js +4 -5
- package/build/esm/blocks/Slider/utils.d.ts +2 -2
- package/build/esm/blocks/Slider/utils.js +2 -1
- package/build/esm/blocks/Table/Table.css +5 -5
- package/build/esm/blocks/Table/schema.d.ts +11 -4
- package/build/esm/blocks/Table/schema.js +12 -2
- package/build/esm/blocks/Tabs/Tabs.css +6 -6
- package/build/esm/blocks/Tabs/Tabs.d.ts +1 -1
- package/build/esm/blocks/Tabs/Tabs.js +5 -5
- package/build/esm/blocks/Tabs/schema.d.ts +142 -18
- package/build/esm/blocks/Tabs/schema.js +5 -2
- package/build/esm/components/Anchor/Anchor.d.ts +2 -3
- package/build/esm/components/AnimateBlock/AnimateBlock.d.ts +2 -3
- package/build/esm/components/Author/Author.css +8 -8
- package/build/esm/components/Author/Author.js +2 -2
- package/build/esm/components/Author/schema.d.ts +3 -1
- package/build/esm/components/BlockBase/BlockBase.css +4 -1
- package/build/esm/components/BlockBase/BlockBase.d.ts +3 -2
- package/build/esm/components/BlockBase/BlockBase.js +3 -5
- package/build/esm/components/Button/Button.css +4 -0
- package/build/esm/components/Button/Button.d.ts +2 -3
- package/build/esm/components/Button/Button.js +4 -3
- package/build/esm/components/ButtonTabs/ButtonTabs.css +4 -0
- package/build/esm/components/ButtonTabs/ButtonTabs.d.ts +2 -3
- package/build/esm/components/CardBase/CardBase.css +6 -6
- package/build/esm/components/Control/Control.css +9 -9
- package/build/esm/components/ErrorWrapper/ErrorWrapper.css +3 -3
- package/build/esm/components/FileLink/FileLink.css +16 -56
- package/build/esm/components/FileLink/FileLink.js +18 -1
- package/build/esm/components/FullWidthBackground/FullWidthBackground.css +1 -1
- package/build/esm/components/FullscreenImage/FullscreenImage.css +3 -3
- package/build/esm/components/FullscreenMedia/FullscreenMedia.css +3 -3
- package/build/esm/components/HTML/HTML.js +2 -1
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.css +11 -11
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/esm/components/Image/Image.d.ts +2 -3
- package/build/esm/components/Image/schema.d.ts +2 -1
- package/build/esm/components/Image/schema.js +9 -8
- package/build/esm/components/Link/Link.css +13 -13
- package/build/esm/components/Media/Image/Image.js +4 -3
- package/build/esm/components/Media/Media.js +1 -1
- package/build/esm/components/Media/Video/Video.js +1 -0
- package/build/esm/components/MediaBase/MediaBaseContent.js +2 -2
- package/build/esm/components/MetaInfo/MetaInfo.css +2 -2
- package/build/esm/components/MetaInfo/MetaInfo.js +1 -1
- package/build/esm/components/OverflowScroller/OverflowScroller.css +1 -1
- package/build/esm/components/ReactPlayer/CustomBarControls.css +1 -1
- package/build/esm/components/ReactPlayer/ReactPlayer.css +2 -2
- package/build/esm/components/Table/Table.css +8 -8
- package/build/esm/components/Title/Title.css +4 -4
- package/build/esm/components/Title/TitleItem.css +19 -19
- package/build/esm/components/Title/TitleItem.d.ts +2 -3
- package/build/esm/components/Title/TitleItem.js +2 -2
- package/build/esm/components/UnpublishedLabel/UnpublishedLabel.css +5 -5
- package/build/esm/components/VideoBlock/VideoBlock.css +2 -2
- package/build/esm/components/VideoBlock/VideoBlock.d.ts +2 -1
- package/build/esm/components/VideoBlock/VideoBlock.js +6 -2
- package/build/esm/components/constants.d.ts +3 -1
- package/build/esm/components/constants.js +3 -1
- package/build/esm/constructor-items.d.ts +1 -1
- package/build/esm/containers/PageConstructor/PageConstructor.css +50 -30
- package/build/esm/containers/PageConstructor/PageConstructor.js +7 -4
- package/build/esm/containers/PageConstructor/Provider.d.ts +2 -3
- package/build/esm/containers/PageConstructor/Provider.js +2 -2
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.d.ts +2 -2
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +8 -4
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.d.ts +1 -2
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +7 -4
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.d.ts +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +5 -3
- package/build/esm/containers/PageConstructor/components/index.d.ts +2 -0
- package/build/esm/containers/PageConstructor/components/index.js +1 -0
- package/build/esm/containers/PageConstructor/index.d.ts +1 -0
- package/build/esm/containers/PageConstructor/index.js +1 -0
- package/build/esm/context/theme/ThemeContext.d.ts +2 -3
- package/build/esm/context/theme/ThemeContext.js +0 -1
- package/build/esm/context/theme/index.d.ts +0 -1
- package/build/esm/context/theme/index.js +0 -1
- package/build/esm/context/theme/useTheme.d.ts +1 -1
- package/build/esm/context/theme/useTheme.js +2 -2
- package/build/esm/context/theme/withTheme.js +1 -1
- package/build/esm/customization/BlockDecoration.d.ts +1 -1
- package/build/esm/customization/BlockDecoration.js +9 -14
- package/build/esm/editor/{Components → components}/AddBlock/AddBlock.css +7 -6
- package/build/esm/editor/components/AddBlock/AddBlock.d.ts +8 -0
- package/build/esm/editor/{Components → components}/AddBlock/AddBlock.js +3 -3
- package/build/esm/editor/components/BlockForm/BlockForm.d.ts +12 -0
- package/build/esm/editor/components/BlockForm/BlockForm.js +25 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.css +34 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.d.ts +11 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.js +33 -0
- package/build/esm/editor/components/ControlPanel/i18n/en.json +3 -0
- package/build/esm/editor/components/ControlPanel/i18n/index.d.ts +2 -0
- package/build/esm/editor/components/ControlPanel/i18n/index.js +5 -0
- package/build/esm/editor/components/ControlPanel/i18n/ru.json +3 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulation.d.ts +7 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulation.js +7 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.css +33 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.d.ts +9 -0
- package/build/esm/editor/components/DeviceEmulation/DeviceEmulationMobile/DeviceEmulationMobile.js +40 -0
- package/build/esm/editor/components/DeviceEmulation/utils.d.ts +4 -0
- package/build/esm/editor/components/DeviceEmulation/utils.js +3 -0
- package/build/{cjs/editor/Components → esm/editor/components}/EditBlock/EditBlock.css +22 -14
- package/build/esm/editor/components/EditBlock/EditBlock.d.ts +14 -0
- package/build/esm/editor/components/EditBlock/EditBlock.js +45 -0
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.css +27 -0
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.d.ts +14 -0
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.js +31 -0
- package/build/esm/editor/components/ErrorBoundary/i18n/en.json +4 -0
- package/build/esm/editor/components/ErrorBoundary/i18n/index.d.ts +2 -0
- package/build/esm/editor/components/ErrorBoundary/i18n/index.js +5 -0
- package/build/esm/editor/components/ErrorBoundary/i18n/ru.json +4 -0
- package/build/esm/editor/components/Layout/Layout.css +44 -0
- package/build/esm/editor/components/Layout/Layout.d.ts +20 -0
- package/build/esm/editor/components/Layout/Layout.js +36 -0
- package/build/esm/editor/components/NotFoundBlock/NotFoundBlock.css +21 -0
- package/build/esm/editor/components/NotFoundBlock/NotFoundBlock.d.ts +3 -0
- package/build/esm/editor/components/NotFoundBlock/NotFoundBlock.js +8 -0
- package/build/esm/editor/components/NotFoundBlock/i18n/en.json +3 -0
- package/build/esm/editor/components/NotFoundBlock/i18n/index.d.ts +2 -0
- package/build/esm/editor/components/NotFoundBlock/i18n/index.js +5 -0
- package/build/esm/editor/components/NotFoundBlock/i18n/ru.json +3 -0
- package/build/esm/editor/components/PagePropsForm/PagePropsForm.d.ts +10 -0
- package/build/esm/editor/components/PagePropsForm/PagePropsForm.js +13 -0
- package/build/esm/editor/components/YamlEditor/YamlEditor.css +12 -0
- package/build/esm/editor/components/YamlEditor/YamlEditor.d.ts +7 -0
- package/build/esm/editor/components/YamlEditor/YamlEditor.js +30 -0
- package/build/esm/editor/containers/Editor/Editor.d.ts +2 -0
- package/build/esm/editor/containers/Editor/Editor.js +63 -0
- package/build/esm/editor/containers/Form/Form.css +115 -0
- package/build/esm/editor/containers/Form/Form.d.ts +12 -0
- package/build/esm/editor/containers/Form/Form.js +52 -0
- package/build/esm/editor/containers/Form/dynamic-form-custom.css +0 -0
- package/build/esm/editor/context.d.ts +9 -0
- package/build/esm/editor/context.js +2 -0
- package/build/esm/editor/data/previews/default-preview.js +1 -1
- package/build/esm/editor/data/previews/header-block.js +5 -5
- package/build/esm/editor/data/templates/banner-block.json +25 -0
- package/build/esm/editor/data/templates/card-layout-block.json +39 -0
- package/build/esm/editor/data/templates/companies-block.json +20 -0
- package/build/esm/editor/data/templates/content-layout-block.json +56 -0
- package/build/esm/editor/data/templates/extended-features-block.json +56 -0
- package/build/esm/editor/data/templates/filter-block.json +62 -0
- package/build/esm/editor/data/templates/header-block.json +19 -0
- package/build/esm/editor/data/templates/header-slider-block.json +69 -0
- package/build/esm/editor/data/templates/icons-block.json +32 -0
- package/build/esm/editor/data/templates/info-block.json +40 -0
- package/build/esm/editor/data/templates/link-table-block.json +10 -0
- package/build/esm/editor/data/templates/map-block.json +48 -0
- package/build/esm/editor/data/templates/media-block.json +15 -0
- package/build/esm/editor/data/templates/preview-block.json +38 -0
- package/build/esm/editor/data/templates/promo-features-block.json +52 -0
- package/build/esm/editor/data/templates/questions-block.json +105 -0
- package/build/esm/editor/data/templates/security-block.json +36 -0
- package/build/esm/editor/data/templates/share-block.json +6 -0
- package/build/esm/editor/data/templates/simple-block.json +7 -0
- package/build/esm/editor/data/templates/slider-block.json +46 -0
- package/build/esm/editor/data/templates/table-block.json +18 -0
- package/build/esm/editor/data/templates/tabs-block.json +90 -0
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.css +27 -0
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.d.ts +20 -0
- package/build/esm/editor/dynamic-forms-custom/components/OneOfCustom/OneOfCustom.js +68 -0
- package/build/esm/editor/dynamic-forms-custom/config.d.ts +2 -0
- package/build/esm/editor/dynamic-forms-custom/config.js +9 -0
- package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +12 -0
- package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.js +69 -0
- package/build/esm/editor/dynamic-forms-custom/parser/detect.d.ts +9 -0
- package/build/esm/editor/dynamic-forms-custom/parser/detect.js +32 -0
- package/build/esm/editor/dynamic-forms-custom/parser/index.d.ts +28 -0
- package/build/esm/editor/dynamic-forms-custom/parser/index.js +185 -0
- package/build/esm/editor/dynamic-forms-custom/parser/types.d.ts +28 -0
- package/build/esm/editor/dynamic-forms-custom/parser/types.js +1 -0
- package/build/esm/editor/dynamic-forms-custom/parser/views.d.ts +37 -0
- package/build/esm/editor/dynamic-forms-custom/parser/views.js +39 -0
- package/build/esm/editor/hooks/useFormSpec.d.ts +2 -0
- package/build/esm/editor/hooks/useFormSpec.js +9 -0
- package/build/esm/editor/hooks/usePreviousValue.d.ts +1 -0
- package/build/esm/editor/hooks/usePreviousValue.js +8 -0
- package/build/esm/editor/icons/Tablet.d.ts +2 -0
- package/build/esm/editor/icons/Tablet.js +4 -0
- package/build/esm/editor/index.d.ts +1 -1
- package/build/esm/editor/index.js +1 -1
- package/build/esm/editor/store/index.d.ts +12 -11
- package/build/esm/editor/store/index.js +72 -17
- package/build/esm/editor/store/reducer.d.ts +30 -9
- package/build/esm/editor/store/reducer.js +18 -29
- package/build/esm/editor/store/utils.d.ts +1 -0
- package/build/esm/editor/store/utils.js +3 -1
- package/build/esm/editor/styles/root.css +7 -0
- package/build/esm/editor/types/index.d.ts +30 -12
- package/build/esm/editor/types/index.js +7 -1
- package/build/esm/editor/utils/index.d.ts +6 -3
- package/build/esm/editor/utils/index.js +6 -3
- package/build/esm/editor/widget/constants.d.ts +4 -0
- package/build/esm/editor/widget/constants.js +5 -0
- package/build/esm/editor/widget/index.d.ts +21 -0
- package/build/esm/editor/widget/index.js +71 -0
- package/build/esm/editor/widget/utils.d.ts +1 -0
- package/build/esm/editor/widget/utils.js +15 -0
- package/build/esm/grid/Col/Col.d.ts +3 -4
- package/build/esm/grid/Col/Col.js +2 -2
- package/build/esm/grid/Grid/Grid.css +1 -1
- package/build/esm/hooks/useHeightCalculator.js +1 -1
- package/build/esm/models/common.d.ts +6 -1
- package/build/esm/models/common.js +5 -0
- package/build/esm/models/constructor-items/blocks.d.ts +17 -13
- package/build/esm/models/constructor-items/common.d.ts +3 -5
- package/build/esm/models/constructor.d.ts +2 -2
- package/build/esm/models/customization.d.ts +5 -7
- package/build/esm/models/navigation.d.ts +4 -2
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.css +92 -0
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.d.ts +5 -0
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.js +19 -0
- package/build/esm/navigation/components/Logo/Logo.css +3 -3
- package/build/esm/navigation/components/Logo/Logo.js +3 -3
- package/build/esm/navigation/components/MobileMenuButton/MobileMenuButton.css +7 -0
- package/build/esm/navigation/components/MobileMenuButton/MobileMenuButton.d.ts +4 -0
- package/build/esm/navigation/components/MobileMenuButton/MobileMenuButton.js +11 -0
- package/build/esm/navigation/components/MobileNavigation/MobileNavigation.css +17 -12
- package/build/esm/navigation/components/MobileNavigation/MobileNavigation.d.ts +1 -10
- package/build/esm/navigation/components/MobileNavigation/MobileNavigation.js +13 -32
- package/build/esm/navigation/components/Navigation/Navigation.css +8 -13
- package/build/esm/navigation/components/Navigation/Navigation.d.ts +4 -7
- package/build/esm/navigation/components/Navigation/Navigation.js +35 -15
- package/build/esm/navigation/components/NavigationItem/NavigationItem.css +28 -0
- package/build/esm/navigation/components/NavigationItem/NavigationItem.d.ts +4 -9
- package/build/esm/navigation/components/NavigationItem/NavigationItem.js +16 -6
- package/build/esm/navigation/components/NavigationItem/components/GithubButton/GithubButton.d.ts +1 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.d.ts +1 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.css +1 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.d.ts +5 -4
- package/build/esm/navigation/components/NavigationItem/components/NavigationDropdown/NavigationDropdown.js +11 -8
- package/build/esm/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.css +2 -2
- package/build/esm/navigation/components/NavigationItem/components/NavigationLink/NavigationLink.d.ts +1 -1
- package/build/esm/navigation/components/NavigationList/NavigationList.d.ts +3 -0
- package/build/esm/navigation/components/NavigationList/NavigationList.js +7 -0
- package/build/esm/navigation/components/NavigationListItem/NavigationListItem.d.ts +4 -14
- package/build/esm/navigation/components/NavigationListItem/NavigationListItem.js +5 -10
- package/build/esm/navigation/components/NavigationPopup/NavigationPopup.css +10 -9
- package/build/esm/navigation/components/NavigationPopup/NavigationPopup.d.ts +1 -8
- package/build/esm/navigation/components/NavigationPopup/NavigationPopup.js +6 -6
- package/build/esm/navigation/components/SocialIcon/SocialIcon.css +3 -3
- package/build/esm/navigation/containers/Layout/Layout.js +2 -2
- package/build/esm/navigation/models.d.ts +63 -0
- package/build/esm/navigation/{constants.js → models.js} +6 -0
- package/build/esm/navigation/schema.d.ts +1 -0
- package/build/esm/navigation/schema.js +2 -2
- package/build/esm/navigation/utils.d.ts +11 -1
- package/build/esm/navigation/utils.js +17 -0
- package/build/esm/schema/constants.d.ts +941 -0
- package/build/esm/schema/constants.js +39 -0
- package/build/esm/schema/index.d.ts +9 -228
- package/build/esm/schema/index.js +4 -42
- package/build/esm/schema/validators/common.d.ts +158 -30
- package/build/esm/schema/validators/common.js +57 -19
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.css +4 -4
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.js +3 -3
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +26 -6
- package/build/esm/sub-blocks/BannerCard/BannerCard.css +16 -16
- package/build/esm/sub-blocks/BannerCard/BannerCard.js +3 -3
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +22 -4
- package/build/esm/sub-blocks/Content/Content.css +22 -22
- package/build/esm/sub-blocks/Content/Content.js +3 -1
- package/build/esm/sub-blocks/Content/ContentList/ContentList.css +48 -0
- package/build/esm/sub-blocks/Content/ContentList/ContentList.d.ts +8 -0
- package/build/esm/sub-blocks/Content/ContentList/ContentList.js +23 -0
- package/build/esm/sub-blocks/Content/schema.d.ts +74 -6
- package/build/esm/sub-blocks/Content/schema.js +27 -2
- package/build/esm/sub-blocks/Divider/Divider.css +1 -1
- package/build/esm/sub-blocks/Divider/schema.d.ts +3 -1
- package/build/esm/sub-blocks/HubspotForm/HubspotForm.css +39 -39
- package/build/esm/sub-blocks/HubspotForm/index.js +2 -2
- package/build/esm/sub-blocks/LayoutItem/LayoutItem.css +1 -1
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +115 -10
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +100 -6
- package/build/esm/sub-blocks/MediaCard/schema.js +2 -2
- package/build/esm/sub-blocks/PriceDetailed/CombinedPriceDetailed/CombinedPriceDetailed.css +2 -2
- package/build/esm/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.css +17 -29
- package/build/esm/sub-blocks/PriceDetailed/PriceDescription/PriceDescription.js +18 -1
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/Details/Settings.css +7 -7
- package/build/esm/sub-blocks/PriceDetailed/PriceDetails/PriceDetails.css +5 -5
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +4 -1
- package/build/esm/sub-blocks/PriceDetailed/schema.js +5 -1
- package/build/esm/sub-blocks/Quote/Quote.css +10 -10
- package/build/esm/sub-blocks/Quote/Quote.js +3 -3
- package/build/esm/sub-blocks/Quote/schema.d.ts +9 -4
- package/build/esm/sub-blocks/Quote/schema.js +2 -3
- package/build/esm/text-transform/config.js +19 -1
- package/build/esm/text-transform/filter.d.ts +20 -0
- package/build/esm/text-transform/filter.js +56 -0
- package/build/esm/text-transform/index.d.ts +1 -0
- package/build/esm/text-transform/index.js +1 -0
- package/build/esm/text-transform/transformers.d.ts +2 -0
- package/build/esm/text-transform/transformers.js +3 -2
- package/build/esm/text-transform/utils.js +6 -1
- package/build/esm/utils/blocks.d.ts +1 -1
- package/build/esm/utils/blocks.js +41 -1
- package/build/esm/utils/imageCompress.js +1 -1
- package/build/esm/utils/theme.d.ts +1 -1
- package/package.json +87 -24
- package/server/components/constants.d.ts +3 -1
- package/server/components/constants.js +4 -2
- package/server/models/common.d.ts +6 -1
- package/server/models/common.js +6 -1
- package/server/models/constructor-items/blocks.d.ts +17 -13
- package/server/models/constructor-items/common.d.ts +3 -5
- package/server/models/constructor.d.ts +2 -2
- package/server/models/customization.d.ts +5 -7
- package/server/models/navigation.d.ts +4 -2
- package/server/text-transform/config.js +19 -1
- package/server/text-transform/filter.d.ts +20 -0
- package/server/text-transform/filter.js +63 -0
- package/server/text-transform/index.d.ts +1 -0
- package/server/text-transform/index.js +1 -0
- package/server/text-transform/transformers.d.ts +2 -0
- package/server/text-transform/transformers.js +3 -2
- package/server/text-transform/utils.js +6 -1
- package/server/utils/blocks.d.ts +1 -1
- package/server/utils/blocks.js +43 -3
- package/server/utils/theme.d.ts +1 -1
- package/styles/colors/dark.scss +6 -0
- package/styles/colors/light.scss +6 -0
- package/styles/colors/social.scss +10 -0
- package/styles/mixins.scss +27 -29
- package/styles/root.scss +28 -14
- package/styles/storybook/common.scss +6 -6
- package/styles/storybook/palette.scss +6 -6
- package/styles/storybook/typography.scss +46 -46
- package/styles/styles.css +15 -15
- package/styles/variables.scss +0 -8
- package/styles/yfm.scss +12 -12
- package/widget/index.js +1 -0
- package/CHANGELOG.md +0 -1266
- package/build/cjs/context/theme/ThemeProvider.d.ts +0 -22
- package/build/cjs/context/theme/ThemeProvider.js +0 -49
- package/build/cjs/context/theme/ThemeValueContext.d.ts +0 -7
- package/build/cjs/context/theme/ThemeValueContext.js +0 -9
- package/build/cjs/context/theme/useThemeValue.d.ts +0 -2
- package/build/cjs/context/theme/useThemeValue.js +0 -11
- package/build/cjs/editor/Components/AddBlock/AddBlock.d.ts +0 -7
- package/build/cjs/editor/Components/EditBlock/EditBlock.d.ts +0 -4
- package/build/cjs/editor/Components/EditBlock/EditBlock.js +0 -32
- package/build/cjs/editor/Containers/Editor.d.ts +0 -2
- package/build/cjs/editor/Containers/Editor.js +0 -24
- package/build/cjs/navigation/components/Header/Header.css +0 -98
- package/build/cjs/navigation/components/Header/Header.d.ts +0 -8
- package/build/cjs/navigation/components/Header/Header.js +0 -68
- package/build/cjs/navigation/components/NavigationDropdownItem/NavigationDropdownItem.d.ts +0 -11
- package/build/cjs/navigation/components/NavigationDropdownItem/NavigationDropdownItem.js +0 -15
- package/build/cjs/navigation/components/NavigationListItem/NavigationListItem.css +0 -27
- package/build/cjs/navigation/constants.d.ts +0 -6
- package/build/esm/context/theme/ThemeProvider.d.ts +0 -22
- package/build/esm/context/theme/ThemeProvider.js +0 -44
- package/build/esm/context/theme/ThemeValueContext.d.ts +0 -7
- package/build/esm/context/theme/ThemeValueContext.js +0 -5
- package/build/esm/context/theme/useThemeValue.d.ts +0 -2
- package/build/esm/context/theme/useThemeValue.js +0 -6
- package/build/esm/editor/Components/AddBlock/AddBlock.d.ts +0 -8
- package/build/esm/editor/Components/EditBlock/EditBlock.d.ts +0 -5
- package/build/esm/editor/Components/EditBlock/EditBlock.js +0 -30
- package/build/esm/editor/Containers/Editor.d.ts +0 -2
- package/build/esm/editor/Containers/Editor.js +0 -20
- package/build/esm/navigation/components/Header/Header.css +0 -98
- package/build/esm/navigation/components/Header/Header.d.ts +0 -9
- package/build/esm/navigation/components/Header/Header.js +0 -64
- package/build/esm/navigation/components/NavigationDropdownItem/NavigationDropdownItem.d.ts +0 -11
- package/build/esm/navigation/components/NavigationDropdownItem/NavigationDropdownItem.js +0 -13
- package/build/esm/navigation/components/NavigationListItem/NavigationListItem.css +0 -27
- package/build/esm/navigation/constants.d.ts +0 -6
|
@@ -13,7 +13,8 @@ export declare const HeaderBackgroundProps: {
|
|
|
13
13
|
type: string;
|
|
14
14
|
};
|
|
15
15
|
image: {
|
|
16
|
-
|
|
16
|
+
oneOf: ({
|
|
17
|
+
optionName: string;
|
|
17
18
|
oneOf: ({
|
|
18
19
|
type: string;
|
|
19
20
|
properties: {
|
|
@@ -24,7 +25,10 @@ export declare const HeaderBackgroundProps: {
|
|
|
24
25
|
} | {
|
|
25
26
|
type: string;
|
|
26
27
|
pattern: string;
|
|
28
|
+
optionName: string;
|
|
27
29
|
})[];
|
|
30
|
+
type?: undefined;
|
|
31
|
+
items?: undefined;
|
|
28
32
|
} | {
|
|
29
33
|
type: string;
|
|
30
34
|
items: {
|
|
@@ -38,8 +42,10 @@ export declare const HeaderBackgroundProps: {
|
|
|
38
42
|
} | {
|
|
39
43
|
type: string;
|
|
40
44
|
pattern: string;
|
|
45
|
+
optionName: string;
|
|
41
46
|
})[];
|
|
42
47
|
};
|
|
48
|
+
optionName: string;
|
|
43
49
|
})[];
|
|
44
50
|
};
|
|
45
51
|
video: {
|
|
@@ -54,7 +60,8 @@ export declare const HeaderBackgroundProps: {
|
|
|
54
60
|
};
|
|
55
61
|
};
|
|
56
62
|
loop: {
|
|
57
|
-
|
|
63
|
+
oneOf: ({
|
|
64
|
+
optionName: string;
|
|
58
65
|
type: string;
|
|
59
66
|
additionalProperties: boolean;
|
|
60
67
|
required: string[];
|
|
@@ -68,6 +75,7 @@ export declare const HeaderBackgroundProps: {
|
|
|
68
75
|
};
|
|
69
76
|
} | {
|
|
70
77
|
type: string;
|
|
78
|
+
optionName: string;
|
|
71
79
|
})[];
|
|
72
80
|
};
|
|
73
81
|
type: {
|
|
@@ -77,13 +85,13 @@ export declare const HeaderBackgroundProps: {
|
|
|
77
85
|
muted: {
|
|
78
86
|
type: string;
|
|
79
87
|
};
|
|
80
|
-
|
|
88
|
+
autoplay: {
|
|
81
89
|
type: string;
|
|
82
90
|
};
|
|
83
91
|
elapsedTime: {
|
|
84
92
|
type: string;
|
|
85
93
|
};
|
|
86
|
-
|
|
94
|
+
playButton: {
|
|
87
95
|
type: string;
|
|
88
96
|
additionalProperties: boolean;
|
|
89
97
|
properties: {
|
|
@@ -121,6 +129,10 @@ export declare const HeaderBackgroundProps: {
|
|
|
121
129
|
};
|
|
122
130
|
dataLens: {
|
|
123
131
|
oneOf: ({
|
|
132
|
+
type: string;
|
|
133
|
+
optionName: string;
|
|
134
|
+
} | {
|
|
135
|
+
optionName: string;
|
|
124
136
|
type: string;
|
|
125
137
|
additionalProperties: boolean;
|
|
126
138
|
required: string[];
|
|
@@ -133,13 +145,89 @@ export declare const HeaderBackgroundProps: {
|
|
|
133
145
|
enum: string[];
|
|
134
146
|
};
|
|
135
147
|
};
|
|
136
|
-
} | {
|
|
137
|
-
type: string;
|
|
138
148
|
})[];
|
|
139
149
|
};
|
|
140
150
|
fullscreen: {
|
|
141
151
|
type: string;
|
|
142
152
|
};
|
|
153
|
+
analyticsEvents: {
|
|
154
|
+
anyOf: ({
|
|
155
|
+
type: string;
|
|
156
|
+
additionalProperties: {
|
|
157
|
+
type: string;
|
|
158
|
+
};
|
|
159
|
+
required: string[];
|
|
160
|
+
properties: {
|
|
161
|
+
name: {
|
|
162
|
+
type: string;
|
|
163
|
+
};
|
|
164
|
+
type: {
|
|
165
|
+
type: string;
|
|
166
|
+
};
|
|
167
|
+
counters: {
|
|
168
|
+
type: string;
|
|
169
|
+
additionalProperties: boolean;
|
|
170
|
+
required: never[];
|
|
171
|
+
properties: {
|
|
172
|
+
include: {
|
|
173
|
+
type: string;
|
|
174
|
+
items: {
|
|
175
|
+
type: string;
|
|
176
|
+
};
|
|
177
|
+
};
|
|
178
|
+
exclude: {
|
|
179
|
+
type: string;
|
|
180
|
+
items: {
|
|
181
|
+
type: string;
|
|
182
|
+
};
|
|
183
|
+
};
|
|
184
|
+
};
|
|
185
|
+
};
|
|
186
|
+
context: {
|
|
187
|
+
type: string;
|
|
188
|
+
};
|
|
189
|
+
};
|
|
190
|
+
} | {
|
|
191
|
+
type: string;
|
|
192
|
+
items: {
|
|
193
|
+
type: string;
|
|
194
|
+
additionalProperties: {
|
|
195
|
+
type: string;
|
|
196
|
+
};
|
|
197
|
+
required: string[];
|
|
198
|
+
properties: {
|
|
199
|
+
name: {
|
|
200
|
+
type: string;
|
|
201
|
+
};
|
|
202
|
+
type: {
|
|
203
|
+
type: string;
|
|
204
|
+
};
|
|
205
|
+
counters: {
|
|
206
|
+
type: string;
|
|
207
|
+
additionalProperties: boolean;
|
|
208
|
+
required: never[];
|
|
209
|
+
properties: {
|
|
210
|
+
include: {
|
|
211
|
+
type: string;
|
|
212
|
+
items: {
|
|
213
|
+
type: string;
|
|
214
|
+
};
|
|
215
|
+
};
|
|
216
|
+
exclude: {
|
|
217
|
+
type: string;
|
|
218
|
+
items: {
|
|
219
|
+
type: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
};
|
|
223
|
+
};
|
|
224
|
+
context: {
|
|
225
|
+
type: string;
|
|
226
|
+
};
|
|
227
|
+
};
|
|
228
|
+
};
|
|
229
|
+
})[];
|
|
230
|
+
};
|
|
143
231
|
};
|
|
144
232
|
};
|
|
145
233
|
export declare const HeaderProperties: {
|
|
@@ -154,6 +242,7 @@ export declare const HeaderProperties: {
|
|
|
154
242
|
description: {
|
|
155
243
|
type: string;
|
|
156
244
|
contentType: string;
|
|
245
|
+
inputType: string;
|
|
157
246
|
};
|
|
158
247
|
width: {
|
|
159
248
|
type: string;
|
|
@@ -175,7 +264,7 @@ export declare const HeaderProperties: {
|
|
|
175
264
|
enum: string[];
|
|
176
265
|
};
|
|
177
266
|
image: {
|
|
178
|
-
oneOf: ({
|
|
267
|
+
oneOf: (({
|
|
179
268
|
oneOf: ({
|
|
180
269
|
type: string;
|
|
181
270
|
properties: {
|
|
@@ -186,16 +275,20 @@ export declare const HeaderProperties: {
|
|
|
186
275
|
} | {
|
|
187
276
|
type: string;
|
|
188
277
|
pattern: string;
|
|
278
|
+
optionName: string;
|
|
189
279
|
})[];
|
|
190
|
-
}
|
|
280
|
+
} & {
|
|
281
|
+
optionName: string;
|
|
282
|
+
}) | {
|
|
191
283
|
type: string;
|
|
192
284
|
additionalProperties: boolean;
|
|
193
285
|
required: import("../..").Theme[];
|
|
194
286
|
properties: {};
|
|
287
|
+
optionName: string;
|
|
195
288
|
})[];
|
|
196
289
|
};
|
|
197
290
|
video: {
|
|
198
|
-
oneOf: ({
|
|
291
|
+
oneOf: (({
|
|
199
292
|
type: string;
|
|
200
293
|
additionalProperties: boolean;
|
|
201
294
|
required: string[];
|
|
@@ -207,7 +300,8 @@ export declare const HeaderProperties: {
|
|
|
207
300
|
};
|
|
208
301
|
};
|
|
209
302
|
loop: {
|
|
210
|
-
|
|
303
|
+
oneOf: ({
|
|
304
|
+
optionName: string;
|
|
211
305
|
type: string;
|
|
212
306
|
additionalProperties: boolean;
|
|
213
307
|
required: string[];
|
|
@@ -221,6 +315,7 @@ export declare const HeaderProperties: {
|
|
|
221
315
|
};
|
|
222
316
|
} | {
|
|
223
317
|
type: string;
|
|
318
|
+
optionName: string;
|
|
224
319
|
})[];
|
|
225
320
|
};
|
|
226
321
|
type: {
|
|
@@ -230,13 +325,13 @@ export declare const HeaderProperties: {
|
|
|
230
325
|
muted: {
|
|
231
326
|
type: string;
|
|
232
327
|
};
|
|
233
|
-
|
|
328
|
+
autoplay: {
|
|
234
329
|
type: string;
|
|
235
330
|
};
|
|
236
331
|
elapsedTime: {
|
|
237
332
|
type: string;
|
|
238
333
|
};
|
|
239
|
-
|
|
334
|
+
playButton: {
|
|
240
335
|
type: string;
|
|
241
336
|
additionalProperties: boolean;
|
|
242
337
|
properties: {
|
|
@@ -259,11 +354,14 @@ export declare const HeaderProperties: {
|
|
|
259
354
|
enum: string[];
|
|
260
355
|
};
|
|
261
356
|
};
|
|
262
|
-
}
|
|
357
|
+
} & {
|
|
358
|
+
optionName: string;
|
|
359
|
+
}) | {
|
|
263
360
|
type: string;
|
|
264
361
|
additionalProperties: boolean;
|
|
265
362
|
required: import("../..").Theme[];
|
|
266
363
|
properties: {};
|
|
364
|
+
optionName: string;
|
|
267
365
|
})[];
|
|
268
366
|
};
|
|
269
367
|
backLink: {
|
|
@@ -288,7 +386,7 @@ export declare const HeaderProperties: {
|
|
|
288
386
|
enum: string[];
|
|
289
387
|
};
|
|
290
388
|
background: {
|
|
291
|
-
oneOf: ({
|
|
389
|
+
oneOf: (({
|
|
292
390
|
type: string;
|
|
293
391
|
additionalProperties: boolean;
|
|
294
392
|
required: never[];
|
|
@@ -303,7 +401,8 @@ export declare const HeaderProperties: {
|
|
|
303
401
|
type: string;
|
|
304
402
|
};
|
|
305
403
|
image: {
|
|
306
|
-
|
|
404
|
+
oneOf: ({
|
|
405
|
+
optionName: string;
|
|
307
406
|
oneOf: ({
|
|
308
407
|
type: string;
|
|
309
408
|
properties: {
|
|
@@ -314,7 +413,10 @@ export declare const HeaderProperties: {
|
|
|
314
413
|
} | {
|
|
315
414
|
type: string;
|
|
316
415
|
pattern: string;
|
|
416
|
+
optionName: string;
|
|
317
417
|
})[];
|
|
418
|
+
type?: undefined;
|
|
419
|
+
items?: undefined;
|
|
318
420
|
} | {
|
|
319
421
|
type: string;
|
|
320
422
|
items: {
|
|
@@ -328,8 +430,10 @@ export declare const HeaderProperties: {
|
|
|
328
430
|
} | {
|
|
329
431
|
type: string;
|
|
330
432
|
pattern: string;
|
|
433
|
+
optionName: string;
|
|
331
434
|
})[];
|
|
332
435
|
};
|
|
436
|
+
optionName: string;
|
|
333
437
|
})[];
|
|
334
438
|
};
|
|
335
439
|
video: {
|
|
@@ -344,7 +448,8 @@ export declare const HeaderProperties: {
|
|
|
344
448
|
};
|
|
345
449
|
};
|
|
346
450
|
loop: {
|
|
347
|
-
|
|
451
|
+
oneOf: ({
|
|
452
|
+
optionName: string;
|
|
348
453
|
type: string;
|
|
349
454
|
additionalProperties: boolean;
|
|
350
455
|
required: string[];
|
|
@@ -358,6 +463,7 @@ export declare const HeaderProperties: {
|
|
|
358
463
|
};
|
|
359
464
|
} | {
|
|
360
465
|
type: string;
|
|
466
|
+
optionName: string;
|
|
361
467
|
})[];
|
|
362
468
|
};
|
|
363
469
|
type: {
|
|
@@ -367,13 +473,13 @@ export declare const HeaderProperties: {
|
|
|
367
473
|
muted: {
|
|
368
474
|
type: string;
|
|
369
475
|
};
|
|
370
|
-
|
|
476
|
+
autoplay: {
|
|
371
477
|
type: string;
|
|
372
478
|
};
|
|
373
479
|
elapsedTime: {
|
|
374
480
|
type: string;
|
|
375
481
|
};
|
|
376
|
-
|
|
482
|
+
playButton: {
|
|
377
483
|
type: string;
|
|
378
484
|
additionalProperties: boolean;
|
|
379
485
|
properties: {
|
|
@@ -411,6 +517,10 @@ export declare const HeaderProperties: {
|
|
|
411
517
|
};
|
|
412
518
|
dataLens: {
|
|
413
519
|
oneOf: ({
|
|
520
|
+
type: string;
|
|
521
|
+
optionName: string;
|
|
522
|
+
} | {
|
|
523
|
+
optionName: string;
|
|
414
524
|
type: string;
|
|
415
525
|
additionalProperties: boolean;
|
|
416
526
|
required: string[];
|
|
@@ -423,19 +533,98 @@ export declare const HeaderProperties: {
|
|
|
423
533
|
enum: string[];
|
|
424
534
|
};
|
|
425
535
|
};
|
|
426
|
-
} | {
|
|
427
|
-
type: string;
|
|
428
536
|
})[];
|
|
429
537
|
};
|
|
430
538
|
fullscreen: {
|
|
431
539
|
type: string;
|
|
432
540
|
};
|
|
541
|
+
analyticsEvents: {
|
|
542
|
+
anyOf: ({
|
|
543
|
+
type: string;
|
|
544
|
+
additionalProperties: {
|
|
545
|
+
type: string;
|
|
546
|
+
};
|
|
547
|
+
required: string[];
|
|
548
|
+
properties: {
|
|
549
|
+
name: {
|
|
550
|
+
type: string;
|
|
551
|
+
};
|
|
552
|
+
type: {
|
|
553
|
+
type: string;
|
|
554
|
+
};
|
|
555
|
+
counters: {
|
|
556
|
+
type: string;
|
|
557
|
+
additionalProperties: boolean;
|
|
558
|
+
required: never[];
|
|
559
|
+
properties: {
|
|
560
|
+
include: {
|
|
561
|
+
type: string;
|
|
562
|
+
items: {
|
|
563
|
+
type: string;
|
|
564
|
+
};
|
|
565
|
+
};
|
|
566
|
+
exclude: {
|
|
567
|
+
type: string;
|
|
568
|
+
items: {
|
|
569
|
+
type: string;
|
|
570
|
+
};
|
|
571
|
+
};
|
|
572
|
+
};
|
|
573
|
+
};
|
|
574
|
+
context: {
|
|
575
|
+
type: string;
|
|
576
|
+
};
|
|
577
|
+
};
|
|
578
|
+
} | {
|
|
579
|
+
type: string;
|
|
580
|
+
items: {
|
|
581
|
+
type: string;
|
|
582
|
+
additionalProperties: {
|
|
583
|
+
type: string;
|
|
584
|
+
};
|
|
585
|
+
required: string[];
|
|
586
|
+
properties: {
|
|
587
|
+
name: {
|
|
588
|
+
type: string;
|
|
589
|
+
};
|
|
590
|
+
type: {
|
|
591
|
+
type: string;
|
|
592
|
+
};
|
|
593
|
+
counters: {
|
|
594
|
+
type: string;
|
|
595
|
+
additionalProperties: boolean;
|
|
596
|
+
required: never[];
|
|
597
|
+
properties: {
|
|
598
|
+
include: {
|
|
599
|
+
type: string;
|
|
600
|
+
items: {
|
|
601
|
+
type: string;
|
|
602
|
+
};
|
|
603
|
+
};
|
|
604
|
+
exclude: {
|
|
605
|
+
type: string;
|
|
606
|
+
items: {
|
|
607
|
+
type: string;
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
};
|
|
611
|
+
};
|
|
612
|
+
context: {
|
|
613
|
+
type: string;
|
|
614
|
+
};
|
|
615
|
+
};
|
|
616
|
+
};
|
|
617
|
+
})[];
|
|
618
|
+
};
|
|
433
619
|
};
|
|
434
|
-
}
|
|
620
|
+
} & {
|
|
621
|
+
optionName: string;
|
|
622
|
+
}) | {
|
|
435
623
|
type: string;
|
|
436
624
|
additionalProperties: boolean;
|
|
437
625
|
required: import("../..").Theme[];
|
|
438
626
|
properties: {};
|
|
627
|
+
optionName: string;
|
|
439
628
|
})[];
|
|
440
629
|
};
|
|
441
630
|
theme: {
|
|
@@ -490,6 +679,7 @@ export declare const HeaderBlock: {
|
|
|
490
679
|
description: {
|
|
491
680
|
type: string;
|
|
492
681
|
contentType: string;
|
|
682
|
+
inputType: string;
|
|
493
683
|
};
|
|
494
684
|
width: {
|
|
495
685
|
type: string;
|
|
@@ -511,7 +701,7 @@ export declare const HeaderBlock: {
|
|
|
511
701
|
enum: string[];
|
|
512
702
|
};
|
|
513
703
|
image: {
|
|
514
|
-
oneOf: ({
|
|
704
|
+
oneOf: (({
|
|
515
705
|
oneOf: ({
|
|
516
706
|
type: string;
|
|
517
707
|
properties: {
|
|
@@ -522,16 +712,20 @@ export declare const HeaderBlock: {
|
|
|
522
712
|
} | {
|
|
523
713
|
type: string;
|
|
524
714
|
pattern: string;
|
|
715
|
+
optionName: string;
|
|
525
716
|
})[];
|
|
526
|
-
}
|
|
717
|
+
} & {
|
|
718
|
+
optionName: string;
|
|
719
|
+
}) | {
|
|
527
720
|
type: string;
|
|
528
721
|
additionalProperties: boolean;
|
|
529
722
|
required: import("../..").Theme[];
|
|
530
723
|
properties: {};
|
|
724
|
+
optionName: string;
|
|
531
725
|
})[];
|
|
532
726
|
};
|
|
533
727
|
video: {
|
|
534
|
-
oneOf: ({
|
|
728
|
+
oneOf: (({
|
|
535
729
|
type: string;
|
|
536
730
|
additionalProperties: boolean;
|
|
537
731
|
required: string[];
|
|
@@ -543,7 +737,8 @@ export declare const HeaderBlock: {
|
|
|
543
737
|
};
|
|
544
738
|
};
|
|
545
739
|
loop: {
|
|
546
|
-
|
|
740
|
+
oneOf: ({
|
|
741
|
+
optionName: string;
|
|
547
742
|
type: string;
|
|
548
743
|
additionalProperties: boolean;
|
|
549
744
|
required: string[];
|
|
@@ -557,6 +752,7 @@ export declare const HeaderBlock: {
|
|
|
557
752
|
};
|
|
558
753
|
} | {
|
|
559
754
|
type: string;
|
|
755
|
+
optionName: string;
|
|
560
756
|
})[];
|
|
561
757
|
};
|
|
562
758
|
type: {
|
|
@@ -566,13 +762,13 @@ export declare const HeaderBlock: {
|
|
|
566
762
|
muted: {
|
|
567
763
|
type: string;
|
|
568
764
|
};
|
|
569
|
-
|
|
765
|
+
autoplay: {
|
|
570
766
|
type: string;
|
|
571
767
|
};
|
|
572
768
|
elapsedTime: {
|
|
573
769
|
type: string;
|
|
574
770
|
};
|
|
575
|
-
|
|
771
|
+
playButton: {
|
|
576
772
|
type: string;
|
|
577
773
|
additionalProperties: boolean;
|
|
578
774
|
properties: {
|
|
@@ -595,11 +791,14 @@ export declare const HeaderBlock: {
|
|
|
595
791
|
enum: string[];
|
|
596
792
|
};
|
|
597
793
|
};
|
|
598
|
-
}
|
|
794
|
+
} & {
|
|
795
|
+
optionName: string;
|
|
796
|
+
}) | {
|
|
599
797
|
type: string;
|
|
600
798
|
additionalProperties: boolean;
|
|
601
799
|
required: import("../..").Theme[];
|
|
602
800
|
properties: {};
|
|
801
|
+
optionName: string;
|
|
603
802
|
})[];
|
|
604
803
|
};
|
|
605
804
|
backLink: {
|
|
@@ -624,7 +823,7 @@ export declare const HeaderBlock: {
|
|
|
624
823
|
enum: string[];
|
|
625
824
|
};
|
|
626
825
|
background: {
|
|
627
|
-
oneOf: ({
|
|
826
|
+
oneOf: (({
|
|
628
827
|
type: string;
|
|
629
828
|
additionalProperties: boolean;
|
|
630
829
|
required: never[];
|
|
@@ -639,7 +838,8 @@ export declare const HeaderBlock: {
|
|
|
639
838
|
type: string;
|
|
640
839
|
};
|
|
641
840
|
image: {
|
|
642
|
-
|
|
841
|
+
oneOf: ({
|
|
842
|
+
optionName: string;
|
|
643
843
|
oneOf: ({
|
|
644
844
|
type: string;
|
|
645
845
|
properties: {
|
|
@@ -650,7 +850,10 @@ export declare const HeaderBlock: {
|
|
|
650
850
|
} | {
|
|
651
851
|
type: string;
|
|
652
852
|
pattern: string;
|
|
853
|
+
optionName: string;
|
|
653
854
|
})[];
|
|
855
|
+
type?: undefined;
|
|
856
|
+
items?: undefined;
|
|
654
857
|
} | {
|
|
655
858
|
type: string;
|
|
656
859
|
items: {
|
|
@@ -664,8 +867,10 @@ export declare const HeaderBlock: {
|
|
|
664
867
|
} | {
|
|
665
868
|
type: string;
|
|
666
869
|
pattern: string;
|
|
870
|
+
optionName: string;
|
|
667
871
|
})[];
|
|
668
872
|
};
|
|
873
|
+
optionName: string;
|
|
669
874
|
})[];
|
|
670
875
|
};
|
|
671
876
|
video: {
|
|
@@ -680,7 +885,8 @@ export declare const HeaderBlock: {
|
|
|
680
885
|
};
|
|
681
886
|
};
|
|
682
887
|
loop: {
|
|
683
|
-
|
|
888
|
+
oneOf: ({
|
|
889
|
+
optionName: string;
|
|
684
890
|
type: string;
|
|
685
891
|
additionalProperties: boolean;
|
|
686
892
|
required: string[];
|
|
@@ -694,6 +900,7 @@ export declare const HeaderBlock: {
|
|
|
694
900
|
};
|
|
695
901
|
} | {
|
|
696
902
|
type: string;
|
|
903
|
+
optionName: string;
|
|
697
904
|
})[];
|
|
698
905
|
};
|
|
699
906
|
type: {
|
|
@@ -703,13 +910,13 @@ export declare const HeaderBlock: {
|
|
|
703
910
|
muted: {
|
|
704
911
|
type: string;
|
|
705
912
|
};
|
|
706
|
-
|
|
913
|
+
autoplay: {
|
|
707
914
|
type: string;
|
|
708
915
|
};
|
|
709
916
|
elapsedTime: {
|
|
710
917
|
type: string;
|
|
711
918
|
};
|
|
712
|
-
|
|
919
|
+
playButton: {
|
|
713
920
|
type: string;
|
|
714
921
|
additionalProperties: boolean;
|
|
715
922
|
properties: {
|
|
@@ -747,6 +954,10 @@ export declare const HeaderBlock: {
|
|
|
747
954
|
};
|
|
748
955
|
dataLens: {
|
|
749
956
|
oneOf: ({
|
|
957
|
+
type: string;
|
|
958
|
+
optionName: string;
|
|
959
|
+
} | {
|
|
960
|
+
optionName: string;
|
|
750
961
|
type: string;
|
|
751
962
|
additionalProperties: boolean;
|
|
752
963
|
required: string[];
|
|
@@ -759,19 +970,98 @@ export declare const HeaderBlock: {
|
|
|
759
970
|
enum: string[];
|
|
760
971
|
};
|
|
761
972
|
};
|
|
762
|
-
} | {
|
|
763
|
-
type: string;
|
|
764
973
|
})[];
|
|
765
974
|
};
|
|
766
975
|
fullscreen: {
|
|
767
976
|
type: string;
|
|
768
977
|
};
|
|
978
|
+
analyticsEvents: {
|
|
979
|
+
anyOf: ({
|
|
980
|
+
type: string;
|
|
981
|
+
additionalProperties: {
|
|
982
|
+
type: string;
|
|
983
|
+
};
|
|
984
|
+
required: string[];
|
|
985
|
+
properties: {
|
|
986
|
+
name: {
|
|
987
|
+
type: string;
|
|
988
|
+
};
|
|
989
|
+
type: {
|
|
990
|
+
type: string;
|
|
991
|
+
};
|
|
992
|
+
counters: {
|
|
993
|
+
type: string;
|
|
994
|
+
additionalProperties: boolean;
|
|
995
|
+
required: never[];
|
|
996
|
+
properties: {
|
|
997
|
+
include: {
|
|
998
|
+
type: string;
|
|
999
|
+
items: {
|
|
1000
|
+
type: string;
|
|
1001
|
+
};
|
|
1002
|
+
};
|
|
1003
|
+
exclude: {
|
|
1004
|
+
type: string;
|
|
1005
|
+
items: {
|
|
1006
|
+
type: string;
|
|
1007
|
+
};
|
|
1008
|
+
};
|
|
1009
|
+
};
|
|
1010
|
+
};
|
|
1011
|
+
context: {
|
|
1012
|
+
type: string;
|
|
1013
|
+
};
|
|
1014
|
+
};
|
|
1015
|
+
} | {
|
|
1016
|
+
type: string;
|
|
1017
|
+
items: {
|
|
1018
|
+
type: string;
|
|
1019
|
+
additionalProperties: {
|
|
1020
|
+
type: string;
|
|
1021
|
+
};
|
|
1022
|
+
required: string[];
|
|
1023
|
+
properties: {
|
|
1024
|
+
name: {
|
|
1025
|
+
type: string;
|
|
1026
|
+
};
|
|
1027
|
+
type: {
|
|
1028
|
+
type: string;
|
|
1029
|
+
};
|
|
1030
|
+
counters: {
|
|
1031
|
+
type: string;
|
|
1032
|
+
additionalProperties: boolean;
|
|
1033
|
+
required: never[];
|
|
1034
|
+
properties: {
|
|
1035
|
+
include: {
|
|
1036
|
+
type: string;
|
|
1037
|
+
items: {
|
|
1038
|
+
type: string;
|
|
1039
|
+
};
|
|
1040
|
+
};
|
|
1041
|
+
exclude: {
|
|
1042
|
+
type: string;
|
|
1043
|
+
items: {
|
|
1044
|
+
type: string;
|
|
1045
|
+
};
|
|
1046
|
+
};
|
|
1047
|
+
};
|
|
1048
|
+
};
|
|
1049
|
+
context: {
|
|
1050
|
+
type: string;
|
|
1051
|
+
};
|
|
1052
|
+
};
|
|
1053
|
+
};
|
|
1054
|
+
})[];
|
|
1055
|
+
};
|
|
769
1056
|
};
|
|
770
|
-
}
|
|
1057
|
+
} & {
|
|
1058
|
+
optionName: string;
|
|
1059
|
+
}) | {
|
|
771
1060
|
type: string;
|
|
772
1061
|
additionalProperties: boolean;
|
|
773
1062
|
required: import("../..").Theme[];
|
|
774
1063
|
properties: {};
|
|
1064
|
+
optionName: string;
|
|
775
1065
|
})[];
|
|
776
1066
|
};
|
|
777
1067
|
theme: {
|
|
@@ -834,7 +1124,9 @@ export declare const HeaderBlock: {
|
|
|
834
1124
|
type: string;
|
|
835
1125
|
};
|
|
836
1126
|
type: {};
|
|
837
|
-
when: {
|
|
1127
|
+
when: {
|
|
1128
|
+
type: string;
|
|
1129
|
+
};
|
|
838
1130
|
};
|
|
839
1131
|
};
|
|
840
1132
|
};
|