first commit

This commit is contained in:
User A0264400
2026-04-01 23:20:16 +03:00
commit a766acdc90
23071 changed files with 4933189 additions and 0 deletions

View File

@@ -0,0 +1 @@
"use strict";(globalThis.webpackChunkwebpackWcBlocksPaymentMethodExtensionJsonp=globalThis.webpackChunkwebpackWcBlocksPaymentMethodExtensionJsonp||[]).push([[278],{278:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var a=r(87),n=r(774),o=r(703),c=r(143),i=r(455),d=r.n(i),u=r(723),s=r(790);const l=({clientId:e,components:t,disableFunding:r,enableFunding:i,currency:l,intent:p,merchantId:h,partnerAttributionId:w,pageType:y,isProductPage:m,appSwitchRequestOrigin:_})=>{const[g,k]=(0,a.useState)(""),[b,v]=(0,a.useState)(""),[S,f]=(0,a.useState)({id:"",quantity:""}),F=(0,o.getPaymentMethodData)("paypal",{}),P={clientId:e||"",components:t||"",disableFunding:r||"",enableFunding:i||"",currency:l||"",intent:p||"",merchantId:h||"","data-partner-attribution-id":w||"","data-page-type":y||""};return(0,s.jsx)(n.ag,{options:P,children:(0,s.jsx)(n.JV,{appSwitchWhenAvailable:!0,createOrder:async e=>{let t;try{if(m&&!await(async()=>{var e;let t=document.querySelector('[name="add-to-cart"]')?.value;const r=document.querySelector('[name="variation_id"]')?.value;if(r&&(t=r),!t)return!1;const a=document.querySelector('[name="quantity"]'),n=null!==(e=a?.value)&&void 0!==e?e:"1";if(""===n)return!1;if(b&&S.id===t&&S.quantity===n)return!0;try{const e=await window.wp.apiFetch({method:"DELETE",path:"/wc/store/v1/cart/items"});if(!e||0!==e.length)throw new Error("Failed to empty cart");const r=await window.wp.apiFetch({method:"POST",path:"/wc/store/v1/cart/items",data:{id:t,quantity:n}});if(!r||!r.key)throw new Error("Failed to add product to cart")}catch(e){return!1}return f({id:t,quantity:n}),!0})())return null;if(t=await d()({method:"GET",path:"/wc/store/v1/checkout",headers:{Nonce:F.wc_store_api_nonce}}),!t.order_id||!t.order_key)return console.error("Failed to create WooCommerce order",t),null;const r=await d()({method:"POST",path:"/wc/v3/paypal-buttons/create-order",headers:{Nonce:F.create_order_nonce},data:{order_id:t.order_id,order_key:t.order_key,payment_source:e.paymentSource||"",app_switch_request_origin:_}});return v(r.order_id),k(r.return_url),r.paypal_order_id}catch(e){return console.error("Failed to create order",e),null}},onApprove:()=>{g&&(window.location.href=g)},onCancel:async e=>{let t=b;if(!t){const e=new URLSearchParams(window.location.search).get("order_id");e&&(v(e),t=e)}if(t)try{await d()({method:"POST",path:"/wc/v3/paypal-buttons/cancel-payment",headers:{Nonce:F.cancel_payment_nonce},data:{order_id:t,paypal_order_id:e.orderID}}),k("")}catch(e){console.error("Failed to cancel PayPal payment",e)}},onError:e=>{const t=e.message||(0,u.__)("An unknown error occurred","woocommerce");(0,c.dispatch)("core/notices").createErrorNotice(t,{context:"checkout"===y?"wc/checkout":"wc/cart"})}})})}}}]);

View File

