1 | import { NgModule, Directive, Input } from '@angular/core';
|
---|
2 | import { CommonModule } from '@angular/common';
|
---|
3 | import { Component } from '@angular/core';
|
---|
4 | import * as i0 from "@angular/core";
|
---|
5 | export class Header {
|
---|
6 | }
|
---|
7 | Header.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: Header, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
---|
8 | Header.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: Header, selector: "p-header", ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
---|
9 | i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: Header, decorators: [{
|
---|
10 | type: Component,
|
---|
11 | args: [{
|
---|
12 | selector: 'p-header',
|
---|
13 | template: '<ng-content></ng-content>'
|
---|
14 | }]
|
---|
15 | }] });
|
---|
16 | export class Footer {
|
---|
17 | }
|
---|
18 | Footer.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: Footer, deps: [], target: i0.ɵɵFactoryTarget.Component });
|
---|
19 | Footer.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "13.0.0", type: Footer, selector: "p-footer", ngImport: i0, template: '<ng-content></ng-content>', isInline: true });
|
---|
20 | i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: Footer, decorators: [{
|
---|
21 | type: Component,
|
---|
22 | args: [{
|
---|
23 | selector: 'p-footer',
|
---|
24 | template: '<ng-content></ng-content>'
|
---|
25 | }]
|
---|
26 | }] });
|
---|
27 | export class PrimeTemplate {
|
---|
28 | constructor(template) {
|
---|
29 | this.template = template;
|
---|
30 | }
|
---|
31 | getType() {
|
---|
32 | return this.name;
|
---|
33 | }
|
---|
34 | }
|
---|
35 | PrimeTemplate.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PrimeTemplate, deps: [{ token: i0.TemplateRef }], target: i0.ɵɵFactoryTarget.Directive });
|
---|
36 | PrimeTemplate.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "12.0.0", version: "13.0.0", type: PrimeTemplate, selector: "[pTemplate]", inputs: { type: "type", name: ["pTemplate", "name"] }, ngImport: i0 });
|
---|
37 | i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: PrimeTemplate, decorators: [{
|
---|
38 | type: Directive,
|
---|
39 | args: [{
|
---|
40 | selector: '[pTemplate]',
|
---|
41 | host: {}
|
---|
42 | }]
|
---|
43 | }], ctorParameters: function () { return [{ type: i0.TemplateRef }]; }, propDecorators: { type: [{
|
---|
44 | type: Input
|
---|
45 | }], name: [{
|
---|
46 | type: Input,
|
---|
47 | args: ['pTemplate']
|
---|
48 | }] } });
|
---|
49 | export class SharedModule {
|
---|
50 | }
|
---|
51 | SharedModule.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SharedModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
---|
52 | SharedModule.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SharedModule, declarations: [Header, Footer, PrimeTemplate], imports: [CommonModule], exports: [Header, Footer, PrimeTemplate] });
|
---|
53 | SharedModule.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SharedModule, imports: [[CommonModule]] });
|
---|
54 | i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "13.0.0", ngImport: i0, type: SharedModule, decorators: [{
|
---|
55 | type: NgModule,
|
---|
56 | args: [{
|
---|
57 | imports: [CommonModule],
|
---|
58 | exports: [Header, Footer, PrimeTemplate],
|
---|
59 | declarations: [Header, Footer, PrimeTemplate]
|
---|
60 | }]
|
---|
61 | }] });
|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