-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchunk-5O2FRRVB.js
More file actions
executable file
·149 lines (148 loc) · 9.18 KB
/
chunk-5O2FRRVB.js
File metadata and controls
executable file
·149 lines (148 loc) · 9.18 KB
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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
import {
HeroAsyncMessageComponent
} from "./chunk-J3APLFGJ.js";
import {
PrecedenceComponent
} from "./chunk-I6HI5XBQ.js";
import {
JsonPipeComponent
} from "./chunk-LHG24OTT.js";
import {
PowerBoosterComponent
} from "./chunk-WTVMXOGF.js";
import {
BirthdayComponent
} from "./chunk-SJJ3YFYI.js";
import {
BirthdayFormattingComponent
} from "./chunk-77VYMRTN.js";
import {
BirthdayPipeChainingComponent
} from "./chunk-N5XE7LWZ.js";
import {
FlyingHeroesComponent,
FlyingHeroesImpureComponent
} from "./chunk-RVIVEV5G.js";
import "./chunk-IP3YSDXJ.js";
import "./chunk-OV2CFM4K.js";
import {
Component,
__name,
__publicField,
setClassMetadata,
ɵsetClassDebugInfo,
ɵɵdefineComponent,
ɵɵelement,
ɵɵelementEnd,
ɵɵelementStart,
ɵɵtext
} from "./chunk-2CX5BJWG.js";
// src/content/examples/pipes/src/app/app.component.ts
var _AppComponent = class _AppComponent {
birthday = new Date(1988, 3, 15);
};
__name(_AppComponent, "AppComponent");
// April 15, 1988 -- since month parameter is zero-based
__publicField(_AppComponent, "\u0275fac", /* @__PURE__ */ __name(function AppComponent_Factory(__ngFactoryType__) {
return new (__ngFactoryType__ || _AppComponent)();
}, "AppComponent_Factory"));
__publicField(_AppComponent, "\u0275cmp", /* @__PURE__ */ \u0275\u0275defineComponent({ type: _AppComponent, selectors: [["app-root"]], decls: 52, vars: 0, consts: [["id", "toc"], ["href", "#date-pipe"], ["href", "#date-pipe-formatting"], ["href", "#pipe-chaining"], ["href", "#power-booster"], ["href", "#hero-async-message"], ["href", "#json-pipe"], ["href", "#pipe-precedence"], ["href", "#flying-heroes"], ["href", "#flying-heroes-impure"], ["id", "date-pipe"], ["id", "date-pipe-formatting"], ["id", "pipe-chaining"], ["id", "power-booster"], ["id", "pipe-precedence"], ["id", "hero-async-message"], ["id", "json-pipe"], ["id", "flying-heroes"], ["id", "flying-heroes-impure"]], template: /* @__PURE__ */ __name(function AppComponent_Template(rf, ctx) {
if (rf & 1) {
\u0275\u0275elementStart(0, "h1", 0);
\u0275\u0275text(1, "Pipes");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(2, "a", 1);
\u0275\u0275text(3, "Date Pipe");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(4, "a", 2);
\u0275\u0275text(5, "Date Pipe Formatting");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(6, "a", 3);
\u0275\u0275text(7, "Pipe Chaining");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(8, "a", 4);
\u0275\u0275text(9, "Power Booster custom pipe");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(10, "a", 5);
\u0275\u0275text(11, "Async Messages and AsyncPipe");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(12, "a", 6);
\u0275\u0275text(13, "Json Pipe for Debugging");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(14, "a", 7);
\u0275\u0275text(15, "Pipes and Precedence");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(16, "a", 8);
\u0275\u0275text(17, "Flying Heroes filter pipe (pure)");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(18, "a", 9);
\u0275\u0275text(19, "Flying Heroes filter pipe (impure)");
\u0275\u0275elementEnd();
\u0275\u0275element(20, "hr");
\u0275\u0275elementStart(21, "h2", 10);
\u0275\u0275text(22, "Date Pipe");
\u0275\u0275elementEnd();
\u0275\u0275element(23, "app-birthday")(24, "hr");
\u0275\u0275elementStart(25, "h2", 11);
\u0275\u0275text(26, "Date Pipe Formatting");
\u0275\u0275elementEnd();
\u0275\u0275element(27, "app-birthday-formatting")(28, "hr");
\u0275\u0275elementStart(29, "h2", 12);
\u0275\u0275text(30, "Pipe Chaining");
\u0275\u0275elementEnd();
\u0275\u0275element(31, "app-birthday-pipe-chaining")(32, "hr")(33, "app-power-booster", 13);
\u0275\u0275elementStart(34, "h2", 14);
\u0275\u0275text(35, "Pipes and Precedence");
\u0275\u0275elementEnd();
\u0275\u0275element(36, "app-pipe-precedence")(37, "hr")(38, "app-hero-async-message", 15)(39, "hr");
\u0275\u0275elementStart(40, "h2", 16);
\u0275\u0275text(41, "Json Pipe for Debugging");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(42, "p");
\u0275\u0275text(43, "Use the JsonPipe to display component properties for debugging.");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(44, "code");
\u0275\u0275text(45, "data | json");
\u0275\u0275elementEnd();
\u0275\u0275elementStart(46, "p");
\u0275\u0275element(47, "app-json-pipe");
\u0275\u0275elementEnd();
\u0275\u0275element(48, "hr")(49, "app-flying-heroes", 17)(50, "hr")(51, "app-flying-heroes-impure", 18);
}
}, "AppComponent_Template"), dependencies: [
// Example components
BirthdayComponent,
BirthdayFormattingComponent,
BirthdayPipeChainingComponent,
FlyingHeroesComponent,
FlyingHeroesImpureComponent,
HeroAsyncMessageComponent,
PrecedenceComponent,
JsonPipeComponent,
PowerBoosterComponent
], styles: ["\n\na[href][_ngcontent-%COMP%] {\n display: block;\n padding: 10px 0;\n}\n/*# sourceMappingURL=app.component.css.map */", "\n\na[_ngcontent-%COMP%]:hover {\n text-decoration: none;\n}\n/*# sourceMappingURL=app.component.css.map */", "\n\nh2[_ngcontent-%COMP%] {\n margin: 0;\n}\n/*# sourceMappingURL=app.component.css.map */", "\n\ncode[_ngcontent-%COMP%] {\n font-family: monospace;\n background-color: #eee;\n padding: 0.5em;\n}\n/*# sourceMappingURL=app.component.css.map */"] }));
var AppComponent = _AppComponent;
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(AppComponent, [{
type: Component,
args: [{ selector: "app-root", imports: [
// Example components
BirthdayComponent,
BirthdayFormattingComponent,
BirthdayPipeChainingComponent,
FlyingHeroesComponent,
FlyingHeroesImpureComponent,
HeroAsyncMessageComponent,
PrecedenceComponent,
JsonPipeComponent,
PowerBoosterComponent
], template: '<h1 id="toc">Pipes</h1>\n<a href="#date-pipe">Date Pipe</a>\n<a href="#date-pipe-formatting">Date Pipe Formatting</a>\n<a href="#pipe-chaining">Pipe Chaining</a>\n<a href="#power-booster">Power Booster custom pipe</a>\n<a href="#hero-async-message">Async Messages and AsyncPipe</a>\n<a href="#json-pipe">Json Pipe for Debugging</a>\n<a href="#pipe-precedence">Pipes and Precedence</a>\n<a href="#flying-heroes">Flying Heroes filter pipe (pure)</a>\n<a href="#flying-heroes-impure">Flying Heroes filter pipe (impure)</a>\n\n<hr>\n<h2 id="date-pipe">Date Pipe</h2>\n<app-birthday></app-birthday>\n\n<hr>\n<h2 id="date-pipe-formatting">Date Pipe Formatting</h2>\n<app-birthday-formatting></app-birthday-formatting>\n\n<hr>\n<h2 id="pipe-chaining">Pipe Chaining</h2>\n<app-birthday-pipe-chaining></app-birthday-pipe-chaining>\n\n<hr>\n<app-power-booster id="power-booster"></app-power-booster>\n\n<h2 id="pipe-precedence">Pipes and Precedence</h2>\n<app-pipe-precedence></app-pipe-precedence>\n\n<hr>\n<app-hero-async-message id="hero-async-message"></app-hero-async-message>\n\n<hr>\n<h2 id="json-pipe">Json Pipe for Debugging</h2>\n<p>Use the JsonPipe to display component properties for debugging.</p>\n<code>data | json</code>\n<p>\n <app-json-pipe></app-json-pipe>\n</p>\n\n<hr>\n<app-flying-heroes id="flying-heroes"></app-flying-heroes>\n\n<hr>\n<app-flying-heroes-impure id="flying-heroes-impure"></app-flying-heroes-impure>\n', styles: ["/* angular:styles/component:scss;5185fb0f0e2448304ceea8ff9e83b9a90f677246f39120c86d18d76337bf265f;/private/var/tmp/_bazel_wzc/9dd57f1bf43e7c8b8d91b30eefed3698/sandbox/darwin-sandbox/33/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/adev/src/content/examples/pipes/src/app/app.component.ts */\na[href] {\n display: block;\n padding: 10px 0;\n}\n/*# sourceMappingURL=app.component.css.map */\n", "/* angular:styles/component:scss;39674c500d87b0f153fa8caa3c30734ee46403e19c5493cd86e60cd2aa09f785;/private/var/tmp/_bazel_wzc/9dd57f1bf43e7c8b8d91b30eefed3698/sandbox/darwin-sandbox/33/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/adev/src/content/examples/pipes/src/app/app.component.ts */\na:hover {\n text-decoration: none;\n}\n/*# sourceMappingURL=app.component.css.map */\n", "/* angular:styles/component:scss;eabeaa3370e527e00e970208fea6b67d43ef977b3ee4515f12701b84d0f5d3b2;/private/var/tmp/_bazel_wzc/9dd57f1bf43e7c8b8d91b30eefed3698/sandbox/darwin-sandbox/33/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/adev/src/content/examples/pipes/src/app/app.component.ts */\nh2 {\n margin: 0;\n}\n/*# sourceMappingURL=app.component.css.map */\n", "/* angular:styles/component:scss;eadff12050fc79ed49d20cfcea816375d9fc8cc98718f40bdbf0b999f670ab4d;/private/var/tmp/_bazel_wzc/9dd57f1bf43e7c8b8d91b30eefed3698/sandbox/darwin-sandbox/33/execroot/_main/bazel-out/darwin_x86_64-fastbuild/bin/adev/src/content/examples/pipes/src/app/app.component.ts */\ncode {\n font-family: monospace;\n background-color: #eee;\n padding: 0.5em;\n}\n/*# sourceMappingURL=app.component.css.map */\n"] }]
}], null, null);
})();
(() => {
(typeof ngDevMode === "undefined" || ngDevMode) && \u0275setClassDebugInfo(AppComponent, { className: "AppComponent", filePath: "src/content/examples/pipes/src/app/app.component.ts", lineNumber: 34 });
})();
export {
AppComponent
};
//# sourceMappingURL=chunk-5O2FRRVB.js.map