1 line
3.3 KiB
JavaScript
1 line
3.3 KiB
JavaScript
|
(()=>{var e,r={3856:(e,r,t)=>{"use strict";t.r(r);var o=t(9196);const n=window.wp.blocks;var i=t(1984),s=t(5427);const a=JSON.parse('{"name":"woocommerce/order-confirmation-shipping-address","version":"1.0.0","title":"Shipping Address","description":"Display the order confirmation shipping address.","category":"woocommerce","keywords":["WooCommerce"],"supports":{"multiple":false,"align":["wide","full"],"inserter":false,"html":false,"color":{"text":true,"background":true,"__experimentalDefaultControls":{"background":true,"text":true}},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalDefaultControls":{"fontSize":true}},"__experimentalBorder":{"color":true,"radius":true,"width":true,"style":true,"__experimentalDefaultControls":{"width":true,"color":true}},"spacing":{"padding":true,"margin":true,"__experimentalDefaultControls":{"margin":false,"padding":false}}},"attributes":{"align":{"type":"string","default":"wide"}},"textdomain":"woocommerce","apiVersion":2,"$schema":"https://schemas.wp.org/trunk/block.json"}'),l=window.wp.blockEditor;t(998);(0,n.registerBlockType)(a,{icon:{src:(0,o.createElement)(i.Z,{icon:s.Z,className:"wc-block-editor-components-block-icon"})},attributes:{...a.attributes},edit:()=>{const e=(0,l.useBlockProps)({className:"wc-block-order-confirmation-shipping-address"});return(0,o.createElement)("div",{...e},(0,o.createElement)("address",null,"Test address 1",(0,o.createElement)("br",null),"Test address 2",(0,o.createElement)("br",null),"San Francisco, CA 94110",(0,o.createElement)("br",null),"United States"))},save:()=>null})},998:()=>{},9196:e=>{"use strict";e.exports=window.React},9307:e=>{"use strict";e.exports=window.wp.element},444:e=>{"use strict";e.exports=window.wp.primitives}},t={};function o(e){var n=t[e];if(void 0!==n)return n.exports;var i=t[e]={exports:{}};return r[e].call(i.exports,i,i.exports,o),i.exports}o.m=r,e=[],o.O=(r,t,n,i)=>{if(!t){var s=1/0;for(p=0;p<e.length;p++){for(var[t,n,i]=e[p],a=!0,l=0;l<t.length;l++)(!1&i||s>=i)&&Object.keys(o.O).every((e=>o.O[e](t[l])))?t.splice(l--,1):(a=!1,i<s&&(s=i));if(a){e.splice(p--,1);var c=n();void 0!==c&&(r=c)}}return r}i=i||0;for(var p=e.length;p>0&&e[p-1][2]>i;p--)e[p]=e[p-1];e[p]=[t,n,i]},o.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return o.d(r,{a:r}),r},o.d=(e,r)=>{for(var t in r)o.o(r,t)&&!o.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},o.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.j=8610,(()=>{var e={8610:0};o.O.j=r=>0===e[r];var r=(r,t)=>{var n,i,[s,a,l]=t,c=0;if(s.some((r=>0!==e[r]))){for(n in a)o.o(a,n)&&(o.m[n]=a[n]);if(l)var p=l(o)}for(r&&r(t);c<s.length;c++)i=s[c],o.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return o.O(p)},t=self.webpackChunkwebpackWcBlocksJsonp=self.webpackChunkwebpackWcBlocksJsonp||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})();var n=o.O(void 0,[2869],(()=>o(3856)));n=o.O(n),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["order-confirmation-shipping-address"]=n})();
|