import { CustomElement } from '../../Abstracts/CustomElement'; import { IFlowBoardColumnItemComposerElementProps } from './IFlowBoardColumnItemComposerElementProps'; declare const FlowBoardColumnItemComposerElement_base: (abstract new (...args: Array) => import("../../../Behaviors/Themeable").IThemeableProps) & (abstract new (...args: Array) => import("../../../Behaviors/Slottable").ISlottableProps & import("../../../Behaviors/Slottable").ISlottable) & typeof CustomElement & import("../../../Behaviors/Themeable").IThemeableCtor; /** * FlowBoardColumnItemComposer - A composer for creating new items in a FlowBoard column. * * @description * Provides a trigger+form pattern for adding new items to a column. * This component is completely data-agnostic - it accepts any data structure. * The user provides their own form fields via the `form` slot. * * @name FlowBoardColumnItemComposerElement * @element mosaik-flow-board-column-item-composer * @category Layouts * * @slot form - The form content for creating new items (completely user-defined) * @slot trigger - The trigger element that opens the form (e.g., "Add another item" button) * * @csspart container - The main container element * @csspart form - The form section wrapper * @csspart trigger - The trigger section wrapper * * @cssprop {String} --flow-board-column-item-composer-background-color - The board column item composer background color CSS custom property. * @cssprop {String} --flow-board-column-item-composer-border-radius - The board column item composer border radius CSS custom property. * @cssprop {String} --flow-board-column-item-composer-focus-ring-active-width - The board column item composer focus ring active width CSS custom property. * @cssprop {String} --flow-board-column-item-composer-focus-ring-color - The board column item composer focus ring color CSS custom property. * @cssprop {String} --flow-board-column-item-composer-focus-ring-inward-offset - The board column item composer focus ring inward offset CSS custom property. * @cssprop {String} --flow-board-column-item-composer-focus-ring-outward-offset - The board column item composer focus ring outward offset CSS custom property. * @cssprop {String} --flow-board-column-item-composer-font-family - The board column item composer font family CSS custom property. * @cssprop {String} --flow-board-column-item-composer-font-letter-spacing - The board column item composer font letter spacing CSS custom property. * @cssprop {String} --flow-board-column-item-composer-font-line-height - The board column item composer font line height CSS custom property. * @cssprop {String} --flow-board-column-item-composer-font-size - The board column item composer font size CSS custom property. * @cssprop {String} --flow-board-column-item-composer-font-text-decoration - The board column item composer font text decoration CSS custom property. * @cssprop {String} --flow-board-column-item-composer-font-text-transform - The board column item composer font text transform CSS custom property. * @cssprop {String} --flow-board-column-item-composer-font-weight - The board column item composer font weight CSS custom property. * @cssprop {String} --flow-board-column-item-composer-foreground-color - The board column item composer foreground color CSS custom property. * @cssprop {String} --flow-board-column-item-composer-gap - The board column item composer gap CSS custom property. * @cssprop {String} --flow-board-column-item-composer-padding - The board column item composer padding CSS custom property. * @cssprop {String} --flow-board-column-item-composer-padding-bottom - The board column item composer padding bottom CSS custom property. * @cssprop {String} --flow-board-column-item-composer-padding-left - The board column item composer padding left CSS custom property. * @cssprop {String} --flow-board-column-item-composer-padding-right - The board column item composer padding right CSS custom property. * @cssprop {String} --flow-board-column-item-composer-padding-top - The board column item composer padding top CSS custom property. * @cssprop {String} --flow-board-column-item-composer-shadow - The board column item composer shadow CSS custom property. * @cssprop {String} --flow-board-column-item-composer-shadow-blur - The board column item composer shadow blur CSS custom property. * @cssprop {String} --flow-board-column-item-composer-shadow-color - The board column item composer shadow color CSS custom property. * @cssprop {String} --flow-board-column-item-composer-shadow-offset-x - The board column item composer shadow offset x CSS custom property. * @cssprop {String} --flow-board-column-item-composer-shadow-offset-y - The board column item composer shadow offset y CSS custom property. * @cssprop {String} --flow-board-column-item-composer-shadow-spread - The board column item composer shadow spread CSS custom property. * @cssprop {String} --flow-board-column-item-composer-transition-duration - The board column item composer transition duration CSS custom property. * @cssprop {String} --flow-board-column-item-composer-transition-mode - The board column item composer transition mode CSS custom property. * @cssprop {String} --flow-board-column-item-composer-transition-property - The board column item composer transition property CSS custom property. * @cssprop {String} --flow-board-column-item-composer-translate - The board column item composer translate CSS custom property. * * @fires flowBoardBeforeItemCreate {FlowBoardBeforeItemCreateEvent} - Fired before item creation (cancelable) * @fires flowBoardItemCreate {FlowBoardItemCreateEvent} - Fired when item is created with user-defined data * * @example * Basic usage with simple form: * ```html * * *
* * *
*
* * * ``` * * @public * * @remarks * The composer emits generic `create` events with user-defined data: * - Element properties (title, description, labels, etc.) * - Metadata (userId, tags, priority, appointments, custom fields, etc.) * - Any other data the application needs */ export declare class FlowBoardColumnItemComposerElement extends FlowBoardColumnItemComposerElement_base implements IFlowBoardColumnItemComposerElementProps { private readonly _composerController; private readonly _flowBoardBeforeItemCreate; private readonly _flowBoardItemCreate; private readonly _inheritance; /** * Constructs a new instance of the `FlowBoardColumnItemComposerElement` class. * * @public */ constructor(); /** * Returns the `is` property. * * @public * @static * @readonly */ static get is(): string; /** * Gets or sets whether the composer form is open. * * @public * @attr */ get open(): boolean; set open(value: boolean); /** * Gets the column key from the parent column (via inheritance). * Useful for identifying which column the item is being added to. * * @public * @readonly */ get columnKey(): string; /** * Creates a new item with the provided data. * Emits flowBoardBeforeItemCreate (cancelable) and flowBoardItemCreate events. * * @param data The data for the new item (completely user-defined) * @returns True if created, false if canceled * * @public */ create(data: unknown): boolean; /** * Toggles the composer between open and closed state. * * @public */ toggle(): void; /** * Closes the composer form. * * @public */ close(): void; } /** * @public */ export declare namespace FlowBoardColumnItemComposerElement { type Props = IFlowBoardColumnItemComposerElementProps; } /** * @public */ declare global { interface HTMLElementTagNameMap { 'mosaik-flow-board-column-item-composer': FlowBoardColumnItemComposerElement; } } export {}; //# sourceMappingURL=FlowBoardColumnItemComposerElement.d.ts.map