MCPcopy Create free account

hub / github.com/YeShengDe/AddressGeneratorFe / functions

Functions143 in github.com/YeShengDe/AddressGeneratorFe

↓ 60 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:163
↓ 17 callersFunctionpickFirst
(...values: Array<string | undefined>)
src/lib/user-profile.ts:271
↓ 10 callersFunctionwithFakerFallback
( primary: () => T, fallback: () => T, finalValue: T )
src/lib/utils.ts:119
↓ 9 callersFunctioncopyToClipboard
( text: string | null | undefined, label: string )
src/app/(mian)/_components/user-generator.tsx:100
↓ 9 callersMethodget
( url: string, params?: Record<string, string | number | boolean>, options?: Omit<RequestOptions,
src/lib/request.ts:123
↓ 9 callersFunctionnormalizeLocalizedAddressValue
( value: string | undefined, countryCode?: string )
src/lib/user-profile.ts:160
↓ 8 callersFunctiongetPerson
(country_code: string)
src/lib/utils.ts:212
↓ 8 callersFunctionnormalizeCountryCode
(countryCode?: string)
src/lib/user-profile.ts:142
↓ 7 callersFunctionuseResponsiveDialogContext
()
src/components/ui/responsive-dialog.tsx:18
↓ 6 callersMethodrequest
( url: string, options: RequestOptions = {} )
src/lib/request.ts:56
↓ 5 callersFunctionsanitizeEmailLocalPart
(value: string)
src/lib/user-profile.ts:150
↓ 4 callersFunctionformatPersonName
( user: Pick<IUser.asObject, 'firstname' | 'lastname' | 'address'> )
src/lib/user-profile.ts:391
↓ 4 callersFunctiongetGeneratedAt
(user: IUser.asObject)
src/app/(mian)/_store.ts:27
↓ 4 callersFunctiongetRandomCoor
( target?: string | RandomCoordinateTarget, radiusScale = 1 )
src/lib/utils.ts:173
↓ 4 callersFunctiontoRadians
(value: number)
src/app/(mian)/_lib/random-address.ts:123
↓ 4 callersFunctionuniqueParts
(values: Array<string | undefined>)
src/lib/user-profile.ts:283
↓ 3 callersFunctiongetReverseQueryKey
( coord: [number, number], countryCode?: string )
src/app/(mian)/_lib/random-address.ts:108
↓ 3 callersFunctionhydrateUserWithReverseGeocode
( user: IUser.asObject, result: IUser.getCoorAddressResponse )
src/app/(mian)/_lib/random-address.ts:219
↓ 2 callersFunctionadapterLocalFromCnCode
(countryCode: string)
src/app/(mian)/_api.ts:11
↓ 2 callersFunctioncapitalizeWord
(value: string)
src/lib/user-profile.ts:138
↓ 2 callersFunctioncontainsEastAsianScript
(value: string)
src/lib/user-profile.ts:146
↓ 2 callersFunctiongenerateValidatedRandomAddress
( queryClient: QueryClient, target?: string | RandomCoordinateTarget, onProgress?: (progress: RandomAddr
src/app/(mian)/_lib/random-address.ts:235
↓ 2 callersFunctiongetCoorAddress
(params: IUser.getCoorAddressRequest)
src/app/(mian)/_api.ts:15
↓ 2 callersFunctiongetCountryLocale
(countryCode: string)
src/lib/population/index.ts:76
↓ 2 callersFunctiongetLocaleFaker
(countryCode: string)
src/lib/utils.ts:158
↓ 2 callersFunctiongetPopulationCentersByCountry
(countryCode: string)
src/lib/population/index.ts:80
↓ 2 callersFunctionhandleLocationSelect
(lat: number, lng: number)
src/app/(mian)/_components/map-component.tsx:266
↓ 2 callersFunctionnormalizeCountryCode
(countryCode?: string)
src/app/(mian)/_lib/random-address.ts:119
↓ 2 callersFunctionprint
(key: string, value: string)
src/components/build-info.tsx:6
↓ 2 callersFunctionuseDebounce
(value: T, delay = 300)
src/hooks/use-debounce.ts:3
↓ 2 callersFunctionuseMobile
()
src/hooks/use-mobile.ts:5
↓ 1 callersFunctionbuildStreetLine
(address: Address)
src/lib/user-profile.ts:249
↓ 1 callersMethodbuildURL
(url: string, params?: Record<string, unknown>)
src/lib/request.ts:37
↓ 1 callersFunctioncheckDevice
()
src/hooks/use-mobile.ts:9
↓ 1 callersFunctionfallbackPhoneGrouping
(value: string)
src/lib/user-profile.ts:221
↓ 1 callersFunctionformatAddressPrimaryLine
(address: Address)
src/lib/user-profile.ts:411
↓ 1 callersFunctionformatGeneratedTime
(value?: string)
src/app/(mian)/_components/history-drawer.tsx:34
↓ 1 callersFunctiongenerateLocalizedSurname
(faker: Faker, countryCode?: string)
src/lib/localized-name.ts:102
↓ 1 callersFunctiongenerateMemorableStrongPassword
()
src/lib/user-profile.ts:335
↓ 1 callersFunctiongeneratePreferredEmail
( localFaker: Faker, firstName: string, lastName: string, birthday: string )
src/lib/user-profile.ts:305
↓ 1 callersFunctiongenerateReadablePhoneNumber
( localFaker: Faker, countryCode: string )
src/lib/user-profile.ts:349
↓ 1 callersFunctiongetAddressMetaItems
(address: Address)
src/lib/user-profile.ts:451
↓ 1 callersFunctiongetAvatarDownloadName
( user: Pick<IUser.asObject, 'firstname' | 'lastname' | 'address'> )
src/lib/user-profile.ts:675
↓ 1 callersFunctiongetBirthdayDisplay
(value?: string)
src/lib/user-profile.ts:612
↓ 1 callersFunctiongetCurrentLayerOption
()
src/app/(mian)/_components/map-layer-control.tsx:82
↓ 1 callersFunctiongetDistanceMeters
(start: [number, number], end: [number, number])
src/app/(mian)/_lib/random-address.ts:131
↓ 1 callersFunctiongetGenderDisplay
(value?: string)
src/lib/user-profile.ts:635
↓ 1 callersFunctiongetGeoAcceptLanguage
(countryCode: string)
src/lib/utils.ts:139
↓ 1 callersFunctiongetLocalfromCountryCode
(countryCode: string)
src/lib/utils.ts:135
↓ 1 callersFunctiongetNameFaker
(countryCode: string)
src/lib/utils.ts:196
↓ 1 callersFunctiongetPopulationBoundsByCountry
(countryCode: string)
src/lib/population/index.ts:84
↓ 1 callersFunctiongetPopulationCountry
(countryCode: string)
src/lib/population/index.ts:72
↓ 1 callersFunctiongetRandomPopulationCenter
(countryCode?: string)
src/lib/population/index.ts:120
↓ 1 callersFunctiongetResolvedReverseCoord
(result: IUser.getCoorAddressResponse)
src/app/(mian)/_lib/random-address.ts:172
↓ 1 callersFunctiongetSearchAddress
(params: IUser.getSearchAddressRequest)
src/app/(mian)/_api.ts:25
↓ 1 callersFunctiongetTargetCountryCode
(target?: string | RandomCoordinateTarget)
src/app/(mian)/_lib/random-address.ts:115
↓ 1 callersFunctiongroupDigits
(value: string, groups: number[])
src/lib/user-profile.ts:199
↓ 1 callersFunctionhandleLayerChange
(layer: LayerOption)
src/app/(mian)/_components/map-layer-control.tsx:77
↓ 1 callersFunctionhandleSelectUser
(user: IUser.asObject)
src/app/(mian)/_components/history-drawer.tsx:68
↓ 1 callersFunctionhasLocalityContext
(address: IUser.getCoorAddressResponse['address'])
src/app/(mian)/_lib/random-address.ts:145
↓ 1 callersFunctionhasStreetLevelAddress
( address: IUser.getCoorAddressResponse['address'] )
src/app/(mian)/_lib/random-address.ts:152
↓ 1 callersFunctioninitializeAddress
()
src/app/(mian)/page.tsx:44
↓ 1 callersFunctionisCoarseAreaResult
(result: IUser.getCoorAddressResponse)
src/app/(mian)/_lib/random-address.ts:166
↓ 1 callersFunctionisEastAsianName
( user: Pick<IUser.asObject, 'firstname' | 'lastname' | 'address'> )
src/lib/user-profile.ts:239
↓ 1 callersFunctionisWaterLike
(result: IUser.getCoorAddressResponse)
src/app/(mian)/_lib/random-address.ts:158
↓ 1 callersFunctionnormalizeCountryCode
(countryCode?: string)
src/lib/localized-name.ts:98
↓ 1 callersFunctionnormalizeReverseGeocodeAddress
( osmAddress: ReverseAddress, fallbackAddress: Address )
src/lib/user-profile.ts:500
↓ 1 callersFunctionpickAddressMetaConfig
(countryCode?: string)
src/lib/user-profile.ts:298
↓ 1 callersMethodput
( url: string, data?: B, options?: Omit<RequestOptions, 'data'> )
src/lib/request.ts:141
↓ 1 callersFunctionresolveValidatedCoord
( requestedCoord: [number, number], result: IUser.getCoorAddressResponse, expectedCountryCode?: string )
src/app/(mian)/_lib/random-address.ts:176
↓ 1 callersFunctionsleep
(ms: number)
src/app/(mian)/_lib/random-address.ts:127
↓ 1 callersFunctionsortHistoryByGeneratedAt
(users: IUser.asObject[])
src/app/(mian)/_store.ts:31
↓ 1 callersFunctiontrimOrPadDigits
(value: string, length: number)
src/lib/user-profile.ts:191
↓ 1 callersFunctionuseShare
()
src/hooks/use-share.ts:5
FunctionBadge
({ className, variant, ...props }: BadgeProps)
src/components/ui/badge.tsx:30
FunctionDialogFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:70
FunctionDialogHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/dialog.tsx:56
FunctionDrawer
({ shouldScaleBackground = true, ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>)
src/components/ui/drawer.tsx:8
FunctionDrawerFooter
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/drawer.tsx:69
FunctionDrawerHeader
({ className, ...props }: React.HTMLAttributes<HTMLDivElement>)
src/components/ui/drawer.tsx:58
FunctionFooter
()
src/components/footer.tsx:5
FunctionHeader
()
src/components/header.tsx:3
FunctionHistoryDrawer
()
src/app/(mian)/_components/history-drawer.tsx:51
FunctionHoverHint
({ text }: { text: string })
src/app/(mian)/_components/user-generator.tsx:47
FunctionHoverTooltip
({ text, children }: HoverTooltipProps)
src/app/(mian)/_components/map-search.tsx:138
FunctionMapAlert
()
src/app/(mian)/_components/map-tips.tsx:5
FunctionMapClickHandler
()
src/app/(mian)/_components/map-component.tsx:286
FunctionMapComponent
({ lat, lon, }: { lat?: number; lon?: number; })
src/app/(mian)/_components/map-component.tsx:59
FunctionMapLayerControl
({ onLayerChange, currentLayer, }: MapLayerControlProps)
src/app/(mian)/_components/map-layer-control.tsx:61
FunctionMapRefHandler
()
src/app/(mian)/_components/map-component.tsx:279
FunctionMapSearch
({ onLocationSelect, onGenerateAddress, disabled = false, }: MapSearchProps)
src/app/(mian)/_components/map-search.tsx:153
FunctionPage
({ loading = false, overlay = false, subtitle, title = '一个野生的地址生成器', }: LogoPageProps)
src/components/logo-page.tsx:11
FunctionPage
()
src/components/build-info.tsx:4
FunctionPage
({ children }: React.PropsWithChildren)
src/components/providers/index.tsx:3
FunctionPage
()
src/app/(mian)/page.tsx:26
FunctionPage
({ children }: { children: React.ReactNode })
src/app/(mian)/layout.tsx:3
FunctionQueryProvider
({ children }: React.PropsWithChildren)
src/components/providers/query.tsx:6
FunctionResponsiveDialog
({ children, ...props }: React.ComponentProps<typeof DialogPrimitive.Root>)
src/components/ui/responsive-dialog.tsx:30
FunctionResponsiveDialogClose
({ children, ...props }: React.ComponentProps<typeof DialogPrimitive.Close>)
src/components/ui/responsive-dialog.tsx:54
FunctionResponsiveDialogContent
({ className, children, ...props }: React.ComponentPropsWithoutRef<typeof DialogPrimitive.Content>)
src/components/ui/responsive-dialog.tsx:64
next →1–100 of 143, ranked by callers