@devtable/settings-form 10.60.4 → 10.61.0
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-ab423151.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:"10.
|
|
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:"10.61.0"},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":"6bc6-153","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"6bc6-155","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"6bc6-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":"6bc6-157","name":"react-jsx-runtime.production.min.js"},{"uid":"6bc6-161","name":"react-jsx-runtime.development.js"}]},{"uid":"6bc6-163","name":"jsx-runtime.js"}]},{"name":"dayjs/esm","children":[{"uid":"6bc6-181","name":"constant.js"},{"name":"locale/en.js","uid":"6bc6-183"},{"uid":"6bc6-185","name":"utils.js"},{"uid":"6bc6-187","name":"index.js"}]},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"6bc6-251"},{"name":"themes/duotoneDark/index.js","uid":"6bc6-253"},{"name":"dist/index.js","uid":"6bc6-255"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"6bc6-257","name":"CopyIcon.js"},{"uid":"6bc6-259","name":"prism-theme.js"},{"uid":"6bc6-261","name":"Prism.styles.js"},{"uid":"6bc6-263","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"6bc6-265","name":"PrismTabs.styles.js"},{"uid":"6bc6-267","name":"PrismTabs.js"}]},{"uid":"6bc6-269","name":"index.js"}]}]},{"name":"shared/src/api-client","children":[{"uid":"6bc6-165","name":"utils.ts"},{"uid":"6bc6-167","name":"default-api-client.ts"},{"uid":"6bc6-169","name":"facade-api-client.ts"}]}]},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"6bc6-171","name":"request.ts"},{"uid":"6bc6-173","name":"account.ts"},{"uid":"6bc6-175","name":"api-key.ts"},{"uid":"6bc6-177","name":"datasource.ts"},{"uid":"6bc6-179","name":"role.ts"},{"uid":"6bc6-189","name":"sql_snippet.ts"},{"uid":"6bc6-191","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"6bc6-193","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"6bc6-195","name":"database.tsx"},{"uid":"6bc6-201","name":"http.tsx"}]},{"uid":"6bc6-203","name":"db-permission-tips.tsx"},{"uid":"6bc6-205","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"6bc6-197","name":"function-string-editor.tsx"},{"uid":"6bc6-199","name":"index.tsx"}]},{"uid":"6bc6-215","name":"data-source-icon.tsx"}]},{"uid":"6bc6-209","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"6bc6-211"},{"uid":"6bc6-213","name":"index.tsx"}]},{"uid":"6bc6-217","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"6bc6-207"},{"name":"account","children":[{"uid":"6bc6-219","name":"role-selector.tsx"},{"uid":"6bc6-221","name":"styles.ts"},{"uid":"6bc6-223","name":"add-account.tsx"},{"uid":"6bc6-225","name":"delete-account.tsx"},{"uid":"6bc6-227","name":"edit-account.tsx"},{"uid":"6bc6-229","name":"account-list.tsx"},{"name":"login","children":[{"uid":"6bc6-231","name":"form.tsx"},{"uid":"6bc6-233","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"6bc6-235","name":"styles.ts"},{"uid":"6bc6-237","name":"add-api-key.tsx"},{"uid":"6bc6-239","name":"delete-api-key.tsx"},{"uid":"6bc6-241","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"6bc6-243"},{"name":"sql_snippet","children":[{"uid":"6bc6-245","name":"styles.ts"},{"uid":"6bc6-247","name":"add-sql_snippet.tsx"},{"uid":"6bc6-249","name":"update-sql_snippet.tsx"},{"uid":"6bc6-271","name":"delete-sql_snippet.tsx"},{"uid":"6bc6-273","name":"sql_snippet-list.tsx"}]},{"uid":"6bc6-275","name":"index.ts"}]},{"uid":"6bc6-277","name":"package.json"}]}],"isRoot":true},"nodeParts":{"6bc6-153":{"renderedLength":33,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-152"},"6bc6-155":{"renderedLength":42,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-154"},"6bc6-157":{"renderedLength":1217,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-156"},"6bc6-159":{"renderedLength":39,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-158"},"6bc6-161":{"renderedLength":45245,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-160"},"6bc6-163":{"renderedLength":237,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-162"},"6bc6-165":{"renderedLength":949,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-164"},"6bc6-167":{"renderedLength":2050,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-166"},"6bc6-169":{"renderedLength":422,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-168"},"6bc6-171":{"renderedLength":426,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-170"},"6bc6-173":{"renderedLength":1913,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-172"},"6bc6-175":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-174"},"6bc6-177":{"renderedLength":730,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-176"},"6bc6-179":{"renderedLength":132,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-178"},"6bc6-181":{"renderedLength":1011,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-180"},"6bc6-183":{"renderedLength":494,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-182"},"6bc6-185":{"renderedLength":1623,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-184"},"6bc6-187":{"renderedLength":14004,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-186"},"6bc6-189":{"renderedLength":1079,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-188"},"6bc6-191":{"renderedLength":94,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-190"},"6bc6-193":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-192"},"6bc6-195":{"renderedLength":3028,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-194"},"6bc6-197":{"renderedLength":502,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-196"},"6bc6-199":{"renderedLength":1962,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-198"},"6bc6-201":{"renderedLength":2826,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-200"},"6bc6-203":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-202"},"6bc6-205":{"renderedLength":2781,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-204"},"6bc6-207":{"renderedLength":551,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-206"},"6bc6-209":{"renderedLength":1845,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-208"},"6bc6-211":{"renderedLength":2483,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-210"},"6bc6-213":{"renderedLength":3259,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-212"},"6bc6-215":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-214"},"6bc6-217":{"renderedLength":2516,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-216"},"6bc6-219":{"renderedLength":1346,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-218"},"6bc6-221":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-220"},"6bc6-223":{"renderedLength":3556,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-222"},"6bc6-225":{"renderedLength":1356,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-224"},"6bc6-227":{"renderedLength":4605,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-226"},"6bc6-229":{"renderedLength":2963,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-228"},"6bc6-231":{"renderedLength":2002,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-230"},"6bc6-233":{"renderedLength":417,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-232"},"6bc6-235":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-234"},"6bc6-237":{"renderedLength":3975,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-236"},"6bc6-239":{"renderedLength":1355,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-238"},"6bc6-241":{"renderedLength":2823,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-240"},"6bc6-243":{"renderedLength":682,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-242"},"6bc6-245":{"renderedLength":102,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-244"},"6bc6-247":{"renderedLength":3035,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-246"},"6bc6-249":{"renderedLength":3062,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-248"},"6bc6-251":{"renderedLength":148464,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-250"},"6bc6-253":{"renderedLength":1767,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-252"},"6bc6-255":{"renderedLength":9562,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-254"},"6bc6-257":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-256"},"6bc6-259":{"renderedLength":3572,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-258"},"6bc6-261":{"renderedLength":1430,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-260"},"6bc6-263":{"renderedLength":6332,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-262"},"6bc6-265":{"renderedLength":1639,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-264"},"6bc6-267":{"renderedLength":2707,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-266"},"6bc6-269":{"renderedLength":170,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-268"},"6bc6-271":{"renderedLength":1413,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-270"},"6bc6-273":{"renderedLength":3473,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-272"},"6bc6-275":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-274"},"6bc6-277":{"renderedLength":28,"gzipLength":0,"brotliLength":0,"metaUid":"6bc6-276"}},"nodeMetas":{"6bc6-152":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"6bc6-153"},"imported":[],"importedBy":[{"uid":"6bc6-162"}]},"6bc6-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":"6bc6-155"},"imported":[],"importedBy":[{"uid":"6bc6-156"}]},"6bc6-156":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"6bc6-157"},"imported":[{"uid":"6bc6-297"},{"uid":"6bc6-154"},{"uid":"6bc6-300"}],"importedBy":[{"uid":"6bc6-162"}]},"6bc6-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":"6bc6-159"},"imported":[],"importedBy":[{"uid":"6bc6-160"}]},"6bc6-160":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"6bc6-161"},"imported":[{"uid":"6bc6-297"},{"uid":"6bc6-158"},{"uid":"6bc6-300"}],"importedBy":[{"uid":"6bc6-162"}]},"6bc6-162":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"6bc6-163"},"imported":[{"uid":"6bc6-297"},{"uid":"6bc6-152"},{"uid":"6bc6-156"},{"uid":"6bc6-160"}],"importedBy":[{"uid":"6bc6-204"},{"uid":"6bc6-216"},{"uid":"6bc6-208"},{"uid":"6bc6-222"},{"uid":"6bc6-228"},{"uid":"6bc6-224"},{"uid":"6bc6-232"},{"uid":"6bc6-236"},{"uid":"6bc6-240"},{"uid":"6bc6-238"},{"uid":"6bc6-246"},{"uid":"6bc6-248"},{"uid":"6bc6-272"},{"uid":"6bc6-270"},{"uid":"6bc6-194"},{"uid":"6bc6-200"},{"uid":"6bc6-202"},{"uid":"6bc6-212"},{"uid":"6bc6-214"},{"uid":"6bc6-218"},{"uid":"6bc6-226"},{"uid":"6bc6-230"},{"uid":"6bc6-242"},{"uid":"6bc6-198"},{"uid":"6bc6-210"},{"uid":"6bc6-196"}]},"6bc6-164":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/utils.ts","moduleParts":{"settings-form.umd.js":"6bc6-165"},"imported":[{"uid":"6bc6-302"}],"importedBy":[{"uid":"6bc6-296"},{"uid":"6bc6-166"}]},"6bc6-166":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/default-api-client.ts","moduleParts":{"settings-form.umd.js":"6bc6-167"},"imported":[{"uid":"6bc6-164"},{"uid":"6bc6-303"}],"importedBy":[{"uid":"6bc6-296"}]},"6bc6-168":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/facade-api-client.ts","moduleParts":{"settings-form.umd.js":"6bc6-169"},"imported":[],"importedBy":[{"uid":"6bc6-296"}]},"6bc6-170":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"6bc6-171"},"imported":[{"uid":"6bc6-287"}],"importedBy":[{"uid":"6bc6-274"},{"uid":"6bc6-216"},{"uid":"6bc6-228"},{"uid":"6bc6-232"},{"uid":"6bc6-240"},{"uid":"6bc6-272"},{"uid":"6bc6-172"},{"uid":"6bc6-174"},{"uid":"6bc6-176"},{"uid":"6bc6-178"},{"uid":"6bc6-188"}]},"6bc6-172":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"6bc6-173"},"imported":[{"uid":"6bc6-170"}],"importedBy":[{"uid":"6bc6-190"}]},"6bc6-174":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"6bc6-175"},"imported":[{"uid":"6bc6-170"}],"importedBy":[{"uid":"6bc6-190"}]},"6bc6-176":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"6bc6-177"},"imported":[{"uid":"6bc6-170"}],"importedBy":[{"uid":"6bc6-190"}]},"6bc6-178":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"6bc6-179"},"imported":[{"uid":"6bc6-170"}],"importedBy":[{"uid":"6bc6-190"}]},"6bc6-180":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/constant.js","moduleParts":{"settings-form.umd.js":"6bc6-181"},"imported":[],"importedBy":[{"uid":"6bc6-186"},{"uid":"6bc6-184"}]},"6bc6-182":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/locale/en.js","moduleParts":{"settings-form.umd.js":"6bc6-183"},"imported":[],"importedBy":[{"uid":"6bc6-186"}]},"6bc6-184":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/utils.js","moduleParts":{"settings-form.umd.js":"6bc6-185"},"imported":[{"uid":"6bc6-180"}],"importedBy":[{"uid":"6bc6-186"}]},"6bc6-186":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/index.js","moduleParts":{"settings-form.umd.js":"6bc6-187"},"imported":[{"uid":"6bc6-180"},{"uid":"6bc6-182"},{"uid":"6bc6-184"}],"importedBy":[{"uid":"6bc6-188"}]},"6bc6-188":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"6bc6-189"},"imported":[{"uid":"6bc6-186"},{"uid":"6bc6-170"}],"importedBy":[{"uid":"6bc6-190"}]},"6bc6-190":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"6bc6-191"},"imported":[{"uid":"6bc6-172"},{"uid":"6bc6-174"},{"uid":"6bc6-176"},{"uid":"6bc6-178"},{"uid":"6bc6-188"}],"importedBy":[{"uid":"6bc6-204"},{"uid":"6bc6-216"},{"uid":"6bc6-208"},{"uid":"6bc6-222"},{"uid":"6bc6-228"},{"uid":"6bc6-224"},{"uid":"6bc6-236"},{"uid":"6bc6-240"},{"uid":"6bc6-238"},{"uid":"6bc6-246"},{"uid":"6bc6-248"},{"uid":"6bc6-272"},{"uid":"6bc6-270"},{"uid":"6bc6-212"},{"uid":"6bc6-218"},{"uid":"6bc6-226"},{"uid":"6bc6-230"}]},"6bc6-192":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"6bc6-193"},"imported":[],"importedBy":[{"uid":"6bc6-204"},{"uid":"6bc6-216"},{"uid":"6bc6-208"},{"uid":"6bc6-194"},{"uid":"6bc6-200"},{"uid":"6bc6-202"},{"uid":"6bc6-212"},{"uid":"6bc6-210"}]},"6bc6-194":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"6bc6-195"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-290"},{"uid":"6bc6-295"},{"uid":"6bc6-192"}],"importedBy":[{"uid":"6bc6-204"}]},"6bc6-196":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"6bc6-197"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-298"}],"importedBy":[{"uid":"6bc6-198"}]},"6bc6-198":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"6bc6-199"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-292"},{"uid":"6bc6-290"},{"uid":"6bc6-291"},{"uid":"6bc6-196"}],"importedBy":[{"uid":"6bc6-200"},{"uid":"6bc6-210"}]},"6bc6-200":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"6bc6-201"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-295"},{"uid":"6bc6-192"},{"uid":"6bc6-198"}],"importedBy":[{"uid":"6bc6-204"}]},"6bc6-202":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"6bc6-203"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-192"},{"uid":"6bc6-291"}],"importedBy":[{"uid":"6bc6-204"}]},"6bc6-204":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"6bc6-205"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-289"},{"uid":"6bc6-290"},{"uid":"6bc6-291"},{"uid":"6bc6-190"},{"uid":"6bc6-192"},{"uid":"6bc6-194"},{"uid":"6bc6-200"},{"uid":"6bc6-202"}],"importedBy":[{"uid":"6bc6-278"},{"uid":"6bc6-216"}]},"6bc6-206":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"6bc6-207"},"imported":[{"uid":"6bc6-298"},{"uid":"6bc6-290"}],"importedBy":[{"uid":"6bc6-216"}]},"6bc6-208":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"6bc6-209"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-293"},{"uid":"6bc6-289"},{"uid":"6bc6-294"},{"uid":"6bc6-291"},{"uid":"6bc6-190"},{"uid":"6bc6-192"}],"importedBy":[{"uid":"6bc6-278"},{"uid":"6bc6-216"}]},"6bc6-210":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"6bc6-211"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-295"},{"uid":"6bc6-198"},{"uid":"6bc6-192"}],"importedBy":[{"uid":"6bc6-212"}]},"6bc6-212":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"6bc6-213"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-289"},{"uid":"6bc6-294"},{"uid":"6bc6-290"},{"uid":"6bc6-190"},{"uid":"6bc6-192"},{"uid":"6bc6-210"}],"importedBy":[{"uid":"6bc6-216"}]},"6bc6-214":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"6bc6-215"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-294"},{"uid":"6bc6-288"}],"importedBy":[{"uid":"6bc6-216"}]},"6bc6-216":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"6bc6-217"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-292"},{"uid":"6bc6-190"},{"uid":"6bc6-170"},{"uid":"6bc6-206"},{"uid":"6bc6-204"},{"uid":"6bc6-208"},{"uid":"6bc6-192"},{"uid":"6bc6-212"},{"uid":"6bc6-214"}],"importedBy":[{"uid":"6bc6-278"}]},"6bc6-218":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"6bc6-219"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-292"},{"uid":"6bc6-290"},{"uid":"6bc6-190"}],"importedBy":[{"uid":"6bc6-222"},{"uid":"6bc6-236"},{"uid":"6bc6-226"}]},"6bc6-220":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"6bc6-221"},"imported":[],"importedBy":[{"uid":"6bc6-222"},{"uid":"6bc6-228"},{"uid":"6bc6-224"},{"uid":"6bc6-232"},{"uid":"6bc6-226"},{"uid":"6bc6-230"}]},"6bc6-222":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"6bc6-223"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-289"},{"uid":"6bc6-290"},{"uid":"6bc6-295"},{"uid":"6bc6-291"},{"uid":"6bc6-190"},{"uid":"6bc6-218"},{"uid":"6bc6-220"}],"importedBy":[{"uid":"6bc6-279"},{"uid":"6bc6-228"}]},"6bc6-224":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"6bc6-225"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-293"},{"uid":"6bc6-289"},{"uid":"6bc6-291"},{"uid":"6bc6-190"},{"uid":"6bc6-220"}],"importedBy":[{"uid":"6bc6-279"},{"uid":"6bc6-228"}]},"6bc6-226":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"6bc6-227"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-289"},{"uid":"6bc6-290"},{"uid":"6bc6-295"},{"uid":"6bc6-291"},{"uid":"6bc6-190"},{"uid":"6bc6-218"},{"uid":"6bc6-220"}],"importedBy":[{"uid":"6bc6-228"}]},"6bc6-228":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"6bc6-229"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-292"},{"uid":"6bc6-190"},{"uid":"6bc6-170"},{"uid":"6bc6-222"},{"uid":"6bc6-224"},{"uid":"6bc6-226"},{"uid":"6bc6-220"}],"importedBy":[{"uid":"6bc6-279"}]},"6bc6-230":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"6bc6-231"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-289"},{"uid":"6bc6-295"},{"uid":"6bc6-190"},{"uid":"6bc6-220"}],"importedBy":[{"uid":"6bc6-232"}]},"6bc6-232":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"6bc6-233"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-170"},{"uid":"6bc6-220"},{"uid":"6bc6-230"}],"importedBy":[{"uid":"6bc6-279"}]},"6bc6-234":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"6bc6-235"},"imported":[],"importedBy":[{"uid":"6bc6-236"},{"uid":"6bc6-240"},{"uid":"6bc6-238"}]},"6bc6-236":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"6bc6-237"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-293"},{"uid":"6bc6-289"},{"uid":"6bc6-290"},{"uid":"6bc6-295"},{"uid":"6bc6-291"},{"uid":"6bc6-218"},{"uid":"6bc6-190"},{"uid":"6bc6-234"}],"importedBy":[{"uid":"6bc6-280"},{"uid":"6bc6-240"}]},"6bc6-238":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"6bc6-239"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-293"},{"uid":"6bc6-289"},{"uid":"6bc6-291"},{"uid":"6bc6-190"},{"uid":"6bc6-234"}],"importedBy":[{"uid":"6bc6-280"},{"uid":"6bc6-240"}]},"6bc6-240":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"6bc6-241"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-292"},{"uid":"6bc6-190"},{"uid":"6bc6-170"},{"uid":"6bc6-236"},{"uid":"6bc6-238"},{"uid":"6bc6-234"}],"importedBy":[{"uid":"6bc6-280"}]},"6bc6-242":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"6bc6-243"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-298"}],"importedBy":[{"uid":"6bc6-246"},{"uid":"6bc6-248"}]},"6bc6-244":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"6bc6-245"},"imported":[],"importedBy":[{"uid":"6bc6-246"},{"uid":"6bc6-248"},{"uid":"6bc6-272"},{"uid":"6bc6-270"}]},"6bc6-246":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"6bc6-247"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-289"},{"uid":"6bc6-290"},{"uid":"6bc6-295"},{"uid":"6bc6-291"},{"uid":"6bc6-190"},{"uid":"6bc6-242"},{"uid":"6bc6-244"}],"importedBy":[{"uid":"6bc6-281"},{"uid":"6bc6-272"}]},"6bc6-248":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"6bc6-249"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-289"},{"uid":"6bc6-290"},{"uid":"6bc6-295"},{"uid":"6bc6-190"},{"uid":"6bc6-242"},{"uid":"6bc6-244"},{"uid":"6bc6-294"}],"importedBy":[{"uid":"6bc6-281"},{"uid":"6bc6-272"}]},"6bc6-250":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"6bc6-251"},"imported":[],"importedBy":[{"uid":"6bc6-254"}]},"6bc6-252":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"6bc6-253"},"imported":[],"importedBy":[{"uid":"6bc6-254"}]},"6bc6-254":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"6bc6-255"},"imported":[{"uid":"6bc6-250"},{"uid":"6bc6-252"},{"uid":"6bc6-290"}],"importedBy":[{"uid":"6bc6-262"}]},"6bc6-256":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"6bc6-257"},"imported":[{"uid":"6bc6-290"}],"importedBy":[{"uid":"6bc6-262"}]},"6bc6-258":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"6bc6-259"},"imported":[],"importedBy":[{"uid":"6bc6-262"}]},"6bc6-260":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"6bc6-261"},"imported":[{"uid":"6bc6-288"}],"importedBy":[{"uid":"6bc6-262"}]},"6bc6-262":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"6bc6-263"},"imported":[{"uid":"6bc6-290"},{"uid":"6bc6-254"},{"uid":"6bc6-288"},{"uid":"6bc6-301"},{"uid":"6bc6-256"},{"uid":"6bc6-258"},{"uid":"6bc6-260"}],"importedBy":[{"uid":"6bc6-268"},{"uid":"6bc6-266"}]},"6bc6-264":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"6bc6-265"},"imported":[{"uid":"6bc6-288"}],"importedBy":[{"uid":"6bc6-266"}]},"6bc6-266":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"6bc6-267"},"imported":[{"uid":"6bc6-290"},{"uid":"6bc6-288"},{"uid":"6bc6-262"},{"uid":"6bc6-264"}],"importedBy":[{"uid":"6bc6-268"}]},"6bc6-268":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"6bc6-269"},"imported":[{"uid":"6bc6-288"},{"uid":"6bc6-266"},{"uid":"6bc6-262"}],"importedBy":[{"uid":"6bc6-272"}]},"6bc6-270":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"6bc6-271"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-293"},{"uid":"6bc6-289"},{"uid":"6bc6-291"},{"uid":"6bc6-190"},{"uid":"6bc6-244"}],"importedBy":[{"uid":"6bc6-281"},{"uid":"6bc6-272"}]},"6bc6-272":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"6bc6-273"},"imported":[{"uid":"6bc6-162"},{"uid":"6bc6-288"},{"uid":"6bc6-268"},{"uid":"6bc6-292"},{"uid":"6bc6-190"},{"uid":"6bc6-170"},{"uid":"6bc6-246"},{"uid":"6bc6-270"},{"uid":"6bc6-244"},{"uid":"6bc6-294"},{"uid":"6bc6-248"}],"importedBy":[{"uid":"6bc6-281"}]},"6bc6-274":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"6bc6-275"},"imported":[{"uid":"6bc6-278"},{"uid":"6bc6-279"},{"uid":"6bc6-280"},{"uid":"6bc6-281"},{"uid":"6bc6-170"},{"uid":"6bc6-282"},{"uid":"6bc6-283"},{"uid":"6bc6-284"},{"uid":"6bc6-285"},{"uid":"6bc6-286"},{"uid":"6bc6-276","dynamic":true}],"importedBy":[],"isEntry":true},"6bc6-276":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"6bc6-277"},"imported":[],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-278":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"6bc6-204"},{"uid":"6bc6-216"},{"uid":"6bc6-208"}],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-279":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"6bc6-222"},{"uid":"6bc6-228"},{"uid":"6bc6-224"},{"uid":"6bc6-232"}],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-280":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"6bc6-236"},{"uid":"6bc6-240"},{"uid":"6bc6-238"}],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-281":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"6bc6-246"},{"uid":"6bc6-248"},{"uid":"6bc6-272"},{"uid":"6bc6-270"}],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-282":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-283":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-284":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-285":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-286":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-274"}]},"6bc6-287":{"id":"/Users/leto/github/merico-dev/table/shared/src/index.ts","moduleParts":{},"imported":[{"uid":"6bc6-296"}],"importedBy":[{"uid":"6bc6-170"}]},"6bc6-288":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-204"},{"uid":"6bc6-216"},{"uid":"6bc6-208"},{"uid":"6bc6-222"},{"uid":"6bc6-228"},{"uid":"6bc6-224"},{"uid":"6bc6-232"},{"uid":"6bc6-236"},{"uid":"6bc6-240"},{"uid":"6bc6-238"},{"uid":"6bc6-246"},{"uid":"6bc6-248"},{"uid":"6bc6-272"},{"uid":"6bc6-270"},{"uid":"6bc6-194"},{"uid":"6bc6-200"},{"uid":"6bc6-202"},{"uid":"6bc6-212"},{"uid":"6bc6-214"},{"uid":"6bc6-218"},{"uid":"6bc6-226"},{"uid":"6bc6-230"},{"uid":"6bc6-268"},{"uid":"6bc6-198"},{"uid":"6bc6-210"},{"uid":"6bc6-266"},{"uid":"6bc6-262"},{"uid":"6bc6-196"},{"uid":"6bc6-264"},{"uid":"6bc6-260"}],"isExternal":true},"6bc6-289":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-204"},{"uid":"6bc6-208"},{"uid":"6bc6-222"},{"uid":"6bc6-224"},{"uid":"6bc6-236"},{"uid":"6bc6-238"},{"uid":"6bc6-246"},{"uid":"6bc6-248"},{"uid":"6bc6-270"},{"uid":"6bc6-212"},{"uid":"6bc6-226"},{"uid":"6bc6-230"}],"isExternal":true},"6bc6-290":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-204"},{"uid":"6bc6-222"},{"uid":"6bc6-236"},{"uid":"6bc6-246"},{"uid":"6bc6-248"},{"uid":"6bc6-194"},{"uid":"6bc6-206"},{"uid":"6bc6-212"},{"uid":"6bc6-218"},{"uid":"6bc6-226"},{"uid":"6bc6-198"},{"uid":"6bc6-266"},{"uid":"6bc6-262"},{"uid":"6bc6-300"},{"uid":"6bc6-254"},{"uid":"6bc6-256"}],"isExternal":true},"6bc6-291":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-204"},{"uid":"6bc6-208"},{"uid":"6bc6-222"},{"uid":"6bc6-224"},{"uid":"6bc6-236"},{"uid":"6bc6-238"},{"uid":"6bc6-246"},{"uid":"6bc6-270"},{"uid":"6bc6-202"},{"uid":"6bc6-226"},{"uid":"6bc6-198"}],"isExternal":true},"6bc6-292":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-216"},{"uid":"6bc6-228"},{"uid":"6bc6-240"},{"uid":"6bc6-272"},{"uid":"6bc6-218"},{"uid":"6bc6-198"}],"isExternal":true},"6bc6-293":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-208"},{"uid":"6bc6-224"},{"uid":"6bc6-236"},{"uid":"6bc6-238"},{"uid":"6bc6-270"}],"isExternal":true},"6bc6-294":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-208"},{"uid":"6bc6-248"},{"uid":"6bc6-272"},{"uid":"6bc6-212"},{"uid":"6bc6-214"}],"isExternal":true},"6bc6-295":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-222"},{"uid":"6bc6-236"},{"uid":"6bc6-246"},{"uid":"6bc6-248"},{"uid":"6bc6-194"},{"uid":"6bc6-200"},{"uid":"6bc6-226"},{"uid":"6bc6-230"},{"uid":"6bc6-210"}],"isExternal":true},"6bc6-296":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/index.ts","moduleParts":{},"imported":[{"uid":"6bc6-299"},{"uid":"6bc6-164"},{"uid":"6bc6-166"},{"uid":"6bc6-168"}],"importedBy":[{"uid":"6bc6-287"}]},"6bc6-297":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-162"},{"uid":"6bc6-156"},{"uid":"6bc6-160"}]},"6bc6-298":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-206"},{"uid":"6bc6-242"},{"uid":"6bc6-196"}],"isExternal":true},"6bc6-299":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-296"}]},"6bc6-300":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"6bc6-290"}],"importedBy":[{"uid":"6bc6-156"},{"uid":"6bc6-160"}]},"6bc6-301":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-262"}],"isExternal":true},"6bc6-302":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-164"}],"isExternal":true},"6bc6-303":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"6bc6-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":"5112-153","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"5112-155","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"5112-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":"5112-157","name":"react-jsx-runtime.production.min.js"},{"uid":"5112-161","name":"react-jsx-runtime.development.js"}]},{"uid":"5112-163","name":"jsx-runtime.js"}]},{"name":"dayjs/esm","children":[{"uid":"5112-181","name":"constant.js"},{"name":"locale/en.js","uid":"5112-183"},{"uid":"5112-185","name":"utils.js"},{"uid":"5112-187","name":"index.js"}]},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"5112-251"},{"name":"themes/duotoneDark/index.js","uid":"5112-253"},{"name":"dist/index.js","uid":"5112-255"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"5112-257","name":"CopyIcon.js"},{"uid":"5112-259","name":"prism-theme.js"},{"uid":"5112-261","name":"Prism.styles.js"},{"uid":"5112-263","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"5112-265","name":"PrismTabs.styles.js"},{"uid":"5112-267","name":"PrismTabs.js"}]},{"uid":"5112-269","name":"index.js"}]}]},{"name":"shared/src/api-client","children":[{"uid":"5112-165","name":"utils.ts"},{"uid":"5112-167","name":"default-api-client.ts"},{"uid":"5112-169","name":"facade-api-client.ts"}]}]},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"5112-171","name":"request.ts"},{"uid":"5112-173","name":"account.ts"},{"uid":"5112-175","name":"api-key.ts"},{"uid":"5112-177","name":"datasource.ts"},{"uid":"5112-179","name":"role.ts"},{"uid":"5112-189","name":"sql_snippet.ts"},{"uid":"5112-191","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"5112-193","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"5112-195","name":"database.tsx"},{"uid":"5112-201","name":"http.tsx"}]},{"uid":"5112-203","name":"db-permission-tips.tsx"},{"uid":"5112-205","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"5112-197","name":"function-string-editor.tsx"},{"uid":"5112-199","name":"index.tsx"}]},{"uid":"5112-215","name":"data-source-icon.tsx"}]},{"uid":"5112-209","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"5112-211"},{"uid":"5112-213","name":"index.tsx"}]},{"uid":"5112-217","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"5112-207"},{"name":"account","children":[{"uid":"5112-219","name":"role-selector.tsx"},{"uid":"5112-221","name":"styles.ts"},{"uid":"5112-223","name":"add-account.tsx"},{"uid":"5112-225","name":"delete-account.tsx"},{"uid":"5112-227","name":"edit-account.tsx"},{"uid":"5112-229","name":"account-list.tsx"},{"name":"login","children":[{"uid":"5112-231","name":"form.tsx"},{"uid":"5112-233","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"5112-235","name":"styles.ts"},{"uid":"5112-237","name":"add-api-key.tsx"},{"uid":"5112-239","name":"delete-api-key.tsx"},{"uid":"5112-241","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"5112-243"},{"name":"sql_snippet","children":[{"uid":"5112-245","name":"styles.ts"},{"uid":"5112-247","name":"add-sql_snippet.tsx"},{"uid":"5112-249","name":"update-sql_snippet.tsx"},{"uid":"5112-271","name":"delete-sql_snippet.tsx"},{"uid":"5112-273","name":"sql_snippet-list.tsx"}]},{"uid":"5112-275","name":"index.ts"}]},{"uid":"5112-277","name":"package.json"}]}],"isRoot":true},"nodeParts":{"5112-153":{"renderedLength":33,"gzipLength":0,"brotliLength":0,"metaUid":"5112-152"},"5112-155":{"renderedLength":42,"gzipLength":0,"brotliLength":0,"metaUid":"5112-154"},"5112-157":{"renderedLength":1217,"gzipLength":0,"brotliLength":0,"metaUid":"5112-156"},"5112-159":{"renderedLength":39,"gzipLength":0,"brotliLength":0,"metaUid":"5112-158"},"5112-161":{"renderedLength":45245,"gzipLength":0,"brotliLength":0,"metaUid":"5112-160"},"5112-163":{"renderedLength":237,"gzipLength":0,"brotliLength":0,"metaUid":"5112-162"},"5112-165":{"renderedLength":949,"gzipLength":0,"brotliLength":0,"metaUid":"5112-164"},"5112-167":{"renderedLength":2050,"gzipLength":0,"brotliLength":0,"metaUid":"5112-166"},"5112-169":{"renderedLength":422,"gzipLength":0,"brotliLength":0,"metaUid":"5112-168"},"5112-171":{"renderedLength":426,"gzipLength":0,"brotliLength":0,"metaUid":"5112-170"},"5112-173":{"renderedLength":1913,"gzipLength":0,"brotliLength":0,"metaUid":"5112-172"},"5112-175":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"5112-174"},"5112-177":{"renderedLength":730,"gzipLength":0,"brotliLength":0,"metaUid":"5112-176"},"5112-179":{"renderedLength":132,"gzipLength":0,"brotliLength":0,"metaUid":"5112-178"},"5112-181":{"renderedLength":1011,"gzipLength":0,"brotliLength":0,"metaUid":"5112-180"},"5112-183":{"renderedLength":494,"gzipLength":0,"brotliLength":0,"metaUid":"5112-182"},"5112-185":{"renderedLength":1623,"gzipLength":0,"brotliLength":0,"metaUid":"5112-184"},"5112-187":{"renderedLength":14004,"gzipLength":0,"brotliLength":0,"metaUid":"5112-186"},"5112-189":{"renderedLength":1079,"gzipLength":0,"brotliLength":0,"metaUid":"5112-188"},"5112-191":{"renderedLength":94,"gzipLength":0,"brotliLength":0,"metaUid":"5112-190"},"5112-193":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"5112-192"},"5112-195":{"renderedLength":3028,"gzipLength":0,"brotliLength":0,"metaUid":"5112-194"},"5112-197":{"renderedLength":502,"gzipLength":0,"brotliLength":0,"metaUid":"5112-196"},"5112-199":{"renderedLength":1962,"gzipLength":0,"brotliLength":0,"metaUid":"5112-198"},"5112-201":{"renderedLength":2826,"gzipLength":0,"brotliLength":0,"metaUid":"5112-200"},"5112-203":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"5112-202"},"5112-205":{"renderedLength":2781,"gzipLength":0,"brotliLength":0,"metaUid":"5112-204"},"5112-207":{"renderedLength":551,"gzipLength":0,"brotliLength":0,"metaUid":"5112-206"},"5112-209":{"renderedLength":1845,"gzipLength":0,"brotliLength":0,"metaUid":"5112-208"},"5112-211":{"renderedLength":2483,"gzipLength":0,"brotliLength":0,"metaUid":"5112-210"},"5112-213":{"renderedLength":3259,"gzipLength":0,"brotliLength":0,"metaUid":"5112-212"},"5112-215":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"5112-214"},"5112-217":{"renderedLength":2516,"gzipLength":0,"brotliLength":0,"metaUid":"5112-216"},"5112-219":{"renderedLength":1346,"gzipLength":0,"brotliLength":0,"metaUid":"5112-218"},"5112-221":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"5112-220"},"5112-223":{"renderedLength":3556,"gzipLength":0,"brotliLength":0,"metaUid":"5112-222"},"5112-225":{"renderedLength":1356,"gzipLength":0,"brotliLength":0,"metaUid":"5112-224"},"5112-227":{"renderedLength":4605,"gzipLength":0,"brotliLength":0,"metaUid":"5112-226"},"5112-229":{"renderedLength":2963,"gzipLength":0,"brotliLength":0,"metaUid":"5112-228"},"5112-231":{"renderedLength":2002,"gzipLength":0,"brotliLength":0,"metaUid":"5112-230"},"5112-233":{"renderedLength":417,"gzipLength":0,"brotliLength":0,"metaUid":"5112-232"},"5112-235":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"5112-234"},"5112-237":{"renderedLength":3975,"gzipLength":0,"brotliLength":0,"metaUid":"5112-236"},"5112-239":{"renderedLength":1355,"gzipLength":0,"brotliLength":0,"metaUid":"5112-238"},"5112-241":{"renderedLength":2823,"gzipLength":0,"brotliLength":0,"metaUid":"5112-240"},"5112-243":{"renderedLength":682,"gzipLength":0,"brotliLength":0,"metaUid":"5112-242"},"5112-245":{"renderedLength":102,"gzipLength":0,"brotliLength":0,"metaUid":"5112-244"},"5112-247":{"renderedLength":3035,"gzipLength":0,"brotliLength":0,"metaUid":"5112-246"},"5112-249":{"renderedLength":3062,"gzipLength":0,"brotliLength":0,"metaUid":"5112-248"},"5112-251":{"renderedLength":148464,"gzipLength":0,"brotliLength":0,"metaUid":"5112-250"},"5112-253":{"renderedLength":1767,"gzipLength":0,"brotliLength":0,"metaUid":"5112-252"},"5112-255":{"renderedLength":9562,"gzipLength":0,"brotliLength":0,"metaUid":"5112-254"},"5112-257":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"5112-256"},"5112-259":{"renderedLength":3572,"gzipLength":0,"brotliLength":0,"metaUid":"5112-258"},"5112-261":{"renderedLength":1430,"gzipLength":0,"brotliLength":0,"metaUid":"5112-260"},"5112-263":{"renderedLength":6332,"gzipLength":0,"brotliLength":0,"metaUid":"5112-262"},"5112-265":{"renderedLength":1639,"gzipLength":0,"brotliLength":0,"metaUid":"5112-264"},"5112-267":{"renderedLength":2707,"gzipLength":0,"brotliLength":0,"metaUid":"5112-266"},"5112-269":{"renderedLength":170,"gzipLength":0,"brotliLength":0,"metaUid":"5112-268"},"5112-271":{"renderedLength":1413,"gzipLength":0,"brotliLength":0,"metaUid":"5112-270"},"5112-273":{"renderedLength":3473,"gzipLength":0,"brotliLength":0,"metaUid":"5112-272"},"5112-275":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"5112-274"},"5112-277":{"renderedLength":28,"gzipLength":0,"brotliLength":0,"metaUid":"5112-276"}},"nodeMetas":{"5112-152":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"5112-153"},"imported":[],"importedBy":[{"uid":"5112-162"}]},"5112-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":"5112-155"},"imported":[],"importedBy":[{"uid":"5112-156"}]},"5112-156":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"5112-157"},"imported":[{"uid":"5112-297"},{"uid":"5112-154"},{"uid":"5112-300"}],"importedBy":[{"uid":"5112-162"}]},"5112-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":"5112-159"},"imported":[],"importedBy":[{"uid":"5112-160"}]},"5112-160":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"5112-161"},"imported":[{"uid":"5112-297"},{"uid":"5112-158"},{"uid":"5112-300"}],"importedBy":[{"uid":"5112-162"}]},"5112-162":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"5112-163"},"imported":[{"uid":"5112-297"},{"uid":"5112-152"},{"uid":"5112-156"},{"uid":"5112-160"}],"importedBy":[{"uid":"5112-204"},{"uid":"5112-216"},{"uid":"5112-208"},{"uid":"5112-222"},{"uid":"5112-228"},{"uid":"5112-224"},{"uid":"5112-232"},{"uid":"5112-236"},{"uid":"5112-240"},{"uid":"5112-238"},{"uid":"5112-246"},{"uid":"5112-248"},{"uid":"5112-272"},{"uid":"5112-270"},{"uid":"5112-194"},{"uid":"5112-200"},{"uid":"5112-202"},{"uid":"5112-212"},{"uid":"5112-214"},{"uid":"5112-218"},{"uid":"5112-226"},{"uid":"5112-230"},{"uid":"5112-242"},{"uid":"5112-198"},{"uid":"5112-210"},{"uid":"5112-196"}]},"5112-164":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/utils.ts","moduleParts":{"settings-form.umd.js":"5112-165"},"imported":[{"uid":"5112-302"}],"importedBy":[{"uid":"5112-296"},{"uid":"5112-166"}]},"5112-166":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/default-api-client.ts","moduleParts":{"settings-form.umd.js":"5112-167"},"imported":[{"uid":"5112-164"},{"uid":"5112-303"}],"importedBy":[{"uid":"5112-296"}]},"5112-168":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/facade-api-client.ts","moduleParts":{"settings-form.umd.js":"5112-169"},"imported":[],"importedBy":[{"uid":"5112-296"}]},"5112-170":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"5112-171"},"imported":[{"uid":"5112-287"}],"importedBy":[{"uid":"5112-274"},{"uid":"5112-216"},{"uid":"5112-228"},{"uid":"5112-232"},{"uid":"5112-240"},{"uid":"5112-272"},{"uid":"5112-172"},{"uid":"5112-174"},{"uid":"5112-176"},{"uid":"5112-178"},{"uid":"5112-188"}]},"5112-172":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"5112-173"},"imported":[{"uid":"5112-170"}],"importedBy":[{"uid":"5112-190"}]},"5112-174":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"5112-175"},"imported":[{"uid":"5112-170"}],"importedBy":[{"uid":"5112-190"}]},"5112-176":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"5112-177"},"imported":[{"uid":"5112-170"}],"importedBy":[{"uid":"5112-190"}]},"5112-178":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"5112-179"},"imported":[{"uid":"5112-170"}],"importedBy":[{"uid":"5112-190"}]},"5112-180":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/constant.js","moduleParts":{"settings-form.umd.js":"5112-181"},"imported":[],"importedBy":[{"uid":"5112-186"},{"uid":"5112-184"}]},"5112-182":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/locale/en.js","moduleParts":{"settings-form.umd.js":"5112-183"},"imported":[],"importedBy":[{"uid":"5112-186"}]},"5112-184":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/utils.js","moduleParts":{"settings-form.umd.js":"5112-185"},"imported":[{"uid":"5112-180"}],"importedBy":[{"uid":"5112-186"}]},"5112-186":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/index.js","moduleParts":{"settings-form.umd.js":"5112-187"},"imported":[{"uid":"5112-180"},{"uid":"5112-182"},{"uid":"5112-184"}],"importedBy":[{"uid":"5112-188"}]},"5112-188":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"5112-189"},"imported":[{"uid":"5112-186"},{"uid":"5112-170"}],"importedBy":[{"uid":"5112-190"}]},"5112-190":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"5112-191"},"imported":[{"uid":"5112-172"},{"uid":"5112-174"},{"uid":"5112-176"},{"uid":"5112-178"},{"uid":"5112-188"}],"importedBy":[{"uid":"5112-204"},{"uid":"5112-216"},{"uid":"5112-208"},{"uid":"5112-222"},{"uid":"5112-228"},{"uid":"5112-224"},{"uid":"5112-236"},{"uid":"5112-240"},{"uid":"5112-238"},{"uid":"5112-246"},{"uid":"5112-248"},{"uid":"5112-272"},{"uid":"5112-270"},{"uid":"5112-212"},{"uid":"5112-218"},{"uid":"5112-226"},{"uid":"5112-230"}]},"5112-192":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"5112-193"},"imported":[],"importedBy":[{"uid":"5112-204"},{"uid":"5112-216"},{"uid":"5112-208"},{"uid":"5112-194"},{"uid":"5112-200"},{"uid":"5112-202"},{"uid":"5112-212"},{"uid":"5112-210"}]},"5112-194":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"5112-195"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-290"},{"uid":"5112-295"},{"uid":"5112-192"}],"importedBy":[{"uid":"5112-204"}]},"5112-196":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"5112-197"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-298"}],"importedBy":[{"uid":"5112-198"}]},"5112-198":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"5112-199"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-292"},{"uid":"5112-290"},{"uid":"5112-291"},{"uid":"5112-196"}],"importedBy":[{"uid":"5112-200"},{"uid":"5112-210"}]},"5112-200":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"5112-201"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-295"},{"uid":"5112-192"},{"uid":"5112-198"}],"importedBy":[{"uid":"5112-204"}]},"5112-202":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"5112-203"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-192"},{"uid":"5112-291"}],"importedBy":[{"uid":"5112-204"}]},"5112-204":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"5112-205"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-289"},{"uid":"5112-290"},{"uid":"5112-291"},{"uid":"5112-190"},{"uid":"5112-192"},{"uid":"5112-194"},{"uid":"5112-200"},{"uid":"5112-202"}],"importedBy":[{"uid":"5112-278"},{"uid":"5112-216"}]},"5112-206":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"5112-207"},"imported":[{"uid":"5112-298"},{"uid":"5112-290"}],"importedBy":[{"uid":"5112-216"}]},"5112-208":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"5112-209"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-293"},{"uid":"5112-289"},{"uid":"5112-294"},{"uid":"5112-291"},{"uid":"5112-190"},{"uid":"5112-192"}],"importedBy":[{"uid":"5112-278"},{"uid":"5112-216"}]},"5112-210":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"5112-211"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-295"},{"uid":"5112-198"},{"uid":"5112-192"}],"importedBy":[{"uid":"5112-212"}]},"5112-212":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"5112-213"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-289"},{"uid":"5112-294"},{"uid":"5112-290"},{"uid":"5112-190"},{"uid":"5112-192"},{"uid":"5112-210"}],"importedBy":[{"uid":"5112-216"}]},"5112-214":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"5112-215"},"imported":[{"uid":"5112-162"},{"uid":"5112-294"},{"uid":"5112-288"}],"importedBy":[{"uid":"5112-216"}]},"5112-216":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"5112-217"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-292"},{"uid":"5112-190"},{"uid":"5112-170"},{"uid":"5112-206"},{"uid":"5112-204"},{"uid":"5112-208"},{"uid":"5112-192"},{"uid":"5112-212"},{"uid":"5112-214"}],"importedBy":[{"uid":"5112-278"}]},"5112-218":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"5112-219"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-292"},{"uid":"5112-290"},{"uid":"5112-190"}],"importedBy":[{"uid":"5112-222"},{"uid":"5112-236"},{"uid":"5112-226"}]},"5112-220":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"5112-221"},"imported":[],"importedBy":[{"uid":"5112-222"},{"uid":"5112-228"},{"uid":"5112-224"},{"uid":"5112-232"},{"uid":"5112-226"},{"uid":"5112-230"}]},"5112-222":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"5112-223"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-289"},{"uid":"5112-290"},{"uid":"5112-295"},{"uid":"5112-291"},{"uid":"5112-190"},{"uid":"5112-218"},{"uid":"5112-220"}],"importedBy":[{"uid":"5112-279"},{"uid":"5112-228"}]},"5112-224":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"5112-225"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-293"},{"uid":"5112-289"},{"uid":"5112-291"},{"uid":"5112-190"},{"uid":"5112-220"}],"importedBy":[{"uid":"5112-279"},{"uid":"5112-228"}]},"5112-226":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"5112-227"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-289"},{"uid":"5112-290"},{"uid":"5112-295"},{"uid":"5112-291"},{"uid":"5112-190"},{"uid":"5112-218"},{"uid":"5112-220"}],"importedBy":[{"uid":"5112-228"}]},"5112-228":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"5112-229"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-292"},{"uid":"5112-190"},{"uid":"5112-170"},{"uid":"5112-222"},{"uid":"5112-224"},{"uid":"5112-226"},{"uid":"5112-220"}],"importedBy":[{"uid":"5112-279"}]},"5112-230":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"5112-231"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-289"},{"uid":"5112-295"},{"uid":"5112-190"},{"uid":"5112-220"}],"importedBy":[{"uid":"5112-232"}]},"5112-232":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"5112-233"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-170"},{"uid":"5112-220"},{"uid":"5112-230"}],"importedBy":[{"uid":"5112-279"}]},"5112-234":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"5112-235"},"imported":[],"importedBy":[{"uid":"5112-236"},{"uid":"5112-240"},{"uid":"5112-238"}]},"5112-236":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"5112-237"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-293"},{"uid":"5112-289"},{"uid":"5112-290"},{"uid":"5112-295"},{"uid":"5112-291"},{"uid":"5112-218"},{"uid":"5112-190"},{"uid":"5112-234"}],"importedBy":[{"uid":"5112-280"},{"uid":"5112-240"}]},"5112-238":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"5112-239"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-293"},{"uid":"5112-289"},{"uid":"5112-291"},{"uid":"5112-190"},{"uid":"5112-234"}],"importedBy":[{"uid":"5112-280"},{"uid":"5112-240"}]},"5112-240":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"5112-241"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-292"},{"uid":"5112-190"},{"uid":"5112-170"},{"uid":"5112-236"},{"uid":"5112-238"},{"uid":"5112-234"}],"importedBy":[{"uid":"5112-280"}]},"5112-242":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"5112-243"},"imported":[{"uid":"5112-162"},{"uid":"5112-298"}],"importedBy":[{"uid":"5112-246"},{"uid":"5112-248"}]},"5112-244":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"5112-245"},"imported":[],"importedBy":[{"uid":"5112-246"},{"uid":"5112-248"},{"uid":"5112-272"},{"uid":"5112-270"}]},"5112-246":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"5112-247"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-289"},{"uid":"5112-290"},{"uid":"5112-295"},{"uid":"5112-291"},{"uid":"5112-190"},{"uid":"5112-242"},{"uid":"5112-244"}],"importedBy":[{"uid":"5112-281"},{"uid":"5112-272"}]},"5112-248":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"5112-249"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-289"},{"uid":"5112-290"},{"uid":"5112-295"},{"uid":"5112-190"},{"uid":"5112-242"},{"uid":"5112-244"},{"uid":"5112-294"}],"importedBy":[{"uid":"5112-281"},{"uid":"5112-272"}]},"5112-250":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"5112-251"},"imported":[],"importedBy":[{"uid":"5112-254"}]},"5112-252":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"5112-253"},"imported":[],"importedBy":[{"uid":"5112-254"}]},"5112-254":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"5112-255"},"imported":[{"uid":"5112-250"},{"uid":"5112-252"},{"uid":"5112-290"}],"importedBy":[{"uid":"5112-262"}]},"5112-256":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"5112-257"},"imported":[{"uid":"5112-290"}],"importedBy":[{"uid":"5112-262"}]},"5112-258":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"5112-259"},"imported":[],"importedBy":[{"uid":"5112-262"}]},"5112-260":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"5112-261"},"imported":[{"uid":"5112-288"}],"importedBy":[{"uid":"5112-262"}]},"5112-262":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"5112-263"},"imported":[{"uid":"5112-290"},{"uid":"5112-254"},{"uid":"5112-288"},{"uid":"5112-301"},{"uid":"5112-256"},{"uid":"5112-258"},{"uid":"5112-260"}],"importedBy":[{"uid":"5112-268"},{"uid":"5112-266"}]},"5112-264":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"5112-265"},"imported":[{"uid":"5112-288"}],"importedBy":[{"uid":"5112-266"}]},"5112-266":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"5112-267"},"imported":[{"uid":"5112-290"},{"uid":"5112-288"},{"uid":"5112-262"},{"uid":"5112-264"}],"importedBy":[{"uid":"5112-268"}]},"5112-268":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"5112-269"},"imported":[{"uid":"5112-288"},{"uid":"5112-266"},{"uid":"5112-262"}],"importedBy":[{"uid":"5112-272"}]},"5112-270":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"5112-271"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-293"},{"uid":"5112-289"},{"uid":"5112-291"},{"uid":"5112-190"},{"uid":"5112-244"}],"importedBy":[{"uid":"5112-281"},{"uid":"5112-272"}]},"5112-272":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"5112-273"},"imported":[{"uid":"5112-162"},{"uid":"5112-288"},{"uid":"5112-268"},{"uid":"5112-292"},{"uid":"5112-190"},{"uid":"5112-170"},{"uid":"5112-246"},{"uid":"5112-270"},{"uid":"5112-244"},{"uid":"5112-294"},{"uid":"5112-248"}],"importedBy":[{"uid":"5112-281"}]},"5112-274":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"5112-275"},"imported":[{"uid":"5112-278"},{"uid":"5112-279"},{"uid":"5112-280"},{"uid":"5112-281"},{"uid":"5112-170"},{"uid":"5112-282"},{"uid":"5112-283"},{"uid":"5112-284"},{"uid":"5112-285"},{"uid":"5112-286"},{"uid":"5112-276","dynamic":true}],"importedBy":[],"isEntry":true},"5112-276":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"5112-277"},"imported":[],"importedBy":[{"uid":"5112-274"}]},"5112-278":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"5112-204"},{"uid":"5112-216"},{"uid":"5112-208"}],"importedBy":[{"uid":"5112-274"}]},"5112-279":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"5112-222"},{"uid":"5112-228"},{"uid":"5112-224"},{"uid":"5112-232"}],"importedBy":[{"uid":"5112-274"}]},"5112-280":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"5112-236"},{"uid":"5112-240"},{"uid":"5112-238"}],"importedBy":[{"uid":"5112-274"}]},"5112-281":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"5112-246"},{"uid":"5112-248"},{"uid":"5112-272"},{"uid":"5112-270"}],"importedBy":[{"uid":"5112-274"}]},"5112-282":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-274"}]},"5112-283":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-274"}]},"5112-284":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-274"}]},"5112-285":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-274"}]},"5112-286":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-274"}]},"5112-287":{"id":"/Users/leto/github/merico-dev/table/shared/src/index.ts","moduleParts":{},"imported":[{"uid":"5112-296"}],"importedBy":[{"uid":"5112-170"}]},"5112-288":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-204"},{"uid":"5112-216"},{"uid":"5112-208"},{"uid":"5112-222"},{"uid":"5112-228"},{"uid":"5112-224"},{"uid":"5112-232"},{"uid":"5112-236"},{"uid":"5112-240"},{"uid":"5112-238"},{"uid":"5112-246"},{"uid":"5112-248"},{"uid":"5112-272"},{"uid":"5112-270"},{"uid":"5112-194"},{"uid":"5112-200"},{"uid":"5112-202"},{"uid":"5112-212"},{"uid":"5112-214"},{"uid":"5112-218"},{"uid":"5112-226"},{"uid":"5112-230"},{"uid":"5112-268"},{"uid":"5112-198"},{"uid":"5112-210"},{"uid":"5112-266"},{"uid":"5112-262"},{"uid":"5112-196"},{"uid":"5112-264"},{"uid":"5112-260"}],"isExternal":true},"5112-289":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-204"},{"uid":"5112-208"},{"uid":"5112-222"},{"uid":"5112-224"},{"uid":"5112-236"},{"uid":"5112-238"},{"uid":"5112-246"},{"uid":"5112-248"},{"uid":"5112-270"},{"uid":"5112-212"},{"uid":"5112-226"},{"uid":"5112-230"}],"isExternal":true},"5112-290":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-204"},{"uid":"5112-222"},{"uid":"5112-236"},{"uid":"5112-246"},{"uid":"5112-248"},{"uid":"5112-194"},{"uid":"5112-206"},{"uid":"5112-212"},{"uid":"5112-218"},{"uid":"5112-226"},{"uid":"5112-198"},{"uid":"5112-266"},{"uid":"5112-262"},{"uid":"5112-300"},{"uid":"5112-254"},{"uid":"5112-256"}],"isExternal":true},"5112-291":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-204"},{"uid":"5112-208"},{"uid":"5112-222"},{"uid":"5112-224"},{"uid":"5112-236"},{"uid":"5112-238"},{"uid":"5112-246"},{"uid":"5112-270"},{"uid":"5112-202"},{"uid":"5112-226"},{"uid":"5112-198"}],"isExternal":true},"5112-292":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-216"},{"uid":"5112-228"},{"uid":"5112-240"},{"uid":"5112-272"},{"uid":"5112-218"},{"uid":"5112-198"}],"isExternal":true},"5112-293":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-208"},{"uid":"5112-224"},{"uid":"5112-236"},{"uid":"5112-238"},{"uid":"5112-270"}],"isExternal":true},"5112-294":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-208"},{"uid":"5112-248"},{"uid":"5112-272"},{"uid":"5112-212"},{"uid":"5112-214"}],"isExternal":true},"5112-295":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-222"},{"uid":"5112-236"},{"uid":"5112-246"},{"uid":"5112-248"},{"uid":"5112-194"},{"uid":"5112-200"},{"uid":"5112-226"},{"uid":"5112-230"},{"uid":"5112-210"}],"isExternal":true},"5112-296":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/index.ts","moduleParts":{},"imported":[{"uid":"5112-299"},{"uid":"5112-164"},{"uid":"5112-166"},{"uid":"5112-168"}],"importedBy":[{"uid":"5112-287"}]},"5112-297":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-162"},{"uid":"5112-156"},{"uid":"5112-160"}]},"5112-298":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-206"},{"uid":"5112-242"},{"uid":"5112-196"}],"isExternal":true},"5112-299":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-296"}]},"5112-300":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"5112-290"}],"importedBy":[{"uid":"5112-156"},{"uid":"5112-160"}]},"5112-301":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-262"}],"isExternal":true},"5112-302":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-164"}],"isExternal":true},"5112-303":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"5112-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;
|