// (C) 2022-2026 GoodData Corporation
import { RichTextDraggingComponent } from "../../dragAndDrop/draggableWidget/RichTextDraggingComponent.js";
import { CreatableRichText } from "./CreatableRichText.js";
/**
 * @internal
 */
export function DefaultDashboardRichTextComponentSetFactory(richTextProvider) {
    return {
        MainComponentProvider: richTextProvider,
        dragging: {
            DraggingComponent: RichTextDraggingComponent,
            type: "richText",
        },
        creating: {
            CreatePanelListItemComponent: CreatableRichText,
            type: "richTextListItem",
            priority: 5,
        },
        configuration: {
            WidgetConfigPanelComponent: () => null,
        },
    };
}
