dsql-admin/dsql-app/.local_dist/static/chunks/2829-608af754738e12fc.js

1 line
15 KiB
JavaScript
Raw Normal View History

2025-01-13 08:00:21 +00:00
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2829],{5471:(e,t,r)=>{let o=r(5979),{mergeAttributesWithElements:n}=r(8205);e.exports=(e,t={})=>o(n(e),t)},5979:e=>{e.exports=(e,t={})=>{let r=t.char||" ",o=t.count||2,n=0,i=[];return e.reverse().reduce((e,t)=>{i.length&&n&&i[n]&&i[n]===t.substring(1,i[n].length+1)&&(i.splice(n,1),n--);let a=r.repeat(n?n*o:0),c=[`${a}${t}`,...e];return"</"===t.substring(0,2)&&(i[++n]=t.substring(2,t.length-1)),c},[]).join("\n")}},8205:e=>{let t=e=>e.trim().replace(/(^(\s|\t)+|(( |\t)+)$)/gm,"");e.exports={mergeAttributesWithElements:e=>{let r=t(e).split("\n"),o=[],n="";for(let e=0;e<r.length;e+=1){let t=r[e];if(t.endsWith("/>")){o.push(`${n}${t.slice(0,-2)} />`),n="";continue}if(t.endsWith(">")){o.push(`${n}${t.startsWith(">")||t.startsWith("<")?"":" "}${t}`),n="";continue}n+=n.length?` ${t}`:t}return o},removeEmptyLines:t}},1356:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("CircleMinus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]])},9894:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("CirclePlus",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},3238:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},6446:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(5737).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},640:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowContainer=void 0;var n=r(4848),i=r(6540),a=r(6305);t.ArrowContainer=function(e){var t=e.childRect,r=e.popoverRect,c=e.position,s=e.arrowColor,u=e.arrowSize,l=e.arrowClassName,d=e.arrowStyle,p=e.className,f=e.children,v=e.style,h=(0,a.useArrowContainer)({childRect:t,popoverRect:r,position:c,arrowColor:s,arrowSize:u}),g=h.arrowContainerStyle,y=h.arrowStyle,m=(0,i.useMemo)(function(){return o(o({},g),v)},[g,v]),b=(0,i.useMemo)(function(){return o(o({},y),d)},[y,d]);return(0,n.jsxs)("div",{className:p,style:m,children:[(0,n.jsx)("div",{style:b,className:l}),f]})}},5143:function(e,t,r){"use strict";var o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,o=arguments.length;r<o;r++)for(var n in t=arguments[r])Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Popover=t.usePopover=t.ArrowContainer=t.useArrowContainer=void 0;var n=r(4848),i=r(6540),a=r(1953),c=r(2456),s=r(3148);Object.defineProperty(t,"usePopover",{enumerable:!0,get:function(){return s.usePopover}});var u=r(1292),l=r(2128),d=r(6305);Object.defineProperty(t,"useArrowContainer",{enumerable:!0,get:function(){return d.useArrowContainer}});var p=r(640);Object.defineProperty(t,"ArrowContainer",{enumerable:!0,get:function(){return p.ArrowContainer}});var f=["top","left","right","bottom"],v=(0,i.forwardRef)(function(e,t){var r=e.isOpen,o=e.children,d=e.content,p=e.positions,v=void 0===p?f:p,h=e.align,g=void 0===h?"center":h,y=e.padding,m=void 0===y?0:y,b=e.reposition,R=void 0===b||b,w=e.parentElement,P=void 0===w?window.document.body:w,C=e.boundaryElement,E=void 0===C?P:C,M=e.containerClassName,x=e.containerStyle,_=e.transform,O=e.transformMode,j=void 0===O?"absolute":O,k=e.boundaryInset,A=void 0===k?0:k,N=e.onClickOutside,T=e.clickOutsideCapture,L=void 0!==T&&T,I=(0,u.useMemoizedArray)(Array.isArray(v)?v:[v]),S=(0,l.useHandlePrevValues)({positions:I,reposition:R,transformMode:j,transform:_,boundaryElement:E,boundaryInset:A}),V=S.prev,z=S.updatePrevValues,B=(0,i.useRef)(),Y=(0,i.useState)({align