@janiscommerce/ui-web 0.0.15 → 0.1.0
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/index.umd.js +572 -67
- package/index.umd.js.map +1 -1
- package/package.json +1 -1
package/index.umd.js
CHANGED
|
@@ -75,8 +75,8 @@
|
|
|
75
75
|
return obj;
|
|
76
76
|
}
|
|
77
77
|
|
|
78
|
-
function _extends$
|
|
79
|
-
_extends$
|
|
78
|
+
function _extends$2() {
|
|
79
|
+
_extends$2 = Object.assign || function (target) {
|
|
80
80
|
for (var i = 1; i < arguments.length; i++) {
|
|
81
81
|
var source = arguments[i];
|
|
82
82
|
|
|
@@ -90,7 +90,7 @@
|
|
|
90
90
|
return target;
|
|
91
91
|
};
|
|
92
92
|
|
|
93
|
-
return _extends$
|
|
93
|
+
return _extends$2.apply(this, arguments);
|
|
94
94
|
}
|
|
95
95
|
|
|
96
96
|
function _inherits$2(subClass, superClass) {
|
|
@@ -140,7 +140,7 @@
|
|
|
140
140
|
}
|
|
141
141
|
}
|
|
142
142
|
|
|
143
|
-
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
143
|
+
function _objectWithoutPropertiesLoose$1(source, excluded) {
|
|
144
144
|
if (source == null) return {};
|
|
145
145
|
var target = {};
|
|
146
146
|
var sourceKeys = Object.keys(source);
|
|
@@ -158,7 +158,7 @@
|
|
|
158
158
|
function _objectWithoutProperties(source, excluded) {
|
|
159
159
|
if (source == null) return {};
|
|
160
160
|
|
|
161
|
-
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
161
|
+
var target = _objectWithoutPropertiesLoose$1(source, excluded);
|
|
162
162
|
|
|
163
163
|
var key, i;
|
|
164
164
|
|
|
@@ -2564,7 +2564,7 @@
|
|
|
2564
2564
|
|
|
2565
2565
|
var hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
2566
2566
|
|
|
2567
|
-
function y(){return (y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}var v$1=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},g$1=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!reactIs$2.exports.typeOf(t)},S=Object.freeze([]),w$1=Object.freeze({});function E(e){return "function"==typeof e}function b$1(e){return e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N$1="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,I=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production");function D(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&D(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++);},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n);}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+=this.tag.getRule(s)+"/*!sc*/\n";return t},e}(),T$1=new Map,x$1=new Map,k=1,V$1=function(e){if(T$1.has(e))return T$1.get(e);for(;x$1.has(k);)k++;var t=k++;return T$1.set(e,t),x$1.set(t,e),t},z$1=function(e){return x$1.get(e)},B$1=function(e,t){t>=k&&(k=t+1),T$1.set(e,t),x$1.set(t,e);},M="style["+N$1+'][data-styled-version="5.3.5"]',G$1=new RegExp("^"+N$1+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L$1=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r);},F=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,s=n.length;o<s;o++){var i=n[o].trim();if(i){var a=i.match(G$1);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(B$1(u,c),L$1(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0;}else r.push(i);}}},Y=function(){return "undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},q$1=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(N$1))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(N$1,"active"),r.setAttribute("data-styled-version","5.3.5");var i=Y();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},H=function(){function e(e){var t=this.element=q$1(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}D(17);}(t),this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),$$1=function(){function e(e){var t=this.element=q$1(e);this.nodes=t.childNodes,this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return !1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),W=function(){function e(e){this.rules=[],this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--;},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=C,J$1={isServer:!C,useCSSOMInjection:!I},X$1=function(){function e(e,t,n){void 0===e&&(e=w$1),void 0===t&&(t={}),this.options=y({},J$1,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&C&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(M),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(N$1)&&(F(e,o),o.parentNode&&o.parentNode.removeChild(o));}}(this));}e.registerId=function(e){return V$1(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(y({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new W(o):r?new H(o):new $$1(o),new j(e)));var e,t,n,r,o;},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(V$1(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(V$1(e),n);},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},t.clearRules=function(e){this.getTag().clearGroup(V$1(e)),this.clearNames(e);},t.clearTag=function(){this.tag=void 0;},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var s=z$1(o);if(void 0!==s){var i=e.names.get(s),a=t.getGroup(o);if(i&&a&&i.size){var c=N$1+".g"+o+'[id="'+s+'"]',u="";void 0!==i&&i.forEach((function(e){e.length>0&&(u+=e+",");})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n';}}}return r}(this)},e}(),Z=/(a)(d)/gi,K$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function Q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=K$1(t%52)+n;return (K$1(t%52)+n).replace(Z,"$1-$2")}var ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},te=function(e){return ee(5381,e)};function ne(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(E(n)&&!_(n))return !1}return !0}var re=te("5.3.5"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,X$1.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else {var s=_e(this.rules,e,t,n).join(""),i=Q(ee(this.baseHash,s)>>>0);if(!t.hasNameForId(r,i)){var a=n(s,"."+i,void 0,r);t.insertRules(r,i,a);}o.push(i),this.staticRulesId=i;}else {for(var c=this.rules.length,u=ee(this.baseHash,n.hash),l="",d=0;d<c;d++){var h=this.rules[d];if("string"==typeof h)l+=h;else if(h){var p=_e(h,e,t,n),f=Array.isArray(p)?p.join(""):p;u=ee(u,f+d),l+=f;}}if(l){var m=Q(u>>>0);if(!t.hasNameForId(r,m)){var y=n(l,"."+m,void 0,r);t.insertRules(r,m,y);}o.push(m);}}return o.join(" ")},e}(),se=/^\s*\/\/.*$/gm,ie=[":","[",".","#"];function ae(e){var t,n,r,o,s=void 0===e?w$1:e,i=s.options,a=void 0===i?w$1:i,c=s.plugins,u=void 0===c?S:c,l=new stylis_min(a),d=[],p=function(e){function t(t){if(t)try{e(t+"}");}catch(e){}}return function(n,r,o,s,i,a,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t);}}}((function(e){d.push(e);})),f=function(e,r,s){return 0===r&&-1!==ie.indexOf(s[n.length])||s.match(o)?e:"."+t};function m(e,s,i,a){void 0===a&&(a="&");var c=e.replace(se,""),u=s&&i?i+" "+s+" { "+c+" }":c;return t=a,n=s,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(i||!s?"":s,u)}return l.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f));},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||D(15),ee(e,t.name)}),5381).toString():"",m}var ce=React__default["default"].createContext();ce.Consumer;var le=React__default["default"].createContext(),de=(le.Consumer,new X$1),he=ae();function pe(){return React.useContext(ce)||de}function fe(){return React.useContext(le)||he}var ye=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=he);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"));},this.toString=function(){return D(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t;}return e.prototype.getName=function(e){return void 0===e&&(e=he),this.name+e.hash},e}(),ve=/([A-Z])/,ge=/([A-Z])/g,Se=/^ms-/,we=function(e){return "-"+e.toLowerCase()};function Ee(e){return ve.test(e)?e.replace(ge,we).replace(Se,"-ms-"):e}var be=function(e){return null==e||!1===e||""===e};function _e(e,n,r,o){if(Array.isArray(e)){for(var s,i=[],a=0,c=e.length;a<c;a+=1)""!==(s=_e(e[a],n,r,o))&&(Array.isArray(s)?i.push.apply(i,s):i.push(s));return i}if(be(e))return "";if(_(e))return "."+e.styledComponentId;if(E(e)){if("function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!n)return e;var u=e(n);return _e(u,n,r,o)}var l;return e instanceof ye?r?(e.inject(r,o),e.getName(o)):e:g$1(e)?function e(t,n){var r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&!be(t[i])&&(Array.isArray(t[i])&&t[i].isCss||E(t[i])?s.push(Ee(i)+":",t[i],";"):g$1(t[i])?s.push.apply(s,e(t[i],i)):s.push(Ee(i)+": "+(r=i,null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in unitlessKeys?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(s,["}"]):s}(e):e.toString()}var Ne=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||g$1(e)?Ne(_e(v$1(S,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ne(_e(v$1(e,n)))}var Oe=function(e,t,n){return void 0===n&&(n=w$1),e.theme!==n.theme&&e.theme||t||n.theme},Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,De=/(^-|-$)/g;function je(e){return e.replace(Re,"-").replace(De,"")}var Te=function(e){return Q(te(e)>>>0)};function xe(e){return "string"==typeof e&&("production"==="production")}var ke=function(e){return "function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ve=function(e){return "__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ze(e,t,n){var r=e[n];ke(t)&&ke(r)?Be(r,t):e[n]=t;}function Be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,s=n;o<s.length;o++){var i=s[o];if(ke(i))for(var a in i)Ve(a)&&ze(e,i[a],a);}return e}var Me=React__default["default"].createContext();Me.Consumer;var Fe={};function Ye(e,t,n){var o=_(e),i=!xe(e),a=t.attrs,c=void 0===a?S:a,d=t.componentId,h=void 0===d?function(e,t){var n="string"!=typeof e?"sc":je(e);Fe[n]=(Fe[n]||0)+1;var r=n+"-"+Te("5.3.5"+n+Fe[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):d,p=t.displayName,v=void 0===p?function(e){return xe(e)?"styled."+e:"Styled("+b$1(e)+")"}(e):p,g=t.displayName&&t.componentId?je(t.displayName)+"-"+t.componentId:t.componentId||h,N=o&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,A=t.shouldForwardProp;o&&e.shouldForwardProp&&(A=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var C,I=new oe(n,g,o?e.componentStyle:void 0),P=I.isStatic&&0===c.length,O=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,d=e.shouldForwardProp,h=e.styledComponentId,p=e.target;var m=function(e,t,n){void 0===e&&(e=w$1);var r=y({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,s,i=e;for(t in E(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],s=i[t],n&&s?n+" "+s:n||s):i[t];})),[r,o]}(Oe(t,React.useContext(Me),a)||w$1,t,o),v=m[0],g=m[1],S=function(e,t,n,r){var o=pe(),s=fe(),i=t?e.generateAndInjectStyles(w$1,o,s):e.generateAndInjectStyles(n,o,s);return i}(i,r,v),b=n,_=g.$as||t.$as||g.as||t.as||p,N=xe(_),A=g!==t?y({},t,{},g):t,C={};for(var I in A)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?C.as=A[I]:(d?d(I,isPropValid,_):!N||isPropValid(I))&&(C[I]=A[I]));return t.style&&g.style!==t.style&&(C.style=y({},t.style,{},g.style)),C.className=Array.prototype.concat(c,h,S!==h?S:null,t.className,g.className).filter(Boolean).join(" "),C.ref=b,React.createElement(_,C)}(C,e,t,P)};return O.displayName=v,(C=React__default["default"].forwardRef(O)).attrs=N,C.componentStyle=I,C.displayName=v,C.shouldForwardProp=A,C.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):S,C.styledComponentId=g,C.target=o?e.target:e,C.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return {};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),s=r&&r+"-"+(xe(e)?e:je(b$1(e)));return Ye(e,y({},o,{attrs:N,componentId:s}),n)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Be({},e.defaultProps,t):t;}}),C.toString=function(){return "."+C.styledComponentId},i&&hoistNonReactStatics_cjs(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var qe=function(e){return function e(t,r,o){if(void 0===o&&(o=w$1),!reactIs$2.exports.isValidElementType(r))return D(1,String(r));var s=function(){return t(r,o,Ae.apply(void 0,arguments))};return s.withConfig=function(n){return e(t,r,y({},o,{},n))},s.attrs=function(n){return e(t,r,y({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},s}(Ye,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){qe[e]=qe(e);}));var styled$9 = qe;
|
|
2567
|
+
function y(){return (y=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r]);}return e}).apply(this,arguments)}var v$1=function(e,t){for(var n=[e[0]],r=0,o=t.length;r<o;r+=1)n.push(t[r],e[r+1]);return n},g$1=function(t){return null!==t&&"object"==typeof t&&"[object Object]"===(t.toString?t.toString():Object.prototype.toString.call(t))&&!reactIs$2.exports.typeOf(t)},S=Object.freeze([]),w$1=Object.freeze({});function E(e){return "function"==typeof e}function b$1(e){return e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N$1="undefined"!=typeof process&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",C="undefined"!=typeof window&&"HTMLElement"in window,I=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production");function D(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];throw new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):""))}var j=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}var t=e.prototype;return t.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},t.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,r=n.length,o=r;e>=o;)(o<<=1)<0&&D(16,""+e);this.groupSizes=new Uint32Array(o),this.groupSizes.set(n),this.length=o;for(var s=r;s<o;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(i,t[a])&&(this.groupSizes[e]++,i++);},t.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),r=n+t;this.groupSizes[e]=0;for(var o=n;o<r;o++)this.tag.deleteRule(n);}},t.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],r=this.indexOfGroup(e),o=r+n,s=r;s<o;s++)t+=this.tag.getRule(s)+"/*!sc*/\n";return t},e}(),T$1=new Map,x$1=new Map,k=1,V$1=function(e){if(T$1.has(e))return T$1.get(e);for(;x$1.has(k);)k++;var t=k++;return T$1.set(e,t),x$1.set(t,e),t},z$1=function(e){return x$1.get(e)},B$1=function(e,t){t>=k&&(k=t+1),T$1.set(e,t),x$1.set(t,e);},M="style["+N$1+'][data-styled-version="5.3.5"]',G$1=new RegExp("^"+N$1+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),L$1=function(e,t,n){for(var r,o=n.split(","),s=0,i=o.length;s<i;s++)(r=o[s])&&e.registerName(t,r);},F=function(e,t){for(var n=(t.textContent||"").split("/*!sc*/\n"),r=[],o=0,s=n.length;o<s;o++){var i=n[o].trim();if(i){var a=i.match(G$1);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(B$1(u,c),L$1(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0;}else r.push(i);}}},Y=function(){return "undefined"!=typeof window&&void 0!==window.__webpack_nonce__?window.__webpack_nonce__:null},q$1=function(e){var t=document.head,n=e||t,r=document.createElement("style"),o=function(e){for(var t=e.childNodes,n=t.length;n>=0;n--){var r=t[n];if(r&&1===r.nodeType&&r.hasAttribute(N$1))return r}}(n),s=void 0!==o?o.nextSibling:null;r.setAttribute(N$1,"active"),r.setAttribute("data-styled-version","5.3.5");var i=Y();return i&&r.setAttribute("nonce",i),n.insertBefore(r,s),r},H=function(){function e(e){var t=this.element=q$1(e);t.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,r=t.length;n<r;n++){var o=t[n];if(o.ownerNode===e)return o}D(17);}(t),this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},t.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},t.getRule=function(e){var t=this.sheet.cssRules[e];return void 0!==t&&"string"==typeof t.cssText?t.cssText:""},e}(),$$1=function(){function e(e){var t=this.element=q$1(e);this.nodes=t.childNodes,this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t),r=this.nodes[e];return this.element.insertBefore(n,r||null),this.length++,!0}return !1},t.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},t.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),W=function(){function e(e){this.rules=[],this.length=0;}var t=e.prototype;return t.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},t.deleteRule=function(e){this.rules.splice(e,1),this.length--;},t.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),U=C,J$1={isServer:!C,useCSSOMInjection:!I},X$1=function(){function e(e,t,n){void 0===e&&(e=w$1),void 0===t&&(t={}),this.options=y({},J$1,{},e),this.gs=t,this.names=new Map(n),this.server=!!e.isServer,!this.server&&C&&U&&(U=!1,function(e){for(var t=document.querySelectorAll(M),n=0,r=t.length;n<r;n++){var o=t[n];o&&"active"!==o.getAttribute(N$1)&&(F(e,o),o.parentNode&&o.parentNode.removeChild(o));}}(this));}e.registerId=function(e){return V$1(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(y({},this.options,{},t),this.gs,n&&this.names||void 0)},t.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},t.getTag=function(){return this.tag||(this.tag=(n=(t=this.options).isServer,r=t.useCSSOMInjection,o=t.target,e=n?new W(o):r?new H(o):new $$1(o),new j(e)));var e,t,n,r,o;},t.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},t.registerName=function(e,t){if(V$1(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},t.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(V$1(e),n);},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},t.clearRules=function(e){this.getTag().clearGroup(V$1(e)),this.clearNames(e);},t.clearTag=function(){this.tag=void 0;},t.toString=function(){return function(e){for(var t=e.getTag(),n=t.length,r="",o=0;o<n;o++){var s=z$1(o);if(void 0!==s){var i=e.names.get(s),a=t.getGroup(o);if(i&&a&&i.size){var c=N$1+".g"+o+'[id="'+s+'"]',u="";void 0!==i&&i.forEach((function(e){e.length>0&&(u+=e+",");})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n';}}}return r}(this)},e}(),Z=/(a)(d)/gi,K$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function Q(e){var t,n="";for(t=Math.abs(e);t>52;t=t/52|0)n=K$1(t%52)+n;return (K$1(t%52)+n).replace(Z,"$1-$2")}var ee=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},te=function(e){return ee(5381,e)};function ne(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(E(n)&&!_(n))return !1}return !0}var re=te("5.3.5"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,X$1.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var r=this.componentId,o=[];if(this.baseStyle&&o.push(this.baseStyle.generateAndInjectStyles(e,t,n)),this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(r,this.staticRulesId))o.push(this.staticRulesId);else {var s=_e(this.rules,e,t,n).join(""),i=Q(ee(this.baseHash,s)>>>0);if(!t.hasNameForId(r,i)){var a=n(s,"."+i,void 0,r);t.insertRules(r,i,a);}o.push(i),this.staticRulesId=i;}else {for(var c=this.rules.length,u=ee(this.baseHash,n.hash),l="",d=0;d<c;d++){var h=this.rules[d];if("string"==typeof h)l+=h;else if(h){var p=_e(h,e,t,n),f=Array.isArray(p)?p.join(""):p;u=ee(u,f+d),l+=f;}}if(l){var m=Q(u>>>0);if(!t.hasNameForId(r,m)){var y=n(l,"."+m,void 0,r);t.insertRules(r,m,y);}o.push(m);}}return o.join(" ")},e}(),se=/^\s*\/\/.*$/gm,ie=[":","[",".","#"];function ae(e){var t,n,r,o,s=void 0===e?w$1:e,i=s.options,a=void 0===i?w$1:i,c=s.plugins,u=void 0===c?S:c,l=new stylis_min(a),d=[],p=function(e){function t(t){if(t)try{e(t+"}");}catch(e){}}return function(n,r,o,s,i,a,c,u,l,d){switch(n){case 1:if(0===l&&64===r.charCodeAt(0))return e(r+";"),"";break;case 2:if(0===u)return r+"/*|*/";break;case 3:switch(u){case 102:case 112:return e(o[0]+r),"";default:return r+(0===d?"/*|*/":"")}case-2:r.split("/*|*/}").forEach(t);}}}((function(e){d.push(e);})),f=function(e,r,s){return 0===r&&-1!==ie.indexOf(s[n.length])||s.match(o)?e:"."+t};function m(e,s,i,a){void 0===a&&(a="&");var c=e.replace(se,""),u=s&&i?i+" "+s+" { "+c+" }":c;return t=a,n=s,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(i||!s?"":s,u)}return l.use([].concat(u,[function(e,t,o){2===e&&o.length&&o[0].lastIndexOf(n)>0&&(o[0]=o[0].replace(r,f));},p,function(e){if(-2===e){var t=d;return d=[],t}}])),m.hash=u.length?u.reduce((function(e,t){return t.name||D(15),ee(e,t.name)}),5381).toString():"",m}var ce=React__default["default"].createContext();ce.Consumer;var le=React__default["default"].createContext(),de=(le.Consumer,new X$1),he=ae();function pe(){return React.useContext(ce)||de}function fe(){return React.useContext(le)||he}var ye=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=he);var r=n.name+t.hash;e.hasNameForId(n.id,r)||e.insertRules(n.id,r,t(n.rules,r,"@keyframes"));},this.toString=function(){return D(12,String(n.name))},this.name=e,this.id="sc-keyframes-"+e,this.rules=t;}return e.prototype.getName=function(e){return void 0===e&&(e=he),this.name+e.hash},e}(),ve=/([A-Z])/,ge=/([A-Z])/g,Se=/^ms-/,we=function(e){return "-"+e.toLowerCase()};function Ee(e){return ve.test(e)?e.replace(ge,we).replace(Se,"-ms-"):e}var be=function(e){return null==e||!1===e||""===e};function _e(e,n,r,o){if(Array.isArray(e)){for(var s,i=[],a=0,c=e.length;a<c;a+=1)""!==(s=_e(e[a],n,r,o))&&(Array.isArray(s)?i.push.apply(i,s):i.push(s));return i}if(be(e))return "";if(_(e))return "."+e.styledComponentId;if(E(e)){if("function"!=typeof(l=e)||l.prototype&&l.prototype.isReactComponent||!n)return e;var u=e(n);return _e(u,n,r,o)}var l;return e instanceof ye?r?(e.inject(r,o),e.getName(o)):e:g$1(e)?function e(t,n){var r,o,s=[];for(var i in t)t.hasOwnProperty(i)&&!be(t[i])&&(Array.isArray(t[i])&&t[i].isCss||E(t[i])?s.push(Ee(i)+":",t[i],";"):g$1(t[i])?s.push.apply(s,e(t[i],i)):s.push(Ee(i)+": "+(r=i,null==(o=t[i])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in unitlessKeys?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(s,["}"]):s}(e):e.toString()}var Ne=function(e){return Array.isArray(e)&&(e.isCss=!0),e};function Ae(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return E(e)||g$1(e)?Ne(_e(v$1(S,[e].concat(n)))):0===n.length&&1===e.length&&"string"==typeof e[0]?e:Ne(_e(v$1(e,n)))}var Oe=function(e,t,n){return void 0===n&&(n=w$1),e.theme!==n.theme&&e.theme||t||n.theme},Re=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,De=/(^-|-$)/g;function je(e){return e.replace(Re,"-").replace(De,"")}var Te=function(e){return Q(te(e)>>>0)};function xe(e){return "string"==typeof e&&("production"==="production")}var ke=function(e){return "function"==typeof e||"object"==typeof e&&null!==e&&!Array.isArray(e)},Ve=function(e){return "__proto__"!==e&&"constructor"!==e&&"prototype"!==e};function ze(e,t,n){var r=e[n];ke(t)&&ke(r)?Be(r,t):e[n]=t;}function Be(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];for(var o=0,s=n;o<s.length;o++){var i=s[o];if(ke(i))for(var a in i)Ve(a)&&ze(e,i[a],a);}return e}var Me=React__default["default"].createContext();Me.Consumer;var Fe={};function Ye(e,t,n){var o=_(e),i=!xe(e),a=t.attrs,c=void 0===a?S:a,d=t.componentId,h=void 0===d?function(e,t){var n="string"!=typeof e?"sc":je(e);Fe[n]=(Fe[n]||0)+1;var r=n+"-"+Te("5.3.5"+n+Fe[n]);return t?t+"-"+r:r}(t.displayName,t.parentComponentId):d,p=t.displayName,v=void 0===p?function(e){return xe(e)?"styled."+e:"Styled("+b$1(e)+")"}(e):p,g=t.displayName&&t.componentId?je(t.displayName)+"-"+t.componentId:t.componentId||h,N=o&&e.attrs?Array.prototype.concat(e.attrs,c).filter(Boolean):c,A=t.shouldForwardProp;o&&e.shouldForwardProp&&(A=t.shouldForwardProp?function(n,r,o){return e.shouldForwardProp(n,r,o)&&t.shouldForwardProp(n,r,o)}:e.shouldForwardProp);var C,I=new oe(n,g,o?e.componentStyle:void 0),P=I.isStatic&&0===c.length,O=function(e,t){return function(e,t,n,r){var o=e.attrs,i=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,d=e.shouldForwardProp,h=e.styledComponentId,p=e.target;var m=function(e,t,n){void 0===e&&(e=w$1);var r=y({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,s,i=e;for(t in E(i)&&(i=i(r)),i)r[t]=o[t]="className"===t?(n=o[t],s=i[t],n&&s?n+" "+s:n||s):i[t];})),[r,o]}(Oe(t,React.useContext(Me),a)||w$1,t,o),v=m[0],g=m[1],S=function(e,t,n,r){var o=pe(),s=fe(),i=t?e.generateAndInjectStyles(w$1,o,s):e.generateAndInjectStyles(n,o,s);return i}(i,r,v),b=n,_=g.$as||t.$as||g.as||t.as||p,N=xe(_),A=g!==t?y({},t,{},g):t,C={};for(var I in A)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?C.as=A[I]:(d?d(I,isPropValid,_):!N||isPropValid(I))&&(C[I]=A[I]));return t.style&&g.style!==t.style&&(C.style=y({},t.style,{},g.style)),C.className=Array.prototype.concat(c,h,S!==h?S:null,t.className,g.className).filter(Boolean).join(" "),C.ref=b,React.createElement(_,C)}(C,e,t,P)};return O.displayName=v,(C=React__default["default"].forwardRef(O)).attrs=N,C.componentStyle=I,C.displayName=v,C.shouldForwardProp=A,C.foldedComponentIds=o?Array.prototype.concat(e.foldedComponentIds,e.styledComponentId):S,C.styledComponentId=g,C.target=o?e.target:e,C.withComponent=function(e){var r=t.componentId,o=function(e,t){if(null==e)return {};var n,r,o={},s=Object.keys(e);for(r=0;r<s.length;r++)n=s[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),s=r&&r+"-"+(xe(e)?e:je(b$1(e)));return Ye(e,y({},o,{attrs:N,componentId:s}),n)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Be({},e.defaultProps,t):t;}}),C.toString=function(){return "."+C.styledComponentId},i&&hoistNonReactStatics_cjs(C,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0,withComponent:!0}),C}var qe=function(e){return function e(t,r,o){if(void 0===o&&(o=w$1),!reactIs$2.exports.isValidElementType(r))return D(1,String(r));var s=function(){return t(r,o,Ae.apply(void 0,arguments))};return s.withConfig=function(n){return e(t,r,y({},o,{},n))},s.attrs=function(n){return e(t,r,y({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},s}(Ye,e)};["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","marquee","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","textPath","tspan"].forEach((function(e){qe[e]=qe(e);}));var styled$a = qe;
|
|
2568
2568
|
|
|
2569
2569
|
var mainPallet = {
|
|
2570
2570
|
primary: {
|
|
@@ -19978,7 +19978,7 @@
|
|
|
19978
19978
|
|
|
19979
19979
|
var _templateObject$4;
|
|
19980
19980
|
var styles = {
|
|
19981
|
-
Svg: styled$
|
|
19981
|
+
Svg: styled$a.svg.withConfig({
|
|
19982
19982
|
displayName: "styles__Svg",
|
|
19983
19983
|
componentId: "sc-jf3e5i-0"
|
|
19984
19984
|
})(["fill:", ";", " ", ";"], function (props) {
|
|
@@ -19986,7 +19986,7 @@
|
|
|
19986
19986
|
}, mediaBreaks.onlyPrint(_templateObject$4 || (_templateObject$4 = _taggedTemplateLiteral(["\n\t\t\tfill: ", ";\n\t\t"])), palette.darkGrey), function (props) {
|
|
19987
19987
|
return props.styles;
|
|
19988
19988
|
}),
|
|
19989
|
-
Path: styled$
|
|
19989
|
+
Path: styled$a.path.withConfig({
|
|
19990
19990
|
displayName: "styles__Path",
|
|
19991
19991
|
componentId: "sc-jf3e5i-1"
|
|
19992
19992
|
})(["fill:inherit;", ";"], function (props) {
|
|
@@ -19994,17 +19994,17 @@
|
|
|
19994
19994
|
})
|
|
19995
19995
|
};
|
|
19996
19996
|
({
|
|
19997
|
-
Grid: styled$
|
|
19997
|
+
Grid: styled$a.div.withConfig({
|
|
19998
19998
|
displayName: "styles__Grid",
|
|
19999
19999
|
componentId: "sc-jf3e5i-2"
|
|
20000
20000
|
})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:15px;"]),
|
|
20001
|
-
Item: styled$
|
|
20001
|
+
Item: styled$a.div.withConfig({
|
|
20002
20002
|
displayName: "styles__Item",
|
|
20003
20003
|
componentId: "sc-jf3e5i-3"
|
|
20004
20004
|
})(["padding:5px;border:1px dashed #ccc;cursor:default;display:grid;justify-items:center;justify-content:center;grid-row-gap:5px;", ";& ", "{", ";}&:hover{color:", ";}&:hover ", "{fill:", ";}"], mixins.transition('color'), styles.Svg, mixins.transition('fill'), palette.blue, styles.Svg, palette.blue)
|
|
20005
20005
|
});
|
|
20006
20006
|
|
|
20007
|
-
var _excluded$
|
|
20007
|
+
var _excluded$8 = ["color", "name", "size", "styles", "pathStyles", "width", "height", "viewBox"];
|
|
20008
20008
|
|
|
20009
20009
|
var Icon = function Icon(_ref) {
|
|
20010
20010
|
var color = _ref.color,
|
|
@@ -20015,7 +20015,7 @@
|
|
|
20015
20015
|
width = _ref.width,
|
|
20016
20016
|
height = _ref.height,
|
|
20017
20017
|
viewBox = _ref.viewBox,
|
|
20018
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20018
|
+
props = _objectWithoutProperties(_ref, _excluded$8);
|
|
20019
20019
|
|
|
20020
20020
|
var iconProps = icons[name];
|
|
20021
20021
|
if (!iconProps) return null;
|
|
@@ -20023,7 +20023,7 @@
|
|
|
20023
20023
|
defaultSize = iconProps.size;
|
|
20024
20024
|
var size = sizeProp || defaultSize;
|
|
20025
20025
|
if (!path) return null;
|
|
20026
|
-
return /*#__PURE__*/React__default["default"].createElement(styles.Svg, _extends$
|
|
20026
|
+
return /*#__PURE__*/React__default["default"].createElement(styles.Svg, _extends$2({
|
|
20027
20027
|
width: width || size,
|
|
20028
20028
|
height: height || size,
|
|
20029
20029
|
styles: styles$1,
|
|
@@ -20085,7 +20085,7 @@
|
|
|
20085
20085
|
return isValidColor(color) ? findColor(color, 'pressed') : palette.bluePressed;
|
|
20086
20086
|
};
|
|
20087
20087
|
|
|
20088
|
-
var StyledButton = styled$
|
|
20088
|
+
var StyledButton = styled$a.button.withConfig({
|
|
20089
20089
|
displayName: "styles",
|
|
20090
20090
|
componentId: "sc-buf2do-0"
|
|
20091
20091
|
})(["display:flex;align-items:center;justify-content:center;height:36px;width:", ";flex-shrink:", ";border-radius:", ";padding:", ";cursor:", ";border:", ";font-size:13px;font-weight:500;position:relative;", ";z-index:0;&:before{content:'';border-radius:50px;position:absolute;left:0;top:0;z-index:-1;width:100%;height:100%;}&:after{content:'';border-radius:50px;position:absolute;z-index:-1;width:100%;height:100%;transition:all 0.25s ", ";transform:scale(0,0);top:0;bottom:0;left:0;right:0;}&:focus:after,&:hover:after,&:active:after{transform:scale(1,1);}&:active{-webkit-tap-highlight-color:", ";}", "{margin-right:", ";fill:", ";", ";}", ";", "{fill:", ";}", ";"], function (props) {
|
|
@@ -20120,7 +20120,7 @@
|
|
|
20120
20120
|
return props.styles;
|
|
20121
20121
|
});
|
|
20122
20122
|
|
|
20123
|
-
var _excluded$
|
|
20123
|
+
var _excluded$7 = ["children", "color", "hideLabel", "icon", "iconColor", "iconSize", "fontColor", "rounded", "styles", "variant"];
|
|
20124
20124
|
|
|
20125
20125
|
var Button = function Button(_ref) {
|
|
20126
20126
|
var children = _ref.children,
|
|
@@ -20133,9 +20133,9 @@
|
|
|
20133
20133
|
rounded = _ref.rounded,
|
|
20134
20134
|
styles = _ref.styles,
|
|
20135
20135
|
variant = _ref.variant,
|
|
20136
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20136
|
+
props = _objectWithoutProperties(_ref, _excluded$7);
|
|
20137
20137
|
|
|
20138
|
-
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends$
|
|
20138
|
+
return /*#__PURE__*/React__default["default"].createElement(StyledButton, _extends$2({
|
|
20139
20139
|
color: color,
|
|
20140
20140
|
iconColor: iconColor || fontColor,
|
|
20141
20141
|
fontColor: fontColor,
|
|
@@ -20158,8 +20158,8 @@
|
|
|
20158
20158
|
variant: 'cleaned'
|
|
20159
20159
|
};
|
|
20160
20160
|
|
|
20161
|
-
var styled$
|
|
20162
|
-
Container: styled$
|
|
20161
|
+
var styled$9 = {
|
|
20162
|
+
Container: styled$a.label.withConfig({
|
|
20163
20163
|
displayName: "styles__Container",
|
|
20164
20164
|
componentId: "sc-18bfcwf-0"
|
|
20165
20165
|
})(["background:", ";border:1px solid ", ";border-radius:", "px;width:16px;height:16px;line-height:16px;position:relative;cursor:pointer;display:flex;transition:background ", " 0.2s;user-select:none;margin-right:12px;", ";"], function (props) {
|
|
@@ -20171,7 +20171,7 @@
|
|
|
20171
20171
|
}, timingFunctions$1.standard, function (props) {
|
|
20172
20172
|
return props.styles;
|
|
20173
20173
|
}),
|
|
20174
|
-
Input: styled$
|
|
20174
|
+
Input: styled$a.input.withConfig({
|
|
20175
20175
|
displayName: "styles__Input",
|
|
20176
20176
|
componentId: "sc-18bfcwf-1"
|
|
20177
20177
|
})(["opacity:0;position:absolute;cursor:pointer;"]),
|
|
@@ -20180,7 +20180,7 @@
|
|
|
20180
20180
|
})
|
|
20181
20181
|
};
|
|
20182
20182
|
|
|
20183
|
-
var _excluded$
|
|
20183
|
+
var _excluded$6 = ["autoComplete", "disabled", "defaultChecked", "onChange", "rounded", "styles", "value"];
|
|
20184
20184
|
|
|
20185
20185
|
var Checkbox = function Checkbox(_ref) {
|
|
20186
20186
|
var autoComplete = _ref.autoComplete,
|
|
@@ -20190,7 +20190,7 @@
|
|
|
20190
20190
|
rounded = _ref.rounded,
|
|
20191
20191
|
styles = _ref.styles,
|
|
20192
20192
|
value = _ref.value,
|
|
20193
|
-
props = _objectWithoutProperties(_ref, _excluded$
|
|
20193
|
+
props = _objectWithoutProperties(_ref, _excluded$6);
|
|
20194
20194
|
|
|
20195
20195
|
var _useState = React.useState(!!value || defaultChecked),
|
|
20196
20196
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -20205,18 +20205,18 @@
|
|
|
20205
20205
|
|
|
20206
20206
|
var _props$checked = props.checked,
|
|
20207
20207
|
conntroledChecked = _props$checked === void 0 ? checked : _props$checked;
|
|
20208
|
-
return /*#__PURE__*/React__default["default"].createElement(styled$
|
|
20208
|
+
return /*#__PURE__*/React__default["default"].createElement(styled$9.Container, {
|
|
20209
20209
|
checked: conntroledChecked,
|
|
20210
20210
|
rounded: rounded,
|
|
20211
20211
|
styles: styles
|
|
20212
|
-
}, /*#__PURE__*/React__default["default"].createElement(styled$
|
|
20212
|
+
}, /*#__PURE__*/React__default["default"].createElement(styled$9.Input, _extends$2({}, props, {
|
|
20213
20213
|
type: "checkbox",
|
|
20214
20214
|
disabled: disabled,
|
|
20215
20215
|
autoComplete: autoComplete ? 'on' : 'off',
|
|
20216
20216
|
onChange: handleChange
|
|
20217
20217
|
})), /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
20218
20218
|
name: "check_bold",
|
|
20219
|
-
styles: styled$
|
|
20219
|
+
styles: styled$9.iconCheckStyles,
|
|
20220
20220
|
rounded: rounded
|
|
20221
20221
|
}));
|
|
20222
20222
|
};
|
|
@@ -20229,8 +20229,8 @@
|
|
|
20229
20229
|
};
|
|
20230
20230
|
|
|
20231
20231
|
var _templateObject$3;
|
|
20232
|
-
var styled$
|
|
20233
|
-
Chip: styled$
|
|
20232
|
+
var styled$8 = {
|
|
20233
|
+
Chip: styled$a.button.withConfig({
|
|
20234
20234
|
displayName: "styles__Chip",
|
|
20235
20235
|
componentId: "sc-1vnh4co-0"
|
|
20236
20236
|
})(["padding:", ";cursor:", ";font-size:13px;color:", ";height:", ";width:", ";max-width:150px;border-radius:", ";display:inline-flex;justify-content:center;align-items:center;pointer-events:", ";white-space:nowrap;.chip-icon{margin-right:", ";}", " ", ";", " ", " ", " ", ""], function (props) {
|
|
@@ -20244,7 +20244,7 @@
|
|
|
20244
20244
|
}, function (props) {
|
|
20245
20245
|
return props.hasText ? '50px' : '50%';
|
|
20246
20246
|
}, function (props) {
|
|
20247
|
-
return props.clickable ? 'auto' : 'none';
|
|
20247
|
+
return props.clickable || props.linkForHref ? 'auto' : 'none';
|
|
20248
20248
|
}, function (props) {
|
|
20249
20249
|
return props.hasText && '8px';
|
|
20250
20250
|
}, function (props) {
|
|
@@ -20271,18 +20271,515 @@
|
|
|
20271
20271
|
return props.textColor && "color: ".concat(getColor$1(props.textColor), ";");
|
|
20272
20272
|
}, mediaBreaks.onlyPrint(_templateObject$3 || (_templateObject$3 = _taggedTemplateLiteral(["\n\t\t\tborder: 1px solid ", ";\n\t\t"])), palette.grey.dark)),
|
|
20273
20273
|
iconPathStyles: Ae(["", ";"], mixins.transition('fill')),
|
|
20274
|
-
DeleteButton: styled$
|
|
20274
|
+
DeleteButton: styled$a.button.withConfig({
|
|
20275
20275
|
displayName: "styles__DeleteButton",
|
|
20276
20276
|
componentId: "sc-1vnh4co-1"
|
|
20277
20277
|
})(["width:16px;height:16px;margin-left:12px;"]),
|
|
20278
20278
|
deleteButtonPathStyles: Ae(["", ";"], mixins.transition('fill')),
|
|
20279
|
-
Children: styled$
|
|
20279
|
+
Children: styled$a.div.withConfig({
|
|
20280
20280
|
displayName: "styles__Children",
|
|
20281
20281
|
componentId: "sc-1vnh4co-2"
|
|
20282
20282
|
})(["text-overflow:ellipsis;overflow:hidden;"])
|
|
20283
20283
|
};
|
|
20284
20284
|
|
|
20285
|
-
|
|
20285
|
+
/**
|
|
20286
|
+
* Actions represent the type of change to a location value.
|
|
20287
|
+
*
|
|
20288
|
+
* @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#action
|
|
20289
|
+
*/
|
|
20290
|
+
var Action;
|
|
20291
|
+
|
|
20292
|
+
(function (Action) {
|
|
20293
|
+
/**
|
|
20294
|
+
* A POP indicates a change to an arbitrary index in the history stack, such
|
|
20295
|
+
* as a back or forward navigation. It does not describe the direction of the
|
|
20296
|
+
* navigation, only that the current index changed.
|
|
20297
|
+
*
|
|
20298
|
+
* Note: This is the default action for newly created history objects.
|
|
20299
|
+
*/
|
|
20300
|
+
Action["Pop"] = "POP";
|
|
20301
|
+
/**
|
|
20302
|
+
* A PUSH indicates a new entry being added to the history stack, such as when
|
|
20303
|
+
* a link is clicked and a new page loads. When this happens, all subsequent
|
|
20304
|
+
* entries in the stack are lost.
|
|
20305
|
+
*/
|
|
20306
|
+
|
|
20307
|
+
Action["Push"] = "PUSH";
|
|
20308
|
+
/**
|
|
20309
|
+
* A REPLACE indicates the entry at the current index in the history stack
|
|
20310
|
+
* being replaced by a new one.
|
|
20311
|
+
*/
|
|
20312
|
+
|
|
20313
|
+
Action["Replace"] = "REPLACE";
|
|
20314
|
+
})(Action || (Action = {}));
|
|
20315
|
+
/**
|
|
20316
|
+
* Creates a string URL path from the given pathname, search, and hash components.
|
|
20317
|
+
*
|
|
20318
|
+
* @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#createpath
|
|
20319
|
+
*/
|
|
20320
|
+
|
|
20321
|
+
|
|
20322
|
+
function createPath(_ref) {
|
|
20323
|
+
var _ref$pathname = _ref.pathname,
|
|
20324
|
+
pathname = _ref$pathname === void 0 ? '/' : _ref$pathname,
|
|
20325
|
+
_ref$search = _ref.search,
|
|
20326
|
+
search = _ref$search === void 0 ? '' : _ref$search,
|
|
20327
|
+
_ref$hash = _ref.hash,
|
|
20328
|
+
hash = _ref$hash === void 0 ? '' : _ref$hash;
|
|
20329
|
+
if (search && search !== '?') pathname += search.charAt(0) === '?' ? search : '?' + search;
|
|
20330
|
+
if (hash && hash !== '#') pathname += hash.charAt(0) === '#' ? hash : '#' + hash;
|
|
20331
|
+
return pathname;
|
|
20332
|
+
}
|
|
20333
|
+
/**
|
|
20334
|
+
* Parses a string URL path into its separate pathname, search, and hash components.
|
|
20335
|
+
*
|
|
20336
|
+
* @see https://github.com/remix-run/history/tree/main/docs/api-reference.md#parsepath
|
|
20337
|
+
*/
|
|
20338
|
+
|
|
20339
|
+
function parsePath(path) {
|
|
20340
|
+
var parsedPath = {};
|
|
20341
|
+
|
|
20342
|
+
if (path) {
|
|
20343
|
+
var hashIndex = path.indexOf('#');
|
|
20344
|
+
|
|
20345
|
+
if (hashIndex >= 0) {
|
|
20346
|
+
parsedPath.hash = path.substr(hashIndex);
|
|
20347
|
+
path = path.substr(0, hashIndex);
|
|
20348
|
+
}
|
|
20349
|
+
|
|
20350
|
+
var searchIndex = path.indexOf('?');
|
|
20351
|
+
|
|
20352
|
+
if (searchIndex >= 0) {
|
|
20353
|
+
parsedPath.search = path.substr(searchIndex);
|
|
20354
|
+
path = path.substr(0, searchIndex);
|
|
20355
|
+
}
|
|
20356
|
+
|
|
20357
|
+
if (path) {
|
|
20358
|
+
parsedPath.pathname = path;
|
|
20359
|
+
}
|
|
20360
|
+
}
|
|
20361
|
+
|
|
20362
|
+
return parsedPath;
|
|
20363
|
+
}
|
|
20364
|
+
|
|
20365
|
+
/**
|
|
20366
|
+
* React Router v6.3.0
|
|
20367
|
+
*
|
|
20368
|
+
* Copyright (c) Remix Software Inc.
|
|
20369
|
+
*
|
|
20370
|
+
* This source code is licensed under the MIT license found in the
|
|
20371
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
20372
|
+
*
|
|
20373
|
+
* @license MIT
|
|
20374
|
+
*/
|
|
20375
|
+
|
|
20376
|
+
const NavigationContext = /*#__PURE__*/React.createContext(null);
|
|
20377
|
+
|
|
20378
|
+
const LocationContext = /*#__PURE__*/React.createContext(null);
|
|
20379
|
+
|
|
20380
|
+
const RouteContext = /*#__PURE__*/React.createContext({
|
|
20381
|
+
outlet: null,
|
|
20382
|
+
matches: []
|
|
20383
|
+
});
|
|
20384
|
+
|
|
20385
|
+
function invariant(cond, message) {
|
|
20386
|
+
if (!cond) throw new Error(message);
|
|
20387
|
+
}
|
|
20388
|
+
/**
|
|
20389
|
+
* Returns a resolved path object relative to the given pathname.
|
|
20390
|
+
*
|
|
20391
|
+
* @see https://reactrouter.com/docs/en/v6/api#resolvepath
|
|
20392
|
+
*/
|
|
20393
|
+
|
|
20394
|
+
|
|
20395
|
+
function resolvePath(to, fromPathname) {
|
|
20396
|
+
if (fromPathname === void 0) {
|
|
20397
|
+
fromPathname = "/";
|
|
20398
|
+
}
|
|
20399
|
+
|
|
20400
|
+
let {
|
|
20401
|
+
pathname: toPathname,
|
|
20402
|
+
search = "",
|
|
20403
|
+
hash = ""
|
|
20404
|
+
} = typeof to === "string" ? parsePath(to) : to;
|
|
20405
|
+
let pathname = toPathname ? toPathname.startsWith("/") ? toPathname : resolvePathname(toPathname, fromPathname) : fromPathname;
|
|
20406
|
+
return {
|
|
20407
|
+
pathname,
|
|
20408
|
+
search: normalizeSearch(search),
|
|
20409
|
+
hash: normalizeHash(hash)
|
|
20410
|
+
};
|
|
20411
|
+
}
|
|
20412
|
+
|
|
20413
|
+
function resolvePathname(relativePath, fromPathname) {
|
|
20414
|
+
let segments = fromPathname.replace(/\/+$/, "").split("/");
|
|
20415
|
+
let relativeSegments = relativePath.split("/");
|
|
20416
|
+
relativeSegments.forEach(segment => {
|
|
20417
|
+
if (segment === "..") {
|
|
20418
|
+
// Keep the root "" segment so the pathname starts at /
|
|
20419
|
+
if (segments.length > 1) segments.pop();
|
|
20420
|
+
} else if (segment !== ".") {
|
|
20421
|
+
segments.push(segment);
|
|
20422
|
+
}
|
|
20423
|
+
});
|
|
20424
|
+
return segments.length > 1 ? segments.join("/") : "/";
|
|
20425
|
+
}
|
|
20426
|
+
|
|
20427
|
+
function resolveTo(toArg, routePathnames, locationPathname) {
|
|
20428
|
+
let to = typeof toArg === "string" ? parsePath(toArg) : toArg;
|
|
20429
|
+
let toPathname = toArg === "" || to.pathname === "" ? "/" : to.pathname; // If a pathname is explicitly provided in `to`, it should be relative to the
|
|
20430
|
+
// route context. This is explained in `Note on `<Link to>` values` in our
|
|
20431
|
+
// migration guide from v5 as a means of disambiguation between `to` values
|
|
20432
|
+
// that begin with `/` and those that do not. However, this is problematic for
|
|
20433
|
+
// `to` values that do not provide a pathname. `to` can simply be a search or
|
|
20434
|
+
// hash string, in which case we should assume that the navigation is relative
|
|
20435
|
+
// to the current location's pathname and *not* the route pathname.
|
|
20436
|
+
|
|
20437
|
+
let from;
|
|
20438
|
+
|
|
20439
|
+
if (toPathname == null) {
|
|
20440
|
+
from = locationPathname;
|
|
20441
|
+
} else {
|
|
20442
|
+
let routePathnameIndex = routePathnames.length - 1;
|
|
20443
|
+
|
|
20444
|
+
if (toPathname.startsWith("..")) {
|
|
20445
|
+
let toSegments = toPathname.split("/"); // Each leading .. segment means "go up one route" instead of "go up one
|
|
20446
|
+
// URL segment". This is a key difference from how <a href> works and a
|
|
20447
|
+
// major reason we call this a "to" value instead of a "href".
|
|
20448
|
+
|
|
20449
|
+
while (toSegments[0] === "..") {
|
|
20450
|
+
toSegments.shift();
|
|
20451
|
+
routePathnameIndex -= 1;
|
|
20452
|
+
}
|
|
20453
|
+
|
|
20454
|
+
to.pathname = toSegments.join("/");
|
|
20455
|
+
} // If there are more ".." segments than parent routes, resolve relative to
|
|
20456
|
+
// the root / URL.
|
|
20457
|
+
|
|
20458
|
+
|
|
20459
|
+
from = routePathnameIndex >= 0 ? routePathnames[routePathnameIndex] : "/";
|
|
20460
|
+
}
|
|
20461
|
+
|
|
20462
|
+
let path = resolvePath(to, from); // Ensure the pathname has a trailing slash if the original to value had one.
|
|
20463
|
+
|
|
20464
|
+
if (toPathname && toPathname !== "/" && toPathname.endsWith("/") && !path.pathname.endsWith("/")) {
|
|
20465
|
+
path.pathname += "/";
|
|
20466
|
+
}
|
|
20467
|
+
|
|
20468
|
+
return path;
|
|
20469
|
+
}
|
|
20470
|
+
function getToPathname(to) {
|
|
20471
|
+
// Empty strings should be treated the same as / paths
|
|
20472
|
+
return to === "" || to.pathname === "" ? "/" : typeof to === "string" ? parsePath(to).pathname : to.pathname;
|
|
20473
|
+
}
|
|
20474
|
+
const joinPaths = paths => paths.join("/").replace(/\/\/+/g, "/");
|
|
20475
|
+
|
|
20476
|
+
const normalizeSearch = search => !search || search === "?" ? "" : search.startsWith("?") ? search : "?" + search;
|
|
20477
|
+
|
|
20478
|
+
const normalizeHash = hash => !hash || hash === "#" ? "" : hash.startsWith("#") ? hash : "#" + hash;
|
|
20479
|
+
|
|
20480
|
+
/**
|
|
20481
|
+
* Returns the full href for the given "to" value. This is useful for building
|
|
20482
|
+
* custom links that are also accessible and preserve right-click behavior.
|
|
20483
|
+
*
|
|
20484
|
+
* @see https://reactrouter.com/docs/en/v6/api#usehref
|
|
20485
|
+
*/
|
|
20486
|
+
|
|
20487
|
+
function useHref(to) {
|
|
20488
|
+
!useInRouterContext() ? invariant(false) : void 0;
|
|
20489
|
+
let {
|
|
20490
|
+
basename,
|
|
20491
|
+
navigator
|
|
20492
|
+
} = React.useContext(NavigationContext);
|
|
20493
|
+
let {
|
|
20494
|
+
hash,
|
|
20495
|
+
pathname,
|
|
20496
|
+
search
|
|
20497
|
+
} = useResolvedPath(to);
|
|
20498
|
+
let joinedPathname = pathname;
|
|
20499
|
+
|
|
20500
|
+
if (basename !== "/") {
|
|
20501
|
+
let toPathname = getToPathname(to);
|
|
20502
|
+
let endsWithSlash = toPathname != null && toPathname.endsWith("/");
|
|
20503
|
+
joinedPathname = pathname === "/" ? basename + (endsWithSlash ? "/" : "") : joinPaths([basename, pathname]);
|
|
20504
|
+
}
|
|
20505
|
+
|
|
20506
|
+
return navigator.createHref({
|
|
20507
|
+
pathname: joinedPathname,
|
|
20508
|
+
search,
|
|
20509
|
+
hash
|
|
20510
|
+
});
|
|
20511
|
+
}
|
|
20512
|
+
/**
|
|
20513
|
+
* Returns true if this component is a descendant of a <Router>.
|
|
20514
|
+
*
|
|
20515
|
+
* @see https://reactrouter.com/docs/en/v6/api#useinroutercontext
|
|
20516
|
+
*/
|
|
20517
|
+
|
|
20518
|
+
function useInRouterContext() {
|
|
20519
|
+
return React.useContext(LocationContext) != null;
|
|
20520
|
+
}
|
|
20521
|
+
/**
|
|
20522
|
+
* Returns the current location object, which represents the current URL in web
|
|
20523
|
+
* browsers.
|
|
20524
|
+
*
|
|
20525
|
+
* Note: If you're using this it may mean you're doing some of your own
|
|
20526
|
+
* "routing" in your app, and we'd like to know what your use case is. We may
|
|
20527
|
+
* be able to provide something higher-level to better suit your needs.
|
|
20528
|
+
*
|
|
20529
|
+
* @see https://reactrouter.com/docs/en/v6/api#uselocation
|
|
20530
|
+
*/
|
|
20531
|
+
|
|
20532
|
+
function useLocation() {
|
|
20533
|
+
!useInRouterContext() ? invariant(false) : void 0;
|
|
20534
|
+
return React.useContext(LocationContext).location;
|
|
20535
|
+
}
|
|
20536
|
+
/**
|
|
20537
|
+
* The interface for the navigate() function returned from useNavigate().
|
|
20538
|
+
*/
|
|
20539
|
+
|
|
20540
|
+
/**
|
|
20541
|
+
* Returns an imperative method for changing the location. Used by <Link>s, but
|
|
20542
|
+
* may also be used by other elements to change the location.
|
|
20543
|
+
*
|
|
20544
|
+
* @see https://reactrouter.com/docs/en/v6/api#usenavigate
|
|
20545
|
+
*/
|
|
20546
|
+
function useNavigate() {
|
|
20547
|
+
!useInRouterContext() ? invariant(false) : void 0;
|
|
20548
|
+
let {
|
|
20549
|
+
basename,
|
|
20550
|
+
navigator
|
|
20551
|
+
} = React.useContext(NavigationContext);
|
|
20552
|
+
let {
|
|
20553
|
+
matches
|
|
20554
|
+
} = React.useContext(RouteContext);
|
|
20555
|
+
let {
|
|
20556
|
+
pathname: locationPathname
|
|
20557
|
+
} = useLocation();
|
|
20558
|
+
let routePathnamesJson = JSON.stringify(matches.map(match => match.pathnameBase));
|
|
20559
|
+
let activeRef = React.useRef(false);
|
|
20560
|
+
React.useEffect(() => {
|
|
20561
|
+
activeRef.current = true;
|
|
20562
|
+
});
|
|
20563
|
+
let navigate = React.useCallback(function (to, options) {
|
|
20564
|
+
if (options === void 0) {
|
|
20565
|
+
options = {};
|
|
20566
|
+
}
|
|
20567
|
+
if (!activeRef.current) return;
|
|
20568
|
+
|
|
20569
|
+
if (typeof to === "number") {
|
|
20570
|
+
navigator.go(to);
|
|
20571
|
+
return;
|
|
20572
|
+
}
|
|
20573
|
+
|
|
20574
|
+
let path = resolveTo(to, JSON.parse(routePathnamesJson), locationPathname);
|
|
20575
|
+
|
|
20576
|
+
if (basename !== "/") {
|
|
20577
|
+
path.pathname = joinPaths([basename, path.pathname]);
|
|
20578
|
+
}
|
|
20579
|
+
|
|
20580
|
+
(!!options.replace ? navigator.replace : navigator.push)(path, options.state);
|
|
20581
|
+
}, [basename, navigator, routePathnamesJson, locationPathname]);
|
|
20582
|
+
return navigate;
|
|
20583
|
+
}
|
|
20584
|
+
/**
|
|
20585
|
+
* Resolves the pathname of the given `to` value against the current location.
|
|
20586
|
+
*
|
|
20587
|
+
* @see https://reactrouter.com/docs/en/v6/api#useresolvedpath
|
|
20588
|
+
*/
|
|
20589
|
+
|
|
20590
|
+
function useResolvedPath(to) {
|
|
20591
|
+
let {
|
|
20592
|
+
matches
|
|
20593
|
+
} = React.useContext(RouteContext);
|
|
20594
|
+
let {
|
|
20595
|
+
pathname: locationPathname
|
|
20596
|
+
} = useLocation();
|
|
20597
|
+
let routePathnamesJson = JSON.stringify(matches.map(match => match.pathnameBase));
|
|
20598
|
+
return React.useMemo(() => resolveTo(to, JSON.parse(routePathnamesJson), locationPathname), [to, routePathnamesJson, locationPathname]);
|
|
20599
|
+
}
|
|
20600
|
+
|
|
20601
|
+
/**
|
|
20602
|
+
* React Router DOM v6.3.0
|
|
20603
|
+
*
|
|
20604
|
+
* Copyright (c) Remix Software Inc.
|
|
20605
|
+
*
|
|
20606
|
+
* This source code is licensed under the MIT license found in the
|
|
20607
|
+
* LICENSE.md file in the root directory of this source tree.
|
|
20608
|
+
*
|
|
20609
|
+
* @license MIT
|
|
20610
|
+
*/
|
|
20611
|
+
|
|
20612
|
+
function _extends$1() {
|
|
20613
|
+
_extends$1 = Object.assign || function (target) {
|
|
20614
|
+
for (var i = 1; i < arguments.length; i++) {
|
|
20615
|
+
var source = arguments[i];
|
|
20616
|
+
|
|
20617
|
+
for (var key in source) {
|
|
20618
|
+
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
20619
|
+
target[key] = source[key];
|
|
20620
|
+
}
|
|
20621
|
+
}
|
|
20622
|
+
}
|
|
20623
|
+
|
|
20624
|
+
return target;
|
|
20625
|
+
};
|
|
20626
|
+
|
|
20627
|
+
return _extends$1.apply(this, arguments);
|
|
20628
|
+
}
|
|
20629
|
+
|
|
20630
|
+
function _objectWithoutPropertiesLoose(source, excluded) {
|
|
20631
|
+
if (source == null) return {};
|
|
20632
|
+
var target = {};
|
|
20633
|
+
var sourceKeys = Object.keys(source);
|
|
20634
|
+
var key, i;
|
|
20635
|
+
|
|
20636
|
+
for (i = 0; i < sourceKeys.length; i++) {
|
|
20637
|
+
key = sourceKeys[i];
|
|
20638
|
+
if (excluded.indexOf(key) >= 0) continue;
|
|
20639
|
+
target[key] = source[key];
|
|
20640
|
+
}
|
|
20641
|
+
|
|
20642
|
+
return target;
|
|
20643
|
+
}
|
|
20644
|
+
|
|
20645
|
+
const _excluded$5 = ["onClick", "reloadDocument", "replace", "state", "target", "to"];
|
|
20646
|
+
|
|
20647
|
+
function isModifiedEvent(event) {
|
|
20648
|
+
return !!(event.metaKey || event.altKey || event.ctrlKey || event.shiftKey);
|
|
20649
|
+
}
|
|
20650
|
+
|
|
20651
|
+
/**
|
|
20652
|
+
* The public API for rendering a history-aware <a>.
|
|
20653
|
+
*/
|
|
20654
|
+
const Link$1 = /*#__PURE__*/React.forwardRef(function LinkWithRef(_ref4, ref) {
|
|
20655
|
+
let {
|
|
20656
|
+
onClick,
|
|
20657
|
+
reloadDocument,
|
|
20658
|
+
replace = false,
|
|
20659
|
+
state,
|
|
20660
|
+
target,
|
|
20661
|
+
to
|
|
20662
|
+
} = _ref4,
|
|
20663
|
+
rest = _objectWithoutPropertiesLoose(_ref4, _excluded$5);
|
|
20664
|
+
|
|
20665
|
+
let href = useHref(to);
|
|
20666
|
+
let internalOnClick = useLinkClickHandler(to, {
|
|
20667
|
+
replace,
|
|
20668
|
+
state,
|
|
20669
|
+
target
|
|
20670
|
+
});
|
|
20671
|
+
|
|
20672
|
+
function handleClick(event) {
|
|
20673
|
+
if (onClick) onClick(event);
|
|
20674
|
+
|
|
20675
|
+
if (!event.defaultPrevented && !reloadDocument) {
|
|
20676
|
+
internalOnClick(event);
|
|
20677
|
+
}
|
|
20678
|
+
}
|
|
20679
|
+
|
|
20680
|
+
return (
|
|
20681
|
+
/*#__PURE__*/
|
|
20682
|
+
// eslint-disable-next-line jsx-a11y/anchor-has-content
|
|
20683
|
+
React.createElement("a", _extends$1({}, rest, {
|
|
20684
|
+
href: href,
|
|
20685
|
+
onClick: handleClick,
|
|
20686
|
+
ref: ref,
|
|
20687
|
+
target: target
|
|
20688
|
+
}))
|
|
20689
|
+
);
|
|
20690
|
+
});
|
|
20691
|
+
// HOOKS
|
|
20692
|
+
////////////////////////////////////////////////////////////////////////////////
|
|
20693
|
+
|
|
20694
|
+
/**
|
|
20695
|
+
* Handles the click behavior for router `<Link>` components. This is useful if
|
|
20696
|
+
* you need to create custom `<Link>` components with the same click behavior we
|
|
20697
|
+
* use in our exported `<Link>`.
|
|
20698
|
+
*/
|
|
20699
|
+
|
|
20700
|
+
|
|
20701
|
+
function useLinkClickHandler(to, _temp) {
|
|
20702
|
+
let {
|
|
20703
|
+
target,
|
|
20704
|
+
replace: replaceProp,
|
|
20705
|
+
state
|
|
20706
|
+
} = _temp === void 0 ? {} : _temp;
|
|
20707
|
+
let navigate = useNavigate();
|
|
20708
|
+
let location = useLocation();
|
|
20709
|
+
let path = useResolvedPath(to);
|
|
20710
|
+
return React.useCallback(event => {
|
|
20711
|
+
if (event.button === 0 && ( // Ignore everything but left clicks
|
|
20712
|
+
!target || target === "_self") && // Let browser handle "target=_blank" etc.
|
|
20713
|
+
!isModifiedEvent(event) // Ignore clicks with modifier keys
|
|
20714
|
+
) {
|
|
20715
|
+
event.preventDefault(); // If the URL hasn't changed, a regular <a> will do a replace instead of
|
|
20716
|
+
// a push, so do the same here.
|
|
20717
|
+
|
|
20718
|
+
let replace = !!replaceProp || createPath(location) === createPath(path);
|
|
20719
|
+
navigate(to, {
|
|
20720
|
+
replace,
|
|
20721
|
+
state
|
|
20722
|
+
});
|
|
20723
|
+
}
|
|
20724
|
+
}, [location, navigate, path, replaceProp, state, target, to]);
|
|
20725
|
+
}
|
|
20726
|
+
|
|
20727
|
+
var styled$7 = {
|
|
20728
|
+
LinkWrapper: styled$a.div.withConfig({
|
|
20729
|
+
displayName: "styles__LinkWrapper",
|
|
20730
|
+
componentId: "sc-fhfdft-0"
|
|
20731
|
+
})(["display:flex;color:", ";align-items:center;font-size:13px;& a{text-decoration:none;color:inherit;}"], getColor$1('blue')),
|
|
20732
|
+
StyledIcon: styled$a(Icon).withConfig({
|
|
20733
|
+
displayName: "styles__StyledIcon",
|
|
20734
|
+
componentId: "sc-fhfdft-1"
|
|
20735
|
+
})(["margin-right:8px;"])
|
|
20736
|
+
};
|
|
20737
|
+
|
|
20738
|
+
var _excluded$4 = ["href", "children", "target", "icon"];
|
|
20739
|
+
|
|
20740
|
+
var Link = function Link(_ref) {
|
|
20741
|
+
var href = _ref.href,
|
|
20742
|
+
children = _ref.children,
|
|
20743
|
+
target = _ref.target,
|
|
20744
|
+
icon = _ref.icon,
|
|
20745
|
+
props = _objectWithoutProperties(_ref, _excluded$4);
|
|
20746
|
+
|
|
20747
|
+
var origin = window.location.origin;
|
|
20748
|
+
var internalLink = !href.startsWith('http');
|
|
20749
|
+
|
|
20750
|
+
var renderIcon = function renderIcon() {
|
|
20751
|
+
return icon ? /*#__PURE__*/React__default["default"].createElement(styled$7.StyledIcon, {
|
|
20752
|
+
name: icon
|
|
20753
|
+
}) : null;
|
|
20754
|
+
};
|
|
20755
|
+
|
|
20756
|
+
if ((internalLink || href.includes("".concat(origin))) && target === '_self') {
|
|
20757
|
+
var path;
|
|
20758
|
+
|
|
20759
|
+
if (internalLink) {
|
|
20760
|
+
path = href.startsWith('/') ? href : "/".concat(href);
|
|
20761
|
+
} else {
|
|
20762
|
+
path = href.replace("".concat(origin), '');
|
|
20763
|
+
}
|
|
20764
|
+
|
|
20765
|
+
return /*#__PURE__*/React__default["default"].createElement(styled$7.LinkWrapper, props, renderIcon(), /*#__PURE__*/React__default["default"].createElement(Link$1, {
|
|
20766
|
+
to: path,
|
|
20767
|
+
"data-test": "react-router-link"
|
|
20768
|
+
}, children || href));
|
|
20769
|
+
}
|
|
20770
|
+
|
|
20771
|
+
return /*#__PURE__*/React__default["default"].createElement(styled$7.LinkWrapper, props, renderIcon(), /*#__PURE__*/React__default["default"].createElement("a", {
|
|
20772
|
+
href: href,
|
|
20773
|
+
target: target
|
|
20774
|
+
}, children || href));
|
|
20775
|
+
};
|
|
20776
|
+
|
|
20777
|
+
Link.defaultProps = {
|
|
20778
|
+
href: '',
|
|
20779
|
+
target: '_self'
|
|
20780
|
+
};
|
|
20781
|
+
|
|
20782
|
+
var _excluded$3 = ["backgroundColor", "borderColor", "children", "disabled", "icon", "iconColor", "onClick", "onDelete", "selected", "styles", "textColor", "variant", "linkField", "data"];
|
|
20286
20783
|
|
|
20287
20784
|
var Chip = function Chip(_ref) {
|
|
20288
20785
|
var backgroundColor = _ref.backgroundColor,
|
|
@@ -20297,9 +20794,12 @@
|
|
|
20297
20794
|
styles = _ref.styles,
|
|
20298
20795
|
textColor = _ref.textColor,
|
|
20299
20796
|
variant = _ref.variant,
|
|
20797
|
+
linkField = _ref.linkField,
|
|
20798
|
+
data = _ref.data,
|
|
20300
20799
|
props = _objectWithoutProperties(_ref, _excluded$3);
|
|
20301
20800
|
|
|
20302
|
-
|
|
20801
|
+
var linkForHref = linkField && data[linkField];
|
|
20802
|
+
return /*#__PURE__*/React__default["default"].createElement(styled$8.Chip, _extends$2({
|
|
20303
20803
|
as: props.onClick ? 'button' : 'div',
|
|
20304
20804
|
backgroundColor: backgroundColor,
|
|
20305
20805
|
borderColor: borderColor,
|
|
@@ -20312,18 +20812,21 @@
|
|
|
20312
20812
|
styles: styles,
|
|
20313
20813
|
textColor: textColor,
|
|
20314
20814
|
variant: variant,
|
|
20315
|
-
iconColor: iconColor
|
|
20815
|
+
iconColor: iconColor,
|
|
20816
|
+
linkForHref: linkForHref
|
|
20316
20817
|
}, props), icon && /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
20317
20818
|
className: "chip-icon",
|
|
20318
20819
|
name: icon,
|
|
20319
20820
|
color: iconColor,
|
|
20320
|
-
pathStyles: styled$
|
|
20321
|
-
}), /*#__PURE__*/React__default["default"].createElement(styled$
|
|
20821
|
+
pathStyles: styled$8.iconPathStyles
|
|
20822
|
+
}), /*#__PURE__*/React__default["default"].createElement(styled$8.Children, null, linkForHref ? /*#__PURE__*/React__default["default"].createElement(Link, {
|
|
20823
|
+
href: linkForHref
|
|
20824
|
+
}, children) : children), onDelete && /*#__PURE__*/React__default["default"].createElement(styled$8.DeleteButton, {
|
|
20322
20825
|
type: "button",
|
|
20323
20826
|
onClick: onDelete
|
|
20324
20827
|
}, /*#__PURE__*/React__default["default"].createElement(Icon, {
|
|
20325
20828
|
color: "black",
|
|
20326
|
-
pathStyles: styled$
|
|
20829
|
+
pathStyles: styled$8.deleteButtonPathStyles,
|
|
20327
20830
|
className: "delete-button",
|
|
20328
20831
|
name: "cross_circle_flat",
|
|
20329
20832
|
size: 16
|
|
@@ -20337,21 +20840,23 @@
|
|
|
20337
20840
|
iconColor: 'grey',
|
|
20338
20841
|
selected: false,
|
|
20339
20842
|
textColor: '',
|
|
20340
|
-
variant: 'outlined'
|
|
20843
|
+
variant: 'outlined',
|
|
20844
|
+
linkField: '',
|
|
20845
|
+
data: {}
|
|
20341
20846
|
};
|
|
20342
20847
|
|
|
20343
20848
|
var styled$6 = {
|
|
20344
|
-
Wrapper: styled$
|
|
20849
|
+
Wrapper: styled$a.div.withConfig({
|
|
20345
20850
|
displayName: "styles__Wrapper",
|
|
20346
20851
|
componentId: "sc-zbd85t-0"
|
|
20347
20852
|
})(["display:flex;align-items:center;"]),
|
|
20348
|
-
ColorSample: styled$
|
|
20853
|
+
ColorSample: styled$a.div.withConfig({
|
|
20349
20854
|
displayName: "styles__ColorSample",
|
|
20350
20855
|
componentId: "sc-zbd85t-1"
|
|
20351
20856
|
})(["display:block;width:16px;height:16px;background-color:", ";border:1px solid ", ";border-radius:50%;"], function (props) {
|
|
20352
20857
|
return props.color;
|
|
20353
20858
|
}, palette.grey),
|
|
20354
|
-
Label: styled$
|
|
20859
|
+
Label: styled$a.span.withConfig({
|
|
20355
20860
|
displayName: "styles__Label",
|
|
20356
20861
|
componentId: "sc-zbd85t-2"
|
|
20357
20862
|
})(["margin-left:5px;text-transform:", ";"], function (props) {
|
|
@@ -20359,11 +20864,11 @@
|
|
|
20359
20864
|
})
|
|
20360
20865
|
};
|
|
20361
20866
|
({
|
|
20362
|
-
Grid: styled$
|
|
20867
|
+
Grid: styled$a.div.withConfig({
|
|
20363
20868
|
displayName: "styles__Grid",
|
|
20364
20869
|
componentId: "sc-zbd85t-3"
|
|
20365
20870
|
})(["display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));grid-gap:15px;"]),
|
|
20366
|
-
Item: styled$
|
|
20871
|
+
Item: styled$a.div.withConfig({
|
|
20367
20872
|
displayName: "styles__Item",
|
|
20368
20873
|
componentId: "sc-zbd85t-4"
|
|
20369
20874
|
})(["padding:5px;border:1px dashed #ccc;cursor:default;display:grid;justify-items:center;justify-content:center;grid-row-gap:5px;"])
|
|
@@ -20402,7 +20907,7 @@
|
|
|
20402
20907
|
return palette.darkGrey;
|
|
20403
20908
|
}
|
|
20404
20909
|
};
|
|
20405
|
-
var Ball = styled$
|
|
20910
|
+
var Ball = styled$a.div.withConfig({
|
|
20406
20911
|
displayName: "styles__Ball",
|
|
20407
20912
|
componentId: "sc-rtzdt3-0"
|
|
20408
20913
|
})(["width:16px;height:16px;border-radius:50%;position:absolute;top:4px;left:4px;background-color:", ";transition:all ", " 0.2s;", ""], palette.base.white, timingFunctions$1.standard, function (props) {
|
|
@@ -20414,7 +20919,7 @@
|
|
|
20414
20919
|
return props.checked ? palette.black : palette.darkGrey;
|
|
20415
20920
|
}));
|
|
20416
20921
|
var styled$5 = {
|
|
20417
|
-
OuterContainer: styled$
|
|
20922
|
+
OuterContainer: styled$a.div.withConfig({
|
|
20418
20923
|
displayName: "styles__OuterContainer",
|
|
20419
20924
|
componentId: "sc-rtzdt3-1"
|
|
20420
20925
|
})(["display:flex;width:44px;align-items:center;pointer-events:", ";align-self:center;position:relative;", " &:active ", "{box-shadow:0px 0px 0px 10px ", ";", " svg{fill:", ";}}"], function (props) {
|
|
@@ -20424,12 +20929,12 @@
|
|
|
20424
20929
|
iconCheckStyles, function (props) {
|
|
20425
20930
|
return props.checked ? palette.blue : palette.darkGrey;
|
|
20426
20931
|
}),
|
|
20427
|
-
Input: styled$
|
|
20932
|
+
Input: styled$a.input.withConfig({
|
|
20428
20933
|
displayName: "styles__Input",
|
|
20429
20934
|
componentId: "sc-rtzdt3-2"
|
|
20430
20935
|
})(["position:absolute;top:0;left:0;width:100%;height:100%;opacity:0;cursor:pointer;z-index:1;"]),
|
|
20431
20936
|
Ball: Ball,
|
|
20432
|
-
Container: styled$
|
|
20937
|
+
Container: styled$a.div.withConfig({
|
|
20433
20938
|
displayName: "styles__Container",
|
|
20434
20939
|
componentId: "sc-rtzdt3-3"
|
|
20435
20940
|
})(["width:44px;height:24px;background-color:", ";border-radius:50px;position:relative;", ""], function (props) {
|
|
@@ -20560,13 +21065,13 @@
|
|
|
20560
21065
|
};
|
|
20561
21066
|
|
|
20562
21067
|
var styled$4 = {
|
|
20563
|
-
Container: styled$
|
|
21068
|
+
Container: styled$a.div.withConfig({
|
|
20564
21069
|
displayName: "styles__Container",
|
|
20565
21070
|
componentId: "sc-1fhkfhs-0"
|
|
20566
21071
|
})(["position:relative;width:", ";"], function (props) {
|
|
20567
21072
|
return props.fullWidth ? '100%' : 'auto';
|
|
20568
21073
|
}),
|
|
20569
|
-
FloatingLabel: styled$
|
|
21074
|
+
FloatingLabel: styled$a.div.withConfig({
|
|
20570
21075
|
displayName: "styles__FloatingLabel",
|
|
20571
21076
|
componentId: "sc-1fhkfhs-1"
|
|
20572
21077
|
})(["position:absolute;font-size:", ";font-weight:400;color:", ";height:30px;line-height:30px;bottom:0;left:0;", " transform-origin:top left;transform:", ";transition:all 0.2s ", ";", ""], fontSize$1, function (props) {
|
|
@@ -20581,7 +21086,7 @@
|
|
|
20581
21086
|
isFloating = _ref2.isFloating;
|
|
20582
21087
|
return hasIcon && !isFloating && "padding-left: 32px";
|
|
20583
21088
|
}),
|
|
20584
|
-
Input: styled$
|
|
21089
|
+
Input: styled$a.input.withConfig({
|
|
20585
21090
|
displayName: "styles__Input",
|
|
20586
21091
|
componentId: "sc-1fhkfhs-2"
|
|
20587
21092
|
})(["@keyframes onAutoFill{}", " height:34px;border:none;font-size:", ";font-weight:400;color:", ";transition:color 0.2s ", ";cursor:pointer;width:100%;border-bottom:1px solid ", ";border-radius:0;", " ", " ", " &:hover{border-color:", ";}&:focus{border-color:", ";caret-color:", ";outline:none;}&:disabled{background-color:", ";color:", ";border-color:", ";cursor:default;}&:-webkit-autofill{animation-name:onAutoFill;}::-webkit-inner-spin-button{appearance:none;}", ""], function (props) {
|
|
@@ -20602,11 +21107,11 @@
|
|
|
20602
21107
|
}, function (props) {
|
|
20603
21108
|
return hoverAndFocusColor(props);
|
|
20604
21109
|
}, palette.base.white, palette.grey.main, palette.grey.main, mediaBreaks.onlyPrint(_templateObject$1 || (_templateObject$1 = _taggedTemplateLiteral(["\n\t\t\tborder-bottom: none;\n\t\t"])))),
|
|
20605
|
-
ErrorMessage: styled$
|
|
21110
|
+
ErrorMessage: styled$a.span.withConfig({
|
|
20606
21111
|
displayName: "styles__ErrorMessage",
|
|
20607
21112
|
componentId: "sc-1fhkfhs-3"
|
|
20608
21113
|
})(["color:", ";font-size:12px;line-height:14px;transform:translateY(-6px);word-break:break-word;"], palette.error.main),
|
|
20609
|
-
InputIcon: styled$
|
|
21114
|
+
InputIcon: styled$a(Icon).withConfig({
|
|
20610
21115
|
displayName: "styles__InputIcon",
|
|
20611
21116
|
componentId: "sc-1fhkfhs-4"
|
|
20612
21117
|
})(["position:absolute;flex-shrink:0;flex-grow:0;margin-right:8px;height:100%;"])
|
|
@@ -20728,7 +21233,7 @@
|
|
|
20728
21233
|
}, props.label), icon && /*#__PURE__*/React__default["default"].createElement(styled$4.InputIcon, {
|
|
20729
21234
|
name: icon,
|
|
20730
21235
|
color: error ? 'error' : 'black'
|
|
20731
|
-
}), /*#__PURE__*/React__default["default"].createElement(styled$4.Input, _extends$
|
|
21236
|
+
}), /*#__PURE__*/React__default["default"].createElement(styled$4.Input, _extends$2({}, props, {
|
|
20732
21237
|
ref: this.input,
|
|
20733
21238
|
placeholder: hasFloatingLabel && !isFloating ? '' : placeholder,
|
|
20734
21239
|
onBlur: this.handleBlur,
|
|
@@ -20800,13 +21305,13 @@
|
|
|
20800
21305
|
};
|
|
20801
21306
|
|
|
20802
21307
|
var styled$3 = {
|
|
20803
|
-
Container: styled$
|
|
21308
|
+
Container: styled$a.div.withConfig({
|
|
20804
21309
|
displayName: "styles__Container",
|
|
20805
21310
|
componentId: "sc-wtau65-0"
|
|
20806
21311
|
})(["position:relative;width:", ";"], function (props) {
|
|
20807
21312
|
return props.fullWidth ? '100%' : 'auto';
|
|
20808
21313
|
}),
|
|
20809
|
-
Textarea: styled$
|
|
21314
|
+
Textarea: styled$a.textarea.withConfig({
|
|
20810
21315
|
displayName: "styles__Textarea",
|
|
20811
21316
|
componentId: "sc-wtau65-1"
|
|
20812
21317
|
})(["border:none;border-bottom:1px solid ", ";border-radius:0;height:23px;max-height:350px;padding:0 9px 4px 0;resize:none;font-size:", ";font-weight:400;color:", ";", ";width:", ";", " ", " &:hover{border-color:", ";}&:focus{border-color:", ";caret-color:", ";outline:none;}&:disabled{background-color:", ";color:", ";border-color:", ";cursor:default;}", " ", ""], palette.grey.main, fontSize, palette.black.main, mixins.transition('color,border-color', '0.2s'), function (props) {
|
|
@@ -20816,7 +21321,7 @@
|
|
|
20816
21321
|
})), mixins.scrollbar(palette.grey.main, palette.base.white), palette.black.main, palette.primary.main, palette.primary.main, palette.base.white, palette.grey.main, palette.grey.main, function (props) {
|
|
20817
21322
|
return props.error && "\n\t\t\t&, &:hover, &:focus {\n\t\t\t\tborder-color: ".concat(palette.error.main, "\n\t\t\t}\n\t\t");
|
|
20818
21323
|
}, mediaBreaks.onlyPrint(_templateObject || (_templateObject = _taggedTemplateLiteral(["\n\t\t\tmin-height: initial;\n\t\t\theight: auto !important;\n\t\t\tborder-bottom: none;\n\t\t"])))),
|
|
20819
|
-
FloatingLabel: styled$
|
|
21324
|
+
FloatingLabel: styled$a.div.withConfig({
|
|
20820
21325
|
displayName: "styles__FloatingLabel",
|
|
20821
21326
|
componentId: "sc-wtau65-2"
|
|
20822
21327
|
})(["position:absolute;font-size:", ";font-weight:400;color:", ";height:24px;line-height:22px;top:0;left:0;pointer-events:", ";transform-origin:top left;transform:", ";transition:all 0.2s ", ";"], fontSize, function (props) {
|
|
@@ -20827,7 +21332,7 @@
|
|
|
20827
21332
|
}, function (props) {
|
|
20828
21333
|
return props.isFloating && 'translate(0, -18px) scale(0.75)';
|
|
20829
21334
|
}, timingFunctions.standard),
|
|
20830
|
-
ErrorMessage: styled$
|
|
21335
|
+
ErrorMessage: styled$a.span.withConfig({
|
|
20831
21336
|
displayName: "styles__ErrorMessage",
|
|
20832
21337
|
componentId: "sc-wtau65-3"
|
|
20833
21338
|
})(["color:", ";font-size:12px;line-height:14px;display:block;word-break:break-word;"], palette.error.main)
|
|
@@ -20940,7 +21445,7 @@
|
|
|
20940
21445
|
var isFloating = isFocused || !!value;
|
|
20941
21446
|
return /*#__PURE__*/React__default["default"].createElement(styled$3.Container, {
|
|
20942
21447
|
fullWidth: props.fullWidth
|
|
20943
|
-
}, hasFloatingLabel && /*#__PURE__*/React__default["default"].createElement(styled$3.FloatingLabel, _extends$
|
|
21448
|
+
}, hasFloatingLabel && /*#__PURE__*/React__default["default"].createElement(styled$3.FloatingLabel, _extends$2({}, props, {
|
|
20944
21449
|
"data-test": "floatingLabel",
|
|
20945
21450
|
error: error,
|
|
20946
21451
|
onClick: this.handleLabelClick,
|
|
@@ -20948,7 +21453,7 @@
|
|
|
20948
21453
|
isFocused: isFocused,
|
|
20949
21454
|
isFloating: isFloating,
|
|
20950
21455
|
isTranslateActive: isTranslateActive
|
|
20951
|
-
}), label), /*#__PURE__*/React__default["default"].createElement(styled$3.Textarea, _extends$
|
|
21456
|
+
}), label), /*#__PURE__*/React__default["default"].createElement(styled$3.Textarea, _extends$2({}, props, {
|
|
20952
21457
|
ref: this.textarea,
|
|
20953
21458
|
placeholder: hasFloatingLabel && !isFloating ? '' : placeholder,
|
|
20954
21459
|
onBlur: this.handleBlur,
|
|
@@ -20996,7 +21501,7 @@
|
|
|
20996
21501
|
};
|
|
20997
21502
|
|
|
20998
21503
|
var styled$2 = {
|
|
20999
|
-
ImageWrapper: styled$
|
|
21504
|
+
ImageWrapper: styled$a.div.withConfig({
|
|
21000
21505
|
displayName: "styles__ImageWrapper",
|
|
21001
21506
|
componentId: "sc-vrvp1c-0"
|
|
21002
21507
|
})(["width:", ";height:", ";border-radius:", ";", ";overflow:hidden;display:flex;justify-content:center;align-items:center;"], function (_ref) {
|
|
@@ -21012,7 +21517,7 @@
|
|
|
21012
21517
|
var background = _ref4.background;
|
|
21013
21518
|
return background && "background-color: ".concat(background);
|
|
21014
21519
|
}),
|
|
21015
|
-
Image: styled$
|
|
21520
|
+
Image: styled$a.img.withConfig({
|
|
21016
21521
|
displayName: "styles__Image",
|
|
21017
21522
|
componentId: "sc-vrvp1c-1"
|
|
21018
21523
|
})(["width:", ";height:", ";border-radius:", ";"], function (_ref5) {
|
|
@@ -21883,7 +22388,7 @@
|
|
|
21883
22388
|
}
|
|
21884
22389
|
|
|
21885
22390
|
var styled$1 = {
|
|
21886
|
-
ClickableWrapper: styled$
|
|
22391
|
+
ClickableWrapper: styled$a.div.withConfig({
|
|
21887
22392
|
displayName: "styles__ClickableWrapper",
|
|
21888
22393
|
componentId: "sc-lreg3c-0"
|
|
21889
22394
|
})(["display:flex;align-items:center;border:none;cursor:pointer;&:before{content:'';z-index:1;display:inline-block;border:1px solid ", ";background-color:", ";border-radius:48%;width:14px;height:14px;margin:7px 4px;position:absolute;margin-bottom:", "px;}"], palette.grey, function (props) {
|
|
@@ -21891,19 +22396,19 @@
|
|
|
21891
22396
|
}, function (props) {
|
|
21892
22397
|
return props.error ? '25' : '7';
|
|
21893
22398
|
}),
|
|
21894
|
-
ClosePickerWrapper: styled$
|
|
22399
|
+
ClosePickerWrapper: styled$a.div.withConfig({
|
|
21895
22400
|
displayName: "styles__ClosePickerWrapper",
|
|
21896
22401
|
componentId: "sc-lreg3c-1"
|
|
21897
22402
|
})(["position:fixed;top:0px;right:0px;bottom:0px;left:0px;"]),
|
|
21898
|
-
Input: styled$
|
|
22403
|
+
Input: styled$a(Input).withConfig({
|
|
21899
22404
|
displayName: "styles__Input",
|
|
21900
22405
|
componentId: "sc-lreg3c-2"
|
|
21901
22406
|
})(["padding-left:26px;"]),
|
|
21902
|
-
PickerWrapper: styled$
|
|
22407
|
+
PickerWrapper: styled$a.div.withConfig({
|
|
21903
22408
|
displayName: "styles__PickerWrapper",
|
|
21904
22409
|
componentId: "sc-lreg3c-3"
|
|
21905
22410
|
})(["position:absolute;top:31px;z-index:2;left:0;margin-top:15px;"]),
|
|
21906
|
-
Wrapper: styled$
|
|
22411
|
+
Wrapper: styled$a.div.withConfig({
|
|
21907
22412
|
displayName: "styles__Wrapper",
|
|
21908
22413
|
componentId: "sc-lreg3c-4"
|
|
21909
22414
|
})(["display:flex;flex-direction:column;width:100%;position:relative;"])
|
|
@@ -22312,11 +22817,11 @@
|
|
|
22312
22817
|
var Frame = /*@__PURE__*/getDefaultExportFromCjs(lib);
|
|
22313
22818
|
|
|
22314
22819
|
var styled = {
|
|
22315
|
-
Wrapper: styled$
|
|
22820
|
+
Wrapper: styled$a.div.withConfig({
|
|
22316
22821
|
displayName: "styles__Wrapper",
|
|
22317
22822
|
componentId: "sc-3jodl7-0"
|
|
22318
22823
|
})(["display:flex;align-items:center;align-self:center;height:100%;max-height:36px;overflow:hidden;white-space:nowrap;"]),
|
|
22319
|
-
Icon: styled$
|
|
22824
|
+
Icon: styled$a(Icon).withConfig({
|
|
22320
22825
|
displayName: "styles__Icon",
|
|
22321
22826
|
componentId: "sc-3jodl7-1"
|
|
22322
22827
|
})(["margin-right:6px;flex-shrink:0;"])
|