@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,89 +0,0 @@
|
|
|
1
|
-
const textInput = {
|
|
2
|
-
type: 'text',
|
|
3
|
-
name: 'text',
|
|
4
|
-
title: 'Text Input',
|
|
5
|
-
};
|
|
6
|
-
const textAreaInput = {
|
|
7
|
-
type: 'textarea',
|
|
8
|
-
name: 'textarea',
|
|
9
|
-
title: 'TextArea Input',
|
|
10
|
-
};
|
|
11
|
-
const booleanInput = {
|
|
12
|
-
type: 'boolean',
|
|
13
|
-
name: 'boolean',
|
|
14
|
-
title: 'Boolean Input',
|
|
15
|
-
};
|
|
16
|
-
const numberInput = {
|
|
17
|
-
type: 'number',
|
|
18
|
-
name: 'number',
|
|
19
|
-
title: 'Number Input',
|
|
20
|
-
};
|
|
21
|
-
const selectInput = {
|
|
22
|
-
type: 'select',
|
|
23
|
-
name: 'selectSingle',
|
|
24
|
-
title: 'Select Single Input',
|
|
25
|
-
mode: 'single',
|
|
26
|
-
view: 'select',
|
|
27
|
-
enum: [
|
|
28
|
-
{ value: 'id_1', content: 'Option 1' },
|
|
29
|
-
{ value: 'id_2', content: 'Option 2' },
|
|
30
|
-
],
|
|
31
|
-
};
|
|
32
|
-
const radioButtonsViewSingleInput = {
|
|
33
|
-
...selectInput,
|
|
34
|
-
name: 'radioButtons',
|
|
35
|
-
title: 'Radio Button Input',
|
|
36
|
-
view: 'radiobutton',
|
|
37
|
-
};
|
|
38
|
-
// @ts-ignore
|
|
39
|
-
const selectMultipleModeInput = {
|
|
40
|
-
...selectInput,
|
|
41
|
-
name: 'selectMultiple',
|
|
42
|
-
title: 'Select Multiple Input',
|
|
43
|
-
mode: 'multiple',
|
|
44
|
-
};
|
|
45
|
-
const objectInput = {
|
|
46
|
-
type: 'object',
|
|
47
|
-
name: 'object',
|
|
48
|
-
title: 'Object Input',
|
|
49
|
-
properties: [textInput, textAreaInput, selectInput],
|
|
50
|
-
};
|
|
51
|
-
const arrayTextInput = {
|
|
52
|
-
type: 'array',
|
|
53
|
-
name: 'arrayText',
|
|
54
|
-
title: 'Array Text Input',
|
|
55
|
-
buttonText: 'Add Array Item',
|
|
56
|
-
arrayType: 'text',
|
|
57
|
-
};
|
|
58
|
-
const arrayObjectInput = {
|
|
59
|
-
type: 'array',
|
|
60
|
-
name: 'arrayObject',
|
|
61
|
-
title: 'Array Object Input',
|
|
62
|
-
buttonText: 'Add Array Item',
|
|
63
|
-
arrayType: 'object',
|
|
64
|
-
properties: [textInput, textAreaInput, selectInput],
|
|
65
|
-
};
|
|
66
|
-
const oneOfInput = {
|
|
67
|
-
type: 'oneOf',
|
|
68
|
-
name: 'oneOf',
|
|
69
|
-
key: 'oneOfKey',
|
|
70
|
-
title: 'Array Text Input',
|
|
71
|
-
options: [
|
|
72
|
-
{ value: 'text', title: 'Text', properties: [textInput] },
|
|
73
|
-
{ value: 'textarea', title: 'TextArea', properties: [textAreaInput] },
|
|
74
|
-
],
|
|
75
|
-
};
|
|
76
|
-
export default [
|
|
77
|
-
textInput,
|
|
78
|
-
textAreaInput,
|
|
79
|
-
booleanInput,
|
|
80
|
-
numberInput,
|
|
81
|
-
selectInput,
|
|
82
|
-
radioButtonsViewSingleInput,
|
|
83
|
-
selectMultipleModeInput,
|
|
84
|
-
objectInput,
|
|
85
|
-
arrayTextInput,
|
|
86
|
-
arrayObjectInput,
|
|
87
|
-
oneOfInput,
|
|
88
|
-
];
|
|
89
|
-
//# sourceMappingURL=form.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"form.js","sourceRoot":"../../../../src","sources":["blocks/TestEditorBlock/form.ts"],"names":[],"mappings":"AAaA,MAAM,SAAS,GAAc;IACzB,IAAI,EAAE,MAAM;IACZ,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,YAAY;CACtB,CAAC;AAEF,MAAM,aAAa,GAAkB;IACjC,IAAI,EAAE,UAAU;IAChB,IAAI,EAAE,UAAU;IAChB,KAAK,EAAE,gBAAgB;CAC1B,CAAC;AAEF,MAAM,YAAY,GAAiB;IAC/B,IAAI,EAAE,SAAS;IACf,IAAI,EAAE,SAAS;IACf,KAAK,EAAE,eAAe;CACzB,CAAC;AAEF,MAAM,WAAW,GAAgB;IAC7B,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,cAAc;CACxB,CAAC;AAEF,MAAM,WAAW,GAAsB;IACnC,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,qBAAqB;IAC5B,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE;QACF,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAC;QACpC,EAAC,KAAK,EAAE,MAAM,EAAE,OAAO,EAAE,UAAU,EAAC;KACvC;CACJ,CAAC;AAEF,MAAM,2BAA2B,GAAsB;IACnD,GAAG,WAAW;IACd,IAAI,EAAE,cAAc;IACpB,KAAK,EAAE,oBAAoB;IAE3B,IAAI,EAAE,aAAa;CACtB,CAAC;AAEF,aAAa;AACb,MAAM,uBAAuB,GAAwB;IACjD,GAAG,WAAW;IACd,IAAI,EAAE,gBAAgB;IACtB,KAAK,EAAE,uBAAuB;IAE9B,IAAI,EAAE,UAAU;CACnB,CAAC;AAEF,MAAM,WAAW,GAAgB;IAC7B,IAAI,EAAE,QAAQ;IACd,IAAI,EAAE,QAAQ;IACd,KAAK,EAAE,cAAc;IACrB,UAAU,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC;CACtD,CAAC;AAEF,MAAM,cAAc,GAAmB;IACnC,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,WAAW;IACjB,KAAK,EAAE,kBAAkB;IACzB,UAAU,EAAE,gBAAgB;IAC5B,SAAS,EAAE,MAAM;CACpB,CAAC;AAEF,MAAM,gBAAgB,GAAqB;IACvC,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,aAAa;IACnB,KAAK,EAAE,oBAAoB;IAC3B,UAAU,EAAE,gBAAgB;IAC5B,SAAS,EAAE,QAAQ;IACnB,UAAU,EAAE,CAAC,SAAS,EAAE,aAAa,EAAE,WAAW,CAAC;CACtD,CAAC;AAEF,MAAM,UAAU,GAAe;IAC3B,IAAI,EAAE,OAAO;IACb,IAAI,EAAE,OAAO;IACb,GAAG,EAAE,UAAU;IACf,KAAK,EAAE,kBAAkB;IACzB,OAAO,EAAE;QACL,EAAC,KAAK,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,UAAU,EAAE,CAAC,SAAS,CAAC,EAAC;QACvD,EAAC,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,UAAU,EAAE,UAAU,EAAE,CAAC,aAAa,CAAC,EAAC;KACtE;CACJ,CAAC;AAEF,eAAe;IACX,SAAS;IACT,aAAa;IACb,YAAY;IACZ,WAAW;IACX,WAAW;IACX,2BAA2B;IAC3B,uBAAuB;IACvB,WAAW;IACX,cAAc;IACd,gBAAgB;IAChB,UAAU;CACb,CAAC","sourcesContent":["import {\n ArrayObjectInput,\n ArrayTextInput,\n BooleanInput,\n NumberInput,\n ObjectInput,\n OneOfInput,\n SelectMultipleInput,\n SelectSingleInput,\n TextAreaInput,\n TextInput,\n} from '../../common/types';\n\nconst textInput: TextInput = {\n type: 'text',\n name: 'text',\n title: 'Text Input',\n};\n\nconst textAreaInput: TextAreaInput = {\n type: 'textarea',\n name: 'textarea',\n title: 'TextArea Input',\n};\n\nconst booleanInput: BooleanInput = {\n type: 'boolean',\n name: 'boolean',\n title: 'Boolean Input',\n};\n\nconst numberInput: NumberInput = {\n type: 'number',\n name: 'number',\n title: 'Number Input',\n};\n\nconst selectInput: SelectSingleInput = {\n type: 'select',\n name: 'selectSingle',\n title: 'Select Single Input',\n mode: 'single',\n view: 'select',\n enum: [\n {value: 'id_1', content: 'Option 1'},\n {value: 'id_2', content: 'Option 2'},\n ],\n};\n\nconst radioButtonsViewSingleInput: SelectSingleInput = {\n ...selectInput,\n name: 'radioButtons',\n title: 'Radio Button Input',\n\n view: 'radiobutton',\n};\n\n// @ts-ignore\nconst selectMultipleModeInput: SelectMultipleInput = {\n ...selectInput,\n name: 'selectMultiple',\n title: 'Select Multiple Input',\n\n mode: 'multiple',\n};\n\nconst objectInput: ObjectInput = {\n type: 'object',\n name: 'object',\n title: 'Object Input',\n properties: [textInput, textAreaInput, selectInput],\n};\n\nconst arrayTextInput: ArrayTextInput = {\n type: 'array',\n name: 'arrayText',\n title: 'Array Text Input',\n buttonText: 'Add Array Item',\n arrayType: 'text',\n};\n\nconst arrayObjectInput: ArrayObjectInput = {\n type: 'array',\n name: 'arrayObject',\n title: 'Array Object Input',\n buttonText: 'Add Array Item',\n arrayType: 'object',\n properties: [textInput, textAreaInput, selectInput],\n};\n\nconst oneOfInput: OneOfInput = {\n type: 'oneOf',\n name: 'oneOf',\n key: 'oneOfKey',\n title: 'Array Text Input',\n options: [\n {value: 'text', title: 'Text', properties: [textInput]},\n {value: 'textarea', title: 'TextArea', properties: [textAreaInput]},\n ],\n};\n\nexport default [\n textInput,\n textAreaInput,\n booleanInput,\n numberInput,\n selectInput,\n radioButtonsViewSingleInput,\n selectMultipleModeInput,\n objectInput,\n arrayTextInput,\n arrayObjectInput,\n oneOfInput,\n];\n"]}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
declare const TestEditorBlockConfig: {
|
|
2
|
-
component: (props: import("./TestEditorBlock.js").TestEditorBlockProps) => import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
schema: {
|
|
4
|
-
name: string;
|
|
5
|
-
inputs: (import("../../editor-v2/index.js").TextInput | import("../../editor-v2/index.js").BooleanInput | import("../../editor-v2/index.js").NumberInput | import("../../editor-v2/index.js").TextAreaInput | import("../../editor-v2/index.js").SelectSingleInput | import("../../editor-v2/index.js").SelectMultipleInput | import("../../editor-v2/index.js").ObjectInput | import("../../editor-v2/index.js").ArrayTextInput | import("../../editor-v2/index.js").ArrayObjectInput | import("../../editor-v2/index.js").OneOfInput)[];
|
|
6
|
-
};
|
|
7
|
-
};
|
|
8
|
-
export declare const TestEditorBlockSchema: {
|
|
9
|
-
"test-editor-block": {};
|
|
10
|
-
};
|
|
11
|
-
export default TestEditorBlockConfig;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import TestEditorBlock from "./TestEditorBlock.js";
|
|
2
|
-
import testEditorBlockInputs from "./form.js";
|
|
3
|
-
const TestEditorBlockConfig = {
|
|
4
|
-
component: TestEditorBlock,
|
|
5
|
-
schema: {
|
|
6
|
-
name: 'Test Editor Block',
|
|
7
|
-
inputs: testEditorBlockInputs,
|
|
8
|
-
},
|
|
9
|
-
};
|
|
10
|
-
export const TestEditorBlockSchema = {
|
|
11
|
-
['test-editor-block']: {},
|
|
12
|
-
};
|
|
13
|
-
export default TestEditorBlockConfig;
|
|
14
|
-
//# sourceMappingURL=index.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["blocks/TestEditorBlock/index.ts"],"names":[],"mappings":"AAAA,OAAO,eAAe,6BAA0B;AAChD,OAAO,qBAAqB,kBAAe;AAE3C,MAAM,qBAAqB,GAAG;IAC1B,SAAS,EAAE,eAAe;IAC1B,MAAM,EAAE;QACJ,IAAI,EAAE,mBAAmB;QACzB,MAAM,EAAE,qBAAqB;KAChC;CACJ,CAAC;AAEF,MAAM,CAAC,MAAM,qBAAqB,GAAG;IACjC,CAAC,mBAAmB,CAAC,EAAE,EAAE;CAC5B,CAAC;AAEF,eAAe,qBAAqB,CAAC","sourcesContent":["import TestEditorBlock from './TestEditorBlock';\nimport testEditorBlockInputs from './form';\n\nconst TestEditorBlockConfig = {\n component: TestEditorBlock,\n schema: {\n name: 'Test Editor Block',\n inputs: testEditorBlockInputs,\n },\n};\n\nexport const TestEditorBlockSchema = {\n ['test-editor-block']: {},\n};\n\nexport default TestEditorBlockConfig;\n"]}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ActionMessageTypes, EventMessageTypes } from "./types/index.js";
|
|
2
|
-
export declare function requestActionPostMessage<K extends keyof ActionMessageTypes>(action: K, data: ActionMessageTypes[K], destinationElement: Window): void;
|
|
3
|
-
export declare function listenPostMessageEvents<K extends keyof EventMessageTypes>(action: K, callback: (data: EventMessageTypes[K]) => void): () => void;
|
|
4
|
-
export declare function usePostMessageAPIListener<K extends keyof EventMessageTypes>(action: K, callback: (data: EventMessageTypes[K]) => void, deps?: unknown[]): void;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
export function requestActionPostMessage(action, data, destinationElement) {
|
|
3
|
-
const message = { action, data };
|
|
4
|
-
destinationElement.postMessage(message);
|
|
5
|
-
}
|
|
6
|
-
export function listenPostMessageEvents(action, callback) {
|
|
7
|
-
const onMessage = (e) => {
|
|
8
|
-
const message = e.data;
|
|
9
|
-
if ('action' in message && message.action === action) {
|
|
10
|
-
return callback(message.data);
|
|
11
|
-
}
|
|
12
|
-
return undefined;
|
|
13
|
-
};
|
|
14
|
-
window.addEventListener('message', onMessage);
|
|
15
|
-
return () => {
|
|
16
|
-
window.removeEventListener('message', onMessage);
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
export function usePostMessageAPIListener(action, callback, deps = []) {
|
|
20
|
-
React.useEffect(() => {
|
|
21
|
-
return listenPostMessageEvents(action, callback);
|
|
22
|
-
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
23
|
-
}, [...deps]);
|
|
24
|
-
}
|
|
25
|
-
//# sourceMappingURL=postMessage.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"postMessage.js","sourceRoot":"../../../src","sources":["common/postMessage.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,MAAM,UAAU,wBAAwB,CACpC,MAAS,EACT,IAA2B,EAC3B,kBAA0B;IAE1B,MAAM,OAAO,GAAG,EAAC,MAAM,EAAE,IAAI,EAA6B,CAAC;IAC3D,kBAAkB,CAAC,WAAW,CAAC,OAAO,CAAC,CAAC;AAC5C,CAAC;AAED,MAAM,UAAU,uBAAuB,CACnC,MAAS,EACT,QAA8C;IAE9C,MAAM,SAAS,GAAG,CAAC,CAAe,EAAE,EAAE;QAClC,MAAM,OAAO,GAAG,CAAC,CAAC,IAAgC,CAAC;QAEnD,IAAI,QAAQ,IAAI,OAAO,IAAI,OAAO,CAAC,MAAM,KAAK,MAAM,EAAE,CAAC;YACnD,OAAO,QAAQ,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC;QAClC,CAAC;QAED,OAAO,SAAS,CAAC;IACrB,CAAC,CAAC;IAEF,MAAM,CAAC,gBAAgB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IAE9C,OAAO,GAAG,EAAE;QACR,MAAM,CAAC,mBAAmB,CAAC,SAAS,EAAE,SAAS,CAAC,CAAC;IACrD,CAAC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,yBAAyB,CACrC,MAAS,EACT,QAA8C,EAC9C,OAAkB,EAAE;IAEpB,KAAK,CAAC,SAAS,CAAC,GAAG,EAAE;QACjB,OAAO,uBAAuB,CAAC,MAAM,EAAE,QAAQ,CAAC,CAAC;QACjD,uDAAuD;IAC3D,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC,CAAC,CAAC;AAClB,CAAC","sourcesContent":["import * as React from 'react';\n\nimport {ActionMessageTypes, EventMessageTypes, PostMessageAPIMessage} from './types';\n\nexport function requestActionPostMessage<K extends keyof ActionMessageTypes>(\n action: K,\n data: ActionMessageTypes[K],\n destinationElement: Window,\n) {\n const message = {action, data} as PostMessageAPIMessage<K>;\n destinationElement.postMessage(message);\n}\n\nexport function listenPostMessageEvents<K extends keyof EventMessageTypes>(\n action: K,\n callback: (data: EventMessageTypes[K]) => void,\n) {\n const onMessage = (e: MessageEvent) => {\n const message = e.data as PostMessageAPIMessage<K>;\n\n if ('action' in message && message.action === action) {\n return callback(message.data);\n }\n\n return undefined;\n };\n\n window.addEventListener('message', onMessage);\n\n return () => {\n window.removeEventListener('message', onMessage);\n };\n}\n\nexport function usePostMessageAPIListener<K extends keyof EventMessageTypes>(\n action: K,\n callback: (data: EventMessageTypes[K]) => void,\n deps: unknown[] = [],\n) {\n React.useEffect(() => {\n return listenPostMessageEvents(action, callback);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [...deps]);\n}\n"]}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { PageContentWithNavigation } from "../models/index.js";
|
|
2
|
-
import { ConfigInput, ItemConfig } from "./types/index.js";
|
|
3
|
-
export interface EditorState {
|
|
4
|
-
height?: number;
|
|
5
|
-
deviceWidth?: string;
|
|
6
|
-
zoom: number;
|
|
7
|
-
manipulateOverlayMode: 'insert' | 'reorder' | false;
|
|
8
|
-
selectedBlock: number[] | null;
|
|
9
|
-
initialized: boolean;
|
|
10
|
-
content: PageContentWithNavigation;
|
|
11
|
-
blocks: Array<ItemConfig>;
|
|
12
|
-
subBlocks: Array<ItemConfig>;
|
|
13
|
-
global: Array<ConfigInput>;
|
|
14
|
-
preInsertBlockType: string | null;
|
|
15
|
-
preReorderBlockPath: number[] | null;
|
|
16
|
-
}
|
|
17
|
-
export declare const initialStore: EditorState;
|
|
18
|
-
export declare const createPCEditorStore: (overrideInitialState?: Partial<EditorState> | undefined) => import("zustand").UseBoundStore<Omit<Omit<Omit<import("zustand").StoreApi<EditorState>, "subscribe"> & {
|
|
19
|
-
subscribe: {
|
|
20
|
-
(listener: (selectedState: EditorState, previousSelectedState: EditorState) => void): () => void;
|
|
21
|
-
<U>(selector: (state: EditorState) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
22
|
-
equalityFn?: ((a: U, b: U) => boolean) | undefined;
|
|
23
|
-
fireImmediately?: boolean;
|
|
24
|
-
} | undefined): () => void;
|
|
25
|
-
};
|
|
26
|
-
}, "setState"> & {
|
|
27
|
-
setState<A extends string | {
|
|
28
|
-
type: string;
|
|
29
|
-
}>(partial: EditorState | Partial<EditorState> | ((state: EditorState) => EditorState | Partial<EditorState>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
30
|
-
}, "persist"> & {
|
|
31
|
-
persist: {
|
|
32
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<EditorState, EditorState>>) => void;
|
|
33
|
-
clearStorage: () => void;
|
|
34
|
-
rehydrate: () => Promise<void> | void;
|
|
35
|
-
hasHydrated: () => boolean;
|
|
36
|
-
onHydrate: (fn: (state: EditorState) => void) => () => void;
|
|
37
|
-
onFinishHydration: (fn: (state: EditorState) => void) => () => void;
|
|
38
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<EditorState, EditorState>>;
|
|
39
|
-
};
|
|
40
|
-
}>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { initializeStore } from "./utils.js";
|
|
2
|
-
export const initialStore = {
|
|
3
|
-
height: 100,
|
|
4
|
-
deviceWidth: '100%',
|
|
5
|
-
zoom: 100,
|
|
6
|
-
manipulateOverlayMode: false,
|
|
7
|
-
selectedBlock: null,
|
|
8
|
-
initialized: false,
|
|
9
|
-
content: { blocks: [] },
|
|
10
|
-
blocks: [],
|
|
11
|
-
subBlocks: [],
|
|
12
|
-
global: [],
|
|
13
|
-
preInsertBlockType: null,
|
|
14
|
-
preReorderBlockPath: null,
|
|
15
|
-
};
|
|
16
|
-
export const createPCEditorStore = initializeStore(initialStore, () => ({}));
|
|
17
|
-
//# sourceMappingURL=store.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"store.js","sourceRoot":"../../../src","sources":["common/store.ts"],"names":[],"mappings":"AAKA,OAAO,EAAC,eAAe,EAAC,mBAAgB;AAoBxC,MAAM,CAAC,MAAM,YAAY,GAAgB;IACrC,MAAM,EAAE,GAAG;IACX,WAAW,EAAE,MAAM;IACnB,IAAI,EAAE,GAAG;IACT,qBAAqB,EAAE,KAAK;IAC5B,aAAa,EAAE,IAAI;IACnB,WAAW,EAAE,KAAK;IAClB,OAAO,EAAE,EAAC,MAAM,EAAE,EAAE,EAAC;IACrB,MAAM,EAAE,EAAE;IACV,SAAS,EAAE,EAAE;IACb,MAAM,EAAE,EAAE;IACV,kBAAkB,EAAE,IAAI;IACxB,mBAAmB,EAAE,IAAI;CAC5B,CAAC;AAEF,MAAM,CAAC,MAAM,mBAAmB,GAAG,eAAe,CAAc,YAAY,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC","sourcesContent":["import _ from 'lodash';\n\nimport {PageContentWithNavigation} from '../models';\n\nimport {ConfigInput, ItemConfig} from './types';\nimport {initializeStore} from './utils';\n\nexport interface EditorState {\n height?: number;\n deviceWidth?: string;\n zoom: number;\n\n manipulateOverlayMode: 'insert' | 'reorder' | false;\n selectedBlock: number[] | null;\n initialized: boolean;\n\n content: PageContentWithNavigation;\n blocks: Array<ItemConfig>;\n subBlocks: Array<ItemConfig>;\n global: Array<ConfigInput>;\n\n preInsertBlockType: string | null;\n preReorderBlockPath: number[] | null;\n}\n\nexport const initialStore: EditorState = {\n height: 100,\n deviceWidth: '100%',\n zoom: 100,\n manipulateOverlayMode: false,\n selectedBlock: null,\n initialized: false,\n content: {blocks: []},\n blocks: [],\n subBlocks: [],\n global: [],\n preInsertBlockType: null,\n preReorderBlockPath: null,\n};\n\nexport const createPCEditorStore = initializeStore<EditorState>(initialStore, () => ({}));\n"]}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { PageContentWithNavigation } from "../../models/index.js";
|
|
2
|
-
import { EditorState } from "../store.js";
|
|
3
|
-
export type MessageTypes = EventMessageTypes & ActionMessageTypes;
|
|
4
|
-
export type EventMessageTypes = {
|
|
5
|
-
ON_INIT: {
|
|
6
|
-
height: number;
|
|
7
|
-
};
|
|
8
|
-
ON_RESIZE: {
|
|
9
|
-
height: number;
|
|
10
|
-
};
|
|
11
|
-
ON_MOUSE_UP: {
|
|
12
|
-
path?: number[];
|
|
13
|
-
rect?: DOMRect;
|
|
14
|
-
position?: string;
|
|
15
|
-
};
|
|
16
|
-
ON_MOUSE_MOVE: {
|
|
17
|
-
x: number;
|
|
18
|
-
y: number;
|
|
19
|
-
};
|
|
20
|
-
ON_HOVER_BLOCK: {
|
|
21
|
-
rect?: DOMRect;
|
|
22
|
-
position?: string;
|
|
23
|
-
};
|
|
24
|
-
ON_CLICK_BLOCK: {
|
|
25
|
-
path: number[];
|
|
26
|
-
};
|
|
27
|
-
ON_UPDATE_BLOCK_SELECTION: {
|
|
28
|
-
rect: DOMRect;
|
|
29
|
-
};
|
|
30
|
-
ON_SUPPORTED_BLOCKS: Pick<EditorState, 'blocks' | 'subBlocks' | 'global'>;
|
|
31
|
-
ON_INITIAL_CONTENT: PageContentWithNavigation;
|
|
32
|
-
};
|
|
33
|
-
export type ActionMessageTypes = {
|
|
34
|
-
GET_SUPPORTED_BLOCKS: {};
|
|
35
|
-
GET_INITIAL_CONTENT: {};
|
|
36
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"actions.js","sourceRoot":"../../../../src","sources":["common/types/actions.ts"],"names":[],"mappings":"","sourcesContent":["import {PageContentWithNavigation} from '../../models';\nimport {EditorState} from '../store';\n\nexport type MessageTypes = EventMessageTypes & ActionMessageTypes;\n\nexport type EventMessageTypes = {\n ON_INIT: {height: number};\n ON_RESIZE: {height: number};\n ON_MOUSE_UP: {path?: number[]; rect?: DOMRect; position?: string};\n ON_MOUSE_MOVE: {x: number; y: number};\n ON_HOVER_BLOCK: {rect?: DOMRect; position?: string};\n ON_CLICK_BLOCK: {path: number[]};\n ON_UPDATE_BLOCK_SELECTION: {rect: DOMRect};\n ON_SUPPORTED_BLOCKS: Pick<EditorState, 'blocks' | 'subBlocks' | 'global'>;\n ON_INITIAL_CONTENT: PageContentWithNavigation;\n};\n\nexport type ActionMessageTypes = {\n GET_SUPPORTED_BLOCKS: {};\n GET_INITIAL_CONTENT: {};\n};\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"common.js","sourceRoot":"../../../../src","sources":["common/types/common.ts"],"names":[],"mappings":"","sourcesContent":["import {BlockConfig} from './forms';\n\nexport interface ItemConfig {\n type: string;\n schema: BlockConfig;\n}\n"]}
|
|
@@ -1,97 +0,0 @@
|
|
|
1
|
-
import { PageContentWithNavigation } from "../../models/index.js";
|
|
2
|
-
export type DynamicFormValue = string | number | [] | object | boolean | PageContentWithNavigation | undefined;
|
|
3
|
-
export interface BlockConfig {
|
|
4
|
-
name: string;
|
|
5
|
-
inputs: Array<ConfigInput>;
|
|
6
|
-
group?: string;
|
|
7
|
-
default?: object;
|
|
8
|
-
previewImg?: string;
|
|
9
|
-
}
|
|
10
|
-
export interface TextInput {
|
|
11
|
-
type: 'text';
|
|
12
|
-
name: string;
|
|
13
|
-
title: string;
|
|
14
|
-
}
|
|
15
|
-
export interface BooleanInput {
|
|
16
|
-
type: 'boolean';
|
|
17
|
-
name: string;
|
|
18
|
-
title: string;
|
|
19
|
-
}
|
|
20
|
-
export interface NumberInput {
|
|
21
|
-
type: 'number';
|
|
22
|
-
name: string;
|
|
23
|
-
title: string;
|
|
24
|
-
}
|
|
25
|
-
export interface TextAreaInput {
|
|
26
|
-
type: 'textarea';
|
|
27
|
-
name: string;
|
|
28
|
-
title: string;
|
|
29
|
-
}
|
|
30
|
-
export interface SelectBaseInput {
|
|
31
|
-
type: 'select';
|
|
32
|
-
name: string;
|
|
33
|
-
title: string;
|
|
34
|
-
view: 'select' | 'radiobutton';
|
|
35
|
-
mode: 'single' | 'multiple';
|
|
36
|
-
enum: Array<{
|
|
37
|
-
content: string;
|
|
38
|
-
value: string;
|
|
39
|
-
}>;
|
|
40
|
-
}
|
|
41
|
-
export interface SelectSingleInput extends SelectBaseInput {
|
|
42
|
-
type: 'select';
|
|
43
|
-
name: string;
|
|
44
|
-
title: string;
|
|
45
|
-
view: 'select' | 'radiobutton';
|
|
46
|
-
mode: 'single';
|
|
47
|
-
enum: Array<{
|
|
48
|
-
content: string;
|
|
49
|
-
value: string;
|
|
50
|
-
}>;
|
|
51
|
-
}
|
|
52
|
-
export interface SelectMultipleInput extends SelectBaseInput {
|
|
53
|
-
type: 'select';
|
|
54
|
-
name: string;
|
|
55
|
-
title: string;
|
|
56
|
-
view: 'select';
|
|
57
|
-
mode: 'multiple';
|
|
58
|
-
enum: Array<{
|
|
59
|
-
content: string;
|
|
60
|
-
value: string;
|
|
61
|
-
}>;
|
|
62
|
-
}
|
|
63
|
-
export interface ObjectInput {
|
|
64
|
-
type: 'object';
|
|
65
|
-
name: string;
|
|
66
|
-
title: string;
|
|
67
|
-
properties: Array<ConfigInput>;
|
|
68
|
-
}
|
|
69
|
-
export interface ArrayBaseInput {
|
|
70
|
-
type: 'array';
|
|
71
|
-
arrayType: 'object' | 'text';
|
|
72
|
-
name: string;
|
|
73
|
-
title: string;
|
|
74
|
-
buttonText: string;
|
|
75
|
-
}
|
|
76
|
-
export interface ArrayTextInput extends ArrayBaseInput {
|
|
77
|
-
arrayType: 'text';
|
|
78
|
-
}
|
|
79
|
-
export interface ArrayObjectInput extends ArrayBaseInput {
|
|
80
|
-
arrayType: 'object';
|
|
81
|
-
properties: Array<ConfigInput>;
|
|
82
|
-
}
|
|
83
|
-
export interface OneOfInput {
|
|
84
|
-
type: 'oneOf';
|
|
85
|
-
name: string;
|
|
86
|
-
key?: string;
|
|
87
|
-
title: string;
|
|
88
|
-
options: {
|
|
89
|
-
value: string;
|
|
90
|
-
title: string;
|
|
91
|
-
properties: Array<ConfigInput>;
|
|
92
|
-
}[];
|
|
93
|
-
}
|
|
94
|
-
export interface GeneralProps {
|
|
95
|
-
showIf?: string;
|
|
96
|
-
}
|
|
97
|
-
export type ConfigInput = (TextInput | BooleanInput | NumberInput | TextAreaInput | SelectSingleInput | SelectMultipleInput | ObjectInput | ArrayTextInput | ArrayObjectInput | OneOfInput) & GeneralProps;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"forms.js","sourceRoot":"../../../../src","sources":["common/types/forms.ts"],"names":[],"mappings":"","sourcesContent":["import {PageContentWithNavigation} from '../../models';\n\nexport type DynamicFormValue =\n | string\n | number\n | []\n | object\n | boolean\n | PageContentWithNavigation\n | undefined;\n\nexport interface BlockConfig {\n name: string;\n inputs: Array<ConfigInput>;\n group?: string;\n default?: object;\n previewImg?: string;\n}\n\nexport interface TextInput {\n type: 'text';\n name: string;\n title: string;\n}\n\nexport interface BooleanInput {\n type: 'boolean';\n name: string;\n title: string;\n}\n\nexport interface NumberInput {\n type: 'number';\n name: string;\n title: string;\n}\n\nexport interface TextAreaInput {\n type: 'textarea';\n name: string;\n title: string;\n}\n\nexport interface SelectBaseInput {\n type: 'select';\n name: string;\n title: string;\n view: 'select' | 'radiobutton';\n mode: 'single' | 'multiple';\n enum: Array<{content: string; value: string}>;\n}\n\nexport interface SelectSingleInput extends SelectBaseInput {\n type: 'select';\n name: string;\n title: string;\n view: 'select' | 'radiobutton';\n mode: 'single';\n enum: Array<{content: string; value: string}>;\n}\n\nexport interface SelectMultipleInput extends SelectBaseInput {\n type: 'select';\n name: string;\n title: string;\n view: 'select';\n mode: 'multiple';\n enum: Array<{content: string; value: string}>;\n}\n\nexport interface ObjectInput {\n type: 'object';\n name: string;\n title: string;\n properties: Array<ConfigInput>;\n}\n\nexport interface ArrayBaseInput {\n type: 'array';\n arrayType: 'object' | 'text';\n name: string;\n title: string;\n buttonText: string;\n}\n\nexport interface ArrayTextInput extends ArrayBaseInput {\n arrayType: 'text';\n}\n\nexport interface ArrayObjectInput extends ArrayBaseInput {\n arrayType: 'object';\n properties: Array<ConfigInput>;\n}\n\nexport interface OneOfInput {\n type: 'oneOf';\n name: string;\n key?: string;\n title: string;\n options: {\n value: string;\n title: string;\n properties: Array<ConfigInput>;\n }[];\n}\n\nexport interface GeneralProps {\n showIf?: string;\n}\n\nexport type ConfigInput = (\n | TextInput\n | BooleanInput\n | NumberInput\n | TextAreaInput\n | SelectSingleInput\n | SelectMultipleInput\n | ObjectInput\n | ArrayTextInput\n | ArrayObjectInput\n | OneOfInput\n) &\n GeneralProps;\n"]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["common/types/index.ts"],"names":[],"mappings":"AAAA,6BAA0B;AAC1B,4BAAyB;AACzB,2BAAwB;AACxB,8BAA2B","sourcesContent":["export * from './actions';\nexport * from './common';\nexport * from './forms';\nexport * from './messages';\n"]}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { EditorState } from "../store.js";
|
|
2
|
-
import { MessageTypes } from "./actions.js";
|
|
3
|
-
export type PostMessageAPIMessage<K extends keyof MessageTypes> = {
|
|
4
|
-
action: K;
|
|
5
|
-
data: MessageTypes[K];
|
|
6
|
-
};
|
|
7
|
-
export type StoreSyncMessage = {
|
|
8
|
-
state: EditorState;
|
|
9
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"messages.js","sourceRoot":"../../../../src","sources":["common/types/messages.ts"],"names":[],"mappings":"","sourcesContent":["import {EditorState} from '../store';\n\nimport {MessageTypes} from './actions';\n\nexport type PostMessageAPIMessage<K extends keyof MessageTypes> = {\n action: K;\n data: MessageTypes[K];\n};\n\nexport type StoreSyncMessage = {\n state: EditorState;\n};\n"]}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { StoreApi } from 'zustand';
|
|
2
|
-
export declare function initializeStore<State extends {}, Methods extends {} = {}>(initialState: State, methods: (set: StoreApi<State & Methods>['setState'], get: StoreApi<State & Methods>['getState']) => Methods): (overrideInitialState?: Partial<State>) => import("zustand").UseBoundStore<Omit<Omit<Omit<StoreApi<State & Methods>, "subscribe"> & {
|
|
3
|
-
subscribe: {
|
|
4
|
-
(listener: (selectedState: State & Methods, previousSelectedState: State & Methods) => void): () => void;
|
|
5
|
-
<U>(selector: (state: State & Methods) => U, listener: (selectedState: U, previousSelectedState: U) => void, options?: {
|
|
6
|
-
equalityFn?: ((a: U, b: U) => boolean) | undefined;
|
|
7
|
-
fireImmediately?: boolean;
|
|
8
|
-
} | undefined): () => void;
|
|
9
|
-
};
|
|
10
|
-
}, "setState"> & {
|
|
11
|
-
setState<A extends string | {
|
|
12
|
-
type: string;
|
|
13
|
-
}>(partial: (State & Methods) | Partial<State & Methods> | ((state: State & Methods) => (State & Methods) | Partial<State & Methods>), replace?: boolean | undefined, action?: A | undefined): void;
|
|
14
|
-
}, "persist"> & {
|
|
15
|
-
persist: {
|
|
16
|
-
setOptions: (options: Partial<import("zustand/middleware").PersistOptions<State & Methods, State & Methods>>) => void;
|
|
17
|
-
clearStorage: () => void;
|
|
18
|
-
rehydrate: () => Promise<void> | void;
|
|
19
|
-
hasHydrated: () => boolean;
|
|
20
|
-
onHydrate: (fn: (state: State & Methods) => void) => () => void;
|
|
21
|
-
onFinishHydration: (fn: (state: State & Methods) => void) => () => void;
|
|
22
|
-
getOptions: () => Partial<import("zustand/middleware").PersistOptions<State & Methods, State & Methods>>;
|
|
23
|
-
};
|
|
24
|
-
}>;
|
|
25
|
-
export declare const removeFn: (object: object) => any;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { create } from 'zustand';
|
|
2
|
-
import { devtools, subscribeWithSelector } from 'zustand/middleware';
|
|
3
|
-
export function initializeStore(initialState, methods) {
|
|
4
|
-
return (overrideInitialState) => {
|
|
5
|
-
return create(subscribeWithSelector(devtools((set, get) => {
|
|
6
|
-
return {
|
|
7
|
-
...initialState,
|
|
8
|
-
...overrideInitialState,
|
|
9
|
-
...methods(set, get),
|
|
10
|
-
};
|
|
11
|
-
})));
|
|
12
|
-
};
|
|
13
|
-
}
|
|
14
|
-
export const removeFn = (object) => {
|
|
15
|
-
return JSON.parse(JSON.stringify(object));
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=utils.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"utils.js","sourceRoot":"../../../src","sources":["common/utils.ts"],"names":[],"mappings":"AAAA,OAAO,EAAW,MAAM,EAAC,MAAM,SAAS,CAAC;AACzC,OAAO,EAAC,QAAQ,EAAE,qBAAqB,EAAC,MAAM,oBAAoB,CAAC;AAEnE,MAAM,UAAU,eAAe,CAC3B,YAAmB,EACnB,OAGY;IAEZ,OAAO,CAAC,oBAAqC,EAAE,EAAE;QAC7C,OAAO,MAAM,CAQT,qBAAqB,CACjB,QAAQ,CAAC,CAAC,GAAG,EAAE,GAAG,EAAE,EAAE;YAClB,OAAO;gBACH,GAAG,YAAY;gBACf,GAAG,oBAAoB;gBACvB,GAAG,OAAO,CAAC,GAAG,EAAE,GAAG,CAAC;aACvB,CAAC;QACN,CAAC,CAAC,CACL,CACJ,CAAC;IACN,CAAC,CAAC;AACN,CAAC;AAED,MAAM,CAAC,MAAM,QAAQ,GAAG,CAAC,MAAc,EAAE,EAAE;IACvC,OAAO,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;AAC9C,CAAC,CAAC","sourcesContent":["import {StoreApi, create} from 'zustand';\nimport {devtools, subscribeWithSelector} from 'zustand/middleware';\n\nexport function initializeStore<State extends {}, Methods extends {} = {}>(\n initialState: State,\n methods: (\n set: StoreApi<State & Methods>['setState'],\n get: StoreApi<State & Methods>['getState'],\n ) => Methods,\n) {\n return (overrideInitialState?: Partial<State>) => {\n return create<\n State & Methods,\n [\n ['zustand/subscribeWithSelector', State & Methods],\n ['zustand/devtools', never],\n ['zustand/persist', State & Methods],\n ]\n >(\n subscribeWithSelector(\n devtools((set, get) => {\n return {\n ...initialState,\n ...overrideInitialState,\n ...methods(set, get),\n };\n }),\n ),\n );\n };\n}\n\nexport const removeFn = (object: object) => {\n return JSON.parse(JSON.stringify(object));\n};\n"]}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import _ from 'lodash';
|
|
2
|
-
const devices = ['desktop', 'tablet', 'mobile'];
|
|
3
|
-
const imageBaseInputs = [
|
|
4
|
-
{
|
|
5
|
-
type: 'text',
|
|
6
|
-
name: 'alt',
|
|
7
|
-
title: 'Alternative',
|
|
8
|
-
},
|
|
9
|
-
{
|
|
10
|
-
type: 'boolean',
|
|
11
|
-
name: 'disableCompress',
|
|
12
|
-
title: 'Disable Compress',
|
|
13
|
-
},
|
|
14
|
-
];
|
|
15
|
-
const imageStyleInputs = [
|
|
16
|
-
{
|
|
17
|
-
type: 'text',
|
|
18
|
-
name: 'style.backgroundColor',
|
|
19
|
-
title: 'Background Color',
|
|
20
|
-
},
|
|
21
|
-
{
|
|
22
|
-
type: 'text',
|
|
23
|
-
name: 'style.height',
|
|
24
|
-
title: 'Height',
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
type: 'text',
|
|
28
|
-
name: 'style.width',
|
|
29
|
-
title: 'Width',
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
type: 'text',
|
|
33
|
-
name: 'style.color',
|
|
34
|
-
title: 'Color',
|
|
35
|
-
},
|
|
36
|
-
];
|
|
37
|
-
const devicesInputs = devices.map((device) => ({
|
|
38
|
-
type: 'text',
|
|
39
|
-
title: _.capitalize(device),
|
|
40
|
-
name: `${device}`,
|
|
41
|
-
}));
|
|
42
|
-
export const imageInputs = [
|
|
43
|
-
{
|
|
44
|
-
type: 'oneOf',
|
|
45
|
-
name: '',
|
|
46
|
-
key: 'imageType',
|
|
47
|
-
title: 'Image Type',
|
|
48
|
-
options: [
|
|
49
|
-
{
|
|
50
|
-
title: 'Simple',
|
|
51
|
-
value: 'simple',
|
|
52
|
-
properties: [
|
|
53
|
-
{
|
|
54
|
-
type: 'text',
|
|
55
|
-
name: '', // image props
|
|
56
|
-
title: 'Image URL',
|
|
57
|
-
},
|
|
58
|
-
],
|
|
59
|
-
},
|
|
60
|
-
{
|
|
61
|
-
title: 'Complex',
|
|
62
|
-
value: 'complex',
|
|
63
|
-
properties: [
|
|
64
|
-
{
|
|
65
|
-
type: 'text',
|
|
66
|
-
name: 'src',
|
|
67
|
-
title: 'Source',
|
|
68
|
-
},
|
|
69
|
-
...imageStyleInputs,
|
|
70
|
-
...imageBaseInputs,
|
|
71
|
-
],
|
|
72
|
-
},
|
|
73
|
-
{
|
|
74
|
-
title: 'Device Based',
|
|
75
|
-
value: 'deviseBased',
|
|
76
|
-
properties: [...devicesInputs, ...imageBaseInputs],
|
|
77
|
-
},
|
|
78
|
-
],
|
|
79
|
-
},
|
|
80
|
-
];
|
|
81
|
-
//# sourceMappingURL=dynamic-form.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-form.js","sourceRoot":"../../../../src","sources":["components/Image/dynamic-form.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,QAAQ,CAAC;AAIvB,MAAM,OAAO,GAAG,CAAC,SAAS,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;AAEhD,MAAM,eAAe,GAAkB;IACnC;QACI,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,KAAK;QACX,KAAK,EAAE,aAAa;KACvB;IACD;QACI,IAAI,EAAE,SAAS;QACf,IAAI,EAAE,iBAAiB;QACvB,KAAK,EAAE,kBAAkB;KAC5B;CACJ,CAAC;AAEF,MAAM,gBAAgB,GAAkB;IACpC;QACI,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,uBAAuB;QAC7B,KAAK,EAAE,kBAAkB;KAC5B;IACD;QACI,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,cAAc;QACpB,KAAK,EAAE,QAAQ;KAClB;IACD;QACI,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,OAAO;KACjB;IACD;QACI,IAAI,EAAE,MAAM;QACZ,IAAI,EAAE,aAAa;QACnB,KAAK,EAAE,OAAO;KACjB;CACJ,CAAC;AAEF,MAAM,aAAa,GAAkB,OAAO,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC;IAC1D,IAAI,EAAE,MAAM;IACZ,KAAK,EAAE,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC;IAC3B,IAAI,EAAE,GAAG,MAAM,EAAE;CACpB,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,WAAW,GAAkB;IACtC;QACI,IAAI,EAAE,OAAO;QACb,IAAI,EAAE,EAAE;QACR,GAAG,EAAE,WAAW;QAChB,KAAK,EAAE,YAAY;QACnB,OAAO,EAAE;YACL;gBACI,KAAK,EAAE,QAAQ;gBACf,KAAK,EAAE,QAAQ;gBACf,UAAU,EAAE;oBACR;wBACI,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,EAAE,EAAE,cAAc;wBACxB,KAAK,EAAE,WAAW;qBACrB;iBACJ;aACJ;YACD;gBACI,KAAK,EAAE,SAAS;gBAChB,KAAK,EAAE,SAAS;gBAChB,UAAU,EAAE;oBACR;wBACI,IAAI,EAAE,MAAM;wBACZ,IAAI,EAAE,KAAK;wBACX,KAAK,EAAE,QAAQ;qBAClB;oBACD,GAAG,gBAAgB;oBACnB,GAAG,eAAe;iBACrB;aACJ;YACD;gBACI,KAAK,EAAE,cAAc;gBACrB,KAAK,EAAE,aAAa;gBACpB,UAAU,EAAE,CAAC,GAAG,aAAa,EAAE,GAAG,eAAe,CAAC;aACrD;SACJ;KACJ;CACJ,CAAC","sourcesContent":["import _ from 'lodash';\n\nimport {ConfigInput} from '../../common/types';\n\nconst devices = ['desktop', 'tablet', 'mobile'];\n\nconst imageBaseInputs: ConfigInput[] = [\n {\n type: 'text',\n name: 'alt',\n title: 'Alternative',\n },\n {\n type: 'boolean',\n name: 'disableCompress',\n title: 'Disable Compress',\n },\n];\n\nconst imageStyleInputs: ConfigInput[] = [\n {\n type: 'text',\n name: 'style.backgroundColor',\n title: 'Background Color',\n },\n {\n type: 'text',\n name: 'style.height',\n title: 'Height',\n },\n {\n type: 'text',\n name: 'style.width',\n title: 'Width',\n },\n {\n type: 'text',\n name: 'style.color',\n title: 'Color',\n },\n];\n\nconst devicesInputs: ConfigInput[] = devices.map((device) => ({\n type: 'text',\n title: _.capitalize(device),\n name: `${device}`,\n}));\n\nexport const imageInputs: ConfigInput[] = [\n {\n type: 'oneOf',\n name: '',\n key: 'imageType',\n title: 'Image Type',\n options: [\n {\n title: 'Simple',\n value: 'simple',\n properties: [\n {\n type: 'text',\n name: '', // image props\n title: 'Image URL',\n },\n ],\n },\n {\n title: 'Complex',\n value: 'complex',\n properties: [\n {\n type: 'text',\n name: 'src',\n title: 'Source',\n },\n ...imageStyleInputs,\n ...imageBaseInputs,\n ],\n },\n {\n title: 'Device Based',\n value: 'deviseBased',\n properties: [...devicesInputs, ...imageBaseInputs],\n },\n ],\n },\n];\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import './ItemWrap.css';
|
|
3
|
-
export interface ItemWrapProps extends React.PropsWithChildren {
|
|
4
|
-
index: number;
|
|
5
|
-
}
|
|
6
|
-
declare const ItemWrap: ({ index, children }: ItemWrapProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default ItemWrap;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
-
import { usePCEditorItemWrap } from "../../../hooks/usePCEditorItemWrap.js";
|
|
3
|
-
import { block } from "../../../utils/index.js";
|
|
4
|
-
import './ItemWrap.css';
|
|
5
|
-
const b = block('item-wrap');
|
|
6
|
-
const ItemWrap = ({ index, children }) => {
|
|
7
|
-
const { blockRef, adminBlockMouseEvents } = usePCEditorItemWrap(index);
|
|
8
|
-
return (_jsx("div", { ref: blockRef, className: b(), ...adminBlockMouseEvents, children: children }));
|
|
9
|
-
};
|
|
10
|
-
export default ItemWrap;
|
|
11
|
-
//# sourceMappingURL=ItemWrap.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ItemWrap.js","sourceRoot":"../../../../../src","sources":["components/editor/ItemWrap/ItemWrap.tsx"],"names":[],"mappings":";AAEA,OAAO,EAAC,mBAAmB,EAAC,8CAA2C;AACvE,OAAO,EAAC,KAAK,EAAC,gCAAuB;AAErC,OAAO,gBAAgB,CAAC;AAExB,MAAM,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC,CAAC;AAM7B,MAAM,QAAQ,GAAG,CAAC,EAAC,KAAK,EAAE,QAAQ,EAAgB,EAAE,EAAE;IAClD,MAAM,EAAC,QAAQ,EAAE,qBAAqB,EAAC,GAAG,mBAAmB,CAAC,KAAK,CAAC,CAAC;IACrE,OAAO,CACH,cAAK,GAAG,EAAE,QAAQ,EAAE,SAAS,EAAE,CAAC,EAAE,KAAM,qBAAqB,YACxD,QAAQ,GACP,CACT,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,QAAQ,CAAC","sourcesContent":["import * as React from 'react';\n\nimport {usePCEditorItemWrap} from '../../../hooks/usePCEditorItemWrap';\nimport {block} from '../../../utils';\n\nimport './ItemWrap.scss';\n\nconst b = block('item-wrap');\n\nexport interface ItemWrapProps extends React.PropsWithChildren {\n index: number;\n}\n\nconst ItemWrap = ({index, children}: ItemWrapProps) => {\n const {blockRef, adminBlockMouseEvents} = usePCEditorItemWrap(index);\n return (\n <div ref={blockRef} className={b()} {...adminBlockMouseEvents}>\n {children}\n </div>\n );\n};\n\nexport default ItemWrap;\n"]}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
import { StoreApi } from 'zustand';
|
|
3
|
-
import { EditorState } from "../../common/store.js";
|
|
4
|
-
export interface PCEditorStoreContextProps {
|
|
5
|
-
state: StoreApi<EditorState>;
|
|
6
|
-
}
|
|
7
|
-
export declare const PCEditorStoreContext: React.Context<PCEditorStoreContextProps>;
|