golden hour
/var/www/html/wp-content/plugins/woocommerce/packages/woocommerce-admin/dist/chunks
⬆️ Go Up
Upload
File/Folder
Size
Actions
0.js
18.49 KB
Del
OK
0.style.css
2.25 KB
Del
OK
0.style.rtl.css
2.25 KB
Del
OK
1.js
175.91 KB
Del
OK
11.style.css
1.35 KB
Del
OK
11.style.rtl.css
1.35 KB
Del
OK
12.style.css
1.52 KB
Del
OK
12.style.rtl.css
1.52 KB
Del
OK
14.style.css
2.25 KB
Del
OK
14.style.rtl.css
2.25 KB
Del
OK
17.style.css
5.36 KB
Del
OK
17.style.rtl.css
5.37 KB
Del
OK
2.js
9.57 KB
Del
OK
25.style.css
6.38 KB
Del
OK
25.style.rtl.css
6.38 KB
Del
OK
26.style.css
3.59 KB
Del
OK
26.style.rtl.css
3.59 KB
Del
OK
3.js
17.4 KB
Del
OK
3.js.LICENSE.txt
182 B
Del
OK
31.style.css
37.28 KB
Del
OK
31.style.rtl.css
37.29 KB
Del
OK
32.style.css
1.97 KB
Del
OK
32.style.rtl.css
1.97 KB
Del
OK
34.style.css
11.51 KB
Del
OK
34.style.rtl.css
11.51 KB
Del
OK
4.style.css
2.16 KB
Del
OK
4.style.rtl.css
2.16 KB
Del
OK
44.style.css
2.67 KB
Del
OK
44.style.rtl.css
2.67 KB
Del
OK
46.style.css
21.09 KB
Del
OK
46.style.rtl.css
21.1 KB
Del
OK
47.style.css
5.29 KB
Del
OK
47.style.rtl.css
5.28 KB
Del
OK
48.style.css
1.9 KB
Del
OK
48.style.rtl.css
1.9 KB
Del
OK
49.style.css
6.37 KB
Del
OK
49.style.rtl.css
6.37 KB
Del
OK
5.style.css
10.82 KB
Del
OK
5.style.rtl.css
10.81 KB
Del
OK
6.style.css
1.45 KB
Del
OK
6.style.rtl.css
1.45 KB
Del
OK
7.style.css
1.52 KB
Del
OK
7.style.rtl.css
1.52 KB
Del
OK
9.style.css
2.25 KB
Del
OK
9.style.rtl.css
2.25 KB
Del
OK
activity-panels-help.js
9.94 KB
Del
OK
activity-panels-inbox.js
8.64 KB
Del
OK
analytics-report-categories.js
14.03 KB
Del
OK
analytics-report-coupons.js
7.59 KB
Del
OK
analytics-report-customers.js
23.26 KB
Del
OK
analytics-report-downloads.js
8.6 KB
Del
OK
analytics-report-orders.js
12.88 KB
Del
OK
analytics-report-products.js
16.43 KB
Del
OK
analytics-report-revenue.js
6.92 KB
Del
OK
analytics-report-stock.js
14.85 KB
Del
OK
analytics-report-taxes.js
7.08 KB
Del
OK
analytics-report-variations.js
10.21 KB
Del
OK
analytics-report.js
1.94 KB
Del
OK
analytics-settings.js
16.97 KB
Del
OK
customizable-dashboard.js
14.77 KB
Del
OK
dashboard-charts.js
33.82 KB
Del
OK
dashboard.js
450 B
Del
OK
homescreen.js
137.33 KB
Del
OK
leaderboards.js
4.9 KB
Del
OK
marketing-overview.js
73.23 KB
Del
OK
payment-recommendations.js
5.56 KB
Del
OK
profile-wizard.js
70.34 KB
Del
OK
store-alerts.js
5.28 KB
Del
OK
store-performance.js
4.71 KB
Del
OK
task-list.js
69.13 KB
Del
OK
wcpay-usage-modal.js
3.83 KB
Del
OK
Edit: analytics-report-variations.js
(window.__wcAdmin_webpackJsonp=window.__wcAdmin_webpackJsonp||[]).push([[16],{478:function(e,t,o){"use strict";o.r(t);var r=o(0),a=o(2),c=o(1),i=o.n(c),n=o(30),s=o(7),m=o(498),l=o(53);const{addCesSurveyForAnalytics:d}=Object(s.dispatch)(l.c),u=Object(n.applyFilters)("woocommerce_admin_variations_report_charts",[{key:"items_sold",label:Object(a.__)("Items Sold",'woocommerce'),order:"desc",orderby:"items_sold",type:"number"},{key:"net_revenue",label:Object(a.__)("Net Sales",'woocommerce'),order:"desc",orderby:"net_revenue",type:"currency"},{key:"orders_count",label:Object(a.__)("Orders",'woocommerce'),order:"desc",orderby:"orders_count",type:"number"}]),b=Object(n.applyFilters)("woocommerce_admin_variations_report_filters",[{label:Object(a.__)("Show",'woocommerce'),staticParams:["chartType","paged","per_page"],param:"filter-variations",showFilters:()=>!0,filters:[{label:Object(a.__)("All Variations",'woocommerce'),chartMode:"item-comparison",value:"all"},{label:Object(a.__)("Single Variation",'woocommerce'),value:"select_variation",subFilters:[{component:"Search",value:"single_variation",path:["select_variation"],settings:{type:"variations",param:"variations",getLabels:m.g,labels:{placeholder:Object(a.__)("Type to search for a variation",'woocommerce'),button:Object(a.__)("Single Variation",'woocommerce')}}}]},{label:Object(a.__)("Comparison",'woocommerce'),chartMode:"item-comparison",value:"compare-variations",settings:{type:"variations",param:"variations",getLabels:m.g,labels:{helpText:Object(a.__)("Check at least two variations below to compare",'woocommerce'),placeholder:Object(a.__)("Search for variations to compare",'woocommerce'),title:Object(a.__)("Compare Variations",'woocommerce'),update:Object(a.__)("Compare",'woocommerce')},onClick:d}},{label:Object(a.__)("Advanced Filters",'woocommerce'),value:"advanced"}]}]),_=Object(n.applyFilters)("woocommerce_admin_variations_report_advanced_filters",{title:Object(a._x)("Variations Match {{select /}} Filters","A sentence describing filters for Variations. See screen shot for context: https://cloudup.com/cSsUY9VeCVJ",'woocommerce'),filters:{attribute:{allowMultiple:!0,labels:{add:Object(a.__)("Attribute",'woocommerce'),placeholder:Object(a.__)("Search attributes",'woocommerce'),remove:Object(a.__)("Remove attribute filter",'woocommerce'),rule:Object(a.__)("Select a product attribute filter match",'woocommerce'),title:Object(a.__)("{{title}}Attribute{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select attributes",'woocommerce')},rules:[{value:"is",label:Object(a._x)("Is","product attribute",'woocommerce')},{value:"is_not",label:Object(a._x)("Is Not","product attribute",'woocommerce')}],input:{component:"ProductAttribute"}},category:{labels:{add:Object(a.__)("Categories",'woocommerce'),placeholder:Object(a.__)("Search categories",'woocommerce'),remove:Object(a.__)("Remove categories filter",'woocommerce'),rule:Object(a.__)("Select a category filter match",'woocommerce'),title:Object(a.__)("{{title}}Category{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select categories",'woocommerce')},rules:[{value:"includes",label:Object(a._x)("Includes","categories",'woocommerce')},{value:"excludes",label:Object(a._x)("Excludes","categories",'woocommerce')}],input:{component:"Search",type:"categories",getLabels:m.a}},product:{labels:{add:Object(a.__)("Products",'woocommerce'),placeholder:Object(a.__)("Search products",'woocommerce'),remove:Object(a.__)("Remove products filter",'woocommerce'),rule:Object(a.__)("Select a product filter match",'woocommerce'),title:Object(a.__)("{{title}}Product{{/title}} {{rule /}} {{filter /}}",'woocommerce'),filter:Object(a.__)("Select products",'woocommerce')},rules:[{value:"includes",label:Object(a._x)("Includes","products",'woocommerce')},{value:"excludes",label:Object(a._x)("Excludes","products",'woocommerce')}],input:{component:"Search",type:"variableProducts",getLabels:m.d}}}});var p=o(504),v=o(503),j=o(500),O=o(505),y=o(529),w=o(501);const f=e=>{const{itemsLabel:t,mode:o}=(({query:e})=>{const t="compare-variations"===e["filter-variations"]&&e.variations&&e.variations.split(",").length>1;return{compareObject:"variations",itemsLabel:Object(a.__)("%d variations",'woocommerce'),mode:t?"item-comparison":"time-comparison"}})(e),{path:c,query:i,isError:n,isRequesting:s}=e;if(n)return Object(r.createElement)(j.a,null);const m={...i};return"item-comparison"===o&&(m.segmentby="variation"),Object(r.createElement)(r.Fragment,null,Object(r.createElement)(w.a,{query:i,path:c,filters:b,advancedFilters:_,report:"variations"}),Object(r.createElement)(O.a,{mode:o,charts:u,endpoint:"variations",isRequesting:s,query:m,selectedChart:Object(p.a)(i.chart,u),filters:b,advancedFilters:_}),Object(r.createElement)(v.a,{charts:u,mode:o,filters:b,advancedFilters:_,endpoint:"variations",isRequesting:s,itemsLabel:t,path:c,query:m,selectedChart:Object(p.a)(m.chart,u)}),Object(r.createElement)(y.a,{isRequesting:s,query:i,filters:b,advancedFilters:_}))};f.propTypes={path:i.a.string.isRequired,query:i.a.object.isRequired};t.default=f},498:function(e,t,o){"use strict";o.d(t,"e",(function(){return d})),o.d(t,"a",(function(){return u})),o.d(t,"b",(function(){return b})),o.d(t,"c",(function(){return _})),o.d(t,"d",(function(){return p})),o.d(t,"f",(function(){return v})),o.d(t,"h",(function(){return j})),o.d(t,"g",(function(){return O}));var r=o(14),a=o(17),c=o.n(a),i=o(3),n=o(12),s=o(11),m=o(15),l=o(499);function d(e,t=i.identity){return function(o="",a){const i="function"==typeof e?e(a):e,s=Object(n.getIdsFromQuery)(o);if(s.length<1)return Promise.resolve([]);const m={include:s.join(","),per_page:s.length};return c()({path:Object(r.addQueryArgs)(i,m)}).then(e=>e.map(t))}}d(s.NAMESPACE+"/products/attributes",e=>({key:e.id,label:e.name}));const u=d(s.NAMESPACE+"/products/categories",e=>({key:e.id,label:e.name})),b=d(s.NAMESPACE+"/coupons",e=>({key:e.id,label:e.code})),_=d(s.NAMESPACE+"/customers",e=>({key:e.id,label:e.name})),p=d(s.NAMESPACE+"/products",e=>({key:e.id,label:e.name})),v=d(s.NAMESPACE+"/taxes",e=>({key:e.id,label:Object(l.a)(e)}));function j({attributes:e,name:t}){const o=Object(m.f)("variationTitleAttributesSeparator"," - ");if(t.indexOf(o)>-1)return t;const r=e.map(({option:e})=>e).join(", ");return r?t+o+r:t}const O=d(({products:e})=>e?s.NAMESPACE+`/products/${e}/variations`:s.NAMESPACE+"/variations",e=>({key:e.id,label:j(e)}))},499:function(e,t,o){"use strict";o.d(t,"a",(function(){return a}));var r=o(2);function a(e){return[e.country,e.state,e.name||Object(r.__)("TAX",'woocommerce'),e.priority].map(e=>e.toString().toUpperCase().trim()).filter(Boolean).join("-")}},509:function(e,t,o){"use strict";function r(e,t,o){return!!t&&(e&&t<=o==="instock")}o.d(t,"a",(function(){return r}))},529:function(e,t,o){"use strict";var r=o(0),a=o(2),c=o(3),i=o(21),n=o(12),s=o(120),m=o(15),l=o(502),d=o(509),u=o(497),b=o(498);const _=Object(m.f)("manageStock","no"),p=Object(m.f)("stockStatuses",{});class v extends r.Component{constructor(){super(),this.getHeadersContent=this.getHeadersContent.bind(this),this.getRowsContent=this.getRowsContent.bind(this),this.getSummary=this.getSummary.bind(this)}getHeadersContent(){return[{label:Object(a.__)("Product / Variation Title",'woocommerce'),key:"name",required:!0,isLeftAligned:!0},{label:Object(a.__)("SKU",'woocommerce'),key:"sku",hiddenByDefault:!0,isSortable:!0},{label:Object(a.__)("Items Sold",'woocommerce'),key:"items_sold",required:!0,defaultSort:!0,isSortable:!0,isNumeric:!0},{label:Object(a.__)("Net Sales",'woocommerce'),screenReaderLabel:Object(a.__)("Net Sales",'woocommerce'),key:"net_revenue",required:!0,isSortable:!0,isNumeric:!0},{label:Object(a.__)("Orders",'woocommerce'),key:"orders_count",isSortable:!0,isNumeric:!0},"yes"===_?{label:Object(a.__)("Status",'woocommerce'),key:"stock_status"}:null,"yes"===_?{label:Object(a.__)("Stock",'woocommerce'),key:"stock",isNumeric:!0}:null].filter(Boolean)}getRowsContent(e=[]){const{query:t}=this.props,o=Object(n.getPersistedQuery)(t),{formatAmount:l,formatDecimal:u,getCurrencyConfig:v}=this.context;return Object(c.map)(e,e=>{const{items_sold:t,net_revenue:c,orders_count:j,product_id:O,variation_id:y}=e,w=e.extended_info||{},{stock_status:f,stock_quantity:h,low_stock_amount:g,sku:S}=w,k=(C=e,Object(b.h)(C.extended_info||{}));var C;const A=Object(n.getNewPath)(o,"/analytics/orders",{filter:"advanced",variation_includes:y}),E=Object(m.e)(`post.php?post=${O}&action=edit`);return[{display:Object(r.createElement)(i.Link,{href:E,type:"wp-admin"},k),value:k},{display:S,value:S},{display:Object(s.formatValue)(v(),"number",t),value:t},{display:l(c),value:u(c)},{display:Object(r.createElement)(i.Link,{href:A,type:"wc-admin"},j),value:j},"yes"===_?{display:Object(d.a)(f,h,g)?Object(r.createElement)(i.Link,{href:E,type:"wp-admin"},Object(a._x)("Low","Indication of a low quantity",'woocommerce')):p[f],value:p[f]}:null,"yes"===_?{display:h,value:h}:null].filter(Boolean)})}getSummary(e){const{variations_count:t=0,items_sold:o=0,net_revenue:r=0,orders_count:c=0}=e,{formatAmount:i,getCurrencyConfig:n}=this.context,m=n();return[{label:Object(a._n)("variation sold","variations sold",t,'woocommerce'),value:Object(s.formatValue)(m,"number",t)},{label:Object(a._n)("item sold","items sold",o,'woocommerce'),value:Object(s.formatValue)(m,"number",o)},{label:Object(a.__)("net sales",'woocommerce'),value:i(r)},{label:Object(a._n)("orders","orders",c,'woocommerce'),value:Object(s.formatValue)(m,"number",c)}]}render(){const{advancedFilters:e,baseSearchQuery:t,filters:o,isRequesting:c,query:i}=this.props,n={helpText:Object(a.__)("Check at least two variations below to compare",'woocommerce'),placeholder:Object(a.__)("Search by variation name or SKU",'woocommerce')};return Object(r.createElement)(l.a,{baseSearchQuery:t,compareBy:"variations",compareParam:"filter-variations",endpoint:"variations",getHeadersContent:this.getHeadersContent,getRowsContent:this.getRowsContent,isRequesting:c,itemIdField:"variation_id",labels:n,query:i,getSummary:this.getSummary,summaryFields:["variations_count","items_sold","net_revenue","orders_count"],tableQuery:{orderby:i.orderby||"items_sold",order:i.order||"desc",extended_info:!0,product_includes:i.products,variations:i.variations},title:Object(a.__)("Variations",'woocommerce'),columnPrefsKey:"variations_report_columns",filters:o,advancedFilters:e})}}v.contextType=u.a,t.a=v}}]);
Save