@xjur-ui/react 4.2.1 → 4.3.2

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.
Files changed (80) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/dist/components/accordion/index.js +1 -1
  3. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  4. package/dist/components/breadcrumb/breadcrumb-separator.js +1 -1
  5. package/dist/components/chip/chip-icon.js +1 -1
  6. package/dist/components/chip/index.js +1 -1
  7. package/dist/components/controls/date-picker/date-picker-value.js +1 -1
  8. package/dist/components/controls/date-picker/index.js +1 -1
  9. package/dist/components/controls/input/input-icon.js +1 -1
  10. package/dist/components/controls/input/input-numeric-stepper.js +1 -1
  11. package/dist/components/custom/andamento-timeline/index.js +1 -1
  12. package/dist/components/custom/centro-custo/centro-custo-add-button.js +1 -1
  13. package/dist/components/custom/centro-custo/centro-custo-close-button.js +1 -1
  14. package/dist/components/custom/centro-custo/centro-custo-content.js +1 -1
  15. package/dist/components/custom/centro-custo/centro-custo-footer.js +1 -1
  16. package/dist/components/custom/centro-custo/centro-custo-trigger.js +1 -1
  17. package/dist/components/custom/empresa/empresa-add-button.js +1 -1
  18. package/dist/components/custom/empresa/empresa-close-button.js +1 -1
  19. package/dist/components/custom/empresa/empresa-content.js +1 -1
  20. package/dist/components/custom/empresa/empresa-footer.js +1 -1
  21. package/dist/components/custom/empresa/empresa-table.js +1 -1
  22. package/dist/components/custom/empresa/empresa-trigger.js +1 -1
  23. package/dist/components/custom/lista-nivelada/lista-nivelada-body.js +1 -1
  24. package/dist/components/custom/lista-nivelada/lista-nivelada-close-button.js +1 -1
  25. package/dist/components/custom/lista-nivelada/lista-nivelada-content.js +1 -1
  26. package/dist/components/custom/lista-nivelada/lista-nivelada-footer.js +1 -1
  27. package/dist/components/custom/lista-nivelada/lista-nivelada.js +1 -1
  28. package/dist/components/custom/lista-nivelada/navigation-grid.js +1 -1
  29. package/dist/components/custom/pessoa/pessoa-add-button.js +1 -1
  30. package/dist/components/custom/pessoa/pessoa-close-button.js +1 -1
  31. package/dist/components/custom/pessoa/pessoa-content.js +1 -1
  32. package/dist/components/custom/pessoa/pessoa-footer.js +1 -1
  33. package/dist/components/custom/pessoa/pessoa-trigger.js +1 -1
  34. package/dist/components/custom/relatorios/index.d.ts +8 -0
  35. package/dist/components/custom/relatorios/index.js +1 -0
  36. package/dist/components/custom/relatorios/relatorios-body.d.ts +5 -0
  37. package/dist/components/custom/relatorios/relatorios-body.js +1 -0
  38. package/dist/components/custom/relatorios/relatorios-content.d.ts +6 -0
  39. package/dist/components/custom/relatorios/relatorios-content.js +1 -0
  40. package/dist/components/custom/relatorios/relatorios-filters.d.ts +16 -0
  41. package/dist/components/custom/relatorios/relatorios-filters.js +1 -0
  42. package/dist/components/custom/relatorios/relatorios-header.d.ts +8 -0
  43. package/dist/components/custom/relatorios/relatorios-header.js +1 -0
  44. package/dist/components/custom/relatorios/relatorios-sidebar.d.ts +8 -0
  45. package/dist/components/custom/relatorios/relatorios-sidebar.js +1 -0
  46. package/dist/components/custom/relatorios/relatorios-table.d.ts +15 -0
  47. package/dist/components/custom/relatorios/relatorios-table.js +1 -0
  48. package/dist/components/custom/relatorios/relatorios-trigger.d.ts +3 -0
  49. package/dist/components/custom/relatorios/relatorios-trigger.js +1 -0
  50. package/dist/components/custom/relatorios/relatorios.d.ts +3 -0
  51. package/dist/components/custom/relatorios/relatorios.js +1 -0
  52. package/dist/components/custom/relatorios/relatorios.types.d.ts +42 -0
  53. package/dist/components/custom/relatorios/relatorios.types.js +0 -0
  54. package/dist/components/custom/xpay-valor-hora/index.d.ts +3 -0
  55. package/dist/components/custom/xpay-valor-hora/index.js +1 -0
  56. package/dist/components/custom/xpay-valor-hora/xpay-valor-hora-sidebar.d.ts +24 -0
  57. package/dist/components/custom/xpay-valor-hora/xpay-valor-hora-sidebar.js +1 -0
  58. package/dist/components/custom/xpay-valor-hora/xpay-valor-hora-table.d.ts +21 -0
  59. package/dist/components/custom/xpay-valor-hora/xpay-valor-hora-table.js +1 -0
  60. package/dist/components/custom/xpay-valor-hora/xpay-valor-hora.d.ts +11 -0
  61. package/dist/components/custom/xpay-valor-hora/xpay-valor-hora.js +1 -0
  62. package/dist/components/full-calendar/calendar-cell.js +1 -1
  63. package/dist/components/full-calendar/calendar-month-view.js +1 -1
  64. package/dist/components/full-calendar/calendar-view-renderer.js +1 -1
  65. package/dist/components/full-calendar/index.js +1 -1
  66. package/dist/components/icon/index.js +1 -1
  67. package/dist/components/password-panel/index.js +1 -1
  68. package/dist/components/password-panel/password-panel.d.ts +1 -1
  69. package/dist/components/password-panel/password-panel.js +1 -1
  70. package/dist/components/sheet/index.js +1 -1
  71. package/dist/components/sheet/sheet-close.js +1 -1
  72. package/dist/components/table/table-row.js +1 -1
  73. package/dist/components/table/table-sort.js +1 -1
  74. package/dist/components/tag/index.js +1 -1
  75. package/dist/components/tag/tag-icon.js +1 -1
  76. package/dist/components/upload/index.js +1 -1
  77. package/dist/index.css +1 -1
  78. package/dist/resources/icons.d.ts +1 -1
  79. package/dist/resources/icons.js +1 -1
  80. package/package.json +5 -3
