sqlmesh 0.181.2.dev7__py3-none-any.whl → 0.181.2.dev9__py3-none-any.whl

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.
Files changed (52) hide show
  1. sqlmesh/_version.py +2 -2
  2. sqlmesh/lsp/api.py +61 -0
  3. sqlmesh/lsp/main.py +25 -0
  4. {sqlmesh-0.181.2.dev7.dist-info → sqlmesh-0.181.2.dev9.dist-info}/METADATA +1 -1
  5. {sqlmesh-0.181.2.dev7.dist-info → sqlmesh-0.181.2.dev9.dist-info}/RECORD +51 -50
  6. web/client/dist/assets/{Audits-4U9LnWyN.js → Audits-DRkR6sg0.js} +1 -1
  7. web/client/dist/assets/{Banner-DfF4HK9_.js → Banner-BXisqtMu.js} +1 -1
  8. web/client/dist/assets/{ChevronDownIcon-DhkdL7W7.js → ChevronDownIcon-D8CFPQ96.js} +1 -1
  9. web/client/dist/assets/{ChevronRightIcon-CknBR_Ye.js → ChevronRightIcon-BpRv8ZN4.js} +1 -1
  10. web/client/dist/assets/{Content-T59G6CRd.js → Content-KG4KSDDO.js} +1 -1
  11. web/client/dist/assets/{Content-DfnWzoRW.js → Content-pMJLtxGr.js} +1 -1
  12. web/client/dist/assets/{Data-Dvs4EVTS.js → Data-D-rZnh8x.js} +1 -1
  13. web/client/dist/assets/{DataCatalog-CsA-vDbc.js → DataCatalog-BJTDeU-_.js} +1 -1
  14. web/client/dist/assets/{Editor-DsU0OwIl.js → Editor-C8-1rqZ2.js} +1 -1
  15. web/client/dist/assets/{Editor-DgIo0RbF.js → Editor-Cpn7iBcm.js} +1 -1
  16. web/client/dist/assets/{Errors-BOLt2obm.js → Errors-DyDRdQyq.js} +1 -1
  17. web/client/dist/assets/{FileExplorer-CIj2pM9u.js → FileExplorer-CmdsG4yG.js} +3 -3
  18. web/client/dist/assets/{Footer--bTxQCKB.js → Footer-D4ok48Gm.js} +1 -1
  19. web/client/dist/assets/{Header-DmcDkHFL.js → Header-BVwdhMQQ.js} +1 -1
  20. web/client/dist/assets/{Input-CJirBrKe.js → Input-CxOCLTNw.js} +1 -1
  21. web/client/dist/assets/Lineage-ZXdxdqzl.js +1 -0
  22. web/client/dist/assets/{ListboxShow-C0DBUX71.js → ListboxShow-YBO3HIHQ.js} +1 -1
  23. web/client/dist/assets/{ModelLineage-B8hv0xJ-.js → ModelLineage-BFuK5Bgk.js} +1 -1
  24. web/client/dist/assets/{Models-CCm5MLTD.js → Models-Dn2xoUA7.js} +1 -1
  25. web/client/dist/assets/{Page-WrN3RYDT.js → Page-kOwPk8A6.js} +1 -1
  26. web/client/dist/assets/{Plan-CFJZVnkR.js → Plan-BQe3-3RL.js} +1 -1
  27. web/client/dist/assets/{PlusCircleIcon-CcC2lSkc.js → PlusCircleIcon-CXYicjof.js} +1 -1
  28. web/client/dist/assets/{ReportErrors-BK8N5y1z.js → ReportErrors-DaAC3YF4.js} +1 -1
  29. web/client/dist/assets/{Root-DSGcTlxk.js → Root-BIGZcS_U.js} +1 -1
  30. web/client/dist/assets/{SearchList-B9NnvRod.js → SearchList-Lag39srv.js} +1 -1
  31. web/client/dist/assets/{SelectEnvironment-CJsiOTlU.js → SelectEnvironment-0MCV04NI.js} +1 -1
  32. web/client/dist/assets/{SourceList-FVjgH2xJ.js → SourceList-CTL41Fia.js} +1 -1
  33. web/client/dist/assets/{SourceListItem-BDqqo5jo.js → SourceListItem-6mIYlySR.js} +1 -1
  34. web/client/dist/assets/{SplitPane-BSlIdmc8.js → SplitPane-7_khUxNG.js} +1 -1
  35. web/client/dist/assets/{Tests-DAbOEH7t.js → Tests-DSsKelgd.js} +1 -1
  36. web/client/dist/assets/{Welcome-c37SRGFq.js → Welcome-C0F3fb3h.js} +1 -1
  37. web/client/dist/assets/{context-APidk_GA.js → context-B0V9EzWJ.js} +13 -13
  38. web/client/dist/assets/{context-DmjvuTWz.js → context-pytQSsK4.js} +1 -1
  39. web/client/dist/assets/{editor-B2GioI_r.js → editor-CmeEFdEz.js} +1 -1
  40. web/client/dist/assets/{file-C7afm_LM.js → file-DY5SRTK1.js} +1 -1
  41. web/client/dist/assets/{help-C_umCstj.js → help-Bm8ph9oI.js} +1 -1
  42. web/client/dist/assets/{index-CK4fdw8q.js → index-BWibl-Ee.js} +1 -1
  43. web/client/dist/assets/{index-COnjINWU.js → index-C22hdM_h.js} +2 -2
  44. web/client/dist/assets/{plan-BwAtu9hd.js → plan-BUTy2uM-.js} +1 -1
  45. web/client/dist/assets/{project-CWUUCZWT.js → project-CtAE3tsj.js} +1 -1
  46. web/client/dist/assets/{transition-DjPYSO2n.js → transition-CiMBgn_Y.js} +1 -1
  47. web/client/dist/index.html +1 -1
  48. web/client/dist/assets/Lineage-BbLp8RL_.js +0 -1
  49. {sqlmesh-0.181.2.dev7.dist-info → sqlmesh-0.181.2.dev9.dist-info}/WHEEL +0 -0
  50. {sqlmesh-0.181.2.dev7.dist-info → sqlmesh-0.181.2.dev9.dist-info}/entry_points.txt +0 -0
  51. {sqlmesh-0.181.2.dev7.dist-info → sqlmesh-0.181.2.dev9.dist-info}/licenses/LICENSE +0 -0
  52. {sqlmesh-0.181.2.dev7.dist-info → sqlmesh-0.181.2.dev9.dist-info}/top_level.txt +0 -0
