@gravity-ui/page-constructor 6.3.2-alpha.3 → 6.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/README.md +1 -31
- package/build/cjs/blocks/Banner/Banner.js +1 -2
- package/build/cjs/blocks/Banner/Banner.js.map +1 -1
- package/build/cjs/blocks/CardLayout/CardLayout.css +0 -1
- package/build/cjs/blocks/CardLayout/CardLayout.js +3 -4
- package/build/cjs/blocks/CardLayout/CardLayout.js.map +1 -1
- package/build/cjs/blocks/Companies/Companies.js +1 -2
- package/build/cjs/blocks/Companies/Companies.js.map +1 -1
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +1 -1
- package/build/cjs/blocks/ContentLayout/ContentLayout.js.map +1 -1
- package/build/cjs/blocks/ContentLayout/schema.d.ts +0 -1
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js +12 -13
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js.map +1 -1
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +0 -1
- package/build/cjs/blocks/ExtendedFeatures/schema.js +0 -1
- package/build/cjs/blocks/ExtendedFeatures/schema.js.map +1 -1
- package/build/cjs/blocks/FilterBlock/FilterBlock.js +5 -5
- package/build/cjs/blocks/FilterBlock/FilterBlock.js.map +1 -1
- package/build/cjs/blocks/FoldableList/FoldableList.css +13 -0
- package/build/cjs/blocks/FoldableList/FoldableList.d.ts +3 -0
- package/build/cjs/blocks/FoldableList/FoldableList.js +31 -0
- package/build/cjs/blocks/FoldableList/FoldableList.js.map +1 -0
- package/build/cjs/blocks/FoldableList/FoldableListBlockItem/FoldableListBlockItem.css +78 -0
- package/build/cjs/blocks/FoldableList/FoldableListBlockItem/FoldableListBlockItem.d.ts +2 -0
- package/build/cjs/blocks/FoldableList/FoldableListBlockItem/FoldableListBlockItem.js +20 -0
- package/build/cjs/blocks/FoldableList/FoldableListBlockItem/FoldableListBlockItem.js.map +1 -0
- package/build/cjs/blocks/FoldableList/schema.d.ts +140 -0
- package/build/cjs/blocks/FoldableList/schema.js +39 -0
- package/build/cjs/blocks/FoldableList/schema.js.map +1 -0
- package/build/cjs/blocks/HeaderSlider/HeaderSlider.js +1 -2
- package/build/cjs/blocks/HeaderSlider/HeaderSlider.js.map +1 -1
- package/build/cjs/blocks/Icons/Icons.js +6 -8
- package/build/cjs/blocks/Icons/Icons.js.map +1 -1
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +13 -15
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js.map +1 -1
- package/build/cjs/blocks/Questions/Questions.js +5 -6
- package/build/cjs/blocks/Questions/Questions.js.map +1 -1
- package/build/cjs/blocks/Share/Share.js +10 -11
- package/build/cjs/blocks/Share/Share.js.map +1 -1
- package/build/cjs/blocks/Slider/Slider.js +10 -12
- package/build/cjs/blocks/Slider/Slider.js.map +1 -1
- package/build/cjs/blocks/Table/schema.d.ts +0 -1
- package/build/cjs/blocks/Table/schema.js +0 -1
- package/build/cjs/blocks/Table/schema.js.map +1 -1
- package/build/cjs/blocks/Tabs/Tabs.js +4 -4
- package/build/cjs/blocks/Tabs/Tabs.js.map +1 -1
- package/build/cjs/blocks/index.d.ts +1 -0
- package/build/cjs/blocks/index.js +3 -1
- package/build/cjs/blocks/index.js.map +1 -1
- package/build/cjs/components/BlockBase/BlockBase.css +16 -8
- package/build/cjs/constructor-items.d.ts +7 -22
- package/build/cjs/constructor-items.js +7 -80
- package/build/cjs/constructor-items.js.map +1 -1
- package/build/cjs/containers/PageConstructor/PageConstructor.d.ts +1 -1
- package/build/cjs/containers/PageConstructor/PageConstructor.js +10 -18
- package/build/cjs/containers/PageConstructor/PageConstructor.js.map +1 -1
- package/build/cjs/containers/PageConstructor/Provider.js +0 -2
- package/build/cjs/containers/PageConstructor/Provider.js.map +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.css +6 -10
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -3
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js.map +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +6 -7
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js.map +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.d.ts +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js.map +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js +1 -2
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js.map +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js +2 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js.map +1 -1
- package/build/cjs/context/blockIdContext/blockIdContext.d.ts +2 -2
- package/build/cjs/context/blockIdContext/blockIdContext.js +1 -1
- package/build/cjs/context/blockIdContext/blockIdContext.js.map +1 -1
- package/build/cjs/editor/components/CodeEditor/CodeEditor.d.ts +2 -1
- package/build/cjs/editor/components/CodeEditor/CodeEditor.js +6 -5
- package/build/cjs/editor/components/CodeEditor/CodeEditor.js.map +1 -1
- package/build/cjs/grid/Grid/Grid.css +6 -2
- package/build/cjs/hooks/useAnalytics.js +1 -1
- package/build/cjs/hooks/useAnalytics.js.map +1 -1
- package/build/cjs/models/constructor-items/blocks.d.ts +18 -2
- package/build/cjs/models/constructor-items/blocks.js +1 -1
- package/build/cjs/models/constructor-items/blocks.js.map +1 -1
- package/build/cjs/models/constructor.d.ts +1 -4
- package/build/cjs/models/constructor.js.map +1 -1
- package/build/cjs/models/navigation.d.ts +2 -2
- package/build/cjs/models/navigation.js.map +1 -1
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.js +1 -1
- package/build/cjs/navigation/components/DesktopNavigation/DesktopNavigation.js.map +1 -1
- package/build/cjs/navigation/components/Navigation/Navigation.d.ts +2 -2
- package/build/cjs/navigation/components/Navigation/Navigation.js +1 -1
- package/build/cjs/navigation/components/Navigation/Navigation.js.map +1 -1
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.js +1 -4
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.js.map +1 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js +1 -4
- package/build/cjs/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js.map +1 -1
- package/build/cjs/navigation/containers/Layout/Layout.css +1 -0
- package/build/cjs/navigation/containers/Layout/Layout.js +0 -1
- package/build/cjs/navigation/containers/Layout/Layout.js.map +1 -1
- package/build/cjs/navigation/models.d.ts +1 -1
- package/build/cjs/navigation/models.js.map +1 -1
- package/build/cjs/schema/constants.js +1 -2
- package/build/cjs/schema/constants.js.map +1 -1
- package/build/cjs/schema/index.d.ts +0 -256
- package/build/cjs/schema/index.js +6 -12
- package/build/cjs/schema/index.js.map +1 -1
- package/build/cjs/schema/validators/blocks.d.ts +1 -0
- package/build/cjs/schema/validators/blocks.js +1 -0
- package/build/cjs/schema/validators/blocks.js.map +1 -1
- package/build/cjs/sub-blocks/BannerCard/BannerCard.js +1 -2
- package/build/cjs/sub-blocks/BannerCard/BannerCard.js.map +1 -1
- package/build/cjs/sub-blocks/Content/schema.d.ts +0 -1
- package/build/cjs/sub-blocks/Content/schema.js +0 -1
- package/build/cjs/sub-blocks/Content/schema.js.map +1 -1
- package/build/cjs/sub-blocks/ImageCard/ImageCard.js +1 -1
- package/build/cjs/sub-blocks/ImageCard/ImageCard.js.map +1 -1
- package/build/cjs/sub-blocks/LayoutItem/LayoutItem.js +1 -1
- package/build/cjs/sub-blocks/LayoutItem/LayoutItem.js.map +1 -1
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +206 -211
- package/build/cjs/sub-blocks/LayoutItem/schema.js +5 -6
- package/build/cjs/sub-blocks/LayoutItem/schema.js.map +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.js +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.js.map +1 -1
- package/build/cjs/utils/index.d.ts +0 -1
- package/build/cjs/utils/index.js +0 -1
- package/build/cjs/utils/index.js.map +1 -1
- package/build/esm/blocks/Banner/Banner.js +1 -2
- package/build/esm/blocks/Banner/Banner.js.map +1 -1
- package/build/esm/blocks/CardLayout/CardLayout.css +0 -1
- package/build/esm/blocks/CardLayout/CardLayout.js +4 -5
- package/build/esm/blocks/CardLayout/CardLayout.js.map +1 -1
- package/build/esm/blocks/Companies/Companies.js +1 -2
- package/build/esm/blocks/Companies/Companies.js.map +1 -1
- package/build/esm/blocks/ContentLayout/ContentLayout.js +2 -2
- package/build/esm/blocks/ContentLayout/ContentLayout.js.map +1 -1
- package/build/esm/blocks/ContentLayout/schema.d.ts +0 -1
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.js +13 -14
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.js.map +1 -1
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +0 -1
- package/build/esm/blocks/ExtendedFeatures/schema.js +0 -1
- package/build/esm/blocks/ExtendedFeatures/schema.js.map +1 -1
- package/build/esm/blocks/FilterBlock/FilterBlock.js +6 -6
- package/build/esm/blocks/FilterBlock/FilterBlock.js.map +1 -1
- package/build/esm/blocks/FoldableList/FoldableList.css +13 -0
- package/build/esm/blocks/FoldableList/FoldableList.d.ts +4 -0
- package/build/esm/blocks/FoldableList/FoldableList.js +29 -0
- package/build/esm/blocks/FoldableList/FoldableList.js.map +1 -0
- package/build/esm/blocks/FoldableList/FoldableListBlockItem/FoldableListBlockItem.css +78 -0
- package/build/esm/blocks/FoldableList/FoldableListBlockItem/FoldableListBlockItem.d.ts +3 -0
- package/build/esm/blocks/FoldableList/FoldableListBlockItem/FoldableListBlockItem.js +16 -0
- package/build/esm/blocks/FoldableList/FoldableListBlockItem/FoldableListBlockItem.js.map +1 -0
- package/build/esm/blocks/FoldableList/schema.d.ts +140 -0
- package/build/esm/blocks/FoldableList/schema.js +35 -0
- package/build/esm/blocks/FoldableList/schema.js.map +1 -0
- package/build/esm/blocks/HeaderSlider/HeaderSlider.js +1 -2
- package/build/esm/blocks/HeaderSlider/HeaderSlider.js.map +1 -1
- package/build/esm/blocks/Icons/Icons.js +6 -8
- package/build/esm/blocks/Icons/Icons.js.map +1 -1
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +13 -15
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js.map +1 -1
- package/build/esm/blocks/Questions/Questions.js +6 -7
- package/build/esm/blocks/Questions/Questions.js.map +1 -1
- package/build/esm/blocks/Share/Share.js +10 -11
- package/build/esm/blocks/Share/Share.js.map +1 -1
- package/build/esm/blocks/Slider/Slider.js +10 -12
- package/build/esm/blocks/Slider/Slider.js.map +1 -1
- package/build/esm/blocks/Table/schema.d.ts +0 -1
- package/build/esm/blocks/Table/schema.js +0 -1
- package/build/esm/blocks/Table/schema.js.map +1 -1
- package/build/esm/blocks/Tabs/Tabs.js +5 -5
- package/build/esm/blocks/Tabs/Tabs.js.map +1 -1
- package/build/esm/blocks/index.d.ts +1 -0
- package/build/esm/blocks/index.js +1 -0
- package/build/esm/blocks/index.js.map +1 -1
- package/build/esm/components/BlockBase/BlockBase.css +16 -8
- package/build/esm/constructor-items.d.ts +7 -22
- package/build/esm/constructor-items.js +3 -76
- package/build/esm/constructor-items.js.map +1 -1
- package/build/esm/containers/PageConstructor/PageConstructor.d.ts +1 -1
- package/build/esm/containers/PageConstructor/PageConstructor.js +12 -20
- package/build/esm/containers/PageConstructor/PageConstructor.js.map +1 -1
- package/build/esm/containers/PageConstructor/Provider.js +0 -2
- package/build/esm/containers/PageConstructor/Provider.js.map +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.css +6 -10
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +1 -3
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js.map +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +6 -7
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js.map +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.d.ts +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js +1 -2
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js.map +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js +1 -2
- package/build/esm/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js.map +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js +2 -1
- package/build/esm/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js.map +1 -1
- package/build/esm/context/blockIdContext/blockIdContext.d.ts +2 -2
- package/build/esm/context/blockIdContext/blockIdContext.js +1 -1
- package/build/esm/context/blockIdContext/blockIdContext.js.map +1 -1
- package/build/esm/editor/components/CodeEditor/CodeEditor.d.ts +2 -1
- package/build/esm/editor/components/CodeEditor/CodeEditor.js +6 -4
- package/build/esm/editor/components/CodeEditor/CodeEditor.js.map +1 -1
- package/build/esm/grid/Grid/Grid.css +6 -2
- package/build/esm/hooks/useAnalytics.js +1 -1
- package/build/esm/hooks/useAnalytics.js.map +1 -1
- package/build/esm/models/constructor-items/blocks.d.ts +18 -2
- package/build/esm/models/constructor-items/blocks.js +1 -1
- package/build/esm/models/constructor-items/blocks.js.map +1 -1
- package/build/esm/models/constructor.d.ts +1 -4
- package/build/esm/models/constructor.js.map +1 -1
- package/build/esm/models/navigation.d.ts +2 -2
- package/build/esm/models/navigation.js.map +1 -1
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.js +2 -2
- package/build/esm/navigation/components/DesktopNavigation/DesktopNavigation.js.map +1 -1
- package/build/esm/navigation/components/Navigation/Navigation.d.ts +2 -2
- package/build/esm/navigation/components/Navigation/Navigation.js +1 -1
- package/build/esm/navigation/components/Navigation/Navigation.js.map +1 -1
- package/build/esm/navigation/components/NavigationItem/NavigationItem.js +1 -4
- package/build/esm/navigation/components/NavigationItem/NavigationItem.js.map +1 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js +1 -4
- package/build/esm/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js.map +1 -1
- package/build/esm/navigation/containers/Layout/Layout.css +1 -0
- package/build/esm/navigation/containers/Layout/Layout.js +1 -2
- package/build/esm/navigation/containers/Layout/Layout.js.map +1 -1
- package/build/esm/navigation/models.d.ts +1 -1
- package/build/esm/navigation/models.js.map +1 -1
- package/build/esm/schema/constants.js +2 -3
- package/build/esm/schema/constants.js.map +1 -1
- package/build/esm/schema/index.d.ts +0 -256
- package/build/esm/schema/index.js +5 -11
- package/build/esm/schema/index.js.map +1 -1
- package/build/esm/schema/validators/blocks.d.ts +1 -0
- package/build/esm/schema/validators/blocks.js +1 -0
- package/build/esm/schema/validators/blocks.js.map +1 -1
- package/build/esm/sub-blocks/BannerCard/BannerCard.js +1 -2
- package/build/esm/sub-blocks/BannerCard/BannerCard.js.map +1 -1
- package/build/esm/sub-blocks/Content/schema.d.ts +0 -1
- package/build/esm/sub-blocks/Content/schema.js +0 -1
- package/build/esm/sub-blocks/Content/schema.js.map +1 -1
- package/build/esm/sub-blocks/ImageCard/ImageCard.js +1 -1
- package/build/esm/sub-blocks/ImageCard/ImageCard.js.map +1 -1
- package/build/esm/sub-blocks/LayoutItem/LayoutItem.js +1 -1
- package/build/esm/sub-blocks/LayoutItem/LayoutItem.js.map +1 -1
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +206 -211
- package/build/esm/sub-blocks/LayoutItem/schema.js +2 -3
- package/build/esm/sub-blocks/LayoutItem/schema.js.map +1 -1
- package/build/esm/sub-blocks/PriceDetailed/PriceDetailed.js +1 -1
- package/build/esm/sub-blocks/PriceDetailed/PriceDetailed.js.map +1 -1
- package/build/esm/utils/index.d.ts +0 -1
- package/build/esm/utils/index.js +0 -1
- package/build/esm/utils/index.js.map +1 -1
- package/package.json +15 -28
- package/schema/index.js +1 -1
- package/server/models/constructor-items/blocks.d.ts +18 -2
- package/server/models/constructor-items/blocks.js +1 -1
- package/server/models/constructor.d.ts +1 -4
- package/server/models/navigation.d.ts +2 -2
- package/server/utils/index.d.ts +0 -1
- package/server/utils/index.js +0 -1
- package/styles/mixins.scss +9 -9
- package/widget/{5287.index.js → 1092.index.js} +1 -1
- package/widget/{8092.index.js → 1130.index.js} +1 -1
- package/widget/1219.index.js +1 -0
- package/widget/{2390.index.js → 122.index.js} +1 -1
- package/widget/{6817.index.js → 1289.index.js} +1 -1
- package/widget/{2921.index.js → 1335.index.js} +1 -1
- package/widget/{1876.index.js → 1340.index.js} +1 -1
- package/widget/{3901.index.js → 1349.index.js} +1 -1
- package/widget/1532.index.js +1 -0
- package/widget/{2957.index.js → 1750.index.js} +1 -1
- package/widget/{5105.index.js → 1995.index.js} +1 -1
- package/widget/{5418.index.js → 2010.index.js} +1 -1
- package/widget/{9517.index.js → 2026.index.js} +1 -1
- package/widget/{1794.index.js → 2187.index.js} +1 -1
- package/widget/{7548.index.js → 2218.index.js} +1 -1
- package/widget/225.index.js +1 -0
- package/widget/2338.index.js +1 -0
- package/widget/{4653.index.js → 2355.index.js} +1 -1
- package/widget/{5001.index.js → 2369.index.js} +1 -1
- package/widget/{4127.index.js → 2487.index.js} +1 -1
- package/widget/{6165.index.js → 2498.index.js} +1 -1
- package/widget/{5254.index.js → 2509.index.js} +1 -1
- package/widget/2544.index.js +1 -1
- package/widget/2619.index.js +1 -0
- package/widget/{5941.index.js → 2673.index.js} +1 -1
- package/widget/{4717.index.js → 2698.index.js} +1 -1
- package/widget/{7427.index.js → 2706.index.js} +1 -1
- package/widget/{8602.index.js → 2739.index.js} +1 -1
- package/widget/2745.index.js +1 -0
- package/widget/2796.index.js +1 -0
- package/widget/{7573.index.js → 2830.index.js} +1 -1
- package/widget/{3237.index.js → 2878.index.js} +1 -1
- package/widget/292.index.js +1 -0
- package/widget/2979.index.js +1 -0
- package/widget/3187.index.js +1 -0
- package/widget/321.index.js +1 -0
- package/widget/{5437.index.js → 3222.index.js} +1 -1
- package/widget/{1987.index.js → 3225.index.js} +1 -1
- package/widget/{7719.index.js → 3309.index.js} +1 -1
- package/widget/{4254.index.js → 3433.index.js} +1 -1
- package/widget/{2722.index.js → 3473.index.js} +1 -1
- package/widget/3532.index.js +1 -0
- package/widget/3562.index.js +1 -0
- package/widget/{6148.index.js → 3672.index.js} +1 -1
- package/widget/{4990.index.js → 3713.index.js} +1 -1
- package/widget/{8894.index.js → 3860.index.js} +1 -1
- package/widget/{5551.index.js → 3900.index.js} +1 -1
- package/widget/{6629.index.js → 4007.index.js} +1 -1
- package/widget/{7467.index.js → 4061.index.js} +1 -1
- package/widget/{5423.index.js → 4072.index.js} +1 -1
- package/widget/{4144.index.js → 4173.index.js} +1 -1
- package/widget/4288.index.js +1 -0
- package/widget/{8242.index.js → 4309.index.js} +1 -1
- package/widget/{8146.index.js → 4334.index.js} +1 -1
- package/widget/{9339.index.js → 4405.index.js} +1 -1
- package/widget/4457.index.js +1 -0
- package/widget/{8768.index.js → 4485.index.js} +1 -1
- package/widget/4509.index.js +1 -0
- package/widget/{4067.index.js → 4608.index.js} +1 -1
- package/widget/465.index.js +1 -0
- package/widget/{7118.index.js → 4719.index.js} +1 -1
- package/widget/4734.index.js +1 -0
- package/widget/4780.index.js +1 -0
- package/widget/4895.index.js +1 -0
- package/widget/{790.index.js → 494.index.js} +1 -1
- package/widget/5012.index.js +1 -0
- package/widget/{4722.index.js → 5084.index.js} +1 -1
- package/widget/5285.index.js +1 -0
- package/widget/5376.index.js +1 -0
- package/widget/539.index.js +1 -0
- package/widget/5414.index.js +1 -0
- package/widget/{8980.index.js → 5513.index.js} +1 -1
- package/widget/5530.index.js +1 -0
- package/widget/5571.index.js +1 -0
- package/widget/{8540.index.js → 5592.index.js} +1 -1
- package/widget/5616.index.js +1 -0
- package/widget/{5903.index.js → 5662.index.js} +1 -1
- package/widget/{7109.index.js → 5665.index.js} +1 -1
- package/widget/{8792.index.js → 5681.index.js} +1 -1
- package/widget/5760.index.js +1 -0
- package/widget/{6257.index.js → 5811.index.js} +1 -1
- package/widget/{5054.index.js → 5826.index.js} +1 -1
- package/widget/{1560.index.js → 5877.index.js} +1 -1
- package/widget/{9149.index.js → 5944.index.js} +1 -1
- package/widget/{8341.index.js → 5977.index.js} +1 -1
- package/widget/{3646.index.js → 5993.index.js} +1 -1
- package/widget/{2009.index.js → 6007.index.js} +1 -1
- package/widget/{3852.index.js → 6033.index.js} +1 -1
- package/widget/{5567.index.js → 6101.index.js} +1 -1
- package/widget/623.index.js +1 -0
- package/widget/{7989.index.js → 6290.index.js} +1 -1
- package/widget/6364.index.js +1 -0
- package/widget/{7387.index.js → 6400.index.js} +1 -1
- package/widget/{5473.index.js → 6462.index.js} +1 -1
- package/widget/6467.index.js +1 -0
- package/widget/{6622.index.js → 6481.index.js} +1 -1
- package/widget/{4888.index.js → 6605.index.js} +1 -1
- package/widget/{2966.index.js → 6803.index.js} +1 -1
- package/widget/{5627.index.js → 6847.index.js} +1 -1
- package/widget/{2019.index.js → 7081.index.js} +1 -1
- package/widget/7205.index.js +1 -0
- package/widget/{5596.index.js → 7250.index.js} +1 -1
- package/widget/{7763.index.js → 7317.index.js} +1 -1
- package/widget/7329.index.js +1 -0
- package/widget/{5159.index.js → 7406.index.js} +1 -1
- package/widget/{7632.index.js → 7409.index.js} +1 -1
- package/widget/{3783.index.js → 7420.index.js} +1 -1
- package/widget/{7101.index.js → 7439.index.js} +1 -1
- package/widget/{9197.index.js → 7674.index.js} +1 -1
- package/widget/{5805.index.js → 7690.index.js} +1 -1
- package/widget/{2641.index.js → 7741.index.js} +1 -1
- package/widget/{4724.index.js → 7933.index.js} +1 -1
- package/widget/{9132.index.js → 8003.index.js} +1 -1
- package/widget/813.index.js +1 -0
- package/widget/{6513.index.js → 8142.index.js} +1 -1
- package/widget/{8562.index.js → 8298.index.js} +1 -1
- package/widget/{7200.index.js → 8361.index.js} +1 -1
- package/widget/{4855.index.js → 8418.index.js} +1 -1
- package/widget/860.index.js +1 -0
- package/widget/{1796.index.js → 8615.index.js} +1 -1
- package/widget/{6312.index.js → 8660.index.js} +1 -1
- package/widget/880.index.js +1 -0
- package/widget/8804.index.js +1 -0
- package/widget/8809.index.js +1 -0
- package/widget/{9157.index.js → 8928.index.js} +1 -1
- package/widget/912.index.js +1 -0
- package/widget/9160.index.js +1 -0
- package/widget/{5914.index.js → 9252.index.js} +1 -1
- package/widget/{3706.index.js → 9286.index.js} +1 -1
- package/widget/{2502.index.js → 9294.index.js} +1 -1
- package/widget/{9182.index.js → 9423.index.js} +1 -1
- package/widget/{8477.index.js → 9464.index.js} +1 -1
- package/widget/950.index.js +1 -0
- package/widget/952.index.js +1 -0
- package/widget/9677.index.js +1 -0
- package/widget/9751.index.js +1 -0
- package/widget/{3220.index.js → 9836.index.js} +1 -1
- package/widget/{2376.index.js → 9865.index.js} +1 -1
- package/widget/{5109.index.js → 9881.index.js} +1 -1
- package/widget/9911.index.js +1 -1
- package/widget/{7822.index.js → 9964.index.js} +1 -1
- package/widget/{9091.index.js → 9990.index.js} +1 -1
- package/widget/9998.index.js +1 -0
- package/widget/index.js +1 -1
- package/build/cjs/blocks/Banner/index.d.ts +0 -3
- package/build/cjs/blocks/Banner/index.js +0 -24
- package/build/cjs/blocks/Banner/index.js.map +0 -1
- package/build/cjs/blocks/CardLayout/index.d.ts +0 -5
- package/build/cjs/blocks/CardLayout/index.js +0 -186
- package/build/cjs/blocks/CardLayout/index.js.map +0 -1
- package/build/cjs/blocks/Companies/index.d.ts +0 -3
- package/build/cjs/blocks/Companies/index.js +0 -20
- package/build/cjs/blocks/Companies/index.js.map +0 -1
- package/build/cjs/blocks/ContentLayout/index.d.ts +0 -41
- package/build/cjs/blocks/ContentLayout/index.js +0 -81
- package/build/cjs/blocks/ContentLayout/index.js.map +0 -1
- package/build/cjs/blocks/ExtendedFeatures/index.d.ts +0 -58
- package/build/cjs/blocks/ExtendedFeatures/index.js +0 -77
- package/build/cjs/blocks/ExtendedFeatures/index.js.map +0 -1
- package/build/cjs/blocks/FilterBlock/index.d.ts +0 -29
- package/build/cjs/blocks/FilterBlock/index.js +0 -98
- package/build/cjs/blocks/FilterBlock/index.js.map +0 -1
- package/build/cjs/blocks/Form/index.d.ts +0 -13
- package/build/cjs/blocks/Form/index.js +0 -20
- package/build/cjs/blocks/Form/index.js.map +0 -1
- package/build/cjs/blocks/Header/dynamic-form.d.ts +0 -2
- package/build/cjs/blocks/Header/dynamic-form.js +0 -731
- package/build/cjs/blocks/Header/dynamic-form.js.map +0 -1
- package/build/cjs/blocks/Header/index.d.ts +0 -20
- package/build/cjs/blocks/Header/index.js +0 -34
- package/build/cjs/blocks/Header/index.js.map +0 -1
- package/build/cjs/blocks/HeaderSlider/index.d.ts +0 -32
- package/build/cjs/blocks/HeaderSlider/index.js +0 -40
- package/build/cjs/blocks/HeaderSlider/index.js.map +0 -1
- package/build/cjs/blocks/Icons/index.d.ts +0 -20
- package/build/cjs/blocks/Icons/index.js +0 -64
- package/build/cjs/blocks/Icons/index.js.map +0 -1
- package/build/cjs/blocks/Info/index.d.ts +0 -22
- package/build/cjs/blocks/Info/index.js +0 -43
- package/build/cjs/blocks/Info/index.js.map +0 -1
- package/build/cjs/blocks/Map/index.d.ts +0 -12
- package/build/cjs/blocks/Map/index.js +0 -19
- package/build/cjs/blocks/Map/index.js.map +0 -1
- package/build/cjs/blocks/Media/index.d.ts +0 -39
- package/build/cjs/blocks/Media/index.js +0 -57
- package/build/cjs/blocks/Media/index.js.map +0 -1
- package/build/cjs/blocks/PromoFeaturesBlock/index.d.ts +0 -22
- package/build/cjs/blocks/PromoFeaturesBlock/index.js +0 -49
- package/build/cjs/blocks/PromoFeaturesBlock/index.js.map +0 -1
- package/build/cjs/blocks/Questions/index.d.ts +0 -30
- package/build/cjs/blocks/Questions/index.js +0 -49
- package/build/cjs/blocks/Questions/index.js.map +0 -1
- package/build/cjs/blocks/Share/index.d.ts +0 -13
- package/build/cjs/blocks/Share/index.js +0 -20
- package/build/cjs/blocks/Share/index.js.map +0 -1
- package/build/cjs/blocks/Slider/dynamic-form.d.ts +0 -3
- package/build/cjs/blocks/Slider/dynamic-form.js +0 -226
- package/build/cjs/blocks/Slider/dynamic-form.js.map +0 -1
- package/build/cjs/blocks/Slider/index.d.ts +0 -28
- package/build/cjs/blocks/Slider/index.js +0 -47
- package/build/cjs/blocks/Slider/index.js.map +0 -1
- package/build/cjs/blocks/Table/index.d.ts +0 -18
- package/build/cjs/blocks/Table/index.js +0 -32
- package/build/cjs/blocks/Table/index.js.map +0 -1
- package/build/cjs/blocks/Tabs/index.d.ts +0 -17
- package/build/cjs/blocks/Tabs/index.js +0 -31
- package/build/cjs/blocks/Tabs/index.js.map +0 -1
- package/build/cjs/blocks/TestEditorBlock/TestEditorBlock.d.ts +0 -5
- package/build/cjs/blocks/TestEditorBlock/TestEditorBlock.js +0 -12
- package/build/cjs/blocks/TestEditorBlock/TestEditorBlock.js.map +0 -1
- package/build/cjs/blocks/TestEditorBlock/form.d.ts +0 -3
- package/build/cjs/blocks/TestEditorBlock/form.js +0 -91
- package/build/cjs/blocks/TestEditorBlock/form.js.map +0 -1
- package/build/cjs/blocks/TestEditorBlock/index.d.ts +0 -11
- package/build/cjs/blocks/TestEditorBlock/index.js +0 -18
- package/build/cjs/blocks/TestEditorBlock/index.js.map +0 -1
- package/build/cjs/common/postMessage.d.ts +0 -4
- package/build/cjs/common/postMessage.js +0 -31
- package/build/cjs/common/postMessage.js.map +0 -1
- package/build/cjs/common/store.d.ts +0 -40
- package/build/cjs/common/store.js +0 -20
- package/build/cjs/common/store.js.map +0 -1
- package/build/cjs/common/types/actions.d.ts +0 -36
- package/build/cjs/common/types/actions.js +0 -3
- package/build/cjs/common/types/actions.js.map +0 -1
- package/build/cjs/common/types/common.d.ts +0 -5
- package/build/cjs/common/types/common.js +0 -3
- package/build/cjs/common/types/common.js.map +0 -1
- package/build/cjs/common/types/forms.d.ts +0 -97
- package/build/cjs/common/types/forms.js +0 -3
- package/build/cjs/common/types/forms.js.map +0 -1
- package/build/cjs/common/types/index.d.ts +0 -4
- package/build/cjs/common/types/index.js +0 -8
- package/build/cjs/common/types/index.js.map +0 -1
- package/build/cjs/common/types/messages.d.ts +0 -9
- package/build/cjs/common/types/messages.js +0 -3
- package/build/cjs/common/types/messages.js.map +0 -1
- package/build/cjs/common/utils.d.ts +0 -25
- package/build/cjs/common/utils.js +0 -22
- package/build/cjs/common/utils.js.map +0 -1
- package/build/cjs/components/Image/dynamic-form.d.ts +0 -2
- package/build/cjs/components/Image/dynamic-form.js +0 -85
- package/build/cjs/components/Image/dynamic-form.js.map +0 -1
- package/build/cjs/components/editor/ItemWrap/ItemWrap.css +0 -9
- package/build/cjs/components/editor/ItemWrap/ItemWrap.d.ts +0 -6
- package/build/cjs/components/editor/ItemWrap/ItemWrap.js +0 -12
- package/build/cjs/components/editor/ItemWrap/ItemWrap.js.map +0 -1
- package/build/cjs/context/editorStoreContext/PCEditorStoreContext.d.ts +0 -7
- package/build/cjs/context/editorStoreContext/PCEditorStoreContext.js +0 -10
- package/build/cjs/context/editorStoreContext/PCEditorStoreContext.js.map +0 -1
- package/build/cjs/context/editorStoreContext/PCEditorStoreProvider.d.ts +0 -5
- package/build/cjs/context/editorStoreContext/PCEditorStoreProvider.js +0 -34
- package/build/cjs/context/editorStoreContext/PCEditorStoreProvider.js.map +0 -1
- package/build/cjs/context/editorStoreContext/index.d.ts +0 -2
- package/build/cjs/context/editorStoreContext/index.js +0 -6
- package/build/cjs/context/editorStoreContext/index.js.map +0 -1
- package/build/cjs/editor/data/templates/test-editor-block.json +0 -18
- package/build/cjs/editor-v2/components/DynamicForm/DynamicForm.css +0 -0
- package/build/cjs/editor-v2/components/DynamicForm/DynamicForm.d.ts +0 -9
- package/build/cjs/editor-v2/components/DynamicForm/DynamicForm.js +0 -115
- package/build/cjs/editor-v2/components/DynamicForm/DynamicForm.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/FieldBase/FieldBase.css +0 -76
- package/build/cjs/editor-v2/components/DynamicForm/FieldBase/FieldBase.d.ts +0 -12
- package/build/cjs/editor-v2/components/DynamicForm/FieldBase/FieldBase.js +0 -27
- package/build/cjs/editor-v2/components/DynamicForm/FieldBase/FieldBase.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/Array.css +0 -37
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/Array.d.ts +0 -11
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/Array.js +0 -68
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/Array.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.d.ts +0 -10
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.js +0 -22
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.css +0 -3
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.d.ts +0 -8
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.js +0 -13
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Number/Number.d.ts +0 -8
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Number/Number.js +0 -16
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Number/Number.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Object/Object.d.ts +0 -10
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Object/Object.js +0 -12
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Object/Object.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.css +0 -6
- package/build/cjs/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.d.ts +0 -9
- package/build/cjs/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.js +0 -35
- package/build/cjs/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Select/Select.css +0 -3
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Select/Select.d.ts +0 -11
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Select/Select.js +0 -14
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Select/Select.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Text/Text.d.ts +0 -8
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Text/Text.js +0 -13
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Text/Text.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.d.ts +0 -8
- package/build/cjs/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.js +0 -13
- package/build/cjs/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.js.map +0 -1
- package/build/cjs/editor-v2/components/DynamicForm/utils.d.ts +0 -3
- package/build/cjs/editor-v2/components/DynamicForm/utils.js +0 -23
- package/build/cjs/editor-v2/components/DynamicForm/utils.js.map +0 -1
- package/build/cjs/editor-v2/components/Panels/Panels.css +0 -24
- package/build/cjs/editor-v2/components/Panels/Panels.d.ts +0 -8
- package/build/cjs/editor-v2/components/Panels/Panels.js +0 -28
- package/build/cjs/editor-v2/components/Panels/Panels.js.map +0 -1
- package/build/cjs/editor-v2/components/Sidebar/Sidebar.css +0 -14
- package/build/cjs/editor-v2/components/Sidebar/Sidebar.d.ts +0 -10
- package/build/cjs/editor-v2/components/Sidebar/Sidebar.js +0 -13
- package/build/cjs/editor-v2/components/Sidebar/Sidebar.js.map +0 -1
- package/build/cjs/editor-v2/components/Tabs/Tabs.css +0 -31
- package/build/cjs/editor-v2/components/Tabs/Tabs.d.ts +0 -13
- package/build/cjs/editor-v2/components/Tabs/Tabs.js +0 -32
- package/build/cjs/editor-v2/components/Tabs/Tabs.js.map +0 -1
- package/build/cjs/editor-v2/constants.d.ts +0 -1
- package/build/cjs/editor-v2/constants.js +0 -5
- package/build/cjs/editor-v2/constants.js.map +0 -1
- package/build/cjs/editor-v2/containers/BigOverlay/BigOverlay.css +0 -22
- package/build/cjs/editor-v2/containers/BigOverlay/BigOverlay.d.ts +0 -4
- package/build/cjs/editor-v2/containers/BigOverlay/BigOverlay.js +0 -58
- package/build/cjs/editor-v2/containers/BigOverlay/BigOverlay.js.map +0 -1
- package/build/cjs/editor-v2/containers/BlockConfigForm/BlockConfigForm.css +0 -20
- package/build/cjs/editor-v2/containers/BlockConfigForm/BlockConfigForm.d.ts +0 -5
- package/build/cjs/editor-v2/containers/BlockConfigForm/BlockConfigForm.js +0 -28
- package/build/cjs/editor-v2/containers/BlockConfigForm/BlockConfigForm.js.map +0 -1
- package/build/cjs/editor-v2/containers/BlocksList/BlocksList.css +0 -52
- package/build/cjs/editor-v2/containers/BlocksList/BlocksList.d.ts +0 -2
- package/build/cjs/editor-v2/containers/BlocksList/BlocksList.js +0 -43
- package/build/cjs/editor-v2/containers/BlocksList/BlocksList.js.map +0 -1
- package/build/cjs/editor-v2/containers/Editor/Editor.css +0 -38
- package/build/cjs/editor-v2/containers/Editor/Editor.d.ts +0 -21
- package/build/cjs/editor-v2/containers/Editor/Editor.js +0 -41
- package/build/cjs/editor-v2/containers/Editor/Editor.js.map +0 -1
- package/build/cjs/editor-v2/containers/GlobalConfig/GlobalConfig.css +0 -9
- package/build/cjs/editor-v2/containers/GlobalConfig/GlobalConfig.d.ts +0 -5
- package/build/cjs/editor-v2/containers/GlobalConfig/GlobalConfig.js +0 -17
- package/build/cjs/editor-v2/containers/GlobalConfig/GlobalConfig.js.map +0 -1
- package/build/cjs/editor-v2/containers/MiddleScreen/MiddleScreen.css +0 -49
- package/build/cjs/editor-v2/containers/MiddleScreen/MiddleScreen.d.ts +0 -7
- package/build/cjs/editor-v2/containers/MiddleScreen/MiddleScreen.js +0 -34
- package/build/cjs/editor-v2/containers/MiddleScreen/MiddleScreen.js.map +0 -1
- package/build/cjs/editor-v2/containers/Overlay/Overlay.css +0 -64
- package/build/cjs/editor-v2/containers/Overlay/Overlay.d.ts +0 -6
- package/build/cjs/editor-v2/containers/Overlay/Overlay.js +0 -90
- package/build/cjs/editor-v2/containers/Overlay/Overlay.js.map +0 -1
- package/build/cjs/editor-v2/containers/Source/Source.css +0 -14
- package/build/cjs/editor-v2/containers/Source/Source.d.ts +0 -2
- package/build/cjs/editor-v2/containers/Source/Source.js +0 -28
- package/build/cjs/editor-v2/containers/Source/Source.js.map +0 -1
- package/build/cjs/editor-v2/containers/SourceCode/SourceCode.css +0 -37
- package/build/cjs/editor-v2/containers/SourceCode/SourceCode.d.ts +0 -6
- package/build/cjs/editor-v2/containers/SourceCode/SourceCode.js +0 -41
- package/build/cjs/editor-v2/containers/SourceCode/SourceCode.js.map +0 -1
- package/build/cjs/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.css +0 -3
- package/build/cjs/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.d.ts +0 -7
- package/build/cjs/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.js +0 -18
- package/build/cjs/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.js.map +0 -1
- package/build/cjs/editor-v2/containers/Tree/DragContext.css +0 -25
- package/build/cjs/editor-v2/containers/Tree/DragContext.d.ts +0 -14
- package/build/cjs/editor-v2/containers/Tree/DragContext.js +0 -49
- package/build/cjs/editor-v2/containers/Tree/DragContext.js.map +0 -1
- package/build/cjs/editor-v2/containers/Tree/Tree.css +0 -10
- package/build/cjs/editor-v2/containers/Tree/Tree.d.ts +0 -2
- package/build/cjs/editor-v2/containers/Tree/Tree.js +0 -36
- package/build/cjs/editor-v2/containers/Tree/Tree.js.map +0 -1
- package/build/cjs/editor-v2/containers/Tree/TreeContent.css +0 -12
- package/build/cjs/editor-v2/containers/Tree/TreeContent.d.ts +0 -16
- package/build/cjs/editor-v2/containers/Tree/TreeContent.js +0 -61
- package/build/cjs/editor-v2/containers/Tree/TreeContent.js.map +0 -1
- package/build/cjs/editor-v2/containers/Tree/TreeItem.css +0 -50
- package/build/cjs/editor-v2/containers/Tree/TreeItem.d.ts +0 -13
- package/build/cjs/editor-v2/containers/Tree/TreeItem.js +0 -144
- package/build/cjs/editor-v2/containers/Tree/TreeItem.js.map +0 -1
- package/build/cjs/editor-v2/containers/Tree/index.d.ts +0 -4
- package/build/cjs/editor-v2/containers/Tree/index.js +0 -10
- package/build/cjs/editor-v2/containers/Tree/index.js.map +0 -1
- package/build/cjs/editor-v2/containers/ViewSwitches/ViewSwitches.css +0 -13
- package/build/cjs/editor-v2/containers/ViewSwitches/ViewSwitches.d.ts +0 -3
- package/build/cjs/editor-v2/containers/ViewSwitches/ViewSwitches.js +0 -54
- package/build/cjs/editor-v2/containers/ViewSwitches/ViewSwitches.js.map +0 -1
- package/build/cjs/editor-v2/containers/index.d.ts +0 -7
- package/build/cjs/editor-v2/containers/index.js +0 -19
- package/build/cjs/editor-v2/containers/index.js.map +0 -1
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreContext.d.ts +0 -7
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreContext.js +0 -10
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreContext.js.map +0 -1
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreProvider.d.ts +0 -5
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreProvider.js +0 -35
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreProvider.js.map +0 -1
- package/build/cjs/editor-v2/context/editorStore/index.d.ts +0 -2
- package/build/cjs/editor-v2/context/editorStore/index.js +0 -6
- package/build/cjs/editor-v2/context/editorStore/index.js.map +0 -1
- package/build/cjs/editor-v2/context/iframeContext/IframeContext.d.ts +0 -12
- package/build/cjs/editor-v2/context/iframeContext/IframeContext.js +0 -14
- package/build/cjs/editor-v2/context/iframeContext/IframeContext.js.map +0 -1
- package/build/cjs/editor-v2/context/iframeContext/IframeProvider.d.ts +0 -7
- package/build/cjs/editor-v2/context/iframeContext/IframeProvider.js +0 -21
- package/build/cjs/editor-v2/context/iframeContext/IframeProvider.js.map +0 -1
- package/build/cjs/editor-v2/context/iframeContext/index.d.ts +0 -2
- package/build/cjs/editor-v2/context/iframeContext/index.js +0 -6
- package/build/cjs/editor-v2/context/iframeContext/index.js.map +0 -1
- package/build/cjs/editor-v2/hooks/index.d.ts +0 -2
- package/build/cjs/editor-v2/hooks/index.js +0 -8
- package/build/cjs/editor-v2/hooks/index.js.map +0 -1
- package/build/cjs/editor-v2/hooks/useEditorTabs.d.ts +0 -16
- package/build/cjs/editor-v2/hooks/useEditorTabs.js +0 -77
- package/build/cjs/editor-v2/hooks/useEditorTabs.js.map +0 -1
- package/build/cjs/editor-v2/hooks/useMainEditorInitialize.d.ts +0 -2
- package/build/cjs/editor-v2/hooks/useMainEditorInitialize.js +0 -31
- package/build/cjs/editor-v2/hooks/useMainEditorInitialize.js.map +0 -1
- package/build/cjs/editor-v2/hooks/useMainEditorStore.d.ts +0 -1
- package/build/cjs/editor-v2/hooks/useMainEditorStore.js +0 -13
- package/build/cjs/editor-v2/hooks/useMainEditorStore.js.map +0 -1
- package/build/cjs/editor-v2/hooks/usePostMessageEvents.d.ts +0 -6
- package/build/cjs/editor-v2/hooks/usePostMessageEvents.js +0 -19
- package/build/cjs/editor-v2/hooks/usePostMessageEvents.js.map +0 -1
- package/build/cjs/editor-v2/index.d.ts +0 -5
- package/build/cjs/editor-v2/index.js +0 -9
- package/build/cjs/editor-v2/index.js.map +0 -1
- package/build/cjs/editor-v2/store.d.ts +0 -48
- package/build/cjs/editor-v2/store.js +0 -181
- package/build/cjs/editor-v2/store.js.map +0 -1
- package/build/cjs/editor-v2/styles/mixins.css +0 -0
- package/build/cjs/editor-v2/styles/root.css +0 -9
- package/build/cjs/editor-v2/styles/variables.css +0 -0
- package/build/cjs/editor-v2/utils/cn.d.ts +0 -2
- package/build/cjs/editor-v2/utils/cn.js +0 -7
- package/build/cjs/editor-v2/utils/cn.js.map +0 -1
- package/build/cjs/editor-v2/utils/code.d.ts +0 -6
- package/build/cjs/editor-v2/utils/code.js +0 -13
- package/build/cjs/editor-v2/utils/code.js.map +0 -1
- package/build/cjs/editor-v2/utils/index.d.ts +0 -20
- package/build/cjs/editor-v2/utils/index.js +0 -161
- package/build/cjs/editor-v2/utils/index.js.map +0 -1
- package/build/cjs/hooks/usePCEditorBlockMouseEvents.d.ts +0 -8
- package/build/cjs/hooks/usePCEditorBlockMouseEvents.js +0 -50
- package/build/cjs/hooks/usePCEditorBlockMouseEvents.js.map +0 -1
- package/build/cjs/hooks/usePCEditorBlockSelection.d.ts +0 -2
- package/build/cjs/hooks/usePCEditorBlockSelection.js +0 -30
- package/build/cjs/hooks/usePCEditorBlockSelection.js.map +0 -1
- package/build/cjs/hooks/usePCEditorInitializeEvents.d.ts +0 -7
- package/build/cjs/hooks/usePCEditorInitializeEvents.js +0 -63
- package/build/cjs/hooks/usePCEditorInitializeEvents.js.map +0 -1
- package/build/cjs/hooks/usePCEditorItemWrap.d.ts +0 -10
- package/build/cjs/hooks/usePCEditorItemWrap.js +0 -21
- package/build/cjs/hooks/usePCEditorItemWrap.js.map +0 -1
- package/build/cjs/hooks/usePCEditorStore.d.ts +0 -1
- package/build/cjs/hooks/usePCEditorStore.js +0 -13
- package/build/cjs/hooks/usePCEditorStore.js.map +0 -1
- package/build/cjs/hooks/usePostMessageAPI.d.ts +0 -4
- package/build/cjs/hooks/usePostMessageAPI.js +0 -30
- package/build/cjs/hooks/usePostMessageAPI.js.map +0 -1
- package/build/cjs/sub-blocks/BackgroundCard/dynamic-form.d.ts +0 -2
- package/build/cjs/sub-blocks/BackgroundCard/dynamic-form.js +0 -82
- package/build/cjs/sub-blocks/BackgroundCard/dynamic-form.js.map +0 -1
- package/build/cjs/sub-blocks/BackgroundCard/index.d.ts +0 -3
- package/build/cjs/sub-blocks/BackgroundCard/index.js +0 -22
- package/build/cjs/sub-blocks/BackgroundCard/index.js.map +0 -1
- package/build/cjs/sub-blocks/BannerCard/index.d.ts +0 -3
- package/build/cjs/sub-blocks/BannerCard/index.js +0 -24
- package/build/cjs/sub-blocks/BannerCard/index.js.map +0 -1
- package/build/cjs/sub-blocks/BasicCard/index.d.ts +0 -3
- package/build/cjs/sub-blocks/BasicCard/index.js +0 -20
- package/build/cjs/sub-blocks/BasicCard/index.js.map +0 -1
- package/build/cjs/sub-blocks/Content/index.d.ts +0 -3
- package/build/cjs/sub-blocks/Content/index.js +0 -20
- package/build/cjs/sub-blocks/Content/index.js.map +0 -1
- package/build/cjs/sub-blocks/Divider/index.d.ts +0 -3
- package/build/cjs/sub-blocks/Divider/index.js +0 -16
- package/build/cjs/sub-blocks/Divider/index.js.map +0 -1
- package/build/cjs/sub-blocks/ImageCard/index.d.ts +0 -3
- package/build/cjs/sub-blocks/ImageCard/index.js +0 -20
- package/build/cjs/sub-blocks/ImageCard/index.js.map +0 -1
- package/build/cjs/sub-blocks/LayoutItem/index.d.ts +0 -3
- package/build/cjs/sub-blocks/LayoutItem/index.js +0 -26
- package/build/cjs/sub-blocks/LayoutItem/index.js.map +0 -1
- package/build/cjs/sub-blocks/MediaCard/index.d.ts +0 -3
- package/build/cjs/sub-blocks/MediaCard/index.js +0 -23
- package/build/cjs/sub-blocks/MediaCard/index.js.map +0 -1
- package/build/cjs/sub-blocks/PriceCard/index.d.ts +0 -3
- package/build/cjs/sub-blocks/PriceCard/index.js +0 -33
- package/build/cjs/sub-blocks/PriceCard/index.js.map +0 -1
- package/build/cjs/sub-blocks/PriceDetailed/index.d.ts +0 -4
- package/build/cjs/sub-blocks/PriceDetailed/index.js +0 -35
- package/build/cjs/sub-blocks/PriceDetailed/index.js.map +0 -1
- package/build/cjs/sub-blocks/Quote/index.d.ts +0 -3
- package/build/cjs/sub-blocks/Quote/index.js +0 -23
- package/build/cjs/sub-blocks/Quote/index.js.map +0 -1
- package/build/cjs/utils/editor.d.ts +0 -2
- package/build/cjs/utils/editor.js +0 -25
- package/build/cjs/utils/editor.js.map +0 -1
- package/build/cjs/utils/form-generator.d.ts +0 -9
- package/build/cjs/utils/form-generator.js +0 -131
- package/build/cjs/utils/form-generator.js.map +0 -1
- package/build/cjs/utils/navigation.d.ts +0 -3
- package/build/cjs/utils/navigation.js +0 -14
- package/build/cjs/utils/navigation.js.map +0 -1
- package/build/esm/blocks/Banner/index.d.ts +0 -3
- package/build/esm/blocks/Banner/index.js +0 -21
- package/build/esm/blocks/Banner/index.js.map +0 -1
- package/build/esm/blocks/CardLayout/index.d.ts +0 -5
- package/build/esm/blocks/CardLayout/index.js +0 -182
- package/build/esm/blocks/CardLayout/index.js.map +0 -1
- package/build/esm/blocks/Companies/index.d.ts +0 -3
- package/build/esm/blocks/Companies/index.js +0 -17
- package/build/esm/blocks/Companies/index.js.map +0 -1
- package/build/esm/blocks/ContentLayout/index.d.ts +0 -41
- package/build/esm/blocks/ContentLayout/index.js +0 -78
- package/build/esm/blocks/ContentLayout/index.js.map +0 -1
- package/build/esm/blocks/ExtendedFeatures/index.d.ts +0 -58
- package/build/esm/blocks/ExtendedFeatures/index.js +0 -74
- package/build/esm/blocks/ExtendedFeatures/index.js.map +0 -1
- package/build/esm/blocks/FilterBlock/index.d.ts +0 -29
- package/build/esm/blocks/FilterBlock/index.js +0 -95
- package/build/esm/blocks/FilterBlock/index.js.map +0 -1
- package/build/esm/blocks/Form/index.d.ts +0 -13
- package/build/esm/blocks/Form/index.js +0 -17
- package/build/esm/blocks/Form/index.js.map +0 -1
- package/build/esm/blocks/Header/dynamic-form.d.ts +0 -2
- package/build/esm/blocks/Header/dynamic-form.js +0 -728
- package/build/esm/blocks/Header/dynamic-form.js.map +0 -1
- package/build/esm/blocks/Header/index.d.ts +0 -20
- package/build/esm/blocks/Header/index.js +0 -31
- package/build/esm/blocks/Header/index.js.map +0 -1
- package/build/esm/blocks/HeaderSlider/index.d.ts +0 -32
- package/build/esm/blocks/HeaderSlider/index.js +0 -37
- package/build/esm/blocks/HeaderSlider/index.js.map +0 -1
- package/build/esm/blocks/Icons/index.d.ts +0 -20
- package/build/esm/blocks/Icons/index.js +0 -61
- package/build/esm/blocks/Icons/index.js.map +0 -1
- package/build/esm/blocks/Info/index.d.ts +0 -22
- package/build/esm/blocks/Info/index.js +0 -40
- package/build/esm/blocks/Info/index.js.map +0 -1
- package/build/esm/blocks/Map/index.d.ts +0 -12
- package/build/esm/blocks/Map/index.js +0 -16
- package/build/esm/blocks/Map/index.js.map +0 -1
- package/build/esm/blocks/Media/index.d.ts +0 -39
- package/build/esm/blocks/Media/index.js +0 -54
- package/build/esm/blocks/Media/index.js.map +0 -1
- package/build/esm/blocks/PromoFeaturesBlock/index.d.ts +0 -22
- package/build/esm/blocks/PromoFeaturesBlock/index.js +0 -46
- package/build/esm/blocks/PromoFeaturesBlock/index.js.map +0 -1
- package/build/esm/blocks/Questions/index.d.ts +0 -30
- package/build/esm/blocks/Questions/index.js +0 -46
- package/build/esm/blocks/Questions/index.js.map +0 -1
- package/build/esm/blocks/Share/index.d.ts +0 -13
- package/build/esm/blocks/Share/index.js +0 -17
- package/build/esm/blocks/Share/index.js.map +0 -1
- package/build/esm/blocks/Slider/dynamic-form.d.ts +0 -3
- package/build/esm/blocks/Slider/dynamic-form.js +0 -223
- package/build/esm/blocks/Slider/dynamic-form.js.map +0 -1
- package/build/esm/blocks/Slider/index.d.ts +0 -28
- package/build/esm/blocks/Slider/index.js +0 -44
- package/build/esm/blocks/Slider/index.js.map +0 -1
- package/build/esm/blocks/Table/index.d.ts +0 -18
- package/build/esm/blocks/Table/index.js +0 -29
- package/build/esm/blocks/Table/index.js.map +0 -1
- package/build/esm/blocks/Tabs/index.d.ts +0 -17
- package/build/esm/blocks/Tabs/index.js +0 -28
- package/build/esm/blocks/Tabs/index.js.map +0 -1
- package/build/esm/blocks/TestEditorBlock/TestEditorBlock.d.ts +0 -5
- package/build/esm/blocks/TestEditorBlock/TestEditorBlock.js +0 -8
- package/build/esm/blocks/TestEditorBlock/TestEditorBlock.js.map +0 -1
- package/build/esm/blocks/TestEditorBlock/form.d.ts +0 -3
- package/build/esm/blocks/TestEditorBlock/form.js +0 -89
- package/build/esm/blocks/TestEditorBlock/form.js.map +0 -1
- package/build/esm/blocks/TestEditorBlock/index.d.ts +0 -11
- package/build/esm/blocks/TestEditorBlock/index.js +0 -14
- package/build/esm/blocks/TestEditorBlock/index.js.map +0 -1
- package/build/esm/common/postMessage.d.ts +0 -4
- package/build/esm/common/postMessage.js +0 -25
- package/build/esm/common/postMessage.js.map +0 -1
- package/build/esm/common/store.d.ts +0 -40
- package/build/esm/common/store.js +0 -17
- package/build/esm/common/store.js.map +0 -1
- package/build/esm/common/types/actions.d.ts +0 -36
- package/build/esm/common/types/actions.js +0 -2
- package/build/esm/common/types/actions.js.map +0 -1
- package/build/esm/common/types/common.d.ts +0 -5
- package/build/esm/common/types/common.js +0 -2
- package/build/esm/common/types/common.js.map +0 -1
- package/build/esm/common/types/forms.d.ts +0 -97
- package/build/esm/common/types/forms.js +0 -2
- package/build/esm/common/types/forms.js.map +0 -1
- package/build/esm/common/types/index.d.ts +0 -4
- package/build/esm/common/types/index.js +0 -5
- package/build/esm/common/types/index.js.map +0 -1
- package/build/esm/common/types/messages.d.ts +0 -9
- package/build/esm/common/types/messages.js +0 -2
- package/build/esm/common/types/messages.js.map +0 -1
- package/build/esm/common/utils.d.ts +0 -25
- package/build/esm/common/utils.js +0 -17
- package/build/esm/common/utils.js.map +0 -1
- package/build/esm/components/Image/dynamic-form.d.ts +0 -2
- package/build/esm/components/Image/dynamic-form.js +0 -81
- package/build/esm/components/Image/dynamic-form.js.map +0 -1
- package/build/esm/components/editor/ItemWrap/ItemWrap.css +0 -9
- package/build/esm/components/editor/ItemWrap/ItemWrap.d.ts +0 -7
- package/build/esm/components/editor/ItemWrap/ItemWrap.js +0 -11
- package/build/esm/components/editor/ItemWrap/ItemWrap.js.map +0 -1
- package/build/esm/context/editorStoreContext/PCEditorStoreContext.d.ts +0 -7
- package/build/esm/context/editorStoreContext/PCEditorStoreContext.js +0 -6
- package/build/esm/context/editorStoreContext/PCEditorStoreContext.js.map +0 -1
- package/build/esm/context/editorStoreContext/PCEditorStoreProvider.d.ts +0 -5
- package/build/esm/context/editorStoreContext/PCEditorStoreProvider.js +0 -29
- package/build/esm/context/editorStoreContext/PCEditorStoreProvider.js.map +0 -1
- package/build/esm/context/editorStoreContext/index.d.ts +0 -2
- package/build/esm/context/editorStoreContext/index.js +0 -3
- package/build/esm/context/editorStoreContext/index.js.map +0 -1
- package/build/esm/editor/data/templates/test-editor-block.json +0 -18
- package/build/esm/editor-v2/components/DynamicForm/DynamicForm.css +0 -0
- package/build/esm/editor-v2/components/DynamicForm/DynamicForm.d.ts +0 -10
- package/build/esm/editor-v2/components/DynamicForm/DynamicForm.js +0 -113
- package/build/esm/editor-v2/components/DynamicForm/DynamicForm.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/FieldBase/FieldBase.css +0 -76
- package/build/esm/editor-v2/components/DynamicForm/FieldBase/FieldBase.d.ts +0 -13
- package/build/esm/editor-v2/components/DynamicForm/FieldBase/FieldBase.js +0 -25
- package/build/esm/editor-v2/components/DynamicForm/FieldBase/FieldBase.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/Array.css +0 -37
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/Array.d.ts +0 -12
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/Array.js +0 -66
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/Array.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.d.ts +0 -10
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.js +0 -19
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.css +0 -3
- package/build/esm/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.d.ts +0 -9
- package/build/esm/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.js +0 -11
- package/build/esm/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/Fields/Number/Number.d.ts +0 -8
- package/build/esm/editor-v2/components/DynamicForm/Fields/Number/Number.js +0 -13
- package/build/esm/editor-v2/components/DynamicForm/Fields/Number/Number.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/Fields/Object/Object.d.ts +0 -10
- package/build/esm/editor-v2/components/DynamicForm/Fields/Object/Object.js +0 -9
- package/build/esm/editor-v2/components/DynamicForm/Fields/Object/Object.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.css +0 -6
- package/build/esm/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.d.ts +0 -10
- package/build/esm/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.js +0 -33
- package/build/esm/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/Fields/Select/Select.css +0 -3
- package/build/esm/editor-v2/components/DynamicForm/Fields/Select/Select.d.ts +0 -12
- package/build/esm/editor-v2/components/DynamicForm/Fields/Select/Select.js +0 -12
- package/build/esm/editor-v2/components/DynamicForm/Fields/Select/Select.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/Fields/Text/Text.d.ts +0 -8
- package/build/esm/editor-v2/components/DynamicForm/Fields/Text/Text.js +0 -10
- package/build/esm/editor-v2/components/DynamicForm/Fields/Text/Text.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.d.ts +0 -8
- package/build/esm/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.js +0 -10
- package/build/esm/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.js.map +0 -1
- package/build/esm/editor-v2/components/DynamicForm/utils.d.ts +0 -3
- package/build/esm/editor-v2/components/DynamicForm/utils.js +0 -17
- package/build/esm/editor-v2/components/DynamicForm/utils.js.map +0 -1
- package/build/esm/editor-v2/components/Panels/Panels.css +0 -24
- package/build/esm/editor-v2/components/Panels/Panels.d.ts +0 -9
- package/build/esm/editor-v2/components/Panels/Panels.js +0 -24
- package/build/esm/editor-v2/components/Panels/Panels.js.map +0 -1
- package/build/esm/editor-v2/components/Sidebar/Sidebar.css +0 -14
- package/build/esm/editor-v2/components/Sidebar/Sidebar.d.ts +0 -11
- package/build/esm/editor-v2/components/Sidebar/Sidebar.js +0 -9
- package/build/esm/editor-v2/components/Sidebar/Sidebar.js.map +0 -1
- package/build/esm/editor-v2/components/Tabs/Tabs.css +0 -31
- package/build/esm/editor-v2/components/Tabs/Tabs.d.ts +0 -14
- package/build/esm/editor-v2/components/Tabs/Tabs.js +0 -30
- package/build/esm/editor-v2/components/Tabs/Tabs.js.map +0 -1
- package/build/esm/editor-v2/constants.d.ts +0 -1
- package/build/esm/editor-v2/constants.js +0 -2
- package/build/esm/editor-v2/constants.js.map +0 -1
- package/build/esm/editor-v2/containers/BigOverlay/BigOverlay.css +0 -22
- package/build/esm/editor-v2/containers/BigOverlay/BigOverlay.d.ts +0 -5
- package/build/esm/editor-v2/containers/BigOverlay/BigOverlay.js +0 -56
- package/build/esm/editor-v2/containers/BigOverlay/BigOverlay.js.map +0 -1
- package/build/esm/editor-v2/containers/BlockConfigForm/BlockConfigForm.css +0 -20
- package/build/esm/editor-v2/containers/BlockConfigForm/BlockConfigForm.d.ts +0 -6
- package/build/esm/editor-v2/containers/BlockConfigForm/BlockConfigForm.js +0 -26
- package/build/esm/editor-v2/containers/BlockConfigForm/BlockConfigForm.js.map +0 -1
- package/build/esm/editor-v2/containers/BlocksList/BlocksList.css +0 -52
- package/build/esm/editor-v2/containers/BlocksList/BlocksList.d.ts +0 -3
- package/build/esm/editor-v2/containers/BlocksList/BlocksList.js +0 -41
- package/build/esm/editor-v2/containers/BlocksList/BlocksList.js.map +0 -1
- package/build/esm/editor-v2/containers/Editor/Editor.css +0 -38
- package/build/esm/editor-v2/containers/Editor/Editor.d.ts +0 -22
- package/build/esm/editor-v2/containers/Editor/Editor.js +0 -37
- package/build/esm/editor-v2/containers/Editor/Editor.js.map +0 -1
- package/build/esm/editor-v2/containers/GlobalConfig/GlobalConfig.css +0 -9
- package/build/esm/editor-v2/containers/GlobalConfig/GlobalConfig.d.ts +0 -6
- package/build/esm/editor-v2/containers/GlobalConfig/GlobalConfig.js +0 -15
- package/build/esm/editor-v2/containers/GlobalConfig/GlobalConfig.js.map +0 -1
- package/build/esm/editor-v2/containers/MiddleScreen/MiddleScreen.css +0 -49
- package/build/esm/editor-v2/containers/MiddleScreen/MiddleScreen.d.ts +0 -8
- package/build/esm/editor-v2/containers/MiddleScreen/MiddleScreen.js +0 -32
- package/build/esm/editor-v2/containers/MiddleScreen/MiddleScreen.js.map +0 -1
- package/build/esm/editor-v2/containers/Overlay/Overlay.css +0 -64
- package/build/esm/editor-v2/containers/Overlay/Overlay.d.ts +0 -7
- package/build/esm/editor-v2/containers/Overlay/Overlay.js +0 -88
- package/build/esm/editor-v2/containers/Overlay/Overlay.js.map +0 -1
- package/build/esm/editor-v2/containers/Source/Source.css +0 -14
- package/build/esm/editor-v2/containers/Source/Source.d.ts +0 -3
- package/build/esm/editor-v2/containers/Source/Source.js +0 -26
- package/build/esm/editor-v2/containers/Source/Source.js.map +0 -1
- package/build/esm/editor-v2/containers/SourceCode/SourceCode.css +0 -37
- package/build/esm/editor-v2/containers/SourceCode/SourceCode.d.ts +0 -7
- package/build/esm/editor-v2/containers/SourceCode/SourceCode.js +0 -39
- package/build/esm/editor-v2/containers/SourceCode/SourceCode.js.map +0 -1
- package/build/esm/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.css +0 -3
- package/build/esm/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.d.ts +0 -8
- package/build/esm/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.js +0 -14
- package/build/esm/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.js.map +0 -1
- package/build/esm/editor-v2/containers/Tree/DragContext.css +0 -25
- package/build/esm/editor-v2/containers/Tree/DragContext.d.ts +0 -15
- package/build/esm/editor-v2/containers/Tree/DragContext.js +0 -45
- package/build/esm/editor-v2/containers/Tree/DragContext.js.map +0 -1
- package/build/esm/editor-v2/containers/Tree/Tree.css +0 -10
- package/build/esm/editor-v2/containers/Tree/Tree.d.ts +0 -3
- package/build/esm/editor-v2/containers/Tree/Tree.js +0 -34
- package/build/esm/editor-v2/containers/Tree/Tree.js.map +0 -1
- package/build/esm/editor-v2/containers/Tree/TreeContent.css +0 -12
- package/build/esm/editor-v2/containers/Tree/TreeContent.d.ts +0 -17
- package/build/esm/editor-v2/containers/Tree/TreeContent.js +0 -57
- package/build/esm/editor-v2/containers/Tree/TreeContent.js.map +0 -1
- package/build/esm/editor-v2/containers/Tree/TreeItem.css +0 -50
- package/build/esm/editor-v2/containers/Tree/TreeItem.d.ts +0 -14
- package/build/esm/editor-v2/containers/Tree/TreeItem.js +0 -140
- package/build/esm/editor-v2/containers/Tree/TreeItem.js.map +0 -1
- package/build/esm/editor-v2/containers/Tree/index.d.ts +0 -4
- package/build/esm/editor-v2/containers/Tree/index.js +0 -5
- package/build/esm/editor-v2/containers/Tree/index.js.map +0 -1
- package/build/esm/editor-v2/containers/ViewSwitches/ViewSwitches.css +0 -13
- package/build/esm/editor-v2/containers/ViewSwitches/ViewSwitches.d.ts +0 -4
- package/build/esm/editor-v2/containers/ViewSwitches/ViewSwitches.js +0 -52
- package/build/esm/editor-v2/containers/ViewSwitches/ViewSwitches.js.map +0 -1
- package/build/esm/editor-v2/containers/index.d.ts +0 -7
- package/build/esm/editor-v2/containers/index.js +0 -8
- package/build/esm/editor-v2/containers/index.js.map +0 -1
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreContext.d.ts +0 -7
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreContext.js +0 -6
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreContext.js.map +0 -1
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreProvider.d.ts +0 -5
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreProvider.js +0 -30
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreProvider.js.map +0 -1
- package/build/esm/editor-v2/context/editorStore/index.d.ts +0 -2
- package/build/esm/editor-v2/context/editorStore/index.js +0 -3
- package/build/esm/editor-v2/context/editorStore/index.js.map +0 -1
- package/build/esm/editor-v2/context/iframeContext/IframeContext.d.ts +0 -12
- package/build/esm/editor-v2/context/iframeContext/IframeContext.js +0 -10
- package/build/esm/editor-v2/context/iframeContext/IframeContext.js.map +0 -1
- package/build/esm/editor-v2/context/iframeContext/IframeProvider.d.ts +0 -7
- package/build/esm/editor-v2/context/iframeContext/IframeProvider.js +0 -16
- package/build/esm/editor-v2/context/iframeContext/IframeProvider.js.map +0 -1
- package/build/esm/editor-v2/context/iframeContext/index.d.ts +0 -2
- package/build/esm/editor-v2/context/iframeContext/index.js +0 -3
- package/build/esm/editor-v2/context/iframeContext/index.js.map +0 -1
- package/build/esm/editor-v2/hooks/index.d.ts +0 -2
- package/build/esm/editor-v2/hooks/index.js +0 -3
- package/build/esm/editor-v2/hooks/index.js.map +0 -1
- package/build/esm/editor-v2/hooks/useEditorTabs.d.ts +0 -16
- package/build/esm/editor-v2/hooks/useEditorTabs.js +0 -72
- package/build/esm/editor-v2/hooks/useEditorTabs.js.map +0 -1
- package/build/esm/editor-v2/hooks/useMainEditorInitialize.d.ts +0 -2
- package/build/esm/editor-v2/hooks/useMainEditorInitialize.js +0 -29
- package/build/esm/editor-v2/hooks/useMainEditorInitialize.js.map +0 -1
- package/build/esm/editor-v2/hooks/useMainEditorStore.d.ts +0 -1
- package/build/esm/editor-v2/hooks/useMainEditorStore.js +0 -8
- package/build/esm/editor-v2/hooks/useMainEditorStore.js.map +0 -1
- package/build/esm/editor-v2/hooks/usePostMessageEvents.d.ts +0 -6
- package/build/esm/editor-v2/hooks/usePostMessageEvents.js +0 -15
- package/build/esm/editor-v2/hooks/usePostMessageEvents.js.map +0 -1
- package/build/esm/editor-v2/index.d.ts +0 -5
- package/build/esm/editor-v2/index.js +0 -6
- package/build/esm/editor-v2/index.js.map +0 -1
- package/build/esm/editor-v2/store.d.ts +0 -48
- package/build/esm/editor-v2/store.js +0 -177
- package/build/esm/editor-v2/store.js.map +0 -1
- package/build/esm/editor-v2/styles/mixins.css +0 -0
- package/build/esm/editor-v2/styles/root.css +0 -9
- package/build/esm/editor-v2/styles/variables.css +0 -0
- package/build/esm/editor-v2/utils/cn.d.ts +0 -2
- package/build/esm/editor-v2/utils/cn.js +0 -4
- package/build/esm/editor-v2/utils/cn.js.map +0 -1
- package/build/esm/editor-v2/utils/code.d.ts +0 -6
- package/build/esm/editor-v2/utils/code.js +0 -9
- package/build/esm/editor-v2/utils/code.js.map +0 -1
- package/build/esm/editor-v2/utils/index.d.ts +0 -20
- package/build/esm/editor-v2/utils/index.js +0 -143
- package/build/esm/editor-v2/utils/index.js.map +0 -1
- package/build/esm/hooks/usePCEditorBlockMouseEvents.d.ts +0 -8
- package/build/esm/hooks/usePCEditorBlockMouseEvents.js +0 -47
- package/build/esm/hooks/usePCEditorBlockMouseEvents.js.map +0 -1
- package/build/esm/hooks/usePCEditorBlockSelection.d.ts +0 -2
- package/build/esm/hooks/usePCEditorBlockSelection.js +0 -27
- package/build/esm/hooks/usePCEditorBlockSelection.js.map +0 -1
- package/build/esm/hooks/usePCEditorInitializeEvents.d.ts +0 -7
- package/build/esm/hooks/usePCEditorInitializeEvents.js +0 -58
- package/build/esm/hooks/usePCEditorInitializeEvents.js.map +0 -1
- package/build/esm/hooks/usePCEditorItemWrap.d.ts +0 -10
- package/build/esm/hooks/usePCEditorItemWrap.js +0 -17
- package/build/esm/hooks/usePCEditorItemWrap.js.map +0 -1
- package/build/esm/hooks/usePCEditorStore.d.ts +0 -1
- package/build/esm/hooks/usePCEditorStore.js +0 -8
- package/build/esm/hooks/usePCEditorStore.js.map +0 -1
- package/build/esm/hooks/usePostMessageAPI.d.ts +0 -4
- package/build/esm/hooks/usePostMessageAPI.js +0 -24
- package/build/esm/hooks/usePostMessageAPI.js.map +0 -1
- package/build/esm/sub-blocks/BackgroundCard/dynamic-form.d.ts +0 -2
- package/build/esm/sub-blocks/BackgroundCard/dynamic-form.js +0 -79
- package/build/esm/sub-blocks/BackgroundCard/dynamic-form.js.map +0 -1
- package/build/esm/sub-blocks/BackgroundCard/index.d.ts +0 -3
- package/build/esm/sub-blocks/BackgroundCard/index.js +0 -19
- package/build/esm/sub-blocks/BackgroundCard/index.js.map +0 -1
- package/build/esm/sub-blocks/BannerCard/index.d.ts +0 -3
- package/build/esm/sub-blocks/BannerCard/index.js +0 -21
- package/build/esm/sub-blocks/BannerCard/index.js.map +0 -1
- package/build/esm/sub-blocks/BasicCard/index.d.ts +0 -3
- package/build/esm/sub-blocks/BasicCard/index.js +0 -17
- package/build/esm/sub-blocks/BasicCard/index.js.map +0 -1
- package/build/esm/sub-blocks/Content/index.d.ts +0 -3
- package/build/esm/sub-blocks/Content/index.js +0 -17
- package/build/esm/sub-blocks/Content/index.js.map +0 -1
- package/build/esm/sub-blocks/Divider/index.d.ts +0 -3
- package/build/esm/sub-blocks/Divider/index.js +0 -13
- package/build/esm/sub-blocks/Divider/index.js.map +0 -1
- package/build/esm/sub-blocks/ImageCard/index.d.ts +0 -3
- package/build/esm/sub-blocks/ImageCard/index.js +0 -17
- package/build/esm/sub-blocks/ImageCard/index.js.map +0 -1
- package/build/esm/sub-blocks/LayoutItem/index.d.ts +0 -3
- package/build/esm/sub-blocks/LayoutItem/index.js +0 -23
- package/build/esm/sub-blocks/LayoutItem/index.js.map +0 -1
- package/build/esm/sub-blocks/MediaCard/index.d.ts +0 -3
- package/build/esm/sub-blocks/MediaCard/index.js +0 -20
- package/build/esm/sub-blocks/MediaCard/index.js.map +0 -1
- package/build/esm/sub-blocks/PriceCard/index.d.ts +0 -3
- package/build/esm/sub-blocks/PriceCard/index.js +0 -30
- package/build/esm/sub-blocks/PriceCard/index.js.map +0 -1
- package/build/esm/sub-blocks/PriceDetailed/index.d.ts +0 -4
- package/build/esm/sub-blocks/PriceDetailed/index.js +0 -32
- package/build/esm/sub-blocks/PriceDetailed/index.js.map +0 -1
- package/build/esm/sub-blocks/Quote/index.d.ts +0 -3
- package/build/esm/sub-blocks/Quote/index.js +0 -20
- package/build/esm/sub-blocks/Quote/index.js.map +0 -1
- package/build/esm/utils/editor.d.ts +0 -2
- package/build/esm/utils/editor.js +0 -21
- package/build/esm/utils/editor.js.map +0 -1
- package/build/esm/utils/form-generator.d.ts +0 -9
- package/build/esm/utils/form-generator.js +0 -126
- package/build/esm/utils/form-generator.js.map +0 -1
- package/build/esm/utils/navigation.d.ts +0 -3
- package/build/esm/utils/navigation.js +0 -9
- package/build/esm/utils/navigation.js.map +0 -1
- package/server/utils/navigation.d.ts +0 -3
- package/server/utils/navigation.js +0 -15
- package/widget/1113.index.js +0 -1
- package/widget/123.index.js +0 -1
- package/widget/1573.index.js +0 -1
- package/widget/2030.index.js +0 -1
- package/widget/229.index.js +0 -1
- package/widget/261.index.js +0 -1
- package/widget/302.index.js +0 -1
- package/widget/3035.index.js +0 -1
- package/widget/313.index.js +0 -1
- package/widget/3521.index.js +0 -1
- package/widget/3864.index.js +0 -1
- package/widget/3939.index.js +0 -1
- package/widget/4017.index.js +0 -1
- package/widget/4149.index.js +0 -1
- package/widget/4502.index.js +0 -1
- package/widget/466.index.js +0 -1
- package/widget/504.index.js +0 -1
- package/widget/5321.index.js +0 -1
- package/widget/5742.index.js +0 -1
- package/widget/5817.index.js +0 -1
- package/widget/600.index.js +0 -1
- package/widget/6023.index.js +0 -1
- package/widget/6159.index.js +0 -1
- package/widget/617.index.js +0 -1
- package/widget/6183.index.js +0 -1
- package/widget/6509.index.js +0 -1
- package/widget/6636.index.js +0 -1
- package/widget/6831.index.js +0 -1
- package/widget/6953.index.js +0 -1
- package/widget/7296.index.js +0 -1
- package/widget/7486.index.js +0 -1
- package/widget/7496.index.js +0 -1
- package/widget/7553.index.js +0 -1
- package/widget/758.index.js +0 -1
- package/widget/772.index.js +0 -1
- package/widget/7797.index.js +0 -1
- package/widget/8066.index.js +0 -1
- package/widget/8507.index.js +0 -1
- package/widget/8529.index.js +0 -1
- package/widget/8727.index.js +0 -1
- package/widget/8864.index.js +0 -1
- package/widget/8889.index.js +0 -1
- package/widget/953.index.js +0 -1
- package/widget/9670.index.js +0 -1
- package/widget/9682.index.js +0 -1
- package/widget/9928.index.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Navigation.js","sourceRoot":"../../../../../src","sources":["navigation/components/Navigation/Navigation.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,YAAY,yDAAsD;AACzE,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAC,+BAAsB;AAE7C,OAAO,EAAC,KAAK,EAAC,gCAAuB;AACrC,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,6BAAoB;AAC5D,OAAO,iBAAiB,kDAA+C;AACvE,OAAO,gBAAgB,gDAA6C;AAEpE,OAAO,kBAAkB,CAAC;AAE1B,MAAM,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;AAQ9B,MAAM,CAAC,MAAM,UAAU,GAAuC,CAAC,EAC3D,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,qBAAqB,GACxB,EAAE,EAAE;IACD,MAAM,EACF,SAAS,
|
|
1
|
+
{"version":3,"file":"Navigation.js","sourceRoot":"../../../../../src","sources":["navigation/components/Navigation/Navigation.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,YAAY,yDAAsD;AACzE,OAAO,EAAC,GAAG,EAAE,IAAI,EAAE,GAAG,EAAC,+BAAsB;AAE7C,OAAO,EAAC,KAAK,EAAC,gCAAuB;AACrC,OAAO,EAAC,gBAAgB,EAAE,aAAa,EAAC,6BAAoB;AAC5D,OAAO,iBAAiB,kDAA+C;AACvE,OAAO,gBAAgB,gDAA6C;AAEpE,OAAO,kBAAkB,CAAC;AAE1B,MAAM,CAAC,GAAG,KAAK,CAAC,YAAY,CAAC,CAAC;AAQ9B,MAAM,CAAC,MAAM,UAAU,GAAuC,CAAC,EAC3D,IAAI,EACJ,IAAI,EACJ,SAAS,EACT,qBAAqB,GACxB,EAAE,EAAE;IACD,MAAM,EACF,SAAS,EACT,UAAU,EACV,uBAAuB,EACvB,QAAQ,GAAG,EAAE,EACb,UAAU,GAAG,KAAK,EAClB,kBAAkB,GAAG,IAAI,GAC5B,GAAG,IAAI,CAAC;IAET,MAAM,CAAC,eAAe,EAAE,kBAAkB,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,KAAK,CAAC,CAAC;IACpE,MAAM,CAAC,UAAU,CAAC,GAAG,aAAa,CAAC,UAAU,EAAE,kBAAkB,CAAC,CAAC;IACnE,MAAM,EAAC,YAAY,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,kBAAkB,EAAC,GACnF,gBAAgB,CAAC,QAAQ,EAAE,SAAS,EAAE,UAAU,CAAC,CAAC;IAEtD,MAAM,qBAAqB,GAAG,CAAC,MAAe,EAAE,EAAE,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC;IAE9E,OAAO,CACH,KAAC,IAAI,IAAC,SAAS,EAAE,CAAC,CAAC,EAAC,aAAa,EAAE,UAAU,EAAC,EAAE,SAAS,CAAC,YACtD,KAAC,GAAG,cACA,KAAC,GAAG,cACA,0BACI,KAAC,iBAAiB,IACd,IAAI,EAAE,IAAI,EACV,YAAY,EAAE,YAAY,EAC1B,kBAAkB,EAAE,kBAAkB,EACtC,qBAAqB,EAAE,qBAAqB,EAC5C,sBAAsB,EAAE,sBAAsB,EAC9C,uBAAuB,EAAE,uBAAuB,EAChD,eAAe,EAAE,eAAe,EAChC,qBAAqB,EAAE,qBAAqB,GAC9C,EACF,KAAC,YAAY,IAAC,cAAc,EAAE,GAAG,EAAE,CAAC,qBAAqB,CAAC,KAAK,CAAC,YAC5D,KAAC,gBAAgB,IACb,QAAQ,EAAE,qBAAqB,EAC/B,WAAW,EAAE,sBAAsB,EACnC,QAAQ,EAAE,eAAe,EACzB,YAAY,EAAE,YAAY,EAC1B,kBAAkB,EAAE,kBAAkB,EACtC,eAAe,EAAE,qBAAqB,GACxC,GACS,IACb,GACJ,GACJ,GACH,CACV,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["import * as React from 'react';\n\nimport OutsideClick from '../../../components/OutsideClick/OutsideClick';\nimport {Col, Grid, Row} from '../../../grid';\nimport {ClassNameProps, HeaderData, ThemedNavigationLogoData} from '../../../models';\nimport {block} from '../../../utils';\nimport {useActiveNavItem, useShowBorder} from '../../hooks';\nimport DesktopNavigation from '../DesktopNavigation/DesktopNavigation';\nimport MobileNavigation from '../MobileNavigation/MobileNavigation';\n\nimport './Navigation.scss';\n\nconst b = block('navigation');\n\nexport interface NavigationComponentProps extends ClassNameProps {\n logo: ThemedNavigationLogoData;\n data: HeaderData;\n mobilePortalContainer?: React.RefObject<HTMLElement>;\n}\n\nexport const Navigation: React.FC<NavigationComponentProps> = ({\n data,\n logo,\n className,\n mobilePortalContainer,\n}) => {\n const {\n leftItems,\n rightItems,\n customMobileHeaderItems,\n iconSize = 20,\n withBorder = false,\n withBorderOnScroll = true,\n } = data;\n\n const [isSidebarOpened, setIsSidebarOpened] = React.useState(false);\n const [showBorder] = useShowBorder(withBorder, withBorderOnScroll);\n const {activeItemId, leftItemsWithIconSize, rightItemsWithIconSize, onActiveItemChange} =\n useActiveNavItem(iconSize, leftItems, rightItems);\n\n const onSidebarOpenedChange = (isOpen: boolean) => setIsSidebarOpened(isOpen);\n\n return (\n <Grid className={b({'with-border': showBorder}, className)}>\n <Row>\n <Col>\n <nav>\n <DesktopNavigation\n logo={logo}\n activeItemId={activeItemId}\n onActiveItemChange={onActiveItemChange}\n leftItemsWithIconSize={leftItemsWithIconSize}\n rightItemsWithIconSize={rightItemsWithIconSize}\n customMobileHeaderItems={customMobileHeaderItems}\n isSidebarOpened={isSidebarOpened}\n onSidebarOpenedChange={onSidebarOpenedChange}\n />\n <OutsideClick onOutsideClick={() => onSidebarOpenedChange(false)}>\n <MobileNavigation\n topItems={leftItemsWithIconSize}\n bottomItems={rightItemsWithIconSize}\n isOpened={isSidebarOpened}\n activeItemId={activeItemId}\n onActiveItemChange={onActiveItemChange}\n portalContainer={mobilePortalContainer}\n />\n </OutsideClick>\n </nav>\n </Col>\n </Row>\n </Grid>\n );\n};\n\nexport default Navigation;\n"]}
|
|
@@ -25,10 +25,7 @@ export const NavigationItem = ({ data, className, menuLayout, ...props }) => {
|
|
|
25
25
|
? componentProperties
|
|
26
26
|
: { ...componentProperties, menuLayout };
|
|
27
27
|
}, [data, props, type, menuLayout]);
|
|
28
|
-
return (
|
|
29
|
-
// TODO: fix any
|
|
30
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
31
|
-
_jsx(BlockIdContext.Provider, { value: ANALYTICS_ID, children: _jsx("li", { className: b({ 'menu-layout': menuLayout }, className), children: _jsx(Component, { ...componentProps, className: b('content', { type }) }) }) }));
|
|
28
|
+
return (_jsx(BlockIdContext.Provider, { value: ANALYTICS_ID, children: _jsx("li", { className: b({ 'menu-layout': menuLayout }, className), children: _jsx(Component, { ...componentProps, className: b('content', { type }) }) }) }));
|
|
32
29
|
};
|
|
33
30
|
export default NavigationItem;
|
|
34
31
|
//# sourceMappingURL=NavigationItem.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationItem.js","sourceRoot":"../../../../../src","sources":["navigation/components/NavigationItem/NavigationItem.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,IAAI,uBAAoB;AAE/B,OAAO,EAAC,cAAc,EAAC,iDAAwC;AAC/D,OAAO,EAAa,kBAAkB,EAAE,mBAAmB,EAAC,iCAAwB;AACpF,OAAO,EAAC,KAAK,EAAC,gCAAuB;AAGrC,OAAO,EAAC,oBAAoB,EAAC,wCAAqC;AAElE,OAAO,sBAAsB,CAAC;AAE9B,MAAM,CAAC,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAEnC,MAAM,YAAY,GAAG,YAAY,CAAC;AAElC,MAAM,6BAA6B,GAAG,mBAAmB,CAAC,MAAM,CAC5D,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,kBAAkB,CAAC,QAAQ,CACjD,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAkC,CAAC,EAC1D,IAAI,EACJ,SAAS,EACT,UAAU,EACV,GAAG,KAAK,EACU,EAAE,EAAE;IACtB,MAAM,EAAC,IAAI,GAAG,kBAAkB,CAAC,IAAI,EAAC,GAAG,IAAI,CAAC;IAC9C,MAAM,UAAU,GAAG,oBAAoB,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,UAAU,CAAC,IAAI,CAAe,CAAC;IACjD,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACtC,MAAM,mBAAmB,GAAG;YACxB,GAAG,IAAI;YACP,GAAG,KAAK;SACX,CAAC;QAEF,IACI,6BAA6B,CAAC,QAAQ,CAClC,IAAsD,CACzD,EACH,CAAC;YACC,OAAO,IAAI,CAAC,mBAAmB,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;QAC9D,CAAC;QAED,OAAO,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC;YACrC,CAAC,CAAC,mBAAmB;YACrB,CAAC,CAAC,EAAC,GAAG,mBAAmB,EAAE,UAAU,EAAC,CAAC;IAC/C,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;IAEpC,OAAO
|
|
1
|
+
{"version":3,"file":"NavigationItem.js","sourceRoot":"../../../../../src","sources":["navigation/components/NavigationItem/NavigationItem.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,IAAI,uBAAoB;AAE/B,OAAO,EAAC,cAAc,EAAC,iDAAwC;AAC/D,OAAO,EAAa,kBAAkB,EAAE,mBAAmB,EAAC,iCAAwB;AACpF,OAAO,EAAC,KAAK,EAAC,gCAAuB;AAGrC,OAAO,EAAC,oBAAoB,EAAC,wCAAqC;AAElE,OAAO,sBAAsB,CAAC;AAE9B,MAAM,CAAC,GAAG,KAAK,CAAC,iBAAiB,CAAC,CAAC;AAEnC,MAAM,YAAY,GAAG,YAAY,CAAC;AAElC,MAAM,6BAA6B,GAAG,mBAAmB,CAAC,MAAM,CAC5D,CAAC,IAAI,EAAE,EAAE,CAAC,IAAI,KAAK,kBAAkB,CAAC,QAAQ,CACjD,CAAC;AAEF,MAAM,CAAC,MAAM,cAAc,GAAkC,CAAC,EAC1D,IAAI,EACJ,SAAS,EACT,UAAU,EACV,GAAG,KAAK,EACU,EAAE,EAAE;IACtB,MAAM,EAAC,IAAI,GAAG,kBAAkB,CAAC,IAAI,EAAC,GAAG,IAAI,CAAC;IAC9C,MAAM,UAAU,GAAG,oBAAoB,EAAE,CAAC;IAC1C,MAAM,SAAS,GAAG,UAAU,CAAC,IAAI,CAAe,CAAC;IACjD,MAAM,cAAc,GAAG,KAAK,CAAC,OAAO,CAAC,GAAG,EAAE;QACtC,MAAM,mBAAmB,GAAG;YACxB,GAAG,IAAI;YACP,GAAG,KAAK;SACX,CAAC;QAEF,IACI,6BAA6B,CAAC,QAAQ,CAClC,IAAsD,CACzD,EACH,CAAC;YACC,OAAO,IAAI,CAAC,mBAAmB,EAAE,WAAW,EAAE,UAAU,CAAC,CAAC;QAC9D,CAAC;QAED,OAAO,mBAAmB,CAAC,QAAQ,CAAC,IAAI,CAAC;YACrC,CAAC,CAAC,mBAAmB;YACrB,CAAC,CAAC,EAAC,GAAG,mBAAmB,EAAE,UAAU,EAAC,CAAC;IAC/C,CAAC,EAAE,CAAC,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,UAAU,CAAC,CAAC,CAAC;IAEpC,OAAO,CACH,KAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,YACxC,aAAI,SAAS,EAAE,CAAC,CAAC,EAAC,aAAa,EAAE,UAAU,EAAC,EAAE,SAAS,CAAC,YACpD,KAAC,SAAS,OAAK,cAAc,EAAE,SAAS,EAAE,CAAC,CAAC,SAAS,EAAE,EAAC,IAAI,EAAC,CAAC,GAAI,GACjE,GACiB,CAC7B,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,cAAc,CAAC","sourcesContent":["import * as React from 'react';\n\nimport omit from 'lodash/omit';\n\nimport {BlockIdContext} from '../../../context/blockIdContext';\nimport {CustomItem, NavigationItemType, NavigationItemTypes} from '../../../models';\nimport {block} from '../../../utils';\nimport {NavigationItemProps} from '../../models';\n\nimport {useNavigationItemMap} from './hooks/useNavigationItemMap';\n\nimport './NavigationItem.scss';\n\nconst b = block('navigation-item');\n\nconst ANALYTICS_ID = 'navigation';\n\nconst nonComplexNavigationItemTypes = NavigationItemTypes.filter(\n (type) => type !== NavigationItemType.Dropdown,\n);\n\nexport const NavigationItem: React.FC<NavigationItemProps> = ({\n data,\n className,\n menuLayout,\n ...props\n}: NavigationItemProps) => {\n const {type = NavigationItemType.Link} = data;\n const navItemMap = useNavigationItemMap();\n const Component = navItemMap[type] as CustomItem;\n const componentProps = React.useMemo(() => {\n const componentProperties = {\n ...data,\n ...props,\n };\n\n if (\n nonComplexNavigationItemTypes.includes(\n type as (typeof nonComplexNavigationItemTypes)[number],\n )\n ) {\n return omit(componentProperties, 'hidePopup', 'isActive');\n }\n\n return NavigationItemTypes.includes(type)\n ? componentProperties\n : {...componentProperties, menuLayout};\n }, [data, props, type, menuLayout]);\n\n return (\n <BlockIdContext.Provider value={ANALYTICS_ID}>\n <li className={b({'menu-layout': menuLayout}, className)}>\n <Component {...componentProps} className={b('content', {type})} />\n </li>\n </BlockIdContext.Provider>\n );\n};\n\nexport default NavigationItem;\n"]}
|
|
@@ -8,9 +8,6 @@ const ANALYTICS_ID = 'navigation';
|
|
|
8
8
|
export const NavigationButton = (props) => {
|
|
9
9
|
const { url, target, className } = props;
|
|
10
10
|
const classes = b(null, className);
|
|
11
|
-
return (
|
|
12
|
-
// TODO: fix any
|
|
13
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
14
|
-
_jsx(BlockIdContext.Provider, { value: ANALYTICS_ID, children: target ? (_jsx(Button, { className: classes, ...props, url: url })) : (_jsx(RouterLink, { href: url, children: _jsx(Button, { ...props, className: classes, url: url }) })) }));
|
|
11
|
+
return (_jsx(BlockIdContext.Provider, { value: ANALYTICS_ID, children: target ? (_jsx(Button, { className: classes, ...props, url: url })) : (_jsx(RouterLink, { href: url, children: _jsx(Button, { ...props, className: classes, url: url }) })) }));
|
|
15
12
|
};
|
|
16
13
|
//# sourceMappingURL=NavigationButton.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NavigationButton.js","sourceRoot":"../../../../../../../src","sources":["navigation/components/NavigationItem/components/NavigationButton/NavigationButton.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,MAAM,EAAE,UAAU,EAAC,2CAAkC;AAC7D,OAAO,EAAC,cAAc,EAAC,uDAA8C;AAErE,OAAO,EAAC,KAAK,EAAC,sCAA6B;AAG3C,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAErC,MAAM,YAAY,GAAG,YAAY,CAAC;AAIlC,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,KAAK,EAAE,EAAE;IACvE,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,GAAG,KAAK,CAAC;IACvC,MAAM,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IACnC,OAAO
|
|
1
|
+
{"version":3,"file":"NavigationButton.js","sourceRoot":"../../../../../../../src","sources":["navigation/components/NavigationItem/components/NavigationButton/NavigationButton.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,MAAM,EAAE,UAAU,EAAC,2CAAkC;AAC7D,OAAO,EAAC,cAAc,EAAC,uDAA8C;AAErE,OAAO,EAAC,KAAK,EAAC,sCAA6B;AAG3C,OAAO,wBAAwB,CAAC;AAEhC,MAAM,CAAC,GAAG,KAAK,CAAC,mBAAmB,CAAC,CAAC;AAErC,MAAM,YAAY,GAAG,YAAY,CAAC;AAIlC,MAAM,CAAC,MAAM,gBAAgB,GAAoC,CAAC,KAAK,EAAE,EAAE;IACvE,MAAM,EAAC,GAAG,EAAE,MAAM,EAAE,SAAS,EAAC,GAAG,KAAK,CAAC;IACvC,MAAM,OAAO,GAAG,CAAC,CAAC,IAAI,EAAE,SAAS,CAAC,CAAC;IACnC,OAAO,CACH,KAAC,cAAc,CAAC,QAAQ,IAAC,KAAK,EAAE,YAAY,YACvC,MAAM,CAAC,CAAC,CAAC,CACN,KAAC,MAAM,IAAC,SAAS,EAAE,OAAO,KAAM,KAAK,EAAE,GAAG,EAAE,GAAG,GAAI,CACtD,CAAC,CAAC,CAAC,CACA,KAAC,UAAU,IAAC,IAAI,EAAE,GAAG,YACjB,KAAC,MAAM,OAAK,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,GAAG,EAAE,GAAG,GAAI,GAC1C,CAChB,GACqB,CAC7B,CAAC;AACN,CAAC,CAAC","sourcesContent":["import * as React from 'react';\n\nimport {Button, RouterLink} from '../../../../../components';\nimport {BlockIdContext} from '../../../../../context/blockIdContext';\nimport {ButtonProps} from '../../../../../models';\nimport {block} from '../../../../../utils';\nimport {NavigationItemProps} from '../../../../models';\n\nimport './NavigationButton.scss';\n\nconst b = block('navigation-button');\n\nconst ANALYTICS_ID = 'navigation';\n\ntype NavigationButtonProps = Pick<NavigationItemProps, 'className'> & ButtonProps;\n\nexport const NavigationButton: React.FC<NavigationButtonProps> = (props) => {\n const {url, target, className} = props;\n const classes = b(null, className);\n return (\n <BlockIdContext.Provider value={ANALYTICS_ID}>\n {target ? (\n <Button className={classes} {...props} url={url} />\n ) : (\n <RouterLink href={url}>\n <Button {...props} className={classes} url={url} />\n </RouterLink>\n )}\n </BlockIdContext.Provider>\n );\n};\n"]}
|
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { block
|
|
2
|
+
import { block } from "../../../utils/index.js";
|
|
3
3
|
import Navigation from "../../components/Navigation/Navigation.js";
|
|
4
4
|
import './Layout.css';
|
|
5
5
|
const b = block('layout');
|
|
6
6
|
const Layout = ({ children, navigation }) => (_jsxs("div", { className: b(), children: [navigation &&
|
|
7
|
-
(isLogoSet(navigation.logo) || isHeaderSet(navigation.header)) &&
|
|
8
7
|
(navigation.renderNavigation ? (navigation.renderNavigation()) : (_jsx(Navigation, { data: navigation.header, logo: navigation.logo, className: b('navigation') }))), _jsx("main", { className: b('content'), children: children })] }));
|
|
9
8
|
export default Layout;
|
|
10
9
|
//# sourceMappingURL=Layout.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Layout.js","sourceRoot":"../../../../../src","sources":["navigation/containers/Layout/Layout.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAC,KAAK,
|
|
1
|
+
{"version":3,"file":"Layout.js","sourceRoot":"../../../../../src","sources":["navigation/containers/Layout/Layout.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAC,KAAK,EAAC,gCAAuB;AACrC,OAAO,UAAU,kDAA+C;AAEhE,OAAO,cAAc,CAAC;AAEtB,MAAM,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC,CAAC;AAO1B,MAAM,MAAM,GAA0B,CAAC,EAAC,QAAQ,EAAE,UAAU,EAAC,EAAE,EAAE,CAAC,CAC9D,eAAK,SAAS,EAAE,CAAC,EAAE,aACd,UAAU;YACP,CAAC,UAAU,CAAC,gBAAgB,CAAC,CAAC,CAAC,CAC3B,UAAU,CAAC,gBAAgB,EAAE,CAChC,CAAC,CAAC,CAAC,CACA,KAAC,UAAU,IACP,IAAI,EAAE,UAAU,CAAC,MAAM,EACvB,IAAI,EAAE,UAAU,CAAC,IAAI,EACrB,SAAS,EAAE,CAAC,CAAC,YAAY,CAAC,GAC5B,CACL,CAAC,EACN,eAAM,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,YAAG,QAAQ,GAAQ,IAC9C,CACT,CAAC;AAEF,eAAe,MAAM,CAAC","sourcesContent":["import * as React from 'react';\n\nimport {NavigationData} from '../../../models';\nimport {block} from '../../../utils';\nimport Navigation from '../../components/Navigation/Navigation';\n\nimport './Layout.scss';\n\nconst b = block('layout');\n\nexport interface LayoutProps {\n navigation?: NavigationData;\n children?: React.ReactNode;\n}\n\nconst Layout: React.FC<LayoutProps> = ({children, navigation}) => (\n <div className={b()}>\n {navigation &&\n (navigation.renderNavigation ? (\n navigation.renderNavigation()\n ) : (\n <Navigation\n data={navigation.header}\n logo={navigation.logo}\n className={b('navigation')}\n />\n ))}\n <main className={b('content')}>{children}</main>\n </div>\n);\n\nexport default Layout;\n"]}
|
|
@@ -41,7 +41,7 @@ export interface NavigationListProps extends Pick<NavigationListItemProps, 'colu
|
|
|
41
41
|
export interface ItemsWrapperProps extends Pick<NavigationListProps, 'items'>, ActiveItemProps, ClassNameProps {
|
|
42
42
|
}
|
|
43
43
|
export interface DesktopNavigationProps extends MobileMenuButtonProps, ActiveItemProps {
|
|
44
|
-
logo
|
|
44
|
+
logo: ThemedNavigationLogoData;
|
|
45
45
|
leftItemsWithIconSize: NavigationItemModel[];
|
|
46
46
|
rightItemsWithIconSize?: NavigationItemModel[];
|
|
47
47
|
customMobileHeaderItems?: NavigationItemModel[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"models.js","sourceRoot":"../../../src","sources":["navigation/models.ts"],"names":[],"mappings":"AAeA,MAAM,CAAN,IAAY,cAKX;AALD,WAAY,cAAc;IACtB,+BAAa,CAAA;IACb,iCAAe,CAAA;IACf,6BAAW,CAAA;IACX,mCAAiB,CAAA;AACrB,CAAC,EALW,cAAc,KAAd,cAAc,QAKzB;AAED,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IACxB,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;IACjB,yCAAqB,CAAA;AACzB,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B","sourcesContent":["import * as React from 'react';\n\nimport {\n ClassNameProps,\n NavigationItemData,\n NavigationItemModel,\n NavigationLinkItem,\n ThemedNavigationLogoData,\n} from '../models';\n\nexport interface MobileMenuButtonProps {\n isSidebarOpened: boolean;\n onSidebarOpenedChange: (arg: boolean) => void;\n}\n\nexport enum ItemColumnName {\n Left = 'left',\n Right = 'right',\n Top = 'top',\n Bottom = 'bottom',\n}\n\nexport enum NavigationLayout {\n Desktop = 'desktop',\n Mobile = 'mobile',\n Dropdown = 'dropdown',\n}\n\nexport interface ActiveItemProps {\n activeItemId?: string;\n onActiveItemChange: (id?: string) => void;\n}\n\nexport interface MenuLayoutProps {\n menuLayout?: NavigationLayout;\n}\nexport interface NavigationItemProps extends ClassNameProps, MenuLayoutProps {\n data: NavigationItemData;\n onClick?: React.MouseEventHandler;\n isActive?: boolean;\n isTopLevel?: boolean;\n hidePopup?: () => void;\n}\n\nexport interface NavigationListItemProps extends MenuLayoutProps, ActiveItemProps, ClassNameProps {\n data: NavigationItemModel;\n column: ItemColumnName;\n index: number;\n}\n\nexport interface NavigationListProps\n extends Pick<NavigationListItemProps, 'column'>,\n MenuLayoutProps,\n ActiveItemProps,\n ClassNameProps {\n items: NavigationItemModel[];\n itemClassName?: string;\n}\n\nexport interface ItemsWrapperProps\n extends Pick<NavigationListProps, 'items'>,\n ActiveItemProps,\n ClassNameProps {}\n\nexport interface DesktopNavigationProps extends MobileMenuButtonProps, ActiveItemProps {\n logo
|
|
1
|
+
{"version":3,"file":"models.js","sourceRoot":"../../../src","sources":["navigation/models.ts"],"names":[],"mappings":"AAeA,MAAM,CAAN,IAAY,cAKX;AALD,WAAY,cAAc;IACtB,+BAAa,CAAA;IACb,iCAAe,CAAA;IACf,6BAAW,CAAA;IACX,mCAAiB,CAAA;AACrB,CAAC,EALW,cAAc,KAAd,cAAc,QAKzB;AAED,MAAM,CAAN,IAAY,gBAIX;AAJD,WAAY,gBAAgB;IACxB,uCAAmB,CAAA;IACnB,qCAAiB,CAAA;IACjB,yCAAqB,CAAA;AACzB,CAAC,EAJW,gBAAgB,KAAhB,gBAAgB,QAI3B","sourcesContent":["import * as React from 'react';\n\nimport {\n ClassNameProps,\n NavigationItemData,\n NavigationItemModel,\n NavigationLinkItem,\n ThemedNavigationLogoData,\n} from '../models';\n\nexport interface MobileMenuButtonProps {\n isSidebarOpened: boolean;\n onSidebarOpenedChange: (arg: boolean) => void;\n}\n\nexport enum ItemColumnName {\n Left = 'left',\n Right = 'right',\n Top = 'top',\n Bottom = 'bottom',\n}\n\nexport enum NavigationLayout {\n Desktop = 'desktop',\n Mobile = 'mobile',\n Dropdown = 'dropdown',\n}\n\nexport interface ActiveItemProps {\n activeItemId?: string;\n onActiveItemChange: (id?: string) => void;\n}\n\nexport interface MenuLayoutProps {\n menuLayout?: NavigationLayout;\n}\nexport interface NavigationItemProps extends ClassNameProps, MenuLayoutProps {\n data: NavigationItemData;\n onClick?: React.MouseEventHandler;\n isActive?: boolean;\n isTopLevel?: boolean;\n hidePopup?: () => void;\n}\n\nexport interface NavigationListItemProps extends MenuLayoutProps, ActiveItemProps, ClassNameProps {\n data: NavigationItemModel;\n column: ItemColumnName;\n index: number;\n}\n\nexport interface NavigationListProps\n extends Pick<NavigationListItemProps, 'column'>,\n MenuLayoutProps,\n ActiveItemProps,\n ClassNameProps {\n items: NavigationItemModel[];\n itemClassName?: string;\n}\n\nexport interface ItemsWrapperProps\n extends Pick<NavigationListProps, 'items'>,\n ActiveItemProps,\n ClassNameProps {}\n\nexport interface DesktopNavigationProps extends MobileMenuButtonProps, ActiveItemProps {\n logo: ThemedNavigationLogoData;\n leftItemsWithIconSize: NavigationItemModel[];\n rightItemsWithIconSize?: NavigationItemModel[];\n customMobileHeaderItems?: NavigationItemModel[];\n}\n\nexport interface MobileNavigationProps extends ClassNameProps, ActiveItemProps {\n isOpened?: boolean;\n topItems?: NavigationItemModel[];\n bottomItems?: NavigationItemModel[];\n portalContainer?: React.RefObject<HTMLElement>;\n}\n\nexport interface NavigationProps extends MobileMenuButtonProps, ActiveItemProps {\n logo: ThemedNavigationLogoData;\n leftItemsWithIconSize: NavigationItemModel[];\n rightItemsWithIconSize?: NavigationItemModel[];\n}\n\nexport interface NavigationPopupProps {\n open: boolean;\n items: NavigationLinkItem[];\n onClose: () => void;\n anchorRef: React.RefObject<Element>;\n}\n"]}
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { BannerBlock, BannerCard, CardLayoutBlock, CompaniesBlock, ContentLayoutBlock, ExtendedFeaturesBlock, FilterBlock, FormBlock, HeaderBlock, HeaderSliderBlock, IconsBlock, InfoBlock, MapBlock, MediaBlock, PromoFeaturesBlock, QuestionsBlock, ShareBlock, SliderBlock, SliderNewBlock, TableBlock, TabsBlock, } from "./validators/blocks.js";
|
|
1
|
+
import { BannerBlock, BannerCard, CardLayoutBlock, CompaniesBlock, ContentLayoutBlock, ExtendedFeaturesBlock, FilterBlock, FoldableListBlock, FormBlock, HeaderBlock, HeaderSliderBlock, IconsBlock, InfoBlock, MapBlock, MediaBlock, PromoFeaturesBlock, QuestionsBlock, ShareBlock, SliderBlock, SliderNewBlock, TableBlock, TabsBlock, } from "./validators/blocks.js";
|
|
3
2
|
import { BackgroundCard, BasicCard, Divider, ImageCard, MediaCardBlock, PriceCardBlock, PriceDetailedBlock, Quote, } from "./validators/sub-blocks.js";
|
|
4
3
|
export const blockSchemas = {
|
|
5
4
|
...Divider,
|
|
@@ -7,6 +6,7 @@ export const blockSchemas = {
|
|
|
7
6
|
...PromoFeaturesBlock,
|
|
8
7
|
...SliderBlock,
|
|
9
8
|
...QuestionsBlock,
|
|
9
|
+
...FoldableListBlock,
|
|
10
10
|
...HeaderBlock,
|
|
11
11
|
...BannerBlock,
|
|
12
12
|
...CompaniesBlock,
|
|
@@ -22,7 +22,6 @@ export const blockSchemas = {
|
|
|
22
22
|
...ShareBlock,
|
|
23
23
|
...FilterBlock,
|
|
24
24
|
...FormBlock,
|
|
25
|
-
...TestEditorBlockSchema,
|
|
26
25
|
...SliderNewBlock,
|
|
27
26
|
};
|
|
28
27
|
export const cardSchemas = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"../../../src","sources":["schema/constants.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"../../../src","sources":["schema/constants.ts"],"names":[],"mappings":"AAEA,OAAO,EACH,WAAW,EACX,UAAU,EACV,eAAe,EACf,cAAc,EACd,kBAAkB,EAClB,qBAAqB,EACrB,WAAW,EACX,iBAAiB,EACjB,SAAS,EACT,WAAW,EACX,iBAAiB,EACjB,UAAU,EACV,SAAS,EACT,QAAQ,EACR,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,UAAU,EACV,WAAW,EACX,cAAc,EACd,UAAU,EACV,SAAS,GACZ,+BAA4B;AAC7B,OAAO,EACH,cAAc,EACd,SAAS,EACT,OAAO,EACP,SAAS,EACT,cAAc,EACd,cAAc,EACd,kBAAkB,EAClB,KAAK,GACR,mCAAgC;AAEjC,MAAM,CAAC,MAAM,YAAY,GAA8B;IACnD,GAAG,OAAO;IACV,GAAG,qBAAqB;IACxB,GAAG,kBAAkB;IACrB,GAAG,WAAW;IACd,GAAG,cAAc;IACjB,GAAG,iBAAiB;IACpB,GAAG,WAAW;IACd,GAAG,WAAW;IACd,GAAG,cAAc;IACjB,GAAG,UAAU;IACb,GAAG,QAAQ;IACX,GAAG,SAAS;IACZ,GAAG,UAAU;IACb,GAAG,SAAS;IACZ,GAAG,iBAAiB;IACpB,GAAG,UAAU;IACb,GAAG,eAAe;IAClB,GAAG,kBAAkB;IACrB,GAAG,UAAU;IACb,GAAG,WAAW;IACd,GAAG,SAAS;IACZ,GAAG,cAAc;CACpB,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,GAAG,cAAc;IACjB,GAAG,UAAU;IACb,GAAG,kBAAkB;IACrB,GAAG,cAAc;IACjB,GAAG,KAAK;IACR,GAAG,SAAS;IACZ,GAAG,cAAc;IACjB,GAAG,SAAS;CACf,CAAC;AAEF,MAAM,CAAC,MAAM,2BAA2B,GAAG;IACvC,SAAS;IACT,OAAO;IACP,OAAO;IACP,MAAM;IACN,yBAAyB;IACzB,sBAAsB;IACtB,cAAc;IACd,iBAAiB;IACjB,cAAc;IACd,cAAc;IACd,iBAAiB;IACjB,aAAa;IACb,WAAW;IACX,YAAY;IACZ,aAAa;IACb,YAAY;IACZ,kBAAkB;IAClB,gBAAgB;IAChB,qBAAqB;IACrB,wBAAwB;IACxB,aAAa;IACb,mBAAmB;IACnB,sBAAsB;IACtB,aAAa;IACb,cAAc;IACd,YAAY;CACf,CAAC;AAEF,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACtC,YAAY;IACZ,aAAa;IACb,kBAAkB;IAClB,gBAAgB;IAChB,iBAAiB;IACjB,OAAO;IACP,YAAY;IACZ,aAAa;IACb,YAAY;IACZ,YAAY;CACf,CAAC","sourcesContent":["import {BlockType} from '../models';\n\nimport {\n BannerBlock,\n BannerCard,\n CardLayoutBlock,\n CompaniesBlock,\n ContentLayoutBlock,\n ExtendedFeaturesBlock,\n FilterBlock,\n FoldableListBlock,\n FormBlock,\n HeaderBlock,\n HeaderSliderBlock,\n IconsBlock,\n InfoBlock,\n MapBlock,\n MediaBlock,\n PromoFeaturesBlock,\n QuestionsBlock,\n ShareBlock,\n SliderBlock,\n SliderNewBlock,\n TableBlock,\n TabsBlock,\n} from './validators/blocks';\nimport {\n BackgroundCard,\n BasicCard,\n Divider,\n ImageCard,\n MediaCardBlock,\n PriceCardBlock,\n PriceDetailedBlock,\n Quote,\n} from './validators/sub-blocks';\n\nexport const blockSchemas: Record<BlockType, object> = {\n ...Divider,\n ...ExtendedFeaturesBlock,\n ...PromoFeaturesBlock,\n ...SliderBlock,\n ...QuestionsBlock,\n ...FoldableListBlock,\n ...HeaderBlock,\n ...BannerBlock,\n ...CompaniesBlock,\n ...MediaBlock,\n ...MapBlock,\n ...InfoBlock,\n ...TableBlock,\n ...TabsBlock,\n ...HeaderSliderBlock,\n ...IconsBlock,\n ...CardLayoutBlock,\n ...ContentLayoutBlock,\n ...ShareBlock,\n ...FilterBlock,\n ...FormBlock,\n ...SliderNewBlock,\n};\n\nexport const cardSchemas = {\n ...MediaCardBlock,\n ...BannerCard,\n ...PriceDetailedBlock,\n ...BackgroundCard,\n ...Quote,\n ...BasicCard,\n ...PriceCardBlock,\n ...ImageCard,\n};\n\nexport const constructorBlockSchemaNames = [\n 'divider',\n 'quote',\n 'event',\n 'post',\n 'extended-features-block',\n 'promo-features-block',\n 'slider-block',\n 'questions-block',\n 'header-block',\n 'banner-block',\n 'companies-block',\n 'media-block',\n 'map-block',\n 'info-block',\n 'table-block',\n 'tabs-block',\n /** @deprecated */\n 'price-detailed',\n 'header-slider-block',\n 'cards-with-image-block',\n 'icons-block',\n 'card-layout-block',\n 'content-layout-block',\n 'share-block',\n 'filter-block',\n 'form-block',\n];\n\nexport const constructorCardSchemaNames = [\n 'media-card',\n 'banner-card',\n /** @deprecated */\n 'price-detailed',\n 'background-card',\n 'quote',\n 'basic-card',\n 'layout-item',\n 'price-card',\n 'image-card',\n];\n"]}
|
|
@@ -11,260 +11,4 @@ export interface SchemaCustomConfig {
|
|
|
11
11
|
extensions?: object;
|
|
12
12
|
}
|
|
13
13
|
export declare const getBlocksCases: (blocks: Schema) => any;
|
|
14
|
-
export declare const defaultComponentsConfigurationSchema: {
|
|
15
|
-
type: string;
|
|
16
|
-
properties: {
|
|
17
|
-
logo: {
|
|
18
|
-
oneOf: (({
|
|
19
|
-
type: string;
|
|
20
|
-
additionalProperties: boolean;
|
|
21
|
-
required: string[];
|
|
22
|
-
properties: {
|
|
23
|
-
icon: {
|
|
24
|
-
oneOf: ({
|
|
25
|
-
type: string;
|
|
26
|
-
properties: {
|
|
27
|
-
when: {
|
|
28
|
-
type: string;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
} | {
|
|
32
|
-
type: string;
|
|
33
|
-
pattern: string;
|
|
34
|
-
optionName: string;
|
|
35
|
-
items?: undefined;
|
|
36
|
-
} | {
|
|
37
|
-
type: string;
|
|
38
|
-
items: {
|
|
39
|
-
type: string;
|
|
40
|
-
properties: {
|
|
41
|
-
when: {
|
|
42
|
-
type: string;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
optionName: string;
|
|
47
|
-
pattern?: undefined;
|
|
48
|
-
})[];
|
|
49
|
-
};
|
|
50
|
-
text: {
|
|
51
|
-
type: string;
|
|
52
|
-
contentType: string;
|
|
53
|
-
};
|
|
54
|
-
url: {
|
|
55
|
-
type: string;
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
} & {
|
|
59
|
-
optionName: string;
|
|
60
|
-
}) | {
|
|
61
|
-
type: string;
|
|
62
|
-
additionalProperties: boolean;
|
|
63
|
-
required: import("../index.js").Theme[];
|
|
64
|
-
properties: {};
|
|
65
|
-
optionName: string;
|
|
66
|
-
})[];
|
|
67
|
-
};
|
|
68
|
-
header: {
|
|
69
|
-
type: string;
|
|
70
|
-
additionalProperties: boolean;
|
|
71
|
-
required: string[];
|
|
72
|
-
properties: {
|
|
73
|
-
leftItems: {
|
|
74
|
-
oneOf: {
|
|
75
|
-
type: string;
|
|
76
|
-
items: {
|
|
77
|
-
type: string;
|
|
78
|
-
properties: {
|
|
79
|
-
when: {
|
|
80
|
-
type: string;
|
|
81
|
-
};
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
}[];
|
|
85
|
-
};
|
|
86
|
-
rightItems: {
|
|
87
|
-
oneOf: {
|
|
88
|
-
type: string;
|
|
89
|
-
items: {
|
|
90
|
-
type: string;
|
|
91
|
-
properties: {
|
|
92
|
-
when: {
|
|
93
|
-
type: string;
|
|
94
|
-
};
|
|
95
|
-
};
|
|
96
|
-
};
|
|
97
|
-
}[];
|
|
98
|
-
};
|
|
99
|
-
iconSize: {
|
|
100
|
-
type: string;
|
|
101
|
-
};
|
|
102
|
-
};
|
|
103
|
-
};
|
|
104
|
-
menu: {
|
|
105
|
-
type: string;
|
|
106
|
-
additionalProperties: boolean;
|
|
107
|
-
properties: {
|
|
108
|
-
title: {
|
|
109
|
-
type: string;
|
|
110
|
-
contentType: string;
|
|
111
|
-
};
|
|
112
|
-
};
|
|
113
|
-
};
|
|
114
|
-
background: {
|
|
115
|
-
oneOf: (({
|
|
116
|
-
additionalProperties: boolean;
|
|
117
|
-
properties: {
|
|
118
|
-
image: {
|
|
119
|
-
oneOf: ({
|
|
120
|
-
type: string;
|
|
121
|
-
properties: {
|
|
122
|
-
when: {
|
|
123
|
-
type: string;
|
|
124
|
-
};
|
|
125
|
-
};
|
|
126
|
-
} | {
|
|
127
|
-
type: string;
|
|
128
|
-
pattern: string;
|
|
129
|
-
optionName: string;
|
|
130
|
-
items?: undefined;
|
|
131
|
-
} | {
|
|
132
|
-
type: string;
|
|
133
|
-
items: {
|
|
134
|
-
type: string;
|
|
135
|
-
properties: {
|
|
136
|
-
when: {
|
|
137
|
-
type: string;
|
|
138
|
-
};
|
|
139
|
-
};
|
|
140
|
-
};
|
|
141
|
-
optionName: string;
|
|
142
|
-
pattern?: undefined;
|
|
143
|
-
})[];
|
|
144
|
-
};
|
|
145
|
-
color: {
|
|
146
|
-
type: string;
|
|
147
|
-
};
|
|
148
|
-
video: {
|
|
149
|
-
type: string;
|
|
150
|
-
additionalProperties: boolean;
|
|
151
|
-
required: string[];
|
|
152
|
-
properties: {
|
|
153
|
-
src: {
|
|
154
|
-
type: string;
|
|
155
|
-
items: {
|
|
156
|
-
type: string;
|
|
157
|
-
};
|
|
158
|
-
};
|
|
159
|
-
loop: {
|
|
160
|
-
oneOf: ({
|
|
161
|
-
optionName: string;
|
|
162
|
-
type: string;
|
|
163
|
-
additionalProperties: boolean;
|
|
164
|
-
required: string[];
|
|
165
|
-
properties: {
|
|
166
|
-
start: {
|
|
167
|
-
type: string;
|
|
168
|
-
};
|
|
169
|
-
end: {
|
|
170
|
-
type: string;
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
} | {
|
|
174
|
-
type: string;
|
|
175
|
-
optionName: string;
|
|
176
|
-
})[];
|
|
177
|
-
};
|
|
178
|
-
type: {
|
|
179
|
-
type: string;
|
|
180
|
-
enum: string[];
|
|
181
|
-
};
|
|
182
|
-
muted: {
|
|
183
|
-
type: string;
|
|
184
|
-
};
|
|
185
|
-
autoplay: {
|
|
186
|
-
type: string;
|
|
187
|
-
};
|
|
188
|
-
elapsedTime: {
|
|
189
|
-
type: string;
|
|
190
|
-
};
|
|
191
|
-
playButton: {
|
|
192
|
-
type: string;
|
|
193
|
-
additionalProperties: boolean;
|
|
194
|
-
properties: {
|
|
195
|
-
type: {
|
|
196
|
-
type: string;
|
|
197
|
-
enum: string[];
|
|
198
|
-
};
|
|
199
|
-
theme: {
|
|
200
|
-
type: string;
|
|
201
|
-
enum: string[];
|
|
202
|
-
};
|
|
203
|
-
text: {
|
|
204
|
-
type: string;
|
|
205
|
-
contentType: string;
|
|
206
|
-
};
|
|
207
|
-
};
|
|
208
|
-
};
|
|
209
|
-
controls: {
|
|
210
|
-
type: string;
|
|
211
|
-
enum: import("../index.js").MediaVideoControlsType[];
|
|
212
|
-
};
|
|
213
|
-
customControlsOptions: {
|
|
214
|
-
type: string;
|
|
215
|
-
additionalProperties: boolean;
|
|
216
|
-
properties: {
|
|
217
|
-
type: {
|
|
218
|
-
type: string;
|
|
219
|
-
enum: import("../index.js").CustomControlsType[];
|
|
220
|
-
};
|
|
221
|
-
muteButtonShown: {
|
|
222
|
-
type: string;
|
|
223
|
-
};
|
|
224
|
-
positioning: {
|
|
225
|
-
type: string;
|
|
226
|
-
enum: import("../index.js").CustomControlsButtonPositioning[];
|
|
227
|
-
};
|
|
228
|
-
};
|
|
229
|
-
};
|
|
230
|
-
ariaLabel: {
|
|
231
|
-
type: string;
|
|
232
|
-
};
|
|
233
|
-
contain: {
|
|
234
|
-
type: string;
|
|
235
|
-
};
|
|
236
|
-
};
|
|
237
|
-
};
|
|
238
|
-
height: {
|
|
239
|
-
type: string;
|
|
240
|
-
};
|
|
241
|
-
size: {
|
|
242
|
-
type: string;
|
|
243
|
-
enum: string[];
|
|
244
|
-
};
|
|
245
|
-
parallax: {
|
|
246
|
-
type: string;
|
|
247
|
-
};
|
|
248
|
-
fullWidthMedia: {
|
|
249
|
-
type: string;
|
|
250
|
-
};
|
|
251
|
-
animated: {
|
|
252
|
-
type: string;
|
|
253
|
-
};
|
|
254
|
-
};
|
|
255
|
-
} & {
|
|
256
|
-
optionName: string;
|
|
257
|
-
}) | {
|
|
258
|
-
type: string;
|
|
259
|
-
additionalProperties: boolean;
|
|
260
|
-
required: import("../index.js").Theme[];
|
|
261
|
-
properties: {};
|
|
262
|
-
optionName: string;
|
|
263
|
-
})[];
|
|
264
|
-
};
|
|
265
|
-
animated: {
|
|
266
|
-
type: string;
|
|
267
|
-
};
|
|
268
|
-
};
|
|
269
|
-
};
|
|
270
14
|
export declare function generateDefaultSchema(config?: SchemaCustomConfig): Schema;
|
|
@@ -9,16 +9,6 @@ export const getBlocksCases = (blocks) => {
|
|
|
9
9
|
...block,
|
|
10
10
|
}), {});
|
|
11
11
|
};
|
|
12
|
-
export const defaultComponentsConfigurationSchema = {
|
|
13
|
-
type: 'object',
|
|
14
|
-
properties: {
|
|
15
|
-
...AnimatableProps,
|
|
16
|
-
logo: withTheme(LogoProps),
|
|
17
|
-
header: NavigationHeaderProps,
|
|
18
|
-
menu: MenuProps,
|
|
19
|
-
background: withTheme(BackgroundProps),
|
|
20
|
-
},
|
|
21
|
-
};
|
|
22
12
|
export function generateDefaultSchema(config) {
|
|
23
13
|
const { cards = {}, blocks = {}, extensions = {} } = config ?? {};
|
|
24
14
|
const configBlockSchemaNames = Object.keys(blocks).filter((item) => !constructorBlockSchemaNames.includes(item));
|
|
@@ -61,13 +51,17 @@ export function generateDefaultSchema(config) {
|
|
|
61
51
|
additionalProperties: false,
|
|
62
52
|
required: ['blocks'],
|
|
63
53
|
properties: {
|
|
64
|
-
...
|
|
54
|
+
...AnimatableProps,
|
|
55
|
+
logo: withTheme(LogoProps),
|
|
56
|
+
header: NavigationHeaderProps,
|
|
65
57
|
blocks: {
|
|
66
58
|
type: 'array',
|
|
67
59
|
items: {
|
|
68
60
|
$ref: '#/definitions/children',
|
|
69
61
|
},
|
|
70
62
|
},
|
|
63
|
+
menu: MenuProps,
|
|
64
|
+
background: withTheme(BackgroundProps),
|
|
71
65
|
...extensions,
|
|
72
66
|
},
|
|
73
67
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../../../src","sources":["schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,8BAAqB;AAKxC,OAAO,EACH,YAAY,EACZ,WAAW,EACX,2BAA2B,EAC3B,0BAA0B,GAC7B,uBAAoB;AACrB,OAAO,EAAC,eAAe,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAC,+BAA4B;AAC3F,OAAO,EAAC,SAAS,EAAE,qBAAqB,EAAC,mCAAgC;AACzE,OAAO,EAAC,YAAY,EAAC,8BAA2B;AAYhD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,MAAc,EAAE,EAAE;IAC7C,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAC/B,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;QACb,GAAG,GAAG;QACN,GAAG,KAAK;KACX,CAAC,EACF,EAAE,CACL,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../../../src","sources":["schema/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,8BAAqB;AAKxC,OAAO,EACH,YAAY,EACZ,WAAW,EACX,2BAA2B,EAC3B,0BAA0B,GAC7B,uBAAoB;AACrB,OAAO,EAAC,eAAe,EAAE,eAAe,EAAE,SAAS,EAAE,SAAS,EAAC,+BAA4B;AAC3F,OAAO,EAAC,SAAS,EAAE,qBAAqB,EAAC,mCAAgC;AACzE,OAAO,EAAC,YAAY,EAAC,8BAA2B;AAYhD,MAAM,CAAC,MAAM,cAAc,GAAG,CAAC,MAAc,EAAE,EAAE;IAC7C,OAAO,MAAM,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,MAAM,CAC/B,CAAC,GAAG,EAAE,KAAK,EAAE,EAAE,CAAC,CAAC;QACb,GAAG,GAAG;QACN,GAAG,KAAK;KACX,CAAC,EACF,EAAE,CACL,CAAC;AACN,CAAC,CAAC;AAEF,MAAM,UAAU,qBAAqB,CAAC,MAA2B;IAC7D,MAAM,EAAC,KAAK,GAAG,EAAE,EAAE,MAAM,GAAG,EAAE,EAAE,UAAU,GAAG,EAAE,EAAC,GAAG,MAAM,IAAI,EAAE,CAAC;IAEhE,MAAM,sBAAsB,GAAG,MAAM,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC,MAAM,CACrD,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,2BAA2B,CAAC,QAAQ,CAAC,IAAI,CAAC,CACxD,CAAC;IAEF,MAAM,qBAAqB,GAAG,MAAM,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,MAAM,CACnD,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,0BAA0B,CAAC,QAAQ,CAAC,IAAI,CAAC,CACvD,CAAC;IAEF,OAAO;QACH,GAAG,EAAE,MAAM;QACX,WAAW,EAAE;YACT,QAAQ,EAAE,YAAY,CAAC;gBACnB,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,UAAU,EAAE;oBACR,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,GAAG,2BAA2B,EAAE,GAAG,sBAAsB,CAAC;qBACpE;iBACJ;gBACD,MAAM,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAC;gBACzB,WAAW,EAAE;oBACT,GAAG,YAAY;oBACf,GAAG,cAAc,CAAC,MAAM,CAAC;iBAC5B;aACJ,CAAC;YACF,KAAK,EAAE,YAAY,CAAC;gBAChB,IAAI,EAAE,QAAQ;gBACd,QAAQ,EAAE,CAAC,MAAM,CAAC;gBAClB,UAAU,EAAE;oBACR,IAAI,EAAE;wBACF,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,CAAC,GAAG,0BAA0B,EAAE,GAAG,qBAAqB,CAAC;qBAClE;iBACJ;gBACD,MAAM,EAAE,EAAC,KAAK,EAAE,QAAQ,EAAC;gBACzB,WAAW,EAAE;oBACT,GAAG,WAAW;oBACd,GAAG,cAAc,CAAC,KAAK,CAAC;iBAC3B;aACJ,CAAC;SACL;QACD,IAAI,EAAE,QAAQ;QACd,oBAAoB,EAAE,KAAK;QAC3B,QAAQ,EAAE,CAAC,QAAQ,CAAC;QACpB,UAAU,EAAE;YACR,GAAG,eAAe;YAClB,IAAI,EAAE,SAAS,CAAC,SAAS,CAAC;YAC1B,MAAM,EAAE,qBAAqB;YAC7B,MAAM,EAAE;gBACJ,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE;oBACH,IAAI,EAAE,wBAAwB;iBACjC;aACJ;YACD,IAAI,EAAE,SAAS;YACf,UAAU,EAAE,SAAS,CAAC,eAAe,CAAC;YACtC,GAAG,UAAU;SAChB;KACM,CAAC;AAChB,CAAC","sourcesContent":["export {validators} from './validators';\nexport type {ObjectSchema} from './validators/utils';\n\nimport type {JSONSchema4} from 'json-schema';\n\nimport {\n blockSchemas,\n cardSchemas,\n constructorBlockSchemaNames,\n constructorCardSchemaNames,\n} from './constants';\nimport {AnimatableProps, BackgroundProps, MenuProps, withTheme} from './validators/common';\nimport {LogoProps, NavigationHeaderProps} from './validators/navigation';\nimport {filteredItem} from './validators/utils';\n\nexport type Schema = JSONSchema4;\nexport type SchemaDefinitions = {\n [k: string]: Schema;\n};\nexport interface SchemaCustomConfig {\n blocks?: Record<string, Schema>;\n cards?: Record<string, Schema>;\n extensions?: object;\n}\n\nexport const getBlocksCases = (blocks: Schema) => {\n return Object.values(blocks).reduce(\n (acc, block) => ({\n ...acc,\n ...block,\n }),\n {},\n );\n};\n\nexport function generateDefaultSchema(config?: SchemaCustomConfig) {\n const {cards = {}, blocks = {}, extensions = {}} = config ?? {};\n\n const configBlockSchemaNames = Object.keys(blocks).filter(\n (item) => !constructorBlockSchemaNames.includes(item),\n );\n\n const configCardSchemaNames = Object.keys(cards).filter(\n (item) => !constructorCardSchemaNames.includes(item),\n );\n\n return {\n $id: 'self',\n definitions: {\n children: filteredItem({\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n enum: [...constructorBlockSchemaNames, ...configBlockSchemaNames],\n },\n },\n select: {$data: '0/type'},\n selectCases: {\n ...blockSchemas,\n ...getBlocksCases(blocks),\n },\n }),\n cards: filteredItem({\n type: 'object',\n required: ['type'],\n properties: {\n type: {\n type: 'string',\n enum: [...constructorCardSchemaNames, ...configCardSchemaNames],\n },\n },\n select: {$data: '0/type'},\n selectCases: {\n ...cardSchemas,\n ...getBlocksCases(cards),\n },\n }),\n },\n type: 'object',\n additionalProperties: false,\n required: ['blocks'],\n properties: {\n ...AnimatableProps,\n logo: withTheme(LogoProps),\n header: NavigationHeaderProps,\n blocks: {\n type: 'array',\n items: {\n $ref: '#/definitions/children',\n },\n },\n menu: MenuProps,\n background: withTheme(BackgroundProps),\n ...extensions,\n },\n } as Schema;\n}\n"]}
|
|
@@ -7,6 +7,7 @@ export * from "../../blocks/Info/schema.js";
|
|
|
7
7
|
export * from "../../blocks/Media/schema.js";
|
|
8
8
|
export * from "../../blocks/Map/schema.js";
|
|
9
9
|
export * from "../../blocks/Questions/schema.js";
|
|
10
|
+
export * from "../../blocks/FoldableList/schema.js";
|
|
10
11
|
export * from "../../blocks/Slider/schema.js";
|
|
11
12
|
export * from "../../blocks/Table/schema.js";
|
|
12
13
|
export * from "../../blocks/Tabs/schema.js";
|
|
@@ -7,6 +7,7 @@ export * from "../../blocks/Info/schema.js";
|
|
|
7
7
|
export * from "../../blocks/Media/schema.js";
|
|
8
8
|
export * from "../../blocks/Map/schema.js";
|
|
9
9
|
export * from "../../blocks/Questions/schema.js";
|
|
10
|
+
export * from "../../blocks/FoldableList/schema.js";
|
|
10
11
|
export * from "../../blocks/Slider/schema.js";
|
|
11
12
|
export * from "../../blocks/Table/schema.js";
|
|
12
13
|
export * from "../../blocks/Tabs/schema.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"blocks.js","sourceRoot":"../../../../src","sources":["schema/validators/blocks.ts"],"names":[],"mappings":"AAAA,8CAA2C;AAC3C,iDAA8C;AAC9C,wDAAqD;AACrD,0DAAuD;AACvD,8CAA2C;AAC3C,4CAAyC;AACzC,6CAA0C;AAC1C,2CAAwC;AACxC,iDAA8C;AAC9C,8CAA2C;AAC3C,6CAA0C;AAC1C,4CAAyC;AACzC,oDAAiD;AACjD,6CAA0C;AAC1C,kDAA+C;AAC/C,qDAAkD;AAClD,6CAA0C;AAC1C,mDAAgD;AAChD,4CAAyC;AACzC,iDAA8C","sourcesContent":["export * from '../../blocks/Banner/schema';\nexport * from '../../blocks/Companies/schema';\nexport * from '../../blocks/ExtendedFeatures/schema';\nexport * from '../../blocks/PromoFeaturesBlock/schema';\nexport * from '../../blocks/Header/schema';\nexport * from '../../blocks/Info/schema';\nexport * from '../../blocks/Media/schema';\nexport * from '../../blocks/Map/schema';\nexport * from '../../blocks/Questions/schema';\nexport * from '../../blocks/Slider/schema';\nexport * from '../../blocks/Table/schema';\nexport * from '../../blocks/Tabs/schema';\nexport * from '../../blocks/HeaderSlider/schema';\nexport * from '../../blocks/Icons/schema';\nexport * from '../../blocks/CardLayout/schema';\nexport * from '../../blocks/ContentLayout/schema';\nexport * from '../../blocks/Share/schema';\nexport * from '../../blocks/FilterBlock/schema';\nexport * from '../../blocks/Form/schema';\nexport * from '../../blocks/SliderNew/schema';\n"]}
|
|
1
|
+
{"version":3,"file":"blocks.js","sourceRoot":"../../../../src","sources":["schema/validators/blocks.ts"],"names":[],"mappings":"AAAA,8CAA2C;AAC3C,iDAA8C;AAC9C,wDAAqD;AACrD,0DAAuD;AACvD,8CAA2C;AAC3C,4CAAyC;AACzC,6CAA0C;AAC1C,2CAAwC;AACxC,iDAA8C;AAC9C,oDAAiD;AACjD,8CAA2C;AAC3C,6CAA0C;AAC1C,4CAAyC;AACzC,oDAAiD;AACjD,6CAA0C;AAC1C,kDAA+C;AAC/C,qDAAkD;AAClD,6CAA0C;AAC1C,mDAAgD;AAChD,4CAAyC;AACzC,iDAA8C","sourcesContent":["export * from '../../blocks/Banner/schema';\nexport * from '../../blocks/Companies/schema';\nexport * from '../../blocks/ExtendedFeatures/schema';\nexport * from '../../blocks/PromoFeaturesBlock/schema';\nexport * from '../../blocks/Header/schema';\nexport * from '../../blocks/Info/schema';\nexport * from '../../blocks/Media/schema';\nexport * from '../../blocks/Map/schema';\nexport * from '../../blocks/Questions/schema';\nexport * from '../../blocks/FoldableList/schema';\nexport * from '../../blocks/Slider/schema';\nexport * from '../../blocks/Table/schema';\nexport * from '../../blocks/Tabs/schema';\nexport * from '../../blocks/HeaderSlider/schema';\nexport * from '../../blocks/Icons/schema';\nexport * from '../../blocks/CardLayout/schema';\nexport * from '../../blocks/ContentLayout/schema';\nexport * from '../../blocks/Share/schema';\nexport * from '../../blocks/FilterBlock/schema';\nexport * from '../../blocks/Form/schema';\nexport * from '../../blocks/SliderNew/schema';\n"]}
|
|
@@ -5,10 +5,9 @@ import { block, getThemedValue } from "../../utils/index.js";
|
|
|
5
5
|
import './BannerCard.css';
|
|
6
6
|
const b = block('banner-card');
|
|
7
7
|
export const BannerCard = (props) => {
|
|
8
|
-
const { title, subtitle, button, color, theme: textTheme = 'light', image, disableCompress, mediaView = 'full', } = props;
|
|
8
|
+
const { title, subtitle, button: { url, text, target, theme: buttonTheme = 'raised' } = {}, color, theme: textTheme = 'light', image, disableCompress, mediaView = 'full', } = props;
|
|
9
9
|
const theme = useTheme();
|
|
10
10
|
const contentStyle = {};
|
|
11
|
-
const { url, text, target, theme: buttonTheme = 'raised' } = button || {};
|
|
12
11
|
if (color) {
|
|
13
12
|
contentStyle.backgroundColor = getThemedValue(color, theme);
|
|
14
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BannerCard.js","sourceRoot":"../../../../src","sources":["sub-blocks/BannerCard/BannerCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAC,kCAAyB;AACvF,OAAO,EAAC,QAAQ,EAAC,qCAA4B;AAE7C,OAAO,EAAC,KAAK,EAAE,cAAc,EAAC,6BAAoB;AAElD,OAAO,kBAAkB,CAAC;AAE1B,MAAM,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;AAE/B,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAsB,EAAE,EAAE;IACjD,MAAM,EACF,KAAK,EACL,QAAQ,EACR,MAAM,
|
|
1
|
+
{"version":3,"file":"BannerCard.js","sourceRoot":"../../../../src","sources":["sub-blocks/BannerCard/BannerCard.tsx"],"names":[],"mappings":";AAAA,OAAO,EAAC,eAAe,EAAE,MAAM,EAAE,IAAI,EAAE,UAAU,EAAE,UAAU,EAAC,kCAAyB;AACvF,OAAO,EAAC,QAAQ,EAAC,qCAA4B;AAE7C,OAAO,EAAC,KAAK,EAAE,cAAc,EAAC,6BAAoB;AAElD,OAAO,kBAAkB,CAAC;AAE1B,MAAM,CAAC,GAAG,KAAK,CAAC,aAAa,CAAC,CAAC;AAE/B,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,KAAsB,EAAE,EAAE;IACjD,MAAM,EACF,KAAK,EACL,QAAQ,EACR,MAAM,EAAE,EAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,WAAW,GAAG,QAAQ,EAAC,GAAG,EAAE,EAC/D,KAAK,EACL,KAAK,EAAE,SAAS,GAAG,OAAO,EAC1B,KAAK,EACL,eAAe,EACf,SAAS,GAAG,MAAM,GACrB,GAAG,KAAK,CAAC;IACV,MAAM,KAAK,GAAG,QAAQ,EAAE,CAAC;IACzB,MAAM,YAAY,GAA2B,EAAE,CAAC;IAEhD,IAAI,KAAK,EAAE,CAAC;QACR,YAAY,CAAC,eAAe,GAAG,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;IAChE,CAAC;IAED,OAAO,CACH,cAAK,SAAS,EAAE,CAAC,CAAC,EAAC,KAAK,EAAE,SAAS,EAAE,CAAC,YAAY,CAAC,EAAE,SAAS,EAAC,CAAC,YAC5D,eAAK,SAAS,EAAE,CAAC,CAAC,SAAS,CAAC,EAAE,KAAK,EAAE,YAAY,aAC7C,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,eAAK,SAAS,EAAE,CAAC,CAAC,MAAM,CAAC,aACrB,aAAI,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,YACrB,KAAC,IAAI,cAAE,KAAK,GAAQ,GACnB,EACJ,QAAQ,IAAI,CACT,KAAC,UAAU,IACP,SAAS,EAAE,CAAC,CAAC,UAAU,CAAC,EACxB,OAAO,EAAE,QAAQ,EACjB,SAAS,EAAE,EAAC,WAAW,EAAE,IAAI,EAAC,GAChC,CACL,IACC,EAEL,GAAG,IAAI,CACJ,KAAC,UAAU,IAAC,IAAI,EAAE,GAAG,YACjB,KAAC,MAAM,IACH,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,EACtB,KAAK,EAAE,WAAW,EAClB,IAAI,EAAC,IAAI,EACT,IAAI,EAAE,IAAI,IAAI,EAAE,EAChB,GAAG,EAAE,GAAG,EACR,MAAM,EAAE,MAAM,GAChB,GACO,CAChB,IACC,EACN,KAAC,eAAe,IACZ,SAAS,EAAE,CAAC,CAAC,OAAO,CAAC,EACrB,GAAG,EAAE,cAAc,CAAC,KAAK,EAAE,KAAK,CAAC,EACjC,eAAe,EAAE,eAAe,GAClC,IACA,GACJ,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,UAAU,CAAC","sourcesContent":["import {BackgroundImage, Button, HTML, RouterLink, YFMWrapper} from '../../components';\nimport {useTheme} from '../../context/theme';\nimport {BannerCardProps} from '../../models';\nimport {block, getThemedValue} from '../../utils';\n\nimport './BannerCard.scss';\n\nconst b = block('banner-card');\n\nexport const BannerCard = (props: BannerCardProps) => {\n const {\n title,\n subtitle,\n button: {url, text, target, theme: buttonTheme = 'raised'} = {},\n color,\n theme: textTheme = 'light',\n image,\n disableCompress,\n mediaView = 'full',\n } = props;\n const theme = useTheme();\n const contentStyle: Record<string, string> = {};\n\n if (color) {\n contentStyle.backgroundColor = getThemedValue(color, theme);\n }\n\n return (\n <div className={b({theme: textTheme, ['media-view']: mediaView})}>\n <div className={b('content')} style={contentStyle}>\n <div className={b('info')}>\n <div className={b('text')}>\n <h2 className={b('title')}>\n <HTML>{title}</HTML>\n </h2>\n {subtitle && (\n <YFMWrapper\n className={b('subtitle')}\n content={subtitle}\n modifiers={{constructor: true}}\n />\n )}\n </div>\n\n {url && (\n <RouterLink href={url}>\n <Button\n className={b('button')}\n theme={buttonTheme}\n size=\"xl\"\n text={text ?? ''}\n url={url}\n target={target}\n />\n </RouterLink>\n )}\n </div>\n <BackgroundImage\n className={b('image')}\n src={getThemedValue(image, theme)}\n disableCompress={disableCompress}\n />\n </div>\n </div>\n );\n};\n\nexport default BannerCard;\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["sub-blocks/Content/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,yCAAsC;AACzD,OAAO,EACH,WAAW,EACX,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,UAAU,EACV,SAAS,GACZ,0CAAuC;AACxC,OAAO,EAAC,aAAa,EAAC,yCAAsC;AAE5D,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,UAAU,EAAE;QACR,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,KAAK;SACrB;QACD,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC;KAC9B;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,KAAK,EAAE;QACH,KAAK,EAAE;YACH;gBACI,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,MAAM;gBACnB,UAAU,EAAE,MAAM;aACrB;YACD;gBACI,GAAG,UAAU;gBACb,UAAU,EAAE,SAAS;aACxB;SACJ;KACJ;IACD,IAAI,EAAE;QACF,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,KAAK;QAClB,SAAS,EAAE,UAAU;KACxB;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,KAAK;KACrB;IACD,IAAI,EAAE;QACF,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,YAAY;KACrB;IACD,KAAK,EAAE,aAAa,CAAC,SAAS,CAAC;IAC/B,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC;IACnC,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,aAAa;KACtB;IACD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC;IAChC,eAAe,EAAE;QACb,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;KAC9B;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,OAAO,EAAE;QACL,
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["sub-blocks/Content/schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,UAAU,EAAC,yCAAsC;AACzD,OAAO,EACH,WAAW,EACX,SAAS,EACT,UAAU,EACV,mBAAmB,EACnB,YAAY,EACZ,aAAa,EACb,UAAU,EACV,SAAS,GACZ,0CAAuC;AACxC,OAAO,EAAC,aAAa,EAAC,yCAAsC;AAE5D,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,MAAM,CAAC;IAClB,UAAU,EAAE;QACR,KAAK,EAAE;YACH,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,MAAM;SACtB;QACD,IAAI,EAAE;YACF,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,KAAK;SACrB;QACD,IAAI,EAAE,SAAS,CAAC,UAAU,CAAC;KAC9B;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,WAAW,GAAG;IACvB,KAAK,EAAE;QACH,KAAK,EAAE;YACH;gBACI,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,MAAM;gBACnB,UAAU,EAAE,MAAM;aACrB;YACD;gBACI,GAAG,UAAU;gBACb,UAAU,EAAE,SAAS;aACxB;SACJ;KACJ;IACD,IAAI,EAAE;QACF,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,KAAK;QAClB,SAAS,EAAE,UAAU;KACxB;IACD,cAAc,EAAE;QACZ,IAAI,EAAE,QAAQ;QACd,WAAW,EAAE,KAAK;KACrB;IACD,IAAI,EAAE;QACF,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,YAAY;KACrB;IACD,KAAK,EAAE,aAAa,CAAC,SAAS,CAAC;IAC/B,OAAO,EAAE,aAAa,CAAC,WAAW,CAAC;IACnC,KAAK,EAAE;QACH,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,aAAa;KACtB;IACD,IAAI,EAAE,aAAa,CAAC,WAAW,CAAC;IAChC,eAAe,EAAE;QACb,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,CAAC,SAAS,EAAE,QAAQ,CAAC;KAC9B;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,YAAY,GAAG;IACxB,OAAO,EAAE;QACL,oBAAoB,EAAE,KAAK;QAC3B,UAAU,EAAE;YACR,GAAG,WAAW;YACd,QAAQ,EAAE,mBAAmB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE,CAAC,CAAC,EAAC,GAAG,GAAG,EAAE,CAAC,IAAI,CAAC,EAAE,UAAU,EAAC,CAAC,EAAE,EAAE,CAAC;YACvF,QAAQ,EAAE;gBACN,IAAI,EAAE,SAAS;aAClB;SACJ;KACJ;CACJ,CAAC","sourcesContent":["import {ImageProps} from '../../components/Image/schema';\nimport {\n ButtonBlock,\n LinkProps,\n TitleProps,\n containerSizesArray,\n contentSizes,\n contentThemes,\n sizeNumber,\n withTheme,\n} from '../../schema/validators/common';\nimport {filteredArray} from '../../schema/validators/utils';\n\nexport const ContentItem = {\n additionalProperties: false,\n required: ['icon'],\n properties: {\n title: {\n type: 'string',\n contentType: 'text',\n },\n text: {\n type: 'string',\n contentType: 'yfm',\n },\n icon: withTheme(ImageProps),\n },\n};\n\nexport const ContentBase = {\n title: {\n oneOf: [\n {\n type: 'string',\n contentType: 'text',\n optionName: 'text',\n },\n {\n ...TitleProps,\n optionName: 'options',\n },\n ],\n },\n text: {\n type: 'string',\n contentType: 'yfm',\n inputType: 'textarea',\n },\n additionalInfo: {\n type: 'string',\n contentType: 'yfm',\n },\n size: {\n type: 'string',\n enum: contentSizes,\n },\n links: filteredArray(LinkProps),\n buttons: filteredArray(ButtonBlock),\n theme: {\n type: 'string',\n enum: contentThemes,\n },\n list: filteredArray(ContentItem),\n controlPosition: {\n type: 'string',\n enum: ['default', 'bottom'],\n },\n};\n\nexport const ContentBlock = {\n content: {\n additionalProperties: false,\n properties: {\n ...ContentBase,\n colSizes: containerSizesArray.reduce((acc, size) => ({...acc, [size]: sizeNumber}), {}),\n centered: {\n type: 'boolean',\n },\n },\n },\n};\n"]}
|