@aws-amplify/ui-angular 2.4.26 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (89) hide show
  1. package/README.md +0 -3
  2. package/aws-amplify-ui-angular.d.ts +1 -27
  3. package/bundles/aws-amplify-ui-angular.umd.js +1585 -1498
  4. package/bundles/aws-amplify-ui-angular.umd.js.map +1 -1
  5. package/esm2015/aws-amplify-ui-angular.js +1 -28
  6. package/esm2015/lib/components/authenticator/authenticator.module.js +81 -44
  7. package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +60 -36
  8. package/esm2015/lib/components/authenticator/components/base-form-fields/base-form-fields.component.js +20 -39
  9. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +28 -27
  10. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +25 -30
  11. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +29 -36
  12. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +27 -19
  13. package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +20 -17
  14. package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +17 -15
  15. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.js +12 -7
  16. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +27 -19
  17. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +20 -15
  18. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +27 -19
  19. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +27 -21
  20. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +27 -23
  21. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +12 -7
  22. package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +24 -16
  23. package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +27 -20
  24. package/esm2015/lib/primitives/button/button.component.js +44 -22
  25. package/esm2015/lib/primitives/checkbox/checkbox.component.js +24 -15
  26. package/esm2015/lib/primitives/error/error.component.js +13 -7
  27. package/esm2015/lib/primitives/password-field/password-field.component.js +37 -21
  28. package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +45 -25
  29. package/esm2015/lib/primitives/select/select.component.js +22 -14
  30. package/esm2015/lib/primitives/tab-item/tab-item.component.js +25 -15
  31. package/esm2015/lib/primitives/tabs/tabs.component.js +17 -11
  32. package/esm2015/lib/primitives/text-field/text-field.component.js +38 -22
  33. package/esm2015/lib/services/authenticator.service.js +9 -8
  34. package/esm2015/lib/services/custom-components.service.js +9 -7
  35. package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +20 -16
  36. package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +13 -13
  37. package/fesm2015/aws-amplify-ui-angular.js +1035 -928
  38. package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
  39. package/lib/components/authenticator/authenticator.module.d.ts +33 -0
  40. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +27 -24
  41. package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +3 -1
  42. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +28 -30
  43. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +27 -24
  44. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +27 -29
  45. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +27 -24
  46. package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +3 -0
  47. package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +3 -0
  48. package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +3 -0
  49. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +27 -24
  50. package/lib/components/authenticator/components/form-field/form-field.component.d.ts +3 -0
  51. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +27 -24
  52. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +27 -24
  53. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +27 -24
  54. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +3 -0
  55. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +27 -24
  56. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +27 -24
  57. package/lib/primitives/button/button.component.d.ts +3 -0
  58. package/lib/primitives/checkbox/checkbox.component.d.ts +3 -0
  59. package/lib/primitives/error/error.component.d.ts +3 -0
  60. package/lib/primitives/password-field/password-field.component.d.ts +3 -0
  61. package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +3 -0
  62. package/lib/primitives/select/select.component.d.ts +3 -0
  63. package/lib/primitives/tab-item/tab-item.component.d.ts +3 -0
  64. package/lib/primitives/tabs/tabs.component.d.ts +3 -0
  65. package/lib/primitives/text-field/text-field.component.d.ts +3 -0
  66. package/lib/services/authenticator.service.d.ts +39 -36
  67. package/lib/services/custom-components.service.d.ts +3 -0
  68. package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +3 -0
  69. package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +3 -0
  70. package/package.json +3 -6
  71. package/aws-amplify-ui-angular.metadata.json +0 -1
  72. package/bundles/aws-amplify-ui-angular-legacy.umd.js +0 -2238
  73. package/bundles/aws-amplify-ui-angular-legacy.umd.js.map +0 -1
  74. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js +0 -2
  75. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js.map +0 -1
  76. package/bundles/aws-amplify-ui-angular.umd.min.js +0 -2
  77. package/bundles/aws-amplify-ui-angular.umd.min.js.map +0 -1
  78. package/esm2015/legacy/aws-amplify-ui-angular-legacy.js +0 -6
  79. package/esm2015/legacy/index.js +0 -3
  80. package/esm2015/legacy/legacy-ui-angular.module.js +0 -53
  81. package/esm2015/legacy/proxies.js +0 -1839
  82. package/fesm2015/aws-amplify-ui-angular-legacy.js +0 -1846
  83. package/fesm2015/aws-amplify-ui-angular-legacy.js.map +0 -1
  84. package/legacy/aws-amplify-ui-angular-legacy.d.ts +0 -5
  85. package/legacy/aws-amplify-ui-angular-legacy.metadata.json +0 -1
  86. package/legacy/index.d.ts +0 -2
  87. package/legacy/legacy-ui-angular.module.d.ts +0 -2
  88. package/legacy/package.json +0 -11
  89. package/legacy/proxies.d.ts +0 -395