@@ -1 +1 @@
1
- import{a2 as Ae,R as le,r as we,j as Re}from"./index-COnjINWU.js";var Z={exports:{}},J,ce;function De(){if(ce)return J;ce=1;var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return J=s,J}var K,fe;function Me(){if(fe)return K;fe=1;var s=De();function i(){}function u(){}return u.resetWarningCache=i,K=function(){function n(d,y,l,h,g,S){if(S!==s){var E=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw E.name="Invariant Violation",E}}n.isRequired=n;function o(){return n}var p={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:u,resetWarningCache:i};return p.PropTypes=p,p},K}var pe;function _e(){return pe||(pe=1,Z.exports=Me()()),Z.exports}var Pe=_e();const c=Ae(Pe);var x=typeof window<"u"?window:null,te=x===null,L=te?void 0:x.document,A="addEventListener",w="removeEventListener",Q="getBoundingClientRect",G="_a",R="_b",M="_c",$="horizontal",D=function(){return!1},Fe=te?"calc":["","-webkit-","-moz-","-o-"].filter(function(s){var i=L.createElement("div");return i.style.cssText="width:"+s+"calc(9px)",!!i.style.length}).shift()+"calc",me=function(s){return typeof s=="string"||s instanceof String},de=function(s){if(me(s)){var i=L.querySelector(s);if(!i)throw new Error("Selector "+s+" did not match a DOM element");return i}return s},m=function(s,i,u){var n=s[i];return n!==void 0?n:u},H=function(s,i,u,n){if(i){if(n==="end")return 0;if(n==="center")return s/2}else if(u){if(n==="start")return 0;if(n==="center")return s/2}return s},je=function(s,i){var u=L.createElement("div");return u.className="gutter gutter-"+i,u},Ie=function(s,i,u){var n={};return me(i)?n[s]=i:n[s]=Fe+"("+i+"% - "+u+"px)",n},Ue=function(s,i){var u;return u={},u[s]=i+"px",u},ve=function(s,i){if(i===void 0&&(i={}),te)return{};var u=s,n,o,p,d,y,l;Array.from&&(u=Array.from(u));var h=de(u[0]),g=h.parentNode,S=getComputedStyle?getComputedStyle(g):null,E=S?S.flexDirection:null,U=m(i,"sizes")||u.map(function(){return 100/u.length}),W=m(i,"minSize",100),T=Array.isArray(W)?W:u.map(function(){return W}),_=m(i,"maxSize",1/0),C=Array.isArray(_)?_:u.map(function(){return _}),z=m(i,"expandToMin",!1),O=m(i,"gutterSize",10),j=m(i,"gutterAlign","center"),Y=m(i,"snapOffset",30),ge=Array.isArray(Y)?Y:u.map(function(){return Y}),V=m(i,"dragInterval",1),I=m(i,"direction",$),X=m(i,"cursor",I===$?"col-resize":"row-resize"),ye=m(i,"gutter",je),ne=m(i,"elementStyle",Ie),he=m(i,"gutterStyle",Ue);I===$?(n="width",o="clientX",p="left",d="right",y="clientWidth"):I==="vertical"&&(n="height",o="clientY",p="top",d="bottom",y="clientHeight");function N(r,e,t,a){var v=ne(n,e,t,a);Object.keys(v).forEach(function(f){r.style[f]=v[f]})}function Se(r,e,t){var a=he(n,e,t);Object.keys(a).forEach(function(v){r.style[v]=a[v]})}function k(){return l.map(function(r){return r.size})}function ie(r){return"touches"in r?r.touches[0][o]:r[o]}function ae(r){var e=l[this.a],t=l[this.b],a=e.size+t.size;e.size=r/this.size*a,t.size=a-r/this.size*a,N(e.element,e.size,this[R],e.i),N(t.element,t.size,this[M],t.i)}function ze(r){var e,t=l[this.a],a=l[this.b];this.dragging&&(e=ie(r)-this.start+(this[R]-this.dragOffset),V>1&&(e=Math.round(e/V)*V),e<=t.minSize+t.snapOffset+this[R]?e=t.minSize+this[R]:e>=this.size-(a.minSize+a.snapOffset+this[M])&&(e=this.size-(a.minSize+this[M])),e>=t.maxSize-t.snapOffset+this[R]?e=t.maxSize+this[R]:e<=this.size-(a.maxSize-a.snapOffset+this[M])&&(e=this.size-(a.maxSize+this[M])),ae.call(this,e),m(i,"onDrag",D)(k()))}function se(){var r=l[this.a].element,e=l[this.b].element,t=r[Q](),a=e[Q]();this.size=t[n]+a[n]+this[R]+this[M],this.start=t[p],this.end=t[d]}function be(r){if(!getComputedStyle)return null;var e=getComputedStyle(r);if(!e)return null;var t=r[y];return t===0?null:(I===$?t-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight):t-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),t)}function oe(r){var e=be(g);if(e===null||T.reduce(function(f,b){return f+b},0)>e)return r;var t=0,a=[],v=r.map(function(f,b){var F=e*f/100,q=H(O,b===0,b===r.length-1,j),B=T[b]+q;return F<B?(t+=B-F,a.push(0),B):(a.push(F-B),F)});return t===0?r:v.map(function(f,b){var F=f;if(t>0&&a[b]-t>0){var q=Math.min(t,a[b]-t);t-=q,F=f-q}return F/e*100})}function Oe(){var r=this,e=l[r.a].element,t=l[r.b].element;r.dragging&&m(i,"onDragEnd",D)(k()),r.dragging=!1,x[w]("mouseup",r.stop),x[w]("touchend",r.stop),x[w]("touchcancel",r.stop),x[w]("mousemove",r.move),x[w]("touchmove",r.move),r.stop=null,r.move=null,e[w]("selectstart",D),e[w]("dragstart",D),t[w]("selectstart",D),t[w]("dragstart",D),e.style.userSelect="",e.style.webkitUserSelect="",e.style.MozUserSelect="",e.style.pointerEvents="",t.style.userSelect="",t.style.webkitUserSelect="",t.style.MozUserSelect="",t.style.pointerEvents="",r.gutter.style.cursor="",r.parent.style.cursor="",L.body.style.cursor=""}function xe(r){if(!("button"in r&&r.button!==0)){var e=this,t=l[e.a].element,a=l[e.b].element;e.dragging||m(i,"onDragStart",D)(k()),r.preventDefault(),e.dragging=!0,e.move=ze.bind(e),e.stop=Oe.bind(e),x[A]("mouseup",e.stop),x[A]("touchend",e.stop),x[A]("touchcancel",e.stop),x[A]("mousemove",e.move),x[A]("touchmove",e.move),t[A]("selectstart",D),t[A]("dragstart",D),a[A]("selectstart",D),a[A]("dragstart",D),t.style.userSelect="none",t.style.webkitUserSelect="none",t.style.MozUserSelect="none",t.style.pointerEvents="none",a.style.userSelect="none",a.style.webkitUserSelect="none",a.style.MozUserSelect="none",a.style.pointerEvents="none",e.gutter.style.cursor=X,e.parent.style.cursor=X,L.body.style.cursor=X,se.call(e),e.dragOffset=ie(r)-e.end}}U=oe(U);var P=[];l=u.map(function(r,e){var t={element:de(r),size:U[e],minSize:T[e],maxSize:C[e],snapOffset:ge[e],i:e},a;if(e>0&&(a={a:e-1,b:e,dragging:!1,direction:I,parent:g},a[R]=H(O,e-1===0,!1,j),a[M]=H(O,!1,e===u.length-1,j),E==="row-reverse"||E==="column-reverse")){var v=a.a;a.a=a.b,a.b=v}if(e>0){var f=ye(e,I,t.element);Se(f,O,e),a[G]=xe.bind(a),f[A]("mousedown",a[G]),f[A]("touchstart",a[G]),g.insertBefore(f,t.element),a.gutter=f}return N(t.element,t.size,H(O,e===0,e===u.length-1,j),e),e>0&&P.push(a),t});function ue(r){var e=r.i===P.length,t=e?P[r.i-1]:P[r.i];se.call(t);var a=e?t.size-r.minSize-t[M]:r.minSize+t[R];ae.call(t,a)}l.forEach(function(r){var e=r.element[Q]()[n];e<r.minSize&&(z?ue(r):r.minSize=e)});function Ee(r){var e=oe(r);e.forEach(function(t,a){if(a>0){var v=P[a-1],f=l[v.a],b=l[v.b];f.size=e[a-1],b.size=t,N(f.element,f.size,v[R],f.i),N(b.element,b.size,v[M],b.i)}})}function Te(r,e){P.forEach(function(t){if(e!==!0?t.parent.removeChild(t.gutter):(t.gutter[w]("mousedown",t[G]),t.gutter[w]("touchstart",t[G])),r!==!0){var a=ne(n,t.a.size,t[R]);Object.keys(a).forEach(function(v){l[t.a].element.style[v]="",l[t.b].element.style[v]=""})}})}return{setSizes:Ee,getSizes:k,collapse:function(e){ue(l[e])},destroy:Te,parent:g,pairs:P}};function ee(s,i){var u={};for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&i.indexOf(n)===-1&&(u[n]=s[n]);return u}var re=function(s){function i(){s.apply(this,arguments)}return s&&(i.__proto__=s),i.prototype=Object.create(s&&s.prototype),i.prototype.constructor=i,i.prototype.componentDidMount=function(){var n=this.props;n.children;var o=n.gutter,p=ee(n,["children","gutter"]),d=p;d.gutter=function(y,l){var h;return o?h=o(y,l):(h=document.createElement("div"),h.className="gutter gutter-"+l),h.__isSplitGutter=!0,h},this.split=ve(this.parent.children,d)},i.prototype.componentDidUpdate=function(n){var o=this,p=this.props;p.children;var d=p.minSize,y=p.sizes,l=p.collapsed,h=ee(p,["children","minSize","sizes","collapsed"]),g=h,S=n.minSize,E=n.sizes,U=n.collapsed,W=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"],T=W.map(function(z){return o.props[z]!==n[z]}).reduce(function(z,O){return z||O},!1);if(Array.isArray(d)&&Array.isArray(S)){var _=!1;d.forEach(function(z,O){_=_||z!==S[O]}),T=T||_}else Array.isArray(d)||Array.isArray(S)?T=!0:T=T||d!==S;if(T)g.minSize=d,g.sizes=y||this.split.getSizes(),this.split.destroy(!0,!0),g.gutter=function(z,O,j){return j.previousSibling},this.split=ve(Array.from(this.parent.children).filter(function(z){return!z.__isSplitGutter}),g);else if(y){var C=!1;y.forEach(function(z,O){C=C||z!==E[O]}),C&&this.split.setSizes(this.props.sizes)}Number.isInteger(l)&&(l!==U||T)&&this.split.collapse(l)},i.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},i.prototype.render=function(){var n=this,o=this.props;o.sizes,o.minSize,o.maxSize,o.expandToMin,o.gutterSize,o.gutterAlign,o.snapOffset,o.dragInterval,o.direction,o.cursor,o.gutter,o.elementStyle,o.gutterStyle,o.onDrag,o.onDragStart,o.onDragEnd,o.collapsed;var p=o.children,d=ee(o,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]),y=d;return le.createElement("div",Object.assign({},{ref:function(l){n.parent=l}},y),p)},i}(le.Component);re.propTypes={sizes:c.arrayOf(c.number),minSize:c.oneOfType([c.number,c.arrayOf(c.number)]),maxSize:c.oneOfType([c.number,c.arrayOf(c.number)]),expandToMin:c.bool,gutterSize:c.number,gutterAlign:c.string,snapOffset:c.oneOfType([c.number,c.arrayOf(c.number)]),dragInterval:c.number,direction:c.string,cursor:c.string,gutter:c.func,elementStyle:c.func,gutterStyle:c.func,onDrag:c.func,onDragStart:c.func,onDragEnd:c.func,collapsed:c.number,children:c.arrayOf(c.element)};re.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};function Ce({className:s,children:i,sizes:u,minSize:n,maxSize:o,direction:p,expandToMin:d=!1,snapOffset:y,cursor:l,handleDrag:h,onDragEnd:g}){const S=we.useRef(null);return Re.jsx(re,{ref:S,className:s,sizes:u,cursor:l,expandToMin:d,gutterAlign:"center",gutterSize:2,direction:p,minSize:n,maxSize:o,snapOffset:y,onDrag:E=>h==null?void 0:h(E,S.current),onDragEnd:E=>g==null?void 0:g(E,S.current),children:i})}export{Ce as S};
1
+ import{a2 as Ae,R as le,r as we,j as Re}from"./index-C22hdM_h.js";var Z={exports:{}},J,ce;function De(){if(ce)return J;ce=1;var s="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return J=s,J}var K,fe;function Me(){if(fe)return K;fe=1;var s=De();function i(){}function u(){}return u.resetWarningCache=i,K=function(){function n(d,y,l,h,g,S){if(S!==s){var E=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw E.name="Invariant Violation",E}}n.isRequired=n;function o(){return n}var p={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:o,element:n,elementType:n,instanceOf:o,node:n,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:u,resetWarningCache:i};return p.PropTypes=p,p},K}var pe;function _e(){return pe||(pe=1,Z.exports=Me()()),Z.exports}var Pe=_e();const c=Ae(Pe);var x=typeof window<"u"?window:null,te=x===null,L=te?void 0:x.document,A="addEventListener",w="removeEventListener",Q="getBoundingClientRect",G="_a",R="_b",M="_c",$="horizontal",D=function(){return!1},Fe=te?"calc":["","-webkit-","-moz-","-o-"].filter(function(s){var i=L.createElement("div");return i.style.cssText="width:"+s+"calc(9px)",!!i.style.length}).shift()+"calc",me=function(s){return typeof s=="string"||s instanceof String},de=function(s){if(me(s)){var i=L.querySelector(s);if(!i)throw new Error("Selector "+s+" did not match a DOM element");return i}return s},m=function(s,i,u){var n=s[i];return n!==void 0?n:u},H=function(s,i,u,n){if(i){if(n==="end")return 0;if(n==="center")return s/2}else if(u){if(n==="start")return 0;if(n==="center")return s/2}return s},je=function(s,i){var u=L.createElement("div");return u.className="gutter gutter-"+i,u},Ie=function(s,i,u){var n={};return me(i)?n[s]=i:n[s]=Fe+"("+i+"% - "+u+"px)",n},Ue=function(s,i){var u;return u={},u[s]=i+"px",u},ve=function(s,i){if(i===void 0&&(i={}),te)return{};var u=s,n,o,p,d,y,l;Array.from&&(u=Array.from(u));var h=de(u[0]),g=h.parentNode,S=getComputedStyle?getComputedStyle(g):null,E=S?S.flexDirection:null,U=m(i,"sizes")||u.map(function(){return 100/u.length}),W=m(i,"minSize",100),T=Array.isArray(W)?W:u.map(function(){return W}),_=m(i,"maxSize",1/0),C=Array.isArray(_)?_:u.map(function(){return _}),z=m(i,"expandToMin",!1),O=m(i,"gutterSize",10),j=m(i,"gutterAlign","center"),Y=m(i,"snapOffset",30),ge=Array.isArray(Y)?Y:u.map(function(){return Y}),V=m(i,"dragInterval",1),I=m(i,"direction",$),X=m(i,"cursor",I===$?"col-resize":"row-resize"),ye=m(i,"gutter",je),ne=m(i,"elementStyle",Ie),he=m(i,"gutterStyle",Ue);I===$?(n="width",o="clientX",p="left",d="right",y="clientWidth"):I==="vertical"&&(n="height",o="clientY",p="top",d="bottom",y="clientHeight");function N(r,e,t,a){var v=ne(n,e,t,a);Object.keys(v).forEach(function(f){r.style[f]=v[f]})}function Se(r,e,t){var a=he(n,e,t);Object.keys(a).forEach(function(v){r.style[v]=a[v]})}function k(){return l.map(function(r){return r.size})}function ie(r){return"touches"in r?r.touches[0][o]:r[o]}function ae(r){var e=l[this.a],t=l[this.b],a=e.size+t.size;e.size=r/this.size*a,t.size=a-r/this.size*a,N(e.element,e.size,this[R],e.i),N(t.element,t.size,this[M],t.i)}function ze(r){var e,t=l[this.a],a=l[this.b];this.dragging&&(e=ie(r)-this.start+(this[R]-this.dragOffset),V>1&&(e=Math.round(e/V)*V),e<=t.minSize+t.snapOffset+this[R]?e=t.minSize+this[R]:e>=this.size-(a.minSize+a.snapOffset+this[M])&&(e=this.size-(a.minSize+this[M])),e>=t.maxSize-t.snapOffset+this[R]?e=t.maxSize+this[R]:e<=this.size-(a.maxSize-a.snapOffset+this[M])&&(e=this.size-(a.maxSize+this[M])),ae.call(this,e),m(i,"onDrag",D)(k()))}function se(){var r=l[this.a].element,e=l[this.b].element,t=r[Q](),a=e[Q]();this.size=t[n]+a[n]+this[R]+this[M],this.start=t[p],this.end=t[d]}function be(r){if(!getComputedStyle)return null;var e=getComputedStyle(r);if(!e)return null;var t=r[y];return t===0?null:(I===$?t-=parseFloat(e.paddingLeft)+parseFloat(e.paddingRight):t-=parseFloat(e.paddingTop)+parseFloat(e.paddingBottom),t)}function oe(r){var e=be(g);if(e===null||T.reduce(function(f,b){return f+b},0)>e)return r;var t=0,a=[],v=r.map(function(f,b){var F=e*f/100,q=H(O,b===0,b===r.length-1,j),B=T[b]+q;return F<B?(t+=B-F,a.push(0),B):(a.push(F-B),F)});return t===0?r:v.map(function(f,b){var F=f;if(t>0&&a[b]-t>0){var q=Math.min(t,a[b]-t);t-=q,F=f-q}return F/e*100})}function Oe(){var r=this,e=l[r.a].element,t=l[r.b].element;r.dragging&&m(i,"onDragEnd",D)(k()),r.dragging=!1,x[w]("mouseup",r.stop),x[w]("touchend",r.stop),x[w]("touchcancel",r.stop),x[w]("mousemove",r.move),x[w]("touchmove",r.move),r.stop=null,r.move=null,e[w]("selectstart",D),e[w]("dragstart",D),t[w]("selectstart",D),t[w]("dragstart",D),e.style.userSelect="",e.style.webkitUserSelect="",e.style.MozUserSelect="",e.style.pointerEvents="",t.style.userSelect="",t.style.webkitUserSelect="",t.style.MozUserSelect="",t.style.pointerEvents="",r.gutter.style.cursor="",r.parent.style.cursor="",L.body.style.cursor=""}function xe(r){if(!("button"in r&&r.button!==0)){var e=this,t=l[e.a].element,a=l[e.b].element;e.dragging||m(i,"onDragStart",D)(k()),r.preventDefault(),e.dragging=!0,e.move=ze.bind(e),e.stop=Oe.bind(e),x[A]("mouseup",e.stop),x[A]("touchend",e.stop),x[A]("touchcancel",e.stop),x[A]("mousemove",e.move),x[A]("touchmove",e.move),t[A]("selectstart",D),t[A]("dragstart",D),a[A]("selectstart",D),a[A]("dragstart",D),t.style.userSelect="none",t.style.webkitUserSelect="none",t.style.MozUserSelect="none",t.style.pointerEvents="none",a.style.userSelect="none",a.style.webkitUserSelect="none",a.style.MozUserSelect="none",a.style.pointerEvents="none",e.gutter.style.cursor=X,e.parent.style.cursor=X,L.body.style.cursor=X,se.call(e),e.dragOffset=ie(r)-e.end}}U=oe(U);var P=[];l=u.map(function(r,e){var t={element:de(r),size:U[e],minSize:T[e],maxSize:C[e],snapOffset:ge[e],i:e},a;if(e>0&&(a={a:e-1,b:e,dragging:!1,direction:I,parent:g},a[R]=H(O,e-1===0,!1,j),a[M]=H(O,!1,e===u.length-1,j),E==="row-reverse"||E==="column-reverse")){var v=a.a;a.a=a.b,a.b=v}if(e>0){var f=ye(e,I,t.element);Se(f,O,e),a[G]=xe.bind(a),f[A]("mousedown",a[G]),f[A]("touchstart",a[G]),g.insertBefore(f,t.element),a.gutter=f}return N(t.element,t.size,H(O,e===0,e===u.length-1,j),e),e>0&&P.push(a),t});function ue(r){var e=r.i===P.length,t=e?P[r.i-1]:P[r.i];se.call(t);var a=e?t.size-r.minSize-t[M]:r.minSize+t[R];ae.call(t,a)}l.forEach(function(r){var e=r.element[Q]()[n];e<r.minSize&&(z?ue(r):r.minSize=e)});function Ee(r){var e=oe(r);e.forEach(function(t,a){if(a>0){var v=P[a-1],f=l[v.a],b=l[v.b];f.size=e[a-1],b.size=t,N(f.element,f.size,v[R],f.i),N(b.element,b.size,v[M],b.i)}})}function Te(r,e){P.forEach(function(t){if(e!==!0?t.parent.removeChild(t.gutter):(t.gutter[w]("mousedown",t[G]),t.gutter[w]("touchstart",t[G])),r!==!0){var a=ne(n,t.a.size,t[R]);Object.keys(a).forEach(function(v){l[t.a].element.style[v]="",l[t.b].element.style[v]=""})}})}return{setSizes:Ee,getSizes:k,collapse:function(e){ue(l[e])},destroy:Te,parent:g,pairs:P}};function ee(s,i){var u={};for(var n in s)Object.prototype.hasOwnProperty.call(s,n)&&i.indexOf(n)===-1&&(u[n]=s[n]);return u}var re=function(s){function i(){s.apply(this,arguments)}return s&&(i.__proto__=s),i.prototype=Object.create(s&&s.prototype),i.prototype.constructor=i,i.prototype.componentDidMount=function(){var n=this.props;n.children;var o=n.gutter,p=ee(n,["children","gutter"]),d=p;d.gutter=function(y,l){var h;return o?h=o(y,l):(h=document.createElement("div"),h.className="gutter gutter-"+l),h.__isSplitGutter=!0,h},this.split=ve(this.parent.children,d)},i.prototype.componentDidUpdate=function(n){var o=this,p=this.props;p.children;var d=p.minSize,y=p.sizes,l=p.collapsed,h=ee(p,["children","minSize","sizes","collapsed"]),g=h,S=n.minSize,E=n.sizes,U=n.collapsed,W=["maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor"],T=W.map(function(z){return o.props[z]!==n[z]}).reduce(function(z,O){return z||O},!1);if(Array.isArray(d)&&Array.isArray(S)){var _=!1;d.forEach(function(z,O){_=_||z!==S[O]}),T=T||_}else Array.isArray(d)||Array.isArray(S)?T=!0:T=T||d!==S;if(T)g.minSize=d,g.sizes=y||this.split.getSizes(),this.split.destroy(!0,!0),g.gutter=function(z,O,j){return j.previousSibling},this.split=ve(Array.from(this.parent.children).filter(function(z){return!z.__isSplitGutter}),g);else if(y){var C=!1;y.forEach(function(z,O){C=C||z!==E[O]}),C&&this.split.setSizes(this.props.sizes)}Number.isInteger(l)&&(l!==U||T)&&this.split.collapse(l)},i.prototype.componentWillUnmount=function(){this.split.destroy(),delete this.split},i.prototype.render=function(){var n=this,o=this.props;o.sizes,o.minSize,o.maxSize,o.expandToMin,o.gutterSize,o.gutterAlign,o.snapOffset,o.dragInterval,o.direction,o.cursor,o.gutter,o.elementStyle,o.gutterStyle,o.onDrag,o.onDragStart,o.onDragEnd,o.collapsed;var p=o.children,d=ee(o,["sizes","minSize","maxSize","expandToMin","gutterSize","gutterAlign","snapOffset","dragInterval","direction","cursor","gutter","elementStyle","gutterStyle","onDrag","onDragStart","onDragEnd","collapsed","children"]),y=d;return le.createElement("div",Object.assign({},{ref:function(l){n.parent=l}},y),p)},i}(le.Component);re.propTypes={sizes:c.arrayOf(c.number),minSize:c.oneOfType([c.number,c.arrayOf(c.number)]),maxSize:c.oneOfType([c.number,c.arrayOf(c.number)]),expandToMin:c.bool,gutterSize:c.number,gutterAlign:c.string,snapOffset:c.oneOfType([c.number,c.arrayOf(c.number)]),dragInterval:c.number,direction:c.string,cursor:c.string,gutter:c.func,elementStyle:c.func,gutterStyle:c.func,onDrag:c.func,onDragStart:c.func,onDragEnd:c.func,collapsed:c.number,children:c.arrayOf(c.element)};re.defaultProps={sizes:void 0,minSize:void 0,maxSize:void 0,expandToMin:void 0,gutterSize:void 0,gutterAlign:void 0,snapOffset:void 0,dragInterval:void 0,direction:void 0,cursor:void 0,gutter:void 0,elementStyle:void 0,gutterStyle:void 0,onDrag:void 0,onDragStart:void 0,onDragEnd:void 0,collapsed:void 0,children:void 0};function Ce({className:s,children:i,sizes:u,minSize:n,maxSize:o,direction:p,expandToMin:d=!1,snapOffset:y,cursor:l,handleDrag:h,onDragEnd:g}){const S=we.useRef(null);return Re.jsx(re,{ref:S,className:s,sizes:u,cursor:l,expandToMin:d,gutterAlign:"center",gutterSize:2,direction:p,minSize:n,maxSize:o,snapOffset:y,onDrag:E=>h==null?void 0:h(E,S.current),onDragEnd:E=>g==null?void 0:g(E,S.current),children:i})}export{Ce as S};
@@ -1 +1 @@
1
- import{y as u,j as s,O as f,e as t,I as c,B as p,n as x,m as j}from"./index-COnjINWU.js";import{P as d}from"./Page-WrN3RYDT.js";import{u as h}from"./project-CWUUCZWT.js";import{S as v}from"./SourceList-FVjgH2xJ.js";import{S as y}from"./SourceListItem-BDqqo5jo.js";import"./SplitPane-BSlIdmc8.js";import"./file-C7afm_LM.js";import"./Input-CJirBrKe.js";import"./index-CK4fdw8q.js";function T(){const{pathname:a}=u(),i=h(e=>e.files),r=Array.from(i.values()).filter(e=>e.path.endsWith("tests"));return s.jsx(d,{sidebar:s.jsxs("div",{className:"flex flex-col w-full h-full",children:[s.jsx(v,{keyId:"basename",keyName:"basename",to:t.Tests,items:r,isActive:e=>`${t.Tests}/${e}`===a,listItem:({to:e,name:o,description:m,text:n,disabled:l=!1})=>s.jsx(y,{to:e,name:o,text:n,description:m,disabled:l})}),s.jsx(c,{}),s.jsx("div",{className:"py-1 px-1 flex justify-end",children:s.jsx(p,{size:j.sm,variant:x.Neutral,children:"Run All"})})]}),content:s.jsx(f,{})})}export{T as default};
1
+ import{y as u,j as s,O as f,e as t,I as c,B as p,n as x,m as j}from"./index-C22hdM_h.js";import{P as d}from"./Page-kOwPk8A6.js";import{u as h}from"./project-CtAE3tsj.js";import{S as v}from"./SourceList-CTL41Fia.js";import{S as y}from"./SourceListItem-6mIYlySR.js";import"./SplitPane-7_khUxNG.js";import"./file-DY5SRTK1.js";import"./Input-CxOCLTNw.js";import"./index-BWibl-Ee.js";function T(){const{pathname:a}=u(),i=h(e=>e.files),r=Array.from(i.values()).filter(e=>e.path.endsWith("tests"));return s.jsx(d,{sidebar:s.jsxs("div",{className:"flex flex-col w-full h-full",children:[s.jsx(v,{keyId:"basename",keyName:"basename",to:t.Tests,items:r,isActive:e=>`${t.Tests}/${e}`===a,listItem:({to:e,name:o,description:m,text:n,disabled:l=!1})=>s.jsx(y,{to:e,name:o,text:n,description:m,disabled:l})}),s.jsx(c,{}),s.jsx("div",{className:"py-1 px-1 flex justify-end",children:s.jsx(p,{size:j.sm,variant:x.Neutral,children:"Run All"})})]}),content:s.jsx(f,{})})}export{T as default};
@@ -1 +1 @@
1
- import{j as s,i as t}from"./index-COnjINWU.js";function i({headline:e,tagline:l}){return s.jsx("div",{className:"w-full h-full flex justify-center items-center",children:s.jsxs("div",{className:"p-4",children:[t(e)&&s.jsx("h1",{className:"text-2xl font-bold",children:e}),t(l)&&s.jsx("p",{className:"text-lg mt-4",children:l})]})})}export{i as default};
1
+ import{j as s,i as t}from"./index-C22hdM_h.js";function i({headline:e,tagline:l}){return s.jsx("div",{className:"w-full h-full flex justify-center items-center",children:s.jsxs("div",{className:"p-4",children:[t(e)&&s.jsx("h1",{className:"text-2xl font-bold",children:e}),t(l)&&s.jsx("p",{className:"text-lg mt-4",children:l})]})})}export{i as default};