MCPcopy Create free account

hub / github.com/allweonedev/presentation-ai / functions

Functions3,032 in github.com/allweonedev/presentation-ai

↓ 1,018 callersFunctioncn
(...inputs: ClassValue[])
src/lib/utils.ts:6
↓ 225 callersMethoderror
(error: unknown)
src/lib/observability/server/logger.ts:37
↓ 59 callersMethodsetAttribute
( attributes: Record<string, string>, key: string, value: unknown, )
src/components/notebook/presentation/utils/slide-serializer.ts:389
↓ 53 callersFunctionhandleNodePropertyUpdate
( editor: MyEditor, key: string, value: | string | boolean | number | Record<string, unk
src/components/notebook/presentation/editor/lib.tsx:1757
↓ 39 callersFunctiononChange
()
src/hooks/use-mobile.tsx:12
↓ 37 callersMethodserializeAttributes
* Serialize attributes object to string
src/components/notebook/presentation/utils/slide-serializer.ts:355
↓ 36 callersFunctionisElementNode
(node: XMLNode | XMLTextNode)
src/components/notebook/presentation/utils/parser.ts:256
↓ 36 callersFunctiontoNumber
(value: unknown, fallback = 0)
src/components/notebook/presentation/editor/custom-elements/charts/ChartRenderer.tsx:111
↓ 35 callersFunctionjoinLabel
(baseLabel: string)
src/components/presentation/floating-toolbar/LayoutPreviewSheet.tsx:446
↓ 34 callersFunctiontext
(value: string)
src/components/presentation/edit-panel/sections/elements.ts:91
↓ 33 callersFunctiongetAlignmentClasses
( alignment: "left" | "center" | "right" = "left", )
src/components/notebook/presentation/editor/utils.ts:56
↓ 30 callersFunctioncreateChartContent
(type: string, title: string, variant?: string)
src/components/notebook/presentation/utils/templates.tsx:258
↓ 29 callersFunctioncreateChartNode
( type: string, data: unknown, options?: Record<string, unknown>, )
src/components/presentation/edit-panel/sections/elements.ts:261
↓ 26 callersFunctionbuildAxisOptions
( element: TChartNode, axis: "x" | "y", type: "category" | "value" = "value", data?: string[], )
src/components/notebook/presentation/editor/custom-elements/charts/ChartRenderer.tsx:372
↓ 25 callersFunctiontoText
(value: unknown, fallback = "")
src/components/notebook/presentation/editor/custom-elements/charts/ChartRenderer.tsx:115
↓ 23 callersMethodprocessNodes
* Process a list of XMLNodes into Plate elements
src/components/notebook/presentation/utils/parser.ts:2604
↓ 22 callersFunctiongetDefaultColumnSize
( childCount: number, )
src/components/notebook/presentation/editor/utils.ts:13
↓ 22 callersFunctionparagraph
(children: Array<TElement | TText> = [text("")])
src/components/presentation/edit-panel/sections/elements.ts:93
↓ 20 callersMethodevent
(name: string, attributes?: SpanAttributes)
src/lib/observability/server/logger.ts:27
↓ 20 callersFunctionuseToolbarContext
()
src/components/presentation/floating-toolbar/ToolbarContext.tsx:133
↓ 19 callersMethodserializeDescendant
* Serialize a descendant (could be text or element)
src/components/notebook/presentation/utils/slide-serializer.ts:1655
↓ 18 callersFunctioncreateStatsItem
(stat: string, label: string)
src/components/presentation/edit-panel/sections/elements.ts:250
↓ 18 callersFunctionupdateChartOption
(key: string, value: unknown)
src/components/presentation/edit-panel/sections/ChartEditorControls.tsx:758
↓ 17 callersFunctiongetPresentationAccentColor
( element: unknown, parentElement: unknown, fallback: string, )
src/components/notebook/presentation/editor/custom-elements/color-utils.ts:11
↓ 17 callersFunctiongetSmartLayoutStepColor
(index: number, total: number)
src/components/notebook/presentation/editor/custom-elements/smart-layout-gradient.ts:3
↓ 17 callersMethodgetTextContent
* Get the complete text content of a node (flattened)
src/components/notebook/presentation/utils/parser.ts:2580
↓ 17 callersFunctionuseDebouncedSave
(options: UseDebouncedSaveOptions = {})
src/hooks/presentation/useDebouncedSave.ts:25
↓ 16 callersFunctionfindChildByLocalName
Cache-friendly element search by localName on a single parent's children
src/lib/presentation/pptx-theme-extractor.ts:167
↓ 16 callersFunctiongetChartColor
(index: number)
src/components/notebook/presentation/editor/custom-elements/charts/echart-wrapper.tsx:256
↓ 16 callersFunctiontoast
({ ...props }: Toast)
src/components/ui/use-toast.ts:146
↓ 15 callersFunctionclampHex
(n: number)
src/lib/presentation/pptx-theme-extractor.ts:41
↓ 15 callersFunctioncreateDiagramItem
(type: string, title: string, content: string)
src/components/presentation/edit-panel/sections/elements.ts:240
↓ 15 callersMethodend
()
src/lib/observability/server/logger.ts:44
↓ 15 callersFunctionupdateActiveLayer
(updates: Partial<GradientLayer>)
src/components/presentation/edit-panel/sections/GradientMaker.tsx:226
↓ 14 callersFunctiongetIndentSize
(line: string)
src/components/notebook/presentation/editor/utils/infographic-utils.ts:90
↓ 14 callersFunctionupdatePresentation
({ id, content, prompt, title, theme, outline, searchResults, toolCalls, selectedChunks, i
src/app/_actions/notebook/presentation/presentationActions.ts:131
↓ 13 callersMethodreset
* Reset the parser state
src/components/notebook/presentation/utils/parser.ts:623
↓ 13 callersFunctionresolvePresentationThemeData
({ customThemeData, theme, }: { customThemeData: unknown; theme: string | null | undefined; })
src/lib/presentation/theme-resolution.ts:81
↓ 12 callersFunctiongetSiblingIndexContext
( editor: PlateEditor, element: TElement, fallbackPath: Path, )
src/components/notebook/presentation/editor/custom-elements/sibling-index.ts:32
↓ 12 callersFunctiongetStringVar
(name: string, fallback: string = "")
src/components/presentation/export/cssVariableResolver.ts:73
↓ 12 callersFunctionisChartType
(elementType: string)
src/components/notebook/presentation/editor/lib.tsx:1258
↓ 12 callersFunctionp
(x: number, y: number)
src/components/notebook/presentation/editor/custom-elements/cycle-element.tsx:262
↓ 12 callersFunctionusePresentationTheme
()
src/components/presentation/providers/PresentationThemeProvider.tsx:31
↓ 11 callersFunctionbuildPresentationCustomization
( state: PresentationCustomizationState, )
src/lib/presentation/customization.ts:96
↓ 11 callersFunctioncreateBoxContent
( variant: | "solid" | "outline" | "icon" | "sideline" | "side-label" | "top-label"
src/components/notebook/presentation/utils/templates.tsx:225
↓ 11 callersFunctioncreateLogger
(scope: string)
src/lib/observability/logger.ts:49
↓ 11 callersFunctionfindByLocalName
Deep search by localName — use sparingly on small subtrees
src/lib/presentation/pptx-theme-extractor.ts:180
↓ 11 callersFunctionfindThemeBlockRange
(lines: string[])
src/components/notebook/presentation/editor/utils/infographic-utils.ts:176
↓ 11 callersFunctiongetPaletteMutableSignature
(value: unknown)
src/components/notebook/presentation/editor/utils/paletteDrop.ts:113
↓ 11 callersFunctiongetTopColor
Get the most frequent entry from a frequency map
src/lib/presentation/pptx-theme-extractor.ts:746
↓ 11 callersFunctionhandleAction
(action: string)
src/components/notebook/presentation/editor/custom-elements/root-image.tsx:231
↓ 11 callersMethodshouldHaveGeneratingMark
* Check if text should have generating mark
src/components/notebook/presentation/utils/parser.ts:1630
↓ 11 callersFunctiontoggleList
(listType: NodeType)
src/components/prose-mirror/FloatingToolbar.tsx:98
↓ 10 callersFunctioncreateDiagramTextChildren
(title: string, desc: string)
src/components/notebook/presentation/utils/templates.tsx:284
↓ 10 callersMethodextractIconValue
(node: XMLNode)
src/components/notebook/presentation/utils/parser.ts:1847
↓ 10 callersFunctiongetDiagramFitFrameStyle
( alignment: DiagramAlignment = "center", )
src/components/notebook/presentation/editor/custom-elements/diagram-fit.ts:10
↓ 10 callersFunctioninsertBlock
( editor: PlateEditor, type: string, { props }: { props?: Partial<TElement> } = {}, )
src/components/plate/utils/transforms.ts:89
↓ 10 callersFunctionisNodeType
(keys: string[] | string)
src/components/plate/ui/block-draggable.tsx:595
↓ 10 callersFunctionisRecord
(value: unknown)
src/components/notebook/presentation/utils/normalizePresentationSlate.ts:26
↓ 10 callersFunctionnormalizeHexColor
(color: string | undefined)
src/components/notebook/presentation/editor/utils/infographic-utils.ts:567
↓ 10 callersFunctionnumericValues
(dataArray: AnyRecord[], key: string)
src/components/notebook/presentation/editor/custom-elements/charts/ChartRenderer.tsx:405
↓ 10 callersFunctionuseMediaQuery
(query: string)
src/hooks/globals/useMediaQuery.tsx:3
↓ 9 callersFunctionboundUpdateElement
(updateProps: Record<string, unknown>)
src/components/presentation/floating-toolbar/ToolbarContext.tsx:275
↓ 9 callersFunctionextractTagValue
(xml: string, tagName: string)
src/lib/presentation/generated-theme.ts:26
↓ 9 callersFunctiongetString
(value: unknown)
src/components/notebook/shared/NotebookAgentActivity.tsx:81
↓ 9 callersFunctiononClose
()
src/components/plate/ui/equation-node.tsx:201
↓ 9 callersFunctionpolarToCartesian
( center: number, radius: number, angle: number, )
src/components/notebook/presentation/editor/custom-elements/charts/ChartRenderer.tsx:728
↓ 9 callersMethodserializeDescendants
* Serialize descendants (array)
src/components/notebook/presentation/utils/slide-serializer.ts:1673
↓ 9 callersFunctionuseUploadFile
({ onUploadComplete, onUploadError, ...props }: UseUploadFileProps = {})
src/components/plate/hooks/use-upload-file.ts:25
↓ 8 callersMethodescapeXml
* Escape special XML characters
src/components/notebook/presentation/utils/slide-serializer.ts:416
↓ 8 callersFunctiongetSlideBaseWidth
( formatCategory: "presentation" | "social" | "document" | "webpage", widthSize: "S" | "M" | "L" = "M",
src/config/slideFormats.ts:49
↓ 8 callersFunctiongetVar
(name: string, fallback: string = "#000000")
src/components/presentation/export/cssVariableResolver.ts:62
↓ 8 callersFunctionhandleAction
(action: string)
src/components/notebook/presentation/editor/custom-elements/image-slide/ImageSlide.tsx:64
↓ 8 callersFunctionisBuiltInPresentationTheme
( theme: string | null | undefined, )
src/lib/presentation/theme-resolution.ts:20
↓ 8 callersFunctionisElementNode
(node: unknown)
src/components/notebook/presentation/editor/dnd/utils/getDropPath.ts:531
↓ 8 callersFunctionkeyToLabel
(key: string)
src/components/notebook/presentation/editor/custom-elements/chart-utils.ts:187
↓ 8 callersFunctionmodelPicker
(modelProviderOrModel: string, modelId?: string)
src/lib/model-picker.ts:335
↓ 8 callersFunctionnormalizeShareEmail
(email: string | null | undefined)
src/server/share/utils.ts:1
↓ 8 callersFunctionparseNotebookAgentToolResult
(result: unknown)
src/lib/notebook/agent-activity.ts:50
↓ 8 callersFunctionreject
(suggestion: ResolvedSuggestion)
src/components/plate/ui/block-suggestion.tsx:68
↓ 8 callersFunctionrequireOptionalIntegration
({ integration, envVar, value, feature, }: RequireOptionalIntegrationParams)
src/lib/env/optional-integrations.ts:18
↓ 8 callersFunctionresolvePresentationIcon
(iconName: string)
src/components/notebook/presentation/editor/custom-elements/presentation-icon-utils.ts:294
↓ 8 callersFunctionunescapeXmlText
(text: string)
src/components/notebook/presentation/utils/parser.ts:298
↓ 8 callersFunctionupdateAxisOption
( axisKey: "xAxis" | "yAxis", updates: Partial<AxisConfig>, )
src/components/presentation/edit-panel/sections/ChartEditorControls.tsx:876
↓ 8 callersFunctionuseDiagramFitScale
( layoutWidth: number, minLayoutHeight: number, )
src/components/notebook/presentation/editor/custom-elements/diagram-fit.ts:21
↓ 7 callersFunctioncreateList
( type: string, itemType: string, items: Array<{ heading?: string; content: string }>, )
src/components/presentation/edit-panel/sections/elements.ts:204
↓ 7 callersFunctioncreateStatsContent
( variant: | "plain" | "circle" | "star" | "bar" | "dot-grid" | "dot-line" | "ci
src/components/notebook/presentation/utils/templates.tsx:452
↓ 7 callersFunctioncreateTimelineContent
( variant: "timeline" | "arrow" | "pill" | "parallelogram" | "arrow-vertical", items: number = 4, )
src/components/notebook/presentation/utils/templates.tsx:406
↓ 7 callersFunctiongetColor
( xml: string, tagName: keyof GeneratedThemeColors, )
src/lib/presentation/generated-theme.ts:42
↓ 7 callersFunctiongetSnakeArrowStartX
(index: number)
src/components/notebook/presentation/editor/custom-elements/snake-shared.ts:35
↓ 7 callersFunctionisTextNode
(node: XMLNode | XMLTextNode)
src/components/notebook/presentation/utils/parser.ts:252
↓ 7 callersFunctionmatchesPanelSearch
( query: string, values: Array<string | null | undefined>, )
src/components/presentation/edit-panel/sections/PanelSearchFilter.tsx:17
↓ 7 callersFunctionnormalizeHeader
(value: string)
src/components/notebook/presentation/editor/custom-elements/chart-data-editor/import-data.ts:15
↓ 7 callersFunctiononSelect
()
src/components/presentation/controls/global-settings/sections/FormatsSection.tsx:154
↓ 7 callersFunctionparseSlideXml
(xmlData: string)
src/components/notebook/presentation/utils/parser.ts:2973
↓ 7 callersFunctionround
(value: number)
src/components/notebook/presentation/editor/utils/typography.ts:42
↓ 7 callersFunctionstartOutlineGeneration
()
src/components/notebook/presentation/components/PresentationGenerationManager.tsx:478
↓ 7 callersFunctionupdateDiscussionState
( editor: PlateEditor, discussions: StoredDiscussion[], )
src/components/plate/plugins/discussion-kit.tsx:51
↓ 7 callersFunctionupdateInfographicTheme
( syntax: string, options: ThemeUpdateOptions, )
src/components/notebook/presentation/editor/utils/infographic-utils.ts:417
↓ 7 callersFunctionuseDraggable
( props: UseDndNodeOptions, )
src/components/notebook/presentation/editor/dnd/hooks/useDraggable.ts:29
next →1–100 of 3,032, ranked by callers