@@ -0,0 +1,5 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import*as t from"@wordpress/interactivity";var e={d:(t,o)=>{for(var n in o)e.o(o,n)&&!e.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:o[n]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const o=(i={getContext:()=>t.getContext,getElement:()=>t.getElement,store:()=>t.store},a={},e.d(a,i),a),n=o.getContext,c="M12 3.2c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8 0-4.8-4-8.8-8.8-8.8zm0 16c-4 0-7.2-3.3-7.2-7.2C4.8 8 8 4.8 12 4.8s7.2 3.3 7.2 7.2c0 4-3.2 7.2-7.2 7.2zM11 17h2v-6h-2v6zm0-8h2V7h-2v2z",r={error:c,success:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z",notice:c},{state:s}=(0,o.store)("woocommerce/store-notices",{state:{get role(){const t=n();return"error"===t.notice.type||"success"===t.notice.type?"alert":"status"},get iconPath(){const t=n().notice.type;return r[t]},get isError(){const{notice:t}=n();return"error"===t.type},get isSuccess(){const{notice:t}=n();return"success"===t.type},get isInfo(){const{notice:t}=n();return"notice"===t.type},get notices(){const t=(0,o.getContext)("woocommerce/product-collection");if(t)return t?.notices;const e=n();return e&&e.notices?e.notices:[]}},actions:{addNotice:t=>{const{notices:e}=s,o=e.find((e=>e.notice===t.notice)),n=o?o.id:`${Date.now()}-${Math.random().toString(36).substring(2,15)}`;return o||e.push({...t,id:n}),n},removeNotice:t=>{const{notices:e}=s;t="string"==typeof t?t:n().notice.id;const o=e.findIndex((({id:e})=>e===t));-1!==o&&e.splice(o,1)}},callbacks:{renderNoticeContent:()=>{const t=n(),{ref:e}=(0,o.getElement)();e&&(e.innerHTML=t.notice.notice)},scrollIntoView:()=>{const{ref:t}=(0,o.getElement)();t&&t.scrollIntoView({behavior:"smooth"})}}},{lock:!0});var i,a;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
import*as t from"@wordpress/interactivity";var e={d:(t,o)=>{for(var r in o)e.o(o,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:o[r]})},o:(t,e)=>Object.prototype.hasOwnProperty.call(t,e)};const o=(a={getContext:()=>t.getContext,store:()=>t.store},i={},e.d(i,a),i),r=(0,o.store)("woocommerce/product-data",{state:{get productId(){var t;const e=(0,o.getContext)("woocommerce/single-product");return null!==(t=e?.productId)&&void 0!==t?t:r?.state?.templateState?.productId},get variationId(){var t;const e=(0,o.getContext)("woocommerce/single-product");return null!==(t=e?.variationId)&&void 0!==t?t:r?.state?.templateState?.variationId}},actions:{setVariationId:t=>{const e=(0,o.getContext)("woocommerce/single-product");void 0!==e?.variationId?e.variationId=t:void 0!==r?.state?.templateState?.variationId&&(r.state.templateState.variationId=t)}}},{lock:!0});var a,i;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wc-settings', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-polyfill'), 'version' => '1290468f8006af88f9f7');

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e,o,t,r={7731:(e,o,t)=>{t.r(o),t.d(o,{metadata:()=>p,name:()=>f,settings:()=>w});const r=window.wp.components,n=window.wp.blocks,i=window.wc.wcSettings,c=window.wp.blockEditor;var l=t(7723),a=t(790);const s="woocommerce/accordion-item",u={name:s};var d=t(4921);const p=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/accordion-group","title":"Accordion Group","category":"woocommerce","keywords":["WooCommerce"],"description":"A group of headers and associated expandable content.","example":{},"__experimental":true,"supports":{"html":false,"align":["wide","full"],"background":{"backgroundImage":true,"backgroundSize":true,"__experimentalDefaultControls":{"backgroundImage":true}},"color":{"background":true,"gradient":true},"__experimentalBorder":{"color":true,"radius":true,"style":true,"width":true,"__experimentalDefaultControls":{"color":true,"radius":true,"style":true,"width":true}},"spacing":{"padding":true,"margin":["top","bottom"],"blockGap":true},"shadow":true,"layout":true,"interactivity":true},"attributes":{"iconPosition":{"type":"string","default":"right"},"autoclose":{"type":"boolean","default":false},"allowedBlocks":{"type":"array"}},"allowedBlocks":["woocommerce/accordion-item"],"textdomain":"woocommerce","viewScriptModule":"woocommerce/accordion-group","style":"file:../woocommerce/accordion-group-style.css"}'),m=(0,a.jsxs)(r.SVG,{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,a.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 9.25L9.5 9.25L9.5 7.75L19.5 7.75L19.5 9.25Z",fill:"currentColor"}),(0,a.jsx)(r.Path,{d:"M4.5 6L8.5 8.5L4.5 11L4.5 6Z",fill:"currentColor"}),(0,a.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M19.5 16.25L9.5 16.25L9.5 14.75L19.5 14.75L19.5 16.25Z",fill:"currentColor"}),(0,a.jsx)(r.Path,{d:"M4.5 13L8.5 15.5L4.5 18L4.5 13Z",fill:"currentColor"})]}),{name:f}=p,w={apiVersion:3,icon:m,example:{},edit:function({attributes:{autoclose:e},setAttributes:o}){const t=(0,c.useBlockProps)(),n=(0,c.useInnerBlocksProps)(t,{template:[[s],[s]],defaultBlock:u,directInsert:!0});return(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(c.InspectorControls,{children:(0,a.jsx)(r.PanelBody,{title:(0,l.__)("Settings","woocommerce"),initialOpen:!0,children:(0,a.jsx)(r.ToggleControl,{isBlock:!0,__nextHasNoMarginBottom:!0,label:(0,l.__)("Auto-close","woocommerce"),onChange:e=>{o({autoclose:e})},checked:e,help:(0,l.__)("Automatically close accordions when a new one is opened.","woocommerce")})})},"setting"),(0,a.jsx)("div",{...n})]})},save:function({attributes:e}){const{iconPosition:o}=e,t=c.useBlockProps.save(),r=(0,d.A)({"icon-position-left":"left"===o},t.className);return(0,a.jsx)("div",{...c.useInnerBlocksProps.save({...t,className:r})})},supports:{inserter:(0,i.isWpVersion)("6.9","<")}};(0,n.registerBlockType)(p,w)},790:e=>{e.exports=window.ReactJSXRuntime},7723:e=>{e.exports=window.wp.i18n}},n={};function i(e){var o=n[e];if(void 0!==o)return o.exports;var t=n[e]={exports:{}};return r[e](t,t.exports,i),t.exports}i.m=r,e=[],i.O=(o,t,r,n)=>{if(!t){var c=1/0;for(u=0;u<e.length;u++){for(var[t,r,n]=e[u],l=!0,a=0;a<t.length;a++)(!1&n||c>=n)&&Object.keys(i.O).every((e=>i.O[e](t[a])))?t.splice(a--,1):(l=!1,n<c&&(c=n));if(l){e.splice(u--,1);var s=r();void 0!==s&&(o=s)}}return o}n=n||0;for(var u=e.length;u>0&&e[u-1][2]>n;u--)e[u]=e[u-1];e[u]=[t,r,n]},i.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return i.d(o,{a:o}),o},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var n=Object.create(null);i.r(n);var c={};o=o||[null,t({}),t([]),t(t)];for(var l=2&r&&e;"object"==typeof l&&!~o.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((o=>c[o]=()=>e[o]));return c.default=()=>e,i.d(n,c),n},i.d=(e,o)=>{for(var t in o)i.o(o,t)&&!i.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},i.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.j=6861,(()=>{var e={6861:0};i.O.j=o=>0===e[o];var o=(o,t)=>{var r,n,[c,l,a]=t,s=0;if(c.some((o=>0!==e[o]))){for(r in l)i.o(l,r)&&(i.m[r]=l[r]);if(a)var u=a(i)}for(o&&o(t);s<c.length;s++)n=c[s],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(u)},t=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];t.forEach(o.bind(null,0)),t.push=o.bind(null,t.push.bind(t))})();var c=i.O(void 0,[94],(()=>i(7731)));c=i.O(c),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["accordion-group"]=c})();

View File

@@ -0,0 +1,63 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "woocommerce/accordion-group",
"title": "Accordion Group",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"description": "A group of headers and associated expandable content.",
"example": {},
"__experimental": true,
"supports": {
"html": false,
"align": [ "wide", "full" ],
"background": {
"backgroundImage": true,
"backgroundSize": true,
"__experimentalDefaultControls": {
"backgroundImage": true
}
},
"color": {
"background": true,
"gradient": true
},
"__experimentalBorder": {
"color": true,
"radius": true,
"style": true,
"width": true,
"__experimentalDefaultControls": {
"color": true,
"radius": true,
"style": true,
"width": true
}
},
"spacing": {
"padding": true,
"margin": [ "top", "bottom" ],
"blockGap": true
},
"shadow": true,
"layout": true,
"interactivity": true
},
"attributes": {
"iconPosition": {
"type": "string",
"default": "right"
},
"autoclose": {
"type": "boolean",
"default": false
},
"allowedBlocks": {
"type": "array"
}
},
"allowedBlocks": [ "woocommerce/accordion-item" ],
"textdomain": "woocommerce",
"viewScriptModule": "woocommerce/accordion-group",
"style": "file:../woocommerce/accordion-group-style.css"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-polyfill'), 'version' => '802707b3b8bab67af4ae');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-i18n', 'wp-polyfill'), 'version' => '07e2bde1874e0c6b2f66');

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,98 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "woocommerce/accordion-header",
"title": "Accordion Header",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"description": "Accordion header.",
"example": {},
"__experimental": true,
"parent": [ "woocommerce/accordion-item" ],
"supports": {
"anchor": true,
"color": {
"background": true,
"gradient": true
},
"align": false,
"border": true,
"interactivity": true,
"spacing": {
"padding": true,
"margin": [ "top", "bottom" ],
"__experimentalDefaultControls": {
"padding": true,
"margin": true
}
},
"__experimentalBorder": {
"color": true,
"radius": true,
"style": true,
"width": true,
"__experimentalDefaultControls": {
"color": true,
"radius": true,
"style": true,
"width": true
}
},
"typography": {
"textAlign": true,
"fontSize": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
"fontSize": true,
"fontFamily": true
}
},
"shadow": true,
"layout": true
},
"attributes": {
"openByDefault": {
"type": "boolean",
"default": false
},
"title": {
"type": "rich-text",
"source": "rich-text",
"selector": "span"
},
"level": {
"type": "number",
"default": 3
},
"levelOptions": {
"type": "array"
},
"textAlignment": {
"type": "string",
"default": "left"
},
"icon": {
"type": [ "string", "boolean" ],
"enum": [
"plus",
"chevron",
"chevronRight",
"caret",
"circlePlus",
false
],
"default": "plus"
},
"iconPosition": {
"type": "string",
"enum": [ "left", "right" ],
"default": "right"
}
},
"textdomain": "woocommerce"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => '2a8234e21e3e542e8ae0');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill'), 'version' => 'a3b5870b2b50a51e12b5');

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,49 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "woocommerce/accordion-item",
"title": "Accordion",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"description": "A single accordion that displays a header and expandable content.",
"example": {},
"__experimental": true,
"parent": [ "woocommerce/accordion-group" ],
"allowedBlocks": [
"woocommerce/accordion-header",
"woocommerce/accordion-panel"
],
"supports": {
"align": [ "wide", "full" ],
"color": {
"background": true,
"gradient": true
},
"interactivity": true,
"spacing": {
"margin": [ "top", "bottom" ],
"blockGap": true
},
"__experimentalBorder": {
"color": true,
"radius": true,
"style": true,
"width": true,
"__experimentalDefaultControls": {
"color": true,
"radius": true,
"style": true,
"width": true
}
},
"shadow": true,
"layout": true
},
"attributes": {
"openByDefault": {
"type": "boolean",
"default": false
}
},
"textdomain": "woocommerce"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-polyfill'), 'version' => 'ccbd047b6f62ce5af567');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-polyfill'), 'version' => 'e761d578e4437d990129');

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,75 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "woocommerce/accordion-panel",
"title": "Accordion Panel",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"description": "Accordion Panel",
"example": {},
"__experimental": true,
"parent": [ "woocommerce/accordion-item" ],
"supports": {
"color": {
"background": true,
"gradient": true
},
"border": true,
"interactivity": true,
"spacing": {
"padding": true,
"margin": [ "top", "bottom" ],
"blockGap": true,
"__experimentalDefaultControls": {
"padding": true,
"blockGap": true
}
},
"__experimentalBorder": {
"color": true,
"radius": true,
"style": true,
"width": true,
"__experimentalDefaultControls": {
"color": true,
"radius": true,
"style": true,
"width": true
}
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalDefaultControls": {
"fontSize": true
}
},
"shadow": true,
"layout": true
},
"attributes": {
"allowedBlocks": {
"type": "array"
},
"templateLock": {
"type": [ "string", "boolean" ],
"enum": [ "all", "insert", "contentOnly", false ],
"default": false
},
"openByDefault": {
"type": "boolean",
"default": false
},
"isSelected": {
"type": "boolean",
"default": false
}
},
"textdomain": "woocommerce"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('wc-blocks-frontend-vendors', 'react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-price-format', 'wc-settings', 'wc-types', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '1c9e0590fb17c8e908a1');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-price-format', 'wc-settings', 'wc-types', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '707a4b49b11dac9eb21a');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-price-format', 'wc-settings', 'wc-types', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '1fc0584596ef2b4cb41a');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,33 @@
{
"name": "woocommerce/active-filters",
"title": "Active Filters Controls",
"description": "Display the currently active filters.",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"supports": {
"interactivity": {
"clientNavigation": false
},
"html": false,
"multiple": false,
"inserter": false,
"color": {
"text": true,
"background": false
},
"lock": false
},
"attributes": {
"displayStyle": {
"type": "string",
"default": "list"
},
"headingLevel": {
"type": "number",
"default": 3
}
},
"textdomain": "woocommerce",
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-settings', 'wc-types', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-data', 'wp-editor', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '6411f1e4b694b6311644');

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,24 @@
{
"name": "woocommerce/add-to-cart-form",
"title": "Add to Cart with Options",
"description": "Display a button that lets customers add a product to their cart. Use the added options to optimize for different product types.",
"category": "woocommerce-product-elements",
"attributes": {
"quantitySelectorStyle": {
"type": "string",
"enum": [ "input", "stepper" ],
"default": "input"
}
},
"keywords": [ "WooCommerce" ],
"usesContext": [ "postId" ],
"textdomain": "woocommerce",
"supports": {
"interactivity": true
},
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json",
"viewScriptModule": "woocommerce/add-to-cart-form",
"style": "file:../woocommerce/add-to-cart-form-style.css",
"editorStyle": "file:../woocommerce/add-to-cart-form-editor.css"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-polyfill', 'wp-primitives'), 'version' => 'd58871e56a0d811b659b');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-polyfill', 'wp-primitives'), 'version' => 'e95919ae76e31a341f0f');

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e,t,o,r={9948:(e,t,o)=>{const r=window.wp.blocks;var n=o(8992);const i=window.wp.blockEditor,a=window.wc.wcBlocksSharedContext,c=window.wp.components,l=JSON.parse('{"name":"woocommerce/add-to-cart-with-options-grouped-product-item-label","title":"Grouped Product: Item Label (Beta)","description":"Display the product title as a label or paragraph.","category":"woocommerce-product-elements","keywords":["WooCommerce"],"ancestor":["woocommerce/add-to-cart-with-options-grouped-product-item"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json","supports":{"color":{"text":true,"background":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"html":false,"layout":{"selfStretch":true},"spacing":{"margin":true,"padding":true,"blockGap":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"textAlign":true,"__experimentalDefaultControls":{"fontSize":true,"fontWeight":true,"fontStyle":true}}},"usesContext":["postId","postType"]}');var p=o(790);(0,r.registerBlockType)(l.name,{...l,edit:function(){const e=(0,i.useBlockProps)(),{isLoading:t,product:o}=(0,a.useProductDataContext)();return t||!(e=>!!e&&"id"in e&&0!==e.id)(o)?(0,p.jsx)(c.Spinner,{}):(0,p.jsx)("div",{...e,children:(0,p.jsx)("div",{className:"wp-block-woocommerce-add-to-cart-with-options-grouped-product-item-label",children:o.name})})},icon:n.A,save:()=>null})},1609:e=>{e.exports=window.React},790:e=>{e.exports=window.ReactJSXRuntime},5573:e=>{e.exports=window.wp.primitives}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.m=r,e=[],i.O=(t,o,r,n)=>{if(!o){var a=1/0;for(s=0;s<e.length;s++){for(var[o,r,n]=e[s],c=!0,l=0;l<o.length;l++)(!1&n||a>=n)&&Object.keys(i.O).every((e=>i.O[e](o[l])))?o.splice(l--,1):(c=!1,n<a&&(a=n));if(c){e.splice(s--,1);var p=r();void 0!==p&&(t=p)}}return t}n=n||0;for(var s=e.length;s>0&&e[s-1][2]>n;s--)e[s]=e[s-1];e[s]=[o,r,n]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var n=Object.create(null);i.r(n);var a={};t=t||[null,o({}),o([]),o(o)];for(var c=2&r&&e;"object"==typeof c&&!~t.indexOf(c);c=o(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,i.d(n,a),n},i.d=(e,t)=>{for(var o in t)i.o(t,o)&&!i.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.j=1861,(()=>{var e={1861:0};i.O.j=t=>0===e[t];var t=(t,o)=>{var r,n,[a,c,l]=o,p=0;if(a.some((t=>0!==e[t]))){for(r in c)i.o(c,r)&&(i.m[r]=c[r]);if(l)var s=l(i)}for(t&&t(o);p<a.length;p++)n=a[p],i.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return i.O(s)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var a=i.O(void 0,[94],(()=>i(9948)));a=i.O(a),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-cart-with-options-grouped-product-item-label"]=a})();

View File

@@ -0,0 +1,48 @@
{
"name": "woocommerce/add-to-cart-with-options-grouped-product-item-label",
"title": "Grouped Product: Item Label (Beta)",
"description": "Display the product title as a label or paragraph.",
"category": "woocommerce-product-elements",
"keywords": [ "WooCommerce" ],
"ancestor": [ "woocommerce/add-to-cart-with-options-grouped-product-item" ],
"textdomain": "woocommerce",
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json",
"supports": {
"color": {
"text": true,
"background": true,
"gradients": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
},
"html": false,
"layout": {
"selfStretch": true
},
"spacing": {
"margin": true,
"padding": true,
"blockGap": true
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"textAlign": true,
"__experimentalDefaultControls": {
"fontSize": true,
"fontWeight": true,
"fontStyle": true
}
}
},
"usesContext": [ "postId", "postType" ]
}

View File

@@ -0,0 +1 @@
@keyframes wc-skeleton-shimmer{to{transform:translateX(-100%)}}.wc-block-components-quantity-selector{border:1px solid color-mix(in srgb,currentColor 30%,transparent);border-radius:4px;box-sizing:border-box;display:flex;margin:0 0 .25em;position:relative;width:107px}.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{appearance:textfield;background:transparent;border:0;box-shadow:none;color:currentColor;flex:1 1 auto;font-size:var(--wp--preset--font-size--small,14px);line-height:20px;line-height:1;margin:0;min-width:40px;order:2;padding:.4em 0;text-align:center;vertical-align:middle}.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:focus{box-shadow:inset 0 0 1px 1px currentColor;outline:none}.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:disabled{opacity:.6}.wc-block-components-quantity-selector input::-webkit-inner-spin-button,.wc-block-components-quantity-selector input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{background:none transparent;border:0;box-shadow:none;color:currentColor;cursor:pointer;font-size:.9em;font-style:normal;font-weight:400;margin:0;min-width:30px;opacity:.6;padding:0;text-align:center;text-decoration:none}.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus{box-shadow:inset 0 0 1px 1px currentColor;outline:none}.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus,.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover{opacity:1}.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled{box-shadow:none;cursor:default;opacity:.6}.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--minus{border-radius:0 4px 4px 0;order:1}.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--plus{border-radius:4px 0 0 4px;order:3}.wc-block-components-quantity-selector[hidden]{display:none}.theme-twentyseventeen .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus,.theme-twentyseventeen .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover{background:none transparent}:where(.wp-block-group.is-layout-flex:not(.is-vertical)>.wc-block-add-to-cart-with-options-grouped-product-item-selector){min-width:6.8em;text-align:left}:where(.wc-block-add-to-cart-with-options-grouped-product-item-selector .button){display:inline-flex}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'dc3e55b07a8185a58b58');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'c87151bc94987f71f106');

View File

@@ -0,0 +1 @@
@keyframes wc-skeleton-shimmer{to{transform:translateX(100%)}}.wc-block-components-quantity-selector{border:1px solid color-mix(in srgb,currentColor 30%,transparent);border-radius:4px;box-sizing:border-box;display:flex;margin:0 0 .25em;position:relative;width:107px}.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input{appearance:textfield;background:transparent;border:0;box-shadow:none;color:currentColor;flex:1 1 auto;font-size:var(--wp--preset--font-size--small,14px);line-height:20px;line-height:1;margin:0;min-width:40px;order:2;padding:.4em 0;text-align:center;vertical-align:middle}.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:focus{box-shadow:inset 0 0 1px 1px currentColor;outline:none}.wc-block-components-quantity-selector input.wc-block-components-quantity-selector__input:disabled{opacity:.6}.wc-block-components-quantity-selector input::-webkit-inner-spin-button,.wc-block-components-quantity-selector input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button{background:none transparent;border:0;box-shadow:none;color:currentColor;cursor:pointer;font-size:.9em;font-style:normal;font-weight:400;margin:0;min-width:30px;opacity:.6;padding:0;text-align:center;text-decoration:none}.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus{box-shadow:inset 0 0 1px 1px currentColor;outline:none}.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus,.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover{opacity:1}.wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:disabled{box-shadow:none;cursor:default;opacity:.6}.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--minus{border-radius:4px 0 0 4px;order:1}.wc-block-components-quantity-selector>.wc-block-components-quantity-selector__button--plus{border-radius:0 4px 4px 0;order:3}.wc-block-components-quantity-selector[hidden]{display:none}.theme-twentyseventeen .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:focus,.theme-twentyseventeen .wc-block-components-quantity-selector .wc-block-components-quantity-selector__button:hover{background:none transparent}:where(.wp-block-group.is-layout-flex:not(.is-vertical)>.wc-block-add-to-cart-with-options-grouped-product-item-selector){min-width:6.8em;text-align:right}:where(.wc-block-add-to-cart-with-options-grouped-product-item-selector .button){display:inline-flex}

View File

@@ -0,0 +1 @@
(()=>{var t,e,o,r={9367:(t,e,o)=>{"use strict";const r=window.wp.blocks;var c=o(4530),n=o(6012);const s=JSON.parse('{"name":"woocommerce/add-to-cart-with-options-grouped-product-item-selector","title":"Grouped Product: Item Selector (Beta)","description":"Add a way of selecting a child product within the Grouped Product block. Depending on the type of product and its properties, this might be a button, a checkbox, or a link.","category":"woocommerce-product-elements","keywords":["WooCommerce"],"usesContext":["postId"],"ancestor":["woocommerce/add-to-cart-with-options-grouped-product-item"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json","supports":{"inserter":false,"interactivity":true},"style":"file:../woocommerce/add-to-cart-with-options-grouped-product-item-selector-style.css"}'),i=window.wc.wcBlocksSharedContext,a=window.wp.components,l=window.wp.blockEditor;var d=o(7723),p=o(790);const u=()=>(0,p.jsxs)("div",{className:"quantity wc-block-components-quantity-selector",children:[(0,p.jsx)("input",{type:"number",value:"1",className:"input-text qty text",readOnly:!0}),(0,p.jsx)("button",{className:"wc-block-components-quantity-selector__button wc-block-components-quantity-selector__button--minus",children:""}),(0,p.jsx)("button",{className:"wc-block-components-quantity-selector__button wc-block-components-quantity-selector__button--plus",children:"+"})]}),w=()=>{const{isLoading:t,product:e}=(0,i.useProductDataContext)();if(t||!(t=>!!t&&"id"in t&&0!==t.id)(e))return(0,p.jsx)(a.Spinner,{});const{permalink:o,add_to_cart:r,has_options:c,is_purchasable:n,is_in_stock:s,sold_individually:l}=e;return!c&&n&&s?l?(0,p.jsx)("input",{type:"checkbox",value:"1",className:"wc-grouped-product-add-to-cart-checkbox"}):(0,p.jsx)(u,{}):(0,p.jsx)("a",{"aria-label":r?.description||"",className:"button wp-element-button add_to_cart_button wc-block-components-product-button__button",href:o,children:r?.text||(0,d.__)("Add to Cart","woocommerce")})};o(1541),(0,r.registerBlockType)(s,{edit:function(){const t=(0,l.useBlockProps)({className:"wc-block-add-to-cart-with-options-grouped-product-item-selector"});return(0,p.jsx)("div",{...t,children:(0,p.jsx)(a.Disabled,{children:(0,p.jsx)(w,{})})})},icon:{src:(0,p.jsx)(c.A,{icon:n.A,className:"wc-block-editor-components-block-icon"})},save:()=>null})},1541:()=>{},1609:t=>{"use strict";t.exports=window.React},790:t=>{"use strict";t.exports=window.ReactJSXRuntime},6087:t=>{"use strict";t.exports=window.wp.element},7723:t=>{"use strict";t.exports=window.wp.i18n},5573:t=>{"use strict";t.exports=window.wp.primitives}},c={};function n(t){var e=c[t];if(void 0!==e)return e.exports;var o=c[t]={exports:{}};return r[t](o,o.exports,n),o.exports}n.m=r,t=[],n.O=(e,o,r,c)=>{if(!o){var s=1/0;for(d=0;d<t.length;d++){for(var[o,r,c]=t[d],i=!0,a=0;a<o.length;a++)(!1&c||s>=c)&&Object.keys(n.O).every((t=>n.O[t](o[a])))?o.splice(a--,1):(i=!1,c<s&&(s=c));if(i){t.splice(d--,1);var l=r();void 0!==l&&(e=l)}}return e}c=c||0;for(var d=t.length;d>0&&t[d-1][2]>c;d--)t[d]=t[d-1];t[d]=[o,r,c]},n.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return n.d(e,{a:e}),e},o=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,n.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var c=Object.create(null);n.r(c);var s={};e=e||[null,o({}),o([]),o(o)];for(var i=2&r&&t;"object"==typeof i&&!~e.indexOf(i);i=o(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>t[e]));return s.default=()=>t,n.d(c,s),c},n.d=(t,e)=>{for(var o in e)n.o(e,o)&&!n.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.j=9122,(()=>{var t={9122:0};n.O.j=e=>0===t[e];var e=(e,o)=>{var r,c,[s,i,a]=o,l=0;if(s.some((e=>0!==t[e]))){for(r in i)n.o(i,r)&&(n.m[r]=i[r]);if(a)var d=a(n)}for(e&&e(o);l<s.length;l++)c=s[l],n.o(t,c)&&t[c]&&t[c][0](),t[c]=0;return n.O(d)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})();var s=n.O(void 0,[94],(()=>n(9367)));s=n.O(s),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-cart-with-options-grouped-product-item-selector"]=s})();

View File

@@ -0,0 +1,17 @@
{
"name": "woocommerce/add-to-cart-with-options-grouped-product-item-selector",
"title": "Grouped Product: Item Selector (Beta)",
"description": "Add a way of selecting a child product within the Grouped Product block. Depending on the type of product and its properties, this might be a button, a checkbox, or a link.",
"category": "woocommerce-product-elements",
"keywords": [ "WooCommerce" ],
"usesContext": [ "postId" ],
"ancestor": [ "woocommerce/add-to-cart-with-options-grouped-product-item" ],
"textdomain": "woocommerce",
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json",
"supports": {
"inserter": false,
"interactivity": true
},
"style": "file:../woocommerce/add-to-cart-with-options-grouped-product-item-selector-style.css"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wc-settings', 'wc-store-data', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => 'c7e93c2ff331a147f6e8');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wc-settings', 'wc-store-data', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives', 'wp-url'), 'version' => '0247108c751f41cd20d2');

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,19 @@
{
"name": "woocommerce/add-to-cart-with-options-grouped-product-item",
"title": "Grouped Product: Template (Beta)",
"description": "A list item template that represents a child product within the Grouped Product Selector block.",
"category": "woocommerce-product-elements",
"keywords": [ "WooCommerce" ],
"usesContext": [ "postId" ],
"ancestor": [
"woocommerce/add-to-cart-with-options-grouped-product-selector"
],
"textdomain": "woocommerce",
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json",
"supports": {
"inserter": false,
"interactivity": true
},
"style": "file:../woocommerce/add-to-cart-with-options-grouped-product-item-style.css"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-primitives'), 'version' => '58e4038132a5f3826dca');

View File

@@ -0,0 +1 @@
(()=>{"use strict";var o,e,t,r={1912:(o,e,t)=>{const r=window.wp.blocks;var c=t(4530),i=t(6012);const n=JSON.parse('{"name":"woocommerce/add-to-cart-with-options-grouped-product-selector","title":"Grouped Product Selector (Beta)","description":"Display a group of products that can be added to the cart.","category":"woocommerce-product-elements","keywords":["WooCommerce"],"usesContext":["postId"],"ancestor":["woocommerce/add-to-cart-with-options"],"textdomain":"woocommerce","apiVersion":3,"supports":{"interactivity":true},"$schema":"https://schemas.wp.org/trunk/block.json","viewScriptModule":"woocommerce/add-to-cart-with-options-grouped-product-selector"}'),s=window.wp.blockEditor,a=[["woocommerce/add-to-cart-with-options-grouped-product-item",{},[["core/group",{layout:{type:"flex",orientation:"horizontal",flexWrap:"nowrap"},style:{spacing:{margin:{top:"1rem",bottom:"1rem"}}}},[["woocommerce/add-to-cart-with-options-grouped-product-item-selector"],["woocommerce/add-to-cart-with-options-grouped-product-item-label",{fontSize:"medium",style:{layout:{selfStretch:"fill"},spacing:{margin:{top:"0",bottom:"0"}},typography:{fontWeight:400}}}],["core/group",{layout:{type:"flex",orientation:"vertical",justifyContent:"right"},style:{spacing:{blockGap:"0"}}},[["woocommerce/product-price",{isDescendentOfSingleProductBlock:!0,fontSize:"medium",textAlign:"right",style:{typography:{fontWeight:400}}}],["woocommerce/product-stock-indicator"]]]]]]]];var p=t(790);(0,r.registerBlockType)(n,{edit:function(o){const{className:e}=o.attributes,t=(0,s.useBlockProps)({className:e}),r=(0,s.useInnerBlocksProps)(t,{template:a,templateLock:"all"});return(0,p.jsx)("div",{...r})},icon:{src:(0,p.jsx)(c.A,{icon:i.A,className:"wc-block-editor-components-block-icon"})},save:function(){const o=s.useBlockProps.save(),e=s.useInnerBlocksProps.save({...o,role:"list"});return(0,p.jsx)("div",{...e})}})},1609:o=>{o.exports=window.React},790:o=>{o.exports=window.ReactJSXRuntime},6087:o=>{o.exports=window.wp.element},5573:o=>{o.exports=window.wp.primitives}},c={};function i(o){var e=c[o];if(void 0!==e)return e.exports;var t=c[o]={exports:{}};return r[o](t,t.exports,i),t.exports}i.m=r,o=[],i.O=(e,t,r,c)=>{if(!t){var n=1/0;for(l=0;l<o.length;l++){for(var[t,r,c]=o[l],s=!0,a=0;a<t.length;a++)(!1&c||n>=c)&&Object.keys(i.O).every((o=>i.O[o](t[a])))?t.splice(a--,1):(s=!1,c<n&&(n=c));if(s){o.splice(l--,1);var p=r();void 0!==p&&(e=p)}}return e}c=c||0;for(var l=o.length;l>0&&o[l-1][2]>c;l--)o[l]=o[l-1];o[l]=[t,r,c]},i.n=o=>{var e=o&&o.__esModule?()=>o.default:()=>o;return i.d(e,{a:e}),e},t=Object.getPrototypeOf?o=>Object.getPrototypeOf(o):o=>o.__proto__,i.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var c=Object.create(null);i.r(c);var n={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&o;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>n[e]=()=>o[e]));return n.default=()=>o,i.d(c,n),c},i.d=(o,e)=>{for(var t in e)i.o(e,t)&&!i.o(o,t)&&Object.defineProperty(o,t,{enumerable:!0,get:e[t]})},i.o=(o,e)=>Object.prototype.hasOwnProperty.call(o,e),i.r=o=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},i.j=2,(()=>{var o={2:0};i.O.j=e=>0===o[e];var e=(e,t)=>{var r,c,[n,s,a]=t,p=0;if(n.some((e=>0!==o[e]))){for(r in s)i.o(s,r)&&(i.m[r]=s[r]);if(a)var l=a(i)}for(e&&e(t);p<n.length;p++)c=n[p],i.o(o,c)&&o[c]&&o[c][0](),o[c]=0;return i.O(l)},t=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];t.forEach(e.bind(null,0)),t.push=e.bind(null,t.push.bind(t))})();var n=i.O(void 0,[94],(()=>i(1912)));n=i.O(n),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-cart-with-options-grouped-product-selector"]=n})();

View File

@@ -0,0 +1,16 @@
{
"name": "woocommerce/add-to-cart-with-options-grouped-product-selector",
"title": "Grouped Product Selector (Beta)",
"description": "Display a group of products that can be added to the cart.",
"category": "woocommerce-product-elements",
"keywords": [ "WooCommerce" ],
"usesContext": [ "postId" ],
"ancestor": [ "woocommerce/add-to-cart-with-options" ],
"textdomain": "woocommerce",
"apiVersion": 3,
"supports": {
"interactivity": true
},
"$schema": "https://schemas.wp.org/trunk/block.json",
"viewScriptModule": "woocommerce/add-to-cart-with-options-grouped-product-selector"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-polyfill', 'wp-primitives'), 'version' => '416801d389a23e00221f');

View File

@@ -0,0 +1 @@
(()=>{"use strict";var t,e,o,r={5401:(t,e,o)=>{const r=window.wp.blocks;var n=o(4530),c=o(6012);const s=JSON.parse('{"name":"woocommerce/add-to-cart-with-options-quantity-selector","title":"Product Quantity (Beta)","description":"Display an input field customers can use to select the number of products to add to their cart. ","category":"woocommerce-product-elements","keywords":["WooCommerce"],"usesContext":["postId"],"ancestor":["woocommerce/add-to-cart-with-options"],"textdomain":"woocommerce","apiVersion":3,"supports":{"interactivity":true},"$schema":"https://schemas.wp.org/trunk/block.json","style":"file:../woocommerce/add-to-cart-with-options-quantity-selector-style.css","viewScriptModule":"woocommerce/add-to-cart-with-options-quantity-selector"}'),i=window.wp.blockEditor,a=window.wp.components;var l=o(790);const u=()=>(0,l.jsxs)("div",{className:"quantity wc-block-components-quantity-selector",children:[(0,l.jsx)("input",{type:"number",value:"1",className:"input-text qty text",readOnly:!0}),(0,l.jsx)("button",{className:"wc-block-components-quantity-selector__button wc-block-components-quantity-selector__button--minus",children:""}),(0,l.jsx)("button",{className:"wc-block-components-quantity-selector__button wc-block-components-quantity-selector__button--plus",children:"+"})]});(0,r.registerBlockType)(s,{edit:()=>{const t=(0,i.useBlockProps)({className:"wc-block-add-to-cart-with-options__quantity-selector"});return(0,l.jsx)("div",{...t,children:(0,l.jsx)(a.Disabled,{children:(0,l.jsx)(u,{})})})},icon:{src:(0,l.jsx)(n.A,{icon:c.A,className:"wc-block-editor-components-block-icon"})},save:()=>null})},1609:t=>{t.exports=window.React},790:t=>{t.exports=window.ReactJSXRuntime},6087:t=>{t.exports=window.wp.element},5573:t=>{t.exports=window.wp.primitives}},n={};function c(t){var e=n[t];if(void 0!==e)return e.exports;var o=n[t]={exports:{}};return r[t](o,o.exports,c),o.exports}c.m=r,t=[],c.O=(e,o,r,n)=>{if(!o){var s=1/0;for(u=0;u<t.length;u++){for(var[o,r,n]=t[u],i=!0,a=0;a<o.length;a++)(!1&n||s>=n)&&Object.keys(c.O).every((t=>c.O[t](o[a])))?o.splice(a--,1):(i=!1,n<s&&(s=n));if(i){t.splice(u--,1);var l=r();void 0!==l&&(e=l)}}return e}n=n||0;for(var u=t.length;u>0&&t[u-1][2]>n;u--)t[u]=t[u-1];t[u]=[o,r,n]},c.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return c.d(e,{a:e}),e},o=Object.getPrototypeOf?t=>Object.getPrototypeOf(t):t=>t.__proto__,c.t=function(t,r){if(1&r&&(t=this(t)),8&r)return t;if("object"==typeof t&&t){if(4&r&&t.__esModule)return t;if(16&r&&"function"==typeof t.then)return t}var n=Object.create(null);c.r(n);var s={};e=e||[null,o({}),o([]),o(o)];for(var i=2&r&&t;"object"==typeof i&&!~e.indexOf(i);i=o(i))Object.getOwnPropertyNames(i).forEach((e=>s[e]=()=>t[e]));return s.default=()=>t,c.d(n,s),n},c.d=(t,e)=>{for(var o in e)c.o(e,o)&&!c.o(t,o)&&Object.defineProperty(t,o,{enumerable:!0,get:e[o]})},c.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),c.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},c.j=8851,(()=>{var t={8851:0};c.O.j=e=>0===t[e];var e=(e,o)=>{var r,n,[s,i,a]=o,l=0;if(s.some((e=>0!==t[e]))){for(r in i)c.o(i,r)&&(c.m[r]=i[r]);if(a)var u=a(c)}for(e&&e(o);l<s.length;l++)n=s[l],c.o(t,n)&&t[n]&&t[n][0](),t[n]=0;return c.O(u)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(e.bind(null,0)),o.push=e.bind(null,o.push.bind(o))})();var s=c.O(void 0,[94],(()=>c(5401)));s=c.O(s),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-cart-with-options-quantity-selector"]=s})();

View File

@@ -0,0 +1,17 @@
{
"name": "woocommerce/add-to-cart-with-options-quantity-selector",
"title": "Product Quantity (Beta)",
"description": "Display an input field customers can use to select the number of products to add to their cart. ",
"category": "woocommerce-product-elements",
"keywords": [ "WooCommerce" ],
"usesContext": [ "postId" ],
"ancestor": [ "woocommerce/add-to-cart-with-options" ],
"textdomain": "woocommerce",
"apiVersion": 3,
"supports": {
"interactivity": true
},
"$schema": "https://schemas.wp.org/trunk/block.json",
"style": "file:../woocommerce/add-to-cart-with-options-quantity-selector-style.css",
"viewScriptModule": "woocommerce/add-to-cart-with-options-quantity-selector"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '0e0f9599845f617b6608');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '0924bb544de0ce4eb471');

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e,t,o,r={8103:(e,t,o)=>{const r=window.wp.blocks;var i=o(4530),n=o(7715);const a=JSON.parse('{"$schema":"https://schemas.wp.org/trunk/block.json","apiVersion":3,"name":"woocommerce/add-to-cart-with-options-variation-description","title":"Variation Description (Beta)","description":"Displays the description of the selected variation.","category":"woocommerce","textdomain":"woocommerce","ancestor":["woocommerce/add-to-cart-with-options"],"supports":{"interactivity":true,"html":false,"dimensions":{"minHeight":true},"spacing":{"padding":true,"margin":true},"color":{"gradients":true,"link":true},"typography":{"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true},"__experimentalBorder":{"radius":true,"color":true,"width":true,"style":true}},"viewScriptModule":"woocommerce/product-elements"}'),c=window.wp.blockEditor;var s=o(7723),p=o(790);(0,r.registerBlockType)(a,{edit:function(){const e=(0,c.useBlockProps)();return(0,p.jsx)("div",{...e,children:(0,p.jsx)("p",{children:(0,s.__)("This block displays the variation description. When the shopper selects a variation, the description content will automatically appear here.","woocommerce")})})},icon:{src:(0,p.jsx)(i.A,{icon:n.A,className:"wc-block-editor-components-block-icon"})},save:()=>null})},1609:e=>{e.exports=window.React},790:e=>{e.exports=window.ReactJSXRuntime},6087:e=>{e.exports=window.wp.element},7723:e=>{e.exports=window.wp.i18n},5573:e=>{e.exports=window.wp.primitives}},i={};function n(e){var t=i[e];if(void 0!==t)return t.exports;var o=i[e]={exports:{}};return r[e](o,o.exports,n),o.exports}n.m=r,e=[],n.O=(t,o,r,i)=>{if(!o){var a=1/0;for(l=0;l<e.length;l++){for(var[o,r,i]=e[l],c=!0,s=0;s<o.length;s++)(!1&i||a>=i)&&Object.keys(n.O).every((e=>n.O[e](o[s])))?o.splice(s--,1):(c=!1,i<a&&(a=i));if(c){e.splice(l--,1);var p=r();void 0!==p&&(t=p)}}return t}i=i||0;for(var l=e.length;l>0&&e[l-1][2]>i;l--)e[l]=e[l-1];e[l]=[o,r,i]},n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},o=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);n.r(i);var a={};t=t||[null,o({}),o([]),o(o)];for(var c=2&r&&e;"object"==typeof c&&!~t.indexOf(c);c=o(c))Object.getOwnPropertyNames(c).forEach((t=>a[t]=()=>e[t]));return a.default=()=>e,n.d(i,a),i},n.d=(e,t)=>{for(var o in t)n.o(t,o)&&!n.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=9730,(()=>{var e={9730:0};n.O.j=t=>0===e[t];var t=(t,o)=>{var r,i,[a,c,s]=o,p=0;if(a.some((t=>0!==e[t]))){for(r in c)n.o(c,r)&&(n.m[r]=c[r]);if(s)var l=s(n)}for(t&&t(o);p<a.length;p++)i=a[p],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(l)},o=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var a=n.O(void 0,[94],(()=>n(8103)));a=n.O(a),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-cart-with-options-variation-description"]=a})();

View File

@@ -0,0 +1,42 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "woocommerce/add-to-cart-with-options-variation-description",
"title": "Variation Description (Beta)",
"description": "Displays the description of the selected variation.",
"category": "woocommerce",
"textdomain": "woocommerce",
"ancestor": [ "woocommerce/add-to-cart-with-options" ],
"supports": {
"interactivity": true,
"html": false,
"dimensions": {
"minHeight": true
},
"spacing": {
"padding": true,
"margin": true
},
"color": {
"gradients": true,
"link": true
},
"typography": {
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true
},
"__experimentalBorder": {
"radius": true,
"color": true,
"width": true,
"style": true
}
},
"viewScriptModule": "woocommerce/product-elements"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-primitives'), 'version' => '3c1f41e9a6488e96fbb6');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-polyfill', 'wp-primitives'), 'version' => '8523bb0eda0587ef7b33');

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e,t,r,o={3030:(e,t,r)=>{const o=window.wp.blocks;var a=r(4530),i=r(8992);const n=JSON.parse('{"name":"woocommerce/add-to-cart-with-options-variation-selector-attribute-name","title":"Variation Selector: Attribute Name (Beta)","description":"Format the name of an attribute associated with a variable product.","category":"woocommerce-product-elements","keywords":["WooCommerce"],"ancestor":["woocommerce/add-to-cart-with-options-variation-selector-attribute"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json","supports":{"inserter":false,"interactivity":true,"align":false,"alignWide":false,"color":{"__experimentalSkipSerialization":true,"gradients":true,"__experimentalDefaultControls":{"background":true,"text":true}},"typography":{"__experimentalSkipSerialization":["fontSize","lineHeight","fontFamily","fontWeight","fontStyle","textTransform","textDecoration","letterSpacing"],"fontSize":true,"lineHeight":true,"__experimentalFontFamily":true,"__experimentalFontWeight":true,"__experimentalFontStyle":true,"__experimentalTextTransform":true,"__experimentalTextDecoration":true,"__experimentalLetterSpacing":true,"__experimentalWritingMode":true,"__experimentalDefaultControls":{"fontSize":true}},"spacing":{"__experimentalSkipSerialization":true,"padding":["horizontal","vertical"],"__experimentalDefaultControls":{"padding":true}}},"usesContext":["woocommerce/attributeId","woocommerce/attributeName","woocommerce/attributeTerms"],"style":"file:../woocommerce/add-to-cart-with-options-variation-selector-attribute-name-style.css"}'),l=window.wp.blockEditor,s=window.wc.wcBlocksSharedContext;var c=r(4921),p=r(790);(0,o.registerBlockType)(n,{edit:function(e){const{attributes:t}=e,{className:r}=t,o=(0,l.__experimentalUseColorProps)(t),[a,i]=(0,l.useSettings)("typography.fluid","layout"),n=(0,l.getTypographyClassesAndStyles)(t,{typography:{fluid:a},layout:{wideSize:i?.wideSize}}),u=(0,l.__experimentalGetSpacingClassesAndStyles)(t),m=(0,l.useBlockProps)({className:(0,c.A)(r,o.className,n.className,u.className),style:{...o.stye,...n.style,...u.style}}),{data:d}=(0,s.useCustomDataContext)("attribute");if(d)return(0,p.jsx)("label",{...m,htmlFor:d.taxonomy,children:d.name})},icon:{src:(0,p.jsx)(a.A,{icon:i.A})},save:()=>null})},1609:e=>{e.exports=window.React},790:e=>{e.exports=window.ReactJSXRuntime},6087:e=>{e.exports=window.wp.element},5573:e=>{e.exports=window.wp.primitives}},a={};function i(e){var t=a[e];if(void 0!==t)return t.exports;var r=a[e]={exports:{}};return o[e](r,r.exports,i),r.exports}i.m=o,e=[],i.O=(t,r,o,a)=>{if(!r){var n=1/0;for(p=0;p<e.length;p++){for(var[r,o,a]=e[p],l=!0,s=0;s<r.length;s++)(!1&a||n>=a)&&Object.keys(i.O).every((e=>i.O[e](r[s])))?r.splice(s--,1):(l=!1,a<n&&(n=a));if(l){e.splice(p--,1);var c=o();void 0!==c&&(t=c)}}return t}a=a||0;for(var p=e.length;p>0&&e[p-1][2]>a;p--)e[p]=e[p-1];e[p]=[r,o,a]},i.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return i.d(t,{a:t}),t},r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,i.t=function(e,o){if(1&o&&(e=this(e)),8&o)return e;if("object"==typeof e&&e){if(4&o&&e.__esModule)return e;if(16&o&&"function"==typeof e.then)return e}var a=Object.create(null);i.r(a);var n={};t=t||[null,r({}),r([]),r(r)];for(var l=2&o&&e;"object"==typeof l&&!~t.indexOf(l);l=r(l))Object.getOwnPropertyNames(l).forEach((t=>n[t]=()=>e[t]));return n.default=()=>e,i.d(a,n),a},i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.j=2344,(()=>{var e={2344:0};i.O.j=t=>0===e[t];var t=(t,r)=>{var o,a,[n,l,s]=r,c=0;if(n.some((t=>0!==e[t]))){for(o in l)i.o(l,o)&&(i.m[o]=l[o]);if(s)var p=s(i)}for(t&&t(r);c<n.length;c++)a=n[c],i.o(e,a)&&e[a]&&e[a][0](),e[a]=0;return i.O(p)},r=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})();var n=i.O(void 0,[94],(()=>i(3030)));n=i.O(n),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-cart-with-options-variation-selector-attribute-name"]=n})();

View File

@@ -0,0 +1,64 @@
{
"name": "woocommerce/add-to-cart-with-options-variation-selector-attribute-name",
"title": "Variation Selector: Attribute Name (Beta)",
"description": "Format the name of an attribute associated with a variable product.",
"category": "woocommerce-product-elements",
"keywords": [ "WooCommerce" ],
"ancestor": [
"woocommerce/add-to-cart-with-options-variation-selector-attribute"
],
"textdomain": "woocommerce",
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json",
"supports": {
"inserter": false,
"interactivity": true,
"align": false,
"alignWide": false,
"color": {
"__experimentalSkipSerialization": true,
"gradients": true,
"__experimentalDefaultControls": {
"background": true,
"text": true
}
},
"typography": {
"__experimentalSkipSerialization": [
"fontSize",
"lineHeight",
"fontFamily",
"fontWeight",
"fontStyle",
"textTransform",
"textDecoration",
"letterSpacing"
],
"fontSize": true,
"lineHeight": true,
"__experimentalFontFamily": true,
"__experimentalFontWeight": true,
"__experimentalFontStyle": true,
"__experimentalTextTransform": true,
"__experimentalTextDecoration": true,
"__experimentalLetterSpacing": true,
"__experimentalWritingMode": true,
"__experimentalDefaultControls": {
"fontSize": true
}
},
"spacing": {
"__experimentalSkipSerialization": true,
"padding": [ "horizontal", "vertical" ],
"__experimentalDefaultControls": {
"padding": true
}
}
},
"usesContext": [
"woocommerce/attributeId",
"woocommerce/attributeName",
"woocommerce/attributeTerms"
],
"style": "file:../woocommerce/add-to-cart-with-options-variation-selector-attribute-name-style.css"
}

View File

@@ -0,0 +1 @@
@keyframes wc-skeleton-shimmer{to{transform:translateX(-100%)}}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pills){display:inline-flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill){--pill-color:currentColor;--pill-background-color:transparent;background-color:var(--pill-background-color);border:1px solid color-mix(in srgb,var(--pill-color) 40%,transparent);border-radius:2px;color:var(--pill-color);cursor:pointer;font-size:.8em;padding:.25em .75em;user-select:none}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:has(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:disabled)){color:color-mix(in srgb,var(--pill-color) 40%,transparent);cursor:not-allowed;text-decoration:line-through}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:hover:not(:has(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:disabled))){background-color:color-mix(in srgb,var(--pill-color) 10%,transparent)}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:hover:has(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:checked)){background-color:color-mix(in srgb,var(--pill-background-color) 85%,transparent)}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:focus-within){outline:1px solid var(--pill-color);outline-offset:1px}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:focus-within:has(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:checked)){outline-color:var(--pill-background-color)}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill) :where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input){height:0;opacity:0;position:absolute;width:0}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__dropdown){height:3em;padding:.25em 1em}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'fd333f60a3cbcb301c05');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '3c7befbbd371444e46c9');

