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