@gravity-ui/page-constructor 6.3.2-alpha.3 → 6.4.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/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/components/BlockBase/BlockBase.css +16 -8
- package/build/cjs/constructor-items.d.ts +6 -22
- package/build/cjs/constructor-items.js +6 -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 +0 -1
- package/build/cjs/models/constructor-items/blocks.js +0 -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 +0 -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/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/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/components/BlockBase/BlockBase.css +16 -8
- package/build/esm/constructor-items.d.ts +6 -22
- package/build/esm/constructor-items.js +1 -75
- 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 +0 -1
- package/build/esm/models/constructor-items/blocks.js +0 -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 +0 -2
- 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/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 +0 -1
- package/server/models/constructor-items/blocks.js +0 -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,182 +0,0 @@
|
|
|
1
|
-
import { sliderSizesArray, textSize } from "../../schema/validators/common.js";
|
|
2
|
-
import { generateFromAJV } from "../../utils/form-generator.js";
|
|
3
|
-
import CardLayout from "./CardLayout.js";
|
|
4
|
-
import { CardLayoutProps } from "./schema.js";
|
|
5
|
-
const textSizeEnum = textSize.map((size) => ({ value: size, content: size }));
|
|
6
|
-
export const blockConfig = [
|
|
7
|
-
{
|
|
8
|
-
type: 'oneOf',
|
|
9
|
-
name: 'title',
|
|
10
|
-
title: 'Title Object',
|
|
11
|
-
options: [
|
|
12
|
-
{
|
|
13
|
-
title: 'Simple',
|
|
14
|
-
value: 'simple',
|
|
15
|
-
properties: [
|
|
16
|
-
{
|
|
17
|
-
type: 'text',
|
|
18
|
-
name: '',
|
|
19
|
-
title: 'Title',
|
|
20
|
-
},
|
|
21
|
-
],
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
title: 'Complex',
|
|
25
|
-
value: 'complex',
|
|
26
|
-
properties: [
|
|
27
|
-
{
|
|
28
|
-
type: 'text',
|
|
29
|
-
name: 'text',
|
|
30
|
-
title: 'Title',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
type: 'select',
|
|
34
|
-
name: 'textSize',
|
|
35
|
-
title: 'Text Size',
|
|
36
|
-
enum: textSizeEnum,
|
|
37
|
-
view: 'select',
|
|
38
|
-
mode: 'single',
|
|
39
|
-
},
|
|
40
|
-
{
|
|
41
|
-
type: 'text',
|
|
42
|
-
name: 'url',
|
|
43
|
-
title: 'Url',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
type: 'text',
|
|
47
|
-
name: 'urlTitle',
|
|
48
|
-
title: 'Url',
|
|
49
|
-
},
|
|
50
|
-
{
|
|
51
|
-
type: 'boolean',
|
|
52
|
-
name: 'resetMargin',
|
|
53
|
-
title: 'Reset Margin',
|
|
54
|
-
},
|
|
55
|
-
],
|
|
56
|
-
},
|
|
57
|
-
],
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
type: 'textarea',
|
|
61
|
-
name: 'description',
|
|
62
|
-
title: 'Description',
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
type: 'boolean',
|
|
66
|
-
name: 'dots',
|
|
67
|
-
title: 'With dots',
|
|
68
|
-
},
|
|
69
|
-
{
|
|
70
|
-
type: 'boolean',
|
|
71
|
-
name: 'arrows',
|
|
72
|
-
title: 'With Arrows',
|
|
73
|
-
},
|
|
74
|
-
{
|
|
75
|
-
type: 'boolean',
|
|
76
|
-
name: 'randomOrder',
|
|
77
|
-
title: 'Random Order',
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
type: 'number',
|
|
81
|
-
name: 'autoplay',
|
|
82
|
-
title: 'Autoplay',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
type: 'object',
|
|
86
|
-
name: 'disclaimer',
|
|
87
|
-
title: 'Disclaimer',
|
|
88
|
-
properties: [
|
|
89
|
-
{
|
|
90
|
-
type: 'text',
|
|
91
|
-
name: 'text',
|
|
92
|
-
title: 'Text',
|
|
93
|
-
},
|
|
94
|
-
{
|
|
95
|
-
type: 'select',
|
|
96
|
-
name: 'size',
|
|
97
|
-
title: 'Size',
|
|
98
|
-
enum: textSizeEnum,
|
|
99
|
-
view: 'select',
|
|
100
|
-
mode: 'single',
|
|
101
|
-
},
|
|
102
|
-
],
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
type: 'oneOf',
|
|
106
|
-
name: 'slidesToShow',
|
|
107
|
-
title: 'Slides to Show',
|
|
108
|
-
options: [
|
|
109
|
-
{
|
|
110
|
-
title: 'Simple',
|
|
111
|
-
value: 'simple',
|
|
112
|
-
properties: [
|
|
113
|
-
{
|
|
114
|
-
type: 'number',
|
|
115
|
-
name: '',
|
|
116
|
-
title: 'Slides',
|
|
117
|
-
},
|
|
118
|
-
],
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
title: 'Complex',
|
|
122
|
-
value: 'complex',
|
|
123
|
-
properties: sliderSizesArray.reduce((acc, size) => {
|
|
124
|
-
acc.push({ type: 'number', name: size, title: size });
|
|
125
|
-
return acc;
|
|
126
|
-
}, []),
|
|
127
|
-
},
|
|
128
|
-
],
|
|
129
|
-
},
|
|
130
|
-
{
|
|
131
|
-
type: 'array',
|
|
132
|
-
name: 'array',
|
|
133
|
-
title: 'Array Properties',
|
|
134
|
-
buttonText: 'Add new',
|
|
135
|
-
arrayType: 'object',
|
|
136
|
-
properties: [
|
|
137
|
-
{
|
|
138
|
-
type: 'text',
|
|
139
|
-
name: 'text',
|
|
140
|
-
title: 'Property',
|
|
141
|
-
},
|
|
142
|
-
{
|
|
143
|
-
type: 'boolean',
|
|
144
|
-
name: 'boolean',
|
|
145
|
-
title: 'Property',
|
|
146
|
-
},
|
|
147
|
-
],
|
|
148
|
-
},
|
|
149
|
-
];
|
|
150
|
-
const CardLayoutBlockConfig = {
|
|
151
|
-
component: CardLayout,
|
|
152
|
-
schema: {
|
|
153
|
-
name: 'Card Layout Block',
|
|
154
|
-
group: 'card-containers',
|
|
155
|
-
inputs: generateFromAJV(CardLayoutProps),
|
|
156
|
-
default: {
|
|
157
|
-
type: 'card-layout-block',
|
|
158
|
-
children: [
|
|
159
|
-
{
|
|
160
|
-
type: 'background-card',
|
|
161
|
-
title: 'Tell a story and build a narrative',
|
|
162
|
-
text: 'We are all storytellers. Stories are a powerful way to communicate ideas and share information. The right story can lead to a better understanding of a situation, make us laugh, or even inspire us to do something in the future.',
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
type: 'background-card',
|
|
166
|
-
title: 'Tell a story and build a narrative',
|
|
167
|
-
text: 'We are all storytellers. Stories are a powerful way to communicate ideas and share information. The right story can lead to a better understanding of a situation, make us laugh, or even inspire us to do something in the future.',
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
type: 'background-card',
|
|
171
|
-
title: 'Tell a story and build a narrative',
|
|
172
|
-
text: 'We are all storytellers. Stories are a powerful way to communicate ideas and share information. The right story can lead to a better understanding of a situation, make us laugh, or even inspire us to do something in the future.',
|
|
173
|
-
},
|
|
174
|
-
],
|
|
175
|
-
title: 'Card Layout Block',
|
|
176
|
-
description: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
177
|
-
},
|
|
178
|
-
previewImg: 'https://storage.cloud-preprod.yandex.net/qradle-test/card-layout-block.svg',
|
|
179
|
-
},
|
|
180
|
-
};
|
|
181
|
-
export default CardLayoutBlockConfig;
|
|
182
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["blocks/CardLayout/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAC,gBAAgB,EAAE,QAAQ,EAAC,0CAAuC;AAC1E,OAAO,EAAC,eAAe,EAAC,sCAAmC;AAE3D,OAAO,UAAU,wBAAqB;AACtC,OAAO,EAAC,eAAe,EAAC,oBAAiB;AAEzC,MAAM,YAAY,GAAG,QAAQ,CAAC,GAAG,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,EAAC,KAAK,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC,CAAC,CAAC;AAE5E,MAAM,CAAC,MAAM,WAAW,GAAkB;IACtC;QACI,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,cAAc;QACrB,OAAO,EAAE;YACL;gBACI,KAAK,EAAE,QAAQ;gBACf,KAAK,EAAE,QAAQ;gBACf,UAAU,EAAE;oBACR;wBACI,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,EAAE;wBACR,KAAK,EAAE,OAAO;qBACjB;iBACJ;aACJ;YACD;gBACI,KAAK,EAAE,SAAS;gBAChB,KAAK,EAAE,SAAS;gBAChB,UAAU,EAAE;oBACR;wBACI,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,MAAM;wBACZ,KAAK,EAAE,OAAO;qBACjB;oBACD;wBACI,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,UAAU;wBAChB,KAAK,EAAE,WAAW;wBAClB,IAAI,EAAE,YAAY;wBAClB,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,QAAQ;qBACjB;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,KAAK;wBACX,KAAK,EAAE,KAAK;qBACf;oBACD;wBACI,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,UAAU;wBAChB,KAAK,EAAE,KAAK;qBACf;oBACD;wBACI,IAAI,EAAE,SAAS;wBACf,IAAI,EAAE,aAAa;wBACnB,KAAK,EAAE,cAAc;qBACxB;iBACJ;aACJ;SACJ;KACJ;IACD;QACI,IAAI,EAAE,UAAU;QAChB,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,aAAa;KACvB;IACD;QACI,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,WAAW;KACrB;IACD;QACI,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,QAAQ;QACd,KAAK,EAAE,aAAa;KACvB;IACD;QACI,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,cAAc;KACxB;IACD;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,UAAU;QAChB,KAAK,EAAE,UAAU;KACpB;IACD;QACI,IAAI,EAAE,QAAQ;QACd,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,YAAY;QACnB,UAAU,EAAE;YACR;gBACI,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;aAChB;YACD;gBACI,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,MAAM;gBACb,IAAI,EAAE,YAAY;gBAClB,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,QAAQ;aACjB;SACJ;KACJ;IACD;QACI,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,gBAAgB;QACvB,OAAO,EAAE;YACL;gBACI,KAAK,EAAE,QAAQ;gBACf,KAAK,EAAE,QAAQ;gBACf,UAAU,EAAE;oBACR;wBACI,IAAI,EAAE,QAAQ;wBACd,IAAI,EAAE,EAAE;wBACR,KAAK,EAAE,QAAQ;qBAClB;iBACJ;aACJ;YACD;gBACI,KAAK,EAAE,SAAS;gBAChB,KAAK,EAAE,SAAS;gBAChB,UAAU,EAAE,gBAAgB,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IAAI,EAAE,EAAE;oBAC9C,GAAG,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAC,CAAC,CAAC;oBACpD,OAAO,GAAG,CAAC;gBACf,CAAC,EAAE,EAAwB,CAAC;aAC/B;SACJ;KACJ;IACD;QACI,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,OAAO;QACb,KAAK,EAAE,kBAAkB;QACzB,UAAU,EAAE,SAAS;QACrB,SAAS,EAAE,QAAQ;QACnB,UAAU,EAAE;YACR;gBACI,IAAI,EAAE,MAAM;gBACZ,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,UAAU;aACpB;YACD;gBACI,IAAI,EAAE,SAAS;gBACf,IAAI,EAAE,SAAS;gBACf,KAAK,EAAE,UAAU;aACpB;SACJ;KACJ;CACJ,CAAC;AAEF,MAAM,qBAAqB,GAAc;IACrC,SAAS,EAAE,UAAU;IACrB,MAAM,EAAE;QACJ,IAAI,EAAE,mBAAmB;QACzB,KAAK,EAAE,iBAAiB;QACxB,MAAM,EAAE,eAAe,CAAC,eAAgD,CAAC;QACzE,OAAO,EAAE;YACL,IAAI,EAAE,mBAAmB;YACzB,QAAQ,EAAE;gBACN;oBACI,IAAI,EAAE,iBAAiB;oBACvB,KAAK,EAAE,oCAAoC;oBAC3C,IAAI,EAAE,qOAAqO;iBAC9O;gBACD;oBACI,IAAI,EAAE,iBAAiB;oBACvB,KAAK,EAAE,oCAAoC;oBAC3C,IAAI,EAAE,qOAAqO;iBAC9O;gBACD;oBACI,IAAI,EAAE,iBAAiB;oBACvB,KAAK,EAAE,oCAAoC;oBAC3C,IAAI,EAAE,qOAAqO;iBAC9O;aACJ;YACD,KAAK,EAAE,mBAAmB;YAC1B,WAAW,EACP,6HAA6H;SACpI;QACD,UAAU,EAAE,4EAA4E;KAC3F;CACJ,CAAC;AAEF,eAAe,qBAAqB,CAAC","sourcesContent":["import {JSONSchemaType} from 'ajv';\n\nimport {ConfigInput} from '../../common/types';\nimport {BlockData} from '../../constructor-items';\nimport {sliderSizesArray, textSize} from '../../schema/validators/common';\nimport {generateFromAJV} from '../../utils/form-generator';\n\nimport CardLayout from './CardLayout';\nimport {CardLayoutProps} from './schema';\n\nconst textSizeEnum = textSize.map((size) => ({value: size, content: size}));\n\nexport const blockConfig: ConfigInput[] = [\n {\n type: 'oneOf',\n name: 'title',\n title: 'Title Object',\n options: [\n {\n title: 'Simple',\n value: 'simple',\n properties: [\n {\n type: 'text',\n name: '',\n title: 'Title',\n },\n ],\n },\n {\n title: 'Complex',\n value: 'complex',\n properties: [\n {\n type: 'text',\n name: 'text',\n title: 'Title',\n },\n {\n type: 'select',\n name: 'textSize',\n title: 'Text Size',\n enum: textSizeEnum,\n view: 'select',\n mode: 'single',\n },\n {\n type: 'text',\n name: 'url',\n title: 'Url',\n },\n {\n type: 'text',\n name: 'urlTitle',\n title: 'Url',\n },\n {\n type: 'boolean',\n name: 'resetMargin',\n title: 'Reset Margin',\n },\n ],\n },\n ],\n },\n {\n type: 'textarea',\n name: 'description',\n title: 'Description',\n },\n {\n type: 'boolean',\n name: 'dots',\n title: 'With dots',\n },\n {\n type: 'boolean',\n name: 'arrows',\n title: 'With Arrows',\n },\n {\n type: 'boolean',\n name: 'randomOrder',\n title: 'Random Order',\n },\n {\n type: 'number',\n name: 'autoplay',\n title: 'Autoplay',\n },\n {\n type: 'object',\n name: 'disclaimer',\n title: 'Disclaimer',\n properties: [\n {\n type: 'text',\n name: 'text',\n title: 'Text',\n },\n {\n type: 'select',\n name: 'size',\n title: 'Size',\n enum: textSizeEnum,\n view: 'select',\n mode: 'single',\n },\n ],\n },\n {\n type: 'oneOf',\n name: 'slidesToShow',\n title: 'Slides to Show',\n options: [\n {\n title: 'Simple',\n value: 'simple',\n properties: [\n {\n type: 'number',\n name: '',\n title: 'Slides',\n },\n ],\n },\n {\n title: 'Complex',\n value: 'complex',\n properties: sliderSizesArray.reduce((acc, size) => {\n acc.push({type: 'number', name: size, title: size});\n return acc;\n }, [] as Array<ConfigInput>),\n },\n ],\n },\n {\n type: 'array',\n name: 'array',\n title: 'Array Properties',\n buttonText: 'Add new',\n arrayType: 'object',\n properties: [\n {\n type: 'text',\n name: 'text',\n title: 'Property',\n },\n {\n type: 'boolean',\n name: 'boolean',\n title: 'Property',\n },\n ],\n },\n];\n\nconst CardLayoutBlockConfig: BlockData = {\n component: CardLayout,\n schema: {\n name: 'Card Layout Block',\n group: 'card-containers',\n inputs: generateFromAJV(CardLayoutProps as unknown as JSONSchemaType<{}>),\n default: {\n type: 'card-layout-block',\n children: [\n {\n type: 'background-card',\n title: 'Tell a story and build a narrative',\n text: 'We are all storytellers. Stories are a powerful way to communicate ideas and share information. The right story can lead to a better understanding of a situation, make us laugh, or even inspire us to do something in the future.',\n },\n {\n type: 'background-card',\n title: 'Tell a story and build a narrative',\n text: 'We are all storytellers. Stories are a powerful way to communicate ideas and share information. The right story can lead to a better understanding of a situation, make us laugh, or even inspire us to do something in the future.',\n },\n {\n type: 'background-card',\n title: 'Tell a story and build a narrative',\n text: 'We are all storytellers. Stories are a powerful way to communicate ideas and share information. The right story can lead to a better understanding of a situation, make us laugh, or even inspire us to do something in the future.',\n },\n ],\n title: 'Card Layout Block',\n description:\n 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n },\n previewImg: 'https://storage.cloud-preprod.yandex.net/qradle-test/card-layout-block.svg',\n },\n};\n\nexport default CardLayoutBlockConfig;\n"]}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { generateFromAJV } from "../../utils/form-generator.js";
|
|
2
|
-
import CompaniesBlock from "./Companies.js";
|
|
3
|
-
import { CompaniesBlock as CompaniesBlockSchema } from "./schema.js";
|
|
4
|
-
const CompaniesBlockConfig = {
|
|
5
|
-
component: CompaniesBlock,
|
|
6
|
-
schema: {
|
|
7
|
-
name: 'Companies Block',
|
|
8
|
-
group: 'block',
|
|
9
|
-
inputs: generateFromAJV(CompaniesBlockSchema['companies-block']),
|
|
10
|
-
default: {
|
|
11
|
-
title: 'Companies Block',
|
|
12
|
-
description: 'Here is the list',
|
|
13
|
-
},
|
|
14
|
-
},
|
|
15
|
-
};
|
|
16
|
-
export default CompaniesBlockConfig;
|
|
17
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["blocks/Companies/index.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,eAAe,EAAC,sCAAmC;AAE3D,OAAO,cAAc,uBAAoB;AACzC,OAAO,EAAC,cAAc,IAAI,oBAAoB,EAAC,oBAAiB;AAEhE,MAAM,oBAAoB,GAAc;IACpC,SAAS,EAAE,cAAc;IACzB,MAAM,EAAE;QACJ,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,eAAe,CACnB,oBAAoB,CAAC,iBAAiB,CAAkC,CAC3E;QACD,OAAO,EAAE;YACL,KAAK,EAAE,iBAAiB;YACxB,WAAW,EAAE,kBAAkB;SAClC;KACJ;CACJ,CAAC;AAEF,eAAe,oBAAoB,CAAC","sourcesContent":["import {JSONSchemaType} from 'ajv';\n\nimport {BlockData} from '../../constructor-items';\nimport {generateFromAJV} from '../../utils/form-generator';\n\nimport CompaniesBlock from './Companies';\nimport {CompaniesBlock as CompaniesBlockSchema} from './schema';\n\nconst CompaniesBlockConfig: BlockData = {\n component: CompaniesBlock,\n schema: {\n name: 'Companies Block',\n group: 'block',\n inputs: generateFromAJV(\n CompaniesBlockSchema['companies-block'] as unknown as JSONSchemaType<{}>,\n ),\n default: {\n title: 'Companies Block',\n description: 'Here is the list',\n },\n },\n};\n\nexport default CompaniesBlockConfig;\n"]}
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
declare const ContentLayoutBlockConfig: {
|
|
2
|
-
component: (props: import("../../index.js").ContentLayoutBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
schema: {
|
|
4
|
-
name: string;
|
|
5
|
-
group: string;
|
|
6
|
-
inputs: import("../../editor-v2/index.js").ConfigInput[];
|
|
7
|
-
default: {
|
|
8
|
-
textContent: {
|
|
9
|
-
title: string;
|
|
10
|
-
text: string;
|
|
11
|
-
};
|
|
12
|
-
additionalInfo: string;
|
|
13
|
-
buttons: {
|
|
14
|
-
text: string;
|
|
15
|
-
theme: string;
|
|
16
|
-
url: string;
|
|
17
|
-
}[];
|
|
18
|
-
links: {
|
|
19
|
-
url: string;
|
|
20
|
-
text: string;
|
|
21
|
-
theme: string;
|
|
22
|
-
arrow: boolean;
|
|
23
|
-
}[];
|
|
24
|
-
fileContent: {
|
|
25
|
-
href: string;
|
|
26
|
-
text: string;
|
|
27
|
-
}[];
|
|
28
|
-
list: ({
|
|
29
|
-
title: string;
|
|
30
|
-
text: string;
|
|
31
|
-
} | {
|
|
32
|
-
text: string;
|
|
33
|
-
title?: undefined;
|
|
34
|
-
} | {
|
|
35
|
-
title: string;
|
|
36
|
-
text?: undefined;
|
|
37
|
-
})[];
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
export default ContentLayoutBlockConfig;
|
|
@@ -1,78 +0,0 @@
|
|
|
1
|
-
import { generateFromAJV } from "../../utils/form-generator.js";
|
|
2
|
-
import ContentLayoutBlock from "./ContentLayout.js";
|
|
3
|
-
import { ContentLayoutBlock as ContentLayoutBlockSchema } from "./schema.js";
|
|
4
|
-
const ContentLayoutBlockConfig = {
|
|
5
|
-
component: ContentLayoutBlock,
|
|
6
|
-
schema: {
|
|
7
|
-
name: 'Content Layout Block',
|
|
8
|
-
group: 'block',
|
|
9
|
-
inputs: generateFromAJV(ContentLayoutBlockSchema['content-layout-block']),
|
|
10
|
-
default: {
|
|
11
|
-
textContent: {
|
|
12
|
-
title: 'Lorem ipsum dolor sit amet',
|
|
13
|
-
text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
|
|
14
|
-
},
|
|
15
|
-
additionalInfo: 'Duis aute irure dolor in reprehenderit n voluptate velit esse cillum dolore eu fugiat nulla pariatur.',
|
|
16
|
-
buttons: [
|
|
17
|
-
{
|
|
18
|
-
text: 'Button',
|
|
19
|
-
theme: 'action',
|
|
20
|
-
url: 'https://example.com',
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
text: 'Button',
|
|
24
|
-
theme: 'outlined',
|
|
25
|
-
url: 'https://example.com',
|
|
26
|
-
},
|
|
27
|
-
],
|
|
28
|
-
links: [
|
|
29
|
-
{
|
|
30
|
-
url: 'https://example.com',
|
|
31
|
-
text: 'Link',
|
|
32
|
-
theme: 'normal',
|
|
33
|
-
arrow: true,
|
|
34
|
-
},
|
|
35
|
-
],
|
|
36
|
-
fileContent: [
|
|
37
|
-
{
|
|
38
|
-
href: 'https://example.xls',
|
|
39
|
-
text: 'File xls',
|
|
40
|
-
},
|
|
41
|
-
{
|
|
42
|
-
href: 'https://example.fig',
|
|
43
|
-
text: 'File PNG, JPG, and SVG format',
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
href: 'https://example.pdf',
|
|
47
|
-
text: 'Pdf file',
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
href: 'https://example.zip',
|
|
51
|
-
text: 'Archive file',
|
|
52
|
-
},
|
|
53
|
-
{
|
|
54
|
-
href: 'https://example.doc',
|
|
55
|
-
text: 'Microsoft Word document',
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
href: 'https://example.ppt',
|
|
59
|
-
text: 'PPT file',
|
|
60
|
-
},
|
|
61
|
-
],
|
|
62
|
-
list: [
|
|
63
|
-
{
|
|
64
|
-
title: 'Lorem ipsum',
|
|
65
|
-
text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
|
|
69
|
-
},
|
|
70
|
-
{
|
|
71
|
-
title: 'Lorem ipsum ipsum',
|
|
72
|
-
},
|
|
73
|
-
],
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
};
|
|
77
|
-
export default ContentLayoutBlockConfig;
|
|
78
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["blocks/ContentLayout/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,sCAAmC;AAE3D,OAAO,kBAAkB,2BAAwB;AACjD,OAAO,EAAC,kBAAkB,IAAI,wBAAwB,EAAC,oBAAiB;AAExE,MAAM,wBAAwB,GAAG;IAC7B,SAAS,EAAE,kBAAkB;IAC7B,MAAM,EAAE;QACJ,IAAI,EAAE,sBAAsB;QAC5B,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,eAAe,CACnB,wBAAwB,CAAC,sBAAsB,CAAkC,CACpF;QACD,OAAO,EAAE;YACL,WAAW,EAAE;gBACT,KAAK,EAAE,4BAA4B;gBACnC,IAAI,EAAE,kUAAkU;aAC3U;YACD,cAAc,EACV,uGAAuG;YAC3G,OAAO,EAAE;gBACL;oBACI,IAAI,EAAE,QAAQ;oBACd,KAAK,EAAE,QAAQ;oBACf,GAAG,EAAE,qBAAqB;iBAC7B;gBACD;oBACI,IAAI,EAAE,QAAQ;oBACd,KAAK,EAAE,UAAU;oBACjB,GAAG,EAAE,qBAAqB;iBAC7B;aACJ;YACD,KAAK,EAAE;gBACH;oBACI,GAAG,EAAE,qBAAqB;oBAC1B,IAAI,EAAE,MAAM;oBACZ,KAAK,EAAE,QAAQ;oBACf,KAAK,EAAE,IAAI;iBACd;aACJ;YACD,WAAW,EAAE;gBACT;oBACI,IAAI,EAAE,qBAAqB;oBAC3B,IAAI,EAAE,UAAU;iBACnB;gBACD;oBACI,IAAI,EAAE,qBAAqB;oBAC3B,IAAI,EAAE,+BAA+B;iBACxC;gBACD;oBACI,IAAI,EAAE,qBAAqB;oBAC3B,IAAI,EAAE,UAAU;iBACnB;gBACD;oBACI,IAAI,EAAE,qBAAqB;oBAC3B,IAAI,EAAE,cAAc;iBACvB;gBACD;oBACI,IAAI,EAAE,qBAAqB;oBAC3B,IAAI,EAAE,yBAAyB;iBAClC;gBACD;oBACI,IAAI,EAAE,qBAAqB;oBAC3B,IAAI,EAAE,UAAU;iBACnB;aACJ;YACD,IAAI,EAAE;gBACF;oBACI,KAAK,EAAE,aAAa;oBACpB,IAAI,EAAE,kUAAkU;iBAC3U;gBACD;oBACI,IAAI,EAAE,kUAAkU;iBAC3U;gBACD;oBACI,KAAK,EAAE,mBAAmB;iBAC7B;aACJ;SACJ;KACJ;CACJ,CAAC;AAEF,eAAe,wBAAwB,CAAC","sourcesContent":["import {JSONSchemaType} from 'ajv';\n\nimport {generateFromAJV} from '../../utils/form-generator';\n\nimport ContentLayoutBlock from './ContentLayout';\nimport {ContentLayoutBlock as ContentLayoutBlockSchema} from './schema';\n\nconst ContentLayoutBlockConfig = {\n component: ContentLayoutBlock,\n schema: {\n name: 'Content Layout Block',\n group: 'block',\n inputs: generateFromAJV(\n ContentLayoutBlockSchema['content-layout-block'] as unknown as JSONSchemaType<{}>,\n ),\n default: {\n textContent: {\n title: 'Lorem ipsum dolor sit amet',\n text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',\n },\n additionalInfo:\n 'Duis aute irure dolor in reprehenderit n voluptate velit esse cillum dolore eu fugiat nulla pariatur.',\n buttons: [\n {\n text: 'Button',\n theme: 'action',\n url: 'https://example.com',\n },\n {\n text: 'Button',\n theme: 'outlined',\n url: 'https://example.com',\n },\n ],\n links: [\n {\n url: 'https://example.com',\n text: 'Link',\n theme: 'normal',\n arrow: true,\n },\n ],\n fileContent: [\n {\n href: 'https://example.xls',\n text: 'File xls',\n },\n {\n href: 'https://example.fig',\n text: 'File PNG, JPG, and SVG format',\n },\n {\n href: 'https://example.pdf',\n text: 'Pdf file',\n },\n {\n href: 'https://example.zip',\n text: 'Archive file',\n },\n {\n href: 'https://example.doc',\n text: 'Microsoft Word document',\n },\n {\n href: 'https://example.ppt',\n text: 'PPT file',\n },\n ],\n list: [\n {\n title: 'Lorem ipsum',\n text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',\n },\n {\n text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',\n },\n {\n title: 'Lorem ipsum ipsum',\n },\n ],\n },\n },\n};\n\nexport default ContentLayoutBlockConfig;\n"]}
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
declare const ExtendedFeaturesBlockConfig: {
|
|
2
|
-
component: ({ title, description, items, colSizes, animated, }: import("../../index.js").ExtendedFeaturesProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
schema: {
|
|
4
|
-
name: string;
|
|
5
|
-
group: string;
|
|
6
|
-
inputs: import("../../editor-v2/index.js").ConfigInput[];
|
|
7
|
-
default: {
|
|
8
|
-
type: string;
|
|
9
|
-
title: {
|
|
10
|
-
text: string;
|
|
11
|
-
textSize: string;
|
|
12
|
-
};
|
|
13
|
-
description: string;
|
|
14
|
-
items: ({
|
|
15
|
-
title: string;
|
|
16
|
-
text: string;
|
|
17
|
-
additionalInfo: string;
|
|
18
|
-
buttons?: undefined;
|
|
19
|
-
links?: undefined;
|
|
20
|
-
list?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
title: string;
|
|
23
|
-
text: string;
|
|
24
|
-
buttons: {
|
|
25
|
-
text: string;
|
|
26
|
-
theme: string;
|
|
27
|
-
url: string;
|
|
28
|
-
}[];
|
|
29
|
-
additionalInfo?: undefined;
|
|
30
|
-
links?: undefined;
|
|
31
|
-
list?: undefined;
|
|
32
|
-
} | {
|
|
33
|
-
title: string;
|
|
34
|
-
text: string;
|
|
35
|
-
links: {
|
|
36
|
-
text: string;
|
|
37
|
-
url: string;
|
|
38
|
-
arrow: boolean;
|
|
39
|
-
theme: string;
|
|
40
|
-
}[];
|
|
41
|
-
additionalInfo?: undefined;
|
|
42
|
-
buttons?: undefined;
|
|
43
|
-
list?: undefined;
|
|
44
|
-
} | {
|
|
45
|
-
title: string;
|
|
46
|
-
text: string;
|
|
47
|
-
list: {
|
|
48
|
-
title: string;
|
|
49
|
-
text: string;
|
|
50
|
-
}[];
|
|
51
|
-
additionalInfo?: undefined;
|
|
52
|
-
buttons?: undefined;
|
|
53
|
-
links?: undefined;
|
|
54
|
-
})[];
|
|
55
|
-
};
|
|
56
|
-
};
|
|
57
|
-
};
|
|
58
|
-
export default ExtendedFeaturesBlockConfig;
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { generateFromAJV } from "../../utils/form-generator.js";
|
|
2
|
-
import ExtendedFeaturesBlock from "./ExtendedFeatures.js";
|
|
3
|
-
import { ExtendedFeaturesBlock as ExtendedFeaturesBlockSchema } from "./schema.js";
|
|
4
|
-
const ExtendedFeaturesBlockConfig = {
|
|
5
|
-
component: ExtendedFeaturesBlock,
|
|
6
|
-
schema: {
|
|
7
|
-
name: 'Extended Features Block',
|
|
8
|
-
group: 'block',
|
|
9
|
-
inputs: generateFromAJV(ExtendedFeaturesBlockSchema['extended-features-block']),
|
|
10
|
-
default: {
|
|
11
|
-
type: 'extended-features-block',
|
|
12
|
-
title: {
|
|
13
|
-
text: 'Lorem ipsum dolor sit amet',
|
|
14
|
-
textSize: 'm',
|
|
15
|
-
},
|
|
16
|
-
description: 'Three cards in a row on the desktop, two cards in a row on a tablet, one card in a row on a mobile phone.',
|
|
17
|
-
items: [
|
|
18
|
-
{
|
|
19
|
-
title: 'Sed do eiusmod tempor incididunt',
|
|
20
|
-
text: 'Ut enim ad minim veniam quis nostrud ullamco laboris nisi ut aliquip ex ea commodo consequat.',
|
|
21
|
-
additionalInfo: 'Duis aute irure dolor in reprehenderit n voluptate velit esse cillum dolore eu fugiat nulla pariatur.',
|
|
22
|
-
},
|
|
23
|
-
{
|
|
24
|
-
title: 'Sed do eiusmod tempor',
|
|
25
|
-
text: 'Ut enim ad minim veniam quis nostrud ullamco laboris nisi ut aliquip ex ea commodo consequat.',
|
|
26
|
-
buttons: [
|
|
27
|
-
{
|
|
28
|
-
text: 'Button',
|
|
29
|
-
theme: 'action',
|
|
30
|
-
url: 'https://example.com',
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
text: 'Button',
|
|
34
|
-
theme: 'outlined',
|
|
35
|
-
url: 'https://example.com',
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
title: 'Sed do eiusmod tempor incididunt',
|
|
41
|
-
text: 'Ut enim ad minim veniam quis nostrud ullamco laboris nisi ut aliquip ex ea commodo consequat.',
|
|
42
|
-
links: [
|
|
43
|
-
{
|
|
44
|
-
text: 'Go',
|
|
45
|
-
url: '#',
|
|
46
|
-
arrow: true,
|
|
47
|
-
theme: 'normal',
|
|
48
|
-
},
|
|
49
|
-
],
|
|
50
|
-
},
|
|
51
|
-
{
|
|
52
|
-
title: 'Sed do eiusmod tempor incididunt',
|
|
53
|
-
text: 'Ut enim ad minim veniam quis nostrud ullamco laboris nisi ut aliquip ex ea commodo consequat.',
|
|
54
|
-
list: [
|
|
55
|
-
{
|
|
56
|
-
title: 'Lorem ipsum',
|
|
57
|
-
text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
title: 'Lorem ipsum ipsum',
|
|
61
|
-
text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
|
|
62
|
-
},
|
|
63
|
-
{
|
|
64
|
-
title: 'Lorem ipsum',
|
|
65
|
-
text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',
|
|
66
|
-
},
|
|
67
|
-
],
|
|
68
|
-
},
|
|
69
|
-
],
|
|
70
|
-
},
|
|
71
|
-
},
|
|
72
|
-
};
|
|
73
|
-
export default ExtendedFeaturesBlockConfig;
|
|
74
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["blocks/ExtendedFeatures/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,sCAAmC;AAE3D,OAAO,qBAAqB,8BAA2B;AACvD,OAAO,EAAC,qBAAqB,IAAI,2BAA2B,EAAC,oBAAiB;AAE9E,MAAM,2BAA2B,GAAG;IAChC,SAAS,EAAE,qBAAqB;IAChC,MAAM,EAAE;QACJ,IAAI,EAAE,yBAAyB;QAC/B,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,eAAe,CACnB,2BAA2B,CAAC,yBAAyB,CAAkC,CAC1F;QACD,OAAO,EAAE;YACL,IAAI,EAAE,yBAAyB;YAC/B,KAAK,EAAE;gBACH,IAAI,EAAE,4BAA4B;gBAClC,QAAQ,EAAE,GAAG;aAChB;YACD,WAAW,EACP,2GAA2G;YAC/G,KAAK,EAAE;gBACH;oBACI,KAAK,EAAE,kCAAkC;oBACzC,IAAI,EAAE,+FAA+F;oBACrG,cAAc,EACV,uGAAuG;iBAC9G;gBACD;oBACI,KAAK,EAAE,uBAAuB;oBAC9B,IAAI,EAAE,+FAA+F;oBACrG,OAAO,EAAE;wBACL;4BACI,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,QAAQ;4BACf,GAAG,EAAE,qBAAqB;yBAC7B;wBACD;4BACI,IAAI,EAAE,QAAQ;4BACd,KAAK,EAAE,UAAU;4BACjB,GAAG,EAAE,qBAAqB;yBAC7B;qBACJ;iBACJ;gBACD;oBACI,KAAK,EAAE,kCAAkC;oBACzC,IAAI,EAAE,+FAA+F;oBACrG,KAAK,EAAE;wBACH;4BACI,IAAI,EAAE,IAAI;4BACV,GAAG,EAAE,GAAG;4BACR,KAAK,EAAE,IAAI;4BACX,KAAK,EAAE,QAAQ;yBAClB;qBACJ;iBACJ;gBACD;oBACI,KAAK,EAAE,kCAAkC;oBACzC,IAAI,EAAE,+FAA+F;oBACrG,IAAI,EAAE;wBACF;4BACI,KAAK,EAAE,aAAa;4BACpB,IAAI,EAAE,kUAAkU;yBAC3U;wBACD;4BACI,KAAK,EAAE,mBAAmB;4BAC1B,IAAI,EAAE,kUAAkU;yBAC3U;wBACD;4BACI,KAAK,EAAE,aAAa;4BACpB,IAAI,EAAE,kUAAkU;yBAC3U;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AAEF,eAAe,2BAA2B,CAAC","sourcesContent":["import {JSONSchemaType} from 'ajv';\n\nimport {generateFromAJV} from '../../utils/form-generator';\n\nimport ExtendedFeaturesBlock from './ExtendedFeatures';\nimport {ExtendedFeaturesBlock as ExtendedFeaturesBlockSchema} from './schema';\n\nconst ExtendedFeaturesBlockConfig = {\n component: ExtendedFeaturesBlock,\n schema: {\n name: 'Extended Features Block',\n group: 'block',\n inputs: generateFromAJV(\n ExtendedFeaturesBlockSchema['extended-features-block'] as unknown as JSONSchemaType<{}>,\n ),\n default: {\n type: 'extended-features-block',\n title: {\n text: 'Lorem ipsum dolor sit amet',\n textSize: 'm',\n },\n description:\n 'Three cards in a row on the desktop, two cards in a row on a tablet, one card in a row on a mobile phone.',\n items: [\n {\n title: 'Sed do eiusmod tempor incididunt',\n text: 'Ut enim ad minim veniam quis nostrud ullamco laboris nisi ut aliquip ex ea commodo consequat.',\n additionalInfo:\n 'Duis aute irure dolor in reprehenderit n voluptate velit esse cillum dolore eu fugiat nulla pariatur.',\n },\n {\n title: 'Sed do eiusmod tempor',\n text: 'Ut enim ad minim veniam quis nostrud ullamco laboris nisi ut aliquip ex ea commodo consequat.',\n buttons: [\n {\n text: 'Button',\n theme: 'action',\n url: 'https://example.com',\n },\n {\n text: 'Button',\n theme: 'outlined',\n url: 'https://example.com',\n },\n ],\n },\n {\n title: 'Sed do eiusmod tempor incididunt',\n text: 'Ut enim ad minim veniam quis nostrud ullamco laboris nisi ut aliquip ex ea commodo consequat.',\n links: [\n {\n text: 'Go',\n url: '#',\n arrow: true,\n theme: 'normal',\n },\n ],\n },\n {\n title: 'Sed do eiusmod tempor incididunt',\n text: 'Ut enim ad minim veniam quis nostrud ullamco laboris nisi ut aliquip ex ea commodo consequat.',\n list: [\n {\n title: 'Lorem ipsum',\n text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',\n },\n {\n title: 'Lorem ipsum ipsum',\n text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',\n },\n {\n title: 'Lorem ipsum',\n text: 'Ut enim ad minim veniam quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.',\n },\n ],\n },\n ],\n },\n },\n};\n\nexport default ExtendedFeaturesBlockConfig;\n"]}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
declare const FilterBlockConfig: {
|
|
2
|
-
component: import("react").FC<import("../..").FilterBlockProps>;
|
|
3
|
-
schema: {
|
|
4
|
-
name: string;
|
|
5
|
-
group: string;
|
|
6
|
-
inputs: import("../../editor-v2/index.js").ConfigInput[];
|
|
7
|
-
default: {
|
|
8
|
-
allTag: boolean;
|
|
9
|
-
description: string;
|
|
10
|
-
items: {
|
|
11
|
-
card: {
|
|
12
|
-
content: {
|
|
13
|
-
title: string;
|
|
14
|
-
text: string;
|
|
15
|
-
};
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
18
|
-
tags: string[];
|
|
19
|
-
}[];
|
|
20
|
-
tags: {
|
|
21
|
-
id: string;
|
|
22
|
-
label: string;
|
|
23
|
-
}[];
|
|
24
|
-
title: string;
|
|
25
|
-
type: string;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export default FilterBlockConfig;
|
|
@@ -1,95 +0,0 @@
|
|
|
1
|
-
import { generateFromAJV } from "../../utils/form-generator.js";
|
|
2
|
-
import FilterBlock from "./FilterBlock.js";
|
|
3
|
-
import { FilterProps } from "./schema.js";
|
|
4
|
-
const FilterBlockConfig = {
|
|
5
|
-
component: FilterBlock,
|
|
6
|
-
schema: {
|
|
7
|
-
name: 'Filter Block',
|
|
8
|
-
group: 'block',
|
|
9
|
-
inputs: generateFromAJV(FilterProps),
|
|
10
|
-
default: {
|
|
11
|
-
allTag: true,
|
|
12
|
-
description: 'Three cards in a row on the desktop, two cards in a row on a tablet, one card in a row on a mobile phone.',
|
|
13
|
-
items: [
|
|
14
|
-
{
|
|
15
|
-
card: {
|
|
16
|
-
content: {
|
|
17
|
-
title: 'Layout Item 1',
|
|
18
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
19
|
-
},
|
|
20
|
-
type: 'layout-item',
|
|
21
|
-
},
|
|
22
|
-
tags: ['one'],
|
|
23
|
-
},
|
|
24
|
-
{
|
|
25
|
-
card: {
|
|
26
|
-
content: {
|
|
27
|
-
title: 'Layout Item 2',
|
|
28
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
29
|
-
},
|
|
30
|
-
type: 'layout-item',
|
|
31
|
-
},
|
|
32
|
-
tags: ['two'],
|
|
33
|
-
},
|
|
34
|
-
{
|
|
35
|
-
card: {
|
|
36
|
-
content: {
|
|
37
|
-
title: 'Layout Item 3',
|
|
38
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
39
|
-
},
|
|
40
|
-
type: 'layout-item',
|
|
41
|
-
},
|
|
42
|
-
tags: ['three'],
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
card: {
|
|
46
|
-
content: {
|
|
47
|
-
title: 'Layout Item 4',
|
|
48
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
49
|
-
},
|
|
50
|
-
type: 'layout-item',
|
|
51
|
-
},
|
|
52
|
-
tags: ['one'],
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
card: {
|
|
56
|
-
content: {
|
|
57
|
-
title: 'Layout Item 5',
|
|
58
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
59
|
-
},
|
|
60
|
-
type: 'layout-item',
|
|
61
|
-
},
|
|
62
|
-
tags: ['two'],
|
|
63
|
-
},
|
|
64
|
-
{
|
|
65
|
-
card: {
|
|
66
|
-
content: {
|
|
67
|
-
title: 'Layout Item 6',
|
|
68
|
-
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
69
|
-
},
|
|
70
|
-
type: 'layout-item',
|
|
71
|
-
},
|
|
72
|
-
tags: ['three'],
|
|
73
|
-
},
|
|
74
|
-
],
|
|
75
|
-
tags: [
|
|
76
|
-
{
|
|
77
|
-
id: 'one',
|
|
78
|
-
label: 'First very long label',
|
|
79
|
-
},
|
|
80
|
-
{
|
|
81
|
-
id: 'two',
|
|
82
|
-
label: 'Second very long label',
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
id: 'three',
|
|
86
|
-
label: 'Third very long label',
|
|
87
|
-
},
|
|
88
|
-
],
|
|
89
|
-
title: 'Card Layout',
|
|
90
|
-
type: 'filter-block',
|
|
91
|
-
},
|
|
92
|
-
},
|
|
93
|
-
};
|
|
94
|
-
export default FilterBlockConfig;
|
|
95
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["blocks/FilterBlock/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAC,eAAe,EAAC,sCAAmC;AAE3D,OAAO,WAAW,yBAAsB;AACxC,OAAO,EAAC,WAAW,EAAC,oBAAiB;AAErC,MAAM,iBAAiB,GAAG;IACtB,SAAS,EAAE,WAAW;IACtB,MAAM,EAAE;QACJ,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,eAAe,CAAC,WAA4C,CAAC;QACrE,OAAO,EAAE;YACL,MAAM,EAAE,IAAI;YACZ,WAAW,EACP,2GAA2G;YAC/G,KAAK,EAAE;gBACH;oBACI,IAAI,EAAE;wBACF,OAAO,EAAE;4BACL,KAAK,EAAE,eAAe;4BACtB,IAAI,EAAE,6HAA6H;yBACtI;wBACD,IAAI,EAAE,aAAa;qBACtB;oBACD,IAAI,EAAE,CAAC,KAAK,CAAC;iBAChB;gBACD;oBACI,IAAI,EAAE;wBACF,OAAO,EAAE;4BACL,KAAK,EAAE,eAAe;4BACtB,IAAI,EAAE,6HAA6H;yBACtI;wBACD,IAAI,EAAE,aAAa;qBACtB;oBACD,IAAI,EAAE,CAAC,KAAK,CAAC;iBAChB;gBACD;oBACI,IAAI,EAAE;wBACF,OAAO,EAAE;4BACL,KAAK,EAAE,eAAe;4BACtB,IAAI,EAAE,6HAA6H;yBACtI;wBACD,IAAI,EAAE,aAAa;qBACtB;oBACD,IAAI,EAAE,CAAC,OAAO,CAAC;iBAClB;gBACD;oBACI,IAAI,EAAE;wBACF,OAAO,EAAE;4BACL,KAAK,EAAE,eAAe;4BACtB,IAAI,EAAE,6HAA6H;yBACtI;wBACD,IAAI,EAAE,aAAa;qBACtB;oBACD,IAAI,EAAE,CAAC,KAAK,CAAC;iBAChB;gBACD;oBACI,IAAI,EAAE;wBACF,OAAO,EAAE;4BACL,KAAK,EAAE,eAAe;4BACtB,IAAI,EAAE,6HAA6H;yBACtI;wBACD,IAAI,EAAE,aAAa;qBACtB;oBACD,IAAI,EAAE,CAAC,KAAK,CAAC;iBAChB;gBACD;oBACI,IAAI,EAAE;wBACF,OAAO,EAAE;4BACL,KAAK,EAAE,eAAe;4BACtB,IAAI,EAAE,6HAA6H;yBACtI;wBACD,IAAI,EAAE,aAAa;qBACtB;oBACD,IAAI,EAAE,CAAC,OAAO,CAAC;iBAClB;aACJ;YACD,IAAI,EAAE;gBACF;oBACI,EAAE,EAAE,KAAK;oBACT,KAAK,EAAE,uBAAuB;iBACjC;gBACD;oBACI,EAAE,EAAE,KAAK;oBACT,KAAK,EAAE,wBAAwB;iBAClC;gBACD;oBACI,EAAE,EAAE,OAAO;oBACX,KAAK,EAAE,uBAAuB;iBACjC;aACJ;YACD,KAAK,EAAE,aAAa;YACpB,IAAI,EAAE,cAAc;SACvB;KACJ;CACJ,CAAC;AAEF,eAAe,iBAAiB,CAAC","sourcesContent":["import {JSONSchemaType} from 'ajv';\n\nimport {generateFromAJV} from '../../utils/form-generator';\n\nimport FilterBlock from './FilterBlock';\nimport {FilterProps} from './schema';\n\nconst FilterBlockConfig = {\n component: FilterBlock,\n schema: {\n name: 'Filter Block',\n group: 'block',\n inputs: generateFromAJV(FilterProps as unknown as JSONSchemaType<{}>),\n default: {\n allTag: true,\n description:\n 'Three cards in a row on the desktop, two cards in a row on a tablet, one card in a row on a mobile phone.',\n items: [\n {\n card: {\n content: {\n title: 'Layout Item 1',\n text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n },\n type: 'layout-item',\n },\n tags: ['one'],\n },\n {\n card: {\n content: {\n title: 'Layout Item 2',\n text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n },\n type: 'layout-item',\n },\n tags: ['two'],\n },\n {\n card: {\n content: {\n title: 'Layout Item 3',\n text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n },\n type: 'layout-item',\n },\n tags: ['three'],\n },\n {\n card: {\n content: {\n title: 'Layout Item 4',\n text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n },\n type: 'layout-item',\n },\n tags: ['one'],\n },\n {\n card: {\n content: {\n title: 'Layout Item 5',\n text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n },\n type: 'layout-item',\n },\n tags: ['two'],\n },\n {\n card: {\n content: {\n title: 'Layout Item 6',\n text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n },\n type: 'layout-item',\n },\n tags: ['three'],\n },\n ],\n tags: [\n {\n id: 'one',\n label: 'First very long label',\n },\n {\n id: 'two',\n label: 'Second very long label',\n },\n {\n id: 'three',\n label: 'Third very long label',\n },\n ],\n title: 'Card Layout',\n type: 'filter-block',\n },\n },\n};\n\nexport default FilterBlockConfig;\n"]}
|