@xjur-ui/react 4.0.3 → 4.0.4

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 (142) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/dist/components/accordion/accordion-tab-header.js +1 -1
  3. package/dist/components/accordion/accordion-trigger.js +1 -1
  4. package/dist/components/accordion/index.js +1 -1
  5. package/dist/components/breadcrumb/breadcrumb-ellipsis.js +1 -1
  6. package/dist/components/breadcrumb/breadcrumb-separator.js +1 -1
  7. package/dist/components/breadcrumb/index.js +1 -1
  8. package/dist/components/carousel/carousel-action.js +1 -1
  9. package/dist/components/carousel/index.js +1 -1
  10. package/dist/components/chip/chip-close.js +1 -1
  11. package/dist/components/chip/chip-icon.js +1 -1
  12. package/dist/components/chip/index.js +1 -1
  13. package/dist/components/controls/calendar.js +1 -1
  14. package/dist/components/controls/checkbox.js +1 -1
  15. package/dist/components/controls/date-picker/date-picker-icon.js +1 -1
  16. package/dist/components/controls/date-picker/index.js +1 -1
  17. package/dist/components/controls/input/index.js +1 -1
  18. package/dist/components/controls/input/input-icon.js +1 -1
  19. package/dist/components/controls/input/input-numeric-stepper.js +1 -1
  20. package/dist/components/controls/rating.js +1 -1
  21. package/dist/components/controls/search-selector.js +1 -1
  22. package/dist/components/controls/select/index.d.ts +1 -0
  23. package/dist/components/controls/select/index.js +1 -1
  24. package/dist/components/controls/select/select-icon.js +1 -1
  25. package/dist/components/controls/select/select-option.d.ts +2 -1
  26. package/dist/components/controls/select/select-option.js +1 -1
  27. package/dist/components/controls/text-area/index.js +1 -1
  28. package/dist/components/controls/text-area/text-area-caption.js +1 -1
  29. package/dist/components/controls/text-area/text-area-content.js +1 -1
  30. package/dist/components/controls/text-area/text-area-editor.js +1 -1
  31. package/dist/components/controls/text-area/text-area-fullscreen-button.js +1 -1
  32. package/dist/components/controls/text-area/text-area-heading-button.js +1 -1
  33. package/dist/components/controls/text-area/text-area-root.js +1 -1
  34. package/dist/components/controls/text-area/text-area-toggle-button.js +1 -1
  35. package/dist/components/controls/text-area/text-area-toolbar.js +1 -1
  36. package/dist/components/custom/andamento-timeline/andamento-timeline.js +1 -1
  37. package/dist/components/custom/andamento-timeline/index.js +1 -1
  38. package/dist/components/custom/centro-custo/centro-custo-add-button.js +1 -1
  39. package/dist/components/custom/centro-custo/centro-custo-body.js +1 -1
  40. package/dist/components/custom/centro-custo/centro-custo-close-button.js +1 -1
  41. package/dist/components/custom/centro-custo/centro-custo-content.js +1 -1
  42. package/dist/components/custom/centro-custo/centro-custo-footer.js +1 -1
  43. package/dist/components/custom/centro-custo/centro-custo-header.js +1 -1
  44. package/dist/components/custom/centro-custo/centro-custo-trigger.js +1 -1
  45. package/dist/components/custom/centro-custo/centro-custo.js +1 -1
  46. package/dist/components/custom/centro-custo/index.js +1 -1
  47. package/dist/components/custom/empresa/empresa-add-button.js +1 -1
  48. package/dist/components/custom/empresa/empresa-body.js +1 -1
  49. package/dist/components/custom/empresa/empresa-close-button.js +1 -1
  50. package/dist/components/custom/empresa/empresa-content.js +1 -1
  51. package/dist/components/custom/empresa/empresa-footer.js +1 -1
  52. package/dist/components/custom/empresa/empresa-header.js +1 -1
  53. package/dist/components/custom/empresa/empresa-table.js +1 -1
  54. package/dist/components/custom/empresa/empresa-trigger.js +1 -1
  55. package/dist/components/custom/empresa/empresa.js +1 -1
  56. package/dist/components/custom/empresa/index.js +1 -1
  57. package/dist/components/custom/lista-nivelada/hierarchical-navigation.js +1 -1
  58. package/dist/components/custom/lista-nivelada/index.js +1 -1
  59. package/dist/components/custom/lista-nivelada/lista-nivelada-body.js +1 -1
  60. package/dist/components/custom/lista-nivelada/lista-nivelada-close-button.js +1 -1
  61. package/dist/components/custom/lista-nivelada/lista-nivelada-content.js +1 -1
  62. package/dist/components/custom/lista-nivelada/lista-nivelada-footer.js +1 -1
  63. package/dist/components/custom/lista-nivelada/lista-nivelada-header.js +1 -1
  64. package/dist/components/custom/lista-nivelada/lista-nivelada-trigger.js +1 -1
  65. package/dist/components/custom/lista-nivelada/lista-nivelada.js +1 -1
  66. package/dist/components/custom/lista-nivelada/navigation-button.js +1 -1
  67. package/dist/components/custom/lista-nivelada/navigation-grid.js +1 -1
  68. package/dist/components/custom/lista-nivelada/radio-selection.js +1 -1
  69. package/dist/components/custom/pessoa/index.js +1 -1
  70. package/dist/components/custom/pessoa/pessoa-add-button.js +1 -1
  71. package/dist/components/custom/pessoa/pessoa-body.js +1 -1
  72. package/dist/components/custom/pessoa/pessoa-close-button.js +1 -1
  73. package/dist/components/custom/pessoa/pessoa-content.js +1 -1
  74. package/dist/components/custom/pessoa/pessoa-footer.js +1 -1
  75. package/dist/components/custom/pessoa/pessoa-header.js +1 -1
  76. package/dist/components/custom/pessoa/pessoa-trigger.js +1 -1
  77. package/dist/components/custom/pessoa/pessoa.js +1 -1
  78. package/dist/components/dialog/delete-dialog.js +1 -1
  79. package/dist/components/dialog/dialog-content.js +1 -1
  80. package/dist/components/dialog/index.js +1 -1
  81. package/dist/components/full-calendar/calendar-add-event.js +1 -1
  82. package/dist/components/full-calendar/calendar-cell.js +1 -1
  83. package/dist/components/full-calendar/calendar-day-view.js +1 -1
  84. package/dist/components/full-calendar/calendar-month-view.js +1 -1
  85. package/dist/components/full-calendar/calendar-navigator.js +1 -1
  86. package/dist/components/full-calendar/calendar-toggle-view.js +1 -1
  87. package/dist/components/full-calendar/calendar-view-renderer.js +1 -1
  88. package/dist/components/full-calendar/calendar-week-view.js +1 -1
  89. package/dist/components/full-calendar/index.js +1 -1
  90. package/dist/components/icon/components/agenda.d.ts +1 -0
  91. package/dist/components/icon/components/agenda.js +1 -0
  92. package/dist/components/icon/components/compliance.d.ts +1 -0
  93. package/dist/components/icon/components/compliance.js +1 -0
  94. package/dist/components/icon/components/consultivo.d.ts +1 -0
  95. package/dist/components/icon/components/consultivo.js +1 -0
  96. package/dist/components/icon/components/contencioso.d.ts +1 -0
  97. package/dist/components/icon/components/contencioso.js +1 -0
  98. package/dist/components/icon/components/contrato.d.ts +1 -0
  99. package/dist/components/icon/components/contrato.js +1 -0
  100. package/dist/components/icon/components/custom-icon.d.ts +4 -0
  101. package/dist/components/icon/components/custom-icon.js +1 -0
  102. package/dist/components/icon/components/email-reset-senha-icon.d.ts +1 -0
  103. package/dist/components/icon/components/email-reset-senha-icon.js +1 -0
  104. package/dist/components/icon/components/ged.d.ts +1 -0
  105. package/dist/components/icon/components/ged.js +1 -0
  106. package/dist/components/icon/components/imobiliario.d.ts +1 -0
  107. package/dist/components/icon/components/imobiliario.js +1 -0
  108. package/dist/components/icon/components/marcas-e-patentes.d.ts +1 -0
  109. package/dist/components/icon/components/marcas-e-patentes.js +1 -0
  110. package/dist/components/icon/components/procuracao.d.ts +1 -0
  111. package/dist/components/icon/components/procuracao.js +1 -0
  112. package/dist/components/icon/components/regulatorio.d.ts +1 -0
  113. package/dist/components/icon/components/regulatorio.js +1 -0
  114. package/dist/components/icon/components/xpay.d.ts +1 -0
  115. package/dist/components/icon/components/xpay.js +1 -0
  116. package/dist/components/icon/components/xsigner.d.ts +1 -0
  117. package/dist/components/icon/components/xsigner.js +1 -0
  118. package/dist/components/icon/index.d.ts +1 -1
  119. package/dist/components/icon/index.js +1 -1
  120. package/dist/components/message/index.js +1 -1
  121. package/dist/components/message/message-close.js +1 -1
  122. package/dist/components/message/message-icon.js +1 -1
  123. package/dist/components/selection-bar/index.js +1 -1
  124. package/dist/components/selection-bar/selection-bar-close.js +1 -1
  125. package/dist/components/sheet/index.js +1 -1
  126. package/dist/components/sheet/sheet-close.js +1 -1
  127. package/dist/components/table/index.js +1 -1
  128. package/dist/components/table/table-row.js +1 -1
  129. package/dist/components/table/table-sort.js +1 -1
  130. package/dist/components/tag/index.js +1 -1
  131. package/dist/components/tag/tag-close.js +1 -1
  132. package/dist/components/tag/tag-icon.js +1 -1
  133. package/dist/components/timeline-card/index.js +1 -1
  134. package/dist/components/timeline-card/timeline-card.js +1 -1
  135. package/dist/components/toast/index.js +1 -1
  136. package/dist/components/toast/toast-component.js +1 -1
  137. package/dist/components/toast/toast.js +1 -1
  138. package/dist/components/upload/index.js +1 -1
  139. package/dist/components/upload/upload-icon.js +1 -1
  140. package/dist/resources/icons.d.ts +2 -1
  141. package/dist/resources/icons.js +1 -1
  142. package/package.json +3 -3