View File

@@ -0,0 +1 @@
@keyframes wc-skeleton-shimmer{to{transform:translateX(100%)}}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pills){display:inline-flex;flex-wrap:wrap;gap:8px;list-style:none;margin:0;padding:0}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill){--pill-color:currentColor;--pill-background-color:transparent;background-color:var(--pill-background-color);border:1px solid color-mix(in srgb,var(--pill-color) 40%,transparent);border-radius:2px;color:var(--pill-color);cursor:pointer;font-size:.8em;padding:.25em .75em;user-select:none}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:has(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:disabled)){color:color-mix(in srgb,var(--pill-color) 40%,transparent);cursor:not-allowed;text-decoration:line-through}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:hover:not(:has(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:disabled))){background-color:color-mix(in srgb,var(--pill-color) 10%,transparent)}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:hover:has(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:checked)){background-color:color-mix(in srgb,var(--pill-background-color) 85%,transparent)}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:focus-within){outline:1px solid var(--pill-color);outline-offset:1px}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill):where(:focus-within:has(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input:checked)){outline-color:var(--pill-background-color)}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill) :where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__pill-input){height:0;opacity:0;position:absolute;width:0}:where(.wc-block-add-to-cart-with-options-variation-selector-attribute-options__dropdown){height:3em;padding:.25em 1em}

