@dropins/storefront-checkout 0.1.0-alpha7 → 0.1.0-alpha8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/139.js +1 -0
- package/213.js +1 -1
- package/292.js +2 -0
- package/350.js +2 -0
- package/357.js +1 -1
- package/393.js +2 -0
- package/393.js.LICENSE.txt +1 -0
- package/4.js +1 -0
- package/41.js +1 -1
- package/43.js +1 -0
- package/483.js +2 -0
- package/483.js.LICENSE.txt +1 -0
- package/494.js +1 -1
- package/516.js +1 -1
- package/549.js +1 -1
- package/584.js +1 -0
- package/636.js +1 -1
- package/687.js +1 -1
- package/693.js +1 -1
- package/731.js +1 -1
- package/802.js +2 -0
- package/802.js.LICENSE.txt +1 -0
- package/805.js +1 -1
- package/88.js +1 -1
- package/api.js +1 -1
- package/api.js.LICENSE.txt +2 -0
- package/containers/BillToShippingAddress.js +1 -1
- package/containers/BillingForm.js +1 -1
- package/containers/Checkout.js +1 -1
- package/containers/LoginForm.js +1 -1
- package/containers/OrderSummary.js +1 -1
- package/containers/PaymentMethods.js +1 -1
- package/containers/PlaceOrder.js +1 -1
- package/containers/ShippingForm.js +1 -1
- package/containers/ShippingMethods.js +1 -1
- package/package.json +1 -1
- package/render.js +1 -1
- package/103.js +0 -1
- package/215.js +0 -1
- package/261.js +0 -2
- package/405.js +0 -1
- package/565.js +0 -2
- package/599.js +0 -1
- package/621.js +0 -1
- package/757.js +0 -1
- /package/{261.js.LICENSE.txt → 292.js.LICENSE.txt} +0 -0
- /package/{565.js.LICENSE.txt → 350.js.LICENSE.txt} +0 -0
package/757.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export const id=757;export const ids=[757];export const modules={5587:(t,r,e)=>{function n(t,r){(null==r||r>t.length)&&(r=t.length);for(var e=0,n=new Array(r);e<r;e++)n[e]=t[e];return n}e.d(r,{S:()=>o});var o=function(t){return t.reduce((function(t,r){if(!r)return t;if("string"==typeof r&&(t+=" ".concat(r)),Array.isArray(r)){var e=(u=2,function(t){if(Array.isArray(t))return t}(a=r)||function(t,r){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var n,o,i,a,u=[],l=!0,c=!1;try{if(i=(e=e.call(t)).next,0===r){if(Object(e)!==e)return;l=!1}else for(;!(l=(n=i.call(e)).done)&&(u.push(n.value),u.length!==r);l=!0);}catch(t){c=!0,o=t}finally{try{if(!l&&null!=e.return&&(a=e.return(),Object(a)!==a))return}finally{if(c)throw o}}return u}}(a,u)||function(t,r){if(t){if("string"==typeof t)return n(t,r);var e=Object.prototype.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?n(t,r):void 0}}(a,u)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),o=e[0],i=e[1];o&&i&&(t+=" ".concat(o))}var a,u;return t}),"").trim()}},3476:t=>{t.exports=function(t){var r=[];return r.toString=function(){return this.map((function(r){var e="",n=void 0!==r[5];return r[4]&&(e+="@supports (".concat(r[4],") {")),r[2]&&(e+="@media ".concat(r[2]," {")),n&&(e+="@layer".concat(r[5].length>0?" ".concat(r[5]):""," {")),e+=t(r),n&&(e+="}"),r[2]&&(e+="}"),r[4]&&(e+="}"),e})).join("")},r.i=function(t,e,n,o,i){"string"==typeof t&&(t=[[null,t,void 0]]);var a={};if(n)for(var u=0;u<this.length;u++){var l=this[u][0];null!=l&&(a[l]=!0)}for(var c=0;c<t.length;c++){var p=[].concat(t[c]);n&&a[p[0]]||(void 0!==i&&(void 0===p[5]||(p[1]="@layer".concat(p[5].length>0?" ".concat(p[5]):""," {").concat(p[1],"}")),p[5]=i),e&&(p[2]?(p[1]="@media ".concat(p[2]," {").concat(p[1],"}"),p[2]=e):p[2]=e),o&&(p[4]?(p[1]="@supports (".concat(p[4],") {").concat(p[1],"}"),p[4]=o):p[4]="".concat(o)),r.push(p))}},r}},4933:t=>{t.exports=function(t){return t[1]}},3152:function(t){t.exports=function(t,r,e,n,o){for(r=r.split?r.split("."):r,n=0;n<r.length;n++)t=t?t[r[n]]:o;return t===o?e:t}},9724:(t,r,e)=>{e.d(r,{fH:()=>v,Pj:()=>x,bp:()=>M,xv:()=>S,XK:()=>N,zB:()=>L});var n,o=e(3474),i=e(5437),a=e(3152),u=e.n(a),l={};function c(t,r,e){if(3===t.nodeType){var n="textContent"in t?t.textContent:t.nodeValue||"";if(!1!==c.options.trim){var o=0===r||r===e.length-1;if((!(n=n.match(/^[\s\n]+$/g)&&"all"!==c.options.trim?" ":n.replace(/(^[\s\n]+|[\s\n]+$)/g,"all"===c.options.trim||o?"":" "))||" "===n)&&e.length>1&&o)return null}return n}if(1!==t.nodeType)return null;var i=String(t.nodeName).toLowerCase();if("script"===i&&!c.options.allowScripts)return null;var a,u,l=c.h(i,function(t){var r=t&&t.length;if(!r)return null;for(var e={},n=0;n<r;n++){var o=t[n],i=o.name,a=o.value;"on"===i.substring(0,2)&&c.options.allowEvents&&(a=new Function(a)),e[i]=a}return e}(t.attributes),(u=(a=t.childNodes)&&Array.prototype.map.call(a,c).filter(s))&&u.length?u:null);return c.visitor&&c.visitor(l),l}var p,s=function(t){return t},f={};function d(t){var r=(t.type||"").toLowerCase(),e=d.map;e&&e.hasOwnProperty(r)?(t.type=e[r],t.props=Object.keys(t.props||{}).reduce((function(r,e){var n;return r[(n=e,n.replace(/-(.)/g,(function(t,r){return r.toUpperCase()})))]=t.props[e],r}),{})):t.type=r.replace(/[^a-z0-9-]/i,"")}const m=function(t){function r(){t.apply(this,arguments)}return t&&(r.__proto__=t),(r.prototype=Object.create(t&&t.prototype)).constructor=r,r.setReviver=function(t){p=t},r.prototype.shouldComponentUpdate=function(t){var r=this.props;return t.wrap!==r.wrap||t.type!==r.type||t.markup!==r.markup},r.prototype.setComponents=function(t){if(this.map={},t)for(var r in t)if(t.hasOwnProperty(r)){var e=r.replace(/([A-Z]+)([A-Z][a-z0-9])|([a-z0-9]+)([A-Z])/g,"$1$3-$2$4").toLowerCase();this.map[e]=t[r]}},r.prototype.render=function(t){var r=t.wrap;void 0===r&&(r=!0);var e,i=t.type,a=t.markup,u=t.components,s=t.reviver,m=t.onError,v=t["allow-scripts"],h=t["allow-events"],y=t.trim,g=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===r.indexOf(n)&&(e[n]=t[n]);return e}(t,["wrap","type","markup","components","reviver","onError","allow-scripts","allow-events","trim"]),b=s||this.reviver||this.constructor.prototype.reviver||p||o.h;this.setComponents(u);var x={allowScripts:v,allowEvents:h,trim:y};try{e=function(t,r,e,o,i){var a=function(t,r){var e,o,i,a,u="html"===r?"text/html":"application/xml";"html"===r?(a="body",i="<!DOCTYPE html>\n<html><body>"+t+"</body></html>"):(a="xml",i='<?xml version="1.0" encoding="UTF-8"?>\n<xml>'+t+"</xml>");try{e=(new DOMParser).parseFromString(i,u)}catch(t){o=t}if(e||"html"!==r||((e=n||(n=function(){if(document.implementation&&document.implementation.createHTMLDocument)return document.implementation.createHTMLDocument("");var t=document.createElement("iframe");return t.style.cssText="position:absolute; left:0; top:-999em; width:1px; height:1px; overflow:hidden;",t.setAttribute("sandbox","allow-forms"),document.body.appendChild(t),t.contentWindow.document}())).open(),e.write(i),e.close()),e){var l=e.getElementsByTagName(a)[0],c=l.firstChild;return t&&!c&&(l.error="Document parse failed."),c&&"parsererror"===String(c.nodeName).toLowerCase()&&(c.removeChild(c.firstChild),c.removeChild(c.lastChild),l.error=c.textContent||c.nodeValue||o||"Unknown error",l.removeChild(c)),l}}(t,r);if(a&&a.error)throw new Error(a.error);var u=a&&a.body||a;d.map=o||f;var p=u&&function(t,r,e,n){return c.visitor=r,c.h=e,c.options=n||l,c(t)}(u,d,e,i);return d.map=null,p&&p.props&&p.props.children||null}(a,i,b,this.map,x)}catch(t){m?m({error:t}):"undefined"!=typeof console&&console.error&&console.error("preact-markup: "+t)}if(!1===r)return e||null;var w=g.hasOwnProperty("className")?"className":"class",C=g[w];return C?C.splice?C.splice(0,0,"markup"):"string"==typeof C?g[w]+=" markup":"object"==typeof C&&(C.markup=!0):g[w]="markup",b("div",g,e||null)},r}(o.Component);var v=(0,o.createContext)({intl:{}});function h(t){return null!=t}function y(t,r){for(var e in r)t[e]=r[e];return t}function g(t,r){var e=y({},t);for(var n in r)r.hasOwnProperty(n)&&(t[n]&&r[n]&&"object"==typeof t[n]&&"object"==typeof r[n]?e[n]=g(t[n],r[n]):e[n]=t[n]||r[n]);return e}var b=/[?&#]intl=show/;function x(t){var r=t.scope,e=t.mark,n=t.definition,a=function(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===r.indexOf(n)&&(e[n]=t[n]);return e}(t,["scope","mark","definition"]),u=y({},(0,i.useContext)(v).intl||{});return r&&(u.scope=r),n&&(u.dictionary=g(u.dictionary||{},n)),(e||"undefined"!=typeof location&&String(location).match(b))&&(u.mark=!0),(0,o.h)(v.Provider,{value:{intl:u}},a.children)}function w(t,r){if(arguments.length<2)return r=t,function(t){return w(t,r)};function e(e){return(0,o.h)(x,r||{},(0,o.h)(t,e))}return e.getWrappedComponent=t&&t.getWrappedComponent||function(){return t},e}var C={};function j(t,r,e,n){return t&&t.replace(/\{\{([\w.-]+)\}\}/g,O.bind(null,r||C,e,n))}function O(t,r,e,n,o){for(var i=o.split("."),a=t,u=0;u<i.length;u++){if(null==(a=a[i[u]]))return"";if(a&&a.type===S)return k(a.props.id,r,e,a.props.fields,a.props.plural,a.props.fallback)}return"string"==typeof a&&a.match(/\{\{/)&&(a=j(a,t)),a}function k(t,r,e,n,o,i){r&&(t=r+"."+t);var a=e&&u()(e,t);return(o||0===o)&&a&&"object"==typeof a&&(a=a.splice?a[o]||a[0]:0===o&&h(a.none||a.zero)?a.none||a.zero:1===o&&h(a.one||a.singular)?a.one||a.singular:a.some||a.many||a.plural||a.other||a),a&&j(a,n,r,e)||i||null}function T(t){var r=t.value,e=t.id,n=(0,i.useContext)(v).intl;if(n&&n.mark){var a="dictionary"+(n&&n.scope?"."+n.scope:"")+"."+e;return(0,o.h)("mark",{style:{background:r?u()(n,a)?"rgba(119,231,117,.5)":"rgba(229,226,41,.5)":"rgba(228,147,51,.5)"},title:e},r)}return r}function S(t){var r=t.id,e=t.children,n=t.plural,a=t.fields,u=(0,i.useContext)(v).intl,l=k(r,u&&u.scope,u&&u.dictionary,a,n,e);return(0,o.h)(T,{id:r,value:l})}function A(t,r,e){var n={};for(var o in r=r||{},t=function(t){if("string"==typeof(t=t||{})&&(t=t.split(",")),"join"in t){for(var r={},e=0;e<t.length;e++){var n=t[e].trim();n&&(r[n.split(".").pop()]=n)}return r}return t}(t),t)if(t.hasOwnProperty(o)&&t[o]){var i=t[o];e||"string"!=typeof i?i.type===S&&(i=y({fallback:i.props.children},i.props),n[o]=k(i.id,r.scope,r.dictionary,i.fields,i.plural,i.fallback)):n[o]=k(i,r.scope,r.dictionary)}return n}function E(t){var r=t.children,e=(0,i.useContext)(v).intl;return r&&r.length?r.map((function(t){return(0,o.cloneElement)(t,A(t.props,e,!0))})):r&&(0,o.cloneElement)(r,A(r.props,e,!0))}function P(t,r){var e={};for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&-1===r.indexOf(n)&&(e[n]=t[n]);return e}function M(t){var r=t.id,e=t.fields,n=t.plural,i=t.children,a=P(t,["id","fields","plural","children"]);return(0,o.h)(E,null,(0,o.h)(I,Object.assign({},{html:(0,o.h)(S,{id:r,fields:e,plural:n,children:i}),id:r},a)))}function I(t){var r=t.html,e=t.id,n=P(t,["html","id"]);return(0,o.h)(T,{id:e,value:r?"string"==typeof r?(0,o.h)(m,Object.assign({},{type:"html",trim:!1},n,{markup:r})):(0,o.h)("span",null,r):r})}function L(t){return function(r){function e(e,n){var a=(0,i.useContext)(v).intl,u=A("function"==typeof t?t(e,{intl:a}):t,a);return(0,o.h)(r,y(y({},e),u))}return e.getWrappedComponent=r&&r.getWrappedComponent||function(){return r},e}}function N(t){var r=(0,i.useContext)(v).intl;return A("function"==typeof t?t({intl:r}):t,r)}w.intl=w,w.IntlContext=v,w.IntlProvider=x,w.Text=S,w.MarkupText=M,w.Localizer=E,w.withText=L,w.useText=N,w.translate=k},1892:t=>{var r=[];function e(t){for(var e=-1,n=0;n<r.length;n++)if(r[n].identifier===t){e=n;break}return e}function n(t,n){for(var i={},a=[],u=0;u<t.length;u++){var l=t[u],c=n.base?l[0]+n.base:l[0],p=i[c]||0,s="".concat(c," ").concat(p);i[c]=p+1;var f=e(s),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==f)r[f].references++,r[f].updater(d);else{var m=o(d,n);n.byIndex=u,r.splice(u,0,{identifier:s,updater:m,references:1})}a.push(s)}return a}function o(t,r){var e=r.domAPI(r);return e.update(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap&&r.supports===t.supports&&r.layer===t.layer)return;e.update(t=r)}else e.remove()}}t.exports=function(t,o){var i=n(t=t||[],o=o||{});return function(t){t=t||[];for(var a=0;a<i.length;a++){var u=e(i[a]);r[u].references--}for(var l=n(t,o),c=0;c<i.length;c++){var p=e(i[c]);0===r[p].references&&(r[p].updater(),r.splice(p,1))}i=l}}},8311:t=>{var r={};t.exports=function(t,e){var n=function(t){if(void 0===r[t]){var e=document.querySelector(t);if(window.HTMLIFrameElement&&e instanceof window.HTMLIFrameElement)try{e=e.contentDocument.head}catch(t){e=null}r[t]=e}return r[t]}(t);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(e)}},8060:t=>{t.exports=function(t){var r=document.createElement("style");return t.setAttributes(r,t.attributes),t.insert(r,t.options),r}},8192:(t,r,e)=>{t.exports=function(t){var r=e.nc;r&&t.setAttribute("nonce",r)}},5760:t=>{t.exports=function(t){if("undefined"==typeof document)return{update:function(){},remove:function(){}};var r=t.insertStyleElement(t);return{update:function(e){!function(t,r,e){var n="";e.supports&&(n+="@supports (".concat(e.supports,") {")),e.media&&(n+="@media ".concat(e.media," {"));var o=void 0!==e.layer;o&&(n+="@layer".concat(e.layer.length>0?" ".concat(e.layer):""," {")),n+=e.css,o&&(n+="}"),e.media&&(n+="}"),e.supports&&(n+="}");var i=e.sourceMap;i&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),r.styleTagTransform(n,t,r.options)}(r,t,e)},remove:function(){!function(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t)}(r)}}}},4865:t=>{t.exports=function(t,r){if(r.styleSheet)r.styleSheet.cssText=t;else{for(;r.firstChild;)r.removeChild(r.firstChild);r.appendChild(document.createTextNode(t))}}},7188:(t,r,e)=>{e(4853);var n=e(4142);e.o(n,"Fragment")&&e.d(r,{Fragment:function(){return n.Fragment}}),e.o(n,"jsx")&&e.d(r,{jsx:function(){return n.jsx}}),e.o(n,"jsxs")&&e.d(r,{jsxs:function(){return n.jsxs}})}};
|
|
File without changes
|
|
File without changes
|