dsql-admin/dsql-app/.local_dist/static/chunks/5680-7669f210caba7d73.js

1 line
14 KiB
JavaScript
Raw Normal View History

2024-12-05 07:03:33 +00:00
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5680],{35381:(e,t,o)=>{var n=o(24994);t.A=void 0;var r=n(o(44888)),i=o(74848);t.A=(0,r.default)([(0,i.jsx)("path",{d:"M8 16h12V4H8zm2-7h3V6h2v3h3v2h-3v3h-2v-3h-3z",opacity:".3"},"0"),(0,i.jsx)("path",{d:"M4 22h14v-2H4V6H2v14c0 1.1.9 2 2 2M8 2c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V4c0-1.1-.9-2-2-2zm12 14H8V4h12zm-7-2h2v-3h3V9h-3V6h-2v3h-3v2h3z"},"1")],"LibraryAddTwoTone")},23238:(e,t,o)=>{o.d(t,{A:()=>n});let n=(0,o(95737).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"}]])},40640:function(e,t,o){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.ArrowContainer=void 0;var r=o(74848),i=o(96540),a=o(46305);t.ArrowContainer=function(e){var t=e.childRect,o=e.popoverRect,c=e.position,u=e.arrowColor,l=e.arrowSize,s=e.arrowClassName,d=e.arrowStyle,p=e.className,f=e.children,v=e.style,h=(0,a.useArrowContainer)({childRect:t,popoverRect:o,position:c,arrowColor:u,arrowSize:l}),g=h.arrowContainerStyle,m=h.arrowStyle,b=(0,i.useMemo)(function(){return n(n({},g),v)},[g,v]),y=(0,i.useMemo)(function(){return n(n({},m),d)},[m,d]);return(0,r.jsxs)("div",{className:p,style:b,children:[(0,r.jsx)("div",{style:y,className:s}),f]})}},5143:function(e,t,o){var n=this&&this.__assign||function(){return(n=Object.assign||function(e){for(var t,o=1,n=arguments.length;o<n;o++)for(var r in t=arguments[o])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e}).apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.Popover=t.usePopover=t.ArrowContainer=t.useArrowContainer=void 0;var r=o(74848),i=o(96540),a=o(81953),c=o(72456),u=o(93148);Object.defineProperty(t,"usePopover",{enumerable:!0,get:function(){return u.usePopover}});var l=o(71292),s=o(52128),d=o(46305);Object.defineProperty(t,"useArrowContainer",{enumerable:!0,get:function(){return d.useArrowContainer}});var p=o(40640);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 o=e.isOpen,n=e.children,d=e.content,p=e.positions,v=void 0===p?f:p,h=e.align,g=void 0===h?"center":h,m=e.padding,b=void 0===m?0:m,y=e.reposition,R=void 0===y||y,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,j=e.transformMode,O=void 0===j?"absolute":j,N=e.boundaryInset,T=void 0===N?0:N,A=e.onClickOutside,k=e.clickOutsideCapture,L=void 0!==k&&k,V=(0,l.useMemoizedArray)(Array.isArray(v)?v:[v]),I=(0,s.useHandlePrevValues)({positions:V,reposition:R,transformMode:O,transform:_,boundaryElement:E,boundaryInset:T}),S=I.prev,z=I.updatePrevValues,B=(0,i.useRef)(),Y=(0,i.useState)({align:g,nudgedLeft:0,nudgedTop:0,position:V[0],padding:b,childRect:c.EMPTY_RECT,popoverRect:c.EMPTY_RECT,parentRect:c.EMPTY_RECT,boundaryRect:c.EMPTY_RECT,boundaryInset:T,violations:c.EMPTY_RECT,hasViolations:!1}),H=Y[0],F=Y[1],q=(0,i.useCallback)(function(e){return F(e)},[]),D=(0,u.usePopover)({isOpen:o,childRef:B,containerClassName:M,parentElement:P,boundaryElement:E,transform:_,transformMode:O,positions:V,align:g,padding:b,boundaryInset:T,reposition:R,onPositionPopover:q}),G=D.positionPopover,J=D.popoverRef,K=D.scoutRef;(0,i.useLayoutEffect)(function(){var e=!0,t=function(){var n,r;if(o&&e){var i=null===(n=null==B?void 0:B.current)||void 0===n?void 0:n.getBoundingClientRect(),a=null===(r=null==J?void 0:J.current)||void 0===r?void 0:r.getBoundingClientRect();null==i||null==a||(0,c.rectsAreEqual)(i,H.childRect)&&a.width===H.popoverRect.width&&a.height===H.popoverRect.height&&H.padding===b&&H.align===g&&V===S.positions&&R===S.reposition&&O===S.transformMode&&_===S.transform&&E===S.boundaryElement&&T===S.b