helppeople-ui 1.9.5 → 1.9.6

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.
@@ -66,7 +66,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
66
66
  }
67
67
  `,Lr=function(t){var r=N.useContext(ot),o=r.csp,s=r.prefixCls,i=r.layer,c=_r;s&&(c=c.replace(/anticon/g,s)),i&&(c="@layer ".concat(i,` {
68
68
  `).concat(c,`
69
- }`)),N.useEffect(function(){var f=t.current,d=Tr(f);kr(c,"@ant-design-icons",{prepend:!i,csp:o,attachTo:d})},[])},Hr=["icon","className","onClick","style","primaryColor","secondaryColor"],ae={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Br(e){var t=e.primaryColor,r=e.secondaryColor;ae.primaryColor=t,ae.secondaryColor=r||ht(t),ae.calculated=!!r}function Fr(){return M({},ae)}var te=function(t){var r=t.icon,o=t.className,s=t.onClick,i=t.style,c=t.primaryColor,f=t.secondaryColor,d=it(t,Hr),l=v.useRef(),h=ae;if(c&&(h={primaryColor:c,secondaryColor:f||ht(c)}),Lr(l),Mr(Ke(r),"icon should be icon definiton, but got ".concat(r)),!Ke(r))return null;var u=r;return u&&typeof u.icon=="function"&&(u=M(M({},u),{},{icon:u.icon(h.primaryColor,h.secondaryColor)})),we(u.icon,"svg-".concat(u.name),M(M({className:o,onClick:s,style:i,"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d),{},{ref:l}))};te.displayName="IconReact";te.getTwoToneColors=Fr;te.setTwoToneColors=Br;function pt(e){var t=mt(e),r=st(t,2),o=r[0],s=r[1];return te.setTwoToneColors({primaryColor:o,secondaryColor:s})}function $r(){var e=te.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Ar=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];pt(je.primary);var R=v.forwardRef(function(e,t){var r=e.className,o=e.icon,s=e.spin,i=e.rotate,c=e.tabIndex,f=e.onClick,d=e.twoToneColor,l=it(e,Ar),h=v.useContext(ot),u=h.prefixCls,p=u===void 0?"anticon":u,m=h.rootClassName,x=hr(m,p,$($({},"".concat(p,"-").concat(o.name),!!o.name),"".concat(p,"-spin"),!!s||o.name==="loading"),r),y=c;y===void 0&&f&&(y=-1);var C=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,D=mt(d),_=st(D,2),A=_[0],L=_[1];return v.createElement("span",E({role:"img","aria-label":o.name},l,{ref:t,tabIndex:y,onClick:f,className:x}),v.createElement(te,{icon:o,primaryColor:A,secondaryColor:L,style:C}))});R.displayName="AntdIcon";R.getTwoToneColor=$r;R.setTwoToneColor=pt;var Vr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Pr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Vr}))},he=v.forwardRef(Pr);process.env.NODE_ENV!=="production"&&(he.displayName="ArrowLeftOutlined");var Yr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},Wr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Yr}))},Ne=v.forwardRef(Wr);process.env.NODE_ENV!=="production"&&(Ne.displayName="BellOutlined");var qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},Gr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:qr}))},le=v.forwardRef(Gr);process.env.NODE_ENV!=="production"&&(le.displayName="ClearOutlined");var Ur={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Kr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Ur}))},gt=v.forwardRef(Kr);process.env.NODE_ENV!=="production"&&(gt.displayName="CloseOutlined");var Xr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Zr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Xr}))},xt=v.forwardRef(Zr);process.env.NODE_ENV!=="production"&&(xt.displayName="DeleteOutlined");var Qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Jr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Qr}))},Ee=v.forwardRef(Jr);process.env.NODE_ENV!=="production"&&(Ee.displayName="EditOutlined");var en={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},tn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:en}))},yt=v.forwardRef(tn);process.env.NODE_ENV!=="production"&&(yt.displayName="FileExcelOutlined");var rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},nn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:rn}))},vt=v.forwardRef(nn);process.env.NODE_ENV!=="production"&&(vt.displayName="FilePdfOutlined");var on={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},sn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:on}))},Re=v.forwardRef(sn);process.env.NODE_ENV!=="production"&&(Re.displayName="FilterOutlined");var an={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},ln=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:an}))},bt=v.forwardRef(ln);process.env.NODE_ENV!=="production"&&(bt.displayName="InboxOutlined");var cn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},dn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:cn}))},jt=v.forwardRef(dn);process.env.NODE_ENV!=="production"&&(jt.displayName="LoadingOutlined");var un={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},fn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:un}))},De=v.forwardRef(fn);process.env.NODE_ENV!=="production"&&(De.displayName="PlusOutlined");var hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},mn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:hn}))},St=v.forwardRef(mn);process.env.NODE_ENV!=="production"&&(St.displayName="SaveOutlined");var pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},gn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:pn}))},Ct=v.forwardRef(gn);process.env.NODE_ENV!=="production"&&(Ct.displayName="SearchOutlined");var xn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},yn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:xn}))},wt=v.forwardRef(yn);process.env.NODE_ENV!=="production"&&(wt.displayName="UploadOutlined");const Ie=N.forwardRef((e,t)=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(a.Input,{...e,ref:t,style:{...e.style,fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}})]}));Ie.displayName="CustomInput";const vn=e=>n.jsx(a.Input.Password,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),bn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(a.Input.TextArea,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),jn=e=>n.jsx(a.Input.Search,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),kt=e=>{const t=r=>{const o=r.key;!/^[0-9.]$/.test(o)&&o!=="Backspace"&&r.preventDefault()};return n.jsx(a.InputNumber,{...e,onKeyPress:t,style:{...e.style},controls:!1})},Ot=e=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{marginBottom:4,fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(a.Select,{...e,style:{fontSize:"var(--font-size-medium)",minWidth:"160px"}})]}),Tt=({content:e,children:t,...r})=>n.jsx(a.Tooltip,{title:e,...r,style:{fontSize:"var(--font-size-medium)"},children:t}),Sn=({fields:e,filters:t,onFilter:r,onClearFilters:o,localeCode:s="es",actions:i=[],onAdvancedFilters:c,loading:f=!1,defaultValues:d={},activeFiltersCount:l=0,onFiltersChange:h,extra:u,translations:p={}})=>{const[m,x]=N.useState(()=>t||d||{}),y=N.useRef(null);N.useEffect(()=>{t&&x(t)},[t]);const C=(g,O)=>{const j={...m,[g]:O};x(j),h==null||h(j)},D=()=>{r(m)},_=()=>{x({}),o==null||o()},L=(g=>g<=2?12:g<=3?8:g<=4?6:4)(e.length);return n.jsxs("div",{ref:y,style:{padding:"12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12},children:[n.jsxs(a.Row,{justify:"end",align:"middle",children:[u&&n.jsx(a.Col,{children:u}),n.jsx(a.Col,{style:{marginLeft:u?"0":"auto"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[i.map((g,O)=>!g.hide&&n.jsx(Tt,{content:g.tooltip,placement:"left",getPopupContainer:()=>y.current||document.body,children:n.jsx(V,{size:"small",icon:g.icon,onClick:g.onClick,style:{border:"none",background:"none"},loading:g.loading})},O)),c&&n.jsx(a.Badge,{count:l,size:"small",offset:[-3,3],style:{backgroundColor:"#1b1464",fontSize:"5px",color:"#fff",borderRadius:"50%",minWidth:"12px",height:"12px",lineHeight:"12px"},children:n.jsx(V,{size:"small",icon:n.jsx(Re,{}),onClick:c,style:{border:"none",background:"none"}})})]})})]}),n.jsxs(a.Row,{gutter:[8,8],children:[e.map(g=>n.jsx(a.Col,{xs:24,sm:12,md:4,style:{minWidth:0,maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{className:"custom-filter-toolbar-field",style:{width:"100%"},children:[g.label&&n.jsx("label",{style:{display:"block",marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:g.label}),{text:n.jsx(Ie,{placeholder:g.placeholder,value:m[g.key],onChange:O=>C(g.key,O.target.value),style:{width:"100%"}}),number:n.jsx(kt,{placeholder:g.placeholder,value:m[g.key],onChange:O=>C(g.key,O),style:{width:"100%"}}),date:n.jsx(fe,{localeCode:s,onChange:(O,j)=>C(g.key,j),style:{width:"100%"}}),range:n.jsx(fe.RangePicker,{localeCode:s,value:m[g.key]&&m[g.key][0]?[Be(m[g.key][0]),Be(m[g.key][1])]:void 0,onChange:(O,j)=>C(g.key,j),style:{width:"100%"}}),select:n.jsx(Ot,{placeholder:g.placeholder,options:g.options,value:m[g.key],mode:g.mode,allowClear:g.allowClear,showSearch:g.showSearch,optionFilterProp:g.optionFilterProp,filterOption:g.filterOption,onChange:O=>C(g.key,O),style:{width:"100%"},loading:g.isLoading,maxTagCount:"responsive"})}[g.type||"text"]]})},g.key)),n.jsx(a.Col,{xs:24,sm:12,md:L,style:{minWidth:0,alignSelf:"center",maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center",marginTop:19},children:[n.jsx(V,{type:"primary",size:"small",onClick:D,loading:f,disabled:f,text:p.apply||"Aplicar",className:"force-white-text-button"}),n.jsx(V,{size:"small",icon:n.jsx(le,{}),onClick:_,disabled:f})]})})]})]})},Me=({className:e,tooltip:t,...r})=>n.jsx(a.FloatButton,{className:`custom-float-button ${e||""}`,tooltip:t,...r});Me.Group=e=>n.jsx(a.FloatButton.Group,{...e,className:`custom-float-button-group ${e.className||""}`});Me.BackTop=a.FloatButton.BackTop;const Cn=({label:e,...t})=>n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[n.jsx(a.Switch,{...t}),e&&n.jsx("span",{children:e})]}),zt=({title:e,children:t,...r})=>n.jsx(a.Modal,{className:"custom-modal",title:e,...r,children:t});["info","success","error","warning","confirm","destroyAll"].forEach(e=>{zt[e]=a.Modal[e]});const wn={open:({type:e,message:t,description:r,duration:o=3,placement:s="topRight"})=>{a.notification[e]({message:n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:t}),description:r&&n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:r}),duration:o,placement:s,style:{fontSize:"var(--font-size-medium)"}})}},Nt=({label:e,...t})=>n.jsx(a.Radio,{...t,children:e});Nt.Group=e=>n.jsx(a.Radio.Group,{...e});const kn=e=>n.jsx(a.Radio.Group,{...e}),On=({loadingText:e,...t})=>n.jsxs("div",{style:{padding:"1rem"},children:[e&&n.jsx("p",{children:e}),n.jsx(a.Skeleton,{...t})]}),Ze=({size:e="default"})=>{const t=()=>{switch(e){case"small":return{width:"32px",height:"23px"};case"large":return{width:"80px",height:"56px"};default:return{width:"50px",height:"35px"}}};return n.jsxs("div",{style:{display:"inline-block",...t()},children:[n.jsx("style",{children:`
69
+ }`)),N.useEffect(function(){var f=t.current,d=Tr(f);kr(c,"@ant-design-icons",{prepend:!i,csp:o,attachTo:d})},[])},Hr=["icon","className","onClick","style","primaryColor","secondaryColor"],ae={primaryColor:"#333",secondaryColor:"#E6E6E6",calculated:!1};function Br(e){var t=e.primaryColor,r=e.secondaryColor;ae.primaryColor=t,ae.secondaryColor=r||ht(t),ae.calculated=!!r}function Fr(){return M({},ae)}var te=function(t){var r=t.icon,o=t.className,s=t.onClick,i=t.style,c=t.primaryColor,f=t.secondaryColor,d=it(t,Hr),l=v.useRef(),h=ae;if(c&&(h={primaryColor:c,secondaryColor:f||ht(c)}),Lr(l),Mr(Ke(r),"icon should be icon definiton, but got ".concat(r)),!Ke(r))return null;var u=r;return u&&typeof u.icon=="function"&&(u=M(M({},u),{},{icon:u.icon(h.primaryColor,h.secondaryColor)})),we(u.icon,"svg-".concat(u.name),M(M({className:o,onClick:s,style:i,"data-icon":u.name,width:"1em",height:"1em",fill:"currentColor","aria-hidden":"true"},d),{},{ref:l}))};te.displayName="IconReact";te.getTwoToneColors=Fr;te.setTwoToneColors=Br;function pt(e){var t=mt(e),r=st(t,2),o=r[0],s=r[1];return te.setTwoToneColors({primaryColor:o,secondaryColor:s})}function $r(){var e=te.getTwoToneColors();return e.calculated?[e.primaryColor,e.secondaryColor]:e.primaryColor}var Ar=["className","icon","spin","rotate","tabIndex","onClick","twoToneColor"];pt(je.primary);var R=v.forwardRef(function(e,t){var r=e.className,o=e.icon,s=e.spin,i=e.rotate,c=e.tabIndex,f=e.onClick,d=e.twoToneColor,l=it(e,Ar),h=v.useContext(ot),u=h.prefixCls,p=u===void 0?"anticon":u,m=h.rootClassName,x=hr(m,p,$($({},"".concat(p,"-").concat(o.name),!!o.name),"".concat(p,"-spin"),!!s||o.name==="loading"),r),y=c;y===void 0&&f&&(y=-1);var C=i?{msTransform:"rotate(".concat(i,"deg)"),transform:"rotate(".concat(i,"deg)")}:void 0,D=mt(d),_=st(D,2),A=_[0],L=_[1];return v.createElement("span",E({role:"img","aria-label":o.name},l,{ref:t,tabIndex:y,onClick:f,className:x}),v.createElement(te,{icon:o,primaryColor:A,secondaryColor:L,style:C}))});R.displayName="AntdIcon";R.getTwoToneColor=$r;R.setTwoToneColor=pt;var Vr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},Pr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Vr}))},he=v.forwardRef(Pr);process.env.NODE_ENV!=="production"&&(he.displayName="ArrowLeftOutlined");var Yr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M816 768h-24V428c0-141.1-104.3-257.7-240-277.1V112c0-22.1-17.9-40-40-40s-40 17.9-40 40v38.9c-135.7 19.4-240 136-240 277.1v340h-24c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h216c0 61.8 50.2 112 112 112s112-50.2 112-112h216c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM512 888c-26.5 0-48-21.5-48-48h96c0 26.5-21.5 48-48 48zM304 768V428c0-55.6 21.6-107.8 60.9-147.1S456.4 220 512 220c55.6 0 107.8 21.6 147.1 60.9S720 372.4 720 428v340H304z"}}]},name:"bell",theme:"outlined"},Wr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Yr}))},Ne=v.forwardRef(Wr);process.env.NODE_ENV!=="production"&&(Ne.displayName="BellOutlined");var qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M899.1 869.6l-53-305.6H864c14.4 0 26-11.6 26-26V346c0-14.4-11.6-26-26-26H618V138c0-14.4-11.6-26-26-26H432c-14.4 0-26 11.6-26 26v182H160c-14.4 0-26 11.6-26 26v192c0 14.4 11.6 26 26 26h17.9l-53 305.6a25.95 25.95 0 0025.6 30.4h723c1.5 0 3-.1 4.4-.4a25.88 25.88 0 0021.2-30zM204 390h272V182h72v208h272v104H204V390zm468 440V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H416V674c0-4.4-3.6-8-8-8h-48c-4.4 0-8 3.6-8 8v156H202.8l45.1-260H776l45.1 260H672z"}}]},name:"clear",theme:"outlined"},Gr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:qr}))},le=v.forwardRef(Gr);process.env.NODE_ENV!=="production"&&(le.displayName="ClearOutlined");var Ur={icon:{tag:"svg",attrs:{"fill-rule":"evenodd",viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M799.86 166.31c.02 0 .04.02.08.06l57.69 57.7c.04.03.05.05.06.08a.12.12 0 010 .06c0 .03-.02.05-.06.09L569.93 512l287.7 287.7c.04.04.05.06.06.09a.12.12 0 010 .07c0 .02-.02.04-.06.08l-57.7 57.69c-.03.04-.05.05-.07.06a.12.12 0 01-.07 0c-.03 0-.05-.02-.09-.06L512 569.93l-287.7 287.7c-.04.04-.06.05-.09.06a.12.12 0 01-.07 0c-.02 0-.04-.02-.08-.06l-57.69-57.7c-.04-.03-.05-.05-.06-.07a.12.12 0 010-.07c0-.03.02-.05.06-.09L454.07 512l-287.7-287.7c-.04-.04-.05-.06-.06-.09a.12.12 0 010-.07c0-.02.02-.04.06-.08l57.7-57.69c.03-.04.05-.05.07-.06a.12.12 0 01.07 0c.03 0 .05.02.09.06L512 454.07l287.7-287.7c.04-.04.06-.05.09-.06a.12.12 0 01.07 0z"}}]},name:"close",theme:"outlined"},Kr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Ur}))},gt=v.forwardRef(Kr);process.env.NODE_ENV!=="production"&&(gt.displayName="CloseOutlined");var Xr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M360 184h-8c4.4 0 8-3.6 8-8v8h304v-8c0 4.4 3.6 8 8 8h-8v72h72v-80c0-35.3-28.7-64-64-64H352c-35.3 0-64 28.7-64 64v80h72v-72zm504 72H160c-17.7 0-32 14.3-32 32v32c0 4.4 3.6 8 8 8h60.4l24.7 523c1.6 34.1 29.8 61 63.9 61h454c34.2 0 62.3-26.8 63.9-61l24.7-523H888c4.4 0 8-3.6 8-8v-32c0-17.7-14.3-32-32-32zM731.3 840H292.7l-24.2-512h487l-24.2 512z"}}]},name:"delete",theme:"outlined"},Zr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Xr}))},xt=v.forwardRef(Zr);process.env.NODE_ENV!=="production"&&(xt.displayName="DeleteOutlined");var Qr={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z"}}]},name:"edit",theme:"outlined"},Jr=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:Qr}))},Ee=v.forwardRef(Jr);process.env.NODE_ENV!=="production"&&(Ee.displayName="EditOutlined");var en={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z"}}]},name:"file-excel",theme:"outlined"},tn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:en}))},yt=v.forwardRef(tn);process.env.NODE_ENV!=="production"&&(yt.displayName="FileExcelOutlined");var rn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z"}}]},name:"file-pdf",theme:"outlined"},nn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:rn}))},vt=v.forwardRef(nn);process.env.NODE_ENV!=="production"&&(vt.displayName="FilePdfOutlined");var on={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M880.1 154H143.9c-24.5 0-39.8 26.7-27.5 48L349 597.4V838c0 17.7 14.2 32 31.8 32h262.4c17.6 0 31.8-14.3 31.8-32V597.4L907.7 202c12.2-21.3-3.1-48-27.6-48zM603.4 798H420.6V642h182.9v156zm9.6-236.6l-9.5 16.6h-183l-9.5-16.6L212.7 226h598.6L613 561.4z"}}]},name:"filter",theme:"outlined"},sn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:on}))},Re=v.forwardRef(sn);process.env.NODE_ENV!=="production"&&(Re.displayName="FilterOutlined");var an={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M885.2 446.3l-.2-.8-112.2-285.1c-5-16.1-19.9-27.2-36.8-27.2H281.2c-17 0-32.1 11.3-36.9 27.6L139.4 443l-.3.7-.2.8c-1.3 4.9-1.7 9.9-1 14.8-.1 1.6-.2 3.2-.2 4.8V830a60.9 60.9 0 0060.8 60.8h627.2c33.5 0 60.8-27.3 60.9-60.8V464.1c0-1.3 0-2.6-.1-3.7.4-4.9 0-9.6-1.3-14.1zm-295.8-43l-.3 15.7c-.8 44.9-31.8 75.1-77.1 75.1-22.1 0-41.1-7.1-54.8-20.6S436 441.2 435.6 419l-.3-15.7H229.5L309 210h399.2l81.7 193.3H589.4zm-375 76.8h157.3c24.3 57.1 76 90.8 140.4 90.8 33.7 0 65-9.4 90.3-27.2 22.2-15.6 39.5-37.4 50.7-63.6h156.5V814H214.4V480.1z"}}]},name:"inbox",theme:"outlined"},ln=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:an}))},bt=v.forwardRef(ln);process.env.NODE_ENV!=="production"&&(bt.displayName="InboxOutlined");var cn={icon:{tag:"svg",attrs:{viewBox:"0 0 1024 1024",focusable:"false"},children:[{tag:"path",attrs:{d:"M988 548c-19.9 0-36-16.1-36-36 0-59.4-11.6-117-34.6-171.3a440.45 440.45 0 00-94.3-139.9 437.71 437.71 0 00-139.9-94.3C629 83.6 571.4 72 512 72c-19.9 0-36-16.1-36-36s16.1-36 36-36c69.1 0 136.2 13.5 199.3 40.3C772.3 66 827 103 874 150c47 47 83.9 101.8 109.7 162.7 26.7 63.1 40.2 130.2 40.2 199.3.1 19.9-16 36-35.9 36z"}}]},name:"loading",theme:"outlined"},dn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:cn}))},jt=v.forwardRef(dn);process.env.NODE_ENV!=="production"&&(jt.displayName="LoadingOutlined");var un={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M192 474h672q8 0 8 8v60q0 8-8 8H160q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},fn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:un}))},De=v.forwardRef(fn);process.env.NODE_ENV!=="production"&&(De.displayName="PlusOutlined");var hn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M893.3 293.3L730.7 130.7c-7.5-7.5-16.7-13-26.7-16V112H144c-17.7 0-32 14.3-32 32v736c0 17.7 14.3 32 32 32h736c17.7 0 32-14.3 32-32V338.5c0-17-6.7-33.2-18.7-45.2zM384 184h256v104H384V184zm456 656H184V184h136v136c0 17.7 14.3 32 32 32h320c17.7 0 32-14.3 32-32V205.8l136 136V840zM512 442c-79.5 0-144 64.5-144 144s64.5 144 144 144 144-64.5 144-144-64.5-144-144-144zm0 224c-44.2 0-80-35.8-80-80s35.8-80 80-80 80 35.8 80 80-35.8 80-80 80z"}}]},name:"save",theme:"outlined"},mn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:hn}))},St=v.forwardRef(mn);process.env.NODE_ENV!=="production"&&(St.displayName="SaveOutlined");var pn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M909.6 854.5L649.9 594.8C690.2 542.7 712 479 712 412c0-80.2-31.3-155.4-87.9-212.1-56.6-56.7-132-87.9-212.1-87.9s-155.5 31.3-212.1 87.9C143.2 256.5 112 331.8 112 412c0 80.1 31.3 155.5 87.9 212.1C256.5 680.8 331.8 712 412 712c67 0 130.6-21.8 182.7-62l259.7 259.6a8.2 8.2 0 0011.6 0l43.6-43.5a8.2 8.2 0 000-11.6zM570.4 570.4C528 612.7 471.8 636 412 636s-116-23.3-158.4-65.6C211.3 528 188 471.8 188 412s23.3-116.1 65.6-158.4C296 211.3 352.2 188 412 188s116.1 23.2 158.4 65.6S636 352.2 636 412s-23.3 116.1-65.6 158.4z"}}]},name:"search",theme:"outlined"},gn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:pn}))},Ct=v.forwardRef(gn);process.env.NODE_ENV!=="production"&&(Ct.displayName="SearchOutlined");var xn={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M400 317.7h73.9V656c0 4.4 3.6 8 8 8h60c4.4 0 8-3.6 8-8V317.7H624c6.7 0 10.4-7.7 6.3-12.9L518.3 163a8 8 0 00-12.6 0l-112 141.7c-4.1 5.3-.4 13 6.3 13zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z"}}]},name:"upload",theme:"outlined"},yn=function(t,r){return v.createElement(R,E({},t,{ref:r,icon:xn}))},wt=v.forwardRef(yn);process.env.NODE_ENV!=="production"&&(wt.displayName="UploadOutlined");const Ie=N.forwardRef((e,t)=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(a.Input,{...e,ref:t,style:{...e.style,fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"}})]}));Ie.displayName="CustomInput";const vn=e=>n.jsx(a.Input.Password,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),bn=({label:e,required:t,...r})=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e&&n.jsxs("label",{style:{fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",marginBottom:4},children:[t&&n.jsx("span",{style:{color:"red"},children:"* "}),e]}),n.jsx(a.Input.TextArea,{...r,style:{...r.style,fontSize:"var(--font-size-medium)"}})]}),jn=e=>n.jsx(a.Input.Search,{...e,style:{...e.style,fontSize:"var(--font-size-medium)"}}),kt=e=>{const t=r=>{const o=r.key;!/^[0-9.]$/.test(o)&&o!=="Backspace"&&r.preventDefault()};return n.jsx(a.InputNumber,{...e,onKeyPress:t,style:{...e.style},controls:!1})},Ot=e=>n.jsxs("div",{style:{display:"flex",flexDirection:"column"},children:[e.label&&n.jsxs("label",{style:{marginBottom:4,fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",fontFamily:"var(--font-family)"},children:[e.required&&n.jsx("span",{style:{color:"red"},children:"* "}),e.label]}),n.jsx(a.Select,{...e,style:{fontSize:"var(--font-size-medium)",minWidth:"160px"}})]}),Tt=({content:e,children:t,mouseEnterDelay:r=.3,mouseLeaveDelay:o=0,...s})=>n.jsx(a.Tooltip,{title:e,mouseEnterDelay:r,mouseLeaveDelay:o,...s,style:{fontSize:"var(--font-size-medium)"},children:t}),Sn=({fields:e,filters:t,onFilter:r,onClearFilters:o,localeCode:s="es",actions:i=[],onAdvancedFilters:c,loading:f=!1,defaultValues:d={},activeFiltersCount:l=0,onFiltersChange:h,extra:u,translations:p={}})=>{const[m,x]=N.useState(()=>t||d||{}),y=N.useRef(null);N.useEffect(()=>{t&&x(t)},[t]);const C=(g,O)=>{const j={...m,[g]:O};x(j),h==null||h(j)},D=()=>{r(m)},_=()=>{x({}),o==null||o()},L=(g=>g<=2?12:g<=3?8:g<=4?6:4)(e.length);return n.jsxs("div",{ref:y,style:{padding:"12px",background:"#fff",border:"1px solid #e0e0e0",borderRadius:6,marginBottom:12,position:"relative"},children:[n.jsxs(a.Row,{justify:"end",align:"middle",children:[u&&n.jsx(a.Col,{children:u}),n.jsx(a.Col,{style:{marginLeft:u?"0":"auto"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center"},children:[i.map((g,O)=>!g.hide&&n.jsx(Tt,{content:g.tooltip,placement:"left",mouseEnterDelay:.3,mouseLeaveDelay:0,getPopupContainer:()=>y.current||document.body,children:n.jsx(V,{size:"small",icon:g.icon,onClick:g.onClick,style:{border:"none",background:"none"},loading:g.loading})},O)),c&&n.jsx(a.Badge,{count:l,size:"small",offset:[-3,3],style:{backgroundColor:"#1b1464",fontSize:"5px",color:"#fff",borderRadius:"50%",minWidth:"12px",height:"12px",lineHeight:"12px"},children:n.jsx(V,{size:"small",icon:n.jsx(Re,{}),onClick:c,style:{border:"none",background:"none"}})})]})})]}),n.jsxs(a.Row,{gutter:[8,8],children:[e.map(g=>n.jsx(a.Col,{xs:24,sm:12,md:4,style:{minWidth:0,maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{className:"custom-filter-toolbar-field",style:{width:"100%"},children:[g.label&&n.jsx("label",{style:{display:"block",marginBottom:4,fontFamily:"var(--font-family)",fontWeight:"var(--font-weight-semibold)",fontSize:"var(--font-size-medium)",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis"},children:g.label}),{text:n.jsx(Ie,{placeholder:g.placeholder,value:m[g.key],onChange:O=>C(g.key,O.target.value),style:{width:"100%"}}),number:n.jsx(kt,{placeholder:g.placeholder,value:m[g.key],onChange:O=>C(g.key,O),style:{width:"100%"}}),date:n.jsx(fe,{localeCode:s,onChange:(O,j)=>C(g.key,j),style:{width:"100%"}}),range:n.jsx(fe.RangePicker,{localeCode:s,value:m[g.key]&&m[g.key][0]?[Be(m[g.key][0]),Be(m[g.key][1])]:void 0,onChange:(O,j)=>C(g.key,j),style:{width:"100%"}}),select:n.jsx(Ot,{placeholder:g.placeholder,options:g.options,value:m[g.key],mode:g.mode,allowClear:g.allowClear,showSearch:g.showSearch,optionFilterProp:g.optionFilterProp,filterOption:g.filterOption,onChange:O=>C(g.key,O),style:{width:"100%"},loading:g.isLoading,maxTagCount:"responsive"})}[g.type||"text"]]})},g.key)),n.jsx(a.Col,{xs:24,sm:12,md:L,style:{minWidth:0,alignSelf:"center",maxWidth:"100%",overflow:"hidden"},children:n.jsxs("div",{style:{display:"flex",gap:"8px",alignItems:"center",marginTop:19},children:[n.jsx(V,{type:"primary",size:"small",onClick:D,loading:f,disabled:f,text:p.apply||"Aplicar",className:"force-white-text-button"}),n.jsx(V,{size:"small",icon:n.jsx(le,{}),onClick:_,disabled:f})]})})]})]})},Me=({className:e,tooltip:t,...r})=>n.jsx(a.FloatButton,{className:`custom-float-button ${e||""}`,tooltip:t,...r});Me.Group=e=>n.jsx(a.FloatButton.Group,{...e,className:`custom-float-button-group ${e.className||""}`});Me.BackTop=a.FloatButton.BackTop;const Cn=({label:e,...t})=>n.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"0.5rem"},children:[n.jsx(a.Switch,{...t}),e&&n.jsx("span",{children:e})]}),zt=({title:e,children:t,...r})=>n.jsx(a.Modal,{className:"custom-modal",title:e,...r,children:t});["info","success","error","warning","confirm","destroyAll"].forEach(e=>{zt[e]=a.Modal[e]});const wn={open:({type:e,message:t,description:r,duration:o=3,placement:s="topRight"})=>{a.notification[e]({message:n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:t}),description:r&&n.jsx("div",{style:{fontSize:"var(--font-size-medium)"},children:r}),duration:o,placement:s,style:{fontSize:"var(--font-size-medium)"}})}},Nt=({label:e,...t})=>n.jsx(a.Radio,{...t,children:e});Nt.Group=e=>n.jsx(a.Radio.Group,{...e});const kn=e=>n.jsx(a.Radio.Group,{...e}),On=({loadingText:e,...t})=>n.jsxs("div",{style:{padding:"1rem"},children:[e&&n.jsx("p",{children:e}),n.jsx(a.Skeleton,{...t})]}),Ze=({size:e="default"})=>{const t=()=>{switch(e){case"small":return{width:"32px",height:"23px"};case"large":return{width:"80px",height:"56px"};default:return{width:"50px",height:"35px"}}};return n.jsxs("div",{style:{display:"inline-block",...t()},children:[n.jsx("style",{children:`
70
70
  .helppeople-cloud-svg .svg-elem-1 {
71
71
  stroke-dashoffset: 472.7320556640625px;
72
72
  stroke-dasharray: 472.7320556640625px;
@@ -7,7 +7,7 @@
7
7
  import { jsx as o, jsxs as p, Fragment as ie } from "react/jsx-runtime";
8
8
  import { Alert as ut, Button as Y, Badge as Ce, Avatar as ft, Checkbox as ht, DatePicker as mt, Divider as Ee, Drawer as Fe, Input as pe, InputNumber as pt, Select as gt, Tooltip as Ae, Row as Re, Col as fe, FloatButton as je, Switch as Jt, Modal as yt, notification as er, Radio as Ve, Skeleton as tr, Spin as Xe, Pagination as Pe, Progress as rr, Table as vt, Tabs as nr, Space as Z, Upload as bt, Form as Q, Card as Ie, Tag as or, Menu as ge, Dropdown as xt, Typography as ir, Empty as me, Collapse as ar, Transfer as St, List as q, Popover as lr, Timeline as sr, ConfigProvider as cr, message as ne, Tree as Ct } from "antd";
9
9
  import * as b from "react";
10
- import ae, { createContext as dr, useContext as ur, useEffect as xe, useState as wt, useRef as Me } from "react";
10
+ import ae, { createContext as dr, useContext as ur, useEffect as xe, useState as wt, useRef as De } from "react";
11
11
  import Ze from "dayjs";
12
12
  import fr from "@fullcalendar/react";
13
13
  import hr from "@fullcalendar/daygrid";
@@ -177,7 +177,7 @@ function Qe(e, t) {
177
177
  }
178
178
  return r;
179
179
  }
