UNPKG

51.7 kBJavaScriptView Raw
1import { __decorate, __metadata } from 'tslib';
2import { Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, NgZone, NgModule } from '@angular/core';
3import { fromEvent } from 'rxjs';
4import { defineCustomElements } from '@aws-amplify/ui-components/loader';
5
6/**
7 * @fileoverview added by tsickle
8 * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
9 */
10/** @type {?} */
11const proxyInputs = (/**
12 * @param {?} Cmp
13 * @param {?} inputs
14 * @return {?}
15 */
16(Cmp, inputs) => {
17 /** @type {?} */
18 const Prototype = Cmp.prototype;
19 inputs.forEach((/**
20 * @param {?} item
21 * @return {?}
22 */
23 item => {
24 Object.defineProperty(Prototype, item, {
25 /**
26 * @return {?}
27 */
28 get() { return this.el[item]; },
29 /**
30 * @param {?} val
31 * @return {?}
32 */
33 set(val) { this.z.runOutsideAngular((/**
34 * @return {?}
35 */
36 () => (this.el[item] = val))); }
37 });
38 }));
39});
40/** @type {?} */
41const proxyMethods = (/**
42 * @param {?} Cmp
43 * @param {?} methods
44 * @return {?}
45 */
46(Cmp, methods) => {
47 /** @type {?} */
48 const Prototype = Cmp.prototype;
49 methods.forEach((/**
50 * @param {?} methodName
51 * @return {?}
52 */
53 methodName => {
54 Prototype[methodName] = (/**
55 * @return {?}
56 */
57 function () {
58 /** @type {?} */
59 const args = arguments;
60 return this.z.runOutsideAngular((/**
61 * @return {?}
62 */
63 () => this.el[methodName].apply(this.el, args)));
64 });
65 }));
66});
67/** @type {?} */
68const proxyOutputs = (/**
69 * @param {?} instance
70 * @param {?} el
71 * @param {?} events
72 * @return {?}
73 */
74(instance, el, events) => {
75 events.forEach((/**
76 * @param {?} eventName
77 * @return {?}
78 */
79 eventName => instance[eventName] = fromEvent(el, eventName)));
80})
81// tslint:disable-next-line: only-arrow-functions
82;
83// tslint:disable-next-line: only-arrow-functions
84/**
85 * @param {?} opts
86 * @return {?}
87 */
88function ProxyCmp(opts) {
89 /** @type {?} */
90 const decorator = (/**
91 * @param {?} cls
92 * @return {?}
93 */
94 function (cls) {
95 if (opts.inputs) {
96 proxyInputs(cls, opts.inputs);
97 }
98 if (opts.methods) {
99 proxyMethods(cls, opts.methods);
100 }
101 return cls;
102 });
103 return decorator;
104}
105let AmplifyAmazonButton = class AmplifyAmazonButton {
106 /**
107 * @param {?} c
108 * @param {?} r
109 * @param {?} z
110 */
111 constructor(c, r, z) {
112 this.z = z;
113 c.detach();
114 this.el = r.nativeElement;
115 }
116};
117AmplifyAmazonButton.decorators = [
118 { type: Component, args: [{ selector: 'amplify-amazon-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['clientId', 'handleAuthStateChange'] },] },
119];
120/** @nocollapse */
121AmplifyAmazonButton.ctorParameters = () => [
122 { type: ChangeDetectorRef },
123 { type: ElementRef },
124 { type: NgZone }
125];
126AmplifyAmazonButton = __decorate([
127 ProxyCmp({ inputs: ['clientId', 'handleAuthStateChange'] }),
128 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
129], AmplifyAmazonButton);
130let AmplifyAuthFields = class AmplifyAuthFields {
131 /**
132 * @param {?} c
133 * @param {?} r
134 * @param {?} z
135 */
136 constructor(c, r, z) {
137 this.z = z;
138 c.detach();
139 this.el = r.nativeElement;
140 }
141};
142AmplifyAuthFields.decorators = [
143 { type: Component, args: [{ selector: 'amplify-auth-fields', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['formFields'] },] },
144];
145/** @nocollapse */
146AmplifyAuthFields.ctorParameters = () => [
147 { type: ChangeDetectorRef },
148 { type: ElementRef },
149 { type: NgZone }
150];
151AmplifyAuthFields = __decorate([
152 ProxyCmp({ inputs: ['formFields'] }),
153 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
154], AmplifyAuthFields);
155let AmplifyAuth0Button = class AmplifyAuth0Button {
156 /**
157 * @param {?} c
158 * @param {?} r
159 * @param {?} z
160 */
161 constructor(c, r, z) {
162 this.z = z;
163 c.detach();
164 this.el = r.nativeElement;
165 }
166};
167AmplifyAuth0Button.decorators = [
168 { type: Component, args: [{ selector: 'amplify-auth0-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['config', 'handleAuthStateChange'] },] },
169];
170/** @nocollapse */
171AmplifyAuth0Button.ctorParameters = () => [
172 { type: ChangeDetectorRef },
173 { type: ElementRef },
174 { type: NgZone }
175];
176AmplifyAuth0Button = __decorate([
177 ProxyCmp({ inputs: ['config', 'handleAuthStateChange'] }),
178 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
179], AmplifyAuth0Button);
180let AmplifyAuthenticator = class AmplifyAuthenticator {
181 /**
182 * @param {?} c
183 * @param {?} r
184 * @param {?} z
185 */
186 constructor(c, r, z) {
187 this.z = z;
188 c.detach();
189 this.el = r.nativeElement;
190 }
191};
192AmplifyAuthenticator.decorators = [
193 { type: Component, args: [{ selector: 'amplify-authenticator', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['federated', 'handleAuthStateChange', 'initialAuthState', 'usernameAlias'] },] },
194];
195/** @nocollapse */
196AmplifyAuthenticator.ctorParameters = () => [
197 { type: ChangeDetectorRef },
198 { type: ElementRef },
199 { type: NgZone }
200];
201AmplifyAuthenticator = __decorate([
202 ProxyCmp({ inputs: ['federated', 'handleAuthStateChange', 'initialAuthState', 'usernameAlias'] }),
203 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
204], AmplifyAuthenticator);
205let AmplifyButton = class AmplifyButton {
206 /**
207 * @param {?} c
208 * @param {?} r
209 * @param {?} z
210 */
211 constructor(c, r, z) {
212 this.z = z;
213 c.detach();
214 this.el = r.nativeElement;
215 }
216};
217AmplifyButton.decorators = [
218 { type: Component, args: [{ selector: 'amplify-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['disabled', 'handleButtonClick', 'icon', 'type', 'variant'] },] },
219];
220/** @nocollapse */
221AmplifyButton.ctorParameters = () => [
222 { type: ChangeDetectorRef },
223 { type: ElementRef },
224 { type: NgZone }
225];
226AmplifyButton = __decorate([
227 ProxyCmp({ inputs: ['disabled', 'handleButtonClick', 'icon', 'type', 'variant'] }),
228 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
229], AmplifyButton);
230let AmplifyChatbot = class AmplifyChatbot {
231 /**
232 * @param {?} c
233 * @param {?} r
234 * @param {?} z
235 */
236 constructor(c, r, z) {
237 this.z = z;
238 c.detach();
239 this.el = r.nativeElement;
240 proxyOutputs(this, this.el, ['chatCompleted']);
241 }
242};
243AmplifyChatbot.decorators = [
244 { type: Component, args: [{ selector: 'amplify-chatbot', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['botName', 'botTitle', 'clearOnComplete', 'conversationModeOn', 'silenceThreshold', 'silenceTime', 'textEnabled', 'voiceEnabled', 'welcomeMessage'] },] },
245];
246/** @nocollapse */
247AmplifyChatbot.ctorParameters = () => [
248 { type: ChangeDetectorRef },
249 { type: ElementRef },
250 { type: NgZone }
251];
252AmplifyChatbot = __decorate([
253 ProxyCmp({ inputs: ['botName', 'botTitle', 'clearOnComplete', 'conversationModeOn', 'silenceThreshold', 'silenceTime', 'textEnabled', 'voiceEnabled', 'welcomeMessage'] }),
254 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
255], AmplifyChatbot);
256let AmplifyCheckbox = class AmplifyCheckbox {
257 /**
258 * @param {?} c
259 * @param {?} r
260 * @param {?} z
261 */
262 constructor(c, r, z) {
263 this.z = z;
264 c.detach();
265 this.el = r.nativeElement;
266 }
267};
268AmplifyCheckbox.decorators = [
269 { type: Component, args: [{ selector: 'amplify-checkbox', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['checked', 'disabled', 'fieldId', 'label', 'name', 'value'] },] },
270];
271/** @nocollapse */
272AmplifyCheckbox.ctorParameters = () => [
273 { type: ChangeDetectorRef },
274 { type: ElementRef },
275 { type: NgZone }
276];
277AmplifyCheckbox = __decorate([
278 ProxyCmp({ inputs: ['checked', 'disabled', 'fieldId', 'label', 'name', 'value'] }),
279 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
280], AmplifyCheckbox);
281let AmplifyCodeField = class AmplifyCodeField {
282 /**
283 * @param {?} c
284 * @param {?} r
285 * @param {?} z
286 */
287 constructor(c, r, z) {
288 this.z = z;
289 c.detach();
290 this.el = r.nativeElement;
291 }
292};
293AmplifyCodeField.decorators = [
294 { type: Component, args: [{ selector: 'amplify-code-field', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['disabled', 'fieldId', 'handleInputChange', 'hint', 'inputProps', 'label', 'placeholder', 'required', 'value'] },] },
295];
296/** @nocollapse */
297AmplifyCodeField.ctorParameters = () => [
298 { type: ChangeDetectorRef },
299 { type: ElementRef },
300 { type: NgZone }
301];
302AmplifyCodeField = __decorate([
303 ProxyCmp({ inputs: ['disabled', 'fieldId', 'handleInputChange', 'hint', 'inputProps', 'label', 'placeholder', 'required', 'value'] }),
304 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
305], AmplifyCodeField);
306let AmplifyConfirmSignIn = class AmplifyConfirmSignIn {
307 /**
308 * @param {?} c
309 * @param {?} r
310 * @param {?} z
311 */
312 constructor(c, r, z) {
313 this.z = z;
314 c.detach();
315 this.el = r.nativeElement;
316 }
317};
318AmplifyConfirmSignIn.decorators = [
319 { type: Component, args: [{ selector: 'amplify-confirm-sign-in', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['formFields', 'handleAuthStateChange', 'handleSubmit', 'headerText', 'submitButtonText', 'user'] },] },
320];
321/** @nocollapse */
322AmplifyConfirmSignIn.ctorParameters = () => [
323 { type: ChangeDetectorRef },
324 { type: ElementRef },
325 { type: NgZone }
326];
327AmplifyConfirmSignIn = __decorate([
328 ProxyCmp({ inputs: ['formFields', 'handleAuthStateChange', 'handleSubmit', 'headerText', 'submitButtonText', 'user'] }),
329 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
330], AmplifyConfirmSignIn);
331let AmplifyConfirmSignUp = class AmplifyConfirmSignUp {
332 /**
333 * @param {?} c
334 * @param {?} r
335 * @param {?} z
336 */
337 constructor(c, r, z) {
338 this.z = z;
339 c.detach();
340 this.el = r.nativeElement;
341 }
342};
343AmplifyConfirmSignUp.decorators = [
344 { type: Component, args: [{ selector: 'amplify-confirm-sign-up', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['formFields', 'handleAuthStateChange', 'handleSubmit', 'headerText', 'submitButtonText', 'user', 'usernameAlias'] },] },
345];
346/** @nocollapse */
347AmplifyConfirmSignUp.ctorParameters = () => [
348 { type: ChangeDetectorRef },
349 { type: ElementRef },
350 { type: NgZone }
351];
352AmplifyConfirmSignUp = __decorate([
353 ProxyCmp({ inputs: ['formFields', 'handleAuthStateChange', 'handleSubmit', 'headerText', 'submitButtonText', 'user', 'usernameAlias'] }),
354 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
355], AmplifyConfirmSignUp);
356class AmplifyContainer {
357 /**
358 * @param {?} c
359 * @param {?} r
360 * @param {?} z
361 */
362 constructor(c, r, z) {
363 this.z = z;
364 c.detach();
365 this.el = r.nativeElement;
366 }
367}
368AmplifyContainer.decorators = [
369 { type: Component, args: [{ selector: 'amplify-container', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>' },] },
370];
371/** @nocollapse */
372AmplifyContainer.ctorParameters = () => [
373 { type: ChangeDetectorRef },
374 { type: ElementRef },
375 { type: NgZone }
376];
377let AmplifyCountryDialCode = class AmplifyCountryDialCode {
378 /**
379 * @param {?} c
380 * @param {?} r
381 * @param {?} z
382 */
383 constructor(c, r, z) {
384 this.z = z;
385 c.detach();
386 this.el = r.nativeElement;
387 }
388};
389AmplifyCountryDialCode.decorators = [
390 { type: Component, args: [{ selector: 'amplify-country-dial-code', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['dialCode', 'fieldId', 'handleInputChange', 'options'] },] },
391];
392/** @nocollapse */
393AmplifyCountryDialCode.ctorParameters = () => [
394 { type: ChangeDetectorRef },
395 { type: ElementRef },
396 { type: NgZone }
397];
398AmplifyCountryDialCode = __decorate([
399 ProxyCmp({ inputs: ['dialCode', 'fieldId', 'handleInputChange', 'options'] }),
400 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
401], AmplifyCountryDialCode);
402let AmplifyEmailField = class AmplifyEmailField {
403 /**
404 * @param {?} c
405 * @param {?} r
406 * @param {?} z
407 */
408 constructor(c, r, z) {
409 this.z = z;
410 c.detach();
411 this.el = r.nativeElement;
412 }
413};
414AmplifyEmailField.decorators = [
415 { type: Component, args: [{ selector: 'amplify-email-field', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['disabled', 'fieldId', 'handleInputChange', 'inputProps', 'label', 'placeholder', 'required', 'value'] },] },
416];
417/** @nocollapse */
418AmplifyEmailField.ctorParameters = () => [
419 { type: ChangeDetectorRef },
420 { type: ElementRef },
421 { type: NgZone }
422];
423AmplifyEmailField = __decorate([
424 ProxyCmp({ inputs: ['disabled', 'fieldId', 'handleInputChange', 'inputProps', 'label', 'placeholder', 'required', 'value'] }),
425 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
426], AmplifyEmailField);
427let AmplifyFacebookButton = class AmplifyFacebookButton {
428 /**
429 * @param {?} c
430 * @param {?} r
431 * @param {?} z
432 */
433 constructor(c, r, z) {
434 this.z = z;
435 c.detach();
436 this.el = r.nativeElement;
437 }
438};
439AmplifyFacebookButton.decorators = [
440 { type: Component, args: [{ selector: 'amplify-facebook-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['appId', 'handleAuthStateChange'] },] },
441];
442/** @nocollapse */
443AmplifyFacebookButton.ctorParameters = () => [
444 { type: ChangeDetectorRef },
445 { type: ElementRef },
446 { type: NgZone }
447];
448AmplifyFacebookButton = __decorate([
449 ProxyCmp({ inputs: ['appId', 'handleAuthStateChange'] }),
450 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
451], AmplifyFacebookButton);
452let AmplifyFederatedButtons = class AmplifyFederatedButtons {
453 /**
454 * @param {?} c
455 * @param {?} r
456 * @param {?} z
457 */
458 constructor(c, r, z) {
459 this.z = z;
460 c.detach();
461 this.el = r.nativeElement;
462 }
463};
464AmplifyFederatedButtons.decorators = [
465 { type: Component, args: [{ selector: 'amplify-federated-buttons', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['authState', 'federated', 'handleAuthStateChange'] },] },
466];
467/** @nocollapse */
468AmplifyFederatedButtons.ctorParameters = () => [
469 { type: ChangeDetectorRef },
470 { type: ElementRef },
471 { type: NgZone }
472];
473AmplifyFederatedButtons = __decorate([
474 ProxyCmp({ inputs: ['authState', 'federated', 'handleAuthStateChange'] }),
475 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
476], AmplifyFederatedButtons);
477let AmplifyFederatedSignIn = class AmplifyFederatedSignIn {
478 /**
479 * @param {?} c
480 * @param {?} r
481 * @param {?} z
482 */
483 constructor(c, r, z) {
484 this.z = z;
485 c.detach();
486 this.el = r.nativeElement;
487 }
488};
489AmplifyFederatedSignIn.decorators = [
490 { type: Component, args: [{ selector: 'amplify-federated-sign-in', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['authState', 'federated'] },] },
491];
492/** @nocollapse */
493AmplifyFederatedSignIn.ctorParameters = () => [
494 { type: ChangeDetectorRef },
495 { type: ElementRef },
496 { type: NgZone }
497];
498AmplifyFederatedSignIn = __decorate([
499 ProxyCmp({ inputs: ['authState', 'federated'] }),
500 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
501], AmplifyFederatedSignIn);
502let AmplifyForgotPassword = class AmplifyForgotPassword {
503 /**
504 * @param {?} c
505 * @param {?} r
506 * @param {?} z
507 */
508 constructor(c, r, z) {
509 this.z = z;
510 c.detach();
511 this.el = r.nativeElement;
512 }
513};
514AmplifyForgotPassword.decorators = [
515 { type: Component, args: [{ selector: 'amplify-forgot-password', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['formFields', 'handleAuthStateChange', 'handleSend', 'handleSubmit', 'headerText', 'sendButtonText', 'submitButtonText', 'usernameAlias'] },] },
516];
517/** @nocollapse */
518AmplifyForgotPassword.ctorParameters = () => [
519 { type: ChangeDetectorRef },
520 { type: ElementRef },
521 { type: NgZone }
522];
523AmplifyForgotPassword = __decorate([
524 ProxyCmp({ inputs: ['formFields', 'handleAuthStateChange', 'handleSend', 'handleSubmit', 'headerText', 'sendButtonText', 'submitButtonText', 'usernameAlias'] }),
525 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
526], AmplifyForgotPassword);
527let AmplifyFormField = class AmplifyFormField {
528 /**
529 * @param {?} c
530 * @param {?} r
531 * @param {?} z
532 */
533 constructor(c, r, z) {
534 this.z = z;
535 c.detach();
536 this.el = r.nativeElement;
537 }
538};
539AmplifyFormField.decorators = [
540 { type: Component, args: [{ selector: 'amplify-form-field', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['description', 'disabled', 'fieldId', 'handleInputChange', 'hint', 'inputProps', 'label', 'name', 'placeholder', 'required', 'type', 'value'] },] },
541];
542/** @nocollapse */
543AmplifyFormField.ctorParameters = () => [
544 { type: ChangeDetectorRef },
545 { type: ElementRef },
546 { type: NgZone }
547];
548AmplifyFormField = __decorate([
549 ProxyCmp({ inputs: ['description', 'disabled', 'fieldId', 'handleInputChange', 'hint', 'inputProps', 'label', 'name', 'placeholder', 'required', 'type', 'value'] }),
550 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
551], AmplifyFormField);
552let AmplifyFormSection = class AmplifyFormSection {
553 /**
554 * @param {?} c
555 * @param {?} r
556 * @param {?} z
557 */
558 constructor(c, r, z) {
559 this.z = z;
560 c.detach();
561 this.el = r.nativeElement;
562 }
563};
564AmplifyFormSection.decorators = [
565 { type: Component, args: [{ selector: 'amplify-form-section', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['handleSubmit', 'headerText', 'loading', 'secondaryFooterContent', 'submitButtonText', 'testDataPrefix'] },] },
566];
567/** @nocollapse */
568AmplifyFormSection.ctorParameters = () => [
569 { type: ChangeDetectorRef },
570 { type: ElementRef },
571 { type: NgZone }
572];
573AmplifyFormSection = __decorate([
574 ProxyCmp({ inputs: ['handleSubmit', 'headerText', 'loading', 'secondaryFooterContent', 'submitButtonText', 'testDataPrefix'] }),
575 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
576], AmplifyFormSection);
577let AmplifyGoogleButton = class AmplifyGoogleButton {
578 /**
579 * @param {?} c
580 * @param {?} r
581 * @param {?} z
582 */
583 constructor(c, r, z) {
584 this.z = z;
585 c.detach();
586 this.el = r.nativeElement;
587 }
588};
589AmplifyGoogleButton.decorators = [
590 { type: Component, args: [{ selector: 'amplify-google-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['clientId', 'handleAuthStateChange'] },] },
591];
592/** @nocollapse */
593AmplifyGoogleButton.ctorParameters = () => [
594 { type: ChangeDetectorRef },
595 { type: ElementRef },
596 { type: NgZone }
597];
598AmplifyGoogleButton = __decorate([
599 ProxyCmp({ inputs: ['clientId', 'handleAuthStateChange'] }),
600 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
601], AmplifyGoogleButton);
602let AmplifyGreetings = class AmplifyGreetings {
603 /**
604 * @param {?} c
605 * @param {?} r
606 * @param {?} z
607 */
608 constructor(c, r, z) {
609 this.z = z;
610 c.detach();
611 this.el = r.nativeElement;
612 }
613};
614AmplifyGreetings.decorators = [
615 { type: Component, args: [{ selector: 'amplify-greetings', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['handleAuthStateChange', 'logo', 'username'] },] },
616];
617/** @nocollapse */
618AmplifyGreetings.ctorParameters = () => [
619 { type: ChangeDetectorRef },
620 { type: ElementRef },
621 { type: NgZone }
622];
623AmplifyGreetings = __decorate([
624 ProxyCmp({ inputs: ['handleAuthStateChange', 'logo', 'username'] }),
625 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
626], AmplifyGreetings);
627class AmplifyHint {
628 /**
629 * @param {?} c
630 * @param {?} r
631 * @param {?} z
632 */
633 constructor(c, r, z) {
634 this.z = z;
635 c.detach();
636 this.el = r.nativeElement;
637 }
638}
639AmplifyHint.decorators = [
640 { type: Component, args: [{ selector: 'amplify-hint', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>' },] },
641];
642/** @nocollapse */
643AmplifyHint.ctorParameters = () => [
644 { type: ChangeDetectorRef },
645 { type: ElementRef },
646 { type: NgZone }
647];
648let AmplifyIcon = class AmplifyIcon {
649 /**
650 * @param {?} c
651 * @param {?} r
652 * @param {?} z
653 */
654 constructor(c, r, z) {
655 this.z = z;
656 c.detach();
657 this.el = r.nativeElement;
658 }
659};
660AmplifyIcon.decorators = [
661 { type: Component, args: [{ selector: 'amplify-icon', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['name'] },] },
662];
663/** @nocollapse */
664AmplifyIcon.ctorParameters = () => [
665 { type: ChangeDetectorRef },
666 { type: ElementRef },
667 { type: NgZone }
668];
669AmplifyIcon = __decorate([
670 ProxyCmp({ inputs: ['name'] }),
671 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
672], AmplifyIcon);
673let AmplifyIconButton = class AmplifyIconButton {
674 /**
675 * @param {?} c
676 * @param {?} r
677 * @param {?} z
678 */
679 constructor(c, r, z) {
680 this.z = z;
681 c.detach();
682 this.el = r.nativeElement;
683 }
684};
685AmplifyIconButton.decorators = [
686 { type: Component, args: [{ selector: 'amplify-icon-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['autoShowTooltip', 'name', 'tooltip'] },] },
687];
688/** @nocollapse */
689AmplifyIconButton.ctorParameters = () => [
690 { type: ChangeDetectorRef },
691 { type: ElementRef },
692 { type: NgZone }
693];
694AmplifyIconButton = __decorate([
695 ProxyCmp({ inputs: ['autoShowTooltip', 'name', 'tooltip'] }),
696 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
697], AmplifyIconButton);
698let AmplifyInput = class AmplifyInput {
699 /**
700 * @param {?} c
701 * @param {?} r
702 * @param {?} z
703 */
704 constructor(c, r, z) {
705 this.z = z;
706 c.detach();
707 this.el = r.nativeElement;
708 proxyOutputs(this, this.el, ['formSubmit']);
709 }
710};
711AmplifyInput.decorators = [
712 { type: Component, args: [{ selector: 'amplify-input', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['description', 'disabled', 'fieldId', 'handleInputChange', 'inputProps', 'name', 'placeholder', 'type', 'value'] },] },
713];
714/** @nocollapse */
715AmplifyInput.ctorParameters = () => [
716 { type: ChangeDetectorRef },
717 { type: ElementRef },
718 { type: NgZone }
719];
720AmplifyInput = __decorate([
721 ProxyCmp({ inputs: ['description', 'disabled', 'fieldId', 'handleInputChange', 'inputProps', 'name', 'placeholder', 'type', 'value'] }),
722 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
723], AmplifyInput);
724let AmplifyLabel = class AmplifyLabel {
725 /**
726 * @param {?} c
727 * @param {?} r
728 * @param {?} z
729 */
730 constructor(c, r, z) {
731 this.z = z;
732 c.detach();
733 this.el = r.nativeElement;
734 }
735};
736AmplifyLabel.decorators = [
737 { type: Component, args: [{ selector: 'amplify-label', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['htmlFor'] },] },
738];
739/** @nocollapse */
740AmplifyLabel.ctorParameters = () => [
741 { type: ChangeDetectorRef },
742 { type: ElementRef },
743 { type: NgZone }
744];
745AmplifyLabel = __decorate([
746 ProxyCmp({ inputs: ['htmlFor'] }),
747 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
748], AmplifyLabel);
749let AmplifyLink = class AmplifyLink {
750 /**
751 * @param {?} c
752 * @param {?} r
753 * @param {?} z
754 */
755 constructor(c, r, z) {
756 this.z = z;
757 c.detach();
758 this.el = r.nativeElement;
759 }
760};
761AmplifyLink.decorators = [
762 { type: Component, args: [{ selector: 'amplify-link', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['role'] },] },
763];
764/** @nocollapse */
765AmplifyLink.ctorParameters = () => [
766 { type: ChangeDetectorRef },
767 { type: ElementRef },
768 { type: NgZone }
769];
770AmplifyLink = __decorate([
771 ProxyCmp({ inputs: ['role'] }),
772 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
773], AmplifyLink);
774class AmplifyLoadingSpinner {
775 /**
776 * @param {?} c
777 * @param {?} r
778 * @param {?} z
779 */
780 constructor(c, r, z) {
781 this.z = z;
782 c.detach();
783 this.el = r.nativeElement;
784 }
785}
786AmplifyLoadingSpinner.decorators = [
787 { type: Component, args: [{ selector: 'amplify-loading-spinner', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>' },] },
788];
789/** @nocollapse */
790AmplifyLoadingSpinner.ctorParameters = () => [
791 { type: ChangeDetectorRef },
792 { type: ElementRef },
793 { type: NgZone }
794];
795class AmplifyNav {
796 /**
797 * @param {?} c
798 * @param {?} r
799 * @param {?} z
800 */
801 constructor(c, r, z) {
802 this.z = z;
803 c.detach();
804 this.el = r.nativeElement;
805 }
806}
807AmplifyNav.decorators = [
808 { type: Component, args: [{ selector: 'amplify-nav', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>' },] },
809];
810/** @nocollapse */
811AmplifyNav.ctorParameters = () => [
812 { type: ChangeDetectorRef },
813 { type: ElementRef },
814 { type: NgZone }
815];
816let AmplifyOauthButton = class AmplifyOauthButton {
817 /**
818 * @param {?} c
819 * @param {?} r
820 * @param {?} z
821 */
822 constructor(c, r, z) {
823 this.z = z;
824 c.detach();
825 this.el = r.nativeElement;
826 }
827};
828AmplifyOauthButton.decorators = [
829 { type: Component, args: [{ selector: 'amplify-oauth-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['config'] },] },
830];
831/** @nocollapse */
832AmplifyOauthButton.ctorParameters = () => [
833 { type: ChangeDetectorRef },
834 { type: ElementRef },
835 { type: NgZone }
836];
837AmplifyOauthButton = __decorate([
838 ProxyCmp({ inputs: ['config'] }),
839 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
840], AmplifyOauthButton);
841let AmplifyPasswordField = class AmplifyPasswordField {
842 /**
843 * @param {?} c
844 * @param {?} r
845 * @param {?} z
846 */
847 constructor(c, r, z) {
848 this.z = z;
849 c.detach();
850 this.el = r.nativeElement;
851 }
852};
853AmplifyPasswordField.decorators = [
854 { type: Component, args: [{ selector: 'amplify-password-field', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['disabled', 'fieldId', 'handleInputChange', 'hint', 'inputProps', 'label', 'placeholder', 'required', 'value'] },] },
855];
856/** @nocollapse */
857AmplifyPasswordField.ctorParameters = () => [
858 { type: ChangeDetectorRef },
859 { type: ElementRef },
860 { type: NgZone }
861];
862AmplifyPasswordField = __decorate([
863 ProxyCmp({ inputs: ['disabled', 'fieldId', 'handleInputChange', 'hint', 'inputProps', 'label', 'placeholder', 'required', 'value'] }),
864 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
865], AmplifyPasswordField);
866let AmplifyPhoneField = class AmplifyPhoneField {
867 /**
868 * @param {?} c
869 * @param {?} r
870 * @param {?} z
871 */
872 constructor(c, r, z) {
873 this.z = z;
874 c.detach();
875 this.el = r.nativeElement;
876 }
877};
878AmplifyPhoneField.decorators = [
879 { type: Component, args: [{ selector: 'amplify-phone-field', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['dialCode', 'disabled', 'fieldId', 'handleInputChange', 'hint', 'inputProps', 'label', 'placeholder', 'required', 'value'] },] },
880];
881/** @nocollapse */
882AmplifyPhoneField.ctorParameters = () => [
883 { type: ChangeDetectorRef },
884 { type: ElementRef },
885 { type: NgZone }
886];
887AmplifyPhoneField = __decorate([
888 ProxyCmp({ inputs: ['dialCode', 'disabled', 'fieldId', 'handleInputChange', 'hint', 'inputProps', 'label', 'placeholder', 'required', 'value'] }),
889 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
890], AmplifyPhoneField);
891let AmplifyPhotoPicker = class AmplifyPhotoPicker {
892 /**
893 * @param {?} c
894 * @param {?} r
895 * @param {?} z
896 */
897 constructor(c, r, z) {
898 this.z = z;
899 c.detach();
900 this.el = r.nativeElement;
901 }
902};
903AmplifyPhotoPicker.decorators = [
904 { type: Component, args: [{ selector: 'amplify-photo-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['buttonText', 'handleClick', 'headerHint', 'headerTitle', 'placeholderHint', 'previewSrc'] },] },
905];
906/** @nocollapse */
907AmplifyPhotoPicker.ctorParameters = () => [
908 { type: ChangeDetectorRef },
909 { type: ElementRef },
910 { type: NgZone }
911];
912AmplifyPhotoPicker = __decorate([
913 ProxyCmp({ inputs: ['buttonText', 'handleClick', 'headerHint', 'headerTitle', 'placeholderHint', 'previewSrc'] }),
914 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
915], AmplifyPhotoPicker);
916let AmplifyPicker = class AmplifyPicker {
917 /**
918 * @param {?} c
919 * @param {?} r
920 * @param {?} z
921 */
922 constructor(c, r, z) {
923 this.z = z;
924 c.detach();
925 this.el = r.nativeElement;
926 }
927};
928AmplifyPicker.decorators = [
929 { type: Component, args: [{ selector: 'amplify-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['acceptValue', 'inputHandler', 'pickerText'] },] },
930];
931/** @nocollapse */
932AmplifyPicker.ctorParameters = () => [
933 { type: ChangeDetectorRef },
934 { type: ElementRef },
935 { type: NgZone }
936];
937AmplifyPicker = __decorate([
938 ProxyCmp({ inputs: ['acceptValue', 'inputHandler', 'pickerText'] }),
939 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
940], AmplifyPicker);
941let AmplifyRadioButton = class AmplifyRadioButton {
942 /**
943 * @param {?} c
944 * @param {?} r
945 * @param {?} z
946 */
947 constructor(c, r, z) {
948 this.z = z;
949 c.detach();
950 this.el = r.nativeElement;
951 }
952};
953AmplifyRadioButton.decorators = [
954 { type: Component, args: [{ selector: 'amplify-radio-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['checked', 'disabled', 'fieldId', 'handleInputChange', 'inputProps', 'label', 'name', 'placeholder', 'value'] },] },
955];
956/** @nocollapse */
957AmplifyRadioButton.ctorParameters = () => [
958 { type: ChangeDetectorRef },
959 { type: ElementRef },
960 { type: NgZone }
961];
962AmplifyRadioButton = __decorate([
963 ProxyCmp({ inputs: ['checked', 'disabled', 'fieldId', 'handleInputChange', 'inputProps', 'label', 'name', 'placeholder', 'value'] }),
964 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
965], AmplifyRadioButton);
966let AmplifyRequireNewPassword = class AmplifyRequireNewPassword {
967 /**
968 * @param {?} c
969 * @param {?} r
970 * @param {?} z
971 */
972 constructor(c, r, z) {
973 this.z = z;
974 c.detach();
975 this.el = r.nativeElement;
976 }
977};
978AmplifyRequireNewPassword.decorators = [
979 { type: Component, args: [{ selector: 'amplify-require-new-password', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['formFields', 'handleAuthStateChange', 'handleSubmit', 'headerText', 'submitButtonText', 'user'] },] },
980];
981/** @nocollapse */
982AmplifyRequireNewPassword.ctorParameters = () => [
983 { type: ChangeDetectorRef },
984 { type: ElementRef },
985 { type: NgZone }
986];
987AmplifyRequireNewPassword = __decorate([
988 ProxyCmp({ inputs: ['formFields', 'handleAuthStateChange', 'handleSubmit', 'headerText', 'submitButtonText', 'user'] }),
989 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
990], AmplifyRequireNewPassword);
991let AmplifyS3Album = class AmplifyS3Album {
992 /**
993 * @param {?} c
994 * @param {?} r
995 * @param {?} z
996 */
997 constructor(c, r, z) {
998 this.z = z;
999 c.detach();
1000 this.el = r.nativeElement;
1001 }
1002};
1003AmplifyS3Album.decorators = [
1004 { type: Component, args: [{ selector: 'amplify-s3-album', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['contentType', 'fileToKey', 'filter', 'handleOnError', 'handleOnLoad', 'identityId', 'level', 'path', 'picker', 'pickerText', 'sort', 'track'] },] },
1005];
1006/** @nocollapse */
1007AmplifyS3Album.ctorParameters = () => [
1008 { type: ChangeDetectorRef },
1009 { type: ElementRef },
1010 { type: NgZone }
1011];
1012AmplifyS3Album = __decorate([
1013 ProxyCmp({ inputs: ['contentType', 'fileToKey', 'filter', 'handleOnError', 'handleOnLoad', 'identityId', 'level', 'path', 'picker', 'pickerText', 'sort', 'track'] }),
1014 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1015], AmplifyS3Album);
1016let AmplifyS3Image = class AmplifyS3Image {
1017 /**
1018 * @param {?} c
1019 * @param {?} r
1020 * @param {?} z
1021 */
1022 constructor(c, r, z) {
1023 this.z = z;
1024 c.detach();
1025 this.el = r.nativeElement;
1026 }
1027};
1028AmplifyS3Image.decorators = [
1029 { type: Component, args: [{ selector: 'amplify-s3-image', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['body', 'contentType', 'handleOnError', 'handleOnLoad', 'identityId', 'imgKey', 'level', 'path', 'track'] },] },
1030];
1031/** @nocollapse */
1032AmplifyS3Image.ctorParameters = () => [
1033 { type: ChangeDetectorRef },
1034 { type: ElementRef },
1035 { type: NgZone }
1036];
1037AmplifyS3Image = __decorate([
1038 ProxyCmp({ inputs: ['body', 'contentType', 'handleOnError', 'handleOnLoad', 'identityId', 'imgKey', 'level', 'path', 'track'] }),
1039 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1040], AmplifyS3Image);
1041let AmplifyS3ImagePicker = class AmplifyS3ImagePicker {
1042 /**
1043 * @param {?} c
1044 * @param {?} r
1045 * @param {?} z
1046 */
1047 constructor(c, r, z) {
1048 this.z = z;
1049 c.detach();
1050 this.el = r.nativeElement;
1051 }
1052};
1053AmplifyS3ImagePicker.decorators = [
1054 { type: Component, args: [{ selector: 'amplify-s3-image-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['buttonText', 'contentType', 'fileToKey', 'headerHint', 'headerTitle', 'identityId', 'level', 'path', 'placeholderHint', 'track'] },] },
1055];
1056/** @nocollapse */
1057AmplifyS3ImagePicker.ctorParameters = () => [
1058 { type: ChangeDetectorRef },
1059 { type: ElementRef },
1060 { type: NgZone }
1061];
1062AmplifyS3ImagePicker = __decorate([
1063 ProxyCmp({ inputs: ['buttonText', 'contentType', 'fileToKey', 'headerHint', 'headerTitle', 'identityId', 'level', 'path', 'placeholderHint', 'track'] }),
1064 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1065], AmplifyS3ImagePicker);
1066let AmplifyS3Text = class AmplifyS3Text {
1067 /**
1068 * @param {?} c
1069 * @param {?} r
1070 * @param {?} z
1071 */
1072 constructor(c, r, z) {
1073 this.z = z;
1074 c.detach();
1075 this.el = r.nativeElement;
1076 }
1077};
1078AmplifyS3Text.decorators = [
1079 { type: Component, args: [{ selector: 'amplify-s3-text', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['body', 'contentType', 'fallbackText', 'identityId', 'level', 'path', 'textKey', 'track'] },] },
1080];
1081/** @nocollapse */
1082AmplifyS3Text.ctorParameters = () => [
1083 { type: ChangeDetectorRef },
1084 { type: ElementRef },
1085 { type: NgZone }
1086];
1087AmplifyS3Text = __decorate([
1088 ProxyCmp({ inputs: ['body', 'contentType', 'fallbackText', 'identityId', 'level', 'path', 'textKey', 'track'] }),
1089 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1090], AmplifyS3Text);
1091let AmplifyS3TextPicker = class AmplifyS3TextPicker {
1092 /**
1093 * @param {?} c
1094 * @param {?} r
1095 * @param {?} z
1096 */
1097 constructor(c, r, z) {
1098 this.z = z;
1099 c.detach();
1100 this.el = r.nativeElement;
1101 }
1102};
1103AmplifyS3TextPicker.decorators = [
1104 { type: Component, args: [{ selector: 'amplify-s3-text-picker', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['contentType', 'fallbackText', 'fileToKey', 'identityId', 'level', 'path', 'track'] },] },
1105];
1106/** @nocollapse */
1107AmplifyS3TextPicker.ctorParameters = () => [
1108 { type: ChangeDetectorRef },
1109 { type: ElementRef },
1110 { type: NgZone }
1111];
1112AmplifyS3TextPicker = __decorate([
1113 ProxyCmp({ inputs: ['contentType', 'fallbackText', 'fileToKey', 'identityId', 'level', 'path', 'track'] }),
1114 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1115], AmplifyS3TextPicker);
1116let AmplifySection = class AmplifySection {
1117 /**
1118 * @param {?} c
1119 * @param {?} r
1120 * @param {?} z
1121 */
1122 constructor(c, r, z) {
1123 this.z = z;
1124 c.detach();
1125 this.el = r.nativeElement;
1126 }
1127};
1128AmplifySection.decorators = [
1129 { type: Component, args: [{ selector: 'amplify-section', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['role'] },] },
1130];
1131/** @nocollapse */
1132AmplifySection.ctorParameters = () => [
1133 { type: ChangeDetectorRef },
1134 { type: ElementRef },
1135 { type: NgZone }
1136];
1137AmplifySection = __decorate([
1138 ProxyCmp({ inputs: ['role'] }),
1139 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1140], AmplifySection);
1141let AmplifySelect = class AmplifySelect {
1142 /**
1143 * @param {?} c
1144 * @param {?} r
1145 * @param {?} z
1146 */
1147 constructor(c, r, z) {
1148 this.z = z;
1149 c.detach();
1150 this.el = r.nativeElement;
1151 }
1152};
1153AmplifySelect.decorators = [
1154 { type: Component, args: [{ selector: 'amplify-select', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['fieldId', 'handleInputChange', 'options', 'selected'] },] },
1155];
1156/** @nocollapse */
1157AmplifySelect.ctorParameters = () => [
1158 { type: ChangeDetectorRef },
1159 { type: ElementRef },
1160 { type: NgZone }
1161];
1162AmplifySelect = __decorate([
1163 ProxyCmp({ inputs: ['fieldId', 'handleInputChange', 'options', 'selected'] }),
1164 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1165], AmplifySelect);
1166let AmplifySelectMfaType = class AmplifySelectMfaType {
1167 /**
1168 * @param {?} c
1169 * @param {?} r
1170 * @param {?} z
1171 */
1172 constructor(c, r, z) {
1173 this.z = z;
1174 c.detach();
1175 this.el = r.nativeElement;
1176 }
1177};
1178AmplifySelectMfaType.decorators = [
1179 { type: Component, args: [{ selector: 'amplify-select-mfa-type', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['MFATypes', 'authData', 'handleSubmit'] },] },
1180];
1181/** @nocollapse */
1182AmplifySelectMfaType.ctorParameters = () => [
1183 { type: ChangeDetectorRef },
1184 { type: ElementRef },
1185 { type: NgZone }
1186];
1187AmplifySelectMfaType = __decorate([
1188 ProxyCmp({ inputs: ['MFATypes', 'authData', 'handleSubmit'] }),
1189 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1190], AmplifySelectMfaType);
1191let AmplifySignIn = class AmplifySignIn {
1192 /**
1193 * @param {?} c
1194 * @param {?} r
1195 * @param {?} z
1196 */
1197 constructor(c, r, z) {
1198 this.z = z;
1199 c.detach();
1200 this.el = r.nativeElement;
1201 }
1202};
1203AmplifySignIn.decorators = [
1204 { type: Component, args: [{ selector: 'amplify-sign-in', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['federated', 'formFields', 'handleAuthStateChange', 'handleSubmit', 'headerText', 'hideSignUp', 'submitButtonText', 'usernameAlias'] },] },
1205];
1206/** @nocollapse */
1207AmplifySignIn.ctorParameters = () => [
1208 { type: ChangeDetectorRef },
1209 { type: ElementRef },
1210 { type: NgZone }
1211];
1212AmplifySignIn = __decorate([
1213 ProxyCmp({ inputs: ['federated', 'formFields', 'handleAuthStateChange', 'handleSubmit', 'headerText', 'hideSignUp', 'submitButtonText', 'usernameAlias'] }),
1214 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1215], AmplifySignIn);
1216let AmplifySignInButton = class AmplifySignInButton {
1217 /**
1218 * @param {?} c
1219 * @param {?} r
1220 * @param {?} z
1221 */
1222 constructor(c, r, z) {
1223 this.z = z;
1224 c.detach();
1225 this.el = r.nativeElement;
1226 }
1227};
1228AmplifySignInButton.decorators = [
1229 { type: Component, args: [{ selector: 'amplify-sign-in-button', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['provider'] },] },
1230];
1231/** @nocollapse */
1232AmplifySignInButton.ctorParameters = () => [
1233 { type: ChangeDetectorRef },
1234 { type: ElementRef },
1235 { type: NgZone }
1236];
1237AmplifySignInButton = __decorate([
1238 ProxyCmp({ inputs: ['provider'] }),
1239 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1240], AmplifySignInButton);
1241let AmplifySignOut = class AmplifySignOut {
1242 /**
1243 * @param {?} c
1244 * @param {?} r
1245 * @param {?} z
1246 */
1247 constructor(c, r, z) {
1248 this.z = z;
1249 c.detach();
1250 this.el = r.nativeElement;
1251 }
1252};
1253AmplifySignOut.decorators = [
1254 { type: Component, args: [{ selector: 'amplify-sign-out', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['buttonText', 'handleAuthStateChange'] },] },
1255];
1256/** @nocollapse */
1257AmplifySignOut.ctorParameters = () => [
1258 { type: ChangeDetectorRef },
1259 { type: ElementRef },
1260 { type: NgZone }
1261];
1262AmplifySignOut = __decorate([
1263 ProxyCmp({ inputs: ['buttonText', 'handleAuthStateChange'] }),
1264 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1265], AmplifySignOut);
1266let AmplifySignUp = class AmplifySignUp {
1267 /**
1268 * @param {?} c
1269 * @param {?} r
1270 * @param {?} z
1271 */
1272 constructor(c, r, z) {
1273 this.z = z;
1274 c.detach();
1275 this.el = r.nativeElement;
1276 }
1277};
1278AmplifySignUp.decorators = [
1279 { type: Component, args: [{ selector: 'amplify-sign-up', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['formFields', 'handleAuthStateChange', 'handleSubmit', 'haveAccountText', 'headerText', 'signInText', 'submitButtonText', 'usernameAlias', 'validationErrors'] },] },
1280];
1281/** @nocollapse */
1282AmplifySignUp.ctorParameters = () => [
1283 { type: ChangeDetectorRef },
1284 { type: ElementRef },
1285 { type: NgZone }
1286];
1287AmplifySignUp = __decorate([
1288 ProxyCmp({ inputs: ['formFields', 'handleAuthStateChange', 'handleSubmit', 'haveAccountText', 'headerText', 'signInText', 'submitButtonText', 'usernameAlias', 'validationErrors'] }),
1289 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1290], AmplifySignUp);
1291class AmplifyStrike {
1292 /**
1293 * @param {?} c
1294 * @param {?} r
1295 * @param {?} z
1296 */
1297 constructor(c, r, z) {
1298 this.z = z;
1299 c.detach();
1300 this.el = r.nativeElement;
1301 }
1302}
1303AmplifyStrike.decorators = [
1304 { type: Component, args: [{ selector: 'amplify-strike', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>' },] },
1305];
1306/** @nocollapse */
1307AmplifyStrike.ctorParameters = () => [
1308 { type: ChangeDetectorRef },
1309 { type: ElementRef },
1310 { type: NgZone }
1311];
1312let AmplifyToast = class AmplifyToast {
1313 /**
1314 * @param {?} c
1315 * @param {?} r
1316 * @param {?} z
1317 */
1318 constructor(c, r, z) {
1319 this.z = z;
1320 c.detach();
1321 this.el = r.nativeElement;
1322 }
1323};
1324AmplifyToast.decorators = [
1325 { type: Component, args: [{ selector: 'amplify-toast', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['handleClose', 'message'] },] },
1326];
1327/** @nocollapse */
1328AmplifyToast.ctorParameters = () => [
1329 { type: ChangeDetectorRef },
1330 { type: ElementRef },
1331 { type: NgZone }
1332];
1333AmplifyToast = __decorate([
1334 ProxyCmp({ inputs: ['handleClose', 'message'] }),
1335 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1336], AmplifyToast);
1337let AmplifyTooltip = class AmplifyTooltip {
1338 /**
1339 * @param {?} c
1340 * @param {?} r
1341 * @param {?} z
1342 */
1343 constructor(c, r, z) {
1344 this.z = z;
1345 c.detach();
1346 this.el = r.nativeElement;
1347 }
1348};
1349AmplifyTooltip.decorators = [
1350 { type: Component, args: [{ selector: 'amplify-tooltip', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['shouldAutoShow', 'text'] },] },
1351];
1352/** @nocollapse */
1353AmplifyTooltip.ctorParameters = () => [
1354 { type: ChangeDetectorRef },
1355 { type: ElementRef },
1356 { type: NgZone }
1357];
1358AmplifyTooltip = __decorate([
1359 ProxyCmp({ inputs: ['shouldAutoShow', 'text'] }),
1360 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1361], AmplifyTooltip);
1362let AmplifyTotpSetup = class AmplifyTotpSetup {
1363 /**
1364 * @param {?} c
1365 * @param {?} r
1366 * @param {?} z
1367 */
1368 constructor(c, r, z) {
1369 this.z = z;
1370 c.detach();
1371 this.el = r.nativeElement;
1372 }
1373};
1374AmplifyTotpSetup.decorators = [
1375 { type: Component, args: [{ selector: 'amplify-totp-setup', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['handleAuthStateChange', 'headerText', 'issuer', 'user'] },] },
1376];
1377/** @nocollapse */
1378AmplifyTotpSetup.ctorParameters = () => [
1379 { type: ChangeDetectorRef },
1380 { type: ElementRef },
1381 { type: NgZone }
1382];
1383AmplifyTotpSetup = __decorate([
1384 ProxyCmp({ inputs: ['handleAuthStateChange', 'headerText', 'issuer', 'user'] }),
1385 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1386], AmplifyTotpSetup);
1387let AmplifyUsernameField = class AmplifyUsernameField {
1388 /**
1389 * @param {?} c
1390 * @param {?} r
1391 * @param {?} z
1392 */
1393 constructor(c, r, z) {
1394 this.z = z;
1395 c.detach();
1396 this.el = r.nativeElement;
1397 }
1398};
1399AmplifyUsernameField.decorators = [
1400 { type: Component, args: [{ selector: 'amplify-username-field', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['disabled', 'fieldId', 'handleInputChange', 'inputProps', 'label', 'placeholder', 'required', 'value'] },] },
1401];
1402/** @nocollapse */
1403AmplifyUsernameField.ctorParameters = () => [
1404 { type: ChangeDetectorRef },
1405 { type: ElementRef },
1406 { type: NgZone }
1407];
1408AmplifyUsernameField = __decorate([
1409 ProxyCmp({ inputs: ['disabled', 'fieldId', 'handleInputChange', 'inputProps', 'label', 'placeholder', 'required', 'value'] }),
1410 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1411], AmplifyUsernameField);
1412let AmplifyVerifyContact = class AmplifyVerifyContact {
1413 /**
1414 * @param {?} c
1415 * @param {?} r
1416 * @param {?} z
1417 */
1418 constructor(c, r, z) {
1419 this.z = z;
1420 c.detach();
1421 this.el = r.nativeElement;
1422 }
1423};
1424AmplifyVerifyContact.decorators = [
1425 { type: Component, args: [{ selector: 'amplify-verify-contact', changeDetection: ChangeDetectionStrategy.OnPush, template: '<ng-content></ng-content>', inputs: ['handleAuthStateChange', 'user'] },] },
1426];
1427/** @nocollapse */
1428AmplifyVerifyContact.ctorParameters = () => [
1429 { type: ChangeDetectorRef },
1430 { type: ElementRef },
1431 { type: NgZone }
1432];
1433AmplifyVerifyContact = __decorate([
1434 ProxyCmp({ inputs: ['handleAuthStateChange', 'user'] }),
1435 __metadata("design:paramtypes", [ChangeDetectorRef, ElementRef, NgZone])
1436], AmplifyVerifyContact);
1437
1438/**
1439 * @fileoverview added by tsickle
1440 * @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
1441 */
1442defineCustomElements(window);
1443/** @type {?} */
1444const DECLARATIONS = [
1445 AmplifyAmazonButton,
1446 AmplifyAuth0Button,
1447 AmplifyAuthenticator,
1448 AmplifyAuthFields,
1449 AmplifyButton,
1450 AmplifyChatbot,
1451 AmplifyCheckbox,
1452 AmplifyCodeField,
1453 AmplifyConfirmSignIn,
1454 AmplifyConfirmSignUp,
1455 AmplifyContainer,
1456 AmplifyCountryDialCode,
1457 AmplifyEmailField,
1458 AmplifyFacebookButton,
1459 AmplifyFederatedButtons,
1460 AmplifyFederatedSignIn,
1461 AmplifyForgotPassword,
1462 AmplifyFormField,
1463 AmplifyFormSection,
1464 AmplifyGoogleButton,
1465 AmplifyGreetings,
1466 AmplifyHint,
1467 AmplifyIcon,
1468 AmplifyIconButton,
1469 AmplifyInput,
1470 AmplifyLabel,
1471 AmplifyLink,
1472 AmplifyLoadingSpinner,
1473 AmplifyNav,
1474 AmplifyOauthButton,
1475 AmplifyPasswordField,
1476 AmplifyPhoneField,
1477 AmplifyPhotoPicker,
1478 AmplifyPicker,
1479 AmplifyRadioButton,
1480 AmplifyRequireNewPassword,
1481 AmplifyS3Album,
1482 AmplifyS3Image,
1483 AmplifyS3ImagePicker,
1484 AmplifyS3Text,
1485 AmplifyS3TextPicker,
1486 AmplifySection,
1487 AmplifySelect,
1488 AmplifySelectMfaType,
1489 AmplifySignIn,
1490 AmplifySignInButton,
1491 AmplifySignOut,
1492 AmplifySignUp,
1493 AmplifyStrike,
1494 AmplifyToast,
1495 AmplifyTooltip,
1496 AmplifyTotpSetup,
1497 AmplifyUsernameField,
1498 AmplifyVerifyContact,
1499];
1500class AmplifyUIAngularModule {
1501}
1502AmplifyUIAngularModule.decorators = [
1503 { type: NgModule, args: [{
1504 declarations: DECLARATIONS,
1505 exports: DECLARATIONS,
1506 imports: [],
1507 providers: [],
1508 },] },
1509];
1510
1511export { AmplifyAmazonButton, AmplifyAuth0Button, AmplifyAuthFields, AmplifyAuthenticator, AmplifyButton, AmplifyChatbot, AmplifyCheckbox, AmplifyCodeField, AmplifyConfirmSignIn, AmplifyConfirmSignUp, AmplifyContainer, AmplifyCountryDialCode, AmplifyEmailField, AmplifyFacebookButton, AmplifyFederatedButtons, AmplifyFederatedSignIn, AmplifyForgotPassword, AmplifyFormField, AmplifyFormSection, AmplifyGoogleButton, AmplifyGreetings, AmplifyHint, AmplifyIcon, AmplifyIconButton, AmplifyInput, AmplifyLabel, AmplifyLink, AmplifyLoadingSpinner, AmplifyNav, AmplifyOauthButton, AmplifyPasswordField, AmplifyPhoneField, AmplifyPhotoPicker, AmplifyPicker, AmplifyRadioButton, AmplifyRequireNewPassword, AmplifyS3Album, AmplifyS3Image, AmplifyS3ImagePicker, AmplifyS3Text, AmplifyS3TextPicker, AmplifySection, AmplifySelect, AmplifySelectMfaType, AmplifySignIn, AmplifySignInButton, AmplifySignOut, AmplifySignUp, AmplifyStrike, AmplifyToast, AmplifyTooltip, AmplifyTotpSetup, AmplifyUIAngularModule, AmplifyUsernameField, AmplifyVerifyContact, ProxyCmp, proxyInputs, proxyMethods, proxyOutputs };