@ng-doc/ui-kit
Version:
<!-- PROJECT LOGO --> <br /> <div align="center"> <a href="https://github.com/ng-doc/ng-doc"> <img src="https://ng-doc.com/assets/images/ng-doc.svg?raw=true" alt="Logo" height="150px"> </a>
38 lines (33 loc) • 4.24 kB
JavaScript
import { CommonModule } from '@angular/common';
import * as i0 from '@angular/core';
import { Component, ChangeDetectionStrategy, Input } from '@angular/core';
import * as i1 from '@ng-doc/ui-kit/components/selection';
import { NgDocSelectionOriginDirective, NgDocSelectionComponent, NgDocSelectionHostDirective } from '@ng-doc/ui-kit/components/selection';
class NgDocTabRouteComponent {
constructor() {
this.isActive = false;
}
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocTabRouteComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: NgDocTabRouteComponent, isStandalone: true, selector: "a[ng-doc-tab-route]", inputs: { isActive: "isActive" }, hostDirectives: [{ directive: i1.NgDocSelectionOriginDirective, inputs: ["ngDocSelectionOrigin", "isActive"] }], ngImport: i0, template: "<ng-content></ng-content>\n", styles: [":host{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;padding:calc(var(--ng-doc-base-gutter) + var(--ng-doc-base-gutter) / 2) calc(var(--ng-doc-base-gutter) * 2);cursor:pointer;white-space:nowrap;text-decoration:none;font-weight:500}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocTabRouteComponent, decorators: [{
type: Component,
args: [{ selector: 'a[ng-doc-tab-route]', imports: [CommonModule], hostDirectives: [
{ directive: NgDocSelectionOriginDirective, inputs: ['ngDocSelectionOrigin: isActive'] },
], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-content></ng-content>\n", styles: [":host{font-family:var(--ng-doc-font-family);font-variant:no-contextual;color:var(--ng-doc-text);line-height:var(--ng-doc-line-height);font-size:var(--ng-doc-font-size);font-weight:var(--ng-doc-font-weight);position:relative;padding:calc(var(--ng-doc-base-gutter) + var(--ng-doc-base-gutter) / 2) calc(var(--ng-doc-base-gutter) * 2);cursor:pointer;white-space:nowrap;text-decoration:none;font-weight:500}\n"] }]
}], propDecorators: { isActive: [{
type: Input
}] } });
class NgDocTabRoutesGroupComponent {
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocTabRoutesGroupComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "19.0.3", type: NgDocTabRoutesGroupComponent, isStandalone: true, selector: "ng-doc-tab-routes-group", hostDirectives: [{ directive: i1.NgDocSelectionHostDirective }], ngImport: i0, template: "<ng-doc-selection></ng-doc-selection>\n<ng-content></ng-content>\n", styles: [":host{position:relative;display:flex;border-bottom:1px solid var(--ng-doc-base-4)}\n"], dependencies: [{ kind: "ngmodule", type: CommonModule }, { kind: "component", type: NgDocSelectionComponent, selector: "ng-doc-selection", inputs: ["align"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
}
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.0.3", ngImport: i0, type: NgDocTabRoutesGroupComponent, decorators: [{
type: Component,
args: [{ selector: 'ng-doc-tab-routes-group', imports: [CommonModule, NgDocSelectionComponent, NgDocSelectionHostDirective], hostDirectives: [NgDocSelectionHostDirective], changeDetection: ChangeDetectionStrategy.OnPush, template: "<ng-doc-selection></ng-doc-selection>\n<ng-content></ng-content>\n", styles: [":host{position:relative;display:flex;border-bottom:1px solid var(--ng-doc-base-4)}\n"] }]
}] });
/**
* Generated bundle index. Do not edit.
*/
export { NgDocTabRouteComponent, NgDocTabRoutesGroupComponent };
//# sourceMappingURL=ng-doc-ui-kit-components-tab-routes-group.mjs.map