@@ -1,1846 +0,0 @@
1
- import { __decorate } from 'tslib';
2
- import { Component, ChangeDetectionStrategy, ChangeDetectorRef, ElementRef, NgZone, NgModule, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
3
- import { fromEvent } from 'rxjs';
4
- import { CommonModule } from '@angular/common';
5
- import { AmplifyButton as AmplifyButton$1, AmplifyInput as AmplifyInput$1, AmplifyToast as AmplifyToast$1, AmplifyChatbot as AmplifyChatbot$1, AmplifyS3Album as AmplifyS3Album$1, AmplifyS3ImagePicker as AmplifyS3ImagePicker$1, AmplifyS3Text as AmplifyS3Text$1, AmplifyS3TextPicker as AmplifyS3TextPicker$1, AmplifyS3Image as AmplifyS3Image$1, AmplifyPicker as AmplifyPicker$1, AmplifyPhotoPicker as AmplifyPhotoPicker$1, AmplifyIcon as AmplifyIcon$1 } from '@aws-amplify/ui-components/dist/components';
6
-
7
- const proxyInputs = (Cmp, inputs) => {
8
- const Prototype = Cmp.prototype;
9
- inputs.forEach((item) => {
10
- Object.defineProperty(Prototype, item, {
11
- get() {
12
- return this.el[item];
13
- },
14
- set(val) {
15
- this.z.runOutsideAngular(() => (this.el[item] = val));
16
- },
17
- });
18
- });
19
- };
20
- const proxyMethods = (Cmp, methods) => {
21
- const Prototype = Cmp.prototype;
22
- methods.forEach((methodName) => {
23
- Prototype[methodName] = function () {
24
- const args = arguments;
25
- return this.z.runOutsideAngular(() => this.el[methodName].apply(this.el, args));
26
- };
27
- });
28
- };
29
- const proxyOutputs = (instance, el, events) => {
30
- events.forEach((eventName) => (instance[eventName] = fromEvent(el, eventName)));
31
- };
32
- // eslint-disable-next-line prefer-arrow/prefer-arrow-functions
33
- function ProxyCmp(opts) {
34
- const decorator = function (cls) {
35
- if (opts.inputs) {
36
- proxyInputs(cls, opts.inputs);
37
- }
38
- if (opts.methods) {
39
- proxyMethods(cls, opts.methods);
40
- }
41
- return cls;
42
- };
43
- return decorator;
44
- }
45
- let AmplifyAmazonButton = class AmplifyAmazonButton {
46
- constructor(c, r, z) {
47
- this.z = z;
48
- c.detach();
49
- this.el = r.nativeElement;
50
- }
51
- };
52
- AmplifyAmazonButton.decorators = [
53
- { type: Component, args: [{
54
- selector: 'amplify-amazon-button',
55
- changeDetection: ChangeDetectionStrategy.OnPush,
56
- template: '<ng-content></ng-content>',
57
- inputs: ['clientId', 'handleAuthStateChange']
58
- },] }
59
- ];
60
- AmplifyAmazonButton.ctorParameters = () => [
61
- { type: ChangeDetectorRef },
62
- { type: ElementRef },
63
- { type: NgZone }
64
- ];
65
- AmplifyAmazonButton = __decorate([
66
- ProxyCmp({ inputs: ['clientId', 'handleAuthStateChange'] })
67
- ], AmplifyAmazonButton);
68
- class AmplifyAuthContainer {
69
- constructor(c, r, z) {
70
- this.z = z;
71
- c.detach();
72
- this.el = r.nativeElement;
73
- }
74
- }
75
- AmplifyAuthContainer.decorators = [
76
- { type: Component, args: [{
77
- selector: 'amplify-auth-container',
78
- changeDetection: ChangeDetectionStrategy.OnPush,
79
- template: '<ng-content></ng-content>'
80
- },] }
81
- ];
82
- AmplifyAuthContainer.ctorParameters = () => [
83
- { type: ChangeDetectorRef },
84
- { type: ElementRef },
85
- { type: NgZone }
86
- ];
87
- let AmplifyAuthFields = class AmplifyAuthFields {
88
- constructor(c, r, z) {
89
- this.z = z;
90
- c.detach();
91
- this.el = r.nativeElement;
92
- }
93
- };
94
- AmplifyAuthFields.decorators = [
95
- { type: Component, args: [{
96
- selector: 'amplify-auth-fields',
97
- changeDetection: ChangeDetectionStrategy.OnPush,
98
- template: '<ng-content></ng-content>',
99
- inputs: ['formFields']
100
- },] }
101
- ];
102
- AmplifyAuthFields.ctorParameters = () => [
103
- { type: ChangeDetectorRef },
104
- { type: ElementRef },
105
- { type: NgZone }
106
- ];
107
- AmplifyAuthFields = __decorate([
108
- ProxyCmp({ inputs: ['formFields'] })
109
- ], AmplifyAuthFields);
110
- let AmplifyAuth0Button = class AmplifyAuth0Button {
111
- constructor(c, r, z) {
112
- this.z = z;
113
- c.detach();
114
- this.el = r.nativeElement;
115
- }
116
- };
117
- AmplifyAuth0Button.decorators = [
118
- { type: Component, args: [{
119
- selector: 'amplify-auth0-button',
120
- changeDetection: ChangeDetectionStrategy.OnPush,
121
- template: '<ng-content></ng-content>',
122
- inputs: ['config', 'handleAuthStateChange']
123
- },] }
124
- ];
125
- AmplifyAuth0Button.ctorParameters = () => [
126
- { type: ChangeDetectorRef },
127
- { type: ElementRef },
128
- { type: NgZone }
129
- ];
130
- AmplifyAuth0Button = __decorate([
131
- ProxyCmp({ inputs: ['config', 'handleAuthStateChange'] })
132
- ], AmplifyAuth0Button);
133
- let AmplifyAuthenticator = class AmplifyAuthenticator {
134
- constructor(c, r, z) {
135
- this.z = z;
136
- c.detach();
137
- this.el = r.nativeElement;
138
- }
139
- };
140
- AmplifyAuthenticator.decorators = [
141
- { type: Component, args: [{
142
- selector: 'amplify-authenticator',
143
- changeDetection: ChangeDetectionStrategy.OnPush,
144
- template: '<ng-content></ng-content>',
145
- inputs: [
146
- 'federated',
147
- 'handleAuthStateChange',
148
- 'hideToast',
149
- 'initialAuthState',
150
- 'usernameAlias',
151
- ]
152
- },] }
153
- ];
154
- AmplifyAuthenticator.ctorParameters = () => [
155
- { type: ChangeDetectorRef },
156
- { type: ElementRef },
157
- { type: NgZone }
158
- ];
159
- AmplifyAuthenticator = __decorate([
160
- ProxyCmp({
161
- inputs: [
162
- 'federated',
163
- 'handleAuthStateChange',
164
- 'hideToast',
165
- 'initialAuthState',
166
- 'usernameAlias',
167
- ],
168
- })
169
- ], AmplifyAuthenticator);
170
- let AmplifyButton = class AmplifyButton {
171
- constructor(c, r, z) {
172
- this.z = z;
173
- c.detach();
174
- this.el = r.nativeElement;
175
- }
176
- };
177
- AmplifyButton.decorators = [
178
- { type: Component, args: [{
179
- selector: 'amplify-button',
180
- changeDetection: ChangeDetectionStrategy.OnPush,
181
- template: '<ng-content></ng-content>',
182
- inputs: ['disabled', 'handleButtonClick', 'icon', 'type', 'variant']
183
- },] }
184
- ];
185
- AmplifyButton.ctorParameters = () => [
186
- { type: ChangeDetectorRef },
187
- { type: ElementRef },
188
- { type: NgZone }
189
- ];
190
- AmplifyButton = __decorate([
191
- ProxyCmp({
192
- inputs: ['disabled', 'handleButtonClick', 'icon', 'type', 'variant'],
193
- })
194
- ], AmplifyButton);
195
- let AmplifyChatbot = class AmplifyChatbot {
196
- constructor(c, r, z) {
197
- this.z = z;
198
- c.detach();
199
- this.el = r.nativeElement;
200
- proxyOutputs(this, this.el, ['chatCompleted']);
201
- }
202
- };
203
- AmplifyChatbot.decorators = [
204
- { type: Component, args: [{
205
- selector: 'amplify-chatbot',
206
- changeDetection: ChangeDetectionStrategy.OnPush,
207
- template: '<ng-content></ng-content>',
208
- inputs: [
209
- 'botName',
210
- 'botTitle',
211
- 'clearOnComplete',
212
- 'conversationModeOn',
213
- 'silenceThreshold',
214
- 'silenceTime',
215
- 'textEnabled',
216
- 'voiceEnabled',
217
- 'welcomeMessage',
218
- ]
219
- },] }
220
- ];
221
- AmplifyChatbot.ctorParameters = () => [
222
- { type: ChangeDetectorRef },
223
- { type: ElementRef },
224
- { type: NgZone }
225
- ];
226
- AmplifyChatbot = __decorate([
227
- ProxyCmp({
228
- inputs: [
229
- 'botName',
230
- 'botTitle',
231
- 'clearOnComplete',
232
- 'conversationModeOn',
233
- 'silenceThreshold',
234
- 'silenceTime',
235
- 'textEnabled',
236
- 'voiceEnabled',
237
- 'welcomeMessage',
238
- ],
239
- })
240
- ], AmplifyChatbot);
241
- let AmplifyCheckbox = class AmplifyCheckbox {
242
- constructor(c, r, z) {
243
- this.z = z;
244
- c.detach();
245
- this.el = r.nativeElement;
246
- }
247
- };
248
- AmplifyCheckbox.decorators = [
249
- { type: Component, args: [{
250
- selector: 'amplify-checkbox',
251
- changeDetection: ChangeDetectionStrategy.OnPush,
252
- template: '<ng-content></ng-content>',
253
- inputs: ['checked', 'disabled', 'fieldId', 'label', 'name', 'value']
254
- },] }
255
- ];
256
- AmplifyCheckbox.ctorParameters = () => [
257
- { type: ChangeDetectorRef },
258
- { type: ElementRef },
259
- { type: NgZone }
260
- ];
261
- AmplifyCheckbox = __decorate([
262
- ProxyCmp({
263
- inputs: ['checked', 'disabled', 'fieldId', 'label', 'name', 'value'],
264
- })
265
- ], AmplifyCheckbox);
266
- let AmplifyCodeField = class AmplifyCodeField {
267
- constructor(c, r, z) {
268
- this.z = z;
269
- c.detach();
270
- this.el = r.nativeElement;
271
- }
272
- };
273
- AmplifyCodeField.decorators = [
274
- { type: Component, args: [{
275
- selector: 'amplify-code-field',
276
- changeDetection: ChangeDetectionStrategy.OnPush,
277
- template: '<ng-content></ng-content>',
278
- inputs: [
279
- 'disabled',
280
- 'fieldId',
281
- 'handleInputChange',
282
- 'hint',
283
- 'inputProps',
284
- 'label',
285
- 'placeholder',
286
- 'required',
287
- 'value',
288
- ]
289
- },] }
290
- ];
291
- AmplifyCodeField.ctorParameters = () => [
292
- { type: ChangeDetectorRef },
293
- { type: ElementRef },
294
- { type: NgZone }
295
- ];
296
- AmplifyCodeField = __decorate([
297
- ProxyCmp({
298
- inputs: [
299
- 'disabled',
300
- 'fieldId',
301
- 'handleInputChange',
302
- 'hint',
303
- 'inputProps',
304
- 'label',
305
- 'placeholder',
306
- 'required',
307
- 'value',
308
- ],
309
- })
310
- ], AmplifyCodeField);
311
- let AmplifyConfirmSignIn = class AmplifyConfirmSignIn {
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: [{
320
- selector: 'amplify-confirm-sign-in',
321
- changeDetection: ChangeDetectionStrategy.OnPush,
322
- template: '<ng-content></ng-content>',
323
- inputs: [
324
- 'formFields',
325
- 'handleAuthStateChange',
326
- 'handleSubmit',
327
- 'headerText',
328
- 'submitButtonText',
329
- 'user',
330
- ]
331
- },] }
332
- ];
333
- AmplifyConfirmSignIn.ctorParameters = () => [
334
- { type: ChangeDetectorRef },
335
- { type: ElementRef },
336
- { type: NgZone }
337
- ];
338
- AmplifyConfirmSignIn = __decorate([
339
- ProxyCmp({
340
- inputs: [
341
- 'formFields',
342
- 'handleAuthStateChange',
343
- 'handleSubmit',
344
- 'headerText',
345
- 'submitButtonText',
346
- 'user',
347
- ],
348
- })
349
- ], AmplifyConfirmSignIn);
350
- let AmplifyConfirmSignUp = class AmplifyConfirmSignUp {
351
- constructor(c, r, z) {
352
- this.z = z;
353
- c.detach();
354
- this.el = r.nativeElement;
355
- }
356
- };
357
- AmplifyConfirmSignUp.decorators = [
358
- { type: Component, args: [{
359
- selector: 'amplify-confirm-sign-up',
360
- changeDetection: ChangeDetectionStrategy.OnPush,
361
- template: '<ng-content></ng-content>',
362
- inputs: [
363
- 'formFields',
364
- 'handleAuthStateChange',
365
- 'handleSubmit',
366
- 'headerText',
367
- 'submitButtonText',
368
- 'user',
369
- 'usernameAlias',
370
- ]
371
- },] }
372
- ];
373
- AmplifyConfirmSignUp.ctorParameters = () => [
374
- { type: ChangeDetectorRef },
375
- { type: ElementRef },
376
- { type: NgZone }
377
- ];
378
- AmplifyConfirmSignUp = __decorate([
379
- ProxyCmp({
380
- inputs: [
381
- 'formFields',
382
- 'handleAuthStateChange',
383
- 'handleSubmit',
384
- 'headerText',
385
- 'submitButtonText',
386
- 'user',
387
- 'usernameAlias',
388
- ],
389
- })
390
- ], AmplifyConfirmSignUp);
391
- class AmplifyContainer {
392
- constructor(c, r, z) {
393
- this.z = z;
394
- c.detach();
395
- this.el = r.nativeElement;
396
- }
397
- }
398
- AmplifyContainer.decorators = [
399
- { type: Component, args: [{
400
- selector: 'amplify-container',
401
- changeDetection: ChangeDetectionStrategy.OnPush,
402
- template: '<ng-content></ng-content>'
403
- },] }
404
- ];
405
- AmplifyContainer.ctorParameters = () => [
406
- { type: ChangeDetectorRef },
407
- { type: ElementRef },
408
- { type: NgZone }
409
- ];
410
- let AmplifyCountryDialCode = class AmplifyCountryDialCode {
411
- constructor(c, r, z) {
412
- this.z = z;
413
- c.detach();
414
- this.el = r.nativeElement;
415
- }
416
- };
417
- AmplifyCountryDialCode.decorators = [
418
- { type: Component, args: [{
419
- selector: 'amplify-country-dial-code',
420
- changeDetection: ChangeDetectionStrategy.OnPush,
421
- template: '<ng-content></ng-content>',
422
- inputs: ['dialCode', 'fieldId', 'handleInputChange', 'options']
423
- },] }
424
- ];
425
- AmplifyCountryDialCode.ctorParameters = () => [
426
- { type: ChangeDetectorRef },
427
- { type: ElementRef },
428
- { type: NgZone }
429
- ];
430
- AmplifyCountryDialCode = __decorate([
431
- ProxyCmp({ inputs: ['dialCode', 'fieldId', 'handleInputChange', 'options'] })
432
- ], AmplifyCountryDialCode);
433
- let AmplifyEmailField = class AmplifyEmailField {
434
- constructor(c, r, z) {
435
- this.z = z;
436
- c.detach();
437
- this.el = r.nativeElement;
438
- }
439
- };
440
- AmplifyEmailField.decorators = [
441
- { type: Component, args: [{
442
- selector: 'amplify-email-field',
443
- changeDetection: ChangeDetectionStrategy.OnPush,
444
- template: '<ng-content></ng-content>',
445
- inputs: [
446
- 'disabled',
447
- 'fieldId',
448
- 'handleInputChange',
449
- 'hint',
450
- 'inputProps',
451
- 'label',
452
- 'placeholder',
453
- 'required',
454
- 'value',
455
- ]
456
- },] }
457
- ];
458
- AmplifyEmailField.ctorParameters = () => [
459
- { type: ChangeDetectorRef },
460
- { type: ElementRef },
461
- { type: NgZone }
462
- ];
463
- AmplifyEmailField = __decorate([
464
- ProxyCmp({
465
- inputs: [
466
- 'disabled',
467
- 'fieldId',
468
- 'handleInputChange',
469
- 'hint',
470
- 'inputProps',
471
- 'label',
472
- 'placeholder',
473
- 'required',
474
- 'value',
475
- ],
476
- })
477
- ], AmplifyEmailField);
478
- let AmplifyFacebookButton = class AmplifyFacebookButton {
479
- constructor(c, r, z) {
480
- this.z = z;
481
- c.detach();
482
- this.el = r.nativeElement;
483
- }
484
- };
485
- AmplifyFacebookButton.decorators = [
486
- { type: Component, args: [{
487
- selector: 'amplify-facebook-button',
488
- changeDetection: ChangeDetectionStrategy.OnPush,
489
- template: '<ng-content></ng-content>',
490
- inputs: ['appId', 'handleAuthStateChange']
491
- },] }
492
- ];
493
- AmplifyFacebookButton.ctorParameters = () => [
494
- { type: ChangeDetectorRef },
495
- { type: ElementRef },
496
- { type: NgZone }
497
- ];
498
- AmplifyFacebookButton = __decorate([
499
- ProxyCmp({ inputs: ['appId', 'handleAuthStateChange'] })
500
- ], AmplifyFacebookButton);
501
- let AmplifyFederatedButtons = class AmplifyFederatedButtons {
502
- constructor(c, r, z) {
503
- this.z = z;
504
- c.detach();
505
- this.el = r.nativeElement;
506
- }
507
- };
508
- AmplifyFederatedButtons.decorators = [
509
- { type: Component, args: [{
510
- selector: 'amplify-federated-buttons',
511
- changeDetection: ChangeDetectionStrategy.OnPush,
512
- template: '<ng-content></ng-content>',
513
- inputs: ['authState', 'federated', 'handleAuthStateChange']
514
- },] }
515
- ];
516
- AmplifyFederatedButtons.ctorParameters = () => [
517
- { type: ChangeDetectorRef },
518
- { type: ElementRef },
519
- { type: NgZone }
520
- ];
521
- AmplifyFederatedButtons = __decorate([
522
- ProxyCmp({ inputs: ['authState', 'federated', 'handleAuthStateChange'] })
523
- ], AmplifyFederatedButtons);
524
- let AmplifyFederatedSignIn = class AmplifyFederatedSignIn {
525
- constructor(c, r, z) {
526
- this.z = z;
527
- c.detach();
528
- this.el = r.nativeElement;
529
- }
530
- };
531
- AmplifyFederatedSignIn.decorators = [
532
- { type: Component, args: [{
533
- selector: 'amplify-federated-sign-in',
534
- changeDetection: ChangeDetectionStrategy.OnPush,
535
- template: '<ng-content></ng-content>',
536
- inputs: ['authState', 'federated']
537
- },] }
538
- ];
539
- AmplifyFederatedSignIn.ctorParameters = () => [
540
- { type: ChangeDetectorRef },
541
- { type: ElementRef },
542
- { type: NgZone }
543
- ];
544
- AmplifyFederatedSignIn = __decorate([
545
- ProxyCmp({ inputs: ['authState', 'federated'] })
546
- ], AmplifyFederatedSignIn);
547
- let AmplifyForgotPassword = class AmplifyForgotPassword {
548
- constructor(c, r, z) {
549
- this.z = z;
550
- c.detach();
551
- this.el = r.nativeElement;
552
- }
553
- };
554
- AmplifyForgotPassword.decorators = [
555
- { type: Component, args: [{
556
- selector: 'amplify-forgot-password',
557
- changeDetection: ChangeDetectionStrategy.OnPush,
558
- template: '<ng-content></ng-content>',
559
- inputs: [
560
- 'formFields',
561
- 'handleAuthStateChange',
562
- 'handleSend',
563
- 'handleSubmit',
564
- 'headerText',
565
- 'sendButtonText',
566
- 'submitButtonText',
567
- 'usernameAlias',
568
- ]
569
- },] }
570
- ];
571
- AmplifyForgotPassword.ctorParameters = () => [
572
- { type: ChangeDetectorRef },
573
- { type: ElementRef },
574
- { type: NgZone }
575
- ];
576
- AmplifyForgotPassword = __decorate([
577
- ProxyCmp({
578
- inputs: [
579
- 'formFields',
580
- 'handleAuthStateChange',
581
- 'handleSend',
582
- 'handleSubmit',
583
- 'headerText',
584
- 'sendButtonText',
585
- 'submitButtonText',
586
- 'usernameAlias',
587
- ],
588
- })
589
- ], AmplifyForgotPassword);
590
- let AmplifyFormField = class AmplifyFormField {
591
- constructor(c, r, z) {
592
- this.z = z;
593
- c.detach();
594
- this.el = r.nativeElement;
595
- }
596
- };
597
- AmplifyFormField.decorators = [
598
- { type: Component, args: [{
599
- selector: 'amplify-form-field',
600
- changeDetection: ChangeDetectionStrategy.OnPush,
601
- template: '<ng-content></ng-content>',
602
- inputs: [
603
- 'description',
604
- 'disabled',
605
- 'fieldId',
606
- 'handleInputChange',
607
- 'hint',
608
- 'inputProps',
609
- 'label',
610
- 'name',
611
- 'placeholder',
612
- 'required',
613
- 'type',
614
- 'value',
615
- ]
616
- },] }
617
- ];
618
- AmplifyFormField.ctorParameters = () => [
619
- { type: ChangeDetectorRef },
620
- { type: ElementRef },
621
- { type: NgZone }
622
- ];
623
- AmplifyFormField = __decorate([
624
- ProxyCmp({
625
- inputs: [
626
- 'description',
627
- 'disabled',
628
- 'fieldId',
629
- 'handleInputChange',
630
- 'hint',
631
- 'inputProps',
632
- 'label',
633
- 'name',
634
- 'placeholder',
635
- 'required',
636
- 'type',
637
- 'value',
638
- ],
639
- })
640
- ], AmplifyFormField);
641
- let AmplifyFormSection = class AmplifyFormSection {
642
- constructor(c, r, z) {
643
- this.z = z;
644
- c.detach();
645
- this.el = r.nativeElement;
646
- }
647
- };
648
- AmplifyFormSection.decorators = [
649
- { type: Component, args: [{
650
- selector: 'amplify-form-section',
651
- changeDetection: ChangeDetectionStrategy.OnPush,
652
- template: '<ng-content></ng-content>',
653
- inputs: [
654
- 'handleSubmit',
655
- 'headerText',
656
- 'loading',
657
- 'secondaryFooterContent',
658
- 'submitButtonText',
659
- 'testDataPrefix',
660
- ]
661
- },] }
662
- ];
663
- AmplifyFormSection.ctorParameters = () => [
664
- { type: ChangeDetectorRef },
665
- { type: ElementRef },
666
- { type: NgZone }
667
- ];
668
- AmplifyFormSection = __decorate([
669
- ProxyCmp({
670
- inputs: [
671
- 'handleSubmit',
672
- 'headerText',
673
- 'loading',
674
- 'secondaryFooterContent',
675
- 'submitButtonText',
676
- 'testDataPrefix',
677
- ],
678
- })
679
- ], AmplifyFormSection);
680
- let AmplifyGoogleButton = class AmplifyGoogleButton {
681
- constructor(c, r, z) {
682
- this.z = z;
683
- c.detach();
684
- this.el = r.nativeElement;
685
- }
686
- };
687
- AmplifyGoogleButton.decorators = [
688
- { type: Component, args: [{
689
- selector: 'amplify-google-button',
690
- changeDetection: ChangeDetectionStrategy.OnPush,
691
- template: '<ng-content></ng-content>',
692
- inputs: ['clientId', 'handleAuthStateChange']
693
- },] }
694
- ];
695
- AmplifyGoogleButton.ctorParameters = () => [
696
- { type: ChangeDetectorRef },
697
- { type: ElementRef },
698
- { type: NgZone }
699
- ];
700
- AmplifyGoogleButton = __decorate([
701
- ProxyCmp({ inputs: ['clientId', 'handleAuthStateChange'] })
702
- ], AmplifyGoogleButton);
703
- let AmplifyGreetings = class AmplifyGreetings {
704
- constructor(c, r, z) {
705
- this.z = z;
706
- c.detach();
707
- this.el = r.nativeElement;
708
- }
709
- };
710
- AmplifyGreetings.decorators = [
711
- { type: Component, args: [{
712
- selector: 'amplify-greetings',
713
- changeDetection: ChangeDetectionStrategy.OnPush,
714
- template: '<ng-content></ng-content>',
715
- inputs: ['handleAuthStateChange', 'logo', 'username']
716
- },] }
717
- ];
718
- AmplifyGreetings.ctorParameters = () => [
719
- { type: ChangeDetectorRef },
720
- { type: ElementRef },
721
- { type: NgZone }
722
- ];
723
- AmplifyGreetings = __decorate([
724
- ProxyCmp({ inputs: ['handleAuthStateChange', 'logo', 'username'] })
725
- ], AmplifyGreetings);
726
- class AmplifyHint {
727
- constructor(c, r, z) {
728
- this.z = z;
729
- c.detach();
730
- this.el = r.nativeElement;
731
- }
732
- }
733
- AmplifyHint.decorators = [
734
- { type: Component, args: [{
735
- selector: 'amplify-hint',
736
- changeDetection: ChangeDetectionStrategy.OnPush,
737
- template: '<ng-content></ng-content>'
738
- },] }
739
- ];
740
- AmplifyHint.ctorParameters = () => [
741
- { type: ChangeDetectorRef },
742
- { type: ElementRef },
743
- { type: NgZone }
744
- ];
745
- let AmplifyIcon = class AmplifyIcon {
746
- constructor(c, r, z) {
747
- this.z = z;
748
- c.detach();
749
- this.el = r.nativeElement;
750
- }
751
- };
752
- AmplifyIcon.decorators = [
753
- { type: Component, args: [{
754
- selector: 'amplify-icon',
755
- changeDetection: ChangeDetectionStrategy.OnPush,
756
- template: '<ng-content></ng-content>',
757
- inputs: ['name']
758
- },] }
759
- ];
760
- AmplifyIcon.ctorParameters = () => [
761
- { type: ChangeDetectorRef },
762
- { type: ElementRef },
763
- { type: NgZone }
764
- ];
765
- AmplifyIcon = __decorate([
766
- ProxyCmp({ inputs: ['name'] })
767
- ], AmplifyIcon);
768
- let AmplifyIconButton = class AmplifyIconButton {
769
- constructor(c, r, z) {
770
- this.z = z;
771
- c.detach();
772
- this.el = r.nativeElement;
773
- }
774
- };
775
- AmplifyIconButton.decorators = [
776
- { type: Component, args: [{
777
- selector: 'amplify-icon-button',
778
- changeDetection: ChangeDetectionStrategy.OnPush,
779
- template: '<ng-content></ng-content>',
780
- inputs: ['autoShowTooltip', 'name', 'tooltip']
781
- },] }
782
- ];
783
- AmplifyIconButton.ctorParameters = () => [
784
- { type: ChangeDetectorRef },
785
- { type: ElementRef },
786
- { type: NgZone }
787
- ];
788
- AmplifyIconButton = __decorate([
789
- ProxyCmp({ inputs: ['autoShowTooltip', 'name', 'tooltip'] })
790
- ], AmplifyIconButton);
791
- let AmplifyInput = class AmplifyInput {
792
- constructor(c, r, z) {
793
- this.z = z;
794
- c.detach();
795
- this.el = r.nativeElement;
796
- }
797
- };
798
- AmplifyInput.decorators = [
799
- { type: Component, args: [{
800
- selector: 'amplify-input',
801
- changeDetection: ChangeDetectionStrategy.OnPush,
802
- template: '<ng-content></ng-content>',
803
- inputs: [
804
- 'description',
805
- 'disabled',
806
- 'fieldId',
807
- 'handleInputChange',
808
- 'inputProps',
809
- 'name',
810
- 'placeholder',
811
- 'required',
812
- 'type',
813
- 'value',
814
- ]
815
- },] }
816
- ];
817
- AmplifyInput.ctorParameters = () => [
818
- { type: ChangeDetectorRef },
819
- { type: ElementRef },
820
- { type: NgZone }
821
- ];
822
- AmplifyInput = __decorate([
823
- ProxyCmp({
824
- inputs: [
825
- 'description',
826
- 'disabled',
827
- 'fieldId',
828
- 'handleInputChange',
829
- 'inputProps',
830
- 'name',
831
- 'placeholder',
832
- 'required',
833
- 'type',
834
- 'value',
835
- ],
836
- })
837
- ], AmplifyInput);
838
- let AmplifyLabel = class AmplifyLabel {
839
- constructor(c, r, z) {
840
- this.z = z;
841
- c.detach();
842
- this.el = r.nativeElement;
843
- }
844
- };
845
- AmplifyLabel.decorators = [
846
- { type: Component, args: [{
847
- selector: 'amplify-label',
848
- changeDetection: ChangeDetectionStrategy.OnPush,
849
- template: '<ng-content></ng-content>',
850
- inputs: ['htmlFor']
851
- },] }
852
- ];
853
- AmplifyLabel.ctorParameters = () => [
854
- { type: ChangeDetectorRef },
855
- { type: ElementRef },
856
- { type: NgZone }
857
- ];
858
- AmplifyLabel = __decorate([
859
- ProxyCmp({ inputs: ['htmlFor'] })
860
- ], AmplifyLabel);
861
- let AmplifyLink = class AmplifyLink {
862
- constructor(c, r, z) {
863
- this.z = z;
864
- c.detach();
865
- this.el = r.nativeElement;
866
- }
867
- };
868
- AmplifyLink.decorators = [
869
- { type: Component, args: [{
870
- selector: 'amplify-link',
871
- changeDetection: ChangeDetectionStrategy.OnPush,
872
- template: '<ng-content></ng-content>',
873
- inputs: ['role']
874
- },] }
875
- ];
876
- AmplifyLink.ctorParameters = () => [
877
- { type: ChangeDetectorRef },
878
- { type: ElementRef },
879
- { type: NgZone }
880
- ];
881
- AmplifyLink = __decorate([
882
- ProxyCmp({ inputs: ['role'] })
883
- ], AmplifyLink);
884
- class AmplifyLoadingSpinner {
885
- constructor(c, r, z) {
886
- this.z = z;
887
- c.detach();
888
- this.el = r.nativeElement;
889
- }
890
- }
891
- AmplifyLoadingSpinner.decorators = [
892
- { type: Component, args: [{
893
- selector: 'amplify-loading-spinner',
894
- changeDetection: ChangeDetectionStrategy.OnPush,
895
- template: '<ng-content></ng-content>'
896
- },] }
897
- ];
898
- AmplifyLoadingSpinner.ctorParameters = () => [
899
- { type: ChangeDetectorRef },
900
- { type: ElementRef },
901
- { type: NgZone }
902
- ];
903
- class AmplifyNav {
904
- constructor(c, r, z) {
905
- this.z = z;
906
- c.detach();
907
- this.el = r.nativeElement;
908
- }
909
- }
910
- AmplifyNav.decorators = [
911
- { type: Component, args: [{
912
- selector: 'amplify-nav',
913
- changeDetection: ChangeDetectionStrategy.OnPush,
914
- template: '<ng-content></ng-content>'
915
- },] }
916
- ];
917
- AmplifyNav.ctorParameters = () => [
918
- { type: ChangeDetectorRef },
919
- { type: ElementRef },
920
- { type: NgZone }
921
- ];
922
- let AmplifyOauthButton = class AmplifyOauthButton {
923
- constructor(c, r, z) {
924
- this.z = z;
925
- c.detach();
926
- this.el = r.nativeElement;
927
- }
928
- };
929
- AmplifyOauthButton.decorators = [
930
- { type: Component, args: [{
931
- selector: 'amplify-oauth-button',
932
- changeDetection: ChangeDetectionStrategy.OnPush,
933
- template: '<ng-content></ng-content>',
934
- inputs: ['config']
935
- },] }
936
- ];
937
- AmplifyOauthButton.ctorParameters = () => [
938
- { type: ChangeDetectorRef },
939
- { type: ElementRef },
940
- { type: NgZone }
941
- ];
942
- AmplifyOauthButton = __decorate([
943
- ProxyCmp({ inputs: ['config'] })
944
- ], AmplifyOauthButton);
945
- let AmplifyPasswordField = class AmplifyPasswordField {
946
- constructor(c, r, z) {
947
- this.z = z;
948
- c.detach();
949
- this.el = r.nativeElement;
950
- }
951
- };
952
- AmplifyPasswordField.decorators = [
953
- { type: Component, args: [{
954
- selector: 'amplify-password-field',
955
- changeDetection: ChangeDetectionStrategy.OnPush,
956
- template: '<ng-content></ng-content>',
957
- inputs: [
958
- 'disabled',
959
- 'fieldId',
960
- 'handleInputChange',
961
- 'hint',
962
- 'inputProps',
963
- 'label',
964
- 'placeholder',
965
- 'required',
966
- 'value',
967
- ]
968
- },] }
969
- ];
970
- AmplifyPasswordField.ctorParameters = () => [
971
- { type: ChangeDetectorRef },
972
- { type: ElementRef },
973
- { type: NgZone }
974
- ];
975
- AmplifyPasswordField = __decorate([
976
- ProxyCmp({
977
- inputs: [
978
- 'disabled',
979
- 'fieldId',
980
- 'handleInputChange',
981
- 'hint',
982
- 'inputProps',
983
- 'label',
984
- 'placeholder',
985
- 'required',
986
- 'value',
987
- ],
988
- })
989
- ], AmplifyPasswordField);
990
- let AmplifyPhoneField = class AmplifyPhoneField {
991
- constructor(c, r, z) {
992
- this.z = z;
993
- c.detach();
994
- this.el = r.nativeElement;
995
- }
996
- };
997
- AmplifyPhoneField.decorators = [
998
- { type: Component, args: [{
999
- selector: 'amplify-phone-field',
1000
- changeDetection: ChangeDetectionStrategy.OnPush,
1001
- template: '<ng-content></ng-content>',
1002
- inputs: [
1003
- 'dialCode',
1004
- 'disabled',
1005
- 'fieldId',
1006
- 'handleInputChange',
1007
- 'hint',
1008
- 'inputProps',
1009
- 'label',
1010
- 'placeholder',
1011
- 'required',
1012
- 'value',
1013
- ]
1014
- },] }
1015
- ];
1016
- AmplifyPhoneField.ctorParameters = () => [
1017
- { type: ChangeDetectorRef },
1018
- { type: ElementRef },
1019
- { type: NgZone }
1020
- ];
1021
- AmplifyPhoneField = __decorate([
1022
- ProxyCmp({
1023
- inputs: [
1024
- 'dialCode',
1025
- 'disabled',
1026
- 'fieldId',
1027
- 'handleInputChange',
1028
- 'hint',
1029
- 'inputProps',
1030
- 'label',
1031
- 'placeholder',
1032
- 'required',
1033
- 'value',
1034
- ],
1035
- })
1036
- ], AmplifyPhoneField);
1037
- let AmplifyPhotoPicker = class AmplifyPhotoPicker {
1038
- constructor(c, r, z) {
1039
- this.z = z;
1040
- c.detach();
1041
- this.el = r.nativeElement;
1042
- }
1043
- };
1044
- AmplifyPhotoPicker.decorators = [
1045
- { type: Component, args: [{
1046
- selector: 'amplify-photo-picker',
1047
- changeDetection: ChangeDetectionStrategy.OnPush,
1048
- template: '<ng-content></ng-content>',
1049
- inputs: [
1050
- 'buttonText',
1051
- 'handleClick',
1052
- 'headerHint',
1053
- 'headerTitle',
1054
- 'placeholderHint',
1055
- 'previewSrc',
1056
- ]
1057
- },] }
1058
- ];
1059
- AmplifyPhotoPicker.ctorParameters = () => [
1060
- { type: ChangeDetectorRef },
1061
- { type: ElementRef },
1062
- { type: NgZone }
1063
- ];
1064
- AmplifyPhotoPicker = __decorate([
1065
- ProxyCmp({
1066
- inputs: [
1067
- 'buttonText',
1068
- 'handleClick',
1069
- 'headerHint',
1070
- 'headerTitle',
1071
- 'placeholderHint',
1072
- 'previewSrc',
1073
- ],
1074
- })
1075
- ], AmplifyPhotoPicker);
1076
- let AmplifyPicker = class AmplifyPicker {
1077
- constructor(c, r, z) {
1078
- this.z = z;
1079
- c.detach();
1080
- this.el = r.nativeElement;
1081
- }
1082
- };
1083
- AmplifyPicker.decorators = [
1084
- { type: Component, args: [{
1085
- selector: 'amplify-picker',
1086
- changeDetection: ChangeDetectionStrategy.OnPush,
1087
- template: '<ng-content></ng-content>',
1088
- inputs: ['acceptValue', 'inputHandler', 'pickerText']
1089
- },] }
1090
- ];
1091
- AmplifyPicker.ctorParameters = () => [
1092
- { type: ChangeDetectorRef },
1093
- { type: ElementRef },
1094
- { type: NgZone }
1095
- ];
1096
- AmplifyPicker = __decorate([
1097
- ProxyCmp({ inputs: ['acceptValue', 'inputHandler', 'pickerText'] })
1098
- ], AmplifyPicker);
1099
- let AmplifyRadioButton = class AmplifyRadioButton {
1100
- constructor(c, r, z) {
1101
- this.z = z;
1102
- c.detach();
1103
- this.el = r.nativeElement;
1104
- }
1105
- };
1106
- AmplifyRadioButton.decorators = [
1107
- { type: Component, args: [{
1108
- selector: 'amplify-radio-button',
1109
- changeDetection: ChangeDetectionStrategy.OnPush,
1110
- template: '<ng-content></ng-content>',
1111
- inputs: [
1112
- 'checked',
1113
- 'disabled',
1114
- 'fieldId',
1115
- 'handleInputChange',
1116
- 'inputProps',
1117
- 'label',
1118
- 'name',
1119
- 'placeholder',
1120
- 'value',
1121
- ]
1122
- },] }
1123
- ];
1124
- AmplifyRadioButton.ctorParameters = () => [
1125
- { type: ChangeDetectorRef },
1126
- { type: ElementRef },
1127
- { type: NgZone }
1128
- ];
1129
- AmplifyRadioButton = __decorate([
1130
- ProxyCmp({
1131
- inputs: [
1132
- 'checked',
1133
- 'disabled',
1134
- 'fieldId',
1135
- 'handleInputChange',
1136
- 'inputProps',
1137
- 'label',
1138
- 'name',
1139
- 'placeholder',
1140
- 'value',
1141
- ],
1142
- })
1143
- ], AmplifyRadioButton);
1144
- let AmplifyRequireNewPassword = class AmplifyRequireNewPassword {
1145
- constructor(c, r, z) {
1146
- this.z = z;
1147
- c.detach();
1148
- this.el = r.nativeElement;
1149
- }
1150
- };
1151
- AmplifyRequireNewPassword.decorators = [
1152
- { type: Component, args: [{
1153
- selector: 'amplify-require-new-password',
1154
- changeDetection: ChangeDetectionStrategy.OnPush,
1155
- template: '<ng-content></ng-content>',
1156
- inputs: [
1157
- 'formFields',
1158
- 'handleAuthStateChange',
1159
- 'handleSubmit',
1160
- 'headerText',
1161
- 'submitButtonText',
1162
- 'user',
1163
- ]
1164
- },] }
1165
- ];
1166
- AmplifyRequireNewPassword.ctorParameters = () => [
1167
- { type: ChangeDetectorRef },
1168
- { type: ElementRef },
1169
- { type: NgZone }
1170
- ];
1171
- AmplifyRequireNewPassword = __decorate([
1172
- ProxyCmp({
1173
- inputs: [
1174
- 'formFields',
1175
- 'handleAuthStateChange',
1176
- 'handleSubmit',
1177
- 'headerText',
1178
- 'submitButtonText',
1179
- 'user',
1180
- ],
1181
- })
1182
- ], AmplifyRequireNewPassword);
1183
- let AmplifyS3Album = class AmplifyS3Album {
1184
- constructor(c, r, z) {
1185
- this.z = z;
1186
- c.detach();
1187
- this.el = r.nativeElement;
1188
- }
1189
- };
1190
- AmplifyS3Album.decorators = [
1191
- { type: Component, args: [{
1192
- selector: 'amplify-s3-album',
1193
- changeDetection: ChangeDetectionStrategy.OnPush,
1194
- template: '<ng-content></ng-content>',
1195
- inputs: [
1196
- 'contentType',
1197
- 'fileToKey',
1198
- 'filter',
1199
- 'handleOnError',
1200
- 'handleOnLoad',
1201
- 'identityId',
1202
- 'level',
1203
- 'path',
1204
- 'picker',
1205
- 'pickerText',
1206
- 'sort',
1207
- 'track',
1208
- ]
1209
- },] }
1210
- ];
1211
- AmplifyS3Album.ctorParameters = () => [
1212
- { type: ChangeDetectorRef },
1213
- { type: ElementRef },
1214
- { type: NgZone }
1215
- ];
1216
- AmplifyS3Album = __decorate([
1217
- ProxyCmp({
1218
- inputs: [
1219
- 'contentType',
1220
- 'fileToKey',
1221
- 'filter',
1222
- 'handleOnError',
1223
- 'handleOnLoad',
1224
- 'identityId',
1225
- 'level',
1226
- 'path',
1227
- 'picker',
1228
- 'pickerText',
1229
- 'sort',
1230
- 'track',
1231
- ],
1232
- })
1233
- ], AmplifyS3Album);
1234
- let AmplifyS3Image = class AmplifyS3Image {
1235
- constructor(c, r, z) {
1236
- this.z = z;
1237
- c.detach();
1238
- this.el = r.nativeElement;
1239
- }
1240
- };
1241
- AmplifyS3Image.decorators = [
1242
- { type: Component, args: [{
1243
- selector: 'amplify-s3-image',
1244
- changeDetection: ChangeDetectionStrategy.OnPush,
1245
- template: '<ng-content></ng-content>',
1246
- inputs: [
1247
- 'alt',
1248
- 'body',
1249
- 'contentType',
1250
- 'handleOnError',
1251
- 'handleOnLoad',
1252
- 'identityId',
1253
- 'imgKey',
1254
- 'imgProps',
1255
- 'level',
1256
- 'path',
1257
- 'track',
1258
- ]
1259
- },] }
1260
- ];
1261
- AmplifyS3Image.ctorParameters = () => [
1262
- { type: ChangeDetectorRef },
1263
- { type: ElementRef },
1264
- { type: NgZone }
1265
- ];
1266
- AmplifyS3Image = __decorate([
1267
- ProxyCmp({
1268
- inputs: [
1269
- 'alt',
1270
- 'body',
1271
- 'contentType',
1272
- 'handleOnError',
1273
- 'handleOnLoad',
1274
- 'identityId',
1275
- 'imgKey',
1276
- 'imgProps',
1277
- 'level',
1278
- 'path',
1279
- 'track',
1280
- ],
1281
- })
1282
- ], AmplifyS3Image);
1283
- let AmplifyS3ImagePicker = class AmplifyS3ImagePicker {
1284
- constructor(c, r, z) {
1285
- this.z = z;
1286
- c.detach();
1287
- this.el = r.nativeElement;
1288
- }
1289
- };
1290
- AmplifyS3ImagePicker.decorators = [
1291
- { type: Component, args: [{
1292
- selector: 'amplify-s3-image-picker',
1293
- changeDetection: ChangeDetectionStrategy.OnPush,
1294
- template: '<ng-content></ng-content>',
1295
- inputs: [
1296
- 'buttonText',
1297
- 'contentType',
1298
- 'fileToKey',
1299
- 'headerHint',
1300
- 'headerTitle',
1301
- 'identityId',
1302
- 'level',
1303
- 'path',
1304
- 'placeholderHint',
1305
- 'track',
1306
- ]
1307
- },] }
1308
- ];
1309
- AmplifyS3ImagePicker.ctorParameters = () => [
1310
- { type: ChangeDetectorRef },
1311
- { type: ElementRef },
1312
- { type: NgZone }
1313
- ];
1314
- AmplifyS3ImagePicker = __decorate([
1315
- ProxyCmp({
1316
- inputs: [
1317
- 'buttonText',
1318
- 'contentType',
1319
- 'fileToKey',
1320
- 'headerHint',
1321
- 'headerTitle',
1322
- 'identityId',
1323
- 'level',
1324
- 'path',
1325
- 'placeholderHint',
1326
- 'track',
1327
- ],
1328
- })
1329
- ], AmplifyS3ImagePicker);
1330
- let AmplifyS3Text = class AmplifyS3Text {
1331
- constructor(c, r, z) {
1332
- this.z = z;
1333
- c.detach();
1334
- this.el = r.nativeElement;
1335
- }
1336
- };
1337
- AmplifyS3Text.decorators = [
1338
- { type: Component, args: [{
1339
- selector: 'amplify-s3-text',
1340
- changeDetection: ChangeDetectionStrategy.OnPush,
1341
- template: '<ng-content></ng-content>',
1342
- inputs: [
1343
- 'body',
1344
- 'contentType',
1345
- 'fallbackText',
1346
- 'identityId',
1347
- 'level',
1348
- 'path',
1349
- 'textKey',
1350
- 'track',
1351
- ]
1352
- },] }
1353
- ];
1354
- AmplifyS3Text.ctorParameters = () => [
1355
- { type: ChangeDetectorRef },
1356
- { type: ElementRef },
1357
- { type: NgZone }
1358
- ];
1359
- AmplifyS3Text = __decorate([
1360
- ProxyCmp({
1361
- inputs: [
1362
- 'body',
1363
- 'contentType',
1364
- 'fallbackText',
1365
- 'identityId',
1366
- 'level',
1367
- 'path',
1368
- 'textKey',
1369
- 'track',
1370
- ],
1371
- })
1372
- ], AmplifyS3Text);
1373
- let AmplifyS3TextPicker = class AmplifyS3TextPicker {
1374
- constructor(c, r, z) {
1375
- this.z = z;
1376
- c.detach();
1377
- this.el = r.nativeElement;
1378
- }
1379
- };
1380
- AmplifyS3TextPicker.decorators = [
1381
- { type: Component, args: [{
1382
- selector: 'amplify-s3-text-picker',
1383
- changeDetection: ChangeDetectionStrategy.OnPush,
1384
- template: '<ng-content></ng-content>',
1385
- inputs: [
1386
- 'contentType',
1387
- 'fallbackText',
1388
- 'fileToKey',
1389
- 'identityId',
1390
- 'level',
1391
- 'path',
1392
- 'track',
1393
- ]
1394
- },] }
1395
- ];
1396
- AmplifyS3TextPicker.ctorParameters = () => [
1397
- { type: ChangeDetectorRef },
1398
- { type: ElementRef },
1399
- { type: NgZone }
1400
- ];
1401
- AmplifyS3TextPicker = __decorate([
1402
- ProxyCmp({
1403
- inputs: [
1404
- 'contentType',
1405
- 'fallbackText',
1406
- 'fileToKey',
1407
- 'identityId',
1408
- 'level',
1409
- 'path',
1410
- 'track',
1411
- ],
1412
- })
1413
- ], AmplifyS3TextPicker);
1414
- let AmplifySection = class AmplifySection {
1415
- constructor(c, r, z) {
1416
- this.z = z;
1417
- c.detach();
1418
- this.el = r.nativeElement;
1419
- }
1420
- };
1421
- AmplifySection.decorators = [
1422
- { type: Component, args: [{
1423
- selector: 'amplify-section',
1424
- changeDetection: ChangeDetectionStrategy.OnPush,
1425
- template: '<ng-content></ng-content>',
1426
- inputs: ['role']
1427
- },] }
1428
- ];
1429
- AmplifySection.ctorParameters = () => [
1430
- { type: ChangeDetectorRef },
1431
- { type: ElementRef },
1432
- { type: NgZone }
1433
- ];
1434
- AmplifySection = __decorate([
1435
- ProxyCmp({ inputs: ['role'] })
1436
- ], AmplifySection);
1437
- let AmplifySelect = class AmplifySelect {
1438
- constructor(c, r, z) {
1439
- this.z = z;
1440
- c.detach();
1441
- this.el = r.nativeElement;
1442
- }
1443
- };
1444
- AmplifySelect.decorators = [
1445
- { type: Component, args: [{
1446
- selector: 'amplify-select',
1447
- changeDetection: ChangeDetectionStrategy.OnPush,
1448
- template: '<ng-content></ng-content>',
1449
- inputs: ['fieldId', 'handleInputChange', 'options', 'selected']
1450
- },] }
1451
- ];
1452
- AmplifySelect.ctorParameters = () => [
1453
- { type: ChangeDetectorRef },
1454
- { type: ElementRef },
1455
- { type: NgZone }
1456
- ];
1457
- AmplifySelect = __decorate([
1458
- ProxyCmp({ inputs: ['fieldId', 'handleInputChange', 'options', 'selected'] })
1459
- ], AmplifySelect);
1460
- let AmplifySelectMfaType = class AmplifySelectMfaType {
1461
- constructor(c, r, z) {
1462
- this.z = z;
1463
- c.detach();
1464
- this.el = r.nativeElement;
1465
- }
1466
- };
1467
- AmplifySelectMfaType.decorators = [
1468
- { type: Component, args: [{
1469
- selector: 'amplify-select-mfa-type',
1470
- changeDetection: ChangeDetectionStrategy.OnPush,
1471
- template: '<ng-content></ng-content>',
1472
- inputs: ['MFATypes', 'authData', 'handleSubmit']
1473
- },] }
1474
- ];
1475
- AmplifySelectMfaType.ctorParameters = () => [
1476
- { type: ChangeDetectorRef },
1477
- { type: ElementRef },
1478
- { type: NgZone }
1479
- ];
1480
- AmplifySelectMfaType = __decorate([
1481
- ProxyCmp({ inputs: ['MFATypes', 'authData', 'handleSubmit'] })
1482
- ], AmplifySelectMfaType);
1483
- let AmplifySignIn = class AmplifySignIn {
1484
- constructor(c, r, z) {
1485
- this.z = z;
1486
- c.detach();
1487
- this.el = r.nativeElement;
1488
- }
1489
- };
1490
- AmplifySignIn.decorators = [
1491
- { type: Component, args: [{
1492
- selector: 'amplify-sign-in',
1493
- changeDetection: ChangeDetectionStrategy.OnPush,
1494
- template: '<ng-content></ng-content>',
1495
- inputs: [
1496
- 'federated',
1497
- 'formFields',
1498
- 'handleAuthStateChange',
1499
- 'handleSubmit',
1500
- 'headerText',
1501
- 'hideSignUp',
1502
- 'submitButtonText',
1503
- 'usernameAlias',
1504
- ]
1505
- },] }
1506
- ];
1507
- AmplifySignIn.ctorParameters = () => [
1508
- { type: ChangeDetectorRef },
1509
- { type: ElementRef },
1510
- { type: NgZone }
1511
- ];
1512
- AmplifySignIn = __decorate([
1513
- ProxyCmp({
1514
- inputs: [
1515
- 'federated',
1516
- 'formFields',
1517
- 'handleAuthStateChange',
1518
- 'handleSubmit',
1519
- 'headerText',
1520
- 'hideSignUp',
1521
- 'submitButtonText',
1522
- 'usernameAlias',
1523
- ],
1524
- })
1525
- ], AmplifySignIn);
1526
- let AmplifySignInButton = class AmplifySignInButton {
1527
- constructor(c, r, z) {
1528
- this.z = z;
1529
- c.detach();
1530
- this.el = r.nativeElement;
1531
- }
1532
- };
1533
- AmplifySignInButton.decorators = [
1534
- { type: Component, args: [{
1535
- selector: 'amplify-sign-in-button',
1536
- changeDetection: ChangeDetectionStrategy.OnPush,
1537
- template: '<ng-content></ng-content>',
1538
- inputs: ['provider']
1539
- },] }
1540
- ];
1541
- AmplifySignInButton.ctorParameters = () => [
1542
- { type: ChangeDetectorRef },
1543
- { type: ElementRef },
1544
- { type: NgZone }
1545
- ];
1546
- AmplifySignInButton = __decorate([
1547
- ProxyCmp({ inputs: ['provider'] })
1548
- ], AmplifySignInButton);
1549
- let AmplifySignOut = class AmplifySignOut {
1550
- constructor(c, r, z) {
1551
- this.z = z;
1552
- c.detach();
1553
- this.el = r.nativeElement;
1554
- }
1555
- };
1556
- AmplifySignOut.decorators = [
1557
- { type: Component, args: [{
1558
- selector: 'amplify-sign-out',
1559
- changeDetection: ChangeDetectionStrategy.OnPush,
1560
- template: '<ng-content></ng-content>',
1561
- inputs: ['buttonText', 'handleAuthStateChange']
1562
- },] }
1563
- ];
1564
- AmplifySignOut.ctorParameters = () => [
1565
- { type: ChangeDetectorRef },
1566
- { type: ElementRef },
1567
- { type: NgZone }
1568
- ];
1569
- AmplifySignOut = __decorate([
1570
- ProxyCmp({ inputs: ['buttonText', 'handleAuthStateChange'] })
1571
- ], AmplifySignOut);
1572
- let AmplifySignUp = class AmplifySignUp {
1573
- constructor(c, r, z) {
1574
- this.z = z;
1575
- c.detach();
1576
- this.el = r.nativeElement;
1577
- }
1578
- };
1579
- AmplifySignUp.decorators = [
1580
- { type: Component, args: [{
1581
- selector: 'amplify-sign-up',
1582
- changeDetection: ChangeDetectionStrategy.OnPush,
1583
- template: '<ng-content></ng-content>',
1584
- inputs: [
1585
- 'formFields',
1586
- 'handleAuthStateChange',
1587
- 'handleSignUp',
1588
- 'handleSubmit',
1589
- 'haveAccountText',
1590
- 'headerText',
1591
- 'signInText',
1592
- 'submitButtonText',
1593
- 'usernameAlias',
1594
- 'validationErrors',
1595
- ]
1596
- },] }
1597
- ];
1598
- AmplifySignUp.ctorParameters = () => [
1599
- { type: ChangeDetectorRef },
1600
- { type: ElementRef },
1601
- { type: NgZone }
1602
- ];
1603
- AmplifySignUp = __decorate([
1604
- ProxyCmp({
1605
- inputs: [
1606
- 'formFields',
1607
- 'handleAuthStateChange',
1608
- 'handleSignUp',
1609
- 'handleSubmit',
1610
- 'haveAccountText',
1611
- 'headerText',
1612
- 'signInText',
1613
- 'submitButtonText',
1614
- 'usernameAlias',
1615
- 'validationErrors',
1616
- ],
1617
- })
1618
- ], AmplifySignUp);
1619
- class AmplifyStrike {
1620
- constructor(c, r, z) {
1621
- this.z = z;
1622
- c.detach();
1623
- this.el = r.nativeElement;
1624
- }
1625
- }
1626
- AmplifyStrike.decorators = [
1627
- { type: Component, args: [{
1628
- selector: 'amplify-strike',
1629
- changeDetection: ChangeDetectionStrategy.OnPush,
1630
- template: '<ng-content></ng-content>'
1631
- },] }
1632
- ];
1633
- AmplifyStrike.ctorParameters = () => [
1634
- { type: ChangeDetectorRef },
1635
- { type: ElementRef },
1636
- { type: NgZone }
1637
- ];
1638
- let AmplifyToast = class AmplifyToast {
1639
- constructor(c, r, z) {
1640
- this.z = z;
1641
- c.detach();
1642
- this.el = r.nativeElement;
1643
- }
1644
- };
1645
- AmplifyToast.decorators = [
1646
- { type: Component, args: [{
1647
- selector: 'amplify-toast',
1648
- changeDetection: ChangeDetectionStrategy.OnPush,
1649
- template: '<ng-content></ng-content>',
1650
- inputs: ['handleClose', 'message']
1651
- },] }
1652
- ];
1653
- AmplifyToast.ctorParameters = () => [
1654
- { type: ChangeDetectorRef },
1655
- { type: ElementRef },
1656
- { type: NgZone }
1657
- ];
1658
- AmplifyToast = __decorate([
1659
- ProxyCmp({ inputs: ['handleClose', 'message'] })
1660
- ], AmplifyToast);
1661
- let AmplifyTooltip = class AmplifyTooltip {
1662
- constructor(c, r, z) {
1663
- this.z = z;
1664
- c.detach();
1665
- this.el = r.nativeElement;
1666
- }
1667
- };
1668
- AmplifyTooltip.decorators = [
1669
- { type: Component, args: [{
1670
- selector: 'amplify-tooltip',
1671
- changeDetection: ChangeDetectionStrategy.OnPush,
1672
- template: '<ng-content></ng-content>',
1673
- inputs: ['shouldAutoShow', 'text']
1674
- },] }
1675
- ];
1676
- AmplifyTooltip.ctorParameters = () => [
1677
- { type: ChangeDetectorRef },
1678
- { type: ElementRef },
1679
- { type: NgZone }
1680
- ];
1681
- AmplifyTooltip = __decorate([
1682
- ProxyCmp({ inputs: ['shouldAutoShow', 'text'] })
1683
- ], AmplifyTooltip);
1684
- let AmplifyTotpSetup = class AmplifyTotpSetup {
1685
- constructor(c, r, z) {
1686
- this.z = z;
1687
- c.detach();
1688
- this.el = r.nativeElement;
1689
- }
1690
- };
1691
- AmplifyTotpSetup.decorators = [
1692
- { type: Component, args: [{
1693
- selector: 'amplify-totp-setup',
1694
- changeDetection: ChangeDetectionStrategy.OnPush,
1695
- template: '<ng-content></ng-content>',
1696
- inputs: [
1697
- 'handleAuthStateChange',
1698
- 'handleComplete',
1699
- 'headerText',
1700
- 'issuer',
1701
- 'standalone',
1702
- 'user',
1703
- ]
1704
- },] }
1705
- ];
1706
- AmplifyTotpSetup.ctorParameters = () => [
1707
- { type: ChangeDetectorRef },
1708
- { type: ElementRef },
1709
- { type: NgZone }
1710
- ];
1711
- AmplifyTotpSetup = __decorate([
1712
- ProxyCmp({
1713
- inputs: [
1714
- 'handleAuthStateChange',
1715
- 'handleComplete',
1716
- 'headerText',
1717
- 'issuer',
1718
- 'standalone',
1719
- 'user',
1720
- ],
1721
- })
1722
- ], AmplifyTotpSetup);
1723
- let AmplifyUsernameField = class AmplifyUsernameField {
1724
- constructor(c, r, z) {
1725
- this.z = z;
1726
- c.detach();
1727
- this.el = r.nativeElement;
1728
- }
1729
- };
1730
- AmplifyUsernameField.decorators = [
1731
- { type: Component, args: [{
1732
- selector: 'amplify-username-field',
1733
- changeDetection: ChangeDetectionStrategy.OnPush,
1734
- template: '<ng-content></ng-content>',
1735
- inputs: [
1736
- 'disabled',
1737
- 'fieldId',
1738
- 'handleInputChange',
1739
- 'hint',
1740
- 'inputProps',
1741
- 'label',
1742
- 'placeholder',
1743
- 'required',
1744
- 'value',
1745
- ]
1746
- },] }
1747
- ];
1748
- AmplifyUsernameField.ctorParameters = () => [
1749
- { type: ChangeDetectorRef },
1750
- { type: ElementRef },
1751
- { type: NgZone }
1752
- ];
1753
- AmplifyUsernameField = __decorate([
1754
- ProxyCmp({
1755
- inputs: [
1756
- 'disabled',
1757
- 'fieldId',
1758
- 'handleInputChange',
1759
- 'hint',
1760
- 'inputProps',
1761
- 'label',
1762
- 'placeholder',
1763
- 'required',
1764
- 'value',
1765
- ],
1766
- })
1767
- ], AmplifyUsernameField);
1768
- let AmplifyVerifyContact = class AmplifyVerifyContact {
1769
- constructor(c, r, z) {
1770
- this.z = z;
1771
- c.detach();
1772
- this.el = r.nativeElement;
1773
- }
1774
- };
1775
- AmplifyVerifyContact.decorators = [
1776
- { type: Component, args: [{
1777
- selector: 'amplify-verify-contact',
1778
- changeDetection: ChangeDetectionStrategy.OnPush,
1779
- template: '<ng-content></ng-content>',
1780
- inputs: ['handleAuthStateChange', 'user']
1781
- },] }
1782
- ];
1783
- AmplifyVerifyContact.ctorParameters = () => [
1784
- { type: ChangeDetectorRef },
1785
- { type: ElementRef },
1786
- { type: NgZone }
1787
- ];
1788
- AmplifyVerifyContact = __decorate([
1789
- ProxyCmp({ inputs: ['handleAuthStateChange', 'user'] })
1790
- ], AmplifyVerifyContact);
1791
-
1792
- customElements.define('amplify-button', AmplifyButton$1);
1793
- customElements.define('amplify-input', AmplifyInput$1);
1794
- customElements.define('amplify-toast', AmplifyToast$1);
1795
- customElements.define('amplify-chatbot', AmplifyChatbot$1);
1796
- customElements.define('amplify-s3-album', AmplifyS3Album$1);
1797
- customElements.define('amplify-s3-image-picker', AmplifyS3ImagePicker$1);
1798
- customElements.define('amplify-s3-text', AmplifyS3Text$1);
1799
- customElements.define('amplify-s3-text-picker', AmplifyS3TextPicker$1);
1800
- customElements.define('amplify-s3-image', AmplifyS3Image$1);
1801
- customElements.define('amplify-picker', AmplifyPicker$1);
1802
- customElements.define('amplify-photo-picker', AmplifyPhotoPicker$1);
1803
- customElements.define('amplify-icon', AmplifyIcon$1);
1804
- class LegacyAmplifyUiModule {
1805
- }
1806
- LegacyAmplifyUiModule.decorators = [
1807
- { type: NgModule, args: [{
1808
- declarations: [
1809
- AmplifyChatbot,
1810
- AmplifyToast,
1811
- AmplifyIcon,
1812
- AmplifyInput,
1813
- AmplifyButton,
1814
- AmplifyS3Album,
1815
- AmplifyS3ImagePicker,
1816
- AmplifyS3Text,
1817
- AmplifyS3TextPicker,
1818
- AmplifyS3Image,
1819
- AmplifyPicker,
1820
- AmplifyPhotoPicker,
1821
- ],
1822
- imports: [CommonModule],
1823
- exports: [
1824
- AmplifyChatbot,
1825
- AmplifyToast,
1826
- AmplifyIcon,
1827
- AmplifyInput,
1828
- AmplifyButton,
1829
- AmplifyS3Album,
1830
- AmplifyS3ImagePicker,
1831
- AmplifyS3Text,
1832
- AmplifyS3TextPicker,
1833
- AmplifyS3Image,
1834
- AmplifyPicker,
1835
- AmplifyPhotoPicker,
1836
- ],
1837
- schemas: [CUSTOM_ELEMENTS_SCHEMA],
1838
- },] }
1839
- ];
1840
-
1841
- /**
1842
- * Generated bundle index. Do not edit.
1843
- */
1844
-
1845
- export { AmplifyButton, AmplifyChatbot, AmplifyIcon, AmplifyInput, AmplifyPhotoPicker, AmplifyPicker, AmplifyS3Album, AmplifyS3Image, AmplifyS3ImagePicker, AmplifyS3Text, AmplifyS3TextPicker, AmplifyToast, LegacyAmplifyUiModule, ProxyCmp as ɵa };
1846
- //# sourceMappingURL=aws-amplify-ui-angular-legacy.js.map