recce 1.34.1__py3-none-any.whl → 1.35.1__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.
- recce/VERSION +1 -1
- recce/data/404/index.html +2 -2
- recce/data/404.html +2 -2
- recce/data/__next.@lineage.!KHNsb3Qp.__PAGE__.txt +2 -2
- recce/data/__next.@lineage.!KHNsb3Qp.txt +1 -1
- recce/data/__next.__PAGE__.txt +1 -1
- recce/data/__next._full.txt +9 -9
- recce/data/__next._head.txt +1 -1
- recce/data/__next._index.txt +5 -5
- recce/data/__next._tree.txt +1 -1
- recce/data/_next/static/chunks/0a923708f953a4d5.js +1 -0
- recce/data/_next/static/chunks/2001bbd020dd9677.js +1 -0
- recce/data/_next/static/chunks/2ca0ead49cd6e3d8.js +1 -0
- recce/data/_next/static/chunks/{7bb921acbf2d3876.js → 402515b96c6a6ab0.js} +44 -44
- recce/data/_next/static/chunks/{a30fe1ec4d0d0199.js → 5aca6207265dcd75.js} +8 -8
- recce/data/_next/static/chunks/{1bbfc841a3bbdeab.js → 8563e224cbc87121.js} +1 -1
- recce/data/_next/static/chunks/9b0af135176cb39a.js +72 -0
- recce/data/_next/static/chunks/{9469a701a796ba64.js → dd3c746dfbaa94c7.js} +2 -2
- recce/data/_next/static/chunks/{b491ab151a29aba2.js → e04b27771be44e58.js} +11 -11
- recce/data/_next/static/chunks/{5d86ee6b69e79ebd.js → fa00228e4374d59f.js} +1 -1
- recce/data/_not-found/__next._full.txt +6 -6
- recce/data/_not-found/__next._head.txt +1 -1
- recce/data/_not-found/__next._index.txt +5 -5
- recce/data/_not-found/__next._not-found.__PAGE__.txt +1 -1
- recce/data/_not-found/__next._not-found.txt +1 -1
- recce/data/_not-found/__next._tree.txt +1 -1
- recce/data/_not-found/index.html +2 -2
- recce/data/_not-found/index.txt +6 -6
- recce/data/checks/__next.@lineage.__DEFAULT__.txt +2 -2
- recce/data/checks/__next._full.txt +12 -12
- recce/data/checks/__next._head.txt +1 -1
- recce/data/checks/__next._index.txt +5 -5
- recce/data/checks/__next._tree.txt +1 -1
- recce/data/checks/__next.checks.__PAGE__.txt +2 -2
- recce/data/checks/__next.checks.txt +1 -1
- recce/data/checks/index.html +2 -2
- recce/data/checks/index.txt +12 -12
- recce/data/index.html +2 -2
- recce/data/index.txt +9 -9
- recce/data/lineage/__next.@lineage.__DEFAULT__.txt +2 -2
- recce/data/lineage/__next._full.txt +9 -9
- recce/data/lineage/__next._head.txt +1 -1
- recce/data/lineage/__next._index.txt +5 -5
- recce/data/lineage/__next._tree.txt +1 -1
- recce/data/lineage/__next.lineage.__PAGE__.txt +2 -2
- recce/data/lineage/__next.lineage.txt +1 -1
- recce/data/lineage/index.html +2 -2
- recce/data/lineage/index.txt +9 -9
- recce/data/query/__next.@lineage.__DEFAULT__.txt +2 -2
- recce/data/query/__next._full.txt +10 -10
- recce/data/query/__next._head.txt +1 -1
- recce/data/query/__next._index.txt +5 -5
- recce/data/query/__next._tree.txt +1 -1
- recce/data/query/__next.query.__PAGE__.txt +2 -2
- recce/data/query/__next.query.txt +1 -1
- recce/data/query/index.html +2 -2
- recce/data/query/index.txt +10 -10
- {recce-1.34.1.dist-info → recce-1.35.1.dist-info}/METADATA +2 -2
- {recce-1.34.1.dist-info → recce-1.35.1.dist-info}/RECORD +65 -66
- recce/data/_next/static/chunks/1c9a95df941df4af.js +0 -1
- recce/data/_next/static/chunks/49dd9a35f25a3c78.js +0 -1
- recce/data/_next/static/chunks/55f691775a443af1.js +0 -72
- recce/data/_next/static/chunks/c141122216926f40.js +0 -1
- recce/data/_next/static/chunks/dafbfe5da3f2c3e7.js +0 -1
- /recce/data/_next/static/{rRopaMiU51gUmORexSTEw → 5dYeWIYae9t1W2AtSUuur}/_buildManifest.js +0 -0
- /recce/data/_next/static/{rRopaMiU51gUmORexSTEw → 5dYeWIYae9t1W2AtSUuur}/_clientMiddlewareManifest.json +0 -0
- /recce/data/_next/static/{rRopaMiU51gUmORexSTEw → 5dYeWIYae9t1W2AtSUuur}/_ssgManifest.js +0 -0
- {recce-1.34.1.dist-info → recce-1.35.1.dist-info}/WHEEL +0 -0
- {recce-1.34.1.dist-info → recce-1.35.1.dist-info}/entry_points.txt +0 -0
- {recce-1.34.1.dist-info → recce-1.35.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,238240,e=>{"use strict";var t=e.i(600943),i=e.i(51449),s=e.i(259864),n=e.i(578889),r=e.i(766271),o=class extends n.Subscribable{#e;#t=void 0;#i;#s;constructor(e,t){super(),this.#e=e,this.setOptions(t),this.bindMethods(),this.#n()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){let t=this.options;this.options=this.#e.defaultMutationOptions(e),(0,r.shallowEqualObjects)(this.options,t)||this.#e.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#i,observer:this}),t?.mutationKey&&this.options.mutationKey&&(0,r.hashKey)(t.mutationKey)!==(0,r.hashKey)(this.options.mutationKey)?this.reset():this.#i?.state.status==="pending"&&this.#i.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#i?.removeObserver(this)}onMutationUpdate(e){this.#n(),this.#r(e)}getCurrentResult(){return this.#t}reset(){this.#i?.removeObserver(this),this.#i=void 0,this.#n(),this.#r()}mutate(e,t){return this.#s=t,this.#i?.removeObserver(this),this.#i=this.#e.getMutationCache().build(this.#e,this.options),this.#i.addObserver(this),this.#i.execute(e)}#n(){let e=this.#i?.state??(0,i.getDefaultState)();this.#t={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#r(e){s.notifyManager.batch(()=>{if(this.#s&&this.hasListeners()){let t=this.#t.variables,i=this.#t.context,s={client:this.#e,meta:this.options.meta,mutationKey:this.options.mutationKey};if(e?.type==="success"){try{this.#s.onSuccess?.(e.data,t,i,s)}catch(e){Promise.reject(e)}try{this.#s.onSettled?.(e.data,null,t,i,s)}catch(e){Promise.reject(e)}}else if(e?.type==="error"){try{this.#s.onError?.(e.error,t,i,s)}catch(e){Promise.reject(e)}try{this.#s.onSettled?.(void 0,e.error,t,i,s)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#t)})})}},a=e.i(98340);function l(e,i){let n=(0,a.useQueryClient)(i),[l]=t.useState(()=>new o(n,e));t.useEffect(()=>{l.setOptions(e)},[l,e]);let d=t.useSyncExternalStore(t.useCallback(e=>l.subscribe(s.notifyManager.batchCalls(e)),[l]),()=>l.getCurrentResult(),()=>l.getCurrentResult()),u=t.useCallback((e,t)=>{l.mutate(e,t).catch(r.noop)},[l]);if(d.error&&(0,r.shouldThrowError)(l.options.throwOnError,[d.error]))throw d.error;return{...d,mutate:u,mutateAsync:d.mutate}}e.s(["useMutation",()=>l],238240)},707682,e=>{"use strict";var t=e.i(70800);async function i(e,i,s){return await (0,t.submitRun)("query",e,i,s)}async function s(e,i,s){return await (0,t.submitRun)("query_base",e,i,s)}async function n(e,i,s){return await (0,t.submitRun)("query_diff",e,i,s)}e.s(["submitQuery",()=>i,"submitQueryBase",()=>s,"submitQueryDiff",()=>n])},790689,e=>{"use strict";var t=e.i(991047),i=e.i(283276),s=e.i(242397),n=e.i(109253),r=e.i(968287),o=e.i(211363);function a(){let{isHistoryOpen:e,showHistory:a}=(0,r.useRecceActionContext)();if(!e)return(0,t.jsxs)(i.default,{children:[(0,t.jsx)(i.default,{sx:{fontSize:"8pt"},children:"History"}),(0,t.jsx)(s.default,{size:"xsmall",variant:"outlined",color:"neutral",startIcon:(0,t.jsx)(n.VscHistory,{}),onClick:()=>{(0,o.trackHistoryAction)({name:e?"hide":"show"}),a()},children:"Show"})]})}e.s(["HistoryToggle",()=>a])},216382,e=>{"use strict";var t=e.i(991047),i=e.i(283276),s=e.i(572537),n=e.i(760437),r=e.i(600943),o=e.i(307215);function a({children:e,display:a}){let[l,d]=(0,r.useState)(!1),u=(0,r.useRef)(null),c=(0,r.useRef)(null),h=(0,r.useCallback)(()=>{u.current&&(clearTimeout(u.current),u.current=null),d(!0)},[]),f=(0,r.useCallback)(()=>{u.current=setTimeout(()=>{d(!1)},100)},[]);return a?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(i.default,{ref:c,onMouseEnter:h,onMouseLeave:f,sx:{display:"contents"},children:e}),(0,t.jsxs)(n.default,{open:l,anchorEl:c.current,onClose:()=>d(!1),anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"left"},disableAutoFocus:!0,disableEnforceFocus:!0,sx:{pointerEvents:"none"},slotProps:{paper:{onMouseEnter:h,onMouseLeave:f,sx:{bgcolor:"grey.600",color:"white",p:1.5,pointerEvents:"auto"}}},children:["Connect to a data warehouse to unlock Diff."," ",(0,t.jsx)(s.default,{href:o.RECCE_SUPPORT_CALENDAR_URL,target:"_blank",sx:{color:"white",textDecoration:"underline"},children:"Learn more"}),"."]})]}):e}e.s(["SetupConnectionPopover",()=>a],216382)},915688,e=>{"use strict";e.i(139507);var t=e.i(600943),i=e.i(7284),s=e.i(295456),n=e.i(509912),r=e.i(721431),o=e.i(842196),a=e.i(138961),l=e.i(564665),d=e.i(987074),u=e.i(707706),c=e.i(85155),h=e.i(11507),f=e.i(222942);function p(e){return(0,f.default)("MuiListItem",e)}(0,h.default)("MuiListItem",["root","container","dense","alignItemsFlexStart","divider","gutters","padding","secondaryAction"]);let m=(0,h.default)("MuiListItemButton",["root","focusVisible","dense","alignItemsFlexStart","disabled","divider","gutters","selected"]);function x(e){return(0,f.default)("MuiListItemSecondaryAction",e)}(0,h.default)("MuiListItemSecondaryAction",["root","disableGutters"]);var g=e.i(991047);let y=(0,r.styled)("div",{name:"MuiListItemSecondaryAction",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e;return[t.root,i.disableGutters&&t.disableGutters]}})({position:"absolute",right:16,top:"50%",transform:"translateY(-50%)",variants:[{props:({ownerState:e})=>e.disableGutters,style:{right:0}}]}),b=t.forwardRef(function(e,n){let r=(0,a.useDefaultProps)({props:e,name:"MuiListItemSecondaryAction"}),{className:o,...l}=r,d=t.useContext(c.default),u={...r,disableGutters:d.disableGutters},h=(e=>{let{disableGutters:t,classes:i}=e;return(0,s.default)({root:["root",t&&"disableGutters"]},x,i)})(u);return(0,g.jsx)(y,{className:(0,i.default)(h.root,o),ownerState:u,ref:n,...l})});b.muiName="ListItemSecondaryAction";let v=(0,r.styled)("div",{name:"MuiListItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:i}=e;return[t.root,i.dense&&t.dense,"flex-start"===i.alignItems&&t.alignItemsFlexStart,i.divider&&t.divider,!i.disableGutters&&t.gutters,!i.disablePadding&&t.padding,i.hasSecondaryAction&&t.secondaryAction]}})((0,o.default)(({theme:e})=>({display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",width:"100%",boxSizing:"border-box",textAlign:"left",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>!e.disablePadding&&e.dense,style:{paddingTop:4,paddingBottom:4}},{props:({ownerState:e})=>!e.disablePadding&&!e.disableGutters,style:{paddingLeft:16,paddingRight:16}},{props:({ownerState:e})=>!e.disablePadding&&!!e.secondaryAction,style:{paddingRight:48}},{props:({ownerState:e})=>!!e.secondaryAction,style:{[`& > .${m.root}`]:{paddingRight:48}}},{props:{alignItems:"flex-start"},style:{alignItems:"flex-start"}},{props:({ownerState:e})=>e.divider,style:{borderBottom:`1px solid ${(e.vars||e).palette.divider}`,backgroundClip:"padding-box"}},{props:({ownerState:e})=>e.button,style:{transition:e.transitions.create("background-color",{duration:e.transitions.duration.shortest}),"&:hover":{textDecoration:"none",backgroundColor:(e.vars||e).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}}}},{props:({ownerState:e})=>e.hasSecondaryAction,style:{paddingRight:48}}]}))),C=(0,r.styled)("li",{name:"MuiListItem",slot:"Container"})({position:"relative"}),j=t.forwardRef(function(e,r){let o=(0,a.useDefaultProps)({props:e,name:"MuiListItem"}),{alignItems:h="center",children:f,className:m,component:x,components:y={},componentsProps:j={},ContainerComponent:w="li",ContainerProps:{className:S,...M}={},dense:R=!1,disableGutters:L=!1,disablePadding:k=!1,divider:I=!1,secondaryAction:A,slotProps:z={},slots:H={},...P}=o,O=t.useContext(c.default),E=t.useMemo(()=>({dense:R||O.dense||!1,alignItems:h,disableGutters:L}),[h,O.dense,R,L]),T=t.useRef(null),B=t.Children.toArray(f),G=B.length&&(0,l.default)(B[B.length-1],["ListItemSecondaryAction"]),_={...o,alignItems:h,dense:E.dense,disableGutters:L,disablePadding:k,divider:I,hasSecondaryAction:G},D=(e=>{let{alignItems:t,classes:i,dense:n,disableGutters:r,disablePadding:o,divider:a,hasSecondaryAction:l}=e;return(0,s.default)({root:["root",n&&"dense",!r&&"gutters",!o&&"padding",a&&"divider","flex-start"===t&&"alignItemsFlexStart",l&&"secondaryAction"],container:["container"],secondaryAction:["secondaryAction"]},p,i)})(_),N=(0,d.default)(T,r),[V,Z]=(0,u.default)("secondaryAction",{elementType:b,externalForwardedProps:{slots:H,slotProps:z},ownerState:_,className:D.secondaryAction}),F=H.root||y.Root||v,K=z.root||j.root||{},q={className:(0,i.default)(D.root,K.className,m),...P},U=x||"li";return G?(U=q.component||x?U:"div","li"===w&&("li"===U?U="div":"li"===q.component&&(q.component="div")),(0,g.jsx)(c.default.Provider,{value:E,children:(0,g.jsxs)(C,{as:w,className:(0,i.default)(D.container,S),ref:N,ownerState:_,...M,children:[(0,g.jsx)(F,{...K,...!(0,n.default)(F)&&{as:U,ownerState:{..._,...K.ownerState}},...q,children:B}),B.pop()]})})):(0,g.jsx)(c.default.Provider,{value:E,children:(0,g.jsxs)(F,{...K,as:U,ref:N,...!(0,n.default)(F)&&{ownerState:{..._,...K.ownerState}},...q,children:[B,A&&(0,g.jsx)(V,{...Z,children:A})]})})});e.s(["default",0,j],915688)},197469,e=>{"use strict";var t=e.i(876761);function i(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12 16L6 10H18L12 16Z"},child:[]}]})(e)}function s(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12 8L18 14H6L12 8Z"},child:[]}]})(e)}function n(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M3 3H21C21.5523 3 22 3.44772 22 4V20C22 20.5523 21.5523 21 21 21H3C2.44772 21 2 20.5523 2 20V4C2 3.44772 2.44772 3 3 3ZM4 5V19H20V5H4ZM12 15H18V17H12V15ZM8.66685 12L5.83842 9.17157L7.25264 7.75736L11.4953 12L7.25264 16.2426L5.83842 14.8284L8.66685 12Z"},child:[]}]})(e)}function r(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M18 3C19.6569 3 21 4.34315 21 6C21 7.65685 19.6569 9 18 9H15C13.6941 9 12.5831 8.16562 12.171 7.0009L11 7C9.9 7 9 7.9 9 9L9.0009 9.17102C10.1656 9.58312 11 10.6941 11 12C11 13.3059 10.1656 14.4169 9.0009 14.829L9 15C9 16.1 9.9 17 11 17L12.1707 17.0001C12.5825 15.8349 13.6937 15 15 15H18C19.6569 15 21 16.3431 21 18C21 19.6569 19.6569 21 18 21H15C13.6941 21 12.5831 20.1656 12.171 19.0009L11 19C8.79 19 7 17.21 7 15H5C3.34315 15 2 13.6569 2 12C2 10.3431 3.34315 9 5 9H7C7 6.79086 8.79086 5 11 5L12.1707 5.00009C12.5825 3.83485 13.6937 3 15 3H18ZM18 17H15C14.4477 17 14 17.4477 14 18C14 18.5523 14.4477 19 15 19H18C18.5523 19 19 18.5523 19 18C19 17.4477 18.5523 17 18 17ZM8 11H5C4.44772 11 4 11.4477 4 12C4 12.5523 4.44772 13 5 13H8C8.55228 13 9 12.5523 9 12C9 11.4477 8.55228 11 8 11ZM18 5H15C14.4477 5 14 5.44772 14 6C14 6.55228 14.4477 7 15 7H18C18.5523 7 19 6.55228 19 6C19 5.44772 18.5523 5 18 5Z"},child:[]}]})(e)}function o(e){return(0,t.GenIcon)({tag:"svg",attr:{viewBox:"0 0 24 24",fill:"currentColor"},child:[{tag:"path",attr:{d:"M12.0049 22.0027C6.48204 22.0027 2.00488 17.5256 2.00488 12.0027C2.00488 6.4799 6.48204 2.00275 12.0049 2.00275C17.5277 2.00275 22.0049 6.4799 22.0049 12.0027C22.0049 17.5256 17.5277 22.0027 12.0049 22.0027ZM12.0049 20.0027C16.4232 20.0027 20.0049 16.421 20.0049 12.0027C20.0049 7.58447 16.4232 4.00275 12.0049 4.00275C7.5866 4.00275 4.00488 7.58447 4.00488 12.0027C4.00488 16.421 7.5866 20.0027 12.0049 20.0027ZM7.00488 9.00275L10.0049 5.50275L13.0049 9.00275H11.0049V13.0027H9.00488V9.00275H7.00488ZM17.0049 15.0027L14.0049 18.5027L11.0049 15.0027H13.0049V11.0027H15.0049V15.0027H17.0049Z"},child:[]}]})(e)}e.s(["RiArrowDownSFill",()=>i,"RiArrowUpSFill",()=>s,"RiMindMap",()=>r,"RiSwapLine",()=>o,"RiTerminalBoxLine",()=>n])},411972,e=>{"use strict";var t=e.i(991047),i=e.i(283276),s=e.i(242397),n=e.i(572537),r=e.i(86280),o=e.i(915688),a=e.i(721394),l=e.i(367745),d=e.i(197469);function u({docsUrl:e="https://docs.datarecce.io/get-started/#prepare-dbt-artifacts",onStartClick:n}={}){return(0,t.jsx)(a.default,{sx:{flex:1,height:"100%",minHeight:0,m:1,p:2,bgcolor:"iochmara.50",borderRadius:2,boxShadow:2,justifyContent:"center"},children:(0,t.jsxs)(a.default,{sx:{width:"80%",overflowY:"auto",gap:3,px:4,pb:4},alignSelf:"center",children:[(0,t.jsxs)(a.default,{alignItems:"center",spacing:2,children:[(0,t.jsx)(i.default,{sx:{p:1,bgcolor:"background.paper",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",boxShadow:2},children:(0,t.jsx)(i.default,{component:d.RiTerminalBoxLine,sx:{fontSize:28,color:"iochmara.500"}})}),(0,t.jsx)(l.default,{variant:"h5",sx:{mt:2},children:"Wait, there's more!"}),(0,t.jsxs)(l.default,{sx:{textAlign:"center"},children:["Recce is currently running in"," ",(0,t.jsx)(l.default,{component:"span",sx:{fontWeight:"bold"},children:"limited functionality mode"})," ","so you can run queries but"," ",(0,t.jsx)(l.default,{component:"span",sx:{fontWeight:"bold"},children:"can't diff the results yet!"})]})]}),(0,t.jsxs)(a.default,{spacing:1,children:[(0,t.jsx)(l.default,{children:"To unlock the full power of Recce, set up a base environment of dbt artifacts for comparison."}),(0,t.jsx)(l.default,{children:"Once configured, you'll be able to:"}),(0,t.jsxs)(r.default,{sx:{listStyleType:"disc",pl:2},children:[(0,t.jsx)(o.default,{sx:{display:"list-item",p:0},children:(0,t.jsx)(l.default,{children:"Run statistical data diffs"})}),(0,t.jsx)(o.default,{sx:{display:"list-item",p:0},children:(0,t.jsx)(l.default,{children:"Run query diffs"})}),(0,t.jsx)(o.default,{sx:{display:"list-item",p:0},children:(0,t.jsx)(l.default,{children:"Save checks to your Recce Checklist"})}),(0,t.jsx)(o.default,{sx:{display:"list-item",p:0},children:(0,t.jsx)(l.default,{children:"...and more!"})})]}),(0,t.jsx)(l.default,{children:"Take the next step toward better data impact assessment."})]}),(0,t.jsx)(a.default,{sx:{width:"100%",mt:3},children:(0,t.jsx)(s.default,{color:"iochmara",variant:"contained",size:"large",onClick:()=>{n?n():window.open(e,"_blank")},children:"Start Now"})})]})})}function c({docsUrl:e="https://docs.datarecce.io/configure-diff/"}={}){return(0,t.jsxs)(a.default,{direction:"row",spacing:"10px",alignItems:"flex-start",children:[(0,t.jsx)(i.default,{component:d.RiMindMap,sx:{color:"iochmara.main",fontSize:20}}),(0,t.jsxs)(a.default,{spacing:"5px",children:[(0,t.jsxs)(l.default,{sx:{fontWeight:700},children:["Single Environment Mode"," ",(0,t.jsx)(l.default,{component:"span",sx:{color:"error.main",fontWeight:600},children:"Limited Functionality"})]}),(0,t.jsx)(l.default,{sx:{fontSize:"0.875rem"},children:"Single Environment Mode allows you to explore your dbt project but won't show data comparisons between environments."}),(0,t.jsx)(l.default,{sx:{fontSize:"0.875rem"},children:"To set up full environment comparison:"}),(0,t.jsxs)(r.default,{sx:{pl:2},children:[(0,t.jsx)(o.default,{sx:{p:0,display:"list-item"},children:(0,t.jsx)(l.default,{sx:{fontSize:"0.875rem"},children:"Run `recce debug` for setup assistance"})}),(0,t.jsx)(o.default,{sx:{p:0,display:"list-item"},children:(0,t.jsxs)(l.default,{sx:{fontSize:"0.875rem"},children:["Visit"," ",(0,t.jsx)(n.default,{sx:{color:"primary.main",fontWeight:500},target:"_blank",href:e,children:"docs"})," ","for configuration details"]})})]})]})]})}e.s(["BaseEnvironmentSetupGuide",()=>u,"BaseEnvironmentSetupNotification",()=>c])},149238,950655,e=>{"use strict";var t=e.i(991047),i=e.i(283276),s=e.i(721394),n=e.i(691838),r=e.i(367745),o=e.i(600943),a=e.i(492192),l=e.i(280490),d=e.i(242397),u=e.i(50264),c=e.i(144899),h=e.i(564476),f=e.i(765165),p=e.i(278013),m=e.i(488193);let x=e=>{let{defaultValues:s,suggestionList:a,onValuesChange:l,className:x}=e,[g,y]=(0,o.useState)(s??[]),[b,v]=(0,o.useState)(""),[C,j]=(0,o.useState)(!1),[w,S]=(0,o.useState)(null),M=(0,o.useRef)(null),R=e=>{g.includes(e)||(v(""),y([...g,e]),l([...g,e]))},L=b.toLowerCase(),k=a?.filter(e=>""===L||e.toLowerCase().includes(L)).filter(e=>!g.includes(e))??[],I=()=>{switch(e.size){case"2xs":return"0.625rem";case"xs":return"0.75rem";default:return"0.875rem"}};return(0,t.jsxs)(i.default,{sx:{display:"flex",alignItems:"center",width:e.width},className:x,children:[(0,t.jsxs)(d.default,{variant:"outlined",color:"neutral",size:"small",onClick:e=>{S(e.currentTarget),setTimeout(()=>M.current?.focus(),100)},disabled:e.disabled,sx:{width:"100%",height:(()=>{switch(e.size){case"2xs":return 24;case"xs":return 28;case"sm":return 32;default:return 36}})(),justifyContent:"space-between",textTransform:"none",fontSize:I(),fontWeight:"normal",px:1},children:[(0,t.jsx)(r.default,{component:"span",sx:{fontSize:I(),color:g.length>0?"text.primary":"text.secondary",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:(g.length>1?`${g.length} ${e.unitName}s selected`:1===g.length?g[0]:"")||e.placeholder||""}),g.length>0&&(0,t.jsx)(r.default,{component:"span",onClick:e=>{e.stopPropagation(),v(""),y([]),l([])},sx:{fontSize:I(),color:"primary.main",cursor:"pointer",ml:1,"&:hover":{textDecoration:"underline"}},children:"Clear"})]}),(0,t.jsxs)(f.default,{anchorEl:w,open:!!w,onClose:()=>{S(null),j(!1)},slotProps:{paper:{sx:{width:e.width,fontSize:I()}}},children:[(0,t.jsx)(i.default,{sx:{px:.5,py:.5},children:(0,t.jsxs)(i.default,{sx:{border:"1px solid",borderColor:"divider",borderRadius:1,p:.5,display:"flex",flexWrap:"wrap",gap:.5,alignItems:"center"},className:"no-track-pii-safe",children:[g.map(e=>(0,t.jsx)(u.default,{label:e,size:"small",onDelete:()=>{y(g.filter(t=>t!==e)),l(g.filter(t=>t!==e))},sx:{height:22,fontSize:I()}},e)),(0,t.jsx)(h.default,{inputRef:M,placeholder:"Filter or add custom keys",value:b,onChange:e=>{v(e.target.value),j(!0)},onKeyDown:e=>{"Escape"!==e.key&&e.stopPropagation();let t=e.target,i=t.value.trim().replace(",","");switch(e.key){case",":case"Enter":e.preventDefault(),i&&(R(i),v(""));break;case"Backspace":""===t.value&&g.length>0&&(y(g.slice(0,-1)),l(g.slice(0,-1)))}},onBlur:()=>{M.current&&C&&M.current.focus()},sx:{flex:1,minWidth:120,fontSize:I(),"& input":{p:.5}}})]})}),(0,t.jsx)(c.default,{}),""!==b&&!a?.includes(b)&&(0,t.jsxs)(p.default,{onClick:()=>{R(b),j(!1)},sx:{fontSize:I()},children:["Add '",b,"' to the list"]}),k.slice(0,10).map((e,i)=>(0,t.jsx)(p.default,{onClick:()=>{R(e)},sx:{fontSize:I()},children:e},m.default.uniqueId(`option-${i}`))),k.length>10&&(0,t.jsx)(n.default,{title:"Please use filter to find more items",placement:"top",children:(0,t.jsxs)(i.default,{px:1.5,py:.5,color:"text.secondary",fontSize:"8pt",children:["and ",k.length-10," more items..."]})})]})]})};function g(e,t){return e?.organization_name&&e.web_url?`${e.web_url}/organizations/${e.organization_name}/settings`:t}e.s(["QueryForm",0,({defaultPrimaryKeys:e,onPrimaryKeysChange:d,...u})=>{let{lineageGraph:c,isActionAvailable:h}=(0,l.useLineageGraphContext)(),f=(0,o.useMemo)(()=>{if(!c)return[];let e=new Set;for(let t in c.nodes){let i=c.nodes[t];Object.entries({...i.data.data.base?.columns??{},...i.data.data.current?.columns??{}}).forEach(([t,i])=>{i?.unique&&e.add(t)})}return Array.from(e).sort()},[c]);return(0,t.jsx)(i.default,{sx:{display:"flex"},...u,children:(0,t.jsxs)(s.default,{spacing:0,sx:{m:"0 0.5rem"},children:[(0,t.jsxs)(s.default,{direction:"row",alignItems:"center",spacing:.5,children:[(0,t.jsx)(r.default,{component:"label",sx:{fontSize:"0.625rem",color:"text.secondary"},children:"Diff with Primary Key(s) (suggested)"}),(0,t.jsx)(n.default,{title:"Provide a primary key to perform query diff in data warehouse and only return changed rows.",placement:"bottom-end",children:(0,t.jsx)(i.default,{component:"span",sx:{display:"flex",color:"grey.600",cursor:"help"},children:(0,t.jsx)(a.PiInfo,{fontSize:"0.75rem"})})})]}),(0,t.jsx)(x,{className:"no-track-pii-safe",unitName:"key",defaultValues:e,suggestionList:f,onValuesChange:d,size:"2xs",width:"240px",placeholder:"Select or type to add keys",disabled:!h("query_diff_with_primary_key")})]})})}],149238),e.s(["getSettingsUrl",()=>g],950655)}]);
|