import{d as t,q as o,e as r,h as e,r as i}from"./index-d9fc8538.js";import s,{useState as a,useCallback as n}from"react";import"react-dom";import"stream";import"string_decoder";import"events";import"timers";import"util";import"url";import"http";import"https";import"buffer";import"path";import"querystring";import"assert";import"os";import"fs";import"child_process";import"antd";import"crypto";function m(m){m.className;var p=m.onOpen,c=m.onCancel,l=m.dialogProps,u=m.batchProps,d=m.onSuccess,f=t(m,["className","onOpen","onCancel","dialogProps","batchProps","onSuccess"]),h=a(!1),b=h[0],g=h[1],C=n((function(){c&&c(),g(!1),d&&d()}),[c]),E=n((function(){p&&p(),g(!0)}),[p]);return s.createElement(s.Fragment,null,s.createElement(o,r({},f,{onClick:E})),s.createElement(e,r({className:"cf-button-batch-dialog"},l,{visible:b,onCancel:C,footer:null}),s.createElement(i,r({},u,{onUploadSuccess:C}))))}export default m;
