ng-zorro-antd
Version:
An enterprise-class UI components based on Ant Design and Angular
78 lines (77 loc) • 1.92 kB
JavaScript
import * as i0 from "@angular/core";
import { Directive, ElementRef, NgModule, inject } from "@angular/core";
var NzElementPatchDirective = class NzElementPatchDirective {
elementRef = inject(ElementRef);
get nativeElement() {
return this.elementRef.nativeElement;
}
static ɵfac = i0.ɵɵngDeclareFactory({
minVersion: "12.0.0",
version: "22.2.2",
ngImport: i0,
type: NzElementPatchDirective,
deps: [],
target: i0.ɵɵFactoryTarget.Directive
});
static ɵdir = i0.ɵɵngDeclareDirective({
minVersion: "14.0.0",
version: "22.2.2",
type: NzElementPatchDirective,
isStandalone: true,
selector: "[nzElement], [nz-element]",
exportAs: ["nzElement"],
ngImport: i0
});
};
i0.ɵɵngDeclareClassMetadata({
minVersion: "12.0.0",
version: "22.2.2",
ngImport: i0,
type: NzElementPatchDirective,
decorators: [{
type: Directive,
args: [{
selector: "[nzElement], [nz-element]",
exportAs: "nzElement"
}]
}]
});
var NzElementPatchModule = class NzElementPatchModule {
static ɵfac = i0.ɵɵngDeclareFactory({
minVersion: "12.0.0",
version: "22.2.2",
ngImport: i0,
type: NzElementPatchModule,
deps: [],
target: i0.ɵɵFactoryTarget.NgModule
});
static ɵmod = i0.ɵɵngDeclareNgModule({
minVersion: "14.0.0",
version: "22.2.2",
ngImport: i0,
type: NzElementPatchModule,
imports: [NzElementPatchDirective],
exports: [NzElementPatchDirective]
});
static ɵinj = i0.ɵɵngDeclareInjector({
minVersion: "12.0.0",
version: "22.2.2",
ngImport: i0,
type: NzElementPatchModule
});
};
i0.ɵɵngDeclareClassMetadata({
minVersion: "12.0.0",
version: "22.2.2",
ngImport: i0,
type: NzElementPatchModule,
decorators: [{
type: NgModule,
args: [{
imports: [NzElementPatchDirective],
exports: [NzElementPatchDirective]
}]
}]
});
export { NzElementPatchDirective, NzElementPatchModule };
//# sourceMappingURL=ng-zorro-antd-core-element-patch.mjs.map