@gravity-ui/page-constructor 4.56.0 → 5.0.1
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 +6 -4
- package/build/cjs/blocks/Banner/schema.d.ts +0 -264
- package/build/cjs/blocks/FilterBlock/FilterBlock.js +2 -2
- package/build/cjs/blocks/FilterBlock/i18n/index.d.ts +1 -2
- package/build/cjs/blocks/FilterBlock/i18n/index.js +4 -3
- package/build/cjs/blocks/Map/schema.d.ts +0 -88
- package/build/cjs/blocks/Media/schema.d.ts +0 -176
- package/build/cjs/blocks/Security/i18n/index.d.ts +1 -2
- package/build/cjs/blocks/Security/i18n/index.js +4 -3
- package/build/cjs/blocks/Share/Share.css +2 -1
- package/build/cjs/blocks/Share/Share.js +4 -4
- package/build/cjs/blocks/Share/i18n/index.d.ts +1 -2
- package/build/cjs/blocks/Share/i18n/index.js +4 -3
- package/build/cjs/blocks/Slider/Arrow/Arrow.js +2 -2
- package/build/cjs/blocks/Slider/i18n/index.d.ts +1 -2
- package/build/cjs/blocks/Slider/i18n/index.js +4 -3
- package/build/cjs/components/BackLink/BackLink.js +2 -2
- package/build/cjs/components/Button/Button.css +1 -5
- package/build/cjs/components/Button/Button.js +4 -7
- package/build/cjs/components/Button/i18n/index.d.ts +1 -2
- package/build/cjs/components/Button/i18n/index.js +4 -3
- package/build/cjs/components/ButtonTabs/ButtonTabs.css +0 -4
- package/build/cjs/components/CardBase/CardBase.d.ts +1 -3
- package/build/cjs/components/CardBase/CardBase.js +1 -4
- package/build/cjs/components/Control/Control.js +2 -2
- package/build/cjs/components/Control/i18n/index.d.ts +1 -2
- package/build/cjs/components/Control/i18n/index.js +4 -3
- package/build/cjs/components/FileLink/FileLink.css +4 -5
- package/build/cjs/components/FullscreenImage/FullscreenImage.css +1 -0
- package/build/cjs/components/FullscreenImage/FullscreenImage.js +9 -10
- package/build/cjs/components/FullscreenImage/i18n/index.d.ts +1 -2
- package/build/cjs/components/FullscreenImage/i18n/index.js +4 -3
- package/build/cjs/components/FullscreenMedia/FullscreenMedia.css +1 -0
- package/build/cjs/components/FullscreenMedia/FullscreenMedia.js +14 -15
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +3 -6
- package/build/cjs/components/Link/Link.css +1 -2
- package/build/cjs/components/Link/Link.js +3 -6
- package/build/cjs/components/Map/GoogleMap.js +2 -2
- package/build/cjs/components/Map/YMap/YandexMap.js +2 -2
- package/build/cjs/components/Map/YMap/i18n/index.d.ts +1 -2
- package/build/cjs/components/Map/YMap/i18n/index.js +4 -3
- package/build/cjs/components/Media/DataLens/DataLens.js +2 -2
- package/build/cjs/components/Media/DataLens/i18n/index.d.ts +1 -2
- package/build/cjs/components/Media/DataLens/i18n/index.js +4 -3
- package/build/cjs/components/Media/Iframe/Iframe.js +2 -2
- package/build/cjs/components/Media/Iframe/i18n/index.d.ts +1 -2
- package/build/cjs/components/Media/Iframe/i18n/index.js +4 -3
- package/build/cjs/components/Media/Media.js +1 -3
- package/build/cjs/components/Media/Video/Video.js +2 -3
- package/build/cjs/components/OverflowScroller/OverflowScroller.js +2 -2
- package/build/cjs/components/OverflowScroller/i18n/index.d.ts +1 -2
- package/build/cjs/components/OverflowScroller/i18n/index.js +4 -3
- package/build/cjs/components/ReactPlayer/CustomBarControls.js +5 -7
- package/build/cjs/components/ReactPlayer/ReactPlayer.css +1 -1
- package/build/cjs/components/ReactPlayer/ReactPlayer.js +7 -31
- package/build/cjs/components/ReactPlayer/i18n/index.d.ts +1 -2
- package/build/cjs/components/ReactPlayer/i18n/index.js +4 -3
- package/build/cjs/components/Table/Table.css +6 -0
- package/build/cjs/components/Table/Table.js +2 -2
- package/build/cjs/components/UnpublishedLabel/UnpublishedLabel.js +2 -2
- package/build/cjs/components/UnpublishedLabel/i18n/index.d.ts +1 -2
- package/build/cjs/components/UnpublishedLabel/i18n/index.js +4 -3
- package/build/cjs/components/VideoBlock/VideoBlock.css +1 -1
- package/build/cjs/components/VideoBlock/VideoBlock.js +4 -4
- package/build/cjs/components/VideoBlock/i18n/index.d.ts +1 -2
- package/build/cjs/components/VideoBlock/i18n/index.js +4 -3
- package/build/cjs/components/YandexForm/YandexForm.js +2 -13
- package/build/cjs/containers/Loadable/Loadable.js +2 -2
- package/build/cjs/containers/Loadable/i18n/index.d.ts +1 -2
- package/build/cjs/containers/Loadable/i18n/index.js +4 -3
- package/build/cjs/containers/PageConstructor/PageConstructor.css +1 -1
- package/build/cjs/containers/PageConstructor/PageConstructor.d.ts +1 -1
- package/build/cjs/containers/PageConstructor/PageConstructor.js +1 -1
- package/build/cjs/containers/PageConstructor/Provider.d.ts +0 -2
- package/build/cjs/containers/PageConstructor/Provider.js +1 -3
- package/build/cjs/context/localeContext/localeContext.d.ts +2 -2
- package/build/cjs/context/localeContext/localeContext.js +2 -2
- package/build/cjs/editor/components/ControlPanel/ControlPanel.js +3 -3
- package/build/cjs/editor/components/ControlPanel/i18n/en.json +2 -1
- package/build/cjs/editor/components/ControlPanel/i18n/index.d.ts +1 -2
- package/build/cjs/editor/components/ControlPanel/i18n/index.js +4 -3
- package/build/cjs/editor/components/ControlPanel/i18n/ru.json +2 -1
- package/build/cjs/editor/components/ErrorBoundary/ErrorBoundary.js +3 -3
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.d.ts +1 -2
- package/build/cjs/editor/components/ErrorBoundary/i18n/index.js +4 -3
- package/build/cjs/editor/components/NotFoundBlock/NotFoundBlock.js +2 -2
- package/build/cjs/editor/components/NotFoundBlock/i18n/index.d.ts +1 -2
- package/build/cjs/editor/components/NotFoundBlock/i18n/index.js +4 -3
- package/build/cjs/editor/containers/Form/Form.css +1 -1
- package/build/cjs/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +1 -1
- package/build/cjs/hooks/useAnalytics.d.ts +2 -2
- package/build/cjs/hooks/useMetrika.d.ts +1 -13
- package/build/cjs/hooks/useMetrika.js +0 -41
- package/build/cjs/icons/index.d.ts +0 -9
- package/build/cjs/icons/index.js +0 -9
- package/build/cjs/index.d.ts +0 -1
- package/build/cjs/index.js +0 -1
- package/build/cjs/models/common.d.ts +2 -53
- package/build/cjs/models/common.js +1 -25
- package/build/cjs/models/constructor-items/common.d.ts +3 -28
- package/build/cjs/models/constructor-items/sub-blocks.d.ts +3 -3
- package/build/cjs/models/guards.d.ts +0 -2
- package/build/cjs/models/guards.js +1 -5
- package/build/cjs/navigation/components/MobileMenuButton/MobileMenuButton.js +3 -3
- package/build/cjs/schema/constants.d.ts +0 -176
- package/build/cjs/schema/constants.js +2 -0
- package/build/cjs/schema/validators/common.d.ts +0 -188
- package/build/cjs/schema/validators/common.js +0 -31
- package/build/cjs/schema/validators/index.d.ts +0 -2
- package/build/cjs/schema/validators/index.js +0 -2
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.css +6 -0
- package/build/cjs/sub-blocks/BackgroundCard/BackgroundCard.js +4 -10
- package/build/cjs/sub-blocks/BasicCard/BasicCard.css +7 -0
- package/build/cjs/sub-blocks/BasicCard/BasicCard.js +4 -10
- package/build/cjs/sub-blocks/Content/Content.css +6 -2
- package/build/cjs/sub-blocks/Content/Content.js +3 -10
- package/build/cjs/sub-blocks/HubspotForm/HubspotForm.css +0 -1
- package/build/cjs/sub-blocks/HubspotForm/index.js +1 -6
- package/build/cjs/sub-blocks/LayoutItem/LayoutItem.css +3 -0
- package/build/cjs/sub-blocks/LayoutItem/LayoutItem.js +2 -8
- package/build/cjs/sub-blocks/LayoutItem/utils.d.ts +1 -15
- package/build/cjs/sub-blocks/PriceCard/schema.d.ts +0 -88
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.d.ts +1 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.js +2 -0
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +1 -0
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +1 -0
- package/build/cjs/text-transform/common.d.ts +5 -5
- package/build/cjs/text-transform/common.js +1 -1
- package/build/cjs/text-transform/filter.js +1 -1
- package/build/cjs/text-transform/transformers.d.ts +3 -3
- package/build/cjs/text-transform/utils.d.ts +7 -7
- package/build/cjs/text-transform/utils.js +6 -6
- package/build/cjs/utils/index.d.ts +0 -1
- package/build/cjs/utils/index.js +1 -4
- package/build/esm/blocks/Banner/schema.d.ts +0 -264
- package/build/esm/blocks/FilterBlock/FilterBlock.js +1 -1
- package/build/esm/blocks/FilterBlock/i18n/index.d.ts +1 -2
- package/build/esm/blocks/FilterBlock/i18n/index.js +3 -3
- package/build/esm/blocks/Map/schema.d.ts +0 -88
- package/build/esm/blocks/Media/schema.d.ts +0 -176
- package/build/esm/blocks/Security/i18n/index.d.ts +1 -2
- package/build/esm/blocks/Security/i18n/index.js +3 -3
- package/build/esm/blocks/Share/Share.css +2 -1
- package/build/esm/blocks/Share/Share.js +1 -1
- package/build/esm/blocks/Share/i18n/index.d.ts +1 -2
- package/build/esm/blocks/Share/i18n/index.js +3 -3
- package/build/esm/blocks/Slider/Arrow/Arrow.js +1 -1
- package/build/esm/blocks/Slider/i18n/index.d.ts +1 -2
- package/build/esm/blocks/Slider/i18n/index.js +3 -3
- package/build/esm/components/BackLink/BackLink.js +2 -2
- package/build/esm/components/Button/Button.css +1 -5
- package/build/esm/components/Button/Button.js +3 -6
- package/build/esm/components/Button/i18n/index.d.ts +1 -2
- package/build/esm/components/Button/i18n/index.js +3 -3
- package/build/esm/components/ButtonTabs/ButtonTabs.css +0 -4
- package/build/esm/components/CardBase/CardBase.d.ts +1 -3
- package/build/esm/components/CardBase/CardBase.js +1 -4
- package/build/esm/components/Control/Control.js +1 -1
- package/build/esm/components/Control/i18n/index.d.ts +1 -2
- package/build/esm/components/Control/i18n/index.js +3 -3
- package/build/esm/components/FileLink/FileLink.css +4 -5
- package/build/esm/components/FullscreenImage/FullscreenImage.css +1 -0
- package/build/esm/components/FullscreenImage/FullscreenImage.js +8 -9
- package/build/esm/components/FullscreenImage/i18n/index.d.ts +1 -2
- package/build/esm/components/FullscreenImage/i18n/index.js +3 -3
- package/build/esm/components/FullscreenMedia/FullscreenMedia.css +1 -0
- package/build/esm/components/FullscreenMedia/FullscreenMedia.js +14 -15
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +3 -6
- package/build/esm/components/Link/Link.css +1 -2
- package/build/esm/components/Link/Link.js +3 -6
- package/build/esm/components/Map/GoogleMap.js +1 -1
- package/build/esm/components/Map/YMap/YandexMap.js +1 -1
- package/build/esm/components/Map/YMap/i18n/index.d.ts +1 -2
- package/build/esm/components/Map/YMap/i18n/index.js +3 -3
- package/build/esm/components/Media/DataLens/DataLens.js +1 -1
- package/build/esm/components/Media/DataLens/i18n/index.d.ts +1 -2
- package/build/esm/components/Media/DataLens/i18n/index.js +3 -3
- package/build/esm/components/Media/Iframe/Iframe.js +1 -1
- package/build/esm/components/Media/Iframe/i18n/index.d.ts +1 -2
- package/build/esm/components/Media/Iframe/i18n/index.js +3 -3
- package/build/esm/components/Media/Media.js +1 -3
- package/build/esm/components/Media/Video/Video.js +2 -3
- package/build/esm/components/OverflowScroller/OverflowScroller.js +1 -1
- package/build/esm/components/OverflowScroller/i18n/index.d.ts +1 -2
- package/build/esm/components/OverflowScroller/i18n/index.js +3 -3
- package/build/esm/components/ReactPlayer/CustomBarControls.js +4 -6
- package/build/esm/components/ReactPlayer/ReactPlayer.css +1 -1
- package/build/esm/components/ReactPlayer/ReactPlayer.js +6 -30
- package/build/esm/components/ReactPlayer/i18n/index.d.ts +1 -2
- package/build/esm/components/ReactPlayer/i18n/index.js +3 -3
- package/build/esm/components/Table/Table.css +6 -0
- package/build/esm/components/Table/Table.js +2 -2
- package/build/esm/components/UnpublishedLabel/UnpublishedLabel.js +1 -1
- package/build/esm/components/UnpublishedLabel/i18n/index.d.ts +1 -2
- package/build/esm/components/UnpublishedLabel/i18n/index.js +3 -3
- package/build/esm/components/VideoBlock/VideoBlock.css +1 -1
- package/build/esm/components/VideoBlock/VideoBlock.js +3 -3
- package/build/esm/components/VideoBlock/i18n/index.d.ts +1 -2
- package/build/esm/components/VideoBlock/i18n/index.js +3 -3
- package/build/esm/components/YandexForm/YandexForm.js +2 -13
- package/build/esm/containers/Loadable/Loadable.js +1 -1
- package/build/esm/containers/Loadable/i18n/index.d.ts +1 -2
- package/build/esm/containers/Loadable/i18n/index.js +3 -3
- package/build/esm/containers/PageConstructor/PageConstructor.css +1 -1
- package/build/esm/containers/PageConstructor/PageConstructor.d.ts +1 -1
- package/build/esm/containers/PageConstructor/PageConstructor.js +1 -1
- package/build/esm/containers/PageConstructor/Provider.d.ts +0 -2
- package/build/esm/containers/PageConstructor/Provider.js +1 -3
- package/build/esm/context/localeContext/localeContext.d.ts +2 -2
- package/build/esm/context/localeContext/localeContext.js +1 -1
- package/build/esm/editor/components/ControlPanel/ControlPanel.js +2 -2
- package/build/esm/editor/components/ControlPanel/i18n/en.json +2 -1
- package/build/esm/editor/components/ControlPanel/i18n/index.d.ts +1 -2
- package/build/esm/editor/components/ControlPanel/i18n/index.js +3 -3
- package/build/esm/editor/components/ControlPanel/i18n/ru.json +2 -1
- package/build/esm/editor/components/ErrorBoundary/ErrorBoundary.js +1 -1
- package/build/esm/editor/components/ErrorBoundary/i18n/index.d.ts +1 -2
- package/build/esm/editor/components/ErrorBoundary/i18n/index.js +3 -3
- package/build/esm/editor/components/NotFoundBlock/NotFoundBlock.js +1 -1
- package/build/esm/editor/components/NotFoundBlock/i18n/index.d.ts +1 -2
- package/build/esm/editor/components/NotFoundBlock/i18n/index.js +3 -3
- package/build/esm/editor/containers/Form/Form.css +1 -1
- package/build/esm/editor/dynamic-forms-custom/hooks/useOneOf.d.ts +1 -1
- package/build/esm/hooks/useAnalytics.d.ts +2 -2
- package/build/esm/hooks/useMetrika.d.ts +1 -13
- package/build/esm/hooks/useMetrika.js +1 -38
- package/build/esm/icons/index.d.ts +0 -9
- package/build/esm/icons/index.js +0 -9
- package/build/esm/index.d.ts +0 -1
- package/build/esm/index.js +0 -1
- package/build/esm/models/common.d.ts +2 -53
- package/build/esm/models/common.js +0 -24
- package/build/esm/models/constructor-items/common.d.ts +3 -28
- package/build/esm/models/constructor-items/sub-blocks.d.ts +3 -3
- package/build/esm/models/guards.d.ts +0 -2
- package/build/esm/models/guards.js +0 -3
- package/build/esm/navigation/components/MobileMenuButton/MobileMenuButton.js +3 -3
- package/build/esm/schema/constants.d.ts +0 -176
- package/build/esm/schema/constants.js +2 -0
- package/build/esm/schema/validators/common.d.ts +0 -188
- package/build/esm/schema/validators/common.js +0 -31
- package/build/esm/schema/validators/index.d.ts +0 -2
- package/build/esm/schema/validators/index.js +0 -2
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.css +6 -0
- package/build/esm/sub-blocks/BackgroundCard/BackgroundCard.js +5 -11
- package/build/esm/sub-blocks/BasicCard/BasicCard.css +7 -0
- package/build/esm/sub-blocks/BasicCard/BasicCard.js +5 -11
- package/build/esm/sub-blocks/Content/Content.css +6 -2
- package/build/esm/sub-blocks/Content/Content.js +4 -11
- package/build/esm/sub-blocks/HubspotForm/HubspotForm.css +0 -1
- package/build/esm/sub-blocks/HubspotForm/index.js +1 -6
- package/build/esm/sub-blocks/LayoutItem/LayoutItem.css +3 -0
- package/build/esm/sub-blocks/LayoutItem/LayoutItem.js +3 -9
- package/build/esm/sub-blocks/LayoutItem/utils.d.ts +1 -15
- package/build/esm/sub-blocks/PriceCard/schema.d.ts +0 -88
- package/build/esm/sub-blocks/PriceDetailed/PriceDetailed.d.ts +1 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetailed.js +2 -0
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +1 -0
- package/build/esm/sub-blocks/PriceDetailed/schema.js +1 -0
- package/build/esm/text-transform/common.d.ts +5 -5
- package/build/esm/text-transform/common.js +1 -1
- package/build/esm/text-transform/filter.js +1 -1
- package/build/esm/text-transform/transformers.d.ts +3 -3
- package/build/esm/text-transform/utils.d.ts +7 -7
- package/build/esm/text-transform/utils.js +2 -2
- package/build/esm/utils/index.d.ts +0 -1
- package/build/esm/utils/index.js +0 -1
- package/package.json +16 -15
- package/server/models/common.d.ts +2 -53
- package/server/models/common.js +1 -25
- package/server/models/constructor-items/common.d.ts +3 -28
- package/server/models/constructor-items/sub-blocks.d.ts +3 -3
- package/server/models/guards.d.ts +0 -2
- package/server/models/guards.js +1 -5
- package/server/text-transform/common.d.ts +5 -5
- package/server/text-transform/common.js +1 -1
- package/server/text-transform/filter.js +1 -1
- package/server/text-transform/transformers.d.ts +3 -3
- package/server/text-transform/utils.d.ts +7 -7
- package/server/text-transform/utils.js +6 -6
- package/server/utils/index.d.ts +0 -1
- package/server/utils/index.js +1 -4
- package/styles/mixins.scss +0 -4
- package/styles/storybook/index.scss +1 -1
- package/styles/styles.css +1 -1
- package/styles/yfm.scss +1 -1
- package/widget/index.js +1 -1
- package/build/cjs/context/metrikaContext/index.d.ts +0 -1
- package/build/cjs/context/metrikaContext/index.js +0 -4
- package/build/cjs/context/metrikaContext/metrikaContext.d.ts +0 -13
- package/build/cjs/context/metrikaContext/metrikaContext.js +0 -6
- package/build/cjs/i18n.d.ts +0 -2
- package/build/cjs/i18n.js +0 -12
- package/build/cjs/icons/ArrowConstructor.d.ts +0 -2
- package/build/cjs/icons/ArrowConstructor.js +0 -9
- package/build/cjs/icons/ArrowSidebar.d.ts +0 -2
- package/build/cjs/icons/ArrowSidebar.js +0 -9
- package/build/cjs/icons/Fullscreen.d.ts +0 -2
- package/build/cjs/icons/Fullscreen.js +0 -9
- package/build/cjs/icons/Minus.d.ts +0 -2
- package/build/cjs/icons/Minus.js +0 -9
- package/build/cjs/icons/Mute.d.ts +0 -2
- package/build/cjs/icons/Mute.js +0 -12
- package/build/cjs/icons/NavigationClose.d.ts +0 -2
- package/build/cjs/icons/NavigationClose.js +0 -9
- package/build/cjs/icons/NavigationOpen.d.ts +0 -2
- package/build/cjs/icons/NavigationOpen.js +0 -11
- package/build/cjs/icons/PlayVideo.d.ts +0 -2
- package/build/cjs/icons/PlayVideo.js +0 -9
- package/build/cjs/icons/PreviewClose.d.ts +0 -2
- package/build/cjs/icons/PreviewClose.js +0 -9
- package/build/cjs/icons/Tick.d.ts +0 -2
- package/build/cjs/icons/Tick.js +0 -13
- package/build/cjs/icons/Unmute.d.ts +0 -2
- package/build/cjs/icons/Unmute.js +0 -12
- package/build/cjs/schema/validators/pixel.d.ts +0 -57
- package/build/cjs/schema/validators/pixel.js +0 -63
- package/build/cjs/sub-blocks/renderCardFooterControlsContainer/CardFooterControlsContainer.css +0 -3
- package/build/cjs/sub-blocks/renderCardFooterControlsContainer/renderCardFooterControlsContainer.d.ts +0 -3
- package/build/cjs/sub-blocks/renderCardFooterControlsContainer/renderCardFooterControlsContainer.js +0 -9
- package/build/cjs/utils/configure.d.ts +0 -12
- package/build/cjs/utils/configure.js +0 -26
- package/build/cjs/utils/registerKeyset.d.ts +0 -5
- package/build/cjs/utils/registerKeyset.js +0 -9
- package/build/cjs/utils/renderContentControls/ContentControls.css +0 -6
- package/build/cjs/utils/renderContentControls/renderContentControls.d.ts +0 -11
- package/build/cjs/utils/renderContentControls/renderContentControls.js +0 -16
- package/build/esm/context/metrikaContext/index.d.ts +0 -1
- package/build/esm/context/metrikaContext/index.js +0 -1
- package/build/esm/context/metrikaContext/metrikaContext.d.ts +0 -13
- package/build/esm/context/metrikaContext/metrikaContext.js +0 -2
- package/build/esm/i18n.d.ts +0 -2
- package/build/esm/i18n.js +0 -9
- package/build/esm/icons/ArrowConstructor.d.ts +0 -2
- package/build/esm/icons/ArrowConstructor.js +0 -4
- package/build/esm/icons/ArrowSidebar.d.ts +0 -2
- package/build/esm/icons/ArrowSidebar.js +0 -4
- package/build/esm/icons/Fullscreen.d.ts +0 -2
- package/build/esm/icons/Fullscreen.js +0 -4
- package/build/esm/icons/Minus.d.ts +0 -2
- package/build/esm/icons/Minus.js +0 -4
- package/build/esm/icons/Mute.d.ts +0 -2
- package/build/esm/icons/Mute.js +0 -7
- package/build/esm/icons/NavigationClose.d.ts +0 -2
- package/build/esm/icons/NavigationClose.js +0 -4
- package/build/esm/icons/NavigationOpen.d.ts +0 -2
- package/build/esm/icons/NavigationOpen.js +0 -6
- package/build/esm/icons/PlayVideo.d.ts +0 -2
- package/build/esm/icons/PlayVideo.js +0 -4
- package/build/esm/icons/PreviewClose.d.ts +0 -2
- package/build/esm/icons/PreviewClose.js +0 -4
- package/build/esm/icons/Tick.d.ts +0 -2
- package/build/esm/icons/Tick.js +0 -8
- package/build/esm/icons/Unmute.d.ts +0 -2
- package/build/esm/icons/Unmute.js +0 -7
- package/build/esm/schema/validators/pixel.d.ts +0 -57
- package/build/esm/schema/validators/pixel.js +0 -60
- package/build/esm/sub-blocks/renderCardFooterControlsContainer/CardFooterControlsContainer.css +0 -3
- package/build/esm/sub-blocks/renderCardFooterControlsContainer/renderCardFooterControlsContainer.d.ts +0 -3
- package/build/esm/sub-blocks/renderCardFooterControlsContainer/renderCardFooterControlsContainer.js +0 -6
- package/build/esm/utils/configure.d.ts +0 -12
- package/build/esm/utils/configure.js +0 -20
- package/build/esm/utils/registerKeyset.d.ts +0 -5
- package/build/esm/utils/registerKeyset.js +0 -5
- package/build/esm/utils/renderContentControls/ContentControls.css +0 -6
- package/build/esm/utils/renderContentControls/renderContentControls.d.ts +0 -12
- package/build/esm/utils/renderContentControls/renderContentControls.js +0 -14
- package/server/utils/configure.d.ts +0 -12
- package/server/utils/configure.js +0 -26
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { MetrikaGoal } from './';
|
|
3
2
|
export interface Refable<T> {
|
|
4
3
|
ref?: React.Ref<T>;
|
|
5
4
|
}
|
|
@@ -8,59 +7,9 @@ export declare enum Theme {
|
|
|
8
7
|
Dark = "dark"
|
|
9
8
|
}
|
|
10
9
|
export declare const themeNames: Record<Theme, string>;
|
|
11
|
-
/**
|
|
12
|
-
* @deprecated Pixel will be deleted
|
|
13
|
-
*/
|
|
14
|
-
type PixelCommand = 'track' | 'trackCustom';
|
|
15
|
-
/**
|
|
16
|
-
* @deprecated Pixel will be deleted
|
|
17
|
-
*/
|
|
18
|
-
export interface PixelEvent {
|
|
19
|
-
command: PixelCommand;
|
|
20
|
-
event: PixelEventType | string;
|
|
21
|
-
data?: Object;
|
|
22
|
-
}
|
|
23
|
-
/**
|
|
24
|
-
* @deprecated Pixel will be deleted from package
|
|
25
|
-
*/
|
|
26
|
-
export declare enum PixelEventType {
|
|
27
|
-
AddPaymentInfo = "AddPaymentInfo",
|
|
28
|
-
AddToCart = "AddToCart",
|
|
29
|
-
AddToWishlist = "AddToWishlist",
|
|
30
|
-
CompleteRegistration = "CompleteRegistration",
|
|
31
|
-
Contact = "Contact",
|
|
32
|
-
CustomizeProduct = "CustomizeProduct",
|
|
33
|
-
Donate = "Donate",
|
|
34
|
-
FindLocation = "FindLocation",
|
|
35
|
-
InitiateCheckout = "InitiateCheckout",
|
|
36
|
-
Lead = "Lead",
|
|
37
|
-
PageView = "PageView",
|
|
38
|
-
Purchase = "Purchase",
|
|
39
|
-
Schedule = "Schedule",
|
|
40
|
-
Search = "Search",
|
|
41
|
-
StartTrial = "StartTrial",
|
|
42
|
-
SubmitApplication = "SubmitApplication",
|
|
43
|
-
Subscribe = "Subscribe",
|
|
44
|
-
ViewContent = "ViewContent"
|
|
45
|
-
}
|
|
46
10
|
export type Modifiers = {
|
|
47
11
|
[name: string]: string | boolean | undefined;
|
|
48
12
|
};
|
|
49
|
-
/**
|
|
50
|
-
* @deprecated Pixel will be deleted
|
|
51
|
-
*/
|
|
52
|
-
export interface Pixel<TEvent = string> {
|
|
53
|
-
trackStandard: (event: TEvent, data?: Object) => void;
|
|
54
|
-
trackCustom: (event: string, data?: Object) => void;
|
|
55
|
-
track: (trackEvents: string | string[] | PixelEvent[] | PixelEvent) => void;
|
|
56
|
-
}
|
|
57
|
-
/**
|
|
58
|
-
* @deprecated Metrika will be deleted
|
|
59
|
-
*/
|
|
60
|
-
export interface Metrika {
|
|
61
|
-
reachGoal: (counterName: string, ...args: any) => void;
|
|
62
|
-
reachGoals: (goals: MetrikaGoal, counterName?: string) => void;
|
|
63
|
-
}
|
|
64
13
|
export interface ClassNameProps {
|
|
65
14
|
className?: string;
|
|
66
15
|
}
|
|
@@ -97,7 +46,7 @@ export type AnalyticsEvent<T = {}> = T & {
|
|
|
97
46
|
context?: string;
|
|
98
47
|
target?: string;
|
|
99
48
|
};
|
|
49
|
+
export type AnalyticsEventsProp = AnalyticsEvent | AnalyticsEvent[];
|
|
100
50
|
export interface AnalyticsEventsBase {
|
|
101
|
-
analyticsEvents?:
|
|
51
|
+
analyticsEvents?: AnalyticsEventsProp;
|
|
102
52
|
}
|
|
103
|
-
export {};
|
|
@@ -7,30 +7,6 @@ export const themeNames = {
|
|
|
7
7
|
[Theme.Light]: 'Light',
|
|
8
8
|
[Theme.Dark]: 'Dark',
|
|
9
9
|
};
|
|
10
|
-
/**
|
|
11
|
-
* @deprecated Pixel will be deleted from package
|
|
12
|
-
*/
|
|
13
|
-
export var PixelEventType;
|
|
14
|
-
(function (PixelEventType) {
|
|
15
|
-
PixelEventType["AddPaymentInfo"] = "AddPaymentInfo";
|
|
16
|
-
PixelEventType["AddToCart"] = "AddToCart";
|
|
17
|
-
PixelEventType["AddToWishlist"] = "AddToWishlist";
|
|
18
|
-
PixelEventType["CompleteRegistration"] = "CompleteRegistration";
|
|
19
|
-
PixelEventType["Contact"] = "Contact";
|
|
20
|
-
PixelEventType["CustomizeProduct"] = "CustomizeProduct";
|
|
21
|
-
PixelEventType["Donate"] = "Donate";
|
|
22
|
-
PixelEventType["FindLocation"] = "FindLocation";
|
|
23
|
-
PixelEventType["InitiateCheckout"] = "InitiateCheckout";
|
|
24
|
-
PixelEventType["Lead"] = "Lead";
|
|
25
|
-
PixelEventType["PageView"] = "PageView";
|
|
26
|
-
PixelEventType["Purchase"] = "Purchase";
|
|
27
|
-
PixelEventType["Schedule"] = "Schedule";
|
|
28
|
-
PixelEventType["Search"] = "Search";
|
|
29
|
-
PixelEventType["StartTrial"] = "StartTrial";
|
|
30
|
-
PixelEventType["SubmitApplication"] = "SubmitApplication";
|
|
31
|
-
PixelEventType["Subscribe"] = "Subscribe";
|
|
32
|
-
PixelEventType["ViewContent"] = "ViewContent";
|
|
33
|
-
})(PixelEventType || (PixelEventType = {}));
|
|
34
10
|
export var PredefinedEventTypes;
|
|
35
11
|
(function (PredefinedEventTypes) {
|
|
36
12
|
PredefinedEventTypes["Default"] = "default-event";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { CSSProperties, HTMLProps, ReactNode } from 'react';
|
|
2
2
|
import { ButtonView, ButtonProps as UikitButtonProps } from '@gravity-ui/uikit';
|
|
3
3
|
import { ThemeSupporting } from '../../utils';
|
|
4
|
-
import { AnalyticsEventsBase,
|
|
4
|
+
import { AnalyticsEventsBase, AnalyticsEventsProp, ClassNameProps, QAProps } from '../common';
|
|
5
5
|
export declare enum AuthorType {
|
|
6
6
|
Column = "column",
|
|
7
7
|
Line = "line"
|
|
@@ -125,7 +125,6 @@ export interface MediaVideoProps extends AnalyticsEventsBase {
|
|
|
125
125
|
playButton?: PlayButtonProps;
|
|
126
126
|
controls?: MediaVideoControlsType;
|
|
127
127
|
customControlsOptions?: CustomControlsOptions;
|
|
128
|
-
metrika?: MetrikaVideo;
|
|
129
128
|
ariaLabel?: string;
|
|
130
129
|
}
|
|
131
130
|
export interface LinkProps extends AnalyticsEventsBase, Stylable, Tabbable {
|
|
@@ -137,8 +136,6 @@ export interface LinkProps extends AnalyticsEventsBase, Stylable, Tabbable {
|
|
|
137
136
|
colorTheme?: TextTheme;
|
|
138
137
|
arrow?: boolean;
|
|
139
138
|
target?: string;
|
|
140
|
-
metrikaGoals?: MetrikaGoal;
|
|
141
|
-
pixelEvents?: ButtonPixel;
|
|
142
139
|
extraProps?: HTMLProps<HTMLAnchorElement>;
|
|
143
140
|
}
|
|
144
141
|
export interface FileLinkProps extends ClassNameProps, Tabbable {
|
|
@@ -159,8 +156,6 @@ export interface ButtonProps extends AnalyticsEventsBase, Pick<UikitButtonProps,
|
|
|
159
156
|
primary?: boolean;
|
|
160
157
|
theme?: ButtonTheme;
|
|
161
158
|
img?: ButtonImageProps | string;
|
|
162
|
-
metrikaGoals?: MetrikaGoal;
|
|
163
|
-
pixelEvents?: ButtonPixel;
|
|
164
159
|
target?: string;
|
|
165
160
|
}
|
|
166
161
|
export type ButtonImagePosition = 'left' | 'right';
|
|
@@ -184,7 +179,6 @@ export interface MediaComponentVideoProps extends AnalyticsEventsBase {
|
|
|
184
179
|
video: MediaVideoProps;
|
|
185
180
|
height?: number;
|
|
186
181
|
ratio?: number;
|
|
187
|
-
metrika?: MetrikaVideo;
|
|
188
182
|
previewImg?: string;
|
|
189
183
|
}
|
|
190
184
|
export interface MediaComponentYoutubeProps {
|
|
@@ -238,23 +232,6 @@ export interface YMapMarkerLabel {
|
|
|
238
232
|
}
|
|
239
233
|
export type MapProps = GMapProps | YMapProps;
|
|
240
234
|
export type ThemedMediaProps = ThemeSupporting<MediaProps>;
|
|
241
|
-
export interface NewMetrikaGoal {
|
|
242
|
-
name: string;
|
|
243
|
-
isCrossSite?: boolean;
|
|
244
|
-
counterName?: string;
|
|
245
|
-
params?: Record<string, string>;
|
|
246
|
-
}
|
|
247
|
-
export type MetrikaGoal = string | string[] | NewMetrikaGoal[];
|
|
248
|
-
export interface MetrikaVideo {
|
|
249
|
-
counterName?: string;
|
|
250
|
-
play?: MetrikaGoal;
|
|
251
|
-
stop?: MetrikaGoal;
|
|
252
|
-
}
|
|
253
|
-
export interface ButtonPixelEvent {
|
|
254
|
-
name: PixelEventType;
|
|
255
|
-
data?: Object;
|
|
256
|
-
}
|
|
257
|
-
export type ButtonPixel = ButtonPixelEvent[];
|
|
258
235
|
export interface DataLensObjectProps {
|
|
259
236
|
id: string;
|
|
260
237
|
theme: 'dark' | 'light';
|
|
@@ -279,8 +256,7 @@ export interface HeaderBreadCrumbsProps extends ClassNameProps {
|
|
|
279
256
|
text: ReactNode;
|
|
280
257
|
}[];
|
|
281
258
|
theme?: TextTheme;
|
|
282
|
-
|
|
283
|
-
pixelEvents?: ButtonPixel;
|
|
259
|
+
analyticsEvents?: AnalyticsEventsProp;
|
|
284
260
|
}
|
|
285
261
|
export interface TitleItemProps extends Justifyable, TitleItemBaseProps {
|
|
286
262
|
navTitle?: string;
|
|
@@ -331,6 +307,7 @@ export interface PriceFoldableDetailsProps {
|
|
|
331
307
|
size?: TextSize;
|
|
332
308
|
titleColor?: PriceDescriptionColor;
|
|
333
309
|
}
|
|
310
|
+
/** @deprecated */
|
|
334
311
|
export interface PriceDetailedProps extends CardBaseProps {
|
|
335
312
|
items: PriceItemProps[];
|
|
336
313
|
description?: {
|
|
@@ -373,8 +350,6 @@ export interface YandexFormProps extends AnalyticsEventsBase {
|
|
|
373
350
|
};
|
|
374
351
|
onSubmit?: () => void;
|
|
375
352
|
onLoad?: () => void;
|
|
376
|
-
metrikaGoals?: string | string[];
|
|
377
|
-
pixelEvents?: string | string[] | PixelEvent | PixelEvent[];
|
|
378
353
|
}
|
|
379
354
|
export interface WithBorder {
|
|
380
355
|
border?: MediaBorder;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { ClassNameProps, QuoteType } from '../../models';
|
|
2
2
|
import { ThemeSupporting } from '../../utils';
|
|
3
3
|
import { HubspotEventData, HubspotEventHandlers } from '../../utils/hubspot';
|
|
4
|
-
import { AnalyticsEventsBase
|
|
4
|
+
import { AnalyticsEventsBase } from '../common';
|
|
5
5
|
import { ContentBlockProps } from './blocks';
|
|
6
|
-
import { AuthorItem,
|
|
6
|
+
import { AuthorItem, ButtonProps, CardBaseProps, CardLayoutProps, ContentTheme, DividerSize, ImageCardMargins, ImageObjectProps, ImageProps, LinkProps, MediaProps, MediaView, PriceDetailedProps, TextTheme, Themable, ThemedImage } from './common';
|
|
7
7
|
export declare enum SubBlockType {
|
|
8
8
|
Divider = "divider",
|
|
9
9
|
Quote = "quote",
|
|
@@ -70,7 +70,6 @@ export interface HubspotFormProps extends HubspotEventHandlers, AnalyticsEventsB
|
|
|
70
70
|
* To use this handler for component that is rendered in iframe, set up useLoopBackHubspotEvents hook on top level frame
|
|
71
71
|
*/
|
|
72
72
|
onLoad?: (arg: HubspotEventData) => void;
|
|
73
|
-
pixelEvents?: string | string[] | PixelEvent | PixelEvent[] | ButtonPixel;
|
|
74
73
|
hubspotEvents?: string[];
|
|
75
74
|
createDOMElement?: boolean;
|
|
76
75
|
}
|
|
@@ -161,6 +160,7 @@ export type LayoutItemModel = {
|
|
|
161
160
|
export type BackgroundCardModel = {
|
|
162
161
|
type: SubBlockType.BackgroundCard;
|
|
163
162
|
} & BackgroundCardProps;
|
|
163
|
+
/** @deprecated */
|
|
164
164
|
export type PriceDetailedModel = {
|
|
165
165
|
type: SubBlockType.PriceDetailed;
|
|
166
166
|
} & PriceDetailedProps;
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { Block, ConstructorItem, FormBlockData, FormBlockHubspotData, FormBlockYandexData } from './';
|
|
2
|
-
import { MetrikaGoal, NewMetrikaGoal } from './index';
|
|
3
2
|
export declare function isBlock(block: ConstructorItem): block is Block;
|
|
4
|
-
export declare function isNewMetrikaFormat(metrika: MetrikaGoal): metrika is NewMetrikaGoal[];
|
|
5
3
|
export declare function isYandexDataForm(data: FormBlockData): data is FormBlockYandexData;
|
|
6
4
|
export declare function isHubspotDataForm(data: FormBlockData): data is FormBlockHubspotData;
|
|
@@ -2,9 +2,6 @@ import { BlockTypes, } from './';
|
|
|
2
2
|
export function isBlock(block) {
|
|
3
3
|
return block.type in BlockTypes;
|
|
4
4
|
}
|
|
5
|
-
export function isNewMetrikaFormat(metrika) {
|
|
6
|
-
return Boolean(Array.isArray(metrika) && metrika.length && typeof metrika[0] === 'object');
|
|
7
|
-
}
|
|
8
5
|
export function isYandexDataForm(data) {
|
|
9
6
|
return Boolean(data.yandex);
|
|
10
7
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
|
+
import { Bars, Xmark } from '@gravity-ui/icons';
|
|
2
3
|
import { Control } from '../../../components';
|
|
3
|
-
import { NavigationClose, NavigationOpen } from '../../../icons';
|
|
4
4
|
import { block } from '../../../utils';
|
|
5
5
|
import './MobileMenuButton.css';
|
|
6
6
|
const b = block('mobile-menu-button');
|
|
7
|
-
const ICON_SIZE =
|
|
7
|
+
const ICON_SIZE = 24;
|
|
8
8
|
export const MobileMenuButton = ({ isSidebarOpened, onSidebarOpenedChange, }) => (React.createElement(Control, { className: b(), onClick: (e) => {
|
|
9
9
|
e.stopPropagation();
|
|
10
10
|
e.nativeEvent.stopImmediatePropagation();
|
|
11
11
|
onSidebarOpenedChange(!isSidebarOpened);
|
|
12
|
-
}, size: "l", icon: isSidebarOpened ?
|
|
12
|
+
}, size: "l", icon: isSidebarOpened ? Xmark : Bars, iconSize: ICON_SIZE }));
|
|
@@ -154,94 +154,6 @@ export declare const cardSchemas: {
|
|
|
154
154
|
optionName: string;
|
|
155
155
|
})[];
|
|
156
156
|
};
|
|
157
|
-
metrikaGoals: {
|
|
158
|
-
oneOf: ({
|
|
159
|
-
type: string;
|
|
160
|
-
optionName: string;
|
|
161
|
-
items?: undefined;
|
|
162
|
-
} | {
|
|
163
|
-
type: string;
|
|
164
|
-
items: {
|
|
165
|
-
type: string;
|
|
166
|
-
additionalProperties?: undefined;
|
|
167
|
-
required?: undefined;
|
|
168
|
-
properties?: undefined;
|
|
169
|
-
};
|
|
170
|
-
optionName: string;
|
|
171
|
-
} | {
|
|
172
|
-
type: string;
|
|
173
|
-
items: {
|
|
174
|
-
type: string;
|
|
175
|
-
additionalProperties: boolean;
|
|
176
|
-
required: string[];
|
|
177
|
-
properties: {
|
|
178
|
-
name: {
|
|
179
|
-
type: string;
|
|
180
|
-
};
|
|
181
|
-
isCrossSite: {
|
|
182
|
-
type: string;
|
|
183
|
-
};
|
|
184
|
-
};
|
|
185
|
-
};
|
|
186
|
-
optionName: string;
|
|
187
|
-
})[];
|
|
188
|
-
};
|
|
189
|
-
pixelEvents: {
|
|
190
|
-
type: string;
|
|
191
|
-
items: {
|
|
192
|
-
type: string;
|
|
193
|
-
required: string[];
|
|
194
|
-
additionalProperties: boolean;
|
|
195
|
-
properties: {
|
|
196
|
-
name: {
|
|
197
|
-
type: string;
|
|
198
|
-
enum: import("../models").PixelEventType[];
|
|
199
|
-
};
|
|
200
|
-
data: {};
|
|
201
|
-
};
|
|
202
|
-
select: {
|
|
203
|
-
$data: string;
|
|
204
|
-
};
|
|
205
|
-
selectCases: {
|
|
206
|
-
SubmitApplication: {
|
|
207
|
-
additionalProperties: boolean;
|
|
208
|
-
properties: {
|
|
209
|
-
name: {};
|
|
210
|
-
};
|
|
211
|
-
};
|
|
212
|
-
Contact: {
|
|
213
|
-
additionalProperties: boolean;
|
|
214
|
-
properties: {
|
|
215
|
-
name: {};
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
Lead: {
|
|
219
|
-
additionalProperties: boolean;
|
|
220
|
-
properties: {
|
|
221
|
-
name: {};
|
|
222
|
-
data: {
|
|
223
|
-
type: string;
|
|
224
|
-
additionalProperties: boolean;
|
|
225
|
-
properties: {
|
|
226
|
-
content_category: {
|
|
227
|
-
type: string;
|
|
228
|
-
};
|
|
229
|
-
content_name: {
|
|
230
|
-
type: string;
|
|
231
|
-
};
|
|
232
|
-
currency: {
|
|
233
|
-
type: string;
|
|
234
|
-
};
|
|
235
|
-
value: {
|
|
236
|
-
type: string;
|
|
237
|
-
};
|
|
238
|
-
};
|
|
239
|
-
};
|
|
240
|
-
};
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
157
|
analyticsEvents: {
|
|
246
158
|
oneOf: ({
|
|
247
159
|
optionName: string;
|
|
@@ -1154,94 +1066,6 @@ export declare const cardSchemas: {
|
|
|
1154
1066
|
optionName: string;
|
|
1155
1067
|
})[];
|
|
1156
1068
|
};
|
|
1157
|
-
metrikaGoals: {
|
|
1158
|
-
oneOf: ({
|
|
1159
|
-
type: string;
|
|
1160
|
-
optionName: string;
|
|
1161
|
-
items?: undefined;
|
|
1162
|
-
} | {
|
|
1163
|
-
type: string;
|
|
1164
|
-
items: {
|
|
1165
|
-
type: string;
|
|
1166
|
-
additionalProperties?: undefined;
|
|
1167
|
-
required?: undefined;
|
|
1168
|
-
properties?: undefined;
|
|
1169
|
-
};
|
|
1170
|
-
optionName: string;
|
|
1171
|
-
} | {
|
|
1172
|
-
type: string;
|
|
1173
|
-
items: {
|
|
1174
|
-
type: string;
|
|
1175
|
-
additionalProperties: boolean;
|
|
1176
|
-
required: string[];
|
|
1177
|
-
properties: {
|
|
1178
|
-
name: {
|
|
1179
|
-
type: string;
|
|
1180
|
-
};
|
|
1181
|
-
isCrossSite: {
|
|
1182
|
-
type: string;
|
|
1183
|
-
};
|
|
1184
|
-
};
|
|
1185
|
-
};
|
|
1186
|
-
optionName: string;
|
|
1187
|
-
})[];
|
|
1188
|
-
};
|
|
1189
|
-
pixelEvents: {
|
|
1190
|
-
type: string;
|
|
1191
|
-
items: {
|
|
1192
|
-
type: string;
|
|
1193
|
-
required: string[];
|
|
1194
|
-
additionalProperties: boolean;
|
|
1195
|
-
properties: {
|
|
1196
|
-
name: {
|
|
1197
|
-
type: string;
|
|
1198
|
-
enum: import("../models").PixelEventType[];
|
|
1199
|
-
};
|
|
1200
|
-
data: {};
|
|
1201
|
-
};
|
|
1202
|
-
select: {
|
|
1203
|
-
$data: string;
|
|
1204
|
-
};
|
|
1205
|
-
selectCases: {
|
|
1206
|
-
SubmitApplication: {
|
|
1207
|
-
additionalProperties: boolean;
|
|
1208
|
-
properties: {
|
|
1209
|
-
name: {};
|
|
1210
|
-
};
|
|
1211
|
-
};
|
|
1212
|
-
Contact: {
|
|
1213
|
-
additionalProperties: boolean;
|
|
1214
|
-
properties: {
|
|
1215
|
-
name: {};
|
|
1216
|
-
};
|
|
1217
|
-
};
|
|
1218
|
-
Lead: {
|
|
1219
|
-
additionalProperties: boolean;
|
|
1220
|
-
properties: {
|
|
1221
|
-
name: {};
|
|
1222
|
-
data: {
|
|
1223
|
-
type: string;
|
|
1224
|
-
additionalProperties: boolean;
|
|
1225
|
-
properties: {
|
|
1226
|
-
content_category: {
|
|
1227
|
-
type: string;
|
|
1228
|
-
};
|
|
1229
|
-
content_name: {
|
|
1230
|
-
type: string;
|
|
1231
|
-
};
|
|
1232
|
-
currency: {
|
|
1233
|
-
type: string;
|
|
1234
|
-
};
|
|
1235
|
-
value: {
|
|
1236
|
-
type: string;
|
|
1237
|
-
};
|
|
1238
|
-
};
|
|
1239
|
-
};
|
|
1240
|
-
};
|
|
1241
|
-
};
|
|
1242
|
-
};
|
|
1243
|
-
};
|
|
1244
|
-
};
|
|
1245
1069
|
analyticsEvents: {
|
|
1246
1070
|
oneOf: ({
|
|
1247
1071
|
optionName: string;
|
|
@@ -19,6 +19,7 @@ export const constructorBlockSchemaNames = [
|
|
|
19
19
|
'info-block',
|
|
20
20
|
'table-block',
|
|
21
21
|
'tabs-block',
|
|
22
|
+
/** @deprecated */
|
|
22
23
|
'price-detailed',
|
|
23
24
|
'header-slider-block',
|
|
24
25
|
'cards-with-image-block',
|
|
@@ -32,6 +33,7 @@ export const constructorBlockSchemaNames = [
|
|
|
32
33
|
export const constructorCardSchemaNames = [
|
|
33
34
|
'media-card',
|
|
34
35
|
'banner-card',
|
|
36
|
+
/** @deprecated */
|
|
35
37
|
'price-detailed',
|
|
36
38
|
'background-card',
|
|
37
39
|
'quote',
|
|
@@ -590,100 +590,6 @@ export declare const ButtonProps: {
|
|
|
590
590
|
optionName: string;
|
|
591
591
|
})[];
|
|
592
592
|
};
|
|
593
|
-
/**
|
|
594
|
-
* @deprecated Metrika will be deleted
|
|
595
|
-
*/
|
|
596
|
-
metrikaGoals: {
|
|
597
|
-
oneOf: ({
|
|
598
|
-
type: string;
|
|
599
|
-
optionName: string;
|
|
600
|
-
items?: undefined;
|
|
601
|
-
} | {
|
|
602
|
-
type: string;
|
|
603
|
-
items: {
|
|
604
|
-
type: string;
|
|
605
|
-
additionalProperties?: undefined;
|
|
606
|
-
required?: undefined;
|
|
607
|
-
properties?: undefined;
|
|
608
|
-
};
|
|
609
|
-
optionName: string;
|
|
610
|
-
} | {
|
|
611
|
-
type: string;
|
|
612
|
-
items: {
|
|
613
|
-
type: string;
|
|
614
|
-
additionalProperties: boolean;
|
|
615
|
-
required: string[];
|
|
616
|
-
properties: {
|
|
617
|
-
name: {
|
|
618
|
-
type: string;
|
|
619
|
-
};
|
|
620
|
-
isCrossSite: {
|
|
621
|
-
type: string;
|
|
622
|
-
};
|
|
623
|
-
};
|
|
624
|
-
};
|
|
625
|
-
optionName: string;
|
|
626
|
-
})[];
|
|
627
|
-
};
|
|
628
|
-
/**
|
|
629
|
-
* @deprecated Pixel will be deleted
|
|
630
|
-
*/
|
|
631
|
-
pixelEvents: {
|
|
632
|
-
type: string;
|
|
633
|
-
items: {
|
|
634
|
-
type: string;
|
|
635
|
-
required: string[];
|
|
636
|
-
additionalProperties: boolean;
|
|
637
|
-
properties: {
|
|
638
|
-
name: {
|
|
639
|
-
type: string;
|
|
640
|
-
enum: import("../../models").PixelEventType[];
|
|
641
|
-
};
|
|
642
|
-
data: {};
|
|
643
|
-
};
|
|
644
|
-
select: {
|
|
645
|
-
$data: string;
|
|
646
|
-
};
|
|
647
|
-
selectCases: {
|
|
648
|
-
SubmitApplication: {
|
|
649
|
-
additionalProperties: boolean;
|
|
650
|
-
properties: {
|
|
651
|
-
name: {};
|
|
652
|
-
};
|
|
653
|
-
};
|
|
654
|
-
Contact: {
|
|
655
|
-
additionalProperties: boolean;
|
|
656
|
-
properties: {
|
|
657
|
-
name: {};
|
|
658
|
-
};
|
|
659
|
-
};
|
|
660
|
-
Lead: {
|
|
661
|
-
additionalProperties: boolean;
|
|
662
|
-
properties: {
|
|
663
|
-
name: {};
|
|
664
|
-
data: {
|
|
665
|
-
type: string;
|
|
666
|
-
additionalProperties: boolean;
|
|
667
|
-
properties: {
|
|
668
|
-
content_category: {
|
|
669
|
-
type: string;
|
|
670
|
-
};
|
|
671
|
-
content_name: {
|
|
672
|
-
type: string;
|
|
673
|
-
};
|
|
674
|
-
currency: {
|
|
675
|
-
type: string;
|
|
676
|
-
};
|
|
677
|
-
value: {
|
|
678
|
-
type: string;
|
|
679
|
-
};
|
|
680
|
-
};
|
|
681
|
-
};
|
|
682
|
-
};
|
|
683
|
-
};
|
|
684
|
-
};
|
|
685
|
-
};
|
|
686
|
-
};
|
|
687
593
|
analyticsEvents: {
|
|
688
594
|
oneOf: ({
|
|
689
595
|
optionName: string;
|
|
@@ -933,100 +839,6 @@ export declare const ButtonBlock: {
|
|
|
933
839
|
optionName: string;
|
|
934
840
|
})[];
|
|
935
841
|
};
|
|
936
|
-
/**
|
|
937
|
-
* @deprecated Metrika will be deleted
|
|
938
|
-
*/
|
|
939
|
-
metrikaGoals: {
|
|
940
|
-
oneOf: ({
|
|
941
|
-
type: string;
|
|
942
|
-
optionName: string;
|
|
943
|
-
items?: undefined;
|
|
944
|
-
} | {
|
|
945
|
-
type: string;
|
|
946
|
-
items: {
|
|
947
|
-
type: string;
|
|
948
|
-
additionalProperties?: undefined;
|
|
949
|
-
required?: undefined;
|
|
950
|
-
properties?: undefined;
|
|
951
|
-
};
|
|
952
|
-
optionName: string;
|
|
953
|
-
} | {
|
|
954
|
-
type: string;
|
|
955
|
-
items: {
|
|
956
|
-
type: string;
|
|
957
|
-
additionalProperties: boolean;
|
|
958
|
-
required: string[];
|
|
959
|
-
properties: {
|
|
960
|
-
name: {
|
|
961
|
-
type: string;
|
|
962
|
-
};
|
|
963
|
-
isCrossSite: {
|
|
964
|
-
type: string;
|
|
965
|
-
};
|
|
966
|
-
};
|
|
967
|
-
};
|
|
968
|
-
optionName: string;
|
|
969
|
-
})[];
|
|
970
|
-
};
|
|
971
|
-
/**
|
|
972
|
-
* @deprecated Pixel will be deleted
|
|
973
|
-
*/
|
|
974
|
-
pixelEvents: {
|
|
975
|
-
type: string;
|
|
976
|
-
items: {
|
|
977
|
-
type: string;
|
|
978
|
-
required: string[];
|
|
979
|
-
additionalProperties: boolean;
|
|
980
|
-
properties: {
|
|
981
|
-
name: {
|
|
982
|
-
type: string;
|
|
983
|
-
enum: import("../../models").PixelEventType[];
|
|
984
|
-
};
|
|
985
|
-
data: {};
|
|
986
|
-
};
|
|
987
|
-
select: {
|
|
988
|
-
$data: string;
|
|
989
|
-
};
|
|
990
|
-
selectCases: {
|
|
991
|
-
SubmitApplication: {
|
|
992
|
-
additionalProperties: boolean;
|
|
993
|
-
properties: {
|
|
994
|
-
name: {};
|
|
995
|
-
};
|
|
996
|
-
};
|
|
997
|
-
Contact: {
|
|
998
|
-
additionalProperties: boolean;
|
|
999
|
-
properties: {
|
|
1000
|
-
name: {};
|
|
1001
|
-
};
|
|
1002
|
-
};
|
|
1003
|
-
Lead: {
|
|
1004
|
-
additionalProperties: boolean;
|
|
1005
|
-
properties: {
|
|
1006
|
-
name: {};
|
|
1007
|
-
data: {
|
|
1008
|
-
type: string;
|
|
1009
|
-
additionalProperties: boolean;
|
|
1010
|
-
properties: {
|
|
1011
|
-
content_category: {
|
|
1012
|
-
type: string;
|
|
1013
|
-
};
|
|
1014
|
-
content_name: {
|
|
1015
|
-
type: string;
|
|
1016
|
-
};
|
|
1017
|
-
currency: {
|
|
1018
|
-
type: string;
|
|
1019
|
-
};
|
|
1020
|
-
value: {
|
|
1021
|
-
type: string;
|
|
1022
|
-
};
|
|
1023
|
-
};
|
|
1024
|
-
};
|
|
1025
|
-
};
|
|
1026
|
-
};
|
|
1027
|
-
};
|
|
1028
|
-
};
|
|
1029
|
-
};
|
|
1030
842
|
analyticsEvents: {
|
|
1031
843
|
oneOf: ({
|
|
1032
844
|
optionName: string;
|