PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.4
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.4
1.6.4 1.6.3 1.6.2 1.6.1 1.6.0 1.5.4 1.5.5 1.5.3 1.5.2 1.5.1 1.5.0 1.4.2 1.4.1 1.4.0 1.3.28 1.3.27 1.3.26 1.3.25 1.3.23 1.3.22 1.3.21 1.3.20 1.3.19 trunk 1.2.0 All 47 releases
fluent-cart / assets / CheckoutBlockEditor.js

CheckoutBlockEditor.js in FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler 1.6.4, at assets/CheckoutBlockEditor.js

2 lines 2.4 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 import{j as o}from"./chunks/jsx-runtime.js?ver=1.6.4";import"./chunks/EditorPanel.js?ver=1.6.4";import"./chunks/ColorPickerField.js?ver=1.6.4";import{b as t}from"./chunks/BlockEditorTranslator.js?ver=1.6.4";import{d as i}from"./chunks/Icons.js?ver=1.6.4";const{RichText:f}=wp.blockEditor,{RichText:w}=wp.blockEditor,{RichText:C}=wp.blockEditor,{Button:x}=wp.components,{useState:T,useEffect:E}=wp.element,{TextControl:g}=wp.components,{useState:$,useEffect:B}=wp.element,{RichText:R}=wp.blockEditor;t("Primary Color"),t("Title Color"),t("Subtitle Color"),t("Text Color"),t("Border Color"),t("Divider Color"),t("Input Placeholder Color"),t("Header BG"),t("Header Title Color");const{InspectorControls:v}=wp.blockEditor,{TextControl:y,ToggleControl:P,Tooltip:j,Button:N,SelectControl:S}=wp.components,{Notice:I}=wp.components,{RichText:L}=wp.blockEditor,{Notice:_}=wp.components,{RichText:A}=wp.blockEditor,{CheckboxControl:D,Tooltip:H}=wp.components,a=""+new URL("assets/Checkout.png",import.meta.url).href,{InspectorControls:U,useBlockProps:r,InnerBlocks:l}=wp.blockEditor,{registerBlockType:u}=wp.blocks,{Button:z,CheckboxControl:F}=wp.components,e=window.fluent_cart_checkout_data,p=[["core/columns",{},[["core/column",{width:65},[["fluent-cart/checkout-name-fields",{lock:{remove:!0,move:!1}}],["fluent-cart/checkout-address-fields"],["fluent-cart/checkout-agree-terms-field",{style:{typography:{fontSize:"14px"}}}],["fluent-cart/checkout-shipping-methods"],["fluent-cart/checkout-payment-methods"],["fluent-cart/checkout-submit-button"]]],["core/column",{width:35},[["fluent-cart/checkout-summary"],["fluent-cart/checkout-order-notes-field"],["fluent-cart/checkout-order-bump"]]]]]];u(e.slug+"/"+e.name,{apiVersion:3,title:e.title,description:e.description,example:{attributes:{},innerBlocks:[{name:"core/image",attributes:{url:a,alt:"Checkout Block Preview",style:{width:"100%",height:"auto"}}}]},icon:{src:i},category:"fluent-cart",attributes:{},edit:function({attributes:n,setAttributes:c}){const s=r({className:"fluent-cart-checkout-block-editor-wrap"});return o.jsx("div",{...s,children:o.jsx(l,{templateLock:!1,template:p,allowedBlocks:["core/heading","core/columns","core/paragraph"]})})},save:function(n){const c=r.save({className:"fluent-cart-checkout-block-editor-wrap"});return o.jsx("div",{...c,children:o.jsx("div",{className:"fluent-cart-checkout-block-editor-inner",children:o.jsx(l.Content,{})})})}});
2