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