MCPcopy Create free account

hub / github.com/MoH-Malaysia/kkmnow-front / functions

Functions562 in github.com/MoH-Malaysia/kkmnow-front

↓ 566 callersFunctiont
(key: string)
packages/datagovmy-nextra/src/utils/hooks.ts:57
↓ 138 callersFunctionclx
(...args: ClassNameValue[])
packages/datagovmy-ui/src/lib/helpers.ts:13
↓ 102 callersFunctionnumFormat
( value: number, type: "compact" | "standard" | "scientific" | "engineering" | undefined = "compact", pr
packages/datagovmy-ui/src/lib/helpers.ts:78
↓ 77 callersFunctionsetData
(key: string, value: any)
packages/datagovmy-ui/src/hooks/useData.ts:35
↓ 44 callersFunctionuseTranslation
()
packages/datagovmy-nextra/src/utils/hooks.ts:44
↓ 38 callersFunctionuseTranslation
(namespace?: string[] | string)
packages/datagovmy-ui/src/hooks/useTranslation.ts:9
↓ 32 callersFunctiontoDate
( timestamp: number | string, format: string = "dd MMM yyyy", locale: string = "en-GB" )
packages/datagovmy-ui/src/lib/helpers.ts:148
↓ 25 callersFunctionrenderComponent
(ComponentOrNode: FC<T> | ReactNode, props?: T)
packages/datagovmy-nextra/src/utils/render.tsx:3
↓ 22 callersFunctionuseConfig
()
packages/datagovmy-nextra/src/contexts/config.tsx:21
↓ 17 callersFunctionwithi18n
( namespace: string | string[] | null, getProps: (ctx: T) => Promise<ResolvedProps<MetaPage>>, option?:
packages/datagovmy-ui/src/lib/decorators.ts:28
↓ 16 callersFunctionuseData
(data: Record<string, any> = {})
packages/datagovmy-ui/src/hooks/useData.ts:16
↓ 15 callersFunctionget
( route: string, params?: Record<string, any>, base: BaseURL = "api", headers: Record<string, string>
packages/datagovmy-ui/src/lib/api.ts:47
↓ 12 callersFunctiontrack
(id: string, type: Meta["type"], metric: MetricType)
packages/datagovmy-ui/src/contexts/analytics.tsx:179
↓ 11 callersFunctionmakePrimaryColor
packages/datagovmy-nextra/tailwind.config.js:5
↓ 11 callersFunctionrenderString
( stringOrFunction?: string | ((props: T) => string), // @ts-expect-error TS2322: Type '{}' is not assigna
packages/datagovmy-nextra/src/utils/render.tsx:10
↓ 9 callersFunctiondownload
(url: string, title: string)
packages/datagovmy-ui/src/lib/helpers.ts:286
↓ 8 callersFunctionmockAndRenderHook
({ asPath, locale, route, }: { asPath: string; locale?: string; route?: string; })
packages/datagovmy-nextra/__test__/use-fs-route.spec.ts:11
↓ 7 callersFunctioninterpolate
(raw_text: string)
packages/datagovmy-ui/src/lib/helpers.ts:342
↓ 7 callersFunctionpercentFill
(value: number)
packages/datagovmy-ui/src/charts/bar-meter.tsx:44
↓ 7 callersFunctionuseSlice
(state: Record<string, number[]>, minmax?: [number, number])
packages/datagovmy-ui/src/hooks/useSlice.ts:9
↓ 6 callersFunctioninstance
(base: BaseURL, headers: Record<string, string> = {})
packages/datagovmy-ui/src/lib/api.ts:16
↓ 6 callersFunctionrecurDataMapping
( key: string, value: string | string[], dataset: Record<string, any>[] )
packages/datagovmy-ui/src/lib/helpers.ts:405
↓ 6 callersFunctionuseWatch
(fn: Function, deps: DependencyList = [], runOnMount: boolean = false)
packages/datagovmy-ui/src/hooks/useWatch.ts:10
↓ 5 callersFunctionUNIVERSAL_TABLE_SCHEMA
( column: string[], translations: Record<string, string>, freezeKeys?: string[], accessorFn?: (item: a
packages/datagovmy-ui/src/lib/schema/data-catalogue.tsx:11
↓ 5 callersFunctioncalcMaxScore
(arr: TableRow[])
packages/datagovmy-ui/src/misc/odin/OdinMetric.tsx:49
↓ 5 callersFunctioncalcScore
(arr: TableRow[])
packages/datagovmy-ui/src/misc/odin/OdinMetric.tsx:45
↓ 5 callersFunctioncancelTimer
()
packages/datagovmy-ui/src/components/Slider/index.tsx:122
↓ 5 callersFunctiondisplay
( value: number, type: "compact" | "standard", precision: number | [number, number] )
packages/datagovmy-ui/src/charts/bar.tsx:103
↓ 5 callersFunctionuseMenu
()
packages/datagovmy-nextra/src/contexts/menu.ts:14
↓ 4 callersFunctiondisplay
( value: number, type: "compact" | "standard", precision: number | [number, number] )
packages/datagovmy-ui/src/charts/scatter.tsx:80
↓ 4 callersFunctionfilterYears
(start: number, end: number)
packages/datagovmy-ui/src/data-catalogue/Main/index.tsx:244
↓ 4 callersFunctiongetURL
(url: string, edition: string)
packages/datagovmy-ui/src/data-catalogue/Show/index.tsx:199
↓ 4 callersFunctionuseAnalytics
(dataset: any)
packages/datagovmy-ui/src/hooks/useAnalytics.ts:8
↓ 3 callersFunctioncalcStickyLeft
(cellId: string)
packages/datagovmy-ui/src/charts/table.tsx:187
↓ 3 callersFunctiondefineConfig
(namespace, autoloadNs)
packages/datagovmy-ui/src/i18n/index.cjs:5
↓ 3 callersFunctiongetGitIssueUrl
({ repository = "", title, labels, }: { repository?: string; title: string; labels?: string; })
packages/datagovmy-nextra/src/utils/get-git-issue-url.ts:3
↓ 3 callersFunctiongetRollingToken
()
packages/datagovmy-ui/src/lib/api-edge.ts:8
↓ 3 callersFunctiongetTopIndices
( arr: number[], n: number, desc = true, mysIndex: number = -1 )
packages/datagovmy-ui/src/lib/helpers.ts:243
↓ 3 callersFunctionisEmpty
(obj: Object)
packages/datagovmy-ui/src/lib/schema/data-catalogue.tsx:113
↓ 3 callersFunctionisTouchEvent
( event: MouseEvent<HTMLDivElement> | TouchEvent<HTMLDivElement> | WheelEvent<HTMLDivElement> )
packages/datagovmy-ui/src/hooks/useZoom.ts:176
↓ 3 callersFunctionopen
()
packages/datagovmy-ui/src/components/Nav/index.tsx:61
↓ 3 callersFunctionreset
(overridingState?: Record<string, any>)
packages/datagovmy-ui/src/hooks/useData.ts:39
↓ 3 callersFunctionsortMsiaFirst
(array: Array<any>, key?: string)
packages/datagovmy-ui/src/lib/helpers.ts:183
↓ 3 callersFunctiontrack
(event: EventType, prop?: Record<string, any>)
packages/datagovmy-ui/src/lib/mixpanel.ts:8
↓ 3 callersFunctionuseColor
(key: Color)
packages/datagovmy-ui/src/hooks/useColor.ts:83
↓ 3 callersFunctionuseFilter
( state: Record<string, any> = {}, params = {}, sequential: boolean = false )
packages/datagovmy-ui/src/hooks/useFilter.ts:15
↓ 3 callersFunctionyieldValue
(key: string)
packages/datagovmy-ui/src/lib/schema/data-catalogue.tsx:17
↓ 2 callersFunctionappendPlusMinus
(delta: number)
packages/datagovmy-ui/src/charts/stages.tsx:219
↓ 2 callersFunctionaverage
(values: number[])
packages/datagovmy-ui/src/lib/helpers.ts:440
↓ 2 callersFunctionbadgeColor
(delta: number, inverse: boolean = false)
packages/datagovmy-ui/src/charts/stages.tsx:223
↓ 2 callersFunctioncolor
()
packages/datagovmy-ui/src/charts/donut-meter.tsx:8
↓ 2 callersFunctiondisplay
( value: number, type: "compact" | "standard", precision: number | [min: number, max: number] )
packages/datagovmy-ui/src/charts/heatmap.tsx:82
↓ 2 callersFunctiondisplay
( value: number, type: typeof displayType, precision: number | [min: number, max: number] )
packages/datagovmy-ui/src/charts/timeseries.tsx:175
↓ 2 callersFunctiondisplay
(value: number, type: "compact" | "standard")
packages/datagovmy-ui/src/charts/pyramid.tsx:50
↓ 2 callersFunctiondisplayValue
()
packages/datagovmy-ui/src/charts/table.tsx:234
↓ 2 callersFunctiongenerateSchema
( key: string, value: any, accessorFn?: (item: any, key: string) => string )
packages/datagovmy-ui/src/lib/schema/data-catalogue.tsx:99
↓ 2 callersFunctiongetCitationData
(type: (typeof citationList)[number] | (typeof bibtexList)[number])
packages/datagovmy-ui/src/components/Modal/PublicationModal.tsx:358
↓ 2 callersFunctiongetPrecision
(precision?: number | Precision)
packages/datagovmy-ui/src/charts/table.tsx:216
↓ 2 callersFunctiongroupBounds
(group: Bounds[])
packages/datagovmy-ui/src/charts/timeseries.tsx:284
↓ 2 callersFunctionhandleChange
(options: any)
packages/datagovmy-ui/src/components/Dropdown/Select.tsx:48
↓ 2 callersFunctionhandleChange
(options: any)
packages/datagovmy-ui/src/components/Dropdown/index.tsx:90
↓ 2 callersFunctioninstance
(base: "ai" | "app", headers: Record<string, string> = {})
packages/datagovmy-nextra/src/utils/api.ts:12
↓ 2 callersFunctionisDisabled
(type: "begin" | "end", value: string, selected?: string)
packages/datagovmy-ui/src/components/Dropdown/Daterange.tsx:81
↓ 2 callersFunctionlimitMax
(e: number, max: number = 100)
packages/datagovmy-ui/src/lib/helpers.ts:45
↓ 2 callersFunctionloadIndexes
(basePath: string, locale: string)
packages/datagovmy-nextra/src/components/flexsearch.tsx:54
↓ 2 callersFunctionmaxBy
(array: Array<any>, key: string)
packages/datagovmy-ui/src/lib/helpers.ts:23
↓ 2 callersFunctionminMax
(values: Array<number | null>)
packages/datagovmy-ui/src/lib/helpers.ts:55
↓ 2 callersFunctionnormalizeZodMessage
(error: unknown)
packages/datagovmy-nextra/src/contexts/config.tsx:29
↓ 2 callersFunctionparseCookies
(cookie: string)
packages/datagovmy-ui/src/lib/helpers.ts:386
↓ 2 callersFunctionrelativeColor
(delta: number, inverse: boolean = false)
packages/datagovmy-ui/src/charts/table.tsx:85
↓ 2 callersFunctionscale
(value: number)
apps/kkmnow/dashboards/hospital-bed-utilisation/index.tsx:98
↓ 2 callersFunctionscaleColor
(value: number)
packages/datagovmy-ui/src/charts/table.tsx:95
↓ 2 callersFunctionscrollToBottom
()
packages/datagovmy-nextra/src/components/ai-helper.tsx:166
↓ 2 callersFunctionscrollToChart
()
packages/datagovmy-ui/src/data-catalogue/Show/charts-table.tsx:182
↓ 2 callersFunctionstandardDeviation
(values: number[])
packages/datagovmy-ui/src/lib/helpers.ts:442
↓ 2 callersFunctionsubmitPrompt
(prompt: string)
packages/datagovmy-nextra/src/components/ai-helper.tsx:171
↓ 2 callersFunctiontitleConfig
(axis: string | undefined)
packages/datagovmy-ui/src/charts/scatter.tsx:88
↓ 2 callersFunctionupdateMeta
(props, lang)
plopfile.js:11
↓ 2 callersFunctionuseActiveAnchor
()
packages/datagovmy-nextra/src/contexts/active-anchor.tsx:24
↓ 2 callersFunctionuseIndent
()
packages/datagovmy-nextra/src/components/file-tree.tsx:7
↓ 2 callersFunctionwrap
(children: ReactNode, _url?: string)
packages/datagovmy-ui/src/components/Badge/agency.tsx:31
↓ 2 callersFunctionyieldCallout
(key: "downloads" | "views")
apps/kkmnow/dashboards/index.tsx:93
↓ 2 callersFunctionyieldRegressionYs
(_data: ChartDataset<"scatter", any[]>)
packages/datagovmy-ui/src/charts/scatter.tsx:99
↓ 1 callersFunctionMETADATA_TABLE_SCHEMA
( t: (key: string, params?: any) => string, isTable: boolean = false )
packages/datagovmy-ui/src/lib/schema/data-catalogue.tsx:37
↓ 1 callersFunctionVACCINE_TABLE_SCHEMA
()
apps/kkmnow/dashboards/covid-vaccination/table.tsx:22
↓ 1 callersFunction_setData
(key: string, value: any)
packages/datagovmy-ui/src/charts/partials/embed.tsx:61
↓ 1 callersFunctionaccessorFn
({ variable, data_type })
packages/datagovmy-ui/src/lib/schema/data-catalogue.tsx:45
↓ 1 callersFunctionclose
()
packages/datagovmy-ui/src/components/Modal/index.tsx:33
↓ 1 callersFunctioncopyClipboard
(text: string)
packages/datagovmy-ui/src/lib/helpers.ts:226
↓ 1 callersFunctiondisplayLabel
(value: string)
packages/datagovmy-ui/src/charts/bar.tsx:111
↓ 1 callersFunctiondoSearch
(search: string)
packages/datagovmy-nextra/src/components/flexsearch.tsx:152
↓ 1 callersFunctionexportAs
( type: "svg" | "png", element: HTMLCanvasElement )
packages/datagovmy-ui/src/lib/helpers.ts:321
↓ 1 callersFunctionextractChartDataset
(table_data: Record<string, any>[], currentViz: DCDataViz)
packages/datagovmy-ui/src/data-catalogue/Show/index.tsx:74
↓ 1 callersFunctionextractChartDataset
(table_data: Record<string, any>[], currentViz: DCDataViz)
packages/datagovmy-ui/src/data-catalogue/Preview/index.tsx:152
↓ 1 callersFunctionextractChartDataset
(table_data: Record<string, any>[], currentViz: DCDataViz)
apps/kkmnow/pages/data-catalogue/embed/[id].tsx:29
↓ 1 callersFunctionfetchMaps
()
packages/datagovmy-ui/src/charts/choropleth.tsx:61
↓ 1 callersFunctionfetchResponse
(prompt: string)
packages/datagovmy-nextra/src/components/ai-helper.tsx:101
↓ 1 callersFunctionfetchViews
()
apps/kkmnow/dashboards/index.tsx:285
↓ 1 callersFunctionfindNode
(root: Node, value: string)
packages/datagovmy-ui/src/components/NestedChecklist/index.tsx:55
↓ 1 callersFunctionfindSummary
(children: ReactNode)
packages/datagovmy-nextra/src/mdx-components.tsx:72
next →1–100 of 562, ranked by callers