@norges-domstoler/dds-components 0.0.22 → 0.0.23
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/README.md +74 -63
- package/dist/components/Select/Select.d.ts +6 -4
- package/dist/components/Select/Select.styles.d.ts +3 -2
- package/dist/components/Table/SortCell.d.ts +2 -2
- package/dist/components/Table/tableData.d.ts +1 -1
- package/dist/index.css +60 -60
- package/dist/index.es.css +60 -60
- package/dist/index.es.js +600 -759
- package/dist/index.js +599 -758
- package/dist/styles/fontStyles.css +60 -60
- package/package.json +107 -108
- package/dist/helpers/inputFieldStylingBase.d.ts +0 -1
package/dist/index.es.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
-
import React__default, { useRef, useDebugValue, useContext, createElement, forwardRef, useState, useEffect, createContext, Fragment as Fragment$3, useLayoutEffect, Component,
|
|
2
|
+
import React__default, { useRef, useDebugValue, useContext, createElement, forwardRef, useState, useEffect, createContext, Fragment as Fragment$3, useLayoutEffect, Component, useCallback, useMemo, Children, isValidElement, cloneElement } from 'react';
|
|
3
3
|
import * as ReactDOM from 'react-dom';
|
|
4
4
|
import { createPortal } from 'react-dom';
|
|
5
5
|
|
|
@@ -2675,7 +2675,7 @@ function memoize$1(fn) {
|
|
|
2675
2675
|
|
|
2676
2676
|
var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/; // https://esbench.com/bench/5bfee68a4cd7e6009ef61d23
|
|
2677
2677
|
|
|
2678
|
-
var index
|
|
2678
|
+
var index = memoize$1(function (prop) {
|
|
2679
2679
|
return reactPropsRegex.test(prop) || prop.charCodeAt(0) === 111
|
|
2680
2680
|
/* o */
|
|
2681
2681
|
&& prop.charCodeAt(1) === 110
|
|
@@ -3022,7 +3022,7 @@ function hoistNonReactStatics(targetComponent, sourceComponent, blacklist) {
|
|
|
3022
3022
|
|
|
3023
3023
|
var hoistNonReactStatics_cjs = hoistNonReactStatics;
|
|
3024
3024
|
|
|
3025
|
-
function y$1(){return (y$1=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.typeOf(t)},S=Object.freeze([]),w$2=Object.freeze({});function E(e){return "function"==typeof e}function b$1(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N="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"!==process.env.NODE_ENV),O="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function R(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n<r;n+=1)t.push(n<0||arguments.length<=n?void 0:arguments[n]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t);})),e}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 "production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):"")):new Error(R.apply(void 0,[O[e]].concat(n)).trim())}var j$1=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 i=r;i<o;i++)this.groupSizes[i]=0;}for(var s=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(s,t[a])&&(this.groupSizes[e]++,s++);},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,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),T=new Map,x$1=new Map,k$1=1,V=function(e){if(T.has(e))return T.get(e);for(;x$1.has(k$1);)k$1++;var t=k$1++;return "production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&D(16,""+t),T.set(e,t),x$1.set(t,e),t},z$1=function(e){return x$1.get(e)},B=function(e,t){t>=k$1&&(k$1=t+1),T.set(e,t),x$1.set(t,e);},M="style["+N+'][data-styled-version="5.3.1"]',L=new RegExp("^"+N+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),G=function(e,t,n){for(var r,o=n.split(","),i=0,s=o.length;i<s;i++)(r=o[i])&&e.registerName(t,r);},F=function(e,t){for(var n=(t.innerHTML||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var s=n[o].trim();if(s){var a=s.match(L);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(B(u,c),G(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0;}else r.push(s);}}},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))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(N,"active"),r.setAttribute("data-styled-version","5.3.1");var s=Y();return s&&r.setAttribute("nonce",s),n.insertBefore(r,i),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}(),$=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={isServer:!C,useCSSOMInjection:!I},X=function(){function e(e,t,n){void 0===e&&(e=w$2),void 0===t&&(t={}),this.options=y$1({},J,{},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)&&(F(e,o),o.parentNode&&o.parentNode.removeChild(o));}}(this));}e.registerId=function(e){return V(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(y$1({},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 $(o),new j$1(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(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(e),n);},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},t.clearRules=function(e){this.getTag().clearGroup(V(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 i=z$1(o);if(void 0!==i){var s=e.names.get(i),a=t.getGroup(o);if(s&&a&&s.size){var c=N+".g"+o+'[id="'+i+'"]',u="";void 0!==s&&s.forEach((function(e){e.length>0&&(u+=e+",");})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n';}}}return r}(this)},e}(),Z=/(a)(d)/gi,K=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(t%52)+n;return (K(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.1"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,X.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 i=_e(this.rules,e,t,n).join(""),s=Q(ee(this.baseHash,i)>>>0);if(!t.hasNameForId(r,s)){var a=n(i,"."+s,void 0,r);t.insertRules(r,s,a);}o.push(s),this.staticRulesId=s;}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,"production"!==process.env.NODE_ENV&&(u=ee(u,h+d));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}(),ie=/^\s*\/\/.*$/gm,se=[":","[",".","#"];function ae(e){var t,n,r,o,i=void 0===e?w$2:e,s=i.options,a=void 0===s?w$2:s,c=i.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,i,s,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,i){return 0===r&&-1!==se.indexOf(i[n.length])||i.match(o)?e:"."+t};function m(e,i,s,a){void 0===a&&(a="&");var c=e.replace(ie,""),u=i&&s?s+" "+i+" { "+c+" }":c;return t=a,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(s||!i?"":i,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.createContext();ce.Consumer;var le=React__default.createContext(),de=(le.Consumer,new X),he=ae();function pe(){return useContext(ce)||de}function fe(){return 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 i,s=[],a=0,c=e.length;a<c;a+=1)""!==(i=_e(e[a],n,r,o))&&(Array.isArray(i)?s.push.apply(s,i):s.push(i));return s}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 "production"!==process.env.NODE_ENV&&reactIs$2.isElement(u)&&console.warn(b$1(e)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),_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,i=[];for(var s in t)t.hasOwnProperty(s)&&!be(t[s])&&(Array.isArray(t[s])&&t[s].isCss||E(t[s])?i.push(Ee(s)+":",t[s],";"):g$1(t[s])?i.push.apply(i,e(t[s],s)):i.push(Ee(s)+": "+(r=s,null==(o=t[s])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in unitlessKeys?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(i,["}"]):i}(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 Ce=/invalid hook call/i,Ie=new Set,Pe=function(e,t){if("production"!==process.env.NODE_ENV){var n="The component "+e+(t?' with the id of "'+t+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",r=console.error;try{var o=!0;console.error=function(e){if(Ce.test(e))o=!1,Ie.delete(n);else {for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];r.apply(void 0,[e].concat(i));}},useRef(),o&&!Ie.has(n)&&(console.warn(n),Ie.add(n));}catch(e){Ce.test(e.message)&&Ie.delete(n);}finally{console.error=r;}}},Oe=function(e,t,n){return void 0===n&&(n=w$2),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"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}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,i=n;o<i.length;o++){var s=i[o];if(ke(s))for(var a in s)Ve(a)&&ze(e,s[a],a);}return e}var Me=React__default.createContext();Me.Consumer;var Fe={};function Ye(e,t,n){var o=_(e),s=!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.1"+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,s=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,d=e.shouldForwardProp,h=e.styledComponentId,p=e.target;"production"!==process.env.NODE_ENV&&useDebugValue(h);var m=function(e,t,n){void 0===e&&(e=w$2);var r=y$1({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,s=e;for(t in E(s)&&(s=s(r)),s)r[t]=o[t]="className"===t?(n=o[t],i=s[t],n&&i?n+" "+i:n||i):s[t];})),[r,o]}(Oe(t,useContext(Me),a)||w$2,t,o),v=m[0],g=m[1],S=function(e,t,n,r){var o=pe(),i=fe(),s=t?e.generateAndInjectStyles(w$2,o,i):e.generateAndInjectStyles(n,o,i);return "production"!==process.env.NODE_ENV&&useDebugValue(s),"production"!==process.env.NODE_ENV&&!t&&r&&r(s),s}(s,r,v,"production"!==process.env.NODE_ENV?e.warnTooManyClasses:void 0),b=n,_=g.$as||t.$as||g.as||t.as||p,N=xe(_),A=g!==t?y$1({},t,{},g):t,C={};for(var I in A)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?C.as=A[I]:(d?d(I,index$1,_):!N||index$1(I))&&(C[I]=A[I]));return t.style&&g.style!==t.style&&(C.style=y$1({},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,createElement(_,C)}(C,e,t,P)};return O.displayName=v,(C=React__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={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(xe(e)?e:je(b$1(e)));return Ye(e,y$1({},o,{attrs:N,componentId:i}),n)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Be({},e.defaultProps,t):t;}}),"production"!==process.env.NODE_ENV&&(Pe(v,g),C.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var i=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+i+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={};}}}(v,g)),C.toString=function(){return "."+C.styledComponentId},s&&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$2),!reactIs$2.isValidElementType(r))return D(1,String(r));var i=function(){return t(r,o,Ae.apply(void 0,arguments))};return i.withConfig=function(n){return e(t,r,y$1({},o,{},n))},i.attrs=function(n){return e(t,r,y$1({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},i}(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);}));"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var styled = qe;
|
|
3025
|
+
function y$1(){return (y$1=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.typeOf(t)},S=Object.freeze([]),w$2=Object.freeze({});function E(e){return "function"==typeof e}function b$1(e){return "production"!==process.env.NODE_ENV&&"string"==typeof e&&e||e.displayName||e.name||"Component"}function _(e){return e&&"string"==typeof e.styledComponentId}var N="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"!==process.env.NODE_ENV),O="production"!==process.env.NODE_ENV?{1:"Cannot create styled-component for component: %s.\n\n",2:"Can't collect styles once you've consumed a `ServerStyleSheet`'s styles! `ServerStyleSheet` is a one off instance for each server-side render cycle.\n\n- Are you trying to reuse it across renders?\n- Are you accidentally calling collectStyles twice?\n\n",3:"Streaming SSR is only supported in a Node.js environment; Please do not try to call this method in the browser.\n\n",4:"The `StyleSheetManager` expects a valid target or sheet prop!\n\n- Does this error occur on the client and is your target falsy?\n- Does this error occur on the server and is the sheet falsy?\n\n",5:"The clone method cannot be used on the client!\n\n- Are you running in a client-like environment on the server?\n- Are you trying to run SSR on the client?\n\n",6:"Trying to insert a new style tag, but the given Node is unmounted!\n\n- Are you using a custom target that isn't mounted?\n- Does your document not have a valid head element?\n- Have you accidentally removed a style tag manually?\n\n",7:'ThemeProvider: Please return an object from your "theme" prop function, e.g.\n\n```js\ntheme={() => ({})}\n```\n\n',8:'ThemeProvider: Please make your "theme" prop an object.\n\n',9:"Missing document `<head>`\n\n",10:"Cannot find a StyleSheet instance. Usually this happens if there are multiple copies of styled-components loaded at once. Check out this issue for how to troubleshoot and fix the common cases where this situation can happen: https://github.com/styled-components/styled-components/issues/1941#issuecomment-417862021\n\n",11:"_This error was replaced with a dev-time warning, it will be deleted for v4 final._ [createGlobalStyle] received children which will not be rendered. Please use the component without passing children elements.\n\n",12:"It seems you are interpolating a keyframe declaration (%s) into an untagged string. This was supported in styled-components v3, but is not longer supported in v4 as keyframes are now injected on-demand. Please wrap your string in the css\\`\\` helper which ensures the styles are injected correctly. See https://www.styled-components.com/docs/api#css\n\n",13:"%s is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details.\n\n",14:'ThemeProvider: "theme" prop is required.\n\n',15:"A stylis plugin has been supplied that is not named. We need a name for each plugin to be able to prevent styling collisions between different stylis configurations within the same app. Before you pass your plugin to `<StyleSheetManager stylisPlugins={[]}>`, please make sure each plugin is uniquely-named, e.g.\n\n```js\nObject.defineProperty(importedPlugin, 'name', { value: 'some-unique-name' });\n```\n\n",16:"Reached the limit of how many styled components may be created at group %s.\nYou may only create up to 1,073,741,824 components. If you're creating components dynamically,\nas for instance in your render method then you may be running into this limitation.\n\n",17:"CSSStyleSheet could not be found on HTMLStyleElement.\nHas styled-components' style tag been unmounted or altered by another script?\n"}:{};function R(){for(var e=arguments.length<=0?void 0:arguments[0],t=[],n=1,r=arguments.length;n<r;n+=1)t.push(n<0||arguments.length<=n?void 0:arguments[n]);return t.forEach((function(t){e=e.replace(/%[a-z]/,t);})),e}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 "production"===process.env.NODE_ENV?new Error("An error occurred. See https://git.io/JUIaE#"+e+" for more information."+(n.length>0?" Args: "+n.join(", "):"")):new Error(R.apply(void 0,[O[e]].concat(n)).trim())}var j$1=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 i=r;i<o;i++)this.groupSizes[i]=0;}for(var s=this.indexOfGroup(e+1),a=0,c=t.length;a<c;a++)this.tag.insertRule(s,t[a])&&(this.groupSizes[e]++,s++);},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,i=r;i<o;i++)t+=this.tag.getRule(i)+"/*!sc*/\n";return t},e}(),T=new Map,x$1=new Map,k$1=1,V=function(e){if(T.has(e))return T.get(e);for(;x$1.has(k$1);)k$1++;var t=k$1++;return "production"!==process.env.NODE_ENV&&((0|t)<0||t>1<<30)&&D(16,""+t),T.set(e,t),x$1.set(t,e),t},z$1=function(e){return x$1.get(e)},B=function(e,t){t>=k$1&&(k$1=t+1),T.set(e,t),x$1.set(t,e);},M="style["+N+'][data-styled-version="5.3.1"]',L=new RegExp("^"+N+'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)'),G=function(e,t,n){for(var r,o=n.split(","),i=0,s=o.length;i<s;i++)(r=o[i])&&e.registerName(t,r);},F=function(e,t){for(var n=(t.innerHTML||"").split("/*!sc*/\n"),r=[],o=0,i=n.length;o<i;o++){var s=n[o].trim();if(s){var a=s.match(L);if(a){var c=0|parseInt(a[1],10),u=a[2];0!==c&&(B(u,c),G(e,u,a[3]),e.getTag().insertRules(c,r)),r.length=0;}else r.push(s);}}},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))return r}}(n),i=void 0!==o?o.nextSibling:null;r.setAttribute(N,"active"),r.setAttribute("data-styled-version","5.3.1");var s=Y();return s&&r.setAttribute("nonce",s),n.insertBefore(r,i),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}(),$=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={isServer:!C,useCSSOMInjection:!I},X=function(){function e(e,t,n){void 0===e&&(e=w$2),void 0===t&&(t={}),this.options=y$1({},J,{},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)&&(F(e,o),o.parentNode&&o.parentNode.removeChild(o));}}(this));}e.registerId=function(e){return V(e)};var t=e.prototype;return t.reconstructWithOptions=function(t,n){return void 0===n&&(n=!0),new e(y$1({},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 $(o),new j$1(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(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(e),n);},t.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},t.clearRules=function(e){this.getTag().clearGroup(V(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 i=z$1(o);if(void 0!==i){var s=e.names.get(i),a=t.getGroup(o);if(s&&a&&s.size){var c=N+".g"+o+'[id="'+i+'"]',u="";void 0!==s&&s.forEach((function(e){e.length>0&&(u+=e+",");})),r+=""+a+c+'{content:"'+u+'"}/*!sc*/\n';}}}return r}(this)},e}(),Z=/(a)(d)/gi,K=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(t%52)+n;return (K(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.1"),oe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic="production"===process.env.NODE_ENV&&(void 0===n||n.isStatic)&&ne(e),this.componentId=t,this.baseHash=ee(re,t),this.baseStyle=n,X.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 i=_e(this.rules,e,t,n).join(""),s=Q(ee(this.baseHash,i)>>>0);if(!t.hasNameForId(r,s)){var a=n(i,"."+s,void 0,r);t.insertRules(r,s,a);}o.push(s),this.staticRulesId=s;}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,"production"!==process.env.NODE_ENV&&(u=ee(u,h+d));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}(),ie=/^\s*\/\/.*$/gm,se=[":","[",".","#"];function ae(e){var t,n,r,o,i=void 0===e?w$2:e,s=i.options,a=void 0===s?w$2:s,c=i.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,i,s,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,i){return 0===r&&-1!==se.indexOf(i[n.length])||i.match(o)?e:"."+t};function m(e,i,s,a){void 0===a&&(a="&");var c=e.replace(ie,""),u=i&&s?s+" "+i+" { "+c+" }":c;return t=a,n=i,r=new RegExp("\\"+n+"\\b","g"),o=new RegExp("(\\"+n+"\\b){2,}"),l(s||!i?"":i,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.createContext();ce.Consumer;var le=React__default.createContext(),de=(le.Consumer,new X),he=ae();function pe(){return useContext(ce)||de}function fe(){return 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 i,s=[],a=0,c=e.length;a<c;a+=1)""!==(i=_e(e[a],n,r,o))&&(Array.isArray(i)?s.push.apply(s,i):s.push(i));return s}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 "production"!==process.env.NODE_ENV&&reactIs$2.isElement(u)&&console.warn(b$1(e)+" is not a styled component and cannot be referred to via component selector. See https://www.styled-components.com/docs/advanced#referring-to-other-components for more details."),_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,i=[];for(var s in t)t.hasOwnProperty(s)&&!be(t[s])&&(Array.isArray(t[s])&&t[s].isCss||E(t[s])?i.push(Ee(s)+":",t[s],";"):g$1(t[s])?i.push.apply(i,e(t[s],s)):i.push(Ee(s)+": "+(r=s,null==(o=t[s])||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||r in unitlessKeys?String(o).trim():o+"px")+";"));return n?[n+" {"].concat(i,["}"]):i}(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 Ce=/invalid hook call/i,Ie=new Set,Pe=function(e,t){if("production"!==process.env.NODE_ENV){var n="The component "+e+(t?' with the id of "'+t+'"':"")+" has been created dynamically.\nYou may see this warning because you've called styled inside another component.\nTo resolve this only create new StyledComponents outside of any render method and function component.",r=console.error;try{var o=!0;console.error=function(e){if(Ce.test(e))o=!1,Ie.delete(n);else {for(var t=arguments.length,i=new Array(t>1?t-1:0),s=1;s<t;s++)i[s-1]=arguments[s];r.apply(void 0,[e].concat(i));}},useRef(),o&&!Ie.has(n)&&(console.warn(n),Ie.add(n));}catch(e){Ce.test(e.message)&&Ie.delete(n);}finally{console.error=r;}}},Oe=function(e,t,n){return void 0===n&&(n=w$2),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"===process.env.NODE_ENV||e.charAt(0)===e.charAt(0).toLowerCase())}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,i=n;o<i.length;o++){var s=i[o];if(ke(s))for(var a in s)Ve(a)&&ze(e,s[a],a);}return e}var Me=React__default.createContext();Me.Consumer;var Fe={};function Ye(e,t,n){var o=_(e),s=!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.1"+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,s=e.componentStyle,a=e.defaultProps,c=e.foldedComponentIds,d=e.shouldForwardProp,h=e.styledComponentId,p=e.target;"production"!==process.env.NODE_ENV&&useDebugValue(h);var m=function(e,t,n){void 0===e&&(e=w$2);var r=y$1({},t,{theme:e}),o={};return n.forEach((function(e){var t,n,i,s=e;for(t in E(s)&&(s=s(r)),s)r[t]=o[t]="className"===t?(n=o[t],i=s[t],n&&i?n+" "+i:n||i):s[t];})),[r,o]}(Oe(t,useContext(Me),a)||w$2,t,o),v=m[0],g=m[1],S=function(e,t,n,r){var o=pe(),i=fe(),s=t?e.generateAndInjectStyles(w$2,o,i):e.generateAndInjectStyles(n,o,i);return "production"!==process.env.NODE_ENV&&useDebugValue(s),"production"!==process.env.NODE_ENV&&!t&&r&&r(s),s}(s,r,v,"production"!==process.env.NODE_ENV?e.warnTooManyClasses:void 0),b=n,_=g.$as||t.$as||g.as||t.as||p,N=xe(_),A=g!==t?y$1({},t,{},g):t,C={};for(var I in A)"$"!==I[0]&&"as"!==I&&("forwardedAs"===I?C.as=A[I]:(d?d(I,index,_):!N||index(I))&&(C[I]=A[I]));return t.style&&g.style!==t.style&&(C.style=y$1({},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,createElement(_,C)}(C,e,t,P)};return O.displayName=v,(C=React__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={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}(t,["componentId"]),i=r&&r+"-"+(xe(e)?e:je(b$1(e)));return Ye(e,y$1({},o,{attrs:N,componentId:i}),n)},Object.defineProperty(C,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(t){this._foldedDefaultProps=o?Be({},e.defaultProps,t):t;}}),"production"!==process.env.NODE_ENV&&(Pe(v,g),C.warnTooManyClasses=function(e,t){var n={},r=!1;return function(o){if(!r&&(n[o]=!0,Object.keys(n).length>=200)){var i=t?' with the id of "'+t+'"':"";console.warn("Over 200 classes were generated for component "+e+i+".\nConsider using the attrs method, together with a style object for frequently changed styles.\nExample:\n const Component = styled.div.attrs(props => ({\n style: {\n background: props.background,\n },\n }))`width: 100%;`\n\n <Component />"),r=!0,n={};}}}(v,g)),C.toString=function(){return "."+C.styledComponentId},s&&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$2),!reactIs$2.isValidElementType(r))return D(1,String(r));var i=function(){return t(r,o,Ae.apply(void 0,arguments))};return i.withConfig=function(n){return e(t,r,y$1({},o,{},n))},i.attrs=function(n){return e(t,r,y$1({},o,{attrs:Array.prototype.concat(o.attrs,n).filter(Boolean)}))},i}(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);}));"production"!==process.env.NODE_ENV&&"undefined"!=typeof navigator&&"ReactNative"===navigator.product&&console.warn("It looks like you've imported 'styled-components' on React Native.\nPerhaps you're looking to import 'styled-components/native'?\nRead more about this at https://www.styled-components.com/docs/basics#react-native"),"production"!==process.env.NODE_ENV&&"test"!==process.env.NODE_ENV&&"undefined"!=typeof window&&(window["__styled-components-init__"]=window["__styled-components-init__"]||0,1===window["__styled-components-init__"]&&console.warn("It looks like there are several instances of 'styled-components' initialized in this application. This may cause dynamic styles to not render properly, errors during the rehydration process, a missing theme prop, and makes your application bigger without good reason.\n\nSee https://s-c.sh/2BAXzed for more info."),window["__styled-components-init__"]+=1);var styled = qe;
|
|
3026
3026
|
|
|
3027
3027
|
/**
|
|
3028
3028
|
* Do not edit directly
|
|
@@ -12454,8 +12454,8 @@ function chainPropTypes(propType1, propType2) {
|
|
|
12454
12454
|
};
|
|
12455
12455
|
}
|
|
12456
12456
|
|
|
12457
|
-
function _extends
|
|
12458
|
-
_extends
|
|
12457
|
+
function _extends() {
|
|
12458
|
+
_extends = Object.assign || function (target) {
|
|
12459
12459
|
for (var i = 1; i < arguments.length; i++) {
|
|
12460
12460
|
var source = arguments[i];
|
|
12461
12461
|
|
|
@@ -12469,7 +12469,7 @@ function _extends$1() {
|
|
|
12469
12469
|
return target;
|
|
12470
12470
|
};
|
|
12471
12471
|
|
|
12472
|
-
return _extends
|
|
12472
|
+
return _extends.apply(this, arguments);
|
|
12473
12473
|
}
|
|
12474
12474
|
|
|
12475
12475
|
function _typeof$1(obj) {
|
|
@@ -12495,7 +12495,7 @@ function deepmerge(target, source) {
|
|
|
12495
12495
|
var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {
|
|
12496
12496
|
clone: true
|
|
12497
12497
|
};
|
|
12498
|
-
var output = options.clone ? _extends
|
|
12498
|
+
var output = options.clone ? _extends({}, target) : target;
|
|
12499
12499
|
|
|
12500
12500
|
if (isPlainObject(target) && isPlainObject(source)) {
|
|
12501
12501
|
Object.keys(source).forEach(function (key) {
|
|
@@ -13562,7 +13562,7 @@ function exactProp(propTypes) {
|
|
|
13562
13562
|
return propTypes;
|
|
13563
13563
|
}
|
|
13564
13564
|
|
|
13565
|
-
return _extends
|
|
13565
|
+
return _extends({}, propTypes, _defineProperty$1({}, specialProperty, function (props) {
|
|
13566
13566
|
var unsupportedProps = Object.keys(props).filter(function (prop) {
|
|
13567
13567
|
return !propTypes.hasOwnProperty(prop);
|
|
13568
13568
|
});
|
|
@@ -13725,7 +13725,7 @@ function _objectWithoutPropertiesLoose(source, excluded) {
|
|
|
13725
13725
|
return target;
|
|
13726
13726
|
}
|
|
13727
13727
|
|
|
13728
|
-
function _objectWithoutProperties
|
|
13728
|
+
function _objectWithoutProperties(source, excluded) {
|
|
13729
13729
|
if (source == null) return {};
|
|
13730
13730
|
var target = _objectWithoutPropertiesLoose(source, excluded);
|
|
13731
13731
|
var key, i;
|
|
@@ -13917,7 +13917,7 @@ function _defineProperties(target, props) {
|
|
|
13917
13917
|
}
|
|
13918
13918
|
}
|
|
13919
13919
|
|
|
13920
|
-
function _createClass
|
|
13920
|
+
function _createClass(Constructor, protoProps, staticProps) {
|
|
13921
13921
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
13922
13922
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
13923
13923
|
return Constructor;
|
|
@@ -14246,13 +14246,13 @@ function (_BaseStyleRule) {
|
|
|
14246
14246
|
_proto2.toString = function toString(options) {
|
|
14247
14247
|
var sheet = this.options.sheet;
|
|
14248
14248
|
var link = sheet ? sheet.options.link : false;
|
|
14249
|
-
var opts = link ? _extends
|
|
14249
|
+
var opts = link ? _extends({}, options, {
|
|
14250
14250
|
allowEmpty: true
|
|
14251
14251
|
}) : options;
|
|
14252
14252
|
return toCss(this.selectorText, this.style, opts);
|
|
14253
14253
|
};
|
|
14254
14254
|
|
|
14255
|
-
_createClass
|
|
14255
|
+
_createClass(StyleRule, [{
|
|
14256
14256
|
key: "selector",
|
|
14257
14257
|
set: function set(selector) {
|
|
14258
14258
|
if (selector === this.selectorText) return;
|
|
@@ -14314,7 +14314,7 @@ function () {
|
|
|
14314
14314
|
|
|
14315
14315
|
this.query = options.name || "@" + this.at;
|
|
14316
14316
|
this.options = options;
|
|
14317
|
-
this.rules = new RuleList(_extends
|
|
14317
|
+
this.rules = new RuleList(_extends({}, options, {
|
|
14318
14318
|
parent: this
|
|
14319
14319
|
}));
|
|
14320
14320
|
|
|
@@ -14420,12 +14420,12 @@ function () {
|
|
|
14420
14420
|
sheet = options.sheet,
|
|
14421
14421
|
generateId = options.generateId;
|
|
14422
14422
|
this.id = scoped === false ? this.name : escape(generateId(this, sheet));
|
|
14423
|
-
this.rules = new RuleList(_extends
|
|
14423
|
+
this.rules = new RuleList(_extends({}, options, {
|
|
14424
14424
|
parent: this
|
|
14425
14425
|
}));
|
|
14426
14426
|
|
|
14427
14427
|
for (var name in frames) {
|
|
14428
|
-
this.rules.add(name, frames[name], _extends
|
|
14428
|
+
this.rules.add(name, frames[name], _extends({}, options, {
|
|
14429
14429
|
parent: this
|
|
14430
14430
|
}));
|
|
14431
14431
|
}
|
|
@@ -14545,7 +14545,7 @@ function (_BaseStyleRule) {
|
|
|
14545
14545
|
_proto.toString = function toString(options) {
|
|
14546
14546
|
var sheet = this.options.sheet;
|
|
14547
14547
|
var link = sheet ? sheet.options.link : false;
|
|
14548
|
-
var opts = link ? _extends
|
|
14548
|
+
var opts = link ? _extends({}, options, {
|
|
14549
14549
|
allowEmpty: true
|
|
14550
14550
|
}) : options;
|
|
14551
14551
|
return toCss(this.key, this.style, opts);
|
|
@@ -14745,7 +14745,7 @@ function () {
|
|
|
14745
14745
|
generateId = _this$options.generateId,
|
|
14746
14746
|
scoped = _this$options.scoped;
|
|
14747
14747
|
|
|
14748
|
-
var options = _extends
|
|
14748
|
+
var options = _extends({
|
|
14749
14749
|
classes: this.classes,
|
|
14750
14750
|
parent: parent,
|
|
14751
14751
|
sheet: sheet,
|
|
@@ -14971,7 +14971,7 @@ function () {
|
|
|
14971
14971
|
this.deployed = false;
|
|
14972
14972
|
this.classes = {};
|
|
14973
14973
|
this.keyframes = {};
|
|
14974
|
-
this.options = _extends
|
|
14974
|
+
this.options = _extends({}, options, {
|
|
14975
14975
|
sheet: this,
|
|
14976
14976
|
parent: this,
|
|
14977
14977
|
classes: this.classes,
|
|
@@ -15363,7 +15363,7 @@ function () {
|
|
|
15363
15363
|
return css;
|
|
15364
15364
|
};
|
|
15365
15365
|
|
|
15366
|
-
_createClass
|
|
15366
|
+
_createClass(SheetsRegistry, [{
|
|
15367
15367
|
key: "index",
|
|
15368
15368
|
|
|
15369
15369
|
/**
|
|
@@ -15961,7 +15961,7 @@ function () {
|
|
|
15961
15961
|
}
|
|
15962
15962
|
|
|
15963
15963
|
if (options.id) {
|
|
15964
|
-
this.options.id = _extends
|
|
15964
|
+
this.options.id = _extends({}, this.options.id, options.id);
|
|
15965
15965
|
}
|
|
15966
15966
|
|
|
15967
15967
|
if (options.createGenerateId || options.id) {
|
|
@@ -15995,7 +15995,7 @@ function () {
|
|
|
15995
15995
|
index = registry.index === 0 ? 0 : registry.index + 1;
|
|
15996
15996
|
}
|
|
15997
15997
|
|
|
15998
|
-
var sheet = new StyleSheet$1(styles, _extends
|
|
15998
|
+
var sheet = new StyleSheet$1(styles, _extends({}, options, {
|
|
15999
15999
|
jss: this,
|
|
16000
16000
|
generateId: options.generateId || this.generateId,
|
|
16001
16001
|
insertionPoint: this.options.insertionPoint,
|
|
@@ -16037,7 +16037,7 @@ function () {
|
|
|
16037
16037
|
} // $FlowFixMe[incompatible-type]
|
|
16038
16038
|
|
|
16039
16039
|
|
|
16040
|
-
var ruleOptions = _extends
|
|
16040
|
+
var ruleOptions = _extends({}, options, {
|
|
16041
16041
|
name: name,
|
|
16042
16042
|
jss: this,
|
|
16043
16043
|
Renderer: this.options.Renderer
|
|
@@ -16206,7 +16206,7 @@ function () {
|
|
|
16206
16206
|
this.isProcessed = false;
|
|
16207
16207
|
this.key = key;
|
|
16208
16208
|
this.options = options;
|
|
16209
|
-
this.rules = new RuleList(_extends
|
|
16209
|
+
this.rules = new RuleList(_extends({}, options, {
|
|
16210
16210
|
parent: this
|
|
16211
16211
|
}));
|
|
16212
16212
|
|
|
@@ -16269,7 +16269,7 @@ function () {
|
|
|
16269
16269
|
this.key = key;
|
|
16270
16270
|
this.options = options;
|
|
16271
16271
|
var selector = key.substr(atPrefix.length);
|
|
16272
|
-
this.rule = options.jss.createRule(selector, style, _extends
|
|
16272
|
+
this.rule = options.jss.createRule(selector, style, _extends({}, options, {
|
|
16273
16273
|
parent: this
|
|
16274
16274
|
}));
|
|
16275
16275
|
}
|
|
@@ -16304,7 +16304,7 @@ function handleNestedGlobalContainerRule(rule, sheet) {
|
|
|
16304
16304
|
if (!rules) return;
|
|
16305
16305
|
|
|
16306
16306
|
for (var name in rules) {
|
|
16307
|
-
sheet.addRule(name, rules[name], _extends
|
|
16307
|
+
sheet.addRule(name, rules[name], _extends({}, options, {
|
|
16308
16308
|
selector: addScope(name, rule.selector)
|
|
16309
16309
|
}));
|
|
16310
16310
|
}
|
|
@@ -16319,7 +16319,7 @@ function handlePrefixedGlobalRule(rule, sheet) {
|
|
|
16319
16319
|
for (var prop in style) {
|
|
16320
16320
|
if (prop[0] !== '@' || prop.substr(0, at.length) !== at) continue;
|
|
16321
16321
|
var selector = addScope(prop.substr(at.length), rule.selector);
|
|
16322
|
-
sheet.addRule(selector, style[prop], _extends
|
|
16322
|
+
sheet.addRule(selector, style[prop], _extends({}, options, {
|
|
16323
16323
|
selector: selector
|
|
16324
16324
|
}));
|
|
16325
16325
|
delete style[prop];
|
|
@@ -16419,14 +16419,14 @@ function jssNested() {
|
|
|
16419
16419
|
|
|
16420
16420
|
function getOptions(rule, container, prevOptions) {
|
|
16421
16421
|
// Options has been already created, now we only increase index.
|
|
16422
|
-
if (prevOptions) return _extends
|
|
16422
|
+
if (prevOptions) return _extends({}, prevOptions, {
|
|
16423
16423
|
index: prevOptions.index + 1 // $FlowFixMe[prop-missing]
|
|
16424
16424
|
|
|
16425
16425
|
});
|
|
16426
16426
|
var nestingLevel = rule.options.nestingLevel;
|
|
16427
16427
|
nestingLevel = nestingLevel === undefined ? 1 : nestingLevel + 1;
|
|
16428
16428
|
|
|
16429
|
-
var options = _extends
|
|
16429
|
+
var options = _extends({}, rule.options, {
|
|
16430
16430
|
nestingLevel: nestingLevel,
|
|
16431
16431
|
index: container.indexOf(rule) + 1 // We don't need the parent name to be set options for chlid.
|
|
16432
16432
|
|
|
@@ -16456,7 +16456,7 @@ function jssNested() {
|
|
|
16456
16456
|
if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.
|
|
16457
16457
|
|
|
16458
16458
|
selector = selector.replace(refRegExp, replaceRef);
|
|
16459
|
-
container.addRule(selector, style[prop], _extends
|
|
16459
|
+
container.addRule(selector, style[prop], _extends({}, options, {
|
|
16460
16460
|
selector: selector
|
|
16461
16461
|
}));
|
|
16462
16462
|
} else if (isNestedConditional) {
|
|
@@ -17514,7 +17514,7 @@ function mergeClasses() {
|
|
|
17514
17514
|
return baseClasses;
|
|
17515
17515
|
}
|
|
17516
17516
|
|
|
17517
|
-
var nextClasses = _extends
|
|
17517
|
+
var nextClasses = _extends({}, baseClasses);
|
|
17518
17518
|
|
|
17519
17519
|
if (process.env.NODE_ENV !== 'production') {
|
|
17520
17520
|
if (typeof newClasses === 'string') {
|
|
@@ -17612,11 +17612,11 @@ function StylesProvider(props) {
|
|
|
17612
17612
|
injectFirst = _props$injectFirst === void 0 ? false : _props$injectFirst,
|
|
17613
17613
|
_props$disableGenerat = props.disableGeneration,
|
|
17614
17614
|
disableGeneration = _props$disableGenerat === void 0 ? false : _props$disableGenerat,
|
|
17615
|
-
localOptions = _objectWithoutProperties
|
|
17615
|
+
localOptions = _objectWithoutProperties(props, ["children", "injectFirst", "disableGeneration"]);
|
|
17616
17616
|
|
|
17617
17617
|
var outerOptions = React__default.useContext(StylesContext);
|
|
17618
17618
|
|
|
17619
|
-
var context = _extends
|
|
17619
|
+
var context = _extends({}, outerOptions, {
|
|
17620
17620
|
disableGeneration: disableGeneration
|
|
17621
17621
|
}, localOptions);
|
|
17622
17622
|
|
|
@@ -17780,7 +17780,7 @@ function getStylesCreator(stylesOrCreator) {
|
|
|
17780
17780
|
|
|
17781
17781
|
var overrides = theme.overrides[name];
|
|
17782
17782
|
|
|
17783
|
-
var stylesWithOverrides = _extends
|
|
17783
|
+
var stylesWithOverrides = _extends({}, styles);
|
|
17784
17784
|
|
|
17785
17785
|
Object.keys(overrides).forEach(function (key) {
|
|
17786
17786
|
if (process.env.NODE_ENV !== 'production') {
|
|
@@ -17863,7 +17863,7 @@ function attach(_ref2, props) {
|
|
|
17863
17863
|
multiKeyStore$1.set(stylesOptions.sheetsManager, stylesCreator, theme, sheetManager);
|
|
17864
17864
|
}
|
|
17865
17865
|
|
|
17866
|
-
var options = _extends
|
|
17866
|
+
var options = _extends({}, stylesCreator.options, stylesOptions, {
|
|
17867
17867
|
theme: theme,
|
|
17868
17868
|
flip: typeof stylesOptions.flip === 'boolean' ? stylesOptions.flip : theme.direction === 'rtl'
|
|
17869
17869
|
});
|
|
@@ -17881,7 +17881,7 @@ function attach(_ref2, props) {
|
|
|
17881
17881
|
var styles = stylesCreator.create(theme, name);
|
|
17882
17882
|
|
|
17883
17883
|
if (!staticSheet) {
|
|
17884
|
-
staticSheet = stylesOptions.jss.createStyleSheet(styles, _extends
|
|
17884
|
+
staticSheet = stylesOptions.jss.createStyleSheet(styles, _extends({
|
|
17885
17885
|
link: false
|
|
17886
17886
|
}, options));
|
|
17887
17887
|
staticSheet.attach();
|
|
@@ -17900,7 +17900,7 @@ function attach(_ref2, props) {
|
|
|
17900
17900
|
}
|
|
17901
17901
|
|
|
17902
17902
|
if (sheetManager.dynamicStyles) {
|
|
17903
|
-
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends
|
|
17903
|
+
var dynamicSheet = stylesOptions.jss.createStyleSheet(sheetManager.dynamicStyles, _extends({
|
|
17904
17904
|
link: true
|
|
17905
17905
|
}, options));
|
|
17906
17906
|
dynamicSheet.update(props);
|
|
@@ -17993,7 +17993,7 @@ function makeStyles(stylesOrCreator) {
|
|
|
17993
17993
|
Component = options.Component,
|
|
17994
17994
|
_options$defaultTheme = options.defaultTheme,
|
|
17995
17995
|
defaultTheme = _options$defaultTheme === void 0 ? noopTheme$1 : _options$defaultTheme,
|
|
17996
|
-
stylesOptions2 = _objectWithoutProperties
|
|
17996
|
+
stylesOptions2 = _objectWithoutProperties(options, ["name", "classNamePrefix", "Component", "defaultTheme"]);
|
|
17997
17997
|
|
|
17998
17998
|
var stylesCreator = getStylesCreator(stylesOrCreator);
|
|
17999
17999
|
var classNamePrefix = name || classNamePrefixOption || 'makeStyles';
|
|
@@ -18008,7 +18008,7 @@ function makeStyles(stylesOrCreator) {
|
|
|
18008
18008
|
var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
18009
18009
|
var theme = useTheme() || defaultTheme;
|
|
18010
18010
|
|
|
18011
|
-
var stylesOptions = _extends
|
|
18011
|
+
var stylesOptions = _extends({}, React__default.useContext(StylesContext), stylesOptions2);
|
|
18012
18012
|
|
|
18013
18013
|
var instance = React__default.useRef();
|
|
18014
18014
|
var shouldUpdate = React__default.useRef();
|
|
@@ -18047,7 +18047,7 @@ function makeStyles(stylesOrCreator) {
|
|
|
18047
18047
|
return useStyles;
|
|
18048
18048
|
}
|
|
18049
18049
|
|
|
18050
|
-
function _classCallCheck
|
|
18050
|
+
function _classCallCheck(instance, Constructor) {
|
|
18051
18051
|
if (!(instance instanceof Constructor)) {
|
|
18052
18052
|
throw new TypeError("Cannot call a class as a function");
|
|
18053
18053
|
}
|
|
@@ -18063,7 +18063,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
18063
18063
|
_options$withTheme = options.withTheme,
|
|
18064
18064
|
withTheme = _options$withTheme === void 0 ? false : _options$withTheme,
|
|
18065
18065
|
name = options.name,
|
|
18066
|
-
stylesOptions = _objectWithoutProperties
|
|
18066
|
+
stylesOptions = _objectWithoutProperties(options, ["defaultTheme", "withTheme", "name"]);
|
|
18067
18067
|
|
|
18068
18068
|
if (process.env.NODE_ENV !== 'production') {
|
|
18069
18069
|
if (Component === undefined) {
|
|
@@ -18084,7 +18084,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
18084
18084
|
}
|
|
18085
18085
|
}
|
|
18086
18086
|
|
|
18087
|
-
var useStyles = makeStyles(stylesOrCreator, _extends
|
|
18087
|
+
var useStyles = makeStyles(stylesOrCreator, _extends({
|
|
18088
18088
|
defaultTheme: defaultTheme,
|
|
18089
18089
|
Component: Component,
|
|
18090
18090
|
name: name || Component.displayName,
|
|
@@ -18093,12 +18093,12 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
18093
18093
|
var WithStyles = /*#__PURE__*/React__default.forwardRef(function WithStyles(props, ref) {
|
|
18094
18094
|
props.classes;
|
|
18095
18095
|
var innerRef = props.innerRef,
|
|
18096
|
-
other = _objectWithoutProperties
|
|
18096
|
+
other = _objectWithoutProperties(props, ["classes", "innerRef"]); // The wrapper receives only user supplied props, which could be a subset of
|
|
18097
18097
|
// the actual props Component might receive due to merging with defaultProps.
|
|
18098
18098
|
// So copying it here would give us the same result in the wrapper as well.
|
|
18099
18099
|
|
|
18100
18100
|
|
|
18101
|
-
var classes = useStyles(_extends
|
|
18101
|
+
var classes = useStyles(_extends({}, Component.defaultProps, props));
|
|
18102
18102
|
var theme;
|
|
18103
18103
|
var more = other;
|
|
18104
18104
|
|
|
@@ -18122,7 +18122,7 @@ var withStyles$1 = function withStyles(stylesOrCreator) {
|
|
|
18122
18122
|
}
|
|
18123
18123
|
}
|
|
18124
18124
|
|
|
18125
|
-
return /*#__PURE__*/React__default.createElement(Component, _extends
|
|
18125
|
+
return /*#__PURE__*/React__default.createElement(Component, _extends({
|
|
18126
18126
|
ref: innerRef || ref,
|
|
18127
18127
|
classes: classes
|
|
18128
18128
|
}, more));
|
|
@@ -18185,7 +18185,7 @@ function createBreakpoints(breakpoints) {
|
|
|
18185
18185
|
unit = _breakpoints$unit === void 0 ? 'px' : _breakpoints$unit,
|
|
18186
18186
|
_breakpoints$step = breakpoints.step,
|
|
18187
18187
|
step = _breakpoints$step === void 0 ? 5 : _breakpoints$step,
|
|
18188
|
-
other = _objectWithoutProperties
|
|
18188
|
+
other = _objectWithoutProperties(breakpoints, ["values", "unit", "step"]);
|
|
18189
18189
|
|
|
18190
18190
|
function up(key) {
|
|
18191
18191
|
var value = typeof values[key] === 'number' ? values[key] : key;
|
|
@@ -18232,7 +18232,7 @@ function createBreakpoints(breakpoints) {
|
|
|
18232
18232
|
return values[key];
|
|
18233
18233
|
}
|
|
18234
18234
|
|
|
18235
|
-
return _extends
|
|
18235
|
+
return _extends({
|
|
18236
18236
|
keys: keys,
|
|
18237
18237
|
values: values,
|
|
18238
18238
|
up: up,
|
|
@@ -18246,14 +18246,14 @@ function createBreakpoints(breakpoints) {
|
|
|
18246
18246
|
function createMixins(breakpoints, spacing, mixins) {
|
|
18247
18247
|
var _toolbar;
|
|
18248
18248
|
|
|
18249
|
-
return _extends
|
|
18249
|
+
return _extends({
|
|
18250
18250
|
gutters: function gutters() {
|
|
18251
18251
|
var styles = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
18252
18252
|
console.warn(['Material-UI: theme.mixins.gutters() is deprecated.', 'You can use the source of the mixin directly:', "\n paddingLeft: theme.spacing(2),\n paddingRight: theme.spacing(2),\n [theme.breakpoints.up('sm')]: {\n paddingLeft: theme.spacing(3),\n paddingRight: theme.spacing(3),\n },\n "].join('\n'));
|
|
18253
|
-
return _extends
|
|
18253
|
+
return _extends({
|
|
18254
18254
|
paddingLeft: spacing(2),
|
|
18255
18255
|
paddingRight: spacing(2)
|
|
18256
|
-
}, styles, _defineProperty$1({}, breakpoints.up('sm'), _extends
|
|
18256
|
+
}, styles, _defineProperty$1({}, breakpoints.up('sm'), _extends({
|
|
18257
18257
|
paddingLeft: spacing(3),
|
|
18258
18258
|
paddingRight: spacing(3)
|
|
18259
18259
|
}, styles[breakpoints.up('sm')])));
|
|
@@ -18746,7 +18746,7 @@ function createPalette(palette) {
|
|
|
18746
18746
|
contrastThreshold = _palette$contrastThre === void 0 ? 3 : _palette$contrastThre,
|
|
18747
18747
|
_palette$tonalOffset = palette.tonalOffset,
|
|
18748
18748
|
tonalOffset = _palette$tonalOffset === void 0 ? 0.2 : _palette$tonalOffset,
|
|
18749
|
-
other = _objectWithoutProperties
|
|
18749
|
+
other = _objectWithoutProperties(palette, ["primary", "secondary", "error", "warning", "info", "success", "type", "contrastThreshold", "tonalOffset"]); // Use the same logic as
|
|
18750
18750
|
// Bootstrap: https://github.com/twbs/bootstrap/blob/1d6e3710dd447de1a200f29e8fa521f8a0908f70/scss/_functions.scss#L59
|
|
18751
18751
|
// and material-components-web https://github.com/material-components/material-components-web/blob/ac46b8863c4dab9fc22c4c662dc6bd1b65dd652f/packages/mdc-theme/_functions.scss#L54
|
|
18752
18752
|
|
|
@@ -18769,7 +18769,7 @@ function createPalette(palette) {
|
|
|
18769
18769
|
var mainShade = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 500;
|
|
18770
18770
|
var lightShade = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 300;
|
|
18771
18771
|
var darkShade = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : 700;
|
|
18772
|
-
color = _extends
|
|
18772
|
+
color = _extends({}, color);
|
|
18773
18773
|
|
|
18774
18774
|
if (!color.main && color[mainShade]) {
|
|
18775
18775
|
color.main = color[mainShade];
|
|
@@ -18804,7 +18804,7 @@ function createPalette(palette) {
|
|
|
18804
18804
|
}
|
|
18805
18805
|
}
|
|
18806
18806
|
|
|
18807
|
-
var paletteOutput = deepmerge(_extends
|
|
18807
|
+
var paletteOutput = deepmerge(_extends({
|
|
18808
18808
|
// A collection of common colors.
|
|
18809
18809
|
common: common$1,
|
|
18810
18810
|
// The palette type, can be light or dark.
|
|
@@ -18882,7 +18882,7 @@ function createTypography(palette, typography) {
|
|
|
18882
18882
|
htmlFontSize = _ref$htmlFontSize === void 0 ? 16 : _ref$htmlFontSize,
|
|
18883
18883
|
allVariants = _ref.allVariants,
|
|
18884
18884
|
pxToRem2 = _ref.pxToRem,
|
|
18885
|
-
other = _objectWithoutProperties
|
|
18885
|
+
other = _objectWithoutProperties(_ref, ["fontFamily", "fontSize", "fontWeightLight", "fontWeightRegular", "fontWeightMedium", "fontWeightBold", "htmlFontSize", "allVariants", "pxToRem"]);
|
|
18886
18886
|
|
|
18887
18887
|
if (process.env.NODE_ENV !== 'production') {
|
|
18888
18888
|
if (typeof fontSize !== 'number') {
|
|
@@ -18901,7 +18901,7 @@ function createTypography(palette, typography) {
|
|
|
18901
18901
|
};
|
|
18902
18902
|
|
|
18903
18903
|
var buildVariant = function buildVariant(fontWeight, size, lineHeight, letterSpacing, casing) {
|
|
18904
|
-
return _extends
|
|
18904
|
+
return _extends({
|
|
18905
18905
|
fontFamily: fontFamily,
|
|
18906
18906
|
fontWeight: fontWeight,
|
|
18907
18907
|
fontSize: pxToRem(size),
|
|
@@ -18927,7 +18927,7 @@ function createTypography(palette, typography) {
|
|
|
18927
18927
|
caption: buildVariant(fontWeightRegular, 12, 1.66, 0.4),
|
|
18928
18928
|
overline: buildVariant(fontWeightRegular, 12, 2.66, 1, caseAllCaps)
|
|
18929
18929
|
};
|
|
18930
|
-
return deepmerge(_extends
|
|
18930
|
+
return deepmerge(_extends({
|
|
18931
18931
|
htmlFontSize: htmlFontSize,
|
|
18932
18932
|
pxToRem: pxToRem,
|
|
18933
18933
|
round: roundWithDeprecationWarning,
|
|
@@ -18964,6 +18964,48 @@ var shape$1 = shape;
|
|
|
18964
18964
|
var responsivePropType = process.env.NODE_ENV !== 'production' ? propTypes.oneOfType([propTypes.number, propTypes.string, propTypes.object, propTypes.array]) : {};
|
|
18965
18965
|
var responsivePropType$1 = responsivePropType;
|
|
18966
18966
|
|
|
18967
|
+
function _arrayWithHoles(arr) {
|
|
18968
|
+
if (Array.isArray(arr)) return arr;
|
|
18969
|
+
}
|
|
18970
|
+
|
|
18971
|
+
function _iterableToArrayLimit(arr, i) {
|
|
18972
|
+
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
|
|
18973
|
+
|
|
18974
|
+
if (_i == null) return;
|
|
18975
|
+
var _arr = [];
|
|
18976
|
+
var _n = true;
|
|
18977
|
+
var _d = false;
|
|
18978
|
+
|
|
18979
|
+
var _s, _e;
|
|
18980
|
+
|
|
18981
|
+
try {
|
|
18982
|
+
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {
|
|
18983
|
+
_arr.push(_s.value);
|
|
18984
|
+
|
|
18985
|
+
if (i && _arr.length === i) break;
|
|
18986
|
+
}
|
|
18987
|
+
} catch (err) {
|
|
18988
|
+
_d = true;
|
|
18989
|
+
_e = err;
|
|
18990
|
+
} finally {
|
|
18991
|
+
try {
|
|
18992
|
+
if (!_n && _i["return"] != null) _i["return"]();
|
|
18993
|
+
} finally {
|
|
18994
|
+
if (_d) throw _e;
|
|
18995
|
+
}
|
|
18996
|
+
}
|
|
18997
|
+
|
|
18998
|
+
return _arr;
|
|
18999
|
+
}
|
|
19000
|
+
|
|
19001
|
+
function _nonIterableRest() {
|
|
19002
|
+
throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
19003
|
+
}
|
|
19004
|
+
|
|
19005
|
+
function _slicedToArray(arr, i) {
|
|
19006
|
+
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest();
|
|
19007
|
+
}
|
|
19008
|
+
|
|
18967
19009
|
var spacingKeys = ['m', 'mt', 'mr', 'mb', 'ml', 'mx', 'my', 'p', 'pt', 'pr', 'pb', 'pl', 'px', 'py', 'margin', 'marginTop', 'marginRight', 'marginBottom', 'marginLeft', 'marginX', 'marginY', 'padding', 'paddingTop', 'paddingRight', 'paddingBottom', 'paddingLeft', 'paddingX', 'paddingY'];
|
|
18968
19010
|
function createUnarySpacing(theme) {
|
|
18969
19011
|
var themeSpacing = theme.spacing || 8;
|
|
@@ -19128,7 +19170,7 @@ var transitions = {
|
|
|
19128
19170
|
easingOption = _options$easing === void 0 ? easing.easeInOut : _options$easing,
|
|
19129
19171
|
_options$delay = options.delay,
|
|
19130
19172
|
delay = _options$delay === void 0 ? 0 : _options$delay,
|
|
19131
|
-
other = _objectWithoutProperties
|
|
19173
|
+
other = _objectWithoutProperties(options, ["duration", "easing", "delay"]);
|
|
19132
19174
|
|
|
19133
19175
|
if (process.env.NODE_ENV !== 'production') {
|
|
19134
19176
|
var isString = function isString(value) {
|
|
@@ -19200,7 +19242,7 @@ function createTheme() {
|
|
|
19200
19242
|
spacingInput = options.spacing,
|
|
19201
19243
|
_options$typography = options.typography,
|
|
19202
19244
|
typographyInput = _options$typography === void 0 ? {} : _options$typography,
|
|
19203
|
-
other = _objectWithoutProperties
|
|
19245
|
+
other = _objectWithoutProperties(options, ["breakpoints", "mixins", "palette", "spacing", "typography"]);
|
|
19204
19246
|
|
|
19205
19247
|
var palette = createPalette(paletteInput);
|
|
19206
19248
|
var breakpoints = createBreakpoints(breakpointsInput);
|
|
@@ -19267,7 +19309,7 @@ var defaultTheme$1 = createTheme();
|
|
|
19267
19309
|
var defaultTheme$2 = defaultTheme$1;
|
|
19268
19310
|
|
|
19269
19311
|
function withStyles(stylesOrCreator, options) {
|
|
19270
|
-
return withStylesWithoutDefault(stylesOrCreator, _extends
|
|
19312
|
+
return withStylesWithoutDefault(stylesOrCreator, _extends({
|
|
19271
19313
|
defaultTheme: defaultTheme$2
|
|
19272
19314
|
}, options));
|
|
19273
19315
|
}
|
|
@@ -19343,9 +19385,9 @@ var SvgIcon = /*#__PURE__*/React.forwardRef(function SvgIcon(props, ref) {
|
|
|
19343
19385
|
titleAccess = props.titleAccess,
|
|
19344
19386
|
_props$viewBox = props.viewBox,
|
|
19345
19387
|
viewBox = _props$viewBox === void 0 ? '0 0 24 24' : _props$viewBox,
|
|
19346
|
-
other = _objectWithoutProperties
|
|
19388
|
+
other = _objectWithoutProperties(props, ["children", "classes", "className", "color", "component", "fontSize", "htmlColor", "titleAccess", "viewBox"]);
|
|
19347
19389
|
|
|
19348
|
-
return /*#__PURE__*/React.createElement(Component, _extends
|
|
19390
|
+
return /*#__PURE__*/React.createElement(Component, _extends({
|
|
19349
19391
|
className: clsx(classes.root, className, color !== 'inherit' && classes["color".concat(capitalize(color))], fontSize !== 'default' && fontSize !== 'medium' && classes["fontSize".concat(capitalize(fontSize))]),
|
|
19350
19392
|
focusable: "false",
|
|
19351
19393
|
viewBox: viewBox,
|
|
@@ -19442,7 +19484,7 @@ var SvgIcon$1 = withStyles(styles, {
|
|
|
19442
19484
|
|
|
19443
19485
|
function createSvgIcon$1(path, displayName) {
|
|
19444
19486
|
var Component = function Component(props, ref) {
|
|
19445
|
-
return /*#__PURE__*/React__default.createElement(SvgIcon$1, _extends
|
|
19487
|
+
return /*#__PURE__*/React__default.createElement(SvgIcon$1, _extends({
|
|
19446
19488
|
ref: ref
|
|
19447
19489
|
}, props), path);
|
|
19448
19490
|
};
|
|
@@ -24021,270 +24063,6 @@ function _taggedTemplateLiteral(strings, raw) {
|
|
|
24021
24063
|
}));
|
|
24022
24064
|
}
|
|
24023
24065
|
|
|
24024
|
-
var _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };
|
|
24025
|
-
|
|
24026
|
-
var _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();
|
|
24027
|
-
|
|
24028
|
-
|
|
24029
|
-
|
|
24030
|
-
var _react2 = _interopRequireDefault(React__default);
|
|
24031
|
-
|
|
24032
|
-
|
|
24033
|
-
|
|
24034
|
-
var _propTypes2 = _interopRequireDefault(propTypes);
|
|
24035
|
-
|
|
24036
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
24037
|
-
|
|
24038
|
-
function _objectWithoutProperties(obj, keys) { var target = {}; for (var i in obj) { if (keys.indexOf(i) >= 0) continue; if (!Object.prototype.hasOwnProperty.call(obj, i)) continue; target[i] = obj[i]; } return target; }
|
|
24039
|
-
|
|
24040
|
-
function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
|
|
24041
|
-
|
|
24042
|
-
function _possibleConstructorReturn$1(self, call) { if (!self) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return call && (typeof call === "object" || typeof call === "function") ? call : self; }
|
|
24043
|
-
|
|
24044
|
-
function _inherits$1(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function, not " + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }
|
|
24045
|
-
|
|
24046
|
-
var sizerStyle = {
|
|
24047
|
-
position: 'absolute',
|
|
24048
|
-
top: 0,
|
|
24049
|
-
left: 0,
|
|
24050
|
-
visibility: 'hidden',
|
|
24051
|
-
height: 0,
|
|
24052
|
-
overflow: 'scroll',
|
|
24053
|
-
whiteSpace: 'pre'
|
|
24054
|
-
};
|
|
24055
|
-
|
|
24056
|
-
var INPUT_PROPS_BLACKLIST = ['extraWidth', 'injectStyles', 'inputClassName', 'inputRef', 'inputStyle', 'minWidth', 'onAutosize', 'placeholderIsMinWidth'];
|
|
24057
|
-
|
|
24058
|
-
var cleanInputProps = function cleanInputProps(inputProps) {
|
|
24059
|
-
INPUT_PROPS_BLACKLIST.forEach(function (field) {
|
|
24060
|
-
return delete inputProps[field];
|
|
24061
|
-
});
|
|
24062
|
-
return inputProps;
|
|
24063
|
-
};
|
|
24064
|
-
|
|
24065
|
-
var copyStyles = function copyStyles(styles, node) {
|
|
24066
|
-
node.style.fontSize = styles.fontSize;
|
|
24067
|
-
node.style.fontFamily = styles.fontFamily;
|
|
24068
|
-
node.style.fontWeight = styles.fontWeight;
|
|
24069
|
-
node.style.fontStyle = styles.fontStyle;
|
|
24070
|
-
node.style.letterSpacing = styles.letterSpacing;
|
|
24071
|
-
node.style.textTransform = styles.textTransform;
|
|
24072
|
-
};
|
|
24073
|
-
|
|
24074
|
-
var isIE = typeof window !== 'undefined' && window.navigator ? /MSIE |Trident\/|Edge\//.test(window.navigator.userAgent) : false;
|
|
24075
|
-
|
|
24076
|
-
var generateId = function generateId() {
|
|
24077
|
-
// we only need an auto-generated ID for stylesheet injection, which is only
|
|
24078
|
-
// used for IE. so if the browser is not IE, this should return undefined.
|
|
24079
|
-
return isIE ? '_' + Math.random().toString(36).substr(2, 12) : undefined;
|
|
24080
|
-
};
|
|
24081
|
-
|
|
24082
|
-
var AutosizeInput = function (_Component) {
|
|
24083
|
-
_inherits$1(AutosizeInput, _Component);
|
|
24084
|
-
|
|
24085
|
-
_createClass(AutosizeInput, null, [{
|
|
24086
|
-
key: 'getDerivedStateFromProps',
|
|
24087
|
-
value: function getDerivedStateFromProps(props, state) {
|
|
24088
|
-
var id = props.id;
|
|
24089
|
-
|
|
24090
|
-
return id !== state.prevId ? { inputId: id || generateId(), prevId: id } : null;
|
|
24091
|
-
}
|
|
24092
|
-
}]);
|
|
24093
|
-
|
|
24094
|
-
function AutosizeInput(props) {
|
|
24095
|
-
_classCallCheck(this, AutosizeInput);
|
|
24096
|
-
|
|
24097
|
-
var _this = _possibleConstructorReturn$1(this, (AutosizeInput.__proto__ || Object.getPrototypeOf(AutosizeInput)).call(this, props));
|
|
24098
|
-
|
|
24099
|
-
_this.inputRef = function (el) {
|
|
24100
|
-
_this.input = el;
|
|
24101
|
-
if (typeof _this.props.inputRef === 'function') {
|
|
24102
|
-
_this.props.inputRef(el);
|
|
24103
|
-
}
|
|
24104
|
-
};
|
|
24105
|
-
|
|
24106
|
-
_this.placeHolderSizerRef = function (el) {
|
|
24107
|
-
_this.placeHolderSizer = el;
|
|
24108
|
-
};
|
|
24109
|
-
|
|
24110
|
-
_this.sizerRef = function (el) {
|
|
24111
|
-
_this.sizer = el;
|
|
24112
|
-
};
|
|
24113
|
-
|
|
24114
|
-
_this.state = {
|
|
24115
|
-
inputWidth: props.minWidth,
|
|
24116
|
-
inputId: props.id || generateId(),
|
|
24117
|
-
prevId: props.id
|
|
24118
|
-
};
|
|
24119
|
-
return _this;
|
|
24120
|
-
}
|
|
24121
|
-
|
|
24122
|
-
_createClass(AutosizeInput, [{
|
|
24123
|
-
key: 'componentDidMount',
|
|
24124
|
-
value: function componentDidMount() {
|
|
24125
|
-
this.mounted = true;
|
|
24126
|
-
this.copyInputStyles();
|
|
24127
|
-
this.updateInputWidth();
|
|
24128
|
-
}
|
|
24129
|
-
}, {
|
|
24130
|
-
key: 'componentDidUpdate',
|
|
24131
|
-
value: function componentDidUpdate(prevProps, prevState) {
|
|
24132
|
-
if (prevState.inputWidth !== this.state.inputWidth) {
|
|
24133
|
-
if (typeof this.props.onAutosize === 'function') {
|
|
24134
|
-
this.props.onAutosize(this.state.inputWidth);
|
|
24135
|
-
}
|
|
24136
|
-
}
|
|
24137
|
-
this.updateInputWidth();
|
|
24138
|
-
}
|
|
24139
|
-
}, {
|
|
24140
|
-
key: 'componentWillUnmount',
|
|
24141
|
-
value: function componentWillUnmount() {
|
|
24142
|
-
this.mounted = false;
|
|
24143
|
-
}
|
|
24144
|
-
}, {
|
|
24145
|
-
key: 'copyInputStyles',
|
|
24146
|
-
value: function copyInputStyles() {
|
|
24147
|
-
if (!this.mounted || !window.getComputedStyle) {
|
|
24148
|
-
return;
|
|
24149
|
-
}
|
|
24150
|
-
var inputStyles = this.input && window.getComputedStyle(this.input);
|
|
24151
|
-
if (!inputStyles) {
|
|
24152
|
-
return;
|
|
24153
|
-
}
|
|
24154
|
-
copyStyles(inputStyles, this.sizer);
|
|
24155
|
-
if (this.placeHolderSizer) {
|
|
24156
|
-
copyStyles(inputStyles, this.placeHolderSizer);
|
|
24157
|
-
}
|
|
24158
|
-
}
|
|
24159
|
-
}, {
|
|
24160
|
-
key: 'updateInputWidth',
|
|
24161
|
-
value: function updateInputWidth() {
|
|
24162
|
-
if (!this.mounted || !this.sizer || typeof this.sizer.scrollWidth === 'undefined') {
|
|
24163
|
-
return;
|
|
24164
|
-
}
|
|
24165
|
-
var newInputWidth = void 0;
|
|
24166
|
-
if (this.props.placeholder && (!this.props.value || this.props.value && this.props.placeholderIsMinWidth)) {
|
|
24167
|
-
newInputWidth = Math.max(this.sizer.scrollWidth, this.placeHolderSizer.scrollWidth) + 2;
|
|
24168
|
-
} else {
|
|
24169
|
-
newInputWidth = this.sizer.scrollWidth + 2;
|
|
24170
|
-
}
|
|
24171
|
-
// add extraWidth to the detected width. for number types, this defaults to 16 to allow for the stepper UI
|
|
24172
|
-
var extraWidth = this.props.type === 'number' && this.props.extraWidth === undefined ? 16 : parseInt(this.props.extraWidth) || 0;
|
|
24173
|
-
newInputWidth += extraWidth;
|
|
24174
|
-
if (newInputWidth < this.props.minWidth) {
|
|
24175
|
-
newInputWidth = this.props.minWidth;
|
|
24176
|
-
}
|
|
24177
|
-
if (newInputWidth !== this.state.inputWidth) {
|
|
24178
|
-
this.setState({
|
|
24179
|
-
inputWidth: newInputWidth
|
|
24180
|
-
});
|
|
24181
|
-
}
|
|
24182
|
-
}
|
|
24183
|
-
}, {
|
|
24184
|
-
key: 'getInput',
|
|
24185
|
-
value: function getInput() {
|
|
24186
|
-
return this.input;
|
|
24187
|
-
}
|
|
24188
|
-
}, {
|
|
24189
|
-
key: 'focus',
|
|
24190
|
-
value: function focus() {
|
|
24191
|
-
this.input.focus();
|
|
24192
|
-
}
|
|
24193
|
-
}, {
|
|
24194
|
-
key: 'blur',
|
|
24195
|
-
value: function blur() {
|
|
24196
|
-
this.input.blur();
|
|
24197
|
-
}
|
|
24198
|
-
}, {
|
|
24199
|
-
key: 'select',
|
|
24200
|
-
value: function select() {
|
|
24201
|
-
this.input.select();
|
|
24202
|
-
}
|
|
24203
|
-
}, {
|
|
24204
|
-
key: 'renderStyles',
|
|
24205
|
-
value: function renderStyles() {
|
|
24206
|
-
// this method injects styles to hide IE's clear indicator, which messes
|
|
24207
|
-
// with input size detection. the stylesheet is only injected when the
|
|
24208
|
-
// browser is IE, and can also be disabled by the `injectStyles` prop.
|
|
24209
|
-
var injectStyles = this.props.injectStyles;
|
|
24210
|
-
|
|
24211
|
-
return isIE && injectStyles ? _react2.default.createElement('style', { dangerouslySetInnerHTML: {
|
|
24212
|
-
__html: 'input#' + this.state.inputId + '::-ms-clear {display: none;}'
|
|
24213
|
-
} }) : null;
|
|
24214
|
-
}
|
|
24215
|
-
}, {
|
|
24216
|
-
key: 'render',
|
|
24217
|
-
value: function render() {
|
|
24218
|
-
var sizerValue = [this.props.defaultValue, this.props.value, ''].reduce(function (previousValue, currentValue) {
|
|
24219
|
-
if (previousValue !== null && previousValue !== undefined) {
|
|
24220
|
-
return previousValue;
|
|
24221
|
-
}
|
|
24222
|
-
return currentValue;
|
|
24223
|
-
});
|
|
24224
|
-
|
|
24225
|
-
var wrapperStyle = _extends({}, this.props.style);
|
|
24226
|
-
if (!wrapperStyle.display) wrapperStyle.display = 'inline-block';
|
|
24227
|
-
|
|
24228
|
-
var inputStyle = _extends({
|
|
24229
|
-
boxSizing: 'content-box',
|
|
24230
|
-
width: this.state.inputWidth + 'px'
|
|
24231
|
-
}, this.props.inputStyle);
|
|
24232
|
-
|
|
24233
|
-
var inputProps = _objectWithoutProperties(this.props, []);
|
|
24234
|
-
|
|
24235
|
-
cleanInputProps(inputProps);
|
|
24236
|
-
inputProps.className = this.props.inputClassName;
|
|
24237
|
-
inputProps.id = this.state.inputId;
|
|
24238
|
-
inputProps.style = inputStyle;
|
|
24239
|
-
|
|
24240
|
-
return _react2.default.createElement(
|
|
24241
|
-
'div',
|
|
24242
|
-
{ className: this.props.className, style: wrapperStyle },
|
|
24243
|
-
this.renderStyles(),
|
|
24244
|
-
_react2.default.createElement('input', _extends({}, inputProps, { ref: this.inputRef })),
|
|
24245
|
-
_react2.default.createElement(
|
|
24246
|
-
'div',
|
|
24247
|
-
{ ref: this.sizerRef, style: sizerStyle },
|
|
24248
|
-
sizerValue
|
|
24249
|
-
),
|
|
24250
|
-
this.props.placeholder ? _react2.default.createElement(
|
|
24251
|
-
'div',
|
|
24252
|
-
{ ref: this.placeHolderSizerRef, style: sizerStyle },
|
|
24253
|
-
this.props.placeholder
|
|
24254
|
-
) : null
|
|
24255
|
-
);
|
|
24256
|
-
}
|
|
24257
|
-
}]);
|
|
24258
|
-
|
|
24259
|
-
return AutosizeInput;
|
|
24260
|
-
}(React__default.Component);
|
|
24261
|
-
|
|
24262
|
-
AutosizeInput.propTypes = {
|
|
24263
|
-
className: _propTypes2.default.string, // className for the outer element
|
|
24264
|
-
defaultValue: _propTypes2.default.any, // default field value
|
|
24265
|
-
extraWidth: _propTypes2.default.oneOfType([// additional width for input element
|
|
24266
|
-
_propTypes2.default.number, _propTypes2.default.string]),
|
|
24267
|
-
id: _propTypes2.default.string, // id to use for the input, can be set for consistent snapshots
|
|
24268
|
-
injectStyles: _propTypes2.default.bool, // inject the custom stylesheet to hide clear UI, defaults to true
|
|
24269
|
-
inputClassName: _propTypes2.default.string, // className for the input element
|
|
24270
|
-
inputRef: _propTypes2.default.func, // ref callback for the input element
|
|
24271
|
-
inputStyle: _propTypes2.default.object, // css styles for the input element
|
|
24272
|
-
minWidth: _propTypes2.default.oneOfType([// minimum width for input element
|
|
24273
|
-
_propTypes2.default.number, _propTypes2.default.string]),
|
|
24274
|
-
onAutosize: _propTypes2.default.func, // onAutosize handler: function(newWidth) {}
|
|
24275
|
-
onChange: _propTypes2.default.func, // onChange handler: function(event) {}
|
|
24276
|
-
placeholder: _propTypes2.default.string, // placeholder text
|
|
24277
|
-
placeholderIsMinWidth: _propTypes2.default.bool, // don't collapse size to less than the placeholder
|
|
24278
|
-
style: _propTypes2.default.object, // css styles for the outer element
|
|
24279
|
-
value: _propTypes2.default.any // field value
|
|
24280
|
-
};
|
|
24281
|
-
AutosizeInput.defaultProps = {
|
|
24282
|
-
minWidth: 1,
|
|
24283
|
-
injectStyles: true
|
|
24284
|
-
};
|
|
24285
|
-
|
|
24286
|
-
var _default = AutosizeInput;
|
|
24287
|
-
|
|
24288
24066
|
function _inherits(subClass, superClass) {
|
|
24289
24067
|
if (typeof superClass !== "function" && superClass !== null) {
|
|
24290
24068
|
throw new TypeError("Super expression must either be null or a function");
|
|
@@ -24320,9 +24098,13 @@ function ownKeys(object, enumerableOnly) {
|
|
|
24320
24098
|
|
|
24321
24099
|
if (Object.getOwnPropertySymbols) {
|
|
24322
24100
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
24323
|
-
|
|
24324
|
-
|
|
24325
|
-
|
|
24101
|
+
|
|
24102
|
+
if (enumerableOnly) {
|
|
24103
|
+
symbols = symbols.filter(function (sym) {
|
|
24104
|
+
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
24105
|
+
});
|
|
24106
|
+
}
|
|
24107
|
+
|
|
24326
24108
|
keys.push.apply(keys, symbols);
|
|
24327
24109
|
}
|
|
24328
24110
|
|
|
@@ -24362,7 +24144,7 @@ function _isNativeReflectConstruct() {
|
|
|
24362
24144
|
if (typeof Proxy === "function") return true;
|
|
24363
24145
|
|
|
24364
24146
|
try {
|
|
24365
|
-
|
|
24147
|
+
Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
|
|
24366
24148
|
return true;
|
|
24367
24149
|
} catch (e) {
|
|
24368
24150
|
return false;
|
|
@@ -24402,6 +24184,7 @@ function _createSuper(Derived) {
|
|
|
24402
24184
|
};
|
|
24403
24185
|
}
|
|
24404
24186
|
|
|
24187
|
+
var _excluded$3 = ["className", "clearValue", "cx", "getStyles", "getValue", "hasValue", "isMulti", "isRtl", "options", "selectOption", "selectProps", "setValue", "theme"];
|
|
24405
24188
|
// ==============================
|
|
24406
24189
|
// NO OP
|
|
24407
24190
|
// ==============================
|
|
@@ -24450,7 +24233,7 @@ function classNames(prefix, state, className) {
|
|
|
24450
24233
|
// ==============================
|
|
24451
24234
|
|
|
24452
24235
|
var cleanValue = function cleanValue(value) {
|
|
24453
|
-
if (
|
|
24236
|
+
if (isArray(value)) return value.filter(Boolean);
|
|
24454
24237
|
if (_typeof$1(value) === 'object' && value !== null) return [value];
|
|
24455
24238
|
return [];
|
|
24456
24239
|
}; // ==============================
|
|
@@ -24472,7 +24255,7 @@ var cleanCommonProps = function cleanCommonProps(props) {
|
|
|
24472
24255
|
props.selectProps;
|
|
24473
24256
|
props.setValue;
|
|
24474
24257
|
props.theme;
|
|
24475
|
-
var innerProps = _objectWithoutProperties
|
|
24258
|
+
var innerProps = _objectWithoutProperties(props, _excluded$3);
|
|
24476
24259
|
|
|
24477
24260
|
return _objectSpread2({}, innerProps);
|
|
24478
24261
|
}; // ==============================
|
|
@@ -24506,9 +24289,7 @@ function getScrollParent(element) {
|
|
|
24506
24289
|
var style = getComputedStyle(element);
|
|
24507
24290
|
var excludeStaticParent = style.position === 'absolute';
|
|
24508
24291
|
var overflowRx = /(auto|scroll)/;
|
|
24509
|
-
|
|
24510
|
-
|
|
24511
|
-
if (style.position === 'fixed') return docEl;
|
|
24292
|
+
if (style.position === 'fixed') return document.documentElement;
|
|
24512
24293
|
|
|
24513
24294
|
for (var parent = element; parent = parent.parentElement;) {
|
|
24514
24295
|
style = getComputedStyle(parent);
|
|
@@ -24522,7 +24303,7 @@ function getScrollParent(element) {
|
|
|
24522
24303
|
}
|
|
24523
24304
|
}
|
|
24524
24305
|
|
|
24525
|
-
return
|
|
24306
|
+
return document.documentElement;
|
|
24526
24307
|
} // Animated Scroll To
|
|
24527
24308
|
// ------------------------------
|
|
24528
24309
|
|
|
@@ -24628,6 +24409,21 @@ if (w.addEventListener && w.removeEventListener) {
|
|
|
24628
24409
|
}
|
|
24629
24410
|
|
|
24630
24411
|
var supportsPassiveEvents = passiveOptionAccessed;
|
|
24412
|
+
function notNullish(item) {
|
|
24413
|
+
return item != null;
|
|
24414
|
+
}
|
|
24415
|
+
function isArray(arg) {
|
|
24416
|
+
return Array.isArray(arg);
|
|
24417
|
+
}
|
|
24418
|
+
function valueTernary(isMulti, multiValue, singleValue) {
|
|
24419
|
+
return isMulti ? multiValue : singleValue;
|
|
24420
|
+
}
|
|
24421
|
+
function singleValueAsValue(singleValue) {
|
|
24422
|
+
return singleValue;
|
|
24423
|
+
}
|
|
24424
|
+
function multiValueAsValue(multiValue) {
|
|
24425
|
+
return multiValue;
|
|
24426
|
+
}
|
|
24631
24427
|
|
|
24632
24428
|
function getMenuPlacement(_ref) {
|
|
24633
24429
|
var maxHeight = _ref.maxHeight,
|
|
@@ -24789,8 +24585,7 @@ function getMenuPlacement(_ref) {
|
|
|
24789
24585
|
|
|
24790
24586
|
default:
|
|
24791
24587
|
throw new Error("Invalid placement provided \"".concat(placement, "\"."));
|
|
24792
|
-
}
|
|
24793
|
-
|
|
24588
|
+
}
|
|
24794
24589
|
|
|
24795
24590
|
return defaultState;
|
|
24796
24591
|
} // Menu Component
|
|
@@ -24832,7 +24627,7 @@ var MenuPlacer = /*#__PURE__*/function (_Component) {
|
|
|
24832
24627
|
function MenuPlacer() {
|
|
24833
24628
|
var _this;
|
|
24834
24629
|
|
|
24835
|
-
_classCallCheck
|
|
24630
|
+
_classCallCheck(this, MenuPlacer);
|
|
24836
24631
|
|
|
24837
24632
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
24838
24633
|
args[_key] = arguments[_key];
|
|
@@ -24843,6 +24638,7 @@ var MenuPlacer = /*#__PURE__*/function (_Component) {
|
|
|
24843
24638
|
maxHeight: _this.props.maxMenuHeight,
|
|
24844
24639
|
placement: null
|
|
24845
24640
|
};
|
|
24641
|
+
_this.context = void 0;
|
|
24846
24642
|
|
|
24847
24643
|
_this.getPlacement = function (ref) {
|
|
24848
24644
|
var _this$props = _this.props,
|
|
@@ -24883,7 +24679,7 @@ var MenuPlacer = /*#__PURE__*/function (_Component) {
|
|
|
24883
24679
|
return _this;
|
|
24884
24680
|
}
|
|
24885
24681
|
|
|
24886
|
-
_createClass
|
|
24682
|
+
_createClass(MenuPlacer, [{
|
|
24887
24683
|
key: "render",
|
|
24888
24684
|
value: function render() {
|
|
24889
24685
|
var children = this.props.children;
|
|
@@ -24905,7 +24701,7 @@ var Menu = function Menu(props) {
|
|
|
24905
24701
|
getStyles = props.getStyles,
|
|
24906
24702
|
innerRef = props.innerRef,
|
|
24907
24703
|
innerProps = props.innerProps;
|
|
24908
|
-
return jsx("div", _extends
|
|
24704
|
+
return jsx("div", _extends({
|
|
24909
24705
|
css: getStyles('menu', props),
|
|
24910
24706
|
className: cx({
|
|
24911
24707
|
menu: true
|
|
@@ -24937,7 +24733,7 @@ var MenuList = function MenuList(props) {
|
|
|
24937
24733
|
innerProps = props.innerProps,
|
|
24938
24734
|
innerRef = props.innerRef,
|
|
24939
24735
|
isMulti = props.isMulti;
|
|
24940
|
-
return jsx("div", _extends
|
|
24736
|
+
return jsx("div", _extends({
|
|
24941
24737
|
css: getStyles('menuList', props),
|
|
24942
24738
|
className: cx({
|
|
24943
24739
|
'menu-list': true,
|
|
@@ -24968,7 +24764,7 @@ var NoOptionsMessage$1 = function NoOptionsMessage(props) {
|
|
|
24968
24764
|
cx = props.cx,
|
|
24969
24765
|
getStyles = props.getStyles,
|
|
24970
24766
|
innerProps = props.innerProps;
|
|
24971
|
-
return jsx("div", _extends
|
|
24767
|
+
return jsx("div", _extends({
|
|
24972
24768
|
css: getStyles('noOptionsMessage', props),
|
|
24973
24769
|
className: cx({
|
|
24974
24770
|
'menu-notice': true,
|
|
@@ -24985,7 +24781,7 @@ var LoadingMessage = function LoadingMessage(props) {
|
|
|
24985
24781
|
cx = props.cx,
|
|
24986
24782
|
getStyles = props.getStyles,
|
|
24987
24783
|
innerProps = props.innerProps;
|
|
24988
|
-
return jsx("div", _extends
|
|
24784
|
+
return jsx("div", _extends({
|
|
24989
24785
|
css: getStyles('loadingMessage', props),
|
|
24990
24786
|
className: cx({
|
|
24991
24787
|
'menu-notice': true,
|
|
@@ -25019,7 +24815,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
|
|
|
25019
24815
|
function MenuPortal() {
|
|
25020
24816
|
var _this2;
|
|
25021
24817
|
|
|
25022
|
-
_classCallCheck
|
|
24818
|
+
_classCallCheck(this, MenuPortal);
|
|
25023
24819
|
|
|
25024
24820
|
for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
|
|
25025
24821
|
args[_key2] = arguments[_key2];
|
|
@@ -25044,7 +24840,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
|
|
|
25044
24840
|
return _this2;
|
|
25045
24841
|
}
|
|
25046
24842
|
|
|
25047
|
-
_createClass
|
|
24843
|
+
_createClass(MenuPortal, [{
|
|
25048
24844
|
key: "render",
|
|
25049
24845
|
value: function render() {
|
|
25050
24846
|
var _this$props2 = this.props,
|
|
@@ -25073,7 +24869,7 @@ var MenuPortal = /*#__PURE__*/function (_Component2) {
|
|
|
25073
24869
|
rect: rect
|
|
25074
24870
|
}; // same wrapper element whether fixed or portalled
|
|
25075
24871
|
|
|
25076
|
-
var menuWrapper = jsx("div", _extends
|
|
24872
|
+
var menuWrapper = jsx("div", _extends({
|
|
25077
24873
|
css: getStyles('menuPortal', state),
|
|
25078
24874
|
className: cx({
|
|
25079
24875
|
'menu-portal': true
|
|
@@ -25095,8 +24891,8 @@ var containerCSS = function containerCSS(_ref) {
|
|
|
25095
24891
|
isRtl = _ref.isRtl;
|
|
25096
24892
|
return {
|
|
25097
24893
|
label: 'container',
|
|
25098
|
-
direction: isRtl ? 'rtl' :
|
|
25099
|
-
pointerEvents: isDisabled ? 'none' :
|
|
24894
|
+
direction: isRtl ? 'rtl' : undefined,
|
|
24895
|
+
pointerEvents: isDisabled ? 'none' : undefined,
|
|
25100
24896
|
// cancel mouse events when disabled
|
|
25101
24897
|
position: 'relative'
|
|
25102
24898
|
};
|
|
@@ -25109,7 +24905,7 @@ var SelectContainer = function SelectContainer(props) {
|
|
|
25109
24905
|
innerProps = props.innerProps,
|
|
25110
24906
|
isDisabled = props.isDisabled,
|
|
25111
24907
|
isRtl = props.isRtl;
|
|
25112
|
-
return jsx("div", _extends
|
|
24908
|
+
return jsx("div", _extends({
|
|
25113
24909
|
css: getStyles('container', props),
|
|
25114
24910
|
className: cx({
|
|
25115
24911
|
'--is-disabled': isDisabled,
|
|
@@ -25121,10 +24917,13 @@ var SelectContainer = function SelectContainer(props) {
|
|
|
25121
24917
|
// ==============================
|
|
25122
24918
|
|
|
25123
24919
|
var valueContainerCSS = function valueContainerCSS(_ref2) {
|
|
25124
|
-
var spacing = _ref2.theme.spacing
|
|
24920
|
+
var spacing = _ref2.theme.spacing,
|
|
24921
|
+
isMulti = _ref2.isMulti,
|
|
24922
|
+
hasValue = _ref2.hasValue,
|
|
24923
|
+
controlShouldRenderValue = _ref2.selectProps.controlShouldRenderValue;
|
|
25125
24924
|
return {
|
|
25126
24925
|
alignItems: 'center',
|
|
25127
|
-
display: 'flex',
|
|
24926
|
+
display: isMulti && hasValue && controlShouldRenderValue ? 'flex' : 'grid',
|
|
25128
24927
|
flex: 1,
|
|
25129
24928
|
flexWrap: 'wrap',
|
|
25130
24929
|
padding: "".concat(spacing.baseUnit / 2, "px ").concat(spacing.baseUnit * 2, "px"),
|
|
@@ -25141,7 +24940,7 @@ var ValueContainer = function ValueContainer(props) {
|
|
|
25141
24940
|
isMulti = props.isMulti,
|
|
25142
24941
|
getStyles = props.getStyles,
|
|
25143
24942
|
hasValue = props.hasValue;
|
|
25144
|
-
return jsx("div", _extends
|
|
24943
|
+
return jsx("div", _extends({
|
|
25145
24944
|
css: getStyles('valueContainer', props),
|
|
25146
24945
|
className: cx({
|
|
25147
24946
|
'value-container': true,
|
|
@@ -25167,7 +24966,7 @@ var IndicatorsContainer$1 = function IndicatorsContainer(props) {
|
|
|
25167
24966
|
cx = props.cx,
|
|
25168
24967
|
innerProps = props.innerProps,
|
|
25169
24968
|
getStyles = props.getStyles;
|
|
25170
|
-
return jsx("div", _extends
|
|
24969
|
+
return jsx("div", _extends({
|
|
25171
24970
|
css: getStyles('indicatorsContainer', props),
|
|
25172
24971
|
className: cx({
|
|
25173
24972
|
indicators: true
|
|
@@ -25177,6 +24976,8 @@ var IndicatorsContainer$1 = function IndicatorsContainer(props) {
|
|
|
25177
24976
|
|
|
25178
24977
|
var _templateObject;
|
|
25179
24978
|
|
|
24979
|
+
var _excluded$2 = ["size"];
|
|
24980
|
+
|
|
25180
24981
|
function _EMOTION_STRINGIFIED_CSS_ERROR__$2() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
25181
24982
|
|
|
25182
24983
|
var _ref2$1 = process.env.NODE_ENV === "production" ? {
|
|
@@ -25185,7 +24986,7 @@ var _ref2$1 = process.env.NODE_ENV === "production" ? {
|
|
|
25185
24986
|
} : {
|
|
25186
24987
|
name: "tj5bde-Svg",
|
|
25187
24988
|
styles: "display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0;label:Svg;",
|
|
25188
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBa0JJIiwiZmlsZSI6ImluZGljYXRvcnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyB0eXBlIE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHR5cGUgeyBDb21tb25Qcm9wcywgVGhlbWUgfSBmcm9tICcuLi90eXBlcyc7XG5cbi8vID09PT09PT09PT09P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ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",
|
|
24989
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXdCSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNlXCJcbiAgICBjc3M9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U9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */",
|
|
25189
24990
|
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$2
|
|
25190
24991
|
};
|
|
25191
24992
|
|
|
@@ -25194,9 +24995,9 @@ var _ref2$1 = process.env.NODE_ENV === "production" ? {
|
|
|
25194
24995
|
// ==============================
|
|
25195
24996
|
var Svg = function Svg(_ref) {
|
|
25196
24997
|
var size = _ref.size,
|
|
25197
|
-
props = _objectWithoutProperties
|
|
24998
|
+
props = _objectWithoutProperties(_ref, _excluded$2);
|
|
25198
24999
|
|
|
25199
|
-
return jsx("svg", _extends
|
|
25000
|
+
return jsx("svg", _extends({
|
|
25200
25001
|
height: size,
|
|
25201
25002
|
width: size,
|
|
25202
25003
|
viewBox: "0 0 20 20",
|
|
@@ -25207,14 +25008,14 @@ var Svg = function Svg(_ref) {
|
|
|
25207
25008
|
};
|
|
25208
25009
|
|
|
25209
25010
|
var CrossIcon = function CrossIcon(props) {
|
|
25210
|
-
return jsx(Svg, _extends
|
|
25011
|
+
return jsx(Svg, _extends({
|
|
25211
25012
|
size: 20
|
|
25212
25013
|
}, props), jsx("path", {
|
|
25213
25014
|
d: "M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"
|
|
25214
25015
|
}));
|
|
25215
25016
|
};
|
|
25216
25017
|
var DownChevron = function DownChevron(props) {
|
|
25217
|
-
return jsx(Svg, _extends
|
|
25018
|
+
return jsx(Svg, _extends({
|
|
25218
25019
|
size: 20
|
|
25219
25020
|
}, props), jsx("path", {
|
|
25220
25021
|
d: "M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"
|
|
@@ -25247,7 +25048,7 @@ var DropdownIndicator = function DropdownIndicator(props) {
|
|
|
25247
25048
|
cx = props.cx,
|
|
25248
25049
|
getStyles = props.getStyles,
|
|
25249
25050
|
innerProps = props.innerProps;
|
|
25250
|
-
return jsx("div", _extends
|
|
25051
|
+
return jsx("div", _extends({
|
|
25251
25052
|
css: getStyles('dropdownIndicator', props),
|
|
25252
25053
|
className: cx({
|
|
25253
25054
|
indicator: true,
|
|
@@ -25262,7 +25063,7 @@ var ClearIndicator = function ClearIndicator(props) {
|
|
|
25262
25063
|
cx = props.cx,
|
|
25263
25064
|
getStyles = props.getStyles,
|
|
25264
25065
|
innerProps = props.innerProps;
|
|
25265
|
-
return jsx("div", _extends
|
|
25066
|
+
return jsx("div", _extends({
|
|
25266
25067
|
css: getStyles('clearIndicator', props),
|
|
25267
25068
|
className: cx({
|
|
25268
25069
|
indicator: true,
|
|
@@ -25292,7 +25093,7 @@ var IndicatorSeparator = function IndicatorSeparator(props) {
|
|
|
25292
25093
|
cx = props.cx,
|
|
25293
25094
|
getStyles = props.getStyles,
|
|
25294
25095
|
innerProps = props.innerProps;
|
|
25295
|
-
return jsx("span", _extends
|
|
25096
|
+
return jsx("span", _extends({}, innerProps, {
|
|
25296
25097
|
css: getStyles('indicatorSeparator', props),
|
|
25297
25098
|
className: cx({
|
|
25298
25099
|
'indicator-separator': true
|
|
@@ -25333,11 +25134,11 @@ var LoadingDot = function LoadingDot(_ref6) {
|
|
|
25333
25134
|
backgroundColor: 'currentColor',
|
|
25334
25135
|
borderRadius: '1em',
|
|
25335
25136
|
display: 'inline-block',
|
|
25336
|
-
marginLeft: offset ? '1em' :
|
|
25137
|
+
marginLeft: offset ? '1em' : undefined,
|
|
25337
25138
|
height: '1em',
|
|
25338
25139
|
verticalAlign: 'top',
|
|
25339
25140
|
width: '1em'
|
|
25340
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMuanMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBc0xJIiwiZmlsZSI6ImluZGljYXRvcnMuanMiLCJzb3VyY2VzQ29udGVudCI6WyIvLyBAZmxvd1xuLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyB0eXBlIE5vZGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3gsIGtleWZyYW1lcyB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuaW1wb3J0IHR5cGUgeyBDb21tb25Qcm9wcywgVGhlbWUgfSBmcm9tICcuLi90eXBlcyc7XG5cbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuLy8gRHJvcGRvd24gJ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Z0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")
|
|
25141
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:LoadingDot;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGljYXRvcnMudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFQSSIsImZpbGUiOiJpbmRpY2F0b3JzLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsgUmVhY3ROb2RlIH0gZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsganN4LCBrZXlmcmFtZXMgfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmltcG9ydCB7XG4gIENvbW1vblByb3BzQW5kQ2xhc3NOYW1lLFxuICBDU1NPYmplY3RXaXRoTGFiZWwsXG4gIEdyb3VwQmFzZSxcbn0gZnJvbSAnLi4vdHlwZXMnO1xuXG4vLyA9PT09PT09PT09PT09PT09PT09PT09PT09PT09PT1cbi8vIERyb3Bkb3duICYgQ2xlYXIgSWNvbnNcbi8vID09PT09PT09PT09PT09PT09PT09PT09PT09PT09PVxuXG5jb25zdCBTdmcgPSAoe1xuICBzaXplLFxuICAuLi5wcm9wc1xufTogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzdmcnXSAmIHsgc2l6ZTogbnVtYmVyIH0pID0+IChcbiAgPHN2Z1xuICAgIGhlaWdodD17c2l6ZX1cbiAgICB3aWR0aD17c2l6ZX1cbiAgICB2aWV3Qm94PVwiMCAwIDIwIDIwXCJcbiAgICBhcmlhLWhpZGRlbj1cInRydWVcIlxuICAgIGZvY3VzYWJsZT1cImZhbHNl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ICAgICBjbGFzc05hbWU9e2N4KFxuICAgICAgICB7XG4gICAgICAgICAgaW5kaWNhdG9yOiB0cnVlLFxuICAgICAgICAgICdsb2FkaW5nLWluZGljYXRvcic6IHRydWUsXG4gICAgICAgIH0sXG4gICAgICAgIGNsYXNzTmFtZVxuICAgICAgKX1cbiAgICAgIHsuLi5pbm5lclByb3BzfVxuICAgID5cbiAgICAgIDxMb2FkaW5nRG90IGRlbGF5PXswfSBvZmZzZXQ9e2lzUnRsfSAvPlxuICAgICAgPExvYWRpbmdEb3QgZGVsYXk9ezE2MH0gb2Zmc2V0IC8+XG4gICAgICA8TG9hZGluZ0RvdCBkZWxheT17MzIwfSBvZmZzZXQ9eyFpc1J0bH0gLz5cbiAgICA8L2Rpdj5cbiAgKTtcbn07XG5Mb2FkaW5nSW5kaWNhdG9yLmRlZmF1bHRQcm9wcyA9IHsgc2l6ZTogNCB9O1xuIl19 */")
|
|
25341
25142
|
});
|
|
25342
25143
|
};
|
|
25343
25144
|
|
|
@@ -25347,7 +25148,7 @@ var LoadingIndicator = function LoadingIndicator(props) {
|
|
|
25347
25148
|
getStyles = props.getStyles,
|
|
25348
25149
|
innerProps = props.innerProps,
|
|
25349
25150
|
isRtl = props.isRtl;
|
|
25350
|
-
return jsx("div", _extends
|
|
25151
|
+
return jsx("div", _extends({
|
|
25351
25152
|
css: getStyles('loadingIndicator', props),
|
|
25352
25153
|
className: cx({
|
|
25353
25154
|
indicator: true,
|
|
@@ -25368,7 +25169,7 @@ LoadingIndicator.defaultProps = {
|
|
|
25368
25169
|
size: 4
|
|
25369
25170
|
};
|
|
25370
25171
|
|
|
25371
|
-
var css = function css(_ref) {
|
|
25172
|
+
var css$1 = function css(_ref) {
|
|
25372
25173
|
var isDisabled = _ref.isDisabled,
|
|
25373
25174
|
isFocused = _ref.isFocused,
|
|
25374
25175
|
_ref$theme = _ref.theme,
|
|
@@ -25383,7 +25184,7 @@ var css = function css(_ref) {
|
|
|
25383
25184
|
borderRadius: borderRadius,
|
|
25384
25185
|
borderStyle: 'solid',
|
|
25385
25186
|
borderWidth: 1,
|
|
25386
|
-
boxShadow: isFocused ? "0 0 0 1px ".concat(colors.primary) :
|
|
25187
|
+
boxShadow: isFocused ? "0 0 0 1px ".concat(colors.primary) : undefined,
|
|
25387
25188
|
cursor: 'default',
|
|
25388
25189
|
display: 'flex',
|
|
25389
25190
|
flexWrap: 'wrap',
|
|
@@ -25408,7 +25209,7 @@ var Control = function Control(props) {
|
|
|
25408
25209
|
innerRef = props.innerRef,
|
|
25409
25210
|
innerProps = props.innerProps,
|
|
25410
25211
|
menuIsOpen = props.menuIsOpen;
|
|
25411
|
-
return jsx("div", _extends
|
|
25212
|
+
return jsx("div", _extends({
|
|
25412
25213
|
ref: innerRef,
|
|
25413
25214
|
css: getStyles('control', props),
|
|
25414
25215
|
className: cx({
|
|
@@ -25420,6 +25221,7 @@ var Control = function Control(props) {
|
|
|
25420
25221
|
}, innerProps), children);
|
|
25421
25222
|
};
|
|
25422
25223
|
|
|
25224
|
+
var _excluded$1$1 = ["data"];
|
|
25423
25225
|
var groupCSS = function groupCSS(_ref) {
|
|
25424
25226
|
var spacing = _ref.theme.spacing;
|
|
25425
25227
|
return {
|
|
@@ -25439,12 +25241,12 @@ var Group = function Group(props) {
|
|
|
25439
25241
|
label = props.label,
|
|
25440
25242
|
theme = props.theme,
|
|
25441
25243
|
selectProps = props.selectProps;
|
|
25442
|
-
return jsx("div", _extends
|
|
25244
|
+
return jsx("div", _extends({
|
|
25443
25245
|
css: getStyles('group', props),
|
|
25444
25246
|
className: cx({
|
|
25445
25247
|
group: true
|
|
25446
25248
|
}, className)
|
|
25447
|
-
}, innerProps), jsx(Heading, _extends
|
|
25249
|
+
}, innerProps), jsx(Heading, _extends({}, headingProps, {
|
|
25448
25250
|
selectProps: selectProps,
|
|
25449
25251
|
theme: theme,
|
|
25450
25252
|
getStyles: getStyles,
|
|
@@ -25460,7 +25262,7 @@ var groupHeadingCSS = function groupHeadingCSS(_ref2) {
|
|
|
25460
25262
|
cursor: 'default',
|
|
25461
25263
|
display: 'block',
|
|
25462
25264
|
fontSize: '75%',
|
|
25463
|
-
fontWeight:
|
|
25265
|
+
fontWeight: 500,
|
|
25464
25266
|
marginBottom: '0.25em',
|
|
25465
25267
|
paddingLeft: spacing.baseUnit * 3,
|
|
25466
25268
|
paddingRight: spacing.baseUnit * 3,
|
|
@@ -25474,9 +25276,9 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
25474
25276
|
|
|
25475
25277
|
var _cleanCommonProps = cleanCommonProps(props);
|
|
25476
25278
|
_cleanCommonProps.data;
|
|
25477
|
-
var innerProps = _objectWithoutProperties
|
|
25279
|
+
var innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$1$1);
|
|
25478
25280
|
|
|
25479
|
-
return jsx("div", _extends
|
|
25281
|
+
return jsx("div", _extends({
|
|
25480
25282
|
css: getStyles('groupHeading', props),
|
|
25481
25283
|
className: cx({
|
|
25482
25284
|
'group-heading': true
|
|
@@ -25484,52 +25286,80 @@ var GroupHeading = function GroupHeading(props) {
|
|
|
25484
25286
|
}, innerProps));
|
|
25485
25287
|
};
|
|
25486
25288
|
|
|
25289
|
+
var _excluded$4 = ["innerRef", "isDisabled", "isHidden", "inputClassName"];
|
|
25487
25290
|
var inputCSS = function inputCSS(_ref) {
|
|
25488
25291
|
var isDisabled = _ref.isDisabled,
|
|
25292
|
+
value = _ref.value,
|
|
25489
25293
|
_ref$theme = _ref.theme,
|
|
25490
25294
|
spacing = _ref$theme.spacing,
|
|
25491
25295
|
colors = _ref$theme.colors;
|
|
25492
|
-
return {
|
|
25296
|
+
return _objectSpread2({
|
|
25493
25297
|
margin: spacing.baseUnit / 2,
|
|
25494
25298
|
paddingBottom: spacing.baseUnit / 2,
|
|
25495
25299
|
paddingTop: spacing.baseUnit / 2,
|
|
25496
25300
|
visibility: isDisabled ? 'hidden' : 'visible',
|
|
25497
|
-
color: colors.neutral80
|
|
25498
|
-
|
|
25301
|
+
color: colors.neutral80,
|
|
25302
|
+
// force css to recompute when value change due to @emotion bug.
|
|
25303
|
+
// We can remove it whenever the bug is fixed.
|
|
25304
|
+
transform: value ? 'translateZ(0)' : ''
|
|
25305
|
+
}, containerStyle);
|
|
25306
|
+
};
|
|
25307
|
+
var spacingStyle = {
|
|
25308
|
+
gridArea: '1 / 2',
|
|
25309
|
+
font: 'inherit',
|
|
25310
|
+
minWidth: '2px',
|
|
25311
|
+
border: 0,
|
|
25312
|
+
margin: 0,
|
|
25313
|
+
outline: 0,
|
|
25314
|
+
padding: 0
|
|
25315
|
+
};
|
|
25316
|
+
var containerStyle = {
|
|
25317
|
+
flex: '1 1 auto',
|
|
25318
|
+
display: 'inline-grid',
|
|
25319
|
+
gridArea: '1 / 1 / 2 / 3',
|
|
25320
|
+
gridTemplateColumns: '0 min-content',
|
|
25321
|
+
'&:after': _objectSpread2({
|
|
25322
|
+
content: 'attr(data-value) " "',
|
|
25323
|
+
visibility: 'hidden',
|
|
25324
|
+
whiteSpace: 'pre'
|
|
25325
|
+
}, spacingStyle)
|
|
25499
25326
|
};
|
|
25500
25327
|
|
|
25501
25328
|
var inputStyle = function inputStyle(isHidden) {
|
|
25502
|
-
return {
|
|
25329
|
+
return _objectSpread2({
|
|
25503
25330
|
label: 'input',
|
|
25331
|
+
color: 'inherit',
|
|
25504
25332
|
background: 0,
|
|
25505
|
-
border: 0,
|
|
25506
|
-
fontSize: 'inherit',
|
|
25507
25333
|
opacity: isHidden ? 0 : 1,
|
|
25508
|
-
|
|
25509
|
-
|
|
25510
|
-
color: 'inherit'
|
|
25511
|
-
};
|
|
25334
|
+
width: '100%'
|
|
25335
|
+
}, spacingStyle);
|
|
25512
25336
|
};
|
|
25513
25337
|
|
|
25514
25338
|
var Input$1 = function Input(props) {
|
|
25515
25339
|
var className = props.className,
|
|
25516
25340
|
cx = props.cx,
|
|
25517
|
-
getStyles = props.getStyles
|
|
25341
|
+
getStyles = props.getStyles,
|
|
25342
|
+
value = props.value;
|
|
25518
25343
|
|
|
25519
25344
|
var _cleanCommonProps = cleanCommonProps(props),
|
|
25520
25345
|
innerRef = _cleanCommonProps.innerRef,
|
|
25521
25346
|
isDisabled = _cleanCommonProps.isDisabled,
|
|
25522
25347
|
isHidden = _cleanCommonProps.isHidden,
|
|
25523
|
-
|
|
25348
|
+
inputClassName = _cleanCommonProps.inputClassName,
|
|
25349
|
+
innerProps = _objectWithoutProperties(_cleanCommonProps, _excluded$4);
|
|
25524
25350
|
|
|
25525
25351
|
return jsx("div", {
|
|
25526
|
-
css: getStyles('input', props)
|
|
25527
|
-
}, jsx(_default, _extends$1({
|
|
25528
25352
|
className: cx({
|
|
25529
|
-
input: true
|
|
25353
|
+
'input-container': true
|
|
25530
25354
|
}, className),
|
|
25531
|
-
|
|
25532
|
-
|
|
25355
|
+
css: getStyles('input', props),
|
|
25356
|
+
"data-value": value || ''
|
|
25357
|
+
}, jsx("input", _extends({
|
|
25358
|
+
className: cx({
|
|
25359
|
+
input: true
|
|
25360
|
+
}, inputClassName),
|
|
25361
|
+
ref: innerRef,
|
|
25362
|
+
style: inputStyle(isHidden),
|
|
25533
25363
|
disabled: isDisabled
|
|
25534
25364
|
}, innerProps)));
|
|
25535
25365
|
};
|
|
@@ -25561,7 +25391,7 @@ var multiValueLabelCSS = function multiValueLabelCSS(_ref2) {
|
|
|
25561
25391
|
overflow: 'hidden',
|
|
25562
25392
|
padding: 3,
|
|
25563
25393
|
paddingLeft: 6,
|
|
25564
|
-
textOverflow: cropWithEllipsis ? 'ellipsis' :
|
|
25394
|
+
textOverflow: cropWithEllipsis || cropWithEllipsis === undefined ? 'ellipsis' : undefined,
|
|
25565
25395
|
whiteSpace: 'nowrap'
|
|
25566
25396
|
};
|
|
25567
25397
|
};
|
|
@@ -25574,7 +25404,7 @@ var multiValueRemoveCSS = function multiValueRemoveCSS(_ref3) {
|
|
|
25574
25404
|
return {
|
|
25575
25405
|
alignItems: 'center',
|
|
25576
25406
|
borderRadius: borderRadius / 2,
|
|
25577
|
-
backgroundColor: isFocused
|
|
25407
|
+
backgroundColor: isFocused ? colors.dangerLight : undefined,
|
|
25578
25408
|
display: 'flex',
|
|
25579
25409
|
paddingLeft: spacing.baseUnit,
|
|
25580
25410
|
paddingRight: spacing.baseUnit,
|
|
@@ -25594,7 +25424,9 @@ var MultiValueLabel = MultiValueGeneric;
|
|
|
25594
25424
|
function MultiValueRemove(_ref5) {
|
|
25595
25425
|
var children = _ref5.children,
|
|
25596
25426
|
innerProps = _ref5.innerProps;
|
|
25597
|
-
return jsx("div",
|
|
25427
|
+
return jsx("div", _extends({
|
|
25428
|
+
role: "button"
|
|
25429
|
+
}, innerProps), children || jsx(CrossIcon, {
|
|
25598
25430
|
size: 14
|
|
25599
25431
|
}));
|
|
25600
25432
|
}
|
|
@@ -25638,17 +25470,14 @@ var MultiValue = function MultiValue(props) {
|
|
|
25638
25470
|
innerProps: _objectSpread2({
|
|
25639
25471
|
className: emotionCx(css(getStyles('multiValueRemove', props)), cx({
|
|
25640
25472
|
'multi-value__remove': true
|
|
25641
|
-
}, className))
|
|
25473
|
+
}, className)),
|
|
25474
|
+
'aria-label': "Remove ".concat(children || 'option')
|
|
25642
25475
|
}, removeProps),
|
|
25643
25476
|
selectProps: selectProps
|
|
25644
25477
|
}));
|
|
25645
25478
|
});
|
|
25646
25479
|
};
|
|
25647
25480
|
|
|
25648
|
-
MultiValue.defaultProps = {
|
|
25649
|
-
cropWithEllipsis: true
|
|
25650
|
-
};
|
|
25651
|
-
|
|
25652
25481
|
var optionCSS = function optionCSS(_ref) {
|
|
25653
25482
|
var isDisabled = _ref.isDisabled,
|
|
25654
25483
|
isFocused = _ref.isFocused,
|
|
@@ -25669,7 +25498,7 @@ var optionCSS = function optionCSS(_ref) {
|
|
|
25669
25498
|
WebkitTapHighlightColor: 'rgba(0, 0, 0, 0)',
|
|
25670
25499
|
// provide some affordance on touch devices
|
|
25671
25500
|
':active': {
|
|
25672
|
-
backgroundColor: !isDisabled
|
|
25501
|
+
backgroundColor: !isDisabled ? isSelected ? colors.primary : colors.primary50 : undefined
|
|
25673
25502
|
}
|
|
25674
25503
|
};
|
|
25675
25504
|
};
|
|
@@ -25684,7 +25513,7 @@ var Option = function Option(props) {
|
|
|
25684
25513
|
isSelected = props.isSelected,
|
|
25685
25514
|
innerRef = props.innerRef,
|
|
25686
25515
|
innerProps = props.innerProps;
|
|
25687
|
-
return jsx("div", _extends
|
|
25516
|
+
return jsx("div", _extends({
|
|
25688
25517
|
css: getStyles('option', props),
|
|
25689
25518
|
className: cx({
|
|
25690
25519
|
option: true,
|
|
@@ -25692,7 +25521,8 @@ var Option = function Option(props) {
|
|
|
25692
25521
|
'option--is-focused': isFocused,
|
|
25693
25522
|
'option--is-selected': isSelected
|
|
25694
25523
|
}, className),
|
|
25695
|
-
ref: innerRef
|
|
25524
|
+
ref: innerRef,
|
|
25525
|
+
"aria-disabled": isDisabled
|
|
25696
25526
|
}, innerProps), children);
|
|
25697
25527
|
};
|
|
25698
25528
|
|
|
@@ -25703,11 +25533,9 @@ var placeholderCSS = function placeholderCSS(_ref) {
|
|
|
25703
25533
|
return {
|
|
25704
25534
|
label: 'placeholder',
|
|
25705
25535
|
color: colors.neutral50,
|
|
25536
|
+
gridArea: '1 / 1 / 2 / 3',
|
|
25706
25537
|
marginLeft: spacing.baseUnit / 2,
|
|
25707
|
-
marginRight: spacing.baseUnit / 2
|
|
25708
|
-
position: 'absolute',
|
|
25709
|
-
top: '50%',
|
|
25710
|
-
transform: 'translateY(-50%)'
|
|
25538
|
+
marginRight: spacing.baseUnit / 2
|
|
25711
25539
|
};
|
|
25712
25540
|
};
|
|
25713
25541
|
|
|
@@ -25717,7 +25545,7 @@ var Placeholder = function Placeholder(props) {
|
|
|
25717
25545
|
cx = props.cx,
|
|
25718
25546
|
getStyles = props.getStyles,
|
|
25719
25547
|
innerProps = props.innerProps;
|
|
25720
|
-
return jsx("div", _extends
|
|
25548
|
+
return jsx("div", _extends({
|
|
25721
25549
|
css: getStyles('placeholder', props),
|
|
25722
25550
|
className: cx({
|
|
25723
25551
|
placeholder: true
|
|
@@ -25725,7 +25553,7 @@ var Placeholder = function Placeholder(props) {
|
|
|
25725
25553
|
}, innerProps), children);
|
|
25726
25554
|
};
|
|
25727
25555
|
|
|
25728
|
-
var css
|
|
25556
|
+
var css = function css(_ref) {
|
|
25729
25557
|
var isDisabled = _ref.isDisabled,
|
|
25730
25558
|
_ref$theme = _ref.theme,
|
|
25731
25559
|
spacing = _ref$theme.spacing,
|
|
@@ -25733,15 +25561,13 @@ var css$1 = function css(_ref) {
|
|
|
25733
25561
|
return {
|
|
25734
25562
|
label: 'singleValue',
|
|
25735
25563
|
color: isDisabled ? colors.neutral40 : colors.neutral80,
|
|
25564
|
+
gridArea: '1 / 1 / 2 / 3',
|
|
25736
25565
|
marginLeft: spacing.baseUnit / 2,
|
|
25737
25566
|
marginRight: spacing.baseUnit / 2,
|
|
25738
|
-
maxWidth:
|
|
25567
|
+
maxWidth: '100%',
|
|
25739
25568
|
overflow: 'hidden',
|
|
25740
|
-
position: 'absolute',
|
|
25741
25569
|
textOverflow: 'ellipsis',
|
|
25742
|
-
whiteSpace: 'nowrap'
|
|
25743
|
-
top: '50%',
|
|
25744
|
-
transform: 'translateY(-50%)'
|
|
25570
|
+
whiteSpace: 'nowrap'
|
|
25745
25571
|
};
|
|
25746
25572
|
};
|
|
25747
25573
|
|
|
@@ -25752,7 +25578,7 @@ var SingleValue = function SingleValue(props) {
|
|
|
25752
25578
|
getStyles = props.getStyles,
|
|
25753
25579
|
isDisabled = props.isDisabled,
|
|
25754
25580
|
innerProps = props.innerProps;
|
|
25755
|
-
return jsx("div", _extends
|
|
25581
|
+
return jsx("div", _extends({
|
|
25756
25582
|
css: getStyles('singleValue', props),
|
|
25757
25583
|
className: cx({
|
|
25758
25584
|
'single-value': true,
|
|
@@ -25792,6 +25618,82 @@ var defaultComponents = function defaultComponents(props) {
|
|
|
25792
25618
|
return _objectSpread2(_objectSpread2({}, components), props.components);
|
|
25793
25619
|
};
|
|
25794
25620
|
|
|
25621
|
+
var _excluded$1 = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
|
|
25622
|
+
function useStateManager(_ref) {
|
|
25623
|
+
var _ref$defaultInputValu = _ref.defaultInputValue,
|
|
25624
|
+
defaultInputValue = _ref$defaultInputValu === void 0 ? '' : _ref$defaultInputValu,
|
|
25625
|
+
_ref$defaultMenuIsOpe = _ref.defaultMenuIsOpen,
|
|
25626
|
+
defaultMenuIsOpen = _ref$defaultMenuIsOpe === void 0 ? false : _ref$defaultMenuIsOpe,
|
|
25627
|
+
_ref$defaultValue = _ref.defaultValue,
|
|
25628
|
+
defaultValue = _ref$defaultValue === void 0 ? null : _ref$defaultValue,
|
|
25629
|
+
propsInputValue = _ref.inputValue,
|
|
25630
|
+
propsMenuIsOpen = _ref.menuIsOpen,
|
|
25631
|
+
propsOnChange = _ref.onChange,
|
|
25632
|
+
propsOnInputChange = _ref.onInputChange,
|
|
25633
|
+
propsOnMenuClose = _ref.onMenuClose,
|
|
25634
|
+
propsOnMenuOpen = _ref.onMenuOpen,
|
|
25635
|
+
propsValue = _ref.value,
|
|
25636
|
+
restSelectProps = _objectWithoutProperties(_ref, _excluded$1);
|
|
25637
|
+
|
|
25638
|
+
var _useState = useState(propsInputValue !== undefined ? propsInputValue : defaultInputValue),
|
|
25639
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
25640
|
+
stateInputValue = _useState2[0],
|
|
25641
|
+
setStateInputValue = _useState2[1];
|
|
25642
|
+
|
|
25643
|
+
var _useState3 = useState(propsMenuIsOpen !== undefined ? propsMenuIsOpen : defaultMenuIsOpen),
|
|
25644
|
+
_useState4 = _slicedToArray(_useState3, 2),
|
|
25645
|
+
stateMenuIsOpen = _useState4[0],
|
|
25646
|
+
setStateMenuIsOpen = _useState4[1];
|
|
25647
|
+
|
|
25648
|
+
var _useState5 = useState(propsValue !== undefined ? propsValue : defaultValue),
|
|
25649
|
+
_useState6 = _slicedToArray(_useState5, 2),
|
|
25650
|
+
stateValue = _useState6[0],
|
|
25651
|
+
setStateValue = _useState6[1];
|
|
25652
|
+
|
|
25653
|
+
var onChange = useCallback(function (value, actionMeta) {
|
|
25654
|
+
if (typeof propsOnChange === 'function') {
|
|
25655
|
+
propsOnChange(value, actionMeta);
|
|
25656
|
+
}
|
|
25657
|
+
|
|
25658
|
+
setStateValue(value);
|
|
25659
|
+
}, [propsOnChange]);
|
|
25660
|
+
var onInputChange = useCallback(function (value, actionMeta) {
|
|
25661
|
+
var newValue;
|
|
25662
|
+
|
|
25663
|
+
if (typeof propsOnInputChange === 'function') {
|
|
25664
|
+
newValue = propsOnInputChange(value, actionMeta);
|
|
25665
|
+
}
|
|
25666
|
+
|
|
25667
|
+
setStateInputValue(newValue !== undefined ? newValue : value);
|
|
25668
|
+
}, [propsOnInputChange]);
|
|
25669
|
+
var onMenuOpen = useCallback(function () {
|
|
25670
|
+
if (typeof propsOnMenuOpen === 'function') {
|
|
25671
|
+
propsOnMenuOpen();
|
|
25672
|
+
}
|
|
25673
|
+
|
|
25674
|
+
setStateMenuIsOpen(true);
|
|
25675
|
+
}, [propsOnMenuOpen]);
|
|
25676
|
+
var onMenuClose = useCallback(function () {
|
|
25677
|
+
if (typeof propsOnMenuClose === 'function') {
|
|
25678
|
+
propsOnMenuClose();
|
|
25679
|
+
}
|
|
25680
|
+
|
|
25681
|
+
setStateMenuIsOpen(false);
|
|
25682
|
+
}, [propsOnMenuClose]);
|
|
25683
|
+
var inputValue = propsInputValue !== undefined ? propsInputValue : stateInputValue;
|
|
25684
|
+
var menuIsOpen = propsMenuIsOpen !== undefined ? propsMenuIsOpen : stateMenuIsOpen;
|
|
25685
|
+
var value = propsValue !== undefined ? propsValue : stateValue;
|
|
25686
|
+
return _objectSpread2(_objectSpread2({}, restSelectProps), {}, {
|
|
25687
|
+
inputValue: inputValue,
|
|
25688
|
+
menuIsOpen: menuIsOpen,
|
|
25689
|
+
onChange: onChange,
|
|
25690
|
+
onInputChange: onInputChange,
|
|
25691
|
+
onMenuClose: onMenuClose,
|
|
25692
|
+
onMenuOpen: onMenuOpen,
|
|
25693
|
+
value: value
|
|
25694
|
+
});
|
|
25695
|
+
}
|
|
25696
|
+
|
|
25795
25697
|
var safeIsNaN = Number.isNaN ||
|
|
25796
25698
|
function ponyfill(value) {
|
|
25797
25699
|
return typeof value === 'number' && value !== value;
|
|
@@ -25840,7 +25742,7 @@ function memoizeOne(resultFn, isEqual) {
|
|
|
25840
25742
|
return memoized;
|
|
25841
25743
|
}
|
|
25842
25744
|
|
|
25843
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
25745
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__$1() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
25844
25746
|
|
|
25845
25747
|
var _ref = process.env.NODE_ENV === "production" ? {
|
|
25846
25748
|
name: "7pg0cj-a11yText",
|
|
@@ -25848,12 +25750,12 @@ var _ref = process.env.NODE_ENV === "production" ? {
|
|
|
25848
25750
|
} : {
|
|
25849
25751
|
name: "1f43avz-a11yText-A11yText",
|
|
25850
25752
|
styles: "label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap;label:A11yText;",
|
|
25851
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
25852
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
25753
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkExMXlUZXh0LnRzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFNSSIsImZpbGUiOiJBMTF5VGV4dC50c3giLCJzb3VyY2VzQ29udGVudCI6WyIvKiogQGpzeCBqc3ggKi9cbmltcG9ydCB7IGpzeCB9IGZyb20gJ0BlbW90aW9uL3JlYWN0JztcblxuLy8gQXNzaXN0aXZlIHRleHQgdG8gZGVzY3JpYmUgdmlzdWFsIGVsZW1lbnRzLiBIaWRkZW4gZm9yIHNpZ2h0ZWQgdXNlcnMuXG5jb25zdCBBMTF5VGV4dCA9IChwcm9wczogSlNYLkludHJpbnNpY0VsZW1lbnRzWydzcGFuJ10pID0+IChcbiAgPHNwYW5cbiAgICBjc3M9e3tcbiAgICAgIGxhYmVsOiAnYTExeVRleHQnLFxuICAgICAgekluZGV4OiA5OTk5LFxuICAgICAgYm9yZGVyOiAwLFxuICAgICAgY2xpcDogJ3JlY3QoMXB4LCAxcHgsIDFweCwgMXB4KScsXG4gICAgICBoZWlnaHQ6IDEsXG4gICAgICB3aWR0aDogMSxcbiAgICAgIHBvc2l0aW9uOiAnYWJzb2x1dGUnLFxuICAgICAgb3ZlcmZsb3c6ICdoaWRkZW4nLFxuICAgICAgcGFkZGluZzogMCxcbiAgICAgIHdoaXRlU3BhY2U6ICdub3dyYXAnLFxuICAgIH19XG4gICAgey4uLnByb3BzfVxuICAvPlxuKTtcblxuZXhwb3J0IGRlZmF1bHQgQTExeVRleHQ7XG4iXX0= */",
|
|
25754
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__$1
|
|
25853
25755
|
};
|
|
25854
25756
|
|
|
25855
25757
|
var A11yText = function A11yText(props) {
|
|
25856
|
-
return jsx("span", _extends
|
|
25758
|
+
return jsx("span", _extends({
|
|
25857
25759
|
css: _ref
|
|
25858
25760
|
}, props));
|
|
25859
25761
|
};
|
|
@@ -25884,6 +25786,7 @@ var defaultAriaLiveMessages = {
|
|
|
25884
25786
|
var action = props.action,
|
|
25885
25787
|
_props$label = props.label,
|
|
25886
25788
|
label = _props$label === void 0 ? '' : _props$label,
|
|
25789
|
+
labels = props.labels,
|
|
25887
25790
|
isDisabled = props.isDisabled;
|
|
25888
25791
|
|
|
25889
25792
|
switch (action) {
|
|
@@ -25892,6 +25795,12 @@ var defaultAriaLiveMessages = {
|
|
|
25892
25795
|
case 'remove-value':
|
|
25893
25796
|
return "option ".concat(label, ", deselected.");
|
|
25894
25797
|
|
|
25798
|
+
case 'clear':
|
|
25799
|
+
return 'All selected options have been cleared.';
|
|
25800
|
+
|
|
25801
|
+
case 'initial-input-focus':
|
|
25802
|
+
return "option".concat(labels.length > 1 ? 's' : '', " ").concat(labels.join(','), ", selected.");
|
|
25803
|
+
|
|
25895
25804
|
case 'select-option':
|
|
25896
25805
|
return isDisabled ? "option ".concat(label, " is disabled. Select another option.") : "option ".concat(label, ", selected.");
|
|
25897
25806
|
|
|
@@ -25901,8 +25810,7 @@ var defaultAriaLiveMessages = {
|
|
|
25901
25810
|
},
|
|
25902
25811
|
onFocus: function onFocus(props) {
|
|
25903
25812
|
var context = props.context,
|
|
25904
|
-
|
|
25905
|
-
focused = _props$focused === void 0 ? {} : _props$focused,
|
|
25813
|
+
focused = props.focused,
|
|
25906
25814
|
options = props.options,
|
|
25907
25815
|
_props$label2 = props.label,
|
|
25908
25816
|
label = _props$label2 === void 0 ? '' : _props$label2,
|
|
@@ -25940,7 +25848,8 @@ var LiveRegion = function LiveRegion(props) {
|
|
|
25940
25848
|
focusableOptions = props.focusableOptions,
|
|
25941
25849
|
isFocused = props.isFocused,
|
|
25942
25850
|
selectValue = props.selectValue,
|
|
25943
|
-
selectProps = props.selectProps
|
|
25851
|
+
selectProps = props.selectProps,
|
|
25852
|
+
id = props.id;
|
|
25944
25853
|
var ariaLiveMessages = selectProps.ariaLiveMessages,
|
|
25945
25854
|
getOptionLabel = selectProps.getOptionLabel,
|
|
25946
25855
|
inputValue = selectProps.inputValue,
|
|
@@ -25963,25 +25872,35 @@ var LiveRegion = function LiveRegion(props) {
|
|
|
25963
25872
|
|
|
25964
25873
|
if (ariaSelection && messages.onChange) {
|
|
25965
25874
|
var option = ariaSelection.option,
|
|
25875
|
+
selectedOptions = ariaSelection.options,
|
|
25966
25876
|
removedValue = ariaSelection.removedValue,
|
|
25877
|
+
removedValues = ariaSelection.removedValues,
|
|
25967
25878
|
value = ariaSelection.value; // select-option when !isMulti does not return option so we assume selected option is value
|
|
25968
25879
|
|
|
25969
25880
|
var asOption = function asOption(val) {
|
|
25970
25881
|
return !Array.isArray(val) ? val : null;
|
|
25971
|
-
};
|
|
25882
|
+
}; // If there is just one item from the action then get its label
|
|
25883
|
+
|
|
25972
25884
|
|
|
25973
25885
|
var selected = removedValue || option || asOption(value);
|
|
25886
|
+
var label = selected ? getOptionLabel(selected) : ''; // If there are multiple items from the action then return an array of labels
|
|
25887
|
+
|
|
25888
|
+
var multiSelected = selectedOptions || removedValues || undefined;
|
|
25889
|
+
var labels = multiSelected ? multiSelected.map(getOptionLabel) : [];
|
|
25974
25890
|
|
|
25975
25891
|
var onChangeProps = _objectSpread2({
|
|
25976
|
-
|
|
25977
|
-
|
|
25892
|
+
// multiSelected items are usually items that have already been selected
|
|
25893
|
+
// or set by the user as a default value so we assume they are not disabled
|
|
25894
|
+
isDisabled: selected && isOptionDisabled(selected, selectValue),
|
|
25895
|
+
label: label,
|
|
25896
|
+
labels: labels
|
|
25978
25897
|
}, ariaSelection);
|
|
25979
25898
|
|
|
25980
25899
|
message = messages.onChange(onChangeProps);
|
|
25981
25900
|
}
|
|
25982
25901
|
|
|
25983
25902
|
return message;
|
|
25984
|
-
}, [ariaSelection, isOptionDisabled,
|
|
25903
|
+
}, [ariaSelection, messages, isOptionDisabled, selectValue, getOptionLabel]);
|
|
25985
25904
|
var ariaFocused = useMemo(function () {
|
|
25986
25905
|
var focusMsg = '';
|
|
25987
25906
|
var focused = focusedOption || focusedValue;
|
|
@@ -25991,7 +25910,7 @@ var LiveRegion = function LiveRegion(props) {
|
|
|
25991
25910
|
var onFocusProps = {
|
|
25992
25911
|
focused: focused,
|
|
25993
25912
|
label: getOptionLabel(focused),
|
|
25994
|
-
isDisabled: isOptionDisabled(focused),
|
|
25913
|
+
isDisabled: isOptionDisabled(focused, selectValue),
|
|
25995
25914
|
isSelected: isSelected,
|
|
25996
25915
|
options: options,
|
|
25997
25916
|
context: focused === focusedOption ? 'menu' : 'value',
|
|
@@ -26025,7 +25944,7 @@ var LiveRegion = function LiveRegion(props) {
|
|
|
26025
25944
|
guidanceMsg = messages.guidance({
|
|
26026
25945
|
'aria-label': ariaLabel,
|
|
26027
25946
|
context: context,
|
|
26028
|
-
isDisabled: focusedOption && isOptionDisabled(focusedOption),
|
|
25947
|
+
isDisabled: focusedOption && isOptionDisabled(focusedOption, selectValue),
|
|
26029
25948
|
isMulti: isMulti,
|
|
26030
25949
|
isSearchable: isSearchable,
|
|
26031
25950
|
tabSelectsValue: tabSelectsValue
|
|
@@ -26033,17 +25952,21 @@ var LiveRegion = function LiveRegion(props) {
|
|
|
26033
25952
|
}
|
|
26034
25953
|
|
|
26035
25954
|
return guidanceMsg;
|
|
26036
|
-
}, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, tabSelectsValue]);
|
|
25955
|
+
}, [ariaLabel, focusedOption, focusedValue, isMulti, isOptionDisabled, isSearchable, menuIsOpen, messages, selectValue, tabSelectsValue]);
|
|
26037
25956
|
var ariaContext = "".concat(ariaFocused, " ").concat(ariaResults, " ").concat(ariaGuidance);
|
|
26038
|
-
|
|
26039
|
-
"aria-live": ariaLive,
|
|
26040
|
-
"aria-atomic": "false",
|
|
26041
|
-
"aria-relevant": "additions text"
|
|
26042
|
-
}, isFocused && jsx(React__default.Fragment, null, jsx("span", {
|
|
25957
|
+
var ScreenReaderText = jsx(Fragment$3, null, jsx("span", {
|
|
26043
25958
|
id: "aria-selection"
|
|
26044
25959
|
}, ariaSelected), jsx("span", {
|
|
26045
25960
|
id: "aria-context"
|
|
26046
|
-
}, ariaContext))
|
|
25961
|
+
}, ariaContext));
|
|
25962
|
+
var isInitialFocus = (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus';
|
|
25963
|
+
return jsx(Fragment$3, null, jsx(A11yText, {
|
|
25964
|
+
id: id
|
|
25965
|
+
}, isInitialFocus && ScreenReaderText), jsx(A11yText, {
|
|
25966
|
+
"aria-live": ariaLive,
|
|
25967
|
+
"aria-atomic": "false",
|
|
25968
|
+
"aria-relevant": "additions text"
|
|
25969
|
+
}, isFocused && !isInitialFocus && ScreenReaderText));
|
|
26047
25970
|
};
|
|
26048
25971
|
|
|
26049
25972
|
var diacritics = [{
|
|
@@ -26330,6 +26253,9 @@ var defaultStringify = function defaultStringify(option) {
|
|
|
26330
26253
|
|
|
26331
26254
|
var createFilter = function createFilter(config) {
|
|
26332
26255
|
return function (option, rawInput) {
|
|
26256
|
+
// eslint-disable-next-line no-underscore-dangle
|
|
26257
|
+
if (option.data.__isNew__) return true;
|
|
26258
|
+
|
|
26333
26259
|
var _ignoreCase$ignoreAcc = _objectSpread2({
|
|
26334
26260
|
ignoreCase: true,
|
|
26335
26261
|
ignoreAccents: true,
|
|
@@ -26360,18 +26286,12 @@ var createFilter = function createFilter(config) {
|
|
|
26360
26286
|
};
|
|
26361
26287
|
};
|
|
26362
26288
|
|
|
26289
|
+
var _excluded = ["innerRef"];
|
|
26363
26290
|
function DummyInput(_ref) {
|
|
26364
|
-
_ref.
|
|
26365
|
-
_ref
|
|
26366
|
-
|
|
26367
|
-
|
|
26368
|
-
_ref.enter;
|
|
26369
|
-
_ref.exit;
|
|
26370
|
-
var innerRef = _ref.innerRef;
|
|
26371
|
-
_ref.emotion;
|
|
26372
|
-
var props = _objectWithoutProperties$1(_ref, ["in", "out", "onExited", "appear", "enter", "exit", "innerRef", "emotion"]);
|
|
26373
|
-
|
|
26374
|
-
return jsx("input", _extends$1({
|
|
26291
|
+
var innerRef = _ref.innerRef,
|
|
26292
|
+
props = _objectWithoutProperties(_ref, _excluded);
|
|
26293
|
+
|
|
26294
|
+
return jsx("input", _extends({
|
|
26375
26295
|
ref: innerRef
|
|
26376
26296
|
}, props, {
|
|
26377
26297
|
css: /*#__PURE__*/css$2({
|
|
@@ -26379,7 +26299,10 @@ function DummyInput(_ref) {
|
|
|
26379
26299
|
// get rid of any default styles
|
|
26380
26300
|
background: 0,
|
|
26381
26301
|
border: 0,
|
|
26302
|
+
// important! this hides the flashing cursor
|
|
26303
|
+
caretColor: 'transparent',
|
|
26382
26304
|
fontSize: 'inherit',
|
|
26305
|
+
gridArea: '1 / 1 / 2 / 3',
|
|
26383
26306
|
outline: 0,
|
|
26384
26307
|
padding: 0,
|
|
26385
26308
|
// important! without `width` browsers won't allow focus
|
|
@@ -26390,8 +26313,8 @@ function DummyInput(_ref) {
|
|
|
26390
26313
|
left: -100,
|
|
26391
26314
|
opacity: 0,
|
|
26392
26315
|
position: 'relative',
|
|
26393
|
-
transform: 'scale(
|
|
26394
|
-
}, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
26316
|
+
transform: 'scale(.01)'
|
|
26317
|
+
}, process.env.NODE_ENV === "production" ? "" : ";label:DummyInput;", process.env.NODE_ENV === "production" ? "" : "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkR1bW15SW5wdXQudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWNNIiwiZmlsZSI6IkR1bW15SW5wdXQudHN4Iiwic291cmNlc0NvbnRlbnQiOlsiLyoqIEBqc3gganN4ICovXG5pbXBvcnQgeyBSZWYgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBqc3ggfSBmcm9tICdAZW1vdGlvbi9yZWFjdCc7XG5cbmV4cG9ydCBkZWZhdWx0IGZ1bmN0aW9uIER1bW15SW5wdXQoe1xuICBpbm5lclJlZixc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hbGUoLjAxKScsXG4gICAgICB9fVxuICAgIC8+XG4gICk7XG59XG4iXX0= */")
|
|
26395
26318
|
}));
|
|
26396
26319
|
}
|
|
26397
26320
|
|
|
@@ -26411,7 +26334,6 @@ function useScrollCapture(_ref) {
|
|
|
26411
26334
|
var touchStart = useRef(0);
|
|
26412
26335
|
var scrollTarget = useRef(null);
|
|
26413
26336
|
var handleEventDelta = useCallback(function (event, delta) {
|
|
26414
|
-
// Reference should never be `null` at this point, but flow complains otherwise
|
|
26415
26337
|
if (scrollTarget.current === null) return;
|
|
26416
26338
|
var _scrollTarget$current = scrollTarget.current,
|
|
26417
26339
|
scrollTop = _scrollTarget$current.scrollTop,
|
|
@@ -26455,7 +26377,7 @@ function useScrollCapture(_ref) {
|
|
|
26455
26377
|
if (shouldCancelScroll) {
|
|
26456
26378
|
cancelScroll(event);
|
|
26457
26379
|
}
|
|
26458
|
-
}, []);
|
|
26380
|
+
}, [onBottomArrive, onBottomLeave, onTopArrive, onTopLeave]);
|
|
26459
26381
|
var onWheel = useCallback(function (event) {
|
|
26460
26382
|
handleEventDelta(event, event.deltaY);
|
|
26461
26383
|
}, [handleEventDelta]);
|
|
@@ -26472,35 +26394,17 @@ function useScrollCapture(_ref) {
|
|
|
26472
26394
|
if (!el) return;
|
|
26473
26395
|
var notPassive = supportsPassiveEvents ? {
|
|
26474
26396
|
passive: false
|
|
26475
|
-
} : false;
|
|
26476
|
-
|
|
26477
|
-
|
|
26478
|
-
|
|
26479
|
-
}
|
|
26480
|
-
|
|
26481
|
-
if (typeof el.addEventListener === 'function') {
|
|
26482
|
-
el.addEventListener('touchstart', onTouchStart, notPassive);
|
|
26483
|
-
}
|
|
26484
|
-
|
|
26485
|
-
if (typeof el.addEventListener === 'function') {
|
|
26486
|
-
el.addEventListener('touchmove', onTouchMove, notPassive);
|
|
26487
|
-
}
|
|
26397
|
+
} : false;
|
|
26398
|
+
el.addEventListener('wheel', onWheel, notPassive);
|
|
26399
|
+
el.addEventListener('touchstart', onTouchStart, notPassive);
|
|
26400
|
+
el.addEventListener('touchmove', onTouchMove, notPassive);
|
|
26488
26401
|
}, [onTouchMove, onTouchStart, onWheel]);
|
|
26489
26402
|
var stopListening = useCallback(function (el) {
|
|
26490
26403
|
// bail early if no element is available to detach from
|
|
26491
|
-
if (!el) return;
|
|
26492
|
-
|
|
26493
|
-
|
|
26494
|
-
|
|
26495
|
-
}
|
|
26496
|
-
|
|
26497
|
-
if (typeof el.removeEventListener === 'function') {
|
|
26498
|
-
el.removeEventListener('touchstart', onTouchStart, false);
|
|
26499
|
-
}
|
|
26500
|
-
|
|
26501
|
-
if (typeof el.removeEventListener === 'function') {
|
|
26502
|
-
el.removeEventListener('touchmove', onTouchMove, false);
|
|
26503
|
-
}
|
|
26404
|
+
if (!el) return;
|
|
26405
|
+
el.removeEventListener('wheel', onWheel, false);
|
|
26406
|
+
el.removeEventListener('touchstart', onTouchStart, false);
|
|
26407
|
+
el.removeEventListener('touchmove', onTouchMove, false);
|
|
26504
26408
|
}, [onTouchMove, onTouchStart, onWheel]);
|
|
26505
26409
|
useEffect(function () {
|
|
26506
26410
|
if (!isEnabled) return;
|
|
@@ -26606,7 +26510,7 @@ function useScrollLock(_ref) {
|
|
|
26606
26510
|
|
|
26607
26511
|
|
|
26608
26512
|
activeScrollLocks += 1;
|
|
26609
|
-
}, []);
|
|
26513
|
+
}, [accountForScrollbars]);
|
|
26610
26514
|
var removeScrollLock = useCallback(function (touchScrollTarget) {
|
|
26611
26515
|
if (!canUseDOM) return;
|
|
26612
26516
|
var target = document.body;
|
|
@@ -26633,7 +26537,7 @@ function useScrollLock(_ref) {
|
|
|
26633
26537
|
touchScrollTarget.removeEventListener('touchmove', allowTouchMove, listenerOptions);
|
|
26634
26538
|
}
|
|
26635
26539
|
}
|
|
26636
|
-
}, []);
|
|
26540
|
+
}, [accountForScrollbars]);
|
|
26637
26541
|
useEffect(function () {
|
|
26638
26542
|
if (!isEnabled) return;
|
|
26639
26543
|
var element = scrollTarget.current;
|
|
@@ -26647,7 +26551,7 @@ function useScrollLock(_ref) {
|
|
|
26647
26551
|
};
|
|
26648
26552
|
}
|
|
26649
26553
|
|
|
26650
|
-
function _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
26554
|
+
function _EMOTION_STRINGIFIED_CSS_ERROR__() { return "You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."; }
|
|
26651
26555
|
|
|
26652
26556
|
var blurSelectInput = function blurSelectInput() {
|
|
26653
26557
|
return document.activeElement && document.activeElement.blur();
|
|
@@ -26659,8 +26563,8 @@ var _ref2 = process.env.NODE_ENV === "production" ? {
|
|
|
26659
26563
|
} : {
|
|
26660
26564
|
name: "bp8cua-ScrollManager",
|
|
26661
26565
|
styles: "position:fixed;left:0;bottom:0;right:0;top:0;label:ScrollManager;",
|
|
26662
|
-
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,
|
|
26663
|
-
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
26566
|
+
map: "/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlNjcm9sbE1hbmFnZXIudHN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQStDVSIsImZpbGUiOiJTY3JvbGxNYW5hZ2VyLnRzeCIsInNvdXJjZXNDb250ZW50IjpbIi8qKiBAanN4IGpzeCAqL1xuaW1wb3J0IHsganN4IH0gZnJvbSAnQGVtb3Rpb24vcmVhY3QnO1xuaW1wb3J0IHsgRnJhZ21lbnQsIFJlYWN0RWxlbWVudCwgUmVmQ2FsbGJhY2sgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgdXNlU2Nyb2xsQ2FwdHVyZSBmcm9tICcuL3VzZVNjcm9sbENhcHR1cmUnO1xuaW1wb3J0IHVzZVNjcm9sbExvY2sgZnJvbSAnLi91c2VTY3JvbGxMb2NrJztcblxu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iBjYXB0dXJlRW5hYmxlZCxcbiAgICBvbkJvdHRvbUFycml2ZSxcbiAgICBvbkJvdHRvbUxlYXZlLFxuICAgIG9uVG9wQXJyaXZlLFxuICAgIG9uVG9wTGVhdmUsXG4gIH0pO1xuICBjb25zdCBzZXRTY3JvbGxMb2NrVGFyZ2V0ID0gdXNlU2Nyb2xsTG9jayh7IGlzRW5hYmxlZDogbG9ja0VuYWJsZWQgfSk7XG5cbiAgY29uc3QgdGFyZ2V0UmVmOiBSZWZDYWxsYmFjazxIVE1MRWxlbWVudD4gPSAoZWxlbWVudCkgPT4ge1xuICAgIHNldFNjcm9sbENhcHR1cmVUYXJnZXQoZWxlbWVudCk7XG4gICAgc2V0U2Nyb2xsTG9ja1RhcmdldChlbGVtZW50KTtcbiAgfTtcblxuICByZXR1cm4gKFxuICAgIDxGcmFnbWVudD5cbiAgICAgIHtsb2NrRW5hYmxlZCAmJiAoXG4gICAgICAgIDxkaXZcbiAgICAgICAgICBvbkNsaWNrPXtibHVyU2VsZWN0SW5wdXR9XG4gICAgICAgICAgY3NzPXt7IHBvc2l0aW9uOiAnZml4ZWQnLCBsZWZ0OiAwLCBib3R0b206IDAsIHJpZ2h0OiAwLCB0b3A6IDAgfX1cbiAgICAgICAgLz5cbiAgICAgICl9XG4gICAgICB7Y2hpbGRyZW4odGFyZ2V0UmVmKX1cbiAgICA8L0ZyYWdtZW50PlxuICApO1xufVxuIl19 */",
|
|
26567
|
+
toString: _EMOTION_STRINGIFIED_CSS_ERROR__
|
|
26664
26568
|
};
|
|
26665
26569
|
|
|
26666
26570
|
function ScrollManager(_ref) {
|
|
@@ -26688,7 +26592,7 @@ function ScrollManager(_ref) {
|
|
|
26688
26592
|
setScrollLockTarget(element);
|
|
26689
26593
|
};
|
|
26690
26594
|
|
|
26691
|
-
return jsx(
|
|
26595
|
+
return jsx(Fragment$3, null, lockEnabled && jsx("div", {
|
|
26692
26596
|
onClick: blurSelectInput,
|
|
26693
26597
|
css: _ref2
|
|
26694
26598
|
}), children(targetRef));
|
|
@@ -26697,10 +26601,10 @@ function ScrollManager(_ref) {
|
|
|
26697
26601
|
var formatGroupLabel = function formatGroupLabel(group) {
|
|
26698
26602
|
return group.label;
|
|
26699
26603
|
};
|
|
26700
|
-
var getOptionLabel = function getOptionLabel(option) {
|
|
26604
|
+
var getOptionLabel$1 = function getOptionLabel(option) {
|
|
26701
26605
|
return option.label;
|
|
26702
26606
|
};
|
|
26703
|
-
var getOptionValue = function getOptionValue(option) {
|
|
26607
|
+
var getOptionValue$1 = function getOptionValue(option) {
|
|
26704
26608
|
return option.value;
|
|
26705
26609
|
};
|
|
26706
26610
|
var isOptionDisabled = function isOptionDisabled(option) {
|
|
@@ -26710,7 +26614,7 @@ var isOptionDisabled = function isOptionDisabled(option) {
|
|
|
26710
26614
|
var defaultStyles = {
|
|
26711
26615
|
clearIndicator: clearIndicatorCSS,
|
|
26712
26616
|
container: containerCSS,
|
|
26713
|
-
control: css,
|
|
26617
|
+
control: css$1,
|
|
26714
26618
|
dropdownIndicator: dropdownIndicatorCSS,
|
|
26715
26619
|
group: groupCSS,
|
|
26716
26620
|
groupHeading: groupHeadingCSS,
|
|
@@ -26728,7 +26632,7 @@ var defaultStyles = {
|
|
|
26728
26632
|
noOptionsMessage: noOptionsMessageCSS,
|
|
26729
26633
|
option: optionCSS,
|
|
26730
26634
|
placeholder: placeholderCSS,
|
|
26731
|
-
singleValue: css
|
|
26635
|
+
singleValue: css,
|
|
26732
26636
|
valueContainer: valueContainerCSS
|
|
26733
26637
|
}; // Merge Utility
|
|
26734
26638
|
|
|
@@ -26769,7 +26673,7 @@ var defaultTheme = {
|
|
|
26769
26673
|
spacing: spacing
|
|
26770
26674
|
};
|
|
26771
26675
|
|
|
26772
|
-
var defaultProps
|
|
26676
|
+
var defaultProps = {
|
|
26773
26677
|
'aria-live': 'polite',
|
|
26774
26678
|
backspaceRemovesValue: true,
|
|
26775
26679
|
blurInputOnSelect: isTouchCapable(),
|
|
@@ -26781,8 +26685,8 @@ var defaultProps$1 = {
|
|
|
26781
26685
|
escapeClearsValue: false,
|
|
26782
26686
|
filterOption: createFilter(),
|
|
26783
26687
|
formatGroupLabel: formatGroupLabel,
|
|
26784
|
-
getOptionLabel: getOptionLabel,
|
|
26785
|
-
getOptionValue: getOptionValue,
|
|
26688
|
+
getOptionLabel: getOptionLabel$1,
|
|
26689
|
+
getOptionValue: getOptionValue$1,
|
|
26786
26690
|
isDisabled: false,
|
|
26787
26691
|
isLoading: false,
|
|
26788
26692
|
isMulti: false,
|
|
@@ -26812,7 +26716,7 @@ var defaultProps$1 = {
|
|
|
26812
26716
|
return "".concat(count, " result").concat(count !== 1 ? 's' : '', " available");
|
|
26813
26717
|
},
|
|
26814
26718
|
styles: {},
|
|
26815
|
-
tabIndex:
|
|
26719
|
+
tabIndex: 0,
|
|
26816
26720
|
tabSelectsValue: true
|
|
26817
26721
|
};
|
|
26818
26722
|
|
|
@@ -26821,8 +26725,8 @@ function toCategorizedOption(props, option, selectValue, index) {
|
|
|
26821
26725
|
|
|
26822
26726
|
var isSelected = _isOptionSelected(props, option, selectValue);
|
|
26823
26727
|
|
|
26824
|
-
var label = getOptionLabel
|
|
26825
|
-
var value = getOptionValue
|
|
26728
|
+
var label = getOptionLabel(props, option);
|
|
26729
|
+
var value = getOptionValue(props, option);
|
|
26826
26730
|
return {
|
|
26827
26731
|
type: 'option',
|
|
26828
26732
|
data: option,
|
|
@@ -26836,7 +26740,7 @@ function toCategorizedOption(props, option, selectValue, index) {
|
|
|
26836
26740
|
|
|
26837
26741
|
function buildCategorizedOptions(props, selectValue) {
|
|
26838
26742
|
return props.options.map(function (groupOrOption, groupOrOptionIndex) {
|
|
26839
|
-
if (groupOrOption
|
|
26743
|
+
if ('options' in groupOrOption) {
|
|
26840
26744
|
var categorizedOptions = groupOrOption.options.map(function (option, optionIndex) {
|
|
26841
26745
|
return toCategorizedOption(props, option, selectValue, optionIndex);
|
|
26842
26746
|
}).filter(function (categorizedOption) {
|
|
@@ -26852,10 +26756,7 @@ function buildCategorizedOptions(props, selectValue) {
|
|
|
26852
26756
|
|
|
26853
26757
|
var categorizedOption = toCategorizedOption(props, groupOrOption, selectValue, groupOrOptionIndex);
|
|
26854
26758
|
return isFocusable(props, categorizedOption) ? categorizedOption : undefined;
|
|
26855
|
-
})
|
|
26856
|
-
.filter(function (categorizedOption) {
|
|
26857
|
-
return !!categorizedOption;
|
|
26858
|
-
});
|
|
26759
|
+
}).filter(notNullish);
|
|
26859
26760
|
}
|
|
26860
26761
|
|
|
26861
26762
|
function buildFocusableOptionsFromCategorizedOptions(categorizedOptions) {
|
|
@@ -26916,11 +26817,11 @@ function getNextFocusedOption(state, options) {
|
|
|
26916
26817
|
return lastFocusedOption && options.indexOf(lastFocusedOption) > -1 ? lastFocusedOption : options[0];
|
|
26917
26818
|
}
|
|
26918
26819
|
|
|
26919
|
-
var getOptionLabel
|
|
26820
|
+
var getOptionLabel = function getOptionLabel(props, data) {
|
|
26920
26821
|
return props.getOptionLabel(data);
|
|
26921
26822
|
};
|
|
26922
26823
|
|
|
26923
|
-
var getOptionValue
|
|
26824
|
+
var getOptionValue = function getOptionValue(props, data) {
|
|
26924
26825
|
return props.getOptionValue(data);
|
|
26925
26826
|
};
|
|
26926
26827
|
|
|
@@ -26935,9 +26836,9 @@ function _isOptionSelected(props, option, selectValue) {
|
|
|
26935
26836
|
return props.isOptionSelected(option, selectValue);
|
|
26936
26837
|
}
|
|
26937
26838
|
|
|
26938
|
-
var candidate = getOptionValue
|
|
26839
|
+
var candidate = getOptionValue(props, option);
|
|
26939
26840
|
return selectValue.some(function (i) {
|
|
26940
|
-
return getOptionValue
|
|
26841
|
+
return getOptionValue(props, i) === candidate;
|
|
26941
26842
|
});
|
|
26942
26843
|
}
|
|
26943
26844
|
|
|
@@ -26969,7 +26870,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
26969
26870
|
function Select(_props) {
|
|
26970
26871
|
var _this;
|
|
26971
26872
|
|
|
26972
|
-
_classCallCheck
|
|
26873
|
+
_classCallCheck(this, Select);
|
|
26973
26874
|
|
|
26974
26875
|
_this = _super.call(this, _props);
|
|
26975
26876
|
_this.state = {
|
|
@@ -26980,6 +26881,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
26980
26881
|
isFocused: false,
|
|
26981
26882
|
selectValue: [],
|
|
26982
26883
|
clearFocusValueOnUpdate: false,
|
|
26884
|
+
prevWasFocused: false,
|
|
26983
26885
|
inputIsHiddenAfterUpdate: undefined,
|
|
26984
26886
|
prevProps: undefined
|
|
26985
26887
|
};
|
|
@@ -27030,15 +26932,15 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27030
26932
|
onChange(newValue, actionMeta);
|
|
27031
26933
|
};
|
|
27032
26934
|
|
|
27033
|
-
_this.setValue = function (newValue) {
|
|
27034
|
-
var action = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'set-value';
|
|
27035
|
-
var option = arguments.length > 2 ? arguments[2] : undefined;
|
|
26935
|
+
_this.setValue = function (newValue, action, option) {
|
|
27036
26936
|
var _this$props2 = _this.props,
|
|
27037
26937
|
closeMenuOnSelect = _this$props2.closeMenuOnSelect,
|
|
27038
|
-
isMulti = _this$props2.isMulti
|
|
26938
|
+
isMulti = _this$props2.isMulti,
|
|
26939
|
+
inputValue = _this$props2.inputValue;
|
|
27039
26940
|
|
|
27040
26941
|
_this.onInputChange('', {
|
|
27041
|
-
action: 'set-value'
|
|
26942
|
+
action: 'set-value',
|
|
26943
|
+
prevInputValue: inputValue
|
|
27042
26944
|
});
|
|
27043
26945
|
|
|
27044
26946
|
if (closeMenuOnSelect) {
|
|
@@ -27074,19 +26976,20 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27074
26976
|
if (deselected) {
|
|
27075
26977
|
var candidate = _this.getOptionValue(newValue);
|
|
27076
26978
|
|
|
27077
|
-
_this.setValue(selectValue.filter(function (i) {
|
|
26979
|
+
_this.setValue(multiValueAsValue(selectValue.filter(function (i) {
|
|
27078
26980
|
return _this.getOptionValue(i) !== candidate;
|
|
27079
|
-
}), 'deselect-option', newValue);
|
|
26981
|
+
})), 'deselect-option', newValue);
|
|
27080
26982
|
} else if (!isDisabled) {
|
|
27081
26983
|
// Select option if option is not disabled
|
|
27082
26984
|
if (isMulti) {
|
|
27083
|
-
_this.setValue([].concat(_toConsumableArray(selectValue), [newValue]), 'select-option', newValue);
|
|
26985
|
+
_this.setValue(multiValueAsValue([].concat(_toConsumableArray(selectValue), [newValue])), 'select-option', newValue);
|
|
27084
26986
|
} else {
|
|
27085
|
-
_this.setValue(newValue, 'select-option');
|
|
26987
|
+
_this.setValue(singleValueAsValue(newValue), 'select-option');
|
|
27086
26988
|
}
|
|
27087
26989
|
} else {
|
|
27088
|
-
_this.ariaOnChange(newValue, {
|
|
26990
|
+
_this.ariaOnChange(singleValueAsValue(newValue), {
|
|
27089
26991
|
action: 'select-option',
|
|
26992
|
+
option: newValue,
|
|
27090
26993
|
name: name
|
|
27091
26994
|
});
|
|
27092
26995
|
|
|
@@ -27107,7 +27010,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27107
27010
|
var newValueArray = selectValue.filter(function (i) {
|
|
27108
27011
|
return _this.getOptionValue(i) !== candidate;
|
|
27109
27012
|
});
|
|
27110
|
-
var newValue = isMulti
|
|
27013
|
+
var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);
|
|
27111
27014
|
|
|
27112
27015
|
_this.onChange(newValue, {
|
|
27113
27016
|
action: 'remove-value',
|
|
@@ -27120,7 +27023,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27120
27023
|
_this.clearValue = function () {
|
|
27121
27024
|
var selectValue = _this.state.selectValue;
|
|
27122
27025
|
|
|
27123
|
-
_this.onChange(_this.props.isMulti
|
|
27026
|
+
_this.onChange(valueTernary(_this.props.isMulti, [], null), {
|
|
27124
27027
|
action: 'clear',
|
|
27125
27028
|
removedValues: selectValue
|
|
27126
27029
|
});
|
|
@@ -27131,7 +27034,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27131
27034
|
var selectValue = _this.state.selectValue;
|
|
27132
27035
|
var lastSelectedValue = selectValue[selectValue.length - 1];
|
|
27133
27036
|
var newValueArray = selectValue.slice(0, selectValue.length - 1);
|
|
27134
|
-
var newValue = isMulti
|
|
27037
|
+
var newValue = valueTernary(isMulti, newValueArray, newValueArray[0] || null);
|
|
27135
27038
|
|
|
27136
27039
|
_this.onChange(newValue, {
|
|
27137
27040
|
action: 'pop-value',
|
|
@@ -27152,11 +27055,11 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27152
27055
|
};
|
|
27153
27056
|
|
|
27154
27057
|
_this.getOptionLabel = function (data) {
|
|
27155
|
-
return getOptionLabel
|
|
27058
|
+
return getOptionLabel(_this.props, data);
|
|
27156
27059
|
};
|
|
27157
27060
|
|
|
27158
27061
|
_this.getOptionValue = function (data) {
|
|
27159
|
-
return getOptionValue
|
|
27062
|
+
return getOptionValue(_this.props, data);
|
|
27160
27063
|
};
|
|
27161
27064
|
|
|
27162
27065
|
_this.getStyles = function (key, props) {
|
|
@@ -27227,14 +27130,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27227
27130
|
_this.openMenu('first');
|
|
27228
27131
|
}
|
|
27229
27132
|
} else {
|
|
27230
|
-
if (
|
|
27231
|
-
event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
|
|
27133
|
+
if (event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
|
|
27232
27134
|
_this.onMenuClose();
|
|
27233
27135
|
}
|
|
27234
27136
|
}
|
|
27235
27137
|
|
|
27236
|
-
if (
|
|
27237
|
-
event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
|
|
27138
|
+
if (event.target.tagName !== 'INPUT' && event.target.tagName !== 'TEXTAREA') {
|
|
27238
27139
|
event.preventDefault();
|
|
27239
27140
|
}
|
|
27240
27141
|
};
|
|
@@ -27274,6 +27175,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27274
27175
|
|
|
27275
27176
|
_this.clearValue();
|
|
27276
27177
|
|
|
27178
|
+
event.preventDefault();
|
|
27277
27179
|
event.stopPropagation();
|
|
27278
27180
|
_this.openAfterFocus = false;
|
|
27279
27181
|
|
|
@@ -27366,6 +27268,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27366
27268
|
};
|
|
27367
27269
|
|
|
27368
27270
|
_this.handleInputChange = function (event) {
|
|
27271
|
+
var prevInputValue = _this.props.inputValue;
|
|
27369
27272
|
var inputValue = event.currentTarget.value;
|
|
27370
27273
|
|
|
27371
27274
|
_this.setState({
|
|
@@ -27373,7 +27276,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27373
27276
|
});
|
|
27374
27277
|
|
|
27375
27278
|
_this.onInputChange(inputValue, {
|
|
27376
|
-
action: 'input-change'
|
|
27279
|
+
action: 'input-change',
|
|
27280
|
+
prevInputValue: prevInputValue
|
|
27377
27281
|
});
|
|
27378
27282
|
|
|
27379
27283
|
if (!_this.props.menuIsOpen) {
|
|
@@ -27399,6 +27303,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27399
27303
|
};
|
|
27400
27304
|
|
|
27401
27305
|
_this.onInputBlur = function (event) {
|
|
27306
|
+
var prevInputValue = _this.props.inputValue;
|
|
27307
|
+
|
|
27402
27308
|
if (_this.menuListRef && _this.menuListRef.contains(document.activeElement)) {
|
|
27403
27309
|
_this.inputRef.focus();
|
|
27404
27310
|
|
|
@@ -27410,7 +27316,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27410
27316
|
}
|
|
27411
27317
|
|
|
27412
27318
|
_this.onInputChange('', {
|
|
27413
|
-
action: 'input-blur'
|
|
27319
|
+
action: 'input-blur',
|
|
27320
|
+
prevInputValue: prevInputValue
|
|
27414
27321
|
});
|
|
27415
27322
|
|
|
27416
27323
|
_this.onMenuClose();
|
|
@@ -27535,7 +27442,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27535
27442
|
});
|
|
27536
27443
|
|
|
27537
27444
|
_this.onInputChange('', {
|
|
27538
|
-
action: 'menu-close'
|
|
27445
|
+
action: 'menu-close',
|
|
27446
|
+
prevInputValue: inputValue
|
|
27539
27447
|
});
|
|
27540
27448
|
|
|
27541
27449
|
_this.onMenuClose();
|
|
@@ -27621,7 +27529,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27621
27529
|
return _this;
|
|
27622
27530
|
}
|
|
27623
27531
|
|
|
27624
|
-
_createClass
|
|
27532
|
+
_createClass(Select, [{
|
|
27625
27533
|
key: "componentDidMount",
|
|
27626
27534
|
value: function componentDidMount() {
|
|
27627
27535
|
this.startListeningComposition();
|
|
@@ -27652,6 +27560,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27652
27560
|
|
|
27653
27561
|
if (isFocused && isDisabled && !prevProps.isDisabled) {
|
|
27654
27562
|
// ensure select state gets blurred in case Select is programatically disabled while focused
|
|
27563
|
+
// eslint-disable-next-line react/no-did-update-set-state
|
|
27655
27564
|
this.setState({
|
|
27656
27565
|
isFocused: false
|
|
27657
27566
|
}, this.onMenuClose);
|
|
@@ -27682,7 +27591,8 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27682
27591
|
key: "onMenuClose",
|
|
27683
27592
|
value: function onMenuClose() {
|
|
27684
27593
|
this.onInputChange('', {
|
|
27685
|
-
action: 'menu-close'
|
|
27594
|
+
action: 'menu-close',
|
|
27595
|
+
prevInputValue: this.props.inputValue
|
|
27686
27596
|
});
|
|
27687
27597
|
this.props.onMenuClose();
|
|
27688
27598
|
}
|
|
@@ -27912,12 +27822,12 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27912
27822
|
key: "formatOptionLabel",
|
|
27913
27823
|
value: function formatOptionLabel(data, context) {
|
|
27914
27824
|
if (typeof this.props.formatOptionLabel === 'function') {
|
|
27915
|
-
var
|
|
27916
|
-
var
|
|
27825
|
+
var _inputValue = this.props.inputValue;
|
|
27826
|
+
var _selectValue = this.state.selectValue;
|
|
27917
27827
|
return this.props.formatOptionLabel(data, {
|
|
27918
27828
|
context: context,
|
|
27919
|
-
inputValue:
|
|
27920
|
-
selectValue:
|
|
27829
|
+
inputValue: _inputValue,
|
|
27830
|
+
selectValue: _selectValue
|
|
27921
27831
|
});
|
|
27922
27832
|
} else {
|
|
27923
27833
|
return this.getOptionLabel(data);
|
|
@@ -27983,38 +27893,54 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
27983
27893
|
inputId = _this$props8.inputId,
|
|
27984
27894
|
inputValue = _this$props8.inputValue,
|
|
27985
27895
|
tabIndex = _this$props8.tabIndex,
|
|
27986
|
-
form = _this$props8.form
|
|
27896
|
+
form = _this$props8.form,
|
|
27897
|
+
menuIsOpen = _this$props8.menuIsOpen;
|
|
27987
27898
|
|
|
27988
27899
|
var _this$getComponents = this.getComponents(),
|
|
27989
27900
|
Input = _this$getComponents.Input;
|
|
27990
27901
|
|
|
27991
|
-
var
|
|
27902
|
+
var _this$state4 = this.state,
|
|
27903
|
+
inputIsHidden = _this$state4.inputIsHidden,
|
|
27904
|
+
ariaSelection = _this$state4.ariaSelection;
|
|
27992
27905
|
var commonProps = this.commonProps;
|
|
27993
27906
|
var id = inputId || this.getElementId('input'); // aria attributes makes the JSX "noisy", separated for clarity
|
|
27994
27907
|
|
|
27995
|
-
var ariaAttributes = {
|
|
27908
|
+
var ariaAttributes = _objectSpread2(_objectSpread2({
|
|
27996
27909
|
'aria-autocomplete': 'list',
|
|
27910
|
+
'aria-expanded': menuIsOpen,
|
|
27911
|
+
'aria-haspopup': true,
|
|
27912
|
+
'aria-controls': this.getElementId('listbox'),
|
|
27913
|
+
'aria-owns': this.getElementId('listbox'),
|
|
27914
|
+
'aria-errormessage': this.props['aria-errormessage'],
|
|
27915
|
+
'aria-invalid': this.props['aria-invalid'],
|
|
27997
27916
|
'aria-label': this.props['aria-label'],
|
|
27998
|
-
'aria-labelledby': this.props['aria-labelledby']
|
|
27999
|
-
|
|
27917
|
+
'aria-labelledby': this.props['aria-labelledby'],
|
|
27918
|
+
role: 'combobox'
|
|
27919
|
+
}, !isSearchable && {
|
|
27920
|
+
'aria-readonly': true
|
|
27921
|
+
}), this.hasValue() ? (ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus' && {
|
|
27922
|
+
'aria-describedby': this.getElementId('live-region')
|
|
27923
|
+
} : {
|
|
27924
|
+
'aria-describedby': this.getElementId('placeholder')
|
|
27925
|
+
});
|
|
28000
27926
|
|
|
28001
27927
|
if (!isSearchable) {
|
|
28002
27928
|
// use a dummy input to maintain focus/blur functionality
|
|
28003
|
-
return /*#__PURE__*/
|
|
27929
|
+
return /*#__PURE__*/React.createElement(DummyInput, _extends({
|
|
28004
27930
|
id: id,
|
|
28005
27931
|
innerRef: this.getInputRef,
|
|
28006
27932
|
onBlur: this.onInputBlur,
|
|
28007
27933
|
onChange: noop,
|
|
28008
27934
|
onFocus: this.onInputFocus,
|
|
28009
|
-
readOnly: true,
|
|
28010
27935
|
disabled: isDisabled,
|
|
28011
27936
|
tabIndex: tabIndex,
|
|
27937
|
+
inputMode: "none",
|
|
28012
27938
|
form: form,
|
|
28013
27939
|
value: ""
|
|
28014
27940
|
}, ariaAttributes));
|
|
28015
27941
|
}
|
|
28016
27942
|
|
|
28017
|
-
return /*#__PURE__*/
|
|
27943
|
+
return /*#__PURE__*/React.createElement(Input, _extends({}, commonProps, {
|
|
28018
27944
|
autoCapitalize: "none",
|
|
28019
27945
|
autoComplete: "off",
|
|
28020
27946
|
autoCorrect: "off",
|
|
@@ -28052,23 +27978,27 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28052
27978
|
isMulti = _this$props9.isMulti,
|
|
28053
27979
|
inputValue = _this$props9.inputValue,
|
|
28054
27980
|
placeholder = _this$props9.placeholder;
|
|
28055
|
-
var _this$
|
|
28056
|
-
selectValue = _this$
|
|
28057
|
-
focusedValue = _this$
|
|
28058
|
-
isFocused = _this$
|
|
27981
|
+
var _this$state5 = this.state,
|
|
27982
|
+
selectValue = _this$state5.selectValue,
|
|
27983
|
+
focusedValue = _this$state5.focusedValue,
|
|
27984
|
+
isFocused = _this$state5.isFocused;
|
|
28059
27985
|
|
|
28060
27986
|
if (!this.hasValue() || !controlShouldRenderValue) {
|
|
28061
|
-
return inputValue ? null : /*#__PURE__*/
|
|
27987
|
+
return inputValue ? null : /*#__PURE__*/React.createElement(Placeholder, _extends({}, commonProps, {
|
|
28062
27988
|
key: "placeholder",
|
|
28063
27989
|
isDisabled: isDisabled,
|
|
28064
|
-
isFocused: isFocused
|
|
27990
|
+
isFocused: isFocused,
|
|
27991
|
+
innerProps: {
|
|
27992
|
+
id: this.getElementId('placeholder')
|
|
27993
|
+
}
|
|
28065
27994
|
}), placeholder);
|
|
28066
27995
|
}
|
|
28067
27996
|
|
|
28068
27997
|
if (isMulti) {
|
|
28069
|
-
|
|
27998
|
+
return selectValue.map(function (opt, index) {
|
|
28070
27999
|
var isOptionFocused = opt === focusedValue;
|
|
28071
|
-
|
|
28000
|
+
var key = "".concat(_this3.getOptionLabel(opt), "-").concat(_this3.getOptionValue(opt));
|
|
28001
|
+
return /*#__PURE__*/React.createElement(MultiValue, _extends({}, commonProps, {
|
|
28072
28002
|
components: {
|
|
28073
28003
|
Container: MultiValueContainer,
|
|
28074
28004
|
Label: MultiValueLabel,
|
|
@@ -28076,7 +28006,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28076
28006
|
},
|
|
28077
28007
|
isFocused: isOptionFocused,
|
|
28078
28008
|
isDisabled: isDisabled,
|
|
28079
|
-
key:
|
|
28009
|
+
key: key,
|
|
28080
28010
|
index: index,
|
|
28081
28011
|
removeProps: {
|
|
28082
28012
|
onClick: function onClick() {
|
|
@@ -28093,7 +28023,6 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28093
28023
|
data: opt
|
|
28094
28024
|
}), _this3.formatOptionLabel(opt, 'value'));
|
|
28095
28025
|
});
|
|
28096
|
-
return selectValues;
|
|
28097
28026
|
}
|
|
28098
28027
|
|
|
28099
28028
|
if (inputValue) {
|
|
@@ -28101,7 +28030,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28101
28030
|
}
|
|
28102
28031
|
|
|
28103
28032
|
var singleValue = selectValue[0];
|
|
28104
|
-
return /*#__PURE__*/
|
|
28033
|
+
return /*#__PURE__*/React.createElement(SingleValue, _extends({}, commonProps, {
|
|
28105
28034
|
data: singleValue,
|
|
28106
28035
|
isDisabled: isDisabled
|
|
28107
28036
|
}), this.formatOptionLabel(singleValue, 'value'));
|
|
@@ -28127,7 +28056,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28127
28056
|
onTouchEnd: this.onClearIndicatorTouchEnd,
|
|
28128
28057
|
'aria-hidden': 'true'
|
|
28129
28058
|
};
|
|
28130
|
-
return /*#__PURE__*/
|
|
28059
|
+
return /*#__PURE__*/React.createElement(ClearIndicator, _extends({}, commonProps, {
|
|
28131
28060
|
innerProps: innerProps,
|
|
28132
28061
|
isFocused: isFocused
|
|
28133
28062
|
}));
|
|
@@ -28147,7 +28076,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28147
28076
|
var innerProps = {
|
|
28148
28077
|
'aria-hidden': 'true'
|
|
28149
28078
|
};
|
|
28150
|
-
return /*#__PURE__*/
|
|
28079
|
+
return /*#__PURE__*/React.createElement(LoadingIndicator, _extends({}, commonProps, {
|
|
28151
28080
|
innerProps: innerProps,
|
|
28152
28081
|
isDisabled: isDisabled,
|
|
28153
28082
|
isFocused: isFocused
|
|
@@ -28165,7 +28094,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28165
28094
|
var commonProps = this.commonProps;
|
|
28166
28095
|
var isDisabled = this.props.isDisabled;
|
|
28167
28096
|
var isFocused = this.state.isFocused;
|
|
28168
|
-
return /*#__PURE__*/
|
|
28097
|
+
return /*#__PURE__*/React.createElement(IndicatorSeparator, _extends({}, commonProps, {
|
|
28169
28098
|
isDisabled: isDisabled,
|
|
28170
28099
|
isFocused: isFocused
|
|
28171
28100
|
}));
|
|
@@ -28185,7 +28114,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28185
28114
|
onTouchEnd: this.onDropdownIndicatorTouchEnd,
|
|
28186
28115
|
'aria-hidden': 'true'
|
|
28187
28116
|
};
|
|
28188
|
-
return /*#__PURE__*/
|
|
28117
|
+
return /*#__PURE__*/React.createElement(DropdownIndicator, _extends({}, commonProps, {
|
|
28189
28118
|
innerProps: innerProps,
|
|
28190
28119
|
isDisabled: isDisabled,
|
|
28191
28120
|
isFocused: isFocused
|
|
@@ -28248,7 +28177,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28248
28177
|
onMouseOver: onHover,
|
|
28249
28178
|
tabIndex: -1
|
|
28250
28179
|
};
|
|
28251
|
-
return /*#__PURE__*/
|
|
28180
|
+
return /*#__PURE__*/React.createElement(Option, _extends({}, commonProps, {
|
|
28252
28181
|
innerProps: innerProps,
|
|
28253
28182
|
data: data,
|
|
28254
28183
|
isDisabled: isDisabled,
|
|
@@ -28267,14 +28196,14 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28267
28196
|
if (this.hasOptions()) {
|
|
28268
28197
|
menuUI = this.getCategorizedOptions().map(function (item) {
|
|
28269
28198
|
if (item.type === 'group') {
|
|
28270
|
-
var
|
|
28199
|
+
var _data = item.data,
|
|
28271
28200
|
options = item.options,
|
|
28272
28201
|
groupIndex = item.index;
|
|
28273
28202
|
var groupId = "".concat(_this4.getElementId('group'), "-").concat(groupIndex);
|
|
28274
28203
|
var headingId = "".concat(groupId, "-heading");
|
|
28275
|
-
return /*#__PURE__*/
|
|
28204
|
+
return /*#__PURE__*/React.createElement(Group, _extends({}, commonProps, {
|
|
28276
28205
|
key: groupId,
|
|
28277
|
-
data:
|
|
28206
|
+
data: _data,
|
|
28278
28207
|
options: options,
|
|
28279
28208
|
Heading: GroupHeading,
|
|
28280
28209
|
headingProps: {
|
|
@@ -28294,14 +28223,14 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28294
28223
|
inputValue: inputValue
|
|
28295
28224
|
});
|
|
28296
28225
|
if (message === null) return null;
|
|
28297
|
-
menuUI = /*#__PURE__*/
|
|
28226
|
+
menuUI = /*#__PURE__*/React.createElement(LoadingMessage, commonProps, message);
|
|
28298
28227
|
} else {
|
|
28299
28228
|
var _message = noOptionsMessage({
|
|
28300
28229
|
inputValue: inputValue
|
|
28301
28230
|
});
|
|
28302
28231
|
|
|
28303
28232
|
if (_message === null) return null;
|
|
28304
|
-
menuUI = /*#__PURE__*/
|
|
28233
|
+
menuUI = /*#__PURE__*/React.createElement(NoOptionsMessage, commonProps, _message);
|
|
28305
28234
|
}
|
|
28306
28235
|
|
|
28307
28236
|
var menuPlacementProps = {
|
|
@@ -28311,26 +28240,27 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28311
28240
|
menuPosition: menuPosition,
|
|
28312
28241
|
menuShouldScrollIntoView: menuShouldScrollIntoView
|
|
28313
28242
|
};
|
|
28314
|
-
var menuElement = /*#__PURE__*/
|
|
28243
|
+
var menuElement = /*#__PURE__*/React.createElement(MenuPlacer, _extends({}, commonProps, menuPlacementProps), function (_ref4) {
|
|
28315
28244
|
var ref = _ref4.ref,
|
|
28316
28245
|
_ref4$placerProps = _ref4.placerProps,
|
|
28317
28246
|
placement = _ref4$placerProps.placement,
|
|
28318
28247
|
maxHeight = _ref4$placerProps.maxHeight;
|
|
28319
|
-
return /*#__PURE__*/
|
|
28248
|
+
return /*#__PURE__*/React.createElement(Menu, _extends({}, commonProps, menuPlacementProps, {
|
|
28320
28249
|
innerRef: ref,
|
|
28321
28250
|
innerProps: {
|
|
28322
28251
|
onMouseDown: _this4.onMenuMouseDown,
|
|
28323
|
-
onMouseMove: _this4.onMenuMouseMove
|
|
28252
|
+
onMouseMove: _this4.onMenuMouseMove,
|
|
28253
|
+
id: _this4.getElementId('listbox')
|
|
28324
28254
|
},
|
|
28325
28255
|
isLoading: isLoading,
|
|
28326
28256
|
placement: placement
|
|
28327
|
-
}), /*#__PURE__*/
|
|
28257
|
+
}), /*#__PURE__*/React.createElement(ScrollManager, {
|
|
28328
28258
|
captureEnabled: captureMenuScroll,
|
|
28329
28259
|
onTopArrive: onMenuScrollToTop,
|
|
28330
28260
|
onBottomArrive: onMenuScrollToBottom,
|
|
28331
28261
|
lockEnabled: menuShouldBlockScroll
|
|
28332
28262
|
}, function (scrollTargetRef) {
|
|
28333
|
-
return /*#__PURE__*/
|
|
28263
|
+
return /*#__PURE__*/React.createElement(MenuList, _extends({}, commonProps, {
|
|
28334
28264
|
innerRef: function innerRef(instance) {
|
|
28335
28265
|
_this4.getMenuListRef(instance);
|
|
28336
28266
|
|
|
@@ -28345,7 +28275,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28345
28275
|
// so we use the same component. the actual portalling logic is forked
|
|
28346
28276
|
// within the component based on `menuPosition`
|
|
28347
28277
|
|
|
28348
|
-
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/
|
|
28278
|
+
return menuPortalTarget || menuPosition === 'fixed' ? /*#__PURE__*/React.createElement(MenuPortal, _extends({}, commonProps, {
|
|
28349
28279
|
appendTo: menuPortalTarget,
|
|
28350
28280
|
controlElement: this.controlRef,
|
|
28351
28281
|
menuPlacement: menuPlacement,
|
|
@@ -28370,29 +28300,29 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28370
28300
|
var value = selectValue.map(function (opt) {
|
|
28371
28301
|
return _this5.getOptionValue(opt);
|
|
28372
28302
|
}).join(delimiter);
|
|
28373
|
-
return /*#__PURE__*/
|
|
28303
|
+
return /*#__PURE__*/React.createElement("input", {
|
|
28374
28304
|
name: name,
|
|
28375
28305
|
type: "hidden",
|
|
28376
28306
|
value: value
|
|
28377
28307
|
});
|
|
28378
28308
|
} else {
|
|
28379
28309
|
var input = selectValue.length > 0 ? selectValue.map(function (opt, i) {
|
|
28380
|
-
return /*#__PURE__*/
|
|
28310
|
+
return /*#__PURE__*/React.createElement("input", {
|
|
28381
28311
|
key: "i-".concat(i),
|
|
28382
28312
|
name: name,
|
|
28383
28313
|
type: "hidden",
|
|
28384
28314
|
value: _this5.getOptionValue(opt)
|
|
28385
28315
|
});
|
|
28386
|
-
}) : /*#__PURE__*/
|
|
28316
|
+
}) : /*#__PURE__*/React.createElement("input", {
|
|
28387
28317
|
name: name,
|
|
28388
28318
|
type: "hidden"
|
|
28389
28319
|
});
|
|
28390
|
-
return /*#__PURE__*/
|
|
28320
|
+
return /*#__PURE__*/React.createElement("div", null, input);
|
|
28391
28321
|
}
|
|
28392
28322
|
} else {
|
|
28393
28323
|
var _value = selectValue[0] ? this.getOptionValue(selectValue[0]) : '';
|
|
28394
28324
|
|
|
28395
|
-
return /*#__PURE__*/
|
|
28325
|
+
return /*#__PURE__*/React.createElement("input", {
|
|
28396
28326
|
name: name,
|
|
28397
28327
|
type: "hidden",
|
|
28398
28328
|
value: _value
|
|
@@ -28403,14 +28333,15 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28403
28333
|
key: "renderLiveRegion",
|
|
28404
28334
|
value: function renderLiveRegion() {
|
|
28405
28335
|
var commonProps = this.commonProps;
|
|
28406
|
-
var _this$
|
|
28407
|
-
ariaSelection = _this$
|
|
28408
|
-
focusedOption = _this$
|
|
28409
|
-
focusedValue = _this$
|
|
28410
|
-
isFocused = _this$
|
|
28411
|
-
selectValue = _this$
|
|
28336
|
+
var _this$state6 = this.state,
|
|
28337
|
+
ariaSelection = _this$state6.ariaSelection,
|
|
28338
|
+
focusedOption = _this$state6.focusedOption,
|
|
28339
|
+
focusedValue = _this$state6.focusedValue,
|
|
28340
|
+
isFocused = _this$state6.isFocused,
|
|
28341
|
+
selectValue = _this$state6.selectValue;
|
|
28412
28342
|
var focusableOptions = this.getFocusableOptions();
|
|
28413
|
-
return /*#__PURE__*/
|
|
28343
|
+
return /*#__PURE__*/React.createElement(LiveRegion, _extends({}, commonProps, {
|
|
28344
|
+
id: this.getElementId('live-region'),
|
|
28414
28345
|
ariaSelection: ariaSelection,
|
|
28415
28346
|
focusedOption: focusedOption,
|
|
28416
28347
|
focusedValue: focusedValue,
|
|
@@ -28435,7 +28366,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28435
28366
|
menuIsOpen = _this$props14.menuIsOpen;
|
|
28436
28367
|
var isFocused = this.state.isFocused;
|
|
28437
28368
|
var commonProps = this.commonProps = this.getCommonProps();
|
|
28438
|
-
return /*#__PURE__*/
|
|
28369
|
+
return /*#__PURE__*/React.createElement(SelectContainer, _extends({}, commonProps, {
|
|
28439
28370
|
className: className,
|
|
28440
28371
|
innerProps: {
|
|
28441
28372
|
id: id,
|
|
@@ -28443,7 +28374,7 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28443
28374
|
},
|
|
28444
28375
|
isDisabled: isDisabled,
|
|
28445
28376
|
isFocused: isFocused
|
|
28446
|
-
}), this.renderLiveRegion(), /*#__PURE__*/
|
|
28377
|
+
}), this.renderLiveRegion(), /*#__PURE__*/React.createElement(Control, _extends({}, commonProps, {
|
|
28447
28378
|
innerRef: this.getControlRef,
|
|
28448
28379
|
innerProps: {
|
|
28449
28380
|
onMouseDown: this.onControlMouseDown,
|
|
@@ -28452,9 +28383,9 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28452
28383
|
isDisabled: isDisabled,
|
|
28453
28384
|
isFocused: isFocused,
|
|
28454
28385
|
menuIsOpen: menuIsOpen
|
|
28455
|
-
}), /*#__PURE__*/
|
|
28386
|
+
}), /*#__PURE__*/React.createElement(ValueContainer, _extends({}, commonProps, {
|
|
28456
28387
|
isDisabled: isDisabled
|
|
28457
|
-
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/
|
|
28388
|
+
}), this.renderPlaceholderOrValue(), this.renderInput()), /*#__PURE__*/React.createElement(IndicatorsContainer, _extends({}, commonProps, {
|
|
28458
28389
|
isDisabled: isDisabled
|
|
28459
28390
|
}), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
|
|
28460
28391
|
}
|
|
@@ -28463,15 +28394,19 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28463
28394
|
value: function getDerivedStateFromProps(props, state) {
|
|
28464
28395
|
var prevProps = state.prevProps,
|
|
28465
28396
|
clearFocusValueOnUpdate = state.clearFocusValueOnUpdate,
|
|
28466
|
-
inputIsHiddenAfterUpdate = state.inputIsHiddenAfterUpdate
|
|
28397
|
+
inputIsHiddenAfterUpdate = state.inputIsHiddenAfterUpdate,
|
|
28398
|
+
ariaSelection = state.ariaSelection,
|
|
28399
|
+
isFocused = state.isFocused,
|
|
28400
|
+
prevWasFocused = state.prevWasFocused;
|
|
28467
28401
|
var options = props.options,
|
|
28468
28402
|
value = props.value,
|
|
28469
28403
|
menuIsOpen = props.menuIsOpen,
|
|
28470
|
-
inputValue = props.inputValue
|
|
28404
|
+
inputValue = props.inputValue,
|
|
28405
|
+
isMulti = props.isMulti;
|
|
28406
|
+
var selectValue = cleanValue(value);
|
|
28471
28407
|
var newMenuOptionsState = {};
|
|
28472
28408
|
|
|
28473
28409
|
if (prevProps && (value !== prevProps.value || options !== prevProps.options || menuIsOpen !== prevProps.menuIsOpen || inputValue !== prevProps.inputValue)) {
|
|
28474
|
-
var selectValue = cleanValue(value);
|
|
28475
28410
|
var focusableOptions = menuIsOpen ? buildFocusableOptions(props, selectValue) : [];
|
|
28476
28411
|
var focusedValue = clearFocusValueOnUpdate ? getNextFocusedValue(state, selectValue) : null;
|
|
28477
28412
|
var focusedOption = getNextFocusedOption(state, focusableOptions);
|
|
@@ -28488,8 +28423,30 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28488
28423
|
inputIsHidden: inputIsHiddenAfterUpdate,
|
|
28489
28424
|
inputIsHiddenAfterUpdate: undefined
|
|
28490
28425
|
} : {};
|
|
28426
|
+
var newAriaSelection = ariaSelection;
|
|
28427
|
+
var hasKeptFocus = isFocused && prevWasFocused;
|
|
28428
|
+
|
|
28429
|
+
if (isFocused && !hasKeptFocus) {
|
|
28430
|
+
// If `value` or `defaultValue` props are not empty then announce them
|
|
28431
|
+
// when the Select is initially focused
|
|
28432
|
+
newAriaSelection = {
|
|
28433
|
+
value: valueTernary(isMulti, selectValue, selectValue[0] || null),
|
|
28434
|
+
options: selectValue,
|
|
28435
|
+
action: 'initial-input-focus'
|
|
28436
|
+
};
|
|
28437
|
+
hasKeptFocus = !prevWasFocused;
|
|
28438
|
+
} // If the 'initial-input-focus' action has been set already
|
|
28439
|
+
// then reset the ariaSelection to null
|
|
28440
|
+
|
|
28441
|
+
|
|
28442
|
+
if ((ariaSelection === null || ariaSelection === void 0 ? void 0 : ariaSelection.action) === 'initial-input-focus') {
|
|
28443
|
+
newAriaSelection = null;
|
|
28444
|
+
}
|
|
28445
|
+
|
|
28491
28446
|
return _objectSpread2(_objectSpread2(_objectSpread2({}, newMenuOptionsState), newInputIsHiddenState), {}, {
|
|
28492
|
-
prevProps: props
|
|
28447
|
+
prevProps: props,
|
|
28448
|
+
ariaSelection: newAriaSelection,
|
|
28449
|
+
prevWasFocused: hasKeptFocus
|
|
28493
28450
|
});
|
|
28494
28451
|
}
|
|
28495
28452
|
}]);
|
|
@@ -28497,139 +28454,16 @@ var Select$1 = /*#__PURE__*/function (_Component) {
|
|
|
28497
28454
|
return Select;
|
|
28498
28455
|
}(Component);
|
|
28499
28456
|
|
|
28500
|
-
Select$1.defaultProps = defaultProps
|
|
28501
|
-
|
|
28502
|
-
var defaultProps = {
|
|
28503
|
-
defaultInputValue: '',
|
|
28504
|
-
defaultMenuIsOpen: false,
|
|
28505
|
-
defaultValue: null
|
|
28506
|
-
};
|
|
28507
|
-
|
|
28508
|
-
var manageState = function manageState(SelectComponent) {
|
|
28509
|
-
var _class, _temp;
|
|
28510
|
-
|
|
28511
|
-
return _temp = _class = /*#__PURE__*/function (_Component) {
|
|
28512
|
-
_inherits(StateManager, _Component);
|
|
28513
|
-
|
|
28514
|
-
var _super = _createSuper(StateManager);
|
|
28515
|
-
|
|
28516
|
-
function StateManager() {
|
|
28517
|
-
var _this;
|
|
28518
|
-
|
|
28519
|
-
_classCallCheck$1(this, StateManager);
|
|
28520
|
-
|
|
28521
|
-
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
28522
|
-
args[_key] = arguments[_key];
|
|
28523
|
-
}
|
|
28524
|
-
|
|
28525
|
-
_this = _super.call.apply(_super, [this].concat(args));
|
|
28526
|
-
_this.select = void 0;
|
|
28527
|
-
_this.state = {
|
|
28528
|
-
inputValue: _this.props.inputValue !== undefined ? _this.props.inputValue : _this.props.defaultInputValue,
|
|
28529
|
-
menuIsOpen: _this.props.menuIsOpen !== undefined ? _this.props.menuIsOpen : _this.props.defaultMenuIsOpen,
|
|
28530
|
-
value: _this.props.value !== undefined ? _this.props.value : _this.props.defaultValue
|
|
28531
|
-
};
|
|
28532
|
-
|
|
28533
|
-
_this.onChange = function (value, actionMeta) {
|
|
28534
|
-
_this.callProp('onChange', value, actionMeta);
|
|
28535
|
-
|
|
28536
|
-
_this.setState({
|
|
28537
|
-
value: value
|
|
28538
|
-
});
|
|
28539
|
-
};
|
|
28540
|
-
|
|
28541
|
-
_this.onInputChange = function (value, actionMeta) {
|
|
28542
|
-
// TODO: for backwards compatibility, we allow the prop to return a new
|
|
28543
|
-
// value, but now inputValue is a controllable prop we probably shouldn't
|
|
28544
|
-
var newValue = _this.callProp('onInputChange', value, actionMeta);
|
|
28545
|
-
|
|
28546
|
-
_this.setState({
|
|
28547
|
-
inputValue: newValue !== undefined ? newValue : value
|
|
28548
|
-
});
|
|
28549
|
-
};
|
|
28550
|
-
|
|
28551
|
-
_this.onMenuOpen = function () {
|
|
28552
|
-
_this.callProp('onMenuOpen');
|
|
28553
|
-
|
|
28554
|
-
_this.setState({
|
|
28555
|
-
menuIsOpen: true
|
|
28556
|
-
});
|
|
28557
|
-
};
|
|
28558
|
-
|
|
28559
|
-
_this.onMenuClose = function () {
|
|
28560
|
-
_this.callProp('onMenuClose');
|
|
28561
|
-
|
|
28562
|
-
_this.setState({
|
|
28563
|
-
menuIsOpen: false
|
|
28564
|
-
});
|
|
28565
|
-
};
|
|
28566
|
-
|
|
28567
|
-
return _this;
|
|
28568
|
-
}
|
|
28569
|
-
|
|
28570
|
-
_createClass$1(StateManager, [{
|
|
28571
|
-
key: "focus",
|
|
28572
|
-
value: function focus() {
|
|
28573
|
-
this.select.focus();
|
|
28574
|
-
}
|
|
28575
|
-
}, {
|
|
28576
|
-
key: "blur",
|
|
28577
|
-
value: function blur() {
|
|
28578
|
-
this.select.blur();
|
|
28579
|
-
} // FIXME: untyped flow code, return any
|
|
28580
|
-
|
|
28581
|
-
}, {
|
|
28582
|
-
key: "getProp",
|
|
28583
|
-
value: function getProp(key) {
|
|
28584
|
-
return this.props[key] !== undefined ? this.props[key] : this.state[key];
|
|
28585
|
-
} // FIXME: untyped flow code, return any
|
|
28586
|
-
|
|
28587
|
-
}, {
|
|
28588
|
-
key: "callProp",
|
|
28589
|
-
value: function callProp(name) {
|
|
28590
|
-
if (typeof this.props[name] === 'function') {
|
|
28591
|
-
var _this$props;
|
|
28592
|
-
|
|
28593
|
-
for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
|
|
28594
|
-
args[_key2 - 1] = arguments[_key2];
|
|
28595
|
-
}
|
|
28596
|
-
|
|
28597
|
-
return (_this$props = this.props)[name].apply(_this$props, args);
|
|
28598
|
-
}
|
|
28599
|
-
}
|
|
28600
|
-
}, {
|
|
28601
|
-
key: "render",
|
|
28602
|
-
value: function render() {
|
|
28603
|
-
var _this2 = this;
|
|
28604
|
-
|
|
28605
|
-
var _this$props2 = this.props;
|
|
28606
|
-
_this$props2.defaultInputValue;
|
|
28607
|
-
_this$props2.defaultMenuIsOpen;
|
|
28608
|
-
_this$props2.defaultValue;
|
|
28609
|
-
var props = _objectWithoutProperties$1(_this$props2, ["defaultInputValue", "defaultMenuIsOpen", "defaultValue"]);
|
|
28610
|
-
|
|
28611
|
-
return /*#__PURE__*/React__default.createElement(SelectComponent, _extends$1({}, props, {
|
|
28612
|
-
ref: function ref(_ref) {
|
|
28613
|
-
_this2.select = _ref;
|
|
28614
|
-
},
|
|
28615
|
-
inputValue: this.getProp('inputValue'),
|
|
28616
|
-
menuIsOpen: this.getProp('menuIsOpen'),
|
|
28617
|
-
onChange: this.onChange,
|
|
28618
|
-
onInputChange: this.onInputChange,
|
|
28619
|
-
onMenuClose: this.onMenuClose,
|
|
28620
|
-
onMenuOpen: this.onMenuOpen,
|
|
28621
|
-
value: this.getProp('value')
|
|
28622
|
-
}));
|
|
28623
|
-
}
|
|
28624
|
-
}]);
|
|
28625
|
-
|
|
28626
|
-
return StateManager;
|
|
28627
|
-
}(Component), _class.defaultProps = defaultProps, _temp;
|
|
28628
|
-
};
|
|
28457
|
+
Select$1.defaultProps = defaultProps;
|
|
28629
28458
|
|
|
28630
|
-
var
|
|
28459
|
+
var StateManagedSelect = /*#__PURE__*/forwardRef(function (props, ref) {
|
|
28460
|
+
var baseSelectProps = useStateManager(props);
|
|
28461
|
+
return /*#__PURE__*/React.createElement(Select$1, _extends({
|
|
28462
|
+
ref: ref
|
|
28463
|
+
}, baseSelectProps));
|
|
28464
|
+
});
|
|
28631
28465
|
|
|
28632
|
-
var ReactSelect =
|
|
28466
|
+
var ReactSelect = StateManagedSelect;
|
|
28633
28467
|
|
|
28634
28468
|
var Colors$c = ddsBaseTokens.colors,
|
|
28635
28469
|
Spacing$g = ddsBaseTokens.spacing,
|
|
@@ -28995,31 +28829,36 @@ var SelectedIconWrapper = styled(IconWrapper$1).withConfig({
|
|
|
28995
28829
|
componentId: "sc-19jkd5s-3"
|
|
28996
28830
|
})(templateObject_12$1 || (templateObject_12$1 = __makeTemplateObject(["\n margin: ", ";\n"], ["\n margin: ", ";\n"])), selectTokens.option.selected.icon.margin);
|
|
28997
28831
|
var CustomStyles = {
|
|
28998
|
-
|
|
28999
|
-
return __assign({
|
|
28832
|
+
control: function control() {
|
|
28833
|
+
return __assign({
|
|
28834
|
+
position: 'relative',
|
|
28835
|
+
display: 'flex',
|
|
28836
|
+
flexWrap: 'wrap'
|
|
28837
|
+
}, selectTokens.input.base);
|
|
28838
|
+
},
|
|
28839
|
+
placeholder: function placeholder(provided) {
|
|
28840
|
+
return __assign(__assign(__assign({}, provided), selectTokens.placeholder.base), {
|
|
28841
|
+
margin: 0
|
|
28842
|
+
});
|
|
28843
|
+
},
|
|
28844
|
+
input: function input(provided) {
|
|
28845
|
+
return __assign(__assign({}, provided), {
|
|
28846
|
+
margin: 0,
|
|
28847
|
+
padding: 0
|
|
28848
|
+
});
|
|
29000
28849
|
},
|
|
29001
28850
|
indicatorSeparator: function indicatorSeparator() {
|
|
29002
|
-
return {
|
|
29003
|
-
backgroundColor: 'transparent'
|
|
29004
|
-
};
|
|
28851
|
+
return {};
|
|
29005
28852
|
},
|
|
29006
28853
|
dropdownIndicator: function dropdownIndicator(provided, state) {
|
|
29007
28854
|
return __assign({
|
|
29008
|
-
display: 'flex',
|
|
28855
|
+
display: 'inline-flex',
|
|
29009
28856
|
transform: state.selectProps.menuIsOpen ? 'rotate(180deg)' : '',
|
|
29010
28857
|
transition: '0.2s'
|
|
29011
28858
|
}, selectTokens.dropdownIndicator.base);
|
|
29012
28859
|
},
|
|
29013
|
-
control: function control() {
|
|
29014
|
-
return __assign({
|
|
29015
|
-
position: 'relative',
|
|
29016
|
-
display: 'flex',
|
|
29017
|
-
flexWrap: 'wrap'
|
|
29018
|
-
}, selectTokens.input.base);
|
|
29019
|
-
},
|
|
29020
28860
|
valueContainer: function valueContainer(provided, state) {
|
|
29021
|
-
|
|
29022
|
-
return __assign(__assign(__assign({}, provided), isMultiStyles), {
|
|
28861
|
+
return __assign(__assign(__assign({}, provided), state.selectProps.isMulti ? selectTokens.valueContainer.isMulti.base : {}), {
|
|
29023
28862
|
padding: 0
|
|
29024
28863
|
});
|
|
29025
28864
|
},
|
|
@@ -29029,8 +28868,7 @@ var CustomStyles = {
|
|
|
29029
28868
|
});
|
|
29030
28869
|
},
|
|
29031
28870
|
multiValue: function multiValue(provided, state) {
|
|
29032
|
-
|
|
29033
|
-
return __assign(__assign(__assign({}, provided), selectTokens.multiValue.base), variantStyles);
|
|
28871
|
+
return __assign(__assign(__assign({}, provided), selectTokens.multiValue.base), state.selectProps.isDisabled ? selectTokens.multiValue.disabled.base : selectTokens.multiValue.enabled.base);
|
|
29034
28872
|
},
|
|
29035
28873
|
multiValueLabel: function multiValueLabel(provided) {
|
|
29036
28874
|
return __assign(__assign({}, provided), selectTokens.multiValueLabel.base);
|
|
@@ -29058,34 +28896,26 @@ var CustomStyles = {
|
|
|
29058
28896
|
}), selectTokens.optionsList.base);
|
|
29059
28897
|
},
|
|
29060
28898
|
option: function option(provided, state) {
|
|
29061
|
-
|
|
29062
|
-
var focusedBase = state.isFocused ? __assign({}, selectTokens.option.selected.base) : {};
|
|
29063
|
-
return __assign(__assign(__assign(__assign({
|
|
28899
|
+
return __assign(__assign(__assign(__assign(__assign({}, provided), {
|
|
29064
28900
|
display: 'flex',
|
|
29065
28901
|
alignItems: 'center',
|
|
29066
28902
|
transition: '0.2s'
|
|
29067
|
-
}, selectTokens.option.base), {
|
|
28903
|
+
}), selectTokens.option.base), {
|
|
29068
28904
|
'&:hover': __assign({}, selectTokens.option.hover.base)
|
|
29069
|
-
}),
|
|
28905
|
+
}), state.isSelected || state.isFocused ? selectTokens.option.selected.base : {});
|
|
29070
28906
|
},
|
|
29071
28907
|
noOptionsMessage: function noOptionsMessage() {
|
|
29072
28908
|
return __assign({}, selectTokens.noOptionsMessage.base);
|
|
29073
28909
|
},
|
|
29074
|
-
indicatorsContainer: function indicatorsContainer(provided) {
|
|
29075
|
-
return __assign({}, provided);
|
|
29076
|
-
},
|
|
29077
28910
|
clearIndicator: function clearIndicator() {
|
|
29078
28911
|
return __assign(__assign({
|
|
29079
|
-
display: 'flex'
|
|
28912
|
+
display: 'inline-flex'
|
|
29080
28913
|
}, selectTokens.clearIndicator.base), {
|
|
29081
28914
|
'&:hover': __assign({}, selectTokens.clearIndicator.hover.base)
|
|
29082
28915
|
});
|
|
29083
28916
|
},
|
|
29084
28917
|
loadingIndicator: function loadingIndicator(provided) {
|
|
29085
28918
|
return __assign(__assign({}, provided), selectTokens.loadingIndicator.base);
|
|
29086
|
-
},
|
|
29087
|
-
input: function input() {
|
|
29088
|
-
return {};
|
|
29089
28919
|
}
|
|
29090
28920
|
};
|
|
29091
28921
|
var templateObject_1$r, templateObject_2$k, templateObject_3$d, templateObject_4$b, templateObject_5$8, templateObject_6$7, templateObject_7$5, templateObject_8$2, templateObject_9$2, templateObject_10$1, templateObject_11$1, templateObject_12$1;
|
|
@@ -29118,7 +28948,8 @@ function searchFilter(text, search) {
|
|
|
29118
28948
|
return searchFilterRegex.test(text.toLowerCase());
|
|
29119
28949
|
}
|
|
29120
28950
|
var nextUniqueId$2 = 0;
|
|
29121
|
-
|
|
28951
|
+
|
|
28952
|
+
var SelectInner = function SelectInner(_a, ref) {
|
|
29122
28953
|
var id = _a.id,
|
|
29123
28954
|
label = _a.label,
|
|
29124
28955
|
errorMessage = _a.errorMessage,
|
|
@@ -29157,7 +28988,6 @@ var Select = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29157
28988
|
};
|
|
29158
28989
|
|
|
29159
28990
|
var reactSelectProps = __assign({
|
|
29160
|
-
ref: ref,
|
|
29161
28991
|
options: options,
|
|
29162
28992
|
value: value,
|
|
29163
28993
|
defaultValue: defaultValue,
|
|
@@ -29188,7 +29018,9 @@ var Select = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29188
29018
|
typographyType: "supportingStyleLabel01"
|
|
29189
29019
|
}, {
|
|
29190
29020
|
children: [label, " ", required && jsxRuntime.jsx(RequiredMarker, {}, void 0)]
|
|
29191
|
-
}), void 0), jsxRuntime.jsx(ReactSelect, __assign({}, reactSelectProps
|
|
29021
|
+
}), void 0), jsxRuntime.jsx(ReactSelect, __assign({}, reactSelectProps, {
|
|
29022
|
+
ref: ref
|
|
29023
|
+
}), void 0)]
|
|
29192
29024
|
}), void 0), errorMessage && jsxRuntime.jsx(InputMessage, {
|
|
29193
29025
|
messageType: "error",
|
|
29194
29026
|
message: errorMessage
|
|
@@ -29197,7 +29029,9 @@ var Select = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
29197
29029
|
message: tip
|
|
29198
29030
|
}, void 0)]
|
|
29199
29031
|
}), void 0);
|
|
29200
|
-
}
|
|
29032
|
+
};
|
|
29033
|
+
|
|
29034
|
+
var Select = /*#__PURE__*/React__default.forwardRef(SelectInner);
|
|
29201
29035
|
|
|
29202
29036
|
var CloseOutlined = createCommonjsModule(function (module, exports) {
|
|
29203
29037
|
|
|
@@ -30248,6 +30082,24 @@ var StyledButton = styled.button.withConfig({
|
|
|
30248
30082
|
displayName: "SortCell__StyledButton",
|
|
30249
30083
|
componentId: "sc-1l3jzvh-1"
|
|
30250
30084
|
})(templateObject_2$d || (templateObject_2$d = __makeTemplateObject(["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n"], ["\n background: none;\n color: inherit;\n border: none;\n padding: 0;\n font: inherit;\n cursor: pointer;\n outline: inherit;\n"])));
|
|
30085
|
+
|
|
30086
|
+
var makeSortIcon = function makeSortIcon(isSorted, sortOrder) {
|
|
30087
|
+
if (!isSorted || !sortOrder) {
|
|
30088
|
+
return jsxRuntime.jsx(SortIconWrapper, {
|
|
30089
|
+
Icon: UnfoldMoreIcon,
|
|
30090
|
+
iconSize: "inline"
|
|
30091
|
+
}, void 0);
|
|
30092
|
+
}
|
|
30093
|
+
|
|
30094
|
+
return sortOrder === 'ascending' ? jsxRuntime.jsx(SortIconWrapper, {
|
|
30095
|
+
Icon: KeyboardArrowDownIcon,
|
|
30096
|
+
iconSize: "inline"
|
|
30097
|
+
}, void 0) : jsxRuntime.jsx(SortIconWrapper, {
|
|
30098
|
+
Icon: KeyboardArrowUpIcon,
|
|
30099
|
+
iconSize: "inline"
|
|
30100
|
+
}, void 0);
|
|
30101
|
+
};
|
|
30102
|
+
|
|
30251
30103
|
var SortCell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
30252
30104
|
var isSorted = _a.isSorted,
|
|
30253
30105
|
sortOrder = _a.sortOrder,
|
|
@@ -30255,26 +30107,15 @@ var SortCell = /*#__PURE__*/forwardRef(function (_a, ref) {
|
|
|
30255
30107
|
children = _a.children,
|
|
30256
30108
|
rest = __rest(_a, ["isSorted", "sortOrder", "onClick", "children"]);
|
|
30257
30109
|
|
|
30258
|
-
var IconRenderer = function IconRenderer(isSorted, sortOrder) {
|
|
30259
|
-
var Wrapper = function Wrapper(Icon) {
|
|
30260
|
-
return jsxRuntime.jsx(SortIconWrapper, {
|
|
30261
|
-
Icon: Icon,
|
|
30262
|
-
iconSize: "inline"
|
|
30263
|
-
}, void 0);
|
|
30264
|
-
};
|
|
30265
|
-
|
|
30266
|
-
return !isSorted ? Wrapper(UnfoldMoreIcon) : sortOrder === 'ascending' ? Wrapper(KeyboardArrowDownIcon) : sortOrder === 'descending' ? Wrapper(KeyboardArrowUpIcon) : '';
|
|
30267
|
-
};
|
|
30268
|
-
|
|
30269
30110
|
return jsxRuntime.jsx(Cell, __assign({
|
|
30270
30111
|
ref: ref,
|
|
30271
30112
|
type: "head",
|
|
30272
|
-
"aria-sort":
|
|
30113
|
+
"aria-sort": isSorted && sortOrder ? sortOrder : undefined
|
|
30273
30114
|
}, rest, {
|
|
30274
30115
|
children: jsxRuntime.jsxs(StyledButton, __assign({
|
|
30275
30116
|
onClick: onClick
|
|
30276
30117
|
}, {
|
|
30277
|
-
children: [children, " ",
|
|
30118
|
+
children: [children, " ", makeSortIcon(isSorted, sortOrder)]
|
|
30278
30119
|
}), void 0)
|
|
30279
30120
|
}), void 0);
|
|
30280
30121
|
});
|