180
- function _(e) {
180
+ function M(e) {
181
181
  for (var t = 1; t < arguments.length; t++) {
182
182
  var r = arguments[t] != null ? arguments[t] : {};
183
183
  t % 2 ? Qe(Object(r), !0).forEach(function(n) {
@@ -193,7 +193,7 @@ var Ye = {
193
193
  dayFormat: "D",
194
194
  cellMeridiemFormat: "A",
195
195
  monthBeforeYear: !0
196
- }, Or = _(_({}, Ye), {}, {
196
+ }, Or = M(M({}, Ye), {}, {
197
197
  locale: "es_ES",
198
198
  today: "Hoy",
199
199
  now: "Ahora",
@@ -230,7 +230,7 @@ const Tr = {
230
230
  }, Or),
231
231
  timePickerLocale: Object.assign({}, Tr)
232
232
  };
233
- var Nr = _(_({}, Ye), {}, {
233
+ var Nr = M(M({}, Ye), {}, {
234
234
  locale: "en_US",
235
235
  today: "Today",
236
236
  now: "Now",
@@ -275,7 +275,7 @@ const Er = {
275
275
  }, Nr),
276
276
  timePickerLocale: Object.assign({}, Er)
277
277
  };
278
- var Ir = _(_({}, Ye), {}, {
278
+ var Ir = M(M({}, Ye), {}, {
279
279
  locale: "pt_BR",
280
280
  today: "Hoje",
281
281
  now: "Agora",
@@ -304,15 +304,15 @@ var Ir = _(_({}, Ye), {}, {
304
304
  shortWeekDays: ["Dom", "Seg", "Ter", "Qua", "Qui", "Sex", "Sáb"],
305
305
  shortMonths: ["Jan", "Fev", "Mar", "Abr", "Mai", "Jun", "Jul", "Ago", "Set", "Out", "Nov", "Dez"]
306
306
  });
307
- const Mr = {
307
+ const Dr = {
308
308
  placeholder: "Hora"
309
- }, _r = {
309
+ }, Mr = {
310
310
  lang: Object.assign({
311
311
  placeholder: "Selecionar data",
312
312
  rangePlaceholder: ["Data inicial", "Data final"]
313
313
  }, Ir),
314
- timePickerLocale: Object.assign({}, Mr)
315
- }, kt = { es: zr, en: Rr, pt: _r }, Ot = ae.forwardRef(
314
+ timePickerLocale: Object.assign({}, Dr)
315
+ }, kt = { es: zr, en: Rr, pt: Mr }, Ot = ae.forwardRef(
316
316
  ({ localeCode: e = "es", ...t }, r) => {
317
317
  const n = kt[e];
318
318
  return /* @__PURE__ */ o(mt, { ref: r, ...t, locale: n });
@@ -326,8 +326,8 @@ const Tt = ae.forwardRef(
326
326
  }
327
327
  );
328
328
  Tt.displayName = "CustomDatePicker.RangePicker";
329
- const _e = Ot;
330
- _e.RangePicker = Tt;
329
+ const Me = Ot;
330
+ Me.RangePicker = Tt;
331
331
  function zt(e) {
332
332
  var t, r, n = "";
333
333
  if (typeof e == "string" || typeof e == "number") n += e;
@@ -337,7 +337,7 @@ function zt(e) {
337
337
  } else for (r in e) e[r] && (n && (n += " "), n += r);
338
338
  return n;
339
339
  }
340
- function Dr() {
340
+ function _r() {
341
341
  for (var e, t, r = 0, n = "", i = arguments.length; r < i; r++) (e = arguments[r]) && (t = zt(e)) && (n && (n += " "), n += t);
342
342
  return n;
343
343
  }
@@ -353,7 +353,7 @@ const Fo = ({
353
353
  ...i,
354
354
  orientation: r === "horizontal" ? t : void 0,
355
355
  type: r,
356
- className: Dr("hp-divider text-sm font-semibold", n),
356
+ className: _r("hp-divider text-sm font-semibold", n),
357
357
  children: e
358
358
  }
359
359
  ), Ao = ({ title: e, children: t, ...r }) => /* @__PURE__ */ o(Fe, { title: e, ...r, children: t });
@@ -790,7 +790,7 @@ class oe {
790
790
  this.r = r[0], this.g = r[1], this.b = r[2], this.a = r[3];
791
791
  }
792
792
  }
793
- var be = 2, rt = 0.16, Yr = 0.05, Wr = 0.05, Gr = 0.15, It = 5, Mt = 4, qr = [{
793
+ var be = 2, rt = 0.16, Yr = 0.05, Wr = 0.05, Gr = 0.15, It = 5, Dt = 4, qr = [{
794
794
  index: 7,
795
795
  amount: 15
796
796
  }, {
@@ -829,7 +829,7 @@ function ot(e, t, r) {
829
829
  if (e.h === 0 && e.s === 0)
830
830
  return e.s;
831
831
  var n;
832
- return r ? n = e.s - rt * t : t === Mt ? n = e.s + rt : n = e.s + Yr * t, n > 1 && (n = 1), r && t === It && n > 0.1 && (n = 0.1), n < 0.06 && (n = 0.06), Math.round(n * 100) / 100;
832
+ return r ? n = e.s - rt * t : t === Dt ? n = e.s + rt : n = e.s + Yr * t, n > 1 && (n = 1), r && t === It && n > 0.1 && (n = 0.1), n < 0.06 && (n = 0.06), Math.round(n * 100) / 100;
833
833
  }
834
834
  function it(e, t, r) {
835
835
  var n;
@@ -845,7 +845,7 @@ function Ur(e) {
845
845
  r.push(s);
846
846
  }
847
847
  r.push(n);
848
- for (var u = 1; u <= Mt; u += 1) {
848
+ for (var u = 1; u <= Dt; u += 1) {
849
849
  var c = new oe({
850
850
  h: nt(i, u),
851
851
  s: ot(i, u),
@@ -860,8 +860,8 @@ function Ur(e) {
860
860
  return l.toHexString();
861
861
  });
862
862
  }
863
- var De = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
864
- De.primary = De[5];
863
+ var _e = ["#e6f4ff", "#bae0ff", "#91caff", "#69b1ff", "#4096ff", "#1677ff", "#0958d9", "#003eb3", "#002c8c", "#001d66"];
864
+ _e.primary = _e[5];
865
865
  function Kr() {
866
866
  return !!(typeof window < "u" && window.document && window.document.createElement);
867
867
  }
@@ -878,7 +878,7 @@ function Xr(e, t) {
878
878
  return !1;
879
879
  }
880
880
  var at = "data-rc-order", lt = "data-rc-priority", Zr = "rc-util-key", He = /* @__PURE__ */ new Map();
881
- function _t() {
881
+ function Mt() {
882
882
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = e.mark;
883
883
  return t ? t.startsWith("data-") ? t : "data-".concat(t) : Zr;
884
884
  }
@@ -896,7 +896,7 @@ function Ge(e) {
896
896
  return t.tagName === "STYLE";
897
897
  });
898
898
  }
899
- function Dt(e) {
899
+ function _t(e) {
900
900
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
901
901
  if (!Kr())
902
902
  return null;
@@ -922,18 +922,18 @@ function Dt(e) {
922
922
  function Jr(e) {
923
923
  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, r = We(t);
924
924
  return (t.styles || Ge(r)).find(function(n) {
925
- return n.getAttribute(_t(t)) === e;
925
+ return n.getAttribute(Mt(t)) === e;
926
926
  });
927
927
  }
928
928
  function en(e, t) {
929
929
  var r = He.get(e);
930
930
  if (!r || !Xr(document, r)) {
931
- var n = Dt("", t), i = n.parentNode;
931
+ var n = _t("", t), i = n.parentNode;
932
932
  He.set(e, i), e.removeChild(n);
933
933
  }
934
934
  }
935
935
  function tn(e, t) {
936
- var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = We(r), i = Ge(n), a = _(_({}, r), {}, {
936
+ var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, n = We(r), i = Ge(n), a = M(M({}, r), {}, {
937
937
  styles: i
938
938
  });
939
939
  en(n, a);
@@ -946,8 +946,8 @@ function tn(e, t) {
946
946
  }
947
947
  return s.innerHTML !== e && (s.innerHTML = e), s;
948
948
  }
949
- var f = Dt(e, a);
950
- return f.setAttribute(_t(a), t), f;
949
+ var f = _t(e, a);
950
+ return f.setAttribute(Mt(a), t), f;
951
951
  }
952
952
  function Ht(e) {
953
953
  var t;
@@ -1019,11 +1019,11 @@ function ct() {
1019
1019
  }, {});
1020
1020
  }
1021
1021
  function Be(e, t, r) {
1022
- return r ? /* @__PURE__ */ ae.createElement(e.tag, _(_({
1022
+ return r ? /* @__PURE__ */ ae.createElement(e.tag, M(M({
1023
1023
  key: t
1024
1024
  }, ct(e.attrs)), r), (e.children || []).map(function(n, i) {
1025
1025
  return Be(n, "".concat(t, "-").concat(e.tag, "-").concat(i));
1026
- })) : /* @__PURE__ */ ae.createElement(e.tag, _({
1026
+ })) : /* @__PURE__ */ ae.createElement(e.tag, M({
1027
1027
  key: t
1028
1028
  }, ct(e.attrs)), (e.children || []).map(function(n, i) {
1029
1029
  return Be(n, "".concat(t, "-").concat(e.tag, "-").concat(i));
@@ -1112,7 +1112,7 @@ function pn(e) {
1112
1112
  he.primaryColor = t, he.secondaryColor = r || Bt(t), he.calculated = !!r;
1113
1113
  }
1114
1114
  function gn() {
1115
- return _({}, he);
1115
+ return M({}, he);
1116
1116
  }
1117
1117
  var le = function(t) {
1118
1118
  var r = t.icon, n = t.className, i = t.onClick, a = t.style, s = t.primaryColor, u = t.secondaryColor, c = Rt(t, mn), l = b.useRef(), f = he;
@@ -1122,9 +1122,9 @@ var le = function(t) {
1122
1122
  }), hn(l), un(st(r), "icon should be icon definiton, but got ".concat(r)), !st(r))
1123
1123
  return null;
1124
1124
  var d = r;
1125
- return d && typeof d.icon == "function" && (d = _(_({}, d), {}, {
1125
+ return d && typeof d.icon == "function" && (d = M(M({}, d), {}, {
1126
1126
  icon: d.icon(f.primaryColor, f.secondaryColor)
1127
- })), Be(d.icon, "svg-".concat(d.name), _(_({
1127
+ })), Be(d.icon, "svg-".concat(d.name), M(M({
1128
1128
  className: n,
1129
1129
  onClick: i,
1130
1130
  style: a,
@@ -1152,14 +1152,14 @@ function yn() {
1152
1152
  return e.calculated ? [e.primaryColor, e.secondaryColor] : e.primaryColor;
1153
1153
  }
1154
1154
  var vn = ["className", "icon", "spin", "rotate", "tabIndex", "onClick", "twoToneColor"];
1155
- Ft(De.primary);
1155
+ Ft(_e.primary);
1156
1156
  var R = /* @__PURE__ */ b.forwardRef(function(e, t) {
1157
1157
  var r = e.className, n = e.icon, i = e.spin, a = e.rotate, s = e.tabIndex, u = e.onClick, c = e.twoToneColor, l = Rt(e, vn), f = b.useContext(Nt), d = f.prefixCls, m = d === void 0 ? "anticon" : d, h = f.rootClassName, y = Pr(h, m, F(F({}, "".concat(m, "-").concat(n.name), !!n.name), "".concat(m, "-spin"), !!i || n.name === "loading"), r), v = s;
1158
1158
  v === void 0 && u && (v = -1);
1159
1159
  var w = a ? {
1160
1160
  msTransform: "rotate(".concat(a, "deg)"),
1161
1161
  transform: "rotate(".concat(a, "deg)")
1162
- } : void 0, I = $t(c), D = Et(I, 2), A = D[0], H = D[1];
1162
+ } : void 0, I = $t(c), _ = Et(I, 2), A = _[0], H = _[1];
1163
1163
  return /* @__PURE__ */ b.createElement("span", E({
1164
1164
  role: "img",
1165
1165
  "aria-label": n.name
@@ -1213,19 +1213,19 @@ var Nn = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "fa
1213
1213
  }));
1214
1214
  }, Rn = /* @__PURE__ */ b.forwardRef(En);
1215
1215
  process.env.NODE_ENV !== "production" && (Rn.displayName = "DeleteOutlined");
1216
- var In = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, name: "edit", theme: "outlined" }, Mn = function(t, r) {
1216
+ var In = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M257.7 752c2 0 4-.2 6-.5L431.9 722c2-.4 3.9-1.3 5.3-2.8l423.9-423.9a9.96 9.96 0 000-14.1L694.9 114.9c-1.9-1.9-4.4-2.9-7.1-2.9s-5.2 1-7.1 2.9L256.8 538.8c-1.5 1.5-2.4 3.3-2.8 5.3l-29.5 168.2a33.5 33.5 0 009.4 29.8c6.6 6.4 14.9 9.9 23.8 9.9zm67.4-174.4L687.8 215l73.3 73.3-362.7 362.6-88.9 15.7 15.6-89zM880 836H144c-17.7 0-32 14.3-32 32v36c0 4.4 3.6 8 8 8h784c4.4 0 8-3.6 8-8v-36c0-17.7-14.3-32-32-32z" } }] }, name: "edit", theme: "outlined" }, Dn = function(t, r) {
1217
1217
  return /* @__PURE__ */ b.createElement(R, E({}, t, {
1218
1218
  ref: r,
1219
1219
  icon: In
1220
1220
  }));
1221
- }, At = /* @__PURE__ */ b.forwardRef(Mn);
1221
+ }, At = /* @__PURE__ */ b.forwardRef(Dn);
1222
1222
  process.env.NODE_ENV !== "production" && (At.displayName = "EditOutlined");
1223
- var _n = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z" } }] }, name: "file-excel", theme: "outlined" }, Dn = function(t, r) {
1223
+ var Mn = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M854.6 288.6L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494zM514.1 580.1l-61.8-102.4c-2.2-3.6-6.1-5.8-10.3-5.8h-38.4c-2.3 0-4.5.6-6.4 1.9-5.6 3.5-7.3 10.9-3.7 16.6l82.3 130.4-83.4 132.8a12.04 12.04 0 0010.2 18.4h34.5c4.2 0 8-2.2 10.2-5.7L510 664.8l62.3 101.4c2.2 3.6 6.1 5.7 10.2 5.7H620c2.3 0 4.5-.7 6.5-1.9 5.6-3.6 7.2-11 3.6-16.6l-84-130.4 85.3-132.5a12.04 12.04 0 00-10.1-18.5h-35.7c-4.2 0-8.1 2.2-10.3 5.8l-61.2 102.3z" } }] }, name: "file-excel", theme: "outlined" }, _n = function(t, r) {
1224
1224
  return /* @__PURE__ */ b.createElement(R, E({}, t, {
1225
1225
  ref: r,
1226
- icon: _n
1226
+ icon: Mn
1227
1227
  }));
1228
- }, Hn = /* @__PURE__ */ b.forwardRef(Dn);
1228
+ }, Hn = /* @__PURE__ */ b.forwardRef(_n);
1229
1229
  process.env.NODE_ENV !== "production" && (Hn.displayName = "FileExcelOutlined");
1230
1230
  var Ln = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M531.3 574.4l.3-1.4c5.8-23.9 13.1-53.7 7.4-80.7-3.8-21.3-19.5-29.6-32.9-30.2-15.8-.7-29.9 8.3-33.4 21.4-6.6 24-.7 56.8 10.1 98.6-13.6 32.4-35.3 79.5-51.2 107.5-29.6 15.3-69.3 38.9-75.2 68.7-1.2 5.5.2 12.5 3.5 18.8 3.7 7 9.6 12.4 16.5 15 3 1.1 6.6 2 10.8 2 17.6 0 46.1-14.2 84.1-79.4 5.8-1.9 11.8-3.9 17.6-5.9 27.2-9.2 55.4-18.8 80.9-23.1 28.2 15.1 60.3 24.8 82.1 24.8 21.6 0 30.1-12.8 33.3-20.5 5.6-13.5 2.9-30.5-6.2-39.6-13.2-13-45.3-16.4-95.3-10.2-24.6-15-40.7-35.4-52.4-65.8zM421.6 726.3c-13.9 20.2-24.4 30.3-30.1 34.7 6.7-12.3 19.8-25.3 30.1-34.7zm87.6-235.5c5.2 8.9 4.5 35.8.5 49.4-4.9-19.9-5.6-48.1-2.7-51.4.8.1 1.5.7 2.2 2zm-1.6 120.5c10.7 18.5 24.2 34.4 39.1 46.2-21.6 4.9-41.3 13-58.9 20.2-4.2 1.7-8.3 3.4-12.3 5 13.3-24.1 24.4-51.4 32.1-71.4zm155.6 65.5c.1.2.2.5-.4.9h-.2l-.2.3c-.8.5-9 5.3-44.3-8.6 40.6-1.9 45 7.3 45.1 7.4zm191.4-388.2L639.4 73.4c-6-6-14.1-9.4-22.6-9.4H192c-17.7 0-32 14.3-32 32v832c0 17.7 14.3 32 32 32h640c17.7 0 32-14.3 32-32V311.3c0-8.5-3.4-16.7-9.4-22.7zM790.2 326H602V137.8L790.2 326zm1.8 562H232V136h302v216a42 42 0 0042 42h216v494z" } }] }, name: "file-pdf", theme: "outlined" }, Bn = function(t, r) {
1231
1231
  return /* @__PURE__ */ b.createElement(R, E({}, t, {
@@ -1419,12 +1419,16 @@ const jo = (e) => /* @__PURE__ */ o(
1419
1419
  ), ro = ({
1420
1420
  content: e,
1421
1421
  children: t,
1422
- ...r
1422
+ mouseEnterDelay: r = 0.3,
1423
+ mouseLeaveDelay: n = 0,
1424
+ ...i
1423
1425
  }) => /* @__PURE__ */ o(
1424
1426
  Ae,
1425
1427
  {
1426
1428
  title: e,
1427
- ...r,
1429
+ mouseEnterDelay: r,
1430
+ mouseLeaveDelay: n,
1431
+ ...i,
1428
1432
  style: {
1429
1433
  fontSize: "var(--font-size-medium)"
1430
1434
  },
@@ -1447,7 +1451,7 @@ const jo = (e) => /* @__PURE__ */ o(
1447
1451
  }) => {
1448
1452
  const [h, y] = wt(
1449
1453
  () => t || c || {}
1450
- ), v = Me(null);
1454
+ ), v = De(null);
1451
1455
  xe(() => {
1452
1456
  t && y(t);
1453
1457
  }, [t]);
@@ -1456,7 +1460,7 @@ const jo = (e) => /* @__PURE__ */ o(
1456
1460
  y(S), f == null || f(S);
1457
1461
  }, I = () => {
1458
1462
  r(h);
1459
- }, D = () => {
1463
+ }, _ = () => {
1460
1464
  y({}), n == null || n();
1461
1465
  }, H = ((g) => g <= 2 ? 12 : g <= 3 ? 8 : g <= 4 ? 6 : 4)(e.length);
1462
1466
  return /* @__PURE__ */ p(
@@ -1468,7 +1472,8 @@ const jo = (e) => /* @__PURE__ */ o(
1468
1472
  background: "#fff",
1469
1473
  border: "1px solid #e0e0e0",
1470
1474
  borderRadius: 6,
1471
- marginBottom: 12
1475
+ marginBottom: 12,
1476
+ position: "relative"
1472
1477
  },
1473
1478
  children: [
1474
1479
  /* @__PURE__ */ p(Re, { justify: "end", align: "middle", children: [
@@ -1480,6 +1485,8 @@ const jo = (e) => /* @__PURE__ */ o(
1480
1485
  {
1481
1486
  content: g.tooltip,
1482
1487
  placement: "left",
1488
+ mouseEnterDelay: 0.3,
1489
+ mouseLeaveDelay: 0,
1483
1490
  getPopupContainer: () => v.current || document.body,
1484
1491
  children: /* @__PURE__ */ o(
1485
1492
  V,
@@ -1575,7 +1582,7 @@ const jo = (e) => /* @__PURE__ */ o(
1575
1582
  }
1576
1583
  ),
1577
1584
  date: /* @__PURE__ */ o(
1578
- _e,
1585
+ Me,
1579
1586
  {
1580
1587
  localeCode: i,
1581
1588
  onChange: (T, S) => w(g.key, S),
@@ -1583,7 +1590,7 @@ const jo = (e) => /* @__PURE__ */ o(
1583
1590
  }
1584
1591
  ),
1585
1592
  range: /* @__PURE__ */ o(
1586
- _e.RangePicker,
1593
+ Me.RangePicker,
1587
1594
  {
1588
1595
  localeCode: i,
1589
1596
  value: h[g.key] && h[g.key][0] ? [Ze(h[g.key][0]), Ze(h[g.key][1])] : void 0,
@@ -1643,7 +1650,7 @@ const jo = (e) => /* @__PURE__ */ o(
1643
1650
  {
1644
1651
  size: "small",
1645
1652
  icon: /* @__PURE__ */ o(ke, {}),
1646
- onClick: D,
1653
+ onClick: _,
1647
1654
  disabled: u
1648
1655
  }
1649
1656
  )
@@ -2677,7 +2684,7 @@ const ho = {
2677
2684
  allowImages: m = !0,
2678
2685
  ...h
2679
2686
  }) => {
2680
- const y = Me(null), v = Me(null), w = n ?? (m ? po : go), I = i ?? (m ? yo : vo);
2687
+ const y = De(null), v = De(null), w = n ?? (m ? po : go), I = i ?? (m ? yo : vo);
2681
2688
  xe(() => {
2682
2689
  !m && y.current && y.current.getEditor().clipboard.addMatcher("IMG", () => new mo());
2683
2690
  }, [m]), xe(() => {
@@ -2694,7 +2701,7 @@ const ho = {
2694
2701
  };
2695
2702
  }
2696
2703
  }, [f, c, l]);
2697
- const D = {
2704
+ const _ = {
2698
2705
  width: typeof u == "number" ? `${u}px` : u,
2699
2706
  height: f ? "auto" : typeof s == "number" ? `${s}px` : s,
2700
2707
  minHeight: typeof l == "number" ? `${l}px` : l,
@@ -2715,7 +2722,7 @@ const ho = {
2715
2722
  {
2716
2723
  ref: v,
2717
2724
  className: `custom-rich-text-editor ${f ? "auto-resize" : "fixed-height"} ${d}`,
2718
- style: D,
2725
+ style: _,
2719
2726
  children: /* @__PURE__ */ o(
2720
2727
  gr,
2721
2728
  {
@@ -2918,7 +2925,7 @@ const { Title: xo } = ir, si = ({
2918
2925
  render: v,
2919
2926
  children: w,
2920
2927
  showSelectAll: I = !0,
2921
- selectAllLabels: D,
2928
+ selectAllLabels: _,
2922
2929
  oneWay: A = !1,
2923
2930
  pagination: H = !1,
2924
2931
  // <- seguirá funcionando si NO usas remotePagination
@@ -2951,7 +2958,7 @@ const { Title: xo } = ir, si = ({
2951
2958
  className: L,
2952
2959
  render: v || ((k) => k.title),
2953
2960
  showSelectAll: I,
2954
- selectAllLabels: D,
2961
+ selectAllLabels: _,
2955
2962
  oneWay: A,
2956
2963
  pagination: ee ? !1 : H,
2957
2964
  // 🔸 anula paginación interna si usamos remota
@@ -2963,13 +2970,13 @@ const { Title: xo } = ir, si = ({
2963
2970
  if (!(B === "both" || B === "left" && k === "left" || B === "right" && k === "right")) return null;
2964
2971
  const C = k === "left" ? S == null ? void 0 : S.left : S == null ? void 0 : S.right;
2965
2972
  if (!C) return null;
2966
- const { page: M, pageSize: K, total: W } = C, G = (S == null ? void 0 : S.simple) ?? !0, X = (S == null ? void 0 : S.showSizeChanger) ?? !0;
2973
+ const { page: D, pageSize: K, total: W } = C, G = (S == null ? void 0 : S.simple) ?? !0, X = (S == null ? void 0 : S.showSizeChanger) ?? !0;
2967
2974
  return /* @__PURE__ */ o("div", { style: { padding: "6px 10px", borderTop: "1px solid #f0f0f0" }, children: /* @__PURE__ */ o(
2968
2975
  Pe,
2969
2976
  {
2970
2977
  size: "small",
2971
2978
  simple: G,
2972
- current: M,
2979
+ current: D,
2973
2980
  total: W,
2974
2981
  pageSize: K,
2975
2982
  showSizeChanger: X,
@@ -3004,7 +3011,7 @@ const { Title: xo } = ir, si = ({
3004
3011
  selectAllLabels: v,
3005
3012
  oneWay: w = !1,
3006
3013
  status: I,
3007
- locale: D,
3014
+ locale: _,
3008
3015
  // Tabla
3009
3016
  leftColumns: A,
3010
3017
  rightColumns: H,
@@ -3026,7 +3033,7 @@ const { Title: xo } = ir, si = ({
3026
3033
  description: C.description,
3027
3034
  disabled: C.disabled || !1,
3028
3035
  chosen: C.chosen || !1
3029
- })), x = n ? (C, M, K) => n(C, M, K) : void 0, L = i ? (C, M) => i(C, M) : void 0, ee = a ? (C, M) => a(C, M) : void 0, te = s ? (C, M) => s(C, M) : void 0, k = [
3036
+ })), x = n ? (C, D, K) => n(C, D, K) : void 0, L = i ? (C, D) => i(C, D) : void 0, ee = a ? (C, D) => a(C, D) : void 0, te = s ? (C, D) => s(C, D) : void 0, k = [
3030
3037
  "hp-transfer",
3031
3038
  "hp-table-transfer",
3032
3039
  h
@@ -3053,11 +3060,11 @@ const { Title: xo } = ir, si = ({
3053
3060
  // anulamos paginación interna; la remota va en footer
3054
3061
  pagination: !1,
3055
3062
  status: I,
3056
- locale: D,
3063
+ locale: _,
3057
3064
  /** FOOTER con Pagination remoto (igual a CustomTransfer) */
3058
3065
  footer: B ? ({ direction: C }) => {
3059
- const M = (O == null ? void 0 : O.position) ?? "left";
3060
- if (!(M === "both" || M === "left" && C === "left" || M === "right" && C === "right")) return null;
3066
+ const D = (O == null ? void 0 : O.position) ?? "left";
3067
+ if (!(D === "both" || D === "left" && C === "left" || D === "right" && C === "right")) return null;
3061
3068
  const W = C === "left" ? O == null ? void 0 : O.left : O == null ? void 0 : O.right;
3062
3069
  if (!W) return null;
3063
3070
  const { page: G, pageSize: X, total: ce } = W, de = (O == null ? void 0 : O.simple) ?? !0, Ke = (O == null ? void 0 : O.showSizeChanger) ?? !0;
@@ -3078,7 +3085,7 @@ const { Title: xo } = ir, si = ({
3078
3085
  };
3079
3086
  return /* @__PURE__ */ o("div", { style: { marginBottom: 12, ...y }, children: /* @__PURE__ */ o(St, { ...ve, children: ({
3080
3087
  direction: C,
3081
- filteredItems: M,
3088
+ filteredItems: D,
3082
3089
  onItemSelect: K,
3083
3090
  onItemSelectAll: W,
3084
3091
  selectedKeys: G,
@@ -3107,7 +3114,7 @@ const { Title: xo } = ir, si = ({
3107
3114
  key: "select-all-data",
3108
3115
  text: "Select all data",
3109
3116
  onSelect: () => {
3110
- const $ = M.map((re) => re.key);
3117
+ const $ = D.map((re) => re.key);
3111
3118
  W($, "replace");
3112
3119
  }
3113
3120
  },
@@ -3115,7 +3122,7 @@ const { Title: xo } = ir, si = ({
3115
3122
  key: "invert-current-page",
3116
3123
  text: "Invert current page",
3117
3124
  onSelect: () => {
3118
- const $ = M.map((Te) => Te.key), re = G, Qt = $.filter(
3125
+ const $ = D.map((Te) => Te.key), re = G, Qt = $.filter(
3119
3126
  (Te) => !re.includes(Te)
3120
3127
  );
3121
3128
  W(Qt, "replace");
@@ -3139,7 +3146,7 @@ const { Title: xo } = ir, si = ({
3139
3146
  showHeader: !0,
3140
3147
  size: T,
3141
3148
  columns: ce,
3142
- dataSource: M,
3149
+ dataSource: D,
3143
3150
  rowKey: typeof g == "function" ? g : (z) => z[g],
3144
3151
  pagination: !1,
3145
3152
  rowSelection: de,
@@ -3316,7 +3323,7 @@ const { Title: xo } = ir, si = ({
3316
3323
  default:
3317
3324
  return "24px";
3318
3325
  }
3319
- })(), ...d } }), D = s ? /* @__PURE__ */ o(
3326
+ })(), ...d } }), _ = s ? /* @__PURE__ */ o(
3320
3327
  Y,
3321
3328
  {
3322
3329
  type: u,
@@ -3352,7 +3359,7 @@ const { Title: xo } = ir, si = ({
3352
3359
  showZero: m,
3353
3360
  offset: h,
3354
3361
  style: f,
3355
- children: D
3362
+ children: _
3356
3363
  }
3357
3364
  );
3358
3365
  }, hi = ({
@@ -3374,7 +3381,7 @@ const { Title: xo } = ir, si = ({
3374
3381
  badgeColor: v,
3375
3382
  showZero: w = !1,
3376
3383
  containerStyle: I,
3377
- popoverTitle: D = "Notificaciones",
3384
+ popoverTitle: _ = "Notificaciones",
3378
3385
  onOpenChange: A,
3379
3386
  headerAction: H,
3380
3387
  maxHeight: g = 400,
@@ -3492,7 +3499,7 @@ const { Title: xo } = ir, si = ({
3492
3499
  marginBottom: "8px"
3493
3500
  },
3494
3501
  children: [
3495
- /* @__PURE__ */ o("span", { style: { fontWeight: 600, fontSize: "14px" }, children: D }),
3502
+ /* @__PURE__ */ o("span", { style: { fontWeight: 600, fontSize: "14px" }, children: _ }),
3496
3503
  H
3497
3504
  ]
3498
3505
  }
@@ -3544,7 +3551,7 @@ const { Title: xo } = ir, si = ({
3544
3551
  lr,
3545
3552
  {
3546
3553
  content: se,
3547
- title: H ? null : D,
3554
+ title: H ? null : _,
3548
3555
  trigger: "click",
3549
3556
  open: S,
3550
3557
  onOpenChange: U,
@@ -3876,7 +3883,7 @@ export {
3876
3883
  $e as Col,
3877
3884
  ri as CustomFilterDrawer,
3878
3885
  ni as CustomFilterDrawerHp,
3879
- _e as DatePicker,
3886
+ Me as DatePicker,
3880
3887
  Rn as DeleteOutlined,
3881
3888
  bi as DirectoryTree,
3882
3889
  Fo as Divider,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "helppeople-ui",
3
- "version": "1.9.5",
3
+ "version": "1.9.6",
4
4
  "description": "Librería de componentes frontend para estilos y diseños estándar.",
5
5
  "main": "dist/my-library.cjs.js",
6
6
  "module": "dist/my-library.es.js",