@devtable/settings-form 11.0.1 → 11.0.2
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/settings-form.es.js
CHANGED
|
@@ -6180,7 +6180,7 @@ function ii({
|
|
|
6180
6180
|
] })
|
|
6181
6181
|
] });
|
|
6182
6182
|
}
|
|
6183
|
-
const si = () => import("./package-
|
|
6183
|
+
const si = () => import("./package-84a153e2.mjs").then(({
|
|
6184
6184
|
version: e
|
|
6185
6185
|
}) => (console.log(`[@devtable/dashboard] version: ${e}`), e));
|
|
6186
6186
|
export {
|
|
@@ -41,4 +41,4 @@ Check the top-level render call using <`+_+">.")}return S}}function cn(o,S){{if(
|
|
|
41
41
|
`,empty:!0}):e.length===1&&e[0].content===""&&(e[0].content=`
|
|
42
42
|
`,e[0].empty=!0)},Mt=function(e,t){var n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},mr=function(e){for(var t=[[]],n=[e],r=[0],i=[e.length],s=0,l=0,d=[],p=[d];l>-1;){for(;(s=r[l]++)<i[l];){var g=void 0,m=t[l],c=n[l],u=c[s];if(typeof u=="string"?(m=l>0?m:["plain"],g=u):(m=Mt(m,u.type),u.alias&&(m=Mt(m,u.alias)),g=u.content),typeof g!="string"){l++,t.push(m),n.push(g),r.push(0),i.push(g.length);continue}var h=g.split(hr),y=h.length;d.push({types:m,content:h[0]});for(var b=1;b<y;b++)zt(d),p.push(d=[]),d.push({types:m,content:h[b]})}l--,t.pop(),n.pop(),r.pop(),i.pop()}return zt(d),p},br=function(e,t){var n=e.plain,r=Object.create(null),i=e.styles.reduce(function(s,l){var d=l.languages,p=l.style;return d&&!d.includes(t)||l.types.forEach(function(g){var m=ye({},s[g],p);s[g]=m}),s},r);return i.root=n,i.plain=ye({},n,{backgroundColor:null}),i};function Gt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)===-1&&(n[r]=e[r]);return n}var vr=function(e){function t(){for(var n=this,r=[],i=arguments.length;i--;)r[i]=arguments[i];e.apply(this,r),Ue(this,"getThemeDict",function(s){if(n.themeDict!==void 0&&s.theme===n.prevTheme&&s.language===n.prevLanguage)return n.themeDict;n.prevTheme=s.theme,n.prevLanguage=s.language;var l=s.theme?br(s.theme,s.language):void 0;return n.themeDict=l}),Ue(this,"getLineProps",function(s){var l=s.key,d=s.className,p=s.style,g=Gt(s,["key","className","style","line"]),m=g,c=ye({},m,{className:"token-line",style:void 0,key:void 0}),u=n.getThemeDict(n.props);return u!==void 0&&(c.style=u.plain),p!==void 0&&(c.style=c.style!==void 0?ye({},c.style,p):p),l!==void 0&&(c.key=l),d&&(c.className+=" "+d),c}),Ue(this,"getStyleForToken",function(s){var l=s.types,d=s.empty,p=l.length,g=n.getThemeDict(n.props);if(g!==void 0){{if(p===1&&l[0]==="plain")return d?{display:"inline-block"}:void 0;if(p===1&&!d)return g[l[0]]}var m=d?{display:"inline-block"}:{},c=l.map(function(u){return g[u]});return Object.assign.apply(Object,[m].concat(c))}}),Ue(this,"getTokenProps",function(s){var l=s.key,d=s.className,p=s.style,g=s.token,m=Gt(s,["key","className","style","token"]),c=m,u=ye({},c,{className:"token "+g.types.join(" "),children:g.content,style:n.getStyleForToken(g),key:void 0});return p!==void 0&&(u.style=u.style!==void 0?ye({},u.style,p):p),l!==void 0&&(u.key=l),d&&(u.className+=" "+d),u}),Ue(this,"tokenize",function(s,l,d,p){var g={code:l,grammar:d,language:p,tokens:[]};s.hooks.run("before-tokenize",g);var m=g.tokens=s.tokenize(g.code,g.grammar,g.language);return s.hooks.run("after-tokenize",g),m})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var r=this.props,i=r.Prism,s=r.language,l=r.code,d=r.children,p=this.getThemeDict(this.props),g=i.languages[s],m=g!==void 0?this.tokenize(i,l,g,s):[l],c=mr(m);return d({tokens:c,className:"prism-code language-"+s,style:p!==void 0?p.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(k.Component);const yr=vr;function Ut({copied:e}){return k.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:"1rem",height:"1rem"}},e?k.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}):k.createElement("path",{d:"M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM11 2V2.25C11 2.66421 10.6642 3 10.25 3H4.75C4.33579 3 4 2.66421 4 2.25V2H3.5C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V2.5C12 2.22386 11.7761 2 11.5 2H11Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}Ut.displayName="@mantine/prism/CopyIcon";const Sr=e=>({plain:{color:e.colors.gray[4],backgroundColor:e.colors.dark[8]},styles:[{types:["comment"],style:{color:e.colors.gray[6]}},{types:["string","inserted","selector","atrule"],style:{color:e.colors.teal[4]}},{types:["number"],style:{color:e.colors.blue[4]}},{types:["builtin","char","constant","function"],style:{color:e.colors.orange[5]}},{types:["punctuation"],style:{color:e.colors.gray[5]}},{types:["variable"],style:{color:e.colors.gray[5]}},{types:["class-name","attr-name"],style:{color:e.colors.yellow[5]}},{types:["tag","deleted"],style:{color:e.colors.red[6]}},{types:["operator"],style:{color:e.colors.gray[5]}},{types:["boolean"],style:{color:e.colors.red[6]}},{types:["keyword"],style:{color:e.colors.indigo[3]}},{types:["doctype"],style:{color:e.colors.gray[5]}},{types:["url"],style:{color:e.colors.gray[5]}}]}),xr=e=>({plain:{color:e.colors.gray[9],backgroundColor:e.fn.rgba(e.colors.gray[0],.65)},styles:[{types:["comment"],style:{color:e.colors.gray[6]}},{types:["string","inserted"],style:{color:e.colors.indigo[9]}},{types:["number"],style:{color:e.colors.blue[7]}},{types:["builtin","char","constant","function","selector","atrule"],style:{color:e.colors.lime[9]}},{types:["punctuation"],style:{color:e.colors.gray[7]}},{types:["variable"],style:{color:e.colors.violet[9]}},{types:["attr-name"],style:{color:e.colors.green[9]}},{types:["class-name"],style:{color:e.colors.red[9]}},{types:["tag","deleted"],style:{color:e.colors.violet[9]}},{types:["operator"],style:{color:e.colors.red[9]}},{types:["boolean"],style:{color:e.colors.red[9]}},{types:["keyword"],style:{color:e.colors.red[9]}},{types:["doctype"],style:{color:e.colors.gray[7]}},{types:["url"],style:{color:e.colors.gray[7]}}]}),wr=(e,t)=>t==="dark"?Sr(e):xr(e);var Er=f.createStyles((e,{colorScheme:t,native:n,maxLineSize:r,radius:i})=>({scrollArea:{},root:{position:"relative"},code:{boxSizing:"border-box",position:"relative",fontFamily:e.fontFamilyMonospace,lineHeight:1.7,fontSize:f.rem(13),overflowX:n?"auto":void 0,borderRadius:e.fn.radius(i),padding:`${e.spacing.sm} 0`,"&.mantine-Prism-code":{marginTop:0,marginBottom:0}},copy:{position:"absolute",top:e.spacing.xs,right:e.dir==="ltr"?e.spacing.xs:"unset",left:e.dir==="rtl"?e.spacing.xs:"unset",zIndex:2,"&, &:hover":{backgroundColor:t==="dark"?e.colors.dark[8]:e.colors.gray[0]}},line:{display:"flex",width:"100%",padding:`0 ${e.spacing.md}`},lineNumber:{color:t==="dark"?e.colors.dark[4]:e.colors.gray[4],textAlign:"right",width:`calc(8 * ${f.rem(r)})`,marginRight:e.dir==="ltr"?e.spacing.xs:void 0,marginLeft:e.dir==="rtl"?e.spacing.xs:void 0,userSelect:"none"},lineContent:{width:"100%"}}));const _r=Er;var Ar=Object.defineProperty,Tr=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Ht=(e,t,n)=>t in e?Ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,De=(e,t)=>{for(var n in t||(t={}))qt.call(t,n)&&Ht(e,n,t[n]);if(et)for(var n of et(t))Yt.call(t,n)&&Ht(e,n,t[n]);return e},qe=(e,t)=>Tr(e,kr(t)),jr=(e,t)=>{var n={};for(var r in e)qt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&et)for(var r of et(e))t.indexOf(r)<0&&Yt.call(e,r)&&(n[r]=e[r]);return n};const Cr={noCopy:!1,copyLabel:"Copy code",copiedLabel:"Copied",withLineNumbers:!1,trim:!0,highlightLines:{},scrollAreaComponent:f.ScrollArea,getPrismTheme:wr},pt=k.forwardRef((e,t)=>{const n=f.useComponentDefaultProps("Prism",Cr,e),{className:r,children:i,language:s,noCopy:l,classNames:d,styles:p,copyLabel:g,copiedLabel:m,withLineNumbers:c,highlightLines:u,scrollAreaComponent:h,colorScheme:y,trim:b,unstyled:w,radius:E,getPrismTheme:x,variant:A}=n,O=jr(n,["className","children","language","noCopy","classNames","styles","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","colorScheme","trim","unstyled","radius","getPrismTheme","variant"]),q=b&&typeof i=="string"?i.trim():i,X=q.split(`
|
|
43
43
|
`).length.toString().length,P=f.useMantineTheme(),Y=mn.useClipboard(),B=y||P.colorScheme,{classes:J,cx:F}=_r({colorScheme:B,native:h!==f.ScrollArea,maxLineSize:X,radius:E},{name:"Prism",classNames:d,styles:p,unstyled:w,variant:A});return k.createElement(f.Box,qe(De({className:F(J.root,r),ref:t},O),{translate:"no"}),!l&&k.createElement(f.Tooltip,{label:Y.copied?m:g,position:"left",withArrow:!0,arrowSize:6,offset:6,color:Y.copied?"teal":void 0,unstyled:w},k.createElement(f.ActionIcon,{className:J.copy,"aria-label":Y.copied?m:g,onClick:()=>Y.copy(q),unstyled:w},k.createElement(Ut,{copied:Y.copied}))),k.createElement(yr,qe(De({},gr),{theme:x(P,B),code:q,language:s}),({className:K,style:G,tokens:Q,getLineProps:M,getTokenProps:ne})=>k.createElement(h,{className:J.scrollArea,dir:"ltr"},k.createElement("pre",{className:F(J.code,K),style:G,dir:"ltr"},Q.map((Z,ee)=>{var le,ue,de,Se;if(ee===Q.length-1&&Z.length===1&&Z[0].content===`
|
|
44
|
-
`)return null;const re=ee+1,pe=M({line:Z,key:ee}),we=re in u,fe=B==="dark"?P.fn.rgba(P.fn.themeColor((le=u[re])==null?void 0:le.color,9),.25):P.fn.themeColor((ue=u[re])==null?void 0:ue.color,0);return k.createElement("div",qe(De({},pe),{className:F(J.line,pe.className),style:De({},we?{backgroundColor:fe}:null)}),c&&k.createElement("div",{className:J.lineNumber,style:{color:we?P.fn.themeColor((de=u[re])==null?void 0:de.color,B==="dark"?5:8):void 0}},((Se=u[re])==null?void 0:Se.label)||re),k.createElement("div",{className:J.lineContent},Z.map((He,Re)=>{var Le,Ee;const Ne=ne({token:He,key:Re});return k.createElement("span",qe(De({},Ne),{style:qe(De({},Ne.style),{color:we?P.fn.themeColor((Le=u[re])==null?void 0:Le.color,B==="dark"?5:8):(Ee=Ne==null?void 0:Ne.style)==null?void 0:Ee.color})}))})))}).filter(Boolean)))))});pt.displayName="@mantine/prism/Prism";var Or=f.createStyles((e,{radius:t})=>({tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:f.rem(34),border:`${f.rem(1)} solid ${e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[3]}`,borderBottom:0,fontSize:e.fontSizes.sm,color:e.colorScheme==="dark"?e.colors.dark[1]:e.colors.gray[7],backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.radius.sm},"&:not(:first-of-type)":{borderLeft:0},"&:last-of-type":{borderTopRightRadius:e.radius.sm},"&:hover":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.colors.gray[0]},"&[data-active]":{color:e.colorScheme==="dark"?e.white:e.black,backgroundColor:e.colorScheme==="dark"?e.colors.dark[8]:e.fn.rgba(e.colors.gray[0],.65),"&::before":{backgroundColor:"transparent"}}},prism:{borderRadius:e.fn.radius(t),borderTopRightRadius:0,borderTopLeftRadius:0,border:`${f.rem(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`,borderTop:0,overflow:"hidden"},code:{borderTopRightRadius:0,borderTopLeftRadius:0,border:0}}));const Vt=Or;var Ir=Object.defineProperty,Dr=Object.defineProperties,Rr=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Zt=(e,t,n)=>t in e?Ir(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xt=(e,t)=>{for(var n in t||(t={}))Wt.call(t,n)&&Zt(e,n,t[n]);if(tt)for(var n of tt(t))Kt.call(t,n)&&Zt(e,n,t[n]);return e},Lr=(e,t)=>Dr(e,Rr(t)),Nr=(e,t)=>{var n={};for(var r in e)Wt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&tt)for(var r of tt(e))t.indexOf(r)<0&&Kt.call(e,r)&&(n[r]=e[r]);return n};function $r(e){const{classes:t}=Vt({radius:e.radius});return k.createElement(f.Tabs,Lr(Xt({},e),{variant:"outline",classNames:{tab:t.tab},translate:"no"}))}function Fr(e){var t=e,{language:n,children:r,radius:i,noCopy:s,copyLabel:l,copiedLabel:d,withLineNumbers:p,highlightLines:g,scrollAreaComponent:m,trim:c,getPrismTheme:u,colorScheme:h,variant:y}=t,b=Nr(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme","variant"]);const{classes:w}=Vt({radius:i});return k.createElement(f.Tabs.Panel,Xt({},b),k.createElement(pt,{language:n,classNames:{root:w.prism,code:w.code},radius:i,noCopy:s,copyLabel:l,copiedLabel:d,withLineNumbers:p,highlightLines:g,scrollAreaComponent:m,trim:c,getPrismTheme:u,colorScheme:h,variant:y},r))}const Ye=pt;Ye.Tabs=$r,Ye.Tab=f.Tabs.Tab,Ye.TabsList=f.Tabs.List,Ye.Panel=Fr;function Qt({id:e,onSuccess:t,styles:n=Ie}){const r=_e.useModals(),i=async()=>{if(e){D.showNotification({id:"for-deleting",title:"Pending",message:"Deleting SQL Snippet...",loading:!0});try{await W.sql_snippet.delete(e),D.updateNotification({id:"for-deleting",title:"Successful",message:`SQL Snippet [${e}] is deleted`,color:"green"}),t()}catch(l){D.updateNotification({id:"for-deleting",title:"Failed",message:l.message,color:"red"})}}},s=()=>r.openConfirmModal({title:"Delete this SQL Snippet?",labels:{confirm:"Confirm",cancel:"Cancel"},onCancel:()=>console.log("Cancel"),onConfirm:i,confirmProps:{color:"red"}});return a.jsx(f.Button,{size:n.button.size,color:"red",onClick:s,leftIcon:a.jsx(ie.Trash,{size:20}),children:"Delete"})}function Pr({content:e}){return a.jsxs(f.HoverCard,{width:"60vw",shadow:"md",children:[a.jsx(f.HoverCard.Target,{children:a.jsx(f.ActionIcon,{size:16,children:a.jsx(ce.IconEye,{})})}),a.jsx(f.HoverCard.Dropdown,{children:a.jsx(Ye,{language:"sql",noCopy:!0,withLineNumbers:!0,children:e})})]})}function Br({styles:e=Ie,config:t}){Ae(t);const{data:n=[],loading:r,refresh:i}=he.useRequest(async()=>{const{data:s}=await W.sql_snippet.list({pagination:{page:1,pagesize:10}});return s},{refreshDeps:[]});return a.jsxs(a.Fragment,{children:[a.jsx(f.Group,{pt:e.spacing,position:"right",children:a.jsx(Pt,{onSuccess:i})}),a.jsxs(f.Box,{mt:e.spacing,sx:{position:"relative"},children:[a.jsx(f.LoadingOverlay,{visible:r}),a.jsxs(f.Table,{horizontalSpacing:e.spacing,verticalSpacing:e.spacing,fontSize:e.size,highlightOnHover:!0,children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{children:"Name"}),a.jsx("th",{}),a.jsx("th",{children:"Created At"}),a.jsx("th",{children:"Updated At"}),a.jsx("th",{children:"Action"})]})}),a.jsx("tbody",{children:n.map(s=>{const{id:l,content:d,create_time:p,update_time:g}=s;return a.jsxs("tr",{children:[a.jsx("td",{children:l}),a.jsx("td",{width:50,children:a.jsx(Pr,{content:d})}),a.jsx("td",{width:200,children:p}),a.jsx("td",{width:200,children:g}),a.jsx("td",{width:400,children:a.jsxs(f.Group,{position:"left",children:[a.jsx(Bt,{...s,onSuccess:i}),a.jsx(Qt,{id:l,onSuccess:i})]})})]},l)})})]})]})]})}const zr=()=>Promise.resolve().then(()=>Mr).then(({version:e})=>(console.log(`[@devtable/dashboard] version: ${e}`),e)),Mr=Object.freeze(Object.defineProperty({__proto__:null,version:"11.0.
|
|
44
|
+
`)return null;const re=ee+1,pe=M({line:Z,key:ee}),we=re in u,fe=B==="dark"?P.fn.rgba(P.fn.themeColor((le=u[re])==null?void 0:le.color,9),.25):P.fn.themeColor((ue=u[re])==null?void 0:ue.color,0);return k.createElement("div",qe(De({},pe),{className:F(J.line,pe.className),style:De({},we?{backgroundColor:fe}:null)}),c&&k.createElement("div",{className:J.lineNumber,style:{color:we?P.fn.themeColor((de=u[re])==null?void 0:de.color,B==="dark"?5:8):void 0}},((Se=u[re])==null?void 0:Se.label)||re),k.createElement("div",{className:J.lineContent},Z.map((He,Re)=>{var Le,Ee;const Ne=ne({token:He,key:Re});return k.createElement("span",qe(De({},Ne),{style:qe(De({},Ne.style),{color:we?P.fn.themeColor((Le=u[re])==null?void 0:Le.color,B==="dark"?5:8):(Ee=Ne==null?void 0:Ne.style)==null?void 0:Ee.color})}))})))}).filter(Boolean)))))});pt.displayName="@mantine/prism/Prism";var Or=f.createStyles((e,{radius:t})=>({tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:f.rem(34),border:`${f.rem(1)} solid ${e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[3]}`,borderBottom:0,fontSize:e.fontSizes.sm,color:e.colorScheme==="dark"?e.colors.dark[1]:e.colors.gray[7],backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.radius.sm},"&:not(:first-of-type)":{borderLeft:0},"&:last-of-type":{borderTopRightRadius:e.radius.sm},"&:hover":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.colors.gray[0]},"&[data-active]":{color:e.colorScheme==="dark"?e.white:e.black,backgroundColor:e.colorScheme==="dark"?e.colors.dark[8]:e.fn.rgba(e.colors.gray[0],.65),"&::before":{backgroundColor:"transparent"}}},prism:{borderRadius:e.fn.radius(t),borderTopRightRadius:0,borderTopLeftRadius:0,border:`${f.rem(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`,borderTop:0,overflow:"hidden"},code:{borderTopRightRadius:0,borderTopLeftRadius:0,border:0}}));const Vt=Or;var Ir=Object.defineProperty,Dr=Object.defineProperties,Rr=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Zt=(e,t,n)=>t in e?Ir(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xt=(e,t)=>{for(var n in t||(t={}))Wt.call(t,n)&&Zt(e,n,t[n]);if(tt)for(var n of tt(t))Kt.call(t,n)&&Zt(e,n,t[n]);return e},Lr=(e,t)=>Dr(e,Rr(t)),Nr=(e,t)=>{var n={};for(var r in e)Wt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&tt)for(var r of tt(e))t.indexOf(r)<0&&Kt.call(e,r)&&(n[r]=e[r]);return n};function $r(e){const{classes:t}=Vt({radius:e.radius});return k.createElement(f.Tabs,Lr(Xt({},e),{variant:"outline",classNames:{tab:t.tab},translate:"no"}))}function Fr(e){var t=e,{language:n,children:r,radius:i,noCopy:s,copyLabel:l,copiedLabel:d,withLineNumbers:p,highlightLines:g,scrollAreaComponent:m,trim:c,getPrismTheme:u,colorScheme:h,variant:y}=t,b=Nr(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme","variant"]);const{classes:w}=Vt({radius:i});return k.createElement(f.Tabs.Panel,Xt({},b),k.createElement(pt,{language:n,classNames:{root:w.prism,code:w.code},radius:i,noCopy:s,copyLabel:l,copiedLabel:d,withLineNumbers:p,highlightLines:g,scrollAreaComponent:m,trim:c,getPrismTheme:u,colorScheme:h,variant:y},r))}const Ye=pt;Ye.Tabs=$r,Ye.Tab=f.Tabs.Tab,Ye.TabsList=f.Tabs.List,Ye.Panel=Fr;function Qt({id:e,onSuccess:t,styles:n=Ie}){const r=_e.useModals(),i=async()=>{if(e){D.showNotification({id:"for-deleting",title:"Pending",message:"Deleting SQL Snippet...",loading:!0});try{await W.sql_snippet.delete(e),D.updateNotification({id:"for-deleting",title:"Successful",message:`SQL Snippet [${e}] is deleted`,color:"green"}),t()}catch(l){D.updateNotification({id:"for-deleting",title:"Failed",message:l.message,color:"red"})}}},s=()=>r.openConfirmModal({title:"Delete this SQL Snippet?",labels:{confirm:"Confirm",cancel:"Cancel"},onCancel:()=>console.log("Cancel"),onConfirm:i,confirmProps:{color:"red"}});return a.jsx(f.Button,{size:n.button.size,color:"red",onClick:s,leftIcon:a.jsx(ie.Trash,{size:20}),children:"Delete"})}function Pr({content:e}){return a.jsxs(f.HoverCard,{width:"60vw",shadow:"md",children:[a.jsx(f.HoverCard.Target,{children:a.jsx(f.ActionIcon,{size:16,children:a.jsx(ce.IconEye,{})})}),a.jsx(f.HoverCard.Dropdown,{children:a.jsx(Ye,{language:"sql",noCopy:!0,withLineNumbers:!0,children:e})})]})}function Br({styles:e=Ie,config:t}){Ae(t);const{data:n=[],loading:r,refresh:i}=he.useRequest(async()=>{const{data:s}=await W.sql_snippet.list({pagination:{page:1,pagesize:10}});return s},{refreshDeps:[]});return a.jsxs(a.Fragment,{children:[a.jsx(f.Group,{pt:e.spacing,position:"right",children:a.jsx(Pt,{onSuccess:i})}),a.jsxs(f.Box,{mt:e.spacing,sx:{position:"relative"},children:[a.jsx(f.LoadingOverlay,{visible:r}),a.jsxs(f.Table,{horizontalSpacing:e.spacing,verticalSpacing:e.spacing,fontSize:e.size,highlightOnHover:!0,children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{children:"Name"}),a.jsx("th",{}),a.jsx("th",{children:"Created At"}),a.jsx("th",{children:"Updated At"}),a.jsx("th",{children:"Action"})]})}),a.jsx("tbody",{children:n.map(s=>{const{id:l,content:d,create_time:p,update_time:g}=s;return a.jsxs("tr",{children:[a.jsx("td",{children:l}),a.jsx("td",{width:50,children:a.jsx(Pr,{content:d})}),a.jsx("td",{width:200,children:p}),a.jsx("td",{width:200,children:g}),a.jsx("td",{width:400,children:a.jsxs(f.Group,{position:"left",children:[a.jsx(Bt,{...s,onSuccess:i}),a.jsx(Qt,{id:l,onSuccess:i})]})})]},l)})})]})]})]})}const zr=()=>Promise.resolve().then(()=>Mr).then(({version:e})=>(console.log(`[@devtable/dashboard] version: ${e}`),e)),Mr=Object.freeze(Object.defineProperty({__proto__:null,version:"11.0.2"},Symbol.toStringTag,{value:"Module"}));C.APIClient=z,C.APIKeyList=cr,C.AccountList=sr,C.AddAPIKey=Nt,C.AddAccount=Rt,C.AddDataSource=Ot,C.AddSQLSnippet=Pt,C.DataSourceList=tr,C.DefaultApiClient=St,C.DeleteAPIKey=$t,C.DeleteAccount=Lt,C.DeleteDataSource=It,C.DeleteSQLSnippet=Qt,C.FacadeApiClient=xt,C.Login=lr,C.SQLSnippetList=Br,C.UpdateSQLSnippet=Bt,C.configureAPIClient=Ae,C.facadeApiClient=wt,C.getVersion=zr,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})});
|
package/dist/stats.html
CHANGED
|
@@ -6157,7 +6157,7 @@ var drawChart = (function (exports) {
|
|
|
6157
6157
|
</script>
|
|
6158
6158
|
<script>
|
|
6159
6159
|
/*<!--*/
|
|
6160
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"settings-form.umd.js","children":[{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules/react","children":[{"uid":"766b-153","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"766b-155","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"766b-159","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"Users/leto/github/merico-dev/table","children":[{"name":"node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"766b-157","name":"react-jsx-runtime.production.min.js"},{"uid":"766b-161","name":"react-jsx-runtime.development.js"}]},{"uid":"766b-163","name":"jsx-runtime.js"}]},{"name":"dayjs/esm","children":[{"uid":"766b-181","name":"constant.js"},{"name":"locale/en.js","uid":"766b-183"},{"uid":"766b-185","name":"utils.js"},{"uid":"766b-187","name":"index.js"}]},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"766b-251"},{"name":"themes/duotoneDark/index.js","uid":"766b-253"},{"name":"dist/index.js","uid":"766b-255"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"766b-257","name":"CopyIcon.js"},{"uid":"766b-259","name":"prism-theme.js"},{"uid":"766b-261","name":"Prism.styles.js"},{"uid":"766b-263","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"766b-265","name":"PrismTabs.styles.js"},{"uid":"766b-267","name":"PrismTabs.js"}]},{"uid":"766b-269","name":"index.js"}]}]},{"name":"shared/src/api-client","children":[{"uid":"766b-165","name":"utils.ts"},{"uid":"766b-167","name":"default-api-client.ts"},{"uid":"766b-169","name":"facade-api-client.ts"}]}]},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"766b-171","name":"request.ts"},{"uid":"766b-173","name":"account.ts"},{"uid":"766b-175","name":"api-key.ts"},{"uid":"766b-177","name":"datasource.ts"},{"uid":"766b-179","name":"role.ts"},{"uid":"766b-189","name":"sql_snippet.ts"},{"uid":"766b-191","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"766b-193","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"766b-195","name":"database.tsx"},{"uid":"766b-201","name":"http.tsx"}]},{"uid":"766b-203","name":"db-permission-tips.tsx"},{"uid":"766b-205","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"766b-197","name":"function-string-editor.tsx"},{"uid":"766b-199","name":"index.tsx"}]},{"uid":"766b-215","name":"data-source-icon.tsx"}]},{"uid":"766b-209","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"766b-211"},{"uid":"766b-213","name":"index.tsx"}]},{"uid":"766b-217","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"766b-207"},{"name":"account","children":[{"uid":"766b-219","name":"role-selector.tsx"},{"uid":"766b-221","name":"styles.ts"},{"uid":"766b-223","name":"add-account.tsx"},{"uid":"766b-225","name":"delete-account.tsx"},{"uid":"766b-227","name":"edit-account.tsx"},{"uid":"766b-229","name":"account-list.tsx"},{"name":"login","children":[{"uid":"766b-231","name":"form.tsx"},{"uid":"766b-233","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"766b-235","name":"styles.ts"},{"uid":"766b-237","name":"add-api-key.tsx"},{"uid":"766b-239","name":"delete-api-key.tsx"},{"uid":"766b-241","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"766b-243"},{"name":"sql_snippet","children":[{"uid":"766b-245","name":"styles.ts"},{"uid":"766b-247","name":"add-sql_snippet.tsx"},{"uid":"766b-249","name":"update-sql_snippet.tsx"},{"uid":"766b-271","name":"delete-sql_snippet.tsx"},{"uid":"766b-273","name":"sql_snippet-list.tsx"}]},{"uid":"766b-275","name":"index.ts"}]},{"uid":"766b-277","name":"package.json"}]}],"isRoot":true},"nodeParts":{"766b-153":{"renderedLength":33,"gzipLength":0,"brotliLength":0,"metaUid":"766b-152"},"766b-155":{"renderedLength":42,"gzipLength":0,"brotliLength":0,"metaUid":"766b-154"},"766b-157":{"renderedLength":1217,"gzipLength":0,"brotliLength":0,"metaUid":"766b-156"},"766b-159":{"renderedLength":39,"gzipLength":0,"brotliLength":0,"metaUid":"766b-158"},"766b-161":{"renderedLength":45245,"gzipLength":0,"brotliLength":0,"metaUid":"766b-160"},"766b-163":{"renderedLength":237,"gzipLength":0,"brotliLength":0,"metaUid":"766b-162"},"766b-165":{"renderedLength":949,"gzipLength":0,"brotliLength":0,"metaUid":"766b-164"},"766b-167":{"renderedLength":2050,"gzipLength":0,"brotliLength":0,"metaUid":"766b-166"},"766b-169":{"renderedLength":422,"gzipLength":0,"brotliLength":0,"metaUid":"766b-168"},"766b-171":{"renderedLength":426,"gzipLength":0,"brotliLength":0,"metaUid":"766b-170"},"766b-173":{"renderedLength":1913,"gzipLength":0,"brotliLength":0,"metaUid":"766b-172"},"766b-175":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"766b-174"},"766b-177":{"renderedLength":730,"gzipLength":0,"brotliLength":0,"metaUid":"766b-176"},"766b-179":{"renderedLength":132,"gzipLength":0,"brotliLength":0,"metaUid":"766b-178"},"766b-181":{"renderedLength":1011,"gzipLength":0,"brotliLength":0,"metaUid":"766b-180"},"766b-183":{"renderedLength":494,"gzipLength":0,"brotliLength":0,"metaUid":"766b-182"},"766b-185":{"renderedLength":1623,"gzipLength":0,"brotliLength":0,"metaUid":"766b-184"},"766b-187":{"renderedLength":14004,"gzipLength":0,"brotliLength":0,"metaUid":"766b-186"},"766b-189":{"renderedLength":1079,"gzipLength":0,"brotliLength":0,"metaUid":"766b-188"},"766b-191":{"renderedLength":94,"gzipLength":0,"brotliLength":0,"metaUid":"766b-190"},"766b-193":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"766b-192"},"766b-195":{"renderedLength":3028,"gzipLength":0,"brotliLength":0,"metaUid":"766b-194"},"766b-197":{"renderedLength":502,"gzipLength":0,"brotliLength":0,"metaUid":"766b-196"},"766b-199":{"renderedLength":1962,"gzipLength":0,"brotliLength":0,"metaUid":"766b-198"},"766b-201":{"renderedLength":2826,"gzipLength":0,"brotliLength":0,"metaUid":"766b-200"},"766b-203":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"766b-202"},"766b-205":{"renderedLength":2781,"gzipLength":0,"brotliLength":0,"metaUid":"766b-204"},"766b-207":{"renderedLength":551,"gzipLength":0,"brotliLength":0,"metaUid":"766b-206"},"766b-209":{"renderedLength":1845,"gzipLength":0,"brotliLength":0,"metaUid":"766b-208"},"766b-211":{"renderedLength":2483,"gzipLength":0,"brotliLength":0,"metaUid":"766b-210"},"766b-213":{"renderedLength":3259,"gzipLength":0,"brotliLength":0,"metaUid":"766b-212"},"766b-215":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"766b-214"},"766b-217":{"renderedLength":2516,"gzipLength":0,"brotliLength":0,"metaUid":"766b-216"},"766b-219":{"renderedLength":1346,"gzipLength":0,"brotliLength":0,"metaUid":"766b-218"},"766b-221":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"766b-220"},"766b-223":{"renderedLength":3556,"gzipLength":0,"brotliLength":0,"metaUid":"766b-222"},"766b-225":{"renderedLength":1356,"gzipLength":0,"brotliLength":0,"metaUid":"766b-224"},"766b-227":{"renderedLength":4605,"gzipLength":0,"brotliLength":0,"metaUid":"766b-226"},"766b-229":{"renderedLength":2963,"gzipLength":0,"brotliLength":0,"metaUid":"766b-228"},"766b-231":{"renderedLength":2002,"gzipLength":0,"brotliLength":0,"metaUid":"766b-230"},"766b-233":{"renderedLength":417,"gzipLength":0,"brotliLength":0,"metaUid":"766b-232"},"766b-235":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"766b-234"},"766b-237":{"renderedLength":3975,"gzipLength":0,"brotliLength":0,"metaUid":"766b-236"},"766b-239":{"renderedLength":1355,"gzipLength":0,"brotliLength":0,"metaUid":"766b-238"},"766b-241":{"renderedLength":2823,"gzipLength":0,"brotliLength":0,"metaUid":"766b-240"},"766b-243":{"renderedLength":682,"gzipLength":0,"brotliLength":0,"metaUid":"766b-242"},"766b-245":{"renderedLength":102,"gzipLength":0,"brotliLength":0,"metaUid":"766b-244"},"766b-247":{"renderedLength":3035,"gzipLength":0,"brotliLength":0,"metaUid":"766b-246"},"766b-249":{"renderedLength":3062,"gzipLength":0,"brotliLength":0,"metaUid":"766b-248"},"766b-251":{"renderedLength":148464,"gzipLength":0,"brotliLength":0,"metaUid":"766b-250"},"766b-253":{"renderedLength":1767,"gzipLength":0,"brotliLength":0,"metaUid":"766b-252"},"766b-255":{"renderedLength":9562,"gzipLength":0,"brotliLength":0,"metaUid":"766b-254"},"766b-257":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"766b-256"},"766b-259":{"renderedLength":3572,"gzipLength":0,"brotliLength":0,"metaUid":"766b-258"},"766b-261":{"renderedLength":1430,"gzipLength":0,"brotliLength":0,"metaUid":"766b-260"},"766b-263":{"renderedLength":6332,"gzipLength":0,"brotliLength":0,"metaUid":"766b-262"},"766b-265":{"renderedLength":1639,"gzipLength":0,"brotliLength":0,"metaUid":"766b-264"},"766b-267":{"renderedLength":2707,"gzipLength":0,"brotliLength":0,"metaUid":"766b-266"},"766b-269":{"renderedLength":170,"gzipLength":0,"brotliLength":0,"metaUid":"766b-268"},"766b-271":{"renderedLength":1413,"gzipLength":0,"brotliLength":0,"metaUid":"766b-270"},"766b-273":{"renderedLength":3473,"gzipLength":0,"brotliLength":0,"metaUid":"766b-272"},"766b-275":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"766b-274"},"766b-277":{"renderedLength":27,"gzipLength":0,"brotliLength":0,"metaUid":"766b-276"}},"nodeMetas":{"766b-152":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"766b-153"},"imported":[],"importedBy":[{"uid":"766b-162"}]},"766b-154":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"766b-155"},"imported":[],"importedBy":[{"uid":"766b-156"}]},"766b-156":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"766b-157"},"imported":[{"uid":"766b-297"},{"uid":"766b-154"},{"uid":"766b-300"}],"importedBy":[{"uid":"766b-162"}]},"766b-158":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"766b-159"},"imported":[],"importedBy":[{"uid":"766b-160"}]},"766b-160":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"766b-161"},"imported":[{"uid":"766b-297"},{"uid":"766b-158"},{"uid":"766b-300"}],"importedBy":[{"uid":"766b-162"}]},"766b-162":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"766b-163"},"imported":[{"uid":"766b-297"},{"uid":"766b-152"},{"uid":"766b-156"},{"uid":"766b-160"}],"importedBy":[{"uid":"766b-204"},{"uid":"766b-216"},{"uid":"766b-208"},{"uid":"766b-222"},{"uid":"766b-228"},{"uid":"766b-224"},{"uid":"766b-232"},{"uid":"766b-236"},{"uid":"766b-240"},{"uid":"766b-238"},{"uid":"766b-246"},{"uid":"766b-248"},{"uid":"766b-272"},{"uid":"766b-270"},{"uid":"766b-194"},{"uid":"766b-200"},{"uid":"766b-202"},{"uid":"766b-212"},{"uid":"766b-214"},{"uid":"766b-218"},{"uid":"766b-226"},{"uid":"766b-230"},{"uid":"766b-242"},{"uid":"766b-198"},{"uid":"766b-210"},{"uid":"766b-196"}]},"766b-164":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/utils.ts","moduleParts":{"settings-form.umd.js":"766b-165"},"imported":[{"uid":"766b-302"}],"importedBy":[{"uid":"766b-296"},{"uid":"766b-166"}]},"766b-166":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/default-api-client.ts","moduleParts":{"settings-form.umd.js":"766b-167"},"imported":[{"uid":"766b-164"},{"uid":"766b-303"}],"importedBy":[{"uid":"766b-296"}]},"766b-168":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/facade-api-client.ts","moduleParts":{"settings-form.umd.js":"766b-169"},"imported":[],"importedBy":[{"uid":"766b-296"}]},"766b-170":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"766b-171"},"imported":[{"uid":"766b-287"}],"importedBy":[{"uid":"766b-274"},{"uid":"766b-216"},{"uid":"766b-228"},{"uid":"766b-232"},{"uid":"766b-240"},{"uid":"766b-272"},{"uid":"766b-172"},{"uid":"766b-174"},{"uid":"766b-176"},{"uid":"766b-178"},{"uid":"766b-188"}]},"766b-172":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"766b-173"},"imported":[{"uid":"766b-170"}],"importedBy":[{"uid":"766b-190"}]},"766b-174":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"766b-175"},"imported":[{"uid":"766b-170"}],"importedBy":[{"uid":"766b-190"}]},"766b-176":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"766b-177"},"imported":[{"uid":"766b-170"}],"importedBy":[{"uid":"766b-190"}]},"766b-178":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"766b-179"},"imported":[{"uid":"766b-170"}],"importedBy":[{"uid":"766b-190"}]},"766b-180":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/constant.js","moduleParts":{"settings-form.umd.js":"766b-181"},"imported":[],"importedBy":[{"uid":"766b-186"},{"uid":"766b-184"}]},"766b-182":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/locale/en.js","moduleParts":{"settings-form.umd.js":"766b-183"},"imported":[],"importedBy":[{"uid":"766b-186"}]},"766b-184":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/utils.js","moduleParts":{"settings-form.umd.js":"766b-185"},"imported":[{"uid":"766b-180"}],"importedBy":[{"uid":"766b-186"}]},"766b-186":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/index.js","moduleParts":{"settings-form.umd.js":"766b-187"},"imported":[{"uid":"766b-180"},{"uid":"766b-182"},{"uid":"766b-184"}],"importedBy":[{"uid":"766b-188"}]},"766b-188":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"766b-189"},"imported":[{"uid":"766b-186"},{"uid":"766b-170"}],"importedBy":[{"uid":"766b-190"}]},"766b-190":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"766b-191"},"imported":[{"uid":"766b-172"},{"uid":"766b-174"},{"uid":"766b-176"},{"uid":"766b-178"},{"uid":"766b-188"}],"importedBy":[{"uid":"766b-204"},{"uid":"766b-216"},{"uid":"766b-208"},{"uid":"766b-222"},{"uid":"766b-228"},{"uid":"766b-224"},{"uid":"766b-236"},{"uid":"766b-240"},{"uid":"766b-238"},{"uid":"766b-246"},{"uid":"766b-248"},{"uid":"766b-272"},{"uid":"766b-270"},{"uid":"766b-212"},{"uid":"766b-218"},{"uid":"766b-226"},{"uid":"766b-230"}]},"766b-192":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"766b-193"},"imported":[],"importedBy":[{"uid":"766b-204"},{"uid":"766b-216"},{"uid":"766b-208"},{"uid":"766b-194"},{"uid":"766b-200"},{"uid":"766b-202"},{"uid":"766b-212"},{"uid":"766b-210"}]},"766b-194":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"766b-195"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-290"},{"uid":"766b-295"},{"uid":"766b-192"}],"importedBy":[{"uid":"766b-204"}]},"766b-196":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"766b-197"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-298"}],"importedBy":[{"uid":"766b-198"}]},"766b-198":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"766b-199"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-292"},{"uid":"766b-290"},{"uid":"766b-291"},{"uid":"766b-196"}],"importedBy":[{"uid":"766b-200"},{"uid":"766b-210"}]},"766b-200":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"766b-201"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-295"},{"uid":"766b-192"},{"uid":"766b-198"}],"importedBy":[{"uid":"766b-204"}]},"766b-202":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"766b-203"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-192"},{"uid":"766b-291"}],"importedBy":[{"uid":"766b-204"}]},"766b-204":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"766b-205"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-289"},{"uid":"766b-290"},{"uid":"766b-291"},{"uid":"766b-190"},{"uid":"766b-192"},{"uid":"766b-194"},{"uid":"766b-200"},{"uid":"766b-202"}],"importedBy":[{"uid":"766b-278"},{"uid":"766b-216"}]},"766b-206":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"766b-207"},"imported":[{"uid":"766b-298"},{"uid":"766b-290"}],"importedBy":[{"uid":"766b-216"}]},"766b-208":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"766b-209"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-293"},{"uid":"766b-289"},{"uid":"766b-294"},{"uid":"766b-291"},{"uid":"766b-190"},{"uid":"766b-192"}],"importedBy":[{"uid":"766b-278"},{"uid":"766b-216"}]},"766b-210":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"766b-211"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-295"},{"uid":"766b-198"},{"uid":"766b-192"}],"importedBy":[{"uid":"766b-212"}]},"766b-212":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"766b-213"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-289"},{"uid":"766b-294"},{"uid":"766b-290"},{"uid":"766b-190"},{"uid":"766b-192"},{"uid":"766b-210"}],"importedBy":[{"uid":"766b-216"}]},"766b-214":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"766b-215"},"imported":[{"uid":"766b-162"},{"uid":"766b-294"},{"uid":"766b-288"}],"importedBy":[{"uid":"766b-216"}]},"766b-216":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"766b-217"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-292"},{"uid":"766b-190"},{"uid":"766b-170"},{"uid":"766b-206"},{"uid":"766b-204"},{"uid":"766b-208"},{"uid":"766b-192"},{"uid":"766b-212"},{"uid":"766b-214"}],"importedBy":[{"uid":"766b-278"}]},"766b-218":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"766b-219"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-292"},{"uid":"766b-290"},{"uid":"766b-190"}],"importedBy":[{"uid":"766b-222"},{"uid":"766b-236"},{"uid":"766b-226"}]},"766b-220":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"766b-221"},"imported":[],"importedBy":[{"uid":"766b-222"},{"uid":"766b-228"},{"uid":"766b-224"},{"uid":"766b-232"},{"uid":"766b-226"},{"uid":"766b-230"}]},"766b-222":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"766b-223"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-289"},{"uid":"766b-290"},{"uid":"766b-295"},{"uid":"766b-291"},{"uid":"766b-190"},{"uid":"766b-218"},{"uid":"766b-220"}],"importedBy":[{"uid":"766b-279"},{"uid":"766b-228"}]},"766b-224":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"766b-225"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-293"},{"uid":"766b-289"},{"uid":"766b-291"},{"uid":"766b-190"},{"uid":"766b-220"}],"importedBy":[{"uid":"766b-279"},{"uid":"766b-228"}]},"766b-226":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"766b-227"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-289"},{"uid":"766b-290"},{"uid":"766b-295"},{"uid":"766b-291"},{"uid":"766b-190"},{"uid":"766b-218"},{"uid":"766b-220"}],"importedBy":[{"uid":"766b-228"}]},"766b-228":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"766b-229"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-292"},{"uid":"766b-190"},{"uid":"766b-170"},{"uid":"766b-222"},{"uid":"766b-224"},{"uid":"766b-226"},{"uid":"766b-220"}],"importedBy":[{"uid":"766b-279"}]},"766b-230":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"766b-231"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-289"},{"uid":"766b-295"},{"uid":"766b-190"},{"uid":"766b-220"}],"importedBy":[{"uid":"766b-232"}]},"766b-232":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"766b-233"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-170"},{"uid":"766b-220"},{"uid":"766b-230"}],"importedBy":[{"uid":"766b-279"}]},"766b-234":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"766b-235"},"imported":[],"importedBy":[{"uid":"766b-236"},{"uid":"766b-240"},{"uid":"766b-238"}]},"766b-236":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"766b-237"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-293"},{"uid":"766b-289"},{"uid":"766b-290"},{"uid":"766b-295"},{"uid":"766b-291"},{"uid":"766b-218"},{"uid":"766b-190"},{"uid":"766b-234"}],"importedBy":[{"uid":"766b-280"},{"uid":"766b-240"}]},"766b-238":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"766b-239"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-293"},{"uid":"766b-289"},{"uid":"766b-291"},{"uid":"766b-190"},{"uid":"766b-234"}],"importedBy":[{"uid":"766b-280"},{"uid":"766b-240"}]},"766b-240":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"766b-241"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-292"},{"uid":"766b-190"},{"uid":"766b-170"},{"uid":"766b-236"},{"uid":"766b-238"},{"uid":"766b-234"}],"importedBy":[{"uid":"766b-280"}]},"766b-242":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"766b-243"},"imported":[{"uid":"766b-162"},{"uid":"766b-298"}],"importedBy":[{"uid":"766b-246"},{"uid":"766b-248"}]},"766b-244":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"766b-245"},"imported":[],"importedBy":[{"uid":"766b-246"},{"uid":"766b-248"},{"uid":"766b-272"},{"uid":"766b-270"}]},"766b-246":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"766b-247"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-289"},{"uid":"766b-290"},{"uid":"766b-295"},{"uid":"766b-291"},{"uid":"766b-190"},{"uid":"766b-242"},{"uid":"766b-244"}],"importedBy":[{"uid":"766b-281"},{"uid":"766b-272"}]},"766b-248":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"766b-249"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-289"},{"uid":"766b-290"},{"uid":"766b-295"},{"uid":"766b-190"},{"uid":"766b-242"},{"uid":"766b-244"},{"uid":"766b-294"}],"importedBy":[{"uid":"766b-281"},{"uid":"766b-272"}]},"766b-250":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"766b-251"},"imported":[],"importedBy":[{"uid":"766b-254"}]},"766b-252":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"766b-253"},"imported":[],"importedBy":[{"uid":"766b-254"}]},"766b-254":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"766b-255"},"imported":[{"uid":"766b-250"},{"uid":"766b-252"},{"uid":"766b-290"}],"importedBy":[{"uid":"766b-262"}]},"766b-256":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"766b-257"},"imported":[{"uid":"766b-290"}],"importedBy":[{"uid":"766b-262"}]},"766b-258":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"766b-259"},"imported":[],"importedBy":[{"uid":"766b-262"}]},"766b-260":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"766b-261"},"imported":[{"uid":"766b-288"}],"importedBy":[{"uid":"766b-262"}]},"766b-262":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"766b-263"},"imported":[{"uid":"766b-290"},{"uid":"766b-254"},{"uid":"766b-288"},{"uid":"766b-301"},{"uid":"766b-256"},{"uid":"766b-258"},{"uid":"766b-260"}],"importedBy":[{"uid":"766b-268"},{"uid":"766b-266"}]},"766b-264":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"766b-265"},"imported":[{"uid":"766b-288"}],"importedBy":[{"uid":"766b-266"}]},"766b-266":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"766b-267"},"imported":[{"uid":"766b-290"},{"uid":"766b-288"},{"uid":"766b-262"},{"uid":"766b-264"}],"importedBy":[{"uid":"766b-268"}]},"766b-268":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"766b-269"},"imported":[{"uid":"766b-288"},{"uid":"766b-266"},{"uid":"766b-262"}],"importedBy":[{"uid":"766b-272"}]},"766b-270":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"766b-271"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-293"},{"uid":"766b-289"},{"uid":"766b-291"},{"uid":"766b-190"},{"uid":"766b-244"}],"importedBy":[{"uid":"766b-281"},{"uid":"766b-272"}]},"766b-272":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"766b-273"},"imported":[{"uid":"766b-162"},{"uid":"766b-288"},{"uid":"766b-268"},{"uid":"766b-292"},{"uid":"766b-190"},{"uid":"766b-170"},{"uid":"766b-246"},{"uid":"766b-270"},{"uid":"766b-244"},{"uid":"766b-294"},{"uid":"766b-248"}],"importedBy":[{"uid":"766b-281"}]},"766b-274":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"766b-275"},"imported":[{"uid":"766b-278"},{"uid":"766b-279"},{"uid":"766b-280"},{"uid":"766b-281"},{"uid":"766b-170"},{"uid":"766b-282"},{"uid":"766b-283"},{"uid":"766b-284"},{"uid":"766b-285"},{"uid":"766b-286"},{"uid":"766b-276","dynamic":true}],"importedBy":[],"isEntry":true},"766b-276":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"766b-277"},"imported":[],"importedBy":[{"uid":"766b-274"}]},"766b-278":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"766b-204"},{"uid":"766b-216"},{"uid":"766b-208"}],"importedBy":[{"uid":"766b-274"}]},"766b-279":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"766b-222"},{"uid":"766b-228"},{"uid":"766b-224"},{"uid":"766b-232"}],"importedBy":[{"uid":"766b-274"}]},"766b-280":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"766b-236"},{"uid":"766b-240"},{"uid":"766b-238"}],"importedBy":[{"uid":"766b-274"}]},"766b-281":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"766b-246"},{"uid":"766b-248"},{"uid":"766b-272"},{"uid":"766b-270"}],"importedBy":[{"uid":"766b-274"}]},"766b-282":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-274"}]},"766b-283":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-274"}]},"766b-284":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-274"}]},"766b-285":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-274"}]},"766b-286":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-274"}]},"766b-287":{"id":"/Users/leto/github/merico-dev/table/shared/src/index.ts","moduleParts":{},"imported":[{"uid":"766b-296"}],"importedBy":[{"uid":"766b-170"}]},"766b-288":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-204"},{"uid":"766b-216"},{"uid":"766b-208"},{"uid":"766b-222"},{"uid":"766b-228"},{"uid":"766b-224"},{"uid":"766b-232"},{"uid":"766b-236"},{"uid":"766b-240"},{"uid":"766b-238"},{"uid":"766b-246"},{"uid":"766b-248"},{"uid":"766b-272"},{"uid":"766b-270"},{"uid":"766b-194"},{"uid":"766b-200"},{"uid":"766b-202"},{"uid":"766b-212"},{"uid":"766b-214"},{"uid":"766b-218"},{"uid":"766b-226"},{"uid":"766b-230"},{"uid":"766b-268"},{"uid":"766b-198"},{"uid":"766b-210"},{"uid":"766b-266"},{"uid":"766b-262"},{"uid":"766b-196"},{"uid":"766b-264"},{"uid":"766b-260"}],"isExternal":true},"766b-289":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-204"},{"uid":"766b-208"},{"uid":"766b-222"},{"uid":"766b-224"},{"uid":"766b-236"},{"uid":"766b-238"},{"uid":"766b-246"},{"uid":"766b-248"},{"uid":"766b-270"},{"uid":"766b-212"},{"uid":"766b-226"},{"uid":"766b-230"}],"isExternal":true},"766b-290":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-204"},{"uid":"766b-222"},{"uid":"766b-236"},{"uid":"766b-246"},{"uid":"766b-248"},{"uid":"766b-194"},{"uid":"766b-206"},{"uid":"766b-212"},{"uid":"766b-218"},{"uid":"766b-226"},{"uid":"766b-198"},{"uid":"766b-266"},{"uid":"766b-262"},{"uid":"766b-300"},{"uid":"766b-254"},{"uid":"766b-256"}],"isExternal":true},"766b-291":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-204"},{"uid":"766b-208"},{"uid":"766b-222"},{"uid":"766b-224"},{"uid":"766b-236"},{"uid":"766b-238"},{"uid":"766b-246"},{"uid":"766b-270"},{"uid":"766b-202"},{"uid":"766b-226"},{"uid":"766b-198"}],"isExternal":true},"766b-292":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-216"},{"uid":"766b-228"},{"uid":"766b-240"},{"uid":"766b-272"},{"uid":"766b-218"},{"uid":"766b-198"}],"isExternal":true},"766b-293":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-208"},{"uid":"766b-224"},{"uid":"766b-236"},{"uid":"766b-238"},{"uid":"766b-270"}],"isExternal":true},"766b-294":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-208"},{"uid":"766b-248"},{"uid":"766b-272"},{"uid":"766b-212"},{"uid":"766b-214"}],"isExternal":true},"766b-295":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-222"},{"uid":"766b-236"},{"uid":"766b-246"},{"uid":"766b-248"},{"uid":"766b-194"},{"uid":"766b-200"},{"uid":"766b-226"},{"uid":"766b-230"},{"uid":"766b-210"}],"isExternal":true},"766b-296":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/index.ts","moduleParts":{},"imported":[{"uid":"766b-299"},{"uid":"766b-164"},{"uid":"766b-166"},{"uid":"766b-168"}],"importedBy":[{"uid":"766b-287"}]},"766b-297":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-162"},{"uid":"766b-156"},{"uid":"766b-160"}]},"766b-298":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-206"},{"uid":"766b-242"},{"uid":"766b-196"}],"isExternal":true},"766b-299":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-296"}]},"766b-300":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"766b-290"}],"importedBy":[{"uid":"766b-156"},{"uid":"766b-160"}]},"766b-301":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-262"}],"isExternal":true},"766b-302":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-164"}],"isExternal":true},"766b-303":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"766b-166"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
6160
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"settings-form.umd.js","children":[{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules/react","children":[{"uid":"0f9d-153","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"0f9d-155","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"0f9d-159","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"Users/leto/github/merico-dev/table","children":[{"name":"node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"0f9d-157","name":"react-jsx-runtime.production.min.js"},{"uid":"0f9d-161","name":"react-jsx-runtime.development.js"}]},{"uid":"0f9d-163","name":"jsx-runtime.js"}]},{"name":"dayjs/esm","children":[{"uid":"0f9d-181","name":"constant.js"},{"name":"locale/en.js","uid":"0f9d-183"},{"uid":"0f9d-185","name":"utils.js"},{"uid":"0f9d-187","name":"index.js"}]},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"0f9d-251"},{"name":"themes/duotoneDark/index.js","uid":"0f9d-253"},{"name":"dist/index.js","uid":"0f9d-255"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"0f9d-257","name":"CopyIcon.js"},{"uid":"0f9d-259","name":"prism-theme.js"},{"uid":"0f9d-261","name":"Prism.styles.js"},{"uid":"0f9d-263","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"0f9d-265","name":"PrismTabs.styles.js"},{"uid":"0f9d-267","name":"PrismTabs.js"}]},{"uid":"0f9d-269","name":"index.js"}]}]},{"name":"shared/src/api-client","children":[{"uid":"0f9d-165","name":"utils.ts"},{"uid":"0f9d-167","name":"default-api-client.ts"},{"uid":"0f9d-169","name":"facade-api-client.ts"}]}]},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"0f9d-171","name":"request.ts"},{"uid":"0f9d-173","name":"account.ts"},{"uid":"0f9d-175","name":"api-key.ts"},{"uid":"0f9d-177","name":"datasource.ts"},{"uid":"0f9d-179","name":"role.ts"},{"uid":"0f9d-189","name":"sql_snippet.ts"},{"uid":"0f9d-191","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"0f9d-193","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"0f9d-195","name":"database.tsx"},{"uid":"0f9d-201","name":"http.tsx"}]},{"uid":"0f9d-203","name":"db-permission-tips.tsx"},{"uid":"0f9d-205","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"0f9d-197","name":"function-string-editor.tsx"},{"uid":"0f9d-199","name":"index.tsx"}]},{"uid":"0f9d-215","name":"data-source-icon.tsx"}]},{"uid":"0f9d-209","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"0f9d-211"},{"uid":"0f9d-213","name":"index.tsx"}]},{"uid":"0f9d-217","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"0f9d-207"},{"name":"account","children":[{"uid":"0f9d-219","name":"role-selector.tsx"},{"uid":"0f9d-221","name":"styles.ts"},{"uid":"0f9d-223","name":"add-account.tsx"},{"uid":"0f9d-225","name":"delete-account.tsx"},{"uid":"0f9d-227","name":"edit-account.tsx"},{"uid":"0f9d-229","name":"account-list.tsx"},{"name":"login","children":[{"uid":"0f9d-231","name":"form.tsx"},{"uid":"0f9d-233","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"0f9d-235","name":"styles.ts"},{"uid":"0f9d-237","name":"add-api-key.tsx"},{"uid":"0f9d-239","name":"delete-api-key.tsx"},{"uid":"0f9d-241","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"0f9d-243"},{"name":"sql_snippet","children":[{"uid":"0f9d-245","name":"styles.ts"},{"uid":"0f9d-247","name":"add-sql_snippet.tsx"},{"uid":"0f9d-249","name":"update-sql_snippet.tsx"},{"uid":"0f9d-271","name":"delete-sql_snippet.tsx"},{"uid":"0f9d-273","name":"sql_snippet-list.tsx"}]},{"uid":"0f9d-275","name":"index.ts"}]},{"uid":"0f9d-277","name":"package.json"}]}],"isRoot":true},"nodeParts":{"0f9d-153":{"renderedLength":33,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-152"},"0f9d-155":{"renderedLength":42,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-154"},"0f9d-157":{"renderedLength":1217,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-156"},"0f9d-159":{"renderedLength":39,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-158"},"0f9d-161":{"renderedLength":45245,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-160"},"0f9d-163":{"renderedLength":237,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-162"},"0f9d-165":{"renderedLength":949,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-164"},"0f9d-167":{"renderedLength":2050,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-166"},"0f9d-169":{"renderedLength":422,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-168"},"0f9d-171":{"renderedLength":426,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-170"},"0f9d-173":{"renderedLength":1913,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-172"},"0f9d-175":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-174"},"0f9d-177":{"renderedLength":730,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-176"},"0f9d-179":{"renderedLength":132,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-178"},"0f9d-181":{"renderedLength":1011,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-180"},"0f9d-183":{"renderedLength":494,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-182"},"0f9d-185":{"renderedLength":1623,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-184"},"0f9d-187":{"renderedLength":14004,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-186"},"0f9d-189":{"renderedLength":1079,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-188"},"0f9d-191":{"renderedLength":94,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-190"},"0f9d-193":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-192"},"0f9d-195":{"renderedLength":3028,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-194"},"0f9d-197":{"renderedLength":502,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-196"},"0f9d-199":{"renderedLength":1962,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-198"},"0f9d-201":{"renderedLength":2826,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-200"},"0f9d-203":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-202"},"0f9d-205":{"renderedLength":2781,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-204"},"0f9d-207":{"renderedLength":551,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-206"},"0f9d-209":{"renderedLength":1845,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-208"},"0f9d-211":{"renderedLength":2483,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-210"},"0f9d-213":{"renderedLength":3259,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-212"},"0f9d-215":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-214"},"0f9d-217":{"renderedLength":2516,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-216"},"0f9d-219":{"renderedLength":1346,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-218"},"0f9d-221":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-220"},"0f9d-223":{"renderedLength":3556,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-222"},"0f9d-225":{"renderedLength":1356,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-224"},"0f9d-227":{"renderedLength":4605,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-226"},"0f9d-229":{"renderedLength":2963,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-228"},"0f9d-231":{"renderedLength":2002,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-230"},"0f9d-233":{"renderedLength":417,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-232"},"0f9d-235":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-234"},"0f9d-237":{"renderedLength":3975,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-236"},"0f9d-239":{"renderedLength":1355,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-238"},"0f9d-241":{"renderedLength":2823,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-240"},"0f9d-243":{"renderedLength":682,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-242"},"0f9d-245":{"renderedLength":102,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-244"},"0f9d-247":{"renderedLength":3035,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-246"},"0f9d-249":{"renderedLength":3062,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-248"},"0f9d-251":{"renderedLength":148464,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-250"},"0f9d-253":{"renderedLength":1767,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-252"},"0f9d-255":{"renderedLength":9562,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-254"},"0f9d-257":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-256"},"0f9d-259":{"renderedLength":3572,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-258"},"0f9d-261":{"renderedLength":1430,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-260"},"0f9d-263":{"renderedLength":6332,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-262"},"0f9d-265":{"renderedLength":1639,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-264"},"0f9d-267":{"renderedLength":2707,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-266"},"0f9d-269":{"renderedLength":170,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-268"},"0f9d-271":{"renderedLength":1413,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-270"},"0f9d-273":{"renderedLength":3473,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-272"},"0f9d-275":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-274"},"0f9d-277":{"renderedLength":27,"gzipLength":0,"brotliLength":0,"metaUid":"0f9d-276"}},"nodeMetas":{"0f9d-152":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"0f9d-153"},"imported":[],"importedBy":[{"uid":"0f9d-162"}]},"0f9d-154":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"0f9d-155"},"imported":[],"importedBy":[{"uid":"0f9d-156"}]},"0f9d-156":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"0f9d-157"},"imported":[{"uid":"0f9d-297"},{"uid":"0f9d-154"},{"uid":"0f9d-300"}],"importedBy":[{"uid":"0f9d-162"}]},"0f9d-158":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"0f9d-159"},"imported":[],"importedBy":[{"uid":"0f9d-160"}]},"0f9d-160":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"0f9d-161"},"imported":[{"uid":"0f9d-297"},{"uid":"0f9d-158"},{"uid":"0f9d-300"}],"importedBy":[{"uid":"0f9d-162"}]},"0f9d-162":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"0f9d-163"},"imported":[{"uid":"0f9d-297"},{"uid":"0f9d-152"},{"uid":"0f9d-156"},{"uid":"0f9d-160"}],"importedBy":[{"uid":"0f9d-204"},{"uid":"0f9d-216"},{"uid":"0f9d-208"},{"uid":"0f9d-222"},{"uid":"0f9d-228"},{"uid":"0f9d-224"},{"uid":"0f9d-232"},{"uid":"0f9d-236"},{"uid":"0f9d-240"},{"uid":"0f9d-238"},{"uid":"0f9d-246"},{"uid":"0f9d-248"},{"uid":"0f9d-272"},{"uid":"0f9d-270"},{"uid":"0f9d-194"},{"uid":"0f9d-200"},{"uid":"0f9d-202"},{"uid":"0f9d-212"},{"uid":"0f9d-214"},{"uid":"0f9d-218"},{"uid":"0f9d-226"},{"uid":"0f9d-230"},{"uid":"0f9d-242"},{"uid":"0f9d-198"},{"uid":"0f9d-210"},{"uid":"0f9d-196"}]},"0f9d-164":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/utils.ts","moduleParts":{"settings-form.umd.js":"0f9d-165"},"imported":[{"uid":"0f9d-302"}],"importedBy":[{"uid":"0f9d-296"},{"uid":"0f9d-166"}]},"0f9d-166":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/default-api-client.ts","moduleParts":{"settings-form.umd.js":"0f9d-167"},"imported":[{"uid":"0f9d-164"},{"uid":"0f9d-303"}],"importedBy":[{"uid":"0f9d-296"}]},"0f9d-168":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/facade-api-client.ts","moduleParts":{"settings-form.umd.js":"0f9d-169"},"imported":[],"importedBy":[{"uid":"0f9d-296"}]},"0f9d-170":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"0f9d-171"},"imported":[{"uid":"0f9d-287"}],"importedBy":[{"uid":"0f9d-274"},{"uid":"0f9d-216"},{"uid":"0f9d-228"},{"uid":"0f9d-232"},{"uid":"0f9d-240"},{"uid":"0f9d-272"},{"uid":"0f9d-172"},{"uid":"0f9d-174"},{"uid":"0f9d-176"},{"uid":"0f9d-178"},{"uid":"0f9d-188"}]},"0f9d-172":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"0f9d-173"},"imported":[{"uid":"0f9d-170"}],"importedBy":[{"uid":"0f9d-190"}]},"0f9d-174":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"0f9d-175"},"imported":[{"uid":"0f9d-170"}],"importedBy":[{"uid":"0f9d-190"}]},"0f9d-176":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"0f9d-177"},"imported":[{"uid":"0f9d-170"}],"importedBy":[{"uid":"0f9d-190"}]},"0f9d-178":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"0f9d-179"},"imported":[{"uid":"0f9d-170"}],"importedBy":[{"uid":"0f9d-190"}]},"0f9d-180":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/constant.js","moduleParts":{"settings-form.umd.js":"0f9d-181"},"imported":[],"importedBy":[{"uid":"0f9d-186"},{"uid":"0f9d-184"}]},"0f9d-182":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/locale/en.js","moduleParts":{"settings-form.umd.js":"0f9d-183"},"imported":[],"importedBy":[{"uid":"0f9d-186"}]},"0f9d-184":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/utils.js","moduleParts":{"settings-form.umd.js":"0f9d-185"},"imported":[{"uid":"0f9d-180"}],"importedBy":[{"uid":"0f9d-186"}]},"0f9d-186":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/index.js","moduleParts":{"settings-form.umd.js":"0f9d-187"},"imported":[{"uid":"0f9d-180"},{"uid":"0f9d-182"},{"uid":"0f9d-184"}],"importedBy":[{"uid":"0f9d-188"}]},"0f9d-188":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"0f9d-189"},"imported":[{"uid":"0f9d-186"},{"uid":"0f9d-170"}],"importedBy":[{"uid":"0f9d-190"}]},"0f9d-190":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"0f9d-191"},"imported":[{"uid":"0f9d-172"},{"uid":"0f9d-174"},{"uid":"0f9d-176"},{"uid":"0f9d-178"},{"uid":"0f9d-188"}],"importedBy":[{"uid":"0f9d-204"},{"uid":"0f9d-216"},{"uid":"0f9d-208"},{"uid":"0f9d-222"},{"uid":"0f9d-228"},{"uid":"0f9d-224"},{"uid":"0f9d-236"},{"uid":"0f9d-240"},{"uid":"0f9d-238"},{"uid":"0f9d-246"},{"uid":"0f9d-248"},{"uid":"0f9d-272"},{"uid":"0f9d-270"},{"uid":"0f9d-212"},{"uid":"0f9d-218"},{"uid":"0f9d-226"},{"uid":"0f9d-230"}]},"0f9d-192":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"0f9d-193"},"imported":[],"importedBy":[{"uid":"0f9d-204"},{"uid":"0f9d-216"},{"uid":"0f9d-208"},{"uid":"0f9d-194"},{"uid":"0f9d-200"},{"uid":"0f9d-202"},{"uid":"0f9d-212"},{"uid":"0f9d-210"}]},"0f9d-194":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"0f9d-195"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-290"},{"uid":"0f9d-295"},{"uid":"0f9d-192"}],"importedBy":[{"uid":"0f9d-204"}]},"0f9d-196":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"0f9d-197"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-298"}],"importedBy":[{"uid":"0f9d-198"}]},"0f9d-198":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"0f9d-199"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-292"},{"uid":"0f9d-290"},{"uid":"0f9d-291"},{"uid":"0f9d-196"}],"importedBy":[{"uid":"0f9d-200"},{"uid":"0f9d-210"}]},"0f9d-200":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"0f9d-201"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-295"},{"uid":"0f9d-192"},{"uid":"0f9d-198"}],"importedBy":[{"uid":"0f9d-204"}]},"0f9d-202":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"0f9d-203"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-192"},{"uid":"0f9d-291"}],"importedBy":[{"uid":"0f9d-204"}]},"0f9d-204":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"0f9d-205"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-289"},{"uid":"0f9d-290"},{"uid":"0f9d-291"},{"uid":"0f9d-190"},{"uid":"0f9d-192"},{"uid":"0f9d-194"},{"uid":"0f9d-200"},{"uid":"0f9d-202"}],"importedBy":[{"uid":"0f9d-278"},{"uid":"0f9d-216"}]},"0f9d-206":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"0f9d-207"},"imported":[{"uid":"0f9d-298"},{"uid":"0f9d-290"}],"importedBy":[{"uid":"0f9d-216"}]},"0f9d-208":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"0f9d-209"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-293"},{"uid":"0f9d-289"},{"uid":"0f9d-294"},{"uid":"0f9d-291"},{"uid":"0f9d-190"},{"uid":"0f9d-192"}],"importedBy":[{"uid":"0f9d-278"},{"uid":"0f9d-216"}]},"0f9d-210":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"0f9d-211"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-295"},{"uid":"0f9d-198"},{"uid":"0f9d-192"}],"importedBy":[{"uid":"0f9d-212"}]},"0f9d-212":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"0f9d-213"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-289"},{"uid":"0f9d-294"},{"uid":"0f9d-290"},{"uid":"0f9d-190"},{"uid":"0f9d-192"},{"uid":"0f9d-210"}],"importedBy":[{"uid":"0f9d-216"}]},"0f9d-214":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"0f9d-215"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-294"},{"uid":"0f9d-288"}],"importedBy":[{"uid":"0f9d-216"}]},"0f9d-216":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"0f9d-217"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-292"},{"uid":"0f9d-190"},{"uid":"0f9d-170"},{"uid":"0f9d-206"},{"uid":"0f9d-204"},{"uid":"0f9d-208"},{"uid":"0f9d-192"},{"uid":"0f9d-212"},{"uid":"0f9d-214"}],"importedBy":[{"uid":"0f9d-278"}]},"0f9d-218":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"0f9d-219"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-292"},{"uid":"0f9d-290"},{"uid":"0f9d-190"}],"importedBy":[{"uid":"0f9d-222"},{"uid":"0f9d-236"},{"uid":"0f9d-226"}]},"0f9d-220":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"0f9d-221"},"imported":[],"importedBy":[{"uid":"0f9d-222"},{"uid":"0f9d-228"},{"uid":"0f9d-224"},{"uid":"0f9d-232"},{"uid":"0f9d-226"},{"uid":"0f9d-230"}]},"0f9d-222":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"0f9d-223"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-289"},{"uid":"0f9d-290"},{"uid":"0f9d-295"},{"uid":"0f9d-291"},{"uid":"0f9d-190"},{"uid":"0f9d-218"},{"uid":"0f9d-220"}],"importedBy":[{"uid":"0f9d-279"},{"uid":"0f9d-228"}]},"0f9d-224":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"0f9d-225"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-293"},{"uid":"0f9d-289"},{"uid":"0f9d-291"},{"uid":"0f9d-190"},{"uid":"0f9d-220"}],"importedBy":[{"uid":"0f9d-279"},{"uid":"0f9d-228"}]},"0f9d-226":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"0f9d-227"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-289"},{"uid":"0f9d-290"},{"uid":"0f9d-295"},{"uid":"0f9d-291"},{"uid":"0f9d-190"},{"uid":"0f9d-218"},{"uid":"0f9d-220"}],"importedBy":[{"uid":"0f9d-228"}]},"0f9d-228":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"0f9d-229"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-292"},{"uid":"0f9d-190"},{"uid":"0f9d-170"},{"uid":"0f9d-222"},{"uid":"0f9d-224"},{"uid":"0f9d-226"},{"uid":"0f9d-220"}],"importedBy":[{"uid":"0f9d-279"}]},"0f9d-230":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"0f9d-231"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-289"},{"uid":"0f9d-295"},{"uid":"0f9d-190"},{"uid":"0f9d-220"}],"importedBy":[{"uid":"0f9d-232"}]},"0f9d-232":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"0f9d-233"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-170"},{"uid":"0f9d-220"},{"uid":"0f9d-230"}],"importedBy":[{"uid":"0f9d-279"}]},"0f9d-234":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"0f9d-235"},"imported":[],"importedBy":[{"uid":"0f9d-236"},{"uid":"0f9d-240"},{"uid":"0f9d-238"}]},"0f9d-236":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"0f9d-237"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-293"},{"uid":"0f9d-289"},{"uid":"0f9d-290"},{"uid":"0f9d-295"},{"uid":"0f9d-291"},{"uid":"0f9d-218"},{"uid":"0f9d-190"},{"uid":"0f9d-234"}],"importedBy":[{"uid":"0f9d-280"},{"uid":"0f9d-240"}]},"0f9d-238":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"0f9d-239"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-293"},{"uid":"0f9d-289"},{"uid":"0f9d-291"},{"uid":"0f9d-190"},{"uid":"0f9d-234"}],"importedBy":[{"uid":"0f9d-280"},{"uid":"0f9d-240"}]},"0f9d-240":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"0f9d-241"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-292"},{"uid":"0f9d-190"},{"uid":"0f9d-170"},{"uid":"0f9d-236"},{"uid":"0f9d-238"},{"uid":"0f9d-234"}],"importedBy":[{"uid":"0f9d-280"}]},"0f9d-242":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"0f9d-243"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-298"}],"importedBy":[{"uid":"0f9d-246"},{"uid":"0f9d-248"}]},"0f9d-244":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"0f9d-245"},"imported":[],"importedBy":[{"uid":"0f9d-246"},{"uid":"0f9d-248"},{"uid":"0f9d-272"},{"uid":"0f9d-270"}]},"0f9d-246":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"0f9d-247"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-289"},{"uid":"0f9d-290"},{"uid":"0f9d-295"},{"uid":"0f9d-291"},{"uid":"0f9d-190"},{"uid":"0f9d-242"},{"uid":"0f9d-244"}],"importedBy":[{"uid":"0f9d-281"},{"uid":"0f9d-272"}]},"0f9d-248":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"0f9d-249"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-289"},{"uid":"0f9d-290"},{"uid":"0f9d-295"},{"uid":"0f9d-190"},{"uid":"0f9d-242"},{"uid":"0f9d-244"},{"uid":"0f9d-294"}],"importedBy":[{"uid":"0f9d-281"},{"uid":"0f9d-272"}]},"0f9d-250":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"0f9d-251"},"imported":[],"importedBy":[{"uid":"0f9d-254"}]},"0f9d-252":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"0f9d-253"},"imported":[],"importedBy":[{"uid":"0f9d-254"}]},"0f9d-254":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"0f9d-255"},"imported":[{"uid":"0f9d-250"},{"uid":"0f9d-252"},{"uid":"0f9d-290"}],"importedBy":[{"uid":"0f9d-262"}]},"0f9d-256":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"0f9d-257"},"imported":[{"uid":"0f9d-290"}],"importedBy":[{"uid":"0f9d-262"}]},"0f9d-258":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"0f9d-259"},"imported":[],"importedBy":[{"uid":"0f9d-262"}]},"0f9d-260":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"0f9d-261"},"imported":[{"uid":"0f9d-288"}],"importedBy":[{"uid":"0f9d-262"}]},"0f9d-262":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"0f9d-263"},"imported":[{"uid":"0f9d-290"},{"uid":"0f9d-254"},{"uid":"0f9d-288"},{"uid":"0f9d-301"},{"uid":"0f9d-256"},{"uid":"0f9d-258"},{"uid":"0f9d-260"}],"importedBy":[{"uid":"0f9d-268"},{"uid":"0f9d-266"}]},"0f9d-264":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"0f9d-265"},"imported":[{"uid":"0f9d-288"}],"importedBy":[{"uid":"0f9d-266"}]},"0f9d-266":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"0f9d-267"},"imported":[{"uid":"0f9d-290"},{"uid":"0f9d-288"},{"uid":"0f9d-262"},{"uid":"0f9d-264"}],"importedBy":[{"uid":"0f9d-268"}]},"0f9d-268":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"0f9d-269"},"imported":[{"uid":"0f9d-288"},{"uid":"0f9d-266"},{"uid":"0f9d-262"}],"importedBy":[{"uid":"0f9d-272"}]},"0f9d-270":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"0f9d-271"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-293"},{"uid":"0f9d-289"},{"uid":"0f9d-291"},{"uid":"0f9d-190"},{"uid":"0f9d-244"}],"importedBy":[{"uid":"0f9d-281"},{"uid":"0f9d-272"}]},"0f9d-272":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"0f9d-273"},"imported":[{"uid":"0f9d-162"},{"uid":"0f9d-288"},{"uid":"0f9d-268"},{"uid":"0f9d-292"},{"uid":"0f9d-190"},{"uid":"0f9d-170"},{"uid":"0f9d-246"},{"uid":"0f9d-270"},{"uid":"0f9d-244"},{"uid":"0f9d-294"},{"uid":"0f9d-248"}],"importedBy":[{"uid":"0f9d-281"}]},"0f9d-274":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"0f9d-275"},"imported":[{"uid":"0f9d-278"},{"uid":"0f9d-279"},{"uid":"0f9d-280"},{"uid":"0f9d-281"},{"uid":"0f9d-170"},{"uid":"0f9d-282"},{"uid":"0f9d-283"},{"uid":"0f9d-284"},{"uid":"0f9d-285"},{"uid":"0f9d-286"},{"uid":"0f9d-276","dynamic":true}],"importedBy":[],"isEntry":true},"0f9d-276":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"0f9d-277"},"imported":[],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-278":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"0f9d-204"},{"uid":"0f9d-216"},{"uid":"0f9d-208"}],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-279":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"0f9d-222"},{"uid":"0f9d-228"},{"uid":"0f9d-224"},{"uid":"0f9d-232"}],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-280":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"0f9d-236"},{"uid":"0f9d-240"},{"uid":"0f9d-238"}],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-281":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"0f9d-246"},{"uid":"0f9d-248"},{"uid":"0f9d-272"},{"uid":"0f9d-270"}],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-282":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-283":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-284":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-285":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-286":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-274"}]},"0f9d-287":{"id":"/Users/leto/github/merico-dev/table/shared/src/index.ts","moduleParts":{},"imported":[{"uid":"0f9d-296"}],"importedBy":[{"uid":"0f9d-170"}]},"0f9d-288":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-204"},{"uid":"0f9d-216"},{"uid":"0f9d-208"},{"uid":"0f9d-222"},{"uid":"0f9d-228"},{"uid":"0f9d-224"},{"uid":"0f9d-232"},{"uid":"0f9d-236"},{"uid":"0f9d-240"},{"uid":"0f9d-238"},{"uid":"0f9d-246"},{"uid":"0f9d-248"},{"uid":"0f9d-272"},{"uid":"0f9d-270"},{"uid":"0f9d-194"},{"uid":"0f9d-200"},{"uid":"0f9d-202"},{"uid":"0f9d-212"},{"uid":"0f9d-214"},{"uid":"0f9d-218"},{"uid":"0f9d-226"},{"uid":"0f9d-230"},{"uid":"0f9d-268"},{"uid":"0f9d-198"},{"uid":"0f9d-210"},{"uid":"0f9d-266"},{"uid":"0f9d-262"},{"uid":"0f9d-196"},{"uid":"0f9d-264"},{"uid":"0f9d-260"}],"isExternal":true},"0f9d-289":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-204"},{"uid":"0f9d-208"},{"uid":"0f9d-222"},{"uid":"0f9d-224"},{"uid":"0f9d-236"},{"uid":"0f9d-238"},{"uid":"0f9d-246"},{"uid":"0f9d-248"},{"uid":"0f9d-270"},{"uid":"0f9d-212"},{"uid":"0f9d-226"},{"uid":"0f9d-230"}],"isExternal":true},"0f9d-290":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-204"},{"uid":"0f9d-222"},{"uid":"0f9d-236"},{"uid":"0f9d-246"},{"uid":"0f9d-248"},{"uid":"0f9d-194"},{"uid":"0f9d-206"},{"uid":"0f9d-212"},{"uid":"0f9d-218"},{"uid":"0f9d-226"},{"uid":"0f9d-198"},{"uid":"0f9d-266"},{"uid":"0f9d-262"},{"uid":"0f9d-300"},{"uid":"0f9d-254"},{"uid":"0f9d-256"}],"isExternal":true},"0f9d-291":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-204"},{"uid":"0f9d-208"},{"uid":"0f9d-222"},{"uid":"0f9d-224"},{"uid":"0f9d-236"},{"uid":"0f9d-238"},{"uid":"0f9d-246"},{"uid":"0f9d-270"},{"uid":"0f9d-202"},{"uid":"0f9d-226"},{"uid":"0f9d-198"}],"isExternal":true},"0f9d-292":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-216"},{"uid":"0f9d-228"},{"uid":"0f9d-240"},{"uid":"0f9d-272"},{"uid":"0f9d-218"},{"uid":"0f9d-198"}],"isExternal":true},"0f9d-293":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-208"},{"uid":"0f9d-224"},{"uid":"0f9d-236"},{"uid":"0f9d-238"},{"uid":"0f9d-270"}],"isExternal":true},"0f9d-294":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-208"},{"uid":"0f9d-248"},{"uid":"0f9d-272"},{"uid":"0f9d-212"},{"uid":"0f9d-214"}],"isExternal":true},"0f9d-295":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-222"},{"uid":"0f9d-236"},{"uid":"0f9d-246"},{"uid":"0f9d-248"},{"uid":"0f9d-194"},{"uid":"0f9d-200"},{"uid":"0f9d-226"},{"uid":"0f9d-230"},{"uid":"0f9d-210"}],"isExternal":true},"0f9d-296":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/index.ts","moduleParts":{},"imported":[{"uid":"0f9d-299"},{"uid":"0f9d-164"},{"uid":"0f9d-166"},{"uid":"0f9d-168"}],"importedBy":[{"uid":"0f9d-287"}]},"0f9d-297":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-162"},{"uid":"0f9d-156"},{"uid":"0f9d-160"}]},"0f9d-298":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-206"},{"uid":"0f9d-242"},{"uid":"0f9d-196"}],"isExternal":true},"0f9d-299":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-296"}]},"0f9d-300":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"0f9d-290"}],"importedBy":[{"uid":"0f9d-156"},{"uid":"0f9d-160"}]},"0f9d-301":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-262"}],"isExternal":true},"0f9d-302":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-164"}],"isExternal":true},"0f9d-303":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"0f9d-166"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
6161
6161
|
|
|
6162
6162
|
const run = () => {
|
|
6163
6163
|
const width = window.innerWidth;
|