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