fastapi-rtk 0.0.19 → 0.0.20
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/dist/fastapi-rtk.es.js
CHANGED
|
@@ -10506,7 +10506,7 @@ process.env.NODE_ENV !== "production" && (vd.propTypes = {
|
|
|
10506
10506
|
styles: V.oneOfType([V.array, V.string, V.object, V.func])
|
|
10507
10507
|
});
|
|
10508
10508
|
/**
|
|
10509
|
-
* @mui/styled-engine v5.16.
|
|
10509
|
+
* @mui/styled-engine v5.16.4
|
|
10510
10510
|
*
|
|
10511
10511
|
* @license MIT
|
|
10512
10512
|
* This source code is licensed under the MIT license found in the
|
package/dist/fastapi-rtk.umd.js
CHANGED
|
@@ -84,7 +84,7 @@ https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Template_liter
|
|
|
84
84
|
You may have forgotten to import it.`);var n=t.__emotion_real===t,i=n&&t.__emotion_base||t,o,a;r!==void 0&&(o=r.label,a=r.target);var s=yf(t,r,n),l=s||gf(i),u=!l("as");return function(){var c=arguments,f=n&&t.__emotion_styles!==void 0?t.__emotion_styles.slice(0):[];if(o!==void 0&&f.push("label:"+o+";"),c[0]==null||c[0].raw===void 0)f.push.apply(f,c);else{process.env.NODE_ENV!=="production"&&c[0][0]===void 0&&console.error(vf),f.push(c[0][0]);for(var p=c.length,g=1;g<p;g++)process.env.NODE_ENV!=="production"&&c[0][g]===void 0&&console.error(vf),f.push(c[g],c[0][g])}var y=Gt.withEmotionCache(function(h,x,w){var j=u&&h.as||i,M="",F=[],_=h;if(h.theme==null){_={};for(var P in h)_[P]=h[P];_.theme=tt.useContext(Gt.ThemeContext)}typeof h.className=="string"?M=RC(x.registered,F,h.className):h.className!=null&&(M=h.className+" ");var D=GC(f.concat(F),x.registered,_);M+=x.key+"-"+D.name,a!==void 0&&(M+=" "+a);var te=u&&s===void 0?gf(j):l,ae={};for(var Oe in h)u&&Oe==="as"||te(Oe)&&(ae[Oe]=h[Oe]);return ae.className=M,ae.ref=w,tt.createElement(tt.Fragment,null,tt.createElement(ZC,{cache:x,serialized:D,isStringTag:typeof j=="string"}),tt.createElement(j,ae))});return y.displayName=o!==void 0?o:"Styled("+(typeof i=="string"?i:i.displayName||i.name||"Component")+")",y.defaultProps=t.defaultProps,y.__emotion_real=y,y.__emotion_base=i,y.__emotion_styles=f,y.__emotion_forwardProp=s,Object.defineProperty(y,"toString",{value:function(){return a===void 0&&process.env.NODE_ENV!=="production"?"NO_COMPONENT_SELECTOR":"."+a}}),y.withComponent=function(h,x){return e(h,pe({},r,x,{shouldForwardProp:yf(y,x,!0)})).apply(void 0,f)},y}},eO=["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","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"],_a=QC.bind();eO.forEach(function(e){_a[e]=_a(e)});function tO(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function rO(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var nO=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?process.env.NODE_ENV==="production":r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(n){n.forEach(this._insertTag)},t.insert=function(n){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(rO(this));var i=this.tags[this.tags.length-1];if(process.env.NODE_ENV!=="production"){var o=n.charCodeAt(0)===64&&n.charCodeAt(1)===105;o&&this._alreadyInsertedOrderInsensitiveRule&&console.error(`You're attempting to insert the following rule:
|
|
85
85
|
`+n+"\n\n`@import` rules must be before all other types of rules in a stylesheet but other rules have already been inserted. Please ensure that `@import` rules are before all other rules."),this._alreadyInsertedOrderInsensitiveRule=this._alreadyInsertedOrderInsensitiveRule||!o}if(this.isSpeedy){var a=tO(i);try{a.insertRule(n,a.cssRules.length)}catch(s){process.env.NODE_ENV!=="production"&&!/:(-moz-placeholder|-moz-focus-inner|-moz-focusring|-ms-input-placeholder|-moz-read-write|-moz-read-only|-ms-clear|-ms-expand|-ms-reveal){/.test(n)&&console.error('There was a problem inserting the following rule: "'+n+'"',s)}}else i.appendChild(document.createTextNode(n));this.ctr++},t.flush=function(){this.tags.forEach(function(n){return n.parentNode&&n.parentNode.removeChild(n)}),this.tags=[],this.ctr=0,process.env.NODE_ENV!=="production"&&(this._alreadyInsertedOrderInsensitiveRule=!1)},e}(),Ue="-ms-",ai="-moz-",ie="-webkit-",Ta="comm",Ea="rule",Sa="decl",iO="@import",bf="@keyframes",oO="@layer",aO=Math.abs,si=String.fromCharCode,sO=Object.assign;function lO(e,t){return Me(e,0)^45?(((t<<2^Me(e,0))<<2^Me(e,1))<<2^Me(e,2))<<2^Me(e,3):0}function xf(e){return e.trim()}function uO(e,t){return(e=t.exec(e))?e[0]:e}function oe(e,t,r){return e.replace(t,r)}function wa(e,t){return e.indexOf(t)}function Me(e,t){return e.charCodeAt(t)|0}function en(e,t,r){return e.slice(t,r)}function St(e){return e.length}function Ca(e){return e.length}function li(e,t){return t.push(e),e}function cO(e,t){return e.map(t).join("")}var ui=1,br=1,_f=0,Je=0,ke=0,xr="";function ci(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:ui,column:br,length:a,return:""}}function tn(e,t){return sO(ci("",null,null,"",null,null,0),e,{length:-e.length},t)}function fO(){return ke}function dO(){return ke=Je>0?Me(xr,--Je):0,br--,ke===10&&(br=1,ui--),ke}function nt(){return ke=Je<_f?Me(xr,Je++):0,br++,ke===10&&(br=1,ui++),ke}function wt(){return Me(xr,Je)}function fi(){return Je}function rn(e,t){return en(xr,e,t)}function nn(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Tf(e){return ui=br=1,_f=St(xr=e),Je=0,[]}function Ef(e){return xr="",e}function di(e){return xf(rn(Je-1,Oa(e===91?e+2:e===40?e+1:e)))}function pO(e){for(;(ke=wt())&&ke<33;)nt();return nn(e)>2||nn(ke)>3?"":" "}function hO(e,t){for(;--t&&nt()&&!(ke<48||ke>102||ke>57&&ke<65||ke>70&&ke<97););return rn(e,fi()+(t<6&&wt()==32&&nt()==32))}function Oa(e){for(;nt();)switch(ke){case e:return Je;case 34:case 39:e!==34&&e!==39&&Oa(ke);break;case 40:e===41&&Oa(e);break;case 92:nt();break}return Je}function mO(e,t){for(;nt()&&e+ke!==47+10;)if(e+ke===42+42&&wt()===47)break;return"/*"+rn(t,Je-1)+"*"+si(e===47?e:nt())}function gO(e){for(;!nn(wt());)nt();return rn(e,Je)}function yO(e){return Ef(pi("",null,null,null,[""],e=Tf(e),0,[0],e))}function pi(e,t,r,n,i,o,a,s,l){for(var u=0,c=0,f=a,p=0,g=0,y=0,h=1,x=1,w=1,j=0,M="",F=i,_=o,P=n,D=M;x;)switch(y=j,j=nt()){case 40:if(y!=108&&Me(D,f-1)==58){wa(D+=oe(di(j),"&","&\f"),"&\f")!=-1&&(w=-1);break}case 34:case 39:case 91:D+=di(j);break;case 9:case 10:case 13:case 32:D+=pO(y);break;case 92:D+=hO(fi()-1,7);continue;case 47:switch(wt()){case 42:case 47:li(vO(mO(nt(),fi()),t,r),l);break;default:D+="/"}break;case 123*h:s[u++]=St(D)*w;case 125*h:case 59:case 0:switch(j){case 0:case 125:x=0;case 59+c:w==-1&&(D=oe(D,/\f/g,"")),g>0&&St(D)-f&&li(g>32?wf(D+";",n,r,f-1):wf(oe(D," ","")+";",n,r,f-2),l);break;case 59:D+=";";default:if(li(P=Sf(D,t,r,u,c,i,s,M,F=[],_=[],f),o),j===123)if(c===0)pi(D,t,P,P,F,o,f,s,_);else switch(p===99&&Me(D,3)===110?100:p){case 100:case 108:case 109:case 115:pi(e,P,P,n&&li(Sf(e,P,P,0,0,i,s,M,i,F=[],f),_),i,_,f,s,n?F:_);break;default:pi(D,P,P,P,[""],_,0,s,_)}}u=c=g=0,h=w=1,M=D="",f=a;break;case 58:f=1+St(D),g=y;default:if(h<1){if(j==123)--h;else if(j==125&&h++==0&&dO()==125)continue}switch(D+=si(j),j*h){case 38:w=c>0?1:(D+="\f",-1);break;case 44:s[u++]=(St(D)-1)*w,w=1;break;case 64:wt()===45&&(D+=di(nt())),p=wt(),c=f=St(M=D+=gO(fi())),j++;break;case 45:y===45&&St(D)==2&&(h=0)}}return o}function Sf(e,t,r,n,i,o,a,s,l,u,c){for(var f=i-1,p=i===0?o:[""],g=Ca(p),y=0,h=0,x=0;y<n;++y)for(var w=0,j=en(e,f+1,f=aO(h=a[y])),M=e;w<g;++w)(M=xf(h>0?p[w]+" "+j:oe(j,/&\f/g,p[w])))&&(l[x++]=M);return ci(e,t,r,i===0?Ea:s,l,u,c)}function vO(e,t,r){return ci(e,t,r,Ta,si(fO()),en(e,2,-2),0)}function wf(e,t,r,n){return ci(e,t,r,Sa,en(e,0,n),en(e,n+1,-1),n)}function _r(e,t){for(var r="",n=Ca(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function bO(e,t,r,n){switch(e.type){case oO:if(e.children.length)break;case iO:case Sa:return e.return=e.return||e.value;case Ta:return"";case bf:return e.return=e.value+"{"+_r(e.children,n)+"}";case Ea:e.value=e.props.join(",")}return St(r=_r(e.children,n))?e.return=e.value+"{"+r+"}":""}function xO(e){var t=Ca(e);return function(r,n,i,o){for(var a="",s=0;s<t;s++)a+=e[s](r,n,i,o)||"";return a}}function _O(e){return function(t){t.root||(t=t.return)&&e(t)}}var TO=function(t,r,n){for(var i=0,o=0;i=o,o=wt(),i===38&&o===12&&(r[n]=1),!nn(o);)nt();return rn(t,Je)},EO=function(t,r){var n=-1,i=44;do switch(nn(i)){case 0:i===38&&wt()===12&&(r[n]=1),t[n]+=TO(Je-1,r,n);break;case 2:t[n]+=di(i);break;case 4:if(i===44){t[++n]=wt()===58?"&\f":"",r[n]=t[n].length;break}default:t[n]+=si(i)}while(i=nt());return t},SO=function(t,r){return Ef(EO(Tf(t),r))},Cf=new WeakMap,wO=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,n=t.parent,i=t.column===n.column&&t.line===n.line;n.type!=="rule";)if(n=n.parent,!n)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!Cf.get(n))&&!i){Cf.set(t,!0);for(var o=[],a=SO(r,o),s=n.props,l=0,u=0;l<a.length;l++)for(var c=0;c<s.length;c++,u++)t.props[u]=o[l]?a[l].replace(/&\f/g,s[c]):s[c]+" "+a[l]}}},CO=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}},OO="emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason",AO=function(t){return t.type==="comm"&&t.children.indexOf(OO)>-1},PO=function(t){return function(r,n,i){if(!(r.type!=="rule"||t.compat)){var o=r.value.match(/(:first|:nth|:nth-last)-child/g);if(o){for(var a=!!r.parent,s=a?r.parent.children:i,l=s.length-1;l>=0;l--){var u=s[l];if(u.line<r.line)break;if(u.column<r.column){if(AO(u))return;break}}o.forEach(function(c){console.error('The pseudo class "'+c+'" is potentially unsafe when doing server-side rendering. Try changing it to "'+c.split("-child")[0]+'-of-type".')})}}}},Of=function(t){return t.type.charCodeAt(1)===105&&t.type.charCodeAt(0)===64},kO=function(t,r){for(var n=t-1;n>=0;n--)if(!Of(r[n]))return!0;return!1},Af=function(t){t.type="",t.value="",t.return="",t.children="",t.props=""},jO=function(t,r,n){Of(t)&&(t.parent?(console.error("`@import` rules can't be nested inside other rules. Please move it to the top level and put it before regular rules. Keep in mind that they can only be used within global styles."),Af(t)):kO(r,n)&&(console.error("`@import` rules can't be after other rules. Please put your `@import` rules before your other rules."),Af(t)))};function Pf(e,t){switch(lO(e,t)){case 5103:return ie+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ie+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ie+e+ai+e+Ue+e+e;case 6828:case 4268:return ie+e+Ue+e+e;case 6165:return ie+e+Ue+"flex-"+e+e;case 5187:return ie+e+oe(e,/(\w+).+(:[^]+)/,ie+"box-$1$2"+Ue+"flex-$1$2")+e;case 5443:return ie+e+Ue+"flex-item-"+oe(e,/flex-|-self/,"")+e;case 4675:return ie+e+Ue+"flex-line-pack"+oe(e,/align-content|flex-|-self/,"")+e;case 5548:return ie+e+Ue+oe(e,"shrink","negative")+e;case 5292:return ie+e+Ue+oe(e,"basis","preferred-size")+e;case 6060:return ie+"box-"+oe(e,"-grow","")+ie+e+Ue+oe(e,"grow","positive")+e;case 4554:return ie+oe(e,/([^-])(transform)/g,"$1"+ie+"$2")+e;case 6187:return oe(oe(oe(e,/(zoom-|grab)/,ie+"$1"),/(image-set)/,ie+"$1"),e,"")+e;case 5495:case 3959:return oe(e,/(image-set\([^]*)/,ie+"$1$`$1");case 4968:return oe(oe(e,/(.+:)(flex-)?(.*)/,ie+"box-pack:$3"+Ue+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ie+e+e;case 4095:case 3583:case 4068:case 2532:return oe(e,/(.+)-inline(.+)/,ie+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(St(e)-1-t>6)switch(Me(e,t+1)){case 109:if(Me(e,t+4)!==45)break;case 102:return oe(e,/(.+:)(.+)-([^]+)/,"$1"+ie+"$2-$3$1"+ai+(Me(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~wa(e,"stretch")?Pf(oe(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(Me(e,t+1)!==115)break;case 6444:switch(Me(e,St(e)-3-(~wa(e,"!important")&&10))){case 107:return oe(e,":",":"+ie)+e;case 101:return oe(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ie+(Me(e,14)===45?"inline-":"")+"box$3$1"+ie+"$2$3$1"+Ue+"$2box$3")+e}break;case 5936:switch(Me(e,t+11)){case 114:return ie+e+Ue+oe(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ie+e+Ue+oe(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ie+e+Ue+oe(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ie+e+Ue+e+e}return e}var IO=function(t,r,n,i){if(t.length>-1&&!t.return)switch(t.type){case Sa:t.return=Pf(t.value,t.length);break;case bf:return _r([tn(t,{value:oe(t.value,"@","@"+ie)})],i);case Ea:if(t.length)return cO(t.props,function(o){switch(uO(o,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return _r([tn(t,{props:[oe(o,/:(read-\w+)/,":"+ai+"$1")]})],i);case"::placeholder":return _r([tn(t,{props:[oe(o,/:(plac\w+)/,":"+ie+"input-$1")]}),tn(t,{props:[oe(o,/:(plac\w+)/,":"+ai+"$1")]}),tn(t,{props:[oe(o,/:(plac\w+)/,Ue+"input-$1")]})],i)}return""})}},$O=[IO],RO=function(t){var r=t.key;if(process.env.NODE_ENV!=="production"&&!r)throw new Error(`You have to configure \`key\` for your cache. Please make sure it's unique (and not equal to 'css') as it's used for linking styles to your cache.
|
|
86
86
|
If multiple caches share the same key they might "fight" for each other's style elements.`);if(r==="css"){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(h){var x=h.getAttribute("data-emotion");x.indexOf(" ")!==-1&&(document.head.appendChild(h),h.setAttribute("data-s",""))})}var i=t.stylisPlugins||$O;if(process.env.NODE_ENV!=="production"&&/[^a-z-]/.test(r))throw new Error('Emotion key must only contain lower case alphabetical characters and - but "'+r+'" was passed');var o={},a,s=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(h){for(var x=h.getAttribute("data-emotion").split(" "),w=1;w<x.length;w++)o[x[w]]=!0;s.push(h)});var l,u=[wO,CO];process.env.NODE_ENV!=="production"&&u.push(PO({get compat(){return y.compat}}),jO);{var c,f=[bO,process.env.NODE_ENV!=="production"?function(h){h.root||(h.return?c.insert(h.return):h.value&&h.type!==Ta&&c.insert(h.value+"{}"))}:_O(function(h){c.insert(h)})],p=xO(u.concat(i,f)),g=function(x){return _r(yO(x),p)};l=function(x,w,j,M){c=j,process.env.NODE_ENV!=="production"&&w.map!==void 0&&(c={insert:function(_){j.insert(_+w.map)}}),g(x?x+"{"+w.styles+"}":w.styles),M&&(y.inserted[w.name]=!0)}}var y={key:r,sheet:new nO({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:o,registered:{},insert:l};return y.sheet.hydrate(s),y};let Aa;typeof document=="object"&&(Aa=RO({key:"css",prepend:!0}));function kf(e){const{injectFirst:t,children:r}=e;return t&&Aa?d.jsx(Gt.CacheProvider,{value:Aa,children:r}):r}process.env.NODE_ENV!=="production"&&(kf.propTypes={children:H.node,injectFirst:H.bool});function DO(e){return e==null||Object.keys(e).length===0}function jf(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?i=>t(DO(i)?r:i):t;return d.jsx(Gt.Global,{styles:n})}process.env.NODE_ENV!=="production"&&(jf.propTypes={defaultTheme:H.object,styles:H.oneOfType([H.array,H.string,H.object,H.func])});/**
|
|
87
|
-
* @mui/styled-engine v5.16.
|
|
87
|
+
* @mui/styled-engine v5.16.4
|
|
88
88
|
*
|
|
89
89
|
* @license MIT
|
|
90
90
|
* This source code is licensed under the MIT license found in the
|