sodtrack-web-ui 0.118.5 → 0.118.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-WPF6FUFA.js → chunk-5SAMHCBJ.js} +1 -1
- package/dist/chunk-LJZ245JN.js +1 -0
- package/dist/{chunk-K35H5VYN.js → chunk-TD3M62WN.js} +1 -1
- package/dist/{chunk-7ZPFUDVQ.js → chunk-VGC77VEG.js} +1 -1
- package/dist/chunk-VUOTMEOJ.js +1 -0
- package/dist/components/alert-dialog.d.ts +3 -4
- package/dist/components/attachment-card.d.ts +0 -1
- package/dist/components/autocomplete-multiple.d.ts +3 -3
- package/dist/components/autocomplete-skeleton.d.ts +1 -2
- package/dist/components/autocomplete.d.ts +3 -3
- package/dist/components/avatar-skeleton.d.ts +0 -1
- package/dist/components/avatar.d.ts +0 -1
- package/dist/components/badge-alert.d.ts +3 -3
- package/dist/components/button-active.d.ts +3 -3
- package/dist/components/card-basic.d.ts +2 -2
- package/dist/components/chip.js +1 -1
- package/dist/components/choice-chips.d.ts +3 -4
- package/dist/components/choice-chips.js +1 -1
- package/dist/components/country-flag.d.ts +2 -2
- package/dist/components/data-table.d.ts +1 -2
- package/dist/components/date-picker.d.ts +1 -2
- package/dist/components/dialog.d.ts +3 -4
- package/dist/components/divider.d.ts +4 -4
- package/dist/components/drawer-bar.d.ts +2 -3
- package/dist/components/drawer-bar.js +1 -1
- package/dist/components/dropzone.d.ts +4 -4
- package/dist/components/index.d.ts +3 -7
- package/dist/components/index.js +1 -1
- package/dist/components/list-item-arrow.js +1 -1
- package/dist/components/list-item-button.js +1 -1
- package/dist/components/list-item-checkbox-left.js +1 -1
- package/dist/components/list-item-checkbox.js +1 -1
- package/dist/components/list-item.d.ts +1 -2
- package/dist/components/list-item_old.js +1 -1
- package/dist/components/menu.d.ts +3 -3
- package/dist/components/multi-select-chips.d.ts +3 -3
- package/dist/components/multi-select-chips.js +1 -1
- package/dist/components/note-card.d.ts +0 -1
- package/dist/components/number-field.d.ts +1 -2
- package/dist/components/passive-tabs.d.ts +3 -3
- package/dist/components/radio.d.ts +1 -2
- package/dist/components/select-skeleton.d.ts +1 -2
- package/dist/components/select.d.ts +1 -2
- package/dist/components/sidebar.d.ts +1 -2
- package/dist/components/signature-pad.d.ts +1 -2
- package/dist/components/step-item.d.ts +2 -2
- package/dist/components/table.d.ts +1 -2
- package/dist/components/text-field.d.ts +1 -2
- package/dist/components/textarea.d.ts +1 -2
- package/dist/components/time-picker.d.ts +1 -2
- package/dist/components/tracker-item.d.ts +0 -1
- package/dist/{data-table-CejNOvUC.d.ts → data-table-3Hq7BgCz.d.ts} +1 -2
- package/dist/{label-9gkh212G.d.ts → label-CsJyLlgF.d.ts} +2 -3
- package/dist/preferences.d.ts +3 -3
- package/dist/styles/index.css +1 -1
- package/package.json +18 -19
- package/dist/chunk-GHNJWQTI.js +0 -1
- package/dist/chunk-H2ANC6ZE.js +0 -1
- package/dist/chunk-P2I7YEWT.js +0 -1
- package/dist/chunk-QX4D2CU2.js +0 -1
- package/dist/components/calendar_old.d.ts +0 -9
- package/dist/components/calendar_old.js +0 -1
- package/dist/components/date-picker_old.d.ts +0 -21
- package/dist/components/date-picker_old.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
import {e}from'./chunk-
|
|
1
|
+
import {e}from'./chunk-LJZ245JN.js';import {a as a$1}from'./chunk-VIMWKUML.js';import {c}from'./chunk-QZUQ6AZK.js';import {a}from'./chunk-OBZIYJO7.js';import {jsxs,jsx}from'react/jsx-runtime';var w=["vertical","horizontal"],V=(t,{selectedValue:i,isSelected:n})=>i!=null&&!n,D=({label:t,labelProps:i,orientation:n="vertical",options:m,value:a$2,onChange:x,required:v,tooltip:f,disabled:p,isOptionDisabled:r,error:T,helperText:c$1,variant:g,tone:O,size:y,className:S})=>{let d=n==="horizontal";return jsxs("div",{className:a("group flex flex-col",S),"data-error":T||void 0,"data-disabled":p||void 0,children:[jsxs("div",{className:a("flex",d?"flex-row items-center":"flex-col"),children:[t&&jsx(c,{...i,as:"p",label:t,required:v,tooltip:i?.tooltip??f,className:d?"mr-3 mb-0":"mb-3"}),jsx("div",{className:"flex flex-wrap gap-3",children:m.map((e$1,z)=>{let s=a$2===e$1.value,P=typeof r=="function"?r(e$1,{selectedValue:a$2,isSelected:s,index:z}):!!r,I=p||e$1.disabled||P;return jsx(e,{selected:s,disabled:I,variant:g,tone:O,size:y,StartIcon:e$1.StartIcon,onClick:()=>x(s?null:e$1.value),children:e$1.label},e$1.value)})})]}),c$1&&jsx(a$1,{children:c$1})]})};export{w as a,V as b,D as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {forwardRef}from'react';import {tv}from'tailwind-variants';import {jsxs,jsx}from'react/jsx-runtime';var N=["ghost","outline"],T=["neutral","primary"],V=["lg","md","sm"],f={variant:"ghost",tone:"neutral",size:"lg"},h=tv({slots:{root:"font-inter enabled:hover:bg-primary-100 focus:ring-primary-800 inline-flex cursor-pointer items-center justify-center gap-1.5 rounded-sm px-2 font-medium transition-all ring-inset focus:ring-3",startIcon:""},variants:{variant:{ghost:{root:""},outline:{root:"bg-neutral-50 ring"}},tone:{neutral:{},primary:{}},selected:{true:{},false:{}},disabled:{true:{root:"cursor-not-allowed text-neutral-500 ring-neutral-500"},false:{}},size:{lg:{root:"h-10 py-2.5",startIcon:"size-4.5"},md:{root:"h-8 py-1.5"},sm:{root:"h-6 py-1 text-xs leading-[133%]"}}},compoundVariants:[{disabled:false,variant:["ghost","outline"],tone:"neutral",className:{root:"text-neutral-800 ring-neutral-800"}},{disabled:false,variant:["ghost","outline"],tone:"primary",className:{root:"text-primary-600 ring-primary-600"}},{disabled:false,selected:true,variant:["ghost","outline"],className:{root:"bg-primary-200"}},{disabled:false,selected:true,variant:"outline",tone:"neutral",className:{root:"ring-neutral-900"}},{disabled:false,selected:true,variant:"outline",tone:"primary",className:{root:"ring-primary-700"}},{size:["lg","md"],className:{root:"text-sm leading-[143%]"}},{size:["md","sm"],className:{startIcon:"size-3.5"}}],defaultVariants:f}),y=forwardRef(({className:r,children:o,StartIcon:t,variant:s,selected:a,disabled:e,tone:i,size:n,...l},p)=>{let{root:u,startIcon:m}=h({variant:s,selected:a,disabled:e,tone:i,size:n});return jsxs("button",{ref:p,disabled:e,className:u({className:r}),type:"button",...l,children:[t&&jsx(t,{className:m()}),o]})});y.displayName="Chip";export{N as a,T as b,V as c,f as d,y as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b,c,e}from'./chunk-
|
|
1
|
+
import {b,c,e}from'./chunk-LJZ245JN.js';import {a}from'./chunk-VIMWKUML.js';import {c as c$1}from'./chunk-QZUQ6AZK.js';import {useMemo}from'react';import {tv}from'tailwind-variants';import {jsxs,jsx}from'react/jsx-runtime';var F=["vertical","horizontal"],G=b,J=c,S={tone:"neutral",size:"lg"},q=tv({slots:{root:"group flex flex-col",field:"flex",label:"",options:"flex flex-wrap gap-3"},variants:{orientation:{vertical:{field:"flex-col",label:"mb-3"},horizontal:{field:"flex-row items-center",label:"mr-3 mb-0"}}},defaultVariants:{orientation:"vertical"}}),K=({options:h,value:t,onChange:C,label:s,labelProps:n,orientation:M="vertical",StartIcon:v,required:T,disabled:a$1,error:x,helperText:r,tone:y=S.tone,size:g=S.size,className:z,contentClassName:O})=>{let{root:L,field:N,label:H,options:D}=q({orientation:M}),p=useMemo(()=>new Set(t),[t]),I=(e,i)=>{if(i)return;let w=p.has(e.value)?t.filter(A=>A!==e.value):[...t,e.value];C(w);};return jsxs("div",{className:L({className:z}),"data-error":x||void 0,"data-disabled":a$1||void 0,role:"group","aria-label":s,children:[jsxs("div",{className:N(),children:[s&&jsx(c$1,{...n,as:"p",label:s,required:T,size:n?.size??"md",className:H()}),jsx("div",{className:D({className:O}),children:h.map(e$1=>{let i=p.has(e$1.value),o=!!a$1||!!e$1.disabled;return jsx(e,{variant:"outline",tone:y,size:g,StartIcon:v,selected:i,disabled:o,"aria-pressed":i,onClick:()=>I(e$1,o),children:e$1.label},e$1.value)})})]}),r&&jsx(a,{children:r})]})};export{F as a,G as b,J as c,S as d,K as e};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import {b as b$1}from'./chunk-XN6VHPJL.js';import {c}from'./chunk-
|
|
1
|
+
import {b as b$1}from'./chunk-XN6VHPJL.js';import {c}from'./chunk-5SAMHCBJ.js';import {d}from'./chunk-WAUY2MS6.js';import {a}from'./chunk-AWRP67K4.js';import {e as e$1}from'./chunk-PI7DECIN.js';import {L}from'./chunk-QMPBFFFC.js';import {e}from'./chunk-Y3ZZYSKX.js';import {a as a$2}from'./chunk-WXHE4RLE.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import {getDefaultOptions}from'date-fns';import {tv}from'tailwind-variants';import {jsx,jsxs}from'react/jsx-runtime';var t=tv({slots:{root:"ring-drawer-bar-border @container flex w-full flex-col rounded-md bg-neutral-100 ring ring-inset",header:"border-drawer-bar-border py-3.125 flex flex-wrap items-center gap-3 border-b px-4 last:border-b-0 @md:gap-2",main:"border-drawer-bar-border py-1.875 flex flex-col items-stretch gap-2 border-b px-2 last:border-b-0 @md:flex-row @md:items-center",actions:"flex shrink-0 items-center gap-3 @max-md:flex-wrap",selection:"ml-auto flex items-center gap-3",selectionLabel:"text-sm leading-[143%] font-medium text-neutral-900",divider:"h-4 @max-md:h-px @max-md:w-full",filters:"flex flex-col gap-2 px-2 pt-3 pb-2 @md:flex-row @md:justify-between"}}),z=r=>r?.startsWith("es")?"Seleccionados":r?.startsWith("pt")?"Selecionados":"Selected",W=r=>r?.startsWith("es")?"Limpiar todo":r?.startsWith("pt")?"Limpar tudo":"Clear all",D=r=>{let{header:e}=t();return jsx("div",{...r,className:e()})};D.displayName="DrawerBarHeader";var f=({label:r,...e})=>{let{locale:o}=getDefaultOptions(),{selectionLabel:i,selection:s}=t();return jsxs("div",{className:s(),children:[jsx("span",{className:i(),children:r??z(o?.code)}),jsx(a$2,{...e,size:"md",variant:"primary",type:"square"})]})};f.displayName="DrawerBarSelection";var C=r=>jsx(c,{...r,variant:"outline",orientation:"horizontal",size:"sm"});C.displayName="DrawerBarChoiceChips";var v=r=>{let{main:e}=t();return jsx("div",{...r,className:e()})};v.displayName="DrawerBarMain";var P=r=>jsx(b$1,{size:"lg",...r});P.displayName="DrawerBarSearchBar";var N=({children:r})=>{let{actions:e}=t();return jsx("div",{className:e(),children:r})};N.displayName="DrawerBarActions";var b=({className:r,...e$1})=>jsx(e,{...e$1,className:a$1("@max-md:w-full",r),variant:"ghost",size:"md"});b.displayName="DrawerBarActionButton";var y=r=>jsx(e$1,{...r,variant:"ghost",size:"md"});y.displayName="DrawerBarActionIconButton";var g=()=>{let{divider:r}=t();return jsx(a,{orientation:"vertical",variant:"400",className:r()})};g.displayName="DrawerBarDivider";var x=({children:r,onClear:e$1,clearLabel:o})=>{let{locale:i}=getDefaultOptions(),{filters:s}=t();return jsxs("div",{className:s(),children:[jsx("div",{className:"flex min-w-0 flex-wrap items-center gap-2",children:r}),e$1&&jsx(e,{size:"sm",variant:"ghost",StartIcon:L,onClick:e$1,children:o??W(i?.code)})]})};x.displayName="DrawerBarFilters";var F=r=>jsx(d,{size:"md",variant:"fill",color:"neutral",...r});F.displayName="DrawerBarFilterChipInput";var S=({children:r,className:e,...o})=>{let{root:i}=t();return jsx("div",{className:i({className:e}),...o,children:r})};S.displayName="DrawerBar";var Y=Object.assign(S,{Header:D,Selection:f,ChoiceChips:C,Main:v,SearchBar:P,Actions:N,ActionButton:b,ActionIconButton:y,Divider:g,Filters:x,FilterChipInput:F});export{Y as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {a as a$3}from'./chunk-ORDWXBDZ.js';import {c as c$3,h}from'./chunk-XRFPQJ5P.js';import {a as a$7}from'./chunk-B5KKVXLE.js';import {b}from'./chunk-IS5NIK6V.js';import {c as c$6}from'./chunk-JYNJHAGL.js';import {d as d$1}from'./chunk-WAUY2MS6.js';import {a as a$4,b as b$2,c as c$4,d as d$2}from'./chunk-NYURVOJI.js';import {c as c$5}from'./chunk-FYB3QRNL.js';import {a as a$8}from'./chunk-MOFC3UHC.js';import {c as c$1,e as e$1,a as a$5,b as b$1,d}from'./chunk-MQL3NZ6S.js';import {a as a$6}from'./chunk-VIMWKUML.js';import {c as c$2}from'./chunk-QZUQ6AZK.js';import {d as d$3}from'./chunk-MP4CHZ2K.js';import {a as a$2}from'./chunk-R6NIURLZ.js';import {a}from'./chunk-AWRP67K4.js';import {e as e$2}from'./chunk-PI7DECIN.js';import {c,q,k,h as h$1}from'./chunk-QMPBFFFC.js';import {e}from'./chunk-Y3ZZYSKX.js';import {a as a$1}from'./chunk-OBZIYJO7.js';import*as H from'react';import H__default,{createContext,useMemo,useCallback,forwardRef,useRef,useContext,useEffect,useId,useState}from'react';import*as Ht from'@radix-ui/react-portal';import {jsx,jsxs,Fragment}from'react/jsx-runtime';import {Field,useFieldContext}from'@ark-ui/react/field';import {useListCollection,Combobox}from'@ark-ui/react/combobox';import {useFilter}from'@ark-ui/react/locale';import {Portal}from'@ark-ui/react/portal';import {getDefaultOptions}from'date-fns';import Pn from'react-phone-number-input/locale/en.json';import En from'react-phone-number-input/locale/es.json';import Nn from'react-phone-number-input/locale/pt.json';import {LexicalComposer}from'@lexical/react/LexicalComposer';import {RichTextPlugin}from'@lexical/react/LexicalRichTextPlugin';import {ContentEditable}from'@lexical/react/LexicalContentEditable';import {HistoryPlugin}from'@lexical/react/LexicalHistoryPlugin';import {ListPlugin}from'@lexical/react/LexicalListPlugin';import {AutoFocusPlugin}from'@lexical/react/LexicalAutoFocusPlugin';import {OnChangePlugin}from'@lexical/react/LexicalOnChangePlugin';import {LexicalErrorBoundary}from'@lexical/react/LexicalErrorBoundary';import {HeadingNode,$isHeadingNode,$createHeadingNode}from'@lexical/rich-text';import {ListNode,ListItemNode,$isListNode,REMOVE_LIST_COMMAND,INSERT_UNORDERED_LIST_COMMAND,INSERT_ORDERED_LIST_COMMAND}from'@lexical/list';import {useLexicalComposerContext}from'@lexical/react/LexicalComposerContext';import {$generateHtmlFromNodes,$generateNodesFromDOM}from'@lexical/html';import {$getSelection,$isRangeSelection,$isElementNode,SELECTION_CHANGE_COMMAND,CAN_UNDO_COMMAND,CAN_REDO_COMMAND,UNDO_COMMAND,REDO_COMMAND,OUTDENT_CONTENT_COMMAND,INDENT_CONTENT_COMMAND,FORMAT_ELEMENT_COMMAND,$createParagraphNode,FORMAT_TEXT_COMMAND,$getRoot,$insertNodes}from'lexical';import {$setBlocksType}from'@lexical/selection';import {$findMatchingParent,mergeRegister}from'@lexical/utils';import {AlignJustifyIcon,AlignRightIcon,AlignCenterIcon,AlignLeftIcon,UnderlineIcon,ItalicIcon,BoldIcon,UndoIcon,RedoIcon,ListIcon,ListOrderedIcon,IndentDecreaseIcon,IndentIncreaseIcon}from'lucide-react';import vl,{parsePhoneNumber,getCountryCallingCode}from'react-phone-number-input';import {getExampleNumber}from'libphonenumber-js/mobile';import pl from'libphonenumber-js/mobile/examples';var wo=(e,t)=>{let o=useCallback(n=>{e.current&&!e.current.contains(n.target)&&t();},[]);useEffect(()=>(document.addEventListener("pointerdown",o),()=>{document.removeEventListener("pointerdown",o);}),[]);},Ge=wo;var Do=({title:e,titleLines:t=2,description:o,descriptionLines:n=1,Icon:r,iconAsColumn:l=true,className:i,...s})=>jsxs("div",{className:a$1("flex gap-2 py-4 pr-6 pl-4",l&&"flex-col items-center gap-1",!l&&!o&&"items-center",i),...s,children:[r&&jsx(r,{className:a$1("shrink-0 text-neutral-300"),size:24}),jsxs("div",{className:a$1("flex flex-col gap-1",l&&"text-center"),children:[jsx("p",{className:a$1("leading-[130%] text-neutral-500",!!o&&"font-medium"),style:t?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:t}:void 0,children:e}),o&&jsx("p",{className:"text-sm leading-[130%] text-neutral-500",style:n?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:n}:void 0,children:o})]})]}),je=Do;var So=H__default.memo(({handleSelect:e$1,NoResultsIcon:t,noResultsLabel:o,noResultsDescription:n,noResultsDescriptionLines:r,noResultsAsColumn:l,noResultsButtonOnClick:i,optionDescriptionLines:s,noResultsButtonLabel:a$2,filteredOptions:d,inputRect:c,inputRef:R,popoverPosition:x,optionsListRef:g,selectedOption:u,options:I,setFilteredOptions:P})=>jsx(Ht.Root,{asChild:true,children:jsxs("div",{ref:g,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden max-h-[336px] w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:c?{width:`${c.width}px`,left:c.left,top:x==="bottom"?`${c.bottom}px`:void 0,bottom:x==="top"?`${window.innerHeight-c.top}px`:void 0}:void 0,children:[d.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(je,{title:o,description:n,Icon:t,iconAsColumn:l,descriptionLines:r}),i&&jsxs(Fragment,{children:[jsx(a,{}),jsx(e,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{g.current.style.display="none",R.current.value="",P(I),i();},children:a$2})]})]}),d.map(L=>jsx(b.Root,{disabled:L.disabled,selected:u?.value===L.value,onClick:()=>e$1(L),children:jsxs(b.Content,{children:[jsx(b.Headline,{children:L.label}),L.description&&jsx(b.Description,{className:a$1({"line-clamp-1":s===1,"line-clamp-2":s===2,"line-clamp-3":s===3,"line-clamp-4":s===4}),children:L.description})]})},L.key??L.value))]})})),wt=So;var zo=336,Jl=({options:e,defaultSelectedOption:t,onSelect:o,onClick:n,onInputChange:r,error:l,helperText:i,label:s,placeholder:a,value:d,size:c="md",optionDescriptionLines:R=1,noResultsLabel:x,noResultsIcon:g,noResultsDescription:u,noResultsDescriptionLines:I,noResultsAsColumn:P,noResultsButtonOnClick:L,noResultsButtonLabel:T,className:y,disabled:N})=>{let[b,E]=useState(t??null),f=useRef(null),C=useRef(null),[_,F]=useState(),[U,h]=useState([]),[m,M]=useState("bottom"),[w,A]=useState(),$=zo,j=useCallback(D=>{f.current.style.display="none",C.current.value=D.label,E(D),o?.(D);},[o]),K=useCallback(()=>{if(!C?.current)return;let D=C.current.getBoundingClientRect();F(D);let Z=w?w.height:$,Q=window.innerHeight-D.bottom>Z,we=D.top>Z;M(Q?"bottom":we?"top":"bottom");},[w?.height]),Le=useCallback(()=>{let D=e.filter(Z=>Z.label.toLowerCase().includes(C?.current?.value.toLowerCase()??""));if(h(D),f?.current){let Z=f.current.getBoundingClientRect();A(Z);}},[e]);return useEffect(()=>{h(e);},[e]),useEffect(()=>{if(!d){E(null),C.current&&(C.current.value="");return}(!C.current?.value||b?.value!==d.value)&&(E(d),C.current.value=d.label);},[d]),Ge(f,()=>{f.current.style.display="none",b&&C.current&&(C.current.value=b.label);}),useEffect(()=>{if(C?.current)return K(),C.current.addEventListener("mousedown",K),C.current.addEventListener("input",Le),window.addEventListener("scroll",K,true),window.addEventListener("resize",K),()=>{C.current?.removeEventListener("mousedown",K),C.current?.removeEventListener("input",Le),window.removeEventListener("scroll",K,true),window.removeEventListener("resize",K);}},[K,Le]),jsxs("div",{className:a$1("relative",y),children:[jsx(a$3,{ref:C,autoComplete:"off",list:"",selectMode:true,onChange:D=>{D.target.value||(E(null),o?.(null)),r?.(D);},onClean:()=>{E(null),h(e),o?.(null);},onClick:D=>{f.current.style.display="flex",n?.(D);},onBlur:()=>{b&&C.current&&(C.current.value=b.label);},label:s,helperText:i,placeholder:a,size:c,error:l,disabled:N}),jsx(wt,{handleSelect:j,noResultsLabel:x,NoResultsIcon:g,optionDescriptionLines:R,noResultsAsColumn:P,noResultsButtonLabel:T,noResultsButtonOnClick:L,noResultsDescription:u,noResultsDescriptionLines:I,filteredOptions:U,inputRect:_,inputRef:C,popoverPosition:m,optionsListRef:f,selectedOption:b,options:e,setFilteredOptions:h})]})};var Uo=({children:e,title:t,titleLines:o,description:n="",descriptionLines:r,disabled:l=false,className:i,...s})=>jsxs("div",{className:a$1("flex w-full flex-col gap-1",i),...s,children:[jsx("p",{className:a$1("text-sm leading-[130%] break-all",!!n&&"font-medium"),style:o?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:o}:void 0,children:t}),n&&jsx("p",{className:a$1("text-xs leading-[130%]",l?"text-neutral-400":"text-neutral-700"),style:r?{overflow:"hidden",display:"-webkit-box",WebkitBoxOrient:"vertical",WebkitLineClamp:r}:void 0,children:n})]}),ce=Uo;var mi=({children:e,title:t,titleLines:o,description:n="",descriptionLines:r,startIcon:l,badgeContent:i,hasDivider:s=false,disabled:a=false,onSelect:d,className:c,...R})=>jsxs(te,{hasDescription:!!n,disabled:a,onClick:d,hasDivider:s,className:a$1(!a&&"cursor-pointer",c),...R,children:[l&&H__default.cloneElement(l,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(ce,{title:t,titleLines:o,description:n,descriptionLines:r,disabled:a}),jsxs("div",{className:"ml-4 flex gap-2",children:[i&&jsx(a$2,{content:i,size:"lg",variant:"alert",className:a$1("self-center",a&&"bg-neutral-400")}),jsx(h$1,{className:"h-4.5 w-4.5 self-center"})]})]});var Li=({children:e,title:t,titleLines:o=1,description:n="",descriptionLines:r,startIcon:l,hasDivider:i=false,disabled:s=false,checked:a,onCheckedChange:d,className:c,...R})=>jsxs(te,{hasDescription:!!n,disabled:s,hasDivider:i,...R,className:a$1("pr-6",c),children:[l&&H__default.cloneElement(l,{className:"shrink-0 w-4.5 h-4.5 mr-2"}),jsx(ce,{title:t,titleLines:o,description:n,descriptionLines:r,disabled:s}),jsx(c$5,{checked:a,onCheckedChange:d,className:"ml-4 self-center",disabled:s})]});var ne=336,Ut=createContext({inputRef:null,optionsListRef:null,autocompleteId:"",inputRect:void 0,showChips:false,filteredOptions:[],currentFocus:-1,popoverPosition:"bottom",setFilteredOptions:()=>{},setCurrentFocus:()=>{},setShowChips:()=>{},setPopoverPosition:()=>{},setInputRect:()=>{},optionsListHeight:ne,setOptionsListHeight:()=>{},optionsListRect:void 0,setOptionsListRect:()=>{}}),oe=()=>{let e=useContext(Ut);if(e===null)throw new Error("useAutocompleteMultipleContext must be used within a AutocompleteMultipleProvider");return e},$t=({children:e})=>{let t=useRef(null),o=useRef(null),n=useId(),[r,l]=useState(),[i,s]=useState(true),[a,d]=useState([]),[c,R]=useState(-1),[x,g]=useState("bottom"),[u,I]=useState(),[P,L]=useState(ne);return jsx(Ut.Provider,{value:{optionsListRef:t,inputRef:o,autocompleteId:n,inputRect:r,showChips:i,filteredOptions:a,currentFocus:c,popoverPosition:x,setFilteredOptions:d,setCurrentFocus:R,setShowChips:s,setPopoverPosition:g,setInputRect:l,optionsListHeight:P,optionsListRect:u,setOptionsListRect:I,setOptionsListHeight:L},children:e})};var Jo=({option:e,onMountWidth:t})=>{let o=useRef(null);return useEffect(()=>{o.current&&t?.(o.current.clientWidth);},[]),jsx(d$1,{variant:"fill",color:"neutral",ref:o,className:"shrink-0",size:"md",hasCloseIcon:false,children:e.label})},Wt=Jo;var nn=150,rn=H__default.memo(({selectedOptions:e,error:t,onCleanSelectedOptions:o,disabled:n,size:r})=>{let{autocompleteId:l,inputRect:i,inputRef:s,optionsListRef:a}=oe(),d=H__default.useRef(null),[c$1,R]=H__default.useState(new Map),x=useMemo(()=>{if(!i?.width)return [];let u=0,I=i.width-nn,P=0;for(let L=0;L<e.length&&(P+=c$1.get(L)??0,!(P>I));L++)u++;return e.slice(0,u)},[i?.width,e,c$1]),g=useCallback(()=>{n||(s?.current?.focus(),a.current.style.display="flex");},[n]);return jsxs("div",{onClick:g,className:a$1("absolute top-0 z-30 flex w-full cursor-pointer flex-nowrap items-center gap-2 pr-12 pl-3",n&&"cursor-not-allowed"),style:{maxWidth:i?.width?i?.width:void 0,height:i?.height?i?.height:void 0},children:[jsx("div",{className:"flex flex-1 gap-1 overflow-hidden",ref:d,children:x.map((u,I)=>jsx(Wt,{option:u,onMountWidth:P=>R(L=>new Map(L).set(I,P))},`chip-input-${l}-${u.value}`))}),e.length>x.length&&jsx("span",{className:"text-base",children:"..."}),e.length>0&&!t&&jsx(a$2,{content:String(e.length),size:r}),t&&e.length>0&&jsx(c,{className:"text-error-700 h-6 w-6",onClick:u=>{u.stopPropagation(),o();}})]})}),qt=rn;var an=H__default.memo(({option:e,index:t,onPressOption:o,isSelected:n,optionDescriptionLines:r})=>{let{currentFocus:l,inputRef:i}=oe();return jsxs(b.Root,{selected:l===t,disabled:e.disabled,onMouseDown:s=>{e.disabled||(i?.current?.value&&s.preventDefault(),o?.(e,s));},children:[jsxs(b.Content,{children:[jsx(b.Headline,{children:e.label}),e.description&&jsx(b.Description,{className:a$1({"line-clamp-1":r===1,"line-clamp-2":r===2,"line-clamp-3":r===3,"line-clamp-4":r===4}),children:e.description})]}),jsx(b.Trailing,{children:jsx(b.CheckboxControl,{checked:n})})]})}),rt=an;var un=H__default.memo(({selectedOptions:e$1,handleSelect:t,NoResultsIcon:o,noResultsLabel:n,noResultsDescription:r,noResultsDescriptionLines:l,noResultsAsColumn:i,noResultsButtonOnClick:s,optionDescriptionLines:a$1,noResultsButtonLabel:d})=>{let{popoverPosition:c,optionsListRef:R,filteredOptions:x,inputRect:g,autocompleteId:u,inputRef:I,optionsListHeight:P}=oe(),L=useCallback(y=>e$1.some(N=>N.value===y.value),[e$1]),T=useMemo(()=>e$1.filter(y=>y.label.toLowerCase().includes(I?.current?.value.toLowerCase()??"")),[e$1,I?.current?.value]);return jsx(Ht.Root,{asChild:true,children:jsxs("div",{ref:R,className:"elevation-8 pointer-events-auto fixed z-50 mb-2 hidden w-full flex-col overflow-y-auto rounded-lg bg-neutral-50",style:g?{width:`${g.width}px`,left:g.left,top:c==="bottom"?`${g.bottom}px`:void 0,bottom:c==="top"?`${window.innerHeight-g.top}px`:void 0,maxHeight:P+"px"}:void 0,children:[x.length===0&&jsxs("div",{className:"elevation-8 flex max-h-88 flex-1 flex-col justify-center rounded-lg bg-neutral-50",children:[jsx(je,{title:n,description:r,Icon:o,iconAsColumn:i,descriptionLines:l}),s&&jsxs(Fragment,{children:[jsx(a,{}),jsx(e,{variant:"ghost",className:"my-3 w-fit self-center",onClick:()=>{R.current.style.display="none",I.current.value="",s();},children:d})]})]}),T.map((y,N)=>jsx(rt,{option:y,index:N,onPressOption:b=>t(b),isSelected:L(y),optionDescriptionLines:a$1},`autocomplete-option-${u}-${y.key??y.value}`)),x.map((y,N)=>!e$1.some(b=>b.value===y.value)&&jsx(rt,{option:y,index:N,onPressOption:b=>t(b),isSelected:L(y),optionDescriptionLines:a$1},`autocomplete-option-${u}-${y.key??y.value}`))]})})}),Kt=un;var hn=H__default.memo(({selectedOptions:e,onSelect:t,error:o,helperText:n,label:r,placeholder:l,options:i,onInputChange:s,size:a,disabled:d})=>{let{setCurrentFocus:c,setFilteredOptions:R,optionsListRef:x,inputRef:g}=oe();return jsx(a$3,{ref:g,autoComplete:"off",list:"",disabled:d,selectMode:true,onChange:u=>{c(-1),s?.(u.target.value);},onClean:()=>{c(-1),R(i),t?.(null,e);},onClick:()=>{d||(x.current.style.display="flex");},error:o,helperText:n,label:r,placeholder:l,fixedTopLabel:e.length>0,size:a})}),Qt=hn;var Yt=({options:e,defaultSelectedOptions:t,onSelect:o,error:n,helperText:r,label:l,placeholder:i,noResultsLabel:s,noResultsIcon:a,noResultsDescription:d,noResultsDescriptionLines:c,noResultsAsColumn:R,noResultsButtonOnClick:x,noResultsButtonLabel:g,className:u,onInputChange:I,value:P,loading:L,size:T="md",optionDescriptionLines:y=1,disabled:N})=>{let{inputRef:b,optionsListRef:E,setFilteredOptions:f,setShowChips:C,setInputRect:_,setPopoverPosition:F,setCurrentFocus:U,showChips:h,setOptionsListRect:m,optionsListRect:M,setOptionsListHeight:w}=oe(),A=useRef(false),[$,j]=useState(t??[]),K=useCallback(W=>{j(J=>{let le,ye=J.findIndex(Fo=>Fo.value===W.value);return ye===-1?(le=J.concat(W),o?.(W,le),le):(le=J.toSpliced(ye,1),o?.(W,le),le)});},[o]),Le=useCallback(()=>{j([]),f(e),o?.(null,[]);},[]),D=useCallback(()=>{C(false);},[]),Z=useCallback(()=>{C(true);},[]),Q=useCallback(()=>{if(!b?.current)return;let W=b.current.getBoundingClientRect();_(W);let J=M?M.height>ne?ne:M.height:ne,le=window.innerHeight-W.bottom>J,ye=W.top>J;F(le?"bottom":ye?"top":"bottom"),w(ye?ne:window.innerHeight-W.bottom>ne?ne:window.innerHeight-W.bottom);},[M?.height]),we=useCallback(()=>{let W=e.filter(J=>J.label.toLowerCase().includes(b?.current?.value.toLowerCase()??""));if(f(W),E?.current){let J=E.current.getBoundingClientRect();m(J);}},[e,E?.current]);return useEffect(()=>{f(e);},[e]),Ge(E,()=>{E.current.style.display="none",U(-1);}),useEffect(()=>{if(b?.current)return Q(),b.current.addEventListener("mousedown",Q),b.current.addEventListener("input",we),b.current.addEventListener("focusin",D),b.current.addEventListener("focusout",Z),window.addEventListener("scroll",Q,true),window.addEventListener("resize",Q),()=>{b.current?.removeEventListener("mousedown",Q),b.current?.removeEventListener("input",Q),b.current?.removeEventListener("focusout",Z),b.current?.removeEventListener("focusin",D),window.removeEventListener("scroll",Q,true),window.removeEventListener("resize",Q);}},[Q,Z,D,we]),useEffect(()=>{P&&(j(P),C(true));},[P]),useEffect(()=>{L||t&&t.length&&!A.current&&(j(t),A.current=true,C(true));},[t,L]),jsxs("div",{className:a$1("relative",u),children:[jsx(Qt,{selectedOptions:$,onSelect:o,error:n,helperText:r,label:l,placeholder:i,handleSelect:K,options:e,onInputChange:I,size:T,disabled:N}),h&&jsx(qt,{selectedOptions:$,disabled:N,error:n,onCleanSelectedOptions:Le,size:T}),jsx(Kt,{handleSelect:K,selectedOptions:$,noResultsLabel:s,NoResultsIcon:a,optionDescriptionLines:y,noResultsAsColumn:R,noResultsButtonLabel:g,noResultsButtonOnClick:x,noResultsDescription:d,noResultsDescriptionLines:c})]})};var Ns=e=>jsx($t,{children:jsx(Yt,{...e})});var vn=({code:e,codeClassName:t})=>jsxs("div",{className:"flex justify-center gap-2",children:[jsx(a$7,{country:e,className:"size-4.5"}),jsx("span",{className:a$1("text-sm leading-[143%] font-medium text-neutral-800",t),children:e})]}),Zt=({className:e,disabled:t,error:o,onChange:n,options:r,readOnly:l,translations:i,value:s})=>{let a$2=useFieldContext(),d=H.useRef(null),c=H.useId(),[R,x]=H.useState(""),{contains:g}=useFilter({sensitivity:"base"}),u=c$1({disabled:t,error:o,readOnly:l}),I=H.useMemo(()=>r.map(f=>({...f,key:f.code})),[r]),P=H.useMemo(()=>I.find(f=>f.key===s),[I,s]),{collection:L,filter:T,set:y}=useListCollection({initialItems:I,itemToString:f=>`${f.label} ${f.code}`,itemToValue:f=>f.key,filter:(f,C,_)=>g(f,C)||g(_.code,C.toUpperCase())});H.useEffect(()=>{y(I);},[I,y]);let N=H.useCallback(({inputValue:f})=>{let C=f??"";x(C),T(C),d.current?.scrollTo({top:0});},[T]),b=H.useCallback(({open:f})=>{f&&(x(""),T(""));},[T]),E=H.useCallback(({items:f})=>{let C=f[0]?.code;C&&n(C);},[n]);return jsxs(Combobox.Root,{className:"h-full shrink-0",collection:L,disabled:t||l,ids:{input:c,label:a$2.ids.label},inputBehavior:"autohighlight",inputValue:R,lazyMount:true,openOnChange:false,openOnClick:false,positioning:{placement:"bottom-end",offset:{mainAxis:12},sameWidth:false},selectionBehavior:"preserve",unmountOnExit:true,value:P?[P.key]:[],onInputValueChange:N,onOpenChange:b,onValueChange:E,children:[jsx(Combobox.Control,{className:"h-full",children:jsx(Combobox.Trigger,{className:a$1("relative flex h-full w-19.5 shrink-0 items-center justify-center rounded-l after:pointer-events-none after:absolute after:top-0 after:right-0 after:h-full after:w-px after:content-['']",u==="error"?"bg-danger-20 after:bg-input-ring-error":u==="disabled"||u==="readOnly"?"after:bg-input-ring-disabled bg-neutral-200":u==="errorReadOnly"?"after:bg-input-ring-error bg-neutral-200":"group-focus-within/id-field:after:bg-input-ring-focus after:bg-input-ring data-[state=open]:after:bg-input-ring-focus bg-neutral-200",e),disabled:t||l,focusable:true,children:P&&jsx(vn,{code:P.code,codeClassName:a$1(u==="error"&&"text-danger-600",(u==="disabled"||u==="readOnly"||u==="errorReadOnly")&&"text-input-text-disabled")})})}),jsx(Portal,{children:jsx(Combobox.Positioner,{children:jsxs(Combobox.Content,{className:"elevation-9 z-layer data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 w-75 origin-(--transform-origin) overflow-hidden rounded-sm bg-neutral-50",children:[jsxs("div",{className:"pb-0",children:[jsx(Combobox.Context,{children:f=>jsx(e$1,{className:"m-1 mb-0",size:"md",state:"default",clearAdornment:!t&&f.inputValue.length>0?jsx(a$5,{onClick:()=>{f.setInputValue("","clear-trigger");}}):void 0,indicator:jsx(q,{className:"pointer-events-none size-4.5 text-neutral-800"}),children:C=>jsx(Combobox.Input,{autoComplete:"off","data-1p-ignore":true,"data-lpignore":"true",placeholder:i.searchCountryPlaceholder,className:C})})}),jsx(a,{className:"mt-2"})]}),jsx(Combobox.List,{ref:d,className:a$1("h-72 overflow-auto outline-none",{"flex flex-col items-center justify-center":L.items.length===0}),children:L.items.length===0?jsx(a$8,{size:"sm",variant:"not-found"}):jsx(Combobox.ItemGroup,{children:L.items.map(f=>jsxs(Combobox.Item,{item:f,className:"data-highlighted:bg-primary-100 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-neutral-900 outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-50",children:[jsx(a$7,{country:f.code,className:"size-4.5"}),jsx(Combobox.ItemText,{className:"min-w-0 flex-1 truncate text-sm leading-[143%] font-medium",children:f.label}),jsx("span",{className:"shrink-0 text-sm text-neutral-600",children:f.code}),jsx(k,{className:a$1("ml-auto size-4 shrink-0",f.key===s?"opacity-100":"opacity-0")})]},f.key))})})]})})})]})};var st={en:"Clear identification number",es:"Limpiar n\xFAmero de identificaci\xF3n",pt:"Limpar n\xFAmero de identifica\xE7\xE3o"},Jt={en:Pn,es:En,pt:Nn},An=st.en,Mn=Jt.en,On={es:{clearIdLabel:st.es,searchCountryPlaceholder:"Buscar..."},pt:{clearIdLabel:st.pt,searchCountryPlaceholder:"Pesquisar..."}},Fn={clearIdLabel:An,searchCountryPlaceholder:"Search..."},eo=()=>{let e=getDefaultOptions().locale?.code?.split("-")[0];return e==="es"||e==="pt"?e:"en"},to=e=>On[e]??Fn,kn=(e,t)=>(Jt[t]??Mn)[e]??e,oo=({localeCode:e})=>c$3.map(t=>({code:t,label:kn(t,e)})).sort((t,o)=>t.label.localeCompare(o.label)),no=a$4,ro=b$2,lo=(e,t)=>{let o=t.trim();return !o||!c$4(e,o).isValid?o:d$2(e,o)};var io=()=>{},ao=H.forwardRef(({autoComplete:e,className:t,country:o,disabled:n,error:r,helperText:l,id:i,label:s,labelProps:a,name:d$1,onBlur:c,onChange:R=io,onCountryChange:x=io,placeholder:g,readOnly:u,required:I,value:P},L)=>{let[T,y]=H.useState(P??""),N=H.useRef(null),b=eo(),E=H.useRef(P??""),f=c$1({disabled:n,error:r,readOnly:u});H.useEffect(()=>{let A=P??"";A!==E.current&&(E.current=A,y(A));},[P]);let C=H.useMemo(()=>to(b),[b]),_=H.useMemo(()=>oo({localeCode:b}),[b]),F=H.useMemo(()=>ro(o??"")||g||no,[o,g]),U=H.useCallback((A,$)=>{let j=lo(A,$);E.current=j,R(j);},[R]),h=H.useCallback(A=>{y(A),U(o??"",A);},[o,U]),m=H.useCallback(A=>{x(A),U(A,T);},[T,x,U]),M=H.useCallback(A=>{N.current=A,typeof L=="function"?L(A):L&&(L.current=A);},[L]),w=H.useCallback(()=>{h(""),N.current?.focus();},[h]);return jsxs(Field.Root,{"data-error":d(f)||void 0,disabled:n,id:i,invalid:r,readOnly:u,className:a$1(b$1,t),children:[s&&jsx(c$2,{...a,as:Field.Label,label:s,required:I}),jsx(e$1,{state:f,className:"group/id-field pl-0",clearAdornment:T?jsx(a$5,{ariaLabel:C.clearIdLabel,onClick:w}):void 0,children:A=>jsxs(Fragment,{children:[jsx(Zt,{disabled:n,error:r,onChange:m,options:_,readOnly:u,translations:C,value:o}),jsx(Field.Input,{"aria-required":I||void 0,autoComplete:e,className:a$1(A,"pl-3"),name:d$1,onBlur:c,onChange:$=>h($.target.value),placeholder:F,value:T,ref:M})]})}),l&&jsx(a$6,{as:r?Field.ErrorText:Field.HelperText,children:l})]})});ao.displayName="IdField";var ga=({children:e$1,title:t,titleLines:o=1,description:n,descriptionLines:r=1,StartIcon:l,hasDivider:i=false,disabled:s=false,actionButton:a,isSelected:d=false,className:c,...R})=>jsxs(te,{hasDescription:!!n,disabled:s,hasDivider:i,isSelected:d,...R,className:c,children:[l&&jsx(l,{className:"mr-2 h-4.5 w-4.5 shrink-0 grow-0"}),jsx(ce,{title:t,titleLines:o,description:n,descriptionLines:r,disabled:s}),a&&jsx(Fragment,{children:a.isIcon?jsx(e$2,{...a,className:"ml-4 self-center",variant:"ghost",size:"sm",disabled:s??a.disabled}):jsx(e,{...a,className:"ml-4 self-center",size:"sm",variant:"ghost",disabled:s??a.disabled})})]});var Na=({title:e,description:t="",descriptionLines:o,hasDivider:n=false,disabled:r=false,checked:l,onCheckedChange:i,className:s,chipStatus:a,chipExpandable:d,...c})=>jsxs(te,{hasDescription:!!t,disabled:r,hasDivider:n,...c,className:a$1("pr-6",s),children:[jsx(c$5,{checked:l,onCheckedChange:i,className:"mr-4 self-center",disabled:r}),jsxs("div",{className:"flex-1",children:[jsxs("div",{className:"flex items-center justify-between gap-2",children:[jsx("p",{className:a$1("line-clamp-1 text-sm leading-[130%] break-all",!!t&&"font-medium"),children:e}),d&&jsx("div",{className:"ml-auto flex min-w-0 flex-shrink-0 items-center justify-end",children:jsx(c$6,{...d})}),a&&jsx("div",{className:"ml-4 flex shrink-0 items-center gap-1",children:jsx(d$3,{...a,size:"xs",className:"shrink-0"})})]}),t&&jsx("p",{className:a$1("text-xs leading-[130%]",r?"text-neutral-400":"text-neutral-700",{"line-clamp-1":o===1,"line-clamp-2":o===2,"line-clamp-3":o===3,"line-clamp-4":o===4}),children:t})]})]});var ct={paragraph:"m-0",ltr:"text-left",rtl:"text-right",heading:{h1:"mb-2 text-2xl leading-[130%] font-semibold text-neutral-900",h2:"mb-2 text-xl leading-[130%] font-semibold text-neutral-900",h3:"mb-2 text-lg leading-[130%] font-semibold text-neutral-900",h4:"mb-2 text-base leading-[130%] font-semibold text-neutral-900",h5:"mb-2 text-sm leading-[130%] font-semibold text-neutral-900",h6:"mb-2 text-xs leading-[130%] font-semibold text-neutral-900"},list:{ul:"my-2 list-disc pl-5",ol:"my-2 list-decimal pl-5",listitem:"my-1",nested:{listitem:"my-1"}},text:{bold:"font-semibold",italic:"italic",underline:"underline",strikethrough:"line-through",code:"rounded bg-neutral-100 px-1 py-0.5 font-mono text-xs"},code:"rounded bg-neutral-100 p-2 font-mono text-xs",quote:"border-l-2 border-neutral-300 pl-3 italic text-neutral-700",link:"text-primary-700 underline hover:text-primary-800"},pt={headings:["h1","h2","h3"],textFormat:["bold","italic","underline"],lists:true,indent:true,alignment:["left","center","right","justify"],undoRedo:true};var mt=({readOnly:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>{t.setEditable(!e);},[t,e]),null};var ut=({editorRef:e})=>{let[t]=useLexicalComposerContext();return useEffect(()=>(e.current=t,()=>{e.current===t&&(e.current=null);}),[t,e]),null};var Vn={"ql-align-left":"left","ql-align-center":"center","ql-align-right":"right","ql-align-justify":"justify"},Un={center:"ql-align-center",right:"ql-align-right",justify:"ql-align-justify"},$n=()=>typeof window<"u"&&typeof window.DOMParser<"u",co=e=>$n()?new DOMParser().parseFromString(e,"text/html"):null,Wn=e=>(e??"").replace(/\s+/g," ").trim(),ft=e=>{let t=0;for(let o of Array.from(e.classList)){let n=o.match(/^ql-indent-(\d+)$/);if(!n)continue;let r=Number.parseInt(n[1],10);Number.isFinite(r)&&(t=Math.max(t,r)),e.classList.remove(o);}return t},qn=e=>{let t=e.querySelectorAll("[class*='ql-align-']");for(let o of Array.from(t))for(let n of Array.from(o.classList)){let r=Vn[n];r&&(r!=="left"&&(o.style.textAlign=r),o.classList.remove(n));}},Gn=e=>{let t=e.querySelectorAll("[class*='ql-indent-']");for(let o of Array.from(t)){if(o.tagName==="LI")continue;let n=ft(o);n>0&&(o.style.paddingInlineStart=`${n*3}em`);}},jn=(e,t)=>{let o=e.getAttribute("data-list");return o==="bullet"?"ul":o==="ordered"?"ol":t},Kn=e=>{let t=e.cloneNode(true);return t.removeAttribute("data-list"),t.removeAttribute("data-checked"),t.removeAttribute("data-indent"),ft(t),t},dt=(e,t)=>e.createElement(t),Qn=(e,t)=>{let o=Array.from(e.children).filter(a=>a.tagName==="LI");if(o.length===0||!o.some(a=>a.hasAttribute("data-list")?true:Array.from(a.classList).some(d=>/^ql-indent-\d+$/.test(d))))return;let r=[],l=[],i=e.tagName==="UL"?"ul":"ol";for(let a of o){let d=ft(a),c=jn(a,i),R=Kn(a);for(;l.length>0&&l[l.length-1].level>d;)l.pop();if(l.length===0){let g=dt(t,c);r.push(g),l.push({level:0,kind:c,listElement:g});}let x=l[l.length-1];for(;x.level<d;){let g=x.listElement.lastElementChild;if(!g||g.tagName!=="LI")break;let u=dt(t,c);g.appendChild(u),x={level:x.level+1,kind:c,listElement:u},l.push(x);}if(x=l[l.length-1],x.kind!==c){let g=dt(t,c);if(l.length===1)r.push(g),l[0]={level:0,kind:c,listElement:g};else {let I=l[l.length-2].listElement.lastElementChild;I&&I.tagName==="LI"?(I.appendChild(g),l[l.length-1]={level:x.level,kind:c,listElement:g}):(r.push(g),l.length=1,l[0]={level:0,kind:c,listElement:g});}x=l[l.length-1];}x.listElement.appendChild(R);}if(r.length===0)return;let s=t.createDocumentFragment();for(let a of r)s.appendChild(a);e.replaceWith(s);},Yn=(e,t)=>{let o=Array.from(e.querySelectorAll("ol, ul"));for(let n of o)Qn(n,t);},po=(e,t)=>{let o=e.tagName==="UL"?"bullet":"ordered",n=Array.from(e.children).filter(r=>r.tagName==="LI");for(let r of n){r.setAttribute("data-list",o);for(let i of Array.from(r.classList))/^ql-indent-\d+$/.test(i)&&r.classList.remove(i);t>0&&r.classList.add(`ql-indent-${t}`);let l=Array.from(r.children).filter(i=>i.tagName==="UL"||i.tagName==="OL");for(let i of l)po(i,t+1);}},Xn=e=>{let t=e.querySelectorAll("p, h1, h2, h3, h4, h5, h6, li");for(let o of Array.from(t)){let n=o;for(let i of Array.from(n.classList))i.startsWith("ql-align-")&&n.classList.remove(i);let r=n.style.textAlign.trim().toLowerCase(),l=Un[r];l&&n.classList.add(l);}},ge=e=>Wn(e).replace(/>\s+</g,"><").replace(/ /g," "),ht=e=>{let t=e??"";if(!t.trim())return "";let o=co(t);if(!o)return t;let{body:n}=o;return qn(n),Gn(n),Yn(n,o),n.innerHTML},bt=e=>{if(!e.trim())return "";let t=co(e);if(!t)return e;let{body:o}=t,n=Array.from(o.querySelectorAll("ul, ol"));for(let r of n)po(r,0);return Xn(o),o.innerHTML};var Xe=e=>{let t="";return e.getEditorState().read(()=>{t=$generateHtmlFromNodes(e,null);}),bt(t)},lr=(e,t)=>{let o=ht(t);e.update(()=>{let n=$getRoot();if(n.clear(),!o.trim()){n.append($createParagraphNode());return}let l=new DOMParser().parseFromString(o,"text/html"),i=$generateNodesFromDOM(e,l);if(i.length===0){n.append($createParagraphNode());return}n.select(),$insertNodes(i);});},gt=({value:e,isSyncingRef:t})=>{let[o]=useLexicalComposerContext(),n=useRef(null);return useEffect(()=>{let r=e??"";if(n.current!==null&&ge(r)===ge(n.current))return;let l=Xe(o);ge(l)!==ge(r)&&(t.current=true,lr(o,r),queueMicrotask(()=>{t.current=false;})),n.current=r;},[o,t,e]),null};var uo=["left","center","right","justify"];var fo=["bold","italic","underline","strikethrough","code"];var Vr={bold:"bold",italic:"italic",underline:"underline",strikethrough:"strikethrough",code:"code"},Ur={left:jsx(AlignLeftIcon,{className:"size-4"}),center:jsx(AlignCenterIcon,{className:"size-4"}),right:jsx(AlignRightIcon,{className:"size-4"}),justify:jsx(AlignJustifyIcon,{className:"size-4"})},$r={left:"Align left",center:"Align center",right:"Align right",justify:"Align justify"},Ae={bold:jsx(BoldIcon,{className:"size-4"}),italic:jsx(ItalicIcon,{className:"size-4"}),underline:jsx(UnderlineIcon,{className:"size-4"}),strikethrough:jsx("span",{className:"text-xs font-semibold",children:"S"}),code:jsx("span",{className:"font-mono text-xs",children:"</>"})},Me={bold:"Bold",italic:"Italic",underline:"Underline",strikethrough:"Strikethrough",code:"Inline code"},Wr=e=>{let t=e.textFormat;return t===false?[]:Array.isArray(t)?fo.filter(o=>t.includes(o)):["bold","italic","underline"]},qr=e=>{let t=e.alignment;return t===false?[]:Array.isArray(t)?uo.filter(o=>t.includes(o)):["left","center","right","justify"]},Gr=e=>{if(e.headings===false)return [];let t=Array.isArray(e.headings)?e.headings:["h1","h2","h3"];return [{value:"paragraph",label:"Normal"},...t.map(o=>({value:o,label:o.toUpperCase()}))]},Oe=()=>jsx("div",{className:"mx-1 h-5 w-px bg-neutral-300"}),G=({label:e,onClick:t,icon:o,active:n=false,disabled:r=false})=>jsx("button",{type:"button","aria-label":e,title:e,disabled:r,onClick:t,className:a$1("inline-flex size-8 items-center justify-center rounded-md border border-transparent text-neutral-700 transition-colors","focus-visible:ring-primary-800 hover:bg-neutral-200 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none","disabled:cursor-not-allowed disabled:opacity-40",n&&"border-neutral-300 bg-neutral-200 text-neutral-900"),children:o}),Lt=({config:e,className:t})=>{let[o]=useLexicalComposerContext(),n=useId(),[r,l]=useState(false),[i,s]=useState(false),[a,d]=useState(false),[c,R]=useState(false),[x,g]=useState(false),[u,I]=useState(false),[P,L]=useState(false),[T,y]=useState("paragraph"),[N,b]=useState("left"),E=useMemo(()=>Wr(e),[e]),f=useMemo(()=>qr(e),[e]),C=useMemo(()=>Gr(e),[e]),_=useCallback(()=>{let m=$getSelection();if(!$isRangeSelection(m))return;d(m.hasFormat("bold")),R(m.hasFormat("italic")),g(m.hasFormat("underline")),I(m.hasFormat("strikethrough")),L(m.hasFormat("code"));let M=m.anchor.getNode(),w=M.getKey()==="root"?M:M.getTopLevelElementOrThrow();if($isListNode(w))y(w.getListType()==="number"?"ol":"ul");else {let $=$findMatchingParent(w,j=>$isListNode(j));$isListNode($)?y($.getListType()==="number"?"ol":"ul"):y($isHeadingNode(w)?w.getTag():w.getType());}let A=$isElementNode(w)?w.getFormatType():"";b(A==="center"||A==="right"||A==="justify"?A:"left");},[]);useEffect(()=>mergeRegister(o.registerUpdateListener(({editorState:m})=>{m.read(()=>{_();});}),o.registerCommand(SELECTION_CHANGE_COMMAND,()=>(_(),false),1),o.registerCommand(CAN_UNDO_COMMAND,m=>(l(m),false),1),o.registerCommand(CAN_REDO_COMMAND,m=>(s(m),false),1)),[o,_]);let F=m=>{o.dispatchCommand(FORMAT_TEXT_COMMAND,Vr[m]);},U=m=>{o.update(()=>{let M=$getSelection();if($isRangeSelection(M)){if(m==="paragraph"){$setBlocksType(M,()=>$createParagraphNode());return}$setBlocksType(M,()=>$createHeadingNode(m));}});},h=m=>{if(T===(m==="bullet"?"ul":"ol")){o.dispatchCommand(REMOVE_LIST_COMMAND,void 0);return}o.dispatchCommand(m==="bullet"?INSERT_UNORDERED_LIST_COMMAND:INSERT_ORDERED_LIST_COMMAND,void 0);};return jsxs("div",{className:a$1("flex flex-wrap items-center gap-1 border-b border-neutral-300 bg-neutral-100 px-2 py-1.5",t),children:[e.undoRedo!==false&&jsxs(Fragment,{children:[jsx(G,{label:"Undo",onClick:()=>o.dispatchCommand(UNDO_COMMAND,void 0),disabled:!r,icon:jsx(UndoIcon,{className:"size-4"})}),jsx(G,{label:"Redo",onClick:()=>o.dispatchCommand(REDO_COMMAND,void 0),disabled:!i,icon:jsx(RedoIcon,{className:"size-4"})}),jsx(Oe,{})]}),C.length>0&&jsxs(Fragment,{children:[jsx("label",{className:"sr-only",htmlFor:n,children:"Text style"}),jsx("select",{id:n,value:T.startsWith("h")?T:"paragraph",onChange:m=>U(m.target.value),className:a$1("h-8 rounded-md border border-neutral-300 bg-white px-2 text-xs font-medium text-neutral-800","focus-visible:ring-primary-800 focus-visible:ring-2 focus-visible:ring-offset-1 focus-visible:outline-none"),children:C.map(m=>jsx("option",{value:m.value,children:m.label},m.value))}),jsx(Oe,{})]}),E.length>0&&jsxs(Fragment,{children:[E.includes("bold")&&jsx(G,{label:Me.bold,onClick:()=>F("bold"),icon:Ae.bold,active:a}),E.includes("italic")&&jsx(G,{label:Me.italic,onClick:()=>F("italic"),icon:Ae.italic,active:c}),E.includes("underline")&&jsx(G,{label:Me.underline,onClick:()=>F("underline"),icon:Ae.underline,active:x}),E.includes("strikethrough")&&jsx(G,{label:Me.strikethrough,onClick:()=>F("strikethrough"),icon:Ae.strikethrough,active:u}),E.includes("code")&&jsx(G,{label:Me.code,onClick:()=>F("code"),icon:Ae.code,active:P}),jsx(Oe,{})]}),e.lists!==false&&jsxs(Fragment,{children:[jsx(G,{label:"Bulleted list",onClick:()=>h("bullet"),icon:jsx(ListIcon,{className:"size-4"}),active:T==="ul"}),jsx(G,{label:"Numbered list",onClick:()=>h("number"),icon:jsx(ListOrderedIcon,{className:"size-4"}),active:T==="ol"}),jsx(Oe,{})]}),e.indent!==false&&jsxs(Fragment,{children:[jsx(G,{label:"Decrease indent",onClick:()=>o.dispatchCommand(OUTDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentDecreaseIcon,{className:"size-4"})}),jsx(G,{label:"Increase indent",onClick:()=>o.dispatchCommand(INDENT_CONTENT_COMMAND,void 0),icon:jsx(IndentIncreaseIcon,{className:"size-4"})}),jsx(Oe,{})]}),f.length>0&&jsx(Fragment,{children:f.map(m=>jsx(G,{label:$r[m],onClick:()=>o.dispatchCommand(FORMAT_ELEMENT_COMMAND,m),icon:Ur[m],active:N===m},m))})]})};var Co=e=>{if(e!==void 0)return typeof e=="number"?`${e}px`:e},sl=forwardRef(({value:e,onChange:t,onBlur:o,onError:n,placeholder:r="Write your content...",readOnly:l=false,showToolbar:i=true,toolbarConfig:s=pt,className:a,editorClassName:d,toolbarClassName:c,autoFocus:R=false,minHeight:x=160,maxHeight:g,error:u=false,errorMessage:I,editorRef:P},L)=>{let T=useRef(false),y=useMemo(()=>({namespace:"SodtrackRichTextEditor",theme:ct,onError:(b,E)=>{if(n){n(b,E);return}console.error("RichTextEditor error",b);},nodes:[HeadingNode,ListNode,ListItemNode]}),[n]),N={minHeight:Co(x),maxHeight:Co(g),overflowY:g?"auto":void 0};return jsx(LexicalComposer,{initialConfig:y,children:jsxs("div",{className:"w-full",children:[jsxs("div",{ref:L,className:a$1("group flex w-full flex-col overflow-hidden rounded-lg border bg-white transition-colors","focus-within:ring-primary-800 focus-within:ring-2 focus-within:ring-offset-0",u?"border-error-500 focus-within:border-error-500 focus-within:ring-error-500":"border-neutral-500",l&&"border-neutral-300 bg-neutral-50 focus-within:ring-0",a),"data-error":u,"data-readonly":l,children:[i&&!l&&jsx(Lt,{config:s,className:c}),jsx(RichTextPlugin,{contentEditable:jsx(ContentEditable,{className:a$1("relative w-full px-4 py-3 text-sm leading-[142%] text-neutral-900 outline-none","[&_h1]:mt-2 [&_h1]:mb-2 [&_h2]:mt-2 [&_h2]:mb-2 [&_h3]:mt-2 [&_h3]:mb-2","[&_li]:my-1 [&_ol]:my-2 [&_ul]:my-2","[&_a]:text-primary-700 [&_a]:underline",l&&"cursor-default",d),style:N,onBlur:o,"aria-invalid":u}),placeholder:l?null:jsx("div",{className:"pointer-events-none absolute top-3 left-4 text-sm text-neutral-500",children:r}),ErrorBoundary:LexicalErrorBoundary}),jsx(HistoryPlugin,{}),jsx(ListPlugin,{}),jsx(mt,{readOnly:l}),jsx(gt,{value:e,isSyncingRef:T}),R&&!l&&jsx(AutoFocusPlugin,{}),P&&jsx(ut,{editorRef:P}),jsx(OnChangePlugin,{ignoreSelectionChange:true,onChange:(b,E)=>{!t||T.current||t(Xe(E),b);}})]}),u&&I&&jsx("p",{className:"text-error-500 mt-1 text-xs leading-[133%]",children:I})]})})});sl.displayName="RichTextEditor";var Lo={en:Pn,es:En,pt:Nn},hl={es:{clearPhoneNumberLabel:"Eliminar n\xFAmero de tel\xE9fono",searchCountryPlaceholder:"Buscar..."},pt:{clearPhoneNumberLabel:"Limpar n\xFAmero de telefone",searchCountryPlaceholder:"Pesquisar..."}},bl={clearPhoneNumberLabel:"Clear phone number",searchCountryPlaceholder:"Search..."},gl=Lo.en,yo="9 1234 5678",yt="ZZ",Ro=()=>{},Io=e=>hl[e]??bl,vo=e=>Lo[e]??gl,To=e=>{if(e)try{let t=parsePhoneNumber(e)?.country;return !t||!h(t)?void 0:t}catch{return}},Po=e=>{if(e)return getExampleNumber(e,pl)?.formatNational()},Ze=e=>e??yt,Eo=()=>{let e=getDefaultOptions().locale?.code?.split("-")[0];return e==="es"||e==="pt"?e:"en"};var Il=({Icon:e,callingCode:t,country:o,countryName:n,callingCodeClassName:r})=>jsxs("div",{className:"flex justify-center gap-2",children:[jsx("span",{className:"flex size-4.5 shrink-0 items-center justify-center",children:jsx(e,{"aria-hidden":true,country:o,label:n})}),t&&jsx("span",{className:a$1("text-sm leading-[143%] font-medium text-neutral-800",r),children:`+${t}`})]}),No=({"aria-label":e,className:t,disabled:o,error:n,iconComponent:r,name:l,onBlur:i,onChange:s,onFocus:a$2,options:d,readOnly:c,translations:R,value:x})=>{let g=useFieldContext(),u=H.useRef(null),I=H.useId(),[P,L]=H.useState(""),{contains:T}=useFilter({sensitivity:"base"}),y=c$1({disabled:o,error:n,readOnly:c}),N=H.useMemo(()=>d.filter(h$1=>h$1.value!==void 0&&h(h$1.value)).map(h=>({callingCode:getCountryCallingCode(h.value),country:h.value,key:Ze(h.value),label:h.label})),[d]),b=H.useMemo(()=>N.find(h=>h.key===Ze(x)),[N,x]),{collection:E,filter:f,set:C}=useListCollection({initialItems:N,itemToString:h=>h.callingCode?`${h.label} +${h.callingCode}`:h.label,itemToValue:h=>h.key,filter:(h,m,M)=>{let w=m.trim().replace(/^\+/,"");return T(h,m)||(M.country?T(M.country,m.toUpperCase()):false)||(M.callingCode?T(M.callingCode,w)||T(`+${M.callingCode}`,m):false)}});H.useEffect(()=>{C(N);},[N,C]);let _=H.useCallback(({inputValue:h})=>{let m=h??"";L(m),f(m),u.current?.scrollTo({top:0});},[f]),F=H.useCallback(({open:h})=>{h&&(L(""),f(""));},[f]),U=H.useCallback(({value:h$1})=>{let m=h$1[0];if(!m||m===yt){s(void 0);return}h(m)&&s(m);},[s]);return jsxs(Combobox.Root,{className:"h-full shrink-0",collection:E,disabled:o||c,ids:{input:I,label:g.ids.label},inputBehavior:"autohighlight",inputValue:P,lazyMount:true,openOnChange:false,openOnClick:false,positioning:{placement:"bottom-end",offset:{mainAxis:12},sameWidth:false},selectionBehavior:"preserve",unmountOnExit:true,value:b?[b.key]:[],onInputValueChange:_,onOpenChange:F,onValueChange:U,children:[jsx(Combobox.Control,{className:"h-full",children:jsx(Combobox.Trigger,{"aria-label":e,className:a$1("relative flex h-full w-19.5 shrink-0 items-center justify-center rounded-l after:pointer-events-none after:absolute after:top-0 after:right-0 after:h-full after:w-px after:content-['']",y==="error"?"bg-danger-20 after:bg-input-ring-error":y==="disabled"||y==="readOnly"?"after:bg-input-ring-disabled bg-neutral-200":y==="errorReadOnly"?"after:bg-input-ring-error bg-neutral-200":"group-focus-within/phone:after:bg-input-ring-focus after:bg-input-ring data-[state=open]:after:bg-input-ring-focus bg-neutral-200",t),disabled:o||c,focusable:true,name:l,onBlur:i,onFocus:a$2,children:b&&jsx(Il,{Icon:r,callingCode:b.callingCode,country:b.country,countryName:b.label,callingCodeClassName:a$1(y==="error"&&"text-danger-600",(y==="disabled"||y==="readOnly"||y==="errorReadOnly")&&"text-input-text-disabled")})})}),jsx(Portal,{children:jsx(Combobox.Positioner,{children:jsxs(Combobox.Content,{className:"elevation-9 z-layer data-[state=open]:animate-in data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95 w-75 origin-(--transform-origin) overflow-hidden rounded-sm bg-neutral-50",children:[jsxs("div",{className:"pb-0",children:[jsx(Combobox.Context,{children:h=>jsx(e$1,{className:"m-1 mb-0",size:"md",state:"default",clearAdornment:!o&&h.inputValue.length>0?jsx(a$5,{onClick:()=>{h.setInputValue("","clear-trigger");}}):void 0,indicator:jsx(q,{className:"pointer-events-none size-4.5 text-neutral-800"}),children:m=>jsx(Combobox.Input,{autoComplete:"off","data-1p-ignore":true,"data-lpignore":"true",placeholder:R.searchCountryPlaceholder,className:m})})}),jsx(a,{className:"mt-2"})]}),jsx(Combobox.List,{ref:u,className:a$1("h-72 overflow-auto outline-none",{"flex flex-col items-center justify-center":E.items.length===0}),children:E.items.length===0?jsx(a$8,{size:"sm",variant:"not-found"}):jsx(Combobox.ItemGroup,{children:E.items.map(h=>jsxs(Combobox.Item,{item:h,className:"data-highlighted:bg-primary-100 relative flex cursor-default items-center gap-2 rounded-sm px-2 py-1.5 text-sm text-neutral-900 outline-none select-none data-disabled:pointer-events-none data-disabled:opacity-50",children:[jsx("span",{className:"flex size-4.5 shrink-0 items-center justify-center [&_.PhoneInputCountryIconImg]:size-4.5!",children:jsx(r,{"aria-hidden":true,country:h.country,label:h.label})}),jsx(Combobox.ItemText,{className:"min-w-0 flex-1 truncate text-sm leading-[143%] font-medium",children:h.label}),h.callingCode&&jsx("span",{className:"shrink-0 text-sm text-neutral-600",children:`+${h.callingCode}`}),jsx(k,{className:a$1("ml-auto size-4 shrink-0",h.key===Ze(x)?"opacity-100":"opacity-0")})]},h.key))})})]})})})]})};var Tl=vl,Ao=H.forwardRef(({className:e,defaultCountry:t,disabled:o,error:n,helperText:r,id:l,label:i,labelProps:s,onChange:a=Ro,placeholder:d$1,readOnly:c,required:R,value:x,...g},u)=>{let[I,P]=H.useState(()=>To(x)??t),L=H.useRef(null),T=Eo(),y=c$1({disabled:o,error:n,readOnly:c}),N=H.useMemo(()=>Io(T),[T]),b=H.useMemo(()=>vo(T),[T]),E=H.useMemo(()=>Po(I)??d$1??yo,[d$1,I]),f=H.useCallback(F=>{P(F);},[]),C=H.useCallback(F=>{L.current=F,typeof u=="function"?u(F):u&&(u.current=F);},[u]),_=H.useCallback(()=>{a(void 0),L.current?.focus();},[a]);return jsxs(Field.Root,{"data-error":d(y)||void 0,disabled:o,id:l,invalid:n,readOnly:c,className:a$1(b$1,e),children:[i&&jsx(c$2,{...s,as:Field.Label,label:i,required:R}),jsx(e$1,{state:y,className:"group/phone pl-0 [&_.PhoneInputCountryIconImg]:size-4.5!",clearAdornment:x?jsx(a$5,{ariaLabel:N.clearPhoneNumberLabel,onClick:_}):void 0,children:F=>jsx(Tl,{...g,className:"contents",ref:C,countrySelectComponent:No,countrySelectProps:{error:n,translations:N},defaultCountry:t,disabled:o,flagComponent:a$7,initialValueFormat:"national",inputComponent:Field.Input,labels:b,numberInputProps:{"aria-required":R||void 0,className:a$1(F,"pl-3"),placeholder:E},readOnly:c,value:x,onChange:a,onCountryChange:f})}),r&&jsx(a$6,{as:n?Field.ErrorText:Field.HelperText,children:r})]})});Ao.displayName="PhoneInput";var El=({children:e,hasDescription:t=false,disabled:o=false,hasDivider:n=false,className:r,isSelected:l,onClick:i,...s})=>jsxs(Fragment,{children:[jsx("div",{className:a$1("flex flex-row px-3 py-4 text-neutral-900 transition-colors",t?"py-3":"py-3.5",o?"cursor-not-allowed text-neutral-400":a$1("hover:bg-primary-100 focus:bg-primary-200",!!i?"cursor-pointer":"cursor-default"),l&&"bg-primary-200",r),onClick:d=>{o||i?.(d);},...s,children:e}),n&&jsx(a,{})]}),te=El;var mu=({children:e,title:t,titleLines:o,description:n="",descriptionLines:r,startIcon:l,endIcon:i,hasDivider:s=false,disabled:a=false,isSelected:d=false,className:c,...R})=>jsxs(te,{hasDescription:!!n,disabled:a,hasDivider:s,className:c,isSelected:d,...R,children:[l&&H__default.cloneElement(l,{className:"shrink-0 mr-2 h-4.5 w-4.5"}),jsx(ce,{title:t,titleLines:o,description:n,descriptionLines:r,disabled:a}),i&&H__default.cloneElement(i,{className:"min-h-4.5 min-w-4.5 self-center ml-4"})]});export{Jl as a,mu as b,mi as c,Li as d,Ns as e,ao as f,ga as g,Na as h,ct as i,pt as j,ge as k,ht as l,bt as m,sl as n,Ao as o};
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { FC } from 'react';
|
|
4
3
|
import * as AlertDialogPrimitive from '@radix-ui/react-alert-dialog';
|
|
@@ -16,15 +15,15 @@ declare const AlertDialogActionButton: FC<ButtonProps>;
|
|
|
16
15
|
declare const AlertDialogCloseButton: FC<ButtonProps>;
|
|
17
16
|
declare const AlertDialogExtraButton: FC<ButtonProps>;
|
|
18
17
|
declare const AlertDialogHeader: {
|
|
19
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
18
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
20
19
|
displayName: string;
|
|
21
20
|
};
|
|
22
21
|
declare const AlertDialogFooter: {
|
|
23
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
22
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
24
23
|
displayName: string;
|
|
25
24
|
};
|
|
26
25
|
declare const AlertDialogTitle: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
27
26
|
declare const AlertDialogDescription: React.ForwardRefExoticComponent<Omit<AlertDialogPrimitive.AlertDialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
|
|
28
|
-
declare const AlertDialogBody: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) =>
|
|
27
|
+
declare const AlertDialogBody: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
29
28
|
|
|
30
29
|
export { AlertDialog, AlertDialogActionButton, AlertDialogBody, AlertDialogCloseButton, AlertDialogContent, AlertDialogDescription, AlertDialogExtraButton, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger };
|
|
@@ -2,7 +2,6 @@ import { CardBasicTone, CardBasicVariant, CardBasicSectionProps } from './card-b
|
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { FC, PropsWithChildren, HTMLAttributes, ReactNode } from 'react';
|
|
4
4
|
import { ButtonProps } from './button.js';
|
|
5
|
-
import 'react/jsx-runtime';
|
|
6
5
|
import 'lucide-react';
|
|
7
6
|
import './checkbox.js';
|
|
8
7
|
import 'tailwind-variants';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
|
-
import { L as LabelOptions } from '../label-
|
|
3
|
+
import { L as LabelOptions } from '../label-CsJyLlgF.js';
|
|
4
4
|
import { EmptyStateOverrides } from './empty-state.js';
|
|
5
5
|
import { A as AutocompleteLoad } from '../use-autocomplete-options-Bu6wJH2i.js';
|
|
6
6
|
import 'tailwind-variants';
|
|
@@ -40,7 +40,7 @@ type AutocompleteMultipleSource<T extends string | number = string> = {
|
|
|
40
40
|
};
|
|
41
41
|
type AutocompleteMultipleProps<T extends string | number = string> = AutocompleteMultipleBaseProps<T> & AutocompleteMultipleSource<T>;
|
|
42
42
|
declare const AutocompleteMultiple: {
|
|
43
|
-
<T extends string | number = string>(props: AutocompleteMultipleProps<T>):
|
|
43
|
+
<T extends string | number = string>(props: AutocompleteMultipleProps<T>): React.JSX.Element;
|
|
44
44
|
displayName: string;
|
|
45
45
|
};
|
|
46
46
|
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import { FC, HTMLAttributes } from 'react';
|
|
2
2
|
import { AutocompleteSize } from './autocomplete.js';
|
|
3
|
-
import 'react/jsx-runtime';
|
|
4
3
|
import '../input-field-size-ZaYx46-q.js';
|
|
5
|
-
import '../label-
|
|
4
|
+
import '../label-CsJyLlgF.js';
|
|
6
5
|
import 'tailwind-variants';
|
|
7
6
|
import './badge-expandable.js';
|
|
8
7
|
import 'lucide-react';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { HTMLAttributes } from 'react';
|
|
3
3
|
import { I as InputFieldSize } from '../input-field-size-ZaYx46-q.js';
|
|
4
|
-
import { L as LabelOptions } from '../label-
|
|
4
|
+
import { L as LabelOptions } from '../label-CsJyLlgF.js';
|
|
5
5
|
import { BadgeExpandableProps } from './badge-expandable.js';
|
|
6
6
|
import { EmptyStateOverrides } from './empty-state.js';
|
|
7
7
|
import { A as AutocompleteLoad } from '../use-autocomplete-options-Bu6wJH2i.js';
|
|
@@ -45,7 +45,7 @@ type AutocompleteSource<T extends string | number = string> = {
|
|
|
45
45
|
};
|
|
46
46
|
type AutocompleteProps<T extends string | number = string> = AutocompleteBaseProps<T> & AutocompleteSource<T>;
|
|
47
47
|
declare const Autocomplete: {
|
|
48
|
-
<T extends string | number = string>(props: AutocompleteProps<T>):
|
|
48
|
+
<T extends string | number = string>(props: AutocompleteProps<T>): React.JSX.Element;
|
|
49
49
|
displayName: string;
|
|
50
50
|
};
|
|
51
51
|
|
|
@@ -2,7 +2,6 @@ import * as tailwind_variants from 'tailwind-variants';
|
|
|
2
2
|
import { FC } from 'react';
|
|
3
3
|
import { AvatarRootProps } from '@ark-ui/react/avatar';
|
|
4
4
|
import { BadgeAlertStatus } from './badge-alert.js';
|
|
5
|
-
import 'react/jsx-runtime';
|
|
6
5
|
|
|
7
6
|
declare const AvatarSizes: readonly ["4xs", "3xs", "2xs", "xs", "sm", "md", "lg", "xl"];
|
|
8
7
|
type AvatarSize = (typeof AvatarSizes)[number];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
2
3
|
import * as tailwind_variants from 'tailwind-variants';
|
|
3
4
|
import { VariantProps } from 'tailwind-variants';
|
|
4
|
-
import { HTMLAttributes } from 'react';
|
|
5
5
|
|
|
6
6
|
declare const BadgeAlertSizes: readonly ["xs", "sm", "md", "lg", "xl", "2xl"];
|
|
7
7
|
declare const BadgeAlertStatuses: readonly ["online", "offline", "warning", "danger"];
|
|
@@ -66,6 +66,6 @@ declare const badgeAlertStyles: tailwind_variants.TVReturnType<{
|
|
|
66
66
|
};
|
|
67
67
|
}, undefined, "block shrink-0 rounded-full", unknown, unknown, undefined>>;
|
|
68
68
|
type BadgeAlertProps = HTMLAttributes<HTMLSpanElement> & VariantProps<typeof badgeAlertStyles>;
|
|
69
|
-
declare const BadgeAlert: ({ className, size, status, hasBorder, "aria-label": ariaLabel, ...rest }: BadgeAlertProps) =>
|
|
69
|
+
declare const BadgeAlert: ({ className, size, status, hasBorder, "aria-label": ariaLabel, ...rest }: BadgeAlertProps) => React.JSX.Element;
|
|
70
70
|
|
|
71
71
|
export { BadgeAlert, type BadgeAlertProps, type BadgeAlertSize, BadgeAlertSizes, type BadgeAlertStatus, BadgeAlertStatuses };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ReactElement, HTMLAttributes } from 'react';
|
|
2
3
|
import { MenuRootProps } from '@ark-ui/react/menu';
|
|
3
4
|
import { LucideIcon } from 'lucide-react';
|
|
4
|
-
import { ReactElement, HTMLAttributes } from 'react';
|
|
5
5
|
|
|
6
6
|
type ButtonActiveOption<TValue extends string = string> = {
|
|
7
7
|
label: string;
|
|
@@ -32,6 +32,6 @@ type ButtonActiveProps<TValue extends string = string> = {
|
|
|
32
32
|
disabled?: boolean;
|
|
33
33
|
className?: HTMLAttributes<HTMLDivElement>["className"];
|
|
34
34
|
} & Omit<MenuRootProps, "onSelect">;
|
|
35
|
-
declare const ButtonActive: <TValue extends string = string>({ label, StartIcon, options, onSelect, variant, size, disabled, className, tone, ...props }: ButtonActiveProps<TValue>) =>
|
|
35
|
+
declare const ButtonActive: <TValue extends string = string>({ label, StartIcon, options, onSelect, variant, size, disabled, className, tone, ...props }: ButtonActiveProps<TValue>) => React.JSX.Element;
|
|
36
36
|
|
|
37
37
|
export { ButtonActive, type ButtonActiveOption, type ButtonActiveProps, ButtonActiveSizes, ButtonActiveTones, ButtonActiveVariants };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { HTMLAttributes, ElementType, ComponentPropsWithoutRef, FC, ReactNode } from 'react';
|
|
3
3
|
import { LucideIcon } from 'lucide-react';
|
|
4
4
|
import { CheckboxCheckedState } from './checkbox.js';
|
|
@@ -61,7 +61,7 @@ type CardBasicProps<T extends ElementType = "div"> = {
|
|
|
61
61
|
disabled?: boolean;
|
|
62
62
|
} & Omit<ComponentPropsWithoutRef<T>, "as">;
|
|
63
63
|
declare const CardBasic: {
|
|
64
|
-
<T extends ElementType = "div">({ as, children, className, tone, variant, disabled, ...props }: CardBasicProps<T>):
|
|
64
|
+
<T extends ElementType = "div">({ as, children, className, tone, variant, disabled, ...props }: CardBasicProps<T>): React.JSX.Element;
|
|
65
65
|
displayName: string;
|
|
66
66
|
} & {
|
|
67
67
|
Header: FC<CardBasicHeaderProps>;
|
package/dist/components/chip.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{e as Chip,d as ChipDefaults,c as ChipSizes,b as ChipTones,a as ChipVariants}from'../chunk-
|
|
1
|
+
export{e as Chip,d as ChipDefaults,c as ChipSizes,b as ChipTones,a as ChipVariants}from'../chunk-LJZ245JN.js';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { LucideIcon } from 'lucide-react';
|
|
3
3
|
import { ChipProps } from './chip.js';
|
|
4
|
-
import { L as LabelOptions } from '../label-
|
|
5
|
-
import 'react';
|
|
4
|
+
import { L as LabelOptions } from '../label-CsJyLlgF.js';
|
|
6
5
|
import 'tailwind-variants';
|
|
7
6
|
|
|
8
7
|
type ChoiceChipOption<T extends string | number> = {
|
|
@@ -54,6 +53,6 @@ declare const disableUnselected: <T extends string | number>(_option: ChoiceChip
|
|
|
54
53
|
* but the selected chip can be toggled off (clicking it again clears the
|
|
55
54
|
* selection). The amount of options is variable (min 2).
|
|
56
55
|
*/
|
|
57
|
-
declare const ChoiceChips: <T extends string | number>({ label, labelProps, orientation, options, value, onChange, required, tooltip, disabled, isOptionDisabled, error, helperText, variant, tone, size, className, }: ChoiceChipsProps<T>) =>
|
|
56
|
+
declare const ChoiceChips: <T extends string | number>({ label, labelProps, orientation, options, value, onChange, required, tooltip, disabled, isOptionDisabled, error, helperText, variant, tone, size, className, }: ChoiceChipsProps<T>) => React.JSX.Element;
|
|
58
57
|
|
|
59
58
|
export { type ChoiceChipOption, ChoiceChips, type ChoiceChipsOrientation, ChoiceChipsOrientations, type ChoiceChipsProps, type ChoiceChipsState, disableUnselected };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as ChoiceChips,a as ChoiceChipsOrientations,b as disableUnselected}from'../chunk-
|
|
1
|
+
export{c as ChoiceChips,a as ChoiceChipsOrientations,b as disableUnselected}from'../chunk-5SAMHCBJ.js';import'../chunk-LJZ245JN.js';import'../chunk-VIMWKUML.js';import'../chunk-QZUQ6AZK.js';import'../chunk-MW7DL42Z.js';import'../chunk-QMPBFFFC.js';import'../chunk-ICF6RQIW.js';import'../chunk-HZYZAFW3.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
2
|
import { IsoCountryCode } from './country-code.js';
|
|
3
3
|
|
|
4
4
|
type CountryFlagProps = {
|
|
5
5
|
className?: string;
|
|
6
6
|
country: IsoCountryCode;
|
|
7
7
|
};
|
|
8
|
-
declare const CountryFlag: ({ className, country }: CountryFlagProps) =>
|
|
8
|
+
declare const CountryFlag: ({ className, country }: CountryFlagProps) => React.JSX.Element;
|
|
9
9
|
|
|
10
10
|
export { CountryFlag, type CountryFlagProps };
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import 'react/jsx-runtime';
|
|
2
1
|
import 'react';
|
|
3
2
|
import 'lucide-react';
|
|
4
3
|
export { OnChangeFn, RowSelectionState } from '@tanstack/react-table';
|
|
5
4
|
import './tooltip.js';
|
|
6
|
-
export { C as ColumnDef, D as DataTable, a as DataTableProps, b as DataTableRowAction, c as DataTableRowActionName, d as DataTableRowType, P as PaginationState } from '../data-table-
|
|
5
|
+
export { C as ColumnDef, D as DataTable, a as DataTableProps, b as DataTableRowAction, c as DataTableRowActionName, d as DataTableRowType, P as PaginationState } from '../data-table-3Hq7BgCz.js';
|
|
7
6
|
import './checkbox.js';
|
|
8
7
|
import '@ark-ui/react/tooltip';
|
|
9
8
|
import './button.js';
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { DatePicker as DatePicker$1, DatePickerFocusChangeDetails as DatePickerFocusChangeDetails$1, DatePickerRootProps, DatePickerValueChangeDetails as DatePickerValueChangeDetails$1, DateValue as DateValue$1 } from '@ark-ui/react/date-picker';
|
|
3
|
-
import { L as LabelOptions } from '../label-
|
|
3
|
+
import { L as LabelOptions } from '../label-CsJyLlgF.js';
|
|
4
4
|
import { C as CalendarLoading } from '../date-picker-views-CrF4fZYs.js';
|
|
5
|
-
import 'react/jsx-runtime';
|
|
6
5
|
import 'tailwind-variants';
|
|
7
6
|
|
|
8
7
|
type DatePickerProps = {
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { FC } from 'react';
|
|
4
3
|
import { DialogRootProps, Dialog } from '@ark-ui/react/dialog';
|
|
@@ -18,14 +17,14 @@ interface DialogContentProps extends React.ComponentPropsWithoutRef<typeof Dialo
|
|
|
18
17
|
}
|
|
19
18
|
declare const DialogContent: React.ForwardRefExoticComponent<DialogContentProps & React.RefAttributes<HTMLDivElement>>;
|
|
20
19
|
declare const DialogHeader: {
|
|
21
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
20
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
22
21
|
displayName: string;
|
|
23
22
|
};
|
|
24
23
|
declare const DialogFooter: {
|
|
25
|
-
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>):
|
|
24
|
+
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): React.JSX.Element;
|
|
26
25
|
displayName: string;
|
|
27
26
|
};
|
|
28
|
-
declare const DialogBody: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) =>
|
|
27
|
+
declare const DialogBody: ({ className, ...props }: React.HTMLAttributes<HTMLDivElement>) => React.JSX.Element;
|
|
29
28
|
declare const DialogTitle: React.ForwardRefExoticComponent<Omit<Dialog.TitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
|
|
30
29
|
declare const DialogDescription: React.ForwardRefExoticComponent<Omit<Dialog.DescriptionProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
31
30
|
declare const DialogActionButton: FC<ButtonProps>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { HTMLAttributes } from 'react';
|
|
2
3
|
import * as tailwind_variants from 'tailwind-variants';
|
|
3
4
|
import { VariantProps } from 'tailwind-variants';
|
|
4
|
-
import { HTMLAttributes } from 'react';
|
|
5
5
|
|
|
6
6
|
declare const dividerStyles: tailwind_variants.TVReturnType<{
|
|
7
7
|
variant: {
|
|
@@ -50,10 +50,10 @@ declare const dividerStyles: tailwind_variants.TVReturnType<{
|
|
|
50
50
|
};
|
|
51
51
|
}, undefined, "shrink-0", unknown, unknown, undefined>>;
|
|
52
52
|
type DividerProps = HTMLAttributes<HTMLDivElement> & VariantProps<typeof dividerStyles>;
|
|
53
|
-
declare const Divider: ({ className, orientation, tone, variant, ...props }: DividerProps) =>
|
|
53
|
+
declare const Divider: ({ className, orientation, tone, variant, ...props }: DividerProps) => React.JSX.Element;
|
|
54
54
|
/**
|
|
55
55
|
* @deprecated use Divider instead
|
|
56
56
|
*/
|
|
57
|
-
declare const Separator: ({ className, orientation, tone, variant, ...props }: DividerProps) =>
|
|
57
|
+
declare const Separator: ({ className, orientation, tone, variant, ...props }: DividerProps) => React.JSX.Element;
|
|
58
58
|
|
|
59
59
|
export { Divider, type DividerProps, Separator };
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
1
|
import * as React from 'react';
|
|
3
2
|
import { FC, ComponentPropsWithoutRef, ReactNode, PropsWithChildren } from 'react';
|
|
4
3
|
import { SearchBarProps } from './search-bar.js';
|
|
@@ -11,7 +10,7 @@ import '../input-field-size-ZaYx46-q.js';
|
|
|
11
10
|
import 'lucide-react';
|
|
12
11
|
import './chip.js';
|
|
13
12
|
import 'tailwind-variants';
|
|
14
|
-
import '../label-
|
|
13
|
+
import '../label-CsJyLlgF.js';
|
|
15
14
|
|
|
16
15
|
type DivWithoutClassName = Omit<ComponentPropsWithoutRef<"div">, "className">;
|
|
17
16
|
type DrawerBarSelectionProps = Omit<BadgeNumberProps, "className" | "size" | "variant" | "type"> & {
|
|
@@ -29,7 +28,7 @@ declare const DrawerBar: FC<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HT
|
|
|
29
28
|
Header: FC<DivWithoutClassName>;
|
|
30
29
|
Selection: FC<DrawerBarSelectionProps>;
|
|
31
30
|
ChoiceChips: {
|
|
32
|
-
<T extends string | number>(props: Omit<ChoiceChipsProps<T>, "orientation" | "size" | "variant" | "className">):
|
|
31
|
+
<T extends string | number>(props: Omit<ChoiceChipsProps<T>, "orientation" | "size" | "variant" | "className">): React.JSX.Element;
|
|
33
32
|
displayName: string;
|
|
34
33
|
};
|
|
35
34
|
Main: FC<DivWithoutClassName>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as DrawerBar}from'../chunk-
|
|
1
|
+
export{a as DrawerBar}from'../chunk-VGC77VEG.js';import'../chunk-XN6VHPJL.js';import'../chunk-W4C2Z52Z.js';import'../chunk-5SAMHCBJ.js';import'../chunk-LJZ245JN.js';import'../chunk-WAUY2MS6.js';import'../chunk-RBXMHWJQ.js';import'../chunk-MQL3NZ6S.js';import'../chunk-VIMWKUML.js';import'../chunk-QZUQ6AZK.js';import'../chunk-MW7DL42Z.js';import'../chunk-AWRP67K4.js';import'../chunk-PI7DECIN.js';import'../chunk-QMPBFFFC.js';import'../chunk-ICF6RQIW.js';import'../chunk-HZYZAFW3.js';import'../chunk-Y3ZZYSKX.js';import'../chunk-C7TLKKPT.js';import'../chunk-CQI4KDR4.js';import'../chunk-WXHE4RLE.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import { FileUploadFileAcceptDetails, FileUploadFileChangeDetails, FileUploadFileRejectDetails } from '@ark-ui/react';
|
|
3
|
-
import { L as LabelOptions } from '../label-9gkh212G.js';
|
|
1
|
+
import * as React from 'react';
|
|
4
2
|
import { HTMLAttributes } from 'react';
|
|
3
|
+
import { FileUploadFileAcceptDetails, FileUploadFileChangeDetails, FileUploadFileRejectDetails } from '@ark-ui/react';
|
|
4
|
+
import { L as LabelOptions } from '../label-CsJyLlgF.js';
|
|
5
5
|
import 'tailwind-variants';
|
|
6
6
|
|
|
7
7
|
type DropzoneFileAcceptDetails = FileUploadFileAcceptDetails;
|
|
@@ -166,6 +166,6 @@ type FileRejection = {
|
|
|
166
166
|
* minFileSize={1024} // 1KB minimum
|
|
167
167
|
* />
|
|
168
168
|
*/
|
|
169
|
-
declare const Dropzone: ({ acceptedFileTypes, acceptedFiles, maxFiles, maxFileSize, minFileSize, isLoading, isDisabled, hasError, label, labelProps, size, tooltip, required, onFileAccept, onFileReject, onFileChange, className, }: DropzoneProps) =>
|
|
169
|
+
declare const Dropzone: ({ acceptedFileTypes, acceptedFiles, maxFiles, maxFileSize, minFileSize, isLoading, isDisabled, hasError, label, labelProps, size, tooltip, required, onFileAccept, onFileReject, onFileChange, className, }: DropzoneProps) => React.JSX.Element;
|
|
170
170
|
|
|
171
171
|
export { Dropzone, type DropzoneAcceptedFileType, type DropzoneAcceptedFileTypeWithoutAll, DropzoneAcceptedFileTypes, type DropzoneFileAcceptDetails, type DropzoneFileChangeDetails, type DropzoneFileRejectDetails, type DropzoneProps, type DropzoneSize, DropzoneSizes };
|
|
@@ -10,7 +10,7 @@ export { Spinner, SpinnerSize, SpinnerSizes, SpinnerTone, SpinnerTones } from '.
|
|
|
10
10
|
export { ChipForm, ChipFormSizes, ChipFormTypes, ChipFormVariants } from './chip-form.js';
|
|
11
11
|
export { ChipStatus, ChipStatusProps, ChipStatusSizeType, ChipStatusSizes, ChipStatusTypeType, ChipStatusTypes, ChipStatusVariantType, ChipStatusVariants } from './chip-status.js';
|
|
12
12
|
export { ScrollArea, ScrollAreaProps, ScrollAreaRef, ScrollBar } from './scrollarea.js';
|
|
13
|
-
export { C as ColumnDef, D as DataTable, a as DataTableProps, b as DataTableRowAction, c as DataTableRowActionName, d as DataTableRowType, P as PaginationState, T as Table, e as TableBody, f as TableBodyRow, g as TableCell, h as TableContainer, i as TableHead, j as TableHeader, k as TableHeaderRow, l as TableNoResults, m as TableNoResultsProps, n as TablePagination, o as TablePaginationProps } from '../data-table-
|
|
13
|
+
export { C as ColumnDef, D as DataTable, a as DataTableProps, b as DataTableRowAction, c as DataTableRowActionName, d as DataTableRowType, P as PaginationState, T as Table, e as TableBody, f as TableBodyRow, g as TableCell, h as TableContainer, i as TableHead, j as TableHeader, k as TableHeaderRow, l as TableNoResults, m as TableNoResultsProps, n as TablePagination, o as TablePaginationProps } from '../data-table-3Hq7BgCz.js';
|
|
14
14
|
export { getSelectedCount, getSelectedIds, syncSelectionDataMap, useRowSelectionWithData } from './use-row-selection-with-data.js';
|
|
15
15
|
export { Dialog, DialogActionButton, DialogBody, DialogCloseButton, DialogContent, DialogDescription, DialogExtraButton, DialogFooter, DialogHeader, DialogTitle, DialogTrigger } from './dialog.js';
|
|
16
16
|
export { RadioGroup, RadioGroupItem, RadioGroupItemProps, RadioGroupOrientation, RadioGroupProps, radioStyles } from './radio.js';
|
|
@@ -32,8 +32,6 @@ export { ListItem_old } from './list-item_old.js';
|
|
|
32
32
|
export { ListItemArrow } from './list-item-arrow.js';
|
|
33
33
|
export { ListItemCheckbox } from './list-item-checkbox.js';
|
|
34
34
|
export { ChipStatusTable, ChipStatusTableProps, ChipStatusTableVariants } from './chip-status-table.js';
|
|
35
|
-
export { CalendarProps_old, Calendar_old, Locale_old } from './calendar_old.js';
|
|
36
|
-
export { DatePickerProps_old, DatePicker_old } from './date-picker_old.js';
|
|
37
35
|
export { Avatar, AvatarProps, AvatarSize, AvatarSizes, avatarStyles } from './avatar.js';
|
|
38
36
|
export { AvatarSkeleton, AvatarSkeletonProps } from './avatar-skeleton.js';
|
|
39
37
|
export { SearchBar, SearchBarProps, SearchBarSize, SearchBarSizeOptions } from './search-bar.js';
|
|
@@ -41,8 +39,8 @@ export { ChipFormComplementary, ChipFormComplementaryVariants, ChipFormComplemen
|
|
|
41
39
|
export { ChipStatusComplementary, ChipStatusComplementarySizeType, ChipStatusComplementarySizes, ChipStatusComplementaryVariantType, ChipStatusComplementaryVariants } from './chip-status-complementary.js';
|
|
42
40
|
export { AccordionForm, AccordionFormContent, AccordionFormItem, AccordionFormSizes, AccordionFormTrigger } from './accordion-form.js';
|
|
43
41
|
export { ChipContext, ChipContextColorType, ChipContextColors, ChipContextProps, ChipContextSizeType, ChipContextSizes, ChipContextVariantType, ChipContextVariants } from './chip-context.js';
|
|
44
|
-
import { L as LabelOptions } from '../label-
|
|
45
|
-
export { F as FormLabel, a as FormLabelOptions, b as FormLabelProps, c as FormLabelSize, d as FormLabelSizes, e as FormLabelVariant, f as FormLabelVariants, g as Label, h as LabelProps, i as LabelSize, j as LabelSizes, k as LabelVariant, l as LabelVariants } from '../label-
|
|
42
|
+
import { L as LabelOptions } from '../label-CsJyLlgF.js';
|
|
43
|
+
export { F as FormLabel, a as FormLabelOptions, b as FormLabelProps, c as FormLabelSize, d as FormLabelSizes, e as FormLabelVariant, f as FormLabelVariants, g as Label, h as LabelProps, i as LabelSize, j as LabelSizes, k as LabelVariant, l as LabelVariants } from '../label-CsJyLlgF.js';
|
|
46
44
|
export { Tooltip, TooltipProps } from './tooltip.js';
|
|
47
45
|
export { Checkbox, CheckboxCheckedState, CheckboxCheckedStates, CheckboxProps, checkboxStyles } from './checkbox.js';
|
|
48
46
|
export { Switch, SwitchProps, SwitchSizes, SwitchTypes, SwitchVariants } from './switch.js';
|
|
@@ -106,7 +104,6 @@ export { CarouselControlProps, CarouselIndicatorGroupProps, CarouselIndicatorPro
|
|
|
106
104
|
export { OnChangeFn, RowSelectionState } from '@tanstack/react-table';
|
|
107
105
|
import 'tailwind-variants';
|
|
108
106
|
import '@radix-ui/react-tabs';
|
|
109
|
-
import 'react/jsx-runtime';
|
|
110
107
|
import '@radix-ui/react-scroll-area';
|
|
111
108
|
import '@ark-ui/react/dialog';
|
|
112
109
|
import '@ark-ui/react/radio-group';
|
|
@@ -118,7 +115,6 @@ import '@radix-ui/react-popover';
|
|
|
118
115
|
import '@ark-ui/react/checkbox';
|
|
119
116
|
import '@ark-ui/react/number-input';
|
|
120
117
|
import '@ark-ui/react';
|
|
121
|
-
import 'react-day-picker';
|
|
122
118
|
import '@ark-ui/react/avatar';
|
|
123
119
|
import '../input-field-size-ZaYx46-q.js';
|
|
124
120
|
import '@ark-ui/react/switch';
|