@gravity-ui/page-constructor 3.5.0-alpha.0 → 3.5.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/CHANGELOG.md +39 -0
- package/README.md +2 -0
- package/build/cjs/blocks/Banner/schema.d.ts +63 -21
- package/build/cjs/blocks/CardLayout/schema.d.ts +10 -4
- package/build/cjs/blocks/Companies/schema.d.ts +5 -2
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +3 -2
- package/build/cjs/blocks/ContentLayout/schema.d.ts +107 -61
- package/build/cjs/blocks/ContentLayout/schema.js +23 -18
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +31 -4
- package/build/cjs/blocks/ExtendedFeatures/schema.js +2 -3
- package/build/cjs/blocks/FilterBlock/schema.d.ts +13 -5
- package/build/cjs/blocks/FilterBlock/schema.js +13 -2
- package/build/cjs/blocks/Header/Header.css +6 -7
- package/build/cjs/blocks/Header/schema.d.ts +92 -36
- package/build/cjs/blocks/Header/schema.js +1 -0
- package/build/cjs/blocks/HeaderSlider/schema.d.ts +48 -53
- package/build/cjs/blocks/HeaderSlider/schema.js +3 -1
- package/build/cjs/blocks/Icons/schema.d.ts +3 -1
- package/build/cjs/blocks/Icons/schema.js +2 -1
- package/build/cjs/blocks/Info/schema.d.ts +19 -8
- package/build/cjs/blocks/Map/schema.d.ts +17 -6
- package/build/cjs/blocks/Media/schema.d.ts +204 -152
- package/build/cjs/blocks/Media/schema.js +1 -1
- package/build/cjs/blocks/PromoFeaturesBlock/schema.d.ts +22 -8
- package/build/cjs/blocks/PromoFeaturesBlock/schema.js +1 -0
- package/build/cjs/blocks/Questions/schema.d.ts +7 -3
- package/build/cjs/blocks/Slider/schema.d.ts +13 -18
- package/build/cjs/blocks/Slider/schema.js +4 -5
- package/build/cjs/blocks/Table/schema.d.ts +5 -2
- package/build/cjs/blocks/Table/schema.js +12 -2
- package/build/cjs/blocks/Tabs/schema.d.ts +43 -16
- package/build/cjs/components/BlockBase/BlockBase.js +2 -2
- package/build/cjs/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/cjs/components/Image/schema.d.ts +1 -0
- package/build/cjs/components/Image/schema.js +3 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
- package/build/cjs/customization/BlockDecoration.d.ts +1 -1
- package/build/cjs/customization/BlockDecoration.js +5 -6
- package/build/cjs/editor/{Components → components}/AddBlock/AddBlock.css +1 -1
- package/build/cjs/editor/components/AddBlock/AddBlock.d.ts +7 -0
- package/build/cjs/editor/{Components → components}/AddBlock/AddBlock.js +2 -2
- package/build/cjs/editor/components/BlockForm/BlockForm.d.ts +12 -0
- package/build/cjs/editor/components/BlockForm/BlockForm.js +33 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.css +26 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.d.ts +8 -0
- package/build/cjs/editor/components/ControlPanel/ControlPanel.js +25 -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/EditBlock/EditBlock.d.ts +13 -0
- package/build/cjs/editor/components/EditBlock/EditBlock.js +44 -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 +39 -0
- package/build/cjs/editor/components/Layout/Layout.d.ts +16 -0
- package/build/cjs/editor/components/Layout/Layout.js +34 -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/containers/Editor/Editor.d.ts +2 -0
- package/build/cjs/editor/containers/Editor/Editor.js +40 -0
- package/build/cjs/editor/containers/Form/Form.css +94 -0
- package/build/cjs/editor/containers/Form/Form.d.ts +11 -0
- package/build/cjs/editor/containers/Form/Form.js +47 -0
- package/build/cjs/editor/containers/Form/dynamic-form-custom.css +0 -0
- 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 +188 -0
- package/build/cjs/editor/dynamic-forms-custom/parser/types.d.ts +29 -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/index.d.ts +1 -1
- package/build/cjs/editor/index.js +1 -1
- package/build/cjs/editor/store/index.d.ts +10 -11
- package/build/cjs/editor/store/index.js +66 -15
- package/build/cjs/editor/store/reducer.d.ts +24 -9
- package/build/cjs/editor/store/reducer.js +17 -31
- package/build/cjs/editor/store/utils.d.ts +1 -0
- package/build/cjs/editor/store/utils.js +3 -1
- package/build/cjs/editor/styles/root.css +5 -0
- package/build/cjs/editor/types/index.d.ts +15 -9
- package/build/cjs/editor/types/index.js +6 -0
- package/build/cjs/editor/utils/index.d.ts +4 -3
- package/build/cjs/editor/utils/index.js +6 -4
- package/build/cjs/grid/Col/Col.d.ts +1 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +13 -8
- package/build/cjs/models/constructor.d.ts +2 -2
- package/build/cjs/models/customization.d.ts +3 -8
- package/build/cjs/models/navigation.d.ts +1 -0
- package/build/cjs/navigation/components/Header/Header.css +2 -0
- package/build/cjs/navigation/components/Header/Header.js +15 -4
- package/build/cjs/navigation/schema.d.ts +1 -0
- package/build/cjs/schema/constants.d.ts +908 -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 +71 -27
- package/build/cjs/schema/validators/common.js +50 -17
- package/build/cjs/sub-blocks/BackgroundCard/schema.d.ts +12 -5
- package/build/cjs/sub-blocks/BasicCard/schema.d.ts +8 -3
- package/build/cjs/sub-blocks/Content/schema.d.ts +14 -6
- package/build/cjs/sub-blocks/Content/schema.js +9 -1
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +23 -9
- package/build/cjs/sub-blocks/MediaCard/schema.d.ts +16 -6
- package/build/cjs/sub-blocks/PriceDetailed/schema.d.ts +1 -0
- package/build/cjs/sub-blocks/PriceDetailed/schema.js +5 -1
- package/build/cjs/sub-blocks/Quote/schema.d.ts +6 -2
- package/build/cjs/text-transform/utils.js +1 -6
- package/build/esm/blocks/Banner/schema.d.ts +63 -21
- package/build/esm/blocks/CardLayout/schema.d.ts +10 -4
- package/build/esm/blocks/Companies/schema.d.ts +5 -2
- package/build/esm/blocks/ContentLayout/ContentLayout.js +3 -2
- package/build/esm/blocks/ContentLayout/schema.d.ts +107 -61
- package/build/esm/blocks/ContentLayout/schema.js +23 -18
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +31 -4
- package/build/esm/blocks/ExtendedFeatures/schema.js +3 -4
- package/build/esm/blocks/FilterBlock/schema.d.ts +13 -5
- package/build/esm/blocks/FilterBlock/schema.js +13 -2
- package/build/esm/blocks/Header/Header.css +6 -7
- package/build/esm/blocks/Header/schema.d.ts +92 -36
- package/build/esm/blocks/Header/schema.js +1 -0
- package/build/esm/blocks/HeaderSlider/schema.d.ts +48 -53
- package/build/esm/blocks/HeaderSlider/schema.js +2 -1
- package/build/esm/blocks/Icons/schema.d.ts +3 -1
- package/build/esm/blocks/Icons/schema.js +2 -1
- package/build/esm/blocks/Info/schema.d.ts +19 -8
- package/build/esm/blocks/Map/schema.d.ts +17 -6
- package/build/esm/blocks/Media/schema.d.ts +204 -152
- package/build/esm/blocks/Media/schema.js +2 -2
- package/build/esm/blocks/PromoFeaturesBlock/schema.d.ts +22 -8
- package/build/esm/blocks/PromoFeaturesBlock/schema.js +1 -0
- package/build/esm/blocks/Questions/schema.d.ts +7 -3
- package/build/esm/blocks/Slider/schema.d.ts +13 -18
- package/build/esm/blocks/Slider/schema.js +4 -5
- package/build/esm/blocks/Table/schema.d.ts +5 -2
- package/build/esm/blocks/Table/schema.js +12 -2
- package/build/esm/blocks/Tabs/schema.d.ts +43 -16
- package/build/esm/components/BlockBase/BlockBase.js +2 -2
- package/build/esm/components/HeaderBreadcrumbs/HeaderBreadcrumbs.js +1 -1
- package/build/esm/components/Image/schema.d.ts +1 -0
- package/build/esm/components/Image/schema.js +3 -2
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -1
- package/build/esm/customization/BlockDecoration.d.ts +1 -1
- package/build/esm/customization/BlockDecoration.js +6 -6
- package/build/esm/editor/{Components → components}/AddBlock/AddBlock.css +1 -1
- package/build/esm/editor/components/AddBlock/AddBlock.d.ts +8 -0
- package/build/esm/editor/{Components → components}/AddBlock/AddBlock.js +2 -2
- package/build/esm/editor/components/BlockForm/BlockForm.d.ts +12 -0
- package/build/esm/editor/components/BlockForm/BlockForm.js +30 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.css +26 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.d.ts +9 -0
- package/build/esm/editor/components/ControlPanel/ControlPanel.js +23 -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/EditBlock/EditBlock.d.ts +14 -0
- package/build/esm/editor/components/EditBlock/EditBlock.js +41 -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 +39 -0
- package/build/esm/editor/components/Layout/Layout.d.ts +17 -0
- package/build/esm/editor/components/Layout/Layout.js +32 -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/containers/Editor/Editor.d.ts +2 -0
- package/build/esm/editor/containers/Editor/Editor.js +36 -0
- package/build/esm/editor/containers/Form/Form.css +94 -0
- package/build/esm/editor/containers/Form/Form.d.ts +12 -0
- package/build/esm/editor/containers/Form/Form.js +45 -0
- package/build/esm/editor/containers/Form/dynamic-form-custom.css +0 -0
- 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 +186 -0
- package/build/esm/editor/dynamic-forms-custom/parser/types.d.ts +29 -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/index.d.ts +1 -1
- package/build/esm/editor/index.js +1 -1
- package/build/esm/editor/store/index.d.ts +10 -11
- package/build/esm/editor/store/index.js +68 -17
- package/build/esm/editor/store/reducer.d.ts +24 -9
- package/build/esm/editor/store/reducer.js +15 -29
- package/build/esm/editor/store/utils.d.ts +1 -0
- package/build/esm/editor/store/utils.js +1 -0
- package/build/esm/editor/styles/root.css +5 -0
- package/build/esm/editor/types/index.d.ts +15 -9
- package/build/esm/editor/types/index.js +5 -1
- package/build/esm/editor/utils/index.d.ts +4 -3
- package/build/esm/editor/utils/index.js +4 -3
- package/build/esm/grid/Col/Col.d.ts +1 -1
- package/build/esm/models/constructor-items/blocks.d.ts +13 -8
- package/build/esm/models/constructor.d.ts +2 -2
- package/build/esm/models/customization.d.ts +3 -8
- package/build/esm/models/navigation.d.ts +1 -0
- package/build/esm/navigation/components/Header/Header.css +2 -0
- package/build/esm/navigation/components/Header/Header.js +16 -5
- package/build/esm/navigation/schema.d.ts +1 -0
- package/build/esm/schema/constants.d.ts +908 -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 +71 -27
- package/build/esm/schema/validators/common.js +49 -16
- package/build/esm/sub-blocks/BackgroundCard/schema.d.ts +12 -5
- package/build/esm/sub-blocks/BasicCard/schema.d.ts +8 -3
- package/build/esm/sub-blocks/Content/schema.d.ts +14 -6
- package/build/esm/sub-blocks/Content/schema.js +9 -1
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +23 -9
- package/build/esm/sub-blocks/MediaCard/schema.d.ts +16 -6
- package/build/esm/sub-blocks/PriceDetailed/schema.d.ts +1 -0
- package/build/esm/sub-blocks/PriceDetailed/schema.js +5 -1
- package/build/esm/sub-blocks/Quote/schema.d.ts +6 -2
- package/build/esm/text-transform/utils.js +1 -6
- package/package.json +39 -7
- package/server/models/constructor-items/blocks.d.ts +13 -8
- package/server/models/constructor.d.ts +2 -2
- package/server/models/customization.d.ts +3 -8
- package/server/models/navigation.d.ts +1 -0
- package/server/text-transform/utils.js +1 -6
- 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/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/cjs/editor/{Components → components}/EditBlock/EditBlock.css +0 -0
- /package/build/esm/editor/{Components → components}/EditBlock/EditBlock.css +0 -0
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
export declare const ContentBase: {
|
|
2
2
|
title: {
|
|
3
3
|
oneOf: ({
|
|
4
|
+
type: string;
|
|
5
|
+
contentType: string;
|
|
6
|
+
optionName: string;
|
|
7
|
+
} | {
|
|
8
|
+
optionName: string;
|
|
4
9
|
type: string;
|
|
5
10
|
additionalProperties: boolean;
|
|
6
11
|
required: string[];
|
|
@@ -20,14 +25,13 @@ export declare const ContentBase: {
|
|
|
20
25
|
type: string;
|
|
21
26
|
};
|
|
22
27
|
};
|
|
23
|
-
|
|
24
|
-
type: string;
|
|
25
|
-
contentType: string;
|
|
28
|
+
contentType?: undefined;
|
|
26
29
|
})[];
|
|
27
30
|
};
|
|
28
31
|
text: {
|
|
29
32
|
type: string;
|
|
30
33
|
contentType: string;
|
|
34
|
+
inputType: string;
|
|
31
35
|
};
|
|
32
36
|
additionalInfo: {
|
|
33
37
|
type: string;
|
|
@@ -74,6 +78,11 @@ export declare const ContentBlock: {
|
|
|
74
78
|
};
|
|
75
79
|
title: {
|
|
76
80
|
oneOf: ({
|
|
81
|
+
type: string;
|
|
82
|
+
contentType: string;
|
|
83
|
+
optionName: string;
|
|
84
|
+
} | {
|
|
85
|
+
optionName: string;
|
|
77
86
|
type: string;
|
|
78
87
|
additionalProperties: boolean;
|
|
79
88
|
required: string[];
|
|
@@ -93,14 +102,13 @@ export declare const ContentBlock: {
|
|
|
93
102
|
type: string;
|
|
94
103
|
};
|
|
95
104
|
};
|
|
96
|
-
|
|
97
|
-
type: string;
|
|
98
|
-
contentType: string;
|
|
105
|
+
contentType?: undefined;
|
|
99
106
|
})[];
|
|
100
107
|
};
|
|
101
108
|
text: {
|
|
102
109
|
type: string;
|
|
103
110
|
contentType: string;
|
|
111
|
+
inputType: string;
|
|
104
112
|
};
|
|
105
113
|
additionalInfo: {
|
|
106
114
|
type: string;
|
|
@@ -5,11 +5,19 @@ const common_1 = require("../../schema/validators/common");
|
|
|
5
5
|
const utils_1 = require("../../schema/validators/utils");
|
|
6
6
|
exports.ContentBase = {
|
|
7
7
|
title: {
|
|
8
|
-
oneOf: [
|
|
8
|
+
oneOf: [
|
|
9
|
+
{
|
|
10
|
+
type: 'string',
|
|
11
|
+
contentType: 'text',
|
|
12
|
+
optionName: 'text',
|
|
13
|
+
},
|
|
14
|
+
Object.assign(Object.assign({}, common_1.TitleProps), { optionName: 'options' }),
|
|
15
|
+
],
|
|
9
16
|
},
|
|
10
17
|
text: {
|
|
11
18
|
type: 'string',
|
|
12
19
|
contentType: 'yfm',
|
|
20
|
+
inputType: 'textarea',
|
|
13
21
|
},
|
|
14
22
|
additionalInfo: {
|
|
15
23
|
type: 'string',
|
|
@@ -8,7 +8,8 @@ export declare const LayoutItem: {
|
|
|
8
8
|
type: string;
|
|
9
9
|
};
|
|
10
10
|
image: {
|
|
11
|
-
|
|
11
|
+
oneOf: ({
|
|
12
|
+
optionName: string;
|
|
12
13
|
oneOf: ({
|
|
13
14
|
type: string;
|
|
14
15
|
properties: {
|
|
@@ -19,7 +20,10 @@ export declare const LayoutItem: {
|
|
|
19
20
|
} | {
|
|
20
21
|
type: string;
|
|
21
22
|
pattern: string;
|
|
23
|
+
optionName: string;
|
|
22
24
|
})[];
|
|
25
|
+
type?: undefined;
|
|
26
|
+
items?: undefined;
|
|
23
27
|
} | {
|
|
24
28
|
type: string;
|
|
25
29
|
items: {
|
|
@@ -33,8 +37,10 @@ export declare const LayoutItem: {
|
|
|
33
37
|
} | {
|
|
34
38
|
type: string;
|
|
35
39
|
pattern: string;
|
|
40
|
+
optionName: string;
|
|
36
41
|
})[];
|
|
37
42
|
};
|
|
43
|
+
optionName: string;
|
|
38
44
|
})[];
|
|
39
45
|
};
|
|
40
46
|
video: {
|
|
@@ -49,7 +55,8 @@ export declare const LayoutItem: {
|
|
|
49
55
|
};
|
|
50
56
|
};
|
|
51
57
|
loop: {
|
|
52
|
-
|
|
58
|
+
oneOf: ({
|
|
59
|
+
optionName: string;
|
|
53
60
|
type: string;
|
|
54
61
|
additionalProperties: boolean;
|
|
55
62
|
required: string[];
|
|
@@ -63,6 +70,7 @@ export declare const LayoutItem: {
|
|
|
63
70
|
};
|
|
64
71
|
} | {
|
|
65
72
|
type: string;
|
|
73
|
+
optionName: string;
|
|
66
74
|
})[];
|
|
67
75
|
};
|
|
68
76
|
type: {
|
|
@@ -72,13 +80,13 @@ export declare const LayoutItem: {
|
|
|
72
80
|
muted: {
|
|
73
81
|
type: string;
|
|
74
82
|
};
|
|
75
|
-
|
|
83
|
+
autoplay: {
|
|
76
84
|
type: string;
|
|
77
85
|
};
|
|
78
86
|
elapsedTime: {
|
|
79
87
|
type: string;
|
|
80
88
|
};
|
|
81
|
-
|
|
89
|
+
playButton: {
|
|
82
90
|
type: string;
|
|
83
91
|
additionalProperties: boolean;
|
|
84
92
|
properties: {
|
|
@@ -116,6 +124,10 @@ export declare const LayoutItem: {
|
|
|
116
124
|
};
|
|
117
125
|
dataLens: {
|
|
118
126
|
oneOf: ({
|
|
127
|
+
type: string;
|
|
128
|
+
optionName: string;
|
|
129
|
+
} | {
|
|
130
|
+
optionName: string;
|
|
119
131
|
type: string;
|
|
120
132
|
additionalProperties: boolean;
|
|
121
133
|
required: string[];
|
|
@@ -128,8 +140,6 @@ export declare const LayoutItem: {
|
|
|
128
140
|
enum: string[];
|
|
129
141
|
};
|
|
130
142
|
};
|
|
131
|
-
} | {
|
|
132
|
-
type: string;
|
|
133
143
|
})[];
|
|
134
144
|
};
|
|
135
145
|
fullscreen: {
|
|
@@ -217,6 +227,11 @@ export declare const LayoutItem: {
|
|
|
217
227
|
content: Partial<{
|
|
218
228
|
title: {
|
|
219
229
|
oneOf: ({
|
|
230
|
+
type: string;
|
|
231
|
+
contentType: string;
|
|
232
|
+
optionName: string;
|
|
233
|
+
} | {
|
|
234
|
+
optionName: string;
|
|
220
235
|
type: string;
|
|
221
236
|
additionalProperties: boolean;
|
|
222
237
|
required: string[];
|
|
@@ -236,14 +251,13 @@ export declare const LayoutItem: {
|
|
|
236
251
|
type: string;
|
|
237
252
|
};
|
|
238
253
|
};
|
|
239
|
-
|
|
240
|
-
type: string;
|
|
241
|
-
contentType: string;
|
|
254
|
+
contentType?: undefined;
|
|
242
255
|
})[];
|
|
243
256
|
};
|
|
244
257
|
text: {
|
|
245
258
|
type: string;
|
|
246
259
|
contentType: string;
|
|
260
|
+
inputType: string;
|
|
247
261
|
};
|
|
248
262
|
additionalInfo: {
|
|
249
263
|
type: string;
|
|
@@ -10,7 +10,8 @@ export declare const MediaCardBlock: {
|
|
|
10
10
|
type: string;
|
|
11
11
|
};
|
|
12
12
|
image: {
|
|
13
|
-
|
|
13
|
+
oneOf: ({
|
|
14
|
+
optionName: string;
|
|
14
15
|
oneOf: ({
|
|
15
16
|
type: string;
|
|
16
17
|
properties: {
|
|
@@ -21,7 +22,10 @@ export declare const MediaCardBlock: {
|
|
|
21
22
|
} | {
|
|
22
23
|
type: string;
|
|
23
24
|
pattern: string;
|
|
25
|
+
optionName: string;
|
|
24
26
|
})[];
|
|
27
|
+
type?: undefined;
|
|
28
|
+
items?: undefined;
|
|
25
29
|
} | {
|
|
26
30
|
type: string;
|
|
27
31
|
items: {
|
|
@@ -35,8 +39,10 @@ export declare const MediaCardBlock: {
|
|
|
35
39
|
} | {
|
|
36
40
|
type: string;
|
|
37
41
|
pattern: string;
|
|
42
|
+
optionName: string;
|
|
38
43
|
})[];
|
|
39
44
|
};
|
|
45
|
+
optionName: string;
|
|
40
46
|
})[];
|
|
41
47
|
};
|
|
42
48
|
video: {
|
|
@@ -51,7 +57,8 @@ export declare const MediaCardBlock: {
|
|
|
51
57
|
};
|
|
52
58
|
};
|
|
53
59
|
loop: {
|
|
54
|
-
|
|
60
|
+
oneOf: ({
|
|
61
|
+
optionName: string;
|
|
55
62
|
type: string;
|
|
56
63
|
additionalProperties: boolean;
|
|
57
64
|
required: string[];
|
|
@@ -65,6 +72,7 @@ export declare const MediaCardBlock: {
|
|
|
65
72
|
};
|
|
66
73
|
} | {
|
|
67
74
|
type: string;
|
|
75
|
+
optionName: string;
|
|
68
76
|
})[];
|
|
69
77
|
};
|
|
70
78
|
type: {
|
|
@@ -74,13 +82,13 @@ export declare const MediaCardBlock: {
|
|
|
74
82
|
muted: {
|
|
75
83
|
type: string;
|
|
76
84
|
};
|
|
77
|
-
|
|
85
|
+
autoplay: {
|
|
78
86
|
type: string;
|
|
79
87
|
};
|
|
80
88
|
elapsedTime: {
|
|
81
89
|
type: string;
|
|
82
90
|
};
|
|
83
|
-
|
|
91
|
+
playButton: {
|
|
84
92
|
type: string;
|
|
85
93
|
additionalProperties: boolean;
|
|
86
94
|
properties: {
|
|
@@ -118,6 +126,10 @@ export declare const MediaCardBlock: {
|
|
|
118
126
|
};
|
|
119
127
|
dataLens: {
|
|
120
128
|
oneOf: ({
|
|
129
|
+
type: string;
|
|
130
|
+
optionName: string;
|
|
131
|
+
} | {
|
|
132
|
+
optionName: string;
|
|
121
133
|
type: string;
|
|
122
134
|
additionalProperties: boolean;
|
|
123
135
|
required: string[];
|
|
@@ -130,8 +142,6 @@ export declare const MediaCardBlock: {
|
|
|
130
142
|
enum: string[];
|
|
131
143
|
};
|
|
132
144
|
};
|
|
133
|
-
} | {
|
|
134
|
-
type: string;
|
|
135
145
|
})[];
|
|
136
146
|
};
|
|
137
147
|
fullscreen: {
|
|
@@ -127,7 +127,10 @@ const PriceDetailsListProps = {
|
|
|
127
127
|
};
|
|
128
128
|
const PriceDetailsProps = {
|
|
129
129
|
items: {
|
|
130
|
-
|
|
130
|
+
oneOf: [
|
|
131
|
+
Object.assign(Object.assign({}, (0, utils_1.filteredArray)(Object.assign({}, PriceDetailsListProps))), { optionName: 'marked-list' }),
|
|
132
|
+
Object.assign(Object.assign({}, (0, utils_1.filteredArray)(Object.assign({}, PriceDetailsSettingsProps))), { optionName: 'settings' }),
|
|
133
|
+
],
|
|
131
134
|
},
|
|
132
135
|
};
|
|
133
136
|
const PriceItem = {
|
|
@@ -143,6 +146,7 @@ exports.PriceDetailedBlock = {
|
|
|
143
146
|
properties: Object.assign(Object.assign(Object.assign({}, common_1.BaseProps), common_1.AnimatableProps), { items: (0, utils_1.filteredArray)(PriceItem), description: PriceDetailedDescriptionProps, details: PriceDetailedDetailsProps, priceType: {
|
|
144
147
|
type: 'string',
|
|
145
148
|
enum: PriceDetailedDetailsType,
|
|
149
|
+
default: 'settings',
|
|
146
150
|
}, numberGroupItems: {
|
|
147
151
|
type: 'number',
|
|
148
152
|
enum: [3, 4, 5],
|
|
@@ -8,7 +8,7 @@ export declare const Quote: {
|
|
|
8
8
|
contentType: string;
|
|
9
9
|
};
|
|
10
10
|
image: {
|
|
11
|
-
oneOf: ({
|
|
11
|
+
oneOf: (({
|
|
12
12
|
oneOf: ({
|
|
13
13
|
type: string;
|
|
14
14
|
properties: {
|
|
@@ -19,12 +19,16 @@ export declare const Quote: {
|
|
|
19
19
|
} | {
|
|
20
20
|
type: string;
|
|
21
21
|
pattern: string;
|
|
22
|
+
optionName: string;
|
|
22
23
|
})[];
|
|
23
|
-
}
|
|
24
|
+
} & {
|
|
25
|
+
optionName: string;
|
|
26
|
+
}) | {
|
|
24
27
|
type: string;
|
|
25
28
|
additionalProperties: boolean;
|
|
26
29
|
required: import("../..").Theme[];
|
|
27
30
|
properties: {};
|
|
31
|
+
optionName: string;
|
|
28
32
|
})[];
|
|
29
33
|
};
|
|
30
34
|
logo: {
|
|
@@ -26,12 +26,7 @@ exports.DEFAULT_ALLOWED_TAGS = [
|
|
|
26
26
|
];
|
|
27
27
|
exports.typografConfig = {
|
|
28
28
|
enabled: ['common/nbsp/afterNumber', 'common/nbsp/afterParagraphMark'],
|
|
29
|
-
disabled: [
|
|
30
|
-
'common/symbols/cf',
|
|
31
|
-
'ru/other/phone-number',
|
|
32
|
-
'common/space/afterColon',
|
|
33
|
-
'common/space/afterSemicolon',
|
|
34
|
-
],
|
|
29
|
+
disabled: ['common/symbols/cf', 'ru/other/phone-number'],
|
|
35
30
|
};
|
|
36
31
|
exports.sanitizeStripOptions = {
|
|
37
32
|
allowedTags: [],
|
|
@@ -11,26 +11,32 @@ export declare const BannerCardProps: {
|
|
|
11
11
|
contentType: string;
|
|
12
12
|
};
|
|
13
13
|
image: {
|
|
14
|
-
oneOf: ({
|
|
14
|
+
oneOf: (({
|
|
15
15
|
type: string;
|
|
16
|
-
}
|
|
16
|
+
} & {
|
|
17
|
+
optionName: string;
|
|
18
|
+
}) | {
|
|
17
19
|
type: string;
|
|
18
20
|
additionalProperties: boolean;
|
|
19
21
|
required: import("../..").Theme[];
|
|
20
22
|
properties: {};
|
|
23
|
+
optionName: string;
|
|
21
24
|
})[];
|
|
22
25
|
};
|
|
23
26
|
disableCompress: {
|
|
24
27
|
type: string;
|
|
25
28
|
};
|
|
26
29
|
color: {
|
|
27
|
-
oneOf: ({
|
|
30
|
+
oneOf: (({
|
|
28
31
|
type: string;
|
|
29
|
-
}
|
|
32
|
+
} & {
|
|
33
|
+
optionName: string;
|
|
34
|
+
}) | {
|
|
30
35
|
type: string;
|
|
31
36
|
additionalProperties: boolean;
|
|
32
37
|
required: import("../..").Theme[];
|
|
33
38
|
properties: {};
|
|
39
|
+
optionName: string;
|
|
34
40
|
})[];
|
|
35
41
|
};
|
|
36
42
|
theme: {
|
|
@@ -64,8 +70,9 @@ export declare const BannerCardProps: {
|
|
|
64
70
|
enum: string[];
|
|
65
71
|
};
|
|
66
72
|
img: {
|
|
67
|
-
|
|
73
|
+
oneOf: ({
|
|
68
74
|
type: string;
|
|
75
|
+
optionName: string;
|
|
69
76
|
additionalProperties?: undefined;
|
|
70
77
|
required?: undefined;
|
|
71
78
|
properties?: undefined;
|
|
@@ -86,11 +93,13 @@ export declare const BannerCardProps: {
|
|
|
86
93
|
contentType: string;
|
|
87
94
|
};
|
|
88
95
|
};
|
|
96
|
+
optionName: string;
|
|
89
97
|
})[];
|
|
90
98
|
};
|
|
91
99
|
metrikaGoals: {
|
|
92
|
-
|
|
100
|
+
oneOf: ({
|
|
93
101
|
type: string;
|
|
102
|
+
optionName: string;
|
|
94
103
|
items?: undefined;
|
|
95
104
|
} | {
|
|
96
105
|
type: string;
|
|
@@ -100,6 +109,7 @@ export declare const BannerCardProps: {
|
|
|
100
109
|
required?: undefined;
|
|
101
110
|
properties?: undefined;
|
|
102
111
|
};
|
|
112
|
+
optionName: string;
|
|
103
113
|
} | {
|
|
104
114
|
type: string;
|
|
105
115
|
items: {
|
|
@@ -115,6 +125,7 @@ export declare const BannerCardProps: {
|
|
|
115
125
|
};
|
|
116
126
|
};
|
|
117
127
|
};
|
|
128
|
+
optionName: string;
|
|
118
129
|
})[];
|
|
119
130
|
};
|
|
120
131
|
pixelEvents: {
|
|
@@ -174,7 +185,8 @@ export declare const BannerCardProps: {
|
|
|
174
185
|
};
|
|
175
186
|
};
|
|
176
187
|
analyticsEvents: {
|
|
177
|
-
|
|
188
|
+
oneOf: ({
|
|
189
|
+
optionName: string;
|
|
178
190
|
type: string;
|
|
179
191
|
additionalProperties: {
|
|
180
192
|
type: string;
|
|
@@ -210,6 +222,7 @@ export declare const BannerCardProps: {
|
|
|
210
222
|
type: string;
|
|
211
223
|
};
|
|
212
224
|
};
|
|
225
|
+
items?: undefined;
|
|
213
226
|
} | {
|
|
214
227
|
type: string;
|
|
215
228
|
items: {
|
|
@@ -249,6 +262,7 @@ export declare const BannerCardProps: {
|
|
|
249
262
|
};
|
|
250
263
|
};
|
|
251
264
|
};
|
|
265
|
+
optionName: string;
|
|
252
266
|
})[];
|
|
253
267
|
};
|
|
254
268
|
target: {
|
|
@@ -291,26 +305,32 @@ export declare const BannerBlock: {
|
|
|
291
305
|
contentType: string;
|
|
292
306
|
};
|
|
293
307
|
image: {
|
|
294
|
-
oneOf: ({
|
|
308
|
+
oneOf: (({
|
|
295
309
|
type: string;
|
|
296
|
-
}
|
|
310
|
+
} & {
|
|
311
|
+
optionName: string;
|
|
312
|
+
}) | {
|
|
297
313
|
type: string;
|
|
298
314
|
additionalProperties: boolean;
|
|
299
315
|
required: import("../..").Theme[];
|
|
300
316
|
properties: {};
|
|
317
|
+
optionName: string;
|
|
301
318
|
})[];
|
|
302
319
|
};
|
|
303
320
|
disableCompress: {
|
|
304
321
|
type: string;
|
|
305
322
|
};
|
|
306
323
|
color: {
|
|
307
|
-
oneOf: ({
|
|
324
|
+
oneOf: (({
|
|
308
325
|
type: string;
|
|
309
|
-
}
|
|
326
|
+
} & {
|
|
327
|
+
optionName: string;
|
|
328
|
+
}) | {
|
|
310
329
|
type: string;
|
|
311
330
|
additionalProperties: boolean;
|
|
312
331
|
required: import("../..").Theme[];
|
|
313
332
|
properties: {};
|
|
333
|
+
optionName: string;
|
|
314
334
|
})[];
|
|
315
335
|
};
|
|
316
336
|
theme: {
|
|
@@ -344,8 +364,9 @@ export declare const BannerBlock: {
|
|
|
344
364
|
enum: string[];
|
|
345
365
|
};
|
|
346
366
|
img: {
|
|
347
|
-
|
|
367
|
+
oneOf: ({
|
|
348
368
|
type: string;
|
|
369
|
+
optionName: string;
|
|
349
370
|
additionalProperties?: undefined;
|
|
350
371
|
required?: undefined;
|
|
351
372
|
properties?: undefined;
|
|
@@ -366,11 +387,13 @@ export declare const BannerBlock: {
|
|
|
366
387
|
contentType: string;
|
|
367
388
|
};
|
|
368
389
|
};
|
|
390
|
+
optionName: string;
|
|
369
391
|
})[];
|
|
370
392
|
};
|
|
371
393
|
metrikaGoals: {
|
|
372
|
-
|
|
394
|
+
oneOf: ({
|
|
373
395
|
type: string;
|
|
396
|
+
optionName: string;
|
|
374
397
|
items?: undefined;
|
|
375
398
|
} | {
|
|
376
399
|
type: string;
|
|
@@ -380,6 +403,7 @@ export declare const BannerBlock: {
|
|
|
380
403
|
required?: undefined;
|
|
381
404
|
properties?: undefined;
|
|
382
405
|
};
|
|
406
|
+
optionName: string;
|
|
383
407
|
} | {
|
|
384
408
|
type: string;
|
|
385
409
|
items: {
|
|
@@ -395,6 +419,7 @@ export declare const BannerBlock: {
|
|
|
395
419
|
};
|
|
396
420
|
};
|
|
397
421
|
};
|
|
422
|
+
optionName: string;
|
|
398
423
|
})[];
|
|
399
424
|
};
|
|
400
425
|
pixelEvents: {
|
|
@@ -454,7 +479,8 @@ export declare const BannerBlock: {
|
|
|
454
479
|
};
|
|
455
480
|
};
|
|
456
481
|
analyticsEvents: {
|
|
457
|
-
|
|
482
|
+
oneOf: ({
|
|
483
|
+
optionName: string;
|
|
458
484
|
type: string;
|
|
459
485
|
additionalProperties: {
|
|
460
486
|
type: string;
|
|
@@ -490,6 +516,7 @@ export declare const BannerBlock: {
|
|
|
490
516
|
type: string;
|
|
491
517
|
};
|
|
492
518
|
};
|
|
519
|
+
items?: undefined;
|
|
493
520
|
} | {
|
|
494
521
|
type: string;
|
|
495
522
|
items: {
|
|
@@ -529,6 +556,7 @@ export declare const BannerBlock: {
|
|
|
529
556
|
};
|
|
530
557
|
};
|
|
531
558
|
};
|
|
559
|
+
optionName: string;
|
|
532
560
|
})[];
|
|
533
561
|
};
|
|
534
562
|
target: {
|
|
@@ -572,26 +600,32 @@ export declare const BannerCard: {
|
|
|
572
600
|
contentType: string;
|
|
573
601
|
};
|
|
574
602
|
image: {
|
|
575
|
-
oneOf: ({
|
|
603
|
+
oneOf: (({
|
|
576
604
|
type: string;
|
|
577
|
-
}
|
|
605
|
+
} & {
|
|
606
|
+
optionName: string;
|
|
607
|
+
}) | {
|
|
578
608
|
type: string;
|
|
579
609
|
additionalProperties: boolean;
|
|
580
610
|
required: import("../..").Theme[];
|
|
581
611
|
properties: {};
|
|
612
|
+
optionName: string;
|
|
582
613
|
})[];
|
|
583
614
|
};
|
|
584
615
|
disableCompress: {
|
|
585
616
|
type: string;
|
|
586
617
|
};
|
|
587
618
|
color: {
|
|
588
|
-
oneOf: ({
|
|
619
|
+
oneOf: (({
|
|
589
620
|
type: string;
|
|
590
|
-
}
|
|
621
|
+
} & {
|
|
622
|
+
optionName: string;
|
|
623
|
+
}) | {
|
|
591
624
|
type: string;
|
|
592
625
|
additionalProperties: boolean;
|
|
593
626
|
required: import("../..").Theme[];
|
|
594
627
|
properties: {};
|
|
628
|
+
optionName: string;
|
|
595
629
|
})[];
|
|
596
630
|
};
|
|
597
631
|
theme: {
|
|
@@ -625,8 +659,9 @@ export declare const BannerCard: {
|
|
|
625
659
|
enum: string[];
|
|
626
660
|
};
|
|
627
661
|
img: {
|
|
628
|
-
|
|
662
|
+
oneOf: ({
|
|
629
663
|
type: string;
|
|
664
|
+
optionName: string;
|
|
630
665
|
additionalProperties?: undefined;
|
|
631
666
|
required?: undefined;
|
|
632
667
|
properties?: undefined;
|
|
@@ -647,11 +682,13 @@ export declare const BannerCard: {
|
|
|
647
682
|
contentType: string;
|
|
648
683
|
};
|
|
649
684
|
};
|
|
685
|
+
optionName: string;
|
|
650
686
|
})[];
|
|
651
687
|
};
|
|
652
688
|
metrikaGoals: {
|
|
653
|
-
|
|
689
|
+
oneOf: ({
|
|
654
690
|
type: string;
|
|
691
|
+
optionName: string;
|
|
655
692
|
items?: undefined;
|
|
656
693
|
} | {
|
|
657
694
|
type: string;
|
|
@@ -661,6 +698,7 @@ export declare const BannerCard: {
|
|
|
661
698
|
required?: undefined;
|
|
662
699
|
properties?: undefined;
|
|
663
700
|
};
|
|
701
|
+
optionName: string;
|
|
664
702
|
} | {
|
|
665
703
|
type: string;
|
|
666
704
|
items: {
|
|
@@ -676,6 +714,7 @@ export declare const BannerCard: {
|
|
|
676
714
|
};
|
|
677
715
|
};
|
|
678
716
|
};
|
|
717
|
+
optionName: string;
|
|
679
718
|
})[];
|
|
680
719
|
};
|
|
681
720
|
pixelEvents: {
|
|
@@ -735,7 +774,8 @@ export declare const BannerCard: {
|
|
|
735
774
|
};
|
|
736
775
|
};
|
|
737
776
|
analyticsEvents: {
|
|
738
|
-
|
|
777
|
+
oneOf: ({
|
|
778
|
+
optionName: string;
|
|
739
779
|
type: string;
|
|
740
780
|
additionalProperties: {
|
|
741
781
|
type: string;
|
|
@@ -771,6 +811,7 @@ export declare const BannerCard: {
|
|
|
771
811
|
type: string;
|
|
772
812
|
};
|
|
773
813
|
};
|
|
814
|
+
items?: undefined;
|
|
774
815
|
} | {
|
|
775
816
|
type: string;
|
|
776
817
|
items: {
|
|
@@ -810,6 +851,7 @@ export declare const BannerCard: {
|
|
|
810
851
|
};
|
|
811
852
|
};
|
|
812
853
|
};
|
|
854
|
+
optionName: string;
|
|
813
855
|
})[];
|
|
814
856
|
};
|
|
815
857
|
target: {
|