Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x 1x | import { Directive, TemplateRef } from '@angular/core';
interface ContentTemplateContext {
$implicit: boolean;
}
/**
* Marks a template to be rendered as start-slot content within the `gc-extended-search-label-container`
*/
@Directive({
selector:
'ng-template[data-gc-start-slot], ng-template[data-gc-fieldset-content]',
standalone: false,
})
export class StartSlotContentDirective {
constructor(public readonly template: TemplateRef<ContentTemplateContext>) {}
/**
* @ignore
*/
static ngTemplateContextGuard(
_dir: StartSlotContentDirective,
ctx: unknown,
): ctx is ContentTemplateContext {
return true;
}
}
/**
* Marks a template to be rendered as end-slot content within the `gc-extended-search-label-container`
*/
@Directive({
selector: 'ng-template[data-gc-end-slot]',
standalone: false,
})
export class EndSlotContentDirective {
constructor(public readonly template: TemplateRef<ContentTemplateContext>) {}
/**
* @ignore
*/
static ngTemplateContextGuard(
_dir: EndSlotContentDirective,
ctx: unknown,
): ctx is ContentTemplateContext {
return true;
}
}
|