@alauda-fe/common
Version:
Alauda frontend team common codes.
13 lines (12 loc) • 534 B
TypeScript
import * as i0 from "@angular/core";
export declare class TextWithUrlComponent {
text: string;
parseUrlInText: typeof parseUrlInText;
static ɵfac: i0.ɵɵFactoryDeclaration<TextWithUrlComponent, never>;
static ɵcmp: i0.ɵɵComponentDeclaration<TextWithUrlComponent, "acl-text-with-url", never, { "text": { "alias": "text"; "required": false; }; }, {}, never, never, true, never>;
}
export declare function parseUrlInText(text: string): Text[];
export interface Text {
value: string;
type: 'plain' | 'url';
}