import * as _angular_core from '@angular/core'; import * as _ng_nest_ui_core from '@ng-nest/ui/core'; import { XIdentityProperty, XDate, XType, XDataArray, XTemplate, XBoolean, XSize } from '@ng-nest/ui/core'; import { XLoadingType } from '@ng-nest/ui/loading'; /** * Timeline * @selector x-timeline * @decorator component */ declare const XTimelinePrefix = "x-timeline"; declare const XTimelineProperty_base: new () => { config: _ng_nest_ui_core.XTimelineConfig | undefined; }; /** * Timeline Property */ declare class XTimelineProperty extends XTimelineProperty_base { /** * @zh_CN 数据 * @en_US Date */ readonly data: _angular_core.InputSignalWithTransform>; /** * @zh_CN 内容模板 * @en_US Content template */ readonly wrapper: _angular_core.InputSignal; /** * @zh_CN 图标模板 * @en_US Icon template */ readonly icon: _angular_core.InputSignal; /** * @zh_CN 显示序号 * @en_US Show number */ readonly showNumber: _angular_core.InputSignalWithTransform; /** * @zh_CN 时间轴的相对位置 * @en_US Content and timeline relative position */ readonly mode: _angular_core.InputSignal; /** * @zh_CN loading 的类型样式 * @en_US Loading type style */ readonly loadingType: _angular_core.InputSignal; /** * @zh_CN 尺寸 * @en_US Size */ readonly size: _angular_core.InputSignal; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } /** * @zh_CN Timeline 数据对象 * @en_US Timeline node data */ interface XTimelineNode extends XIdentityProperty { /** * @zh_CN 时间 * @en_US Time */ time?: XDate; /** * @zh_CN 内容 * @en_US Content */ content?: string; /** * @zh_CN 类型 * @en_US Type */ type?: XType; /** * @zh_CN 图标 * @en_US Icon */ icon?: string; /** * @zh_CN 颜色 * @en_US Color */ color?: string; /** * @zh_CN 加载中 * @en_US Loading */ loading?: boolean; /** * @zh_CN 连接线显示虚线,针对下一个节点,下一个节点为 loading 状态也会显示虚线 * @en_US The connecting line displays a dotted line. For the next node, the dotted line will also be displayed when the next node is in loading status */ dashed?: boolean; /** * @zh_CN 其它自定义属性 * @en_US Other property */ [property: string]: any; } /** * @zh_CN 时间轴的相对位置 * @en_US Content and timeline relative position */ type XTimelineMode = 'left' | 'right' | 'alternate'; declare class XTimelineComponent extends XTimelineProperty { classMap: _angular_core.Signal<{ [x: string]: boolean; }>; nodes: _angular_core.Signal; private setDashed; static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵcmp: _angular_core.ɵɵComponentDeclaration; } declare class XTimelineModule { static ɵfac: _angular_core.ɵɵFactoryDeclaration; static ɵmod: _angular_core.ɵɵNgModuleDeclaration; static ɵinj: _angular_core.ɵɵInjectorDeclaration; } export { XTimelineComponent, XTimelineModule, XTimelinePrefix, XTimelineProperty }; export type { XTimelineMode, XTimelineNode };