aha-components 1.5.5 → 1.5.7

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.
@@ -1,2 +1,2 @@
1
- import{jsxs as e,jsx as n,Fragment as i}from"react/jsx-runtime";import{createContext as o,useContext as t,useState as r,useMemo as l,useEffect as a}from"react";var d=function(){return d=Object.assign||function(e){for(var n,i=1,o=arguments.length;i<o;i++)for(var t in n=arguments[i])Object.prototype.hasOwnProperty.call(n,t)&&(e[t]=n[t]);return e},d.apply(this,arguments)};"function"==typeof SuppressedError&&SuppressedError;var s={primaryColor:"#FB6011"},p=o(s),u=function(){var e=t(p);return e||s},c={small:{height:"32px",paddingLeft:"12px",paddingRight:"12px",fontSize:"14px",lineHeight:"20px",iconSize:"16px",gap:"6px"},mediumSmall:{height:"36px",paddingLeft:"14px",paddingRight:"14px",fontSize:"14px",lineHeight:"20px",iconSize:"16px",gap:"6px"},medium:{height:"40px",paddingLeft:"16px",paddingRight:"16px",fontSize:"14px",lineHeight:"20px",iconSize:"18px",gap:"8px"},large:{height:"48px",paddingLeft:"20px",paddingRight:"20px",fontSize:"16px",lineHeight:"24px",iconSize:"20px",gap:"8px"}},h=function(o){var t=o.size,r=o.color;return e(i,{children:[n("style",{children:"\n @keyframes aha-button-spin {\n from { transform: rotate(0deg); }\n to { transform: rotate(360deg); }\n }\n "}),e("svg",{width:t,height:t,viewBox:"0 0 24 24",fill:"none",style:{animation:"aha-button-spin 1s linear infinite"},children:[n("circle",{cx:"12",cy:"12",r:"10",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"24",opacity:"0.3"}),n("circle",{cx:"12",cy:"12",r:"10",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"16"})]})]})},x=function(i){var o,t=i.children,l=i.type,a=void 0===l?"default":l,s=i.size,p=void 0===s?"medium":s,x=i.disabled,f=void 0!==x&&x,g=i.loading,m=void 0!==g&&g,b=i.onClick,y=i.htmlType,v=void 0===y?"button":y,F=i.className,C=void 0===F?"":F,S=i.style,w=i.icon,k=i.iconPosition,E=void 0===k?"left":k,z=function(e,n){var i={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(i[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var t=0;for(o=Object.getOwnPropertySymbols(e);t<o.length;t++)n.indexOf(o[t])<0&&Object.prototype.propertyIsEnumerable.call(e,o[t])&&(i[o[t]]=e[o[t]])}return i}(i,["children","type","size","disabled","loading","onClick","htmlType","className","style","icon","iconPosition"]),A=u().primaryColor,j=void 0===A?"#FB6011":A,M=r(!1),D=M[0],R=M[1],L=r(!1),N=L[0],H=L[1],O=c[p],B=f||m,P=function(){if(m){var e="primary"===a?"#FFFFFF":"#101828",i=parseInt(O.iconSize.replace("px",""));return n(h,{size:i,color:e})}return w?n("span",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:O.iconSize,height:O.iconSize,flexShrink:0},children:w}):null},W=(o=d({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:O.gap,height:O.height,paddingLeft:O.paddingLeft,paddingRight:O.paddingRight,fontSize:O.fontSize,lineHeight:O.lineHeight,fontWeight:500,fontFamily:"DM Sans, sans-serif",borderRadius:"8px",border:"none",cursor:B?"not-allowed":"pointer",outline:"none",transition:"all 0.2s",userSelect:"none",WebkitTapHighlightColor:"transparent"},S),"primary"===a?(o.color="#FFFFFF",o.backgroundColor=j,f?(o.opacity=.4,o.cursor="not-allowed"):m?o.backgroundColor=j:N?o.backgroundColor="#EC470A":D&&(o.backgroundColor="#FD843A")):f?(o.backgroundColor="#FAFAF9",o.color="#D6D3D1",o.border="1px solid #E7E5E4"):m?(o.backgroundColor="#FFFFFF",o.color="#101828",o.border="1px solid #E7E5E4",o.boxShadow="0px 1px 2px 0px rgba(12, 10, 9, 0.05)"):N?(o.backgroundColor="#F5F5F4",o.color="#101828",o.border="1px solid #D7D3D0",o.boxShadow="0px 1px 2px 0px rgba(12, 10, 9, 0.05)"):D?(o.backgroundColor="#FAFAF9",o.color="#101828",o.border="1px solid #D7D3D0",o.boxShadow="0px 2px 4px 0px rgba(12, 10, 9, 0.08)"):(o.backgroundColor="#FFFFFF",o.color="#101828",o.border="1px solid #E7E5E4",o.boxShadow="0px 1px 2px 0px rgba(12, 10, 9, 0.05)"),o);return e("button",d({type:v,className:"aha-button aha-button--".concat(a," aha-button--").concat(p," ").concat(B?"aha-button--disabled":""," ").concat(m?"aha-button--loading":""," ").concat(C),disabled:B,onClick:function(e){B?e.preventDefault():null==b||b(e)},onMouseEnter:function(){return!B&&R(!0)},onMouseLeave:function(){R(!1),H(!1)},onMouseDown:function(){return!B&&H(!0)},onMouseUp:function(){return H(!1)},style:W},z,{children:[m&&P(),!m&&"left"===E&&P(),t&&n("span",{style:{display:"inline-block"},children:t}),!m&&"right"===E&&P()]}))};x.displayName="Button";var f=function(e){var i=e.className,o=e.style;return n("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,style:o,children:n("path",{d:"M15.8334 10H4.16675M4.16675 10L10.0001 15.8334M4.16675 10L10.0001 4.16669",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})},g=function(e){var i=e.className,o=e.style;return n("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i,style:o,children:n("path",{d:"M4.16675 10H15.8334M15.8334 10L10.0001 4.16669M15.8334 10L10.0001 15.8334",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})},m=function(i){var o=i.current,t=i.defaultCurrent,s=void 0===t?1:t,p=i.total,c=void 0===p?0:p,h=i.pageSize,m=i.defaultPageSize,b=void 0===m?10:m,y=i.showSizeChanger,v=void 0!==y&&y,F=i.pageSizeOptions,C=void 0===F?["10","20","50","100"]:F,S=i.showQuickJumper,w=void 0!==S&&S,k=i.showTotal,E=i.onChange,z=i.onShowSizeChange,A=i.simple,j=void 0!==A&&A,M=i.disabled,D=void 0!==M&&M,R=i.hideOnSinglePage,L=void 0!==R&&R,N=i.className,H=void 0===N?"":N,O=i.style,B=i.size,P=void 0===B?"default":B,W=i.responsive,I=void 0!==W&&W;i.showLessItems;var T=i.itemRender,J=u().primaryColor,K=void 0===J?"#FB6011":J,Q=r(s),U=Q[0],_=Q[1],q=r(b),G=q[0],V=q[1],X=r(""),Y=X[0],Z=X[1],$=null!=o?o:U,ee=null!=h?h:G,ne=l(function(){return Math.ceil(c/ee)},[c,ee]);a(function(){void 0!==o&&_(o)},[o]),a(function(){void 0!==h&&V(h)},[h]);var ie=function(e){e<1||e>ne||e===$||D||(void 0===o&&_(e),null==E||E(e,ee))},oe=function(){var e=parseInt(Y,10);e>=1&&e<=ne&&(ie(e),Z(""))};if(L&&ne<=1)return null;if(j)return e("div",{className:"aha-pagination aha-pagination-simple ".concat(H),style:O,children:[n(x,{onClick:function(){return ie($-1)},disabled:D||1===$,type:"default",size:"default"===P?"medium":"small",style:{marginRight:"8px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:"上一页"}),e("span",{style:{margin:"0 8px",fontSize:"14px",lineHeight:"20px",color:"#475467",fontFamily:"DM Sans, sans-serif"},children:[$," / ",ne]}),n(x,{onClick:function(){return ie($+1)},disabled:D||$===ne,type:"default",size:"default"===P?"medium":"small",style:{marginLeft:"8px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:"下一页"})]});var te=($-1)*ee+1,re=Math.min($*ee,c);return e("div",{className:"aha-pagination w-full ".concat(H),style:d({display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:I?"wrap":"nowrap",fontFamily:"DM Sans, sans-serif"},O),children:[k&&n("div",{className:"justify-start text-Text-text-secondary text-sm font-medium font-['DM_Sans'] leading-5",children:k(c,[te,re])}),e("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[T?T($-1,"prev",n(x,{onClick:function(){return ie($-1)},disabled:D||1===$,type:"default",size:"default"===P?"medium":"small",style:{height:"small"===P?"32px":"36px",padding:"0 12px",gap:"4px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:e("div",{className:"flex items-center gap-1",children:[n(f,{})," ",n("span",{children:"Previous"})]})})):n(x,{onClick:function(){return ie($-1)},disabled:D||1===$,type:"default",size:"default"===P?"medium":"small",style:{height:"small"===P?"32px":"36px",padding:"0 12px",gap:"4px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:e("div",{className:"flex items-center gap-1",children:[n(f,{})," ",n("span",{children:"Previous"})]})}),n("div",{style:{display:"flex",alignItems:"center",gap:0},children:function(){if(ne<=7)return Array.from({length:ne},function(e,n){return n+1});var e=[];if($<=4){for(var n=1;n<=5;n++)e.push(n);e.push("jump-next"),e.push(ne)}else if($>=ne-3){e.push(1),e.push("jump-prev");for(n=ne-4;n<=ne;n++)e.push(n)}else{e.push(1),e.push("jump-prev");for(n=$-1;n<=$+1;n++)e.push(n);e.push("jump-next"),e.push(ne)}return e}().map(function(e,i){return function(e){if("number"==typeof e){var i=e===$,o=n(x,{onClick:function(){return ie(e)},disabled:D,type:"default",size:"default"===P?"medium":"small",style:{minWidth:"small"===P?"32px":"36px",height:"small"===P?"32px":"36px",padding:"0 12px",margin:0,fontWeight:i?500:400,border:"none",background:i?"#FAFAF9":"white",backgroundColor:i?"#FAFAF9":"white",color:i?K:"#79716B",boxShadow:"none",borderRadius:"8px"},children:e},e);return T?T(e,"page",o):o}if("jump-prev"===e)return o=n(x,{onClick:function(){return ie(Math.max(1,$-5))},disabled:D,type:"default",size:"default"===P?"medium":"small",style:{minWidth:"small"===P?"32px":"36px",height:"small"===P?"32px":"36px",padding:"0 12px",margin:0,border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:"•••"},"jump-prev"),T?T($-5,"jump-prev",o):o;if("jump-next"===e)return o=n(x,{onClick:function(){return ie(Math.min(ne,$+5))},disabled:D,type:"default",size:"default"===P?"medium":"small",style:{minWidth:"small"===P?"32px":"36px",height:"small"===P?"32px":"36px",padding:"0 12px",margin:0,border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:"•••"},"jump-next"),T?T($+5,"jump-next",o):o;return null}(e)})}),T?T($+1,"next",n(x,{onClick:function(){return ie($+1)},disabled:D||$===ne,type:"default",size:"default"===P?"medium":"small",style:{height:"small"===P?"32px":"36px",padding:"0 12px",gap:"4px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:e("div",{className:"flex items-center gap-1",children:[n("span",{children:"Next"})," ",n(g,{})]})})):n(x,{onClick:function(){return ie($+1)},disabled:D||$===ne,type:"default",size:"default"===P?"medium":"small",style:{height:"small"===P?"32px":"36px",padding:"0 12px",gap:"4px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:e("div",{className:"flex items-center gap-1",children:[n("span",{children:"Next"})," ",n(g,{})]})}),v&&n("select",{value:ee,onChange:function(e){return n=Number(e.target.value),i=Math.ceil(c/n),t=$>i?i:$,void 0===h&&V(n),void 0===o&&_(t),null==z||z(t,n),void(null==E||E(t,n));var n,i,t},disabled:D,style:{padding:"small"===P?"6px 12px":"8px 12px",border:"1px solid #EAECF0",borderRadius:"8px",fontSize:"small"===P?"12px":"14px",lineHeight:"small"===P?"18px":"20px",color:"#101828",fontFamily:"DM Sans, sans-serif",cursor:D?"not-allowed":"pointer",backgroundColor:"white",outline:"none",transition:"all 0.2s"},onMouseEnter:function(e){D||(e.currentTarget.style.borderColor=K)},onMouseLeave:function(e){e.currentTarget.style.borderColor="#EAECF0"},children:C.map(function(n){return e("option",{value:n,children:[n," 条/页"]},n)})}),w&&e("div",{style:{display:"flex",alignItems:"center",gap:"8px",fontFamily:"DM Sans, sans-serif"},children:[n("span",{style:{fontSize:"14px",lineHeight:"20px",color:"#475467"},children:"跳至"}),n("input",{type:"number",min:"1",value:Y,onChange:function(e){return Z(e.target.value)},onKeyPress:function(e){return"Enter"===e.key&&oe()},disabled:D,style:{width:"56px",height:"small"===P?"28px":"36px",padding:"0 8px",border:"1px solid #EAECF0",borderRadius:"8px",fontSize:"14px",lineHeight:"20px",color:"#101828",fontFamily:"DM Sans, sans-serif",outline:"none",transition:"all 0.2s"},onFocus:function(e){e.currentTarget.style.borderColor=K},onBlur:function(e){e.currentTarget.style.borderColor="#EAECF0"}}),n("span",{style:{fontSize:"14px",lineHeight:"20px",color:"#475467"},children:"页"}),"object"==typeof w&&w.goButton?n(x,{onClick:oe,disabled:D,type:"default",size:"default"===P?"medium":"small",style:{border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:w.goButton}):n(x,{onClick:oe,disabled:D,type:"default",size:"default"===P?"medium":"small",style:{border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:"确定"})]})]})]})};export{m as default};
1
+ import{jsxs as e,jsx as n,Fragment as t}from"react/jsx-runtime";import o,{createContext as i,useContext as r,useState as l,forwardRef as a,useRef as d,useEffect as p,useCallback as s,useMemo as u}from"react";import{createPortal as c}from"react-dom";var h=function(){return h=Object.assign||function(e){for(var n,t=1,o=arguments.length;t<o;t++)for(var i in n=arguments[t])Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i]);return e},h.apply(this,arguments)};function f(e,n){var t={};for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&n.indexOf(o)<0&&(t[o]=e[o]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(o=Object.getOwnPropertySymbols(e);i<o.length;i++)n.indexOf(o[i])<0&&Object.prototype.propertyIsEnumerable.call(e,o[i])&&(t[o[i]]=e[o[i]])}return t}function x(e,n,t){if(t||2===arguments.length)for(var o,i=0,r=n.length;i<r;i++)!o&&i in n||(o||(o=Array.prototype.slice.call(n,0,i)),o[i]=n[i]);return e.concat(o||Array.prototype.slice.call(n))}"function"==typeof SuppressedError&&SuppressedError;var g={primaryColor:"#FB6011"},m=i(g),v=function(){var e=r(m);return e||g},y={small:{height:"32px",paddingLeft:"12px",paddingRight:"12px",fontSize:"14px",lineHeight:"20px",iconSize:"16px",gap:"6px"},mediumSmall:{height:"36px",paddingLeft:"14px",paddingRight:"14px",fontSize:"14px",lineHeight:"20px",iconSize:"16px",gap:"6px"},medium:{height:"40px",paddingLeft:"16px",paddingRight:"16px",fontSize:"14px",lineHeight:"20px",iconSize:"18px",gap:"8px"},large:{height:"48px",paddingLeft:"20px",paddingRight:"20px",fontSize:"16px",lineHeight:"24px",iconSize:"20px",gap:"8px"}},b=function(o){var i=o.size,r=o.color;return e(t,{children:[n("style",{children:"\n @keyframes aha-button-spin {\n from { transform: rotate(0deg); }\n to { transform: rotate(360deg); }\n }\n "}),e("svg",{width:i,height:i,viewBox:"0 0 24 24",fill:"none",style:{animation:"aha-button-spin 1s linear infinite"},children:[n("circle",{cx:"12",cy:"12",r:"10",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"24",opacity:"0.3"}),n("circle",{cx:"12",cy:"12",r:"10",stroke:r,strokeWidth:"2",strokeLinecap:"round",strokeDasharray:"32",strokeDashoffset:"16"})]})]})},w=function(t){var o,i=t.children,r=t.type,a=void 0===r?"default":r,d=t.size,p=void 0===d?"medium":d,s=t.disabled,u=void 0!==s&&s,c=t.loading,x=void 0!==c&&c,g=t.onClick,m=t.htmlType,w=void 0===m?"button":m,F=t.className,k=void 0===F?"":F,C=t.style,S=t.icon,z=t.iconPosition,A=void 0===z?"left":z,E=f(t,["children","type","size","disabled","loading","onClick","htmlType","className","style","icon","iconPosition"]),D=v().primaryColor,L=void 0===D?"#FB6011":D,B=l(!1),M=B[0],W=B[1],j=l(!1),H=j[0],R=j[1],I=y[p],N=u||x,O=function(){if(x){var e="primary"===a?"#FFFFFF":"#101828",t=parseInt(I.iconSize.replace("px",""));return n(b,{size:t,color:e})}return S?n("span",{style:{display:"inline-flex",alignItems:"center",justifyContent:"center",width:I.iconSize,height:I.iconSize,flexShrink:0},children:S}):null},T=(o=h({position:"relative",display:"inline-flex",alignItems:"center",justifyContent:"center",gap:I.gap,height:I.height,paddingLeft:I.paddingLeft,paddingRight:I.paddingRight,fontSize:I.fontSize,lineHeight:I.lineHeight,fontWeight:500,fontFamily:"DM Sans, sans-serif",borderRadius:"8px",border:"none",cursor:N?"not-allowed":"pointer",outline:"none",transition:"all 0.2s",userSelect:"none",WebkitTapHighlightColor:"transparent"},C),"primary"===a?(o.color="#FFFFFF",o.backgroundColor=L,u?(o.opacity=.4,o.cursor="not-allowed"):x?o.backgroundColor=L:H?o.backgroundColor="#EC470A":M&&(o.backgroundColor="#FD843A")):u?(o.backgroundColor="#FAFAF9",o.color="#D6D3D1",o.border="1px solid #E7E5E4"):x?(o.backgroundColor="#FFFFFF",o.color="#101828",o.border="1px solid #E7E5E4",o.boxShadow="0px 1px 2px 0px rgba(12, 10, 9, 0.05)"):H?(o.backgroundColor="#F5F5F4",o.color="#101828",o.border="1px solid #D7D3D0",o.boxShadow="0px 1px 2px 0px rgba(12, 10, 9, 0.05)"):M?(o.backgroundColor="#FAFAF9",o.color="#101828",o.border="1px solid #D7D3D0",o.boxShadow="0px 2px 4px 0px rgba(12, 10, 9, 0.08)"):(o.backgroundColor="#FFFFFF",o.color="#101828",o.border="1px solid #E7E5E4",o.boxShadow="0px 1px 2px 0px rgba(12, 10, 9, 0.05)"),o);return e("button",h({type:w,className:"aha-button aha-button--".concat(a," aha-button--").concat(p," ").concat(N?"aha-button--disabled":""," ").concat(x?"aha-button--loading":""," ").concat(k),disabled:N,onClick:function(e){N?e.preventDefault():null==g||g(e)},onMouseEnter:function(){return!N&&W(!0)},onMouseLeave:function(){W(!1),R(!1)},onMouseDown:function(){return!N&&R(!0)},onMouseUp:function(){return R(!1)},style:T},E,{children:[x&&O(),!x&&"left"===A&&O(),i&&n("span",{style:{display:"inline-block"},children:i}),!x&&"right"===A&&O()]}))};w.displayName="Button";var F=a(function(i,r){var l=i.size,a=void 0===l?"medium":l,s=i.disabled,u=void 0!==s&&s,c=i.error,x=void 0!==c&&c,g=i.readOnly,m=void 0!==g&&g,y=i.prefix,b=i.suffix,w=i.allowClear,F=void 0!==w&&w,k=i.onClear,C=i.className,S=void 0===C?"":C,z=i.style,A=i.type,E=void 0===A?"text":A,D=i.placeholder,L=i.value,B=i.defaultValue,M=i.onChange,W=i.onFocus,j=i.onBlur,H=i.onPressEnter,R=f(i,["size","disabled","error","readOnly","prefix","suffix","allowClear","onClear","className","style","type","placeholder","value","defaultValue","onChange","onFocus","onBlur","onPressEnter"]),I=v().primaryColor,N=void 0===I?"#FB6011":I,O=d(null),T=o.useState(B||L||""),P=T[0],V=T[1],Y=o.useState(!1),K=Y[0],U=Y[1];p(function(){"function"==typeof r?r(O.current):r&&(r.current=O.current)},[r]);var q=void 0!==L,G=q?L:P,J=function(e){var n;e.stopPropagation(),q||V("");null==M||M({target:{value:""},currentTarget:{value:""}}),null==k||k(),null===(n=O.current)||void 0===n||n.focus()},Q=F&&G&&!u,X={small:{height:"32px",paddingTop:"3px",paddingBottom:"3px"},mediumSmall:{height:"36px",paddingTop:"5px",paddingBottom:"5px"},medium:{height:"40px",paddingTop:"7px",paddingBottom:"7px"},large:{height:"48px",paddingTop:"11px",paddingBottom:"11px"}},_=b||Q?"40px":"12px",Z=h({width:"100%",boxSizing:"border-box",fontFamily:"DM Sans, sans-serif",borderRadius:"8px",border:"1px solid ".concat(x?"#F04438":K?N:"#D7D3D0"),backgroundColor:u||m?"#FAFAF9":"#FFFFFF",color:u?"#98A2B3":"#1C1917",fontSize:"16px",fontWeight:400,lineHeight:"24px",paddingLeft:y?"40px":"12px",paddingRight:_,paddingTop:X[a].paddingTop,paddingBottom:X[a].paddingBottom,transition:"all 0.2s",outline:"none",WebkitAppearance:"none",MozAppearance:"textfield",appearance:"none"},z);return e(t,{children:[n("style",{children:'\n .aha-input-wrapper input::placeholder {\n color: #D7D3D0;\n font-size: 16px;\n font-weight: 400;\n opacity: 1;\n }\n .aha-input-wrapper input::-webkit-input-placeholder {\n color: #D7D3D0;\n font-size: 16px;\n font-weight: 400;\n opacity: 1;\n }\n .aha-input-wrapper input::-moz-placeholder {\n color: #D7D3D0;\n font-size: 16px;\n font-weight: 400;\n opacity: 1;\n }\n .aha-input-wrapper input:-ms-input-placeholder {\n color: #D7D3D0;\n font-size: 16px;\n font-weight: 400;\n opacity: 1;\n }\n /* 移动端优化 */\n .aha-input-wrapper input {\n -webkit-tap-highlight-color: transparent;\n -webkit-touch-callout: none;\n touch-action: manipulation;\n }\n /* 移除数字输入框的上下箭头 */\n .aha-input-wrapper input[type="number"]::-webkit-inner-spin-button,\n .aha-input-wrapper input[type="number"]::-webkit-outer-spin-button {\n -webkit-appearance: none;\n margin: 0;\n }\n .aha-input-wrapper input[type="number"] {\n -moz-appearance: textfield;\n }\n '}),e("div",{className:"aha-input-wrapper ".concat(S),style:{position:"relative",display:"inline-flex",alignItems:"center",width:"100%"},children:[y&&n("span",{style:{position:"absolute",left:"12px",display:"flex",alignItems:"center",color:u?"#98A2B3":"#78716C",zIndex:1,pointerEvents:"none"},children:y}),n("input",h({ref:O,type:E,value:G,placeholder:D,disabled:u,readOnly:m,onChange:function(e){q||V(e.target.value),null==M||M(e)},onFocus:function(e){U(!0),null==W||W(e)},onBlur:function(e){U(!1),null==j||j(e)},onKeyDown:function(e){var n;"Enter"===e.key&&H&&H(e),null===(n=R.onKeyDown)||void 0===n||n.call(R,e)},style:Z,autoComplete:R.autoComplete||"off",autoCorrect:R.autoCorrect||"off",autoCapitalize:R.autoCapitalize||"off",spellCheck:R.spellCheck||!1},R)),(b||Q)&&e("span",{style:{position:"absolute",right:"12px",display:"flex",alignItems:"center",gap:"4px",color:u?"#98A2B3":"#78716C",zIndex:1},children:[Q&&n(function(){return n("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:J,style:{cursor:"pointer",flexShrink:0,color:"#78716C"},children:n("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},{}),b&&n("span",{style:{pointerEvents:"none"},children:b})]})]})]})});F.displayName="Input";var k=function(i){var r,a=i.value,f=i.defaultValue,g=i.options,m=void 0===g?[]:g,y=i.mode,b=i.disabled,w=void 0!==b&&b,F=i.error,k=void 0!==F&&F,C=i.placeholder,S=void 0===C?"Please select":C,z=i.size,A=void 0===z?"medium":z,E=i.showSearch,D=void 0!==E&&E,L=i.filterOption,B=void 0===L||L,M=i.allowClear,W=void 0!==M&&M,j=i.onChange,H=i.onSelect,R=i.onDeselect,I=i.onSearch,N=i.onFocus,O=i.onBlur,T=i.onDropdownVisibleChange,P=i.className,V=void 0===P?"":P,Y=i.style,K=i.dropdownClassName,U=void 0===K?"":K,q=i.dropdownStyle,G=i.defaultOpen,J=void 0!==G&&G,Q=i.open,X=i.maxTagCount,_=i.tagRender,Z=i.optionRender,$=v().primaryColor,ee=void 0===$?"#FB6011":$,ne=l(void 0!==f?f:y?[]:void 0),te=ne[0],oe=ne[1],ie=l(J),re=ie[0],le=ie[1],ae=l(""),de=ae[0],pe=ae[1],se=l(-1),ue=se[0],ce=se[1],he=d(null),fe=d(null),xe=d(null),ge=l(null),me=ge[0],ve=ge[1],ye=void 0!==a,be=void 0!==Q,we=ye?a:te,Fe=be?Q:re,ke="multiple"===y||"tags"===y,Ce=s(function(){if(!we)return[];var e=Array.isArray(we)?we:[we];return m.filter(function(n){return e.includes(n.value)})},[we,m]),Se=s(function(){return D&&de?!1===B?m:"function"==typeof B?m.filter(function(e){return B(de,e)}):m.filter(function(e){var n=String(e.label||"").toLowerCase(),t=de.toLowerCase();return n.includes(t)}):m},[m,de,D,B]),ze=u(function(){return Se()},[Se]);p(function(){if(Fe&&he.current){var e=function(){if(he.current){var e=he.current.getBoundingClientRect();ve({top:e.bottom+window.scrollY+4,left:e.left+window.scrollX,width:e.width})}};return e(),window.addEventListener("resize",e),window.addEventListener("scroll",e,!0),function(){window.removeEventListener("resize",e),window.removeEventListener("scroll",e,!0)}}ve(null)},[Fe]),p(function(){var e=function(e){var n=e.target;he.current&&!he.current.contains(n)&&xe.current&&!xe.current.contains(n)&&(be||le(!1),null==T||T(!1),pe(""))};if(Fe)return document.addEventListener("mousedown",e,!0),document.addEventListener("touchstart",e,!0),function(){document.removeEventListener("mousedown",e,!0),document.removeEventListener("touchstart",e,!0)}},[Fe,be,T]),p(function(){if(Fe){var e=function(e){var n;if("ArrowDown"===e.key)e.preventDefault(),ce(function(e){return e<ze.length-1?e+1:e});else if("ArrowUp"===e.key)e.preventDefault(),ce(function(e){return e>0?e-1:0});else if("Enter"===e.key&&ue>=0){e.preventDefault();var t=ze[ue];t&&!t.disabled&&Ae(t)}else"Escape"===e.key&&(e.preventDefault(),be||le(!1),null==T||T(!1),null===(n=he.current)||void 0===n||n.focus())};return window.addEventListener("keydown",e),function(){window.removeEventListener("keydown",e)}}},[Fe,ze,ue,be,T]),p(function(){if(ue>=0&&xe.current){var e=xe.current.querySelectorAll(".aha-select-option")[ue];e&&e.scrollIntoView({block:"nearest",behavior:"smooth"})}},[ue]);var Ae=s(function(e){var n;if(!e.disabled)if(ke){var t,o=Array.isArray(we)?we:[];o.includes(e.value)?(t=o.filter(function(n){return n!==e.value}),null==R||R(e.value,e)):(t=x(x([],o,!0),[e.value],!1),null==H||H(e.value,e)),ye||oe(t);var i=m.filter(function(e){return t.includes(e.value)});null==j||j(t,i)}else ye||oe(e.value),null==j||j(e.value,e),null==H||H(e.value,e),be||le(!1),null==T||T(!1),pe(""),null===(n=he.current)||void 0===n||n.focus()},[ke,we,ye,be,m,j,H,R,T]),Ee=s(function(e,n){if(e.stopPropagation(),ke&&Array.isArray(we)){var t=we.filter(function(e){return e!==n}),o=m.find(function(e){return e.value===n});ye||oe(t),null==j||j(t,Ce()),null==R||R(n,o)}},[ke,we,ye,m,j,R,Ce]),De=function(e){e.stopPropagation();var n=ke?[]:void 0;ye||oe(n),null==j||j(n,[]),pe("")},Le={small:{height:"32px",paddingTop:"3px",paddingBottom:"3px",fontSize:"16px",lineHeight:"24px"},mediumSmall:{height:"36px",paddingTop:"5px",paddingBottom:"5px",fontSize:"16px",lineHeight:"24px"},medium:{height:"40px",paddingTop:"7px",paddingBottom:"7px",fontSize:"16px",lineHeight:"24px"},large:{height:"48px",paddingTop:"11px",paddingBottom:"11px",fontSize:"16px",lineHeight:"24px"}},Be=u(function(){return Ce()},[Ce]),Me=u(function(){return W&&we&&!w},[W,we,w]),We=u(function(){return ke?Array.isArray(we)&&we.length>0:null!=we&&""!==we},[ke,we]),je=u(function(){if(!ke||!Array.isArray(we)||0===we.length)return null;var t="responsive"===X?Be.slice(0,2):X?Be.slice(0,X):Be,i=X&&Be.length>t.length?Be.length-t.length:0;return e("div",{style:{display:"flex",alignItems:"center",flexWrap:"wrap",gap:"4px",flex:1,minWidth:0},children:[t.map(function(t){var i={label:t.label,value:t.value,closable:!w,onClose:function(){return Ee({},t.value)}};return _?n(o.Fragment,{children:_(i)},t.value):e("span",{style:{display:"inline-flex",alignItems:"center",gap:"4px",padding:"2px 8px",backgroundColor:"#F5F5F4",borderRadius:"4px",fontSize:"12px",lineHeight:"18px",color:"#101828",fontFamily:"DM Sans, sans-serif",maxWidth:"100%"},children:[n("span",{style:{overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},children:t.label}),!w&&n("span",{onClick:function(e){return Ee(e,t.value)},style:{cursor:"pointer",display:"flex",alignItems:"center",color:"#78716C",marginLeft:"4px"},children:n("svg",{width:"12",height:"12",viewBox:"0 0 12 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:n("path",{d:"M9 3L3 9M3 3L9 9",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})]},t.value)}),i>0&&e("span",{style:{fontSize:"12px",lineHeight:"18px",color:"#78716C",fontFamily:"DM Sans, sans-serif"},children:["+",i]})]})},[ke,we,Be,X,w,_]);return e(t,{children:[n("style",{children:"\n @keyframes dropdownFadeIn {\n from {\n opacity: 0;\n transform: translateY(-8px);\n }\n to {\n opacity: 1;\n transform: translateY(0);\n }\n }\n "}),e("div",{ref:he,className:"aha-select ".concat(V),style:h({position:"relative",display:"inline-flex",alignItems:"center",width:"100%",minWidth:"120px",boxSizing:"border-box",fontFamily:"DM Sans, sans-serif",borderRadius:"8px",border:"1px solid ".concat(k?"#F04438":Fe?ee:"#D7D3D0"),backgroundColor:w?"#FAFAF9":"#FFFFFF",cursor:w?"not-allowed":"pointer",transition:"all 0.2s",paddingLeft:"12px",paddingRight:"36px",paddingTop:Le[A].paddingTop,paddingBottom:Le[A].paddingBottom,fontSize:Le[A].fontSize,lineHeight:Le[A].lineHeight,fontWeight:400,WebkitTapHighlightColor:"transparent",WebkitTouchCallout:"none",touchAction:"manipulation",userSelect:"none"},Y),onClick:function(){if(!w){var e=!Fe;be||le(e),null==T||T(e),e&&D?setTimeout(function(){var e;null===(e=fe.current)||void 0===e||e.focus()},0):pe("")}},onFocus:function(e){null==N||N(e)},onBlur:function(e){null==O||O(e)},onTouchStart:function(e){w||(e.currentTarget.style.opacity="0.8")},onTouchEnd:function(e){e.currentTarget.style.opacity="1"},tabIndex:w?-1:0,children:[n("div",{style:{display:"flex",alignItems:"center",flex:1,minWidth:0,gap:"8px"},children:ke?je||n("span",S?{style:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:"#79716B",fontSize:"16px",lineHeight:"24px",fontWeight:400},children:S}:{style:{flex:1,minHeight:"24px"}}):D&&Fe?n("input",{ref:fe,type:"text",value:de,onChange:function(e){var n=e.target.value;pe(n),null==I||I(n),ce(-1)},onClick:function(e){return e.stopPropagation()},onFocus:function(e){return e.stopPropagation()},style:{flex:1,border:"none",outline:"none",background:"transparent",fontSize:"16px",lineHeight:"24px",fontWeight:400,color:w?"#98A2B3":"#1C1917",fontFamily:"DM Sans, sans-serif",minWidth:0,WebkitAppearance:"none",appearance:"none"},placeholder:We?void 0:S,autoComplete:"off",autoCorrect:"off",autoCapitalize:"off",spellCheck:!1}):n("span",{style:{flex:1,overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap",color:We?w?"#98A2B3":"#1C1917":"#79716B",fontSize:"16px",lineHeight:"24px",fontWeight:400,minHeight:"24px",display:"inline-block"},children:We?(null===(r=Be[0])||void 0===r?void 0:r.label)||we:S||" "})}),e("div",{style:{position:"absolute",right:"12px",display:"flex",alignItems:"center",gap:"4px"},children:[Me&&n(function(){return n("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",onClick:De,style:{cursor:"pointer",flexShrink:0,color:"#78716C"},children:n("path",{d:"M12 4L4 12M4 4L12 12",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},{}),n(function(e){var t=e.isOpen;return n("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",style:{transform:t?"rotate(180deg)":"rotate(0deg)",transition:"transform 0.2s ease-in-out",flexShrink:0},children:n("path",{d:"M4 6L8 10L12 6",stroke:"#78716C",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},{isOpen:Fe})]})]}),Fe&&me&&c(n("div",{ref:xe,className:"aha-select-dropdown ".concat(U),style:h({position:"absolute",top:"".concat(me.top,"px"),left:"".concat(me.left,"px"),width:"".concat(me.width,"px"),zIndex:1050,backgroundColor:"#FFFFFF",borderRadius:"8px",boxShadow:"0 4px 12px rgba(0, 0, 0, 0.15)",border:"1px solid #E7E5E4",maxHeight:"256px",overflow:"auto",opacity:0,transform:"translateY(-8px)",animation:"dropdownFadeIn 0.2s ease-out forwards",WebkitOverflowScrolling:"touch",overscrollBehavior:"contain"},q),children:0===ze.length?n("div",{style:{padding:"8px 16px",textAlign:"center",color:"#78716C",fontSize:"14px",fontFamily:"DM Sans, sans-serif"},children:"No data"}):ze.map(function(t,o){var i=ke?Array.isArray(we)&&we.includes(t.value):we===t.value,r=o===ue;return Z?n("div",{className:"aha-select-option ".concat(t.disabled?"":"hover:bg-[#FAFAF9]"," ").concat(i?"bg-[#FAFAF9]":""),onClick:function(){return!t.disabled&&Ae(t)},style:{cursor:t.disabled?"not-allowed":"pointer",transition:"background-color 0.2s"},children:Z(t,{selected:i,focused:r,disabled:t.disabled||!1})},t.value):e("div",{className:"aha-select-option ".concat(t.disabled?"":"hover:bg-[#FAFAF9]"," ").concat(i?"bg-[#FAFAF9]":""),onClick:function(){return Ae(t)},style:{padding:"8px 16px",cursor:t.disabled?"not-allowed":"pointer",color:t.disabled?"#98A2B3":"#101828",fontSize:"14px",lineHeight:"20px",fontFamily:"DM Sans, sans-serif",display:"flex",alignItems:"center",justifyContent:"space-between",transition:"background-color 0.2s"},children:[n("span",{children:t.label}),i&&n("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:r?"hidden":"",children:n("path",{d:"M13.3333 4L6 11.3333L2.66667 8",stroke:ee,strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})]},t.value)})}),document.body)]})};k.displayName="Select";var C=function(e){var t=e.className,o=e.style;return n("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,style:o,children:n("path",{d:"M15.8334 10H4.16675M4.16675 10L10.0001 15.8334M4.16675 10L10.0001 4.16669",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})},S=function(e){var t=e.className,o=e.style;return n("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:t,style:o,children:n("path",{d:"M4.16675 10H15.8334M15.8334 10L10.0001 4.16669M15.8334 10L10.0001 15.8334",stroke:"currentColor",strokeWidth:"1.66667",strokeLinecap:"round",strokeLinejoin:"round"})})},z=function(o){var i=o.current,r=o.defaultCurrent,a=void 0===r?1:r,d=o.total,s=void 0===d?0:d,c=o.pageSize,f=o.defaultPageSize,x=void 0===f?10:f,g=o.showSizeChanger,m=void 0!==g&&g,y=o.pageSizeOptions,b=void 0===y?["10","20","50","100"]:y,z=o.showQuickJumper,A=void 0!==z&&z,E=o.showTotal,D=o.onChange,L=o.onShowSizeChange,B=o.simple,M=void 0!==B&&B,W=o.disabled,j=void 0!==W&&W,H=o.hideOnSinglePage,R=void 0!==H&&H,I=o.className,N=void 0===I?"":I,O=o.style,T=o.size,P=void 0===T?"default":T,V=o.responsive,Y=void 0!==V&&V;o.showLessItems;var K=o.itemRender,U=v().primaryColor,q=void 0===U?"#FB6011":U,G=l(a),J=G[0],Q=G[1],X=l(x),_=X[0],Z=X[1],$=l(""),ee=$[0],ne=$[1],te=null!=i?i:J,oe=null!=c?c:_,ie=u(function(){return Math.ceil(s/oe)},[s,oe]);p(function(){void 0!==i&&Q(i)},[i]),p(function(){void 0!==c&&Z(c)},[c]);var re=function(e){e<1||e>ie||e===te||j||(void 0===i&&Q(e),null==D||D(e,oe))},le=function(){var e=parseInt(ee,10);e>=1&&e<=ie&&(re(e),ne(""))};if(R&&ie<=1)return null;if(M)return e("div",{className:"aha-pagination aha-pagination-simple ".concat(N),style:O,children:[n(w,{onClick:function(){return re(te-1)},disabled:j||1===te,type:"default",size:"default"===P?"medium":"small",style:{marginRight:"8px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:n(C,{})}),e("span",{style:{margin:"0 8px",fontSize:"14px",lineHeight:"20px",color:"#475467",fontFamily:"DM Sans, sans-serif"},children:[te," / ",ie]}),n(w,{onClick:function(){return re(te+1)},disabled:j||te===ie,type:"default",size:"default"===P?"medium":"small",style:{marginLeft:"8px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:n(S,{})})]});var ae=(te-1)*oe+1,de=Math.min(te*oe,s);return e("div",{className:"aha-pagination w-full ".concat(N),style:h({display:"flex",alignItems:"center",justifyContent:"space-between",flexWrap:Y?"wrap":"nowrap",fontFamily:"DM Sans, sans-serif"},O),children:[E&&n("div",{className:"justify-start text-Text-text-secondary text-sm font-medium font-['DM_Sans'] leading-5",children:E(s,[ae,de])}),e("div",{style:{display:"flex",alignItems:"center",gap:"12px"},children:[s>0&&n(t,{children:K?K(te-1,"prev",n(w,{onClick:function(){return re(te-1)},disabled:j||1===te,type:"default",size:"default"===P?"medium":"small",style:{height:"small"===P?"32px":"36px",padding:"0 12px",gap:"4px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:n(C,{})})):n(w,{onClick:function(){return re(te-1)},disabled:j||1===te,type:"default",size:"default"===P?"medium":"small",style:{height:"small"===P?"32px":"36px",padding:"0 12px",gap:"4px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:n(C,{})})}),n("div",{style:{display:"flex",alignItems:"center",gap:"8px"},children:function(){if(ie<=7)return Array.from({length:ie},function(e,n){return n+1});var e=[];if(te<=4){for(var n=1;n<=5;n++)e.push(n);e.push("jump-next"),e.push(ie)}else if(te>=ie-3){e.push(1),e.push("jump-prev");for(n=ie-4;n<=ie;n++)e.push(n)}else{e.push(1),e.push("jump-prev");for(n=te-1;n<=te+1;n++)e.push(n);e.push("jump-next"),e.push(ie)}return e}().map(function(e,t){return function(e){if("number"==typeof e){var t=e===te,o=n(w,{onClick:function(){return re(e)},disabled:j,type:"default",size:"default"===P?"medium":"small",style:{minWidth:"small"===P?"32px":"36px",height:"small"===P?"32px":"36px",padding:"0 12px",margin:0,fontWeight:t?500:400,border:"none",background:t?"#FAFAF9":"white",backgroundColor:t?"#FAFAF9":"white",color:t?q:"#79716B",boxShadow:"none",borderRadius:"8px"},children:e},e);return K?K(e,"page",o):o}if("jump-prev"===e)return o=n(w,{onClick:function(){return re(Math.max(1,te-5))},disabled:j,type:"default",size:"default"===P?"medium":"small",style:{minWidth:"small"===P?"32px":"36px",height:"small"===P?"32px":"36px",padding:"0 12px",margin:0,border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:"•••"},"jump-prev"),K?K(te-5,"jump-prev",o):o;if("jump-next"===e)return o=n(w,{onClick:function(){return re(Math.min(ie,te+5))},disabled:j,type:"default",size:"default"===P?"medium":"small",style:{minWidth:"small"===P?"32px":"36px",height:"small"===P?"32px":"36px",padding:"0 12px",margin:0,border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:"•••"},"jump-next"),K?K(te+5,"jump-next",o):o;return null}(e)})}),s>0&&n(t,{children:K?K(te+1,"next",n(w,{onClick:function(){return re(te+1)},disabled:j||te===ie,type:"default",size:"default"===P?"medium":"small",style:{height:"small"===P?"32px":"36px",padding:"0 12px",gap:"4px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:n(S,{})})):n(w,{onClick:function(){return re(te+1)},disabled:j||te===ie,type:"default",size:"default"===P?"medium":"small",style:{height:"small"===P?"32px":"36px",padding:"0 12px",gap:"4px",border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:n(S,{})})}),m&&n(k,{value:oe,options:b.map(function(e){return{label:"".concat(e," / page"),value:Number(e)}}),onChange:function(e){return n=Number(e),t=Math.ceil(s/n),o=te>t?t:te,void 0===c&&Z(n),void 0===i&&Q(o),null==L||L(o,n),void(null==D||D(o,n));var n,t,o},disabled:j,size:"small"===P?"small":"medium",style:{minWidth:"small"===P?80:96}}),A&&e("div",{style:{display:"flex",alignItems:"center",gap:"8px",fontFamily:"DM Sans, sans-serif"},children:[n("span",{style:{fontSize:"14px",lineHeight:"20px",color:"#475467"},children:"Go to"}),n(F,{type:"number",min:1,value:ee,onChange:function(e){return ne(e.target.value)},onPressEnter:le,disabled:j,size:"small"===P?"small":"medium",style:{width:56,minWidth:56}}),n("span",{style:{fontSize:"14px",lineHeight:"20px",color:"#475467"},children:"page"}),"object"==typeof A&&A.goButton?n(w,{onClick:le,disabled:j,type:"default",size:"default"===P?"medium":"small",style:{border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:A.goButton}):n(w,{onClick:le,disabled:j,type:"default",size:"default"===P?"medium":"small",style:{border:"1px solid #EAECF0",boxShadow:"none",borderRadius:"8px"},children:"OK"})]})]})]})};export{z as default};
2
2
  //# sourceMappingURL=Pagination.esm.js.map