/* eslint-disable */
import './index.css'
/*! @flatjs/forge MIT https://github.com/flatjs */
import{b as e}from"../../_rollupPluginBabelHelpers-d1520900.js";import r from"@ant-design/icons/es/icons/SaveOutlined";import{Row as o,Col as s,Button as i,Drawer as a}from"antd";import{c as t}from"../../col-props-077eeedb.js";import"@wove/react/esm/loading";import"@dimjs/utils/esm/uri";import"graphql-request";import"../../data-settings.service-a8a6abd1.js";import{j as l}from"../../jsx-runtime-51c674dd.js";import{Page as n}from"@semic/layout/esm/components/page";import"@dimjs/utils/esm/pick";var c=function a(n){var c=n.loading,d=n.okText,m=d===void 0?"保存":d,p=n.cancelText,x=p===void 0?"取消":p,j=n.onCancelClick,k=n.onOkClick;return l.exports.jsx("div",{className:"fixed-bottom-block",children:l.exports.jsx(o,{children:l.exports.jsxs(s,e({},t["100%"],{children:[l.exports.jsx(i,{type:"primary",className:"ok-btn",onClick:k,loading:c,icon:l.exports.jsx(r,{}),style:{marginLeft:"24px"},children:m}),l.exports.jsx(i,{className:"cancel-btn",onClick:j,children:x})]}))})})};var d=function e(r){var o=r.onDrawerOk,s=r.maskClosable,i=s===void 0?false:s,t=r.visible,d=r.loading,m=r.pageLoading,p=r.title,x=r.onDrawerClose,j=r.children;return l.exports.jsxs(a,{title:p,visible:t,onClose:x,maskClosable:i,keyboard:false,forceRender:true,className:"drawer-wraper",children:[l.exports.jsx("div",{className:"drawer-wraper-content",children:l.exports.jsx(n,{inner:true,loading:m,children:j})}),l.exports.jsx(c,{loading:d,onOkClick:o,onCancelClick:x})]})};export{c as DrawerOperation,d as DrawerWraper};
//# sourceMappingURL=index.js.map
