import { BooleanInput } from '@ngx-simple/core/coercion'; import { NgStringOrTemplateRef } from '@ngx-simple/core/types'; /** * 区隔内容的分割线。分割线组件支持多种方向选项和内嵌文字。 * @example * ```html * * * * * * * * *
* 登录 * * 注册 *
* * * * Add * * ``` */ export declare class SimDividerComponent { static ngAcceptInputType_vertical: BooleanInput; static ngAcceptInputType_dashed: BooleanInput; static ngAcceptInputType_inset: BooleanInput; static ngAcceptInputType_outset: BooleanInput; /** * 是否垂直显示 * - true => sim-divider-vertical * - false => sim-divider-horizontal */ vertical: boolean; /** * 是否虚线 * true => border-style: dashed * false => border-style: solid */ dashed: boolean; /** * 是否为内凹分隔线 */ inset: boolean; /** * 是否为外凸分隔线 */ outset: boolean; /** * 指定分隔线边距 参考`style.margin`语法 * - 单值语法 所有边缘 举例: margin: 1em; * - 二值语法 纵向 横向 举例: margin: 5% auto; * - 三值语法 上 横向 下 举例: margin: 1em auto 2em; * - 四值语法 上 右 下 左 举例: margin: 2px 1em 0 auto; */ margin: string; /** * 分隔线内嵌文本显示位置 * - start align="start" * - end align="end" * - default align="center" */ align: 'start' | 'end'; /** * 分隔线内嵌文本 */ text: NgStringOrTemplateRef; /** 分隔线是否内嵌文本 */ get hasText(): boolean; }