@devtable/settings-form 10.35.0 → 10.35.1

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 = "10.35.0";
1
+ const o = "10.35.1";
2
2
  export {
3
3
  o as version
4
4
  };
@@ -6034,7 +6034,7 @@ function ka({
6034
6034
  ] })
6035
6035
  ] });
6036
6036
  }
6037
- const Ta = () => import("./package-dd7eae2e.mjs").then(({
6037
+ const Ta = () => import("./package-6f9ce602.mjs").then(({
6038
6038
  version: e
6039
6039
  }) => (console.log(`[@devtable/dashboard] version: ${e}`), e));
6040
6040
  export {
@@ -41,4 +41,4 @@ Check the top-level render call using <`+x+">.")}return S}}function Pt(i,S){{if(
41
41
  `,empty:!0}):e.length===1&&e[0].content===""&&(e[0].content=`
42
42
  `,e[0].empty=!0)},bt=function(e,t){var n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},Dn=function(e){for(var t=[[]],n=[e],r=[0],s=[e.length],o=0,l=0,g=[],p=[g];l>-1;){for(;(o=r[l]++)<s[l];){var h=void 0,y=t[l],u=n[l],c=u[o];if(typeof c=="string"?(y=l>0?y:["plain"],h=c):(y=bt(y,c.type),c.alias&&(y=bt(y,c.alias)),h=c.content),typeof h!="string"){l++,t.push(y),n.push(h),r.push(0),s.push(h.length);continue}var f=h.split(In),v=f.length;g.push({types:y,content:f[0]});for(var b=1;b<v;b++)ht(g),p.push(g=[]),g.push({types:y,content:f[b]})}l--,t.pop(),n.pop(),r.pop(),s.pop()}return ht(g),p},Ln=function(e,t){var n=e.plain,r=Object.create(null),s=e.styles.reduce(function(o,l){var g=l.languages,p=l.style;return g&&!g.includes(t)||l.types.forEach(function(h){var y=_e({},o[h],p);o[h]=y}),o},r);return s.root=n,s.plain=_e({},n,{backgroundColor:null}),s};function mt(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 Nn=function(e){function t(){for(var n=this,r=[],s=arguments.length;s--;)r[s]=arguments[s];e.apply(this,r),$e(this,"getThemeDict",function(o){if(n.themeDict!==void 0&&o.theme===n.prevTheme&&o.language===n.prevLanguage)return n.themeDict;n.prevTheme=o.theme,n.prevLanguage=o.language;var l=o.theme?Ln(o.theme,o.language):void 0;return n.themeDict=l}),$e(this,"getLineProps",function(o){var l=o.key,g=o.className,p=o.style,h=mt(o,["key","className","style","line"]),y=h,u=_e({},y,{className:"token-line",style:void 0,key:void 0}),c=n.getThemeDict(n.props);return c!==void 0&&(u.style=c.plain),p!==void 0&&(u.style=u.style!==void 0?_e({},u.style,p):p),l!==void 0&&(u.key=l),g&&(u.className+=" "+g),u}),$e(this,"getStyleForToken",function(o){var l=o.types,g=o.empty,p=l.length,h=n.getThemeDict(n.props);if(h!==void 0){{if(p===1&&l[0]==="plain")return g?{display:"inline-block"}:void 0;if(p===1&&!g)return h[l[0]]}var y=g?{display:"inline-block"}:{},u=l.map(function(c){return h[c]});return Object.assign.apply(Object,[y].concat(u))}}),$e(this,"getTokenProps",function(o){var l=o.key,g=o.className,p=o.style,h=o.token,y=mt(o,["key","className","style","token"]),u=y,c=_e({},u,{className:"token "+h.types.join(" "),children:h.content,style:n.getStyleForToken(h),key:void 0});return p!==void 0&&(c.style=c.style!==void 0?_e({},c.style,p):p),l!==void 0&&(c.key=l),g&&(c.className+=" "+g),c}),$e(this,"tokenize",function(o,l,g,p){var h={code:l,grammar:g,language:p,tokens:[]};o.hooks.run("before-tokenize",h);var y=h.tokens=o.tokenize(h.code,h.grammar,h.language);return o.hooks.run("after-tokenize",h),y})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var r=this.props,s=r.Prism,o=r.language,l=r.code,g=r.children,p=this.getThemeDict(this.props),h=s.languages[o],y=h!==void 0?this.tokenize(s,l,h,o):[l],u=Dn(y);return g({tokens:u,className:"prism-code language-"+o,style:p!==void 0?p.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(F.Component);const $n=Nn;function yt({copied:e}){return F.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:"1rem",height:"1rem"}},e?F.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"}):F.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"}))}yt.displayName="@mantine/prism/CopyIcon";const Fn=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]}}]}),Pn=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]}}]}),Bn=(e,t)=>t==="dark"?Fn(e):Pn(e);var zn=d.createStyles((e,{colorScheme:t,native:n,maxLineSize:r,radius:s})=>({scrollArea:{},root:{position:"relative"},code:{boxSizing:"border-box",position:"relative",fontFamily:e.fontFamilyMonospace,lineHeight:1.7,fontSize:d.rem(13),overflowX:n?"auto":void 0,borderRadius:e.fn.radius(s),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 * ${d.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 Mn=zn;var Gn=Object.defineProperty,jn=Object.defineProperties,Un=Object.getOwnPropertyDescriptors,je=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,wt=(e,t,n)=>t in e?Gn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,xe=(e,t)=>{for(var n in t||(t={}))vt.call(t,n)&&wt(e,n,t[n]);if(je)for(var n of je(t))St.call(t,n)&&wt(e,n,t[n]);return e},Fe=(e,t)=>jn(e,Un(t)),qn=(e,t)=>{var n={};for(var r in e)vt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&je)for(var r of je(e))t.indexOf(r)<0&&St.call(e,r)&&(n[r]=e[r]);return n};const Yn={noCopy:!1,copyLabel:"Copy code",copiedLabel:"Copied",withLineNumbers:!1,trim:!0,highlightLines:{},scrollAreaComponent:d.ScrollArea,getPrismTheme:Bn},Ze=F.forwardRef((e,t)=>{const n=d.useComponentDefaultProps("Prism",Yn,e),{className:r,children:s,language:o,noCopy:l,classNames:g,styles:p,copyLabel:h,copiedLabel:y,withLineNumbers:u,highlightLines:c,scrollAreaComponent:f,colorScheme:v,trim:b,unstyled:T,radius:A,getPrismTheme:k,variant:z}=n,q=qn(n,["className","children","language","noCopy","classNames","styles","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","colorScheme","trim","unstyled","radius","getPrismTheme","variant"]),ne=b&&typeof s=="string"?s.trim():s,ee=ne.split(`
43
43
  `).length.toString().length,Z=d.useMantineTheme(),J=qt.useClipboard(),$=v||Z.colorScheme,{classes:N,cx:Y}=Mn({colorScheme:$,native:f!==d.ScrollArea,maxLineSize:ee,radius:A},{name:"Prism",classNames:g,styles:p,unstyled:T,variant:z});return F.createElement(d.Box,Fe(xe({className:Y(N.root,r),ref:t},q),{translate:"no"}),!l&&F.createElement(d.Tooltip,{label:J.copied?y:h,position:"left",withArrow:!0,arrowSize:6,offset:6,color:J.copied?"teal":void 0,unstyled:T},F.createElement(d.ActionIcon,{className:N.copy,"aria-label":J.copied?y:h,onClick:()=>J.copy(ne),unstyled:T},F.createElement(yt,{copied:J.copied}))),F.createElement($n,Fe(xe({},Rn),{theme:k(Z,$),code:ne,language:o}),({className:te,style:C,tokens:_,getLineProps:w,getTokenProps:O})=>F.createElement(f,{className:N.scrollArea,dir:"ltr"},F.createElement("pre",{className:Y(N.code,te),style:C,dir:"ltr"},_.map((E,R)=>{var D,B,K,V;if(R===_.length-1&&E.length===1&&E[0].content===`
44
- `)return null;const H=R+1,se=w({line:E,key:R}),le=H in c,ce=$==="dark"?Z.fn.rgba(Z.fn.themeColor((D=c[H])==null?void 0:D.color,9),.25):Z.fn.themeColor((B=c[H])==null?void 0:B.color,0);return F.createElement("div",Fe(xe({},se),{className:Y(N.line,se.className),style:xe({},le?{backgroundColor:ce}:null)}),u&&F.createElement("div",{className:N.lineNumber,style:{color:le?Z.fn.themeColor((K=c[H])==null?void 0:K.color,$==="dark"?5:8):void 0}},((V=c[H])==null?void 0:V.label)||H),F.createElement("div",{className:N.lineContent},E.map((be,ge)=>{var re,ue;const ye=O({token:be,key:ge});return F.createElement("span",Fe(xe({},ye),{style:Fe(xe({},ye.style),{color:le?Z.fn.themeColor((re=c[H])==null?void 0:re.color,$==="dark"?5:8):(ue=ye==null?void 0:ye.style)==null?void 0:ue.color})}))})))}).filter(Boolean)))))});Ze.displayName="@mantine/prism/Prism";var Vn=d.createStyles((e,{radius:t})=>({tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:d.rem(34),border:`${d.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:`${d.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 Et=Vn;var Hn=Object.defineProperty,Wn=Object.defineProperties,Kn=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,At=(e,t,n)=>t in e?Hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kt=(e,t)=>{for(var n in t||(t={}))_t.call(t,n)&&At(e,n,t[n]);if(Ue)for(var n of Ue(t))Tt.call(t,n)&&At(e,n,t[n]);return e},Zn=(e,t)=>Wn(e,Kn(t)),Xn=(e,t)=>{var n={};for(var r in e)_t.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ue)for(var r of Ue(e))t.indexOf(r)<0&&Tt.call(e,r)&&(n[r]=e[r]);return n};function Qn(e){const{classes:t}=Et({radius:e.radius});return F.createElement(d.Tabs,Zn(kt({},e),{variant:"outline",classNames:{tab:t.tab},translate:"no"}))}function Jn(e){var t=e,{language:n,children:r,radius:s,noCopy:o,copyLabel:l,copiedLabel:g,withLineNumbers:p,highlightLines:h,scrollAreaComponent:y,trim:u,getPrismTheme:c,colorScheme:f,variant:v}=t,b=Xn(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme","variant"]);const{classes:T}=Et({radius:s});return F.createElement(d.Tabs.Panel,kt({},b),F.createElement(Ze,{language:n,classNames:{root:T.prism,code:T.code},radius:s,noCopy:o,copyLabel:l,copiedLabel:g,withLineNumbers:p,highlightLines:h,scrollAreaComponent:y,trim:u,getPrismTheme:c,colorScheme:f,variant:v},r))}const Pe=Ze;Pe.Tabs=Qn,Pe.Tab=d.Tabs.Tab,Pe.TabsList=d.Tabs.List,Pe.Panel=Jn;function xt({id:e,onSuccess:t,styles:n=ke}){const r=Ae.useModals(),s=async()=>{if(e){G.showNotification({id:"for-deleting",title:"Pending",message:"Deleting SQL Snippet...",loading:!0});try{await oe.sql_snippet.delete(e),G.updateNotification({id:"for-deleting",title:"Successful",message:`SQL Snippet [${e}] is deleted`,color:"green"}),t()}catch(l){G.updateNotification({id:"for-deleting",title:"Failed",message:l.message,color:"red"})}}},o=()=>r.openConfirmModal({title:"Delete this SQL Snippet?",labels:{confirm:"Confirm",cancel:"Cancel"},onCancel:()=>console.log("Cancel"),onConfirm:s,confirmProps:{color:"red"}});return a(d.Button,{size:n.button.size,color:"red",onClick:o,leftIcon:a(he.Trash,{size:20}),children:"Delete"})}function er({content:e}){return I(d.HoverCard,{width:"60vw",shadow:"md",children:[a(d.HoverCard.Target,{children:a(d.ActionIcon,{size:16,children:a(ve.IconEye,{})})}),a(d.HoverCard.Dropdown,{children:a(Pe,{language:"sql",noCopy:!0,withLineNumbers:!0,children:e})})]})}function tr({styles:e=ke,config:t}){Ne(t);const{data:n=[],loading:r,refresh:s}=we.useRequest(async()=>{const{data:o}=await oe.sql_snippet.list({pagination:{page:1,pagesize:10}});return o},{refreshDeps:[]});return I(pe,{children:[a(d.Group,{pt:e.spacing,position:"right",children:a(gt,{onSuccess:s})}),I(d.Box,{mt:e.spacing,sx:{position:"relative"},children:[a(d.LoadingOverlay,{visible:r}),I(d.Table,{horizontalSpacing:e.spacing,verticalSpacing:e.spacing,fontSize:e.size,highlightOnHover:!0,children:[a("thead",{children:I("tr",{children:[a("th",{children:"Name"}),a("th",{}),a("th",{children:"Created At"}),a("th",{children:"Updated At"}),a("th",{children:"Action"})]})}),a("tbody",{children:n.map(o=>{const{id:l,content:g,create_time:p,update_time:h}=o;return I("tr",{children:[a("td",{children:l}),a("td",{width:50,children:a(er,{content:g})}),a("td",{width:200,children:p}),a("td",{width:200,children:h}),a("td",{width:400,children:I(d.Group,{position:"left",children:[a(ft,{...o,onSuccess:s}),a(xt,{id:l,onSuccess:s})]})})]},l)})})]})]})]})}const nr=()=>Promise.resolve().then(()=>rr).then(({version:e})=>(console.log(`[@devtable/dashboard] version: ${e}`),e)),rr=Object.freeze(Object.defineProperty({__proto__:null,version:"10.35.0"},Symbol.toStringTag,{value:"Module"}));U.APIKeyList=An,U.AccountList=wn,U.AddAPIKey=ct,U.AddAccount=lt,U.AddDataSource=it,U.AddSQLSnippet=gt,U.DataSourceList=bn,U.DeleteAPIKey=dt,U.DeleteAccount=ut,U.DeleteDataSource=ot,U.DeleteSQLSnippet=xt,U.Login=_n,U.SQLSnippetList=tr,U.UpdateSQLSnippet=ft,U.getVersion=nr,Object.defineProperty(U,Symbol.toStringTag,{value:"Module"})});
44
+ `)return null;const H=R+1,se=w({line:E,key:R}),le=H in c,ce=$==="dark"?Z.fn.rgba(Z.fn.themeColor((D=c[H])==null?void 0:D.color,9),.25):Z.fn.themeColor((B=c[H])==null?void 0:B.color,0);return F.createElement("div",Fe(xe({},se),{className:Y(N.line,se.className),style:xe({},le?{backgroundColor:ce}:null)}),u&&F.createElement("div",{className:N.lineNumber,style:{color:le?Z.fn.themeColor((K=c[H])==null?void 0:K.color,$==="dark"?5:8):void 0}},((V=c[H])==null?void 0:V.label)||H),F.createElement("div",{className:N.lineContent},E.map((be,ge)=>{var re,ue;const ye=O({token:be,key:ge});return F.createElement("span",Fe(xe({},ye),{style:Fe(xe({},ye.style),{color:le?Z.fn.themeColor((re=c[H])==null?void 0:re.color,$==="dark"?5:8):(ue=ye==null?void 0:ye.style)==null?void 0:ue.color})}))})))}).filter(Boolean)))))});Ze.displayName="@mantine/prism/Prism";var Vn=d.createStyles((e,{radius:t})=>({tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:d.rem(34),border:`${d.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:`${d.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 Et=Vn;var Hn=Object.defineProperty,Wn=Object.defineProperties,Kn=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,At=(e,t,n)=>t in e?Hn(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,kt=(e,t)=>{for(var n in t||(t={}))_t.call(t,n)&&At(e,n,t[n]);if(Ue)for(var n of Ue(t))Tt.call(t,n)&&At(e,n,t[n]);return e},Zn=(e,t)=>Wn(e,Kn(t)),Xn=(e,t)=>{var n={};for(var r in e)_t.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ue)for(var r of Ue(e))t.indexOf(r)<0&&Tt.call(e,r)&&(n[r]=e[r]);return n};function Qn(e){const{classes:t}=Et({radius:e.radius});return F.createElement(d.Tabs,Zn(kt({},e),{variant:"outline",classNames:{tab:t.tab},translate:"no"}))}function Jn(e){var t=e,{language:n,children:r,radius:s,noCopy:o,copyLabel:l,copiedLabel:g,withLineNumbers:p,highlightLines:h,scrollAreaComponent:y,trim:u,getPrismTheme:c,colorScheme:f,variant:v}=t,b=Xn(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme","variant"]);const{classes:T}=Et({radius:s});return F.createElement(d.Tabs.Panel,kt({},b),F.createElement(Ze,{language:n,classNames:{root:T.prism,code:T.code},radius:s,noCopy:o,copyLabel:l,copiedLabel:g,withLineNumbers:p,highlightLines:h,scrollAreaComponent:y,trim:u,getPrismTheme:c,colorScheme:f,variant:v},r))}const Pe=Ze;Pe.Tabs=Qn,Pe.Tab=d.Tabs.Tab,Pe.TabsList=d.Tabs.List,Pe.Panel=Jn;function xt({id:e,onSuccess:t,styles:n=ke}){const r=Ae.useModals(),s=async()=>{if(e){G.showNotification({id:"for-deleting",title:"Pending",message:"Deleting SQL Snippet...",loading:!0});try{await oe.sql_snippet.delete(e),G.updateNotification({id:"for-deleting",title:"Successful",message:`SQL Snippet [${e}] is deleted`,color:"green"}),t()}catch(l){G.updateNotification({id:"for-deleting",title:"Failed",message:l.message,color:"red"})}}},o=()=>r.openConfirmModal({title:"Delete this SQL Snippet?",labels:{confirm:"Confirm",cancel:"Cancel"},onCancel:()=>console.log("Cancel"),onConfirm:s,confirmProps:{color:"red"}});return a(d.Button,{size:n.button.size,color:"red",onClick:o,leftIcon:a(he.Trash,{size:20}),children:"Delete"})}function er({content:e}){return I(d.HoverCard,{width:"60vw",shadow:"md",children:[a(d.HoverCard.Target,{children:a(d.ActionIcon,{size:16,children:a(ve.IconEye,{})})}),a(d.HoverCard.Dropdown,{children:a(Pe,{language:"sql",noCopy:!0,withLineNumbers:!0,children:e})})]})}function tr({styles:e=ke,config:t}){Ne(t);const{data:n=[],loading:r,refresh:s}=we.useRequest(async()=>{const{data:o}=await oe.sql_snippet.list({pagination:{page:1,pagesize:10}});return o},{refreshDeps:[]});return I(pe,{children:[a(d.Group,{pt:e.spacing,position:"right",children:a(gt,{onSuccess:s})}),I(d.Box,{mt:e.spacing,sx:{position:"relative"},children:[a(d.LoadingOverlay,{visible:r}),I(d.Table,{horizontalSpacing:e.spacing,verticalSpacing:e.spacing,fontSize:e.size,highlightOnHover:!0,children:[a("thead",{children:I("tr",{children:[a("th",{children:"Name"}),a("th",{}),a("th",{children:"Created At"}),a("th",{children:"Updated At"}),a("th",{children:"Action"})]})}),a("tbody",{children:n.map(o=>{const{id:l,content:g,create_time:p,update_time:h}=o;return I("tr",{children:[a("td",{children:l}),a("td",{width:50,children:a(er,{content:g})}),a("td",{width:200,children:p}),a("td",{width:200,children:h}),a("td",{width:400,children:I(d.Group,{position:"left",children:[a(ft,{...o,onSuccess:s}),a(xt,{id:l,onSuccess:s})]})})]},l)})})]})]})]})}const nr=()=>Promise.resolve().then(()=>rr).then(({version:e})=>(console.log(`[@devtable/dashboard] version: ${e}`),e)),rr=Object.freeze(Object.defineProperty({__proto__:null,version:"10.35.1"},Symbol.toStringTag,{value:"Module"}));U.APIKeyList=An,U.AccountList=wn,U.AddAPIKey=ct,U.AddAccount=lt,U.AddDataSource=it,U.AddSQLSnippet=gt,U.DataSourceList=bn,U.DeleteAPIKey=dt,U.DeleteAccount=ut,U.DeleteDataSource=ot,U.DeleteSQLSnippet=xt,U.Login=_n,U.SQLSnippetList=tr,U.UpdateSQLSnippet=ft,U.getVersion=nr,Object.defineProperty(U,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":[{"uid":"b4ad-144","name":"\u0000commonjsHelpers.js"},{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules","children":[{"name":"react","children":[{"uid":"b4ad-146","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"b4ad-148","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"b4ad-152","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"dayjs/dayjs.min.js?commonjs-module","uid":"b4ad-170"}]},{"name":"Users/leto/github/merico-dev/table/node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"b4ad-150","name":"react-jsx-runtime.production.min.js"},{"uid":"b4ad-154","name":"react-jsx-runtime.development.js"}]},{"uid":"b4ad-156","name":"jsx-runtime.js"}]},{"name":"dayjs/dayjs.min.js","uid":"b4ad-172"},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"b4ad-236"},{"name":"themes/duotoneDark/index.js","uid":"b4ad-238"},{"name":"dist/index.js","uid":"b4ad-240"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"b4ad-242","name":"CopyIcon.js"},{"uid":"b4ad-244","name":"prism-theme.js"},{"uid":"b4ad-246","name":"Prism.styles.js"},{"uid":"b4ad-248","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"b4ad-250","name":"PrismTabs.styles.js"},{"uid":"b4ad-252","name":"PrismTabs.js"}]},{"uid":"b4ad-254","name":"index.js"}]}]},{"name":"\u0000react/jsx-runtime","uid":"b4ad-158"},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"b4ad-160","name":"request.ts"},{"uid":"b4ad-162","name":"account.ts"},{"uid":"b4ad-164","name":"api-key.ts"},{"uid":"b4ad-166","name":"datasource.ts"},{"uid":"b4ad-168","name":"role.ts"},{"uid":"b4ad-174","name":"sql_snippet.ts"},{"uid":"b4ad-176","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"b4ad-178","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"b4ad-180","name":"database.tsx"},{"uid":"b4ad-186","name":"http.tsx"}]},{"uid":"b4ad-188","name":"db-permission-tips.tsx"},{"uid":"b4ad-190","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"b4ad-182","name":"function-string-editor.tsx"},{"uid":"b4ad-184","name":"index.tsx"}]},{"uid":"b4ad-200","name":"data-source-icon.tsx"}]},{"uid":"b4ad-194","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"b4ad-196"},{"uid":"b4ad-198","name":"index.tsx"}]},{"uid":"b4ad-202","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"b4ad-192"},{"name":"account","children":[{"uid":"b4ad-204","name":"role-selector.tsx"},{"uid":"b4ad-206","name":"styles.ts"},{"uid":"b4ad-208","name":"add-account.tsx"},{"uid":"b4ad-210","name":"delete-account.tsx"},{"uid":"b4ad-212","name":"edit-account.tsx"},{"uid":"b4ad-214","name":"account-list.tsx"},{"name":"login","children":[{"uid":"b4ad-216","name":"form.tsx"},{"uid":"b4ad-218","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"b4ad-220","name":"styles.ts"},{"uid":"b4ad-222","name":"add-api-key.tsx"},{"uid":"b4ad-224","name":"delete-api-key.tsx"},{"uid":"b4ad-226","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"b4ad-228"},{"name":"sql_snippet","children":[{"uid":"b4ad-230","name":"styles.ts"},{"uid":"b4ad-232","name":"add-sql_snippet.tsx"},{"uid":"b4ad-234","name":"update-sql_snippet.tsx"},{"uid":"b4ad-256","name":"delete-sql_snippet.tsx"},{"uid":"b4ad-258","name":"sql_snippet-list.tsx"}]},{"uid":"b4ad-260","name":"index.ts"}]},{"uid":"b4ad-262","name":"package.json"}]}],"isRoot":true},"nodeParts":{"b4ad-144":{"renderedLength":193,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-143"},"b4ad-146":{"renderedLength":144,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-145"},"b4ad-148":{"renderedLength":41,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-147"},"b4ad-150":{"renderedLength":1200,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-149"},"b4ad-152":{"renderedLength":38,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-151"},"b4ad-154":{"renderedLength":44168,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-153"},"b4ad-156":{"renderedLength":223,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-155"},"b4ad-158":{"renderedLength":119,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-157"},"b4ad-160":{"renderedLength":2759,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-159"},"b4ad-162":{"renderedLength":1900,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-161"},"b4ad-164":{"renderedLength":633,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-163"},"b4ad-166":{"renderedLength":729,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-165"},"b4ad-168":{"renderedLength":134,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-167"},"b4ad-170":{"renderedLength":140,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-169"},"b4ad-172":{"renderedLength":6602,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-171"},"b4ad-174":{"renderedLength":1092,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-173"},"b4ad-176":{"renderedLength":87,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-175"},"b4ad-178":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-177"},"b4ad-180":{"renderedLength":2647,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-179"},"b4ad-182":{"renderedLength":448,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-181"},"b4ad-184":{"renderedLength":1703,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-183"},"b4ad-186":{"renderedLength":2544,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-185"},"b4ad-188":{"renderedLength":377,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-187"},"b4ad-190":{"renderedLength":2508,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-189"},"b4ad-192":{"renderedLength":532,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-191"},"b4ad-194":{"renderedLength":1689,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-193"},"b4ad-196":{"renderedLength":2212,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-195"},"b4ad-198":{"renderedLength":2929,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-197"},"b4ad-200":{"renderedLength":659,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-199"},"b4ad-202":{"renderedLength":2088,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-201"},"b4ad-204":{"renderedLength":1234,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-203"},"b4ad-206":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-205"},"b4ad-208":{"renderedLength":3151,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-207"},"b4ad-210":{"renderedLength":1274,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-209"},"b4ad-212":{"renderedLength":4117,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-211"},"b4ad-214":{"renderedLength":2502,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-213"},"b4ad-216":{"renderedLength":1806,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-215"},"b4ad-218":{"renderedLength":335,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-217"},"b4ad-220":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-219"},"b4ad-222":{"renderedLength":3537,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-221"},"b4ad-224":{"renderedLength":1273,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-223"},"b4ad-226":{"renderedLength":2383,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-225"},"b4ad-228":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-227"},"b4ad-230":{"renderedLength":95,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-229"},"b4ad-232":{"renderedLength":2676,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-231"},"b4ad-234":{"renderedLength":2700,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-233"},"b4ad-236":{"renderedLength":144711,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-235"},"b4ad-238":{"renderedLength":1695,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-237"},"b4ad-240":{"renderedLength":9298,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-239"},"b4ad-242":{"renderedLength":1375,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-241"},"b4ad-244":{"renderedLength":3393,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-243"},"b4ad-246":{"renderedLength":1383,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-245"},"b4ad-248":{"renderedLength":6174,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-247"},"b4ad-250":{"renderedLength":1593,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-249"},"b4ad-252":{"renderedLength":2621,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-251"},"b4ad-254":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-253"},"b4ad-256":{"renderedLength":1329,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-255"},"b4ad-258":{"renderedLength":2849,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-257"},"b4ad-260":{"renderedLength":177,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-259"},"b4ad-262":{"renderedLength":27,"gzipLength":0,"brotliLength":0,"metaUid":"b4ad-261"}},"nodeMetas":{"b4ad-143":{"id":"\u0000commonjsHelpers.js","moduleParts":{"settings-form.umd.js":"b4ad-144"},"imported":[],"importedBy":[{"uid":"b4ad-155"},{"uid":"b4ad-149"},{"uid":"b4ad-153"},{"uid":"b4ad-171"}]},"b4ad-145":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"b4ad-146"},"imported":[],"importedBy":[{"uid":"b4ad-155"}]},"b4ad-147":{"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":"b4ad-148"},"imported":[],"importedBy":[{"uid":"b4ad-149"}]},"b4ad-149":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"b4ad-150"},"imported":[{"uid":"b4ad-143"},{"uid":"b4ad-147"},{"uid":"b4ad-285"}],"importedBy":[{"uid":"b4ad-155"}]},"b4ad-151":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"b4ad-152"},"imported":[],"importedBy":[{"uid":"b4ad-153"}]},"b4ad-153":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"b4ad-154"},"imported":[{"uid":"b4ad-143"},{"uid":"b4ad-151"},{"uid":"b4ad-285"}],"importedBy":[{"uid":"b4ad-155"}]},"b4ad-155":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"b4ad-156"},"imported":[{"uid":"b4ad-143"},{"uid":"b4ad-145"},{"uid":"b4ad-149"},{"uid":"b4ad-153"}],"importedBy":[{"uid":"b4ad-157"}]},"b4ad-157":{"id":"\u0000react/jsx-runtime","moduleParts":{"settings-form.umd.js":"b4ad-158"},"imported":[{"uid":"b4ad-155"}],"importedBy":[{"uid":"b4ad-189"},{"uid":"b4ad-201"},{"uid":"b4ad-193"},{"uid":"b4ad-207"},{"uid":"b4ad-213"},{"uid":"b4ad-209"},{"uid":"b4ad-217"},{"uid":"b4ad-221"},{"uid":"b4ad-225"},{"uid":"b4ad-223"},{"uid":"b4ad-231"},{"uid":"b4ad-233"},{"uid":"b4ad-257"},{"uid":"b4ad-255"},{"uid":"b4ad-179"},{"uid":"b4ad-185"},{"uid":"b4ad-187"},{"uid":"b4ad-197"},{"uid":"b4ad-199"},{"uid":"b4ad-203"},{"uid":"b4ad-211"},{"uid":"b4ad-215"},{"uid":"b4ad-227"},{"uid":"b4ad-183"},{"uid":"b4ad-195"},{"uid":"b4ad-181"}]},"b4ad-159":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"b4ad-160"},"imported":[{"uid":"b4ad-280"},{"uid":"b4ad-281"},{"uid":"b4ad-282"}],"importedBy":[{"uid":"b4ad-201"},{"uid":"b4ad-213"},{"uid":"b4ad-217"},{"uid":"b4ad-225"},{"uid":"b4ad-257"},{"uid":"b4ad-161"},{"uid":"b4ad-163"},{"uid":"b4ad-165"},{"uid":"b4ad-167"},{"uid":"b4ad-173"}]},"b4ad-161":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"b4ad-162"},"imported":[{"uid":"b4ad-159"}],"importedBy":[{"uid":"b4ad-175"}]},"b4ad-163":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"b4ad-164"},"imported":[{"uid":"b4ad-159"}],"importedBy":[{"uid":"b4ad-175"}]},"b4ad-165":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"b4ad-166"},"imported":[{"uid":"b4ad-159"}],"importedBy":[{"uid":"b4ad-175"}]},"b4ad-167":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"b4ad-168"},"imported":[{"uid":"b4ad-159"}],"importedBy":[{"uid":"b4ad-175"}]},"b4ad-169":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/dayjs/dayjs.min.js?commonjs-module","moduleParts":{"settings-form.umd.js":"b4ad-170"},"imported":[],"importedBy":[{"uid":"b4ad-171"}]},"b4ad-171":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/dayjs.min.js","moduleParts":{"settings-form.umd.js":"b4ad-172"},"imported":[{"uid":"b4ad-143"},{"uid":"b4ad-169"}],"importedBy":[{"uid":"b4ad-173"}]},"b4ad-173":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"b4ad-174"},"imported":[{"uid":"b4ad-171"},{"uid":"b4ad-159"}],"importedBy":[{"uid":"b4ad-175"}]},"b4ad-175":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"b4ad-176"},"imported":[{"uid":"b4ad-161"},{"uid":"b4ad-163"},{"uid":"b4ad-165"},{"uid":"b4ad-167"},{"uid":"b4ad-173"}],"importedBy":[{"uid":"b4ad-189"},{"uid":"b4ad-201"},{"uid":"b4ad-193"},{"uid":"b4ad-207"},{"uid":"b4ad-213"},{"uid":"b4ad-209"},{"uid":"b4ad-221"},{"uid":"b4ad-225"},{"uid":"b4ad-223"},{"uid":"b4ad-231"},{"uid":"b4ad-233"},{"uid":"b4ad-257"},{"uid":"b4ad-255"},{"uid":"b4ad-197"},{"uid":"b4ad-203"},{"uid":"b4ad-211"},{"uid":"b4ad-215"}]},"b4ad-177":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"b4ad-178"},"imported":[],"importedBy":[{"uid":"b4ad-189"},{"uid":"b4ad-201"},{"uid":"b4ad-193"},{"uid":"b4ad-179"},{"uid":"b4ad-185"},{"uid":"b4ad-187"},{"uid":"b4ad-197"},{"uid":"b4ad-195"}]},"b4ad-179":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"b4ad-180"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-274"},{"uid":"b4ad-279"},{"uid":"b4ad-177"}],"importedBy":[{"uid":"b4ad-189"}]},"b4ad-181":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"b4ad-182"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-283"}],"importedBy":[{"uid":"b4ad-183"}]},"b4ad-183":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"b4ad-184"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-276"},{"uid":"b4ad-274"},{"uid":"b4ad-275"},{"uid":"b4ad-181"}],"importedBy":[{"uid":"b4ad-185"},{"uid":"b4ad-195"}]},"b4ad-185":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"b4ad-186"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-279"},{"uid":"b4ad-177"},{"uid":"b4ad-183"}],"importedBy":[{"uid":"b4ad-189"}]},"b4ad-187":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"b4ad-188"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-177"},{"uid":"b4ad-275"}],"importedBy":[{"uid":"b4ad-189"}]},"b4ad-189":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"b4ad-190"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-273"},{"uid":"b4ad-274"},{"uid":"b4ad-275"},{"uid":"b4ad-175"},{"uid":"b4ad-177"},{"uid":"b4ad-179"},{"uid":"b4ad-185"},{"uid":"b4ad-187"}],"importedBy":[{"uid":"b4ad-263"},{"uid":"b4ad-201"}]},"b4ad-191":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"b4ad-192"},"imported":[{"uid":"b4ad-283"},{"uid":"b4ad-274"}],"importedBy":[{"uid":"b4ad-201"}]},"b4ad-193":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"b4ad-194"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-277"},{"uid":"b4ad-273"},{"uid":"b4ad-278"},{"uid":"b4ad-275"},{"uid":"b4ad-175"},{"uid":"b4ad-177"}],"importedBy":[{"uid":"b4ad-263"},{"uid":"b4ad-201"}]},"b4ad-195":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"b4ad-196"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-279"},{"uid":"b4ad-183"},{"uid":"b4ad-177"}],"importedBy":[{"uid":"b4ad-197"}]},"b4ad-197":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"b4ad-198"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-273"},{"uid":"b4ad-278"},{"uid":"b4ad-274"},{"uid":"b4ad-175"},{"uid":"b4ad-177"},{"uid":"b4ad-195"}],"importedBy":[{"uid":"b4ad-201"}]},"b4ad-199":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"b4ad-200"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-278"},{"uid":"b4ad-272"}],"importedBy":[{"uid":"b4ad-201"}]},"b4ad-201":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"b4ad-202"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-276"},{"uid":"b4ad-175"},{"uid":"b4ad-159"},{"uid":"b4ad-191"},{"uid":"b4ad-189"},{"uid":"b4ad-193"},{"uid":"b4ad-177"},{"uid":"b4ad-197"},{"uid":"b4ad-199"}],"importedBy":[{"uid":"b4ad-263"}]},"b4ad-203":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"b4ad-204"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-276"},{"uid":"b4ad-274"},{"uid":"b4ad-175"}],"importedBy":[{"uid":"b4ad-207"},{"uid":"b4ad-221"},{"uid":"b4ad-211"}]},"b4ad-205":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"b4ad-206"},"imported":[],"importedBy":[{"uid":"b4ad-207"},{"uid":"b4ad-213"},{"uid":"b4ad-209"},{"uid":"b4ad-217"},{"uid":"b4ad-211"},{"uid":"b4ad-215"}]},"b4ad-207":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"b4ad-208"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-273"},{"uid":"b4ad-274"},{"uid":"b4ad-279"},{"uid":"b4ad-275"},{"uid":"b4ad-175"},{"uid":"b4ad-203"},{"uid":"b4ad-205"}],"importedBy":[{"uid":"b4ad-264"},{"uid":"b4ad-213"}]},"b4ad-209":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"b4ad-210"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-277"},{"uid":"b4ad-273"},{"uid":"b4ad-275"},{"uid":"b4ad-175"},{"uid":"b4ad-205"}],"importedBy":[{"uid":"b4ad-264"},{"uid":"b4ad-213"}]},"b4ad-211":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"b4ad-212"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-273"},{"uid":"b4ad-274"},{"uid":"b4ad-279"},{"uid":"b4ad-275"},{"uid":"b4ad-175"},{"uid":"b4ad-203"},{"uid":"b4ad-205"}],"importedBy":[{"uid":"b4ad-213"}]},"b4ad-213":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"b4ad-214"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-276"},{"uid":"b4ad-175"},{"uid":"b4ad-159"},{"uid":"b4ad-207"},{"uid":"b4ad-209"},{"uid":"b4ad-211"},{"uid":"b4ad-205"}],"importedBy":[{"uid":"b4ad-264"}]},"b4ad-215":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"b4ad-216"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-273"},{"uid":"b4ad-279"},{"uid":"b4ad-175"},{"uid":"b4ad-205"}],"importedBy":[{"uid":"b4ad-217"}]},"b4ad-217":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"b4ad-218"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-159"},{"uid":"b4ad-205"},{"uid":"b4ad-215"}],"importedBy":[{"uid":"b4ad-264"}]},"b4ad-219":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"b4ad-220"},"imported":[],"importedBy":[{"uid":"b4ad-221"},{"uid":"b4ad-225"},{"uid":"b4ad-223"}]},"b4ad-221":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"b4ad-222"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-277"},{"uid":"b4ad-273"},{"uid":"b4ad-274"},{"uid":"b4ad-279"},{"uid":"b4ad-275"},{"uid":"b4ad-203"},{"uid":"b4ad-175"},{"uid":"b4ad-219"}],"importedBy":[{"uid":"b4ad-265"},{"uid":"b4ad-225"}]},"b4ad-223":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"b4ad-224"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-277"},{"uid":"b4ad-273"},{"uid":"b4ad-275"},{"uid":"b4ad-175"},{"uid":"b4ad-219"}],"importedBy":[{"uid":"b4ad-265"},{"uid":"b4ad-225"}]},"b4ad-225":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"b4ad-226"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-276"},{"uid":"b4ad-175"},{"uid":"b4ad-159"},{"uid":"b4ad-221"},{"uid":"b4ad-223"},{"uid":"b4ad-219"}],"importedBy":[{"uid":"b4ad-265"}]},"b4ad-227":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"b4ad-228"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-283"}],"importedBy":[{"uid":"b4ad-231"},{"uid":"b4ad-233"}]},"b4ad-229":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"b4ad-230"},"imported":[],"importedBy":[{"uid":"b4ad-231"},{"uid":"b4ad-233"},{"uid":"b4ad-257"},{"uid":"b4ad-255"}]},"b4ad-231":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"b4ad-232"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-273"},{"uid":"b4ad-274"},{"uid":"b4ad-279"},{"uid":"b4ad-275"},{"uid":"b4ad-175"},{"uid":"b4ad-227"},{"uid":"b4ad-229"}],"importedBy":[{"uid":"b4ad-266"},{"uid":"b4ad-257"}]},"b4ad-233":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"b4ad-234"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-273"},{"uid":"b4ad-274"},{"uid":"b4ad-279"},{"uid":"b4ad-175"},{"uid":"b4ad-227"},{"uid":"b4ad-229"},{"uid":"b4ad-278"}],"importedBy":[{"uid":"b4ad-266"},{"uid":"b4ad-257"}]},"b4ad-235":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"b4ad-236"},"imported":[],"importedBy":[{"uid":"b4ad-239"}]},"b4ad-237":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"b4ad-238"},"imported":[],"importedBy":[{"uid":"b4ad-239"}]},"b4ad-239":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"b4ad-240"},"imported":[{"uid":"b4ad-235"},{"uid":"b4ad-237"},{"uid":"b4ad-274"}],"importedBy":[{"uid":"b4ad-247"}]},"b4ad-241":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"b4ad-242"},"imported":[{"uid":"b4ad-274"}],"importedBy":[{"uid":"b4ad-247"}]},"b4ad-243":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"b4ad-244"},"imported":[],"importedBy":[{"uid":"b4ad-247"}]},"b4ad-245":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"b4ad-246"},"imported":[{"uid":"b4ad-272"}],"importedBy":[{"uid":"b4ad-247"}]},"b4ad-247":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"b4ad-248"},"imported":[{"uid":"b4ad-274"},{"uid":"b4ad-239"},{"uid":"b4ad-272"},{"uid":"b4ad-284"},{"uid":"b4ad-241"},{"uid":"b4ad-243"},{"uid":"b4ad-245"}],"importedBy":[{"uid":"b4ad-253"},{"uid":"b4ad-251"}]},"b4ad-249":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"b4ad-250"},"imported":[{"uid":"b4ad-272"}],"importedBy":[{"uid":"b4ad-251"}]},"b4ad-251":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"b4ad-252"},"imported":[{"uid":"b4ad-274"},{"uid":"b4ad-272"},{"uid":"b4ad-247"},{"uid":"b4ad-249"}],"importedBy":[{"uid":"b4ad-253"}]},"b4ad-253":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"b4ad-254"},"imported":[{"uid":"b4ad-272"},{"uid":"b4ad-251"},{"uid":"b4ad-247"}],"importedBy":[{"uid":"b4ad-257"}]},"b4ad-255":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"b4ad-256"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-277"},{"uid":"b4ad-273"},{"uid":"b4ad-275"},{"uid":"b4ad-175"},{"uid":"b4ad-229"}],"importedBy":[{"uid":"b4ad-266"},{"uid":"b4ad-257"}]},"b4ad-257":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"b4ad-258"},"imported":[{"uid":"b4ad-157"},{"uid":"b4ad-272"},{"uid":"b4ad-253"},{"uid":"b4ad-276"},{"uid":"b4ad-175"},{"uid":"b4ad-159"},{"uid":"b4ad-231"},{"uid":"b4ad-255"},{"uid":"b4ad-229"},{"uid":"b4ad-278"},{"uid":"b4ad-233"}],"importedBy":[{"uid":"b4ad-266"}]},"b4ad-259":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"b4ad-260"},"imported":[{"uid":"b4ad-263"},{"uid":"b4ad-264"},{"uid":"b4ad-265"},{"uid":"b4ad-266"},{"uid":"b4ad-267"},{"uid":"b4ad-268"},{"uid":"b4ad-269"},{"uid":"b4ad-270"},{"uid":"b4ad-271"},{"uid":"b4ad-261","dynamic":true}],"importedBy":[],"isEntry":true},"b4ad-261":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"b4ad-262"},"imported":[],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-263":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"b4ad-189"},{"uid":"b4ad-201"},{"uid":"b4ad-193"}],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-264":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"b4ad-207"},{"uid":"b4ad-213"},{"uid":"b4ad-209"},{"uid":"b4ad-217"}],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-265":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"b4ad-221"},{"uid":"b4ad-225"},{"uid":"b4ad-223"}],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-266":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"b4ad-231"},{"uid":"b4ad-233"},{"uid":"b4ad-257"},{"uid":"b4ad-255"}],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-267":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-268":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-269":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-270":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-271":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-259"}]},"b4ad-272":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-189"},{"uid":"b4ad-201"},{"uid":"b4ad-193"},{"uid":"b4ad-207"},{"uid":"b4ad-213"},{"uid":"b4ad-209"},{"uid":"b4ad-217"},{"uid":"b4ad-221"},{"uid":"b4ad-225"},{"uid":"b4ad-223"},{"uid":"b4ad-231"},{"uid":"b4ad-233"},{"uid":"b4ad-257"},{"uid":"b4ad-255"},{"uid":"b4ad-179"},{"uid":"b4ad-185"},{"uid":"b4ad-187"},{"uid":"b4ad-197"},{"uid":"b4ad-199"},{"uid":"b4ad-203"},{"uid":"b4ad-211"},{"uid":"b4ad-215"},{"uid":"b4ad-253"},{"uid":"b4ad-183"},{"uid":"b4ad-195"},{"uid":"b4ad-251"},{"uid":"b4ad-247"},{"uid":"b4ad-181"},{"uid":"b4ad-249"},{"uid":"b4ad-245"}],"isExternal":true},"b4ad-273":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-189"},{"uid":"b4ad-193"},{"uid":"b4ad-207"},{"uid":"b4ad-209"},{"uid":"b4ad-221"},{"uid":"b4ad-223"},{"uid":"b4ad-231"},{"uid":"b4ad-233"},{"uid":"b4ad-255"},{"uid":"b4ad-197"},{"uid":"b4ad-211"},{"uid":"b4ad-215"}],"isExternal":true},"b4ad-274":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-189"},{"uid":"b4ad-207"},{"uid":"b4ad-221"},{"uid":"b4ad-231"},{"uid":"b4ad-233"},{"uid":"b4ad-179"},{"uid":"b4ad-191"},{"uid":"b4ad-197"},{"uid":"b4ad-203"},{"uid":"b4ad-211"},{"uid":"b4ad-183"},{"uid":"b4ad-251"},{"uid":"b4ad-247"},{"uid":"b4ad-239"},{"uid":"b4ad-241"},{"uid":"b4ad-285"}],"isExternal":true},"b4ad-275":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-189"},{"uid":"b4ad-193"},{"uid":"b4ad-207"},{"uid":"b4ad-209"},{"uid":"b4ad-221"},{"uid":"b4ad-223"},{"uid":"b4ad-231"},{"uid":"b4ad-255"},{"uid":"b4ad-187"},{"uid":"b4ad-211"},{"uid":"b4ad-183"}],"isExternal":true},"b4ad-276":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-201"},{"uid":"b4ad-213"},{"uid":"b4ad-225"},{"uid":"b4ad-257"},{"uid":"b4ad-203"},{"uid":"b4ad-183"}],"isExternal":true},"b4ad-277":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-193"},{"uid":"b4ad-209"},{"uid":"b4ad-221"},{"uid":"b4ad-223"},{"uid":"b4ad-255"}],"isExternal":true},"b4ad-278":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-193"},{"uid":"b4ad-233"},{"uid":"b4ad-257"},{"uid":"b4ad-197"},{"uid":"b4ad-199"}],"isExternal":true},"b4ad-279":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-207"},{"uid":"b4ad-221"},{"uid":"b4ad-231"},{"uid":"b4ad-233"},{"uid":"b4ad-179"},{"uid":"b4ad-185"},{"uid":"b4ad-211"},{"uid":"b4ad-215"},{"uid":"b4ad-195"}],"isExternal":true},"b4ad-280":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-159"}],"isExternal":true},"b4ad-281":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-159"}],"isExternal":true},"b4ad-282":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-159"}],"isExternal":true},"b4ad-283":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-191"},{"uid":"b4ad-227"},{"uid":"b4ad-181"}],"isExternal":true},"b4ad-284":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"b4ad-247"}],"isExternal":true},"b4ad-285":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"b4ad-274"}],"importedBy":[{"uid":"b4ad-149"},{"uid":"b4ad-153"}]}},"env":{"rollup":"3.26.2"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
6160
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"settings-form.umd.js","children":[{"uid":"1ffd-144","name":"\u0000commonjsHelpers.js"},{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules","children":[{"name":"react","children":[{"uid":"1ffd-146","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"1ffd-148","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"1ffd-152","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"dayjs/dayjs.min.js?commonjs-module","uid":"1ffd-170"}]},{"name":"Users/leto/github/merico-dev/table/node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"1ffd-150","name":"react-jsx-runtime.production.min.js"},{"uid":"1ffd-154","name":"react-jsx-runtime.development.js"}]},{"uid":"1ffd-156","name":"jsx-runtime.js"}]},{"name":"dayjs/dayjs.min.js","uid":"1ffd-172"},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"1ffd-236"},{"name":"themes/duotoneDark/index.js","uid":"1ffd-238"},{"name":"dist/index.js","uid":"1ffd-240"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"1ffd-242","name":"CopyIcon.js"},{"uid":"1ffd-244","name":"prism-theme.js"},{"uid":"1ffd-246","name":"Prism.styles.js"},{"uid":"1ffd-248","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"1ffd-250","name":"PrismTabs.styles.js"},{"uid":"1ffd-252","name":"PrismTabs.js"}]},{"uid":"1ffd-254","name":"index.js"}]}]},{"name":"\u0000react/jsx-runtime","uid":"1ffd-158"},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"1ffd-160","name":"request.ts"},{"uid":"1ffd-162","name":"account.ts"},{"uid":"1ffd-164","name":"api-key.ts"},{"uid":"1ffd-166","name":"datasource.ts"},{"uid":"1ffd-168","name":"role.ts"},{"uid":"1ffd-174","name":"sql_snippet.ts"},{"uid":"1ffd-176","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"1ffd-178","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"1ffd-180","name":"database.tsx"},{"uid":"1ffd-186","name":"http.tsx"}]},{"uid":"1ffd-188","name":"db-permission-tips.tsx"},{"uid":"1ffd-190","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"1ffd-182","name":"function-string-editor.tsx"},{"uid":"1ffd-184","name":"index.tsx"}]},{"uid":"1ffd-200","name":"data-source-icon.tsx"}]},{"uid":"1ffd-194","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"1ffd-196"},{"uid":"1ffd-198","name":"index.tsx"}]},{"uid":"1ffd-202","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"1ffd-192"},{"name":"account","children":[{"uid":"1ffd-204","name":"role-selector.tsx"},{"uid":"1ffd-206","name":"styles.ts"},{"uid":"1ffd-208","name":"add-account.tsx"},{"uid":"1ffd-210","name":"delete-account.tsx"},{"uid":"1ffd-212","name":"edit-account.tsx"},{"uid":"1ffd-214","name":"account-list.tsx"},{"name":"login","children":[{"uid":"1ffd-216","name":"form.tsx"},{"uid":"1ffd-218","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"1ffd-220","name":"styles.ts"},{"uid":"1ffd-222","name":"add-api-key.tsx"},{"uid":"1ffd-224","name":"delete-api-key.tsx"},{"uid":"1ffd-226","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"1ffd-228"},{"name":"sql_snippet","children":[{"uid":"1ffd-230","name":"styles.ts"},{"uid":"1ffd-232","name":"add-sql_snippet.tsx"},{"uid":"1ffd-234","name":"update-sql_snippet.tsx"},{"uid":"1ffd-256","name":"delete-sql_snippet.tsx"},{"uid":"1ffd-258","name":"sql_snippet-list.tsx"}]},{"uid":"1ffd-260","name":"index.ts"}]},{"uid":"1ffd-262","name":"package.json"}]}],"isRoot":true},"nodeParts":{"1ffd-144":{"renderedLength":193,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-143"},"1ffd-146":{"renderedLength":144,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-145"},"1ffd-148":{"renderedLength":41,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-147"},"1ffd-150":{"renderedLength":1200,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-149"},"1ffd-152":{"renderedLength":38,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-151"},"1ffd-154":{"renderedLength":44168,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-153"},"1ffd-156":{"renderedLength":223,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-155"},"1ffd-158":{"renderedLength":119,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-157"},"1ffd-160":{"renderedLength":2759,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-159"},"1ffd-162":{"renderedLength":1900,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-161"},"1ffd-164":{"renderedLength":633,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-163"},"1ffd-166":{"renderedLength":729,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-165"},"1ffd-168":{"renderedLength":134,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-167"},"1ffd-170":{"renderedLength":140,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-169"},"1ffd-172":{"renderedLength":6602,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-171"},"1ffd-174":{"renderedLength":1092,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-173"},"1ffd-176":{"renderedLength":87,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-175"},"1ffd-178":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-177"},"1ffd-180":{"renderedLength":2647,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-179"},"1ffd-182":{"renderedLength":448,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-181"},"1ffd-184":{"renderedLength":1703,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-183"},"1ffd-186":{"renderedLength":2544,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-185"},"1ffd-188":{"renderedLength":377,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-187"},"1ffd-190":{"renderedLength":2508,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-189"},"1ffd-192":{"renderedLength":532,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-191"},"1ffd-194":{"renderedLength":1689,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-193"},"1ffd-196":{"renderedLength":2212,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-195"},"1ffd-198":{"renderedLength":2929,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-197"},"1ffd-200":{"renderedLength":659,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-199"},"1ffd-202":{"renderedLength":2088,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-201"},"1ffd-204":{"renderedLength":1234,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-203"},"1ffd-206":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-205"},"1ffd-208":{"renderedLength":3151,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-207"},"1ffd-210":{"renderedLength":1274,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-209"},"1ffd-212":{"renderedLength":4117,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-211"},"1ffd-214":{"renderedLength":2502,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-213"},"1ffd-216":{"renderedLength":1806,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-215"},"1ffd-218":{"renderedLength":335,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-217"},"1ffd-220":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-219"},"1ffd-222":{"renderedLength":3537,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-221"},"1ffd-224":{"renderedLength":1273,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-223"},"1ffd-226":{"renderedLength":2383,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-225"},"1ffd-228":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-227"},"1ffd-230":{"renderedLength":95,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-229"},"1ffd-232":{"renderedLength":2676,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-231"},"1ffd-234":{"renderedLength":2700,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-233"},"1ffd-236":{"renderedLength":144711,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-235"},"1ffd-238":{"renderedLength":1695,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-237"},"1ffd-240":{"renderedLength":9298,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-239"},"1ffd-242":{"renderedLength":1375,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-241"},"1ffd-244":{"renderedLength":3393,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-243"},"1ffd-246":{"renderedLength":1383,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-245"},"1ffd-248":{"renderedLength":6174,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-247"},"1ffd-250":{"renderedLength":1593,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-249"},"1ffd-252":{"renderedLength":2621,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-251"},"1ffd-254":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-253"},"1ffd-256":{"renderedLength":1329,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-255"},"1ffd-258":{"renderedLength":2849,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-257"},"1ffd-260":{"renderedLength":177,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-259"},"1ffd-262":{"renderedLength":27,"gzipLength":0,"brotliLength":0,"metaUid":"1ffd-261"}},"nodeMetas":{"1ffd-143":{"id":"\u0000commonjsHelpers.js","moduleParts":{"settings-form.umd.js":"1ffd-144"},"imported":[],"importedBy":[{"uid":"1ffd-155"},{"uid":"1ffd-149"},{"uid":"1ffd-153"},{"uid":"1ffd-171"}]},"1ffd-145":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"1ffd-146"},"imported":[],"importedBy":[{"uid":"1ffd-155"}]},"1ffd-147":{"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":"1ffd-148"},"imported":[],"importedBy":[{"uid":"1ffd-149"}]},"1ffd-149":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"1ffd-150"},"imported":[{"uid":"1ffd-143"},{"uid":"1ffd-147"},{"uid":"1ffd-285"}],"importedBy":[{"uid":"1ffd-155"}]},"1ffd-151":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"1ffd-152"},"imported":[],"importedBy":[{"uid":"1ffd-153"}]},"1ffd-153":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"1ffd-154"},"imported":[{"uid":"1ffd-143"},{"uid":"1ffd-151"},{"uid":"1ffd-285"}],"importedBy":[{"uid":"1ffd-155"}]},"1ffd-155":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"1ffd-156"},"imported":[{"uid":"1ffd-143"},{"uid":"1ffd-145"},{"uid":"1ffd-149"},{"uid":"1ffd-153"}],"importedBy":[{"uid":"1ffd-157"}]},"1ffd-157":{"id":"\u0000react/jsx-runtime","moduleParts":{"settings-form.umd.js":"1ffd-158"},"imported":[{"uid":"1ffd-155"}],"importedBy":[{"uid":"1ffd-189"},{"uid":"1ffd-201"},{"uid":"1ffd-193"},{"uid":"1ffd-207"},{"uid":"1ffd-213"},{"uid":"1ffd-209"},{"uid":"1ffd-217"},{"uid":"1ffd-221"},{"uid":"1ffd-225"},{"uid":"1ffd-223"},{"uid":"1ffd-231"},{"uid":"1ffd-233"},{"uid":"1ffd-257"},{"uid":"1ffd-255"},{"uid":"1ffd-179"},{"uid":"1ffd-185"},{"uid":"1ffd-187"},{"uid":"1ffd-197"},{"uid":"1ffd-199"},{"uid":"1ffd-203"},{"uid":"1ffd-211"},{"uid":"1ffd-215"},{"uid":"1ffd-227"},{"uid":"1ffd-183"},{"uid":"1ffd-195"},{"uid":"1ffd-181"}]},"1ffd-159":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"1ffd-160"},"imported":[{"uid":"1ffd-280"},{"uid":"1ffd-281"},{"uid":"1ffd-282"}],"importedBy":[{"uid":"1ffd-201"},{"uid":"1ffd-213"},{"uid":"1ffd-217"},{"uid":"1ffd-225"},{"uid":"1ffd-257"},{"uid":"1ffd-161"},{"uid":"1ffd-163"},{"uid":"1ffd-165"},{"uid":"1ffd-167"},{"uid":"1ffd-173"}]},"1ffd-161":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"1ffd-162"},"imported":[{"uid":"1ffd-159"}],"importedBy":[{"uid":"1ffd-175"}]},"1ffd-163":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"1ffd-164"},"imported":[{"uid":"1ffd-159"}],"importedBy":[{"uid":"1ffd-175"}]},"1ffd-165":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"1ffd-166"},"imported":[{"uid":"1ffd-159"}],"importedBy":[{"uid":"1ffd-175"}]},"1ffd-167":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"1ffd-168"},"imported":[{"uid":"1ffd-159"}],"importedBy":[{"uid":"1ffd-175"}]},"1ffd-169":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/dayjs/dayjs.min.js?commonjs-module","moduleParts":{"settings-form.umd.js":"1ffd-170"},"imported":[],"importedBy":[{"uid":"1ffd-171"}]},"1ffd-171":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/dayjs.min.js","moduleParts":{"settings-form.umd.js":"1ffd-172"},"imported":[{"uid":"1ffd-143"},{"uid":"1ffd-169"}],"importedBy":[{"uid":"1ffd-173"}]},"1ffd-173":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"1ffd-174"},"imported":[{"uid":"1ffd-171"},{"uid":"1ffd-159"}],"importedBy":[{"uid":"1ffd-175"}]},"1ffd-175":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"1ffd-176"},"imported":[{"uid":"1ffd-161"},{"uid":"1ffd-163"},{"uid":"1ffd-165"},{"uid":"1ffd-167"},{"uid":"1ffd-173"}],"importedBy":[{"uid":"1ffd-189"},{"uid":"1ffd-201"},{"uid":"1ffd-193"},{"uid":"1ffd-207"},{"uid":"1ffd-213"},{"uid":"1ffd-209"},{"uid":"1ffd-221"},{"uid":"1ffd-225"},{"uid":"1ffd-223"},{"uid":"1ffd-231"},{"uid":"1ffd-233"},{"uid":"1ffd-257"},{"uid":"1ffd-255"},{"uid":"1ffd-197"},{"uid":"1ffd-203"},{"uid":"1ffd-211"},{"uid":"1ffd-215"}]},"1ffd-177":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"1ffd-178"},"imported":[],"importedBy":[{"uid":"1ffd-189"},{"uid":"1ffd-201"},{"uid":"1ffd-193"},{"uid":"1ffd-179"},{"uid":"1ffd-185"},{"uid":"1ffd-187"},{"uid":"1ffd-197"},{"uid":"1ffd-195"}]},"1ffd-179":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"1ffd-180"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-274"},{"uid":"1ffd-279"},{"uid":"1ffd-177"}],"importedBy":[{"uid":"1ffd-189"}]},"1ffd-181":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"1ffd-182"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-283"}],"importedBy":[{"uid":"1ffd-183"}]},"1ffd-183":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"1ffd-184"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-276"},{"uid":"1ffd-274"},{"uid":"1ffd-275"},{"uid":"1ffd-181"}],"importedBy":[{"uid":"1ffd-185"},{"uid":"1ffd-195"}]},"1ffd-185":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"1ffd-186"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-279"},{"uid":"1ffd-177"},{"uid":"1ffd-183"}],"importedBy":[{"uid":"1ffd-189"}]},"1ffd-187":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"1ffd-188"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-177"},{"uid":"1ffd-275"}],"importedBy":[{"uid":"1ffd-189"}]},"1ffd-189":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"1ffd-190"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-273"},{"uid":"1ffd-274"},{"uid":"1ffd-275"},{"uid":"1ffd-175"},{"uid":"1ffd-177"},{"uid":"1ffd-179"},{"uid":"1ffd-185"},{"uid":"1ffd-187"}],"importedBy":[{"uid":"1ffd-263"},{"uid":"1ffd-201"}]},"1ffd-191":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"1ffd-192"},"imported":[{"uid":"1ffd-283"},{"uid":"1ffd-274"}],"importedBy":[{"uid":"1ffd-201"}]},"1ffd-193":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"1ffd-194"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-277"},{"uid":"1ffd-273"},{"uid":"1ffd-278"},{"uid":"1ffd-275"},{"uid":"1ffd-175"},{"uid":"1ffd-177"}],"importedBy":[{"uid":"1ffd-263"},{"uid":"1ffd-201"}]},"1ffd-195":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"1ffd-196"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-279"},{"uid":"1ffd-183"},{"uid":"1ffd-177"}],"importedBy":[{"uid":"1ffd-197"}]},"1ffd-197":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"1ffd-198"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-273"},{"uid":"1ffd-278"},{"uid":"1ffd-274"},{"uid":"1ffd-175"},{"uid":"1ffd-177"},{"uid":"1ffd-195"}],"importedBy":[{"uid":"1ffd-201"}]},"1ffd-199":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"1ffd-200"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-278"},{"uid":"1ffd-272"}],"importedBy":[{"uid":"1ffd-201"}]},"1ffd-201":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"1ffd-202"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-276"},{"uid":"1ffd-175"},{"uid":"1ffd-159"},{"uid":"1ffd-191"},{"uid":"1ffd-189"},{"uid":"1ffd-193"},{"uid":"1ffd-177"},{"uid":"1ffd-197"},{"uid":"1ffd-199"}],"importedBy":[{"uid":"1ffd-263"}]},"1ffd-203":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"1ffd-204"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-276"},{"uid":"1ffd-274"},{"uid":"1ffd-175"}],"importedBy":[{"uid":"1ffd-207"},{"uid":"1ffd-221"},{"uid":"1ffd-211"}]},"1ffd-205":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"1ffd-206"},"imported":[],"importedBy":[{"uid":"1ffd-207"},{"uid":"1ffd-213"},{"uid":"1ffd-209"},{"uid":"1ffd-217"},{"uid":"1ffd-211"},{"uid":"1ffd-215"}]},"1ffd-207":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"1ffd-208"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-273"},{"uid":"1ffd-274"},{"uid":"1ffd-279"},{"uid":"1ffd-275"},{"uid":"1ffd-175"},{"uid":"1ffd-203"},{"uid":"1ffd-205"}],"importedBy":[{"uid":"1ffd-264"},{"uid":"1ffd-213"}]},"1ffd-209":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"1ffd-210"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-277"},{"uid":"1ffd-273"},{"uid":"1ffd-275"},{"uid":"1ffd-175"},{"uid":"1ffd-205"}],"importedBy":[{"uid":"1ffd-264"},{"uid":"1ffd-213"}]},"1ffd-211":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"1ffd-212"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-273"},{"uid":"1ffd-274"},{"uid":"1ffd-279"},{"uid":"1ffd-275"},{"uid":"1ffd-175"},{"uid":"1ffd-203"},{"uid":"1ffd-205"}],"importedBy":[{"uid":"1ffd-213"}]},"1ffd-213":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"1ffd-214"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-276"},{"uid":"1ffd-175"},{"uid":"1ffd-159"},{"uid":"1ffd-207"},{"uid":"1ffd-209"},{"uid":"1ffd-211"},{"uid":"1ffd-205"}],"importedBy":[{"uid":"1ffd-264"}]},"1ffd-215":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"1ffd-216"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-273"},{"uid":"1ffd-279"},{"uid":"1ffd-175"},{"uid":"1ffd-205"}],"importedBy":[{"uid":"1ffd-217"}]},"1ffd-217":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"1ffd-218"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-159"},{"uid":"1ffd-205"},{"uid":"1ffd-215"}],"importedBy":[{"uid":"1ffd-264"}]},"1ffd-219":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"1ffd-220"},"imported":[],"importedBy":[{"uid":"1ffd-221"},{"uid":"1ffd-225"},{"uid":"1ffd-223"}]},"1ffd-221":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"1ffd-222"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-277"},{"uid":"1ffd-273"},{"uid":"1ffd-274"},{"uid":"1ffd-279"},{"uid":"1ffd-275"},{"uid":"1ffd-203"},{"uid":"1ffd-175"},{"uid":"1ffd-219"}],"importedBy":[{"uid":"1ffd-265"},{"uid":"1ffd-225"}]},"1ffd-223":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"1ffd-224"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-277"},{"uid":"1ffd-273"},{"uid":"1ffd-275"},{"uid":"1ffd-175"},{"uid":"1ffd-219"}],"importedBy":[{"uid":"1ffd-265"},{"uid":"1ffd-225"}]},"1ffd-225":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"1ffd-226"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-276"},{"uid":"1ffd-175"},{"uid":"1ffd-159"},{"uid":"1ffd-221"},{"uid":"1ffd-223"},{"uid":"1ffd-219"}],"importedBy":[{"uid":"1ffd-265"}]},"1ffd-227":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"1ffd-228"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-283"}],"importedBy":[{"uid":"1ffd-231"},{"uid":"1ffd-233"}]},"1ffd-229":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"1ffd-230"},"imported":[],"importedBy":[{"uid":"1ffd-231"},{"uid":"1ffd-233"},{"uid":"1ffd-257"},{"uid":"1ffd-255"}]},"1ffd-231":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"1ffd-232"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-273"},{"uid":"1ffd-274"},{"uid":"1ffd-279"},{"uid":"1ffd-275"},{"uid":"1ffd-175"},{"uid":"1ffd-227"},{"uid":"1ffd-229"}],"importedBy":[{"uid":"1ffd-266"},{"uid":"1ffd-257"}]},"1ffd-233":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"1ffd-234"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-273"},{"uid":"1ffd-274"},{"uid":"1ffd-279"},{"uid":"1ffd-175"},{"uid":"1ffd-227"},{"uid":"1ffd-229"},{"uid":"1ffd-278"}],"importedBy":[{"uid":"1ffd-266"},{"uid":"1ffd-257"}]},"1ffd-235":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"1ffd-236"},"imported":[],"importedBy":[{"uid":"1ffd-239"}]},"1ffd-237":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"1ffd-238"},"imported":[],"importedBy":[{"uid":"1ffd-239"}]},"1ffd-239":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"1ffd-240"},"imported":[{"uid":"1ffd-235"},{"uid":"1ffd-237"},{"uid":"1ffd-274"}],"importedBy":[{"uid":"1ffd-247"}]},"1ffd-241":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"1ffd-242"},"imported":[{"uid":"1ffd-274"}],"importedBy":[{"uid":"1ffd-247"}]},"1ffd-243":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"1ffd-244"},"imported":[],"importedBy":[{"uid":"1ffd-247"}]},"1ffd-245":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"1ffd-246"},"imported":[{"uid":"1ffd-272"}],"importedBy":[{"uid":"1ffd-247"}]},"1ffd-247":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"1ffd-248"},"imported":[{"uid":"1ffd-274"},{"uid":"1ffd-239"},{"uid":"1ffd-272"},{"uid":"1ffd-284"},{"uid":"1ffd-241"},{"uid":"1ffd-243"},{"uid":"1ffd-245"}],"importedBy":[{"uid":"1ffd-253"},{"uid":"1ffd-251"}]},"1ffd-249":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"1ffd-250"},"imported":[{"uid":"1ffd-272"}],"importedBy":[{"uid":"1ffd-251"}]},"1ffd-251":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"1ffd-252"},"imported":[{"uid":"1ffd-274"},{"uid":"1ffd-272"},{"uid":"1ffd-247"},{"uid":"1ffd-249"}],"importedBy":[{"uid":"1ffd-253"}]},"1ffd-253":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"1ffd-254"},"imported":[{"uid":"1ffd-272"},{"uid":"1ffd-251"},{"uid":"1ffd-247"}],"importedBy":[{"uid":"1ffd-257"}]},"1ffd-255":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"1ffd-256"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-277"},{"uid":"1ffd-273"},{"uid":"1ffd-275"},{"uid":"1ffd-175"},{"uid":"1ffd-229"}],"importedBy":[{"uid":"1ffd-266"},{"uid":"1ffd-257"}]},"1ffd-257":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"1ffd-258"},"imported":[{"uid":"1ffd-157"},{"uid":"1ffd-272"},{"uid":"1ffd-253"},{"uid":"1ffd-276"},{"uid":"1ffd-175"},{"uid":"1ffd-159"},{"uid":"1ffd-231"},{"uid":"1ffd-255"},{"uid":"1ffd-229"},{"uid":"1ffd-278"},{"uid":"1ffd-233"}],"importedBy":[{"uid":"1ffd-266"}]},"1ffd-259":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"1ffd-260"},"imported":[{"uid":"1ffd-263"},{"uid":"1ffd-264"},{"uid":"1ffd-265"},{"uid":"1ffd-266"},{"uid":"1ffd-267"},{"uid":"1ffd-268"},{"uid":"1ffd-269"},{"uid":"1ffd-270"},{"uid":"1ffd-271"},{"uid":"1ffd-261","dynamic":true}],"importedBy":[],"isEntry":true},"1ffd-261":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"1ffd-262"},"imported":[],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-263":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"1ffd-189"},{"uid":"1ffd-201"},{"uid":"1ffd-193"}],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-264":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"1ffd-207"},{"uid":"1ffd-213"},{"uid":"1ffd-209"},{"uid":"1ffd-217"}],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-265":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"1ffd-221"},{"uid":"1ffd-225"},{"uid":"1ffd-223"}],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-266":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"1ffd-231"},{"uid":"1ffd-233"},{"uid":"1ffd-257"},{"uid":"1ffd-255"}],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-267":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-268":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-269":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-270":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-271":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-259"}]},"1ffd-272":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-189"},{"uid":"1ffd-201"},{"uid":"1ffd-193"},{"uid":"1ffd-207"},{"uid":"1ffd-213"},{"uid":"1ffd-209"},{"uid":"1ffd-217"},{"uid":"1ffd-221"},{"uid":"1ffd-225"},{"uid":"1ffd-223"},{"uid":"1ffd-231"},{"uid":"1ffd-233"},{"uid":"1ffd-257"},{"uid":"1ffd-255"},{"uid":"1ffd-179"},{"uid":"1ffd-185"},{"uid":"1ffd-187"},{"uid":"1ffd-197"},{"uid":"1ffd-199"},{"uid":"1ffd-203"},{"uid":"1ffd-211"},{"uid":"1ffd-215"},{"uid":"1ffd-253"},{"uid":"1ffd-183"},{"uid":"1ffd-195"},{"uid":"1ffd-251"},{"uid":"1ffd-247"},{"uid":"1ffd-181"},{"uid":"1ffd-249"},{"uid":"1ffd-245"}],"isExternal":true},"1ffd-273":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-189"},{"uid":"1ffd-193"},{"uid":"1ffd-207"},{"uid":"1ffd-209"},{"uid":"1ffd-221"},{"uid":"1ffd-223"},{"uid":"1ffd-231"},{"uid":"1ffd-233"},{"uid":"1ffd-255"},{"uid":"1ffd-197"},{"uid":"1ffd-211"},{"uid":"1ffd-215"}],"isExternal":true},"1ffd-274":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-189"},{"uid":"1ffd-207"},{"uid":"1ffd-221"},{"uid":"1ffd-231"},{"uid":"1ffd-233"},{"uid":"1ffd-179"},{"uid":"1ffd-191"},{"uid":"1ffd-197"},{"uid":"1ffd-203"},{"uid":"1ffd-211"},{"uid":"1ffd-183"},{"uid":"1ffd-251"},{"uid":"1ffd-247"},{"uid":"1ffd-239"},{"uid":"1ffd-241"},{"uid":"1ffd-285"}],"isExternal":true},"1ffd-275":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-189"},{"uid":"1ffd-193"},{"uid":"1ffd-207"},{"uid":"1ffd-209"},{"uid":"1ffd-221"},{"uid":"1ffd-223"},{"uid":"1ffd-231"},{"uid":"1ffd-255"},{"uid":"1ffd-187"},{"uid":"1ffd-211"},{"uid":"1ffd-183"}],"isExternal":true},"1ffd-276":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-201"},{"uid":"1ffd-213"},{"uid":"1ffd-225"},{"uid":"1ffd-257"},{"uid":"1ffd-203"},{"uid":"1ffd-183"}],"isExternal":true},"1ffd-277":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-193"},{"uid":"1ffd-209"},{"uid":"1ffd-221"},{"uid":"1ffd-223"},{"uid":"1ffd-255"}],"isExternal":true},"1ffd-278":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-193"},{"uid":"1ffd-233"},{"uid":"1ffd-257"},{"uid":"1ffd-197"},{"uid":"1ffd-199"}],"isExternal":true},"1ffd-279":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-207"},{"uid":"1ffd-221"},{"uid":"1ffd-231"},{"uid":"1ffd-233"},{"uid":"1ffd-179"},{"uid":"1ffd-185"},{"uid":"1ffd-211"},{"uid":"1ffd-215"},{"uid":"1ffd-195"}],"isExternal":true},"1ffd-280":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-159"}],"isExternal":true},"1ffd-281":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-159"}],"isExternal":true},"1ffd-282":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-159"}],"isExternal":true},"1ffd-283":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-191"},{"uid":"1ffd-227"},{"uid":"1ffd-181"}],"isExternal":true},"1ffd-284":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"1ffd-247"}],"isExternal":true},"1ffd-285":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"1ffd-274"}],"importedBy":[{"uid":"1ffd-149"},{"uid":"1ffd-153"}]}},"env":{"rollup":"3.26.2"},"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": "10.35.0",
3
+ "version": "10.35.1",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",