@devtable/settings-form 12.4.0 → 12.4.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/settings-form.es.js
CHANGED
|
@@ -6180,7 +6180,7 @@ function ii({
|
|
|
6180
6180
|
] })
|
|
6181
6181
|
] });
|
|
6182
6182
|
}
|
|
6183
|
-
const si = () => import("./package-
|
|
6183
|
+
const si = () => import("./package-a3a38e85.mjs").then(({
|
|
6184
6184
|
version: e
|
|
6185
6185
|
}) => (console.log(`[@devtable/dashboard] version: ${e}`), e));
|
|
6186
6186
|
export {
|
|
@@ -41,4 +41,4 @@ Check the top-level render call using <`+_+">.")}return S}}function cn(o,S){{if(
|
|
|
41
41
|
`,empty:!0}):e.length===1&&e[0].content===""&&(e[0].content=`
|
|
42
42
|
`,e[0].empty=!0)},Mt=function(e,t){var n=e.length;return n>0&&e[n-1]===t?e:e.concat(t)},mr=function(e){for(var t=[[]],n=[e],r=[0],i=[e.length],s=0,l=0,d=[],p=[d];l>-1;){for(;(s=r[l]++)<i[l];){var g=void 0,m=t[l],c=n[l],u=c[s];if(typeof u=="string"?(m=l>0?m:["plain"],g=u):(m=Mt(m,u.type),u.alias&&(m=Mt(m,u.alias)),g=u.content),typeof g!="string"){l++,t.push(m),n.push(g),r.push(0),i.push(g.length);continue}var h=g.split(hr),y=h.length;d.push({types:m,content:h[0]});for(var b=1;b<y;b++)zt(d),p.push(d=[]),d.push({types:m,content:h[b]})}l--,t.pop(),n.pop(),r.pop(),i.pop()}return zt(d),p},br=function(e,t){var n=e.plain,r=Object.create(null),i=e.styles.reduce(function(s,l){var d=l.languages,p=l.style;return d&&!d.includes(t)||l.types.forEach(function(g){var m=ye({},s[g],p);s[g]=m}),s},r);return i.root=n,i.plain=ye({},n,{backgroundColor:null}),i};function Gt(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)===-1&&(n[r]=e[r]);return n}var vr=function(e){function t(){for(var n=this,r=[],i=arguments.length;i--;)r[i]=arguments[i];e.apply(this,r),Ue(this,"getThemeDict",function(s){if(n.themeDict!==void 0&&s.theme===n.prevTheme&&s.language===n.prevLanguage)return n.themeDict;n.prevTheme=s.theme,n.prevLanguage=s.language;var l=s.theme?br(s.theme,s.language):void 0;return n.themeDict=l}),Ue(this,"getLineProps",function(s){var l=s.key,d=s.className,p=s.style,g=Gt(s,["key","className","style","line"]),m=g,c=ye({},m,{className:"token-line",style:void 0,key:void 0}),u=n.getThemeDict(n.props);return u!==void 0&&(c.style=u.plain),p!==void 0&&(c.style=c.style!==void 0?ye({},c.style,p):p),l!==void 0&&(c.key=l),d&&(c.className+=" "+d),c}),Ue(this,"getStyleForToken",function(s){var l=s.types,d=s.empty,p=l.length,g=n.getThemeDict(n.props);if(g!==void 0){{if(p===1&&l[0]==="plain")return d?{display:"inline-block"}:void 0;if(p===1&&!d)return g[l[0]]}var m=d?{display:"inline-block"}:{},c=l.map(function(u){return g[u]});return Object.assign.apply(Object,[m].concat(c))}}),Ue(this,"getTokenProps",function(s){var l=s.key,d=s.className,p=s.style,g=s.token,m=Gt(s,["key","className","style","token"]),c=m,u=ye({},c,{className:"token "+g.types.join(" "),children:g.content,style:n.getStyleForToken(g),key:void 0});return p!==void 0&&(u.style=u.style!==void 0?ye({},u.style,p):p),l!==void 0&&(u.key=l),d&&(u.className+=" "+d),u}),Ue(this,"tokenize",function(s,l,d,p){var g={code:l,grammar:d,language:p,tokens:[]};s.hooks.run("before-tokenize",g);var m=g.tokens=s.tokenize(g.code,g.grammar,g.language);return s.hooks.run("after-tokenize",g),m})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.render=function(){var r=this.props,i=r.Prism,s=r.language,l=r.code,d=r.children,p=this.getThemeDict(this.props),g=i.languages[s],m=g!==void 0?this.tokenize(i,l,g,s):[l],c=mr(m);return d({tokens:c,className:"prism-code language-"+s,style:p!==void 0?p.root:{},getLineProps:this.getLineProps,getTokenProps:this.getTokenProps})},t}(k.Component);const yr=vr;function Ut({copied:e}){return k.createElement("svg",{viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{width:"1rem",height:"1rem"}},e?k.createElement("path",{d:"M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}):k.createElement("path",{d:"M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM11 2V2.25C11 2.66421 10.6642 3 10.25 3H4.75C4.33579 3 4 2.66421 4 2.25V2H3.5C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V2.5C12 2.22386 11.7761 2 11.5 2H11Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"}))}Ut.displayName="@mantine/prism/CopyIcon";const Sr=e=>({plain:{color:e.colors.gray[4],backgroundColor:e.colors.dark[8]},styles:[{types:["comment"],style:{color:e.colors.gray[6]}},{types:["string","inserted","selector","atrule"],style:{color:e.colors.teal[4]}},{types:["number"],style:{color:e.colors.blue[4]}},{types:["builtin","char","constant","function"],style:{color:e.colors.orange[5]}},{types:["punctuation"],style:{color:e.colors.gray[5]}},{types:["variable"],style:{color:e.colors.gray[5]}},{types:["class-name","attr-name"],style:{color:e.colors.yellow[5]}},{types:["tag","deleted"],style:{color:e.colors.red[6]}},{types:["operator"],style:{color:e.colors.gray[5]}},{types:["boolean"],style:{color:e.colors.red[6]}},{types:["keyword"],style:{color:e.colors.indigo[3]}},{types:["doctype"],style:{color:e.colors.gray[5]}},{types:["url"],style:{color:e.colors.gray[5]}}]}),xr=e=>({plain:{color:e.colors.gray[9],backgroundColor:e.fn.rgba(e.colors.gray[0],.65)},styles:[{types:["comment"],style:{color:e.colors.gray[6]}},{types:["string","inserted"],style:{color:e.colors.indigo[9]}},{types:["number"],style:{color:e.colors.blue[7]}},{types:["builtin","char","constant","function","selector","atrule"],style:{color:e.colors.lime[9]}},{types:["punctuation"],style:{color:e.colors.gray[7]}},{types:["variable"],style:{color:e.colors.violet[9]}},{types:["attr-name"],style:{color:e.colors.green[9]}},{types:["class-name"],style:{color:e.colors.red[9]}},{types:["tag","deleted"],style:{color:e.colors.violet[9]}},{types:["operator"],style:{color:e.colors.red[9]}},{types:["boolean"],style:{color:e.colors.red[9]}},{types:["keyword"],style:{color:e.colors.red[9]}},{types:["doctype"],style:{color:e.colors.gray[7]}},{types:["url"],style:{color:e.colors.gray[7]}}]}),wr=(e,t)=>t==="dark"?Sr(e):xr(e);var Er=f.createStyles((e,{colorScheme:t,native:n,maxLineSize:r,radius:i})=>({scrollArea:{},root:{position:"relative"},code:{boxSizing:"border-box",position:"relative",fontFamily:e.fontFamilyMonospace,lineHeight:1.7,fontSize:f.rem(13),overflowX:n?"auto":void 0,borderRadius:e.fn.radius(i),padding:`${e.spacing.sm} 0`,"&.mantine-Prism-code":{marginTop:0,marginBottom:0}},copy:{position:"absolute",top:e.spacing.xs,right:e.dir==="ltr"?e.spacing.xs:"unset",left:e.dir==="rtl"?e.spacing.xs:"unset",zIndex:2,"&, &:hover":{backgroundColor:t==="dark"?e.colors.dark[8]:e.colors.gray[0]}},line:{display:"flex",width:"100%",padding:`0 ${e.spacing.md}`},lineNumber:{color:t==="dark"?e.colors.dark[4]:e.colors.gray[4],textAlign:"right",width:`calc(8 * ${f.rem(r)})`,marginRight:e.dir==="ltr"?e.spacing.xs:void 0,marginLeft:e.dir==="rtl"?e.spacing.xs:void 0,userSelect:"none"},lineContent:{width:"100%"}}));const _r=Er;var Ar=Object.defineProperty,Tr=Object.defineProperties,kr=Object.getOwnPropertyDescriptors,et=Object.getOwnPropertySymbols,qt=Object.prototype.hasOwnProperty,Yt=Object.prototype.propertyIsEnumerable,Ht=(e,t,n)=>t in e?Ar(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,De=(e,t)=>{for(var n in t||(t={}))qt.call(t,n)&&Ht(e,n,t[n]);if(et)for(var n of et(t))Yt.call(t,n)&&Ht(e,n,t[n]);return e},qe=(e,t)=>Tr(e,kr(t)),jr=(e,t)=>{var n={};for(var r in e)qt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&et)for(var r of et(e))t.indexOf(r)<0&&Yt.call(e,r)&&(n[r]=e[r]);return n};const Cr={noCopy:!1,copyLabel:"Copy code",copiedLabel:"Copied",withLineNumbers:!1,trim:!0,highlightLines:{},scrollAreaComponent:f.ScrollArea,getPrismTheme:wr},pt=k.forwardRef((e,t)=>{const n=f.useComponentDefaultProps("Prism",Cr,e),{className:r,children:i,language:s,noCopy:l,classNames:d,styles:p,copyLabel:g,copiedLabel:m,withLineNumbers:c,highlightLines:u,scrollAreaComponent:h,colorScheme:y,trim:b,unstyled:w,radius:E,getPrismTheme:x,variant:A}=n,O=jr(n,["className","children","language","noCopy","classNames","styles","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","colorScheme","trim","unstyled","radius","getPrismTheme","variant"]),q=b&&typeof i=="string"?i.trim():i,X=q.split(`
|
|
43
43
|
`).length.toString().length,P=f.useMantineTheme(),Y=mn.useClipboard(),B=y||P.colorScheme,{classes:J,cx:F}=_r({colorScheme:B,native:h!==f.ScrollArea,maxLineSize:X,radius:E},{name:"Prism",classNames:d,styles:p,unstyled:w,variant:A});return k.createElement(f.Box,qe(De({className:F(J.root,r),ref:t},O),{translate:"no"}),!l&&k.createElement(f.Tooltip,{label:Y.copied?m:g,position:"left",withArrow:!0,arrowSize:6,offset:6,color:Y.copied?"teal":void 0,unstyled:w},k.createElement(f.ActionIcon,{className:J.copy,"aria-label":Y.copied?m:g,onClick:()=>Y.copy(q),unstyled:w},k.createElement(Ut,{copied:Y.copied}))),k.createElement(yr,qe(De({},gr),{theme:x(P,B),code:q,language:s}),({className:K,style:G,tokens:Q,getLineProps:M,getTokenProps:ne})=>k.createElement(h,{className:J.scrollArea,dir:"ltr"},k.createElement("pre",{className:F(J.code,K),style:G,dir:"ltr"},Q.map((Z,ee)=>{var le,ue,de,Se;if(ee===Q.length-1&&Z.length===1&&Z[0].content===`
|
|
44
|
-
`)return null;const re=ee+1,pe=M({line:Z,key:ee}),we=re in u,fe=B==="dark"?P.fn.rgba(P.fn.themeColor((le=u[re])==null?void 0:le.color,9),.25):P.fn.themeColor((ue=u[re])==null?void 0:ue.color,0);return k.createElement("div",qe(De({},pe),{className:F(J.line,pe.className),style:De({},we?{backgroundColor:fe}:null)}),c&&k.createElement("div",{className:J.lineNumber,style:{color:we?P.fn.themeColor((de=u[re])==null?void 0:de.color,B==="dark"?5:8):void 0}},((Se=u[re])==null?void 0:Se.label)||re),k.createElement("div",{className:J.lineContent},Z.map((He,Re)=>{var Le,Ee;const Ne=ne({token:He,key:Re});return k.createElement("span",qe(De({},Ne),{style:qe(De({},Ne.style),{color:we?P.fn.themeColor((Le=u[re])==null?void 0:Le.color,B==="dark"?5:8):(Ee=Ne==null?void 0:Ne.style)==null?void 0:Ee.color})}))})))}).filter(Boolean)))))});pt.displayName="@mantine/prism/Prism";var Or=f.createStyles((e,{radius:t})=>({tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:f.rem(34),border:`${f.rem(1)} solid ${e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[3]}`,borderBottom:0,fontSize:e.fontSizes.sm,color:e.colorScheme==="dark"?e.colors.dark[1]:e.colors.gray[7],backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.radius.sm},"&:not(:first-of-type)":{borderLeft:0},"&:last-of-type":{borderTopRightRadius:e.radius.sm},"&:hover":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.colors.gray[0]},"&[data-active]":{color:e.colorScheme==="dark"?e.white:e.black,backgroundColor:e.colorScheme==="dark"?e.colors.dark[8]:e.fn.rgba(e.colors.gray[0],.65),"&::before":{backgroundColor:"transparent"}}},prism:{borderRadius:e.fn.radius(t),borderTopRightRadius:0,borderTopLeftRadius:0,border:`${f.rem(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`,borderTop:0,overflow:"hidden"},code:{borderTopRightRadius:0,borderTopLeftRadius:0,border:0}}));const Vt=Or;var Ir=Object.defineProperty,Dr=Object.defineProperties,Rr=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Zt=(e,t,n)=>t in e?Ir(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xt=(e,t)=>{for(var n in t||(t={}))Wt.call(t,n)&&Zt(e,n,t[n]);if(tt)for(var n of tt(t))Kt.call(t,n)&&Zt(e,n,t[n]);return e},Lr=(e,t)=>Dr(e,Rr(t)),Nr=(e,t)=>{var n={};for(var r in e)Wt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&tt)for(var r of tt(e))t.indexOf(r)<0&&Kt.call(e,r)&&(n[r]=e[r]);return n};function $r(e){const{classes:t}=Vt({radius:e.radius});return k.createElement(f.Tabs,Lr(Xt({},e),{variant:"outline",classNames:{tab:t.tab},translate:"no"}))}function Fr(e){var t=e,{language:n,children:r,radius:i,noCopy:s,copyLabel:l,copiedLabel:d,withLineNumbers:p,highlightLines:g,scrollAreaComponent:m,trim:c,getPrismTheme:u,colorScheme:h,variant:y}=t,b=Nr(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme","variant"]);const{classes:w}=Vt({radius:i});return k.createElement(f.Tabs.Panel,Xt({},b),k.createElement(pt,{language:n,classNames:{root:w.prism,code:w.code},radius:i,noCopy:s,copyLabel:l,copiedLabel:d,withLineNumbers:p,highlightLines:g,scrollAreaComponent:m,trim:c,getPrismTheme:u,colorScheme:h,variant:y},r))}const Ye=pt;Ye.Tabs=$r,Ye.Tab=f.Tabs.Tab,Ye.TabsList=f.Tabs.List,Ye.Panel=Fr;function Qt({id:e,onSuccess:t,styles:n=Ie}){const r=_e.useModals(),i=async()=>{if(e){D.showNotification({id:"for-deleting",title:"Pending",message:"Deleting SQL Snippet...",loading:!0});try{await W.sql_snippet.delete(e),D.updateNotification({id:"for-deleting",title:"Successful",message:`SQL Snippet [${e}] is deleted`,color:"green"}),t()}catch(l){D.updateNotification({id:"for-deleting",title:"Failed",message:l.message,color:"red"})}}},s=()=>r.openConfirmModal({title:"Delete this SQL Snippet?",labels:{confirm:"Confirm",cancel:"Cancel"},onCancel:()=>console.log("Cancel"),onConfirm:i,confirmProps:{color:"red"}});return a.jsx(f.Button,{size:n.button.size,color:"red",onClick:s,leftIcon:a.jsx(ie.Trash,{size:20}),children:"Delete"})}function Pr({content:e}){return a.jsxs(f.HoverCard,{width:"60vw",shadow:"md",children:[a.jsx(f.HoverCard.Target,{children:a.jsx(f.ActionIcon,{size:16,children:a.jsx(ce.IconEye,{})})}),a.jsx(f.HoverCard.Dropdown,{children:a.jsx(Ye,{language:"sql",noCopy:!0,withLineNumbers:!0,children:e})})]})}function Br({styles:e=Ie,config:t}){Ae(t);const{data:n=[],loading:r,refresh:i}=he.useRequest(async()=>{const{data:s}=await W.sql_snippet.list({pagination:{page:1,pagesize:10}});return s},{refreshDeps:[]});return a.jsxs(a.Fragment,{children:[a.jsx(f.Group,{pt:e.spacing,position:"right",children:a.jsx(Pt,{onSuccess:i})}),a.jsxs(f.Box,{mt:e.spacing,sx:{position:"relative"},children:[a.jsx(f.LoadingOverlay,{visible:r}),a.jsxs(f.Table,{horizontalSpacing:e.spacing,verticalSpacing:e.spacing,fontSize:e.size,highlightOnHover:!0,children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{children:"Name"}),a.jsx("th",{}),a.jsx("th",{children:"Created At"}),a.jsx("th",{children:"Updated At"}),a.jsx("th",{children:"Action"})]})}),a.jsx("tbody",{children:n.map(s=>{const{id:l,content:d,create_time:p,update_time:g}=s;return a.jsxs("tr",{children:[a.jsx("td",{children:l}),a.jsx("td",{width:50,children:a.jsx(Pr,{content:d})}),a.jsx("td",{width:200,children:p}),a.jsx("td",{width:200,children:g}),a.jsx("td",{width:400,children:a.jsxs(f.Group,{position:"left",children:[a.jsx(Bt,{...s,onSuccess:i}),a.jsx(Qt,{id:l,onSuccess:i})]})})]},l)})})]})]})]})}const zr=()=>Promise.resolve().then(()=>Mr).then(({version:e})=>(console.log(`[@devtable/dashboard] version: ${e}`),e)),Mr=Object.freeze(Object.defineProperty({__proto__:null,version:"12.4.
|
|
44
|
+
`)return null;const re=ee+1,pe=M({line:Z,key:ee}),we=re in u,fe=B==="dark"?P.fn.rgba(P.fn.themeColor((le=u[re])==null?void 0:le.color,9),.25):P.fn.themeColor((ue=u[re])==null?void 0:ue.color,0);return k.createElement("div",qe(De({},pe),{className:F(J.line,pe.className),style:De({},we?{backgroundColor:fe}:null)}),c&&k.createElement("div",{className:J.lineNumber,style:{color:we?P.fn.themeColor((de=u[re])==null?void 0:de.color,B==="dark"?5:8):void 0}},((Se=u[re])==null?void 0:Se.label)||re),k.createElement("div",{className:J.lineContent},Z.map((He,Re)=>{var Le,Ee;const Ne=ne({token:He,key:Re});return k.createElement("span",qe(De({},Ne),{style:qe(De({},Ne.style),{color:we?P.fn.themeColor((Le=u[re])==null?void 0:Le.color,B==="dark"?5:8):(Ee=Ne==null?void 0:Ne.style)==null?void 0:Ee.color})}))})))}).filter(Boolean)))))});pt.displayName="@mantine/prism/Prism";var Or=f.createStyles((e,{radius:t})=>({tab:{paddingLeft:e.spacing.sm,paddingRight:e.spacing.sm,height:f.rem(34),border:`${f.rem(1)} solid ${e.colorScheme==="dark"?e.colors.dark[5]:e.colors.gray[3]}`,borderBottom:0,fontSize:e.fontSizes.sm,color:e.colorScheme==="dark"?e.colors.dark[1]:e.colors.gray[7],backgroundColor:e.colorScheme==="dark"?e.colors.dark[6]:e.white,borderRadius:0,"&:first-of-type":{borderTopLeftRadius:e.radius.sm},"&:not(:first-of-type)":{borderLeft:0},"&:last-of-type":{borderTopRightRadius:e.radius.sm},"&:hover":{backgroundColor:e.colorScheme==="dark"?e.colors.dark[7]:e.colors.gray[0]},"&[data-active]":{color:e.colorScheme==="dark"?e.white:e.black,backgroundColor:e.colorScheme==="dark"?e.colors.dark[8]:e.fn.rgba(e.colors.gray[0],.65),"&::before":{backgroundColor:"transparent"}}},prism:{borderRadius:e.fn.radius(t),borderTopRightRadius:0,borderTopLeftRadius:0,border:`${f.rem(1)} solid ${e.colorScheme==="dark"?e.colors.dark[4]:e.colors.gray[3]}`,borderTop:0,overflow:"hidden"},code:{borderTopRightRadius:0,borderTopLeftRadius:0,border:0}}));const Vt=Or;var Ir=Object.defineProperty,Dr=Object.defineProperties,Rr=Object.getOwnPropertyDescriptors,tt=Object.getOwnPropertySymbols,Wt=Object.prototype.hasOwnProperty,Kt=Object.prototype.propertyIsEnumerable,Zt=(e,t,n)=>t in e?Ir(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Xt=(e,t)=>{for(var n in t||(t={}))Wt.call(t,n)&&Zt(e,n,t[n]);if(tt)for(var n of tt(t))Kt.call(t,n)&&Zt(e,n,t[n]);return e},Lr=(e,t)=>Dr(e,Rr(t)),Nr=(e,t)=>{var n={};for(var r in e)Wt.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(e!=null&&tt)for(var r of tt(e))t.indexOf(r)<0&&Kt.call(e,r)&&(n[r]=e[r]);return n};function $r(e){const{classes:t}=Vt({radius:e.radius});return k.createElement(f.Tabs,Lr(Xt({},e),{variant:"outline",classNames:{tab:t.tab},translate:"no"}))}function Fr(e){var t=e,{language:n,children:r,radius:i,noCopy:s,copyLabel:l,copiedLabel:d,withLineNumbers:p,highlightLines:g,scrollAreaComponent:m,trim:c,getPrismTheme:u,colorScheme:h,variant:y}=t,b=Nr(t,["language","children","radius","noCopy","copyLabel","copiedLabel","withLineNumbers","highlightLines","scrollAreaComponent","trim","getPrismTheme","colorScheme","variant"]);const{classes:w}=Vt({radius:i});return k.createElement(f.Tabs.Panel,Xt({},b),k.createElement(pt,{language:n,classNames:{root:w.prism,code:w.code},radius:i,noCopy:s,copyLabel:l,copiedLabel:d,withLineNumbers:p,highlightLines:g,scrollAreaComponent:m,trim:c,getPrismTheme:u,colorScheme:h,variant:y},r))}const Ye=pt;Ye.Tabs=$r,Ye.Tab=f.Tabs.Tab,Ye.TabsList=f.Tabs.List,Ye.Panel=Fr;function Qt({id:e,onSuccess:t,styles:n=Ie}){const r=_e.useModals(),i=async()=>{if(e){D.showNotification({id:"for-deleting",title:"Pending",message:"Deleting SQL Snippet...",loading:!0});try{await W.sql_snippet.delete(e),D.updateNotification({id:"for-deleting",title:"Successful",message:`SQL Snippet [${e}] is deleted`,color:"green"}),t()}catch(l){D.updateNotification({id:"for-deleting",title:"Failed",message:l.message,color:"red"})}}},s=()=>r.openConfirmModal({title:"Delete this SQL Snippet?",labels:{confirm:"Confirm",cancel:"Cancel"},onCancel:()=>console.log("Cancel"),onConfirm:i,confirmProps:{color:"red"}});return a.jsx(f.Button,{size:n.button.size,color:"red",onClick:s,leftIcon:a.jsx(ie.Trash,{size:20}),children:"Delete"})}function Pr({content:e}){return a.jsxs(f.HoverCard,{width:"60vw",shadow:"md",children:[a.jsx(f.HoverCard.Target,{children:a.jsx(f.ActionIcon,{size:16,children:a.jsx(ce.IconEye,{})})}),a.jsx(f.HoverCard.Dropdown,{children:a.jsx(Ye,{language:"sql",noCopy:!0,withLineNumbers:!0,children:e})})]})}function Br({styles:e=Ie,config:t}){Ae(t);const{data:n=[],loading:r,refresh:i}=he.useRequest(async()=>{const{data:s}=await W.sql_snippet.list({pagination:{page:1,pagesize:10}});return s},{refreshDeps:[]});return a.jsxs(a.Fragment,{children:[a.jsx(f.Group,{pt:e.spacing,position:"right",children:a.jsx(Pt,{onSuccess:i})}),a.jsxs(f.Box,{mt:e.spacing,sx:{position:"relative"},children:[a.jsx(f.LoadingOverlay,{visible:r}),a.jsxs(f.Table,{horizontalSpacing:e.spacing,verticalSpacing:e.spacing,fontSize:e.size,highlightOnHover:!0,children:[a.jsx("thead",{children:a.jsxs("tr",{children:[a.jsx("th",{children:"Name"}),a.jsx("th",{}),a.jsx("th",{children:"Created At"}),a.jsx("th",{children:"Updated At"}),a.jsx("th",{children:"Action"})]})}),a.jsx("tbody",{children:n.map(s=>{const{id:l,content:d,create_time:p,update_time:g}=s;return a.jsxs("tr",{children:[a.jsx("td",{children:l}),a.jsx("td",{width:50,children:a.jsx(Pr,{content:d})}),a.jsx("td",{width:200,children:p}),a.jsx("td",{width:200,children:g}),a.jsx("td",{width:400,children:a.jsxs(f.Group,{position:"left",children:[a.jsx(Bt,{...s,onSuccess:i}),a.jsx(Qt,{id:l,onSuccess:i})]})})]},l)})})]})]})]})}const zr=()=>Promise.resolve().then(()=>Mr).then(({version:e})=>(console.log(`[@devtable/dashboard] version: ${e}`),e)),Mr=Object.freeze(Object.defineProperty({__proto__:null,version:"12.4.2"},Symbol.toStringTag,{value:"Module"}));C.APIClient=z,C.APIKeyList=cr,C.AccountList=sr,C.AddAPIKey=Nt,C.AddAccount=Rt,C.AddDataSource=Ot,C.AddSQLSnippet=Pt,C.DataSourceList=tr,C.DefaultApiClient=St,C.DeleteAPIKey=$t,C.DeleteAccount=Lt,C.DeleteDataSource=It,C.DeleteSQLSnippet=Qt,C.FacadeApiClient=xt,C.Login=lr,C.SQLSnippetList=Br,C.UpdateSQLSnippet=Bt,C.configureAPIClient=Ae,C.facadeApiClient=wt,C.getVersion=zr,Object.defineProperty(C,Symbol.toStringTag,{value:"Module"})});
|
package/dist/stats.html
CHANGED
|
@@ -6157,7 +6157,7 @@ var drawChart = (function (exports) {
|
|
|
6157
6157
|
</script>
|
|
6158
6158
|
<script>
|
|
6159
6159
|
/*<!--*/
|
|
6160
|
-
const data = {"version":2,"tree":{"name":"root","children":[{"name":"settings-form.umd.js","children":[{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules/react","children":[{"uid":"a26c-153","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"a26c-155","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"a26c-159","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"Users/leto/github/merico-dev/table","children":[{"name":"node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"a26c-157","name":"react-jsx-runtime.production.min.js"},{"uid":"a26c-161","name":"react-jsx-runtime.development.js"}]},{"uid":"a26c-163","name":"jsx-runtime.js"}]},{"name":"dayjs/esm","children":[{"uid":"a26c-181","name":"constant.js"},{"name":"locale/en.js","uid":"a26c-183"},{"uid":"a26c-185","name":"utils.js"},{"uid":"a26c-187","name":"index.js"}]},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"a26c-251"},{"name":"themes/duotoneDark/index.js","uid":"a26c-253"},{"name":"dist/index.js","uid":"a26c-255"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"a26c-257","name":"CopyIcon.js"},{"uid":"a26c-259","name":"prism-theme.js"},{"uid":"a26c-261","name":"Prism.styles.js"},{"uid":"a26c-263","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"a26c-265","name":"PrismTabs.styles.js"},{"uid":"a26c-267","name":"PrismTabs.js"}]},{"uid":"a26c-269","name":"index.js"}]}]},{"name":"shared/src/api-client","children":[{"uid":"a26c-165","name":"utils.ts"},{"uid":"a26c-167","name":"default-api-client.ts"},{"uid":"a26c-169","name":"facade-api-client.ts"}]}]},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"a26c-171","name":"request.ts"},{"uid":"a26c-173","name":"account.ts"},{"uid":"a26c-175","name":"api-key.ts"},{"uid":"a26c-177","name":"datasource.ts"},{"uid":"a26c-179","name":"role.ts"},{"uid":"a26c-189","name":"sql_snippet.ts"},{"uid":"a26c-191","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"a26c-193","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"a26c-195","name":"database.tsx"},{"uid":"a26c-201","name":"http.tsx"}]},{"uid":"a26c-203","name":"db-permission-tips.tsx"},{"uid":"a26c-205","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"a26c-197","name":"function-string-editor.tsx"},{"uid":"a26c-199","name":"index.tsx"}]},{"uid":"a26c-215","name":"data-source-icon.tsx"}]},{"uid":"a26c-209","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"a26c-211"},{"uid":"a26c-213","name":"index.tsx"}]},{"uid":"a26c-217","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"a26c-207"},{"name":"account","children":[{"uid":"a26c-219","name":"role-selector.tsx"},{"uid":"a26c-221","name":"styles.ts"},{"uid":"a26c-223","name":"add-account.tsx"},{"uid":"a26c-225","name":"delete-account.tsx"},{"uid":"a26c-227","name":"edit-account.tsx"},{"uid":"a26c-229","name":"account-list.tsx"},{"name":"login","children":[{"uid":"a26c-231","name":"form.tsx"},{"uid":"a26c-233","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"a26c-235","name":"styles.ts"},{"uid":"a26c-237","name":"add-api-key.tsx"},{"uid":"a26c-239","name":"delete-api-key.tsx"},{"uid":"a26c-241","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"a26c-243"},{"name":"sql_snippet","children":[{"uid":"a26c-245","name":"styles.ts"},{"uid":"a26c-247","name":"add-sql_snippet.tsx"},{"uid":"a26c-249","name":"update-sql_snippet.tsx"},{"uid":"a26c-271","name":"delete-sql_snippet.tsx"},{"uid":"a26c-273","name":"sql_snippet-list.tsx"}]},{"uid":"a26c-275","name":"index.ts"}]},{"uid":"a26c-277","name":"package.json"}]}],"isRoot":true},"nodeParts":{"a26c-153":{"renderedLength":33,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-152"},"a26c-155":{"renderedLength":42,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-154"},"a26c-157":{"renderedLength":1217,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-156"},"a26c-159":{"renderedLength":39,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-158"},"a26c-161":{"renderedLength":45245,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-160"},"a26c-163":{"renderedLength":237,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-162"},"a26c-165":{"renderedLength":949,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-164"},"a26c-167":{"renderedLength":2050,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-166"},"a26c-169":{"renderedLength":422,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-168"},"a26c-171":{"renderedLength":426,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-170"},"a26c-173":{"renderedLength":1913,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-172"},"a26c-175":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-174"},"a26c-177":{"renderedLength":730,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-176"},"a26c-179":{"renderedLength":132,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-178"},"a26c-181":{"renderedLength":1011,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-180"},"a26c-183":{"renderedLength":494,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-182"},"a26c-185":{"renderedLength":1623,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-184"},"a26c-187":{"renderedLength":14004,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-186"},"a26c-189":{"renderedLength":1079,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-188"},"a26c-191":{"renderedLength":94,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-190"},"a26c-193":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-192"},"a26c-195":{"renderedLength":3028,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-194"},"a26c-197":{"renderedLength":502,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-196"},"a26c-199":{"renderedLength":1962,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-198"},"a26c-201":{"renderedLength":2826,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-200"},"a26c-203":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-202"},"a26c-205":{"renderedLength":2781,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-204"},"a26c-207":{"renderedLength":551,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-206"},"a26c-209":{"renderedLength":1845,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-208"},"a26c-211":{"renderedLength":2483,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-210"},"a26c-213":{"renderedLength":3259,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-212"},"a26c-215":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-214"},"a26c-217":{"renderedLength":2516,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-216"},"a26c-219":{"renderedLength":1346,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-218"},"a26c-221":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-220"},"a26c-223":{"renderedLength":3556,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-222"},"a26c-225":{"renderedLength":1356,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-224"},"a26c-227":{"renderedLength":4605,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-226"},"a26c-229":{"renderedLength":2963,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-228"},"a26c-231":{"renderedLength":2002,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-230"},"a26c-233":{"renderedLength":417,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-232"},"a26c-235":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-234"},"a26c-237":{"renderedLength":3975,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-236"},"a26c-239":{"renderedLength":1355,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-238"},"a26c-241":{"renderedLength":2823,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-240"},"a26c-243":{"renderedLength":682,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-242"},"a26c-245":{"renderedLength":102,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-244"},"a26c-247":{"renderedLength":3035,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-246"},"a26c-249":{"renderedLength":3062,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-248"},"a26c-251":{"renderedLength":148464,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-250"},"a26c-253":{"renderedLength":1767,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-252"},"a26c-255":{"renderedLength":9562,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-254"},"a26c-257":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-256"},"a26c-259":{"renderedLength":3572,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-258"},"a26c-261":{"renderedLength":1430,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-260"},"a26c-263":{"renderedLength":6332,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-262"},"a26c-265":{"renderedLength":1639,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-264"},"a26c-267":{"renderedLength":2707,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-266"},"a26c-269":{"renderedLength":170,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-268"},"a26c-271":{"renderedLength":1413,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-270"},"a26c-273":{"renderedLength":3473,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-272"},"a26c-275":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-274"},"a26c-277":{"renderedLength":27,"gzipLength":0,"brotliLength":0,"metaUid":"a26c-276"}},"nodeMetas":{"a26c-152":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"a26c-153"},"imported":[],"importedBy":[{"uid":"a26c-162"}]},"a26c-154":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"a26c-155"},"imported":[],"importedBy":[{"uid":"a26c-156"}]},"a26c-156":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"a26c-157"},"imported":[{"uid":"a26c-297"},{"uid":"a26c-154"},{"uid":"a26c-300"}],"importedBy":[{"uid":"a26c-162"}]},"a26c-158":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"a26c-159"},"imported":[],"importedBy":[{"uid":"a26c-160"}]},"a26c-160":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"a26c-161"},"imported":[{"uid":"a26c-297"},{"uid":"a26c-158"},{"uid":"a26c-300"}],"importedBy":[{"uid":"a26c-162"}]},"a26c-162":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"a26c-163"},"imported":[{"uid":"a26c-297"},{"uid":"a26c-152"},{"uid":"a26c-156"},{"uid":"a26c-160"}],"importedBy":[{"uid":"a26c-204"},{"uid":"a26c-216"},{"uid":"a26c-208"},{"uid":"a26c-222"},{"uid":"a26c-228"},{"uid":"a26c-224"},{"uid":"a26c-232"},{"uid":"a26c-236"},{"uid":"a26c-240"},{"uid":"a26c-238"},{"uid":"a26c-246"},{"uid":"a26c-248"},{"uid":"a26c-272"},{"uid":"a26c-270"},{"uid":"a26c-194"},{"uid":"a26c-200"},{"uid":"a26c-202"},{"uid":"a26c-212"},{"uid":"a26c-214"},{"uid":"a26c-218"},{"uid":"a26c-226"},{"uid":"a26c-230"},{"uid":"a26c-242"},{"uid":"a26c-198"},{"uid":"a26c-210"},{"uid":"a26c-196"}]},"a26c-164":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/utils.ts","moduleParts":{"settings-form.umd.js":"a26c-165"},"imported":[{"uid":"a26c-302"}],"importedBy":[{"uid":"a26c-296"},{"uid":"a26c-166"}]},"a26c-166":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/default-api-client.ts","moduleParts":{"settings-form.umd.js":"a26c-167"},"imported":[{"uid":"a26c-164"},{"uid":"a26c-303"}],"importedBy":[{"uid":"a26c-296"}]},"a26c-168":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/facade-api-client.ts","moduleParts":{"settings-form.umd.js":"a26c-169"},"imported":[],"importedBy":[{"uid":"a26c-296"}]},"a26c-170":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"a26c-171"},"imported":[{"uid":"a26c-287"}],"importedBy":[{"uid":"a26c-274"},{"uid":"a26c-216"},{"uid":"a26c-228"},{"uid":"a26c-232"},{"uid":"a26c-240"},{"uid":"a26c-272"},{"uid":"a26c-172"},{"uid":"a26c-174"},{"uid":"a26c-176"},{"uid":"a26c-178"},{"uid":"a26c-188"}]},"a26c-172":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"a26c-173"},"imported":[{"uid":"a26c-170"}],"importedBy":[{"uid":"a26c-190"}]},"a26c-174":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"a26c-175"},"imported":[{"uid":"a26c-170"}],"importedBy":[{"uid":"a26c-190"}]},"a26c-176":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"a26c-177"},"imported":[{"uid":"a26c-170"}],"importedBy":[{"uid":"a26c-190"}]},"a26c-178":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"a26c-179"},"imported":[{"uid":"a26c-170"}],"importedBy":[{"uid":"a26c-190"}]},"a26c-180":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/constant.js","moduleParts":{"settings-form.umd.js":"a26c-181"},"imported":[],"importedBy":[{"uid":"a26c-186"},{"uid":"a26c-184"}]},"a26c-182":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/locale/en.js","moduleParts":{"settings-form.umd.js":"a26c-183"},"imported":[],"importedBy":[{"uid":"a26c-186"}]},"a26c-184":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/utils.js","moduleParts":{"settings-form.umd.js":"a26c-185"},"imported":[{"uid":"a26c-180"}],"importedBy":[{"uid":"a26c-186"}]},"a26c-186":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/index.js","moduleParts":{"settings-form.umd.js":"a26c-187"},"imported":[{"uid":"a26c-180"},{"uid":"a26c-182"},{"uid":"a26c-184"}],"importedBy":[{"uid":"a26c-188"}]},"a26c-188":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"a26c-189"},"imported":[{"uid":"a26c-186"},{"uid":"a26c-170"}],"importedBy":[{"uid":"a26c-190"}]},"a26c-190":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"a26c-191"},"imported":[{"uid":"a26c-172"},{"uid":"a26c-174"},{"uid":"a26c-176"},{"uid":"a26c-178"},{"uid":"a26c-188"}],"importedBy":[{"uid":"a26c-204"},{"uid":"a26c-216"},{"uid":"a26c-208"},{"uid":"a26c-222"},{"uid":"a26c-228"},{"uid":"a26c-224"},{"uid":"a26c-236"},{"uid":"a26c-240"},{"uid":"a26c-238"},{"uid":"a26c-246"},{"uid":"a26c-248"},{"uid":"a26c-272"},{"uid":"a26c-270"},{"uid":"a26c-212"},{"uid":"a26c-218"},{"uid":"a26c-226"},{"uid":"a26c-230"}]},"a26c-192":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"a26c-193"},"imported":[],"importedBy":[{"uid":"a26c-204"},{"uid":"a26c-216"},{"uid":"a26c-208"},{"uid":"a26c-194"},{"uid":"a26c-200"},{"uid":"a26c-202"},{"uid":"a26c-212"},{"uid":"a26c-210"}]},"a26c-194":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"a26c-195"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-290"},{"uid":"a26c-295"},{"uid":"a26c-192"}],"importedBy":[{"uid":"a26c-204"}]},"a26c-196":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"a26c-197"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-298"}],"importedBy":[{"uid":"a26c-198"}]},"a26c-198":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"a26c-199"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-292"},{"uid":"a26c-290"},{"uid":"a26c-291"},{"uid":"a26c-196"}],"importedBy":[{"uid":"a26c-200"},{"uid":"a26c-210"}]},"a26c-200":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"a26c-201"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-295"},{"uid":"a26c-192"},{"uid":"a26c-198"}],"importedBy":[{"uid":"a26c-204"}]},"a26c-202":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"a26c-203"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-192"},{"uid":"a26c-291"}],"importedBy":[{"uid":"a26c-204"}]},"a26c-204":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"a26c-205"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-289"},{"uid":"a26c-290"},{"uid":"a26c-291"},{"uid":"a26c-190"},{"uid":"a26c-192"},{"uid":"a26c-194"},{"uid":"a26c-200"},{"uid":"a26c-202"}],"importedBy":[{"uid":"a26c-278"},{"uid":"a26c-216"}]},"a26c-206":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"a26c-207"},"imported":[{"uid":"a26c-298"},{"uid":"a26c-290"}],"importedBy":[{"uid":"a26c-216"}]},"a26c-208":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"a26c-209"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-293"},{"uid":"a26c-289"},{"uid":"a26c-294"},{"uid":"a26c-291"},{"uid":"a26c-190"},{"uid":"a26c-192"}],"importedBy":[{"uid":"a26c-278"},{"uid":"a26c-216"}]},"a26c-210":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"a26c-211"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-295"},{"uid":"a26c-198"},{"uid":"a26c-192"}],"importedBy":[{"uid":"a26c-212"}]},"a26c-212":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"a26c-213"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-289"},{"uid":"a26c-294"},{"uid":"a26c-290"},{"uid":"a26c-190"},{"uid":"a26c-192"},{"uid":"a26c-210"}],"importedBy":[{"uid":"a26c-216"}]},"a26c-214":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"a26c-215"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-294"},{"uid":"a26c-288"}],"importedBy":[{"uid":"a26c-216"}]},"a26c-216":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"a26c-217"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-292"},{"uid":"a26c-190"},{"uid":"a26c-170"},{"uid":"a26c-206"},{"uid":"a26c-204"},{"uid":"a26c-208"},{"uid":"a26c-192"},{"uid":"a26c-212"},{"uid":"a26c-214"}],"importedBy":[{"uid":"a26c-278"}]},"a26c-218":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"a26c-219"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-292"},{"uid":"a26c-290"},{"uid":"a26c-190"}],"importedBy":[{"uid":"a26c-222"},{"uid":"a26c-236"},{"uid":"a26c-226"}]},"a26c-220":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"a26c-221"},"imported":[],"importedBy":[{"uid":"a26c-222"},{"uid":"a26c-228"},{"uid":"a26c-224"},{"uid":"a26c-232"},{"uid":"a26c-226"},{"uid":"a26c-230"}]},"a26c-222":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"a26c-223"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-289"},{"uid":"a26c-290"},{"uid":"a26c-295"},{"uid":"a26c-291"},{"uid":"a26c-190"},{"uid":"a26c-218"},{"uid":"a26c-220"}],"importedBy":[{"uid":"a26c-279"},{"uid":"a26c-228"}]},"a26c-224":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"a26c-225"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-293"},{"uid":"a26c-289"},{"uid":"a26c-291"},{"uid":"a26c-190"},{"uid":"a26c-220"}],"importedBy":[{"uid":"a26c-279"},{"uid":"a26c-228"}]},"a26c-226":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"a26c-227"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-289"},{"uid":"a26c-290"},{"uid":"a26c-295"},{"uid":"a26c-291"},{"uid":"a26c-190"},{"uid":"a26c-218"},{"uid":"a26c-220"}],"importedBy":[{"uid":"a26c-228"}]},"a26c-228":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"a26c-229"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-292"},{"uid":"a26c-190"},{"uid":"a26c-170"},{"uid":"a26c-222"},{"uid":"a26c-224"},{"uid":"a26c-226"},{"uid":"a26c-220"}],"importedBy":[{"uid":"a26c-279"}]},"a26c-230":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"a26c-231"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-289"},{"uid":"a26c-295"},{"uid":"a26c-190"},{"uid":"a26c-220"}],"importedBy":[{"uid":"a26c-232"}]},"a26c-232":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"a26c-233"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-170"},{"uid":"a26c-220"},{"uid":"a26c-230"}],"importedBy":[{"uid":"a26c-279"}]},"a26c-234":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"a26c-235"},"imported":[],"importedBy":[{"uid":"a26c-236"},{"uid":"a26c-240"},{"uid":"a26c-238"}]},"a26c-236":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"a26c-237"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-293"},{"uid":"a26c-289"},{"uid":"a26c-290"},{"uid":"a26c-295"},{"uid":"a26c-291"},{"uid":"a26c-218"},{"uid":"a26c-190"},{"uid":"a26c-234"}],"importedBy":[{"uid":"a26c-280"},{"uid":"a26c-240"}]},"a26c-238":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"a26c-239"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-293"},{"uid":"a26c-289"},{"uid":"a26c-291"},{"uid":"a26c-190"},{"uid":"a26c-234"}],"importedBy":[{"uid":"a26c-280"},{"uid":"a26c-240"}]},"a26c-240":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"a26c-241"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-292"},{"uid":"a26c-190"},{"uid":"a26c-170"},{"uid":"a26c-236"},{"uid":"a26c-238"},{"uid":"a26c-234"}],"importedBy":[{"uid":"a26c-280"}]},"a26c-242":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"a26c-243"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-298"}],"importedBy":[{"uid":"a26c-246"},{"uid":"a26c-248"}]},"a26c-244":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"a26c-245"},"imported":[],"importedBy":[{"uid":"a26c-246"},{"uid":"a26c-248"},{"uid":"a26c-272"},{"uid":"a26c-270"}]},"a26c-246":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"a26c-247"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-289"},{"uid":"a26c-290"},{"uid":"a26c-295"},{"uid":"a26c-291"},{"uid":"a26c-190"},{"uid":"a26c-242"},{"uid":"a26c-244"}],"importedBy":[{"uid":"a26c-281"},{"uid":"a26c-272"}]},"a26c-248":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"a26c-249"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-289"},{"uid":"a26c-290"},{"uid":"a26c-295"},{"uid":"a26c-190"},{"uid":"a26c-242"},{"uid":"a26c-244"},{"uid":"a26c-294"}],"importedBy":[{"uid":"a26c-281"},{"uid":"a26c-272"}]},"a26c-250":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"a26c-251"},"imported":[],"importedBy":[{"uid":"a26c-254"}]},"a26c-252":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"a26c-253"},"imported":[],"importedBy":[{"uid":"a26c-254"}]},"a26c-254":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"a26c-255"},"imported":[{"uid":"a26c-250"},{"uid":"a26c-252"},{"uid":"a26c-290"}],"importedBy":[{"uid":"a26c-262"}]},"a26c-256":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"a26c-257"},"imported":[{"uid":"a26c-290"}],"importedBy":[{"uid":"a26c-262"}]},"a26c-258":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"a26c-259"},"imported":[],"importedBy":[{"uid":"a26c-262"}]},"a26c-260":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"a26c-261"},"imported":[{"uid":"a26c-288"}],"importedBy":[{"uid":"a26c-262"}]},"a26c-262":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"a26c-263"},"imported":[{"uid":"a26c-290"},{"uid":"a26c-254"},{"uid":"a26c-288"},{"uid":"a26c-301"},{"uid":"a26c-256"},{"uid":"a26c-258"},{"uid":"a26c-260"}],"importedBy":[{"uid":"a26c-268"},{"uid":"a26c-266"}]},"a26c-264":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"a26c-265"},"imported":[{"uid":"a26c-288"}],"importedBy":[{"uid":"a26c-266"}]},"a26c-266":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"a26c-267"},"imported":[{"uid":"a26c-290"},{"uid":"a26c-288"},{"uid":"a26c-262"},{"uid":"a26c-264"}],"importedBy":[{"uid":"a26c-268"}]},"a26c-268":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"a26c-269"},"imported":[{"uid":"a26c-288"},{"uid":"a26c-266"},{"uid":"a26c-262"}],"importedBy":[{"uid":"a26c-272"}]},"a26c-270":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"a26c-271"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-293"},{"uid":"a26c-289"},{"uid":"a26c-291"},{"uid":"a26c-190"},{"uid":"a26c-244"}],"importedBy":[{"uid":"a26c-281"},{"uid":"a26c-272"}]},"a26c-272":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"a26c-273"},"imported":[{"uid":"a26c-162"},{"uid":"a26c-288"},{"uid":"a26c-268"},{"uid":"a26c-292"},{"uid":"a26c-190"},{"uid":"a26c-170"},{"uid":"a26c-246"},{"uid":"a26c-270"},{"uid":"a26c-244"},{"uid":"a26c-294"},{"uid":"a26c-248"}],"importedBy":[{"uid":"a26c-281"}]},"a26c-274":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"a26c-275"},"imported":[{"uid":"a26c-278"},{"uid":"a26c-279"},{"uid":"a26c-280"},{"uid":"a26c-281"},{"uid":"a26c-170"},{"uid":"a26c-282"},{"uid":"a26c-283"},{"uid":"a26c-284"},{"uid":"a26c-285"},{"uid":"a26c-286"},{"uid":"a26c-276","dynamic":true}],"importedBy":[],"isEntry":true},"a26c-276":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"a26c-277"},"imported":[],"importedBy":[{"uid":"a26c-274"}]},"a26c-278":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"a26c-204"},{"uid":"a26c-216"},{"uid":"a26c-208"}],"importedBy":[{"uid":"a26c-274"}]},"a26c-279":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"a26c-222"},{"uid":"a26c-228"},{"uid":"a26c-224"},{"uid":"a26c-232"}],"importedBy":[{"uid":"a26c-274"}]},"a26c-280":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"a26c-236"},{"uid":"a26c-240"},{"uid":"a26c-238"}],"importedBy":[{"uid":"a26c-274"}]},"a26c-281":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"a26c-246"},{"uid":"a26c-248"},{"uid":"a26c-272"},{"uid":"a26c-270"}],"importedBy":[{"uid":"a26c-274"}]},"a26c-282":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-274"}]},"a26c-283":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-274"}]},"a26c-284":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-274"}]},"a26c-285":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-274"}]},"a26c-286":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-274"}]},"a26c-287":{"id":"/Users/leto/github/merico-dev/table/shared/src/index.ts","moduleParts":{},"imported":[{"uid":"a26c-296"}],"importedBy":[{"uid":"a26c-170"}]},"a26c-288":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-204"},{"uid":"a26c-216"},{"uid":"a26c-208"},{"uid":"a26c-222"},{"uid":"a26c-228"},{"uid":"a26c-224"},{"uid":"a26c-232"},{"uid":"a26c-236"},{"uid":"a26c-240"},{"uid":"a26c-238"},{"uid":"a26c-246"},{"uid":"a26c-248"},{"uid":"a26c-272"},{"uid":"a26c-270"},{"uid":"a26c-194"},{"uid":"a26c-200"},{"uid":"a26c-202"},{"uid":"a26c-212"},{"uid":"a26c-214"},{"uid":"a26c-218"},{"uid":"a26c-226"},{"uid":"a26c-230"},{"uid":"a26c-268"},{"uid":"a26c-198"},{"uid":"a26c-210"},{"uid":"a26c-266"},{"uid":"a26c-262"},{"uid":"a26c-196"},{"uid":"a26c-264"},{"uid":"a26c-260"}],"isExternal":true},"a26c-289":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-204"},{"uid":"a26c-208"},{"uid":"a26c-222"},{"uid":"a26c-224"},{"uid":"a26c-236"},{"uid":"a26c-238"},{"uid":"a26c-246"},{"uid":"a26c-248"},{"uid":"a26c-270"},{"uid":"a26c-212"},{"uid":"a26c-226"},{"uid":"a26c-230"}],"isExternal":true},"a26c-290":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-204"},{"uid":"a26c-222"},{"uid":"a26c-236"},{"uid":"a26c-246"},{"uid":"a26c-248"},{"uid":"a26c-194"},{"uid":"a26c-206"},{"uid":"a26c-212"},{"uid":"a26c-218"},{"uid":"a26c-226"},{"uid":"a26c-198"},{"uid":"a26c-266"},{"uid":"a26c-262"},{"uid":"a26c-300"},{"uid":"a26c-254"},{"uid":"a26c-256"}],"isExternal":true},"a26c-291":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-204"},{"uid":"a26c-208"},{"uid":"a26c-222"},{"uid":"a26c-224"},{"uid":"a26c-236"},{"uid":"a26c-238"},{"uid":"a26c-246"},{"uid":"a26c-270"},{"uid":"a26c-202"},{"uid":"a26c-226"},{"uid":"a26c-198"}],"isExternal":true},"a26c-292":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-216"},{"uid":"a26c-228"},{"uid":"a26c-240"},{"uid":"a26c-272"},{"uid":"a26c-218"},{"uid":"a26c-198"}],"isExternal":true},"a26c-293":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-208"},{"uid":"a26c-224"},{"uid":"a26c-236"},{"uid":"a26c-238"},{"uid":"a26c-270"}],"isExternal":true},"a26c-294":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-208"},{"uid":"a26c-248"},{"uid":"a26c-272"},{"uid":"a26c-212"},{"uid":"a26c-214"}],"isExternal":true},"a26c-295":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-222"},{"uid":"a26c-236"},{"uid":"a26c-246"},{"uid":"a26c-248"},{"uid":"a26c-194"},{"uid":"a26c-200"},{"uid":"a26c-226"},{"uid":"a26c-230"},{"uid":"a26c-210"}],"isExternal":true},"a26c-296":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/index.ts","moduleParts":{},"imported":[{"uid":"a26c-299"},{"uid":"a26c-164"},{"uid":"a26c-166"},{"uid":"a26c-168"}],"importedBy":[{"uid":"a26c-287"}]},"a26c-297":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-162"},{"uid":"a26c-156"},{"uid":"a26c-160"}]},"a26c-298":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-206"},{"uid":"a26c-242"},{"uid":"a26c-196"}],"isExternal":true},"a26c-299":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-296"}]},"a26c-300":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"a26c-290"}],"importedBy":[{"uid":"a26c-156"},{"uid":"a26c-160"}]},"a26c-301":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-262"}],"isExternal":true},"a26c-302":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-164"}],"isExternal":true},"a26c-303":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"a26c-166"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
6160
|
+
const data = {"version":2,"tree":{"name":"root","children":[{"name":"settings-form.umd.js","children":[{"name":"\u0000/Users/leto/github/merico-dev/table/node_modules/react","children":[{"uid":"2f00-153","name":"jsx-runtime.js?commonjs-module"},{"name":"cjs","children":[{"uid":"2f00-155","name":"react-jsx-runtime.production.min.js?commonjs-exports"},{"uid":"2f00-159","name":"react-jsx-runtime.development.js?commonjs-exports"}]}]},{"name":"Users/leto/github/merico-dev/table","children":[{"name":"node_modules","children":[{"name":"react","children":[{"name":"cjs","children":[{"uid":"2f00-157","name":"react-jsx-runtime.production.min.js"},{"uid":"2f00-161","name":"react-jsx-runtime.development.js"}]},{"uid":"2f00-163","name":"jsx-runtime.js"}]},{"name":"dayjs/esm","children":[{"uid":"2f00-181","name":"constant.js"},{"name":"locale/en.js","uid":"2f00-183"},{"uid":"2f00-185","name":"utils.js"},{"uid":"2f00-187","name":"index.js"}]},{"name":"prism-react-renderer","children":[{"name":"prism/index.js","uid":"2f00-251"},{"name":"themes/duotoneDark/index.js","uid":"2f00-253"},{"name":"dist/index.js","uid":"2f00-255"}]},{"name":"@mantine/prism/esm","children":[{"name":"Prism","children":[{"uid":"2f00-257","name":"CopyIcon.js"},{"uid":"2f00-259","name":"prism-theme.js"},{"uid":"2f00-261","name":"Prism.styles.js"},{"uid":"2f00-263","name":"Prism.js"}]},{"name":"PrismTabs","children":[{"uid":"2f00-265","name":"PrismTabs.styles.js"},{"uid":"2f00-267","name":"PrismTabs.js"}]},{"uid":"2f00-269","name":"index.js"}]}]},{"name":"shared/src/api-client","children":[{"uid":"2f00-165","name":"utils.ts"},{"uid":"2f00-167","name":"default-api-client.ts"},{"uid":"2f00-169","name":"facade-api-client.ts"}]}]},{"name":"src","children":[{"name":"api-caller","children":[{"uid":"2f00-171","name":"request.ts"},{"uid":"2f00-173","name":"account.ts"},{"uid":"2f00-175","name":"api-key.ts"},{"uid":"2f00-177","name":"datasource.ts"},{"uid":"2f00-179","name":"role.ts"},{"uid":"2f00-189","name":"sql_snippet.ts"},{"uid":"2f00-191","name":"index.ts"}]},{"name":"datasource","children":[{"uid":"2f00-193","name":"styles.ts"},{"name":"add-data-source","children":[{"name":"forms","children":[{"uid":"2f00-195","name":"database.tsx"},{"uid":"2f00-201","name":"http.tsx"}]},{"uid":"2f00-203","name":"db-permission-tips.tsx"},{"uid":"2f00-205","name":"index.tsx"}]},{"name":"components","children":[{"name":"function-string-field","children":[{"uid":"2f00-197","name":"function-string-editor.tsx"},{"uid":"2f00-199","name":"index.tsx"}]},{"uid":"2f00-215","name":"data-source-icon.tsx"}]},{"uid":"2f00-209","name":"delete-data-source.tsx"},{"name":"edit-data-source","children":[{"name":"forms/http.tsx","uid":"2f00-211"},{"uid":"2f00-213","name":"index.tsx"}]},{"uid":"2f00-217","name":"data-source-list.tsx"}]},{"name":"utils/load-monaco-editor.ts","uid":"2f00-207"},{"name":"account","children":[{"uid":"2f00-219","name":"role-selector.tsx"},{"uid":"2f00-221","name":"styles.ts"},{"uid":"2f00-223","name":"add-account.tsx"},{"uid":"2f00-225","name":"delete-account.tsx"},{"uid":"2f00-227","name":"edit-account.tsx"},{"uid":"2f00-229","name":"account-list.tsx"},{"name":"login","children":[{"uid":"2f00-231","name":"form.tsx"},{"uid":"2f00-233","name":"index.tsx"}]}]},{"name":"api-key","children":[{"uid":"2f00-235","name":"styles.ts"},{"uid":"2f00-237","name":"add-api-key.tsx"},{"uid":"2f00-239","name":"delete-api-key.tsx"},{"uid":"2f00-241","name":"api-key-list.tsx"}]},{"name":"components/minimal-mocaco-editor.tsx","uid":"2f00-243"},{"name":"sql_snippet","children":[{"uid":"2f00-245","name":"styles.ts"},{"uid":"2f00-247","name":"add-sql_snippet.tsx"},{"uid":"2f00-249","name":"update-sql_snippet.tsx"},{"uid":"2f00-271","name":"delete-sql_snippet.tsx"},{"uid":"2f00-273","name":"sql_snippet-list.tsx"}]},{"uid":"2f00-275","name":"index.ts"}]},{"uid":"2f00-277","name":"package.json"}]}],"isRoot":true},"nodeParts":{"2f00-153":{"renderedLength":33,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-152"},"2f00-155":{"renderedLength":42,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-154"},"2f00-157":{"renderedLength":1217,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-156"},"2f00-159":{"renderedLength":39,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-158"},"2f00-161":{"renderedLength":45245,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-160"},"2f00-163":{"renderedLength":237,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-162"},"2f00-165":{"renderedLength":949,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-164"},"2f00-167":{"renderedLength":2050,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-166"},"2f00-169":{"renderedLength":422,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-168"},"2f00-171":{"renderedLength":426,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-170"},"2f00-173":{"renderedLength":1913,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-172"},"2f00-175":{"renderedLength":641,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-174"},"2f00-177":{"renderedLength":730,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-176"},"2f00-179":{"renderedLength":132,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-178"},"2f00-181":{"renderedLength":1011,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-180"},"2f00-183":{"renderedLength":494,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-182"},"2f00-185":{"renderedLength":1623,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-184"},"2f00-187":{"renderedLength":14004,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-186"},"2f00-189":{"renderedLength":1079,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-188"},"2f00-191":{"renderedLength":94,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-190"},"2f00-193":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-192"},"2f00-195":{"renderedLength":3028,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-194"},"2f00-197":{"renderedLength":502,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-196"},"2f00-199":{"renderedLength":1962,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-198"},"2f00-201":{"renderedLength":2826,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-200"},"2f00-203":{"renderedLength":458,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-202"},"2f00-205":{"renderedLength":2781,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-204"},"2f00-207":{"renderedLength":551,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-206"},"2f00-209":{"renderedLength":1845,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-208"},"2f00-211":{"renderedLength":2483,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-210"},"2f00-213":{"renderedLength":3259,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-212"},"2f00-215":{"renderedLength":790,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-214"},"2f00-217":{"renderedLength":2516,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-216"},"2f00-219":{"renderedLength":1346,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-218"},"2f00-221":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-220"},"2f00-223":{"renderedLength":3556,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-222"},"2f00-225":{"renderedLength":1356,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-224"},"2f00-227":{"renderedLength":4605,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-226"},"2f00-229":{"renderedLength":2963,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-228"},"2f00-231":{"renderedLength":2002,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-230"},"2f00-233":{"renderedLength":417,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-232"},"2f00-235":{"renderedLength":104,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-234"},"2f00-237":{"renderedLength":3975,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-236"},"2f00-239":{"renderedLength":1355,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-238"},"2f00-241":{"renderedLength":2823,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-240"},"2f00-243":{"renderedLength":682,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-242"},"2f00-245":{"renderedLength":102,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-244"},"2f00-247":{"renderedLength":3035,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-246"},"2f00-249":{"renderedLength":3062,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-248"},"2f00-251":{"renderedLength":148464,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-250"},"2f00-253":{"renderedLength":1767,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-252"},"2f00-255":{"renderedLength":9562,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-254"},"2f00-257":{"renderedLength":1394,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-256"},"2f00-259":{"renderedLength":3572,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-258"},"2f00-261":{"renderedLength":1430,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-260"},"2f00-263":{"renderedLength":6332,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-262"},"2f00-265":{"renderedLength":1639,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-264"},"2f00-267":{"renderedLength":2707,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-266"},"2f00-269":{"renderedLength":170,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-268"},"2f00-271":{"renderedLength":1413,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-270"},"2f00-273":{"renderedLength":3473,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-272"},"2f00-275":{"renderedLength":183,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-274"},"2f00-277":{"renderedLength":27,"gzipLength":0,"brotliLength":0,"metaUid":"2f00-276"}},"nodeMetas":{"2f00-152":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js?commonjs-module","moduleParts":{"settings-form.umd.js":"2f00-153"},"imported":[],"importedBy":[{"uid":"2f00-162"}]},"2f00-154":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"2f00-155"},"imported":[],"importedBy":[{"uid":"2f00-156"}]},"2f00-156":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.production.min.js","moduleParts":{"settings-form.umd.js":"2f00-157"},"imported":[{"uid":"2f00-297"},{"uid":"2f00-154"},{"uid":"2f00-300"}],"importedBy":[{"uid":"2f00-162"}]},"2f00-158":{"id":"\u0000/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js?commonjs-exports","moduleParts":{"settings-form.umd.js":"2f00-159"},"imported":[],"importedBy":[{"uid":"2f00-160"}]},"2f00-160":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/cjs/react-jsx-runtime.development.js","moduleParts":{"settings-form.umd.js":"2f00-161"},"imported":[{"uid":"2f00-297"},{"uid":"2f00-158"},{"uid":"2f00-300"}],"importedBy":[{"uid":"2f00-162"}]},"2f00-162":{"id":"/Users/leto/github/merico-dev/table/node_modules/react/jsx-runtime.js","moduleParts":{"settings-form.umd.js":"2f00-163"},"imported":[{"uid":"2f00-297"},{"uid":"2f00-152"},{"uid":"2f00-156"},{"uid":"2f00-160"}],"importedBy":[{"uid":"2f00-204"},{"uid":"2f00-216"},{"uid":"2f00-208"},{"uid":"2f00-222"},{"uid":"2f00-228"},{"uid":"2f00-224"},{"uid":"2f00-232"},{"uid":"2f00-236"},{"uid":"2f00-240"},{"uid":"2f00-238"},{"uid":"2f00-246"},{"uid":"2f00-248"},{"uid":"2f00-272"},{"uid":"2f00-270"},{"uid":"2f00-194"},{"uid":"2f00-200"},{"uid":"2f00-202"},{"uid":"2f00-212"},{"uid":"2f00-214"},{"uid":"2f00-218"},{"uid":"2f00-226"},{"uid":"2f00-230"},{"uid":"2f00-242"},{"uid":"2f00-198"},{"uid":"2f00-210"},{"uid":"2f00-196"}]},"2f00-164":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/utils.ts","moduleParts":{"settings-form.umd.js":"2f00-165"},"imported":[{"uid":"2f00-302"}],"importedBy":[{"uid":"2f00-296"},{"uid":"2f00-166"}]},"2f00-166":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/default-api-client.ts","moduleParts":{"settings-form.umd.js":"2f00-167"},"imported":[{"uid":"2f00-164"},{"uid":"2f00-303"}],"importedBy":[{"uid":"2f00-296"}]},"2f00-168":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/facade-api-client.ts","moduleParts":{"settings-form.umd.js":"2f00-169"},"imported":[],"importedBy":[{"uid":"2f00-296"}]},"2f00-170":{"id":"/src/api-caller/request.ts","moduleParts":{"settings-form.umd.js":"2f00-171"},"imported":[{"uid":"2f00-287"}],"importedBy":[{"uid":"2f00-274"},{"uid":"2f00-216"},{"uid":"2f00-228"},{"uid":"2f00-232"},{"uid":"2f00-240"},{"uid":"2f00-272"},{"uid":"2f00-172"},{"uid":"2f00-174"},{"uid":"2f00-176"},{"uid":"2f00-178"},{"uid":"2f00-188"}]},"2f00-172":{"id":"/src/api-caller/account.ts","moduleParts":{"settings-form.umd.js":"2f00-173"},"imported":[{"uid":"2f00-170"}],"importedBy":[{"uid":"2f00-190"}]},"2f00-174":{"id":"/src/api-caller/api-key.ts","moduleParts":{"settings-form.umd.js":"2f00-175"},"imported":[{"uid":"2f00-170"}],"importedBy":[{"uid":"2f00-190"}]},"2f00-176":{"id":"/src/api-caller/datasource.ts","moduleParts":{"settings-form.umd.js":"2f00-177"},"imported":[{"uid":"2f00-170"}],"importedBy":[{"uid":"2f00-190"}]},"2f00-178":{"id":"/src/api-caller/role.ts","moduleParts":{"settings-form.umd.js":"2f00-179"},"imported":[{"uid":"2f00-170"}],"importedBy":[{"uid":"2f00-190"}]},"2f00-180":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/constant.js","moduleParts":{"settings-form.umd.js":"2f00-181"},"imported":[],"importedBy":[{"uid":"2f00-186"},{"uid":"2f00-184"}]},"2f00-182":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/locale/en.js","moduleParts":{"settings-form.umd.js":"2f00-183"},"imported":[],"importedBy":[{"uid":"2f00-186"}]},"2f00-184":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/utils.js","moduleParts":{"settings-form.umd.js":"2f00-185"},"imported":[{"uid":"2f00-180"}],"importedBy":[{"uid":"2f00-186"}]},"2f00-186":{"id":"/Users/leto/github/merico-dev/table/node_modules/dayjs/esm/index.js","moduleParts":{"settings-form.umd.js":"2f00-187"},"imported":[{"uid":"2f00-180"},{"uid":"2f00-182"},{"uid":"2f00-184"}],"importedBy":[{"uid":"2f00-188"}]},"2f00-188":{"id":"/src/api-caller/sql_snippet.ts","moduleParts":{"settings-form.umd.js":"2f00-189"},"imported":[{"uid":"2f00-186"},{"uid":"2f00-170"}],"importedBy":[{"uid":"2f00-190"}]},"2f00-190":{"id":"/src/api-caller/index.ts","moduleParts":{"settings-form.umd.js":"2f00-191"},"imported":[{"uid":"2f00-172"},{"uid":"2f00-174"},{"uid":"2f00-176"},{"uid":"2f00-178"},{"uid":"2f00-188"}],"importedBy":[{"uid":"2f00-204"},{"uid":"2f00-216"},{"uid":"2f00-208"},{"uid":"2f00-222"},{"uid":"2f00-228"},{"uid":"2f00-224"},{"uid":"2f00-236"},{"uid":"2f00-240"},{"uid":"2f00-238"},{"uid":"2f00-246"},{"uid":"2f00-248"},{"uid":"2f00-272"},{"uid":"2f00-270"},{"uid":"2f00-212"},{"uid":"2f00-218"},{"uid":"2f00-226"},{"uid":"2f00-230"}]},"2f00-192":{"id":"/src/datasource/styles.ts","moduleParts":{"settings-form.umd.js":"2f00-193"},"imported":[],"importedBy":[{"uid":"2f00-204"},{"uid":"2f00-216"},{"uid":"2f00-208"},{"uid":"2f00-194"},{"uid":"2f00-200"},{"uid":"2f00-202"},{"uid":"2f00-212"},{"uid":"2f00-210"}]},"2f00-194":{"id":"/src/datasource/add-data-source/forms/database.tsx","moduleParts":{"settings-form.umd.js":"2f00-195"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-290"},{"uid":"2f00-295"},{"uid":"2f00-192"}],"importedBy":[{"uid":"2f00-204"}]},"2f00-196":{"id":"/src/datasource/components/function-string-field/function-string-editor.tsx","moduleParts":{"settings-form.umd.js":"2f00-197"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-298"}],"importedBy":[{"uid":"2f00-198"}]},"2f00-198":{"id":"/src/datasource/components/function-string-field/index.tsx","moduleParts":{"settings-form.umd.js":"2f00-199"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-292"},{"uid":"2f00-290"},{"uid":"2f00-291"},{"uid":"2f00-196"}],"importedBy":[{"uid":"2f00-200"},{"uid":"2f00-210"}]},"2f00-200":{"id":"/src/datasource/add-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"2f00-201"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-295"},{"uid":"2f00-192"},{"uid":"2f00-198"}],"importedBy":[{"uid":"2f00-204"}]},"2f00-202":{"id":"/src/datasource/add-data-source/db-permission-tips.tsx","moduleParts":{"settings-form.umd.js":"2f00-203"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-192"},{"uid":"2f00-291"}],"importedBy":[{"uid":"2f00-204"}]},"2f00-204":{"id":"/src/datasource/add-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"2f00-205"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-289"},{"uid":"2f00-290"},{"uid":"2f00-291"},{"uid":"2f00-190"},{"uid":"2f00-192"},{"uid":"2f00-194"},{"uid":"2f00-200"},{"uid":"2f00-202"}],"importedBy":[{"uid":"2f00-278"},{"uid":"2f00-216"}]},"2f00-206":{"id":"/src/utils/load-monaco-editor.ts","moduleParts":{"settings-form.umd.js":"2f00-207"},"imported":[{"uid":"2f00-298"},{"uid":"2f00-290"}],"importedBy":[{"uid":"2f00-216"}]},"2f00-208":{"id":"/src/datasource/delete-data-source.tsx","moduleParts":{"settings-form.umd.js":"2f00-209"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-293"},{"uid":"2f00-289"},{"uid":"2f00-294"},{"uid":"2f00-291"},{"uid":"2f00-190"},{"uid":"2f00-192"}],"importedBy":[{"uid":"2f00-278"},{"uid":"2f00-216"}]},"2f00-210":{"id":"/src/datasource/edit-data-source/forms/http.tsx","moduleParts":{"settings-form.umd.js":"2f00-211"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-295"},{"uid":"2f00-198"},{"uid":"2f00-192"}],"importedBy":[{"uid":"2f00-212"}]},"2f00-212":{"id":"/src/datasource/edit-data-source/index.tsx","moduleParts":{"settings-form.umd.js":"2f00-213"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-289"},{"uid":"2f00-294"},{"uid":"2f00-290"},{"uid":"2f00-190"},{"uid":"2f00-192"},{"uid":"2f00-210"}],"importedBy":[{"uid":"2f00-216"}]},"2f00-214":{"id":"/src/datasource/components/data-source-icon.tsx","moduleParts":{"settings-form.umd.js":"2f00-215"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-294"},{"uid":"2f00-288"}],"importedBy":[{"uid":"2f00-216"}]},"2f00-216":{"id":"/src/datasource/data-source-list.tsx","moduleParts":{"settings-form.umd.js":"2f00-217"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-292"},{"uid":"2f00-190"},{"uid":"2f00-170"},{"uid":"2f00-206"},{"uid":"2f00-204"},{"uid":"2f00-208"},{"uid":"2f00-192"},{"uid":"2f00-212"},{"uid":"2f00-214"}],"importedBy":[{"uid":"2f00-278"}]},"2f00-218":{"id":"/src/account/role-selector.tsx","moduleParts":{"settings-form.umd.js":"2f00-219"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-292"},{"uid":"2f00-290"},{"uid":"2f00-190"}],"importedBy":[{"uid":"2f00-222"},{"uid":"2f00-236"},{"uid":"2f00-226"}]},"2f00-220":{"id":"/src/account/styles.ts","moduleParts":{"settings-form.umd.js":"2f00-221"},"imported":[],"importedBy":[{"uid":"2f00-222"},{"uid":"2f00-228"},{"uid":"2f00-224"},{"uid":"2f00-232"},{"uid":"2f00-226"},{"uid":"2f00-230"}]},"2f00-222":{"id":"/src/account/add-account.tsx","moduleParts":{"settings-form.umd.js":"2f00-223"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-289"},{"uid":"2f00-290"},{"uid":"2f00-295"},{"uid":"2f00-291"},{"uid":"2f00-190"},{"uid":"2f00-218"},{"uid":"2f00-220"}],"importedBy":[{"uid":"2f00-279"},{"uid":"2f00-228"}]},"2f00-224":{"id":"/src/account/delete-account.tsx","moduleParts":{"settings-form.umd.js":"2f00-225"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-293"},{"uid":"2f00-289"},{"uid":"2f00-291"},{"uid":"2f00-190"},{"uid":"2f00-220"}],"importedBy":[{"uid":"2f00-279"},{"uid":"2f00-228"}]},"2f00-226":{"id":"/src/account/edit-account.tsx","moduleParts":{"settings-form.umd.js":"2f00-227"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-289"},{"uid":"2f00-290"},{"uid":"2f00-295"},{"uid":"2f00-291"},{"uid":"2f00-190"},{"uid":"2f00-218"},{"uid":"2f00-220"}],"importedBy":[{"uid":"2f00-228"}]},"2f00-228":{"id":"/src/account/account-list.tsx","moduleParts":{"settings-form.umd.js":"2f00-229"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-292"},{"uid":"2f00-190"},{"uid":"2f00-170"},{"uid":"2f00-222"},{"uid":"2f00-224"},{"uid":"2f00-226"},{"uid":"2f00-220"}],"importedBy":[{"uid":"2f00-279"}]},"2f00-230":{"id":"/src/account/login/form.tsx","moduleParts":{"settings-form.umd.js":"2f00-231"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-289"},{"uid":"2f00-295"},{"uid":"2f00-190"},{"uid":"2f00-220"}],"importedBy":[{"uid":"2f00-232"}]},"2f00-232":{"id":"/src/account/login/index.tsx","moduleParts":{"settings-form.umd.js":"2f00-233"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-170"},{"uid":"2f00-220"},{"uid":"2f00-230"}],"importedBy":[{"uid":"2f00-279"}]},"2f00-234":{"id":"/src/api-key/styles.ts","moduleParts":{"settings-form.umd.js":"2f00-235"},"imported":[],"importedBy":[{"uid":"2f00-236"},{"uid":"2f00-240"},{"uid":"2f00-238"}]},"2f00-236":{"id":"/src/api-key/add-api-key.tsx","moduleParts":{"settings-form.umd.js":"2f00-237"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-293"},{"uid":"2f00-289"},{"uid":"2f00-290"},{"uid":"2f00-295"},{"uid":"2f00-291"},{"uid":"2f00-218"},{"uid":"2f00-190"},{"uid":"2f00-234"}],"importedBy":[{"uid":"2f00-280"},{"uid":"2f00-240"}]},"2f00-238":{"id":"/src/api-key/delete-api-key.tsx","moduleParts":{"settings-form.umd.js":"2f00-239"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-293"},{"uid":"2f00-289"},{"uid":"2f00-291"},{"uid":"2f00-190"},{"uid":"2f00-234"}],"importedBy":[{"uid":"2f00-280"},{"uid":"2f00-240"}]},"2f00-240":{"id":"/src/api-key/api-key-list.tsx","moduleParts":{"settings-form.umd.js":"2f00-241"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-292"},{"uid":"2f00-190"},{"uid":"2f00-170"},{"uid":"2f00-236"},{"uid":"2f00-238"},{"uid":"2f00-234"}],"importedBy":[{"uid":"2f00-280"}]},"2f00-242":{"id":"/src/components/minimal-mocaco-editor.tsx","moduleParts":{"settings-form.umd.js":"2f00-243"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-298"}],"importedBy":[{"uid":"2f00-246"},{"uid":"2f00-248"}]},"2f00-244":{"id":"/src/sql_snippet/styles.ts","moduleParts":{"settings-form.umd.js":"2f00-245"},"imported":[],"importedBy":[{"uid":"2f00-246"},{"uid":"2f00-248"},{"uid":"2f00-272"},{"uid":"2f00-270"}]},"2f00-246":{"id":"/src/sql_snippet/add-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"2f00-247"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-289"},{"uid":"2f00-290"},{"uid":"2f00-295"},{"uid":"2f00-291"},{"uid":"2f00-190"},{"uid":"2f00-242"},{"uid":"2f00-244"}],"importedBy":[{"uid":"2f00-281"},{"uid":"2f00-272"}]},"2f00-248":{"id":"/src/sql_snippet/update-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"2f00-249"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-289"},{"uid":"2f00-290"},{"uid":"2f00-295"},{"uid":"2f00-190"},{"uid":"2f00-242"},{"uid":"2f00-244"},{"uid":"2f00-294"}],"importedBy":[{"uid":"2f00-281"},{"uid":"2f00-272"}]},"2f00-250":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/prism/index.js","moduleParts":{"settings-form.umd.js":"2f00-251"},"imported":[],"importedBy":[{"uid":"2f00-254"}]},"2f00-252":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/themes/duotoneDark/index.js","moduleParts":{"settings-form.umd.js":"2f00-253"},"imported":[],"importedBy":[{"uid":"2f00-254"}]},"2f00-254":{"id":"/Users/leto/github/merico-dev/table/node_modules/prism-react-renderer/dist/index.js","moduleParts":{"settings-form.umd.js":"2f00-255"},"imported":[{"uid":"2f00-250"},{"uid":"2f00-252"},{"uid":"2f00-290"}],"importedBy":[{"uid":"2f00-262"}]},"2f00-256":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/CopyIcon.js","moduleParts":{"settings-form.umd.js":"2f00-257"},"imported":[{"uid":"2f00-290"}],"importedBy":[{"uid":"2f00-262"}]},"2f00-258":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/prism-theme.js","moduleParts":{"settings-form.umd.js":"2f00-259"},"imported":[],"importedBy":[{"uid":"2f00-262"}]},"2f00-260":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.styles.js","moduleParts":{"settings-form.umd.js":"2f00-261"},"imported":[{"uid":"2f00-288"}],"importedBy":[{"uid":"2f00-262"}]},"2f00-262":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/Prism/Prism.js","moduleParts":{"settings-form.umd.js":"2f00-263"},"imported":[{"uid":"2f00-290"},{"uid":"2f00-254"},{"uid":"2f00-288"},{"uid":"2f00-301"},{"uid":"2f00-256"},{"uid":"2f00-258"},{"uid":"2f00-260"}],"importedBy":[{"uid":"2f00-268"},{"uid":"2f00-266"}]},"2f00-264":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.styles.js","moduleParts":{"settings-form.umd.js":"2f00-265"},"imported":[{"uid":"2f00-288"}],"importedBy":[{"uid":"2f00-266"}]},"2f00-266":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/PrismTabs/PrismTabs.js","moduleParts":{"settings-form.umd.js":"2f00-267"},"imported":[{"uid":"2f00-290"},{"uid":"2f00-288"},{"uid":"2f00-262"},{"uid":"2f00-264"}],"importedBy":[{"uid":"2f00-268"}]},"2f00-268":{"id":"/Users/leto/github/merico-dev/table/node_modules/@mantine/prism/esm/index.js","moduleParts":{"settings-form.umd.js":"2f00-269"},"imported":[{"uid":"2f00-288"},{"uid":"2f00-266"},{"uid":"2f00-262"}],"importedBy":[{"uid":"2f00-272"}]},"2f00-270":{"id":"/src/sql_snippet/delete-sql_snippet.tsx","moduleParts":{"settings-form.umd.js":"2f00-271"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-293"},{"uid":"2f00-289"},{"uid":"2f00-291"},{"uid":"2f00-190"},{"uid":"2f00-244"}],"importedBy":[{"uid":"2f00-281"},{"uid":"2f00-272"}]},"2f00-272":{"id":"/src/sql_snippet/sql_snippet-list.tsx","moduleParts":{"settings-form.umd.js":"2f00-273"},"imported":[{"uid":"2f00-162"},{"uid":"2f00-288"},{"uid":"2f00-268"},{"uid":"2f00-292"},{"uid":"2f00-190"},{"uid":"2f00-170"},{"uid":"2f00-246"},{"uid":"2f00-270"},{"uid":"2f00-244"},{"uid":"2f00-294"},{"uid":"2f00-248"}],"importedBy":[{"uid":"2f00-281"}]},"2f00-274":{"id":"/src/index.ts","moduleParts":{"settings-form.umd.js":"2f00-275"},"imported":[{"uid":"2f00-278"},{"uid":"2f00-279"},{"uid":"2f00-280"},{"uid":"2f00-281"},{"uid":"2f00-170"},{"uid":"2f00-282"},{"uid":"2f00-283"},{"uid":"2f00-284"},{"uid":"2f00-285"},{"uid":"2f00-286"},{"uid":"2f00-276","dynamic":true}],"importedBy":[],"isEntry":true},"2f00-276":{"id":"/package.json","moduleParts":{"settings-form.umd.js":"2f00-277"},"imported":[],"importedBy":[{"uid":"2f00-274"}]},"2f00-278":{"id":"/src/datasource/index.tsx","moduleParts":{},"imported":[{"uid":"2f00-204"},{"uid":"2f00-216"},{"uid":"2f00-208"}],"importedBy":[{"uid":"2f00-274"}]},"2f00-279":{"id":"/src/account/index.tsx","moduleParts":{},"imported":[{"uid":"2f00-222"},{"uid":"2f00-228"},{"uid":"2f00-224"},{"uid":"2f00-232"}],"importedBy":[{"uid":"2f00-274"}]},"2f00-280":{"id":"/src/api-key/index.tsx","moduleParts":{},"imported":[{"uid":"2f00-236"},{"uid":"2f00-240"},{"uid":"2f00-238"}],"importedBy":[{"uid":"2f00-274"}]},"2f00-281":{"id":"/src/sql_snippet/index.tsx","moduleParts":{},"imported":[{"uid":"2f00-246"},{"uid":"2f00-248"},{"uid":"2f00-272"},{"uid":"2f00-270"}],"importedBy":[{"uid":"2f00-274"}]},"2f00-282":{"id":"/src/api-caller/account.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-274"}]},"2f00-283":{"id":"/src/api-caller/api-key.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-274"}]},"2f00-284":{"id":"/src/api-caller/datasource.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-274"}]},"2f00-285":{"id":"/src/api-caller/role.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-274"}]},"2f00-286":{"id":"/src/api-caller/sql_snippet.typed.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-274"}]},"2f00-287":{"id":"/Users/leto/github/merico-dev/table/shared/src/index.ts","moduleParts":{},"imported":[{"uid":"2f00-296"}],"importedBy":[{"uid":"2f00-170"}]},"2f00-288":{"id":"@mantine/core","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-204"},{"uid":"2f00-216"},{"uid":"2f00-208"},{"uid":"2f00-222"},{"uid":"2f00-228"},{"uid":"2f00-224"},{"uid":"2f00-232"},{"uid":"2f00-236"},{"uid":"2f00-240"},{"uid":"2f00-238"},{"uid":"2f00-246"},{"uid":"2f00-248"},{"uid":"2f00-272"},{"uid":"2f00-270"},{"uid":"2f00-194"},{"uid":"2f00-200"},{"uid":"2f00-202"},{"uid":"2f00-212"},{"uid":"2f00-214"},{"uid":"2f00-218"},{"uid":"2f00-226"},{"uid":"2f00-230"},{"uid":"2f00-268"},{"uid":"2f00-198"},{"uid":"2f00-210"},{"uid":"2f00-266"},{"uid":"2f00-262"},{"uid":"2f00-196"},{"uid":"2f00-264"},{"uid":"2f00-260"}],"isExternal":true},"2f00-289":{"id":"@mantine/notifications","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-204"},{"uid":"2f00-208"},{"uid":"2f00-222"},{"uid":"2f00-224"},{"uid":"2f00-236"},{"uid":"2f00-238"},{"uid":"2f00-246"},{"uid":"2f00-248"},{"uid":"2f00-270"},{"uid":"2f00-212"},{"uid":"2f00-226"},{"uid":"2f00-230"}],"isExternal":true},"2f00-290":{"id":"react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-204"},{"uid":"2f00-222"},{"uid":"2f00-236"},{"uid":"2f00-246"},{"uid":"2f00-248"},{"uid":"2f00-194"},{"uid":"2f00-206"},{"uid":"2f00-212"},{"uid":"2f00-218"},{"uid":"2f00-226"},{"uid":"2f00-198"},{"uid":"2f00-266"},{"uid":"2f00-262"},{"uid":"2f00-300"},{"uid":"2f00-254"},{"uid":"2f00-256"}],"isExternal":true},"2f00-291":{"id":"tabler-icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-204"},{"uid":"2f00-208"},{"uid":"2f00-222"},{"uid":"2f00-224"},{"uid":"2f00-236"},{"uid":"2f00-238"},{"uid":"2f00-246"},{"uid":"2f00-270"},{"uid":"2f00-202"},{"uid":"2f00-226"},{"uid":"2f00-198"}],"isExternal":true},"2f00-292":{"id":"ahooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-216"},{"uid":"2f00-228"},{"uid":"2f00-240"},{"uid":"2f00-272"},{"uid":"2f00-218"},{"uid":"2f00-198"}],"isExternal":true},"2f00-293":{"id":"@mantine/modals","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-208"},{"uid":"2f00-224"},{"uid":"2f00-236"},{"uid":"2f00-238"},{"uid":"2f00-270"}],"isExternal":true},"2f00-294":{"id":"@tabler/icons-react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-208"},{"uid":"2f00-248"},{"uid":"2f00-272"},{"uid":"2f00-212"},{"uid":"2f00-214"}],"isExternal":true},"2f00-295":{"id":"react-hook-form","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-222"},{"uid":"2f00-236"},{"uid":"2f00-246"},{"uid":"2f00-248"},{"uid":"2f00-194"},{"uid":"2f00-200"},{"uid":"2f00-226"},{"uid":"2f00-230"},{"uid":"2f00-210"}],"isExternal":true},"2f00-296":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/index.ts","moduleParts":{},"imported":[{"uid":"2f00-299"},{"uid":"2f00-164"},{"uid":"2f00-166"},{"uid":"2f00-168"}],"importedBy":[{"uid":"2f00-287"}]},"2f00-297":{"id":"\u0000commonjsHelpers.js","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-162"},{"uid":"2f00-156"},{"uid":"2f00-160"}]},"2f00-298":{"id":"@monaco-editor/react","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-206"},{"uid":"2f00-242"},{"uid":"2f00-196"}],"isExternal":true},"2f00-299":{"id":"/Users/leto/github/merico-dev/table/shared/src/api-client/types.ts","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-296"}]},"2f00-300":{"id":"\u0000react?commonjs-external","moduleParts":{},"imported":[{"uid":"2f00-290"}],"importedBy":[{"uid":"2f00-156"},{"uid":"2f00-160"}]},"2f00-301":{"id":"@mantine/hooks","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-262"}],"isExternal":true},"2f00-302":{"id":"crypto-js","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-164"}],"isExternal":true},"2f00-303":{"id":"axios","moduleParts":{},"imported":[],"importedBy":[{"uid":"2f00-166"}],"isExternal":true}},"env":{"rollup":"3.29.4"},"options":{"gzip":false,"brotli":false,"sourcemap":false}};
|
|
6161
6161
|
|
|
6162
6162
|
const run = () => {
|
|
6163
6163
|
const width = window.innerWidth;
|