@devtable/settings-form 10.1.0 → 10.2.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 e = "@devtable/settings-form", s = "10.1.0", t = "Apache-2.0", i = {
1
+ const e = "@devtable/settings-form", s = "10.2.0", t = "Apache-2.0", i = {
2
2
  access: "public",
3
3
  registry: "https://registry.npmjs.org/"
4
4
  }, o = [
@@ -6022,7 +6022,7 @@ function Aa({
6022
6022
  ] })
6023
6023
  ] });
6024
6024
  }
6025
- const ka = () => import("./package-eb53f5df.mjs").then(({
6025
+ const ka = () => import("./package-d8121363.mjs").then(({
6026
6026
  version: e
6027
6027
  }) => (console.log(`[@devtable/dashboard] version: ${e}`), e));
6028
6028
  export {
@@ -41,4 +41,4 @@ Check the top-level render call using <`+x+">.")}return S}}function Zt(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)},Yn=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(qn),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},Vn=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=Ee({},o[h],p);o[h]=y}),o},r);return s.root=n,s.plain=Ee({},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 Hn=function(e){function t(){for(var n=this,r=[],s=arguments.length;s--;)r[s]=arguments[s];e.apply(this,r),Ne(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?Vn(o.theme,o.language):void 0;return n.themeDict=l}),Ne(this,"getLineProps",function(o){var l=o.key,g=o.className,p=o.style,h=mt(o,["key","className","style","line"]),y=h,u=Ee({},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?Ee({},u.style,p):p),l!==void 0&&(u.key=l),g&&(u.className+=" "+g),u}),Ne(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))}}),Ne(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=Ee({},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?Ee({},c.style,p):p),l!==void 0&&(c.key=l),g&&(c.className+=" "+g),c}),Ne(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=Yn(y);return g({tokens:u,className:"prism-code language-"+o,style:p!==void 0?p.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}($.Component);const Wn=Hn;function yt({copied:e}){return $.createElement("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e?$.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"}):$.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 Kn=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]}}]}),Zn=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]}}]}),Xn=(e,t)=>t==="dark"?Kn(e):Zn(e);var Qn=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:13,overflowX:n?"auto":void 0,borderRadius:e.fn.radius(s),padding:`${e.spacing.sm}px 0`,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}px`},lineNumber:{color:t==="dark"?e.colors.dark[4]:e.colors.gray[4],textAlign:"right",width:8*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 Jn=Qn;var er=Object.defineProperty,tr=Object.defineProperties,nr=Object.getOwnPropertyDescriptors,Ge=Object.getOwnPropertySymbols,vt=Object.prototype.hasOwnProperty,St=Object.prototype.propertyIsEnumerable,wt=(e,t,n)=>t in e?er(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ke=(e,t)=>{for(var n in t||(t={}))vt.call(t,n)&&wt(e,n,t[n]);if(Ge)for(var n of Ge(t))St.call(t,n)&&wt(e,n,t[n]);return e},$e=(e,t)=>tr(e,nr(t)),rr=(e,t)=>{var n={};for(var r in e)vt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&Ge)for(var r of Ge(e))t.indexOf(r)<0&&St.call(e,r)&&(n[r]=e[r]);return n};const ar={noCopy:!1,copyLabel:"Copy code",copiedLabel:"Copied",withLineNumbers:!1,trim:!0,highlightLines:{},scrollAreaComponent:d.ScrollArea,getPrismTheme:Xn},Ze=$.forwardRef((e,t)=>{const n=d.useComponentDefaultProps("Prism",ar,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:_,radius:A,getPrismTheme:k}=n,z=rr(n,["className","children","language","noCopy","classNames","styles","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","colorScheme","trim","unstyled","radius","getPrismTheme"]),Y=b&&typeof s=="string"?s.trim():s,oe=Y.split(`
43
43
  `).length.toString().length,W=d.useMantineTheme(),X=rn.useClipboard(),ee=v||W.colorScheme,{classes:N,cx:F}=Jn({colorScheme:ee,native:f!==d.ScrollArea,maxLineSize:oe,radius:A},{classNames:g,styles:p,unstyled:_,name:"Prism"});return $.createElement(d.Box,$e(ke({className:F(N.root,r),ref:t},z),{translate:"no"}),!l&&$.createElement(d.Tooltip,{label:X.copied?y:h,position:"left",withArrow:!0,arrowSize:6,offset:6,color:X.copied?"teal":void 0,unstyled:_},$.createElement(d.ActionIcon,{className:N.copy,"aria-label":X.copied?y:h,onClick:()=>X.copy(Y),unstyled:_},$.createElement(yt,{copied:X.copied}))),$.createElement(Wn,$e(ke({},Un),{theme:k(W,ee),code:Y,language:o}),({className:K,style:te,tokens:C,getLineProps:T,getTokenProps:w})=>$.createElement(f,{className:N.scrollArea,dir:"ltr"},$.createElement("pre",{className:F(N.code,K),style:te,dir:"ltr"},C.map((O,E)=>{var R,D,B,H;if(E===C.length-1&&O.length===1&&O[0].content===`
44
- `)return null;const M=E+1,Q=T({line:O,key:E}),se=M in c,ue=ee==="dark"?W.fn.rgba(W.fn.themeColor((R=c[M])==null?void 0:R.color,9),.25):W.fn.themeColor((D=c[M])==null?void 0:D.color,0);return $.createElement("div",$e(ke({},Q),{className:F(N.line,Q.className),style:ke({},se?{backgroundColor:ue}:null)}),u&&$.createElement("div",{className:N.lineNumber,style:{color:se?W.fn.themeColor((B=c[M])==null?void 0:B.color,ee==="dark"?5:8):void 0}},((H=c[M])==null?void 0:H.label)||M),$.createElement("div",{className:N.lineContent},O.map((ce,be)=>{var pe,ne;const le=w({token:ce,key:be});return $.createElement("span",$e(ke({},le),{style:$e(ke({},le.style),{color:se?W.fn.themeColor((pe=c[M])==null?void 0:pe.color,ee==="dark"?5:8):(ne=le==null?void 0:le.style)==null?void 0:ne.color})}))})))}).filter(Boolean)))))});Ze.displayName="@mantine/prism/Prism";var ir=d.createStyles((e,{radius:t})=>({tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:34,border:`1px 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:`1px 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=ir;var or=Object.defineProperty,sr=Object.defineProperties,lr=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,At=(e,t,n)=>t in e?or(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},ur=(e,t)=>sr(e,lr(t)),cr=(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 dr(e){const{classes:t}=Et({radius:e.radius});return $.createElement(d.Tabs,ur(kt({},e),{variant:"outline",classNames:{tab:t.tab},translate:"no"}))}function pr(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}=t,v=cr(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme"]);const{classes:b}=Et({radius:s});return $.createElement(d.Tabs.Panel,kt({},v),$.createElement(Ze,{language:n,classNames:{root:b.prism,code:b.code},radius:s,noCopy:o,copyLabel:l,copiedLabel:g,withLineNumbers:p,highlightLines:h,scrollAreaComponent:y,trim:u,getPrismTheme:c,colorScheme:f},r))}const Fe=Ze;Fe.Tabs=dr,Fe.Tab=d.Tabs.Tab,Fe.TabsList=d.Tabs.List,Fe.Panel=pr;function xt({id:e,onSuccess:t,styles:n=Ae}){const r=Te.useModals(),s=async()=>{if(e){G.showNotification({id:"for-deleting",title:"Pending",message:"Deleting SQL Snippet...",loading:!0});try{await ie.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 gr({content:e}){return I(d.HoverCard,{width:"60vw",shadow:"md",children:[a(d.HoverCard.Target,{children:a(d.ActionIcon,{size:16,children:a(ye.IconEye,{})})}),a(d.HoverCard.Dropdown,{children:a(Fe,{language:"sql",noCopy:!0,withLineNumbers:!0,children:e})})]})}function fr({styles:e=Ae,config:t}){Le(t);const{data:n=[],loading:r,refresh:s}=Se.useRequest(async()=>{const{data:o}=await ie.sql_snippet.list({pagination:{page:1,pagesize:10}});return o},{refreshDeps:[]});return I(ge,{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(gr,{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 hr=()=>Promise.resolve().then(()=>br).then(({version:e})=>(console.log(`[@devtable/dashboard] version: ${e}`),e)),Ct="@devtable/settings-form",Ot="10.1.0",Rt="Apache-2.0",It={access:"public",registry:"https://registry.npmjs.org/"},Dt=["dist"],Lt="./dist/settings-form.umd.js",Nt="./dist/settings-form.es.js",$t="./dist/index.d.ts",Ft={".":{import:"./dist/settings-form.es.js",require:"./dist/settings-form.umd.js"},"./dist/style.css":{import:"./dist/style.css",require:"./dist/style.css"}},Pt={"dev-build":"tsc && vite build --watch",preview:"vite preview"},Bt={"@monaco-editor/react":"4.4.6","@tabler/icons":"1.119.0","monaco-editor":"0.36.0"},zt={"@emotion/babel-plugin":"11.11.0","@types/crypto-js":"v4.1.1","@types/lodash":"^4.14.182","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@types/react-grid-layout":"^1.3.2","rollup-plugin-visualizer":"5.9.0",typescript:"^4.6.3","vite-plugin-static-copy":"0.13.1"},Mt={"@emotion/react":"11.10.6","@mantine/core":"5.9.5","@mantine/hooks":"5.9.5","@mantine/modals":"5.9.5","@mantine/notifications":"5.9.5",ahooks:"^3.3.11",axios:"^0.27.2","crypto-js":"^4.1.1",lodash:"^4.17.21",react:"^16.8.0 || 17.x || 18.x","react-dom":"^16.8.0 || 17.x || 18.x","react-hook-form":"^7.31.2","tabler-icons-react":"^1.48.0"},br=Object.freeze(Object.defineProperty({__proto__:null,default:{name:Ct,version:Ot,license:Rt,publishConfig:It,files:Dt,main:Lt,module:Nt,types:$t,exports:Ft,scripts:Pt,dependencies:Bt,devDependencies:zt,peerDependencies:Mt},dependencies:Bt,devDependencies:zt,exports:Ft,files:Dt,license:Rt,main:Lt,module:Nt,name:Ct,peerDependencies:Mt,publishConfig:It,scripts:Pt,types:$t,version:Ot},Symbol.toStringTag,{value:"Module"}));q.APIKeyList=Bn,q.AccountList=Nn,q.AddAPIKey=ct,q.AddAccount=lt,q.AddDataSource=it,q.AddSQLSnippet=gt,q.DataSourceList=On,q.DeleteAPIKey=dt,q.DeleteAccount=ut,q.DeleteDataSource=ot,q.DeleteSQLSnippet=xt,q.Login=Fn,q.SQLSnippetList=fr,q.UpdateSQLSnippet=ft,q.getVersion=hr,Object.defineProperty(q,Symbol.toStringTag,{value:"Module"})});
44
+ `)return null;const M=E+1,Q=T({line:O,key:E}),se=M in c,ue=ee==="dark"?W.fn.rgba(W.fn.themeColor((R=c[M])==null?void 0:R.color,9),.25):W.fn.themeColor((D=c[M])==null?void 0:D.color,0);return $.createElement("div",$e(ke({},Q),{className:F(N.line,Q.className),style:ke({},se?{backgroundColor:ue}:null)}),u&&$.createElement("div",{className:N.lineNumber,style:{color:se?W.fn.themeColor((B=c[M])==null?void 0:B.color,ee==="dark"?5:8):void 0}},((H=c[M])==null?void 0:H.label)||M),$.createElement("div",{className:N.lineContent},O.map((ce,be)=>{var pe,ne;const le=w({token:ce,key:be});return $.createElement("span",$e(ke({},le),{style:$e(ke({},le.style),{color:se?W.fn.themeColor((pe=c[M])==null?void 0:pe.color,ee==="dark"?5:8):(ne=le==null?void 0:le.style)==null?void 0:ne.color})}))})))}).filter(Boolean)))))});Ze.displayName="@mantine/prism/Prism";var ir=d.createStyles((e,{radius:t})=>({tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:34,border:`1px 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:`1px 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=ir;var or=Object.defineProperty,sr=Object.defineProperties,lr=Object.getOwnPropertyDescriptors,Ue=Object.getOwnPropertySymbols,_t=Object.prototype.hasOwnProperty,Tt=Object.prototype.propertyIsEnumerable,At=(e,t,n)=>t in e?or(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},ur=(e,t)=>sr(e,lr(t)),cr=(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 dr(e){const{classes:t}=Et({radius:e.radius});return $.createElement(d.Tabs,ur(kt({},e),{variant:"outline",classNames:{tab:t.tab},translate:"no"}))}function pr(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}=t,v=cr(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme"]);const{classes:b}=Et({radius:s});return $.createElement(d.Tabs.Panel,kt({},v),$.createElement(Ze,{language:n,classNames:{root:b.prism,code:b.code},radius:s,noCopy:o,copyLabel:l,copiedLabel:g,withLineNumbers:p,highlightLines:h,scrollAreaComponent:y,trim:u,getPrismTheme:c,colorScheme:f},r))}const Fe=Ze;Fe.Tabs=dr,Fe.Tab=d.Tabs.Tab,Fe.TabsList=d.Tabs.List,Fe.Panel=pr;function xt({id:e,onSuccess:t,styles:n=Ae}){const r=Te.useModals(),s=async()=>{if(e){G.showNotification({id:"for-deleting",title:"Pending",message:"Deleting SQL Snippet...",loading:!0});try{await ie.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 gr({content:e}){return I(d.HoverCard,{width:"60vw",shadow:"md",children:[a(d.HoverCard.Target,{children:a(d.ActionIcon,{size:16,children:a(ye.IconEye,{})})}),a(d.HoverCard.Dropdown,{children:a(Fe,{language:"sql",noCopy:!0,withLineNumbers:!0,children:e})})]})}function fr({styles:e=Ae,config:t}){Le(t);const{data:n=[],loading:r,refresh:s}=Se.useRequest(async()=>{const{data:o}=await ie.sql_snippet.list({pagination:{page:1,pagesize:10}});return o},{refreshDeps:[]});return I(ge,{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(gr,{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 hr=()=>Promise.resolve().then(()=>br).then(({version:e})=>(console.log(`[@devtable/dashboard] version: ${e}`),e)),Ct="@devtable/settings-form",Ot="10.2.0",Rt="Apache-2.0",It={access:"public",registry:"https://registry.npmjs.org/"},Dt=["dist"],Lt="./dist/settings-form.umd.js",Nt="./dist/settings-form.es.js",$t="./dist/index.d.ts",Ft={".":{import:"./dist/settings-form.es.js",require:"./dist/settings-form.umd.js"},"./dist/style.css":{import:"./dist/style.css",require:"./dist/style.css"}},Pt={"dev-build":"tsc && vite build --watch",preview:"vite preview"},Bt={"@monaco-editor/react":"4.4.6","@tabler/icons":"1.119.0","monaco-editor":"0.36.0"},zt={"@emotion/babel-plugin":"11.11.0","@types/crypto-js":"v4.1.1","@types/lodash":"^4.14.182","@types/react":"^18.0.0","@types/react-dom":"^18.0.0","@types/react-grid-layout":"^1.3.2","rollup-plugin-visualizer":"5.9.0",typescript:"^4.6.3","vite-plugin-static-copy":"0.13.1"},Mt={"@emotion/react":"11.10.6","@mantine/core":"5.9.5","@mantine/hooks":"5.9.5","@mantine/modals":"5.9.5","@mantine/notifications":"5.9.5",ahooks:"^3.3.11",axios:"^0.27.2","crypto-js":"^4.1.1",lodash:"^4.17.21",react:"^16.8.0 || 17.x || 18.x","react-dom":"^16.8.0 || 17.x || 18.x","react-hook-form":"^7.31.2","tabler-icons-react":"^1.48.0"},br=Object.freeze(Object.defineProperty({__proto__:null,default:{name:Ct,version:Ot,license:Rt,publishConfig:It,files:Dt,main:Lt,module:Nt,types:$t,exports:Ft,scripts:Pt,dependencies:Bt,devDependencies:zt,peerDependencies:Mt},dependencies:Bt,devDependencies:zt,exports:Ft,files:Dt,license:Rt,main:Lt,module:Nt,name:Ct,peerDependencies:Mt,publishConfig:It,scripts:Pt,types:$t,version:Ot},Symbol.toStringTag,{value:"Module"}));q.APIKeyList=Bn,q.AccountList=Nn,q.AddAPIKey=ct,q.AddAccount=lt,q.AddDataSource=it,q.AddSQLSnippet=gt,q.DataSourceList=On,q.DeleteAPIKey=dt,q.DeleteAccount=ut,q.DeleteDataSource=ot,q.DeleteSQLSnippet=xt,q.Login=Fn,q.SQLSnippetList=fr,q.UpdateSQLSnippet=ft,q.getVersion=hr,Object.defineProperty(q,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":"be04-144","name":"\u0000commonjsHelpers.js"},{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules","children":[{"name":"react","children":[{"uid":"be04-146","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"be04-148","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"be04-152","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"dayjs/dayjs.min.js?commonjs-module","uid":"be04-170"}]},{"name":"Users/leto/github/merico-dev/table/node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"be04-150","name":"react-jsx-runtime.production.min.js"},{"uid":"be04-154","name":"react-jsx-runtime.development.js"}]},{"uid":"be04-156","name":"jsx-runtime.js"}]},{"name":"dayjs/dayjs.min.js","uid":"be04-172"},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"be04-236"},{"name":"themes/duotoneDark/index.js","uid":"be04-238"},{"name":"dist/index.js","uid":"be04-240"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"be04-242","name":"CopyIcon.js"},{"uid":"be04-244","name":"prism-theme.js"},{"uid":"be04-246","name":"Prism.styles.js"},{"uid":"be04-248","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"be04-250","name":"PrismTabs.styles.js"},{"uid":"be04-252","name":"PrismTabs.js"}]},{"uid":"be04-254","name":"index.js"}]}]},{"name":"\u0000react/jsx-runtime","uid":"be04-158"},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"be04-160","name":"request.ts"},{"uid":"be04-162","name":"account.ts"},{"uid":"be04-164","name":"api-key.ts"},{"uid":"be04-166","name":"datasource.ts"},{"uid":"be04-168","name":"role.ts"},{"uid":"be04-174","name":"sql_snippet.ts"},{"uid":"be04-176","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"be04-178","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"be04-180","name":"database.tsx"},{"uid":"be04-186","name":"http.tsx"}]},{"uid":"be04-188","name":"db-permission-tips.tsx"},{"uid":"be04-190","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"be04-182","name":"function-string-editor.tsx"},{"uid":"be04-184","name":"index.tsx"}]},{"uid":"be04-200","name":"data-source-icon.tsx"}]},{"uid":"be04-194","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"be04-196"},{"uid":"be04-198","name":"index.tsx"}]},{"uid":"be04-202","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"be04-192"},{"name":"account","children":[{"uid":"be04-204","name":"role-selector.tsx"},{"uid":"be04-206","name":"styles.ts"},{"uid":"be04-208","name":"add-account.tsx"},{"uid":"be04-210","name":"delete-account.tsx"},{"uid":"be04-212","name":"edit-account.tsx"},{"uid":"be04-214","name":"account-list.tsx"},{"name":"login","children":[{"uid":"be04-216","name":"form.tsx"},{"uid":"be04-218","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"be04-220","name":"styles.ts"},{"uid":"be04-222","name":"add-api-key.tsx"},{"uid":"be04-224","name":"delete-api-key.tsx"},{"uid":"be04-226","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"be04-228"},{"name":"sql_snippet","children":[{"uid":"be04-230","name":"styles.ts"},{"uid":"be04-232","name":"add-sql_snippet.tsx"},{"uid":"be04-234","name":"update-sql_snippet.tsx"},{"uid":"be04-256","name":"delete-sql_snippet.tsx"},{"uid":"be04-258","name":"sql_snippet-list.tsx"}]},{"uid":"be04-260","name":"index.ts"}]},{"uid":"be04-262","name":"package.json"}]}],"isRoot":true},"nodeParts":{"be04-144":{"renderedLength":193,"gzipLength":0,"brotliLength":0,"metaUid":"be04-143"},"be04-146":{"renderedLength":144,"gzipLength":0,"brotliLength":0,"metaUid":"be04-145"},"be04-148":{"renderedLength":41,"gzipLength":0,"brotliLength":0,"metaUid":"be04-147"},"be04-150":{"renderedLength":1200,"gzipLength":0,"brotliLength":0,"metaUid":"be04-149"},"be04-152":{"renderedLength":38,"gzipLength":0,"brotliLength":0,"metaUid":"be04-151"},"be04-154":{"renderedLength":44168,"gzipLength":0,"brotliLength":0,"metaUid":"be04-153"},"be04-156":{"renderedLength":223,"gzipLength":0,"brotliLength":0,"metaUid":"be04-155"},"be04-158":{"renderedLength":119,"gzipLength":0,"brotliLength":0,"metaUid":"be04-157"},"be04-160":{"renderedLength":2759,"gzipLength":0,"brotliLength":0,"metaUid":"be04-159"},"be04-162":{"renderedLength":1900,"gzipLength":0,"brotliLength":0,"metaUid":"be04-161"},"be04-164":{"renderedLength":633,"gzipLength":0,"brotliLength":0,"metaUid":"be04-163"},"be04-166":{"renderedLength":729,"gzipLength":0,"brotliLength":0,"metaUid":"be04-165"},"be04-168":{"renderedLength":134,"gzipLength":0,"brotliLength":0,"metaUid":"be04-167"},"be04-170":{"renderedLength":140,"gzipLength":0,"brotliLength":0,"metaUid":"be04-169"},"be04-172":{"renderedLength":6501,"gzipLength":0,"brotliLength":0,"metaUid":"be04-171"},"be04-174":{"renderedLength":1092,"gzipLength":0,"brotliLength":0,"metaUid":"be04-173"},"be04-176":{"renderedLength":87,"gzipLength":0,"brotliLength":0,"metaUid":"be04-175"},"be04-178":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"be04-177"},"be04-180":{"renderedLength":2577,"gzipLength":0,"brotliLength":0,"metaUid":"be04-179"},"be04-182":{"renderedLength":448,"gzipLength":0,"brotliLength":0,"metaUid":"be04-181"},"be04-184":{"renderedLength":1702,"gzipLength":0,"brotliLength":0,"metaUid":"be04-183"},"be04-186":{"renderedLength":2544,"gzipLength":0,"brotliLength":0,"metaUid":"be04-185"},"be04-188":{"renderedLength":377,"gzipLength":0,"brotliLength":0,"metaUid":"be04-187"},"be04-190":{"renderedLength":2528,"gzipLength":0,"brotliLength":0,"metaUid":"be04-189"},"be04-192":{"renderedLength":532,"gzipLength":0,"brotliLength":0,"metaUid":"be04-191"},"be04-194":{"renderedLength":1686,"gzipLength":0,"brotliLength":0,"metaUid":"be04-193"},"be04-196":{"renderedLength":2212,"gzipLength":0,"brotliLength":0,"metaUid":"be04-195"},"be04-198":{"renderedLength":2940,"gzipLength":0,"brotliLength":0,"metaUid":"be04-197"},"be04-200":{"renderedLength":650,"gzipLength":0,"brotliLength":0,"metaUid":"be04-199"},"be04-202":{"renderedLength":2088,"gzipLength":0,"brotliLength":0,"metaUid":"be04-201"},"be04-204":{"renderedLength":1234,"gzipLength":0,"brotliLength":0,"metaUid":"be04-203"},"be04-206":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"be04-205"},"be04-208":{"renderedLength":3171,"gzipLength":0,"brotliLength":0,"metaUid":"be04-207"},"be04-210":{"renderedLength":1274,"gzipLength":0,"brotliLength":0,"metaUid":"be04-209"},"be04-212":{"renderedLength":4137,"gzipLength":0,"brotliLength":0,"metaUid":"be04-211"},"be04-214":{"renderedLength":2502,"gzipLength":0,"brotliLength":0,"metaUid":"be04-213"},"be04-216":{"renderedLength":1806,"gzipLength":0,"brotliLength":0,"metaUid":"be04-215"},"be04-218":{"renderedLength":335,"gzipLength":0,"brotliLength":0,"metaUid":"be04-217"},"be04-220":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"be04-219"},"be04-222":{"renderedLength":3557,"gzipLength":0,"brotliLength":0,"metaUid":"be04-221"},"be04-224":{"renderedLength":1273,"gzipLength":0,"brotliLength":0,"metaUid":"be04-223"},"be04-226":{"renderedLength":2383,"gzipLength":0,"brotliLength":0,"metaUid":"be04-225"},"be04-228":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"be04-227"},"be04-230":{"renderedLength":95,"gzipLength":0,"brotliLength":0,"metaUid":"be04-229"},"be04-232":{"renderedLength":2696,"gzipLength":0,"brotliLength":0,"metaUid":"be04-231"},"be04-234":{"renderedLength":2717,"gzipLength":0,"brotliLength":0,"metaUid":"be04-233"},"be04-236":{"renderedLength":144711,"gzipLength":0,"brotliLength":0,"metaUid":"be04-235"},"be04-238":{"renderedLength":1695,"gzipLength":0,"brotliLength":0,"metaUid":"be04-237"},"be04-240":{"renderedLength":9298,"gzipLength":0,"brotliLength":0,"metaUid":"be04-239"},"be04-242":{"renderedLength":1365,"gzipLength":0,"brotliLength":0,"metaUid":"be04-241"},"be04-244":{"renderedLength":3393,"gzipLength":0,"brotliLength":0,"metaUid":"be04-243"},"be04-246":{"renderedLength":1314,"gzipLength":0,"brotliLength":0,"metaUid":"be04-245"},"be04-248":{"renderedLength":6135,"gzipLength":0,"brotliLength":0,"metaUid":"be04-247"},"be04-250":{"renderedLength":1561,"gzipLength":0,"brotliLength":0,"metaUid":"be04-249"},"be04-252":{"renderedLength":2577,"gzipLength":0,"brotliLength":0,"metaUid":"be04-251"},"be04-254":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"be04-253"},"be04-256":{"renderedLength":1329,"gzipLength":0,"brotliLength":0,"metaUid":"be04-255"},"be04-258":{"renderedLength":2846,"gzipLength":0,"brotliLength":0,"metaUid":"be04-257"},"be04-260":{"renderedLength":179,"gzipLength":0,"brotliLength":0,"metaUid":"be04-259"},"be04-262":{"renderedLength":1850,"gzipLength":0,"brotliLength":0,"metaUid":"be04-261"}},"nodeMetas":{"be04-143":{"id":"\u0000commonjsHelpers.js","moduleParts":{"settings-form.umd.js":"be04-144"},"imported":[],"importedBy":[{"uid":"be04-155"},{"uid":"be04-149"},{"uid":"be04-153"},{"uid":"be04-171"}]},"be04-145":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"be04-146"},"imported":[],"importedBy":[{"uid":"be04-155"}]},"be04-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":"be04-148"},"imported":[],"importedBy":[{"uid":"be04-149"}]},"be04-149":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"be04-150"},"imported":[{"uid":"be04-143"},{"uid":"be04-147"},{"uid":"be04-285"}],"importedBy":[{"uid":"be04-155"}]},"be04-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":"be04-152"},"imported":[],"importedBy":[{"uid":"be04-153"}]},"be04-153":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"be04-154"},"imported":[{"uid":"be04-143"},{"uid":"be04-151"},{"uid":"be04-285"}],"importedBy":[{"uid":"be04-155"}]},"be04-155":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"be04-156"},"imported":[{"uid":"be04-143"},{"uid":"be04-145"},{"uid":"be04-149"},{"uid":"be04-153"}],"importedBy":[{"uid":"be04-157"}]},"be04-157":{"id":"\u0000react/jsx-runtime","moduleParts":{"settings-form.umd.js":"be04-158"},"imported":[{"uid":"be04-155"}],"importedBy":[{"uid":"be04-189"},{"uid":"be04-201"},{"uid":"be04-193"},{"uid":"be04-207"},{"uid":"be04-213"},{"uid":"be04-209"},{"uid":"be04-217"},{"uid":"be04-221"},{"uid":"be04-225"},{"uid":"be04-223"},{"uid":"be04-231"},{"uid":"be04-233"},{"uid":"be04-257"},{"uid":"be04-255"},{"uid":"be04-179"},{"uid":"be04-185"},{"uid":"be04-187"},{"uid":"be04-197"},{"uid":"be04-199"},{"uid":"be04-203"},{"uid":"be04-211"},{"uid":"be04-215"},{"uid":"be04-227"},{"uid":"be04-183"},{"uid":"be04-195"},{"uid":"be04-181"}]},"be04-159":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"be04-160"},"imported":[{"uid":"be04-280"},{"uid":"be04-281"},{"uid":"be04-282"}],"importedBy":[{"uid":"be04-201"},{"uid":"be04-213"},{"uid":"be04-217"},{"uid":"be04-225"},{"uid":"be04-257"},{"uid":"be04-161"},{"uid":"be04-163"},{"uid":"be04-165"},{"uid":"be04-167"},{"uid":"be04-173"}]},"be04-161":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"be04-162"},"imported":[{"uid":"be04-159"}],"importedBy":[{"uid":"be04-175"}]},"be04-163":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"be04-164"},"imported":[{"uid":"be04-159"}],"importedBy":[{"uid":"be04-175"}]},"be04-165":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"be04-166"},"imported":[{"uid":"be04-159"}],"importedBy":[{"uid":"be04-175"}]},"be04-167":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"be04-168"},"imported":[{"uid":"be04-159"}],"importedBy":[{"uid":"be04-175"}]},"be04-169":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/dayjs/dayjs.min.js?commonjs-module","moduleParts":{"settings-form.umd.js":"be04-170"},"imported":[],"importedBy":[{"uid":"be04-171"}]},"be04-171":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/dayjs.min.js","moduleParts":{"settings-form.umd.js":"be04-172"},"imported":[{"uid":"be04-143"},{"uid":"be04-169"}],"importedBy":[{"uid":"be04-173"}]},"be04-173":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"be04-174"},"imported":[{"uid":"be04-171"},{"uid":"be04-159"}],"importedBy":[{"uid":"be04-175"}]},"be04-175":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"be04-176"},"imported":[{"uid":"be04-161"},{"uid":"be04-163"},{"uid":"be04-165"},{"uid":"be04-167"},{"uid":"be04-173"}],"importedBy":[{"uid":"be04-189"},{"uid":"be04-201"},{"uid":"be04-193"},{"uid":"be04-207"},{"uid":"be04-213"},{"uid":"be04-209"},{"uid":"be04-221"},{"uid":"be04-225"},{"uid":"be04-223"},{"uid":"be04-231"},{"uid":"be04-233"},{"uid":"be04-257"},{"uid":"be04-255"},{"uid":"be04-197"},{"uid":"be04-203"},{"uid":"be04-211"},{"uid":"be04-215"}]},"be04-177":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"be04-178"},"imported":[],"importedBy":[{"uid":"be04-189"},{"uid":"be04-201"},{"uid":"be04-193"},{"uid":"be04-179"},{"uid":"be04-185"},{"uid":"be04-187"},{"uid":"be04-197"},{"uid":"be04-195"}]},"be04-179":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"be04-180"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-274"},{"uid":"be04-279"},{"uid":"be04-177"}],"importedBy":[{"uid":"be04-189"}]},"be04-181":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"be04-182"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-283"}],"importedBy":[{"uid":"be04-183"}]},"be04-183":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"be04-184"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-276"},{"uid":"be04-274"},{"uid":"be04-275"},{"uid":"be04-181"}],"importedBy":[{"uid":"be04-185"},{"uid":"be04-195"}]},"be04-185":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"be04-186"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-279"},{"uid":"be04-177"},{"uid":"be04-183"}],"importedBy":[{"uid":"be04-189"}]},"be04-187":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"be04-188"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-177"},{"uid":"be04-275"}],"importedBy":[{"uid":"be04-189"}]},"be04-189":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"be04-190"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-273"},{"uid":"be04-274"},{"uid":"be04-275"},{"uid":"be04-175"},{"uid":"be04-177"},{"uid":"be04-179"},{"uid":"be04-185"},{"uid":"be04-187"}],"importedBy":[{"uid":"be04-263"},{"uid":"be04-201"}]},"be04-191":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"be04-192"},"imported":[{"uid":"be04-283"},{"uid":"be04-274"}],"importedBy":[{"uid":"be04-201"}]},"be04-193":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"be04-194"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-277"},{"uid":"be04-273"},{"uid":"be04-278"},{"uid":"be04-275"},{"uid":"be04-175"},{"uid":"be04-177"}],"importedBy":[{"uid":"be04-263"},{"uid":"be04-201"}]},"be04-195":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"be04-196"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-279"},{"uid":"be04-183"},{"uid":"be04-177"}],"importedBy":[{"uid":"be04-197"}]},"be04-197":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"be04-198"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-273"},{"uid":"be04-278"},{"uid":"be04-274"},{"uid":"be04-175"},{"uid":"be04-177"},{"uid":"be04-195"}],"importedBy":[{"uid":"be04-201"}]},"be04-199":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"be04-200"},"imported":[{"uid":"be04-157"},{"uid":"be04-278"},{"uid":"be04-272"}],"importedBy":[{"uid":"be04-201"}]},"be04-201":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"be04-202"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-276"},{"uid":"be04-175"},{"uid":"be04-159"},{"uid":"be04-191"},{"uid":"be04-189"},{"uid":"be04-193"},{"uid":"be04-177"},{"uid":"be04-197"},{"uid":"be04-199"}],"importedBy":[{"uid":"be04-263"}]},"be04-203":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"be04-204"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-276"},{"uid":"be04-274"},{"uid":"be04-175"}],"importedBy":[{"uid":"be04-207"},{"uid":"be04-221"},{"uid":"be04-211"}]},"be04-205":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"be04-206"},"imported":[],"importedBy":[{"uid":"be04-207"},{"uid":"be04-213"},{"uid":"be04-209"},{"uid":"be04-217"},{"uid":"be04-211"},{"uid":"be04-215"}]},"be04-207":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"be04-208"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-273"},{"uid":"be04-274"},{"uid":"be04-279"},{"uid":"be04-275"},{"uid":"be04-175"},{"uid":"be04-203"},{"uid":"be04-205"}],"importedBy":[{"uid":"be04-264"},{"uid":"be04-213"}]},"be04-209":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"be04-210"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-277"},{"uid":"be04-273"},{"uid":"be04-275"},{"uid":"be04-175"},{"uid":"be04-205"}],"importedBy":[{"uid":"be04-264"},{"uid":"be04-213"}]},"be04-211":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"be04-212"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-273"},{"uid":"be04-274"},{"uid":"be04-279"},{"uid":"be04-275"},{"uid":"be04-175"},{"uid":"be04-203"},{"uid":"be04-205"}],"importedBy":[{"uid":"be04-213"}]},"be04-213":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"be04-214"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-276"},{"uid":"be04-175"},{"uid":"be04-159"},{"uid":"be04-207"},{"uid":"be04-209"},{"uid":"be04-211"},{"uid":"be04-205"}],"importedBy":[{"uid":"be04-264"}]},"be04-215":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"be04-216"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-273"},{"uid":"be04-279"},{"uid":"be04-175"},{"uid":"be04-205"}],"importedBy":[{"uid":"be04-217"}]},"be04-217":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"be04-218"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-159"},{"uid":"be04-205"},{"uid":"be04-215"}],"importedBy":[{"uid":"be04-264"}]},"be04-219":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"be04-220"},"imported":[],"importedBy":[{"uid":"be04-221"},{"uid":"be04-225"},{"uid":"be04-223"}]},"be04-221":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"be04-222"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-277"},{"uid":"be04-273"},{"uid":"be04-274"},{"uid":"be04-279"},{"uid":"be04-275"},{"uid":"be04-203"},{"uid":"be04-175"},{"uid":"be04-219"}],"importedBy":[{"uid":"be04-265"},{"uid":"be04-225"}]},"be04-223":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"be04-224"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-277"},{"uid":"be04-273"},{"uid":"be04-275"},{"uid":"be04-175"},{"uid":"be04-219"}],"importedBy":[{"uid":"be04-265"},{"uid":"be04-225"}]},"be04-225":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"be04-226"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-276"},{"uid":"be04-175"},{"uid":"be04-159"},{"uid":"be04-221"},{"uid":"be04-223"},{"uid":"be04-219"}],"importedBy":[{"uid":"be04-265"}]},"be04-227":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"be04-228"},"imported":[{"uid":"be04-157"},{"uid":"be04-283"}],"importedBy":[{"uid":"be04-231"},{"uid":"be04-233"}]},"be04-229":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"be04-230"},"imported":[],"importedBy":[{"uid":"be04-231"},{"uid":"be04-233"},{"uid":"be04-257"},{"uid":"be04-255"}]},"be04-231":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"be04-232"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-273"},{"uid":"be04-274"},{"uid":"be04-279"},{"uid":"be04-275"},{"uid":"be04-175"},{"uid":"be04-227"},{"uid":"be04-229"}],"importedBy":[{"uid":"be04-266"},{"uid":"be04-257"}]},"be04-233":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"be04-234"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-273"},{"uid":"be04-274"},{"uid":"be04-279"},{"uid":"be04-175"},{"uid":"be04-227"},{"uid":"be04-229"},{"uid":"be04-278"}],"importedBy":[{"uid":"be04-266"},{"uid":"be04-257"}]},"be04-235":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"be04-236"},"imported":[],"importedBy":[{"uid":"be04-239"}]},"be04-237":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"be04-238"},"imported":[],"importedBy":[{"uid":"be04-239"}]},"be04-239":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"be04-240"},"imported":[{"uid":"be04-235"},{"uid":"be04-237"},{"uid":"be04-274"}],"importedBy":[{"uid":"be04-247"}]},"be04-241":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"be04-242"},"imported":[{"uid":"be04-274"}],"importedBy":[{"uid":"be04-247"}]},"be04-243":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"be04-244"},"imported":[],"importedBy":[{"uid":"be04-247"}]},"be04-245":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"be04-246"},"imported":[{"uid":"be04-272"}],"importedBy":[{"uid":"be04-247"}]},"be04-247":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"be04-248"},"imported":[{"uid":"be04-274"},{"uid":"be04-239"},{"uid":"be04-272"},{"uid":"be04-284"},{"uid":"be04-241"},{"uid":"be04-243"},{"uid":"be04-245"}],"importedBy":[{"uid":"be04-253"},{"uid":"be04-251"}]},"be04-249":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"be04-250"},"imported":[{"uid":"be04-272"}],"importedBy":[{"uid":"be04-251"}]},"be04-251":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"be04-252"},"imported":[{"uid":"be04-274"},{"uid":"be04-272"},{"uid":"be04-247"},{"uid":"be04-249"}],"importedBy":[{"uid":"be04-253"}]},"be04-253":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"be04-254"},"imported":[{"uid":"be04-272"},{"uid":"be04-251"},{"uid":"be04-247"}],"importedBy":[{"uid":"be04-257"}]},"be04-255":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"be04-256"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-277"},{"uid":"be04-273"},{"uid":"be04-275"},{"uid":"be04-175"},{"uid":"be04-229"}],"importedBy":[{"uid":"be04-266"},{"uid":"be04-257"}]},"be04-257":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"be04-258"},"imported":[{"uid":"be04-157"},{"uid":"be04-272"},{"uid":"be04-253"},{"uid":"be04-276"},{"uid":"be04-175"},{"uid":"be04-159"},{"uid":"be04-231"},{"uid":"be04-255"},{"uid":"be04-229"},{"uid":"be04-278"},{"uid":"be04-233"}],"importedBy":[{"uid":"be04-266"}]},"be04-259":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"be04-260"},"imported":[{"uid":"be04-263"},{"uid":"be04-264"},{"uid":"be04-265"},{"uid":"be04-266"},{"uid":"be04-267"},{"uid":"be04-268"},{"uid":"be04-269"},{"uid":"be04-270"},{"uid":"be04-271"},{"uid":"be04-261","dynamic":true}],"importedBy":[],"isEntry":true},"be04-261":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"be04-262"},"imported":[],"importedBy":[{"uid":"be04-259"}]},"be04-263":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"be04-189"},{"uid":"be04-201"},{"uid":"be04-193"}],"importedBy":[{"uid":"be04-259"}]},"be04-264":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"be04-207"},{"uid":"be04-213"},{"uid":"be04-209"},{"uid":"be04-217"}],"importedBy":[{"uid":"be04-259"}]},"be04-265":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"be04-221"},{"uid":"be04-225"},{"uid":"be04-223"}],"importedBy":[{"uid":"be04-259"}]},"be04-266":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"be04-231"},{"uid":"be04-233"},{"uid":"be04-257"},{"uid":"be04-255"}],"importedBy":[{"uid":"be04-259"}]},"be04-267":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-259"}]},"be04-268":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-259"}]},"be04-269":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-259"}]},"be04-270":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-259"}]},"be04-271":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-259"}]},"be04-272":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-189"},{"uid":"be04-201"},{"uid":"be04-193"},{"uid":"be04-207"},{"uid":"be04-213"},{"uid":"be04-209"},{"uid":"be04-217"},{"uid":"be04-221"},{"uid":"be04-225"},{"uid":"be04-223"},{"uid":"be04-231"},{"uid":"be04-233"},{"uid":"be04-257"},{"uid":"be04-255"},{"uid":"be04-179"},{"uid":"be04-185"},{"uid":"be04-187"},{"uid":"be04-197"},{"uid":"be04-199"},{"uid":"be04-203"},{"uid":"be04-211"},{"uid":"be04-215"},{"uid":"be04-253"},{"uid":"be04-183"},{"uid":"be04-195"},{"uid":"be04-251"},{"uid":"be04-247"},{"uid":"be04-181"},{"uid":"be04-249"},{"uid":"be04-245"}],"isExternal":true},"be04-273":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-189"},{"uid":"be04-193"},{"uid":"be04-207"},{"uid":"be04-209"},{"uid":"be04-221"},{"uid":"be04-223"},{"uid":"be04-231"},{"uid":"be04-233"},{"uid":"be04-255"},{"uid":"be04-197"},{"uid":"be04-211"},{"uid":"be04-215"}],"isExternal":true},"be04-274":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-189"},{"uid":"be04-207"},{"uid":"be04-221"},{"uid":"be04-231"},{"uid":"be04-233"},{"uid":"be04-179"},{"uid":"be04-191"},{"uid":"be04-197"},{"uid":"be04-203"},{"uid":"be04-211"},{"uid":"be04-183"},{"uid":"be04-251"},{"uid":"be04-247"},{"uid":"be04-239"},{"uid":"be04-241"},{"uid":"be04-285"}],"isExternal":true},"be04-275":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-189"},{"uid":"be04-193"},{"uid":"be04-207"},{"uid":"be04-209"},{"uid":"be04-221"},{"uid":"be04-223"},{"uid":"be04-231"},{"uid":"be04-255"},{"uid":"be04-187"},{"uid":"be04-211"},{"uid":"be04-183"}],"isExternal":true},"be04-276":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-201"},{"uid":"be04-213"},{"uid":"be04-225"},{"uid":"be04-257"},{"uid":"be04-203"},{"uid":"be04-183"}],"isExternal":true},"be04-277":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-193"},{"uid":"be04-209"},{"uid":"be04-221"},{"uid":"be04-223"},{"uid":"be04-255"}],"isExternal":true},"be04-278":{"id":"@tabler/icons","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-193"},{"uid":"be04-233"},{"uid":"be04-257"},{"uid":"be04-197"},{"uid":"be04-199"}],"isExternal":true},"be04-279":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-207"},{"uid":"be04-221"},{"uid":"be04-231"},{"uid":"be04-233"},{"uid":"be04-179"},{"uid":"be04-185"},{"uid":"be04-211"},{"uid":"be04-215"},{"uid":"be04-195"}],"isExternal":true},"be04-280":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-159"}],"isExternal":true},"be04-281":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-159"}],"isExternal":true},"be04-282":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-159"}],"isExternal":true},"be04-283":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-191"},{"uid":"be04-227"},{"uid":"be04-181"}],"isExternal":true},"be04-284":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"be04-247"}],"isExternal":true},"be04-285":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"be04-274"}],"importedBy":[{"uid":"be04-149"},{"uid":"be04-153"}]}},"env":{"rollup":"3.20.2"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
6160
+ const data = {"version":2,"tree":{"name":"root","children":[{"name":"settings-form.umd.js","children":[{"uid":"4d70-144","name":"\u0000commonjsHelpers.js"},{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules","children":[{"name":"react","children":[{"uid":"4d70-146","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"4d70-148","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"4d70-152","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"dayjs/dayjs.min.js?commonjs-module","uid":"4d70-170"}]},{"name":"Users/leto/github/merico-dev/table/node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"4d70-150","name":"react-jsx-runtime.production.min.js"},{"uid":"4d70-154","name":"react-jsx-runtime.development.js"}]},{"uid":"4d70-156","name":"jsx-runtime.js"}]},{"name":"dayjs/dayjs.min.js","uid":"4d70-172"},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"4d70-236"},{"name":"themes/duotoneDark/index.js","uid":"4d70-238"},{"name":"dist/index.js","uid":"4d70-240"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"4d70-242","name":"CopyIcon.js"},{"uid":"4d70-244","name":"prism-theme.js"},{"uid":"4d70-246","name":"Prism.styles.js"},{"uid":"4d70-248","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"4d70-250","name":"PrismTabs.styles.js"},{"uid":"4d70-252","name":"PrismTabs.js"}]},{"uid":"4d70-254","name":"index.js"}]}]},{"name":"\u0000react/jsx-runtime","uid":"4d70-158"},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"4d70-160","name":"request.ts"},{"uid":"4d70-162","name":"account.ts"},{"uid":"4d70-164","name":"api-key.ts"},{"uid":"4d70-166","name":"datasource.ts"},{"uid":"4d70-168","name":"role.ts"},{"uid":"4d70-174","name":"sql_snippet.ts"},{"uid":"4d70-176","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"4d70-178","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"4d70-180","name":"database.tsx"},{"uid":"4d70-186","name":"http.tsx"}]},{"uid":"4d70-188","name":"db-permission-tips.tsx"},{"uid":"4d70-190","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"4d70-182","name":"function-string-editor.tsx"},{"uid":"4d70-184","name":"index.tsx"}]},{"uid":"4d70-200","name":"data-source-icon.tsx"}]},{"uid":"4d70-194","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"4d70-196"},{"uid":"4d70-198","name":"index.tsx"}]},{"uid":"4d70-202","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"4d70-192"},{"name":"account","children":[{"uid":"4d70-204","name":"role-selector.tsx"},{"uid":"4d70-206","name":"styles.ts"},{"uid":"4d70-208","name":"add-account.tsx"},{"uid":"4d70-210","name":"delete-account.tsx"},{"uid":"4d70-212","name":"edit-account.tsx"},{"uid":"4d70-214","name":"account-list.tsx"},{"name":"login","children":[{"uid":"4d70-216","name":"form.tsx"},{"uid":"4d70-218","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"4d70-220","name":"styles.ts"},{"uid":"4d70-222","name":"add-api-key.tsx"},{"uid":"4d70-224","name":"delete-api-key.tsx"},{"uid":"4d70-226","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"4d70-228"},{"name":"sql_snippet","children":[{"uid":"4d70-230","name":"styles.ts"},{"uid":"4d70-232","name":"add-sql_snippet.tsx"},{"uid":"4d70-234","name":"update-sql_snippet.tsx"},{"uid":"4d70-256","name":"delete-sql_snippet.tsx"},{"uid":"4d70-258","name":"sql_snippet-list.tsx"}]},{"uid":"4d70-260","name":"index.ts"}]},{"uid":"4d70-262","name":"package.json"}]}],"isRoot":true},"nodeParts":{"4d70-144":{"renderedLength":193,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-143"},"4d70-146":{"renderedLength":144,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-145"},"4d70-148":{"renderedLength":41,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-147"},"4d70-150":{"renderedLength":1200,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-149"},"4d70-152":{"renderedLength":38,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-151"},"4d70-154":{"renderedLength":44168,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-153"},"4d70-156":{"renderedLength":223,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-155"},"4d70-158":{"renderedLength":119,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-157"},"4d70-160":{"renderedLength":2759,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-159"},"4d70-162":{"renderedLength":1900,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-161"},"4d70-164":{"renderedLength":633,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-163"},"4d70-166":{"renderedLength":729,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-165"},"4d70-168":{"renderedLength":134,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-167"},"4d70-170":{"renderedLength":140,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-169"},"4d70-172":{"renderedLength":6501,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-171"},"4d70-174":{"renderedLength":1092,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-173"},"4d70-176":{"renderedLength":87,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-175"},"4d70-178":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-177"},"4d70-180":{"renderedLength":2577,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-179"},"4d70-182":{"renderedLength":448,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-181"},"4d70-184":{"renderedLength":1702,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-183"},"4d70-186":{"renderedLength":2544,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-185"},"4d70-188":{"renderedLength":377,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-187"},"4d70-190":{"renderedLength":2528,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-189"},"4d70-192":{"renderedLength":532,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-191"},"4d70-194":{"renderedLength":1686,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-193"},"4d70-196":{"renderedLength":2212,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-195"},"4d70-198":{"renderedLength":2940,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-197"},"4d70-200":{"renderedLength":650,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-199"},"4d70-202":{"renderedLength":2088,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-201"},"4d70-204":{"renderedLength":1234,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-203"},"4d70-206":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-205"},"4d70-208":{"renderedLength":3171,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-207"},"4d70-210":{"renderedLength":1274,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-209"},"4d70-212":{"renderedLength":4137,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-211"},"4d70-214":{"renderedLength":2502,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-213"},"4d70-216":{"renderedLength":1806,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-215"},"4d70-218":{"renderedLength":335,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-217"},"4d70-220":{"renderedLength":97,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-219"},"4d70-222":{"renderedLength":3557,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-221"},"4d70-224":{"renderedLength":1273,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-223"},"4d70-226":{"renderedLength":2383,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-225"},"4d70-228":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-227"},"4d70-230":{"renderedLength":95,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-229"},"4d70-232":{"renderedLength":2696,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-231"},"4d70-234":{"renderedLength":2717,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-233"},"4d70-236":{"renderedLength":144711,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-235"},"4d70-238":{"renderedLength":1695,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-237"},"4d70-240":{"renderedLength":9298,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-239"},"4d70-242":{"renderedLength":1365,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-241"},"4d70-244":{"renderedLength":3393,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-243"},"4d70-246":{"renderedLength":1314,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-245"},"4d70-248":{"renderedLength":6135,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-247"},"4d70-250":{"renderedLength":1561,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-249"},"4d70-252":{"renderedLength":2577,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-251"},"4d70-254":{"renderedLength":165,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-253"},"4d70-256":{"renderedLength":1329,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-255"},"4d70-258":{"renderedLength":2846,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-257"},"4d70-260":{"renderedLength":179,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-259"},"4d70-262":{"renderedLength":1850,"gzipLength":0,"brotliLength":0,"metaUid":"4d70-261"}},"nodeMetas":{"4d70-143":{"id":"\u0000commonjsHelpers.js","moduleParts":{"settings-form.umd.js":"4d70-144"},"imported":[],"importedBy":[{"uid":"4d70-155"},{"uid":"4d70-149"},{"uid":"4d70-153"},{"uid":"4d70-171"}]},"4d70-145":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"4d70-146"},"imported":[],"importedBy":[{"uid":"4d70-155"}]},"4d70-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":"4d70-148"},"imported":[],"importedBy":[{"uid":"4d70-149"}]},"4d70-149":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"4d70-150"},"imported":[{"uid":"4d70-143"},{"uid":"4d70-147"},{"uid":"4d70-285"}],"importedBy":[{"uid":"4d70-155"}]},"4d70-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":"4d70-152"},"imported":[],"importedBy":[{"uid":"4d70-153"}]},"4d70-153":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"4d70-154"},"imported":[{"uid":"4d70-143"},{"uid":"4d70-151"},{"uid":"4d70-285"}],"importedBy":[{"uid":"4d70-155"}]},"4d70-155":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"4d70-156"},"imported":[{"uid":"4d70-143"},{"uid":"4d70-145"},{"uid":"4d70-149"},{"uid":"4d70-153"}],"importedBy":[{"uid":"4d70-157"}]},"4d70-157":{"id":"\u0000react/jsx-runtime","moduleParts":{"settings-form.umd.js":"4d70-158"},"imported":[{"uid":"4d70-155"}],"importedBy":[{"uid":"4d70-189"},{"uid":"4d70-201"},{"uid":"4d70-193"},{"uid":"4d70-207"},{"uid":"4d70-213"},{"uid":"4d70-209"},{"uid":"4d70-217"},{"uid":"4d70-221"},{"uid":"4d70-225"},{"uid":"4d70-223"},{"uid":"4d70-231"},{"uid":"4d70-233"},{"uid":"4d70-257"},{"uid":"4d70-255"},{"uid":"4d70-179"},{"uid":"4d70-185"},{"uid":"4d70-187"},{"uid":"4d70-197"},{"uid":"4d70-199"},{"uid":"4d70-203"},{"uid":"4d70-211"},{"uid":"4d70-215"},{"uid":"4d70-227"},{"uid":"4d70-183"},{"uid":"4d70-195"},{"uid":"4d70-181"}]},"4d70-159":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"4d70-160"},"imported":[{"uid":"4d70-280"},{"uid":"4d70-281"},{"uid":"4d70-282"}],"importedBy":[{"uid":"4d70-201"},{"uid":"4d70-213"},{"uid":"4d70-217"},{"uid":"4d70-225"},{"uid":"4d70-257"},{"uid":"4d70-161"},{"uid":"4d70-163"},{"uid":"4d70-165"},{"uid":"4d70-167"},{"uid":"4d70-173"}]},"4d70-161":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"4d70-162"},"imported":[{"uid":"4d70-159"}],"importedBy":[{"uid":"4d70-175"}]},"4d70-163":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"4d70-164"},"imported":[{"uid":"4d70-159"}],"importedBy":[{"uid":"4d70-175"}]},"4d70-165":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"4d70-166"},"imported":[{"uid":"4d70-159"}],"importedBy":[{"uid":"4d70-175"}]},"4d70-167":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"4d70-168"},"imported":[{"uid":"4d70-159"}],"importedBy":[{"uid":"4d70-175"}]},"4d70-169":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/dayjs/dayjs.min.js?commonjs-module","moduleParts":{"settings-form.umd.js":"4d70-170"},"imported":[],"importedBy":[{"uid":"4d70-171"}]},"4d70-171":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/dayjs.min.js","moduleParts":{"settings-form.umd.js":"4d70-172"},"imported":[{"uid":"4d70-143"},{"uid":"4d70-169"}],"importedBy":[{"uid":"4d70-173"}]},"4d70-173":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"4d70-174"},"imported":[{"uid":"4d70-171"},{"uid":"4d70-159"}],"importedBy":[{"uid":"4d70-175"}]},"4d70-175":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"4d70-176"},"imported":[{"uid":"4d70-161"},{"uid":"4d70-163"},{"uid":"4d70-165"},{"uid":"4d70-167"},{"uid":"4d70-173"}],"importedBy":[{"uid":"4d70-189"},{"uid":"4d70-201"},{"uid":"4d70-193"},{"uid":"4d70-207"},{"uid":"4d70-213"},{"uid":"4d70-209"},{"uid":"4d70-221"},{"uid":"4d70-225"},{"uid":"4d70-223"},{"uid":"4d70-231"},{"uid":"4d70-233"},{"uid":"4d70-257"},{"uid":"4d70-255"},{"uid":"4d70-197"},{"uid":"4d70-203"},{"uid":"4d70-211"},{"uid":"4d70-215"}]},"4d70-177":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"4d70-178"},"imported":[],"importedBy":[{"uid":"4d70-189"},{"uid":"4d70-201"},{"uid":"4d70-193"},{"uid":"4d70-179"},{"uid":"4d70-185"},{"uid":"4d70-187"},{"uid":"4d70-197"},{"uid":"4d70-195"}]},"4d70-179":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"4d70-180"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-274"},{"uid":"4d70-279"},{"uid":"4d70-177"}],"importedBy":[{"uid":"4d70-189"}]},"4d70-181":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"4d70-182"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-283"}],"importedBy":[{"uid":"4d70-183"}]},"4d70-183":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"4d70-184"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-276"},{"uid":"4d70-274"},{"uid":"4d70-275"},{"uid":"4d70-181"}],"importedBy":[{"uid":"4d70-185"},{"uid":"4d70-195"}]},"4d70-185":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"4d70-186"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-279"},{"uid":"4d70-177"},{"uid":"4d70-183"}],"importedBy":[{"uid":"4d70-189"}]},"4d70-187":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"4d70-188"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-177"},{"uid":"4d70-275"}],"importedBy":[{"uid":"4d70-189"}]},"4d70-189":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"4d70-190"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-273"},{"uid":"4d70-274"},{"uid":"4d70-275"},{"uid":"4d70-175"},{"uid":"4d70-177"},{"uid":"4d70-179"},{"uid":"4d70-185"},{"uid":"4d70-187"}],"importedBy":[{"uid":"4d70-263"},{"uid":"4d70-201"}]},"4d70-191":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"4d70-192"},"imported":[{"uid":"4d70-283"},{"uid":"4d70-274"}],"importedBy":[{"uid":"4d70-201"}]},"4d70-193":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"4d70-194"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-277"},{"uid":"4d70-273"},{"uid":"4d70-278"},{"uid":"4d70-275"},{"uid":"4d70-175"},{"uid":"4d70-177"}],"importedBy":[{"uid":"4d70-263"},{"uid":"4d70-201"}]},"4d70-195":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"4d70-196"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-279"},{"uid":"4d70-183"},{"uid":"4d70-177"}],"importedBy":[{"uid":"4d70-197"}]},"4d70-197":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"4d70-198"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-273"},{"uid":"4d70-278"},{"uid":"4d70-274"},{"uid":"4d70-175"},{"uid":"4d70-177"},{"uid":"4d70-195"}],"importedBy":[{"uid":"4d70-201"}]},"4d70-199":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"4d70-200"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-278"},{"uid":"4d70-272"}],"importedBy":[{"uid":"4d70-201"}]},"4d70-201":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"4d70-202"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-276"},{"uid":"4d70-175"},{"uid":"4d70-159"},{"uid":"4d70-191"},{"uid":"4d70-189"},{"uid":"4d70-193"},{"uid":"4d70-177"},{"uid":"4d70-197"},{"uid":"4d70-199"}],"importedBy":[{"uid":"4d70-263"}]},"4d70-203":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"4d70-204"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-276"},{"uid":"4d70-274"},{"uid":"4d70-175"}],"importedBy":[{"uid":"4d70-207"},{"uid":"4d70-221"},{"uid":"4d70-211"}]},"4d70-205":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"4d70-206"},"imported":[],"importedBy":[{"uid":"4d70-207"},{"uid":"4d70-213"},{"uid":"4d70-209"},{"uid":"4d70-217"},{"uid":"4d70-211"},{"uid":"4d70-215"}]},"4d70-207":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"4d70-208"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-273"},{"uid":"4d70-274"},{"uid":"4d70-279"},{"uid":"4d70-275"},{"uid":"4d70-175"},{"uid":"4d70-203"},{"uid":"4d70-205"}],"importedBy":[{"uid":"4d70-264"},{"uid":"4d70-213"}]},"4d70-209":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"4d70-210"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-277"},{"uid":"4d70-273"},{"uid":"4d70-275"},{"uid":"4d70-175"},{"uid":"4d70-205"}],"importedBy":[{"uid":"4d70-264"},{"uid":"4d70-213"}]},"4d70-211":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"4d70-212"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-273"},{"uid":"4d70-274"},{"uid":"4d70-279"},{"uid":"4d70-275"},{"uid":"4d70-175"},{"uid":"4d70-203"},{"uid":"4d70-205"}],"importedBy":[{"uid":"4d70-213"}]},"4d70-213":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"4d70-214"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-276"},{"uid":"4d70-175"},{"uid":"4d70-159"},{"uid":"4d70-207"},{"uid":"4d70-209"},{"uid":"4d70-211"},{"uid":"4d70-205"}],"importedBy":[{"uid":"4d70-264"}]},"4d70-215":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"4d70-216"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-273"},{"uid":"4d70-279"},{"uid":"4d70-175"},{"uid":"4d70-205"}],"importedBy":[{"uid":"4d70-217"}]},"4d70-217":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"4d70-218"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-159"},{"uid":"4d70-205"},{"uid":"4d70-215"}],"importedBy":[{"uid":"4d70-264"}]},"4d70-219":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"4d70-220"},"imported":[],"importedBy":[{"uid":"4d70-221"},{"uid":"4d70-225"},{"uid":"4d70-223"}]},"4d70-221":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"4d70-222"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-277"},{"uid":"4d70-273"},{"uid":"4d70-274"},{"uid":"4d70-279"},{"uid":"4d70-275"},{"uid":"4d70-203"},{"uid":"4d70-175"},{"uid":"4d70-219"}],"importedBy":[{"uid":"4d70-265"},{"uid":"4d70-225"}]},"4d70-223":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"4d70-224"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-277"},{"uid":"4d70-273"},{"uid":"4d70-275"},{"uid":"4d70-175"},{"uid":"4d70-219"}],"importedBy":[{"uid":"4d70-265"},{"uid":"4d70-225"}]},"4d70-225":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"4d70-226"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-276"},{"uid":"4d70-175"},{"uid":"4d70-159"},{"uid":"4d70-221"},{"uid":"4d70-223"},{"uid":"4d70-219"}],"importedBy":[{"uid":"4d70-265"}]},"4d70-227":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"4d70-228"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-283"}],"importedBy":[{"uid":"4d70-231"},{"uid":"4d70-233"}]},"4d70-229":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"4d70-230"},"imported":[],"importedBy":[{"uid":"4d70-231"},{"uid":"4d70-233"},{"uid":"4d70-257"},{"uid":"4d70-255"}]},"4d70-231":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"4d70-232"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-273"},{"uid":"4d70-274"},{"uid":"4d70-279"},{"uid":"4d70-275"},{"uid":"4d70-175"},{"uid":"4d70-227"},{"uid":"4d70-229"}],"importedBy":[{"uid":"4d70-266"},{"uid":"4d70-257"}]},"4d70-233":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"4d70-234"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-273"},{"uid":"4d70-274"},{"uid":"4d70-279"},{"uid":"4d70-175"},{"uid":"4d70-227"},{"uid":"4d70-229"},{"uid":"4d70-278"}],"importedBy":[{"uid":"4d70-266"},{"uid":"4d70-257"}]},"4d70-235":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"4d70-236"},"imported":[],"importedBy":[{"uid":"4d70-239"}]},"4d70-237":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"4d70-238"},"imported":[],"importedBy":[{"uid":"4d70-239"}]},"4d70-239":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"4d70-240"},"imported":[{"uid":"4d70-235"},{"uid":"4d70-237"},{"uid":"4d70-274"}],"importedBy":[{"uid":"4d70-247"}]},"4d70-241":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"4d70-242"},"imported":[{"uid":"4d70-274"}],"importedBy":[{"uid":"4d70-247"}]},"4d70-243":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"4d70-244"},"imported":[],"importedBy":[{"uid":"4d70-247"}]},"4d70-245":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"4d70-246"},"imported":[{"uid":"4d70-272"}],"importedBy":[{"uid":"4d70-247"}]},"4d70-247":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"4d70-248"},"imported":[{"uid":"4d70-274"},{"uid":"4d70-239"},{"uid":"4d70-272"},{"uid":"4d70-284"},{"uid":"4d70-241"},{"uid":"4d70-243"},{"uid":"4d70-245"}],"importedBy":[{"uid":"4d70-253"},{"uid":"4d70-251"}]},"4d70-249":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"4d70-250"},"imported":[{"uid":"4d70-272"}],"importedBy":[{"uid":"4d70-251"}]},"4d70-251":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"4d70-252"},"imported":[{"uid":"4d70-274"},{"uid":"4d70-272"},{"uid":"4d70-247"},{"uid":"4d70-249"}],"importedBy":[{"uid":"4d70-253"}]},"4d70-253":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"4d70-254"},"imported":[{"uid":"4d70-272"},{"uid":"4d70-251"},{"uid":"4d70-247"}],"importedBy":[{"uid":"4d70-257"}]},"4d70-255":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"4d70-256"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-277"},{"uid":"4d70-273"},{"uid":"4d70-275"},{"uid":"4d70-175"},{"uid":"4d70-229"}],"importedBy":[{"uid":"4d70-266"},{"uid":"4d70-257"}]},"4d70-257":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"4d70-258"},"imported":[{"uid":"4d70-157"},{"uid":"4d70-272"},{"uid":"4d70-253"},{"uid":"4d70-276"},{"uid":"4d70-175"},{"uid":"4d70-159"},{"uid":"4d70-231"},{"uid":"4d70-255"},{"uid":"4d70-229"},{"uid":"4d70-278"},{"uid":"4d70-233"}],"importedBy":[{"uid":"4d70-266"}]},"4d70-259":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"4d70-260"},"imported":[{"uid":"4d70-263"},{"uid":"4d70-264"},{"uid":"4d70-265"},{"uid":"4d70-266"},{"uid":"4d70-267"},{"uid":"4d70-268"},{"uid":"4d70-269"},{"uid":"4d70-270"},{"uid":"4d70-271"},{"uid":"4d70-261","dynamic":true}],"importedBy":[],"isEntry":true},"4d70-261":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"4d70-262"},"imported":[],"importedBy":[{"uid":"4d70-259"}]},"4d70-263":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"4d70-189"},{"uid":"4d70-201"},{"uid":"4d70-193"}],"importedBy":[{"uid":"4d70-259"}]},"4d70-264":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"4d70-207"},{"uid":"4d70-213"},{"uid":"4d70-209"},{"uid":"4d70-217"}],"importedBy":[{"uid":"4d70-259"}]},"4d70-265":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"4d70-221"},{"uid":"4d70-225"},{"uid":"4d70-223"}],"importedBy":[{"uid":"4d70-259"}]},"4d70-266":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"4d70-231"},{"uid":"4d70-233"},{"uid":"4d70-257"},{"uid":"4d70-255"}],"importedBy":[{"uid":"4d70-259"}]},"4d70-267":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-259"}]},"4d70-268":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-259"}]},"4d70-269":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-259"}]},"4d70-270":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-259"}]},"4d70-271":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-259"}]},"4d70-272":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-189"},{"uid":"4d70-201"},{"uid":"4d70-193"},{"uid":"4d70-207"},{"uid":"4d70-213"},{"uid":"4d70-209"},{"uid":"4d70-217"},{"uid":"4d70-221"},{"uid":"4d70-225"},{"uid":"4d70-223"},{"uid":"4d70-231"},{"uid":"4d70-233"},{"uid":"4d70-257"},{"uid":"4d70-255"},{"uid":"4d70-179"},{"uid":"4d70-185"},{"uid":"4d70-187"},{"uid":"4d70-197"},{"uid":"4d70-199"},{"uid":"4d70-203"},{"uid":"4d70-211"},{"uid":"4d70-215"},{"uid":"4d70-253"},{"uid":"4d70-183"},{"uid":"4d70-195"},{"uid":"4d70-251"},{"uid":"4d70-247"},{"uid":"4d70-181"},{"uid":"4d70-249"},{"uid":"4d70-245"}],"isExternal":true},"4d70-273":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-189"},{"uid":"4d70-193"},{"uid":"4d70-207"},{"uid":"4d70-209"},{"uid":"4d70-221"},{"uid":"4d70-223"},{"uid":"4d70-231"},{"uid":"4d70-233"},{"uid":"4d70-255"},{"uid":"4d70-197"},{"uid":"4d70-211"},{"uid":"4d70-215"}],"isExternal":true},"4d70-274":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-189"},{"uid":"4d70-207"},{"uid":"4d70-221"},{"uid":"4d70-231"},{"uid":"4d70-233"},{"uid":"4d70-179"},{"uid":"4d70-191"},{"uid":"4d70-197"},{"uid":"4d70-203"},{"uid":"4d70-211"},{"uid":"4d70-183"},{"uid":"4d70-251"},{"uid":"4d70-247"},{"uid":"4d70-239"},{"uid":"4d70-241"},{"uid":"4d70-285"}],"isExternal":true},"4d70-275":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-189"},{"uid":"4d70-193"},{"uid":"4d70-207"},{"uid":"4d70-209"},{"uid":"4d70-221"},{"uid":"4d70-223"},{"uid":"4d70-231"},{"uid":"4d70-255"},{"uid":"4d70-187"},{"uid":"4d70-211"},{"uid":"4d70-183"}],"isExternal":true},"4d70-276":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-201"},{"uid":"4d70-213"},{"uid":"4d70-225"},{"uid":"4d70-257"},{"uid":"4d70-203"},{"uid":"4d70-183"}],"isExternal":true},"4d70-277":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-193"},{"uid":"4d70-209"},{"uid":"4d70-221"},{"uid":"4d70-223"},{"uid":"4d70-255"}],"isExternal":true},"4d70-278":{"id":"@tabler/icons","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-193"},{"uid":"4d70-233"},{"uid":"4d70-257"},{"uid":"4d70-197"},{"uid":"4d70-199"}],"isExternal":true},"4d70-279":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-207"},{"uid":"4d70-221"},{"uid":"4d70-231"},{"uid":"4d70-233"},{"uid":"4d70-179"},{"uid":"4d70-185"},{"uid":"4d70-211"},{"uid":"4d70-215"},{"uid":"4d70-195"}],"isExternal":true},"4d70-280":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-159"}],"isExternal":true},"4d70-281":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-159"}],"isExternal":true},"4d70-282":{"id":"lodash","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-159"}],"isExternal":true},"4d70-283":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-191"},{"uid":"4d70-227"},{"uid":"4d70-181"}],"isExternal":true},"4d70-284":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"4d70-247"}],"isExternal":true},"4d70-285":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"4d70-274"}],"importedBy":[{"uid":"4d70-149"},{"uid":"4d70-153"}]}},"env":{"rollup":"3.20.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.1.0",
3
+ "version": "10.2.0",
4
4
  "license": "Apache-2.0",
5
5
  "publishConfig": {
6
6
  "access": "public",