MCPcopy Create free account

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

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

↓ 7 callersFunctionuseUpdateAllSlides
()
src/components/presentation/controls/global-settings/hooks/useUpdateAllSlides.ts:8
↓ 6 callersFunctioncallout
( icon: string, bg: string, content: string, variant: string, )
src/components/presentation/edit-panel/sections/elements.ts:118
↓ 6 callersFunctioncreateBaseContent
( title: string = "Main message", desc: string = "One concise supporting sentence that explains the point.
src/components/notebook/presentation/utils/templates.tsx:135
↓ 6 callersFunctioncreateColumnContent
( cols: number = 2, options: { includeImages?: boolean } = {}, )
src/components/notebook/presentation/utils/templates.tsx:484
↓ 6 callersFunctionemptyParagraph
()
src/components/notebook/presentation/utils/normalizePresentationSlate.ts:20
↓ 6 callersFunctiongetElementId
(element: TElement | undefined)
src/components/notebook/presentation/editor/utils/paletteDrop.ts:146
↓ 6 callersFunctiongetElementImageGenerationTarget
( slideId: string, elementId: string, )
src/lib/presentation/image-generation.ts:70
↓ 6 callersFunctiongetElementPositionFromDOM
* Get position of a DOM element relative to slide (Percentage) * @param preserveAspectRatio - If true, includes aspect ratio for PPT shape preservati
src/components/presentation/export/contentWalker.ts:689
↓ 6 callersFunctiongetPersistablePresentationTheme
({ fallbackTheme, theme, }: { fallbackTheme: Themes; theme: string | null | undefined; })
src/lib/presentation/theme-resolution.ts:103
↓ 6 callersFunctiongetPresentationImageGenerationKey
( target: PresentationImageGenerationTarget, )
src/lib/presentation/image-generation.ts:56
↓ 6 callersFunctiongetStaticDiagramJustifyClass
( alignment: StaticDiagramElement["alignment"] = "center", )
src/components/notebook/presentation/editor/custom-elements/static/diagram-static-utils.ts:11
↓ 6 callersFunctiongetToolName
(part: UIToolPart)
src/lib/ai/uiMessageParts.ts:25
↓ 6 callersFunctionisLayoutChildType
(type: unknown)
src/components/notebook/presentation/editor/lib.tsx:1420
↓ 6 callersFunctionisLayoutParentType
(type: unknown)
src/components/notebook/presentation/editor/lib.tsx:1449
↓ 6 callersFunctionisRecord
(value: unknown)
src/components/notebook/presentation/utils/parser.ts:350
↓ 6 callersFunctionisRecord
(value: unknown)
src/components/notebook/presentation/editor/custom-elements/charts/ChartRenderer.tsx:150
↓ 6 callersFunctionparseInfographicTemplate
(syntax: string)
src/components/notebook/presentation/editor/utils/infographic-utils.ts:17
↓ 6 callersFunctionrenderVerticalStat
( value: number, visual: ReactNode, className?: string, )
src/components/presentation/edit-panel/sections/ElementPreview.tsx:40
↓ 6 callersFunctionserializeUnknownObject
( value: Record<string, unknown>, indent: number, )
src/components/notebook/presentation/editor/utils/infographic-utils.ts:142
↓ 6 callersFunctionsortEntries
(m: Map<string, number>)
src/lib/presentation/pptx-theme-extractor.ts:776
↓ 6 callersFunctionupdateDroppedElementAfterDrop
( editor: PlateEditor, dropPath: number[], )
src/components/notebook/presentation/editor/dnd/utils/updateSiblingsForcefully.ts:120
↓ 6 callersFunctionupdateSiblingsForcefully
( editor: PlateEditor, _parentElement: NodeEntry<TElement | TText>[0] | null, parentPath: number[], )
src/components/notebook/presentation/editor/dnd/utils/updateSiblingsForcefully.ts:65
↓ 6 callersFunctionuseCommonValues
()
src/components/presentation/controls/global-settings/hooks/useCommonValues.ts:10
↓ 5 callersFunctionaddSlide
* Add a single slide to the presentation
src/components/presentation/export/domToPptxConverter.ts:85
↓ 5 callersFunctionapplyThemeToSyntax
( syntax: string, isDark: boolean, themeColors?: InfographicPaletteThemeColors | null, )
src/components/notebook/presentation/editor/utils/infographic-utils.ts:649
↓ 5 callersFunctioncanEditDocument
( documentId: string, identity: SessionIdentity, )
src/server/share/authorization.ts:33
↓ 5 callersFunctioncanReadDocument
( documentId: string, identity: SessionIdentity, )
src/server/share/authorization.ts:17
↓ 5 callersFunctioncloneElementWithFreshIds
( element: TElement, preservedRootId?: string, )
src/components/notebook/presentation/editor/utils/paletteDrop.ts:61
↓ 5 callersFunctioncolorDistance
(a: string, b: string)
src/lib/presentation/pptx-theme-extractor.ts:54
↓ 5 callersFunctiondispatch
(action: Action)
src/components/ui/use-toast.ts:137
↓ 5 callersFunctionenforceInfographicCardBackground
(container: HTMLElement)
src/components/notebook/presentation/editor/utils/infographic-card-background.ts:65
↓ 5 callersFunctionexecCommand
(cmd: Command)
src/components/prose-mirror/FloatingToolbar.tsx:65
↓ 5 callersMethodextractAttributeFromTagContent
( tagContent: string, attributeName: string, )
src/components/notebook/presentation/utils/parser.ts:959
↓ 5 callersFunctionfindDOMElement
* Find DOM element for a PlateNode
src/components/presentation/export/contentWalker.ts:662
↓ 5 callersFunctiongetChartDataCategory
( chartType: string, )
src/components/notebook/presentation/editor/lib.tsx:450
↓ 5 callersFunctiongetCircularGridItemPosition
( index: number, total: number, )
src/components/notebook/presentation/editor/custom-elements/circular-grid.tsx:247
↓ 5 callersFunctiongetInfographicThemeColors
( isDark: boolean, themeColors?: InfographicPaletteThemeColors | null, )
src/components/notebook/presentation/editor/utils/infographic-utils.ts:685
↓ 5 callersFunctiongetLabelKey
(data: unknown[])
src/components/notebook/presentation/editor/custom-elements/chart-utils.ts:103
↓ 5 callersFunctiongetPresentationImageCropStyles
( cropSettings?: ImageCropSettings, )
src/components/notebook/presentation/editor/custom-elements/presentation-image-layout.ts:11
↓ 5 callersFunctiongetRootImageGenerationTarget
( slideId: string, )
src/lib/presentation/image-generation.ts:64
↓ 5 callersFunctiongetSlidesToUpdate
(scope?: "all", slideIds?: string[])
src/hooks/presentation/agentTools.ts:222
↓ 5 callersFunctiongetSnakeArrowBaselineY
(index: number)
src/components/notebook/presentation/editor/custom-elements/snake-shared.ts:49
↓ 5 callersFunctiongetSnakeArrowEndX
(index: number)
src/components/notebook/presentation/editor/custom-elements/snake-shared.ts:42
↓ 5 callersFunctiongetTemplateSelectionIds
( template: TemplateDefinition, )
src/components/notebook/presentation/utils/templates.tsx:109
↓ 5 callersMethodgetTextDescendants
* Extract text descendants from a node, processing inline formatting * This is the KEY method that maintains order of text and elements
src/components/notebook/presentation/utils/parser.ts:2509
↓ 5 callersFunctiongetTextValue
(xml: string, tagName: string, fallback: string)
src/lib/presentation/generated-theme.ts:49
↓ 5 callersFunctionh3
(content: string)
src/components/presentation/edit-panel/sections/elements.ts:96
↓ 5 callersFunctionhandleImageSelect
( url: string, prompt?: string, imageSource?: "generate" | "search" | "gif" | "upload", stockI
src/components/presentation/edit-panel/sections/PresentationImageEditorPanel.tsx:183
↓ 5 callersFunctionhandleSubmit
()
src/components/plate/ui/media-embed-placeholder.tsx:91
↓ 5 callersFunctionhasNestedChildren
(items: DataItem[])
src/components/notebook/presentation/editor/utils/infographic-utils.ts:1201
↓ 5 callersFunctionisRowElement
(element: TElement | undefined)
src/components/presentation/floating-toolbar/PresentationTableToolbarControls.tsx:69
↓ 5 callersFunctionisTableElement
(element: TElement | undefined)
src/components/presentation/floating-toolbar/PresentationTableToolbarControls.tsx:65
↓ 5 callersFunctionlabels
(dataArray: AnyRecord[], labelKey: string)
src/components/notebook/presentation/editor/custom-elements/charts/ChartRenderer.tsx:399
↓ 5 callersFunctionnormalizeDescendant
( node: unknown, fallback: "element" | "text", )
src/components/notebook/presentation/utils/normalizePresentationSlate.ts:253
↓ 5 callersFunctiononColumnChange
(widths: string[])
src/components/plate/ui/column-node.tsx:73
↓ 5 callersFunctionpad
(n: number)
src/components/notebook/presentation/recording/RecordingPreviewDialog.tsx:23
↓ 5 callersFunctionparseAlignmentAttribute
( value: string | undefined, )
src/components/notebook/presentation/utils/parser.ts:491
↓ 5 callersFunctionparseXml
Parse a DOMParser XML string
src/lib/presentation/pptx-theme-extractor.ts:267
↓ 5 callersMethodprocessNode
* Process a single XMLNode into a Plate element
src/components/notebook/presentation/utils/parser.ts:2653
↓ 5 callersFunctionrenderResolvedIcon
( resolvedIcon: ResolvedPresentationIcon | null, iconPixelSize = 16, iconClassName?: string, )
src/components/ui/icon-picker.tsx:33
↓ 5 callersFunctionresolvePresentationImageGenerationSource
({ globalImageSource, imageSource, isImageSlide, }: { globalImageSource: "automatic" | "ai" | "stock"
src/lib/presentation/image-generation.ts:86
↓ 5 callersMethodserializeBasicBlockAttributes
( node: Record<string, unknown>, extraKeys: readonly string[] = [], )
src/components/notebook/presentation/utils/slide-serializer.ts:526
↓ 5 callersMethodserializeDivItemGroup
({ attrs, indent, items, tagName, }: { attrs?: Record<string, string>; indent: numbe
src/components/notebook/presentation/utils/slide-serializer.ts:1134
↓ 5 callersFunctionslideSignature
(slide?: PlateSlide)
src/components/notebook/presentation/editor/utils/slideSignature.ts:3
↓ 5 callersFunctionstopAutoScroll
()
src/hooks/presentation/usePresentationAutoScroll.ts:40
↓ 5 callersFunctionupdateData
(patch: Partial<EditableInfographicData>)
src/components/notebook/presentation/editor/custom-elements/infographic-data-editor/index.tsx:27
↓ 5 callersFunctionuseForceUpdateChildrenOnLengthChange
( editor: PlateEditor | null | undefined, element: (TElement | TText) | null | undefined, )
src/hooks/presentation/useForceUpdateChildrenOnLengthChange.ts:12
↓ 4 callersMethodannotate
(attributes: SpanAttributes)
src/lib/observability/server/logger.ts:20
↓ 4 callersFunctionappendOrientationLabel
()
src/components/presentation/floating-toolbar/LayoutPreviewSheet.tsx:438
↓ 4 callersFunctionapplySlides
(slidesToApply: PlateSlide[])
src/components/presentation/agent/tools/ReplaceImageCompare.tsx:262
↓ 4 callersFunctionapplyTemplate
(template: keyof typeof templates)
src/components/notebook/presentation/editor/custom-elements/placeholder-card.tsx:311
↓ 4 callersFunctionassertModelIsConfigured
( modelProviderOrModel: string, modelId?: string, )
src/lib/model-picker.ts:268
↓ 4 callersFunctionbuildDataBlock
* Build a new data block from parsed data and target field type
src/components/notebook/presentation/editor/utils/infographic-utils.ts:1352
↓ 4 callersFunctioncanDropAtPath
( editor: PlateEditor, dragItem: DragItemNode, result: Pick<DropPathResult, "createColumns" | "dragPath"
src/components/notebook/presentation/editor/dnd/utils/getDropPath.ts:316
↓ 4 callersFunctioncloneRootImage
( rootImage: RootImage | undefined, )
src/components/presentation/agent/tools/ReplaceImageCompare.tsx:17
↓ 4 callersFunctioncloseRenameDialog
()
src/components/notebook/presentation/components/PresentationDashboard.tsx:468
↓ 4 callersFunctioncoerceCellValue
(value: string)
src/components/notebook/presentation/editor/custom-elements/chart-data-editor/import-data.ts:61
↓ 4 callersFunctioncolorToHex
* Convert color to hex (simple helper)
src/components/presentation/export/contentWalker.ts:203
↓ 4 callersFunctioncreateCompareSide
( title: string, items: string[], type: typeof COMPARE_SIDE | typeof BEFORE_AFTER_SIDE = COMPARE_SIDE, )
src/components/presentation/edit-panel/sections/elements.ts:231
↓ 4 callersFunctioncreateDiagramTitleItem
(type: string, title: string)
src/components/presentation/edit-panel/sections/elements.ts:245
↓ 4 callersFunctioncreateEditableInfographicData
({ options, previousData, syntax, }: { options?: Partial<InfographicOptions>; previousData?: Editabl
src/components/notebook/presentation/editor/custom-elements/infographic-data-editor/utils.ts:212
↓ 4 callersFunctioncreateEditorId
()
src/components/notebook/presentation/editor/custom-elements/infographic-data-editor/utils.ts:30
↓ 4 callersFunctioncreateImageProxyUrl
( value: string | undefined, options: RewriteOptions = {}, )
src/lib/image-proxy.ts:53
↓ 4 callersMethoddestroy
()
src/hooks/presentation/infographic/InfographicSelectionPlugin.ts:78
↓ 4 callersFunctiondetectEmbedType
(url: string)
src/components/plate/ui/media-embeds.tsx:248
↓ 4 callersFunctiondownloadFile
(url: string, filename: string)
src/components/plate/ui/export-toolbar-button.tsx:25
↓ 4 callersFunctionexecuteToolAction
(args: ToolArgs)
src/hooks/presentation/agentTools.ts:231
↓ 4 callersMethodfinalize
* Finalize parsing with any remaining content
src/components/notebook/presentation/utils/parser.ts:585
↓ 4 callersFunctionflattenHierarchyLeaves
Leaves-only flatten (prevents internal/group nodes from becoming extra nodes)
src/components/notebook/presentation/editor/utils/infographic-utils.ts:1433
↓ 4 callersFunctiongenerateEmbedUrl
(url: string, embedType?: string)
src/components/plate/ui/media-embeds.tsx:257
↓ 4 callersMethodgetAllSlides
* Get all parsed slides
src/components/notebook/presentation/utils/parser.ts:616
↓ 4 callersFunctiongetAvailableImageModels
(isAdmin: boolean)
src/constants/image-models.ts:61
↓ 4 callersFunctiongetDiagramPreviewCacheKey
( item: DiagramItem, isDark: boolean, themeColors: InfographicPaletteThemeColors | null, )
src/components/presentation/edit-panel/sections/DiagramPanel.tsx:97
↓ 4 callersFunctiongetDropPath
( editor: PlateEditor, { canDropNode, canCreateColumns = false, dragItem, element, mon
src/components/notebook/presentation/editor/dnd/utils/getDropPath.ts:44
↓ 4 callersFunctiongetElementValue
( elements: SVGElement[], attribute: string, styleProperty: keyof CSSStyleDeclaration, fallback: strin
src/components/notebook/presentation/editor/custom-elements/infographic/InfographicFloatingToolbar.tsx:482
↓ 4 callersMethodgetFirstChildByTag
( node: XMLNode, tagName: string, )
src/components/notebook/presentation/utils/parser.ts:1069
↓ 4 callersFunctiongetIconListOrientation
( value: unknown, childCount: number, )
src/components/notebook/presentation/editor/utils.ts:89
↓ 4 callersFunctiongetInfographicOrientationForSlideLayout
( slideLayoutType?: string, )
src/lib/presentation/infographic-layout.ts:10
↓ 4 callersFunctiongetInfographicPreviewCacheKey
( templateId: string, currentSyntax: string, currentTemplate: string | null, isDark: boolean, themeC
src/components/presentation/edit-panel/sections/InfographicEditorControls.tsx:83
↓ 4 callersFunctiongetMessageText
(message: UIMessage)
src/lib/ai/uiMessageParts.ts:8
← previousnext →101–200 of 3,032, ranked by callers