@@ -0,0 +1 @@
1
+ import{useState as Lt}from"react";import{Slot as _o}from"@radix-ui/react-slot";import{cva as Lo,cx as Ro}from"@xjur-ui/util";import{jsx as Vo}from"react/jsx-runtime";var No=Lo(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function S({asChild:e,className:t,variant:o="primary",size:r="md",appearance:i="solid",...n}){return Vo(e?_o:"button",{className:Ro(No({variant:o,appearance:i,size:r}),t),...n})}import{createContext as zo,useContext as Io}from"react";var J=zo({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function x(){let e=Io(J);if(!e)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return e}import{tv as Ho}from"@xjur-ui/util";var V=Ho({slots:{wrapper:"group flex flex-col gap-small-2x",trigger:["h-large-4x relative","inline-flex w-auto items-center gap-small rounded-small-1x","py-small_1x-alt px-small","bg-layer-2-hover border border-transparent","group-has-[div[data-slot=input-action-slot]]:rounded-r-none","transition-all duration-200"],content:"flex w-full",value:"text-size-body-md font-normal placeholder:text-neutral-placeholder flex-1 outline-none",icon:"size-large text-icon-neutral-3 flex items-center justify-center group-data-[state=open]:rotate-180 transition-transform duration-200",slotText:"size-large flex items-center justify-center !text-size-label-md text-neutral-placeholder",caption:"!text-size-body-sm font-normal",action:"h-large-4x overflow-hidden"},variants:{state:{normal:{trigger:"hover:border-border-layer-1 focus-within:border-primary-idle focus-within:hover:border-primary-idle"},error:{trigger:"border-danger-idle hover:border-danger-idle focus-within:border-danger-idle focus-within:hover:border-danger-idle",caption:"text-danger-label-idle"},disabled:{trigger:"pointer-events-none border-transparent bg-layer-2-idle"}}}});import{jsx as Ao}from"react/jsx-runtime";var{content:Fo}=V();function fe({className:e,...t}){let{state:o}=x();return Ao("div",{className:Fo({className:e,state:o}),...t})}import{jsx as Rt}from"react/jsx-runtime";var{wrapper:Bo}=V();function he({className:e,state:t="normal",customMask:o,variant:r="normal",mask:i,...n}){return Rt(J.Provider,{value:{state:t,customMask:o,mask:i,variant:r},children:Rt("div",{className:Bo({className:e,state:t}),...n})})}import{tv as Oo,twMerge as Wo}from"@xjur-ui/util";import{jsx as Zo}from"react/jsx-runtime";var{trigger:Do}=V();function ge({className:e,...t}){let{state:o,variant:r}=x(),i=Oo({base:["group bg-layer-2-idle relative"],variants:{state:{normal:["border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle"],error:["border-danger-idle hover:border-danger-idle"],disabled:["border border-border-layer-2 opacity-60"]}}}),n=Wo(Do({state:o,className:e}),r==="filter"&&i({state:o,className:e}));return Zo("div",{"aria-disabled":o==="disabled",className:n,...t})}import{jsx as Xo}from"react/jsx-runtime";var{slotText:Eo}=V();function Ce({className:e,...t}){let{state:o}=x();return Xo("span",{className:Eo({className:e,state:o}),...t})}import{NumericFormat as Go}from"react-number-format";import{jsx as Nt}from"react/jsx-runtime";var{value:$o}=V();function qo({className:e,placeholder:t,value:o,...r}){let{state:i,variant:n}=x();return Nt(Go,{className:$o({className:e,state:i}),disabled:i==="disabled",placeholder:n==="filter"?" ":t,readOnly:i==="disabled",value:o||"",...r})}function ve(e){return Nt(qo,{allowNegative:!1,decimalScale:2,decimalSeparator:",",fixedDecimalScale:!0,inputMode:"decimal",thousandSeparator:".",...e})}import*as ke from"@radix-ui/react-popover";import{Slot as Jo}from"@radix-ui/react-slot";import{cx as Yo}from"@xjur-ui/util";import{useVirtualizer as Ko}from"@tanstack/react-virtual";import{useRef as Qo}from"react";import{createContext as Uo}from"react";var Y=Uo({virtualizer:null,enabled:!1});import{jsx as Vt}from"react/jsx-runtime";function K({className:e,asChild:t,children:o,virtualized:r=!1,itemCount:i=0,estimateSize:n=()=>48,overscan:a=5,...c}){let g=t?Jo:"div",f=Qo(null),w=Ko({count:i,getScrollElement:()=>f.current,estimateSize:n,overscan:a,enabled:r});return Vt(Y.Provider,{value:{virtualizer:w,enabled:r},children:Vt(g,{...c,className:Yo(e,"rounded-small scrollbar-thin bg-layer-2-idle border-border-layer-2 shadow-elevation-3 z-1000 max-h-[400px] list-none overflow-x-hidden overflow-y-auto border"),ref:f,children:o})})}import{Slot as ii}from"@radix-ui/react-slot";import{cx as li}from"@xjur-ui/util";import{jsx as pi}from"react/jsx-runtime";import{cx as Li}from"@xjur-ui/util";import{Slot as or}from"@radix-ui/react-slot";import{cva as rr}from"@xjur-ui/util";import{memo as Ht,useState as ar}from"react";import*as xe from"@radix-ui/react-tooltip";import{jsx as Oe}from"react/jsx-runtime";function jo({delayDuration:e=0,...t}){return Oe(xe.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function We({...e}){return Oe(jo,{children:Oe(xe.Root,{"data-slot":"tooltip",...e})})}import*as zt from"@radix-ui/react-tooltip";import{jsx as er}from"react/jsx-runtime";function De({...e}){return er(zt.Trigger,{"data-slot":"tooltip-trigger",...e})}import*as be from"@radix-ui/react-tooltip";import{cx as tr}from"@xjur-ui/util";import{jsx as It}from"react/jsx-runtime";function Ze({className:e,sideOffset:t=1,variant:o="simple",children:r,...i}){return It(be.Portal,{children:It(be.Content,{className:tr("text-size-body-sm z-99999 text-balance","data-[variant=simple]:bg-alt-2 data-[variant=simple]:text-neutral-label data-[variant=simple]:rounded-small-1x data-[variant=simple]:px-small data-[variant=simple]:py-small-1x","data-[variant=rich]:bg-layer-2-idle data-[variant=rich]:text-neutral-dark data-[variant=rich]:rounded-small data-[variant=rich]:border-border-layer-2 data-[variant=rich]:p-large data-[variant=rich]:border","animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",e),"data-slot":"tooltip-content","data-variant":o,sideOffset:t,...i,children:r})})}import{jsx as ye,jsxs as nr}from"react/jsx-runtime";var ir=rr("",{variants:{variant:{body:"",label:"",title:"",headline:""},size:{"sm-2x":"","sm-1x":"",sm:"",md:"",lg:""},weight:{thin:"font-thin",extraLight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extraBold:"font-extrabold",black:"font-black"}},compoundVariants:[{variant:"body",size:"sm-1x",class:"text-size-body-sm-1x"},{variant:"body",size:"sm",class:"text-size-body-sm"},{variant:"body",size:"md",class:"text-size-body-md"},{variant:"body",size:"lg",class:"text-size-body-lg"},{variant:"label",size:"sm-2x",class:"text-size-label-sm-2x"},{variant:"label",size:"sm-1x",class:"text-size-label-sm-1x"},{variant:"label",size:"sm",class:"text-size-label-sm"},{variant:"label",size:"md",class:"text-size-label-md"},{variant:"label",size:"lg",class:"text-size-label-lg"},{variant:"title",size:"sm",class:"text-size-title-sm"},{variant:"title",size:"md",class:"text-size-title-md"},{variant:"title",size:"lg",class:"text-size-title-lg"},{variant:"headline",size:"sm",class:"text-size-headline-sm"},{variant:"headline",size:"md",class:"text-size-headline-md"},{variant:"headline",size:"lg",class:"text-size-headline-lg"}],defaultVariants:{variant:"body",size:"md",weight:"normal"}}),s=Ht(({variant:e,size:t,weight:o,asChild:r,className:i,children:n,...a})=>ye(r?or:"span",{className:ir({variant:e,size:t,weight:o,className:i}),...a,children:n}));s.displayName="Typography";var Ee=Ht(({children:e,...t})=>{let[o,r]=ar(!1);return nr(We,{children:[ye(De,{asChild:!0,children:ye(s,{onMouseEnter:({currentTarget:n})=>{let a=n.scrollWidth>n.clientWidth;r(a),a?n.style.cursor="pointer":n.style.cursor="text"},...t,children:e})}),o&&ye(Ze,{children:e})]})});Ee.displayName="TruncatedTypography";import{jsx as Vi}from"react/jsx-runtime";import{Slot as lr}from"@radix-ui/react-slot";import{cx as Ft}from"@xjur-ui/util";import{useContext as sr}from"react";import{jsx as Xe}from"react/jsx-runtime";function Q({className:e,asChild:t,children:o,renderItem:r,...i}){let n=t?lr:"ul",{virtualizer:a,enabled:c}=sr(Y);if(c&&a&&r){let g=a.getVirtualItems();return Xe(n,{...i,className:Ft("p-small relative flex flex-col",e),style:{height:`${a.getTotalSize()}px`},children:g.map(f=>Xe("div",{className:"absolute top-0 left-0 w-full","data-index":f.index,ref:a.measureElement,style:{transform:`translateY(${f.start}px)`},children:r(f.index)},f.key))})}return Xe(n,{...i,className:Ft("gap-small-1x p-small flex flex-col",e),children:o})}import{Slot as pr}from"@radix-ui/react-slot";import{cx as dr,cva as mr}from"@xjur-ui/util";import{jsx as ur}from"react/jsx-runtime";var cr=mr(["py-medium px-small flex items-center gap-small rounded-small-1x","bg-layer-2-idle text-neutral-dark","hover:bg-layer-2-hover transition-colors duration-100 ease-out","active:bg-layer-2-pressed"],{variants:{size:{md:"h-large-4x",lg:"h-large-7x"},isActive:{true:"bg-primary-alt-active text-primary-label-active hover:bg-primary-alt-hover active:bg-primary-alt-pressed"}},defaultVariants:{size:"md",isActive:!1}});function j({className:e,size:t,isActive:o,asChild:r,...i}){return ur(r?pr:"li",{...i,className:dr(cr({size:t,isActive:o}),e)})}import{tv as fr}from"@xjur-ui/util";var N=fr({slots:{wrapper:"group flex flex-col gap-small-2x",trigger:["h-large-4x w-auto inline-flex cursor-pointer relative","items-center gap-small rounded-small-1x","py-small_1x-alt px-small","bg-layer-2-idle border border-border-layer-2","group-has-[div[data-slot=input-action-slot]]:rounded-r-none","transition-all duration-200"],content:["group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)] group-data-[state=open]:rotate-180 transition-transform duration-200"],icon:"size-large text-icon-neutral-3 flex items-center justify-center",slotText:"size-large flex items-center justify-center !text-size-label-md text-neutral-placeholder",caption:"!text-size-body-sm font-normal"},variants:{state:{normal:{trigger:"hover:border-border-layer-3 data-[state=open]:border-primary-idle data-[state=open]:hover:border-primary-idle"},error:{trigger:"border-danger-idle hover:border-danger-idle data-[state=open]:border-danger-idle data-[state=open]:hover:border-danger-idle",caption:"text-danger-label-idle"},disabled:{trigger:"pointer-events-none border-transparent bg-layer-2-idle"}}}});import{jsx as Ge}from"react/jsx-runtime";var{content:hr}=N();function ee({className:e,sideOffset:t=5,side:o="bottom",align:r="start",children:i,virtualized:n=!1,overscan:a=5,estimateSize:c=()=>32,...g}){let{state:f}=x();return Ge(ke.Portal,{children:Ge(ke.Content,{align:r,className:hr({className:e,state:f}),side:o,sideOffset:t,...g,children:Ge(K,{estimateSize:c,overscan:a,virtualized:n,children:i})})})}import{cx as Pr}from"@xjur-ui/util";var Ot=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance","xlearning","societario","audiencia","pericia","custom_contrato","filial","xfinder"];import{jsx as we,jsxs as gr}from"react/jsx-runtime";function $e(){return gr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[we("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),we("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),we("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),we("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as I,jsxs as Wt}from"react/jsx-runtime";function qe(){return Wt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Wt("g",{clipPath:"url(#clip0_21552_71650)",children:[I("path",{d:"M3 4.9812C4.10457 4.9812 5 4.08577 5 2.9812C5 1.87663 4.10457 0.981201 3 0.981201C1.89543 0.981201 1 1.87663 1 2.9812C1 4.08577 1.89543 4.9812 3 4.9812Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),I("path",{d:"M17.6562 4.5437H9.4375C8.57457 4.5437 7.875 3.84413 7.875 2.9812C7.875 2.11827 8.57457 1.4187 9.4375 1.4187H17.6562C18.5192 1.4187 19.2187 2.11827 19.2187 2.9812C19.2187 3.84413 18.5192 4.5437 17.6562 4.5437Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),I("path",{d:"M3 12C4.10457 12 5 11.1046 5 10C5 8.89543 4.10457 8 3 8C1.89543 8 1 8.89543 1 10C1 11.1046 1.89543 12 3 12Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),I("path",{d:"M17.6562 11.5625H9.4375C8.57457 11.5625 7.875 10.8629 7.875 10C7.875 9.13707 8.57457 8.4375 9.4375 8.4375H17.6562C18.5192 8.4375 19.2187 9.13707 19.2187 10C19.2187 10.8629 18.5192 11.5625 17.6562 11.5625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),I("path",{d:"M3 19.1C4.10457 19.1 5 18.2045 5 17.1C5 15.9954 4.10457 15.1 3 15.1C1.89543 15.1 1 15.9954 1 17.1C1 18.2045 1.89543 19.1 3 19.1Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),I("path",{d:"M17.6562 18.6625H9.4375C8.57457 18.6625 7.875 17.9629 7.875 17.1C7.875 16.237 8.57457 15.5375 9.4375 15.5375H17.6562C18.5192 15.5375 19.2187 16.237 19.2187 17.1C19.2187 17.9629 18.5192 18.6625 17.6562 18.6625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),I("defs",{children:I("clipPath",{id:"clip0_21552_71650",children:I("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as Pe,jsxs as Cr}from"react/jsx-runtime";function Ue(){return Cr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Pe("path",{d:"M9.85352 0.65332C9.93553 0.58296 10.0643 0.582237 10.1465 0.652344C12.0919 2.4217 14.3958 3.32823 17.2881 3.47949C17.9164 3.51234 18.3483 3.9816 18.3564 4.48242C18.3601 4.71041 18.3663 4.94321 18.3779 5.18164C18.4292 7.71562 18.4747 10.5595 17.4619 13.1299C16.4662 15.6568 14.4201 17.976 10.1338 19.3789C10.1172 19.3844 10.0987 19.3889 10.0791 19.3926C10.0273 19.4023 9.97265 19.4023 9.9209 19.3926L9.86621 19.3789C5.56766 17.9759 3.52294 15.6506 2.53027 13.1211C1.52052 10.5478 1.57173 7.70475 1.62305 5.18164C1.6346 4.94331 1.64092 4.71049 1.64453 4.48242C1.65264 3.98173 2.08381 3.51252 2.71191 3.47949C5.60393 3.32832 7.90727 2.42121 9.85254 0.652344L9.85352 0.65332Z",fill:"#E5C8FF",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),Pe("path",{d:"M10 4.40039C13.0928 4.40039 15.5996 6.90721 15.5996 10C15.5996 13.0928 13.0928 15.5996 10 15.5996C6.90721 15.5996 4.40039 13.0928 4.40039 10C4.40039 6.90721 6.90721 4.40039 10 4.40039Z",fill:"white",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),Pe("path",{d:"M12.4915 8.88L9.13148 12.24",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Pe("path",{d:"M7.36005 10.5645L9.13144 12.2399",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as Se,jsxs as vr}from"react/jsx-runtime";function Je(){return vr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Se("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Se("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Se("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),Se("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as X,jsxs as xr}from"react/jsx-runtime";function Ye(){return xr("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[X("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",fill:"#FFBACF"}),X("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),X("path",{d:"M2.49985 4.50473L6.16327 0.841309C6.16327 0.841309 10.6537 0.841309 12.8796 0.841309C13.5539 0.841309 14.1007 1.38809 14.1007 2.06246C14.1007 5.01944 14.1007 12.538 14.1007 15.495C14.1007 16.1694 13.554 16.7162 12.8796 16.7162C10.651 16.7162 5.9496 16.7162 3.721 16.7162C3.04663 16.7162 2.49985 16.1694 2.49985 15.495C2.49985 12.4022 2.49985 4.50473 2.49985 4.50473Z",fill:"white",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),X("path",{d:"M2.49985 5.11533C2.49985 5.11533 4.28943 5.11533 5.55271 5.11533C6.22708 5.11533 6.77387 4.56854 6.77387 3.89417C6.77387 2.63089 6.77387 0.841309 6.77387 0.841309",stroke:"#C72F5F",strokeMiterlimit:"10",strokeWidth:"1.2"}),X("path",{d:"M5.49985 10H10.4998",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),X("path",{d:"M5.49985 13H9.49985",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as Te,jsxs as br}from"react/jsx-runtime";function Ke(){return br("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Te("path",{d:"M1 17V2.30005H6.8L8.99999 4.50005H15.5V7.90005H4V17L2.5 17.6001L1 17Z",fill:"#F6DD92"}),Te("path",{d:"M4 8.00012C4 11.6633 4 16.0001 4 16.0001C4 17.0001 3.5 17.6931 2.5 17.6931C1.5 17.6931 1 17.0001 1 16.0001V2.30725H3.24067",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Te("path",{d:"M3.24076 2.30713H6.47454L8.7458 4.37844H15.5797V8.00006H19.0001V16.5727C19.0001 17.1915 18.4985 17.6931 17.8798 17.6931H2.12042",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Te("path",{d:"M4 8H16",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as W,jsxs as Dt}from"react/jsx-runtime";function Qe(){return Dt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Dt("g",{clipPath:"url(#clip0_21559_72048)",children:[W("path",{d:"M17.4506 8.94043V18.3304C17.4506 18.9598 16.9425 19.4699 16.3157 19.4699H3.68428C3.05748 19.4699 2.54932 18.9598 2.54932 18.3304V8.94043",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),W("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",fill:"#FDC6C6"}),W("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),W("path",{d:"M17.3634 8.67363C17.5986 8.83359 17.8726 8.91816 18.1557 8.91812C18.6259 8.91812 19.0639 8.68503 19.3274 8.29464C19.7648 7.64652 19.5954 6.76199 18.9499 6.32285L17.0724 5.0457L14.2483 3.12457L10.7936 0.774526C10.5586 0.614683 10.2843 0.530151 10.0004 0.530151C9.71652 0.530151 9.44222 0.614644 9.20722 0.774526L1.05105 6.32285C0.738314 6.53558 0.526868 6.85781 0.45554 7.23023C0.384212 7.60265 0.461634 7.9807 0.673509 8.29464C0.936986 8.68503 1.37503 8.91812 1.84523 8.91812C2.12839 8.91812 2.40234 8.83359 2.63745 8.67367L10.0004 3.66492L17.3634 8.67363Z",fill:"#FDC6C6",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),W("defs",{children:W("clipPath",{id:"clip0_21559_72048",children:W("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as te,jsxs as Zt}from"react/jsx-runtime";function je(){return Zt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Zt("g",{clipPath:"url(#clip0_21561_72217)",children:[te("path",{d:"M9.98145 0.599609C15.1635 0.608044 19.4004 4.83852 19.4004 10C19.4004 15.1615 15.1636 19.3909 9.98145 19.3994C-2.5284 18.8998 -2.52587 1.09731 9.98145 0.599609Z",fill:"#DBF1FF",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),te("path",{d:"M13.4527 13.5208C11.5082 15.4654 8.35554 15.4654 6.41101 13.5208C1.91808 8.68266 8.61718 1.98702 13.4527 6.47909",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),te("defs",{children:te("clipPath",{id:"clip0_21561_72217",children:te("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as H,jsxs as Et}from"react/jsx-runtime";function et(){return Et("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Et("g",{clipPath:"url(#clip0_21563_1851)",children:[H("path",{d:"M13.4002 19H2.40024C1.84795 19 1.40024 18.5523 1.40024 18V2C1.40024 1.44772 1.84795 1 2.40024 1H13.4002C13.9525 1 14.4002 1.44772 14.4002 2V18C14.4002 18.5523 13.9525 19 13.4002 19Z",fill:"#D4E4F9",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),H("path",{clipRule:"evenodd",d:"M9.59316 13.357H12.2247V11.694C12.2247 10.9283 11.8327 10.2335 11.5394 9.78628C11.2875 9.40237 11.1412 8.94427 11.1412 8.45234C11.1412 7.09791 12.25 6 13.6179 6C14.9858 6 16.0947 7.09791 16.0947 8.45234C16.0947 8.94427 15.9483 9.40237 15.6965 9.78628C15.4031 10.2335 15.0111 10.9283 15.0111 11.694V13.357H17.6427C18.4089 13.357 19.0358 13.9778 19.0358 14.7364V16.1159H8.20004V14.7364C8.20004 13.9778 8.82695 13.357 9.59316 13.357Z",fill:"white",fillRule:"evenodd",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),H("path",{clipRule:"evenodd",d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",fill:"white",fillRule:"evenodd"}),H("path",{d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),H("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.59994",x2:"7.39994",y1:"5.4",y2:"5.4"}),H("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.60006",x2:"7.40006",y1:"9.4",y2:"9.4"})]}),H("defs",{children:H("clipPath",{id:"clip0_21563_1851",children:H("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as A,jsxs as Xt}from"react/jsx-runtime";function tt(){return Xt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Xt("g",{clipPath:"url(#clip0_21561_72299)",children:[A("path",{d:"M1.80017 4.25781L5.6283 0.429688C5.6283 0.429688 11.8221 0.429688 14.5606 0.429688C14.899 0.429688 15.2236 0.563984 15.4629 0.803555C15.7022 1.04281 15.8367 1.36727 15.8367 1.7057C15.8367 5.18578 15.8367 14.8142 15.8367 18.2943C15.8367 18.6327 15.7022 18.9571 15.4629 19.1964C15.2236 19.436 14.899 19.5703 14.5606 19.5703C11.8914 19.5703 5.74541 19.5703 3.07623 19.5703C2.3715 19.5703 1.80017 18.9989 1.80017 18.2943C1.80017 14.6167 1.80017 4.25781 1.80017 4.25781Z",fill:"#CEF0EC",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),A("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",fill:"white"}),A("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",stroke:"#1A8377",strokeMiterlimit:"10",strokeWidth:"1.2"}),A("path",{d:"M12.5098 16.3826C15.653 16.3826 18.201 13.8345 18.201 10.6913C18.201 7.54807 15.653 5 12.5098 5C9.36656 5 6.81848 7.54807 6.81848 10.6913C6.81848 13.8345 9.36656 16.3826 12.5098 16.3826Z",fill:"white",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),A("path",{d:"M10.1386 11.1655L12.0357 13.0626L14.8813 9.26843",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),A("defs",{children:A("clipPath",{id:"clip0_21561_72299",children:A("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as G,jsxs as Gt}from"react/jsx-runtime";function ot(){return Gt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Gt("g",{clipPath:"url(#clip0_21561_73080)",children:[G("path",{d:"M10 0.599609C15.1915 0.599609 19.4004 4.80852 19.4004 10C19.4004 15.1915 15.1915 19.4004 10 19.4004C4.80852 19.4004 0.599609 15.1915 0.599609 10C0.599609 4.80852 4.80852 0.599609 10 0.599609Z",fill:"#ADDFC0",stroke:"#278D50",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),G("path",{d:"M10 16C13.3137 16 16 13.3137 16 10C16 6.68629 13.3137 4 10 4C6.68629 4 4 6.68629 4 10C4 13.3137 6.68629 16 10 16Z",fill:"white"}),G("path",{d:"M9.36046 16.0641V14.6227C8.73046 14.486 8.19534 14.2016 7.75511 13.7693C7.31499 13.3369 7.00701 12.7998 6.83118 12.1581L8.27653 11.584C8.36891 12.0238 8.60641 12.4106 8.98903 12.7441C9.37165 13.0778 9.76278 13.2447 10.1624 13.2447C10.6181 13.2447 10.9856 13.132 11.2647 12.9066C11.5438 12.6814 11.6833 12.3911 11.6833 12.0357C11.6833 11.6985 11.548 11.4115 11.2772 11.1748C11.0065 10.9382 10.5347 10.7051 9.86189 10.4756C8.94475 10.1479 8.26903 9.7783 7.83475 9.36663C7.40046 8.95508 7.18332 8.42812 7.18332 7.78574C7.18332 7.20193 7.3732 6.68859 7.75296 6.24574C8.13284 5.803 8.66868 5.50758 9.36046 5.35949V3.93591H10.7101V5.35949C11.5787 5.51377 12.1631 5.85252 12.4633 6.37573C12.7634 6.89907 12.9223 7.18401 12.9399 7.23056L11.5747 7.79109C11.4822 7.48728 11.2924 7.23276 11.0053 7.02752C10.7183 6.82228 10.4064 6.71966 10.0696 6.71966C9.6729 6.71966 9.34689 6.81829 9.09153 7.01556C8.8363 7.2127 8.70868 7.45324 8.70868 7.73716C8.70868 8.02681 8.84677 8.27746 9.12296 8.48913C9.39927 8.70079 9.94784 8.94639 10.7687 9.22591C11.6134 9.50544 12.2313 9.86901 12.6222 10.3166C13.0132 10.7642 13.2087 11.3373 13.2087 12.0357C13.2087 12.7257 12.9856 13.3071 12.5394 13.7798C12.0932 14.2527 11.4834 14.5515 10.7101 14.6763V16.0641H9.36046Z",fill:"#278D50"})]}),G("defs",{children:G("clipPath",{id:"clip0_21561_73080",children:G("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as D,jsxs as $t}from"react/jsx-runtime";function rt(){return $t("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[$t("g",{clipPath:"url(#clip0_21559_72026)",children:[D("path",{d:"M6.3189 13.681L0.999756 19.0002",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),D("path",{d:"M7.62981 14.224C8.65376 14.224 9.48383 13.394 9.48383 12.37C9.48383 11.3461 8.65376 10.516 7.62981 10.516C6.60586 10.516 5.77579 11.3461 5.77579 12.37C5.77579 13.394 6.60586 14.224 7.62981 14.224Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),D("path",{d:"M19 7.8011L12.1988 0.999878L9.57689 3.62181L16.3781 10.423L19 7.8011Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),D("path",{d:"M10.1661 4.21118L3.08118 7.82115L0.999878 19.0001L12.1789 16.9188L15.7888 9.83387",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),D("defs",{children:D("clipPath",{id:"clip0_21559_72026",children:D("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as B,jsxs as at}from"react/jsx-runtime";function it(){return at("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[at("g",{clipPath:"url(#clip0_21656_82540)",children:[B("mask",{height:"20",id:"mask0_21656_82540",maskUnits:"userSpaceOnUse",style:{maskType:"luminance"},width:"20",x:"0",y:"0",children:B("path",{d:"M0 1.90735e-06H20V20H0V1.90735e-06Z",fill:"white"})}),at("g",{mask:"url(#mask0_21656_82540)",children:[B("path",{d:"M10.0001 18.827C14.8749 18.827 18.8262 14.8747 18.8262 9.99988C18.8262 5.1251 14.8748 1.17375 10.0001 1.17371C5.12521 1.17371 1.17296 5.12507 1.17291 9.99988C1.17291 14.8747 5.12518 18.827 10.0001 18.827Z",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M7.34192 7.93171C7.34192 6.42577 8.59129 5.21167 10.1101 5.26933C11.491 5.32179 12.6162 6.44698 12.6686 7.82792C12.7047 8.7771 12.244 9.62104 11.5257 10.1206C10.5611 10.7915 10.0063 11.9097 10.0063 13.0847",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M10.5859 15.157H9.41406V13.9851H10.5859V15.157Z",fill:"#69697A"})]})]}),B("defs",{children:B("clipPath",{id:"clip0_21656_82540",children:B("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as oe,jsxs as qt}from"react/jsx-runtime";function nt(){return qt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[qt("g",{clipPath:"url(#clip0_21595_70787)",children:[oe("path",{d:"M12.1139 11.8496C13.0146 11.8496 13.8963 11.9394 14.7594 12.1182L15.1285 12.2002C15.986 12.4045 16.8238 12.6979 17.6422 13.082L17.9918 13.2529C18.4171 13.4698 18.7568 13.7804 19.0162 14.1963V14.1973C19.2708 14.6054 19.4 15.06 19.4 15.5752V18.0518H4.82776V15.5752C4.82781 15.0771 4.95662 14.6275 5.2135 14.2139C5.47352 13.7953 5.81235 13.4814 6.23792 13.2637C7.06633 12.8536 7.9074 12.5337 8.76038 12.3008L9.12756 12.2061C10.1077 11.9683 11.1028 11.8496 12.1139 11.8496ZM12.1139 2.59961C13.1111 2.59961 13.9421 2.94229 14.6403 3.63672C15.3374 4.33011 15.6803 5.15737 15.6803 6.15332C15.6803 7.14942 15.3367 7.97938 14.6383 8.67773C13.9399 9.37601 13.11 9.71973 12.1139 9.71973C11.1178 9.71968 10.2878 9.37609 9.58948 8.67773C8.89112 7.97938 8.54753 7.14942 8.54749 6.15332C8.54749 5.15723 8.8912 4.33018 9.5885 3.63672C10.2866 2.94233 11.1168 2.59965 12.1139 2.59961Z",fill:"#FCCAB1",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"}),oe("path",{d:"M7.88574 11.8496C8.78645 11.8496 9.66812 11.9394 10.5312 12.1182L10.9004 12.2002C11.7578 12.4045 12.5957 12.6979 13.4141 13.082L13.7637 13.2529C14.189 13.4698 14.5286 13.7804 14.7881 14.1963V14.1973C15.0427 14.6054 15.1719 15.06 15.1719 15.5752V18.0518H0.599609V15.5752C0.599656 15.0771 0.728473 14.6275 0.985352 14.2139C1.24537 13.7953 1.5842 13.4814 2.00977 13.2637C2.83818 12.8536 3.67925 12.5337 4.53223 12.3008L4.89941 12.2061C5.87953 11.9683 6.87468 11.8496 7.88574 11.8496ZM7.88574 2.59961C8.88296 2.59961 9.71395 2.94229 10.4121 3.63672C11.1092 4.33011 11.4521 5.15737 11.4521 6.15332C11.4521 7.14942 11.1085 7.97938 10.4102 8.67773C9.71179 9.37601 8.88183 9.71973 7.88574 9.71973C6.88964 9.71968 6.05969 9.37609 5.36133 8.67773C4.66297 7.97938 4.31938 7.14942 4.31934 6.15332C4.31934 5.15723 4.66305 4.33018 5.36035 3.63672C6.05847 2.94233 6.88861 2.59965 7.88574 2.59961Z",fill:"white",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"})]}),oe("defs",{children:oe("clipPath",{id:"clip0_21595_70787",children:oe("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as Me,jsxs as yr}from"react/jsx-runtime";function lt(){return yr("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Me("path",{d:"M14.7422 7.52306C14.5682 7.24589 14.3361 7.03318 14.0461 6.88493C13.5175 6.61422 12.9632 6.4144 12.4024 6.27904C11.8352 6.14368 11.2615 6.07922 10.6685 6.07922C10.0755 6.07922 9.51474 6.14368 8.95396 6.28549C8.74125 6.33705 8.52854 6.39506 8.32228 6.47241C8.58656 6.97517 8.72836 7.53595 8.72836 8.1354C8.72836 8.8702 8.5221 9.55989 8.12247 10.14H15V8.45124C15 8.10961 14.9162 7.80022 14.7422 7.52306Z",fill:"currentColor"}),Me("path",{d:"M12.2929 1.66391C11.8417 1.21915 11.3067 1 10.6686 1C10.0304 1 9.49544 1.21915 9.05069 1.66391C8.60594 2.10866 8.38034 2.64365 8.38034 3.28177C8.38034 3.91989 8.60594 4.45489 9.05069 4.89964C9.49544 5.34439 10.0369 5.56999 10.6686 5.56999C11.3002 5.56999 11.8417 5.34439 12.2929 4.89964C12.7376 4.45489 12.9568 3.91345 12.9568 3.28177C12.9568 2.65009 12.7376 2.10866 12.2929 1.66391Z",fill:"currentColor"}),Me("path",{d:"M3.54608 9.75962C3.10133 9.31487 2.87573 8.77343 2.87573 8.13531C2.87573 7.49719 3.10133 6.96864 3.54608 6.52389C3.99084 6.07914 4.53227 5.85999 5.16395 5.85999C5.79563 5.85999 6.33707 6.07914 6.78182 6.52389C6.92362 6.6657 7.04609 6.82039 7.14278 6.98798C7.34904 7.3296 7.45217 7.7099 7.45217 8.13531C7.45217 8.77343 7.22657 9.31487 6.78182 9.75962C6.64646 9.89498 6.49821 10.011 6.34351 10.1012C5.99544 10.3204 5.60226 10.4235 5.16395 10.4235C4.53227 10.4235 3.99084 10.2044 3.54608 9.75962Z",fill:"currentColor"}),Me("path",{d:"M9.49546 13.3112V15H0.832458V13.3112C0.832458 12.976 0.922698 12.6731 1.09673 12.3895C1.27077 12.1123 1.49636 11.8996 1.78642 11.7514C2.32786 11.4806 2.88219 11.2808 3.44296 11.139C4.01018 11.0037 4.58385 10.9392 5.16396 10.9392C5.74407 10.9392 6.33063 11.0037 6.89785 11.139C7.45862 11.2744 8.00651 11.4742 8.5415 11.7449C8.82511 11.8867 9.05715 12.0994 9.23119 12.383C9.40522 12.6602 9.49546 12.9696 9.49546 13.3112Z",fill:"currentColor"})]})}import{jsx as re,jsxs as Ut}from"react/jsx-runtime";function st(){return Ut("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Ut("g",{clipPath:"url(#clip0_21669_68418)",children:[re("path",{d:"M13.1869 12.1386C13.2272 12.1789 13.2742 12.2191 13.3211 12.246V13.4202C13.3211 14.3194 12.5964 15.0508 11.6973 15.0508H2.42386C1.5247 15.0508 0.800003 14.3194 0.800003 13.4202V4.14681C0.800003 3.24765 1.5247 2.52295 2.42386 2.52295H4.16179C3.81286 3.23422 3.6384 4.0126 3.6384 4.86479C3.6384 6.28063 4.16179 7.56898 5.14818 8.58892C6.14128 9.60215 7.42292 10.139 8.8656 10.139C9.37557 10.139 9.8587 10.0719 10.3083 9.93095C10.4962 9.87727 10.6706 9.81688 10.8384 9.74307L13.1869 12.1386Z",fill:"currentColor"}),re("path",{d:"M13.3144 8.2333L12.2744 7.1731L12.1871 7.08586L12.261 6.98521C12.469 6.68325 12.63 6.35446 12.724 5.97869C12.8313 5.60963 12.8783 5.24728 12.8783 4.85809C12.8783 4.02604 12.6501 3.26779 12.214 2.61019C12.0731 2.38876 11.9053 2.17403 11.704 1.97273C10.9189 1.17422 9.98621 0.785034 8.85891 0.785034C7.7316 0.785034 6.79889 1.18764 6.0138 1.97944C5.84605 2.1539 5.69843 2.33508 5.56422 2.52296C5.0878 3.20069 4.84624 3.97906 4.84624 4.8648C4.84624 5.97869 5.24885 6.94495 6.0138 7.73675C6.79218 8.52854 7.74502 8.92444 8.85891 8.92444C9.24809 8.92444 9.61715 8.87076 9.95266 8.77011C10.315 8.66275 10.6371 8.50841 10.9525 8.28698L11.0464 8.21988L11.1336 8.30711L13.3144 10.5349L14.0593 11.2864L15.2 10.1524L13.3144 8.2333ZM10.5633 6.5826C10.0869 7.05231 9.5165 7.28717 8.85891 7.28717C8.20131 7.28717 7.63095 7.05231 7.16795 6.5826C6.71166 6.10618 6.47009 5.52911 6.47009 4.85809C6.47009 4.18708 6.71166 3.59659 7.16795 3.13359C7.44306 2.83834 7.77186 2.63703 8.13421 2.52296C8.35564 2.44915 8.60392 2.4156 8.85891 2.4156C9.11389 2.4156 9.36217 2.44915 9.5836 2.52296C9.94595 2.63703 10.2747 2.83834 10.5633 3.13359C11.0129 3.6033 11.2477 4.18708 11.2477 4.85809C11.2477 5.52911 11.0129 6.10618 10.5633 6.5826Z",fill:"currentColor"})]}),re("defs",{children:re("clipPath",{id:"clip0_21669_68418",children:re("rect",{fill:"white",height:"16",width:"16"})})})]})}import{jsx as Jt,jsxs as kr}from"react/jsx-runtime";function pt(){return kr("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Jt("path",{d:"M10.3852 1.31957C10.0455 0.973222 9.62592 0.800049 9.13305 0.800049H3.36504C2.87216 0.800049 2.45921 0.973222 2.11287 1.31957C1.77318 1.65925 1.60001 2.07886 1.60001 2.56508V10.3379C1.60001 10.8241 1.77318 11.2437 2.11287 11.5834C2.45255 11.9231 2.87216 12.1029 3.36504 12.1029H9.13305C9.62592 12.1029 10.0455 11.9297 10.3852 11.5834C10.7316 11.2437 10.8981 10.8241 10.8981 10.3379V2.56508C10.8981 2.07886 10.7316 1.65925 10.3852 1.31957ZM7.36135 9.72512H3.63146V8.39302H7.36135V9.72512ZM8.87329 7.1142H3.63146V5.7821H8.87329V7.1142ZM8.87329 4.50995H3.63146V3.17785H8.87329V4.50995Z",fill:"currentColor"}),Jt("path",{d:"M4.69714 15.2001V13.435H12.2302V3.89722H13.9952V13.4284C13.9952 13.9213 13.822 14.3342 13.4824 14.6806C13.1427 15.0202 12.7231 15.1934 12.2302 15.1934H4.69714V15.2001Z",fill:"currentColor"})]})}import{jsx as Yt,jsxs as wr}from"react/jsx-runtime";function dt(){return wr("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[Yt("path",{clipRule:"evenodd",d:"M9.11003 0.226492C8.74585 -0.0186302 8.28362 -0.0676546 7.87742 0.0934257L1.83341 2.51663C1.32916 2.71273 1 3.20298 1 3.74225V15.319C1 15.6342 1.25913 15.8863 1.56728 15.8863H9.12404C9.43919 15.8863 9.69132 15.6342 9.69132 15.319V1.32604C9.69132 0.884821 9.47421 0.471614 9.11003 0.226492ZM7.6323 13.0569H3.06603V11.5301H7.6323V13.0569ZM7.6323 10.0244H3.06603V8.50462H7.6323V10.0244ZM7.6323 6.97786H3.06603V5.4581H7.6323V6.97786Z",fill:"currentColor",fillRule:"evenodd"}),Yt("path",{clipRule:"evenodd",d:"M11.2181 4.17651V15.3261C11.2181 15.5292 11.1761 15.7183 11.092 15.8934H14.4327C14.7479 15.8934 15 15.6412 15 15.3261V5.50017C15 4.77181 14.4047 4.17651 13.6763 4.17651H11.2181Z",fill:"currentColor",fillRule:"evenodd"})]})}import{jsx as Z,jsxs as Kt}from"react/jsx-runtime";function mt(){return Kt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Kt("g",{clipPath:"url(#clip0_21866_73367)",children:[Z("path",{d:"M7.69235 13.7928L8.89891 12.587",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Z("path",{d:"M7.41279 11.1021L6.20627 12.3077",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Z("path",{d:"M5.89727 11.9989L8.00135 14.1015L3.53495 18.5647C2.95422 19.145 2.0131 19.145 1.43237 18.5647C0.851054 17.9838 0.851054 17.0416 1.43237 16.4606L5.89727 11.9989Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Z("path",{d:"M19.0036 7.35576C19.0049 10.8647 16.1613 13.7083 12.6523 13.707C9.14337 13.7058 6.29779 10.8602 6.29654 7.35128C6.29529 3.84234 9.13888 0.998751 12.6478 1C16.1568 1.00125 19.0024 3.84679 19.0036 7.35576Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),Z("defs",{children:Z("clipPath",{id:"clip0_21866_73367",children:Z("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as k}from"react/jsx-runtime";function Qt({name:e}){switch(e){case"agenda":return k($e,{});case"contencioso":return k(Je,{});case"contrato":return k(Ye,{});case"consultivo":return k(Ue,{});case"xsigner":return k(rt,{});case"procuracao":return k(et,{});case"xpay":return k(ot,{});case"imobiliario":return k(Qe,{});case"marcasepatentes":return k(je,{});case"ged":return k(Ke,{});case"regulatorio":return k(tt,{});case"compliance":return k(qe,{});case"xlearning":return k(it,{});case"societario":return k(nt,{});case"audiencia":return k(lt,{});case"pericia":return k(st,{});case"custom_contrato":return k(pt,{});case"filial":return k(dt,{});case"xfinder":return k(mt,{});default:return null}}import{jsx as jt}from"react/jsx-runtime";function y({className:e,filled:t=!1,name:o,...r}){return Ot.includes(o)?jt(Qt,{name:o}):jt("span",{...r,className:Pr("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${t?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...r.style},children:o})}import{jsx as eo}from"react/jsx-runtime";var{icon:Sr}=N();function ae({className:e,name:t,orientation:o="left",...r}){let{state:i}=x();return eo("div",{className:Sr({className:e,state:i}),"data-slot":`control-${o}-slot`,...r,children:eo(y,{name:t})})}import{twMerge as Tr}from"@xjur-ui/util";import*as oo from"@radix-ui/react-popover";import{jsx as to}from"react/jsx-runtime";function ie({className:e,value:t,closeOnSelect:o=!0,...r}){let i=to(j,{className:Tr(e,"cursor-pointer"),value:typeof t=="object"?t?.value:t,...r});return o?to(oo.Close,{asChild:!0,children:i}):i}import{jsx as Mr}from"react/jsx-runtime";function ne(e){return Mr(Q,{...e})}import{twMerge as _r}from"@xjur-ui/util";import{jsx as Lr}from"react/jsx-runtime";function le({className:e,...t}){return Lr(Ee,{className:_r(e,"truncate"),...t})}import*as ro from"@radix-ui/react-popover";import{jsx as ct}from"react/jsx-runtime";var{wrapper:Rr}=N();function se({className:e,state:t="normal",defaultOpen:o,variant:r="normal",modal:i,open:n,onOpenChange:a,...c}){return ct(ro.Root,{defaultOpen:o,modal:i,open:n,onOpenChange:a,children:ct(J.Provider,{value:{state:t,variant:r},children:ct("div",{className:Rr({className:e,state:t}),...c})})})}import{tv as Nr,twMerge as Vr}from"@xjur-ui/util";import*as ao from"@radix-ui/react-popover";import{jsx as Ir}from"react/jsx-runtime";var{trigger:zr}=N();function pe({className:e,...t}){let{state:o,variant:r}=x(),i=Nr({base:["group bg-layer-2-idle"],variants:{state:{normal:["border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle"],error:["border-danger-idle hover:border-danger-idle"],disabled:["border border-border-layer-2 opacity-60"]}}}),n=Vr(zr({state:o,className:e}),r==="filter"&&i({state:o,className:e}));return Ir(ao.Trigger,{className:n,disabled:o==="disabled",...t})}import{twJoin as Fr}from"@xjur-ui/util";import{useMemo as Ar}from"react";import{tv as Hr}from"@xjur-ui/util";import{jsx as io}from"react/jsx-runtime";function ut({className:e,htmlFor:t,children:o,...r}){let{state:i}=x(),n=Hr({base:["group inline-block max-w-full truncate text-left","ease animate-in left-small right-small pointer-events-none absolute top-1/2 -translate-y-1/2 transition-all duration-250","text-size-body-md","group-focus-within:-top-[3px]","group-data-[state=open]:-top-[3px]","group-focus-within:text-size-label-sm-1x group-focus-within:font-medium","group-data-[state=open]:text-size-label-sm-1x group-data-[state=open]:font-medium","group-has-[input:not(:placeholder-shown)]:-top-[3px]","group-has-[input:not(:placeholder-shown)]:text-size-label-sm-1x","group-has-[input:not(:placeholder-shown)]:font-medium","group-has-[div[data-slot=control-left-slot]]:left-large-4x","group-has-[div[data-slot=control-left-slot]]:group-focus-within:left-small","group-has-[div[data-slot=control-left-slot]]:group-has-[input:not(:placeholder-shown)]:left-small","group-has-[div[data-slot=control-left-slot]]:group-data-[state=open]:left-small","group-focus-within:animate-in","group-has-[input:not(:placeholder-shown)]:animate-out","data-[disabled=true]:hidden"],variants:{state:{normal:["group-focus-within:!text-primary-idle group-data-[state=open]:!text-primary-idle","group-has-[input:not(:placeholder-shown)]:!text-primary-idle"],error:["group-focus-within:!text-danger-label-active group-data-[state=open]:!text-danger-label-active","group-has-[input:not(:placeholder-shown)]:!text-danger-label-active"],disabled:[]}}});return io("label",{className:n({className:e,state:i}),htmlFor:t,...r,children:io("span",{className:"rounded-small-1x bg-layer-2-idle max-w-full",children:o})})}import{jsx as _e,jsxs as Br}from"react/jsx-runtime";function de({className:e,value:t,placeholder:o,renderValue:r,...i}){let{variant:n}=x(),a=Ar(()=>{let c=r?r(t??""):typeof t=="object"?t?.label:t;return n==="filter"?c:c||o},[t,o,n,r]);return Br("div",{className:"grid w-full items-center",children:[o&&n==="filter"&&_e(ut,{children:o}),o&&n==="filter"&&_e(s,{className:"invisible col-start-1 row-start-1 self-center",children:o}),_e(s,{className:"text-neutral-dark z-10 col-start-1 row-start-1 self-center text-left",children:a}),_e("input",{...i,"aria-readonly":!0,className:Fr("pointer-events-none",e),hidden:!0,placeholder:" ",readOnly:!0,value:typeof t=="object"?t?.value??"":t??""})]})}import"react";import*as no from"@radix-ui/react-dialog";import{jsx as Or}from"react/jsx-runtime";function ft({...e}){return Or(no.Root,{"data-slot":"sheet",...e})}import*as mo from"@radix-ui/react-dialog";import{tv as Er}from"@xjur-ui/util";import*as lo from"@radix-ui/react-dialog";import{jsx as Wr}from"react/jsx-runtime";function ht({...e}){return Wr(lo.Portal,{"data-slot":"sheet-portal",...e})}import*as so from"@radix-ui/react-dialog";import{cx as Dr}from"@xjur-ui/util";import{jsx as Zr}from"react/jsx-runtime";function gt({className:e,...t}){return Zr(so.Overlay,{className:Dr("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50",e),"data-slot":"sheet-overlay",...t})}import{jsx as po,jsxs as Xr}from"react/jsx-runtime";function Ct({className:e,children:t,side:o="right",overlay:r=!1,...i}){let n=Er({base:["border-border-layer-2 bg-layer-2-idle shadow-elevation-2 fixed z-50 flex flex-col gap-medium","data-[state=open]:animate-in data-[state=closed]:animate-out transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500"],variants:{side:{right:"data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right inset-y-0 right-0 h-full border-l sm:max-w-sm",left:"data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left inset-y-0 left-0 h-full border-r sm:max-w-sm",top:"data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top inset-x-0 top-0 h-auto border-b",bottom:"data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom inset-x-0 bottom-0 h-auto border-t"}},defaultVariants:{side:"right"}});return Xr(ht,{children:[r&&po(gt,{}),po(mo.Content,{className:n({side:o,className:e}),"data-slot":"sheet-content",...i,children:t})]})}import*as Gr from"@radix-ui/react-dialog";import{jsx as f1}from"react/jsx-runtime";import{cx as C1}from"@xjur-ui/util";import*as $r from"@radix-ui/react-dialog";import{jsx as x1}from"react/jsx-runtime";import{cx as qr}from"@xjur-ui/util";import{jsx as Ur}from"react/jsx-runtime";function vt({className:e,...t}){return Ur("div",{className:qr("py-large px-large-2x border-b-border-layer-2 border-b",e),"data-slot":"sheet-header",...t})}import*as co from"@radix-ui/react-dialog";import{jsx as xt}from"react/jsx-runtime";function bt({children:e=xt(S,{appearance:"ghost",size:"icon_md",variant:"tertiary",children:xt(y,{className:"text-icon-neutral-3",name:"close"})}),...t}){return xt(co.Close,{"data-slot":"sheet-close",...t,children:e})}import{cx as Jr}from"@xjur-ui/util";import{jsx as Yr}from"react/jsx-runtime";function yt({className:e,...t}){return Yr("div",{className:Jr("py-large px-large-2x border-t-border-layer-2 mt-auto border-t",e),"data-slot":"sheet-footer",...t})}import{cx as Kr}from"@xjur-ui/util";import{jsx as Qr}from"react/jsx-runtime";function kt({className:e,...t}){return Qr("div",{className:Kr("px-large-2x h-full",e),...t})}import{useState as Po}from"react";import{cx as Fe}from"@xjur-ui/util";import*as Le from"@radix-ui/react-checkbox";import{cx as jr}from"@xjur-ui/util";import{jsx as me,jsxs as ea}from"react/jsx-runtime";function ce({label:e,name:t,className:o,disabled:r=!1,...i}){let n=`field-checkbox-${t}`;return ea("div",{className:"group gap-small flex items-center",children:[me(Le.Root,{disabled:r,...i,className:jr("size-large-alt rounded-small-1x inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary","data-[state=checked]:bg-primary-active data-[state=checked]:border-primary-active","data-[state=checked]:hover:border-primary-idle","disabled:hover:border-border-layer-2 disabled:cursor-not-allowed disabled:opacity-[38%]",o),id:n,name:t,children:me(Le.Indicator,{className:"flex items-center justify-center",children:me(y,{className:"text-neutral-label",name:"check"})})}),!!e&&me(s,{asChild:!0,className:"text-size-body-sm data-[disabled=true]:opacity-38","data-disabled":r,weight:"medium",children:me("label",{htmlFor:n,children:e})})]})}import"react";import*as uo from"@radix-ui/react-dropdown-menu";import{jsx as ta}from"react/jsx-runtime";function wt({...e}){return ta(uo.Root,{"data-slot":"dropdown-menu",...e})}import*as fo from"@radix-ui/react-dropdown-menu";import{jsx as oa}from"react/jsx-runtime";function Pt({...e}){return oa(fo.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}import*as Re from"@radix-ui/react-dropdown-menu";import{cx as ra}from"@xjur-ui/util";import{jsx as St}from"react/jsx-runtime";function Tt({className:e,sideOffset:t=4,align:o="start",side:r="bottom",children:i,...n}){return St(Re.Portal,{children:St(Re.Content,{align:o,className:ra("group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)]",e),"data-slot":"dropdown-menu-content",side:r,sideOffset:t,...n,children:St(K,{children:i})})})}import{jsx as aa}from"react/jsx-runtime";function Mt({...e}){return aa(Q,{...e})}import{jsx as cs}from"react/jsx-runtime";import{cx as na}from"@xjur-ui/util";import"react";import*as ia from"@radix-ui/react-separator";import{cx as gs}from"@xjur-ui/util";import{jsx as vs}from"react/jsx-runtime";import{jsx as ho}from"react/jsx-runtime";function Ne({className:e,...t}){return ho(j,{className:na(e,"cursor-pointer"),...t})}function Ve({...e}){return ho(s,{...e})}import{cx as la}from"@xjur-ui/util";import{jsx as go}from"react/jsx-runtime";function Co({className:e,...t}){return go("div",{className:"text-size-body-md scrollbar-thin relative w-full overflow-hidden transition-all hover:overflow-x-auto","data-slot":"table-container",children:go("table",{className:la("w-full caption-bottom",e),"data-slot":"table",...t})})}import{cx as sa}from"@xjur-ui/util";import{jsx as pa}from"react/jsx-runtime";function vo({className:e,...t}){return pa("tbody",{className:sa("[&_tr]:border-border-layer-2 [&_tr]:border-b [&_tr:last-child]:border-0",e),"data-slot":"table-body",...t})}import{cx as da}from"@xjur-ui/util";import{jsx as ma}from"react/jsx-runtime";function F({className:e,...t}){return ma("td",{className:da("px-small py-none h-large-8x text-left align-middle whitespace-nowrap",e),"data-slot":"table-cell",...t})}import{cx as qs}from"@xjur-ui/util";import{jsx as Js}from"react/jsx-runtime";import{cx as ca}from"@xjur-ui/util";import{jsx as ua}from"react/jsx-runtime";function xo({className:e,...t}){return ua("thead",{className:ca("group/table-header [&_tr]:border-border-layer-2 hover:bg-layer-2-hover [&_tr]:border-b",e),"data-slot":"table-header",...t})}import{cx as fa}from"@xjur-ui/util";import{jsx as ha}from"react/jsx-runtime";function ue({className:e,...t}){return ha("th",{className:fa("group/th text-neutral-placeholder text-size-label-sm h-large-4x py-small-1x px-small text-left align-middle font-medium whitespace-nowrap","relative","animate-in fade-in duration-200 ease-in",e),"data-slot":"table-head",...t})}import _t,{useState as wo}from"react";import{cx as He}from"@xjur-ui/util";import*as b from"react";import*as $ from"@radix-ui/react-radio-group";import{cx as ze}from"@xjur-ui/util";import{jsx as M,jsxs as Ie}from"react/jsx-runtime";function ga({children:e,allowToggle:t,value:o,onValueChange:r}){let[i,n]=b.useState([]),[a,c]=b.useState([]);b.useEffect(()=>{let C=b.Children.toArray(e).filter(u=>b.isValidElement(u)&&typeof u.props=="object"&&u.props!==null&&"value"in u.props&&typeof u.props.value=="string").map(u=>u.props.value);c(C)},[e]),b.useEffect(()=>{t&&n(o?o.split(",").filter(Boolean):[])},[o,t]);let g=b.useCallback(C=>{if(!t){r?.(C);return}n(u=>{let _=u.includes(C)?u.filter(v=>v!==C):[...u,C];return r?.(_.join(",")),_})},[t,r]),f=a.length>0&&a.every(C=>i.includes(C)),w=b.useCallback(()=>{if(!t)return;let C=f?[]:a;n(C),r?.(C.join(","))},[t,f,a,r]);return{selected:i,allValues:a,toggleValue:g,toggleAll:w,allSelected:f}}function bo({checked:e,disabled:t,onClick:o,className:r,...i}){let n=b.useCallback(()=>{o?.()},[o]);return M("button",{className:ze("size-large-alt rounded-circle inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary",e?"bg-primary-active border-primary-active":"",t&&"hover:border-border-layer-2 cursor-not-allowed opacity-[38%]",r),disabled:t,type:"button",onClick:n,...i,children:e&&M("div",{className:"relative flex items-center justify-center","data-slot":"radio-group-indicator"})})}function Ca({label:e,checked:t,onClick:o}){let r=b.useCallback(()=>{o()},[o]);return Ie("div",{className:"gap-small flex items-center",children:[M(bo,{checked:t,onClick:r}),M(s,{asChild:!0,className:"text-size-body-sm",weight:"medium",children:M("button",{className:"cursor-pointer border-none bg-transparent p-0 text-left",type:"button",onClick:r,children:e})})]})}function yo({className:e,orientation:t="vertical",allowToggle:o=!1,allowSelectAll:r=!1,selectAllLabel:i="Selecionar todos",value:n,onValueChange:a,children:c,...g}){let{selected:f,toggleValue:w,toggleAll:C,allSelected:u}=ga({children:c,allowToggle:o,value:n||void 0,onValueChange:a}),R=t==="horizontal",_=b.useCallback(v=>{a?.(v)},[a]);return o?Ie("div",{className:"gap-small flex flex-col",children:[r&&M(Ca,{checked:u,label:i,onClick:C}),M("div",{className:ze("gap-small flex",R?"flex-row":"flex-col",e),children:b.Children.map(c,v=>{if(b.isValidElement(v)&&typeof v.props=="object"&&v.props!==null&&"value"in v.props){let z=v.props;return b.cloneElement(v,{allowToggle:!0,checked:f.includes(z.value),onToggle:()=>w(z.value)})}return v})})]}):M($.Root,{className:ze("gap-small flex",R?"flex-row":"flex-col",e),"data-slot":"radio-group",value:n,onValueChange:_,...g,children:c})}function ko({className:e,id:t,label:o,disabled:r=!1,allowToggle:i=!1,checked:n=!1,onToggle:a,...c}){let g=b.useCallback(()=>a?.(),[a]);return i?Ie("div",{className:"gap-small flex items-center",children:[M(bo,{checked:n,disabled:r,onClick:g}),!!o&&M(s,{asChild:!0,className:"text-size-body-sm","data-disabled":r,weight:"medium",children:M("button",{className:"cursor-pointer border-none bg-transparent p-0 text-left",disabled:r,type:"button",onClick:g,children:o})})]}):Ie("div",{className:"gap-small flex items-center",children:[M($.Item,{className:ze("size-large-alt rounded-circle inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary","data-[state=checked]:bg-primary-active data-[state=checked]:border-primary-active","data-[state=checked]:hover:border-primary-idle",r&&"hover:border-border-layer-2 cursor-not-allowed opacity-[38%]",e),disabled:r,id:t,...c,children:M($.Indicator,{className:"relative flex items-center justify-center"})}),!!o&&M(s,{asChild:!0,className:"text-size-body-sm","data-disabled":r,weight:"medium",children:M("label",{htmlFor:t,children:o})})]})}import{twMerge as sp}from"@xjur-ui/util";import{Fragment as dp,useMemo as mp}from"react";import{jsx as gp,jsxs as Cp}from"react/jsx-runtime";import{jsx as wp}from"react/jsx-runtime";var{caption:yp}=N();import{jsx as Lp}from"react/jsx-runtime";var{slotText:Mp}=N();import{jsx as zp}from"react/jsx-runtime";import{jsx as Ap}from"react/jsx-runtime";import{Close as id}from"@radix-ui/react-popover";import{Fragment as va,jsx as h,jsxs as E}from"react/jsx-runtime";function q({className:e,isSelected:t=!1,variant:o="default",accordionContent:r,isAccordionOpen:i=!1,onAccordionToggle:n,accordionData:a,...c}){let[g,f]=wo(i),[w,C]=wo("");_t.useEffect(()=>{f(i)},[i]);let u=()=>{if(!r)return;f(!g),n?.()},R=p=>{a?.checkbox?.onCheckedChange(p)},_=_t.useCallback(p=>{a?.radio&&a.radio.onCheckedChange(a.radio.value,p)},[a?.radio]),v=_t.useMemo(()=>!a?.searchSelect?.options||!w?a?.searchSelect?.options||[]:a.searchSelect.options.filter(p=>p.label.toLowerCase().includes(w.toLowerCase())),[a?.searchSelect?.options,w]),z=p=>{C(p.target.value)},O=p=>{a?.searchSelect?.onChangeSearchOption(p),C("")};return o==="accordion"?E(va,{children:[E("tr",{"aria-expanded":r?g:void 0,className:He("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",r&&"cursor-pointer",e),"data-selected":t,"data-slot":"table-row-accordion",role:r?"button":void 0,tabIndex:r?0:void 0,onClick:u,...c,children:[h("td",{className:"w-6 px-2 py-3",children:a?.checkbox&&h(ce,{checked:a.checkbox.checked,onCheckedChange:R,onClick:p=>p.stopPropagation()})}),h("td",{className:"px-2 py-3",children:E("div",{className:"flex items-center gap-2",children:[r&&h(y,{className:He("text-neutral-medium transition-transform duration-200",g&&"rotate-90"),name:"keyboard_arrow_up"}),h(s,{children:a?.text1})]})}),h("td",{className:"px-2 py-3",children:h(s,{children:a?.text2})}),h("td",{className:"px-2 py-3",onClick:p=>p.stopPropagation(),children:a?.searchSelect&&E(se,{children:[E(pe,{children:[h(de,{placeholder:"Selecione",value:{value:a.searchSelect?.selectedSearchOption||"",label:a.searchSelect?.options.find(p=>p.value===a.searchSelect?.selectedSearchOption)?.label||""}}),h(ae,{className:"text-layer-1-active",name:"keyboard_arrow_down"})]}),h(ee,{children:E(ne,{className:"p-0",children:[h("div",{className:"py-small border-border-layer-2 border-b",children:E("div",{className:"gap-small py-small_1x-alt bg-layer-2-idle rounded-small flex items-center",children:[h(y,{className:"text-layer-1-active",name:"search"}),h("input",{className:"text-size-body-md text-neutral-dark placeholder:text-neutral-placeholder flex-1 bg-transparent outline-none",placeholder:"Pesquisar",value:w,onChange:z})]})}),v.map(p=>h(ie,{className:"p-0",isActive:a.searchSelect?.selectedSearchOption===p.value,value:p,onClick:()=>O(p.value),children:h(le,{children:p.label})},p.value))]})})]})}),h("td",{className:"px-2 py-3",onClick:p=>p.stopPropagation(),children:a?.radio&&h(yo,{allowToggle:!0,className:"",value:a.radio.checked?a.radio.value:"",onValueChange:p=>{a?.radio&&_(p!=="")},children:h(ko,{className:"",id:`principal-${a.radio.value}`,label:"",value:a.radio.value})})})]}),g&&r&&h("tr",{className:He("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",e),children:h("td",{colSpan:5,children:r})})]}):h("tr",{className:He("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",e),"data-selected":t,"data-slot":"table-row",...c})}import{cx as gd}from"@xjur-ui/util";import{jsx as xd}from"react/jsx-runtime";import{jsx as l,jsxs as T}from"react/jsx-runtime";function So({children:e,align:t="left",sortable:o=!1}){return T("div",{className:Fe("gap-small flex items-center",t==="right"&&"justify-end"),children:[l(s,{className:"text-neutral-placeholder",size:"sm-1x",variant:"label",weight:"medium",children:e}),o&&l("span",{className:"rounded-small-1x flex size-5 items-center justify-center",children:l(y,{className:"text-neutral-placeholder text-size-body-sm",name:"expand_all"})})]})}function To({className:e,rows:t,mode:o="sidebar",title:r="Valor hora",onToggleAll:i,onToggleRow:n,onCardRowClick:a,onEditClick:c,onDeleteClick:g,...f}){let[w,C]=Po(null),[u,R]=Po(""),_=t.length>0&&t.every(d=>d.selected),v=t[0],z=o==="card"?t.slice(0,3):t,O=o==="card"?Math.max(t.length-z.length,0):0,p=d=>{C(d.id),R(d.valorHora.replace(/^R\$\s*/,""))},U=()=>{C(null),R("")},Ae=()=>{!w||!u.trim()||(c?.({id:w,valorHora:u}),U())};if(o==="capa"){let d=Math.max(t.length-1,0);return T("div",{className:Fe("gap-small-1x inline-flex flex-col",e),"data-slot":"xpay-valor-hora-capa",...f,children:[T("div",{className:"gap-small flex items-center",children:[l(s,{size:"md",variant:"label",weight:"medium",children:r}),l(y,{className:"text-neutral-placeholder text-size-body-md",name:"help"})]}),v?T("div",{className:"flex items-center",children:[l(s,{className:"w-[180px]",size:"md",variant:"body",children:v.nivel}),l(s,{className:"w-[180px]",size:"md",variant:"body",children:v.valorHora}),l("div",{className:"flex items-center",children:d>0?T(S,{className:"!text-size-label-md ml-medium h-[32px] min-w-[44px] px-[12px]",size:"sm",type:"button",variant:"outlined",onClick:()=>a?.(v.id),children:["+",d]}):l(S,{appearance:"ghost",className:"!text-size-label-md ml-medium h-[32px] min-w-[44px] px-[12px]",size:"sm",type:"button",variant:"secondary",onClick:()=>a?.(),children:l(s,{size:"md",variant:"body",children:"+ Adicionar"})})})]}):l("div",{className:"flex items-center",children:l(S,{appearance:"ghost",className:"!text-size-label-md ml-medium h-[32px] min-w-[44px] px-[12px]",size:"sm",type:"button",variant:"secondary",onClick:()=>a?.(),children:l(s,{size:"md",variant:"body",children:"+ Adicionar"})})})]})}return l("div",{className:Fe("border-border-layer-2 rounded-small bg-layer-2-idle overflow-hidden border",e),...f,children:T(Co,{children:[l(xo,{children:T(q,{className:"border-b-border-layer-2 hover:bg-layer-2-idle",children:[o==="sidebar"&&l(ue,{className:"px-small py-small-1x w-[32px]",children:l(ce,{checked:_,onCheckedChange:d=>i?.(!!d)})}),l(ue,{className:"px-small py-small-1x",children:l(So,{sortable:o==="sidebar",children:"N\xEDvel do profissional"})}),l(ue,{className:"px-small py-small-1x w-[180px]",children:l(So,{align:"right",sortable:o==="sidebar",children:"Valor da hora"})}),o==="sidebar"&&l(ue,{className:"px-small py-small-1x w-[160px]"})]})}),T(vo,{children:[z.map(d=>o==="card"?T(q,{className:"border-b-border-layer-2 hover:bg-layer-2-idle",children:[l(F,{className:"px-small py-medium",children:l(s,{size:"md",variant:"body",children:d.nivel})}),l(F,{className:"px-small py-medium text-right",children:l(s,{size:"md",variant:"body",children:d.valorHora})})]},d.id):(()=>{let P=w===d.id;return T(q,{className:Fe("border-b-border-layer-2 hover:bg-layer-2-idle",d.selected&&"bg-primary-alt-idle hover:bg-primary-alt-idle"),isSelected:!!d.selected,children:[l(F,{className:"px-small py-medium w-[32px]",children:l(ce,{checked:!!d.selected,onCheckedChange:Be=>n?.(d.id,!!Be)})}),l(F,{className:"px-small py-medium",children:l(s,{size:"md",variant:"body",children:d.nivel})}),l(F,{className:"px-small py-medium w-[180px] text-right",children:P?l(he,{className:"ml-auto w-[140px]",children:l(fe,{children:T(ge,{children:[l(Ce,{children:"R$"}),l(ve,{placeholder:"0,00",value:u,onValueChange:Be=>{R(Be.formattedValue)}})]})})}):l(s,{size:"md",variant:"body",children:d.valorHora})}),l(F,{className:"px-small py-small w-[160px] text-right",children:P?T("div",{className:"gap-small flex items-center justify-end",children:[l(S,{appearance:"ghost",size:"sm",type:"button",variant:"secondary",onClick:U,children:"Cancelar"}),l(S,{size:"sm",type:"button",onClick:Ae,children:"Salvar"})]}):T(wt,{children:[l(Pt,{asChild:!0,children:l(S,{appearance:"ghost",size:"icon_md",type:"button",variant:"tertiary",children:l(y,{name:"more_vert"})})}),l(Tt,{align:"end",children:T(Mt,{children:[T(Ne,{onClick:()=>p(d),children:[l(y,{className:"flex h-4 w-4 items-center",name:"edit"}),l(Ve,{children:"Editar"})]}),T(Ne,{onClick:()=>g?.(d.id),children:[l(y,{className:"flex h-4 w-4 items-center text-red-500",name:"delete"}),l(Ve,{className:"text-red-500",children:"Excluir"})]})]})})]})})]},d.id)})()),o==="card"&&(O>0?l(q,{className:"hover:bg-layer-2-idle",children:l(F,{className:"p-0",colSpan:2,children:l(S,{appearance:"ghost",className:"px-small py-medium h-auto w-full justify-start !rounded-none",size:"md",type:"button",variant:"secondary",onClick:()=>{let d=t[0]?.id;d&&a?.(d)},children:l(s,{size:"md",variant:"body",children:O===1?"+1 n\xEDvel de profissional":`+${O} n\xEDveis de profissional`})})})}):l(q,{className:"hover:bg-layer-2-idle",children:l(F,{className:"p-0",colSpan:2,children:l(S,{appearance:"ghost",className:"px-small py-medium h-auto w-full justify-start !rounded-none",size:"md",type:"button",variant:"secondary",onClick:()=>a?.(),children:l(s,{size:"md",variant:"body",children:"+ Adicionar"})})})}))]})]})})}import{jsx as m,jsxs as L}from"react/jsx-runtime";function Mo({children:e}){return L("div",{className:"gap-small flex items-center",children:[m(s,{size:"md",variant:"label",weight:"medium",children:e}),m(y,{className:"text-neutral-placeholder text-size-body-md",name:"help"})]})}function d2({open:e,rows:t,options:o,selectedRowId:r,handleOnOpenChange:i,handleOnToggleAll:n,handleOnToggleRow:a,handleOnEditClick:c,handleOnDeleteClick:g,handleOnAddToList:f,handleOnSave:w,handleOnCancel:C}){let[u,R]=Lt(),[_,v]=Lt(""),[z,O]=Lt(!1),p=r?t.map(P=>({...P,selected:P.selected??P.id===r})):t,U=()=>{O(P=>!P)},Ae=!u||!_.trim(),d=()=>{!u||!_.trim()||(f?.({nivel:u,valorHora:_}),R(void 0),v(""))};return m(ft,{open:e,onOpenChange:i,children:L(Ct,{className:"w-[900px] max-w-[900px] min-w-[900px] data-[fullscreen=true]:w-full data-[fullscreen=true]:max-w-full data-[fullscreen=true]:min-w-full","data-fullscreen":z,overlay:!1,side:"right",children:[L(vt,{className:"flex items-center justify-between",children:[m("div",{className:"gap-small-1x flex flex-col",children:m(s,{size:"lg",variant:"title",children:"Valor hora"})}),L("div",{className:"gap-small flex items-center",children:[m(S,{appearance:"ghost",size:"icon_md",type:"button",variant:"tertiary",onClick:U,children:m(y,{className:"text-icon-neutral-3",name:"expand_content"})}),m(bt,{})]})]}),m(kt,{className:"p-large-2x overflow-x-auto",children:L("div",{className:"gap-large-2x flex h-full flex-col",children:[L("div",{className:"gap-medium flex w-full flex-row items-end",children:[L("div",{className:"gap-small flex flex-1 flex-col",children:[m(Mo,{children:"N\xEDvel do profissional"}),L(se,{children:[L(pe,{className:"w-full",children:[m(de,{placeholder:"Selecione",value:u}),m(ae,{className:"text-neutral-placeholder",name:"keyboard_arrow_down",orientation:"right"})]}),m(ee,{children:m(ne,{children:o.map(P=>m(ie,{isActive:u?.value===P.value,value:P,onClick:()=>R(P),children:m(le,{children:P.label})},P.value))})})]})]}),L("div",{className:"gap-small flex w-[140px] flex-1 shrink-0 flex-col",children:[m(Mo,{children:"Valor da hora"}),m(he,{className:"w-full",children:m(fe,{children:L(ge,{children:[m(Ce,{children:"R$"}),m(ve,{placeholder:"0,00",value:_,onValueChange:P=>{v(P.formattedValue)}})]})})})]}),L(S,{className:"px-medium w-auto shrink-0",disabled:Ae,type:"button",onClick:d,children:[m(y,{name:"add"}),m("span",{className:"whitespace-nowrap",children:"Adicionar \xE0 lista"})]})]}),m("div",{className:"border-t-border-layer-2 border-t"}),m(To,{className:"w-full",mode:"sidebar",rows:p,onDeleteClick:g,onEditClick:c,onToggleAll:n,onToggleRow:a})]})}),L(yt,{className:"flex items-center justify-between",children:[m(S,{appearance:"ghost",type:"button",variant:"primary",onClick:()=>{C?.(),i?.(!1)},children:"Cancelar"}),m(S,{type:"button",onClick:w,children:"Salvar"})]})]})})}export{d2 as XPayValorHoraSidebar};
@@ -0,0 +1,21 @@
1
+ import { type ComponentProps } from 'react';
2
+ export interface XPayValorHoraRow {
3
+ id: string;
4
+ nivel: string;
5
+ valorHora: string;
6
+ selected?: boolean;
7
+ }
8
+ export interface XPayValorHoraTableProps extends ComponentProps<'div'> {
9
+ rows: XPayValorHoraRow[];
10
+ mode?: 'card' | 'sidebar' | 'capa';
11
+ title?: string;
12
+ onToggleAll?: (checked: boolean) => void;
13
+ onToggleRow?: (id: string, checked: boolean) => void;
14
+ onEditClick?: (payload: {
15
+ id: string;
16
+ valorHora: string;
17
+ }) => void;
18
+ onDeleteClick?: (id: string) => void;
19
+ onCardRowClick?: (id?: string) => void;
20
+ }
21
+ export declare function XPayValorHoraTable({ className, rows, mode, title, onToggleAll, onToggleRow, onCardRowClick, onEditClick, onDeleteClick, ...props }: XPayValorHoraTableProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ import{useState as ao}from"react";import{cx as be}from"@xjur-ui/util";import{Slot as lo}from"@radix-ui/react-slot";import{cva as so,cx as po}from"@xjur-ui/util";import{jsx as mo}from"react/jsx-runtime";var co=so(["outline-none inline-flex items-center justify-center rounded-circle gap-small cursor-pointer disabled:opacity-38 disabled:pointer-events-none transition-colors"],{variants:{size:{md:"py-small_1x-alt px-medium text-size-body-md",sm:"py-small-1x px-small text-size-label-sm",icon_md:"p-small text-size-body-md h-large-4x w-large-4x",icon_sm:"p-small-1x text-size-label-sm h-large-2x w-large-2x"},variant:{primary:"",secondary:"",tertiary:"",destructive:"",outlined:"bg-layer-2-idle border border-border-layer-2 hover:bg-layer-2-hover active:bg-layer-2-pressed"},appearance:{solid:"",ghost:"bg-transparent"}},compoundVariants:[{variant:"primary",appearance:"solid",class:"bg-primary-idle text-neutral-label hover:bg-primary-hover active:bg-primary-pressed"},{variant:"primary",appearance:"ghost",class:"text-primary-idle hover:bg-primary-alt-idle active:bg-primary-alt-pressed"},{variant:"secondary",appearance:"solid",class:"bg-layer-1-hover text-neutral-dark hover:bg-layer-1-pressed active:bg-layer-1-active"},{variant:"secondary",appearance:"ghost",class:"hover:bg-layer-1-hover active:bg-layer-1-pressed"},{variant:"tertiary",appearance:"solid",class:"bg-layer-2-hover text-neutral-dark hover:bg-layer-2-pressed active:bg-layer-2-active"},{variant:"tertiary",appearance:"ghost",class:"hover:bg-layer-2-hover active:bg-layer-2-pressed"},{variant:"destructive",appearance:"solid",class:"bg-danger-idle text-neutral-label hover:bg-danger-hover active:bg-danger-pressed"},{variant:"destructive",appearance:"ghost",class:"text-danger-label-idle hover:bg-danger-alt-idle active:bg-danger-alt-pressed"}],defaultVariants:{size:"md",variant:"primary",appearance:"solid"}});function L({asChild:e,className:t,variant:o="primary",size:r="md",appearance:i="solid",...l}){return mo(e?lo:"button",{className:po(co({variant:o,appearance:i,size:r}),t),...l})}import*as de from"@radix-ui/react-checkbox";import{cx as No}from"@xjur-ui/util";import{cx as yo}from"@xjur-ui/util";var mt=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance","xlearning","societario","audiencia","pericia","custom_contrato","filial","xfinder"];import{jsx as oe,jsxs as uo}from"react/jsx-runtime";function ke(){return uo("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[oe("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),oe("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),oe("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),oe("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as R,jsxs as ut}from"react/jsx-runtime";function we(){return ut("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ut("g",{clipPath:"url(#clip0_21552_71650)",children:[R("path",{d:"M3 4.9812C4.10457 4.9812 5 4.08577 5 2.9812C5 1.87663 4.10457 0.981201 3 0.981201C1.89543 0.981201 1 1.87663 1 2.9812C1 4.08577 1.89543 4.9812 3 4.9812Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),R("path",{d:"M17.6562 4.5437H9.4375C8.57457 4.5437 7.875 3.84413 7.875 2.9812C7.875 2.11827 8.57457 1.4187 9.4375 1.4187H17.6562C18.5192 1.4187 19.2187 2.11827 19.2187 2.9812C19.2187 3.84413 18.5192 4.5437 17.6562 4.5437Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),R("path",{d:"M3 12C4.10457 12 5 11.1046 5 10C5 8.89543 4.10457 8 3 8C1.89543 8 1 8.89543 1 10C1 11.1046 1.89543 12 3 12Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),R("path",{d:"M17.6562 11.5625H9.4375C8.57457 11.5625 7.875 10.8629 7.875 10C7.875 9.13707 8.57457 8.4375 9.4375 8.4375H17.6562C18.5192 8.4375 19.2187 9.13707 19.2187 10C19.2187 10.8629 18.5192 11.5625 17.6562 11.5625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),R("path",{d:"M3 19.1C4.10457 19.1 5 18.2045 5 17.1C5 15.9954 4.10457 15.1 3 15.1C1.89543 15.1 1 15.9954 1 17.1C1 18.2045 1.89543 19.1 3 19.1Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),R("path",{d:"M17.6562 18.6625H9.4375C8.57457 18.6625 7.875 17.9629 7.875 17.1C7.875 16.237 8.57457 15.5375 9.4375 15.5375H17.6562C18.5192 15.5375 19.2187 16.237 19.2187 17.1C19.2187 17.9629 18.5192 18.6625 17.6562 18.6625Z",fill:"#FDC6FC",stroke:"#AB20A9",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),R("defs",{children:R("clipPath",{id:"clip0_21552_71650",children:R("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as re,jsxs as fo}from"react/jsx-runtime";function Pe(){return fo("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[re("path",{d:"M9.85352 0.65332C9.93553 0.58296 10.0643 0.582237 10.1465 0.652344C12.0919 2.4217 14.3958 3.32823 17.2881 3.47949C17.9164 3.51234 18.3483 3.9816 18.3564 4.48242C18.3601 4.71041 18.3663 4.94321 18.3779 5.18164C18.4292 7.71562 18.4747 10.5595 17.4619 13.1299C16.4662 15.6568 14.4201 17.976 10.1338 19.3789C10.1172 19.3844 10.0987 19.3889 10.0791 19.3926C10.0273 19.4023 9.97265 19.4023 9.9209 19.3926L9.86621 19.3789C5.56766 17.9759 3.52294 15.6506 2.53027 13.1211C1.52052 10.5478 1.57173 7.70475 1.62305 5.18164C1.6346 4.94331 1.64092 4.71049 1.64453 4.48242C1.65264 3.98173 2.08381 3.51252 2.71191 3.47949C5.60393 3.32832 7.90727 2.42121 9.85254 0.652344L9.85352 0.65332Z",fill:"#E5C8FF",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),re("path",{d:"M10 4.40039C13.0928 4.40039 15.5996 6.90721 15.5996 10C15.5996 13.0928 13.0928 15.5996 10 15.5996C6.90721 15.5996 4.40039 13.0928 4.40039 10C4.40039 6.90721 6.90721 4.40039 10 4.40039Z",fill:"white",stroke:"#771DC5",strokeMiterlimit:"10",strokeWidth:"1.2"}),re("path",{d:"M12.4915 8.88L9.13148 12.24",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),re("path",{d:"M7.36005 10.5645L9.13144 12.2399",stroke:"#771DC5",strokeLinecap:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as ae,jsxs as ho}from"react/jsx-runtime";function Me(){return ho("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ae("path",{d:"M15.7875 3H3.3008C2.5824 3 2 3.58652 2 4.31005V9.01705H18V4.31005C18 3.58652 17.4176 3.00003 16.6992 3.00003L15.7875 3Z",fill:"#FFCEAD",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),ae("path",{d:"M18 7.01697V17.6898C18 18.4133 17.4176 18.9998 16.6992 18.9998H3.3008C2.5824 18.9998 2 18.4133 2 17.6898V7.01697",stroke:"#CA4C16",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),ae("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"5.42832",x2:"5.42832",y1:"5.4",y2:"0.599997"}),ae("line",{stroke:"#CA4C16",strokeLinecap:"round",strokeWidth:"1.2",x1:"14.3648",x2:"14.3648",y1:"5.4",y2:"0.599997"})]})}import{jsx as B,jsxs as go}from"react/jsx-runtime";function Te(){return go("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[B("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",fill:"#FFBACF"}),B("path",{d:"M14.3062 3.28357C14.3062 3.28357 15.6681 3.28357 16.2787 3.28357C16.9531 3.28357 17.4998 3.83035 17.4998 4.50472C17.4998 7.4617 17.4998 14.9803 17.4998 17.9373C17.4998 18.6116 16.9531 19.1584 16.2787 19.1584C14.0501 19.1584 9.34873 19.1584 7.12013 19.1584C6.79622 19.1584 6.48576 19.0299 6.2568 18.8006C6.02754 18.5717 5.89902 18.2612 5.89902 17.9373C5.89902 17.3267 5.89902 16.7161 5.89902 16.7161",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M2.49985 4.50473L6.16327 0.841309C6.16327 0.841309 10.6537 0.841309 12.8796 0.841309C13.5539 0.841309 14.1007 1.38809 14.1007 2.06246C14.1007 5.01944 14.1007 12.538 14.1007 15.495C14.1007 16.1694 13.554 16.7162 12.8796 16.7162C10.651 16.7162 5.9496 16.7162 3.721 16.7162C3.04663 16.7162 2.49985 16.1694 2.49985 15.495C2.49985 12.4022 2.49985 4.50473 2.49985 4.50473Z",fill:"white",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M2.49985 5.11533C2.49985 5.11533 4.28943 5.11533 5.55271 5.11533C6.22708 5.11533 6.77387 4.56854 6.77387 3.89417C6.77387 2.63089 6.77387 0.841309 6.77387 0.841309",stroke:"#C72F5F",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M5.49985 10H10.4998",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),B("path",{d:"M5.49985 13H9.49985",stroke:"#C72F5F",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as ie,jsxs as Co}from"react/jsx-runtime";function _e(){return Co("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ie("path",{d:"M1 17V2.30005H6.8L8.99999 4.50005H15.5V7.90005H4V17L2.5 17.6001L1 17Z",fill:"#F6DD92"}),ie("path",{d:"M4 8.00012C4 11.6633 4 16.0001 4 16.0001C4 17.0001 3.5 17.6931 2.5 17.6931C1.5 17.6931 1 17.0001 1 16.0001V2.30725H3.24067",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),ie("path",{d:"M3.24076 2.30713H6.47454L8.7458 4.37844H15.5797V8.00006H19.0001V16.5727C19.0001 17.1915 18.4985 17.6931 17.8798 17.6931H2.12042",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),ie("path",{d:"M4 8H16",stroke:"#A96607",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as F,jsxs as ft}from"react/jsx-runtime";function Le(){return ft("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ft("g",{clipPath:"url(#clip0_21559_72048)",children:[F("path",{d:"M17.4506 8.94043V18.3304C17.4506 18.9598 16.9425 19.4699 16.3157 19.4699H3.68428C3.05748 19.4699 2.54932 18.9598 2.54932 18.3304V8.94043",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",fill:"#FDC6C6"}),F("path",{d:"M7.05865 19.2548V11.9867H12.9413V19.2548",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),F("path",{d:"M17.3634 8.67363C17.5986 8.83359 17.8726 8.91816 18.1557 8.91812C18.6259 8.91812 19.0639 8.68503 19.3274 8.29464C19.7648 7.64652 19.5954 6.76199 18.9499 6.32285L17.0724 5.0457L14.2483 3.12457L10.7936 0.774526C10.5586 0.614683 10.2843 0.530151 10.0004 0.530151C9.71652 0.530151 9.44222 0.614644 9.20722 0.774526L1.05105 6.32285C0.738314 6.53558 0.526868 6.85781 0.45554 7.23023C0.384212 7.60265 0.461634 7.9807 0.673509 8.29464C0.936986 8.68503 1.37503 8.91812 1.84523 8.91812C2.12839 8.91812 2.40234 8.83359 2.63745 8.67367L10.0004 3.66492L17.3634 8.67363Z",fill:"#FDC6C6",stroke:"#C93131",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),F("defs",{children:F("clipPath",{id:"clip0_21559_72048",children:F("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as X,jsxs as ht}from"react/jsx-runtime";function Re(){return ht("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ht("g",{clipPath:"url(#clip0_21561_72217)",children:[X("path",{d:"M9.98145 0.599609C15.1635 0.608044 19.4004 4.83852 19.4004 10C19.4004 15.1615 15.1636 19.3909 9.98145 19.3994C-2.5284 18.8998 -2.52587 1.09731 9.98145 0.599609Z",fill:"#DBF1FF",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),X("path",{d:"M13.4527 13.5208C11.5082 15.4654 8.35554 15.4654 6.41101 13.5208C1.91808 8.68266 8.61718 1.98702 13.4527 6.47909",stroke:"#2C729E",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),X("defs",{children:X("clipPath",{id:"clip0_21561_72217",children:X("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as N,jsxs as gt}from"react/jsx-runtime";function Ne(){return gt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[gt("g",{clipPath:"url(#clip0_21563_1851)",children:[N("path",{d:"M13.4002 19H2.40024C1.84795 19 1.40024 18.5523 1.40024 18V2C1.40024 1.44772 1.84795 1 2.40024 1H13.4002C13.9525 1 14.4002 1.44772 14.4002 2V18C14.4002 18.5523 13.9525 19 13.4002 19Z",fill:"#D4E4F9",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),N("path",{clipRule:"evenodd",d:"M9.59316 13.357H12.2247V11.694C12.2247 10.9283 11.8327 10.2335 11.5394 9.78628C11.2875 9.40237 11.1412 8.94427 11.1412 8.45234C11.1412 7.09791 12.25 6 13.6179 6C14.9858 6 16.0947 7.09791 16.0947 8.45234C16.0947 8.94427 15.9483 9.40237 15.6965 9.78628C15.4031 10.2335 15.0111 10.9283 15.0111 11.694V13.357H17.6427C18.4089 13.357 19.0358 13.9778 19.0358 14.7364V16.1159H8.20004V14.7364C8.20004 13.9778 8.82695 13.357 9.59316 13.357Z",fill:"white",fillRule:"evenodd",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),N("path",{clipRule:"evenodd",d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",fill:"white",fillRule:"evenodd"}),N("path",{d:"M8.78256 16.6364V17.8182C8.78256 18.4682 9.43078 19 10.2231 19C15.2886 19 11.56 19 16.6255 19C17.4177 19 18.066 18.4682 18.066 17.8182V16.6364",stroke:"#446EA6",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"2.6131",strokeWidth:"1.2"}),N("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.59994",x2:"7.39994",y1:"5.4",y2:"5.4"}),N("line",{stroke:"#446EA6",strokeLinecap:"round",strokeWidth:"1.2",x1:"4.60006",x2:"7.40006",y1:"9.4",y2:"9.4"})]}),N("defs",{children:N("clipPath",{id:"clip0_21563_1851",children:N("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as z,jsxs as Ct}from"react/jsx-runtime";function Ve(){return Ct("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ct("g",{clipPath:"url(#clip0_21561_72299)",children:[z("path",{d:"M1.80017 4.25781L5.6283 0.429688C5.6283 0.429688 11.8221 0.429688 14.5606 0.429688C14.899 0.429688 15.2236 0.563984 15.4629 0.803555C15.7022 1.04281 15.8367 1.36727 15.8367 1.7057C15.8367 5.18578 15.8367 14.8142 15.8367 18.2943C15.8367 18.6327 15.7022 18.9571 15.4629 19.1964C15.2236 19.436 14.899 19.5703 14.5606 19.5703C11.8914 19.5703 5.74541 19.5703 3.07623 19.5703C2.3715 19.5703 1.80017 18.9989 1.80017 18.2943C1.80017 14.6167 1.80017 4.25781 1.80017 4.25781Z",fill:"#CEF0EC",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",fill:"white"}),z("path",{d:"M1.80017 4.89586C1.80017 4.89586 3.67033 4.89586 4.99029 4.89586C5.69501 4.89586 6.26634 4.32449 6.26634 3.6198C6.26634 2.29973 6.26634 0.429688 6.26634 0.429688",stroke:"#1A8377",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M12.5098 16.3826C15.653 16.3826 18.201 13.8345 18.201 10.6913C18.201 7.54807 15.653 5 12.5098 5C9.36656 5 6.81848 7.54807 6.81848 10.6913C6.81848 13.8345 9.36656 16.3826 12.5098 16.3826Z",fill:"white",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),z("path",{d:"M10.1386 11.1655L12.0357 13.0626L14.8813 9.26843",stroke:"#1A8377",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),z("defs",{children:z("clipPath",{id:"clip0_21561_72299",children:z("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as Z,jsxs as vt}from"react/jsx-runtime";function Se(){return vt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[vt("g",{clipPath:"url(#clip0_21561_73080)",children:[Z("path",{d:"M10 0.599609C15.1915 0.599609 19.4004 4.80852 19.4004 10C19.4004 15.1915 15.1915 19.4004 10 19.4004C4.80852 19.4004 0.599609 15.1915 0.599609 10C0.599609 4.80852 4.80852 0.599609 10 0.599609Z",fill:"#ADDFC0",stroke:"#278D50",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),Z("path",{d:"M10 16C13.3137 16 16 13.3137 16 10C16 6.68629 13.3137 4 10 4C6.68629 4 4 6.68629 4 10C4 13.3137 6.68629 16 10 16Z",fill:"white"}),Z("path",{d:"M9.36046 16.0641V14.6227C8.73046 14.486 8.19534 14.2016 7.75511 13.7693C7.31499 13.3369 7.00701 12.7998 6.83118 12.1581L8.27653 11.584C8.36891 12.0238 8.60641 12.4106 8.98903 12.7441C9.37165 13.0778 9.76278 13.2447 10.1624 13.2447C10.6181 13.2447 10.9856 13.132 11.2647 12.9066C11.5438 12.6814 11.6833 12.3911 11.6833 12.0357C11.6833 11.6985 11.548 11.4115 11.2772 11.1748C11.0065 10.9382 10.5347 10.7051 9.86189 10.4756C8.94475 10.1479 8.26903 9.7783 7.83475 9.36663C7.40046 8.95508 7.18332 8.42812 7.18332 7.78574C7.18332 7.20193 7.3732 6.68859 7.75296 6.24574C8.13284 5.803 8.66868 5.50758 9.36046 5.35949V3.93591H10.7101V5.35949C11.5787 5.51377 12.1631 5.85252 12.4633 6.37573C12.7634 6.89907 12.9223 7.18401 12.9399 7.23056L11.5747 7.79109C11.4822 7.48728 11.2924 7.23276 11.0053 7.02752C10.7183 6.82228 10.4064 6.71966 10.0696 6.71966C9.6729 6.71966 9.34689 6.81829 9.09153 7.01556C8.8363 7.2127 8.70868 7.45324 8.70868 7.73716C8.70868 8.02681 8.84677 8.27746 9.12296 8.48913C9.39927 8.70079 9.94784 8.94639 10.7687 9.22591C11.6134 9.50544 12.2313 9.86901 12.6222 10.3166C13.0132 10.7642 13.2087 11.3373 13.2087 12.0357C13.2087 12.7257 12.9856 13.3071 12.5394 13.7798C12.0932 14.2527 11.4834 14.5515 10.7101 14.6763V16.0641H9.36046Z",fill:"#278D50"})]}),Z("defs",{children:Z("clipPath",{id:"clip0_21561_73080",children:Z("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as A,jsxs as bt}from"react/jsx-runtime";function ze(){return bt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[bt("g",{clipPath:"url(#clip0_21559_72026)",children:[A("path",{d:"M6.3189 13.681L0.999756 19.0002",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),A("path",{d:"M7.62981 14.224C8.65376 14.224 9.48383 13.394 9.48383 12.37C9.48383 11.3461 8.65376 10.516 7.62981 10.516C6.60586 10.516 5.77579 11.3461 5.77579 12.37C5.77579 13.394 6.60586 14.224 7.62981 14.224Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),A("path",{d:"M19 7.8011L12.1988 0.999878L9.57689 3.62181L16.3781 10.423L19 7.8011Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),A("path",{d:"M10.1661 4.21118L3.08118 7.82115L0.999878 19.0001L12.1789 16.9188L15.7888 9.83387",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),A("defs",{children:A("clipPath",{id:"clip0_21559_72026",children:A("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as I,jsxs as Ie}from"react/jsx-runtime";function He(){return Ie("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Ie("g",{clipPath:"url(#clip0_21656_82540)",children:[I("mask",{height:"20",id:"mask0_21656_82540",maskUnits:"userSpaceOnUse",style:{maskType:"luminance"},width:"20",x:"0",y:"0",children:I("path",{d:"M0 1.90735e-06H20V20H0V1.90735e-06Z",fill:"white"})}),Ie("g",{mask:"url(#mask0_21656_82540)",children:[I("path",{d:"M10.0001 18.827C14.8749 18.827 18.8262 14.8747 18.8262 9.99988C18.8262 5.1251 14.8748 1.17375 10.0001 1.17371C5.12521 1.17371 1.17296 5.12507 1.17291 9.99988C1.17291 14.8747 5.12518 18.827 10.0001 18.827Z",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),I("path",{d:"M7.34192 7.93171C7.34192 6.42577 8.59129 5.21167 10.1101 5.26933C11.491 5.32179 12.6162 6.44698 12.6686 7.82792C12.7047 8.7771 12.244 9.62104 11.5257 10.1206C10.5611 10.7915 10.0063 11.9097 10.0063 13.0847",stroke:"#69697A",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),I("path",{d:"M10.5859 15.157H9.41406V13.9851H10.5859V15.157Z",fill:"#69697A"})]})]}),I("defs",{children:I("clipPath",{id:"clip0_21656_82540",children:I("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as $,jsxs as xt}from"react/jsx-runtime";function Fe(){return xt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[xt("g",{clipPath:"url(#clip0_21595_70787)",children:[$("path",{d:"M12.1139 11.8496C13.0146 11.8496 13.8963 11.9394 14.7594 12.1182L15.1285 12.2002C15.986 12.4045 16.8238 12.6979 17.6422 13.082L17.9918 13.2529C18.4171 13.4698 18.7568 13.7804 19.0162 14.1963V14.1973C19.2708 14.6054 19.4 15.06 19.4 15.5752V18.0518H4.82776V15.5752C4.82781 15.0771 4.95662 14.6275 5.2135 14.2139C5.47352 13.7953 5.81235 13.4814 6.23792 13.2637C7.06633 12.8536 7.9074 12.5337 8.76038 12.3008L9.12756 12.2061C10.1077 11.9683 11.1028 11.8496 12.1139 11.8496ZM12.1139 2.59961C13.1111 2.59961 13.9421 2.94229 14.6403 3.63672C15.3374 4.33011 15.6803 5.15737 15.6803 6.15332C15.6803 7.14942 15.3367 7.97938 14.6383 8.67773C13.9399 9.37601 13.11 9.71973 12.1139 9.71973C11.1178 9.71968 10.2878 9.37609 9.58948 8.67773C8.89112 7.97938 8.54753 7.14942 8.54749 6.15332C8.54749 5.15723 8.8912 4.33018 9.5885 3.63672C10.2866 2.94233 11.1168 2.59965 12.1139 2.59961Z",fill:"#FCCAB1",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"}),$("path",{d:"M7.88574 11.8496C8.78645 11.8496 9.66812 11.9394 10.5312 12.1182L10.9004 12.2002C11.7578 12.4045 12.5957 12.6979 13.4141 13.082L13.7637 13.2529C14.189 13.4698 14.5286 13.7804 14.7881 14.1963V14.1973C15.0427 14.6054 15.1719 15.06 15.1719 15.5752V18.0518H0.599609V15.5752C0.599656 15.0771 0.728473 14.6275 0.985352 14.2139C1.24537 13.7953 1.5842 13.4814 2.00977 13.2637C2.83818 12.8536 3.67925 12.5337 4.53223 12.3008L4.89941 12.2061C5.87953 11.9683 6.87468 11.8496 7.88574 11.8496ZM7.88574 2.59961C8.88296 2.59961 9.71395 2.94229 10.4121 3.63672C11.1092 4.33011 11.4521 5.15737 11.4521 6.15332C11.4521 7.14942 11.1085 7.97938 10.4102 8.67773C9.71179 9.37601 8.88183 9.71973 7.88574 9.71973C6.88964 9.71968 6.05969 9.37609 5.36133 8.67773C4.66297 7.97938 4.31938 7.14942 4.31934 6.15332C4.31934 5.15723 4.66305 4.33018 5.36035 3.63672C6.05847 2.94233 6.88861 2.59965 7.88574 2.59961Z",fill:"white",stroke:"#A7512A",strokeLinejoin:"round",strokeWidth:"1.2"})]}),$("defs",{children:$("clipPath",{id:"clip0_21595_70787",children:$("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as ne,jsxs as vo}from"react/jsx-runtime";function Ae(){return vo("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[ne("path",{d:"M14.7422 7.52306C14.5682 7.24589 14.3361 7.03318 14.0461 6.88493C13.5175 6.61422 12.9632 6.4144 12.4024 6.27904C11.8352 6.14368 11.2615 6.07922 10.6685 6.07922C10.0755 6.07922 9.51474 6.14368 8.95396 6.28549C8.74125 6.33705 8.52854 6.39506 8.32228 6.47241C8.58656 6.97517 8.72836 7.53595 8.72836 8.1354C8.72836 8.8702 8.5221 9.55989 8.12247 10.14H15V8.45124C15 8.10961 14.9162 7.80022 14.7422 7.52306Z",fill:"currentColor"}),ne("path",{d:"M12.2929 1.66391C11.8417 1.21915 11.3067 1 10.6686 1C10.0304 1 9.49544 1.21915 9.05069 1.66391C8.60594 2.10866 8.38034 2.64365 8.38034 3.28177C8.38034 3.91989 8.60594 4.45489 9.05069 4.89964C9.49544 5.34439 10.0369 5.56999 10.6686 5.56999C11.3002 5.56999 11.8417 5.34439 12.2929 4.89964C12.7376 4.45489 12.9568 3.91345 12.9568 3.28177C12.9568 2.65009 12.7376 2.10866 12.2929 1.66391Z",fill:"currentColor"}),ne("path",{d:"M3.54608 9.75962C3.10133 9.31487 2.87573 8.77343 2.87573 8.13531C2.87573 7.49719 3.10133 6.96864 3.54608 6.52389C3.99084 6.07914 4.53227 5.85999 5.16395 5.85999C5.79563 5.85999 6.33707 6.07914 6.78182 6.52389C6.92362 6.6657 7.04609 6.82039 7.14278 6.98798C7.34904 7.3296 7.45217 7.7099 7.45217 8.13531C7.45217 8.77343 7.22657 9.31487 6.78182 9.75962C6.64646 9.89498 6.49821 10.011 6.34351 10.1012C5.99544 10.3204 5.60226 10.4235 5.16395 10.4235C4.53227 10.4235 3.99084 10.2044 3.54608 9.75962Z",fill:"currentColor"}),ne("path",{d:"M9.49546 13.3112V15H0.832458V13.3112C0.832458 12.976 0.922698 12.6731 1.09673 12.3895C1.27077 12.1123 1.49636 11.8996 1.78642 11.7514C2.32786 11.4806 2.88219 11.2808 3.44296 11.139C4.01018 11.0037 4.58385 10.9392 5.16396 10.9392C5.74407 10.9392 6.33063 11.0037 6.89785 11.139C7.45862 11.2744 8.00651 11.4742 8.5415 11.7449C8.82511 11.8867 9.05715 12.0994 9.23119 12.383C9.40522 12.6602 9.49546 12.9696 9.49546 13.3112Z",fill:"currentColor"})]})}import{jsx as q,jsxs as yt}from"react/jsx-runtime";function We(){return yt("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[yt("g",{clipPath:"url(#clip0_21669_68418)",children:[q("path",{d:"M13.1869 12.1386C13.2272 12.1789 13.2742 12.2191 13.3211 12.246V13.4202C13.3211 14.3194 12.5964 15.0508 11.6973 15.0508H2.42386C1.5247 15.0508 0.800003 14.3194 0.800003 13.4202V4.14681C0.800003 3.24765 1.5247 2.52295 2.42386 2.52295H4.16179C3.81286 3.23422 3.6384 4.0126 3.6384 4.86479C3.6384 6.28063 4.16179 7.56898 5.14818 8.58892C6.14128 9.60215 7.42292 10.139 8.8656 10.139C9.37557 10.139 9.8587 10.0719 10.3083 9.93095C10.4962 9.87727 10.6706 9.81688 10.8384 9.74307L13.1869 12.1386Z",fill:"currentColor"}),q("path",{d:"M13.3144 8.2333L12.2744 7.1731L12.1871 7.08586L12.261 6.98521C12.469 6.68325 12.63 6.35446 12.724 5.97869C12.8313 5.60963 12.8783 5.24728 12.8783 4.85809C12.8783 4.02604 12.6501 3.26779 12.214 2.61019C12.0731 2.38876 11.9053 2.17403 11.704 1.97273C10.9189 1.17422 9.98621 0.785034 8.85891 0.785034C7.7316 0.785034 6.79889 1.18764 6.0138 1.97944C5.84605 2.1539 5.69843 2.33508 5.56422 2.52296C5.0878 3.20069 4.84624 3.97906 4.84624 4.8648C4.84624 5.97869 5.24885 6.94495 6.0138 7.73675C6.79218 8.52854 7.74502 8.92444 8.85891 8.92444C9.24809 8.92444 9.61715 8.87076 9.95266 8.77011C10.315 8.66275 10.6371 8.50841 10.9525 8.28698L11.0464 8.21988L11.1336 8.30711L13.3144 10.5349L14.0593 11.2864L15.2 10.1524L13.3144 8.2333ZM10.5633 6.5826C10.0869 7.05231 9.5165 7.28717 8.85891 7.28717C8.20131 7.28717 7.63095 7.05231 7.16795 6.5826C6.71166 6.10618 6.47009 5.52911 6.47009 4.85809C6.47009 4.18708 6.71166 3.59659 7.16795 3.13359C7.44306 2.83834 7.77186 2.63703 8.13421 2.52296C8.35564 2.44915 8.60392 2.4156 8.85891 2.4156C9.11389 2.4156 9.36217 2.44915 9.5836 2.52296C9.94595 2.63703 10.2747 2.83834 10.5633 3.13359C11.0129 3.6033 11.2477 4.18708 11.2477 4.85809C11.2477 5.52911 11.0129 6.10618 10.5633 6.5826Z",fill:"currentColor"})]}),q("defs",{children:q("clipPath",{id:"clip0_21669_68418",children:q("rect",{fill:"white",height:"16",width:"16"})})})]})}import{jsx as kt,jsxs as bo}from"react/jsx-runtime";function De(){return bo("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[kt("path",{d:"M10.3852 1.31957C10.0455 0.973222 9.62592 0.800049 9.13305 0.800049H3.36504C2.87216 0.800049 2.45921 0.973222 2.11287 1.31957C1.77318 1.65925 1.60001 2.07886 1.60001 2.56508V10.3379C1.60001 10.8241 1.77318 11.2437 2.11287 11.5834C2.45255 11.9231 2.87216 12.1029 3.36504 12.1029H9.13305C9.62592 12.1029 10.0455 11.9297 10.3852 11.5834C10.7316 11.2437 10.8981 10.8241 10.8981 10.3379V2.56508C10.8981 2.07886 10.7316 1.65925 10.3852 1.31957ZM7.36135 9.72512H3.63146V8.39302H7.36135V9.72512ZM8.87329 7.1142H3.63146V5.7821H8.87329V7.1142ZM8.87329 4.50995H3.63146V3.17785H8.87329V4.50995Z",fill:"currentColor"}),kt("path",{d:"M4.69714 15.2001V13.435H12.2302V3.89722H13.9952V13.4284C13.9952 13.9213 13.822 14.3342 13.4824 14.6806C13.1427 15.0202 12.7231 15.1934 12.2302 15.1934H4.69714V15.2001Z",fill:"currentColor"})]})}import{jsx as wt,jsxs as xo}from"react/jsx-runtime";function Be(){return xo("svg",{className:"text-current",fill:"none",height:"16",viewBox:"0 0 16 16",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[wt("path",{clipRule:"evenodd",d:"M9.11003 0.226492C8.74585 -0.0186302 8.28362 -0.0676546 7.87742 0.0934257L1.83341 2.51663C1.32916 2.71273 1 3.20298 1 3.74225V15.319C1 15.6342 1.25913 15.8863 1.56728 15.8863H9.12404C9.43919 15.8863 9.69132 15.6342 9.69132 15.319V1.32604C9.69132 0.884821 9.47421 0.471614 9.11003 0.226492ZM7.6323 13.0569H3.06603V11.5301H7.6323V13.0569ZM7.6323 10.0244H3.06603V8.50462H7.6323V10.0244ZM7.6323 6.97786H3.06603V5.4581H7.6323V6.97786Z",fill:"currentColor",fillRule:"evenodd"}),wt("path",{clipRule:"evenodd",d:"M11.2181 4.17651V15.3261C11.2181 15.5292 11.1761 15.7183 11.092 15.8934H14.4327C14.7479 15.8934 15 15.6412 15 15.3261V5.50017C15 4.77181 14.4047 4.17651 13.6763 4.17651H11.2181Z",fill:"currentColor",fillRule:"evenodd"})]})}import{jsx as W,jsxs as Pt}from"react/jsx-runtime";function Ze(){return Pt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Pt("g",{clipPath:"url(#clip0_21866_73367)",children:[W("path",{d:"M7.69235 13.7928L8.89891 12.587",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),W("path",{d:"M7.41279 11.1021L6.20627 12.3077",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),W("path",{d:"M5.89727 11.9989L8.00135 14.1015L3.53495 18.5647C2.95422 19.145 2.0131 19.145 1.43237 18.5647C0.851054 17.9838 0.851054 17.0416 1.43237 16.4606L5.89727 11.9989Z",fill:"#AAE2E2",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),W("path",{d:"M19.0036 7.35576C19.0049 10.8647 16.1613 13.7083 12.6523 13.707C9.14337 13.7058 6.29779 10.8602 6.29654 7.35128C6.29529 3.84234 9.13888 0.998751 12.6478 1C16.1568 1.00125 19.0024 3.84679 19.0036 7.35576Z",stroke:"#128181",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]}),W("defs",{children:W("clipPath",{id:"clip0_21866_73367",children:W("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as b}from"react/jsx-runtime";function Mt({name:e}){switch(e){case"agenda":return b(ke,{});case"contencioso":return b(Me,{});case"contrato":return b(Te,{});case"consultivo":return b(Pe,{});case"xsigner":return b(ze,{});case"procuracao":return b(Ne,{});case"xpay":return b(Se,{});case"imobiliario":return b(Le,{});case"marcasepatentes":return b(Re,{});case"ged":return b(_e,{});case"regulatorio":return b(Ve,{});case"compliance":return b(we,{});case"xlearning":return b(He,{});case"societario":return b(Fe,{});case"audiencia":return b(Ae,{});case"pericia":return b(We,{});case"custom_contrato":return b(De,{});case"filial":return b(Be,{});case"xfinder":return b(Ze,{});default:return null}}import{jsx as Tt}from"react/jsx-runtime";function P({className:e,filled:t=!1,name:o,...r}){return mt.includes(o)?Tt(Mt,{name:o}):Tt("span",{...r,className:yo("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${t?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...r.style},children:o})}import{Slot as Mo}from"@radix-ui/react-slot";import{cva as To}from"@xjur-ui/util";import{memo as Rt,useState as _o}from"react";import*as le from"@radix-ui/react-tooltip";import{jsx as Ee}from"react/jsx-runtime";function ko({delayDuration:e=0,...t}){return Ee(le.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function Oe({...e}){return Ee(ko,{children:Ee(le.Root,{"data-slot":"tooltip",...e})})}import*as _t from"@radix-ui/react-tooltip";import{jsx as wo}from"react/jsx-runtime";function Ge({...e}){return wo(_t.Trigger,{"data-slot":"tooltip-trigger",...e})}import*as se from"@radix-ui/react-tooltip";import{cx as Po}from"@xjur-ui/util";import{jsx as Lt}from"react/jsx-runtime";function Xe({className:e,sideOffset:t=1,variant:o="simple",children:r,...i}){return Lt(se.Portal,{children:Lt(se.Content,{className:Po("text-size-body-sm z-99999 text-balance","data-[variant=simple]:bg-alt-2 data-[variant=simple]:text-neutral-label data-[variant=simple]:rounded-small-1x data-[variant=simple]:px-small data-[variant=simple]:py-small-1x","data-[variant=rich]:bg-layer-2-idle data-[variant=rich]:text-neutral-dark data-[variant=rich]:rounded-small data-[variant=rich]:border-border-layer-2 data-[variant=rich]:p-large data-[variant=rich]:border","animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 z-50 w-fit origin-(--radix-tooltip-content-transform-origin)",e),"data-slot":"tooltip-content","data-variant":o,sideOffset:t,...i,children:r})})}import{jsx as pe,jsxs as Ro}from"react/jsx-runtime";var Lo=To("",{variants:{variant:{body:"",label:"",title:"",headline:""},size:{"sm-2x":"","sm-1x":"",sm:"",md:"",lg:""},weight:{thin:"font-thin",extraLight:"font-extralight",light:"font-light",normal:"font-normal",medium:"font-medium",semibold:"font-semibold",bold:"font-bold",extraBold:"font-extrabold",black:"font-black"}},compoundVariants:[{variant:"body",size:"sm-1x",class:"text-size-body-sm-1x"},{variant:"body",size:"sm",class:"text-size-body-sm"},{variant:"body",size:"md",class:"text-size-body-md"},{variant:"body",size:"lg",class:"text-size-body-lg"},{variant:"label",size:"sm-2x",class:"text-size-label-sm-2x"},{variant:"label",size:"sm-1x",class:"text-size-label-sm-1x"},{variant:"label",size:"sm",class:"text-size-label-sm"},{variant:"label",size:"md",class:"text-size-label-md"},{variant:"label",size:"lg",class:"text-size-label-lg"},{variant:"title",size:"sm",class:"text-size-title-sm"},{variant:"title",size:"md",class:"text-size-title-md"},{variant:"title",size:"lg",class:"text-size-title-lg"},{variant:"headline",size:"sm",class:"text-size-headline-sm"},{variant:"headline",size:"md",class:"text-size-headline-md"},{variant:"headline",size:"lg",class:"text-size-headline-lg"}],defaultVariants:{variant:"body",size:"md",weight:"normal"}}),s=Rt(({variant:e,size:t,weight:o,asChild:r,className:i,children:l,...a})=>pe(r?Mo:"span",{className:Lo({variant:e,size:t,weight:o,className:i}),...a,children:l}));s.displayName="Typography";var $e=Rt(({children:e,...t})=>{let[o,r]=_o(!1);return Ro(Oe,{children:[pe(Ge,{asChild:!0,children:pe(s,{onMouseEnter:({currentTarget:l})=>{let a=l.scrollWidth>l.clientWidth;r(a),a?l.style.cursor="pointer":l.style.cursor="text"},...t,children:e})}),o&&pe(Xe,{children:e})]})});$e.displayName="TruncatedTypography";import{jsx as U,jsxs as Vo}from"react/jsx-runtime";function J({label:e,name:t,className:o,disabled:r=!1,...i}){let l=`field-checkbox-${t}`;return Vo("div",{className:"group gap-small flex items-center",children:[U(de.Root,{disabled:r,...i,className:No("size-large-alt rounded-small-1x inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary","data-[state=checked]:bg-primary-active data-[state=checked]:border-primary-active","data-[state=checked]:hover:border-primary-idle","disabled:hover:border-border-layer-2 disabled:cursor-not-allowed disabled:opacity-[38%]",o),id:l,name:t,children:U(de.Indicator,{className:"flex items-center justify-center",children:U(P,{className:"text-neutral-label",name:"check"})})}),!!e&&U(s,{asChild:!0,className:"text-size-body-sm data-[disabled=true]:opacity-38","data-disabled":r,weight:"medium",children:U("label",{htmlFor:l,children:e})})]})}import{createContext as So,useContext as zo}from"react";var Y=So({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function f(){let e=zo(Y);if(!e)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return e}import{tv as Io}from"@xjur-ui/util";var T=Io({slots:{wrapper:"group flex flex-col gap-small-2x",trigger:["h-large-4x relative","inline-flex w-auto items-center gap-small rounded-small-1x","py-small_1x-alt px-small","bg-layer-2-hover border border-transparent","group-has-[div[data-slot=input-action-slot]]:rounded-r-none","transition-all duration-200"],content:"flex w-full",value:"text-size-body-md font-normal placeholder:text-neutral-placeholder flex-1 outline-none",icon:"size-large text-icon-neutral-3 flex items-center justify-center group-data-[state=open]:rotate-180 transition-transform duration-200",slotText:"size-large flex items-center justify-center !text-size-label-md text-neutral-placeholder",caption:"!text-size-body-sm font-normal",action:"h-large-4x overflow-hidden"},variants:{state:{normal:{trigger:"hover:border-border-layer-1 focus-within:border-primary-idle focus-within:hover:border-primary-idle"},error:{trigger:"border-danger-idle hover:border-danger-idle focus-within:border-danger-idle focus-within:hover:border-danger-idle",caption:"text-danger-label-idle"},disabled:{trigger:"pointer-events-none border-transparent bg-layer-2-idle"}}}});import{jsx as Fo}from"react/jsx-runtime";var{content:Ho}=T();function Nt({className:e,...t}){let{state:o}=f();return Fo("div",{className:Ho({className:e,state:o}),...t})}import{NumericFormat as Ao}from"react-number-format";import{jsx as St}from"react/jsx-runtime";var{value:Wo}=T();function Do({className:e,placeholder:t,value:o,...r}){let{state:i,variant:l}=f();return St(Ao,{className:Wo({className:e,state:i}),disabled:i==="disabled",placeholder:l==="filter"?" ":t,readOnly:i==="disabled",value:o||"",...r})}function Vt(e){return St(Do,{allowNegative:!1,decimalScale:2,decimalSeparator:",",fixedDecimalScale:!0,inputMode:"decimal",thousandSeparator:".",...e})}import{jsx as zt}from"react/jsx-runtime";var{wrapper:Bo}=T();function It({className:e,state:t="normal",customMask:o,variant:r="normal",mask:i,...l}){return zt(Y.Provider,{value:{state:t,customMask:o,mask:i,variant:r},children:zt("div",{className:Bo({className:e,state:t}),...l})})}import{jsx as Eo}from"react/jsx-runtime";var{slotText:Zo}=T();function Ht({className:e,...t}){let{state:o}=f();return Eo("span",{className:Zo({className:e,state:o}),...t})}import{tv as Oo,twMerge as Go}from"@xjur-ui/util";import{jsx as $o}from"react/jsx-runtime";var{trigger:Xo}=T();function Ft({className:e,...t}){let{state:o,variant:r}=f(),i=Oo({base:["group bg-layer-2-idle relative"],variants:{state:{normal:["border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle"],error:["border-danger-idle hover:border-danger-idle"],disabled:["border border-border-layer-2 opacity-60"]}}}),l=Go(Xo({state:o,className:e}),r==="filter"&&i({state:o,className:e}));return $o("div",{"aria-disabled":o==="disabled",className:l,...t})}import"react";import*as At from"@radix-ui/react-dropdown-menu";import{jsx as qo}from"react/jsx-runtime";function qe({...e}){return qo(At.Root,{"data-slot":"dropdown-menu",...e})}import*as Wt from"@radix-ui/react-dropdown-menu";import{jsx as Uo}from"react/jsx-runtime";function Ue({...e}){return Uo(Wt.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}import*as ce from"@radix-ui/react-dropdown-menu";import{cx as lr}from"@xjur-ui/util";import{Slot as Yo}from"@radix-ui/react-slot";import{cx as jo}from"@xjur-ui/util";import{useVirtualizer as Ko}from"@tanstack/react-virtual";import{useRef as Qo}from"react";import{createContext as Jo}from"react";var j=Jo({virtualizer:null,enabled:!1});import{jsx as Dt}from"react/jsx-runtime";function K({className:e,asChild:t,children:o,virtualized:r=!1,itemCount:i=0,estimateSize:l=()=>48,overscan:a=5,...c}){let g=t?Yo:"div",u=Qo(null),w=Ko({count:i,getScrollElement:()=>u.current,estimateSize:l,overscan:a,enabled:r});return Dt(j.Provider,{value:{virtualizer:w,enabled:r},children:Dt(g,{...c,className:jo(e,"rounded-small scrollbar-thin bg-layer-2-idle border-border-layer-2 shadow-elevation-3 z-1000 max-h-[400px] list-none overflow-x-hidden overflow-y-auto border"),ref:u,children:o})})}import{Slot as c1}from"@radix-ui/react-slot";import{cx as u1}from"@xjur-ui/util";import{jsx as h1}from"react/jsx-runtime";import{cx as v1}from"@xjur-ui/util";import{jsx as y1}from"react/jsx-runtime";import{Slot as er}from"@radix-ui/react-slot";import{cx as Bt}from"@xjur-ui/util";import{useContext as tr}from"react";import{jsx as Je}from"react/jsx-runtime";function Q({className:e,asChild:t,children:o,renderItem:r,...i}){let l=t?er:"ul",{virtualizer:a,enabled:c}=tr(j);if(c&&a&&r){let g=a.getVirtualItems();return Je(l,{...i,className:Bt("p-small relative flex flex-col",e),style:{height:`${a.getTotalSize()}px`},children:g.map(u=>Je("div",{className:"absolute top-0 left-0 w-full","data-index":u.index,ref:a.measureElement,style:{transform:`translateY(${u.start}px)`},children:r(u.index)},u.key))})}return Je(l,{...i,className:Bt("gap-small-1x p-small flex flex-col",e),children:o})}import{Slot as or}from"@radix-ui/react-slot";import{cx as rr,cva as ar}from"@xjur-ui/util";import{jsx as nr}from"react/jsx-runtime";var ir=ar(["py-medium px-small flex items-center gap-small rounded-small-1x","bg-layer-2-idle text-neutral-dark","hover:bg-layer-2-hover transition-colors duration-100 ease-out","active:bg-layer-2-pressed"],{variants:{size:{md:"h-large-4x",lg:"h-large-7x"},isActive:{true:"bg-primary-alt-active text-primary-label-active hover:bg-primary-alt-hover active:bg-primary-alt-pressed"}},defaultVariants:{size:"md",isActive:!1}});function ee({className:e,size:t,isActive:o,asChild:r,...i}){return nr(r?or:"li",{...i,className:rr(ir({size:t,isActive:o}),e)})}import{jsx as Ye}from"react/jsx-runtime";function je({className:e,sideOffset:t=4,align:o="start",side:r="bottom",children:i,...l}){return Ye(ce.Portal,{children:Ye(ce.Content,{align:o,className:lr("group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)]",e),"data-slot":"dropdown-menu-content",side:r,sideOffset:t,...l,children:Ye(K,{children:i})})})}import{jsx as sr}from"react/jsx-runtime";function Ke({...e}){return sr(Q,{...e})}import{jsx as J1}from"react/jsx-runtime";import{cx as dr}from"@xjur-ui/util";import"react";import*as pr from"@radix-ui/react-separator";import{cx as Q1}from"@xjur-ui/util";import{jsx as tn}from"react/jsx-runtime";import{jsx as Ot}from"react/jsx-runtime";function me({className:e,...t}){return Ot(ee,{className:dr(e,"cursor-pointer"),...t})}function ue({...e}){return Ot(s,{...e})}import{cx as cr}from"@xjur-ui/util";import{jsx as Gt}from"react/jsx-runtime";function Xt({className:e,...t}){return Gt("div",{className:"text-size-body-md scrollbar-thin relative w-full overflow-hidden transition-all hover:overflow-x-auto","data-slot":"table-container",children:Gt("table",{className:cr("w-full caption-bottom",e),"data-slot":"table",...t})})}import{cx as mr}from"@xjur-ui/util";import{jsx as ur}from"react/jsx-runtime";function $t({className:e,...t}){return ur("tbody",{className:mr("[&_tr]:border-border-layer-2 [&_tr]:border-b [&_tr:last-child]:border-0",e),"data-slot":"table-body",...t})}import{cx as fr}from"@xjur-ui/util";import{jsx as hr}from"react/jsx-runtime";function V({className:e,...t}){return hr("td",{className:fr("px-small py-none h-large-8x text-left align-middle whitespace-nowrap",e),"data-slot":"table-cell",...t})}import{cx as Vn}from"@xjur-ui/util";import{jsx as zn}from"react/jsx-runtime";import{cx as gr}from"@xjur-ui/util";import{jsx as Cr}from"react/jsx-runtime";function qt({className:e,...t}){return Cr("thead",{className:gr("group/table-header [&_tr]:border-border-layer-2 hover:bg-layer-2-hover [&_tr]:border-b",e),"data-slot":"table-header",...t})}import{cx as vr}from"@xjur-ui/util";import{jsx as br}from"react/jsx-runtime";function te({className:e,...t}){return br("th",{className:vr("group/th text-neutral-placeholder text-size-label-sm h-large-4x py-small-1x px-small text-left align-middle font-medium whitespace-nowrap","relative","animate-in fade-in duration-200 ease-in",e),"data-slot":"table-head",...t})}import dt,{useState as ro}from"react";import{cx as ve}from"@xjur-ui/util";import*as h from"react";import*as E from"@radix-ui/react-radio-group";import{cx as fe}from"@xjur-ui/util";import{jsx as k,jsxs as he}from"react/jsx-runtime";function xr({children:e,allowToggle:t,value:o,onValueChange:r}){let[i,l]=h.useState([]),[a,c]=h.useState([]);h.useEffect(()=>{let C=h.Children.toArray(e).filter(v=>h.isValidElement(v)&&typeof v.props=="object"&&v.props!==null&&"value"in v.props&&typeof v.props.value=="string").map(v=>v.props.value);c(C)},[e]),h.useEffect(()=>{t&&l(o?o.split(",").filter(Boolean):[])},[o,t]);let g=h.useCallback(C=>{if(!t){r?.(C);return}l(v=>{let S=v.includes(C)?v.filter(x=>x!==C):[...v,C];return r?.(S.join(",")),S})},[t,r]),u=a.length>0&&a.every(C=>i.includes(C)),w=h.useCallback(()=>{if(!t)return;let C=u?[]:a;l(C),r?.(C.join(","))},[t,u,a,r]);return{selected:i,allValues:a,toggleValue:g,toggleAll:w,allSelected:u}}function Ut({checked:e,disabled:t,onClick:o,className:r,...i}){let l=h.useCallback(()=>{o?.()},[o]);return k("button",{className:fe("size-large-alt rounded-circle inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary",e?"bg-primary-active border-primary-active":"",t&&"hover:border-border-layer-2 cursor-not-allowed opacity-[38%]",r),disabled:t,type:"button",onClick:l,...i,children:e&&k("div",{className:"relative flex items-center justify-center","data-slot":"radio-group-indicator"})})}function yr({label:e,checked:t,onClick:o}){let r=h.useCallback(()=>{o()},[o]);return he("div",{className:"gap-small flex items-center",children:[k(Ut,{checked:t,onClick:r}),k(s,{asChild:!0,className:"text-size-body-sm",weight:"medium",children:k("button",{className:"cursor-pointer border-none bg-transparent p-0 text-left",type:"button",onClick:r,children:e})})]})}function Jt({className:e,orientation:t="vertical",allowToggle:o=!1,allowSelectAll:r=!1,selectAllLabel:i="Selecionar todos",value:l,onValueChange:a,children:c,...g}){let{selected:u,toggleValue:w,toggleAll:C,allSelected:v}=xr({children:c,allowToggle:o,value:l||void 0,onValueChange:a}),_=t==="horizontal",S=h.useCallback(x=>{a?.(x)},[a]);return o?he("div",{className:"gap-small flex flex-col",children:[r&&k(yr,{checked:v,label:i,onClick:C}),k("div",{className:fe("gap-small flex",_?"flex-row":"flex-col",e),children:h.Children.map(c,x=>{if(h.isValidElement(x)&&typeof x.props=="object"&&x.props!==null&&"value"in x.props){let H=x.props;return h.cloneElement(x,{allowToggle:!0,checked:u.includes(H.value),onToggle:()=>w(H.value)})}return x})})]}):k(E.Root,{className:fe("gap-small flex",_?"flex-row":"flex-col",e),"data-slot":"radio-group",value:l,onValueChange:S,...g,children:c})}function Yt({className:e,id:t,label:o,disabled:r=!1,allowToggle:i=!1,checked:l=!1,onToggle:a,...c}){let g=h.useCallback(()=>a?.(),[a]);return i?he("div",{className:"gap-small flex items-center",children:[k(Ut,{checked:l,disabled:r,onClick:g}),!!o&&k(s,{asChild:!0,className:"text-size-body-sm","data-disabled":r,weight:"medium",children:k("button",{className:"cursor-pointer border-none bg-transparent p-0 text-left",disabled:r,type:"button",onClick:g,children:o})})]}):he("div",{className:"gap-small flex items-center",children:[k(E.Item,{className:fe("size-large-alt rounded-circle inline-flex items-center justify-center transition-[border-color,box-shadow,background-color] duration-200 outline-none","border-border-layer-2 bg-layer-2-idle cursor-pointer border-2","hover:border-primary-idle focus:border-primary-idle focus:shadow-focus-primary","data-[state=checked]:bg-primary-active data-[state=checked]:border-primary-active","data-[state=checked]:hover:border-primary-idle",r&&"hover:border-border-layer-2 cursor-not-allowed opacity-[38%]",e),disabled:r,id:t,...c,children:k(E.Indicator,{className:"relative flex items-center justify-center"})}),!!o&&k(s,{asChild:!0,className:"text-size-body-sm","data-disabled":r,weight:"medium",children:k("label",{htmlFor:t,children:o})})]})}import*as jt from"@radix-ui/react-popover";import{tv as kr}from"@xjur-ui/util";var M=kr({slots:{wrapper:"group flex flex-col gap-small-2x",trigger:["h-large-4x w-auto inline-flex cursor-pointer relative","items-center gap-small rounded-small-1x","py-small_1x-alt px-small","bg-layer-2-idle border border-border-layer-2","group-has-[div[data-slot=input-action-slot]]:rounded-r-none","transition-all duration-200"],content:["group z-1000 max-h-[var(--radix-popover-content-available-height)] max-w-[240px] min-w-[var(--radix-popover-trigger-width)] group-data-[state=open]:rotate-180 transition-transform duration-200"],icon:"size-large text-icon-neutral-3 flex items-center justify-center",slotText:"size-large flex items-center justify-center !text-size-label-md text-neutral-placeholder",caption:"!text-size-body-sm font-normal"},variants:{state:{normal:{trigger:"hover:border-border-layer-3 data-[state=open]:border-primary-idle data-[state=open]:hover:border-primary-idle"},error:{trigger:"border-danger-idle hover:border-danger-idle data-[state=open]:border-danger-idle data-[state=open]:hover:border-danger-idle",caption:"text-danger-label-idle"},disabled:{trigger:"pointer-events-none border-transparent bg-layer-2-idle"}}}});import{jsx as Qe}from"react/jsx-runtime";var{wrapper:wr}=M();function et({className:e,state:t="normal",defaultOpen:o,variant:r="normal",modal:i,open:l,onOpenChange:a,...c}){return Qe(jt.Root,{defaultOpen:o,modal:i,open:l,onOpenChange:a,children:Qe(Y.Provider,{value:{state:t,variant:r},children:Qe("div",{className:wr({className:e,state:t}),...c})})})}import{tv as Pr,twMerge as Mr}from"@xjur-ui/util";import*as Kt from"@radix-ui/react-popover";import{jsx as _r}from"react/jsx-runtime";var{trigger:Tr}=M();function tt({className:e,...t}){let{state:o,variant:r}=f(),i=Pr({base:["group bg-layer-2-idle"],variants:{state:{normal:["border-border-layer-2 hover:border-border-layer-3 has-[input:not(:placeholder-shown)]:border-primary-idle"],error:["border-danger-idle hover:border-danger-idle"],disabled:["border border-border-layer-2 opacity-60"]}}}),l=Mr(Tr({state:o,className:e}),r==="filter"&&i({state:o,className:e}));return _r(Kt.Trigger,{className:l,disabled:o==="disabled",...t})}import{jsx as Qt}from"react/jsx-runtime";var{icon:Lr}=M();function ot({className:e,name:t,orientation:o="left",...r}){let{state:i}=f();return Qt("div",{className:Lr({className:e,state:i}),"data-slot":`control-${o}-slot`,...r,children:Qt(P,{name:t})})}import{twJoin as Nr}from"@xjur-ui/util";import{useMemo as Vr}from"react";import{tv as Rr}from"@xjur-ui/util";import{jsx as eo}from"react/jsx-runtime";function rt({className:e,htmlFor:t,children:o,...r}){let{state:i}=f(),l=Rr({base:["group inline-block max-w-full truncate text-left","ease animate-in left-small right-small pointer-events-none absolute top-1/2 -translate-y-1/2 transition-all duration-250","text-size-body-md","group-focus-within:-top-[3px]","group-data-[state=open]:-top-[3px]","group-focus-within:text-size-label-sm-1x group-focus-within:font-medium","group-data-[state=open]:text-size-label-sm-1x group-data-[state=open]:font-medium","group-has-[input:not(:placeholder-shown)]:-top-[3px]","group-has-[input:not(:placeholder-shown)]:text-size-label-sm-1x","group-has-[input:not(:placeholder-shown)]:font-medium","group-has-[div[data-slot=control-left-slot]]:left-large-4x","group-has-[div[data-slot=control-left-slot]]:group-focus-within:left-small","group-has-[div[data-slot=control-left-slot]]:group-has-[input:not(:placeholder-shown)]:left-small","group-has-[div[data-slot=control-left-slot]]:group-data-[state=open]:left-small","group-focus-within:animate-in","group-has-[input:not(:placeholder-shown)]:animate-out","data-[disabled=true]:hidden"],variants:{state:{normal:["group-focus-within:!text-primary-idle group-data-[state=open]:!text-primary-idle","group-has-[input:not(:placeholder-shown)]:!text-primary-idle"],error:["group-focus-within:!text-danger-label-active group-data-[state=open]:!text-danger-label-active","group-has-[input:not(:placeholder-shown)]:!text-danger-label-active"],disabled:[]}}});return eo("label",{className:l({className:e,state:i}),htmlFor:t,...r,children:eo("span",{className:"rounded-small-1x bg-layer-2-idle max-w-full",children:o})})}import{jsx as ge,jsxs as Sr}from"react/jsx-runtime";function at({className:e,value:t,placeholder:o,renderValue:r,...i}){let{variant:l}=f(),a=Vr(()=>{let c=r?r(t??""):typeof t=="object"?t?.label:t;return l==="filter"?c:c||o},[t,o,l,r]);return Sr("div",{className:"grid w-full items-center",children:[o&&l==="filter"&&ge(rt,{children:o}),o&&l==="filter"&&ge(s,{className:"invisible col-start-1 row-start-1 self-center",children:o}),ge(s,{className:"text-neutral-dark z-10 col-start-1 row-start-1 self-center text-left",children:a}),ge("input",{...i,"aria-readonly":!0,className:Nr("pointer-events-none",e),hidden:!0,placeholder:" ",readOnly:!0,value:typeof t=="object"?t?.value??"":t??""})]})}import{twMerge as bl}from"@xjur-ui/util";import{Fragment as yl,useMemo as kl}from"react";import{jsx as _l,jsxs as Ll}from"react/jsx-runtime";import*as Ce from"@radix-ui/react-popover";import{jsx as it}from"react/jsx-runtime";var{content:zr}=M();function nt({className:e,sideOffset:t=5,side:o="bottom",align:r="start",children:i,virtualized:l=!1,overscan:a=5,estimateSize:c=()=>32,...g}){let{state:u}=f();return it(Ce.Portal,{children:it(Ce.Content,{align:r,className:zr({className:e,state:u}),side:o,sideOffset:t,...g,children:it(K,{estimateSize:c,overscan:a,virtualized:l,children:i})})})}import{jsx as Dl}from"react/jsx-runtime";var{caption:Al}=M();import{jsx as Xl}from"react/jsx-runtime";var{slotText:Ol}=M();import{jsx as Ir}from"react/jsx-runtime";function lt(e){return Ir(Q,{...e})}import{twMerge as Hr}from"@xjur-ui/util";import*as oo from"@radix-ui/react-popover";import{jsx as to}from"react/jsx-runtime";function st({className:e,value:t,closeOnSelect:o=!0,...r}){let i=to(ee,{className:Hr(e,"cursor-pointer"),value:typeof t=="object"?t?.value:t,...r});return o?to(oo.Close,{asChild:!0,children:i}):i}import{twMerge as Fr}from"@xjur-ui/util";import{jsx as Ar}from"react/jsx-runtime";function pt({className:e,...t}){return Ar($e,{className:Fr(e,"truncate"),...t})}import{jsx as ns}from"react/jsx-runtime";import{jsx as ds}from"react/jsx-runtime";import{Close as Ss}from"@radix-ui/react-popover";import{Fragment as Wr,jsx as m,jsxs as D}from"react/jsx-runtime";function O({className:e,isSelected:t=!1,variant:o="default",accordionContent:r,isAccordionOpen:i=!1,onAccordionToggle:l,accordionData:a,...c}){let[g,u]=ro(i),[w,C]=ro("");dt.useEffect(()=>{u(i)},[i]);let v=()=>{if(!r)return;u(!g),l?.()},_=p=>{a?.checkbox?.onCheckedChange(p)},S=dt.useCallback(p=>{a?.radio&&a.radio.onCheckedChange(a.radio.value,p)},[a?.radio]),x=dt.useMemo(()=>!a?.searchSelect?.options||!w?a?.searchSelect?.options||[]:a.searchSelect.options.filter(p=>p.label.toLowerCase().includes(w.toLowerCase())),[a?.searchSelect?.options,w]),H=p=>{C(p.target.value)},G=p=>{a?.searchSelect?.onChangeSearchOption(p),C("")};return o==="accordion"?D(Wr,{children:[D("tr",{"aria-expanded":r?g:void 0,className:ve("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",r&&"cursor-pointer",e),"data-selected":t,"data-slot":"table-row-accordion",role:r?"button":void 0,tabIndex:r?0:void 0,onClick:v,...c,children:[m("td",{className:"w-6 px-2 py-3",children:a?.checkbox&&m(J,{checked:a.checkbox.checked,onCheckedChange:_,onClick:p=>p.stopPropagation()})}),m("td",{className:"px-2 py-3",children:D("div",{className:"flex items-center gap-2",children:[r&&m(P,{className:ve("text-neutral-medium transition-transform duration-200",g&&"rotate-90"),name:"keyboard_arrow_up"}),m(s,{children:a?.text1})]})}),m("td",{className:"px-2 py-3",children:m(s,{children:a?.text2})}),m("td",{className:"px-2 py-3",onClick:p=>p.stopPropagation(),children:a?.searchSelect&&D(et,{children:[D(tt,{children:[m(at,{placeholder:"Selecione",value:{value:a.searchSelect?.selectedSearchOption||"",label:a.searchSelect?.options.find(p=>p.value===a.searchSelect?.selectedSearchOption)?.label||""}}),m(ot,{className:"text-layer-1-active",name:"keyboard_arrow_down"})]}),m(nt,{children:D(lt,{className:"p-0",children:[m("div",{className:"py-small border-border-layer-2 border-b",children:D("div",{className:"gap-small py-small_1x-alt bg-layer-2-idle rounded-small flex items-center",children:[m(P,{className:"text-layer-1-active",name:"search"}),m("input",{className:"text-size-body-md text-neutral-dark placeholder:text-neutral-placeholder flex-1 bg-transparent outline-none",placeholder:"Pesquisar",value:w,onChange:H})]})}),x.map(p=>m(st,{className:"p-0",isActive:a.searchSelect?.selectedSearchOption===p.value,value:p,onClick:()=>G(p.value),children:m(pt,{children:p.label})},p.value))]})})]})}),m("td",{className:"px-2 py-3",onClick:p=>p.stopPropagation(),children:a?.radio&&m(Jt,{allowToggle:!0,className:"",value:a.radio.checked?a.radio.value:"",onValueChange:p=>{a?.radio&&S(p!=="")},children:m(Yt,{className:"",id:`principal-${a.radio.value}`,label:"",value:a.radio.value})})})]}),g&&r&&m("tr",{className:ve("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",e),children:m("td",{colSpan:5,children:r})})]}):m("tr",{className:ve("bg-layer-2-idle hover:bg-layer-2-hover ease border-b transition-colors duration-100","active:bg-layer-2-pressed","data-[selected=true]:bg-primary-alt-active",e),"data-selected":t,"data-slot":"table-row",...c})}import{cx as Os}from"@xjur-ui/util";import{jsx as $s}from"react/jsx-runtime";import{jsx as n,jsxs as y}from"react/jsx-runtime";function io({children:e,align:t="left",sortable:o=!1}){return y("div",{className:be("gap-small flex items-center",t==="right"&&"justify-end"),children:[n(s,{className:"text-neutral-placeholder",size:"sm-1x",variant:"label",weight:"medium",children:e}),o&&n("span",{className:"rounded-small-1x flex size-5 items-center justify-center",children:n(P,{className:"text-neutral-placeholder text-size-body-sm",name:"expand_all"})})]})}function gp({className:e,rows:t,mode:o="sidebar",title:r="Valor hora",onToggleAll:i,onToggleRow:l,onCardRowClick:a,onEditClick:c,onDeleteClick:g,...u}){let[w,C]=ao(null),[v,_]=ao(""),S=t.length>0&&t.every(d=>d.selected),x=t[0],H=o==="card"?t.slice(0,3):t,G=o==="card"?Math.max(t.length-H.length,0):0,p=d=>{C(d.id),_(d.valorHora.replace(/^R\$\s*/,""))},xe=()=>{C(null),_("")},no=()=>{!w||!v.trim()||(c?.({id:w,valorHora:v}),xe())};if(o==="capa"){let d=Math.max(t.length-1,0);return y("div",{className:be("gap-small-1x inline-flex flex-col",e),"data-slot":"xpay-valor-hora-capa",...u,children:[y("div",{className:"gap-small flex items-center",children:[n(s,{size:"md",variant:"label",weight:"medium",children:r}),n(P,{className:"text-neutral-placeholder text-size-body-md",name:"help"})]}),x?y("div",{className:"flex items-center",children:[n(s,{className:"w-[180px]",size:"md",variant:"body",children:x.nivel}),n(s,{className:"w-[180px]",size:"md",variant:"body",children:x.valorHora}),n("div",{className:"flex items-center",children:d>0?y(L,{className:"!text-size-label-md ml-medium h-[32px] min-w-[44px] px-[12px]",size:"sm",type:"button",variant:"outlined",onClick:()=>a?.(x.id),children:["+",d]}):n(L,{appearance:"ghost",className:"!text-size-label-md ml-medium h-[32px] min-w-[44px] px-[12px]",size:"sm",type:"button",variant:"secondary",onClick:()=>a?.(),children:n(s,{size:"md",variant:"body",children:"+ Adicionar"})})})]}):n("div",{className:"flex items-center",children:n(L,{appearance:"ghost",className:"!text-size-label-md ml-medium h-[32px] min-w-[44px] px-[12px]",size:"sm",type:"button",variant:"secondary",onClick:()=>a?.(),children:n(s,{size:"md",variant:"body",children:"+ Adicionar"})})})]})}return n("div",{className:be("border-border-layer-2 rounded-small bg-layer-2-idle overflow-hidden border",e),...u,children:y(Xt,{children:[n(qt,{children:y(O,{className:"border-b-border-layer-2 hover:bg-layer-2-idle",children:[o==="sidebar"&&n(te,{className:"px-small py-small-1x w-[32px]",children:n(J,{checked:S,onCheckedChange:d=>i?.(!!d)})}),n(te,{className:"px-small py-small-1x",children:n(io,{sortable:o==="sidebar",children:"N\xEDvel do profissional"})}),n(te,{className:"px-small py-small-1x w-[180px]",children:n(io,{align:"right",sortable:o==="sidebar",children:"Valor da hora"})}),o==="sidebar"&&n(te,{className:"px-small py-small-1x w-[160px]"})]})}),y($t,{children:[H.map(d=>o==="card"?y(O,{className:"border-b-border-layer-2 hover:bg-layer-2-idle",children:[n(V,{className:"px-small py-medium",children:n(s,{size:"md",variant:"body",children:d.nivel})}),n(V,{className:"px-small py-medium text-right",children:n(s,{size:"md",variant:"body",children:d.valorHora})})]},d.id):(()=>{let ct=w===d.id;return y(O,{className:be("border-b-border-layer-2 hover:bg-layer-2-idle",d.selected&&"bg-primary-alt-idle hover:bg-primary-alt-idle"),isSelected:!!d.selected,children:[n(V,{className:"px-small py-medium w-[32px]",children:n(J,{checked:!!d.selected,onCheckedChange:ye=>l?.(d.id,!!ye)})}),n(V,{className:"px-small py-medium",children:n(s,{size:"md",variant:"body",children:d.nivel})}),n(V,{className:"px-small py-medium w-[180px] text-right",children:ct?n(It,{className:"ml-auto w-[140px]",children:n(Nt,{children:y(Ft,{children:[n(Ht,{children:"R$"}),n(Vt,{placeholder:"0,00",value:v,onValueChange:ye=>{_(ye.formattedValue)}})]})})}):n(s,{size:"md",variant:"body",children:d.valorHora})}),n(V,{className:"px-small py-small w-[160px] text-right",children:ct?y("div",{className:"gap-small flex items-center justify-end",children:[n(L,{appearance:"ghost",size:"sm",type:"button",variant:"secondary",onClick:xe,children:"Cancelar"}),n(L,{size:"sm",type:"button",onClick:no,children:"Salvar"})]}):y(qe,{children:[n(Ue,{asChild:!0,children:n(L,{appearance:"ghost",size:"icon_md",type:"button",variant:"tertiary",children:n(P,{name:"more_vert"})})}),n(je,{align:"end",children:y(Ke,{children:[y(me,{onClick:()=>p(d),children:[n(P,{className:"flex h-4 w-4 items-center",name:"edit"}),n(ue,{children:"Editar"})]}),y(me,{onClick:()=>g?.(d.id),children:[n(P,{className:"flex h-4 w-4 items-center text-red-500",name:"delete"}),n(ue,{className:"text-red-500",children:"Excluir"})]})]})})]})})]},d.id)})()),o==="card"&&(G>0?n(O,{className:"hover:bg-layer-2-idle",children:n(V,{className:"p-0",colSpan:2,children:n(L,{appearance:"ghost",className:"px-small py-medium h-auto w-full justify-start !rounded-none",size:"md",type:"button",variant:"secondary",onClick:()=>{let d=t[0]?.id;d&&a?.(d)},children:n(s,{size:"md",variant:"body",children:G===1?"+1 n\xEDvel de profissional":`+${G} n\xEDveis de profissional`})})})}):n(O,{className:"hover:bg-layer-2-idle",children:n(V,{className:"p-0",colSpan:2,children:n(L,{appearance:"ghost",className:"px-small py-medium h-auto w-full justify-start !rounded-none",size:"md",type:"button",variant:"secondary",onClick:()=>a?.(),children:n(s,{size:"md",variant:"body",children:"+ Adicionar"})})})}))]})]})})}export{gp as XPayValorHoraTable};
@@ -0,0 +1,11 @@
1
+ import type { ComponentProps } from 'react';
2
+ import { type XPayValorHoraRow } from './xpay-valor-hora-table';
3
+ type XPayValorHoraMode = 'card' | 'capa';
4
+ export interface XPayValorHoraCardProps extends ComponentProps<'div'> {
5
+ label?: string;
6
+ rows: XPayValorHoraRow[];
7
+ mode?: XPayValorHoraMode;
8
+ handleOnCardRowClick?: (id?: string) => void;
9
+ }
10
+ export declare function XPayValorHoraCard({ label, rows, mode, handleOnCardRowClick, ...props }: XPayValorHoraCardProps): import("react/jsx-runtime").JSX.Element;
11
+ export {};