PluginProbe
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler / 1.6.5
FluentCart A New Era of eCommerce – Faster, Lighter, and Simpler v1.6.5
1.6.5 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 All 48 releases
← All changes | assets/CheckoutBlockEditor.js +1 -1 1.3.20 → 1.6.5 View file →
@@ -1 +1 @@
1 -import{b as t,j as o}from"./chunks/BlockEditorTranslator.js?ver=1.3.20";import"./chunks/EditorPanel.js?ver=1.3.20";import"./chunks/ColorPickerField.js?ver=1.3.20";import{d as i}from"./chunks/Icons.js?ver=1.3.20";const{RichText:b}=wp.blockEditor,{RichText:f}=wp.blockEditor,{RichText:w}=wp.blockEditor,{Button:C}=wp.components,{useState:x,useEffect:T}=wp.element,{TextControl:E}=wp.components,{useState:g,useEffect:$}=wp.element,{RichText:B}=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:R}=wp.blockEditor,{TextControl:v,ToggleControl:y,Tooltip:P,Button:j,SelectControl:N}=wp.components,{Notice:S}=wp.components,{RichText:I}=wp.blockEditor,{Notice:L}=wp.components,{RichText:_}=wp.blockEditor,{CheckboxControl:A,Tooltip:D}=wp.components,a=""+new URL("assets/Checkout.png",import.meta.url).href,{InspectorControls:H,useBlockProps:r,InnerBlocks:l}=wp.blockEditor,{registerBlockType:u}=wp.blocks,{Button:U,CheckboxControl:z}=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-eu-vat"],["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,{})})})}});
1 +import{j as o}from"./chunks/jsx-runtime.js?ver=1.6.5";import"./chunks/EditorPanel.js?ver=1.6.5";import"./chunks/ColorPickerField.js?ver=1.6.5";import{b as t}from"./chunks/BlockEditorTranslator.js?ver=1.6.5";import{d as i}from"./chunks/Icons.js?ver=1.6.5";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,{})})})}});