View File

@@ -0,0 +1,29 @@
{
"name": "woocommerce/add-to-cart-with-options-variation-selector-attribute-options",
"title": "Variation Selector: Attribute Options (Beta)",
"description": "Display the attribute options associated with a variable product.",
"category": "woocommerce-product-elements",
"keywords": [ "WooCommerce" ],
"ancestor": [
"woocommerce/add-to-cart-with-options-variation-selector-attribute"
],
"attributes": {
"optionStyle": {
"type": "string",
"enum": [ "pills", "dropdown" ]
}
},
"textdomain": "woocommerce",
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json",
"supports": {
"inserter": false,
"interactivity": true
},
"usesContext": [
"woocommerce/attributeId",
"woocommerce/attributeName",
"woocommerce/attributeTerms"
],
"style": "file:../woocommerce/add-to-cart-with-options-variation-selector-attribute-options-style.css"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '1f74fa7aa3ee911a0e57');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wp-block-editor', 'wp-blocks', 'wp-data', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => 'b84a7ba893a6d3ab6d1d');

View File

@@ -0,0 +1 @@
(()=>{"use strict";var e,o,t,r={5472:(e,o,t)=>{const r=window.wp.blocks;var i=t(4530),n=t(6012);const s=JSON.parse('{"name":"woocommerce/add-to-cart-with-options-variation-selector-attribute","title":"Variation Selector: Template (Beta)","description":"A template for attribute name and options that will be applied to all variable products with attributes.","category":"woocommerce-product-elements","keywords":["WooCommerce"],"usesContext":["postId"],"ancestor":["woocommerce/add-to-cart-with-options-variation-selector"],"textdomain":"woocommerce","apiVersion":3,"$schema":"https://schemas.wp.org/trunk/block.json","supports":{"inserter":false,"interactivity":true}}');var a=t(6087);const c=window.wp.blockEditor,l=window.wp.data,d=window.wc.wcBlocksSharedContext;var m=t(7723);const p=[{id:1,taxonomy:"pa_color",name:(0,m.__)("Color","woocommerce"),has_variations:!0,terms:[{id:1,slug:"blue",name:(0,m.__)("Blue","woocommerce")},{id:2,slug:"red",name:(0,m.__)("Red","woocommerce")},{id:3,slug:"green",name:(0,m.__)("Green","woocommerce")}]},{id:2,taxonomy:"pa_size",name:(0,m.__)("Size","woocommerce"),has_variations:!0,terms:[{id:1,slug:"sm",name:(0,m.__)("Small","woocommerce")},{id:2,slug:"md",name:(0,m.__)("Medium","woocommerce")},{id:3,slug:"lg",name:(0,m.__)("Large","woocommerce")}]}];var u=t(790);function w({blocks:e,isSelected:o,onSelect:t}){const r=(0,c.__experimentalUseBlockPreview)({blocks:e}),i=(0,c.useInnerBlocksProps)({role:"listitem"},{templateLock:"insert"});return(0,u.jsxs)(u.Fragment,{children:[o?(0,u.jsx)("div",{...i}):(0,u.jsx)(u.Fragment,{}),(0,u.jsx)("div",{role:"listitem",style:{display:o?"none":void 0},children:(0,u.jsx)("div",{...r,role:"button",tabIndex:0,onClick:t,onKeyDown:t})})]})}(0,r.registerBlockType)(s,{edit:function(e){const{clientId:o}=e,{className:t}=e.attributes,r=(0,c.useBlockProps)({className:t}),{product:i}=(0,d.useProductDataContext)(),n=(e=>!!e&&"id"in e&&0!==e.id)(i)&&"variable"===i.type?i.attributes:p,{blocks:s}=(0,l.useSelect)((e=>{const{getBlocks:t}=e(c.store);return{blocks:t(o)}}),[o]),[m,b]=(0,a.useState)();return(0,u.jsx)("div",{...r,role:"list",children:n.map((e=>(0,u.jsx)(d.CustomDataProvider,{id:"attribute",data:e,children:(0,u.jsx)(w,{blocks:s,isSelected:(m||n[0]?.id)===e.id,onSelect:()=>b(e.id)})},e.id)))})},icon:{src:(0,u.jsx)(i.A,{icon:n.A,className:"wc-block-editor-components-block-icon"})},save:function(){const e=c.useBlockProps.save(),o=c.useInnerBlocksProps.save({...e,role:"listitem"});return(0,u.jsx)("div",{...o})}})},1609:e=>{e.exports=window.React},790:e=>{e.exports=window.ReactJSXRuntime},6087:e=>{e.exports=window.wp.element},7723:e=>{e.exports=window.wp.i18n},5573:e=>{e.exports=window.wp.primitives}},i={};function n(e){var o=i[e];if(void 0!==o)return o.exports;var t=i[e]={exports:{}};return r[e](t,t.exports,n),t.exports}n.m=r,e=[],n.O=(o,t,r,i)=>{if(!t){var s=1/0;for(d=0;d<e.length;d++){for(var[t,r,i]=e[d],a=!0,c=0;c<t.length;c++)(!1&i||s>=i)&&Object.keys(n.O).every((e=>n.O[e](t[c])))?t.splice(c--,1):(a=!1,i<s&&(s=i));if(a){e.splice(d--,1);var l=r();void 0!==l&&(o=l)}}return o}i=i||0;for(var d=e.length;d>0&&e[d-1][2]>i;d--)e[d]=e[d-1];e[d]=[t,r,i]},n.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return n.d(o,{a:o}),o},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,n.t=function(e,r){if(1&r&&(e=this(e)),8&r)return e;if("object"==typeof e&&e){if(4&r&&e.__esModule)return e;if(16&r&&"function"==typeof e.then)return e}var i=Object.create(null);n.r(i);var s={};o=o||[null,t({}),t([]),t(t)];for(var a=2&r&&e;"object"==typeof a&&!~o.indexOf(a);a=t(a))Object.getOwnPropertyNames(a).forEach((o=>s[o]=()=>e[o]));return s.default=()=>e,n.d(i,s),i},n.d=(e,o)=>{for(var t in o)n.o(o,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},n.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.j=9860,(()=>{var e={9860:0};n.O.j=o=>0===e[o];var o=(o,t)=>{var r,i,[s,a,c]=t,l=0;if(s.some((o=>0!==e[o]))){for(r in a)n.o(a,r)&&(n.m[r]=a[r]);if(c)var d=c(n)}for(o&&o(t);l<s.length;l++)i=s[l],n.o(e,i)&&e[i]&&e[i][0](),e[i]=0;return n.O(d)},t=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];t.forEach(o.bind(null,0)),t.push=o.bind(null,t.push.bind(t))})();var s=n.O(void 0,[94],(()=>n(5472)));s=n.O(s),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-cart-with-options-variation-selector-attribute"]=s})();

View File

@@ -0,0 +1,16 @@
{
"name": "woocommerce/add-to-cart-with-options-variation-selector-attribute",
"title": "Variation Selector: Template (Beta)",
"description": "A template for attribute name and options that will be applied to all variable products with attributes.",
"category": "woocommerce-product-elements",
"keywords": [ "WooCommerce" ],
"usesContext": [ "postId" ],
"ancestor": [ "woocommerce/add-to-cart-with-options-variation-selector" ],
"textdomain": "woocommerce",
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json",
"supports": {
"inserter": false,
"interactivity": true
}
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wp-block-editor', 'wp-blocks', 'wp-element', 'wp-i18n', 'wp-polyfill', 'wp-primitives'), 'version' => '3c96f4d2d3f7f8fa3b67');

View File

@@ -0,0 +1 @@
(()=>{"use strict";var o,e,t,r={7339:(o,e,t)=>{const r=window.wp.blocks;var c=t(4530),a=t(6012);const i=JSON.parse('{"name":"woocommerce/add-to-cart-with-options-variation-selector","title":"Variation Selector (Beta)","description":"Display any product variations available to select from and add to cart.","category":"woocommerce-product-elements","keywords":["WooCommerce"],"usesContext":["postId"],"ancestor":["woocommerce/add-to-cart-with-options"],"textdomain":"woocommerce","apiVersion":3,"supports":{"interactivity":true},"$schema":"https://schemas.wp.org/trunk/block.json","viewScriptModule":"woocommerce/add-to-cart-with-options-variation-selector"}'),n=window.wp.blockEditor;var s=t(7723);const l=[["woocommerce/add-to-cart-with-options-variation-selector-attribute",{},[["core/group",{layout:{type:"flex",orientation:"vertical",flexWrap:"nowrap"},style:{spacing:{blockGap:"0.5rem",margin:{top:"1rem",bottom:"1rem"}}}},[["woocommerce/add-to-cart-with-options-variation-selector-attribute-name",{fontSize:"medium"}],["woocommerce/add-to-cart-with-options-variation-selector-attribute-options"]]]]]];(0,s.__)("Color","woocommerce"),(0,s.__)("Blue","woocommerce"),(0,s.__)("Red","woocommerce"),(0,s.__)("Green","woocommerce"),(0,s.__)("Size","woocommerce"),(0,s.__)("Small","woocommerce"),(0,s.__)("Medium","woocommerce"),(0,s.__)("Large","woocommerce");var p=t(790);(0,r.registerBlockType)(i,{edit:function(o){const{className:e}=o.attributes,t=(0,n.useBlockProps)({className:e}),r=(0,n.useInnerBlocksProps)(t,{template:l,templateLock:"all"});return(0,p.jsx)("div",{...r})},icon:{src:(0,p.jsx)(c.A,{icon:a.A,className:"wc-block-editor-components-block-icon"})},save:function(){const o=n.useBlockProps.save(),e=n.useInnerBlocksProps.save({...o,role:"list"});return(0,p.jsx)("div",{...e})}})},1609:o=>{o.exports=window.React},790:o=>{o.exports=window.ReactJSXRuntime},6087:o=>{o.exports=window.wp.element},7723:o=>{o.exports=window.wp.i18n},5573:o=>{o.exports=window.wp.primitives}},c={};function a(o){var e=c[o];if(void 0!==e)return e.exports;var t=c[o]={exports:{}};return r[o](t,t.exports,a),t.exports}a.m=r,o=[],a.O=(e,t,r,c)=>{if(!t){var i=1/0;for(p=0;p<o.length;p++){for(var[t,r,c]=o[p],n=!0,s=0;s<t.length;s++)(!1&c||i>=c)&&Object.keys(a.O).every((o=>a.O[o](t[s])))?t.splice(s--,1):(n=!1,c<i&&(i=c));if(n){o.splice(p--,1);var l=r();void 0!==l&&(e=l)}}return e}c=c||0;for(var p=o.length;p>0&&o[p-1][2]>c;p--)o[p]=o[p-1];o[p]=[t,r,c]},a.n=o=>{var e=o&&o.__esModule?()=>o.default:()=>o;return a.d(e,{a:e}),e},t=Object.getPrototypeOf?o=>Object.getPrototypeOf(o):o=>o.__proto__,a.t=function(o,r){if(1&r&&(o=this(o)),8&r)return o;if("object"==typeof o&&o){if(4&r&&o.__esModule)return o;if(16&r&&"function"==typeof o.then)return o}var c=Object.create(null);a.r(c);var i={};e=e||[null,t({}),t([]),t(t)];for(var n=2&r&&o;"object"==typeof n&&!~e.indexOf(n);n=t(n))Object.getOwnPropertyNames(n).forEach((e=>i[e]=()=>o[e]));return i.default=()=>o,a.d(c,i),c},a.d=(o,e)=>{for(var t in e)a.o(e,t)&&!a.o(o,t)&&Object.defineProperty(o,t,{enumerable:!0,get:e[t]})},a.o=(o,e)=>Object.prototype.hasOwnProperty.call(o,e),a.r=o=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})},a.j=2475,(()=>{var o={2475:0};a.O.j=e=>0===o[e];var e=(e,t)=>{var r,c,[i,n,s]=t,l=0;if(i.some((e=>0!==o[e]))){for(r in n)a.o(n,r)&&(a.m[r]=n[r]);if(s)var p=s(a)}for(e&&e(t);l<i.length;l++)c=i[l],a.o(o,c)&&o[c]&&o[c][0](),o[c]=0;return a.O(p)},t=globalThis.webpackChunkwebpackWcBlocksMainJsonp=globalThis.webpackChunkwebpackWcBlocksMainJsonp||[];t.forEach(e.bind(null,0)),t.push=e.bind(null,t.push.bind(t))})();var i=a.O(void 0,[94],(()=>a(7339)));i=a.O(i),((this.wc=this.wc||{}).blocks=this.wc.blocks||{})["add-to-cart-with-options-variation-selector"]=i})();

