sodtrack-web-ui 0.110.0 → 0.110.1
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-ASI5GI52.js +1 -0
- package/dist/chunk-JIBSBLNV.js +1 -0
- 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_old.js +1 -1
- package/dist/components/locale-provider.js +1 -1
- package/dist/locale.d.ts +86 -51
- package/dist/locale.js +2 -2
- package/package.json +2 -1
- package/dist/chunk-NO65QFSV.js +0 -1
- package/dist/chunk-RWMFNW7N.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {es,ptBR,enUS}from'date-fns/locale';import {isValid,parseISO,millisecondsToHours,millisecondsToMinutes,millisecondsToSeconds,setDefaultOptions,formatDuration}from'date-fns';import {UTCDateMini}from'@date-fns/utc';var m={en:{intlTag:"en-US",dateFns:enUS,uiLanguage:"en",backendLang:"en"},es:{intlTag:"es",dateFns:es,uiLanguage:"es",backendLang:"es"},pt:{intlTag:"pt-BR",dateFns:ptBR,uiLanguage:"pt",backendLang:"pt"},"es-MX":{intlTag:"es-MX",dateFns:es,uiLanguage:"es",backendLang:"es"},"es-CL":{intlTag:"es-CL",dateFns:es,uiLanguage:"es",backendLang:"es"}},W=t=>m[t],D=t=>m[t].intlTag,L=t=>m[t].dateFns,Z=t=>m[t].backendLang,j=(t,e)=>t[e]??t[m[e].uiLanguage],x=new Map,q=(t,e=t)=>{let n=x.get(e);n||(n=new Intl.DisplayNames([e],{type:"language"}),x.set(e,n));let a=n.of(t)??t;return a.charAt(0).toUpperCase()+a.slice(1)};var F="en",Q=t=>{typeof window>"u"||(F=t);},g=()=>F;var c="Invalid date",H=/^([0-1]?\d|2[0-3]):[0-5]\d(:[0-5]\d)?$/,d=t=>H.test(t),k=t=>isValid(parseISO(t)),u=(t,e)=>{if(t instanceof Date)return t;if(e)return new UTCDateMini(t);let n=parseISO(t);return isValid(n)?n:new Date(t)},T=(t,e)=>u(`2000-01-01T${t}`,e),$=(t,e)=>typeof t=="string"&&d(t)?T(t,e):u(t,e),C=t=>{let e=parseISO(t);if(isValid(e))return e;let n=new Date(t);return Number.isNaN(n.getTime())?null:n},w=(t,e)=>{if(!/^\d{4}-\d{2}-\d{2}$/.test(t)||!d(e))return null;let[n,a,o]=t.split("-").map(Number),[r,s]=e.split(":").map(Number),p=new Date(n,a-1,o,r,s);return isValid(p)?p:null},rt=t=>{let e=new UTCDateMini(t instanceof Date?t.getTime():t);return isValid(e)?e.toISOString().slice(0,10):c},I=new Map,h=(t,e)=>{let n=D(g()),a=`${n}:${JSON.stringify(e)}`,o=I.get(a);return o||(o=new Intl.DateTimeFormat(n,e),I.set(a,o)),o.format(t)},y=(t,e)=>e?{...t,timeZone:"UTC"}:t,l=(t,e=u)=>(n,a)=>{let o=e(n,a?.utc);return isValid(o)?h(o,y(t,a?.utc)):a?.fallback??c},P=l({dateStyle:"medium"}),st=l({dateStyle:"long"}),it=l({dateStyle:"short"}),X=l({dateStyle:"medium",timeStyle:"short"}),b=l({timeStyle:"short"},$),v=l({hour:"2-digit",minute:"2-digit",hour12:false},$),ct=(t,e)=>{let n=u(t,e?.utc);if(!isValid(n))return e?.fallback??c;let a=h(n,y({month:"long",year:"numeric"},e?.utc));return e?.capitalize?a.charAt(0).toUpperCase()+a.slice(1):a},ut=(t,e)=>{let n=u(t,e?.utc);return isValid(n)?h(n,y({weekday:e?.weekday??"long"},e?.utc)):e?.fallback??c},O=new Map,G=[{amount:60,unit:"second"},{amount:60,unit:"minute"},{amount:24,unit:"hour"},{amount:7,unit:"day"},{amount:4.34524,unit:"week"},{amount:12,unit:"month"},{amount:Number.POSITIVE_INFINITY,unit:"year"}],lt=(t,e=new Date,n)=>{let a=typeof t=="string"?C(t):t;if(!a||!isValid(a))return n?.fallback??c;let o=D(g()),r=O.get(o);r||(r=new Intl.RelativeTimeFormat(o,{numeric:"auto"}),O.set(o,r));let s=(a.getTime()-e.getTime())/1e3;for(let{amount:p,unit:E}of G){if(Math.abs(s)<p)return r.format(Math.round(s),E);s/=p;}return n?.fallback??c},pt=(t,e,n)=>{let a=n?.fallback??c,o=n?.hour12===false?v:b,r={utc:n?.utc};return d(t)&&d(e)?`${o(T(t,n?.utc),r)} - ${o(T(e,n?.utc),r)}`:k(t)&&k(e)?`${o(u(t,n?.utc),r)} - ${o(u(e,n?.utc),r)}`:a},mt=(t,e,n,a)=>{let o=a?.fallback??c,r=w(t,e);if(!r)return o;if(!n)return X(r);let s=w(t,n);return s?`${P(r)} (${b(r)} - ${b(s)})`:o},gt=(t,e=new Date)=>{let n=t instanceof Date?t:C(t);if(!n||!isValid(n))return null;let a=Math.max(0,e.getTime()-n.getTime()),o=r=>String(r).padStart(2,"0");return `${o(millisecondsToHours(a))}:${o(millisecondsToMinutes(a)%60)}:${o(millisecondsToSeconds(a)%60)}`},M,dt=t=>{typeof window>"u"||M===t||(M=t,setDefaultOptions({locale:L(t)}));},N=(t,e)=>formatDuration(t,{locale:L(g()),...e}),ft=(t,e,n={hours:true,minutes:true})=>{let a=Math.round(t),o=n.hours!==false,r=n.minutes!==false,s={};return o&&(s.hours=r?Math.floor(a/60):Math.round(a/60)),r&&(s.minutes=o?a%60:a),N(s,e)},Dt=(t,e)=>N({days:Math.floor(t/86400),hours:Math.floor(t%86400/3600),minutes:Math.floor(t%3600/60)},e);export{dt as A,N as B,ft as C,Dt as D,m as a,W as b,D as c,L as d,Z as e,j as f,q as g,Q as h,g as i,c as j,d as k,k as l,C as m,rt as n,P as o,st as p,it as q,X as r,b as s,v as t,ct as u,ut as v,lt as w,pt as x,mt as y,gt as z};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import {h,A,c}from'./chunk-ASI5GI52.js';import {LocaleProvider}from'@ark-ui/react/locale';import {jsx}from'react/jsx-runtime';var L=({locale:o,children:p})=>(h(o),A(o),jsx(LocaleProvider,{locale:c(o),children:p}));export{L as a};
|
package/dist/components/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export{e as AutocompleteMultiple_old,a as Autocomplete_old,f as IdField,c as ListItemArrow,g as ListItemButton,d as ListItemCheckbox,h as ListItemCheckboxLeft,b as ListItem_old,o as PhoneInput,n as RichTextEditor,m as convertHtmlToQuillCompatible,j as defaultToolbarConfig,i as lexicalTheme,k as normalizeHtmlForComparison,l as normalizeQuillHtmlForLexical}from'../chunk-MFVBB7LJ.js';export{c as getSelectedCount,b as getSelectedIds,a as syncSelectionDataMap,d as useRowSelectionWithData}from'../chunk-ABJHG7HB.js';export{a as Textarea}from'../chunk-AEKMGJ2L.js';export{a as TextareaSizes_old,b as Textarea_old}from'../chunk-SIA2GA6D.js';export{a as TimePicker}from'../chunk-UPVM72WX.js';export{a as TimePicker_old}from'../chunk-FKX6C4AB.js';export{a as ToastTypes,c as Toaster,b as toast}from'../chunk-3EQKZA4E.js';export{e as TrackerItem,c as TrackerItemExpandableContent,d as TrackerItemFooter,b as TrackerItemHeader,a as useTrackerItem}from'../chunk-WJS7UII5.js';export{b as SnackbarProvider,a as snackbar}from'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';export{c as Tabs,f as TabsContent,d as TabsList,b as TabsSizes,e as TabsTrigger,a as TabsVariants}from'../chunk-HPAR3YH6.js';export{a as TextField}from'../chunk-HVKEP4T2.js';export{a as ScrollArea,b as ScrollBar}from'../chunk-5T72Q62I.js';export{a as SelectSkeleton}from'../chunk-FZVOKCYO.js';export{c as Select,b as SelectSizeDefault,a as SelectSizes}from'../chunk-2YYGM3SN.js';export{a as Select_old}from'../chunk-4UTR6XAH.js';export{c as Sidebar,e as SidebarBody,f as SidebarFooter,d as SidebarHeader,b as SidebarProvider,a as useSidebar}from'../chunk-UHFTMWEK.js';export{a as SignaturePad}from'../chunk-5AHJZHZG.js';export{a as NumberFieldSkeleton}from'../chunk-P5FV5ZGY.js';export{a as PhoneInputSkeleton}from'../chunk-FURFUBTJ.js';export{c as PopoverContent_old,b as PopoverTrigger_old,a as Popover_old}from'../chunk-XNBXUXHQ.js';export{b as Rating,a as RatingSizes}from'../chunk-XNZH53UN.js';export{a as LocaleProvider}from'../chunk-
|
|
1
|
+
export{e as AutocompleteMultiple_old,a as Autocomplete_old,f as IdField,c as ListItemArrow,g as ListItemButton,d as ListItemCheckbox,h as ListItemCheckboxLeft,b as ListItem_old,o as PhoneInput,n as RichTextEditor,m as convertHtmlToQuillCompatible,j as defaultToolbarConfig,i as lexicalTheme,k as normalizeHtmlForComparison,l as normalizeQuillHtmlForLexical}from'../chunk-MFVBB7LJ.js';export{c as getSelectedCount,b as getSelectedIds,a as syncSelectionDataMap,d as useRowSelectionWithData}from'../chunk-ABJHG7HB.js';export{a as Textarea}from'../chunk-AEKMGJ2L.js';export{a as TextareaSizes_old,b as Textarea_old}from'../chunk-SIA2GA6D.js';export{a as TimePicker}from'../chunk-UPVM72WX.js';export{a as TimePicker_old}from'../chunk-FKX6C4AB.js';export{a as ToastTypes,c as Toaster,b as toast}from'../chunk-3EQKZA4E.js';export{e as TrackerItem,c as TrackerItemExpandableContent,d as TrackerItemFooter,b as TrackerItemHeader,a as useTrackerItem}from'../chunk-WJS7UII5.js';export{b as SnackbarProvider,a as snackbar}from'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';export{c as Tabs,f as TabsContent,d as TabsList,b as TabsSizes,e as TabsTrigger,a as TabsVariants}from'../chunk-HPAR3YH6.js';export{a as TextField}from'../chunk-HVKEP4T2.js';export{a as ScrollArea,b as ScrollBar}from'../chunk-5T72Q62I.js';export{a as SelectSkeleton}from'../chunk-FZVOKCYO.js';export{c as Select,b as SelectSizeDefault,a as SelectSizes}from'../chunk-2YYGM3SN.js';export{a as Select_old}from'../chunk-4UTR6XAH.js';export{c as Sidebar,e as SidebarBody,f as SidebarFooter,d as SidebarHeader,b as SidebarProvider,a as useSidebar}from'../chunk-UHFTMWEK.js';export{a as SignaturePad}from'../chunk-5AHJZHZG.js';export{a as NumberFieldSkeleton}from'../chunk-P5FV5ZGY.js';export{a as PhoneInputSkeleton}from'../chunk-FURFUBTJ.js';export{c as PopoverContent_old,b as PopoverTrigger_old,a as Popover_old}from'../chunk-XNBXUXHQ.js';export{b as Rating,a as RatingSizes}from'../chunk-XNZH53UN.js';export{a as LocaleProvider}from'../chunk-JIBSBLNV.js';export{a as DrawerBar}from'../chunk-PKH2WC3V.js';export{c as SearchBar,a as SearchBarSizeOptions,b as searchBarStyles}from'../chunk-ZE64BJO4.js';export{a as Drawer,g as DrawerBody,h as DrawerCloseTrigger,d as DrawerContent,f as DrawerFooter,e as DrawerHeader,c as DrawerSizes,b as DrawerTrigger}from'../chunk-QLPFU42W.js';export{c as Dropzone,a as DropzoneAcceptedFileTypes,b as DropzoneSizes}from'../chunk-YUWN3BIR.js';export{a as ERROR_SCREEN_VARIANTS,b as ErrorScreen}from'../chunk-XWBK5NU6.js';export{c as ChoiceChips,a as ChoiceChipsOrientations,b as disableUnselected}from'../chunk-OQCEARDQ.js';export{d as BUSINESS_COUNTRY_CODES,h as BusinessCountryEnum,c as ID_COUNTRY_CODES,b as ISO_COUNTRY_CODES,g as IdCountryEnum,e as IsoCountryEnum,a as PHONE_COUNTRY_CODES,f as PhoneCountryEnum,l as isBusinessCountryCode,k as isIdCountryCode,i as isIsoCountryCode,j as isPhoneCountryCode}from'../chunk-3X2MEX7P.js';export{a as DataTable}from'../chunk-3G64XQGO.js';export{b as Table,d as TableBody,e as TableBodyRow,i as TableCell,a as TableContainer,h as TableHead,c as TableHeader,g as TableHeaderRow,f as TableNoResults,j as TablePagination}from'../chunk-LHUPLORK.js';export{a as Popover,c as PopoverContent,b as PopoverTrigger}from'../chunk-GTVHYHF4.js';export{a as DatePickerPopover}from'../chunk-56U6GYXH.js';export{a as DatePicker}from'../chunk-OIWYXSPZ.js';export{a as DatePicker_old}from'../chunk-URNDTXH2.js';import'../chunk-GFVJRSZI.js';export{a as TextField_old}from'../chunk-CA5XNVS5.js';import'../chunk-T2Q6B32U.js';export{a as Dialog,i as DialogActionButton,f as DialogBody,j as DialogCloseButton,c as DialogContent,h as DialogDescription,k as DialogExtraButton,e as DialogFooter,d as DialogHeader,g as DialogTitle,b as DialogTrigger}from'../chunk-TZNMKBEU.js';export{c as ChipFormComplementary,a as ChipFormComplementaryVariants,b as ChipFormComplementaryVariantsClassNames}from'../chunk-QONM4Q4J.js';export{d as ChipForm,c as ChipFormSizes,b as ChipFormTypes,a as ChipFormVariants}from'../chunk-3HZUH4JJ.js';export{c as ChipStatusComplementary,b as ChipStatusComplementarySizes,a as ChipStatusComplementaryVariants}from'../chunk-AUMOOT6L.js';export{a as ChipStatusTable}from'../chunk-Y73ZUBRE.js';export{e as Chip,d as ChipDefaults,c as ChipSizes,b as ChipTones,a as ChipVariants}from'../chunk-SRCJQWFE.js';export{d as Calendar,a as CalendarProvider,c as parseDate,b as useCalendar}from'../chunk-CX3AKEIY.js';import'../chunk-MWSAZ4IF.js';export{a as Calendar_old}from'../chunk-OY5A3XIW.js';export{d as CardBasic,b as CardBasicBody,c as CardBasicFooter,a as CardBasicHeader}from'../chunk-EJNWHQVT.js';export{d as Switch,a as SwitchSizes,b as SwitchTypes,c as SwitchVariants}from'../chunk-7JM2X4UD.js';export{d as CardExpandable,b as CardExpandableContent,c as CardExpandableFixedContent,a as CardExpandableHeader}from'../chunk-AGR3KR24.js';export{c as ChipExpandable,b as ChipExpandableTypes,a as ChipExpandableVariants}from'../chunk-JYNJHAGL.js';export{a as CardForm,c as CardFormBody,d as CardFormFooter,b as CardFormHeader}from'../chunk-A6APVBGY.js';export{j as Carousel,j as CarouselComponent,b as CarouselControl,f as CarouselIndicator,e as CarouselIndicatorGroup,h as CarouselItem,g as CarouselItemGroup,d as CarouselNextTrigger,c as CarouselPrevTrigger,a as CarouselRoot,i as CarouselViewport}from'../chunk-CTR3GKCC.js';export{d as ChipContext,c as ChipContextColors,b as ChipContextSizes,a as ChipContextVariants}from'../chunk-JA7GAJ6P.js';export{a as BadgeStatusSkeleton}from'../chunk-PIMSGQMD.js';export{d as ButtonActive,a as ButtonActiveSizes,c as ButtonActiveTones,b as ButtonActiveVariants}from'../chunk-3EMC2WVC.js';export{d as ButtonMenu,a as ButtonMenuSizes,c as ButtonMenuTones,b as ButtonMenuWeights}from'../chunk-HWYJLM4O.js';export{a as Menu}from'../chunk-LUQQ6CGZ.js';export{b as ListItem,a as useListItemDisabled}from'../chunk-NETNR3VC.js';export{b as NumberField,a as numberFieldFormatOptions}from'../chunk-ORVJ7EFO.js';export{c as RadioGroup,d as RadioGroupItem,a as RadioGroupOrientation,b as radioStyles}from'../chunk-6QOM3R5H.js';export{c as Checkbox,a as CheckboxCheckedStates,b as checkboxStyles}from'../chunk-E3WJNVAZ.js';export{a as BadgeStatus}from'../chunk-UIZFLYFP.js';export{a as AutocompleteMultiple}from'../chunk-QAFHVJD5.js';export{d as ChipInput,b as ChipInputColors,a as ChipInputSizes,c as ChipInputVariants}from'../chunk-HPIKGJQV.js';export{a as AutocompleteSkeleton}from'../chunk-RBPNFUWP.js';export{c as Autocomplete,b as AutocompleteSizeDefault,a as AutocompleteSizes}from'../chunk-DB2FUUF5.js';export{a as EmptyState}from'../chunk-Y3GITC4K.js';import'../chunk-FHABUQAH.js';import'../chunk-76J4QR6W.js';import'../chunk-ZMMNEYEQ.js';import'../chunk-QJOYOR4B.js';import'../chunk-VIMWKUML.js';export{a as FormLabel}from'../chunk-6MK7NLF5.js';export{a as Tooltip}from'../chunk-HIULYFIC.js';export{b as Avatar,a as AvatarSizes}from'../chunk-GB2SAYAL.js';export{a as BadgeCategorySkeleton}from'../chunk-RQQJYDAY.js';export{d as BadgeCategory,a as BadgeCategoryColors,c as BadgeCategorySizes,b as BadgeCategoryVariants}from'../chunk-YFDUDY6Y.js';export{a as BadgeExpandableSkeleton}from'../chunk-DL3P7FK4.js';export{a as BadgeExpandable}from'../chunk-JW7HS6NX.js';import'../chunk-U4NJK7JM.js';import'../chunk-ASI5GI52.js';export{b as AccordionForm,e as AccordionFormContent,c as AccordionFormItem,a as AccordionFormSizes,d as AccordionFormTrigger}from'../chunk-6YHL2TME.js';export{c as Accordion,g as AccordionContent,d as AccordionItem,a as AccordionPrimitive,b as AccordionSizes,f as AccordionTrigger,e as AccordionTriggerEmpty}from'../chunk-5TQ2OJAH.js';export{d as ChipStatus,b as ChipStatusSizes,c as ChipStatusTypes,a as ChipStatusVariants}from'../chunk-MP4CHZ2K.js';export{a as Badge}from'../chunk-R6NIURLZ.js';export{a as AlertDialog,f as AlertDialogActionButton,m as AlertDialogBody,g as AlertDialogCloseButton,e as AlertDialogContent,l as AlertDialogDescription,h as AlertDialogExtraButton,j as AlertDialogFooter,i as AlertDialogHeader,d as AlertDialogOverlay,c as AlertDialogPortal,k as AlertDialogTitle,b as AlertDialogTrigger}from'../chunk-SNVP243V.js';export{a as Divider,b as Separator}from'../chunk-AWRP67K4.js';export{a as AlertMessage}from'../chunk-2MCKR6KX.js';export{e as IconButton,d as IconButtonShapes,a as IconButtonSizes,c as IconButtonTones,b as IconButtonVariants}from'../chunk-PI7DECIN.js';import'../chunk-Q4CWL65C.js';import'../chunk-ICF6RQIW.js';export{e as Button,a as ButtonSizes,c as ButtonTones,b as ButtonVariants,d as buttonStyles}from'../chunk-RVEUW4QG.js';export{c as Spinner,a as SpinnerSizes,b as SpinnerTones}from'../chunk-C7TLKKPT.js';export{a as BadgeNumber}from'../chunk-P6B33GL6.js';import'../chunk-CQI4KDR4.js';export{a as AutocompleteMultipleSkeleton}from'../chunk-N6BWYHOE.js';export{a as Skeleton}from'../chunk-KTD2GEB6.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{c as ListItemArrow}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-
|
|
1
|
+
export{c as ListItemArrow}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-JIBSBLNV.js';import'../chunk-PKH2WC3V.js';import'../chunk-ZE64BJO4.js';import'../chunk-QLPFU42W.js';import'../chunk-YUWN3BIR.js';import'../chunk-XWBK5NU6.js';import'../chunk-OQCEARDQ.js';import'../chunk-3X2MEX7P.js';import'../chunk-3G64XQGO.js';import'../chunk-LHUPLORK.js';import'../chunk-GTVHYHF4.js';import'../chunk-56U6GYXH.js';import'../chunk-OIWYXSPZ.js';import'../chunk-URNDTXH2.js';import'../chunk-GFVJRSZI.js';import'../chunk-CA5XNVS5.js';import'../chunk-T2Q6B32U.js';import'../chunk-TZNMKBEU.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-SRCJQWFE.js';import'../chunk-CX3AKEIY.js';import'../chunk-MWSAZ4IF.js';import'../chunk-OY5A3XIW.js';import'../chunk-EJNWHQVT.js';import'../chunk-7JM2X4UD.js';import'../chunk-AGR3KR24.js';import'../chunk-JYNJHAGL.js';import'../chunk-A6APVBGY.js';import'../chunk-CTR3GKCC.js';import'../chunk-JA7GAJ6P.js';import'../chunk-PIMSGQMD.js';import'../chunk-3EMC2WVC.js';import'../chunk-HWYJLM4O.js';import'../chunk-LUQQ6CGZ.js';import'../chunk-NETNR3VC.js';import'../chunk-ORVJ7EFO.js';import'../chunk-6QOM3R5H.js';import'../chunk-E3WJNVAZ.js';import'../chunk-UIZFLYFP.js';import'../chunk-QAFHVJD5.js';import'../chunk-HPIKGJQV.js';import'../chunk-RBPNFUWP.js';import'../chunk-DB2FUUF5.js';import'../chunk-Y3GITC4K.js';import'../chunk-FHABUQAH.js';import'../chunk-76J4QR6W.js';import'../chunk-ZMMNEYEQ.js';import'../chunk-QJOYOR4B.js';import'../chunk-VIMWKUML.js';import'../chunk-6MK7NLF5.js';import'../chunk-HIULYFIC.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-YFDUDY6Y.js';import'../chunk-DL3P7FK4.js';import'../chunk-JW7HS6NX.js';import'../chunk-U4NJK7JM.js';import'../chunk-ASI5GI52.js';import'../chunk-6YHL2TME.js';import'../chunk-5TQ2OJAH.js';import'../chunk-MP4CHZ2K.js';import'../chunk-R6NIURLZ.js';import'../chunk-SNVP243V.js';import'../chunk-AWRP67K4.js';import'../chunk-2MCKR6KX.js';import'../chunk-PI7DECIN.js';import'../chunk-Q4CWL65C.js';import'../chunk-ICF6RQIW.js';import'../chunk-RVEUW4QG.js';import'../chunk-C7TLKKPT.js';import'../chunk-P6B33GL6.js';import'../chunk-CQI4KDR4.js';import'../chunk-N6BWYHOE.js';import'../chunk-KTD2GEB6.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{g as ListItemButton}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-
|
|
1
|
+
export{g as ListItemButton}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-JIBSBLNV.js';import'../chunk-PKH2WC3V.js';import'../chunk-ZE64BJO4.js';import'../chunk-QLPFU42W.js';import'../chunk-YUWN3BIR.js';import'../chunk-XWBK5NU6.js';import'../chunk-OQCEARDQ.js';import'../chunk-3X2MEX7P.js';import'../chunk-3G64XQGO.js';import'../chunk-LHUPLORK.js';import'../chunk-GTVHYHF4.js';import'../chunk-56U6GYXH.js';import'../chunk-OIWYXSPZ.js';import'../chunk-URNDTXH2.js';import'../chunk-GFVJRSZI.js';import'../chunk-CA5XNVS5.js';import'../chunk-T2Q6B32U.js';import'../chunk-TZNMKBEU.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-SRCJQWFE.js';import'../chunk-CX3AKEIY.js';import'../chunk-MWSAZ4IF.js';import'../chunk-OY5A3XIW.js';import'../chunk-EJNWHQVT.js';import'../chunk-7JM2X4UD.js';import'../chunk-AGR3KR24.js';import'../chunk-JYNJHAGL.js';import'../chunk-A6APVBGY.js';import'../chunk-CTR3GKCC.js';import'../chunk-JA7GAJ6P.js';import'../chunk-PIMSGQMD.js';import'../chunk-3EMC2WVC.js';import'../chunk-HWYJLM4O.js';import'../chunk-LUQQ6CGZ.js';import'../chunk-NETNR3VC.js';import'../chunk-ORVJ7EFO.js';import'../chunk-6QOM3R5H.js';import'../chunk-E3WJNVAZ.js';import'../chunk-UIZFLYFP.js';import'../chunk-QAFHVJD5.js';import'../chunk-HPIKGJQV.js';import'../chunk-RBPNFUWP.js';import'../chunk-DB2FUUF5.js';import'../chunk-Y3GITC4K.js';import'../chunk-FHABUQAH.js';import'../chunk-76J4QR6W.js';import'../chunk-ZMMNEYEQ.js';import'../chunk-QJOYOR4B.js';import'../chunk-VIMWKUML.js';import'../chunk-6MK7NLF5.js';import'../chunk-HIULYFIC.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-YFDUDY6Y.js';import'../chunk-DL3P7FK4.js';import'../chunk-JW7HS6NX.js';import'../chunk-U4NJK7JM.js';import'../chunk-ASI5GI52.js';import'../chunk-6YHL2TME.js';import'../chunk-5TQ2OJAH.js';import'../chunk-MP4CHZ2K.js';import'../chunk-R6NIURLZ.js';import'../chunk-SNVP243V.js';import'../chunk-AWRP67K4.js';import'../chunk-2MCKR6KX.js';import'../chunk-PI7DECIN.js';import'../chunk-Q4CWL65C.js';import'../chunk-ICF6RQIW.js';import'../chunk-RVEUW4QG.js';import'../chunk-C7TLKKPT.js';import'../chunk-P6B33GL6.js';import'../chunk-CQI4KDR4.js';import'../chunk-N6BWYHOE.js';import'../chunk-KTD2GEB6.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{h as ListItemCheckboxLeft}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-
|
|
1
|
+
export{h as ListItemCheckboxLeft}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-JIBSBLNV.js';import'../chunk-PKH2WC3V.js';import'../chunk-ZE64BJO4.js';import'../chunk-QLPFU42W.js';import'../chunk-YUWN3BIR.js';import'../chunk-XWBK5NU6.js';import'../chunk-OQCEARDQ.js';import'../chunk-3X2MEX7P.js';import'../chunk-3G64XQGO.js';import'../chunk-LHUPLORK.js';import'../chunk-GTVHYHF4.js';import'../chunk-56U6GYXH.js';import'../chunk-OIWYXSPZ.js';import'../chunk-URNDTXH2.js';import'../chunk-GFVJRSZI.js';import'../chunk-CA5XNVS5.js';import'../chunk-T2Q6B32U.js';import'../chunk-TZNMKBEU.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-SRCJQWFE.js';import'../chunk-CX3AKEIY.js';import'../chunk-MWSAZ4IF.js';import'../chunk-OY5A3XIW.js';import'../chunk-EJNWHQVT.js';import'../chunk-7JM2X4UD.js';import'../chunk-AGR3KR24.js';import'../chunk-JYNJHAGL.js';import'../chunk-A6APVBGY.js';import'../chunk-CTR3GKCC.js';import'../chunk-JA7GAJ6P.js';import'../chunk-PIMSGQMD.js';import'../chunk-3EMC2WVC.js';import'../chunk-HWYJLM4O.js';import'../chunk-LUQQ6CGZ.js';import'../chunk-NETNR3VC.js';import'../chunk-ORVJ7EFO.js';import'../chunk-6QOM3R5H.js';import'../chunk-E3WJNVAZ.js';import'../chunk-UIZFLYFP.js';import'../chunk-QAFHVJD5.js';import'../chunk-HPIKGJQV.js';import'../chunk-RBPNFUWP.js';import'../chunk-DB2FUUF5.js';import'../chunk-Y3GITC4K.js';import'../chunk-FHABUQAH.js';import'../chunk-76J4QR6W.js';import'../chunk-ZMMNEYEQ.js';import'../chunk-QJOYOR4B.js';import'../chunk-VIMWKUML.js';import'../chunk-6MK7NLF5.js';import'../chunk-HIULYFIC.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-YFDUDY6Y.js';import'../chunk-DL3P7FK4.js';import'../chunk-JW7HS6NX.js';import'../chunk-U4NJK7JM.js';import'../chunk-ASI5GI52.js';import'../chunk-6YHL2TME.js';import'../chunk-5TQ2OJAH.js';import'../chunk-MP4CHZ2K.js';import'../chunk-R6NIURLZ.js';import'../chunk-SNVP243V.js';import'../chunk-AWRP67K4.js';import'../chunk-2MCKR6KX.js';import'../chunk-PI7DECIN.js';import'../chunk-Q4CWL65C.js';import'../chunk-ICF6RQIW.js';import'../chunk-RVEUW4QG.js';import'../chunk-C7TLKKPT.js';import'../chunk-P6B33GL6.js';import'../chunk-CQI4KDR4.js';import'../chunk-N6BWYHOE.js';import'../chunk-KTD2GEB6.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{d as ListItemCheckbox}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-
|
|
1
|
+
export{d as ListItemCheckbox}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-JIBSBLNV.js';import'../chunk-PKH2WC3V.js';import'../chunk-ZE64BJO4.js';import'../chunk-QLPFU42W.js';import'../chunk-YUWN3BIR.js';import'../chunk-XWBK5NU6.js';import'../chunk-OQCEARDQ.js';import'../chunk-3X2MEX7P.js';import'../chunk-3G64XQGO.js';import'../chunk-LHUPLORK.js';import'../chunk-GTVHYHF4.js';import'../chunk-56U6GYXH.js';import'../chunk-OIWYXSPZ.js';import'../chunk-URNDTXH2.js';import'../chunk-GFVJRSZI.js';import'../chunk-CA5XNVS5.js';import'../chunk-T2Q6B32U.js';import'../chunk-TZNMKBEU.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-SRCJQWFE.js';import'../chunk-CX3AKEIY.js';import'../chunk-MWSAZ4IF.js';import'../chunk-OY5A3XIW.js';import'../chunk-EJNWHQVT.js';import'../chunk-7JM2X4UD.js';import'../chunk-AGR3KR24.js';import'../chunk-JYNJHAGL.js';import'../chunk-A6APVBGY.js';import'../chunk-CTR3GKCC.js';import'../chunk-JA7GAJ6P.js';import'../chunk-PIMSGQMD.js';import'../chunk-3EMC2WVC.js';import'../chunk-HWYJLM4O.js';import'../chunk-LUQQ6CGZ.js';import'../chunk-NETNR3VC.js';import'../chunk-ORVJ7EFO.js';import'../chunk-6QOM3R5H.js';import'../chunk-E3WJNVAZ.js';import'../chunk-UIZFLYFP.js';import'../chunk-QAFHVJD5.js';import'../chunk-HPIKGJQV.js';import'../chunk-RBPNFUWP.js';import'../chunk-DB2FUUF5.js';import'../chunk-Y3GITC4K.js';import'../chunk-FHABUQAH.js';import'../chunk-76J4QR6W.js';import'../chunk-ZMMNEYEQ.js';import'../chunk-QJOYOR4B.js';import'../chunk-VIMWKUML.js';import'../chunk-6MK7NLF5.js';import'../chunk-HIULYFIC.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-YFDUDY6Y.js';import'../chunk-DL3P7FK4.js';import'../chunk-JW7HS6NX.js';import'../chunk-U4NJK7JM.js';import'../chunk-ASI5GI52.js';import'../chunk-6YHL2TME.js';import'../chunk-5TQ2OJAH.js';import'../chunk-MP4CHZ2K.js';import'../chunk-R6NIURLZ.js';import'../chunk-SNVP243V.js';import'../chunk-AWRP67K4.js';import'../chunk-2MCKR6KX.js';import'../chunk-PI7DECIN.js';import'../chunk-Q4CWL65C.js';import'../chunk-ICF6RQIW.js';import'../chunk-RVEUW4QG.js';import'../chunk-C7TLKKPT.js';import'../chunk-P6B33GL6.js';import'../chunk-CQI4KDR4.js';import'../chunk-N6BWYHOE.js';import'../chunk-KTD2GEB6.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{b as ListItem_old}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-
|
|
1
|
+
export{b as ListItem_old}from'../chunk-MFVBB7LJ.js';import'../chunk-ABJHG7HB.js';import'../chunk-AEKMGJ2L.js';import'../chunk-SIA2GA6D.js';import'../chunk-UPVM72WX.js';import'../chunk-FKX6C4AB.js';import'../chunk-3EQKZA4E.js';import'../chunk-WJS7UII5.js';import'../chunk-ZUAYZB2L.js';import'../chunk-FM2XHJR6.js';import'../chunk-HPAR3YH6.js';import'../chunk-HVKEP4T2.js';import'../chunk-5T72Q62I.js';import'../chunk-FZVOKCYO.js';import'../chunk-2YYGM3SN.js';import'../chunk-4UTR6XAH.js';import'../chunk-UHFTMWEK.js';import'../chunk-5AHJZHZG.js';import'../chunk-P5FV5ZGY.js';import'../chunk-FURFUBTJ.js';import'../chunk-XNBXUXHQ.js';import'../chunk-XNZH53UN.js';import'../chunk-JIBSBLNV.js';import'../chunk-PKH2WC3V.js';import'../chunk-ZE64BJO4.js';import'../chunk-QLPFU42W.js';import'../chunk-YUWN3BIR.js';import'../chunk-XWBK5NU6.js';import'../chunk-OQCEARDQ.js';import'../chunk-3X2MEX7P.js';import'../chunk-3G64XQGO.js';import'../chunk-LHUPLORK.js';import'../chunk-GTVHYHF4.js';import'../chunk-56U6GYXH.js';import'../chunk-OIWYXSPZ.js';import'../chunk-URNDTXH2.js';import'../chunk-GFVJRSZI.js';import'../chunk-CA5XNVS5.js';import'../chunk-T2Q6B32U.js';import'../chunk-TZNMKBEU.js';import'../chunk-QONM4Q4J.js';import'../chunk-3HZUH4JJ.js';import'../chunk-AUMOOT6L.js';import'../chunk-Y73ZUBRE.js';import'../chunk-SRCJQWFE.js';import'../chunk-CX3AKEIY.js';import'../chunk-MWSAZ4IF.js';import'../chunk-OY5A3XIW.js';import'../chunk-EJNWHQVT.js';import'../chunk-7JM2X4UD.js';import'../chunk-AGR3KR24.js';import'../chunk-JYNJHAGL.js';import'../chunk-A6APVBGY.js';import'../chunk-CTR3GKCC.js';import'../chunk-JA7GAJ6P.js';import'../chunk-PIMSGQMD.js';import'../chunk-3EMC2WVC.js';import'../chunk-HWYJLM4O.js';import'../chunk-LUQQ6CGZ.js';import'../chunk-NETNR3VC.js';import'../chunk-ORVJ7EFO.js';import'../chunk-6QOM3R5H.js';import'../chunk-E3WJNVAZ.js';import'../chunk-UIZFLYFP.js';import'../chunk-QAFHVJD5.js';import'../chunk-HPIKGJQV.js';import'../chunk-RBPNFUWP.js';import'../chunk-DB2FUUF5.js';import'../chunk-Y3GITC4K.js';import'../chunk-FHABUQAH.js';import'../chunk-76J4QR6W.js';import'../chunk-ZMMNEYEQ.js';import'../chunk-QJOYOR4B.js';import'../chunk-VIMWKUML.js';import'../chunk-6MK7NLF5.js';import'../chunk-HIULYFIC.js';import'../chunk-GB2SAYAL.js';import'../chunk-RQQJYDAY.js';import'../chunk-YFDUDY6Y.js';import'../chunk-DL3P7FK4.js';import'../chunk-JW7HS6NX.js';import'../chunk-U4NJK7JM.js';import'../chunk-ASI5GI52.js';import'../chunk-6YHL2TME.js';import'../chunk-5TQ2OJAH.js';import'../chunk-MP4CHZ2K.js';import'../chunk-R6NIURLZ.js';import'../chunk-SNVP243V.js';import'../chunk-AWRP67K4.js';import'../chunk-2MCKR6KX.js';import'../chunk-PI7DECIN.js';import'../chunk-Q4CWL65C.js';import'../chunk-ICF6RQIW.js';import'../chunk-RVEUW4QG.js';import'../chunk-C7TLKKPT.js';import'../chunk-P6B33GL6.js';import'../chunk-CQI4KDR4.js';import'../chunk-N6BWYHOE.js';import'../chunk-KTD2GEB6.js';import'../chunk-OBZIYJO7.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export{a as LocaleProvider}from'../chunk-
|
|
1
|
+
export{a as LocaleProvider}from'../chunk-JIBSBLNV.js';import'../chunk-ASI5GI52.js';
|
package/dist/locale.d.ts
CHANGED
|
@@ -56,47 +56,19 @@ declare const LOCALE_REGISTRY: {
|
|
|
56
56
|
readonly backendLang: "es";
|
|
57
57
|
};
|
|
58
58
|
};
|
|
59
|
+
/** Full registry row for a locale. `getLocaleConfig("es-CL")` → `{ intlTag, dateFns, ... }`. */
|
|
59
60
|
declare const getLocaleConfig: (locale: SupportedLocale) => LocaleConfig;
|
|
61
|
+
/** BCP-47 tag for Intl. `getIntlTag("es-CL")` → "es-CL"; `getIntlTag("en")` → "en-US". */
|
|
60
62
|
declare const getIntlTag: (locale: SupportedLocale) => string;
|
|
63
|
+
/** date-fns Locale object. `getDateFnsLocale("pt")` → date-fns `ptBR`. */
|
|
61
64
|
declare const getDateFnsLocale: (locale: SupportedLocale) => Locale;
|
|
65
|
+
/** Backend `lang` value. `getBackendLang("es-MX")` → "es". */
|
|
62
66
|
declare const getBackendLang: (locale: SupportedLocale) => BackendLang;
|
|
63
67
|
/** Reads a locale-keyed translation map, falling back to the base UI language (`es-CL`→`es`). */
|
|
64
68
|
declare const pickTranslation: (translations: Partial<Record<string, string>>, locale: SupportedLocale) => string | undefined;
|
|
65
69
|
/** Localized language name (default: autonym, e.g. `es`→"Español"), for the language switcher. */
|
|
66
70
|
declare const getLanguageName: (locale: SupportedLocale, displayIn?: SupportedLocale) => string;
|
|
67
71
|
|
|
68
|
-
/**
|
|
69
|
-
* Framework-agnostic Intl.NumberFormat wrappers (take a BCP-47 tag directly).
|
|
70
|
-
* Cached per (locale, options) — constructing Intl.NumberFormat is expensive.
|
|
71
|
-
*/
|
|
72
|
-
declare const formatNumber: (locale: string, value: number, options?: Intl.NumberFormatOptions) => string;
|
|
73
|
-
declare const formatCurrency: (locale: string, value: number, currency: string, options?: Intl.NumberFormatOptions) => string;
|
|
74
|
-
/** Formats a ratio as a percentage (`0.125` → `"12.5%"`); 0–100 callers divide by 100 first. */
|
|
75
|
-
declare const formatPercent: (locale: string, ratio: number, options?: Intl.NumberFormatOptions) => string;
|
|
76
|
-
|
|
77
|
-
/**
|
|
78
|
-
* Locale-aware date formatters over Intl.DateTimeFormat, reading the active-locale
|
|
79
|
-
* singleton (client-only). Parsing/arithmetic stay on date-fns in the consumer.
|
|
80
|
-
*/
|
|
81
|
-
type DateFormatOptions = {
|
|
82
|
-
/** Format in the UTC time zone instead of the local one. */
|
|
83
|
-
utc?: boolean;
|
|
84
|
-
};
|
|
85
|
-
/** Medium date, e.g. "4 mar 2026" / "Mar 4, 2026". (date-fns `PP`) */
|
|
86
|
-
declare const formatDate: (date: Date, o?: DateFormatOptions) => string;
|
|
87
|
-
/** Long date, e.g. "4 de marzo de 2026". (date-fns `PPP`) */
|
|
88
|
-
declare const formatLongDate: (date: Date, o?: DateFormatOptions) => string;
|
|
89
|
-
/** Short date, e.g. "04-03-2026" (es-CL). (date-fns `P`) */
|
|
90
|
-
declare const formatShortDate: (date: Date, o?: DateFormatOptions) => string;
|
|
91
|
-
/** Medium date + short time. (date-fns `PPp`) */
|
|
92
|
-
declare const formatDateTime: (date: Date, o?: DateFormatOptions) => string;
|
|
93
|
-
/** Short time, e.g. "12:00" / "12:00 PM". (date-fns `p`) */
|
|
94
|
-
declare const formatTime: (date: Date, o?: DateFormatOptions) => string;
|
|
95
|
-
/** 24-hour time, e.g. "08:00". (date-fns `HH:mm`) */
|
|
96
|
-
declare const formatTime24h: (date: Date, o?: DateFormatOptions) => string;
|
|
97
|
-
/** Month + year, e.g. "marzo de 2026" (capitalize at the call site if needed). */
|
|
98
|
-
declare const formatMonthYear: (date: Date, o?: DateFormatOptions) => string;
|
|
99
|
-
|
|
100
72
|
/**
|
|
101
73
|
* Active locale for the pure (non-hook) formatters that can't read React context.
|
|
102
74
|
* Client-only: skipped on the server, where the module singleton is shared across
|
|
@@ -105,28 +77,21 @@ declare const formatMonthYear: (date: Date, o?: DateFormatOptions) => string;
|
|
|
105
77
|
declare const setActiveLocale: (locale: SupportedLocale) => void;
|
|
106
78
|
declare const getActiveLocale: () => SupportedLocale;
|
|
107
79
|
|
|
108
|
-
/**
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
*/
|
|
113
|
-
declare const
|
|
114
|
-
/**
|
|
115
|
-
declare const formatDuration: (duration: Duration, options?: FormatDurationOptions) => string;
|
|
116
|
-
|
|
117
|
-
/**
|
|
118
|
-
* Number/currency/percent formatters bound to the active-locale singleton, usable
|
|
119
|
-
* without the hook. `toCurrency` degrades to a number without a currency;
|
|
120
|
-
* `toPercentage` takes a 0–100 value (divides by 100).
|
|
121
|
-
*/
|
|
80
|
+
/** Number for an explicit locale. `formatNumber("es-CL", 1234.5)` → "1.234,5". */
|
|
81
|
+
declare const formatNumber: (locale: string, value: number, options?: Intl.NumberFormatOptions) => string;
|
|
82
|
+
/** Currency; falls back to a plain number on a bad code. `formatCurrency("es-CL", 1000, "CLP")` → "$1.000". */
|
|
83
|
+
declare const formatCurrency: (locale: string, value: number, currency: string, options?: Intl.NumberFormatOptions) => string;
|
|
84
|
+
/** Ratio as a percent. `formatPercent("es-CL", 0.125)` → "12,5%". (0–100 callers divide by 100 first.) */
|
|
85
|
+
declare const formatPercent: (locale: string, ratio: number, options?: Intl.NumberFormatOptions) => string;
|
|
86
|
+
/** Number in the active locale. `toNumber(1234.5)` → "1.234,5" (es-CL). */
|
|
122
87
|
declare const toNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
88
|
+
/** Currency in the active locale (plain number without a code). `toCurrency(1000, "CLP")` → "$1.000". */
|
|
123
89
|
declare const toCurrency: (value: number, currency?: string, options?: Intl.NumberFormatOptions) => string;
|
|
90
|
+
/** Percent in the active locale from a 0–100 value. `toPercentage(12.5)` → "12,5%". */
|
|
124
91
|
declare const toPercentage: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
125
92
|
/**
|
|
126
|
-
*
|
|
127
|
-
*
|
|
128
|
-
* `toNumber`/`toCurrency`/`toPercentage` directly. Reactivity relies on locale
|
|
129
|
-
* changes being `/[locale]` navigations that re-render the tree (URL-driven).
|
|
93
|
+
* Hook returning `{ toNumber, toCurrency, toPercentage }` bound to the active
|
|
94
|
+
* locale (re-keyed per locale). Back-compat — new code can import those directly.
|
|
130
95
|
*/
|
|
131
96
|
declare const useNumber: () => {
|
|
132
97
|
toNumber: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
@@ -134,6 +99,76 @@ declare const useNumber: () => {
|
|
|
134
99
|
toPercentage: (value: number, options?: Intl.NumberFormatOptions) => string;
|
|
135
100
|
};
|
|
136
101
|
|
|
102
|
+
/** Returned by the tolerant formatters when the input can't be parsed. */
|
|
103
|
+
declare const DATE_ERROR = "Invalid date";
|
|
104
|
+
/** True for a time string. `isValidTimeString("08:30")` → true. */
|
|
105
|
+
declare const isValidTimeString: (time: string) => boolean;
|
|
106
|
+
/** True for a parseable date/datetime string. `isValidDateString("2026-03-04")` → true. */
|
|
107
|
+
declare const isValidDateString: (value: string) => boolean;
|
|
108
|
+
/** Parse a date string, `null` if unparseable. `parseDate("2026-03-04")` → Date; `parseDate("x")` → null. */
|
|
109
|
+
declare const parseDate: (value: string) => Date | null;
|
|
110
|
+
/** Any date → `yyyy-MM-dd` (UTC), or `DATE_ERROR` if unparseable. `toCalendarDate(d)` → "2026-03-04". */
|
|
111
|
+
declare const toCalendarDate: (value: Date | string) => string;
|
|
112
|
+
type DateFormatOptions = {
|
|
113
|
+
/** Format in the UTC time zone instead of the local one. */
|
|
114
|
+
utc?: boolean;
|
|
115
|
+
/** Returned when the input can't be parsed to a valid date. */
|
|
116
|
+
fallback?: string;
|
|
117
|
+
};
|
|
118
|
+
/** Medium date. `formatDate("2026-03-04")` → "4 mar 2026" / "Mar 4, 2026". */
|
|
119
|
+
declare const formatDate: (value: Date | string, o?: DateFormatOptions) => string;
|
|
120
|
+
/** Long date. `formatLongDate("2026-03-04")` → "4 de marzo de 2026". */
|
|
121
|
+
declare const formatLongDate: (value: Date | string, o?: DateFormatOptions) => string;
|
|
122
|
+
/** Short date. `formatShortDate("2026-03-04")` → "04-03-26" (es-CL) / "3/4/26" (en). */
|
|
123
|
+
declare const formatShortDate: (value: Date | string, o?: DateFormatOptions) => string;
|
|
124
|
+
/** Medium date + short time. `formatDateTime(d)` → "4 mar 2026, 9:05". */
|
|
125
|
+
declare const formatDateTime: (value: Date | string, o?: DateFormatOptions) => string;
|
|
126
|
+
/** Short time. `formatTime("09:05")` → "9:05 AM" / "9:05". Accepts a bare `HH:mm` string too. */
|
|
127
|
+
declare const formatTime: (value: Date | string, o?: DateFormatOptions) => string;
|
|
128
|
+
/** 24-hour time. `formatTime24h("09:05")` → "09:05". Accepts a bare `HH:mm` string too. */
|
|
129
|
+
declare const formatTime24h: (value: Date | string, o?: DateFormatOptions) => string;
|
|
130
|
+
/** Month + year. `formatMonthYear(d, { capitalize: true })` → "Marzo de 2026". */
|
|
131
|
+
declare const formatMonthYear: (value: Date | string, o?: DateFormatOptions & {
|
|
132
|
+
capitalize?: boolean;
|
|
133
|
+
}) => string;
|
|
134
|
+
/** Weekday name in the active locale. `formatWeekday("2026-03-04")` → "miércoles" / "Wednesday". */
|
|
135
|
+
declare const formatWeekday: (value: Date | string, o?: DateFormatOptions & {
|
|
136
|
+
weekday?: "long" | "short" | "narrow";
|
|
137
|
+
}) => string;
|
|
138
|
+
/** Relative time in the active locale. `formatRelativeTime(threeDaysAgo)` → "hace 3 días" / "3 days ago". */
|
|
139
|
+
declare const formatRelativeTime: (value: Date | string, base?: Date, options?: {
|
|
140
|
+
fallback?: string;
|
|
141
|
+
}) => string;
|
|
142
|
+
type RangeOptions = {
|
|
143
|
+
utc?: boolean;
|
|
144
|
+
/** 24-hour clock when false (default true = 12h where the locale uses it). */
|
|
145
|
+
hour12?: boolean;
|
|
146
|
+
fallback?: string;
|
|
147
|
+
};
|
|
148
|
+
/** Time range. `formatTimeRange("08:00", "12:00")` → "8:00 AM - 12:00 PM" (`{hour12:false}` → "08:00 - 12:00"). */
|
|
149
|
+
declare const formatTimeRange: (start: string, end: string, options?: RangeOptions) => string;
|
|
150
|
+
/** Date + optional time range. `formatDateTimeRange("2026-10-10","10:30","14:00")` → "Oct 10, 2026 (10:30 AM - 2:00 PM)". */
|
|
151
|
+
declare const formatDateTimeRange: (date: string, startTime: string, endTime?: string, options?: {
|
|
152
|
+
fallback?: string;
|
|
153
|
+
}) => string;
|
|
154
|
+
/** Elapsed "HH:mm:ss" between `from` and `to` (default now). `formatElapsed(startedAt)` → "00:01:03"; `null` if unparseable. */
|
|
155
|
+
declare const formatElapsed: (from: Date | string, to?: Date) => string | null;
|
|
156
|
+
/**
|
|
157
|
+
* Mirrors the active locale onto date-fns's global default so ambient date-fns
|
|
158
|
+
* calls keep working with no per-call locale. Client-only; single writer:
|
|
159
|
+
* LocaleProvider (consumer apps don't call this directly).
|
|
160
|
+
*/
|
|
161
|
+
declare const syncDateFnsLocale: (locale: SupportedLocale) => void;
|
|
162
|
+
/** date-fns duration in the active locale. `formatDuration({ hours: 1, minutes: 30 })` → "1 hora 30 minutos". */
|
|
163
|
+
declare const formatDuration: (duration: Duration, options?: FormatDurationOptions) => string;
|
|
164
|
+
/** Duration from minutes. `formatDurationFromMinutes(90)` → "1 hora 30 minutos". */
|
|
165
|
+
declare const formatDurationFromMinutes: (minutes: number, options?: FormatDurationOptions, units?: {
|
|
166
|
+
hours?: boolean;
|
|
167
|
+
minutes?: boolean;
|
|
168
|
+
}) => string;
|
|
169
|
+
/** Duration from seconds. `formatDurationFromSeconds(90061)` → "1 día 1 hora 1 minuto". */
|
|
170
|
+
declare const formatDurationFromSeconds: (seconds: number, options?: FormatDurationOptions) => string;
|
|
171
|
+
|
|
137
172
|
type LocaleFlagProps = {
|
|
138
173
|
locale: SupportedLocale;
|
|
139
174
|
className?: string;
|
|
@@ -147,4 +182,4 @@ type LocaleFlagProps = {
|
|
|
147
182
|
*/
|
|
148
183
|
declare const LocaleFlag: ({ locale, className, alt, }: LocaleFlagProps) => react_jsx_runtime.JSX.Element;
|
|
149
184
|
|
|
150
|
-
export { type BackendLang, type DateFormatOptions, LOCALE_REGISTRY, type LocaleConfig, LocaleFlag, SupportedLocale, type UiLanguage, formatCurrency, formatDate, formatDateTime, formatDuration, formatLongDate, formatMonthYear, formatNumber, formatPercent, formatShortDate, formatTime, formatTime24h, getActiveLocale, getBackendLang, getDateFnsLocale, getIntlTag, getLanguageName, getLocaleConfig, pickTranslation, setActiveLocale, syncDateFnsLocale, toCurrency, toNumber, toPercentage, useNumber };
|
|
185
|
+
export { type BackendLang, DATE_ERROR, type DateFormatOptions, LOCALE_REGISTRY, type LocaleConfig, LocaleFlag, SupportedLocale, type UiLanguage, formatCurrency, formatDate, formatDateTime, formatDateTimeRange, formatDuration, formatDurationFromMinutes, formatDurationFromSeconds, formatElapsed, formatLongDate, formatMonthYear, formatNumber, formatPercent, formatRelativeTime, formatShortDate, formatTime, formatTime24h, formatTimeRange, formatWeekday, getActiveLocale, getBackendLang, getDateFnsLocale, getIntlTag, getLanguageName, getLocaleConfig, isValidDateString, isValidTimeString, parseDate, pickTranslation, setActiveLocale, syncDateFnsLocale, toCalendarDate, toCurrency, toNumber, toPercentage, useNumber };
|
package/dist/locale.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import {c as c$1,i}from'./chunk-
|
|
2
|
-
export{
|
|
1
|
+
import {c as c$1,i as i$1}from'./chunk-ASI5GI52.js';export{j as DATE_ERROR,a as LOCALE_REGISTRY,o as formatDate,r as formatDateTime,y as formatDateTimeRange,B as formatDuration,C as formatDurationFromMinutes,D as formatDurationFromSeconds,z as formatElapsed,p as formatLongDate,u as formatMonthYear,w as formatRelativeTime,q as formatShortDate,s as formatTime,t as formatTime24h,x as formatTimeRange,v as formatWeekday,i as getActiveLocale,e as getBackendLang,d as getDateFnsLocale,c as getIntlTag,g as getLanguageName,b as getLocaleConfig,l as isValidDateString,k as isValidTimeString,m as parseDate,f as pickTranslation,h as setActiveLocale,A as syncDateFnsLocale,n as toCalendarDate}from'./chunk-ASI5GI52.js';import {useMemo}from'react';import {jsx}from'react/jsx-runtime';var u=["en","es","pt","es-MX","es-CL"],F=new Set(u),n=t=>F.has(t),o1=(t,r="en")=>{if(t&&n(t))return t;let e=t?.split("-")[0];return e&&n(e)?e:r};var s=new Map,i=(t,r)=>{let e=`${t}:${JSON.stringify(r??{})}`,l=s.get(e);return l||(l=new Intl.NumberFormat(t,r),s.set(e,l)),l},a=(t,r,e)=>i(t,e).format(r),x=(t,r,e,l)=>{try{return i(t,{style:"currency",currency:e,...l}).format(r)}catch{return a(t,r,l)}},z=(t,r,e)=>i(t,{style:"percent",...e}).format(r),f=(t,r)=>a(c$1(i$1()),t,r),M=(t,r,e)=>r?x(c$1(i$1()),t,r,e):f(t,e),w=(t,r)=>z(c$1(i$1()),t/100,{maximumFractionDigits:2,...r}),a1=()=>{let t=i$1();return useMemo(()=>({toNumber:(r,e)=>f(r,e),toCurrency:(r,e,l)=>M(r,e,l),toPercentage:(r,e)=>w(r,e)}),[t])};var m='data:image/svg+xml,<svg width="32" height="33" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23prefix__clip0_1899_1155)"><path d="M16.001 32.5c8.836 0 16.001-7.163 16.001-16.001C32.002 7.66 24.837.5 16.002.5 7.165.5 0 7.663 0 16.501c0 8.838 7.163 16.001 16.001 16.001V32.5z" fill="%236DA544"/><path d="M16 6.76l13.218 9.741-13.217 9.74-13.22-9.74 13.217-9.74h.003z" fill="%23FFDA44"/><path d="M16.002 22.064a5.564 5.564 0 005.565-5.565 5.564 5.564 0 00-5.566-5.566 5.564 5.564 0 00-5.565 5.566 5.564 5.564 0 005.566 5.565z" fill="%23F0F0F0"/><path d="M13.217 16.152c-.967 0-1.902.147-2.781.421a5.565 5.565 0 0010.122 3.122 9.38 9.38 0 00-7.34-3.54v-.003zM21.462 17.566a5.564 5.564 0 00-5.463-6.63 5.568 5.568 0 00-5.114 3.367 11.45 11.45 0 0110.575 3.26l.002.003z" fill="%230052B4"/></g><defs><clipPath id="prefix__clip0_1899_1155"><path fill="%23fff" transform="translate(0 .5)" d="M0 0h32v32H0z"/></clipPath></defs></svg>';var c='data:image/svg+xml,<svg width="32" height="32" fill="none" xmlns="http://www.w3.org/2000/svg"><rect x=".5" y=".5" width="31" height="31" rx="15.5" stroke="%23fff"/><path d="M16 31c8.284 0 15-6.716 15-15 0-8.284-6.716-15-15-15C7.716 1 1 7.716 1 16c0 8.284 6.716 15 15 15z" fill="%23F6F5F5"/><path d="M31 16c0 8.284-6.716 15-15 15-8.284 0-15-6.716-15-15 0-8.284 15 0 15 0h15z" fill="%23D80027"/><path d="M1 16C1 7.716 7.716 1 16 1v15H1z" fill="%230052B4"/><path d="M9.929 6.217l.971 2.99h3.143l-2.542 1.847.97 2.99-2.542-1.848-2.543 1.848.971-2.99-2.542-1.847h3.143l.971-2.99z" fill="%23F6F5F5"/></svg>';var h='data:image/svg+xml,<svg width="32" height="33" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23prefix__clip0_1899_1166)"><path d="M0 16.501c0 1.956.349 3.833.993 5.566L16 23.457l15.006-1.39c.644-1.733.993-3.608.993-5.566 0-1.958-.35-3.833-.993-5.565L15.999 9.545.993 10.935A15.934 15.934 0 000 16.502z" fill="%23FFDA44"/><path d="M31.007 10.936C28.744 4.842 22.88.5 16 .5 9.121.5 3.256 4.842.993 10.936h30.014zM.993 22.064C3.256 28.158 9.12 32.5 16 32.5c6.88 0 12.745-4.342 15.006-10.436H.993z" fill="%23D80027"/></g><defs><clipPath id="prefix__clip0_1899_1166"><path fill="%23fff" transform="translate(0 .5)" d="M0 0h32v32H0z"/></clipPath></defs></svg>';var g='data:image/svg+xml,<svg width="32" height="33" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23prefix__clip0_1899_1170)"><path d="M16.001 32.5c8.838 0 16.001-7.163 16.001-16.001C32.002 7.66 24.84.5 16.002.5 7.162.5 0 7.663 0 16.501c0 8.838 7.163 16.001 16.001 16.001V32.5z" fill="%23F0F0F0"/><path d="M32 16.501c0-6.342-3.693-11.824-9.044-14.413v28.826C28.305 28.325 32 22.844 32 16.5z" fill="%23D80027"/><path d="M0 16.501c0 6.342 3.693 11.824 9.045 14.413V2.088C3.693 4.675 0 10.157 0 16.501zM11.824 16.501a4.176 4.176 0 008.35 0v-1.39h-8.35v1.39z" fill="%236DA544"/><path d="M21.562 13.717h-4.167a1.392 1.392 0 00-2.787 0h-4.167c0 .768.67 1.391 1.437 1.391h-.051c0 .768.625 1.39 1.393 1.39 0 .768.618 1.392 1.388 1.392h2.789c.77 0 1.388-.624 1.388-1.391.77 0 1.393-.623 1.393-1.39h-.05c.77 0 1.437-.624 1.437-1.392h-.003z" fill="%23FF9811"/></g><defs><clipPath id="prefix__clip0_1899_1170"><path fill="%23fff" transform="translate(0 .5)" d="M0 0h32v32H0z"/></clipPath></defs></svg>';var d='data:image/svg+xml,<svg width="32" height="33" fill="none" xmlns="http://www.w3.org/2000/svg"><g clip-path="url(%23prefix__clip0_1899_1195)"><path d="M16 32.5c8.837 0 16-7.163 16-16S24.837.5 16 .5 0 7.663 0 16.5s7.163 16 16 16z" fill="%23F0F0F0"/><path d="M15.304 16.5H32c0-1.444-.192-2.843-.551-4.174H15.304V16.5zM15.304 8.152h14.348a16.084 16.084 0 00-3.692-4.174H15.304v4.174zM16 32.5c3.766 0 7.227-1.302 9.96-3.478H6.04A15.932 15.932 0 0016 32.5zM2.348 24.848h27.304a15.901 15.901 0 001.797-4.174H.55a15.903 15.903 0 001.797 4.174z" fill="%23D80027"/><path d="M7.412 2.999H8.87l-1.357.985.518 1.594-1.356-.985-1.356.985.447-1.377A16.088 16.088 0 002.663 7.66h.467l-.863.627c-.134.224-.263.452-.387.683l.412 1.27-.769-.56c-.191.405-.366.82-.523 1.242l.454 1.398H3.13l-1.356.986.518 1.594-1.356-.985-.812.59C.042 15.159 0 15.825 0 16.5h16V.5c-3.16 0-6.107.917-8.588 2.499zm.62 11.901l-1.357-.985-1.356.985.518-1.594-1.356-.986h1.676l.518-1.594.518 1.594H8.87l-1.357.986.518 1.594zm-.519-6.255l.518 1.594-1.356-.985-1.356.985.518-1.594-1.356-.985h1.676l.518-1.595.518 1.595H8.87l-1.357.985zm6.258 6.255l-1.357-.985-1.356.985.518-1.594-1.356-.986h1.676l.518-1.594.518 1.594h1.677l-1.357.986.518 1.594zm-.519-6.255l.518 1.594-1.356-.985-1.356.985.518-1.594-1.356-.985h1.676l.518-1.595.518 1.595h1.677l-1.357.985zm0-4.661l.518 1.594-1.356-.985-1.356.985.518-1.594-1.356-.985h1.676l.518-1.595L12.932 3h1.677l-1.357.985z" fill="%230052B4"/></g><defs><clipPath id="prefix__clip0_1899_1195"><path fill="%23fff" transform="translate(0 .5)" d="M0 0h32v32H0z"/></clipPath></defs></svg>';var N={en:d,es:h,pt:m,"es-MX":g,"es-CL":c},M1=({locale:t,className:r,alt:e=""})=>jsx("img",{src:N[t],alt:e,className:r,width:32,height:32});
|
|
2
|
+
export{M1 as LocaleFlag,u as SUPPORTED_LOCALES,x as formatCurrency,a as formatNumber,z as formatPercent,n as isSupportedLocale,o1 as resolveSupportedLocale,M as toCurrency,f as toNumber,w as toPercentage,a1 as useNumber};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "sodtrack-web-ui",
|
|
3
|
-
"version": "0.110.
|
|
3
|
+
"version": "0.110.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "UI components for Sodtrack Web",
|
|
6
6
|
"exports": {
|
|
@@ -44,6 +44,7 @@
|
|
|
44
44
|
},
|
|
45
45
|
"dependencies": {
|
|
46
46
|
"@ark-ui/react": "5.37.0",
|
|
47
|
+
"@date-fns/utc": "2.1.1",
|
|
47
48
|
"@fontsource-variable/inter": "5.2.8",
|
|
48
49
|
"@fontsource-variable/plus-jakarta-sans": "5.2.8",
|
|
49
50
|
"@lexical/html": "0.40.0",
|
package/dist/chunk-NO65QFSV.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {h,j,c}from'./chunk-RWMFNW7N.js';import {LocaleProvider}from'@ark-ui/react/locale';import {jsx}from'react/jsx-runtime';var L=({locale:o,children:p})=>(h(o),j(o),jsx(LocaleProvider,{locale:c(o),children:p}));export{L as a};
|
package/dist/chunk-RWMFNW7N.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import {es,ptBR,enUS}from'date-fns/locale';import {setDefaultOptions,formatDuration}from'date-fns';var a={en:{intlTag:"en-US",dateFns:enUS,uiLanguage:"en",backendLang:"en"},es:{intlTag:"es",dateFns:es,uiLanguage:"es",backendLang:"es"},pt:{intlTag:"pt-BR",dateFns:ptBR,uiLanguage:"pt",backendLang:"pt"},"es-MX":{intlTag:"es-MX",dateFns:es,uiLanguage:"es",backendLang:"es"},"es-CL":{intlTag:"es-CL",dateFns:es,uiLanguage:"es",backendLang:"es"}},m=e=>a[e],S=e=>a[e].intlTag,p=e=>a[e].dateFns,D=e=>a[e].backendLang,F=(e,t)=>e[t]??e[a[t].uiLanguage],s=new Map,x=(e,t=e)=>{let o=s.get(t);o||(o=new Intl.DisplayNames([t],{type:"language"}),s.set(t,o));let r=o.of(e)??e;return r.charAt(0).toUpperCase()+r.slice(1)};var c="en",k=e=>{typeof window>"u"||(c=e);},i=()=>c;var g,v=e=>{typeof window>"u"||g===e||(g=e,setDefaultOptions({locale:p(e)}));},w=(e,t)=>formatDuration(e,{locale:p(i()),...t});export{a,m as b,S as c,p as d,D as e,F as f,x as g,k as h,i,v as j,w as k};
|