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