View File

@@ -0,0 +1,16 @@
{
"name": "woocommerce/add-to-cart-with-options-variation-selector",
"title": "Variation Selector (Beta)",
"description": "Display any product variations available to select from and add to cart.",
"category": "woocommerce-product-elements",
"keywords": [ "WooCommerce" ],
"usesContext": [ "postId" ],
"ancestor": [ "woocommerce/add-to-cart-with-options" ],
"textdomain": "woocommerce",
"apiVersion": 3,
"supports": {
"interactivity": true
},
"$schema": "https://schemas.wp.org/trunk/block.json",
"viewScriptModule": "woocommerce/add-to-cart-with-options-variation-selector"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-shared-context', 'wc-settings', 'wc-types', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-plugins', 'wp-polyfill', 'wp-primitives'), 'version' => '1e44e2fa9870a83faa50');

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,24 @@
{
"name": "woocommerce/add-to-cart-with-options",
"title": "Add to Cart + Options (Beta)",
"description": "Use blocks to create an \"Add to cart\" area that's customized for different product types, such as variable and grouped. ",
"category": "woocommerce-product-elements",
"attributes": {
"isDescendantOfAddToCartWithOptions": {
"type": "boolean",
"default": true
}
},
"usesContext": [ "postId" ],
"providesContext": {
"woocommerce/isDescendantOfAddToCartWithOptions": "isDescendantOfAddToCartWithOptions"
},
"textdomain": "woocommerce",
"supports": {
"interactivity": true
},
"apiVersion": 3,
"$schema": "https://schemas.wp.org/trunk/block.json",
"style": "file:../woocommerce/add-to-cart-with-options-style.css",
"editorStyle": "file:../woocommerce/add-to-cart-with-options-editor.css"
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('wc-blocks-frontend-vendors', 'react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-blocks-shared-context', 'wc-blocks-shared-hocs', 'wc-price-format', 'wc-sanitize', 'wc-settings', 'wc-types', 'wp-a11y', 'wp-autop', 'wp-block-editor', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-style-engine', 'wp-wordcount'), 'version' => '7ca40794c640a5f22b9b');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-blocks-shared-context', 'wc-blocks-shared-hocs', 'wc-price-format', 'wc-sanitize', 'wc-settings', 'wc-types', 'wp-a11y', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-style-engine', 'wp-wordcount'), 'version' => '9e1cc3551cf31da48480');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-blocks-registry', 'wc-blocks-shared-context', 'wc-blocks-shared-hocs', 'wc-price-format', 'wc-sanitize', 'wc-settings', 'wc-types', 'wp-a11y', 'wp-autop', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-core-data', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives', 'wp-style-engine', 'wp-wordcount'), 'version' => '667dc34ba66495cd6189');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,43 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"textdomain": "woocommerce",
"name": "woocommerce/all-products",
"title": "All Products",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"description": "Display products from your store in a grid layout.",
"supports": {
"interactivity": {
"clientNavigation": false
},
"align": [ "wide", "full" ],
"html": false,
"multiple": false,
"inserter": false
},
"attributes": {
"columns": {
"type": "number"
},
"rows": {
"type": "number"
},
"alignButtons": {
"type": "boolean"
},
"contentVisibility": {
"type": "object"
},
"orderby": {
"type": "string"
},
"layoutConfig": {
"type": "array"
},
"isPreview": {
"type": "boolean",
"default": false
}
}
}

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-sanitize', 'wc-settings', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-escape-html', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives'), 'version' => '68c7b84b50938489044b');

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-sanitize', 'wc-settings', 'wp-api-fetch', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-element', 'wp-escape-html', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-polyfill', 'wp-primitives'), 'version' => '0e51554cc0957d0d67d6');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1,22 @@
{
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "woocommerce/all-reviews",
"title": "All Reviews",
"category": "woocommerce",
"keywords": [ "WooCommerce" ],
"description": "Show a list of all product reviews.",
"textdomain": "woocommerce",
"supports": {
"html": false,
"interactivity": {
"clientNavigation": true
},
"color": {
"background": false
},
"typography": {
"fontSize": true
}
}
}

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('wc-blocks-frontend-vendors', 'lodash', 'react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-settings', 'wc-types', 'wp-a11y', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => '82b1bb246f81cdc4fbe7');

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
<?php return array('dependencies' => array('lodash', 'react', 'react-jsx-runtime', 'wc-blocks-components', 'wc-blocks-data-store', 'wc-settings', 'wc-types', 'wp-a11y', 'wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-deprecated', 'wp-dom', 'wp-element', 'wp-html-entities', 'wp-i18n', 'wp-is-shallow-equal', 'wp-keycodes', 'wp-polyfill', 'wp-primitives', 'wp-url', 'wp-warning'), 'version' => 'cd0d0d1712446935beeb');

View File

@@ -0,0 +1,5 @@
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/

Some files were not shown because too many files have changed in this diff Show More