@@ -1 +1 @@
1
- import{useMemo as Ge,useState as Je}from"react";import"react";import*as H from"@radix-ui/react-dropdown-menu";import{jsx as j}from"react/jsx-runtime";function _({...e}){return j(H.Root,{"data-slot":"dropdown-menu",...e})}import*as A from"@radix-ui/react-dropdown-menu";import{jsx as ee}from"react/jsx-runtime";function C({...e}){return ee(A.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}import*as h from"@radix-ui/react-dropdown-menu";import{cx as we}from"@xjur-ui/util";import{Slot as oe}from"@radix-ui/react-slot";import{cx as re}from"@xjur-ui/util";import{useVirtualizer as ae}from"@tanstack/react-virtual";import{useRef as ne}from"react";import{createContext as te}from"react";var f=te({virtualizer:null,enabled:!1});import{jsx as B}from"react/jsx-runtime";function P({className:e,asChild:t,children:r,virtualized:o=!1,itemCount:n=0,estimateSize:a=()=>48,overscan:i=5,...m}){let u=t?oe:"div",p=ne(null),l=ae({count:n,getScrollElement:()=>p.current,estimateSize:a,overscan:i,enabled:o});return B(f.Provider,{value:{virtualizer:l,enabled:o},children:B(u,{...m,className:re(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:p,children:r})})}import{Slot as lt}from"@radix-ui/react-slot";import{cx as dt}from"@xjur-ui/util";import{jsx as ut}from"react/jsx-runtime";import{cx as Nt}from"@xjur-ui/util";import{Slot as le}from"@radix-ui/react-slot";import{cva as me}from"@xjur-ui/util";import{memo as q,useState as de}from"react";import*as v from"@radix-ui/react-tooltip";import{jsx as w}from"react/jsx-runtime";function ie({delayDuration:e=0,...t}){return w(v.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function M({...e}){return w(ie,{children:w(v.Root,{"data-slot":"tooltip",...e})})}import*as K from"@radix-ui/react-tooltip";import{jsx as se}from"react/jsx-runtime";function T({...e}){return se(K.Trigger,{"data-slot":"tooltip-trigger",...e})}import*as y from"@radix-ui/react-tooltip";import{cx as pe}from"@xjur-ui/util";import{jsx as F}from"react/jsx-runtime";function k({className:e,sideOffset:t=1,variant:r="simple",children:o,...n}){return F(y.Portal,{children:F(y.Content,{className:pe("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":r,sideOffset:t,...n,children:o})})}import{jsx as x,jsxs as fe}from"react/jsx-runtime";var ce=me("",{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"}}),c=q(({variant:e,size:t,weight:r,asChild:o,className:n,children:a,...i})=>x(o?le:"span",{className:ce({variant:e,size:t,weight:r,className:n}),...i,children:a}));c.displayName="Typography";var ue=q(({children:e,...t})=>{let[r,o]=de(!1);return fe(M,{children:[x(T,{asChild:!0,children:x(c,{onMouseEnter:({currentTarget:a})=>{let i=a.scrollWidth>a.clientWidth;o(i),i?a.style.cursor="pointer":a.style.cursor="text"},...t,children:e})}),r&&x(k,{children:e})]})});ue.displayName="TruncatedTypography";import{jsx as Ot}from"react/jsx-runtime";import{Slot as ve}from"@radix-ui/react-slot";import{cx as $}from"@xjur-ui/util";import{useContext as ye}from"react";import{jsx as z}from"react/jsx-runtime";function S({className:e,asChild:t,children:r,renderItem:o,...n}){let a=t?ve:"ul",{virtualizer:i,enabled:m}=ye(f);if(m&&i&&o){let u=i.getVirtualItems();return z(a,{...n,className:$("p-small relative flex flex-col",e),style:{height:`${i.getTotalSize()}px`},children:u.map(p=>z("div",{className:"absolute top-0 left-0 w-full","data-index":p.index,ref:i.measureElement,style:{transform:`translateY(${p.start}px)`},children:o(p.index)},p.key))})}return z(a,{...n,className:$("gap-small-1x p-small flex flex-col",e),children:r})}import{Slot as xe}from"@radix-ui/react-slot";import{cx as he,cva as be}from"@xjur-ui/util";import{jsx as _e}from"react/jsx-runtime";var ge=be(["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 I({className:e,size:t,isActive:r,asChild:o,...n}){return _e(o?xe:"li",{...n,className:he(ge({size:t,isActive:r}),e)})}import{jsx as D}from"react/jsx-runtime";function R({className:e,sideOffset:t=4,align:r="start",side:o="bottom",children:n,...a}){return D(h.Portal,{children:D(h.Content,{align:r,className:we("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:o,sideOffset:t,...a,children:D(P,{children:n})})})}import{jsx as Me}from"react/jsx-runtime";function N({...e}){return Me(S,{...e})}import{jsx as mo}from"react/jsx-runtime";import{cx as ke}from"@xjur-ui/util";import"react";import*as Te from"@radix-ui/react-separator";import{cx as vo}from"@xjur-ui/util";import{jsx as xo}from"react/jsx-runtime";import{jsx as W}from"react/jsx-runtime";function L({className:e,...t}){return W(I,{className:ke(e,"cursor-pointer"),...t})}function V({...e}){return W(c,{...e})}import{cx as ze}from"@xjur-ui/util";import{jsx as Se}from"react/jsx-runtime";function O({className:e,filled:t=!1,name:r,...o}){return Se("span",{...o,className:ze("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${t?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...o.style},children:r})}import{cva as qe,cx as b}from"@xjur-ui/util";import{createContext as $e}from"react";import{InputMask as We}from"@react-input/mask";import{NumericFormat as Xo}from"react-number-format";function G(e,t){switch(e){case"cpf":return{...t,...Ie};case"cnpj":return{...t,...De};case"telefone":return{...t,...Re};case"cep":return{...t,...Ne};case"numero-processo":return{...t,...Le};case"data":return{...t,...Ve};case"hora":return{...t,...Oe};case"data-hora":return{...t,...Ee};case"custom":if(!t)throw new Error("Options are required for custom mask");return t}}var Ie={mask:"###.###.###-##",replacement:{"#":/\d/}},De={mask:"##.###.###/####-##",replacement:{"#":/\d/}},Re={mask:"(##) #####-####",replacement:{"#":/\d/}},Ne={mask:"#####-###",replacement:{"#":/\d/}},Le={mask:"#######-##.####.#.##.####",replacement:{"#":/\d/}},Ve={mask:"##/##/####",replacement:{"#":/\d/}},Oe={mask:"##:##",replacement:{"#":/\d/}},Ee={mask:"##/##/#### ##:##",replacement:{"#":/\d/}};import{Slot as He}from"@radix-ui/react-slot";import{cva as Ae,cx as Be}from"@xjur-ui/util";import{jsx as Fe}from"react/jsx-runtime";var Ke=Ae(["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 E({asChild:e,className:t,variant:r="primary",size:o="md",appearance:n="solid",...a}){return Fe(e?He:"button",{className:Be(Ke({variant:r,appearance:n,size:o}),t),...a})}import{jsx as d}from"react/jsx-runtime";var J=$e({variant:"outlined"});function U({className:e,variant:t="outlined",...r}){return d(J.Provider,{value:{variant:t},children:d("div",{className:b("relative flex",e),...r})})}function Y({className:e,...t}){let r=qe(["gap-small py-small_1x-alt px-small flex items-center w-full","h-large-4x rounded-circle","border-border-layer-2 placeholder:placeholder-neutral-placeholder text-size-body-md text-neutral-dark border font-normal","group-hover:border-border-layer-3 transition-colors duration-200","disabled:opacity-60","focus-within:border-primary-idle"],{variants:{variant:{outlined:"rounded-circle focus-within:border-primary-idle ",line:"rounded-none border-t-0 border-b-1 border-x-0",action:"rounded-tr-none rounded-br-none border-r-0"}}});return d(J.Consumer,{children:({variant:o})=>d("div",{className:b(e,r({variant:o})),"data-variant":o,...t})})}function Q({className:e,...t}){return d("input",{className:b(e,"flex-1 outline-none"),...t})}function X({className:e,mask:t,customMask:r,...o}){return d(We,{...t?{...G(t)}:r&&{...r},className:b(e,"flex-1 outline-none"),...o})}function Z(e){return d("div",{...e,"data-slot":"search-input-slot"})}import{jsx as s,jsxs as g}from"react/jsx-runtime";function pr({options:e,mask:t,customMask:r,placeholder:o="Pesquisar",onChangeSearchOption:n,selectedSearchOption:a,...i}){let[m,u]=Je(a),p=Ge(()=>e.find(l=>l.value===m)?.label,[e,m]);return g(U,{className:"w-full",variant:"action",children:[g(Y,{className:"!border-r",children:[s(Z,{children:s(O,{className:"text-icon-neutral-3",name:"search"})}),t||r?s(X,{customMask:r,mask:t,placeholder:o,...i}):s(Q,{placeholder:o,...i})]}),g(_,{children:[s(C,{asChild:!0,children:g(E,{appearance:"ghost",className:"h-large-4x border-border-layer-2 rounded-tr-circle rounded-br-circle rounded-none border !border-l-0",variant:"tertiary",children:[s(O,{className:"text-icon-neutral-3",name:"keyboard_arrow_down"}),p]})}),s(R,{children:s(N,{children:e.map(l=>s(L,{isActive:m===l.value,onClick:()=>{u(l.value),n?.(l.value)},children:s(V,{children:l.label})},l.value))})})]})]})}export{pr as SearchSelector};
1
+ import{useMemo as Vt,useState as zt}from"react";import"react";import*as pe from"@radix-ui/react-dropdown-menu";import{jsx as Se}from"react/jsx-runtime";function S({...e}){return Se(pe.Root,{"data-slot":"dropdown-menu",...e})}import*as de from"@radix-ui/react-dropdown-menu";import{jsx as Re}from"react/jsx-runtime";function R({...e}){return Re(de.Trigger,{"data-slot":"dropdown-menu-trigger",...e})}import*as T from"@radix-ui/react-dropdown-menu";import{cx as nt}from"@xjur-ui/util";import{Slot as Ne}from"@radix-ui/react-slot";import{cx as Ee}from"@xjur-ui/util";import{useVirtualizer as Ze}from"@tanstack/react-virtual";import{useRef as Oe}from"react";import{createContext as Be}from"react";var b=Be({virtualizer:null,enabled:!1});import{jsx as ce}from"react/jsx-runtime";function B({className:e,asChild:t,children:o,virtualized:r=!1,itemCount:i=0,estimateSize:n=()=>48,overscan:a=5,...f}){let w=t?Ne:"div",u=Oe(null),h=Ze({count:i,getScrollElement:()=>u.current,estimateSize:n,overscan:a,enabled:r});return ce(b.Provider,{value:{virtualizer:h,enabled:r},children:ce(w,{...f,className:Ee(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 Gt}from"@radix-ui/react-slot";import{cx as Jt}from"@xjur-ui/util";import{jsx as Yt}from"react/jsx-runtime";import{cx as vo}from"@xjur-ui/util";import{Slot as We}from"@radix-ui/react-slot";import{cva as Ke}from"@xjur-ui/util";import{memo as he,useState as qe}from"react";import*as D from"@radix-ui/react-tooltip";import{jsx as N}from"react/jsx-runtime";function Ae({delayDuration:e=0,...t}){return N(D.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function E({...e}){return N(Ae,{children:N(D.Root,{"data-slot":"tooltip",...e})})}import*as me from"@radix-ui/react-tooltip";import{jsx as je}from"react/jsx-runtime";function Z({...e}){return je(me.Trigger,{"data-slot":"tooltip-trigger",...e})}import*as _ from"@radix-ui/react-tooltip";import{cx as Fe}from"@xjur-ui/util";import{jsx as ue}from"react/jsx-runtime";function O({className:e,sideOffset:t=1,variant:o="simple",children:r,...i}){return ue(_.Portal,{children:ue(_.Content,{className:Fe("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 P,jsxs as $e}from"react/jsx-runtime";var Xe=Ke("",{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"}}),x=he(({variant:e,size:t,weight:o,asChild:r,className:i,children:n,...a})=>P(r?We:"span",{className:Xe({variant:e,size:t,weight:o,className:i}),...a,children:n}));x.displayName="Typography";var Ge=he(({children:e,...t})=>{let[o,r]=qe(!1);return $e(E,{children:[P(Z,{asChild:!0,children:P(x,{onMouseEnter:({currentTarget:n})=>{let a=n.scrollWidth>n.clientWidth;r(a),a?n.style.cursor="pointer":n.style.cursor="text"},...t,children:e})}),o&&P(O,{children:e})]})});Ge.displayName="TruncatedTypography";import{jsx as yo}from"react/jsx-runtime";import{Slot as Je}from"@radix-ui/react-slot";import{cx as fe}from"@xjur-ui/util";import{useContext as Ue}from"react";import{jsx as A}from"react/jsx-runtime";function j({className:e,asChild:t,children:o,renderItem:r,...i}){let n=t?Je:"ul",{virtualizer:a,enabled:f}=Ue(b);if(f&&a&&r){let w=a.getVirtualItems();return A(n,{...i,className:fe("p-small relative flex flex-col",e),style:{height:`${a.getTotalSize()}px`},children:w.map(u=>A("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 A(n,{...i,className:fe("gap-small-1x p-small flex flex-col",e),children:o})}import{Slot as Ye}from"@radix-ui/react-slot";import{cx as Qe,cva as et}from"@xjur-ui/util";import{jsx as ot}from"react/jsx-runtime";var tt=et(["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 F({className:e,size:t,isActive:o,asChild:r,...i}){return ot(r?Ye:"li",{...i,className:Qe(tt({size:t,isActive:o}),e)})}import{jsx as W}from"react/jsx-runtime";function K({className:e,sideOffset:t=4,align:o="start",side:r="bottom",children:i,...n}){return W(T.Portal,{children:W(T.Content,{align:o,className:nt("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:W(B,{children:i})})})}import{jsx as at}from"react/jsx-runtime";function q({...e}){return at(j,{...e})}import{jsx as Jo}from"react/jsx-runtime";import{cx as lt}from"@xjur-ui/util";import"react";import*as st from"@radix-ui/react-separator";import{cx as er}from"@xjur-ui/util";import{jsx as or}from"react/jsx-runtime";import{jsx as Ce}from"react/jsx-runtime";function X({className:e,...t}){return Ce(F,{className:lt(e,"cursor-pointer"),...t})}function G({...e}){return Ce(x,{...e})}import{cx as ht}from"@xjur-ui/util";var ke=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance"];import{jsx as l,jsxs as pt}from"react/jsx-runtime";function $(){return pt("svg",{fill:"none",height:"22",viewBox:"0 0 22 22",width:"22",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M6.58375 12.5205H5.25168C4.7443 12.5205 4.33301 12.1092 4.33301 11.6018V10.2697C4.33301 9.76236 4.7443 9.35107 5.25168 9.35107H6.58375C7.09113 9.35107 7.50242 9.76236 7.50242 10.2697V11.6018C7.50246 12.1092 7.09113 12.5205 6.58375 12.5205Z",fill:"#E87D30"}),l("path",{d:"M11.4196 12.5205H10.0876C9.58023 12.5205 9.16895 12.1092 9.16895 11.6018V10.2697C9.16895 9.76236 9.58023 9.35107 10.0876 9.35107H11.4197C11.9271 9.35107 12.3384 9.76236 12.3384 10.2697V11.6018C12.3384 12.1092 11.927 12.5205 11.4196 12.5205Z",fill:"#E87D30"}),l("path",{d:"M16.2566 12.5205H14.9245C14.4171 12.5205 14.0059 12.1092 14.0059 11.6018V10.2697C14.0059 9.76236 14.4171 9.35107 14.9245 9.35107H16.2566C16.764 9.35107 17.1753 9.76236 17.1753 10.2697V11.6018C17.1753 12.1092 16.7639 12.5205 16.2566 12.5205Z",fill:"#E87D30"}),l("path",{d:"M6.58375 17.3564H5.25168C4.7443 17.3564 4.33301 16.9451 4.33301 16.4378V15.1057C4.33301 14.5983 4.7443 14.187 5.25168 14.187H6.58375C7.09113 14.187 7.50242 14.5983 7.50242 15.1057V16.4378C7.50246 16.9451 7.09113 17.3564 6.58375 17.3564Z",fill:"#E87D30"}),l("path",{d:"M16.2566 17.3564H14.9245C14.4171 17.3564 14.0059 16.9451 14.0059 16.4378V15.1057C14.0059 14.5983 14.4171 14.187 14.9245 14.187H16.2566C16.764 14.187 17.1753 14.5983 17.1753 15.1057V16.4378C17.1753 16.9451 16.7639 17.3564 16.2566 17.3564Z",fill:"#E87D30"}),l("path",{d:"M11.4196 17.3564H10.0876C9.58023 17.3564 9.16895 16.9451 9.16895 16.4378V15.1057C9.16895 14.5983 9.58023 14.187 10.0876 14.187H11.4197C11.9271 14.187 12.3384 14.5983 12.3384 15.1057V16.4378C12.3384 16.9451 11.927 17.3564 11.4196 17.3564Z",fill:"#E87D30"}),l("path",{d:"M5.47641 4.66531C4.87727 4.66531 4.3916 4.17965 4.3916 3.58051V2.58188C4.3916 1.98277 4.87727 1.49707 5.47641 1.49707C6.07551 1.49707 6.56121 1.98273 6.56121 2.58188V3.58051C6.56117 4.17965 6.07551 4.66531 5.47641 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),l("path",{d:"M16.5243 4.66531C15.9252 4.66531 15.4395 4.17965 15.4395 3.58051V2.58188C15.4395 1.98277 15.9251 1.49707 16.5243 1.49707C17.1234 1.49707 17.6091 1.98273 17.6091 2.58188V3.58051C17.609 4.17965 17.1234 4.66531 16.5243 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),l("path",{d:"M15.3309 2.96387H6.74414",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),l("path",{d:"M4.1143 2.96387H2.98582C2.12641 2.96387 1.42969 3.66059 1.42969 4.52004V6.73563H20.5703V4.52004C20.5703 3.66059 19.8736 2.96391 19.0142 2.96391H17.9235",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),l("path",{d:"M20.5703 6.26904V18.9471C20.5703 19.8065 19.8736 20.5032 19.0142 20.5032H2.98582C2.12641 20.5032 1.42969 19.8065 1.42969 18.9471V6.26904",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),l("path",{d:"M1.58301 6.73584H20.5014",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as d,jsxs as ge}from"react/jsx-runtime";function J(){return ge("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ge("g",{clipPath:"url(#clip0_19548_42822)",children:[d("path",{d:"M2.34375 16.0938V11.5625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),d("path",{d:"M2.34375 8.4375V3.90625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),d("path",{d:"M17.6562 3.90625H8.4375C7.57457 3.90625 6.875 3.20668 6.875 2.34375C6.875 1.48082 7.57457 0.78125 8.4375 0.78125H17.6562C18.5192 0.78125 19.2188 1.48082 19.2188 2.34375C19.2188 3.20668 18.5192 3.90625 17.6562 3.90625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),d("path",{d:"M17.6562 11.5625H8.4375C7.57457 11.5625 6.875 10.8629 6.875 10C6.875 9.13707 7.57457 8.4375 8.4375 8.4375H17.6562C18.5192 8.4375 19.2188 9.13707 19.2188 10C19.2188 10.8629 18.5192 11.5625 17.6562 11.5625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),d("path",{d:"M17.6562 19.2188H8.4375C7.57457 19.2188 6.875 18.5192 6.875 17.6562C6.875 16.7933 7.57457 16.0938 8.4375 16.0938H17.6562C18.5192 16.0938 19.2188 16.7933 19.2188 17.6562C19.2188 18.5192 18.5192 19.2188 17.6562 19.2188Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),d("path",{d:"M2.34375 3.90625C3.20669 3.90625 3.90625 3.20669 3.90625 2.34375C3.90625 1.48081 3.20669 0.78125 2.34375 0.78125C1.48081 0.78125 0.78125 1.48081 0.78125 2.34375C0.78125 3.20669 1.48081 3.90625 2.34375 3.90625Z",stroke:"#E53C4D",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),d("path",{d:"M2.34375 11.5625C3.20669 11.5625 3.90625 10.8629 3.90625 10C3.90625 9.13706 3.20669 8.4375 2.34375 8.4375C1.48081 8.4375 0.78125 9.13706 0.78125 10C0.78125 10.8629 1.48081 11.5625 2.34375 11.5625Z",stroke:"#DF9F20",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),d("path",{d:"M2.34375 19.2188C3.20669 19.2188 3.90625 18.5192 3.90625 17.6562C3.90625 16.7933 3.20669 16.0938 2.34375 16.0938C1.48081 16.0938 0.78125 16.7933 0.78125 17.6562C0.78125 18.5192 1.48081 19.2188 2.34375 19.2188Z",stroke:"#169C55",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),d("defs",{children:d("clipPath",{id:"clip0_19548_42822",children:d("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as I,jsxs as dt}from"react/jsx-runtime";function U(){return dt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[I("path",{d:"M13.6137 17.9167V19.5703H0.429688V4.04336L4.00367 0.429688H13.6137V2.91667",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),I("path",{d:"M14.1667 12.5L19.2212 17.5367C19.6866 18.0021 19.6866 18.756 19.2212 19.2214C18.9885 19.454 18.6837 19.5704 18.3789 19.5704C18.0741 19.5704 17.7693 19.454 17.5366 19.2214L12.5 14.1667",fill:"#9944E4"}),I("path",{d:"M0.429688 4.04336H4.00367V0.429688",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),I("path",{d:"M10 5.08301C12.746 5.08322 14.9961 7.31131 14.9961 10.04C14.9959 12.7686 12.7458 14.9959 10 14.9961C7.26268 14.9961 5.04318 12.7773 5.04297 10.04C5.04297 7.30256 7.26252 5.08301 10 5.08301Z",stroke:"#9944E4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]})}import{jsx as s,jsxs as ve}from"react/jsx-runtime";function Y(){return ve("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ve("g",{clipPath:"url(#clip0_19548_42667)",children:[s("path",{d:"M5.85656 10.9769C5.85656 12.4754 4.64172 13.6903 3.14312 13.6903C1.64453 13.6903 0.429688 12.4754 0.429688 10.9769M5.85656 10.9769L3.14312 4.49072L0.429688 10.9769M5.85656 10.9769H0.429688",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),s("path",{d:"M2.91699 13.7501C1.25033 13.7501 0.555881 11.8056 0.416992 10.8334C2.22255 10.6945 5.83366 10.5834 5.83366 11.2501C5.83366 12.0834 5.00033 13.7501 2.91699 13.7501Z",fill:"#377BD4"}),s("path",{d:"M16.667 13.7501C15.0003 13.7501 14.3059 11.8056 14.167 10.8334C15.9725 10.6945 19.5837 10.5834 19.5837 11.2501C19.5837 12.0834 18.7503 13.7501 16.667 13.7501Z",fill:"#377BD4"}),s("path",{d:"M14.1436 10.9769C14.1436 12.4754 15.3584 13.6903 16.857 13.6903C18.3556 13.6903 19.5704 12.4754 19.5704 10.9769M14.1436 10.9769L16.857 4.49072L19.5704 10.9769M14.1436 10.9769H19.5704",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),s("path",{d:"M9.02344 13.5156V1.40625C9.02344 0.869141 9.46289 0.429688 10 0.429688C10.5371 0.429688 10.9766 0.869141 10.9766 1.40625V13.5156",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),s("path",{d:"M8.70012 2.38281H7.07113L5.15879 4.29512H1.12746L0.429688 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),s("path",{clipRule:"evenodd",d:"M5.3125 19.5703H14.6875V18.0078L13.9062 17.2266H6.09371L5.3125 18.0078V19.5703Z",fillRule:"evenodd",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),s("path",{d:"M12.8947 17.0313V14.4922L12.1134 13.7109H7.88672L7.10547 14.4922V17.0313",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),s("path",{d:"M9.21875 3.43164H10.7812",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),s("path",{d:"M11.2998 2.38281H12.9288L14.8411 4.29512H18.8725L19.5702 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"})]}),s("defs",{children:s("clipPath",{id:"clip0_19548_42667",children:s("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as k,jsxs as ct}from"react/jsx-runtime";function Q(){return ct("svg",{fill:"none",height:"20",viewBox:"0 0 16 20",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[k("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",fill:"#EA5081"}),k("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",stroke:"#EA5081",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),k("path",{d:"M0.663086 4.25781L4.49121 0.429688C4.49121 0.429688 9.18352 0.429688 11.5095 0.429688C12.2141 0.429688 12.7855 1.00105 12.7855 1.70574C12.7855 4.79566 12.7855 12.6523 12.7855 15.7422C12.7855 16.4469 12.2142 17.0182 11.5095 17.0182C9.18067 17.0182 4.26793 17.0182 1.93914 17.0182C1.23445 17.0182 0.663086 16.4469 0.663086 15.7422C0.663086 12.5103 0.663086 4.25781 0.663086 4.25781Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),k("path",{d:"M0.663086 4.89586C0.663086 4.89586 2.53313 4.89586 3.8532 4.89586C4.55789 4.89586 5.12926 4.32449 5.12926 3.6198C5.12926 2.29973 5.12926 0.429688 5.12926 0.429688",stroke:"#3D3D47",strokeMiterlimit:"10"}),k("path",{d:"M3.85352 8.08594H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),k("path",{d:"M3.85352 10.6382H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),k("path",{d:"M3.85352 13.1899H7.04363",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as M,jsxs as xe}from"react/jsx-runtime";function ee(){return xe("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[xe("g",{clipPath:"url(#clip0_19548_42803)",children:[M("path",{d:"M19.5703 4.8957V15.1043C19.5703 13.9613 19.1344 12.8184 18.2621 11.9461C16.518 10.202 13.6902 10.202 11.9461 11.9461C10.5742 13.318 10.2812 15.3602 11.068 17.0184H1.70586C1.36719 17.0184 1.04258 16.8836 0.803516 16.6445C0.564453 16.4055 0.429688 16.0805 0.429688 15.7422V1.70586C0.429688 1.36719 0.564062 1.04258 0.803516 0.803516C1.04258 0.564062 1.36719 0.429688 1.70586 0.429688H8.08594L11.2762 3.61992H18.2941C18.9988 3.61992 19.5703 4.19102 19.5703 4.8957Z",fill:"#F7BC0F"}),M("path",{d:"M15.1047 19.5702C17.5712 19.5702 19.5707 17.5707 19.5707 15.1042C19.5707 12.6377 17.5712 10.6382 15.1047 10.6382C12.6382 10.6382 10.6387 12.6377 10.6387 15.1042C10.6387 17.5707 12.6382 19.5702 15.1047 19.5702Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"}),M("path",{d:"M13.5098 15.1043L14.7859 16.3801L16.7 13.8281",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"})]}),M("defs",{children:M("clipPath",{id:"clip0_19548_42803",children:M("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as g,jsxs as Me}from"react/jsx-runtime";function te(){return Me("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Me("g",{clipPath:"url(#clip0_19548_42782)",children:[g("path",{d:"M0.429688 11.5007L10.1218 0.511719L19.5703 11.3059",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),g("path",{d:"M17.3304 8.78764V19.4883H2.89551V8.66553",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),g("path",{d:"M6.93305 12.366L9.96977 16.1929L13.0492 12.3751C13.4256 11.7457 13.6244 11.026 13.6244 10.2927C13.6244 8.28998 12.0009 6.6665 9.99824 6.6665C7.99555 6.6665 6.37207 8.28998 6.37207 10.2927V10.3077C6.37207 11.0316 6.56574 11.7422 6.93305 12.366Z",fill:"#EB3B3B",stroke:"#EB3B3B",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),g("path",{d:"M9.97016 11.6454C10.6769 11.6454 11.2499 11.0724 11.2499 10.3657C11.2499 9.65889 10.6769 9.08594 9.97016 9.08594C9.26338 9.08594 8.69043 9.65889 8.69043 10.3657C8.69043 11.0724 9.26338 11.6454 9.97016 11.6454Z",fill:"white",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),g("defs",{children:g("clipPath",{id:"clip0_19548_42782",children:g("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as V,jsxs as mt}from"react/jsx-runtime";function oe(){return mt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[V("path",{d:"M4.60834 12L2 17.7972L4.86637 17.5931L6.55798 20L9.5 14",fill:"#3CA4E5"}),V("path",{d:"M10 14L12.7909 20L14.7241 17.2923L18 17.5218L15 11.5",fill:"#3CA4E5"}),V("path",{d:"M9.5 14C13.0899 14 16 11.0899 16 7.5C16 3.91015 13.0899 1 9.5 1C5.91015 1 3 3.91015 3 7.5C3 11.0899 5.91015 14 9.5 14Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),V("path",{d:"M9.5 11C11.433 11 13 9.433 13 7.5C13 5.567 11.433 4 9.5 4C7.567 4 6 5.567 6 7.5C6 9.433 7.567 11 9.5 11Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as C,jsxs as ye}from"react/jsx-runtime";function re(){return ye("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[ye("g",{clipPath:"url(#clip0_19548_42757)",children:[C("path",{d:"M11.6672 0.429688H3.44824V6.25L16.5006 13",fill:"#649EFE"}),C("path",{d:"M11.667 0.416504L16.5524 4.9022V13.4998",fill:"#4787F2"}),C("path",{d:"M16.667 4.99984H11.667V0.416504",fill:"#B5D1FF"}),C("path",{d:"M16.5528 19.5699H3.44816C2.7902 19.5699 2.25684 19.0366 2.25684 18.3786L2.25684 7.89006C2.25684 7.23209 2.7902 6.69873 3.44816 6.69873H6.56918C6.86094 6.69873 7.14258 6.8058 7.36066 6.99963L17.3442 14.1785C17.5986 14.4046 17.7441 14.7286 17.7441 15.0689V18.3786C17.7441 19.0366 17.2107 19.5699 16.5528 19.5699Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),C("path",{d:"M8.21363 14.7256H4.63965V17.1877H8.21363V14.7256Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),C("defs",{children:C("clipPath",{id:"clip0_19548_42757",children:C("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as y,jsxs as we}from"react/jsx-runtime";function ie(){return we("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[we("g",{clipPath:"url(#clip0_19548_42810)",children:[y("path",{d:"M14.5393 4.17742C13.2871 3.19988 11.7117 2.61719 10 2.61719C5.92258 2.61719 2.61719 5.92258 2.61719 10C2.61719 14.0774 5.92258 17.3828 10 17.3828C14.0774 17.3828 17.3828 14.0774 17.3828 10C17.3828 8.8416 17.1157 7.74566 16.6402 6.77",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),y("path",{d:"M16.0952 2.62152C14.4398 1.25246 12.316 0.429688 10 0.429688C4.71445 0.429688 0.429688 4.71445 0.429688 10C0.429688 15.2855 4.71445 19.5703 10 19.5703C15.2855 19.5703 19.5703 15.2855 19.5703 10C19.5703 8.23215 19.0904 6.57668 18.2546 5.15562",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),y("path",{d:"M16.8242 0.891113C17.217 0.570748 17.796 0.593369 18.1621 0.959473L20.5088 3.30615C20.8993 3.69668 20.8993 4.32969 20.5088 4.72021L10.6074 14.6216C10.4199 14.8091 10.1656 14.9145 9.90039 14.9146C9.63517 14.9146 9.3809 14.8091 9.19336 14.6216L4.29297 9.72217C3.90245 9.33165 3.90245 8.69765 4.29297 8.30713L6.63965 5.96045L6.71289 5.89404C6.8908 5.74831 7.11469 5.6675 7.34668 5.66748C7.61178 5.66748 7.8662 5.77307 8.05371 5.96045L9.90039 7.80713L16.748 0.959473L16.8242 0.891113Z",fill:"#3FCDBC",stroke:"white",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]}),y("defs",{children:y("clipPath",{id:"clip0_19548_42810",children:y("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as c,jsxs as be}from"react/jsx-runtime";function ne(){return be("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[be("g",{clipPath:"url(#clip0_21377_57335)",children:[c("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",fill:"#4DA971"}),c("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",stroke:"#4DA971",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),c("path",{d:"M18.4526 17.8147H1.54738C0.930117 17.8147 0.429688 17.3142 0.429688 16.697V5.88112C0.429688 5.26382 0.930117 4.76343 1.54738 4.76343H18.4526C19.0699 4.76343 19.5703 5.26386 19.5703 5.88112V16.6969C19.5703 17.3142 19.0699 17.8147 18.4526 17.8147Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),c("path",{d:"M17.5117 14.2162V8.36195C16.6652 8.36195 15.979 7.67437 15.979 6.82617H4.02098C4.02098 7.67434 3.33477 8.36195 2.48828 8.36195V14.2162C3.33477 14.2162 4.02098 14.9037 4.02098 15.752H15.979C15.979 14.9037 16.6652 14.2162 17.5117 14.2162Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),c("path",{d:"M9.99953 13.2399C11.0747 13.2399 11.9463 12.3665 11.9463 11.2891C11.9463 10.2118 11.0747 9.33838 9.99953 9.33838C8.92434 9.33838 8.05273 10.2118 8.05273 11.2891C8.05273 12.3665 8.92434 13.2399 9.99953 13.2399Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),c("ellipse",{cx:"14.4277",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"}),c("ellipse",{cx:"5.57227",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"})]}),c("defs",{children:c("clipPath",{id:"clip0_21377_57335",children:c("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as L,jsxs as ut}from"react/jsx-runtime";function ae(){return ut("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[L("path",{d:"M14.2862 6.43053L18.3624 3.85093C19.172 1.9095 19.564 0.436523 19.564 0.436523C19.564 0.436523 13.8492 1.38946 9.38516 5.85347L6.32865 8.90994C5.59048 9.64811 5.04572 10.5569 4.74258 11.5559L3.12988 16.8706L8.44457 15.2579C9.44353 14.9547 10.3523 14.41 11.0905 13.6718L14.147 10.6153C15.3515 9.41085 16.3467 7.90827 17.1411 6.43049L14.2862 6.43053Z",fill:"#A9B3BA"}),L("path",{d:"M11.8957 8.104L0.436523 19.5632",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),L("path",{d:"M10 13.333H12.5",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),L("path",{d:"M8.33301 5.83301L8.33301 8.33301",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),L("path",{d:"M5.58902 17.5465H2.4541V14.4116",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as p}from"react/jsx-runtime";function Le({name:e}){switch(e){case"agenda":return p($,{});case"contencioso":return p(Y,{});case"contrato":return p(Q,{});case"consultivo":return p(U,{});case"xsigner":return p(ae,{});case"procuracao":return p(re,{});case"xpay":return p(ne,{});case"imobiliario":return p(te,{});case"marcasepatentes":return p(oe,{});case"ged":return p(ee,{});case"regulatorio":return p(ie,{});case"compliance":return p(J,{});default:return null}}import{jsx as De}from"react/jsx-runtime";function se({className:e,filled:t=!1,name:o,...r}){return ke.includes(o)?De(Le,{name:o}):De("span",{...r,className:ht("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{cva as Pt,cx as z}from"@xjur-ui/util";import{createContext as Tt}from"react";import{InputMask as It}from"@react-input/mask";import{NumericFormat as y1}from"react-number-format";function _e(e,t){switch(e){case"cpf":return{...t,...ft};case"cnpj":return{...t,...Ct};case"telefone":return{...t,...kt};case"cep":return{...t,...gt};case"numero-processo":return{...t,...vt};case"data":return{...t,...xt};case"hora":return{...t,...Mt};case"data-hora":return{...t,...yt};case"custom":if(!t)throw new Error("Options are required for custom mask");return t}}var ft={mask:"###.###.###-##",replacement:{"#":/\d/}},Ct={mask:"##.###.###/####-##",replacement:{"#":/\d/}},kt={mask:"(##) #####-####",replacement:{"#":/\d/}},gt={mask:"#####-###",replacement:{"#":/\d/}},vt={mask:"#######-##.####.#.##.####",replacement:{"#":/\d/}},xt={mask:"##/##/####",replacement:{"#":/\d/}},Mt={mask:"##:##",replacement:{"#":/\d/}},yt={mask:"##/##/#### ##:##",replacement:{"#":/\d/}};import{Slot as wt}from"@radix-ui/react-slot";import{cva as bt,cx as Lt}from"@xjur-ui/util";import{jsx as _t}from"react/jsx-runtime";var Dt=bt(["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 le({asChild:e,className:t,variant:o="primary",size:r="md",appearance:i="solid",...n}){return _t(e?wt:"button",{className:Lt(Dt({variant:o,appearance:i,size:r}),t),...n})}import{jsx as v}from"react/jsx-runtime";var Pe=Tt({variant:"outlined"});function Te({className:e,variant:t="outlined",...o}){return v(Pe.Provider,{value:{variant:t},children:v("div",{className:z("relative flex",e),...o})})}function Ie({className:e,...t}){let o=Pt(["gap-small py-small_1x-alt px-small flex items-center w-full","h-large-4x rounded-circle","border-border-layer-2 placeholder:placeholder-neutral-placeholder text-size-body-md text-neutral-dark border font-normal","group-hover:border-border-layer-3 transition-colors duration-200","disabled:opacity-60","focus-within:border-primary-idle"],{variants:{variant:{outlined:"rounded-circle focus-within:border-primary-idle ",line:"rounded-none border-t-0 border-b-1 border-x-0",action:"rounded-tr-none rounded-br-none border-r-0"}}});return v(Pe.Consumer,{children:({variant:r})=>v("div",{className:z(e,o({variant:r})),"data-variant":r,...t})})}function Ve({className:e,...t}){return v("input",{className:z(e,"flex-1 outline-none"),...t})}function ze({className:e,mask:t,customMask:o,...r}){return v(It,{...t?{..._e(t)}:o&&{...o},className:z(e,"flex-1 outline-none"),...r})}function He(e){return v("div",{...e,"data-slot":"search-input-slot"})}import{jsx as m,jsxs as H}from"react/jsx-runtime";function H1({options:e,mask:t,customMask:o,placeholder:r="Pesquisar",onChangeSearchOption:i,selectedSearchOption:n,...a}){let[f,w]=zt(n),u=Vt(()=>e.find(h=>h.value===f)?.label,[e,f]);return H(Te,{className:"w-full",variant:"action",children:[H(Ie,{className:"!border-r",children:[m(He,{children:m(se,{className:"text-icon-neutral-3",name:"search"})}),t||o?m(ze,{customMask:o,mask:t,placeholder:r,...a}):m(Ve,{placeholder:r,...a})]}),H(S,{children:[m(R,{asChild:!0,children:H(le,{appearance:"ghost",className:"h-large-4x border-border-layer-2 rounded-tr-circle rounded-br-circle rounded-none border !border-l-0",variant:"tertiary",children:[m(se,{className:"text-icon-neutral-3",name:"keyboard_arrow_down"}),u]})}),m(K,{children:m(q,{children:e.map(h=>m(X,{isActive:f===h.value,onClick:()=>{w(h.value),i?.(h.value)},children:m(G,{children:h.label})},h.value))})})]})]})}export{H1 as SearchSelector};
@@ -11,4 +11,5 @@ export { SelectOption } from './select-option';
11
11
  export { SelectOptionText } from './select-option-text';
12
12
  export { SelectHeader } from './select-header';
13
13
  export { SelectHeaderTitle } from './select-header-title';
14
+ export { Close as SelectClose } from '@radix-ui/react-popover';
14
15
  export { type TSelectValue } from './types/select-value';
@@ -1 +1 @@
1
- import*as I from"@radix-ui/react-popover";import{createContext as K,useContext as Q}from"react";var C=K({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function l(){let e=Q(C);if(!e)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return e}import{tv as U}from"@xjur-ui/util";var p=U({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 P}from"react/jsx-runtime";var{wrapper:X}=p();function Z({className:e,state:t="normal",defaultOpen:o,variant:r="normal",modal:i,open:a,onOpenChange:n,...s}){return P(I.Root,{defaultOpen:o,modal:i,open:a,onOpenChange:n,children:P(C.Provider,{value:{state:t,variant:r},children:P("div",{className:X({className:e,state:t}),...s})})})}import{tv as j,twMerge as tt}from"@xjur-ui/util";import*as O from"@radix-ui/react-popover";import{jsx as rt}from"react/jsx-runtime";var{trigger:et}=p();function ot({className:e,...t}){let{state:o,variant:r}=l(),i=j({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"]}}}),a=tt(et({state:o,className:e}),r==="filter"&&i({state:o,className:e}));return rt(O.Trigger,{className:a,disabled:o==="disabled",...t})}import{cx as at}from"@xjur-ui/util";import{jsx as it}from"react/jsx-runtime";function H({className:e,filled:t=!1,name:o,...r}){return it("span",{...r,className:at("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 E}from"react/jsx-runtime";var{icon:nt}=p();function lt({className:e,name:t,orientation:o="left",...r}){let{state:i}=l();return E("div",{className:nt({className:e,state:i}),"data-slot":`control-${o}-slot`,...r,children:E(H,{name:t})})}import{twJoin as yt}from"@xjur-ui/util";import{useMemo as vt}from"react";import{Slot as dt}from"@radix-ui/react-slot";import{cva as ct}from"@xjur-ui/util";import{memo as $,useState as ft}from"react";import*as x from"@radix-ui/react-tooltip";import{jsx as _}from"react/jsx-runtime";function st({delayDuration:e=0,...t}){return _(x.Provider,{"data-slot":"tooltip-provider",delayDuration:e,...t})}function T({...e}){return _(st,{children:_(x.Root,{"data-slot":"tooltip",...e})})}import*as A from"@radix-ui/react-tooltip";import{jsx as pt}from"react/jsx-runtime";function w({...e}){return pt(A.Trigger,{"data-slot":"tooltip-trigger",...e})}import*as g from"@radix-ui/react-tooltip";import{cx as mt}from"@xjur-ui/util";import{jsx as D}from"react/jsx-runtime";function z({className:e,sideOffset:t=1,variant:o="simple",children:r,...i}){return D(g.Portal,{children:D(g.Content,{className:mt("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 y,jsxs as xt}from"react/jsx-runtime";var ut=ct("",{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"}}),m=$(({variant:e,size:t,weight:o,asChild:r,className:i,children:a,...n})=>y(r?dt:"span",{className:ut({variant:e,size:t,weight:o,className:i}),...n,children:a}));m.displayName="Typography";var S=$(({children:e,...t})=>{let[o,r]=ft(!1);return xt(T,{children:[y(w,{asChild:!0,children:y(m,{onMouseEnter:({currentTarget:a})=>{let n=a.scrollWidth>a.clientWidth;r(n),n?a.style.cursor="pointer":a.style.cursor="text"},...t,children:e})}),o&&y(z,{children:e})]})});S.displayName="TruncatedTypography";import{tv as gt}from"@xjur-ui/util";import{jsx as q}from"react/jsx-runtime";function v({className:e,htmlFor:t,children:o,...r}){let{state:i}=l(),a=gt({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 q("label",{className:a({className:e,state:i}),htmlFor:t,...r,children:q("span",{className:"rounded-small-1x bg-layer-2-idle max-w-full",children:o})})}import{jsx as b,jsxs as ht}from"react/jsx-runtime";function bt({className:e,value:t,placeholder:o,renderValue:r,...i}){let{variant:a}=l(),n=vt(()=>{let s=r?r(t??""):typeof t=="object"?t?.label:t;return a==="filter"?s:s||o},[t,o,a,r]);return ht("div",{className:"grid w-full items-center",children:[o&&a==="filter"&&b(v,{children:o}),o&&a==="filter"&&b(m,{className:"invisible col-start-1 row-start-1 self-center",children:o}),b(m,{className:"text-neutral-dark z-10 col-start-1 row-start-1 self-center text-left",children:n}),b("input",{...i,"aria-readonly":!0,className:yt("pointer-events-none",e),hidden:!0,placeholder:" ",readOnly:!0,value:typeof t=="object"?t?.value??"":t??""})]})}import{twMerge as B}from"@xjur-ui/util";import{Fragment as Ct,useMemo as W}from"react";import{jsx as f,jsxs as _t}from"react/jsx-runtime";function Pt({className:e,value:t,placeholder:o,renderValue:r,...i}){let{variant:a}=l(),n=W(()=>a==="filter"?!1:!t&&o,[t,o,a]),s=W(()=>Array.isArray(t)&&t.length>0,[t]);return _t("div",{className:B(e,"gap-small-1x scrollbar-hide grid w-full items-center overflow-x-hidden","group-disabled:!pl-0"),children:[o&&a==="filter"&&f(v,{children:o}),o&&a==="filter"&&f(m,{className:"invisible col-start-1 row-start-1 self-center",children:o}),n&&f(m,{className:"text-neutral-dark",children:o}),f("div",{className:"gap-small-1x col-start-1 row-start-1 flex items-center",children:t.map(d=>f(Ct,{children:r?r(d):d.label},d.value))}),f("input",{...i,"aria-readonly":!0,className:B(e,"pointer-events-none"),hidden:!0,placeholder:s?"":" ",readOnly:!0,value:Array.isArray(t)?t.join(","):t})]})}import*as h from"@radix-ui/react-popover";import{Slot as wt}from"@radix-ui/react-slot";import{cx as zt}from"@xjur-ui/util";import{useVirtualizer as St}from"@tanstack/react-virtual";import{useRef as Vt}from"react";import{createContext as Tt}from"react";var u=Tt({virtualizer:null,enabled:!1});import{jsx as G}from"react/jsx-runtime";function V({className:e,asChild:t,children:o,virtualized:r=!1,itemCount:i=0,estimateSize:a=()=>48,overscan:n=5,...s}){let d=t?wt:"div",c=Vt(null),Y=St({count:i,getScrollElement:()=>c.current,estimateSize:a,overscan:n,enabled:r});return G(u.Provider,{value:{virtualizer:Y,enabled:r},children:G(d,{...s,className:zt(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:c,children:o})})}import{Slot as kt}from"@radix-ui/react-slot";import{cx as Rt}from"@xjur-ui/util";import{jsx as Nt}from"react/jsx-runtime";function k({className:e,asChild:t,...o}){return Nt(t?kt:"div",{...o,className:Rt(e,"px-small pt-small-1x")})}import{cx as Lt}from"@xjur-ui/util";import{jsx as Ft}from"react/jsx-runtime";function R({variant:e="label",size:t="sm",weight:o="medium",className:r,...i}){return Ft(m,{className:Lt(r,"text-neutral-placeholder"),size:t,variant:e,weight:o,...i})}import{Slot as Mt}from"@radix-ui/react-slot";import{cx as J}from"@xjur-ui/util";import{useContext as It}from"react";import{jsx as N}from"react/jsx-runtime";function L({className:e,asChild:t,children:o,renderItem:r,...i}){let a=t?Mt:"ul",{virtualizer:n,enabled:s}=It(u);if(s&&n&&r){let d=n.getVirtualItems();return N(a,{...i,className:J("p-small relative flex flex-col",e),style:{height:`${n.getTotalSize()}px`},children:d.map(c=>N("div",{className:"absolute top-0 left-0 w-full","data-index":c.index,ref:n.measureElement,style:{transform:`translateY(${c.start}px)`},children:r(c.index)},c.key))})}return N(a,{...i,className:J("gap-small-1x p-small flex flex-col",e),children:o})}import{Slot as Ot}from"@radix-ui/react-slot";import{cx as Ht,cva as Et}from"@xjur-ui/util";import{jsx as Dt}from"react/jsx-runtime";var At=Et(["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 F({className:e,size:t,isActive:o,asChild:r,...i}){return Dt(r?Ot:"li",{...i,className:Ht(At({size:t,isActive:o}),e)})}import{jsx as M}from"react/jsx-runtime";var{content:$t}=p();function qt({className:e,sideOffset:t=5,side:o="bottom",align:r="start",children:i,virtualized:a=!1,overscan:n=5,estimateSize:s=()=>32,...d}){let{state:c}=l();return M(h.Portal,{children:M(h.Content,{align:r,className:$t({className:e,state:c}),side:o,sideOffset:t,...d,children:M(V,{estimateSize:s,overscan:n,virtualized:a,children:i})})})}import{jsx as Gt}from"react/jsx-runtime";var{caption:Bt}=p();function Wt({className:e,...t}){let{state:o}=l();return Gt("p",{className:Bt({className:e,state:o}),...t})}import{jsx as Kt}from"react/jsx-runtime";var{slotText:Jt}=p();function Yt({className:e,...t}){let{state:o}=l();return Kt("span",{className:Jt({className:e,state:o}),"data-slot":"control-left-slot",...t})}import{jsx as Ut}from"react/jsx-runtime";function Qt(e){return Ut(L,{...e})}import{twMerge as Xt}from"@xjur-ui/util";import{jsx as jt}from"react/jsx-runtime";function Zt({className:e,value:t,...o}){return jt(F,{className:Xt(e,"cursor-pointer"),value:typeof t=="object"?t?.value:t,...o})}import{twMerge as te}from"@xjur-ui/util";import{jsx as oe}from"react/jsx-runtime";function ee({className:e,...t}){return oe(S,{className:te(e,"truncate"),...t})}import{jsx as ae}from"react/jsx-runtime";function re(e){return ae(k,{...e})}import{jsx as ne}from"react/jsx-runtime";function ie(e){return ne(R,{...e})}export{Wt as SelectCaption,qt as SelectContent,re as SelectHeader,ie as SelectHeaderTitle,lt as SelectIcon,Pt as SelectMultiValue,Zt as SelectOption,ee as SelectOptionText,Qt as SelectOptions,Z as SelectRoot,Yt as SelectSlot,ot as SelectTrigger,bt as SelectValue};
1
+ import*as at from"@radix-ui/react-popover";import{createContext as zt,useContext as Ht}from"react";var I=zt({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function s(){let t=Ht(I);if(!t)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return t}import{tv as St}from"@xjur-ui/util";var d=St({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 R}from"react/jsx-runtime";var{wrapper:It}=d();function Rt({className:t,state:e="normal",defaultOpen:o,variant:r="normal",modal:i,open:n,onOpenChange:a,...l}){return R(at.Root,{defaultOpen:o,modal:i,open:n,onOpenChange:a,children:R(I.Provider,{value:{state:e,variant:r},children:R("div",{className:It({className:t,state:e}),...l})})})}import{tv as Ft,twMerge as Nt}from"@xjur-ui/util";import*as st from"@radix-ui/react-popover";import{jsx as Et}from"react/jsx-runtime";var{trigger:Zt}=d();function Bt({className:t,...e}){let{state:o,variant:r}=s(),i=Ft({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=Nt(Zt({state:o,className:t}),r==="filter"&&i({state:o,className:t}));return Et(st.Trigger,{className:n,disabled:o==="disabled",...e})}import{cx as $t}from"@xjur-ui/util";var lt=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance"];import{jsx as m,jsxs as jt}from"react/jsx-runtime";function F(){return jt("svg",{fill:"none",height:"22",viewBox:"0 0 22 22",width:"22",xmlns:"http://www.w3.org/2000/svg",children:[m("path",{d:"M6.58375 12.5205H5.25168C4.7443 12.5205 4.33301 12.1092 4.33301 11.6018V10.2697C4.33301 9.76236 4.7443 9.35107 5.25168 9.35107H6.58375C7.09113 9.35107 7.50242 9.76236 7.50242 10.2697V11.6018C7.50246 12.1092 7.09113 12.5205 6.58375 12.5205Z",fill:"#E87D30"}),m("path",{d:"M11.4196 12.5205H10.0876C9.58023 12.5205 9.16895 12.1092 9.16895 11.6018V10.2697C9.16895 9.76236 9.58023 9.35107 10.0876 9.35107H11.4197C11.9271 9.35107 12.3384 9.76236 12.3384 10.2697V11.6018C12.3384 12.1092 11.927 12.5205 11.4196 12.5205Z",fill:"#E87D30"}),m("path",{d:"M16.2566 12.5205H14.9245C14.4171 12.5205 14.0059 12.1092 14.0059 11.6018V10.2697C14.0059 9.76236 14.4171 9.35107 14.9245 9.35107H16.2566C16.764 9.35107 17.1753 9.76236 17.1753 10.2697V11.6018C17.1753 12.1092 16.7639 12.5205 16.2566 12.5205Z",fill:"#E87D30"}),m("path",{d:"M6.58375 17.3564H5.25168C4.7443 17.3564 4.33301 16.9451 4.33301 16.4378V15.1057C4.33301 14.5983 4.7443 14.187 5.25168 14.187H6.58375C7.09113 14.187 7.50242 14.5983 7.50242 15.1057V16.4378C7.50246 16.9451 7.09113 17.3564 6.58375 17.3564Z",fill:"#E87D30"}),m("path",{d:"M16.2566 17.3564H14.9245C14.4171 17.3564 14.0059 16.9451 14.0059 16.4378V15.1057C14.0059 14.5983 14.4171 14.187 14.9245 14.187H16.2566C16.764 14.187 17.1753 14.5983 17.1753 15.1057V16.4378C17.1753 16.9451 16.7639 17.3564 16.2566 17.3564Z",fill:"#E87D30"}),m("path",{d:"M11.4196 17.3564H10.0876C9.58023 17.3564 9.16895 16.9451 9.16895 16.4378V15.1057C9.16895 14.5983 9.58023 14.187 10.0876 14.187H11.4197C11.9271 14.187 12.3384 14.5983 12.3384 15.1057V16.4378C12.3384 16.9451 11.927 17.3564 11.4196 17.3564Z",fill:"#E87D30"}),m("path",{d:"M5.47641 4.66531C4.87727 4.66531 4.3916 4.17965 4.3916 3.58051V2.58188C4.3916 1.98277 4.87727 1.49707 5.47641 1.49707C6.07551 1.49707 6.56121 1.98273 6.56121 2.58188V3.58051C6.56117 4.17965 6.07551 4.66531 5.47641 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),m("path",{d:"M16.5243 4.66531C15.9252 4.66531 15.4395 4.17965 15.4395 3.58051V2.58188C15.4395 1.98277 15.9251 1.49707 16.5243 1.49707C17.1234 1.49707 17.6091 1.98273 17.6091 2.58188V3.58051C17.609 4.17965 17.1234 4.66531 16.5243 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),m("path",{d:"M15.3309 2.96387H6.74414",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),m("path",{d:"M4.1143 2.96387H2.98582C2.12641 2.96387 1.42969 3.66059 1.42969 4.52004V6.73563H20.5703V4.52004C20.5703 3.66059 19.8736 2.96391 19.0142 2.96391H17.9235",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),m("path",{d:"M20.5703 6.26904V18.9471C20.5703 19.8065 19.8736 20.5032 19.0142 20.5032H2.98582C2.12641 20.5032 1.42969 19.8065 1.42969 18.9471V6.26904",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),m("path",{d:"M1.58301 6.73584H20.5014",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as u,jsxs as pt}from"react/jsx-runtime";function N(){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_19548_42822)",children:[u("path",{d:"M2.34375 16.0938V11.5625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M2.34375 8.4375V3.90625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M17.6562 3.90625H8.4375C7.57457 3.90625 6.875 3.20668 6.875 2.34375C6.875 1.48082 7.57457 0.78125 8.4375 0.78125H17.6562C18.5192 0.78125 19.2188 1.48082 19.2188 2.34375C19.2188 3.20668 18.5192 3.90625 17.6562 3.90625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M17.6562 11.5625H8.4375C7.57457 11.5625 6.875 10.8629 6.875 10C6.875 9.13707 7.57457 8.4375 8.4375 8.4375H17.6562C18.5192 8.4375 19.2188 9.13707 19.2188 10C19.2188 10.8629 18.5192 11.5625 17.6562 11.5625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M17.6562 19.2188H8.4375C7.57457 19.2188 6.875 18.5192 6.875 17.6562C6.875 16.7933 7.57457 16.0938 8.4375 16.0938H17.6562C18.5192 16.0938 19.2188 16.7933 19.2188 17.6562C19.2188 18.5192 18.5192 19.2188 17.6562 19.2188Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M2.34375 3.90625C3.20669 3.90625 3.90625 3.20669 3.90625 2.34375C3.90625 1.48081 3.20669 0.78125 2.34375 0.78125C1.48081 0.78125 0.78125 1.48081 0.78125 2.34375C0.78125 3.20669 1.48081 3.90625 2.34375 3.90625Z",stroke:"#E53C4D",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M2.34375 11.5625C3.20669 11.5625 3.90625 10.8629 3.90625 10C3.90625 9.13706 3.20669 8.4375 2.34375 8.4375C1.48081 8.4375 0.78125 9.13706 0.78125 10C0.78125 10.8629 1.48081 11.5625 2.34375 11.5625Z",stroke:"#DF9F20",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M2.34375 19.2188C3.20669 19.2188 3.90625 18.5192 3.90625 17.6562C3.90625 16.7933 3.20669 16.0938 2.34375 16.0938C1.48081 16.0938 0.78125 16.7933 0.78125 17.6562C0.78125 18.5192 1.48081 19.2188 2.34375 19.2188Z",stroke:"#169C55",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),u("defs",{children:u("clipPath",{id:"clip0_19548_42822",children:u("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as P,jsxs as Ot}from"react/jsx-runtime";function Z(){return Ot("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[P("path",{d:"M13.6137 17.9167V19.5703H0.429688V4.04336L4.00367 0.429688H13.6137V2.91667",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),P("path",{d:"M14.1667 12.5L19.2212 17.5367C19.6866 18.0021 19.6866 18.756 19.2212 19.2214C18.9885 19.454 18.6837 19.5704 18.3789 19.5704C18.0741 19.5704 17.7693 19.454 17.5366 19.2214L12.5 14.1667",fill:"#9944E4"}),P("path",{d:"M0.429688 4.04336H4.00367V0.429688",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),P("path",{d:"M10 5.08301C12.746 5.08322 14.9961 7.31131 14.9961 10.04C14.9959 12.7686 12.7458 14.9959 10 14.9961C7.26268 14.9961 5.04318 12.7773 5.04297 10.04C5.04297 7.30256 7.26252 5.08301 10 5.08301Z",stroke:"#9944E4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]})}import{jsx as p,jsxs as dt}from"react/jsx-runtime";function B(){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_19548_42667)",children:[p("path",{d:"M5.85656 10.9769C5.85656 12.4754 4.64172 13.6903 3.14312 13.6903C1.64453 13.6903 0.429688 12.4754 0.429688 10.9769M5.85656 10.9769L3.14312 4.49072L0.429688 10.9769M5.85656 10.9769H0.429688",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),p("path",{d:"M2.91699 13.7501C1.25033 13.7501 0.555881 11.8056 0.416992 10.8334C2.22255 10.6945 5.83366 10.5834 5.83366 11.2501C5.83366 12.0834 5.00033 13.7501 2.91699 13.7501Z",fill:"#377BD4"}),p("path",{d:"M16.667 13.7501C15.0003 13.7501 14.3059 11.8056 14.167 10.8334C15.9725 10.6945 19.5837 10.5834 19.5837 11.2501C19.5837 12.0834 18.7503 13.7501 16.667 13.7501Z",fill:"#377BD4"}),p("path",{d:"M14.1436 10.9769C14.1436 12.4754 15.3584 13.6903 16.857 13.6903C18.3556 13.6903 19.5704 12.4754 19.5704 10.9769M14.1436 10.9769L16.857 4.49072L19.5704 10.9769M14.1436 10.9769H19.5704",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),p("path",{d:"M9.02344 13.5156V1.40625C9.02344 0.869141 9.46289 0.429688 10 0.429688C10.5371 0.429688 10.9766 0.869141 10.9766 1.40625V13.5156",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),p("path",{d:"M8.70012 2.38281H7.07113L5.15879 4.29512H1.12746L0.429688 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),p("path",{clipRule:"evenodd",d:"M5.3125 19.5703H14.6875V18.0078L13.9062 17.2266H6.09371L5.3125 18.0078V19.5703Z",fillRule:"evenodd",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),p("path",{d:"M12.8947 17.0313V14.4922L12.1134 13.7109H7.88672L7.10547 14.4922V17.0313",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),p("path",{d:"M9.21875 3.43164H10.7812",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),p("path",{d:"M11.2998 2.38281H12.9288L14.8411 4.29512H18.8725L19.5702 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"})]}),p("defs",{children:p("clipPath",{id:"clip0_19548_42667",children:p("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as x,jsxs as At}from"react/jsx-runtime";function E(){return At("svg",{fill:"none",height:"20",viewBox:"0 0 16 20",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[x("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",fill:"#EA5081"}),x("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",stroke:"#EA5081",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),x("path",{d:"M0.663086 4.25781L4.49121 0.429688C4.49121 0.429688 9.18352 0.429688 11.5095 0.429688C12.2141 0.429688 12.7855 1.00105 12.7855 1.70574C12.7855 4.79566 12.7855 12.6523 12.7855 15.7422C12.7855 16.4469 12.2142 17.0182 11.5095 17.0182C9.18067 17.0182 4.26793 17.0182 1.93914 17.0182C1.23445 17.0182 0.663086 16.4469 0.663086 15.7422C0.663086 12.5103 0.663086 4.25781 0.663086 4.25781Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),x("path",{d:"M0.663086 4.89586C0.663086 4.89586 2.53313 4.89586 3.8532 4.89586C4.55789 4.89586 5.12926 4.32449 5.12926 3.6198C5.12926 2.29973 5.12926 0.429688 5.12926 0.429688",stroke:"#3D3D47",strokeMiterlimit:"10"}),x("path",{d:"M3.85352 8.08594H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),x("path",{d:"M3.85352 10.6382H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),x("path",{d:"M3.85352 13.1899H7.04363",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as y,jsxs as mt}from"react/jsx-runtime";function j(){return mt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[mt("g",{clipPath:"url(#clip0_19548_42803)",children:[y("path",{d:"M19.5703 4.8957V15.1043C19.5703 13.9613 19.1344 12.8184 18.2621 11.9461C16.518 10.202 13.6902 10.202 11.9461 11.9461C10.5742 13.318 10.2812 15.3602 11.068 17.0184H1.70586C1.36719 17.0184 1.04258 16.8836 0.803516 16.6445C0.564453 16.4055 0.429688 16.0805 0.429688 15.7422V1.70586C0.429688 1.36719 0.564062 1.04258 0.803516 0.803516C1.04258 0.564062 1.36719 0.429688 1.70586 0.429688H8.08594L11.2762 3.61992H18.2941C18.9988 3.61992 19.5703 4.19102 19.5703 4.8957Z",fill:"#F7BC0F"}),y("path",{d:"M15.1047 19.5702C17.5712 19.5702 19.5707 17.5707 19.5707 15.1042C19.5707 12.6377 17.5712 10.6382 15.1047 10.6382C12.6382 10.6382 10.6387 12.6377 10.6387 15.1042C10.6387 17.5707 12.6382 19.5702 15.1047 19.5702Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"}),y("path",{d:"M13.5098 15.1043L14.7859 16.3801L16.7 13.8281",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"})]}),y("defs",{children:y("clipPath",{id:"clip0_19548_42803",children:y("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as v,jsxs as ct}from"react/jsx-runtime";function O(){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_19548_42782)",children:[v("path",{d:"M0.429688 11.5007L10.1218 0.511719L19.5703 11.3059",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),v("path",{d:"M17.3304 8.78764V19.4883H2.89551V8.66553",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),v("path",{d:"M6.93305 12.366L9.96977 16.1929L13.0492 12.3751C13.4256 11.7457 13.6244 11.026 13.6244 10.2927C13.6244 8.28998 12.0009 6.6665 9.99824 6.6665C7.99555 6.6665 6.37207 8.28998 6.37207 10.2927V10.3077C6.37207 11.0316 6.56574 11.7422 6.93305 12.366Z",fill:"#EB3B3B",stroke:"#EB3B3B",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),v("path",{d:"M9.97016 11.6454C10.6769 11.6454 11.2499 11.0724 11.2499 10.3657C11.2499 9.65889 10.6769 9.08594 9.97016 9.08594C9.26338 9.08594 8.69043 9.65889 8.69043 10.3657C8.69043 11.0724 9.26338 11.6454 9.97016 11.6454Z",fill:"white",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),v("defs",{children:v("clipPath",{id:"clip0_19548_42782",children:v("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as _,jsxs as Wt}from"react/jsx-runtime";function A(){return Wt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[_("path",{d:"M4.60834 12L2 17.7972L4.86637 17.5931L6.55798 20L9.5 14",fill:"#3CA4E5"}),_("path",{d:"M10 14L12.7909 20L14.7241 17.2923L18 17.5218L15 11.5",fill:"#3CA4E5"}),_("path",{d:"M9.5 14C13.0899 14 16 11.0899 16 7.5C16 3.91015 13.0899 1 9.5 1C5.91015 1 3 3.91015 3 7.5C3 11.0899 5.91015 14 9.5 14Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),_("path",{d:"M9.5 11C11.433 11 13 9.433 13 7.5C13 5.567 11.433 4 9.5 4C7.567 4 6 5.567 6 7.5C6 9.433 7.567 11 9.5 11Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as k,jsxs as ut}from"react/jsx-runtime";function W(){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_19548_42757)",children:[k("path",{d:"M11.6672 0.429688H3.44824V6.25L16.5006 13",fill:"#649EFE"}),k("path",{d:"M11.667 0.416504L16.5524 4.9022V13.4998",fill:"#4787F2"}),k("path",{d:"M16.667 4.99984H11.667V0.416504",fill:"#B5D1FF"}),k("path",{d:"M16.5528 19.5699H3.44816C2.7902 19.5699 2.25684 19.0366 2.25684 18.3786L2.25684 7.89006C2.25684 7.23209 2.7902 6.69873 3.44816 6.69873H6.56918C6.86094 6.69873 7.14258 6.8058 7.36066 6.99963L17.3442 14.1785C17.5986 14.4046 17.7441 14.7286 17.7441 15.0689V18.3786C17.7441 19.0366 17.2107 19.5699 16.5528 19.5699Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),k("path",{d:"M8.21363 14.7256H4.63965V17.1877H8.21363V14.7256Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),k("defs",{children:k("clipPath",{id:"clip0_19548_42757",children:k("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as L,jsxs as ft}from"react/jsx-runtime";function X(){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_19548_42810)",children:[L("path",{d:"M14.5393 4.17742C13.2871 3.19988 11.7117 2.61719 10 2.61719C5.92258 2.61719 2.61719 5.92258 2.61719 10C2.61719 14.0774 5.92258 17.3828 10 17.3828C14.0774 17.3828 17.3828 14.0774 17.3828 10C17.3828 8.8416 17.1157 7.74566 16.6402 6.77",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),L("path",{d:"M16.0952 2.62152C14.4398 1.25246 12.316 0.429688 10 0.429688C4.71445 0.429688 0.429688 4.71445 0.429688 10C0.429688 15.2855 4.71445 19.5703 10 19.5703C15.2855 19.5703 19.5703 15.2855 19.5703 10C19.5703 8.23215 19.0904 6.57668 18.2546 5.15562",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),L("path",{d:"M16.8242 0.891113C17.217 0.570748 17.796 0.593369 18.1621 0.959473L20.5088 3.30615C20.8993 3.69668 20.8993 4.32969 20.5088 4.72021L10.6074 14.6216C10.4199 14.8091 10.1656 14.9145 9.90039 14.9146C9.63517 14.9146 9.3809 14.8091 9.19336 14.6216L4.29297 9.72217C3.90245 9.33165 3.90245 8.69765 4.29297 8.30713L6.63965 5.96045L6.71289 5.89404C6.8908 5.74831 7.11469 5.6675 7.34668 5.66748C7.61178 5.66748 7.8662 5.77307 8.05371 5.96045L9.90039 7.80713L16.748 0.959473L16.8242 0.891113Z",fill:"#3FCDBC",stroke:"white",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]}),L("defs",{children:L("clipPath",{id:"clip0_19548_42810",children:L("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as f,jsxs as ht}from"react/jsx-runtime";function $(){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_21377_57335)",children:[f("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",fill:"#4DA971"}),f("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",stroke:"#4DA971",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),f("path",{d:"M18.4526 17.8147H1.54738C0.930117 17.8147 0.429688 17.3142 0.429688 16.697V5.88112C0.429688 5.26382 0.930117 4.76343 1.54738 4.76343H18.4526C19.0699 4.76343 19.5703 5.26386 19.5703 5.88112V16.6969C19.5703 17.3142 19.0699 17.8147 18.4526 17.8147Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),f("path",{d:"M17.5117 14.2162V8.36195C16.6652 8.36195 15.979 7.67437 15.979 6.82617H4.02098C4.02098 7.67434 3.33477 8.36195 2.48828 8.36195V14.2162C3.33477 14.2162 4.02098 14.9037 4.02098 15.752H15.979C15.979 14.9037 16.6652 14.2162 17.5117 14.2162Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),f("path",{d:"M9.99953 13.2399C11.0747 13.2399 11.9463 12.3665 11.9463 11.2891C11.9463 10.2118 11.0747 9.33838 9.99953 9.33838C8.92434 9.33838 8.05273 10.2118 8.05273 11.2891C8.05273 12.3665 8.92434 13.2399 9.99953 13.2399Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),f("ellipse",{cx:"14.4277",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"}),f("ellipse",{cx:"5.57227",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"})]}),f("defs",{children:f("clipPath",{id:"clip0_21377_57335",children:f("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as b,jsxs as Xt}from"react/jsx-runtime";function G(){return Xt("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[b("path",{d:"M14.2862 6.43053L18.3624 3.85093C19.172 1.9095 19.564 0.436523 19.564 0.436523C19.564 0.436523 13.8492 1.38946 9.38516 5.85347L6.32865 8.90994C5.59048 9.64811 5.04572 10.5569 4.74258 11.5559L3.12988 16.8706L8.44457 15.2579C9.44353 14.9547 10.3523 14.41 11.0905 13.6718L14.147 10.6153C15.3515 9.41085 16.3467 7.90827 17.1411 6.43049L14.2862 6.43053Z",fill:"#A9B3BA"}),b("path",{d:"M11.8957 8.104L0.436523 19.5632",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),b("path",{d:"M10 13.333H12.5",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),b("path",{d:"M8.33301 5.83301L8.33301 8.33301",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),b("path",{d:"M5.58902 17.5465H2.4541V14.4116",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as c}from"react/jsx-runtime";function Ct({name:t}){switch(t){case"agenda":return c(F,{});case"contencioso":return c(B,{});case"contrato":return c(E,{});case"consultivo":return c(Z,{});case"xsigner":return c(G,{});case"procuracao":return c(W,{});case"xpay":return c($,{});case"imobiliario":return c(O,{});case"marcasepatentes":return c(A,{});case"ged":return c(j,{});case"regulatorio":return c(X,{});case"compliance":return c(N,{});default:return null}}import{jsx as gt}from"react/jsx-runtime";function kt({className:t,filled:e=!1,name:o,...r}){return lt.includes(o)?gt(Ct,{name:o}):gt("span",{...r,className:$t("material-symbols-outlined","text-size-body-lg select-none",t),style:{fontVariationSettings:`'FILL' ${e?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...r.style},children:o})}import{jsx as xt}from"react/jsx-runtime";var{icon:Gt}=d();function qt({className:t,name:e,orientation:o="left",...r}){let{state:i}=s();return xt("div",{className:Gt({className:t,state:i}),"data-slot":`control-${o}-slot`,...r,children:xt(kt,{name:e})})}import{twJoin as ie}from"@xjur-ui/util";import{useMemo as ne}from"react";import{Slot as Qt}from"@radix-ui/react-slot";import{cva as Ut}from"@xjur-ui/util";import{memo as Lt,useState as te}from"react";import*as D from"@radix-ui/react-tooltip";import{jsx as q}from"react/jsx-runtime";function Jt({delayDuration:t=0,...e}){return q(D.Provider,{"data-slot":"tooltip-provider",delayDuration:t,...e})}function J({...t}){return q(Jt,{children:q(D.Root,{"data-slot":"tooltip",...t})})}import*as vt from"@radix-ui/react-tooltip";import{jsx as Yt}from"react/jsx-runtime";function Y({...t}){return Yt(vt.Trigger,{"data-slot":"tooltip-trigger",...t})}import*as V from"@radix-ui/react-tooltip";import{cx as Kt}from"@xjur-ui/util";import{jsx as yt}from"react/jsx-runtime";function K({className:t,sideOffset:e=1,variant:o="simple",children:r,...i}){return yt(V.Portal,{children:yt(V.Content,{className:Kt("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)",t),"data-slot":"tooltip-content","data-variant":o,sideOffset:e,...i,children:r})})}import{jsx as T,jsxs as oe}from"react/jsx-runtime";var ee=Ut("",{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"}}),h=Lt(({variant:t,size:e,weight:o,asChild:r,className:i,children:n,...a})=>T(r?Qt:"span",{className:ee({variant:t,size:e,weight:o,className:i}),...a,children:n}));h.displayName="Typography";var Q=Lt(({children:t,...e})=>{let[o,r]=te(!1);return oe(J,{children:[T(Y,{asChild:!0,children:T(h,{onMouseEnter:({currentTarget:n})=>{let a=n.scrollWidth>n.clientWidth;r(a),a?n.style.cursor="pointer":n.style.cursor="text"},...e,children:t})}),o&&T(K,{children:t})]})});Q.displayName="TruncatedTypography";import{tv as re}from"@xjur-ui/util";import{jsx as wt}from"react/jsx-runtime";function z({className:t,htmlFor:e,children:o,...r}){let{state:i}=s(),n=re({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 wt("label",{className:n({className:t,state:i}),htmlFor:e,...r,children:wt("span",{className:"rounded-small-1x bg-layer-2-idle max-w-full",children:o})})}import{jsx as H,jsxs as se}from"react/jsx-runtime";function ae({className:t,value:e,placeholder:o,renderValue:r,...i}){let{variant:n}=s(),a=ne(()=>{let l=r?r(e??""):typeof e=="object"?e?.label:e;return n==="filter"?l:l||o},[e,o,n,r]);return se("div",{className:"grid w-full items-center",children:[o&&n==="filter"&&H(z,{children:o}),o&&n==="filter"&&H(h,{className:"invisible col-start-1 row-start-1 self-center",children:o}),H(h,{className:"text-neutral-dark z-10 col-start-1 row-start-1 self-center text-left",children:a}),H("input",{...i,"aria-readonly":!0,className:ie("pointer-events-none",t),hidden:!0,placeholder:" ",readOnly:!0,value:typeof e=="object"?e?.value??"":e??""})]})}import{twMerge as bt}from"@xjur-ui/util";import{Fragment as le,useMemo as Mt}from"react";import{jsx as w,jsxs as de}from"react/jsx-runtime";function pe({className:t,value:e,placeholder:o,renderValue:r,...i}){let{variant:n}=s(),a=Mt(()=>n==="filter"?!1:!e&&o,[e,o,n]),l=Mt(()=>Array.isArray(e)&&e.length>0,[e]);return de("div",{className:bt(t,"gap-small-1x scrollbar-hide grid w-full items-center overflow-x-hidden","group-disabled:!pl-0"),children:[o&&n==="filter"&&w(z,{children:o}),o&&n==="filter"&&w(h,{className:"invisible col-start-1 row-start-1 self-center",children:o}),a&&w(h,{className:"text-neutral-dark",children:o}),w("div",{className:"gap-small-1x col-start-1 row-start-1 flex items-center",children:e.map(C=>w(le,{children:r?r(C):C.label},C.value))}),w("input",{...i,"aria-readonly":!0,className:bt(t,"pointer-events-none"),hidden:!0,placeholder:l?"":" ",readOnly:!0,value:Array.isArray(e)?e.join(","):e})]})}import*as S from"@radix-ui/react-popover";import{Slot as ce}from"@radix-ui/react-slot";import{cx as ue}from"@xjur-ui/util";import{useVirtualizer as fe}from"@tanstack/react-virtual";import{useRef as he}from"react";import{createContext as me}from"react";var M=me({virtualizer:null,enabled:!1});import{jsx as Pt}from"react/jsx-runtime";function U({className:t,asChild:e,children:o,virtualized:r=!1,itemCount:i=0,estimateSize:n=()=>48,overscan:a=5,...l}){let C=e?ce:"div",g=he(null),Tt=fe({count:i,getScrollElement:()=>g.current,estimateSize:n,overscan:a,enabled:r});return Pt(M.Provider,{value:{virtualizer:Tt,enabled:r},children:Pt(C,{...l,className:ue(t,"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:g,children:o})})}import{Slot as Ce}from"@radix-ui/react-slot";import{cx as ge}from"@xjur-ui/util";import{jsx as ke}from"react/jsx-runtime";function tt({className:t,asChild:e,...o}){return ke(e?Ce:"div",{...o,className:ge(t,"px-small pt-small-1x")})}import{cx as xe}from"@xjur-ui/util";import{jsx as ve}from"react/jsx-runtime";function et({variant:t="label",size:e="sm",weight:o="medium",className:r,...i}){return ve(h,{className:xe(r,"text-neutral-placeholder"),size:e,variant:t,weight:o,...i})}import{Slot as ye}from"@radix-ui/react-slot";import{cx as _t}from"@xjur-ui/util";import{useContext as Le}from"react";import{jsx as ot}from"react/jsx-runtime";function rt({className:t,asChild:e,children:o,renderItem:r,...i}){let n=e?ye:"ul",{virtualizer:a,enabled:l}=Le(M);if(l&&a&&r){let C=a.getVirtualItems();return ot(n,{...i,className:_t("p-small relative flex flex-col",t),style:{height:`${a.getTotalSize()}px`},children:C.map(g=>ot("div",{className:"absolute top-0 left-0 w-full","data-index":g.index,ref:a.measureElement,style:{transform:`translateY(${g.start}px)`},children:r(g.index)},g.key))})}return ot(n,{...i,className:_t("gap-small-1x p-small flex flex-col",t),children:o})}import{Slot as we}from"@radix-ui/react-slot";import{cx as be,cva as Me}from"@xjur-ui/util";import{jsx as _e}from"react/jsx-runtime";var Pe=Me(["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 it({className:t,size:e,isActive:o,asChild:r,...i}){return _e(r?we:"li",{...i,className:be(Pe({size:e,isActive:o}),t)})}import{jsx as nt}from"react/jsx-runtime";var{content:De}=d();function Ve({className:t,sideOffset:e=5,side:o="bottom",align:r="start",children:i,virtualized:n=!1,overscan:a=5,estimateSize:l=()=>32,...C}){let{state:g}=s();return nt(S.Portal,{children:nt(S.Content,{align:r,className:De({className:t,state:g}),side:o,sideOffset:e,...C,children:nt(U,{estimateSize:l,overscan:a,virtualized:n,children:i})})})}import{jsx as He}from"react/jsx-runtime";var{caption:Te}=d();function ze({className:t,...e}){let{state:o}=s();return He("p",{className:Te({className:t,state:o}),...e})}import{jsx as Re}from"react/jsx-runtime";var{slotText:Se}=d();function Ie({className:t,...e}){let{state:o}=s();return Re("span",{className:Se({className:t,state:o}),"data-slot":"control-left-slot",...e})}import{jsx as Ne}from"react/jsx-runtime";function Fe(t){return Ne(rt,{...t})}import{twMerge as Ze}from"@xjur-ui/util";import*as Vt from"@radix-ui/react-popover";import{jsx as Dt}from"react/jsx-runtime";function Be({className:t,value:e,closeOnSelect:o=!0,...r}){let i=Dt(it,{className:Ze(t,"cursor-pointer"),value:typeof e=="object"?e?.value:e,...r});return o?Dt(Vt.Close,{asChild:!0,children:i}):i}import{twMerge as Ee}from"@xjur-ui/util";import{jsx as Oe}from"react/jsx-runtime";function je({className:t,...e}){return Oe(Q,{className:Ee(t,"truncate"),...e})}import{jsx as We}from"react/jsx-runtime";function Ae(t){return We(tt,{...t})}import{jsx as $e}from"react/jsx-runtime";function Xe(t){return $e(et,{...t})}import{Close as di}from"@radix-ui/react-popover";export{ze as SelectCaption,di as SelectClose,Ve as SelectContent,Ae as SelectHeader,Xe as SelectHeaderTitle,qt as SelectIcon,pe as SelectMultiValue,Be as SelectOption,je as SelectOptionText,Fe as SelectOptions,Rt as SelectRoot,Ie as SelectSlot,Bt as SelectTrigger,ae as SelectValue};
@@ -1 +1 @@
1
- import{cx as d}from"@xjur-ui/util";import{jsx as p}from"react/jsx-runtime";function a({className:e,filled:r=!1,name:o,...t}){return p("span",{...t,className:d("material-symbols-outlined","text-size-body-lg select-none",e),style:{fontVariationSettings:`'FILL' ${r?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...t.style},children:o})}import{createContext as c,useContext as _}from"react";var m=c({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function n(){let e=_(m);if(!e)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return e}import{tv as u}from"@xjur-ui/util";var i=u({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 l}from"react/jsx-runtime";var{icon:f}=i();function P({className:e,name:r,orientation:o="left",...t}){let{state:s}=n();return l("div",{className:f({className:e,state:s}),"data-slot":`control-${o}-slot`,...t,children:l(a,{name:r})})}export{P as SelectIcon};
1
+ import{cx as J}from"@xjur-ui/util";var I=["agenda","contencioso","contrato","consultivo","xsigner","procuracao","xpay","imobiliario","marcasepatentes","ged","regulatorio","compliance"];import{jsx as e,jsxs as S}from"react/jsx-runtime";function f(){return S("svg",{fill:"none",height:"22",viewBox:"0 0 22 22",width:"22",xmlns:"http://www.w3.org/2000/svg",children:[e("path",{d:"M6.58375 12.5205H5.25168C4.7443 12.5205 4.33301 12.1092 4.33301 11.6018V10.2697C4.33301 9.76236 4.7443 9.35107 5.25168 9.35107H6.58375C7.09113 9.35107 7.50242 9.76236 7.50242 10.2697V11.6018C7.50246 12.1092 7.09113 12.5205 6.58375 12.5205Z",fill:"#E87D30"}),e("path",{d:"M11.4196 12.5205H10.0876C9.58023 12.5205 9.16895 12.1092 9.16895 11.6018V10.2697C9.16895 9.76236 9.58023 9.35107 10.0876 9.35107H11.4197C11.9271 9.35107 12.3384 9.76236 12.3384 10.2697V11.6018C12.3384 12.1092 11.927 12.5205 11.4196 12.5205Z",fill:"#E87D30"}),e("path",{d:"M16.2566 12.5205H14.9245C14.4171 12.5205 14.0059 12.1092 14.0059 11.6018V10.2697C14.0059 9.76236 14.4171 9.35107 14.9245 9.35107H16.2566C16.764 9.35107 17.1753 9.76236 17.1753 10.2697V11.6018C17.1753 12.1092 16.7639 12.5205 16.2566 12.5205Z",fill:"#E87D30"}),e("path",{d:"M6.58375 17.3564H5.25168C4.7443 17.3564 4.33301 16.9451 4.33301 16.4378V15.1057C4.33301 14.5983 4.7443 14.187 5.25168 14.187H6.58375C7.09113 14.187 7.50242 14.5983 7.50242 15.1057V16.4378C7.50246 16.9451 7.09113 17.3564 6.58375 17.3564Z",fill:"#E87D30"}),e("path",{d:"M16.2566 17.3564H14.9245C14.4171 17.3564 14.0059 16.9451 14.0059 16.4378V15.1057C14.0059 14.5983 14.4171 14.187 14.9245 14.187H16.2566C16.764 14.187 17.1753 14.5983 17.1753 15.1057V16.4378C17.1753 16.9451 16.7639 17.3564 16.2566 17.3564Z",fill:"#E87D30"}),e("path",{d:"M11.4196 17.3564H10.0876C9.58023 17.3564 9.16895 16.9451 9.16895 16.4378V15.1057C9.16895 14.5983 9.58023 14.187 10.0876 14.187H11.4197C11.9271 14.187 12.3384 14.5983 12.3384 15.1057V16.4378C12.3384 16.9451 11.927 17.3564 11.4196 17.3564Z",fill:"#E87D30"}),e("path",{d:"M5.47641 4.66531C4.87727 4.66531 4.3916 4.17965 4.3916 3.58051V2.58188C4.3916 1.98277 4.87727 1.49707 5.47641 1.49707C6.07551 1.49707 6.56121 1.98273 6.56121 2.58188V3.58051C6.56117 4.17965 6.07551 4.66531 5.47641 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),e("path",{d:"M16.5243 4.66531C15.9252 4.66531 15.4395 4.17965 15.4395 3.58051V2.58188C15.4395 1.98277 15.9251 1.49707 16.5243 1.49707C17.1234 1.49707 17.6091 1.98273 17.6091 2.58188V3.58051C17.609 4.17965 17.1234 4.66531 16.5243 4.66531Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),e("path",{d:"M15.3309 2.96387H6.74414",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),e("path",{d:"M4.1143 2.96387H2.98582C2.12641 2.96387 1.42969 3.66059 1.42969 4.52004V6.73563H20.5703V4.52004C20.5703 3.66059 19.8736 2.96391 19.0142 2.96391H17.9235",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),e("path",{d:"M20.5703 6.26904V18.9471C20.5703 19.8065 19.8736 20.5032 19.0142 20.5032H2.98582C2.12641 20.5032 1.42969 19.8065 1.42969 18.9471V6.26904",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"}),e("path",{d:"M1.58301 6.73584H20.5014",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"1.2"})]})}import{jsx as r,jsxs as j}from"react/jsx-runtime";function g(){return j("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[j("g",{clipPath:"url(#clip0_19548_42822)",children:[r("path",{d:"M2.34375 16.0938V11.5625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M2.34375 8.4375V3.90625",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M17.6562 3.90625H8.4375C7.57457 3.90625 6.875 3.20668 6.875 2.34375C6.875 1.48082 7.57457 0.78125 8.4375 0.78125H17.6562C18.5192 0.78125 19.2188 1.48082 19.2188 2.34375C19.2188 3.20668 18.5192 3.90625 17.6562 3.90625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M17.6562 11.5625H8.4375C7.57457 11.5625 6.875 10.8629 6.875 10C6.875 9.13707 7.57457 8.4375 8.4375 8.4375H17.6562C18.5192 8.4375 19.2188 9.13707 19.2188 10C19.2188 10.8629 18.5192 11.5625 17.6562 11.5625Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M17.6562 19.2188H8.4375C7.57457 19.2188 6.875 18.5192 6.875 17.6562C6.875 16.7933 7.57457 16.0938 8.4375 16.0938H17.6562C18.5192 16.0938 19.2188 16.7933 19.2188 17.6562C19.2188 18.5192 18.5192 19.2188 17.6562 19.2188Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M2.34375 3.90625C3.20669 3.90625 3.90625 3.20669 3.90625 2.34375C3.90625 1.48081 3.20669 0.78125 2.34375 0.78125C1.48081 0.78125 0.78125 1.48081 0.78125 2.34375C0.78125 3.20669 1.48081 3.90625 2.34375 3.90625Z",stroke:"#E53C4D",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M2.34375 11.5625C3.20669 11.5625 3.90625 10.8629 3.90625 10C3.90625 9.13706 3.20669 8.4375 2.34375 8.4375C1.48081 8.4375 0.78125 9.13706 0.78125 10C0.78125 10.8629 1.48081 11.5625 2.34375 11.5625Z",stroke:"#DF9F20",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),r("path",{d:"M2.34375 19.2188C3.20669 19.2188 3.90625 18.5192 3.90625 17.6562C3.90625 16.7933 3.20669 16.0938 2.34375 16.0938C1.48081 16.0938 0.78125 16.7933 0.78125 17.6562C0.78125 18.5192 1.48081 19.2188 2.34375 19.2188Z",stroke:"#169C55",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),r("defs",{children:r("clipPath",{id:"clip0_19548_42822",children:r("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as h,jsxs as q}from"react/jsx-runtime";function L(){return q("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[h("path",{d:"M13.6137 17.9167V19.5703H0.429688V4.04336L4.00367 0.429688H13.6137V2.91667",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),h("path",{d:"M14.1667 12.5L19.2212 17.5367C19.6866 18.0021 19.6866 18.756 19.2212 19.2214C18.9885 19.454 18.6837 19.5704 18.3789 19.5704C18.0741 19.5704 17.7693 19.454 17.5366 19.2214L12.5 14.1667",fill:"#9944E4"}),h("path",{d:"M0.429688 4.04336H4.00367V0.429688",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),h("path",{d:"M10 5.08301C12.746 5.08322 14.9961 7.31131 14.9961 10.04C14.9959 12.7686 12.7458 14.9959 10 14.9961C7.26268 14.9961 5.04318 12.7773 5.04297 10.04C5.04297 7.30256 7.26252 5.08301 10 5.08301Z",stroke:"#9944E4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]})}import{jsx as t,jsxs as P}from"react/jsx-runtime";function w(){return P("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[P("g",{clipPath:"url(#clip0_19548_42667)",children:[t("path",{d:"M5.85656 10.9769C5.85656 12.4754 4.64172 13.6903 3.14312 13.6903C1.64453 13.6903 0.429688 12.4754 0.429688 10.9769M5.85656 10.9769L3.14312 4.49072L0.429688 10.9769M5.85656 10.9769H0.429688",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),t("path",{d:"M2.91699 13.7501C1.25033 13.7501 0.555881 11.8056 0.416992 10.8334C2.22255 10.6945 5.83366 10.5834 5.83366 11.2501C5.83366 12.0834 5.00033 13.7501 2.91699 13.7501Z",fill:"#377BD4"}),t("path",{d:"M16.667 13.7501C15.0003 13.7501 14.3059 11.8056 14.167 10.8334C15.9725 10.6945 19.5837 10.5834 19.5837 11.2501C19.5837 12.0834 18.7503 13.7501 16.667 13.7501Z",fill:"#377BD4"}),t("path",{d:"M14.1436 10.9769C14.1436 12.4754 15.3584 13.6903 16.857 13.6903C18.3556 13.6903 19.5704 12.4754 19.5704 10.9769M14.1436 10.9769L16.857 4.49072L19.5704 10.9769M14.1436 10.9769H19.5704",stroke:"#377BD4",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),t("path",{d:"M9.02344 13.5156V1.40625C9.02344 0.869141 9.46289 0.429688 10 0.429688C10.5371 0.429688 10.9766 0.869141 10.9766 1.40625V13.5156",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),t("path",{d:"M8.70012 2.38281H7.07113L5.15879 4.29512H1.12746L0.429688 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),t("path",{clipRule:"evenodd",d:"M5.3125 19.5703H14.6875V18.0078L13.9062 17.2266H6.09371L5.3125 18.0078V19.5703Z",fillRule:"evenodd",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),t("path",{d:"M12.8947 17.0313V14.4922L12.1134 13.7109H7.88672L7.10547 14.4922V17.0313",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),t("path",{d:"M9.21875 3.43164H10.7812",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),t("path",{d:"M11.2998 2.38281H12.9288L14.8411 4.29512H18.8725L19.5702 3.59734",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"})]}),t("defs",{children:t("clipPath",{id:"clip0_19548_42667",children:t("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as a,jsxs as N}from"react/jsx-runtime";function M(){return N("svg",{fill:"none",height:"20",viewBox:"0 0 16 20",width:"16",xmlns:"http://www.w3.org/2000/svg",children:[a("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",fill:"#EA5081"}),a("path",{d:"M12.7851 2.98193C12.7851 2.98193 13.4231 2.98193 14.0612 2.98193C14.7659 2.98193 15.3372 3.5533 15.3372 4.25799C15.3372 7.34791 15.3372 15.2045 15.3372 18.2944C15.3372 18.9991 14.7659 19.5705 14.0612 19.5705C11.7324 19.5705 6.81965 19.5705 4.49086 19.5705C4.15238 19.5705 3.82797 19.4362 3.58871 19.1966C3.34914 18.9574 3.21484 18.6329 3.21484 18.2945C3.21484 17.6565 3.21484 17.0184 3.21484 17.0184",stroke:"#EA5081",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),a("path",{d:"M0.663086 4.25781L4.49121 0.429688C4.49121 0.429688 9.18352 0.429688 11.5095 0.429688C12.2141 0.429688 12.7855 1.00105 12.7855 1.70574C12.7855 4.79566 12.7855 12.6523 12.7855 15.7422C12.7855 16.4469 12.2142 17.0182 11.5095 17.0182C9.18067 17.0182 4.26793 17.0182 1.93914 17.0182C1.23445 17.0182 0.663086 16.4469 0.663086 15.7422C0.663086 12.5103 0.663086 4.25781 0.663086 4.25781Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),a("path",{d:"M0.663086 4.89586C0.663086 4.89586 2.53313 4.89586 3.8532 4.89586C4.55789 4.89586 5.12926 4.32449 5.12926 3.6198C5.12926 2.29973 5.12926 0.429688 5.12926 0.429688",stroke:"#3D3D47",strokeMiterlimit:"10"}),a("path",{d:"M3.85352 8.08594H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),a("path",{d:"M3.85352 10.6382H9.5957",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),a("path",{d:"M3.85352 13.1899H7.04363",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as d,jsxs as Z}from"react/jsx-runtime";function _(){return Z("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[Z("g",{clipPath:"url(#clip0_19548_42803)",children:[d("path",{d:"M19.5703 4.8957V15.1043C19.5703 13.9613 19.1344 12.8184 18.2621 11.9461C16.518 10.202 13.6902 10.202 11.9461 11.9461C10.5742 13.318 10.2812 15.3602 11.068 17.0184H1.70586C1.36719 17.0184 1.04258 16.8836 0.803516 16.6445C0.564453 16.4055 0.429688 16.0805 0.429688 15.7422V1.70586C0.429688 1.36719 0.564062 1.04258 0.803516 0.803516C1.04258 0.564062 1.36719 0.429688 1.70586 0.429688H8.08594L11.2762 3.61992H18.2941C18.9988 3.61992 19.5703 4.19102 19.5703 4.8957Z",fill:"#F7BC0F"}),d("path",{d:"M15.1047 19.5702C17.5712 19.5702 19.5707 17.5707 19.5707 15.1042C19.5707 12.6377 17.5712 10.6382 15.1047 10.6382C12.6382 10.6382 10.6387 12.6377 10.6387 15.1042C10.6387 17.5707 12.6382 19.5702 15.1047 19.5702Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"}),d("path",{d:"M13.5098 15.1043L14.7859 16.3801L16.7 13.8281",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round"})]}),d("defs",{children:d("clipPath",{id:"clip0_19548_42803",children:d("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as l,jsxs as B}from"react/jsx-runtime";function D(){return B("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[B("g",{clipPath:"url(#clip0_19548_42782)",children:[l("path",{d:"M0.429688 11.5007L10.1218 0.511719L19.5703 11.3059",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),l("path",{d:"M17.3304 8.78764V19.4883H2.89551V8.66553",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),l("path",{d:"M6.93305 12.366L9.96977 16.1929L13.0492 12.3751C13.4256 11.7457 13.6244 11.026 13.6244 10.2927C13.6244 8.28998 12.0009 6.6665 9.99824 6.6665C7.99555 6.6665 6.37207 8.28998 6.37207 10.2927V10.3077C6.37207 11.0316 6.56574 11.7422 6.93305 12.366Z",fill:"#EB3B3B",stroke:"#EB3B3B",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"22.9256"}),l("path",{d:"M9.97016 11.6454C10.6769 11.6454 11.2499 11.0724 11.2499 10.3657C11.2499 9.65889 10.6769 9.08594 9.97016 9.08594C9.26338 9.08594 8.69043 9.65889 8.69043 10.3657C8.69043 11.0724 9.26338 11.6454 9.97016 11.6454Z",fill:"white",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),l("defs",{children:l("clipPath",{id:"clip0_19548_42782",children:l("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as C,jsxs as O}from"react/jsx-runtime";function v(){return O("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[C("path",{d:"M4.60834 12L2 17.7972L4.86637 17.5931L6.55798 20L9.5 14",fill:"#3CA4E5"}),C("path",{d:"M10 14L12.7909 20L14.7241 17.2923L18 17.5218L15 11.5",fill:"#3CA4E5"}),C("path",{d:"M9.5 14C13.0899 14 16 11.0899 16 7.5C16 3.91015 13.0899 1 9.5 1C5.91015 1 3 3.91015 3 7.5C3 11.0899 5.91015 14 9.5 14Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),C("path",{d:"M9.5 11C11.433 11 13 9.433 13 7.5C13 5.567 11.433 4 9.5 4C7.567 4 6 5.567 6 7.5C6 9.433 7.567 11 9.5 11Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as s,jsxs as E}from"react/jsx-runtime";function x(){return E("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[E("g",{clipPath:"url(#clip0_19548_42757)",children:[s("path",{d:"M11.6672 0.429688H3.44824V6.25L16.5006 13",fill:"#649EFE"}),s("path",{d:"M11.667 0.416504L16.5524 4.9022V13.4998",fill:"#4787F2"}),s("path",{d:"M16.667 4.99984H11.667V0.416504",fill:"#B5D1FF"}),s("path",{d:"M16.5528 19.5699H3.44816C2.7902 19.5699 2.25684 19.0366 2.25684 18.3786L2.25684 7.89006C2.25684 7.23209 2.7902 6.69873 3.44816 6.69873H6.56918C6.86094 6.69873 7.14258 6.8058 7.36066 6.99963L17.3442 14.1785C17.5986 14.4046 17.7441 14.7286 17.7441 15.0689V18.3786C17.7441 19.0366 17.2107 19.5699 16.5528 19.5699Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),s("path",{d:"M8.21363 14.7256H4.63965V17.1877H8.21363V14.7256Z",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]}),s("defs",{children:s("clipPath",{id:"clip0_19548_42757",children:s("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as p,jsxs as F}from"react/jsx-runtime";function y(){return F("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[F("g",{clipPath:"url(#clip0_19548_42810)",children:[p("path",{d:"M14.5393 4.17742C13.2871 3.19988 11.7117 2.61719 10 2.61719C5.92258 2.61719 2.61719 5.92258 2.61719 10C2.61719 14.0774 5.92258 17.3828 10 17.3828C14.0774 17.3828 17.3828 14.0774 17.3828 10C17.3828 8.8416 17.1157 7.74566 16.6402 6.77",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),p("path",{d:"M16.0952 2.62152C14.4398 1.25246 12.316 0.429688 10 0.429688C4.71445 0.429688 0.429688 4.71445 0.429688 10C0.429688 15.2855 4.71445 19.5703 10 19.5703C15.2855 19.5703 19.5703 15.2855 19.5703 10C19.5703 8.23215 19.0904 6.57668 18.2546 5.15562",stroke:"#3D3D47",strokeLinejoin:"round",strokeMiterlimit:"10"}),p("path",{d:"M16.8242 0.891113C17.217 0.570748 17.796 0.593369 18.1621 0.959473L20.5088 3.30615C20.8993 3.69668 20.8993 4.32969 20.5088 4.72021L10.6074 14.6216C10.4199 14.8091 10.1656 14.9145 9.90039 14.9146C9.63517 14.9146 9.3809 14.8091 9.19336 14.6216L4.29297 9.72217C3.90245 9.33165 3.90245 8.69765 4.29297 8.30713L6.63965 5.96045L6.71289 5.89404C6.8908 5.74831 7.11469 5.6675 7.34668 5.66748C7.61178 5.66748 7.8662 5.77307 8.05371 5.96045L9.90039 7.80713L16.748 0.959473L16.8242 0.891113Z",fill:"#3FCDBC",stroke:"white",strokeLinejoin:"round",strokeMiterlimit:"10",strokeWidth:"2"})]}),p("defs",{children:p("clipPath",{id:"clip0_19548_42810",children:p("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as i,jsxs as A}from"react/jsx-runtime";function H(){return A("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[A("g",{clipPath:"url(#clip0_21377_57335)",children:[i("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",fill:"#4DA971"}),i("path",{d:"M0.429688 5.64217V3.30264C0.429688 2.68541 0.930156 2.18506 1.54754 2.18506H18.4525C19.0698 2.18506 19.5703 2.68541 19.5703 3.30264V5.64217",stroke:"#4DA971",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),i("path",{d:"M18.4526 17.8147H1.54738C0.930117 17.8147 0.429688 17.3142 0.429688 16.697V5.88112C0.429688 5.26382 0.930117 4.76343 1.54738 4.76343H18.4526C19.0699 4.76343 19.5703 5.26386 19.5703 5.88112V16.6969C19.5703 17.3142 19.0699 17.8147 18.4526 17.8147Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),i("path",{d:"M17.5117 14.2162V8.36195C16.6652 8.36195 15.979 7.67437 15.979 6.82617H4.02098C4.02098 7.67434 3.33477 8.36195 2.48828 8.36195V14.2162C3.33477 14.2162 4.02098 14.9037 4.02098 15.752H15.979C15.979 14.9037 16.6652 14.2162 17.5117 14.2162Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),i("path",{d:"M9.99953 13.2399C11.0747 13.2399 11.9463 12.3665 11.9463 11.2891C11.9463 10.2118 11.0747 9.33838 9.99953 9.33838C8.92434 9.33838 8.05273 10.2118 8.05273 11.2891C8.05273 12.3665 8.92434 13.2399 9.99953 13.2399Z",fill:"white",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),i("ellipse",{cx:"14.4277",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"}),i("ellipse",{cx:"5.57227",cy:"11.2891",fill:"#3D3D47",rx:"0.429688",ry:"0.429687"})]}),i("defs",{children:i("clipPath",{id:"clip0_21377_57335",children:i("rect",{fill:"white",height:"20",width:"20"})})})]})}import{jsx as u,jsxs as $}from"react/jsx-runtime";function b(){return $("svg",{fill:"none",height:"20",viewBox:"0 0 20 20",width:"20",xmlns:"http://www.w3.org/2000/svg",children:[u("path",{d:"M14.2862 6.43053L18.3624 3.85093C19.172 1.9095 19.564 0.436523 19.564 0.436523C19.564 0.436523 13.8492 1.38946 9.38516 5.85347L6.32865 8.90994C5.59048 9.64811 5.04572 10.5569 4.74258 11.5559L3.12988 16.8706L8.44457 15.2579C9.44353 14.9547 10.3523 14.41 11.0905 13.6718L14.147 10.6153C15.3515 9.41085 16.3467 7.90827 17.1411 6.43049L14.2862 6.43053Z",fill:"#A9B3BA"}),u("path",{d:"M11.8957 8.104L0.436523 19.5632",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M10 13.333H12.5",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M8.33301 5.83301L8.33301 8.33301",stroke:"white",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"}),u("path",{d:"M5.58902 17.5465H2.4541V14.4116",stroke:"#3D3D47",strokeLinecap:"round",strokeLinejoin:"round",strokeMiterlimit:"10"})]})}import{jsx as o}from"react/jsx-runtime";function T({name:n}){switch(n){case"agenda":return o(f,{});case"contencioso":return o(w,{});case"contrato":return o(M,{});case"consultivo":return o(L,{});case"xsigner":return o(b,{});case"procuracao":return o(x,{});case"xpay":return o(H,{});case"imobiliario":return o(D,{});case"marcasepatentes":return o(v,{});case"ged":return o(_,{});case"regulatorio":return o(y,{});case"compliance":return o(g,{});default:return null}}import{jsx as z}from"react/jsx-runtime";function R({className:n,filled:m=!1,name:c,...k}){return I.includes(c)?z(T,{name:c}):z("span",{...k,className:J("material-symbols-outlined","text-size-body-lg select-none",n),style:{fontVariationSettings:`'FILL' ${m?1:0}, 'wght' 600, 'GRAD' 0, 'opsz' 20`,...k.style},children:c})}import{createContext as K,useContext as Q}from"react";var U=K({state:"normal",variant:"normal",customMask:void 0,mask:void 0});function W(){let n=Q(U);if(!n)throw new Error("useFieldContext must be used within a InputRoot, SelectRoot, DatePickerRoot, etc.");return n}import{tv as Y}from"@xjur-ui/util";var X=Y({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 G}from"react/jsx-runtime";var{icon:t1}=X();function t2({className:n,name:m,orientation:c="left",...k}){let{state:V}=W();return G("div",{className:t1({className:n,state:V}),"data-slot":`control-${c}-slot`,...k,children:G(R,{name:m})})}export{t2 as SelectIcon};
@@ -1,9 +1,10 @@
1
1
  import type { ComponentProps } from 'react';
2
2
  import { ListItem } from '../../list';
3
- export declare function SelectOption({ className, value, ...props }: Omit<ComponentProps<typeof ListItem>, 'value'> & {
3
+ export declare function SelectOption({ className, value, closeOnSelect, ...props }: Omit<ComponentProps<typeof ListItem>, 'value'> & {
4
4
  className?: string;
5
5
  value?: string | {
6
6
  value: string;
7
7
  label: string;
8
8
  };
9
+ closeOnSelect?: boolean;
9
10
  }): import("react/jsx-runtime").JSX.Element;
@@ -1 +1 @@
1
- import{twMerge as D}from"@xjur-ui/util";import{Slot as $}from"@radix-ui/react-slot";import{cx as q}from"@xjur-ui/util";import{useVirtualizer as G}from"@tanstack/react-virtual";import{useRef as K}from"react";import{createContext as h}from"react";var m=h({virtualizer:null,enabled:!1});import{jsx as X}from"react/jsx-runtime";import{Slot as j}from"@radix-ui/react-slot";import{cx as et}from"@xjur-ui/util";import{jsx as rt}from"react/jsx-runtime";import{cx as Tt}from"@xjur-ui/util";import{Slot as P}from"@radix-ui/react-slot";import{cva as V}from"@xjur-ui/util";import{memo as g,useState as L}from"react";import*as s from"@radix-ui/react-tooltip";import{jsx as d}from"react/jsx-runtime";function C({delayDuration:t=0,...e}){return d(s.Provider,{"data-slot":"tooltip-provider",delayDuration:t,...e})}function c({...t}){return d(C,{children:d(s.Root,{"data-slot":"tooltip",...t})})}import*as y from"@radix-ui/react-tooltip";import{jsx as z}from"react/jsx-runtime";function f({...t}){return z(y.Trigger,{"data-slot":"tooltip-trigger",...t})}import*as n from"@radix-ui/react-tooltip";import{cx as T}from"@xjur-ui/util";import{jsx as b}from"react/jsx-runtime";function x({className:t,sideOffset:e=1,variant:o="simple",children:r,...a}){return b(n.Portal,{children:b(n.Content,{className:T("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)",t),"data-slot":"tooltip-content","data-variant":o,sideOffset:e,...a,children:r})})}import{jsx as p,jsxs as S}from"react/jsx-runtime";var N=V("",{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"}}),u=g(({variant:t,size:e,weight:o,asChild:r,className:a,children:i,...l})=>p(r?P:"span",{className:N({variant:t,size:e,weight:o,className:a}),...l,children:i}));u.displayName="Typography";var R=g(({children:t,...e})=>{let[o,r]=L(!1);return S(c,{children:[p(f,{asChild:!0,children:p(u,{onMouseEnter:({currentTarget:i})=>{let l=i.scrollWidth>i.clientWidth;r(l),l?i.style.cursor="pointer":i.style.cursor="text"},...e,children:t})}),o&&p(x,{children:t})]})});R.displayName="TruncatedTypography";import{jsx as Lt}from"react/jsx-runtime";import{Slot as St}from"@radix-ui/react-slot";import{cx as Et}from"@xjur-ui/util";import{useContext as Ht}from"react";import{jsx as It}from"react/jsx-runtime";import{Slot as w}from"@radix-ui/react-slot";import{cx as E,cva as k}from"@xjur-ui/util";import{jsx as M}from"react/jsx-runtime";var H=k(["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 v({className:t,size:e,isActive:o,asChild:r,...a}){return M(r?w:"li",{...a,className:E(H({size:e,isActive:o}),t)})}import{jsx as I}from"react/jsx-runtime";function ee({className:t,value:e,...o}){return I(v,{className:D(t,"cursor-pointer"),value:typeof e=="object"?e?.value:e,...o})}export{ee as SelectOption};
1
+ import{twMerge as D}from"@xjur-ui/util";import*as h from"@radix-ui/react-popover";import{Slot as Y}from"@radix-ui/react-slot";import{cx as F}from"@xjur-ui/util";import{useVirtualizer as J}from"@tanstack/react-virtual";import{useRef as Q}from"react";import{createContext as z}from"react";var m=z({virtualizer:null,enabled:!1});import{jsx as Z}from"react/jsx-runtime";import{Slot as tt}from"@radix-ui/react-slot";import{cx as ot}from"@xjur-ui/util";import{jsx as it}from"react/jsx-runtime";import{cx as Pt}from"@xjur-ui/util";import{Slot as L}from"@radix-ui/react-slot";import{cva as R}from"@xjur-ui/util";import{memo as g,useState as N}from"react";import*as s from"@radix-ui/react-tooltip";import{jsx as d}from"react/jsx-runtime";function T({delayDuration:t=0,...e}){return d(s.Provider,{"data-slot":"tooltip-provider",delayDuration:t,...e})}function c({...t}){return d(T,{children:d(s.Root,{"data-slot":"tooltip",...t})})}import*as y from"@radix-ui/react-tooltip";import{jsx as P}from"react/jsx-runtime";function f({...t}){return P(y.Trigger,{"data-slot":"tooltip-trigger",...t})}import*as n from"@radix-ui/react-tooltip";import{cx as V}from"@xjur-ui/util";import{jsx as b}from"react/jsx-runtime";function x({className:t,sideOffset:e=1,variant:o="simple",children:r,...i}){return b(n.Portal,{children:b(n.Content,{className:V("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)",t),"data-slot":"tooltip-content","data-variant":o,sideOffset:e,...i,children:r})})}import{jsx as p,jsxs as E}from"react/jsx-runtime";var S=R("",{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"}}),u=g(({variant:t,size:e,weight:o,asChild:r,className:i,children:a,...l})=>p(r?L:"span",{className:S({variant:t,size:e,weight:o,className:i}),...l,children:a}));u.displayName="Typography";var w=g(({children:t,...e})=>{let[o,r]=N(!1);return E(c,{children:[p(f,{asChild:!0,children:p(u,{onMouseEnter:({currentTarget:a})=>{let l=a.scrollWidth>a.clientWidth;r(l),l?a.style.cursor="pointer":a.style.cursor="text"},...e,children:t})}),o&&p(x,{children:t})]})});w.displayName="TruncatedTypography";import{jsx as Rt}from"react/jsx-runtime";import{Slot as wt}from"@radix-ui/react-slot";import{cx as kt}from"@xjur-ui/util";import{useContext as Mt}from"react";import{jsx as Dt}from"react/jsx-runtime";import{Slot as k}from"@radix-ui/react-slot";import{cx as H,cva as M}from"@xjur-ui/util";import{jsx as O}from"react/jsx-runtime";var I=M(["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 v({className:t,size:e,isActive:o,asChild:r,...i}){return O(r?k:"li",{...i,className:H(I({size:e,isActive:o}),t)})}import{jsx as C}from"react/jsx-runtime";function oe({className:t,value:e,closeOnSelect:o=!0,...r}){let i=C(v,{className:D(t,"cursor-pointer"),value:typeof e=="object"?e?.value:e,...r});return o?C(h.Close,{asChild:!0,children:i}):i}export{oe as SelectOption};