@gravity-ui/page-constructor 6.3.1 → 6.3.2-alpha.2
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 +31 -1
- package/build/cjs/blocks/Banner/Banner.js +2 -1
- package/build/cjs/blocks/Banner/Banner.js.map +1 -1
- package/build/cjs/blocks/Banner/index.d.ts +3 -0
- package/build/cjs/blocks/Banner/index.js +24 -0
- package/build/cjs/blocks/Banner/index.js.map +1 -0
- package/build/cjs/blocks/CardLayout/CardLayout.css +1 -0
- package/build/cjs/blocks/CardLayout/CardLayout.js +4 -3
- package/build/cjs/blocks/CardLayout/CardLayout.js.map +1 -1
- package/build/cjs/blocks/CardLayout/index.d.ts +5 -0
- package/build/cjs/blocks/CardLayout/index.js +186 -0
- package/build/cjs/blocks/CardLayout/index.js.map +1 -0
- package/build/cjs/blocks/Companies/Companies.js +2 -1
- package/build/cjs/blocks/Companies/Companies.js.map +1 -1
- package/build/cjs/blocks/Companies/index.d.ts +3 -0
- package/build/cjs/blocks/Companies/index.js +20 -0
- package/build/cjs/blocks/Companies/index.js.map +1 -0
- package/build/cjs/blocks/ContentLayout/ContentLayout.js +1 -1
- package/build/cjs/blocks/ContentLayout/ContentLayout.js.map +1 -1
- package/build/cjs/blocks/ContentLayout/index.d.ts +41 -0
- package/build/cjs/blocks/ContentLayout/index.js +81 -0
- package/build/cjs/blocks/ContentLayout/index.js.map +1 -0
- package/build/cjs/blocks/ContentLayout/schema.d.ts +1 -0
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js +13 -12
- package/build/cjs/blocks/ExtendedFeatures/ExtendedFeatures.js.map +1 -1
- package/build/cjs/blocks/ExtendedFeatures/index.d.ts +58 -0
- package/build/cjs/blocks/ExtendedFeatures/index.js +77 -0
- package/build/cjs/blocks/ExtendedFeatures/index.js.map +1 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.d.ts +1 -0
- package/build/cjs/blocks/ExtendedFeatures/schema.js +1 -0
- 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/FilterBlock/index.d.ts +29 -0
- package/build/cjs/blocks/FilterBlock/index.js +98 -0
- package/build/cjs/blocks/FilterBlock/index.js.map +1 -0
- package/build/cjs/blocks/Form/index.d.ts +13 -0
- package/build/cjs/blocks/Form/index.js +20 -0
- package/build/cjs/blocks/Form/index.js.map +1 -0
- package/build/cjs/blocks/Header/dynamic-form.d.ts +2 -0
- package/build/cjs/blocks/Header/dynamic-form.js +731 -0
- package/build/cjs/blocks/Header/dynamic-form.js.map +1 -0
- package/build/cjs/blocks/Header/index.d.ts +20 -0
- package/build/cjs/blocks/Header/index.js +34 -0
- package/build/cjs/blocks/Header/index.js.map +1 -0
- package/build/cjs/blocks/HeaderSlider/HeaderSlider.js +2 -1
- package/build/cjs/blocks/HeaderSlider/HeaderSlider.js.map +1 -1
- package/build/cjs/blocks/HeaderSlider/index.d.ts +32 -0
- package/build/cjs/blocks/HeaderSlider/index.js +40 -0
- package/build/cjs/blocks/HeaderSlider/index.js.map +1 -0
- package/build/cjs/blocks/Icons/Icons.js +8 -6
- package/build/cjs/blocks/Icons/Icons.js.map +1 -1
- package/build/cjs/blocks/Icons/index.d.ts +20 -0
- package/build/cjs/blocks/Icons/index.js +64 -0
- package/build/cjs/blocks/Icons/index.js.map +1 -0
- package/build/cjs/blocks/Info/index.d.ts +22 -0
- package/build/cjs/blocks/Info/index.js +43 -0
- package/build/cjs/blocks/Info/index.js.map +1 -0
- package/build/cjs/blocks/Map/index.d.ts +12 -0
- package/build/cjs/blocks/Map/index.js +19 -0
- package/build/cjs/blocks/Map/index.js.map +1 -0
- package/build/cjs/blocks/Media/index.d.ts +39 -0
- package/build/cjs/blocks/Media/index.js +57 -0
- package/build/cjs/blocks/Media/index.js.map +1 -0
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +15 -13
- package/build/cjs/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js.map +1 -1
- package/build/cjs/blocks/PromoFeaturesBlock/index.d.ts +22 -0
- package/build/cjs/blocks/PromoFeaturesBlock/index.js +49 -0
- package/build/cjs/blocks/PromoFeaturesBlock/index.js.map +1 -0
- package/build/cjs/blocks/Questions/Questions.js +6 -5
- package/build/cjs/blocks/Questions/Questions.js.map +1 -1
- package/build/cjs/blocks/Questions/index.d.ts +30 -0
- package/build/cjs/blocks/Questions/index.js +49 -0
- package/build/cjs/blocks/Questions/index.js.map +1 -0
- package/build/cjs/blocks/Share/Share.js +11 -10
- package/build/cjs/blocks/Share/Share.js.map +1 -1
- package/build/cjs/blocks/Share/index.d.ts +13 -0
- package/build/cjs/blocks/Share/index.js +20 -0
- package/build/cjs/blocks/Share/index.js.map +1 -0
- package/build/cjs/blocks/Slider/Slider.js +12 -10
- package/build/cjs/blocks/Slider/Slider.js.map +1 -1
- package/build/cjs/blocks/Slider/dynamic-form.d.ts +3 -0
- package/build/cjs/blocks/Slider/dynamic-form.js +226 -0
- package/build/cjs/blocks/Slider/dynamic-form.js.map +1 -0
- package/build/cjs/blocks/Slider/index.d.ts +28 -0
- package/build/cjs/blocks/Slider/index.js +47 -0
- package/build/cjs/blocks/Slider/index.js.map +1 -0
- package/build/cjs/blocks/Table/index.d.ts +18 -0
- package/build/cjs/blocks/Table/index.js +32 -0
- package/build/cjs/blocks/Table/index.js.map +1 -0
- package/build/cjs/blocks/Table/schema.d.ts +1 -0
- package/build/cjs/blocks/Table/schema.js +1 -0
- package/build/cjs/blocks/Table/schema.js.map +1 -1
- package/build/cjs/blocks/Tabs/Tabs.js +4 -4
- package/build/cjs/blocks/Tabs/Tabs.js.map +1 -1
- package/build/cjs/blocks/Tabs/index.d.ts +17 -0
- package/build/cjs/blocks/Tabs/index.js +31 -0
- package/build/cjs/blocks/Tabs/index.js.map +1 -0
- package/build/cjs/blocks/TestEditorBlock/TestEditorBlock.d.ts +5 -0
- package/build/cjs/blocks/TestEditorBlock/TestEditorBlock.js +12 -0
- package/build/cjs/blocks/TestEditorBlock/TestEditorBlock.js.map +1 -0
- package/build/cjs/blocks/TestEditorBlock/form.d.ts +3 -0
- package/build/cjs/blocks/TestEditorBlock/form.js +91 -0
- package/build/cjs/blocks/TestEditorBlock/form.js.map +1 -0
- package/build/cjs/blocks/TestEditorBlock/index.d.ts +11 -0
- package/build/cjs/blocks/TestEditorBlock/index.js +18 -0
- package/build/cjs/blocks/TestEditorBlock/index.js.map +1 -0
- package/build/cjs/components/BlockBase/BlockBase.css +8 -16
- package/build/cjs/components/Image/dynamic-form.d.ts +2 -0
- package/build/cjs/components/Image/dynamic-form.js +85 -0
- package/build/cjs/components/Image/dynamic-form.js.map +1 -0
- package/build/cjs/components/editor/ItemWrap/ItemWrap.css +9 -0
- package/build/cjs/components/editor/ItemWrap/ItemWrap.d.ts +6 -0
- package/build/cjs/components/editor/ItemWrap/ItemWrap.js +12 -0
- package/build/cjs/components/editor/ItemWrap/ItemWrap.js.map +1 -0
- package/build/cjs/constructor-items.d.ts +22 -6
- package/build/cjs/constructor-items.js +80 -6
- 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 +18 -10
- package/build/cjs/containers/PageConstructor/PageConstructor.js.map +1 -1
- package/build/cjs/containers/PageConstructor/Provider.js +2 -0
- package/build/cjs/containers/PageConstructor/Provider.js.map +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.css +10 -6
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +3 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js.map +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +7 -6
- 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 +2 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js.map +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js +2 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js.map +1 -1
- package/build/cjs/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js +1 -2
- 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/context/editorStoreContext/PCEditorStoreContext.d.ts +7 -0
- package/build/cjs/context/editorStoreContext/PCEditorStoreContext.js +10 -0
- package/build/cjs/context/editorStoreContext/PCEditorStoreContext.js.map +1 -0
- package/build/cjs/context/editorStoreContext/PCEditorStoreProvider.d.ts +5 -0
- package/build/cjs/context/editorStoreContext/PCEditorStoreProvider.js +34 -0
- package/build/cjs/context/editorStoreContext/PCEditorStoreProvider.js.map +1 -0
- package/build/cjs/context/editorStoreContext/index.d.ts +2 -0
- package/build/cjs/context/editorStoreContext/index.js +6 -0
- package/build/cjs/context/editorStoreContext/index.js.map +1 -0
- package/build/cjs/editor/components/CodeEditor/CodeEditor.d.ts +1 -2
- package/build/cjs/editor/components/CodeEditor/CodeEditor.js +5 -6
- package/build/cjs/editor/components/CodeEditor/CodeEditor.js.map +1 -1
- package/build/cjs/editor/data/templates/test-editor-block.json +18 -0
- package/build/cjs/editor-v2/components/DynamicForm/DynamicForm.css +0 -0
- package/build/cjs/editor-v2/components/DynamicForm/DynamicForm.d.ts +9 -0
- package/build/cjs/editor-v2/components/DynamicForm/DynamicForm.js +115 -0
- package/build/cjs/editor-v2/components/DynamicForm/DynamicForm.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/FieldBase/FieldBase.css +89 -0
- package/build/cjs/editor-v2/components/DynamicForm/FieldBase/FieldBase.d.ts +12 -0
- package/build/cjs/editor-v2/components/DynamicForm/FieldBase/FieldBase.js +27 -0
- package/build/cjs/editor-v2/components/DynamicForm/FieldBase/FieldBase.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/Array.css +37 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/Array.d.ts +11 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/Array.js +68 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/Array.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.d.ts +10 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.js +22 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.css +3 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.d.ts +8 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.js +13 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Number/Number.d.ts +8 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Number/Number.js +16 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Number/Number.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Object/Object.d.ts +10 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Object/Object.js +12 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Object/Object.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.css +6 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.d.ts +9 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.js +35 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Select/Select.css +3 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Select/Select.d.ts +11 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Select/Select.js +14 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Select/Select.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Text/Text.d.ts +8 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Text/Text.js +13 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/Text/Text.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.d.ts +8 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.js +13 -0
- package/build/cjs/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.js.map +1 -0
- package/build/cjs/editor-v2/components/DynamicForm/utils.d.ts +3 -0
- package/build/cjs/editor-v2/components/DynamicForm/utils.js +23 -0
- package/build/cjs/editor-v2/components/DynamicForm/utils.js.map +1 -0
- package/build/cjs/editor-v2/components/Panels/Panels.css +37 -0
- package/build/cjs/editor-v2/components/Panels/Panels.d.ts +8 -0
- package/build/cjs/editor-v2/components/Panels/Panels.js +28 -0
- package/build/cjs/editor-v2/components/Panels/Panels.js.map +1 -0
- package/build/cjs/editor-v2/components/Sidebar/Sidebar.css +24 -0
- package/build/cjs/editor-v2/components/Sidebar/Sidebar.d.ts +10 -0
- package/build/cjs/editor-v2/components/Sidebar/Sidebar.js +13 -0
- package/build/cjs/editor-v2/components/Sidebar/Sidebar.js.map +1 -0
- package/build/cjs/editor-v2/components/StoreViewer/StoreViewer.css +29 -0
- package/build/cjs/editor-v2/components/StoreViewer/StoreViewer.d.ts +6 -0
- package/build/cjs/editor-v2/components/StoreViewer/StoreViewer.js +17 -0
- package/build/cjs/editor-v2/components/StoreViewer/StoreViewer.js.map +1 -0
- package/build/cjs/editor-v2/components/Tabs/Tabs.css +26 -0
- package/build/cjs/editor-v2/components/Tabs/Tabs.d.ts +13 -0
- package/build/cjs/editor-v2/components/Tabs/Tabs.js +32 -0
- package/build/cjs/editor-v2/components/Tabs/Tabs.js.map +1 -0
- package/build/cjs/editor-v2/constants.d.ts +1 -0
- package/build/cjs/editor-v2/constants.js +5 -0
- package/build/cjs/editor-v2/constants.js.map +1 -0
- package/build/cjs/editor-v2/containers/BigOverlay/BigOverlay.css +35 -0
- package/build/cjs/editor-v2/containers/BigOverlay/BigOverlay.d.ts +4 -0
- package/build/cjs/editor-v2/containers/BigOverlay/BigOverlay.js +58 -0
- package/build/cjs/editor-v2/containers/BigOverlay/BigOverlay.js.map +1 -0
- package/build/cjs/editor-v2/containers/BlockConfig/BlockConfig.css +33 -0
- package/build/cjs/editor-v2/containers/BlockConfig/BlockConfig.d.ts +5 -0
- package/build/cjs/editor-v2/containers/BlockConfig/BlockConfig.js +28 -0
- package/build/cjs/editor-v2/containers/BlockConfig/BlockConfig.js.map +1 -0
- package/build/cjs/editor-v2/containers/BlocksList/BlocksList.css +65 -0
- package/build/cjs/editor-v2/containers/BlocksList/BlocksList.d.ts +2 -0
- package/build/cjs/editor-v2/containers/BlocksList/BlocksList.js +43 -0
- package/build/cjs/editor-v2/containers/BlocksList/BlocksList.js.map +1 -0
- package/build/cjs/editor-v2/containers/Editor/Editor.css +51 -0
- package/build/cjs/editor-v2/containers/Editor/Editor.d.ts +21 -0
- package/build/cjs/editor-v2/containers/Editor/Editor.js +40 -0
- package/build/cjs/editor-v2/containers/Editor/Editor.js.map +1 -0
- package/build/cjs/editor-v2/containers/GlobalConfig/GlobalConfig.css +24 -0
- package/build/cjs/editor-v2/containers/GlobalConfig/GlobalConfig.d.ts +5 -0
- package/build/cjs/editor-v2/containers/GlobalConfig/GlobalConfig.js +17 -0
- package/build/cjs/editor-v2/containers/GlobalConfig/GlobalConfig.js.map +1 -0
- package/build/cjs/editor-v2/containers/MiddleScreen/MiddleScreen.css +62 -0
- package/build/cjs/editor-v2/containers/MiddleScreen/MiddleScreen.d.ts +7 -0
- package/build/cjs/editor-v2/containers/MiddleScreen/MiddleScreen.js +34 -0
- package/build/cjs/editor-v2/containers/MiddleScreen/MiddleScreen.js.map +1 -0
- package/build/cjs/editor-v2/containers/Overlay/Overlay.css +60 -0
- package/build/cjs/editor-v2/containers/Overlay/Overlay.d.ts +6 -0
- package/build/cjs/editor-v2/containers/Overlay/Overlay.js +90 -0
- package/build/cjs/editor-v2/containers/Overlay/Overlay.js.map +1 -0
- package/build/cjs/editor-v2/containers/Source/Source.css +27 -0
- package/build/cjs/editor-v2/containers/Source/Source.d.ts +2 -0
- package/build/cjs/editor-v2/containers/Source/Source.js +28 -0
- package/build/cjs/editor-v2/containers/Source/Source.js.map +1 -0
- package/build/cjs/editor-v2/containers/SourceCode/SourceCode.css +50 -0
- package/build/cjs/editor-v2/containers/SourceCode/SourceCode.d.ts +6 -0
- package/build/cjs/editor-v2/containers/SourceCode/SourceCode.js +41 -0
- package/build/cjs/editor-v2/containers/SourceCode/SourceCode.js.map +1 -0
- package/build/cjs/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.css +3 -0
- package/build/cjs/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.d.ts +7 -0
- package/build/cjs/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.js +18 -0
- package/build/cjs/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.js.map +1 -0
- package/build/cjs/editor-v2/containers/Tree/DragContext.css +38 -0
- package/build/cjs/editor-v2/containers/Tree/DragContext.d.ts +14 -0
- package/build/cjs/editor-v2/containers/Tree/DragContext.js +49 -0
- package/build/cjs/editor-v2/containers/Tree/DragContext.js.map +1 -0
- package/build/cjs/editor-v2/containers/Tree/Tree.css +23 -0
- package/build/cjs/editor-v2/containers/Tree/Tree.d.ts +2 -0
- package/build/cjs/editor-v2/containers/Tree/Tree.js +36 -0
- package/build/cjs/editor-v2/containers/Tree/Tree.js.map +1 -0
- package/build/cjs/editor-v2/containers/Tree/TreeContent.css +28 -0
- package/build/cjs/editor-v2/containers/Tree/TreeContent.d.ts +16 -0
- package/build/cjs/editor-v2/containers/Tree/TreeContent.js +61 -0
- package/build/cjs/editor-v2/containers/Tree/TreeContent.js.map +1 -0
- package/build/cjs/editor-v2/containers/Tree/TreeItem.css +66 -0
- package/build/cjs/editor-v2/containers/Tree/TreeItem.d.ts +13 -0
- package/build/cjs/editor-v2/containers/Tree/TreeItem.js +144 -0
- package/build/cjs/editor-v2/containers/Tree/TreeItem.js.map +1 -0
- package/build/cjs/editor-v2/containers/Tree/index.d.ts +4 -0
- package/build/cjs/editor-v2/containers/Tree/index.js +10 -0
- package/build/cjs/editor-v2/containers/Tree/index.js.map +1 -0
- package/build/cjs/editor-v2/containers/ViewSwitches/ViewSwitches.css +23 -0
- package/build/cjs/editor-v2/containers/ViewSwitches/ViewSwitches.d.ts +3 -0
- package/build/cjs/editor-v2/containers/ViewSwitches/ViewSwitches.js +54 -0
- package/build/cjs/editor-v2/containers/ViewSwitches/ViewSwitches.js.map +1 -0
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreContext.d.ts +7 -0
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreContext.js +10 -0
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreContext.js.map +1 -0
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreProvider.d.ts +5 -0
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreProvider.js +35 -0
- package/build/cjs/editor-v2/context/editorStore/MainEditorStoreProvider.js.map +1 -0
- package/build/cjs/editor-v2/context/editorStore/index.d.ts +2 -0
- package/build/cjs/editor-v2/context/editorStore/index.js +6 -0
- package/build/cjs/editor-v2/context/editorStore/index.js.map +1 -0
- package/build/cjs/editor-v2/context/iframeContext/IframeContext.d.ts +12 -0
- package/build/cjs/editor-v2/context/iframeContext/IframeContext.js +14 -0
- package/build/cjs/editor-v2/context/iframeContext/IframeContext.js.map +1 -0
- package/build/cjs/editor-v2/context/iframeContext/IframeProvider.d.ts +7 -0
- package/build/cjs/editor-v2/context/iframeContext/IframeProvider.js +21 -0
- package/build/cjs/editor-v2/context/iframeContext/IframeProvider.js.map +1 -0
- package/build/cjs/editor-v2/context/iframeContext/index.d.ts +2 -0
- package/build/cjs/editor-v2/context/iframeContext/index.js +6 -0
- package/build/cjs/editor-v2/context/iframeContext/index.js.map +1 -0
- package/build/cjs/editor-v2/hooks/useEditorTabs.d.ts +16 -0
- package/build/cjs/editor-v2/hooks/useEditorTabs.js +77 -0
- package/build/cjs/editor-v2/hooks/useEditorTabs.js.map +1 -0
- package/build/cjs/editor-v2/hooks/useMainEditorInitialize.d.ts +2 -0
- package/build/cjs/editor-v2/hooks/useMainEditorInitialize.js +31 -0
- package/build/cjs/editor-v2/hooks/useMainEditorInitialize.js.map +1 -0
- package/build/cjs/editor-v2/hooks/useMainEditorStore.d.ts +1 -0
- package/build/cjs/editor-v2/hooks/useMainEditorStore.js +13 -0
- package/build/cjs/editor-v2/hooks/useMainEditorStore.js.map +1 -0
- package/build/cjs/editor-v2/hooks/usePostMessageEvents.d.ts +6 -0
- package/build/cjs/editor-v2/hooks/usePostMessageEvents.js +19 -0
- package/build/cjs/editor-v2/hooks/usePostMessageEvents.js.map +1 -0
- package/build/cjs/editor-v2/index.d.ts +2 -0
- package/build/cjs/editor-v2/index.js +8 -0
- package/build/cjs/editor-v2/index.js.map +1 -0
- package/build/cjs/editor-v2/store.d.ts +48 -0
- package/build/cjs/editor-v2/store.js +181 -0
- package/build/cjs/editor-v2/store.js.map +1 -0
- package/build/cjs/editor-v2/styles/mixins.css +0 -0
- package/build/cjs/editor-v2/styles/root.css +12 -0
- package/build/cjs/editor-v2/styles/variables.css +0 -0
- package/build/cjs/editor-v2/utils/cn.d.ts +2 -0
- package/build/cjs/editor-v2/utils/cn.js +7 -0
- package/build/cjs/editor-v2/utils/cn.js.map +1 -0
- package/build/cjs/editor-v2/utils/code.d.ts +6 -0
- package/build/cjs/editor-v2/utils/code.js +13 -0
- package/build/cjs/editor-v2/utils/code.js.map +1 -0
- package/build/cjs/editor-v2/utils/index.d.ts +18 -0
- package/build/cjs/editor-v2/utils/index.js +159 -0
- package/build/cjs/editor-v2/utils/index.js.map +1 -0
- package/build/cjs/grid/Grid/Grid.css +2 -6
- package/build/cjs/hooks/useAnalytics.js +1 -1
- package/build/cjs/hooks/useAnalytics.js.map +1 -1
- package/build/cjs/hooks/usePCEditorBlockMouseEvents.d.ts +8 -0
- package/build/cjs/hooks/usePCEditorBlockMouseEvents.js +50 -0
- package/build/cjs/hooks/usePCEditorBlockMouseEvents.js.map +1 -0
- package/build/cjs/hooks/usePCEditorBlockSelection.d.ts +2 -0
- package/build/cjs/hooks/usePCEditorBlockSelection.js +30 -0
- package/build/cjs/hooks/usePCEditorBlockSelection.js.map +1 -0
- package/build/cjs/hooks/usePCEditorInitializeEvents.d.ts +7 -0
- package/build/cjs/hooks/usePCEditorInitializeEvents.js +63 -0
- package/build/cjs/hooks/usePCEditorInitializeEvents.js.map +1 -0
- package/build/cjs/hooks/usePCEditorItemWrap.d.ts +10 -0
- package/build/cjs/hooks/usePCEditorItemWrap.js +21 -0
- package/build/cjs/hooks/usePCEditorItemWrap.js.map +1 -0
- package/build/cjs/hooks/usePCEditorStore.d.ts +1 -0
- package/build/cjs/hooks/usePCEditorStore.js +13 -0
- package/build/cjs/hooks/usePCEditorStore.js.map +1 -0
- package/build/cjs/hooks/usePostMessageAPI.d.ts +4 -0
- package/build/cjs/hooks/usePostMessageAPI.js +30 -0
- package/build/cjs/hooks/usePostMessageAPI.js.map +1 -0
- package/build/cjs/models/constructor-items/blocks.d.ts +1 -0
- package/build/cjs/models/constructor-items/blocks.js +1 -0
- package/build/cjs/models/constructor-items/blocks.js.map +1 -1
- package/build/cjs/models/constructor.d.ts +4 -1
- 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 +4 -1
- package/build/cjs/navigation/components/NavigationItem/NavigationItem.js.map +1 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js +4 -1
- package/build/cjs/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js.map +1 -1
- package/build/cjs/navigation/containers/Layout/Layout.css +0 -1
- package/build/cjs/navigation/containers/Layout/Layout.js +1 -0
- 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 +2 -0
- package/build/cjs/schema/constants.js.map +1 -1
- package/build/cjs/schema/index.d.ts +256 -0
- package/build/cjs/schema/index.js +12 -6
- package/build/cjs/schema/index.js.map +1 -1
- package/build/cjs/sub-blocks/BackgroundCard/dynamic-form.d.ts +2 -0
- package/build/cjs/sub-blocks/BackgroundCard/dynamic-form.js +82 -0
- package/build/cjs/sub-blocks/BackgroundCard/dynamic-form.js.map +1 -0
- package/build/cjs/sub-blocks/BackgroundCard/index.d.ts +3 -0
- package/build/cjs/sub-blocks/BackgroundCard/index.js +22 -0
- package/build/cjs/sub-blocks/BackgroundCard/index.js.map +1 -0
- package/build/cjs/sub-blocks/BannerCard/BannerCard.js +2 -1
- package/build/cjs/sub-blocks/BannerCard/BannerCard.js.map +1 -1
- package/build/cjs/sub-blocks/BannerCard/index.d.ts +3 -0
- package/build/cjs/sub-blocks/BannerCard/index.js +24 -0
- package/build/cjs/sub-blocks/BannerCard/index.js.map +1 -0
- package/build/cjs/sub-blocks/BasicCard/index.d.ts +3 -0
- package/build/cjs/sub-blocks/BasicCard/index.js +20 -0
- package/build/cjs/sub-blocks/BasicCard/index.js.map +1 -0
- package/build/cjs/sub-blocks/Content/index.d.ts +3 -0
- package/build/cjs/sub-blocks/Content/index.js +20 -0
- package/build/cjs/sub-blocks/Content/index.js.map +1 -0
- package/build/cjs/sub-blocks/Content/schema.d.ts +1 -0
- package/build/cjs/sub-blocks/Content/schema.js +1 -0
- package/build/cjs/sub-blocks/Content/schema.js.map +1 -1
- package/build/cjs/sub-blocks/Divider/index.d.ts +3 -0
- package/build/cjs/sub-blocks/Divider/index.js +16 -0
- package/build/cjs/sub-blocks/Divider/index.js.map +1 -0
- 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/ImageCard/index.d.ts +3 -0
- package/build/cjs/sub-blocks/ImageCard/index.js +20 -0
- package/build/cjs/sub-blocks/ImageCard/index.js.map +1 -0
- 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/index.d.ts +3 -0
- package/build/cjs/sub-blocks/LayoutItem/index.js +26 -0
- package/build/cjs/sub-blocks/LayoutItem/index.js.map +1 -0
- package/build/cjs/sub-blocks/LayoutItem/schema.d.ts +211 -206
- package/build/cjs/sub-blocks/LayoutItem/schema.js +6 -5
- package/build/cjs/sub-blocks/LayoutItem/schema.js.map +1 -1
- package/build/cjs/sub-blocks/MediaCard/index.d.ts +3 -0
- package/build/cjs/sub-blocks/MediaCard/index.js +23 -0
- package/build/cjs/sub-blocks/MediaCard/index.js.map +1 -0
- package/build/cjs/sub-blocks/PriceCard/index.d.ts +3 -0
- package/build/cjs/sub-blocks/PriceCard/index.js +33 -0
- package/build/cjs/sub-blocks/PriceCard/index.js.map +1 -0
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.js +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/PriceDetailed.js.map +1 -1
- package/build/cjs/sub-blocks/PriceDetailed/index.d.ts +4 -0
- package/build/cjs/sub-blocks/PriceDetailed/index.js +35 -0
- package/build/cjs/sub-blocks/PriceDetailed/index.js.map +1 -0
- package/build/cjs/sub-blocks/Quote/index.d.ts +3 -0
- package/build/cjs/sub-blocks/Quote/index.js +23 -0
- package/build/cjs/sub-blocks/Quote/index.js.map +1 -0
- package/build/cjs/utils/editor.d.ts +2 -0
- package/build/cjs/utils/editor.js +25 -0
- package/build/cjs/utils/editor.js.map +1 -0
- package/build/cjs/utils/form-generator.d.ts +9 -0
- package/build/cjs/utils/form-generator.js +131 -0
- package/build/cjs/utils/form-generator.js.map +1 -0
- package/build/cjs/utils/index.d.ts +1 -0
- package/build/cjs/utils/index.js +1 -0
- package/build/cjs/utils/index.js.map +1 -1
- package/build/cjs/utils/navigation.d.ts +3 -0
- package/build/cjs/utils/navigation.js +14 -0
- package/build/cjs/utils/navigation.js.map +1 -0
- package/build/esm/blocks/Banner/Banner.js +2 -1
- package/build/esm/blocks/Banner/Banner.js.map +1 -1
- package/build/esm/blocks/Banner/index.d.ts +3 -0
- package/build/esm/blocks/Banner/index.js +21 -0
- package/build/esm/blocks/Banner/index.js.map +1 -0
- package/build/esm/blocks/CardLayout/CardLayout.css +1 -0
- package/build/esm/blocks/CardLayout/CardLayout.js +5 -4
- package/build/esm/blocks/CardLayout/CardLayout.js.map +1 -1
- package/build/esm/blocks/CardLayout/index.d.ts +5 -0
- package/build/esm/blocks/CardLayout/index.js +182 -0
- package/build/esm/blocks/CardLayout/index.js.map +1 -0
- package/build/esm/blocks/Companies/Companies.js +2 -1
- package/build/esm/blocks/Companies/Companies.js.map +1 -1
- package/build/esm/blocks/Companies/index.d.ts +3 -0
- package/build/esm/blocks/Companies/index.js +17 -0
- package/build/esm/blocks/Companies/index.js.map +1 -0
- package/build/esm/blocks/ContentLayout/ContentLayout.js +2 -2
- package/build/esm/blocks/ContentLayout/ContentLayout.js.map +1 -1
- package/build/esm/blocks/ContentLayout/index.d.ts +41 -0
- package/build/esm/blocks/ContentLayout/index.js +78 -0
- package/build/esm/blocks/ContentLayout/index.js.map +1 -0
- package/build/esm/blocks/ContentLayout/schema.d.ts +1 -0
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.js +14 -13
- package/build/esm/blocks/ExtendedFeatures/ExtendedFeatures.js.map +1 -1
- package/build/esm/blocks/ExtendedFeatures/index.d.ts +58 -0
- package/build/esm/blocks/ExtendedFeatures/index.js +74 -0
- package/build/esm/blocks/ExtendedFeatures/index.js.map +1 -0
- package/build/esm/blocks/ExtendedFeatures/schema.d.ts +1 -0
- package/build/esm/blocks/ExtendedFeatures/schema.js +1 -0
- 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/FilterBlock/index.d.ts +29 -0
- package/build/esm/blocks/FilterBlock/index.js +95 -0
- package/build/esm/blocks/FilterBlock/index.js.map +1 -0
- package/build/esm/blocks/Form/index.d.ts +13 -0
- package/build/esm/blocks/Form/index.js +17 -0
- package/build/esm/blocks/Form/index.js.map +1 -0
- package/build/esm/blocks/Header/dynamic-form.d.ts +2 -0
- package/build/esm/blocks/Header/dynamic-form.js +728 -0
- package/build/esm/blocks/Header/dynamic-form.js.map +1 -0
- package/build/esm/blocks/Header/index.d.ts +20 -0
- package/build/esm/blocks/Header/index.js +31 -0
- package/build/esm/blocks/Header/index.js.map +1 -0
- package/build/esm/blocks/HeaderSlider/HeaderSlider.js +2 -1
- package/build/esm/blocks/HeaderSlider/HeaderSlider.js.map +1 -1
- package/build/esm/blocks/HeaderSlider/index.d.ts +32 -0
- package/build/esm/blocks/HeaderSlider/index.js +37 -0
- package/build/esm/blocks/HeaderSlider/index.js.map +1 -0
- package/build/esm/blocks/Icons/Icons.js +8 -6
- package/build/esm/blocks/Icons/Icons.js.map +1 -1
- package/build/esm/blocks/Icons/index.d.ts +20 -0
- package/build/esm/blocks/Icons/index.js +61 -0
- package/build/esm/blocks/Icons/index.js.map +1 -0
- package/build/esm/blocks/Info/index.d.ts +22 -0
- package/build/esm/blocks/Info/index.js +40 -0
- package/build/esm/blocks/Info/index.js.map +1 -0
- package/build/esm/blocks/Map/index.d.ts +12 -0
- package/build/esm/blocks/Map/index.js +16 -0
- package/build/esm/blocks/Map/index.js.map +1 -0
- package/build/esm/blocks/Media/index.d.ts +39 -0
- package/build/esm/blocks/Media/index.js +54 -0
- package/build/esm/blocks/Media/index.js.map +1 -0
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js +15 -13
- package/build/esm/blocks/PromoFeaturesBlock/PromoFeaturesBlock.js.map +1 -1
- package/build/esm/blocks/PromoFeaturesBlock/index.d.ts +22 -0
- package/build/esm/blocks/PromoFeaturesBlock/index.js +46 -0
- package/build/esm/blocks/PromoFeaturesBlock/index.js.map +1 -0
- package/build/esm/blocks/Questions/Questions.js +7 -6
- package/build/esm/blocks/Questions/Questions.js.map +1 -1
- package/build/esm/blocks/Questions/index.d.ts +30 -0
- package/build/esm/blocks/Questions/index.js +46 -0
- package/build/esm/blocks/Questions/index.js.map +1 -0
- package/build/esm/blocks/Share/Share.js +11 -10
- package/build/esm/blocks/Share/Share.js.map +1 -1
- package/build/esm/blocks/Share/index.d.ts +13 -0
- package/build/esm/blocks/Share/index.js +17 -0
- package/build/esm/blocks/Share/index.js.map +1 -0
- package/build/esm/blocks/Slider/Slider.js +12 -10
- package/build/esm/blocks/Slider/Slider.js.map +1 -1
- package/build/esm/blocks/Slider/dynamic-form.d.ts +3 -0
- package/build/esm/blocks/Slider/dynamic-form.js +223 -0
- package/build/esm/blocks/Slider/dynamic-form.js.map +1 -0
- package/build/esm/blocks/Slider/index.d.ts +28 -0
- package/build/esm/blocks/Slider/index.js +44 -0
- package/build/esm/blocks/Slider/index.js.map +1 -0
- package/build/esm/blocks/Table/index.d.ts +18 -0
- package/build/esm/blocks/Table/index.js +29 -0
- package/build/esm/blocks/Table/index.js.map +1 -0
- package/build/esm/blocks/Table/schema.d.ts +1 -0
- package/build/esm/blocks/Table/schema.js +1 -0
- package/build/esm/blocks/Table/schema.js.map +1 -1
- package/build/esm/blocks/Tabs/Tabs.js +5 -5
- package/build/esm/blocks/Tabs/Tabs.js.map +1 -1
- package/build/esm/blocks/Tabs/index.d.ts +17 -0
- package/build/esm/blocks/Tabs/index.js +28 -0
- package/build/esm/blocks/Tabs/index.js.map +1 -0
- package/build/esm/blocks/TestEditorBlock/TestEditorBlock.d.ts +5 -0
- package/build/esm/blocks/TestEditorBlock/TestEditorBlock.js +8 -0
- package/build/esm/blocks/TestEditorBlock/TestEditorBlock.js.map +1 -0
- package/build/esm/blocks/TestEditorBlock/form.d.ts +3 -0
- package/build/esm/blocks/TestEditorBlock/form.js +89 -0
- package/build/esm/blocks/TestEditorBlock/form.js.map +1 -0
- package/build/esm/blocks/TestEditorBlock/index.d.ts +11 -0
- package/build/esm/blocks/TestEditorBlock/index.js +14 -0
- package/build/esm/blocks/TestEditorBlock/index.js.map +1 -0
- package/build/esm/components/BlockBase/BlockBase.css +8 -16
- package/build/esm/components/Image/dynamic-form.d.ts +2 -0
- package/build/esm/components/Image/dynamic-form.js +81 -0
- package/build/esm/components/Image/dynamic-form.js.map +1 -0
- package/build/esm/components/editor/ItemWrap/ItemWrap.css +9 -0
- package/build/esm/components/editor/ItemWrap/ItemWrap.d.ts +7 -0
- package/build/esm/components/editor/ItemWrap/ItemWrap.js +11 -0
- package/build/esm/components/editor/ItemWrap/ItemWrap.js.map +1 -0
- package/build/esm/constructor-items.d.ts +22 -6
- package/build/esm/constructor-items.js +75 -1
- 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 +20 -12
- package/build/esm/containers/PageConstructor/PageConstructor.js.map +1 -1
- package/build/esm/containers/PageConstructor/Provider.js +2 -0
- package/build/esm/containers/PageConstructor/Provider.js.map +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.css +10 -6
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js +3 -1
- package/build/esm/containers/PageConstructor/components/ConstructorBlock/ConstructorBlock.js.map +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorBlocks/ConstructorBlocks.js +7 -6
- 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 +2 -1
- package/build/esm/containers/PageConstructor/components/ConstructorItem/ConstructorItem.js.map +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js +2 -1
- package/build/esm/containers/PageConstructor/components/ConstructorLoadable/ConstructorLoadable.js.map +1 -1
- package/build/esm/containers/PageConstructor/components/ConstructorRow/ConstructorRow.js +1 -2
- 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/context/editorStoreContext/PCEditorStoreContext.d.ts +7 -0
- package/build/esm/context/editorStoreContext/PCEditorStoreContext.js +6 -0
- package/build/esm/context/editorStoreContext/PCEditorStoreContext.js.map +1 -0
- package/build/esm/context/editorStoreContext/PCEditorStoreProvider.d.ts +5 -0
- package/build/esm/context/editorStoreContext/PCEditorStoreProvider.js +29 -0
- package/build/esm/context/editorStoreContext/PCEditorStoreProvider.js.map +1 -0
- package/build/esm/context/editorStoreContext/index.d.ts +2 -0
- package/build/esm/context/editorStoreContext/index.js +3 -0
- package/build/esm/context/editorStoreContext/index.js.map +1 -0
- package/build/esm/editor/components/CodeEditor/CodeEditor.d.ts +1 -2
- package/build/esm/editor/components/CodeEditor/CodeEditor.js +4 -6
- package/build/esm/editor/components/CodeEditor/CodeEditor.js.map +1 -1
- package/build/esm/editor/data/templates/test-editor-block.json +18 -0
- package/build/esm/editor-v2/components/DynamicForm/DynamicForm.css +0 -0
- package/build/esm/editor-v2/components/DynamicForm/DynamicForm.d.ts +10 -0
- package/build/esm/editor-v2/components/DynamicForm/DynamicForm.js +113 -0
- package/build/esm/editor-v2/components/DynamicForm/DynamicForm.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/FieldBase/FieldBase.css +89 -0
- package/build/esm/editor-v2/components/DynamicForm/FieldBase/FieldBase.d.ts +13 -0
- package/build/esm/editor-v2/components/DynamicForm/FieldBase/FieldBase.js +25 -0
- package/build/esm/editor-v2/components/DynamicForm/FieldBase/FieldBase.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/Array.css +37 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/Array.d.ts +12 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/Array.js +66 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/Array.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.d.ts +10 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.js +19 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Array/ItemButton/ItemButton.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.css +3 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.d.ts +9 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.js +11 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Boolean/Boolean.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Number/Number.d.ts +8 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Number/Number.js +13 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Number/Number.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Object/Object.d.ts +10 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Object/Object.js +9 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Object/Object.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.css +6 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.d.ts +10 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.js +33 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/OneOf/OneOf.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Select/Select.css +3 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Select/Select.d.ts +12 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Select/Select.js +12 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Select/Select.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Text/Text.d.ts +8 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Text/Text.js +10 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/Text/Text.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.d.ts +8 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.js +10 -0
- package/build/esm/editor-v2/components/DynamicForm/Fields/TextArea/TextArea.js.map +1 -0
- package/build/esm/editor-v2/components/DynamicForm/utils.d.ts +3 -0
- package/build/esm/editor-v2/components/DynamicForm/utils.js +17 -0
- package/build/esm/editor-v2/components/DynamicForm/utils.js.map +1 -0
- package/build/esm/editor-v2/components/Panels/Panels.css +37 -0
- package/build/esm/editor-v2/components/Panels/Panels.d.ts +9 -0
- package/build/esm/editor-v2/components/Panels/Panels.js +24 -0
- package/build/esm/editor-v2/components/Panels/Panels.js.map +1 -0
- package/build/esm/editor-v2/components/Sidebar/Sidebar.css +24 -0
- package/build/esm/editor-v2/components/Sidebar/Sidebar.d.ts +11 -0
- package/build/esm/editor-v2/components/Sidebar/Sidebar.js +9 -0
- package/build/esm/editor-v2/components/Sidebar/Sidebar.js.map +1 -0
- package/build/esm/editor-v2/components/StoreViewer/StoreViewer.css +29 -0
- package/build/esm/editor-v2/components/StoreViewer/StoreViewer.d.ts +7 -0
- package/build/esm/editor-v2/components/StoreViewer/StoreViewer.js +15 -0
- package/build/esm/editor-v2/components/StoreViewer/StoreViewer.js.map +1 -0
- package/build/esm/editor-v2/components/Tabs/Tabs.css +26 -0
- package/build/esm/editor-v2/components/Tabs/Tabs.d.ts +14 -0
- package/build/esm/editor-v2/components/Tabs/Tabs.js +30 -0
- package/build/esm/editor-v2/components/Tabs/Tabs.js.map +1 -0
- package/build/esm/editor-v2/constants.d.ts +1 -0
- package/build/esm/editor-v2/constants.js +2 -0
- package/build/esm/editor-v2/constants.js.map +1 -0
- package/build/esm/editor-v2/containers/BigOverlay/BigOverlay.css +35 -0
- package/build/esm/editor-v2/containers/BigOverlay/BigOverlay.d.ts +5 -0
- package/build/esm/editor-v2/containers/BigOverlay/BigOverlay.js +56 -0
- package/build/esm/editor-v2/containers/BigOverlay/BigOverlay.js.map +1 -0
- package/build/esm/editor-v2/containers/BlockConfig/BlockConfig.css +33 -0
- package/build/esm/editor-v2/containers/BlockConfig/BlockConfig.d.ts +6 -0
- package/build/esm/editor-v2/containers/BlockConfig/BlockConfig.js +26 -0
- package/build/esm/editor-v2/containers/BlockConfig/BlockConfig.js.map +1 -0
- package/build/esm/editor-v2/containers/BlocksList/BlocksList.css +65 -0
- package/build/esm/editor-v2/containers/BlocksList/BlocksList.d.ts +3 -0
- package/build/esm/editor-v2/containers/BlocksList/BlocksList.js +41 -0
- package/build/esm/editor-v2/containers/BlocksList/BlocksList.js.map +1 -0
- package/build/esm/editor-v2/containers/Editor/Editor.css +51 -0
- package/build/esm/editor-v2/containers/Editor/Editor.d.ts +22 -0
- package/build/esm/editor-v2/containers/Editor/Editor.js +36 -0
- package/build/esm/editor-v2/containers/Editor/Editor.js.map +1 -0
- package/build/esm/editor-v2/containers/GlobalConfig/GlobalConfig.css +24 -0
- package/build/esm/editor-v2/containers/GlobalConfig/GlobalConfig.d.ts +6 -0
- package/build/esm/editor-v2/containers/GlobalConfig/GlobalConfig.js +15 -0
- package/build/esm/editor-v2/containers/GlobalConfig/GlobalConfig.js.map +1 -0
- package/build/esm/editor-v2/containers/MiddleScreen/MiddleScreen.css +62 -0
- package/build/esm/editor-v2/containers/MiddleScreen/MiddleScreen.d.ts +8 -0
- package/build/esm/editor-v2/containers/MiddleScreen/MiddleScreen.js +32 -0
- package/build/esm/editor-v2/containers/MiddleScreen/MiddleScreen.js.map +1 -0
- package/build/esm/editor-v2/containers/Overlay/Overlay.css +60 -0
- package/build/esm/editor-v2/containers/Overlay/Overlay.d.ts +7 -0
- package/build/esm/editor-v2/containers/Overlay/Overlay.js +88 -0
- package/build/esm/editor-v2/containers/Overlay/Overlay.js.map +1 -0
- package/build/esm/editor-v2/containers/Source/Source.css +27 -0
- package/build/esm/editor-v2/containers/Source/Source.d.ts +3 -0
- package/build/esm/editor-v2/containers/Source/Source.js +26 -0
- package/build/esm/editor-v2/containers/Source/Source.js.map +1 -0
- package/build/esm/editor-v2/containers/SourceCode/SourceCode.css +50 -0
- package/build/esm/editor-v2/containers/SourceCode/SourceCode.d.ts +7 -0
- package/build/esm/editor-v2/containers/SourceCode/SourceCode.js +39 -0
- package/build/esm/editor-v2/containers/SourceCode/SourceCode.js.map +1 -0
- package/build/esm/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.css +3 -0
- package/build/esm/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.d.ts +8 -0
- package/build/esm/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.js +14 -0
- package/build/esm/editor-v2/containers/SourceCode/UpdateModal/UpdateModal.js.map +1 -0
- package/build/esm/editor-v2/containers/Tree/DragContext.css +38 -0
- package/build/esm/editor-v2/containers/Tree/DragContext.d.ts +15 -0
- package/build/esm/editor-v2/containers/Tree/DragContext.js +45 -0
- package/build/esm/editor-v2/containers/Tree/DragContext.js.map +1 -0
- package/build/esm/editor-v2/containers/Tree/Tree.css +23 -0
- package/build/esm/editor-v2/containers/Tree/Tree.d.ts +3 -0
- package/build/esm/editor-v2/containers/Tree/Tree.js +34 -0
- package/build/esm/editor-v2/containers/Tree/Tree.js.map +1 -0
- package/build/esm/editor-v2/containers/Tree/TreeContent.css +28 -0
- package/build/esm/editor-v2/containers/Tree/TreeContent.d.ts +17 -0
- package/build/esm/editor-v2/containers/Tree/TreeContent.js +57 -0
- package/build/esm/editor-v2/containers/Tree/TreeContent.js.map +1 -0
- package/build/esm/editor-v2/containers/Tree/TreeItem.css +66 -0
- package/build/esm/editor-v2/containers/Tree/TreeItem.d.ts +14 -0
- package/build/esm/editor-v2/containers/Tree/TreeItem.js +140 -0
- package/build/esm/editor-v2/containers/Tree/TreeItem.js.map +1 -0
- package/build/esm/editor-v2/containers/Tree/index.d.ts +4 -0
- package/build/esm/editor-v2/containers/Tree/index.js +5 -0
- package/build/esm/editor-v2/containers/Tree/index.js.map +1 -0
- package/build/esm/editor-v2/containers/ViewSwitches/ViewSwitches.css +23 -0
- package/build/esm/editor-v2/containers/ViewSwitches/ViewSwitches.d.ts +4 -0
- package/build/esm/editor-v2/containers/ViewSwitches/ViewSwitches.js +52 -0
- package/build/esm/editor-v2/containers/ViewSwitches/ViewSwitches.js.map +1 -0
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreContext.d.ts +7 -0
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreContext.js +6 -0
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreContext.js.map +1 -0
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreProvider.d.ts +5 -0
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreProvider.js +30 -0
- package/build/esm/editor-v2/context/editorStore/MainEditorStoreProvider.js.map +1 -0
- package/build/esm/editor-v2/context/editorStore/index.d.ts +2 -0
- package/build/esm/editor-v2/context/editorStore/index.js +3 -0
- package/build/esm/editor-v2/context/editorStore/index.js.map +1 -0
- package/build/esm/editor-v2/context/iframeContext/IframeContext.d.ts +12 -0
- package/build/esm/editor-v2/context/iframeContext/IframeContext.js +10 -0
- package/build/esm/editor-v2/context/iframeContext/IframeContext.js.map +1 -0
- package/build/esm/editor-v2/context/iframeContext/IframeProvider.d.ts +7 -0
- package/build/esm/editor-v2/context/iframeContext/IframeProvider.js +16 -0
- package/build/esm/editor-v2/context/iframeContext/IframeProvider.js.map +1 -0
- package/build/esm/editor-v2/context/iframeContext/index.d.ts +2 -0
- package/build/esm/editor-v2/context/iframeContext/index.js +3 -0
- package/build/esm/editor-v2/context/iframeContext/index.js.map +1 -0
- package/build/esm/editor-v2/hooks/useEditorTabs.d.ts +16 -0
- package/build/esm/editor-v2/hooks/useEditorTabs.js +72 -0
- package/build/esm/editor-v2/hooks/useEditorTabs.js.map +1 -0
- package/build/esm/editor-v2/hooks/useMainEditorInitialize.d.ts +2 -0
- package/build/esm/editor-v2/hooks/useMainEditorInitialize.js +29 -0
- package/build/esm/editor-v2/hooks/useMainEditorInitialize.js.map +1 -0
- package/build/esm/editor-v2/hooks/useMainEditorStore.d.ts +1 -0
- package/build/esm/editor-v2/hooks/useMainEditorStore.js +8 -0
- package/build/esm/editor-v2/hooks/useMainEditorStore.js.map +1 -0
- package/build/esm/editor-v2/hooks/usePostMessageEvents.d.ts +6 -0
- package/build/esm/editor-v2/hooks/usePostMessageEvents.js +15 -0
- package/build/esm/editor-v2/hooks/usePostMessageEvents.js.map +1 -0
- package/build/esm/editor-v2/index.d.ts +2 -0
- package/build/esm/editor-v2/index.js +3 -0
- package/build/esm/editor-v2/index.js.map +1 -0
- package/build/esm/editor-v2/store.d.ts +48 -0
- package/build/esm/editor-v2/store.js +177 -0
- package/build/esm/editor-v2/store.js.map +1 -0
- package/build/esm/editor-v2/styles/mixins.css +0 -0
- package/build/esm/editor-v2/styles/root.css +12 -0
- package/build/esm/editor-v2/styles/variables.css +0 -0
- package/build/esm/editor-v2/utils/cn.d.ts +2 -0
- package/build/esm/editor-v2/utils/cn.js +4 -0
- package/build/esm/editor-v2/utils/cn.js.map +1 -0
- package/build/esm/editor-v2/utils/code.d.ts +6 -0
- package/build/esm/editor-v2/utils/code.js +9 -0
- package/build/esm/editor-v2/utils/code.js.map +1 -0
- package/build/esm/editor-v2/utils/index.d.ts +18 -0
- package/build/esm/editor-v2/utils/index.js +141 -0
- package/build/esm/editor-v2/utils/index.js.map +1 -0
- package/build/esm/grid/Grid/Grid.css +2 -6
- package/build/esm/hooks/useAnalytics.js +1 -1
- package/build/esm/hooks/useAnalytics.js.map +1 -1
- package/build/esm/hooks/usePCEditorBlockMouseEvents.d.ts +8 -0
- package/build/esm/hooks/usePCEditorBlockMouseEvents.js +47 -0
- package/build/esm/hooks/usePCEditorBlockMouseEvents.js.map +1 -0
- package/build/esm/hooks/usePCEditorBlockSelection.d.ts +2 -0
- package/build/esm/hooks/usePCEditorBlockSelection.js +27 -0
- package/build/esm/hooks/usePCEditorBlockSelection.js.map +1 -0
- package/build/esm/hooks/usePCEditorInitializeEvents.d.ts +7 -0
- package/build/esm/hooks/usePCEditorInitializeEvents.js +58 -0
- package/build/esm/hooks/usePCEditorInitializeEvents.js.map +1 -0
- package/build/esm/hooks/usePCEditorItemWrap.d.ts +10 -0
- package/build/esm/hooks/usePCEditorItemWrap.js +17 -0
- package/build/esm/hooks/usePCEditorItemWrap.js.map +1 -0
- package/build/esm/hooks/usePCEditorStore.d.ts +1 -0
- package/build/esm/hooks/usePCEditorStore.js +8 -0
- package/build/esm/hooks/usePCEditorStore.js.map +1 -0
- package/build/esm/hooks/usePostMessageAPI.d.ts +4 -0
- package/build/esm/hooks/usePostMessageAPI.js +24 -0
- package/build/esm/hooks/usePostMessageAPI.js.map +1 -0
- package/build/esm/models/constructor-items/blocks.d.ts +1 -0
- package/build/esm/models/constructor-items/blocks.js +1 -0
- package/build/esm/models/constructor-items/blocks.js.map +1 -1
- package/build/esm/models/constructor.d.ts +4 -1
- 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 +4 -1
- package/build/esm/navigation/components/NavigationItem/NavigationItem.js.map +1 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js +4 -1
- package/build/esm/navigation/components/NavigationItem/components/NavigationButton/NavigationButton.js.map +1 -1
- package/build/esm/navigation/containers/Layout/Layout.css +0 -1
- package/build/esm/navigation/containers/Layout/Layout.js +2 -1
- package/build/esm/navigation/containers/Layout/Layout.js.map +1 -1
- package/build/esm/navigation/models.d.ts +1 -1
- package/build/esm/navigation/models.js.map +1 -1
- package/build/esm/schema/constants.js +2 -0
- package/build/esm/schema/constants.js.map +1 -1
- package/build/esm/schema/index.d.ts +256 -0
- package/build/esm/schema/index.js +11 -5
- package/build/esm/schema/index.js.map +1 -1
- package/build/esm/sub-blocks/BackgroundCard/dynamic-form.d.ts +2 -0
- package/build/esm/sub-blocks/BackgroundCard/dynamic-form.js +79 -0
- package/build/esm/sub-blocks/BackgroundCard/dynamic-form.js.map +1 -0
- package/build/esm/sub-blocks/BackgroundCard/index.d.ts +3 -0
- package/build/esm/sub-blocks/BackgroundCard/index.js +19 -0
- package/build/esm/sub-blocks/BackgroundCard/index.js.map +1 -0
- package/build/esm/sub-blocks/BannerCard/BannerCard.js +2 -1
- package/build/esm/sub-blocks/BannerCard/BannerCard.js.map +1 -1
- package/build/esm/sub-blocks/BannerCard/index.d.ts +3 -0
- package/build/esm/sub-blocks/BannerCard/index.js +21 -0
- package/build/esm/sub-blocks/BannerCard/index.js.map +1 -0
- package/build/esm/sub-blocks/BasicCard/index.d.ts +3 -0
- package/build/esm/sub-blocks/BasicCard/index.js +17 -0
- package/build/esm/sub-blocks/BasicCard/index.js.map +1 -0
- package/build/esm/sub-blocks/Content/index.d.ts +3 -0
- package/build/esm/sub-blocks/Content/index.js +17 -0
- package/build/esm/sub-blocks/Content/index.js.map +1 -0
- package/build/esm/sub-blocks/Content/schema.d.ts +1 -0
- package/build/esm/sub-blocks/Content/schema.js +1 -0
- package/build/esm/sub-blocks/Content/schema.js.map +1 -1
- package/build/esm/sub-blocks/Divider/index.d.ts +3 -0
- package/build/esm/sub-blocks/Divider/index.js +13 -0
- package/build/esm/sub-blocks/Divider/index.js.map +1 -0
- 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/ImageCard/index.d.ts +3 -0
- package/build/esm/sub-blocks/ImageCard/index.js +17 -0
- package/build/esm/sub-blocks/ImageCard/index.js.map +1 -0
- 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/index.d.ts +3 -0
- package/build/esm/sub-blocks/LayoutItem/index.js +23 -0
- package/build/esm/sub-blocks/LayoutItem/index.js.map +1 -0
- package/build/esm/sub-blocks/LayoutItem/schema.d.ts +211 -206
- package/build/esm/sub-blocks/LayoutItem/schema.js +3 -2
- package/build/esm/sub-blocks/LayoutItem/schema.js.map +1 -1
- package/build/esm/sub-blocks/MediaCard/index.d.ts +3 -0
- package/build/esm/sub-blocks/MediaCard/index.js +20 -0
- package/build/esm/sub-blocks/MediaCard/index.js.map +1 -0
- package/build/esm/sub-blocks/PriceCard/index.d.ts +3 -0
- package/build/esm/sub-blocks/PriceCard/index.js +30 -0
- package/build/esm/sub-blocks/PriceCard/index.js.map +1 -0
- package/build/esm/sub-blocks/PriceDetailed/PriceDetailed.js +1 -1
- package/build/esm/sub-blocks/PriceDetailed/PriceDetailed.js.map +1 -1
- package/build/esm/sub-blocks/PriceDetailed/index.d.ts +4 -0
- package/build/esm/sub-blocks/PriceDetailed/index.js +32 -0
- package/build/esm/sub-blocks/PriceDetailed/index.js.map +1 -0
- package/build/esm/sub-blocks/Quote/index.d.ts +3 -0
- package/build/esm/sub-blocks/Quote/index.js +20 -0
- package/build/esm/sub-blocks/Quote/index.js.map +1 -0
- package/build/esm/utils/editor.d.ts +2 -0
- package/build/esm/utils/editor.js +21 -0
- package/build/esm/utils/editor.js.map +1 -0
- package/build/esm/utils/form-generator.d.ts +9 -0
- package/build/esm/utils/form-generator.js +126 -0
- package/build/esm/utils/form-generator.js.map +1 -0
- package/build/esm/utils/index.d.ts +1 -0
- package/build/esm/utils/index.js +1 -0
- package/build/esm/utils/index.js.map +1 -1
- package/build/esm/utils/navigation.d.ts +3 -0
- package/build/esm/utils/navigation.js +9 -0
- package/build/esm/utils/navigation.js.map +1 -0
- package/package.json +15 -3
- package/schema/index.js +1 -1
- package/server/models/constructor-items/blocks.d.ts +1 -0
- package/server/models/constructor-items/blocks.js +1 -0
- package/server/models/constructor.d.ts +4 -1
- package/server/models/navigation.d.ts +2 -2
- package/server/utils/index.d.ts +1 -0
- package/server/utils/index.js +1 -0
- package/server/utils/navigation.d.ts +3 -0
- package/server/utils/navigation.js +15 -0
- package/styles/mixins.scss +9 -9
|
@@ -4,42 +4,16 @@ export declare const LayoutItem: {
|
|
|
4
4
|
required: string[];
|
|
5
5
|
properties: {
|
|
6
6
|
media: {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
type: string;
|
|
8
|
+
additionalProperties: boolean;
|
|
9
|
+
required: never[];
|
|
10
|
+
properties: {
|
|
11
|
+
color: {
|
|
12
|
+
type: string;
|
|
13
|
+
};
|
|
14
|
+
image: {
|
|
13
15
|
oneOf: ({
|
|
14
|
-
type: string;
|
|
15
|
-
properties: {
|
|
16
|
-
when: {
|
|
17
|
-
type: string;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
} | {
|
|
21
|
-
type: string;
|
|
22
|
-
pattern: string;
|
|
23
16
|
optionName: string;
|
|
24
|
-
items?: undefined;
|
|
25
|
-
} | {
|
|
26
|
-
type: string;
|
|
27
|
-
items: {
|
|
28
|
-
type: string;
|
|
29
|
-
properties: {
|
|
30
|
-
when: {
|
|
31
|
-
type: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
};
|
|
35
|
-
optionName: string;
|
|
36
|
-
pattern?: undefined;
|
|
37
|
-
})[];
|
|
38
|
-
type?: undefined;
|
|
39
|
-
items?: undefined;
|
|
40
|
-
} | {
|
|
41
|
-
type: string;
|
|
42
|
-
items: {
|
|
43
17
|
oneOf: ({
|
|
44
18
|
type: string;
|
|
45
19
|
properties: {
|
|
@@ -65,184 +39,176 @@ export declare const LayoutItem: {
|
|
|
65
39
|
optionName: string;
|
|
66
40
|
pattern?: undefined;
|
|
67
41
|
})[];
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
};
|
|
72
|
-
disableImageSliderForArrayInput: {
|
|
73
|
-
type: string;
|
|
74
|
-
};
|
|
75
|
-
video: {
|
|
76
|
-
type: string;
|
|
77
|
-
additionalProperties: boolean;
|
|
78
|
-
required: string[];
|
|
79
|
-
properties: {
|
|
80
|
-
src: {
|
|
42
|
+
type?: undefined;
|
|
43
|
+
items?: undefined;
|
|
44
|
+
} | {
|
|
81
45
|
type: string;
|
|
82
46
|
items: {
|
|
83
|
-
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
loop: {
|
|
87
|
-
oneOf: ({
|
|
88
|
-
optionName: string;
|
|
89
|
-
type: string;
|
|
90
|
-
additionalProperties: boolean;
|
|
91
|
-
required: string[];
|
|
92
|
-
properties: {
|
|
93
|
-
start: {
|
|
94
|
-
type: string;
|
|
95
|
-
};
|
|
96
|
-
end: {
|
|
97
|
-
type: string;
|
|
98
|
-
};
|
|
99
|
-
};
|
|
100
|
-
} | {
|
|
101
|
-
type: string;
|
|
102
|
-
optionName: string;
|
|
103
|
-
})[];
|
|
104
|
-
};
|
|
105
|
-
type: {
|
|
106
|
-
type: string;
|
|
107
|
-
enum: string[];
|
|
108
|
-
};
|
|
109
|
-
muted: {
|
|
110
|
-
type: string;
|
|
111
|
-
};
|
|
112
|
-
autoplay: {
|
|
113
|
-
type: string;
|
|
114
|
-
};
|
|
115
|
-
elapsedTime: {
|
|
116
|
-
type: string;
|
|
117
|
-
};
|
|
118
|
-
playButton: {
|
|
119
|
-
type: string;
|
|
120
|
-
additionalProperties: boolean;
|
|
121
|
-
properties: {
|
|
122
|
-
type: {
|
|
123
|
-
type: string;
|
|
124
|
-
enum: string[];
|
|
125
|
-
};
|
|
126
|
-
theme: {
|
|
127
|
-
type: string;
|
|
128
|
-
enum: string[];
|
|
129
|
-
};
|
|
130
|
-
text: {
|
|
47
|
+
oneOf: ({
|
|
131
48
|
type: string;
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
enum: import("../../index.js").MediaVideoControlsType[];
|
|
139
|
-
};
|
|
140
|
-
customControlsOptions: {
|
|
141
|
-
type: string;
|
|
142
|
-
additionalProperties: boolean;
|
|
143
|
-
properties: {
|
|
144
|
-
type: {
|
|
145
|
-
type: string;
|
|
146
|
-
enum: import("../../index.js").CustomControlsType[];
|
|
147
|
-
};
|
|
148
|
-
muteButtonShown: {
|
|
49
|
+
properties: {
|
|
50
|
+
when: {
|
|
51
|
+
type: string;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
} | {
|
|
149
55
|
type: string;
|
|
150
|
-
|
|
151
|
-
|
|
56
|
+
pattern: string;
|
|
57
|
+
optionName: string;
|
|
58
|
+
items?: undefined;
|
|
59
|
+
} | {
|
|
152
60
|
type: string;
|
|
153
|
-
|
|
154
|
-
|
|
61
|
+
items: {
|
|
62
|
+
type: string;
|
|
63
|
+
properties: {
|
|
64
|
+
when: {
|
|
65
|
+
type: string;
|
|
66
|
+
};
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
optionName: string;
|
|
70
|
+
pattern?: undefined;
|
|
71
|
+
})[];
|
|
155
72
|
};
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
type: string;
|
|
159
|
-
};
|
|
160
|
-
contain: {
|
|
161
|
-
type: string;
|
|
162
|
-
};
|
|
73
|
+
optionName: string;
|
|
74
|
+
})[];
|
|
163
75
|
};
|
|
164
|
-
|
|
165
|
-
youtube: {
|
|
166
|
-
type: string;
|
|
167
|
-
};
|
|
168
|
-
videoIframe: {
|
|
169
|
-
type: string;
|
|
170
|
-
};
|
|
171
|
-
autoplay: {
|
|
172
|
-
type: string;
|
|
173
|
-
};
|
|
174
|
-
parallax: {
|
|
175
|
-
type: string;
|
|
176
|
-
};
|
|
177
|
-
height: {
|
|
178
|
-
type: string;
|
|
179
|
-
};
|
|
180
|
-
previewImg: {
|
|
181
|
-
type: string;
|
|
182
|
-
};
|
|
183
|
-
dataLens: {
|
|
184
|
-
oneOf: ({
|
|
76
|
+
disableImageSliderForArrayInput: {
|
|
185
77
|
type: string;
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
optionName: string;
|
|
78
|
+
};
|
|
79
|
+
video: {
|
|
189
80
|
type: string;
|
|
190
81
|
additionalProperties: boolean;
|
|
191
82
|
required: string[];
|
|
192
83
|
properties: {
|
|
193
|
-
|
|
84
|
+
src: {
|
|
194
85
|
type: string;
|
|
86
|
+
items: {
|
|
87
|
+
type: string;
|
|
88
|
+
};
|
|
89
|
+
};
|
|
90
|
+
loop: {
|
|
91
|
+
oneOf: ({
|
|
92
|
+
optionName: string;
|
|
93
|
+
type: string;
|
|
94
|
+
additionalProperties: boolean;
|
|
95
|
+
required: string[];
|
|
96
|
+
properties: {
|
|
97
|
+
start: {
|
|
98
|
+
type: string;
|
|
99
|
+
};
|
|
100
|
+
end: {
|
|
101
|
+
type: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
} | {
|
|
105
|
+
type: string;
|
|
106
|
+
optionName: string;
|
|
107
|
+
})[];
|
|
195
108
|
};
|
|
196
|
-
|
|
109
|
+
type: {
|
|
197
110
|
type: string;
|
|
198
111
|
enum: string[];
|
|
199
112
|
};
|
|
200
|
-
|
|
201
|
-
})[];
|
|
202
|
-
};
|
|
203
|
-
fullscreen: {
|
|
204
|
-
type: string;
|
|
205
|
-
};
|
|
206
|
-
analyticsEvents: {
|
|
207
|
-
anyOf: ({
|
|
208
|
-
type: string;
|
|
209
|
-
additionalProperties: {
|
|
210
|
-
type: string;
|
|
211
|
-
};
|
|
212
|
-
required: string[];
|
|
213
|
-
properties: {
|
|
214
|
-
name: {
|
|
113
|
+
muted: {
|
|
215
114
|
type: string;
|
|
216
115
|
};
|
|
217
|
-
|
|
116
|
+
autoplay: {
|
|
218
117
|
type: string;
|
|
219
118
|
};
|
|
220
|
-
|
|
119
|
+
elapsedTime: {
|
|
120
|
+
type: string;
|
|
121
|
+
};
|
|
122
|
+
playButton: {
|
|
221
123
|
type: string;
|
|
222
124
|
additionalProperties: boolean;
|
|
223
|
-
required: never[];
|
|
224
125
|
properties: {
|
|
225
|
-
|
|
126
|
+
type: {
|
|
226
127
|
type: string;
|
|
227
|
-
|
|
228
|
-
type: string;
|
|
229
|
-
};
|
|
128
|
+
enum: string[];
|
|
230
129
|
};
|
|
231
|
-
|
|
130
|
+
theme: {
|
|
232
131
|
type: string;
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
132
|
+
enum: string[];
|
|
133
|
+
};
|
|
134
|
+
text: {
|
|
135
|
+
type: string;
|
|
136
|
+
contentType: string;
|
|
236
137
|
};
|
|
237
138
|
};
|
|
238
139
|
};
|
|
239
|
-
|
|
140
|
+
controls: {
|
|
141
|
+
type: string;
|
|
142
|
+
enum: import("../../index.js").MediaVideoControlsType[];
|
|
143
|
+
};
|
|
144
|
+
customControlsOptions: {
|
|
145
|
+
type: string;
|
|
146
|
+
additionalProperties: boolean;
|
|
147
|
+
properties: {
|
|
148
|
+
type: {
|
|
149
|
+
type: string;
|
|
150
|
+
enum: import("../../index.js").CustomControlsType[];
|
|
151
|
+
};
|
|
152
|
+
muteButtonShown: {
|
|
153
|
+
type: string;
|
|
154
|
+
};
|
|
155
|
+
positioning: {
|
|
156
|
+
type: string;
|
|
157
|
+
enum: import("../../index.js").CustomControlsButtonPositioning[];
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
};
|
|
161
|
+
ariaLabel: {
|
|
162
|
+
type: string;
|
|
163
|
+
};
|
|
164
|
+
contain: {
|
|
240
165
|
type: string;
|
|
241
166
|
};
|
|
242
167
|
};
|
|
243
|
-
}
|
|
168
|
+
};
|
|
169
|
+
youtube: {
|
|
244
170
|
type: string;
|
|
245
|
-
|
|
171
|
+
};
|
|
172
|
+
videoIframe: {
|
|
173
|
+
type: string;
|
|
174
|
+
};
|
|
175
|
+
autoplay: {
|
|
176
|
+
type: string;
|
|
177
|
+
};
|
|
178
|
+
parallax: {
|
|
179
|
+
type: string;
|
|
180
|
+
};
|
|
181
|
+
height: {
|
|
182
|
+
type: string;
|
|
183
|
+
};
|
|
184
|
+
previewImg: {
|
|
185
|
+
type: string;
|
|
186
|
+
};
|
|
187
|
+
dataLens: {
|
|
188
|
+
oneOf: ({
|
|
189
|
+
type: string;
|
|
190
|
+
optionName: string;
|
|
191
|
+
} | {
|
|
192
|
+
optionName: string;
|
|
193
|
+
type: string;
|
|
194
|
+
additionalProperties: boolean;
|
|
195
|
+
required: string[];
|
|
196
|
+
properties: {
|
|
197
|
+
id: {
|
|
198
|
+
type: string;
|
|
199
|
+
};
|
|
200
|
+
theme: {
|
|
201
|
+
type: string;
|
|
202
|
+
enum: string[];
|
|
203
|
+
};
|
|
204
|
+
};
|
|
205
|
+
})[];
|
|
206
|
+
};
|
|
207
|
+
fullscreen: {
|
|
208
|
+
type: string;
|
|
209
|
+
};
|
|
210
|
+
analyticsEvents: {
|
|
211
|
+
anyOf: ({
|
|
246
212
|
type: string;
|
|
247
213
|
additionalProperties: {
|
|
248
214
|
type: string;
|
|
@@ -278,37 +244,76 @@ export declare const LayoutItem: {
|
|
|
278
244
|
type: string;
|
|
279
245
|
};
|
|
280
246
|
};
|
|
281
|
-
}
|
|
282
|
-
})[];
|
|
283
|
-
};
|
|
284
|
-
ratio: {
|
|
285
|
-
type: string[];
|
|
286
|
-
pattern: string;
|
|
287
|
-
};
|
|
288
|
-
iframe: {
|
|
289
|
-
type: string;
|
|
290
|
-
additionalProperties: boolean;
|
|
291
|
-
required: string[];
|
|
292
|
-
properties: {
|
|
293
|
-
src: {
|
|
294
|
-
type: string;
|
|
295
|
-
};
|
|
296
|
-
name: {
|
|
297
|
-
type: string;
|
|
298
|
-
};
|
|
299
|
-
title: {
|
|
300
|
-
type: string;
|
|
301
|
-
};
|
|
302
|
-
height: {
|
|
303
|
-
type: string;
|
|
304
|
-
};
|
|
305
|
-
width: {
|
|
247
|
+
} | {
|
|
306
248
|
type: string;
|
|
249
|
+
items: {
|
|
250
|
+
type: string;
|
|
251
|
+
additionalProperties: {
|
|
252
|
+
type: string;
|
|
253
|
+
};
|
|
254
|
+
required: string[];
|
|
255
|
+
properties: {
|
|
256
|
+
name: {
|
|
257
|
+
type: string;
|
|
258
|
+
};
|
|
259
|
+
type: {
|
|
260
|
+
type: string;
|
|
261
|
+
};
|
|
262
|
+
counters: {
|
|
263
|
+
type: string;
|
|
264
|
+
additionalProperties: boolean;
|
|
265
|
+
required: never[];
|
|
266
|
+
properties: {
|
|
267
|
+
include: {
|
|
268
|
+
type: string;
|
|
269
|
+
items: {
|
|
270
|
+
type: string;
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
exclude: {
|
|
274
|
+
type: string;
|
|
275
|
+
items: {
|
|
276
|
+
type: string;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
};
|
|
280
|
+
};
|
|
281
|
+
context: {
|
|
282
|
+
type: string;
|
|
283
|
+
};
|
|
284
|
+
};
|
|
285
|
+
};
|
|
286
|
+
})[];
|
|
287
|
+
};
|
|
288
|
+
ratio: {
|
|
289
|
+
type: string[];
|
|
290
|
+
pattern: string;
|
|
291
|
+
};
|
|
292
|
+
iframe: {
|
|
293
|
+
type: string;
|
|
294
|
+
additionalProperties: boolean;
|
|
295
|
+
required: string[];
|
|
296
|
+
properties: {
|
|
297
|
+
src: {
|
|
298
|
+
type: string;
|
|
299
|
+
};
|
|
300
|
+
name: {
|
|
301
|
+
type: string;
|
|
302
|
+
};
|
|
303
|
+
title: {
|
|
304
|
+
type: string;
|
|
305
|
+
};
|
|
306
|
+
height: {
|
|
307
|
+
type: string;
|
|
308
|
+
};
|
|
309
|
+
width: {
|
|
310
|
+
type: string;
|
|
311
|
+
};
|
|
307
312
|
};
|
|
308
313
|
};
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
314
|
+
margins: {
|
|
315
|
+
type: string;
|
|
316
|
+
};
|
|
312
317
|
};
|
|
313
318
|
};
|
|
314
319
|
content: Partial<{
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import omit from "lodash/omit.js";
|
|
2
|
+
import { Media } from "../../blocks/Media/schema.js";
|
|
2
3
|
import metaInfo from "../../components/MetaInfo/schema.js";
|
|
3
|
-
import { BaseProps, CardLayoutProps
|
|
4
|
+
import { BaseProps, CardLayoutProps } from "../../schema/validators/common.js";
|
|
4
5
|
import { AnalyticsEventSchema } from "../../schema/validators/event.js";
|
|
5
6
|
import { ContentBase } from "../Content/schema.js";
|
|
6
7
|
export const LayoutItem = {
|
|
@@ -10,7 +11,7 @@ export const LayoutItem = {
|
|
|
10
11
|
properties: {
|
|
11
12
|
...BaseProps,
|
|
12
13
|
...CardLayoutProps,
|
|
13
|
-
media:
|
|
14
|
+
media: Media,
|
|
14
15
|
content: omit(ContentBase, ['colSize', 'size', 'centered']),
|
|
15
16
|
contentMargin: {
|
|
16
17
|
type: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["sub-blocks/LayoutItem/schema.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,uBAAoB;AAE/B,OAAO,QAAQ,4CAAyC;AACxD,OAAO,EAAC,SAAS,EAAE,eAAe,
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"../../../../src","sources":["sub-blocks/LayoutItem/schema.ts"],"names":[],"mappings":"AAAA,OAAO,IAAI,uBAAoB;AAE/B,OAAO,EAAC,KAAK,EAAC,qCAAkC;AAChD,OAAO,QAAQ,4CAAyC;AACxD,OAAO,EAAC,SAAS,EAAE,eAAe,EAAC,0CAAuC;AAC1E,OAAO,EAAC,oBAAoB,EAAC,yCAAsC;AACnE,OAAO,EAAC,WAAW,EAAC,6BAAwC;AAE5D,MAAM,CAAC,MAAM,UAAU,GAAG;IACtB,IAAI,EAAE,QAAQ;IACd,oBAAoB,EAAE,KAAK;IAC3B,QAAQ,EAAE,CAAC,SAAS,EAAE,OAAO,CAAC;IAC9B,UAAU,EAAE;QACR,GAAG,SAAS;QACZ,GAAG,eAAe;QAClB,KAAK,EAAE,KAAK;QACZ,OAAO,EAAE,IAAI,CAAC,WAAW,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAC3D,aAAa,EAAE;YACX,IAAI,EAAE,QAAQ;YACd,IAAI,EAAE,CAAC,GAAG,EAAE,GAAG,CAAC;YAChB,OAAO,EAAE,GAAG;SACf;QACD,QAAQ,EAAE,QAAQ;QAClB,MAAM,EAAE;YACJ,IAAI,EAAE,SAAS;SAClB;QACD,UAAU,EAAE;YACR,IAAI,EAAE,SAAS;SAClB;QACD,eAAe,EAAE;YACb,KAAK,EAAE;gBACH;oBACI,GAAG,oBAAoB;oBACvB,UAAU,EAAE,QAAQ;iBACvB;gBACD;oBACI,IAAI,EAAE,OAAO;oBACb,KAAK,EAAE,oBAAoB;oBAC3B,UAAU,EAAE,MAAM;iBACrB;aACJ;SACJ;KACJ;CACJ,CAAC","sourcesContent":["import omit from 'lodash/omit';\n\nimport {Media} from '../../blocks/Media/schema';\nimport metaInfo from '../../components/MetaInfo/schema';\nimport {BaseProps, CardLayoutProps} from '../../schema/validators/common';\nimport {AnalyticsEventSchema} from '../../schema/validators/event';\nimport {ContentBase} from '../../sub-blocks/Content/schema';\n\nexport const LayoutItem = {\n type: 'object',\n additionalProperties: false,\n required: ['content', 'media'],\n properties: {\n ...BaseProps,\n ...CardLayoutProps,\n media: Media,\n content: omit(ContentBase, ['colSize', 'size', 'centered']),\n contentMargin: {\n type: 'string',\n enum: ['m', 'l'],\n default: 'm',\n },\n metaInfo: metaInfo,\n border: {\n type: 'boolean',\n },\n fullscreen: {\n type: 'boolean',\n },\n analyticsEvents: {\n oneOf: [\n {\n ...AnalyticsEventSchema,\n optionName: 'single',\n },\n {\n type: 'array',\n items: AnalyticsEventSchema,\n optionName: 'list',\n },\n ],\n },\n },\n};\n"]}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { generateFromAJV } from "../../utils/form-generator.js";
|
|
2
|
+
import MediaCard from "./MediaCard.js";
|
|
3
|
+
import { MediaCardBlock as MediaCardSchema } from "./schema.js";
|
|
4
|
+
const MediaCardConfig = {
|
|
5
|
+
component: MediaCard,
|
|
6
|
+
schema: {
|
|
7
|
+
name: 'Media Card',
|
|
8
|
+
group: 'cards',
|
|
9
|
+
inputs: generateFromAJV(MediaCardSchema['media-card']),
|
|
10
|
+
default: {
|
|
11
|
+
content: {
|
|
12
|
+
title: 'Media Card',
|
|
13
|
+
text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',
|
|
14
|
+
},
|
|
15
|
+
image: 'https://storage.yandexcloud.net/yc-www-community-images/event_ecaf1ef1-bc3a-40fa-adef-827b0959e6c3.jpg',
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
};
|
|
19
|
+
export default MediaCardConfig;
|
|
20
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["sub-blocks/MediaCard/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,eAAe,EAAC,sCAAmC;AAE3D,OAAO,SAAS,uBAAoB;AACpC,OAAO,EAAC,cAAc,IAAI,eAAe,EAAC,oBAAiB;AAE3D,MAAM,eAAe,GAAc;IAC/B,SAAS,EAAE,SAAS;IACpB,MAAM,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,eAAe,CAAC,eAAe,CAAC,YAAY,CAAkC,CAAC;QACvF,OAAO,EAAE;YACL,OAAO,EAAE;gBACL,KAAK,EAAE,YAAY;gBACnB,IAAI,EAAE,6HAA6H;aACtI;YACD,KAAK,EAAE,wGAAwG;SAClH;KACJ;CACJ,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["import {JSONSchemaType} from 'ajv';\n\nimport {BlockData} from '../../constructor-items';\nimport {generateFromAJV} from '../../utils/form-generator';\n\nimport MediaCard from './MediaCard';\nimport {MediaCardBlock as MediaCardSchema} from './schema';\n\nconst MediaCardConfig: BlockData = {\n component: MediaCard,\n schema: {\n name: 'Media Card',\n group: 'cards',\n inputs: generateFromAJV(MediaCardSchema['media-card'] as unknown as JSONSchemaType<{}>),\n default: {\n content: {\n title: 'Media Card',\n text: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.',\n },\n image: 'https://storage.yandexcloud.net/yc-www-community-images/event_ecaf1ef1-bc3a-40fa-adef-827b0959e6c3.jpg',\n },\n },\n};\n\nexport default MediaCardConfig;\n"]}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { generateFromAJV } from "../../utils/form-generator.js";
|
|
2
|
+
import PriceCard from "./PriceCard.js";
|
|
3
|
+
import { PriceCardBlock as PriceCardSchema } from "./schema.js";
|
|
4
|
+
const PriceCardConfig = {
|
|
5
|
+
component: PriceCard,
|
|
6
|
+
schema: {
|
|
7
|
+
name: 'Price Card',
|
|
8
|
+
group: 'cards',
|
|
9
|
+
inputs: generateFromAJV(PriceCardSchema['price-card']),
|
|
10
|
+
default: {
|
|
11
|
+
type: 'price-card',
|
|
12
|
+
border: 'line',
|
|
13
|
+
title: 'Basic',
|
|
14
|
+
price: '100 $',
|
|
15
|
+
pricePeriod: 'month',
|
|
16
|
+
priceDetails: '+ 5% from check',
|
|
17
|
+
description: 'For any purposes',
|
|
18
|
+
buttons: [
|
|
19
|
+
{
|
|
20
|
+
url: '/',
|
|
21
|
+
text: 'Read More',
|
|
22
|
+
width: 'max',
|
|
23
|
+
theme: 'action',
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
export default PriceCardConfig;
|
|
30
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["sub-blocks/PriceCard/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,eAAe,EAAC,sCAAmC;AAE3D,OAAO,SAAS,uBAAoB;AACpC,OAAO,EAAC,cAAc,IAAI,eAAe,EAAC,oBAAiB;AAE3D,MAAM,eAAe,GAAc;IAC/B,SAAS,EAAE,SAAS;IACpB,MAAM,EAAE;QACJ,IAAI,EAAE,YAAY;QAClB,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,eAAe,CAAC,eAAe,CAAC,YAAY,CAAkC,CAAC;QACvF,OAAO,EAAE;YACL,IAAI,EAAE,YAAY;YAClB,MAAM,EAAE,MAAM;YACd,KAAK,EAAE,OAAO;YACd,KAAK,EAAE,OAAO;YACd,WAAW,EAAE,OAAO;YACpB,YAAY,EAAE,iBAAiB;YAC/B,WAAW,EAAE,kBAAkB;YAC/B,OAAO,EAAE;gBACL;oBACI,GAAG,EAAE,GAAG;oBACR,IAAI,EAAE,WAAW;oBACjB,KAAK,EAAE,KAAK;oBACZ,KAAK,EAAE,QAAQ;iBAClB;aACJ;SACJ;KACJ;CACJ,CAAC;AAEF,eAAe,eAAe,CAAC","sourcesContent":["import {JSONSchemaType} from 'ajv';\n\nimport {BlockData} from '../../constructor-items';\nimport {generateFromAJV} from '../../utils/form-generator';\n\nimport PriceCard from './PriceCard';\nimport {PriceCardBlock as PriceCardSchema} from './schema';\n\nconst PriceCardConfig: BlockData = {\n component: PriceCard,\n schema: {\n name: 'Price Card',\n group: 'cards',\n inputs: generateFromAJV(PriceCardSchema['price-card'] as unknown as JSONSchemaType<{}>),\n default: {\n type: 'price-card',\n border: 'line',\n title: 'Basic',\n price: '100 $',\n pricePeriod: 'month',\n priceDetails: '+ 5% from check',\n description: 'For any purposes',\n buttons: [\n {\n url: '/',\n text: 'Read More',\n width: 'max',\n theme: 'action',\n },\n ],\n },\n },\n};\n\nexport default PriceCardConfig;\n"]}
|
|
@@ -8,7 +8,7 @@ import SeparatePriceDetailed from "./SeparatePriceDetailed/SeparatePriceDetailed
|
|
|
8
8
|
// eslint-disable-next-line valid-jsdoc
|
|
9
9
|
/** @deprecated */
|
|
10
10
|
const PriceDetailed = (props) => {
|
|
11
|
-
const { priceType = PriceDetailsType.SETTINGS, items, numberGroupItems = 1, description, details, foldable, labelsDefaultText, isCombined = false, useMixedView = false, border, } = props;
|
|
11
|
+
const { priceType = PriceDetailsType.SETTINGS, items = [], numberGroupItems = 1, description, details, foldable, labelsDefaultText, isCombined = false, useMixedView = false, border, } = props;
|
|
12
12
|
const { titleSize: descriptionTitleSize = 'l', descriptionSize = 'm', titleColor: descriptionTitleColor = 'cornflower', } = description || {};
|
|
13
13
|
const { titleSize: detailsTitleSize = 's', descriptionSize: detailsDescriptionSize = 'm' } = details || {};
|
|
14
14
|
const getDescriptionComponent = (priceDescription) => {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PriceDetailed.js","sourceRoot":"../../../../src","sources":["sub-blocks/PriceDetailed/PriceDetailed.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAKH,gBAAgB,GACnB,8BAAqB;AAEtB,OAAO,qBAAqB,yDAAsD;AAClF,OAAO,gBAAgB,+CAA4C;AACnE,OAAO,YAAY,uCAAoC;AACvD,OAAO,qBAAqB,yDAAsD;AAElF,uCAAuC;AACvC,kBAAkB;AAClB,MAAM,aAAa,GAAG,CAAC,KAAyB,EAAE,EAAE;IAChD,MAAM,EACF,SAAS,GAAG,gBAAgB,CAAC,QAAQ,EACrC,KAAK,
|
|
1
|
+
{"version":3,"file":"PriceDetailed.js","sourceRoot":"../../../../src","sources":["sub-blocks/PriceDetailed/PriceDetailed.tsx"],"names":[],"mappings":";AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAKH,gBAAgB,GACnB,8BAAqB;AAEtB,OAAO,qBAAqB,yDAAsD;AAClF,OAAO,gBAAgB,+CAA4C;AACnE,OAAO,YAAY,uCAAoC;AACvD,OAAO,qBAAqB,yDAAsD;AAElF,uCAAuC;AACvC,kBAAkB;AAClB,MAAM,aAAa,GAAG,CAAC,KAAyB,EAAE,EAAE;IAChD,MAAM,EACF,SAAS,GAAG,gBAAgB,CAAC,QAAQ,EACrC,KAAK,GAAG,EAAE,EACV,gBAAgB,GAAG,CAAC,EACpB,WAAW,EACX,OAAO,EACP,QAAQ,EACR,iBAAiB,EACjB,UAAU,GAAG,KAAK,EAClB,YAAY,GAAG,KAAK,EACpB,MAAM,GACT,GAAG,KAAK,CAAC;IAEV,MAAM,EACF,SAAS,EAAE,oBAAoB,GAAG,GAAG,EACrC,eAAe,GAAG,GAAG,EACrB,UAAU,EAAE,qBAAqB,GAAG,YAAY,GACnD,GAAG,WAAW,IAAI,EAAE,CAAC;IAEtB,MAAM,EAAC,SAAS,EAAE,gBAAgB,GAAG,GAAG,EAAE,eAAe,EAAE,sBAAsB,GAAG,GAAG,EAAC,GACpF,OAAO,IAAI,EAAE,CAAC;IAElB,MAAM,uBAAuB,GAAG,CAAC,gBAAuC,EAAE,EAAE;QACxE,OAAO,CACH,KAAC,gBAAgB,OACT,gBAAgB,EACpB,SAAS,EAAE,oBAAoB,EAC/B,eAAe,EAAE,eAAe,EAChC,UAAU,EAAE,qBAAqB,EACjC,iBAAiB,EAAE,iBAAiB,GACtC,CACL,CAAC;IACN,CAAC,CAAC;IAEF,MAAM,mBAAmB,GAAG,CACxB,YAAoE,EACtE,EAAE;QACA,OAAO,CACH,KAAC,YAAY,IACT,KAAK,EAAE,YAAY,EACnB,IAAI,EAAE,SAAS,EACf,QAAQ,EAAE,QAAQ,EAClB,SAAS,EAAE,gBAAgB,EAC3B,eAAe,EAAE,sBAAsB,EACvC,YAAY,EAAE,YAAY,GAC5B,CACL,CAAC;IACN,CAAC,CAAC;IAEF,OAAO,CACH,KAAC,KAAK,CAAC,QAAQ,cACV,UAAU,CAAC,CAAC,CAAC,CACV,KAAC,qBAAqB,IAClB,KAAK,EAAE,KAAK,EACZ,gBAAgB,EAAE,gBAAgB,EAClC,MAAM,EAAE,MAAM,EACd,YAAY,EAAE,YAAY,EAC1B,uBAAuB,EAAE,uBAAuB,EAChD,mBAAmB,EAAE,mBAAmB,GAC1C,CACL,CAAC,CAAC,CAAC,CACA,KAAC,qBAAqB,IAClB,KAAK,EAAE,KAAK,EACZ,MAAM,EAAE,MAAM,EACd,uBAAuB,EAAE,uBAAuB,EAChD,mBAAmB,EAAE,mBAAmB,GAC1C,CACL,GACY,CACpB,CAAC;AACN,CAAC,CAAC;AAEF,eAAe,aAAa,CAAC","sourcesContent":["import * as React from 'react';\n\nimport {\n PriceDescriptionProps,\n PriceDetailedProps,\n PriceDetailsListProps,\n PriceDetailsSettingsProps,\n PriceDetailsType,\n} from '../../models';\n\nimport CombinedPriceDetailed from './CombinedPriceDetailed/CombinedPriceDetailed';\nimport PriceDescription from './PriceDescription/PriceDescription';\nimport PriceDetails from './PriceDetails/PriceDetails';\nimport SeparatePriceDetailed from './SeparatePriceDetailed/SeparatePriceDetailed';\n\n// eslint-disable-next-line valid-jsdoc\n/** @deprecated */\nconst PriceDetailed = (props: PriceDetailedProps) => {\n const {\n priceType = PriceDetailsType.SETTINGS,\n items = [],\n numberGroupItems = 1,\n description,\n details,\n foldable,\n labelsDefaultText,\n isCombined = false,\n useMixedView = false,\n border,\n } = props;\n\n const {\n titleSize: descriptionTitleSize = 'l',\n descriptionSize = 'm',\n titleColor: descriptionTitleColor = 'cornflower',\n } = description || {};\n\n const {titleSize: detailsTitleSize = 's', descriptionSize: detailsDescriptionSize = 'm'} =\n details || {};\n\n const getDescriptionComponent = (priceDescription: PriceDescriptionProps) => {\n return (\n <PriceDescription\n {...priceDescription}\n titleSize={descriptionTitleSize}\n descriptionSize={descriptionSize}\n colorTitle={descriptionTitleColor}\n labelsDefaultText={labelsDefaultText}\n />\n );\n };\n\n const getDetailsComponent = (\n priceDetails?: PriceDetailsSettingsProps[] | PriceDetailsListProps[],\n ) => {\n return (\n <PriceDetails\n items={priceDetails}\n type={priceType}\n foldable={foldable}\n titleSize={detailsTitleSize}\n descriptionSize={detailsDescriptionSize}\n useMixedView={useMixedView}\n />\n );\n };\n\n return (\n <React.Fragment>\n {isCombined ? (\n <CombinedPriceDetailed\n items={items}\n numberGroupItems={numberGroupItems}\n border={border}\n useMixedView={useMixedView}\n getDescriptionComponent={getDescriptionComponent}\n getDetailsComponent={getDetailsComponent}\n />\n ) : (\n <SeparatePriceDetailed\n items={items}\n border={border}\n getDescriptionComponent={getDescriptionComponent}\n getDetailsComponent={getDetailsComponent}\n />\n )}\n </React.Fragment>\n );\n};\n\nexport default PriceDetailed;\n"]}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { generateFromAJV } from "../../utils/form-generator.js";
|
|
2
|
+
import PriceDetailed from "./PriceDetailed.js";
|
|
3
|
+
import { PriceDetailedBlock as PriceDetailedSchema } from "./schema.js";
|
|
4
|
+
/** @deprecated */
|
|
5
|
+
const PriceDetailedConfig = {
|
|
6
|
+
component: PriceDetailed,
|
|
7
|
+
schema: {
|
|
8
|
+
name: 'Price Detailed',
|
|
9
|
+
group: 'cards',
|
|
10
|
+
inputs: generateFromAJV(PriceDetailedSchema['price-detailed']),
|
|
11
|
+
default: {
|
|
12
|
+
priceType: 'marked-list',
|
|
13
|
+
items: [
|
|
14
|
+
{
|
|
15
|
+
title: '100$',
|
|
16
|
+
description: 'Basic edition',
|
|
17
|
+
detailedTitle: 'per year',
|
|
18
|
+
items: [
|
|
19
|
+
{
|
|
20
|
+
text: 'First item',
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
text: 'Second item',
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
},
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
export default PriceDetailedConfig;
|
|
32
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../../../../src","sources":["sub-blocks/PriceDetailed/index.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAC,eAAe,EAAC,sCAAmC;AAE3D,OAAO,aAAa,2BAAwB;AAC5C,OAAO,EAAC,kBAAkB,IAAI,mBAAmB,EAAC,oBAAiB;AAEnE,kBAAkB;AAClB,MAAM,mBAAmB,GAAc;IACnC,SAAS,EAAE,aAAa;IACxB,MAAM,EAAE;QACJ,IAAI,EAAE,gBAAgB;QACtB,KAAK,EAAE,OAAO;QACd,MAAM,EAAE,eAAe,CACnB,mBAAmB,CAAC,gBAAgB,CAAkC,CACzE;QACD,OAAO,EAAE;YACL,SAAS,EAAE,aAAa;YACxB,KAAK,EAAE;gBACH;oBACI,KAAK,EAAE,MAAM;oBACb,WAAW,EAAE,eAAe;oBAC5B,aAAa,EAAE,UAAU;oBACzB,KAAK,EAAE;wBACH;4BACI,IAAI,EAAE,YAAY;yBACrB;wBACD;4BACI,IAAI,EAAE,aAAa;yBACtB;qBACJ;iBACJ;aACJ;SACJ;KACJ;CACJ,CAAC;AAEF,eAAe,mBAAmB,CAAC","sourcesContent":["import {JSONSchemaType} from 'ajv';\n\nimport {BlockData} from '../../constructor-items';\nimport {generateFromAJV} from '../../utils/form-generator';\n\nimport PriceDetailed from './PriceDetailed';\nimport {PriceDetailedBlock as PriceDetailedSchema} from './schema';\n\n/** @deprecated */\nconst PriceDetailedConfig: BlockData = {\n component: PriceDetailed,\n schema: {\n name: 'Price Detailed',\n group: 'cards',\n inputs: generateFromAJV(\n PriceDetailedSchema['price-detailed'] as unknown as JSONSchemaType<{}>,\n ),\n default: {\n priceType: 'marked-list',\n items: [\n {\n title: '100$',\n description: 'Basic edition',\n detailedTitle: 'per year',\n items: [\n {\n text: 'First item',\n },\n {\n text: 'Second item',\n },\n ],\n },\n ],\n },\n },\n};\n\nexport default PriceDetailedConfig;\n"]}
|