UNPKG

@alauda-fe/common

Version:

Alauda frontend team common codes.

18 lines (17 loc) 1.24 kB
import { MultiSelectComponent } from '@alauda/ui'; import { ElementRef, Renderer2, TemplateRef, ViewContainerRef } from '@angular/core'; import * as i0 from "@angular/core"; export declare const PREFIX_LABEL_CLASS = "acl-select-prefix__label"; export declare class SelectPrefixLabelDirective { private readonly elementRef; private readonly renderer; private readonly viewContainerRef; private readonly multiSelectComponent; aclPrefixLabel: string | TemplateRef<any>; queryElementByClassName(className: string): Element; createInlineLabel(value: string | TemplateRef<any>, className?: string): HTMLSpanElement; insertNode(container: Element, value: string | TemplateRef<any>, refChild?: Element): void; constructor(elementRef: ElementRef, renderer: Renderer2, viewContainerRef: ViewContainerRef, multiSelectComponent: MultiSelectComponent); static ɵfac: i0.ɵɵFactoryDeclaration<SelectPrefixLabelDirective, [null, null, null, { optional: true; }]>; static ɵdir: i0.ɵɵDirectiveDeclaration<SelectPrefixLabelDirective, "aui-select[aclPrefixLabel],aui-multi-select[aclPrefixLabel]", never, { "aclPrefixLabel": { "alias": "aclPrefixLabel"; "required": false; }; }, {}, never, never, true, never>; }