@aws-amplify/ui-angular 2.4.26 → 3.1.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 (91) 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 +1607 -1517
  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/common/types/auth-types.js +1 -1
  7. package/esm2015/lib/components/authenticator/authenticator.module.js +81 -44
  8. package/esm2015/lib/components/authenticator/components/authenticator/authenticator.component.js +60 -36
  9. package/esm2015/lib/components/authenticator/components/base-form-fields/base-form-fields.component.js +20 -39
  10. package/esm2015/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.js +28 -27
  11. package/esm2015/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.js +25 -30
  12. package/esm2015/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.js +29 -36
  13. package/esm2015/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.js +27 -19
  14. package/esm2015/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.js +20 -17
  15. package/esm2015/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.js +17 -15
  16. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.js +12 -7
  17. package/esm2015/lib/components/authenticator/components/force-new-password/force-new-password.component.js +27 -19
  18. package/esm2015/lib/components/authenticator/components/form-field/form-field.component.js +20 -15
  19. package/esm2015/lib/components/authenticator/components/reset-password/reset-password.component.js +27 -19
  20. package/esm2015/lib/components/authenticator/components/setup-totp/setup-totp.component.js +27 -21
  21. package/esm2015/lib/components/authenticator/components/sign-in/sign-in.component.js +27 -23
  22. package/esm2015/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.js +12 -7
  23. package/esm2015/lib/components/authenticator/components/sign-up/sign-up.component.js +24 -16
  24. package/esm2015/lib/components/authenticator/components/verify-user/verify-user.component.js +27 -20
  25. package/esm2015/lib/primitives/button/button.component.js +44 -22
  26. package/esm2015/lib/primitives/checkbox/checkbox.component.js +24 -15
  27. package/esm2015/lib/primitives/error/error.component.js +13 -7
  28. package/esm2015/lib/primitives/password-field/password-field.component.js +37 -21
  29. package/esm2015/lib/primitives/phone-number-field/phone-number-field.component.js +45 -25
  30. package/esm2015/lib/primitives/select/select.component.js +22 -14
  31. package/esm2015/lib/primitives/tab-item/tab-item.component.js +25 -15
  32. package/esm2015/lib/primitives/tabs/tabs.component.js +17 -11
  33. package/esm2015/lib/primitives/text-field/text-field.component.js +38 -22
  34. package/esm2015/lib/services/authenticator.service.js +33 -30
  35. package/esm2015/lib/services/custom-components.service.js +9 -7
  36. package/esm2015/lib/utilities/amplify-slot/amplify-slot.component.js +20 -16
  37. package/esm2015/lib/utilities/amplify-slot/amplify-slot.directive.js +13 -13
  38. package/fesm2015/aws-amplify-ui-angular.js +1066 -957
  39. package/fesm2015/aws-amplify-ui-angular.js.map +1 -1
  40. package/lib/common/types/auth-types.d.ts +2 -2
  41. package/lib/components/authenticator/authenticator.module.d.ts +33 -0
  42. package/lib/components/authenticator/components/authenticator/authenticator.component.d.ts +16 -35
  43. package/lib/components/authenticator/components/base-form-fields/base-form-fields.component.d.ts +3 -1
  44. package/lib/components/authenticator/components/confirm-reset-password/amplify-confirm-reset-password.component.d.ts +17 -41
  45. package/lib/components/authenticator/components/confirm-sign-in/confirm-sign-in.component.d.ts +16 -35
  46. package/lib/components/authenticator/components/confirm-sign-up/confirm-sign-up.component.d.ts +16 -40
  47. package/lib/components/authenticator/components/confirm-verify-user/amplify-confirm-verify-user.component.d.ts +16 -35
  48. package/lib/components/authenticator/components/federated-sign-in/federated-sign-in.component.d.ts +3 -0
  49. package/lib/components/authenticator/components/federated-sign-in-button/federated-sign-in-button.component.d.ts +3 -0
  50. package/lib/components/authenticator/components/force-new-password/force-new-password-form-fields/force-new-password-form-fields.component.d.ts +3 -0
  51. package/lib/components/authenticator/components/force-new-password/force-new-password.component.d.ts +16 -35
  52. package/lib/components/authenticator/components/form-field/form-field.component.d.ts +3 -0
  53. package/lib/components/authenticator/components/reset-password/reset-password.component.d.ts +16 -35
  54. package/lib/components/authenticator/components/setup-totp/setup-totp.component.d.ts +16 -35
  55. package/lib/components/authenticator/components/sign-in/sign-in.component.d.ts +16 -35
  56. package/lib/components/authenticator/components/sign-up/sign-up-form-fields/sign-up-form-fields.component.d.ts +3 -0
  57. package/lib/components/authenticator/components/sign-up/sign-up.component.d.ts +16 -35
  58. package/lib/components/authenticator/components/verify-user/verify-user.component.d.ts +16 -35
  59. package/lib/primitives/button/button.component.d.ts +3 -0
  60. package/lib/primitives/checkbox/checkbox.component.d.ts +3 -0
  61. package/lib/primitives/error/error.component.d.ts +3 -0
  62. package/lib/primitives/password-field/password-field.component.d.ts +3 -0
  63. package/lib/primitives/phone-number-field/phone-number-field.component.d.ts +3 -0
  64. package/lib/primitives/select/select.component.d.ts +3 -0
  65. package/lib/primitives/tab-item/tab-item.component.d.ts +3 -0
  66. package/lib/primitives/tabs/tabs.component.d.ts +3 -0
  67. package/lib/primitives/text-field/text-field.component.d.ts +3 -0
  68. package/lib/services/authenticator.service.d.ts +28 -49
  69. package/lib/services/custom-components.service.d.ts +3 -0
  70. package/lib/utilities/amplify-slot/amplify-slot.component.d.ts +3 -0
  71. package/lib/utilities/amplify-slot/amplify-slot.directive.d.ts +3 -0
  72. package/package.json +3 -6
  73. package/aws-amplify-ui-angular.metadata.json +0 -1
  74. package/bundles/aws-amplify-ui-angular-legacy.umd.js +0 -2238
  75. package/bundles/aws-amplify-ui-angular-legacy.umd.js.map +0 -1
  76. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js +0 -2
  77. package/bundles/aws-amplify-ui-angular-legacy.umd.min.js.map +0 -1
  78. package/bundles/aws-amplify-ui-angular.umd.min.js +0 -2
  79. package/bundles/aws-amplify-ui-angular.umd.min.js.map +0 -1
  80. package/esm2015/legacy/aws-amplify-ui-angular-legacy.js +0 -6
  81. package/esm2015/legacy/index.js +0 -3
  82. package/esm2015/legacy/legacy-ui-angular.module.js +0 -53
  83. package/esm2015/legacy/proxies.js +0 -1839
  84. package/fesm2015/aws-amplify-ui-angular-legacy.js +0 -1846
  85. package/fesm2015/aws-amplify-ui-angular-legacy.js.map +0 -1
  86. package/legacy/aws-amplify-ui-angular-legacy.d.ts +0 -5
  87. package/legacy/aws-amplify-ui-angular-legacy.metadata.json +0 -1
  88. package/legacy/index.d.ts +0 -2
  89. package/legacy/legacy-ui-angular.module.d.ts +0 -2
  90. package/legacy/package.json +0 -11
  91. package/legacy/proxies.d.ts +0 -395
@@ -1,2238 +0,0 @@
1
- (function (global, factory) {
2
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('rxjs'), require('@angular/common'), require('@aws-amplify/ui-components/dist/components')) :
3
- typeof define === 'function' && define.amd ? define('@aws-amplify/ui-angular/legacy', ['exports', '@angular/core', 'rxjs', '@angular/common', '@aws-amplify/ui-components/dist/components'], factory) :
4
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["aws-amplify"] = global["aws-amplify"] || {}, global["aws-amplify"]["ui-angular"] = global["aws-amplify"]["ui-angular"] || {}, global["aws-amplify"]["ui-angular"].legacy = {}), global.ng.core, global.rxjs, global.ng.common, global.components));
5
- })(this, (function (exports, core, rxjs, common, components) { 'use strict';
6
-
7
- /******************************************************************************
8
- Copyright (c) Microsoft Corporation.
9
-
10
- Permission to use, copy, modify, and/or distribute this software for any
11
- purpose with or without fee is hereby granted.
12
-
13
- THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
14
- REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
15
- AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
16
- INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
17
- LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
18
- OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
19
- PERFORMANCE OF THIS SOFTWARE.
20
- ***************************************************************************** */
21
- /* global Reflect, Promise */
22
- var extendStatics = function (d, b) {
23
- extendStatics = Object.setPrototypeOf ||
24
- ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||
25
- function (d, b) { for (var p in b)
26
- if (Object.prototype.hasOwnProperty.call(b, p))
27
- d[p] = b[p]; };
28
- return extendStatics(d, b);
29
- };
30
- function __extends(d, b) {
31
- if (typeof b !== "function" && b !== null)
32
- throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");
33
- extendStatics(d, b);
34
- function __() { this.constructor = d; }
35
- d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
36
- }
37
- var __assign = function () {
38
- __assign = Object.assign || function __assign(t) {
39
- for (var s, i = 1, n = arguments.length; i < n; i++) {
40
- s = arguments[i];
41
- for (var p in s)
42
- if (Object.prototype.hasOwnProperty.call(s, p))
43
- t[p] = s[p];
44
- }
45
- return t;
46
- };
47
- return __assign.apply(this, arguments);
48
- };
49
- function __rest(s, e) {
50
- var t = {};
51
- for (var p in s)
52
- if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
53
- t[p] = s[p];
54
- if (s != null && typeof Object.getOwnPropertySymbols === "function")
55
- for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
56
- if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
57
- t[p[i]] = s[p[i]];
58
- }
59
- return t;
60
- }
61
- function __decorate(decorators, target, key, desc) {
62
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
63
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function")
64
- r = Reflect.decorate(decorators, target, key, desc);
65
- else
66
- for (var i = decorators.length - 1; i >= 0; i--)
67
- if (d = decorators[i])
68
- r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
69
- return c > 3 && r && Object.defineProperty(target, key, r), r;
70
- }
71
- function __param(paramIndex, decorator) {
72
- return function (target, key) { decorator(target, key, paramIndex); };
73
- }
74
- function __metadata(metadataKey, metadataValue) {
75
- if (typeof Reflect === "object" && typeof Reflect.metadata === "function")
76
- return Reflect.metadata(metadataKey, metadataValue);
77
- }
78
- function __awaiter(thisArg, _arguments, P, generator) {
79
- function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
80
- return new (P || (P = Promise))(function (resolve, reject) {
81
- function fulfilled(value) { try {
82
- step(generator.next(value));
83
- }
84
- catch (e) {
85
- reject(e);
86
- } }
87
- function rejected(value) { try {
88
- step(generator["throw"](value));
89
- }
90
- catch (e) {
91
- reject(e);
92
- } }
93
- function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
94
- step((generator = generator.apply(thisArg, _arguments || [])).next());
95
- });
96
- }
97
- function __generator(thisArg, body) {
98
- var _ = { label: 0, sent: function () { if (t[0] & 1)
99
- throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;
100
- return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function () { return this; }), g;
101
- function verb(n) { return function (v) { return step([n, v]); }; }
102
- function step(op) {
103
- if (f)
104
- throw new TypeError("Generator is already executing.");
105
- while (g && (g = 0, op[0] && (_ = 0)), _)
106
- try {
107
- if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done)
108
- return t;
109
- if (y = 0, t)
110
- op = [op[0] & 2, t.value];
111
- switch (op[0]) {
112
- case 0:
113
- case 1:
114
- t = op;
115
- break;
116
- case 4:
117
- _.label++;
118
- return { value: op[1], done: false };
119
- case 5:
120
- _.label++;
121
- y = op[1];
122
- op = [0];
123
- continue;
124
- case 7:
125
- op = _.ops.pop();
126
- _.trys.pop();
127
- continue;
128
- default:
129
- if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {
130
- _ = 0;
131
- continue;
132
- }
133
- if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) {
134
- _.label = op[1];
135
- break;
136
- }
137
- if (op[0] === 6 && _.label < t[1]) {
138
- _.label = t[1];
139
- t = op;
140
- break;
141
- }
142
- if (t && _.label < t[2]) {
143
- _.label = t[2];
144
- _.ops.push(op);
145
- break;
146
- }
147
- if (t[2])
148
- _.ops.pop();
149
- _.trys.pop();
150
- continue;
151
- }
152
- op = body.call(thisArg, _);
153
- }
154
- catch (e) {
155
- op = [6, e];
156
- y = 0;
157
- }
158
- finally {
159
- f = t = 0;
160
- }
161
- if (op[0] & 5)
162
- throw op[1];
163
- return { value: op[0] ? op[1] : void 0, done: true };
164
- }
165
- }
166
- var __createBinding = Object.create ? (function (o, m, k, k2) {
167
- if (k2 === undefined)
168
- k2 = k;
169
- var desc = Object.getOwnPropertyDescriptor(m, k);
170
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
171
- desc = { enumerable: true, get: function () { return m[k]; } };
172
- }
173
- Object.defineProperty(o, k2, desc);
174
- }) : (function (o, m, k, k2) {
175
- if (k2 === undefined)
176
- k2 = k;
177
- o[k2] = m[k];
178
- });
179
- function __exportStar(m, o) {
180
- for (var p in m)
181
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
182
- __createBinding(o, m, p);
183
- }
184
- function __values(o) {
185
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
186
- if (m)
187
- return m.call(o);
188
- if (o && typeof o.length === "number")
189
- return {
190
- next: function () {
191
- if (o && i >= o.length)
192
- o = void 0;
193
- return { value: o && o[i++], done: !o };
194
- }
195
- };
196
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
197
- }
198
- function __read(o, n) {
199
- var m = typeof Symbol === "function" && o[Symbol.iterator];
200
- if (!m)
201
- return o;
202
- var i = m.call(o), r, ar = [], e;
203
- try {
204
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done)
205
- ar.push(r.value);
206
- }
207
- catch (error) {
208
- e = { error: error };
209
- }
210
- finally {
211
- try {
212
- if (r && !r.done && (m = i["return"]))
213
- m.call(i);
214
- }
215
- finally {
216
- if (e)
217
- throw e.error;
218
- }
219
- }
220
- return ar;
221
- }
222
- /** @deprecated */
223
- function __spread() {
224
- for (var ar = [], i = 0; i < arguments.length; i++)
225
- ar = ar.concat(__read(arguments[i]));
226
- return ar;
227
- }
228
- /** @deprecated */
229
- function __spreadArrays() {
230
- for (var s = 0, i = 0, il = arguments.length; i < il; i++)
231
- s += arguments[i].length;
232
- for (var r = Array(s), k = 0, i = 0; i < il; i++)
233
- for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)
234
- r[k] = a[j];
235
- return r;
236
- }
237
- function __spreadArray(to, from, pack) {
238
- if (pack || arguments.length === 2)
239
- for (var i = 0, l = from.length, ar; i < l; i++) {
240
- if (ar || !(i in from)) {
241
- if (!ar)
242
- ar = Array.prototype.slice.call(from, 0, i);
243
- ar[i] = from[i];
244
- }
245
- }
246
- return to.concat(ar || Array.prototype.slice.call(from));
247
- }
248
- function __await(v) {
249
- return this instanceof __await ? (this.v = v, this) : new __await(v);
250
- }
251
- function __asyncGenerator(thisArg, _arguments, generator) {
252
- if (!Symbol.asyncIterator)
253
- throw new TypeError("Symbol.asyncIterator is not defined.");
254
- var g = generator.apply(thisArg, _arguments || []), i, q = [];
255
- return i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i;
256
- function verb(n) { if (g[n])
257
- i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }
258
- function resume(n, v) { try {
259
- step(g[n](v));
260
- }
261
- catch (e) {
262
- settle(q[0][3], e);
263
- } }
264
- function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }
265
- function fulfill(value) { resume("next", value); }
266
- function reject(value) { resume("throw", value); }
267
- function settle(f, v) { if (f(v), q.shift(), q.length)
268
- resume(q[0][0], q[0][1]); }
269
- }
270
- function __asyncDelegator(o) {
271
- var i, p;
272
- return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;
273
- function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: n === "return" } : f ? f(v) : v; } : f; }
274
- }
275
- function __asyncValues(o) {
276
- if (!Symbol.asyncIterator)
277
- throw new TypeError("Symbol.asyncIterator is not defined.");
278
- var m = o[Symbol.asyncIterator], i;
279
- return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);
280
- function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }
281
- function settle(resolve, reject, d, v) { Promise.resolve(v).then(function (v) { resolve({ value: v, done: d }); }, reject); }
282
- }
283
- function __makeTemplateObject(cooked, raw) {
284
- if (Object.defineProperty) {
285
- Object.defineProperty(cooked, "raw", { value: raw });
286
- }
287
- else {
288
- cooked.raw = raw;
289
- }
290
- return cooked;
291
- }
292
- ;
293
- var __setModuleDefault = Object.create ? (function (o, v) {
294
- Object.defineProperty(o, "default", { enumerable: true, value: v });
295
- }) : function (o, v) {
296
- o["default"] = v;
297
- };
298
- function __importStar(mod) {
299
- if (mod && mod.__esModule)
300
- return mod;
301
- var result = {};
302
- if (mod != null)
303
- for (var k in mod)
304
- if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k))
305
- __createBinding(result, mod, k);
306
- __setModuleDefault(result, mod);
307
- return result;
308
- }
309
- function __importDefault(mod) {
310
- return (mod && mod.__esModule) ? mod : { default: mod };
311
- }
312
- function __classPrivateFieldGet(receiver, state, kind, f) {
313
- if (kind === "a" && !f)
314
- throw new TypeError("Private accessor was defined without a getter");
315
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
316
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
317
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
318
- }
319
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
320
- if (kind === "m")
321
- throw new TypeError("Private method is not writable");
322
- if (kind === "a" && !f)
323
- throw new TypeError("Private accessor was defined without a setter");
324
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
325
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
326
- return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;
327
- }
328
- function __classPrivateFieldIn(state, receiver) {
329
- if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function"))
330
- throw new TypeError("Cannot use 'in' operator on non-object");
331
- return typeof state === "function" ? receiver === state : state.has(receiver);
332
- }
333
-
334
- var proxyInputs = function (Cmp, inputs) {
335
- var Prototype = Cmp.prototype;
336
- inputs.forEach(function (item) {
337
- Object.defineProperty(Prototype, item, {
338
- get: function () {
339
- return this.el[item];
340
- },
341
- set: function (val) {
342
- var _this = this;
343
- this.z.runOutsideAngular(function () { return (_this.el[item] = val); });
344
- },
345
- });
346
- });
347
- };
348
- var proxyMethods = function (Cmp, methods) {
349
- var Prototype = Cmp.prototype;
350
- methods.forEach(function (methodName) {
351
- Prototype[methodName] = function () {
352
- var _this = this;
353
- var args = arguments;
354
- return this.z.runOutsideAngular(function () { return _this.el[methodName].apply(_this.el, args); });
355
- };
356
- });
357
- };
358
- var proxyOutputs = function (instance, el, events) {
359
- events.forEach(function (eventName) { return (instance[eventName] = rxjs.fromEvent(el, eventName)); });
360
- };
361
- // eslint-disable-next-line prefer-arrow/prefer-arrow-functions
362
- function ProxyCmp(opts) {
363
- var decorator = function (cls) {
364
- if (opts.inputs) {
365
- proxyInputs(cls, opts.inputs);
366
- }
367
- if (opts.methods) {
368
- proxyMethods(cls, opts.methods);
369
- }
370
- return cls;
371
- };
372
- return decorator;
373
- }
374
- var AmplifyAmazonButton = /** @class */ (function () {
375
- function AmplifyAmazonButton(c, r, z) {
376
- this.z = z;
377
- c.detach();
378
- this.el = r.nativeElement;
379
- }
380
- return AmplifyAmazonButton;
381
- }());
382
- AmplifyAmazonButton.decorators = [
383
- { type: core.Component, args: [{
384
- selector: 'amplify-amazon-button',
385
- changeDetection: core.ChangeDetectionStrategy.OnPush,
386
- template: '<ng-content></ng-content>',
387
- inputs: ['clientId', 'handleAuthStateChange']
388
- },] }
389
- ];
390
- AmplifyAmazonButton.ctorParameters = function () { return [
391
- { type: core.ChangeDetectorRef },
392
- { type: core.ElementRef },
393
- { type: core.NgZone }
394
- ]; };
395
- AmplifyAmazonButton = __decorate([
396
- ProxyCmp({ inputs: ['clientId', 'handleAuthStateChange'] })
397
- ], AmplifyAmazonButton);
398
- var AmplifyAuthContainer = /** @class */ (function () {
399
- function AmplifyAuthContainer(c, r, z) {
400
- this.z = z;
401
- c.detach();
402
- this.el = r.nativeElement;
403
- }
404
- return AmplifyAuthContainer;
405
- }());
406
- AmplifyAuthContainer.decorators = [
407
- { type: core.Component, args: [{
408
- selector: 'amplify-auth-container',
409
- changeDetection: core.ChangeDetectionStrategy.OnPush,
410
- template: '<ng-content></ng-content>'
411
- },] }
412
- ];
413
- AmplifyAuthContainer.ctorParameters = function () { return [
414
- { type: core.ChangeDetectorRef },
415
- { type: core.ElementRef },
416
- { type: core.NgZone }
417
- ]; };
418
- var AmplifyAuthFields = /** @class */ (function () {
419
- function AmplifyAuthFields(c, r, z) {
420
- this.z = z;
421
- c.detach();
422
- this.el = r.nativeElement;
423
- }
424
- return AmplifyAuthFields;
425
- }());
426
- AmplifyAuthFields.decorators = [
427
- { type: core.Component, args: [{
428
- selector: 'amplify-auth-fields',
429
- changeDetection: core.ChangeDetectionStrategy.OnPush,
430
- template: '<ng-content></ng-content>',
431
- inputs: ['formFields']
432
- },] }
433
- ];
434
- AmplifyAuthFields.ctorParameters = function () { return [
435
- { type: core.ChangeDetectorRef },
436
- { type: core.ElementRef },
437
- { type: core.NgZone }
438
- ]; };
439
- AmplifyAuthFields = __decorate([
440
- ProxyCmp({ inputs: ['formFields'] })
441
- ], AmplifyAuthFields);
442
- var AmplifyAuth0Button = /** @class */ (function () {
443
- function AmplifyAuth0Button(c, r, z) {
444
- this.z = z;
445
- c.detach();
446
- this.el = r.nativeElement;
447
- }
448
- return AmplifyAuth0Button;
449
- }());
450
- AmplifyAuth0Button.decorators = [
451
- { type: core.Component, args: [{
452
- selector: 'amplify-auth0-button',
453
- changeDetection: core.ChangeDetectionStrategy.OnPush,
454
- template: '<ng-content></ng-content>',
455
- inputs: ['config', 'handleAuthStateChange']
456
- },] }
457
- ];
458
- AmplifyAuth0Button.ctorParameters = function () { return [
459
- { type: core.ChangeDetectorRef },
460
- { type: core.ElementRef },
461
- { type: core.NgZone }
462
- ]; };
463
- AmplifyAuth0Button = __decorate([
464
- ProxyCmp({ inputs: ['config', 'handleAuthStateChange'] })
465
- ], AmplifyAuth0Button);
466
- var AmplifyAuthenticator = /** @class */ (function () {
467
- function AmplifyAuthenticator(c, r, z) {
468
- this.z = z;
469
- c.detach();
470
- this.el = r.nativeElement;
471
- }
472
- return AmplifyAuthenticator;
473
- }());
474
- AmplifyAuthenticator.decorators = [
475
- { type: core.Component, args: [{
476
- selector: 'amplify-authenticator',
477
- changeDetection: core.ChangeDetectionStrategy.OnPush,
478
- template: '<ng-content></ng-content>',
479
- inputs: [
480
- 'federated',
481
- 'handleAuthStateChange',
482
- 'hideToast',
483
- 'initialAuthState',
484
- 'usernameAlias',
485
- ]
486
- },] }
487
- ];
488
- AmplifyAuthenticator.ctorParameters = function () { return [
489
- { type: core.ChangeDetectorRef },
490
- { type: core.ElementRef },
491
- { type: core.NgZone }
492
- ]; };
493
- AmplifyAuthenticator = __decorate([
494
- ProxyCmp({
495
- inputs: [
496
- 'federated',
497
- 'handleAuthStateChange',
498
- 'hideToast',
499
- 'initialAuthState',
500
- 'usernameAlias',
501
- ],
502
- })
503
- ], AmplifyAuthenticator);
504
- exports.AmplifyButton = /** @class */ (function () {
505
- function AmplifyButton(c, r, z) {
506
- this.z = z;
507
- c.detach();
508
- this.el = r.nativeElement;
509
- }
510
- return AmplifyButton;
511
- }());
512
- exports.AmplifyButton.decorators = [
513
- { type: core.Component, args: [{
514
- selector: 'amplify-button',
515
- changeDetection: core.ChangeDetectionStrategy.OnPush,
516
- template: '<ng-content></ng-content>',
517
- inputs: ['disabled', 'handleButtonClick', 'icon', 'type', 'variant']
518
- },] }
519
- ];
520
- exports.AmplifyButton.ctorParameters = function () { return [
521
- { type: core.ChangeDetectorRef },
522
- { type: core.ElementRef },
523
- { type: core.NgZone }
524
- ]; };
525
- exports.AmplifyButton = __decorate([
526
- ProxyCmp({
527
- inputs: ['disabled', 'handleButtonClick', 'icon', 'type', 'variant'],
528
- })
529
- ], exports.AmplifyButton);
530
- exports.AmplifyChatbot = /** @class */ (function () {
531
- function AmplifyChatbot(c, r, z) {
532
- this.z = z;
533
- c.detach();
534
- this.el = r.nativeElement;
535
- proxyOutputs(this, this.el, ['chatCompleted']);
536
- }
537
- return AmplifyChatbot;
538
- }());
539
- exports.AmplifyChatbot.decorators = [
540
- { type: core.Component, args: [{
541
- selector: 'amplify-chatbot',
542
- changeDetection: core.ChangeDetectionStrategy.OnPush,
543
- template: '<ng-content></ng-content>',
544
- inputs: [
545
- 'botName',
546
- 'botTitle',
547
- 'clearOnComplete',
548
- 'conversationModeOn',
549
- 'silenceThreshold',
550
- 'silenceTime',
551
- 'textEnabled',
552
- 'voiceEnabled',
553
- 'welcomeMessage',
554
- ]
555
- },] }
556
- ];
557
- exports.AmplifyChatbot.ctorParameters = function () { return [
558
- { type: core.ChangeDetectorRef },
559
- { type: core.ElementRef },
560
- { type: core.NgZone }
561
- ]; };
562
- exports.AmplifyChatbot = __decorate([
563
- ProxyCmp({
564
- inputs: [
565
- 'botName',
566
- 'botTitle',
567
- 'clearOnComplete',
568
- 'conversationModeOn',
569
- 'silenceThreshold',
570
- 'silenceTime',
571
- 'textEnabled',
572
- 'voiceEnabled',
573
- 'welcomeMessage',
574
- ],
575
- })
576
- ], exports.AmplifyChatbot);
577
- var AmplifyCheckbox = /** @class */ (function () {
578
- function AmplifyCheckbox(c, r, z) {
579
- this.z = z;
580
- c.detach();
581
- this.el = r.nativeElement;
582
- }
583
- return AmplifyCheckbox;
584
- }());
585
- AmplifyCheckbox.decorators = [
586
- { type: core.Component, args: [{
587
- selector: 'amplify-checkbox',
588
- changeDetection: core.ChangeDetectionStrategy.OnPush,
589
- template: '<ng-content></ng-content>',
590
- inputs: ['checked', 'disabled', 'fieldId', 'label', 'name', 'value']
591
- },] }
592
- ];
593
- AmplifyCheckbox.ctorParameters = function () { return [
594
- { type: core.ChangeDetectorRef },
595
- { type: core.ElementRef },
596
- { type: core.NgZone }
597
- ]; };
598
- AmplifyCheckbox = __decorate([
599
- ProxyCmp({
600
- inputs: ['checked', 'disabled', 'fieldId', 'label', 'name', 'value'],
601
- })
602
- ], AmplifyCheckbox);
603
- var AmplifyCodeField = /** @class */ (function () {
604
- function AmplifyCodeField(c, r, z) {
605
- this.z = z;
606
- c.detach();
607
- this.el = r.nativeElement;
608
- }
609
- return AmplifyCodeField;
610
- }());
611
- AmplifyCodeField.decorators = [
612
- { type: core.Component, args: [{
613
- selector: 'amplify-code-field',
614
- changeDetection: core.ChangeDetectionStrategy.OnPush,
615
- template: '<ng-content></ng-content>',
616
- inputs: [
617
- 'disabled',
618
- 'fieldId',
619
- 'handleInputChange',
620
- 'hint',
621
- 'inputProps',
622
- 'label',
623
- 'placeholder',
624
- 'required',
625
- 'value',
626
- ]
627
- },] }
628
- ];
629
- AmplifyCodeField.ctorParameters = function () { return [
630
- { type: core.ChangeDetectorRef },
631
- { type: core.ElementRef },
632
- { type: core.NgZone }
633
- ]; };
634
- AmplifyCodeField = __decorate([
635
- ProxyCmp({
636
- inputs: [
637
- 'disabled',
638
- 'fieldId',
639
- 'handleInputChange',
640
- 'hint',
641
- 'inputProps',
642
- 'label',
643
- 'placeholder',
644
- 'required',
645
- 'value',
646
- ],
647
- })
648
- ], AmplifyCodeField);
649
- var AmplifyConfirmSignIn = /** @class */ (function () {
650
- function AmplifyConfirmSignIn(c, r, z) {
651
- this.z = z;
652
- c.detach();
653
- this.el = r.nativeElement;
654
- }
655
- return AmplifyConfirmSignIn;
656
- }());
657
- AmplifyConfirmSignIn.decorators = [
658
- { type: core.Component, args: [{
659
- selector: 'amplify-confirm-sign-in',
660
- changeDetection: core.ChangeDetectionStrategy.OnPush,
661
- template: '<ng-content></ng-content>',
662
- inputs: [
663
- 'formFields',
664
- 'handleAuthStateChange',
665
- 'handleSubmit',
666
- 'headerText',
667
- 'submitButtonText',
668
- 'user',
669
- ]
670
- },] }
671
- ];
672
- AmplifyConfirmSignIn.ctorParameters = function () { return [
673
- { type: core.ChangeDetectorRef },
674
- { type: core.ElementRef },
675
- { type: core.NgZone }
676
- ]; };
677
- AmplifyConfirmSignIn = __decorate([
678
- ProxyCmp({
679
- inputs: [
680
- 'formFields',
681
- 'handleAuthStateChange',
682
- 'handleSubmit',
683
- 'headerText',
684
- 'submitButtonText',
685
- 'user',
686
- ],
687
- })
688
- ], AmplifyConfirmSignIn);
689
- var AmplifyConfirmSignUp = /** @class */ (function () {
690
- function AmplifyConfirmSignUp(c, r, z) {
691
- this.z = z;
692
- c.detach();
693
- this.el = r.nativeElement;
694
- }
695
- return AmplifyConfirmSignUp;
696
- }());
697
- AmplifyConfirmSignUp.decorators = [
698
- { type: core.Component, args: [{
699
- selector: 'amplify-confirm-sign-up',
700
- changeDetection: core.ChangeDetectionStrategy.OnPush,
701
- template: '<ng-content></ng-content>',
702
- inputs: [
703
- 'formFields',
704
- 'handleAuthStateChange',
705
- 'handleSubmit',
706
- 'headerText',
707
- 'submitButtonText',
708
- 'user',
709
- 'usernameAlias',
710
- ]
711
- },] }
712
- ];
713
- AmplifyConfirmSignUp.ctorParameters = function () { return [
714
- { type: core.ChangeDetectorRef },
715
- { type: core.ElementRef },
716
- { type: core.NgZone }
717
- ]; };
718
- AmplifyConfirmSignUp = __decorate([
719
- ProxyCmp({
720
- inputs: [
721
- 'formFields',
722
- 'handleAuthStateChange',
723
- 'handleSubmit',
724
- 'headerText',
725
- 'submitButtonText',
726
- 'user',
727
- 'usernameAlias',
728
- ],
729
- })
730
- ], AmplifyConfirmSignUp);
731
- var AmplifyContainer = /** @class */ (function () {
732
- function AmplifyContainer(c, r, z) {
733
- this.z = z;
734
- c.detach();
735
- this.el = r.nativeElement;
736
- }
737
- return AmplifyContainer;
738
- }());
739
- AmplifyContainer.decorators = [
740
- { type: core.Component, args: [{
741
- selector: 'amplify-container',
742
- changeDetection: core.ChangeDetectionStrategy.OnPush,
743
- template: '<ng-content></ng-content>'
744
- },] }
745
- ];
746
- AmplifyContainer.ctorParameters = function () { return [
747
- { type: core.ChangeDetectorRef },
748
- { type: core.ElementRef },
749
- { type: core.NgZone }
750
- ]; };
751
- var AmplifyCountryDialCode = /** @class */ (function () {
752
- function AmplifyCountryDialCode(c, r, z) {
753
- this.z = z;
754
- c.detach();
755
- this.el = r.nativeElement;
756
- }
757
- return AmplifyCountryDialCode;
758
- }());
759
- AmplifyCountryDialCode.decorators = [
760
- { type: core.Component, args: [{
761
- selector: 'amplify-country-dial-code',
762
- changeDetection: core.ChangeDetectionStrategy.OnPush,
763
- template: '<ng-content></ng-content>',
764
- inputs: ['dialCode', 'fieldId', 'handleInputChange', 'options']
765
- },] }
766
- ];
767
- AmplifyCountryDialCode.ctorParameters = function () { return [
768
- { type: core.ChangeDetectorRef },
769
- { type: core.ElementRef },
770
- { type: core.NgZone }
771
- ]; };
772
- AmplifyCountryDialCode = __decorate([
773
- ProxyCmp({ inputs: ['dialCode', 'fieldId', 'handleInputChange', 'options'] })
774
- ], AmplifyCountryDialCode);
775
- var AmplifyEmailField = /** @class */ (function () {
776
- function AmplifyEmailField(c, r, z) {
777
- this.z = z;
778
- c.detach();
779
- this.el = r.nativeElement;
780
- }
781
- return AmplifyEmailField;
782
- }());
783
- AmplifyEmailField.decorators = [
784
- { type: core.Component, args: [{
785
- selector: 'amplify-email-field',
786
- changeDetection: core.ChangeDetectionStrategy.OnPush,
787
- template: '<ng-content></ng-content>',
788
- inputs: [
789
- 'disabled',
790
- 'fieldId',
791
- 'handleInputChange',
792
- 'hint',
793
- 'inputProps',
794
- 'label',
795
- 'placeholder',
796
- 'required',
797
- 'value',
798
- ]
799
- },] }
800
- ];
801
- AmplifyEmailField.ctorParameters = function () { return [
802
- { type: core.ChangeDetectorRef },
803
- { type: core.ElementRef },
804
- { type: core.NgZone }
805
- ]; };
806
- AmplifyEmailField = __decorate([
807
- ProxyCmp({
808
- inputs: [
809
- 'disabled',
810
- 'fieldId',
811
- 'handleInputChange',
812
- 'hint',
813
- 'inputProps',
814
- 'label',
815
- 'placeholder',
816
- 'required',
817
- 'value',
818
- ],
819
- })
820
- ], AmplifyEmailField);
821
- var AmplifyFacebookButton = /** @class */ (function () {
822
- function AmplifyFacebookButton(c, r, z) {
823
- this.z = z;
824
- c.detach();
825
- this.el = r.nativeElement;
826
- }
827
- return AmplifyFacebookButton;
828
- }());
829
- AmplifyFacebookButton.decorators = [
830
- { type: core.Component, args: [{
831
- selector: 'amplify-facebook-button',
832
- changeDetection: core.ChangeDetectionStrategy.OnPush,
833
- template: '<ng-content></ng-content>',
834
- inputs: ['appId', 'handleAuthStateChange']
835
- },] }
836
- ];
837
- AmplifyFacebookButton.ctorParameters = function () { return [
838
- { type: core.ChangeDetectorRef },
839
- { type: core.ElementRef },
840
- { type: core.NgZone }
841
- ]; };
842
- AmplifyFacebookButton = __decorate([
843
- ProxyCmp({ inputs: ['appId', 'handleAuthStateChange'] })
844
- ], AmplifyFacebookButton);
845
- var AmplifyFederatedButtons = /** @class */ (function () {
846
- function AmplifyFederatedButtons(c, r, z) {
847
- this.z = z;
848
- c.detach();
849
- this.el = r.nativeElement;
850
- }
851
- return AmplifyFederatedButtons;
852
- }());
853
- AmplifyFederatedButtons.decorators = [
854
- { type: core.Component, args: [{
855
- selector: 'amplify-federated-buttons',
856
- changeDetection: core.ChangeDetectionStrategy.OnPush,
857
- template: '<ng-content></ng-content>',
858
- inputs: ['authState', 'federated', 'handleAuthStateChange']
859
- },] }
860
- ];
861
- AmplifyFederatedButtons.ctorParameters = function () { return [
862
- { type: core.ChangeDetectorRef },
863
- { type: core.ElementRef },
864
- { type: core.NgZone }
865
- ]; };
866
- AmplifyFederatedButtons = __decorate([
867
- ProxyCmp({ inputs: ['authState', 'federated', 'handleAuthStateChange'] })
868
- ], AmplifyFederatedButtons);
869
- var AmplifyFederatedSignIn = /** @class */ (function () {
870
- function AmplifyFederatedSignIn(c, r, z) {
871
- this.z = z;
872
- c.detach();
873
- this.el = r.nativeElement;
874
- }
875
- return AmplifyFederatedSignIn;
876
- }());
877
- AmplifyFederatedSignIn.decorators = [
878
- { type: core.Component, args: [{
879
- selector: 'amplify-federated-sign-in',
880
- changeDetection: core.ChangeDetectionStrategy.OnPush,
881
- template: '<ng-content></ng-content>',
882
- inputs: ['authState', 'federated']
883
- },] }
884
- ];
885
- AmplifyFederatedSignIn.ctorParameters = function () { return [
886
- { type: core.ChangeDetectorRef },
887
- { type: core.ElementRef },
888
- { type: core.NgZone }
889
- ]; };
890
- AmplifyFederatedSignIn = __decorate([
891
- ProxyCmp({ inputs: ['authState', 'federated'] })
892
- ], AmplifyFederatedSignIn);
893
- var AmplifyForgotPassword = /** @class */ (function () {
894
- function AmplifyForgotPassword(c, r, z) {
895
- this.z = z;
896
- c.detach();
897
- this.el = r.nativeElement;
898
- }
899
- return AmplifyForgotPassword;
900
- }());
901
- AmplifyForgotPassword.decorators = [
902
- { type: core.Component, args: [{
903
- selector: 'amplify-forgot-password',
904
- changeDetection: core.ChangeDetectionStrategy.OnPush,
905
- template: '<ng-content></ng-content>',
906
- inputs: [
907
- 'formFields',
908
- 'handleAuthStateChange',
909
- 'handleSend',
910
- 'handleSubmit',
911
- 'headerText',
912
- 'sendButtonText',
913
- 'submitButtonText',
914
- 'usernameAlias',
915
- ]
916
- },] }
917
- ];
918
- AmplifyForgotPassword.ctorParameters = function () { return [
919
- { type: core.ChangeDetectorRef },
920
- { type: core.ElementRef },
921
- { type: core.NgZone }
922
- ]; };
923
- AmplifyForgotPassword = __decorate([
924
- ProxyCmp({
925
- inputs: [
926
- 'formFields',
927
- 'handleAuthStateChange',
928
- 'handleSend',
929
- 'handleSubmit',
930
- 'headerText',
931
- 'sendButtonText',
932
- 'submitButtonText',
933
- 'usernameAlias',
934
- ],
935
- })
936
- ], AmplifyForgotPassword);
937
- var AmplifyFormField = /** @class */ (function () {
938
- function AmplifyFormField(c, r, z) {
939
- this.z = z;
940
- c.detach();
941
- this.el = r.nativeElement;
942
- }
943
- return AmplifyFormField;
944
- }());
945
- AmplifyFormField.decorators = [
946
- { type: core.Component, args: [{
947
- selector: 'amplify-form-field',
948
- changeDetection: core.ChangeDetectionStrategy.OnPush,
949
- template: '<ng-content></ng-content>',
950
- inputs: [
951
- 'description',
952
- 'disabled',
953
- 'fieldId',
954
- 'handleInputChange',
955
- 'hint',
956
- 'inputProps',
957
- 'label',
958
- 'name',
959
- 'placeholder',
960
- 'required',
961
- 'type',
962
- 'value',
963
- ]
964
- },] }
965
- ];
966
- AmplifyFormField.ctorParameters = function () { return [
967
- { type: core.ChangeDetectorRef },
968
- { type: core.ElementRef },
969
- { type: core.NgZone }
970
- ]; };
971
- AmplifyFormField = __decorate([
972
- ProxyCmp({
973
- inputs: [
974
- 'description',
975
- 'disabled',
976
- 'fieldId',
977
- 'handleInputChange',
978
- 'hint',
979
- 'inputProps',
980
- 'label',
981
- 'name',
982
- 'placeholder',
983
- 'required',
984
- 'type',
985
- 'value',
986
- ],
987
- })
988
- ], AmplifyFormField);
989
- var AmplifyFormSection = /** @class */ (function () {
990
- function AmplifyFormSection(c, r, z) {
991
- this.z = z;
992
- c.detach();
993
- this.el = r.nativeElement;
994
- }
995
- return AmplifyFormSection;
996
- }());
997
- AmplifyFormSection.decorators = [
998
- { type: core.Component, args: [{
999
- selector: 'amplify-form-section',
1000
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1001
- template: '<ng-content></ng-content>',
1002
- inputs: [
1003
- 'handleSubmit',
1004
- 'headerText',
1005
- 'loading',
1006
- 'secondaryFooterContent',
1007
- 'submitButtonText',
1008
- 'testDataPrefix',
1009
- ]
1010
- },] }
1011
- ];
1012
- AmplifyFormSection.ctorParameters = function () { return [
1013
- { type: core.ChangeDetectorRef },
1014
- { type: core.ElementRef },
1015
- { type: core.NgZone }
1016
- ]; };
1017
- AmplifyFormSection = __decorate([
1018
- ProxyCmp({
1019
- inputs: [
1020
- 'handleSubmit',
1021
- 'headerText',
1022
- 'loading',
1023
- 'secondaryFooterContent',
1024
- 'submitButtonText',
1025
- 'testDataPrefix',
1026
- ],
1027
- })
1028
- ], AmplifyFormSection);
1029
- var AmplifyGoogleButton = /** @class */ (function () {
1030
- function AmplifyGoogleButton(c, r, z) {
1031
- this.z = z;
1032
- c.detach();
1033
- this.el = r.nativeElement;
1034
- }
1035
- return AmplifyGoogleButton;
1036
- }());
1037
- AmplifyGoogleButton.decorators = [
1038
- { type: core.Component, args: [{
1039
- selector: 'amplify-google-button',
1040
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1041
- template: '<ng-content></ng-content>',
1042
- inputs: ['clientId', 'handleAuthStateChange']
1043
- },] }
1044
- ];
1045
- AmplifyGoogleButton.ctorParameters = function () { return [
1046
- { type: core.ChangeDetectorRef },
1047
- { type: core.ElementRef },
1048
- { type: core.NgZone }
1049
- ]; };
1050
- AmplifyGoogleButton = __decorate([
1051
- ProxyCmp({ inputs: ['clientId', 'handleAuthStateChange'] })
1052
- ], AmplifyGoogleButton);
1053
- var AmplifyGreetings = /** @class */ (function () {
1054
- function AmplifyGreetings(c, r, z) {
1055
- this.z = z;
1056
- c.detach();
1057
- this.el = r.nativeElement;
1058
- }
1059
- return AmplifyGreetings;
1060
- }());
1061
- AmplifyGreetings.decorators = [
1062
- { type: core.Component, args: [{
1063
- selector: 'amplify-greetings',
1064
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1065
- template: '<ng-content></ng-content>',
1066
- inputs: ['handleAuthStateChange', 'logo', 'username']
1067
- },] }
1068
- ];
1069
- AmplifyGreetings.ctorParameters = function () { return [
1070
- { type: core.ChangeDetectorRef },
1071
- { type: core.ElementRef },
1072
- { type: core.NgZone }
1073
- ]; };
1074
- AmplifyGreetings = __decorate([
1075
- ProxyCmp({ inputs: ['handleAuthStateChange', 'logo', 'username'] })
1076
- ], AmplifyGreetings);
1077
- var AmplifyHint = /** @class */ (function () {
1078
- function AmplifyHint(c, r, z) {
1079
- this.z = z;
1080
- c.detach();
1081
- this.el = r.nativeElement;
1082
- }
1083
- return AmplifyHint;
1084
- }());
1085
- AmplifyHint.decorators = [
1086
- { type: core.Component, args: [{
1087
- selector: 'amplify-hint',
1088
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1089
- template: '<ng-content></ng-content>'
1090
- },] }
1091
- ];
1092
- AmplifyHint.ctorParameters = function () { return [
1093
- { type: core.ChangeDetectorRef },
1094
- { type: core.ElementRef },
1095
- { type: core.NgZone }
1096
- ]; };
1097
- exports.AmplifyIcon = /** @class */ (function () {
1098
- function AmplifyIcon(c, r, z) {
1099
- this.z = z;
1100
- c.detach();
1101
- this.el = r.nativeElement;
1102
- }
1103
- return AmplifyIcon;
1104
- }());
1105
- exports.AmplifyIcon.decorators = [
1106
- { type: core.Component, args: [{
1107
- selector: 'amplify-icon',
1108
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1109
- template: '<ng-content></ng-content>',
1110
- inputs: ['name']
1111
- },] }
1112
- ];
1113
- exports.AmplifyIcon.ctorParameters = function () { return [
1114
- { type: core.ChangeDetectorRef },
1115
- { type: core.ElementRef },
1116
- { type: core.NgZone }
1117
- ]; };
1118
- exports.AmplifyIcon = __decorate([
1119
- ProxyCmp({ inputs: ['name'] })
1120
- ], exports.AmplifyIcon);
1121
- var AmplifyIconButton = /** @class */ (function () {
1122
- function AmplifyIconButton(c, r, z) {
1123
- this.z = z;
1124
- c.detach();
1125
- this.el = r.nativeElement;
1126
- }
1127
- return AmplifyIconButton;
1128
- }());
1129
- AmplifyIconButton.decorators = [
1130
- { type: core.Component, args: [{
1131
- selector: 'amplify-icon-button',
1132
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1133
- template: '<ng-content></ng-content>',
1134
- inputs: ['autoShowTooltip', 'name', 'tooltip']
1135
- },] }
1136
- ];
1137
- AmplifyIconButton.ctorParameters = function () { return [
1138
- { type: core.ChangeDetectorRef },
1139
- { type: core.ElementRef },
1140
- { type: core.NgZone }
1141
- ]; };
1142
- AmplifyIconButton = __decorate([
1143
- ProxyCmp({ inputs: ['autoShowTooltip', 'name', 'tooltip'] })
1144
- ], AmplifyIconButton);
1145
- exports.AmplifyInput = /** @class */ (function () {
1146
- function AmplifyInput(c, r, z) {
1147
- this.z = z;
1148
- c.detach();
1149
- this.el = r.nativeElement;
1150
- }
1151
- return AmplifyInput;
1152
- }());
1153
- exports.AmplifyInput.decorators = [
1154
- { type: core.Component, args: [{
1155
- selector: 'amplify-input',
1156
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1157
- template: '<ng-content></ng-content>',
1158
- inputs: [
1159
- 'description',
1160
- 'disabled',
1161
- 'fieldId',
1162
- 'handleInputChange',
1163
- 'inputProps',
1164
- 'name',
1165
- 'placeholder',
1166
- 'required',
1167
- 'type',
1168
- 'value',
1169
- ]
1170
- },] }
1171
- ];
1172
- exports.AmplifyInput.ctorParameters = function () { return [
1173
- { type: core.ChangeDetectorRef },
1174
- { type: core.ElementRef },
1175
- { type: core.NgZone }
1176
- ]; };
1177
- exports.AmplifyInput = __decorate([
1178
- ProxyCmp({
1179
- inputs: [
1180
- 'description',
1181
- 'disabled',
1182
- 'fieldId',
1183
- 'handleInputChange',
1184
- 'inputProps',
1185
- 'name',
1186
- 'placeholder',
1187
- 'required',
1188
- 'type',
1189
- 'value',
1190
- ],
1191
- })
1192
- ], exports.AmplifyInput);
1193
- var AmplifyLabel = /** @class */ (function () {
1194
- function AmplifyLabel(c, r, z) {
1195
- this.z = z;
1196
- c.detach();
1197
- this.el = r.nativeElement;
1198
- }
1199
- return AmplifyLabel;
1200
- }());
1201
- AmplifyLabel.decorators = [
1202
- { type: core.Component, args: [{
1203
- selector: 'amplify-label',
1204
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1205
- template: '<ng-content></ng-content>',
1206
- inputs: ['htmlFor']
1207
- },] }
1208
- ];
1209
- AmplifyLabel.ctorParameters = function () { return [
1210
- { type: core.ChangeDetectorRef },
1211
- { type: core.ElementRef },
1212
- { type: core.NgZone }
1213
- ]; };
1214
- AmplifyLabel = __decorate([
1215
- ProxyCmp({ inputs: ['htmlFor'] })
1216
- ], AmplifyLabel);
1217
- var AmplifyLink = /** @class */ (function () {
1218
- function AmplifyLink(c, r, z) {
1219
- this.z = z;
1220
- c.detach();
1221
- this.el = r.nativeElement;
1222
- }
1223
- return AmplifyLink;
1224
- }());
1225
- AmplifyLink.decorators = [
1226
- { type: core.Component, args: [{
1227
- selector: 'amplify-link',
1228
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1229
- template: '<ng-content></ng-content>',
1230
- inputs: ['role']
1231
- },] }
1232
- ];
1233
- AmplifyLink.ctorParameters = function () { return [
1234
- { type: core.ChangeDetectorRef },
1235
- { type: core.ElementRef },
1236
- { type: core.NgZone }
1237
- ]; };
1238
- AmplifyLink = __decorate([
1239
- ProxyCmp({ inputs: ['role'] })
1240
- ], AmplifyLink);
1241
- var AmplifyLoadingSpinner = /** @class */ (function () {
1242
- function AmplifyLoadingSpinner(c, r, z) {
1243
- this.z = z;
1244
- c.detach();
1245
- this.el = r.nativeElement;
1246
- }
1247
- return AmplifyLoadingSpinner;
1248
- }());
1249
- AmplifyLoadingSpinner.decorators = [
1250
- { type: core.Component, args: [{
1251
- selector: 'amplify-loading-spinner',
1252
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1253
- template: '<ng-content></ng-content>'
1254
- },] }
1255
- ];
1256
- AmplifyLoadingSpinner.ctorParameters = function () { return [
1257
- { type: core.ChangeDetectorRef },
1258
- { type: core.ElementRef },
1259
- { type: core.NgZone }
1260
- ]; };
1261
- var AmplifyNav = /** @class */ (function () {
1262
- function AmplifyNav(c, r, z) {
1263
- this.z = z;
1264
- c.detach();
1265
- this.el = r.nativeElement;
1266
- }
1267
- return AmplifyNav;
1268
- }());
1269
- AmplifyNav.decorators = [
1270
- { type: core.Component, args: [{
1271
- selector: 'amplify-nav',
1272
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1273
- template: '<ng-content></ng-content>'
1274
- },] }
1275
- ];
1276
- AmplifyNav.ctorParameters = function () { return [
1277
- { type: core.ChangeDetectorRef },
1278
- { type: core.ElementRef },
1279
- { type: core.NgZone }
1280
- ]; };
1281
- var AmplifyOauthButton = /** @class */ (function () {
1282
- function AmplifyOauthButton(c, r, z) {
1283
- this.z = z;
1284
- c.detach();
1285
- this.el = r.nativeElement;
1286
- }
1287
- return AmplifyOauthButton;
1288
- }());
1289
- AmplifyOauthButton.decorators = [
1290
- { type: core.Component, args: [{
1291
- selector: 'amplify-oauth-button',
1292
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1293
- template: '<ng-content></ng-content>',
1294
- inputs: ['config']
1295
- },] }
1296
- ];
1297
- AmplifyOauthButton.ctorParameters = function () { return [
1298
- { type: core.ChangeDetectorRef },
1299
- { type: core.ElementRef },
1300
- { type: core.NgZone }
1301
- ]; };
1302
- AmplifyOauthButton = __decorate([
1303
- ProxyCmp({ inputs: ['config'] })
1304
- ], AmplifyOauthButton);
1305
- var AmplifyPasswordField = /** @class */ (function () {
1306
- function AmplifyPasswordField(c, r, z) {
1307
- this.z = z;
1308
- c.detach();
1309
- this.el = r.nativeElement;
1310
- }
1311
- return AmplifyPasswordField;
1312
- }());
1313
- AmplifyPasswordField.decorators = [
1314
- { type: core.Component, args: [{
1315
- selector: 'amplify-password-field',
1316
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1317
- template: '<ng-content></ng-content>',
1318
- inputs: [
1319
- 'disabled',
1320
- 'fieldId',
1321
- 'handleInputChange',
1322
- 'hint',
1323
- 'inputProps',
1324
- 'label',
1325
- 'placeholder',
1326
- 'required',
1327
- 'value',
1328
- ]
1329
- },] }
1330
- ];
1331
- AmplifyPasswordField.ctorParameters = function () { return [
1332
- { type: core.ChangeDetectorRef },
1333
- { type: core.ElementRef },
1334
- { type: core.NgZone }
1335
- ]; };
1336
- AmplifyPasswordField = __decorate([
1337
- ProxyCmp({
1338
- inputs: [
1339
- 'disabled',
1340
- 'fieldId',
1341
- 'handleInputChange',
1342
- 'hint',
1343
- 'inputProps',
1344
- 'label',
1345
- 'placeholder',
1346
- 'required',
1347
- 'value',
1348
- ],
1349
- })
1350
- ], AmplifyPasswordField);
1351
- var AmplifyPhoneField = /** @class */ (function () {
1352
- function AmplifyPhoneField(c, r, z) {
1353
- this.z = z;
1354
- c.detach();
1355
- this.el = r.nativeElement;
1356
- }
1357
- return AmplifyPhoneField;
1358
- }());
1359
- AmplifyPhoneField.decorators = [
1360
- { type: core.Component, args: [{
1361
- selector: 'amplify-phone-field',
1362
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1363
- template: '<ng-content></ng-content>',
1364
- inputs: [
1365
- 'dialCode',
1366
- 'disabled',
1367
- 'fieldId',
1368
- 'handleInputChange',
1369
- 'hint',
1370
- 'inputProps',
1371
- 'label',
1372
- 'placeholder',
1373
- 'required',
1374
- 'value',
1375
- ]
1376
- },] }
1377
- ];
1378
- AmplifyPhoneField.ctorParameters = function () { return [
1379
- { type: core.ChangeDetectorRef },
1380
- { type: core.ElementRef },
1381
- { type: core.NgZone }
1382
- ]; };
1383
- AmplifyPhoneField = __decorate([
1384
- ProxyCmp({
1385
- inputs: [
1386
- 'dialCode',
1387
- 'disabled',
1388
- 'fieldId',
1389
- 'handleInputChange',
1390
- 'hint',
1391
- 'inputProps',
1392
- 'label',
1393
- 'placeholder',
1394
- 'required',
1395
- 'value',
1396
- ],
1397
- })
1398
- ], AmplifyPhoneField);
1399
- exports.AmplifyPhotoPicker = /** @class */ (function () {
1400
- function AmplifyPhotoPicker(c, r, z) {
1401
- this.z = z;
1402
- c.detach();
1403
- this.el = r.nativeElement;
1404
- }
1405
- return AmplifyPhotoPicker;
1406
- }());
1407
- exports.AmplifyPhotoPicker.decorators = [
1408
- { type: core.Component, args: [{
1409
- selector: 'amplify-photo-picker',
1410
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1411
- template: '<ng-content></ng-content>',
1412
- inputs: [
1413
- 'buttonText',
1414
- 'handleClick',
1415
- 'headerHint',
1416
- 'headerTitle',
1417
- 'placeholderHint',
1418
- 'previewSrc',
1419
- ]
1420
- },] }
1421
- ];
1422
- exports.AmplifyPhotoPicker.ctorParameters = function () { return [
1423
- { type: core.ChangeDetectorRef },
1424
- { type: core.ElementRef },
1425
- { type: core.NgZone }
1426
- ]; };
1427
- exports.AmplifyPhotoPicker = __decorate([
1428
- ProxyCmp({
1429
- inputs: [
1430
- 'buttonText',
1431
- 'handleClick',
1432
- 'headerHint',
1433
- 'headerTitle',
1434
- 'placeholderHint',
1435
- 'previewSrc',
1436
- ],
1437
- })
1438
- ], exports.AmplifyPhotoPicker);
1439
- exports.AmplifyPicker = /** @class */ (function () {
1440
- function AmplifyPicker(c, r, z) {
1441
- this.z = z;
1442
- c.detach();
1443
- this.el = r.nativeElement;
1444
- }
1445
- return AmplifyPicker;
1446
- }());
1447
- exports.AmplifyPicker.decorators = [
1448
- { type: core.Component, args: [{
1449
- selector: 'amplify-picker',
1450
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1451
- template: '<ng-content></ng-content>',
1452
- inputs: ['acceptValue', 'inputHandler', 'pickerText']
1453
- },] }
1454
- ];
1455
- exports.AmplifyPicker.ctorParameters = function () { return [
1456
- { type: core.ChangeDetectorRef },
1457
- { type: core.ElementRef },
1458
- { type: core.NgZone }
1459
- ]; };
1460
- exports.AmplifyPicker = __decorate([
1461
- ProxyCmp({ inputs: ['acceptValue', 'inputHandler', 'pickerText'] })
1462
- ], exports.AmplifyPicker);
1463
- var AmplifyRadioButton = /** @class */ (function () {
1464
- function AmplifyRadioButton(c, r, z) {
1465
- this.z = z;
1466
- c.detach();
1467
- this.el = r.nativeElement;
1468
- }
1469
- return AmplifyRadioButton;
1470
- }());
1471
- AmplifyRadioButton.decorators = [
1472
- { type: core.Component, args: [{
1473
- selector: 'amplify-radio-button',
1474
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1475
- template: '<ng-content></ng-content>',
1476
- inputs: [
1477
- 'checked',
1478
- 'disabled',
1479
- 'fieldId',
1480
- 'handleInputChange',
1481
- 'inputProps',
1482
- 'label',
1483
- 'name',
1484
- 'placeholder',
1485
- 'value',
1486
- ]
1487
- },] }
1488
- ];
1489
- AmplifyRadioButton.ctorParameters = function () { return [
1490
- { type: core.ChangeDetectorRef },
1491
- { type: core.ElementRef },
1492
- { type: core.NgZone }
1493
- ]; };
1494
- AmplifyRadioButton = __decorate([
1495
- ProxyCmp({
1496
- inputs: [
1497
- 'checked',
1498
- 'disabled',
1499
- 'fieldId',
1500
- 'handleInputChange',
1501
- 'inputProps',
1502
- 'label',
1503
- 'name',
1504
- 'placeholder',
1505
- 'value',
1506
- ],
1507
- })
1508
- ], AmplifyRadioButton);
1509
- var AmplifyRequireNewPassword = /** @class */ (function () {
1510
- function AmplifyRequireNewPassword(c, r, z) {
1511
- this.z = z;
1512
- c.detach();
1513
- this.el = r.nativeElement;
1514
- }
1515
- return AmplifyRequireNewPassword;
1516
- }());
1517
- AmplifyRequireNewPassword.decorators = [
1518
- { type: core.Component, args: [{
1519
- selector: 'amplify-require-new-password',
1520
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1521
- template: '<ng-content></ng-content>',
1522
- inputs: [
1523
- 'formFields',
1524
- 'handleAuthStateChange',
1525
- 'handleSubmit',
1526
- 'headerText',
1527
- 'submitButtonText',
1528
- 'user',
1529
- ]
1530
- },] }
1531
- ];
1532
- AmplifyRequireNewPassword.ctorParameters = function () { return [
1533
- { type: core.ChangeDetectorRef },
1534
- { type: core.ElementRef },
1535
- { type: core.NgZone }
1536
- ]; };
1537
- AmplifyRequireNewPassword = __decorate([
1538
- ProxyCmp({
1539
- inputs: [
1540
- 'formFields',
1541
- 'handleAuthStateChange',
1542
- 'handleSubmit',
1543
- 'headerText',
1544
- 'submitButtonText',
1545
- 'user',
1546
- ],
1547
- })
1548
- ], AmplifyRequireNewPassword);
1549
- exports.AmplifyS3Album = /** @class */ (function () {
1550
- function AmplifyS3Album(c, r, z) {
1551
- this.z = z;
1552
- c.detach();
1553
- this.el = r.nativeElement;
1554
- }
1555
- return AmplifyS3Album;
1556
- }());
1557
- exports.AmplifyS3Album.decorators = [
1558
- { type: core.Component, args: [{
1559
- selector: 'amplify-s3-album',
1560
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1561
- template: '<ng-content></ng-content>',
1562
- inputs: [
1563
- 'contentType',
1564
- 'fileToKey',
1565
- 'filter',
1566
- 'handleOnError',
1567
- 'handleOnLoad',
1568
- 'identityId',
1569
- 'level',
1570
- 'path',
1571
- 'picker',
1572
- 'pickerText',
1573
- 'sort',
1574
- 'track',
1575
- ]
1576
- },] }
1577
- ];
1578
- exports.AmplifyS3Album.ctorParameters = function () { return [
1579
- { type: core.ChangeDetectorRef },
1580
- { type: core.ElementRef },
1581
- { type: core.NgZone }
1582
- ]; };
1583
- exports.AmplifyS3Album = __decorate([
1584
- ProxyCmp({
1585
- inputs: [
1586
- 'contentType',
1587
- 'fileToKey',
1588
- 'filter',
1589
- 'handleOnError',
1590
- 'handleOnLoad',
1591
- 'identityId',
1592
- 'level',
1593
- 'path',
1594
- 'picker',
1595
- 'pickerText',
1596
- 'sort',
1597
- 'track',
1598
- ],
1599
- })
1600
- ], exports.AmplifyS3Album);
1601
- exports.AmplifyS3Image = /** @class */ (function () {
1602
- function AmplifyS3Image(c, r, z) {
1603
- this.z = z;
1604
- c.detach();
1605
- this.el = r.nativeElement;
1606
- }
1607
- return AmplifyS3Image;
1608
- }());
1609
- exports.AmplifyS3Image.decorators = [
1610
- { type: core.Component, args: [{
1611
- selector: 'amplify-s3-image',
1612
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1613
- template: '<ng-content></ng-content>',
1614
- inputs: [
1615
- 'alt',
1616
- 'body',
1617
- 'contentType',
1618
- 'handleOnError',
1619
- 'handleOnLoad',
1620
- 'identityId',
1621
- 'imgKey',
1622
- 'imgProps',
1623
- 'level',
1624
- 'path',
1625
- 'track',
1626
- ]
1627
- },] }
1628
- ];
1629
- exports.AmplifyS3Image.ctorParameters = function () { return [
1630
- { type: core.ChangeDetectorRef },
1631
- { type: core.ElementRef },
1632
- { type: core.NgZone }
1633
- ]; };
1634
- exports.AmplifyS3Image = __decorate([
1635
- ProxyCmp({
1636
- inputs: [
1637
- 'alt',
1638
- 'body',
1639
- 'contentType',
1640
- 'handleOnError',
1641
- 'handleOnLoad',
1642
- 'identityId',
1643
- 'imgKey',
1644
- 'imgProps',
1645
- 'level',
1646
- 'path',
1647
- 'track',
1648
- ],
1649
- })
1650
- ], exports.AmplifyS3Image);
1651
- exports.AmplifyS3ImagePicker = /** @class */ (function () {
1652
- function AmplifyS3ImagePicker(c, r, z) {
1653
- this.z = z;
1654
- c.detach();
1655
- this.el = r.nativeElement;
1656
- }
1657
- return AmplifyS3ImagePicker;
1658
- }());
1659
- exports.AmplifyS3ImagePicker.decorators = [
1660
- { type: core.Component, args: [{
1661
- selector: 'amplify-s3-image-picker',
1662
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1663
- template: '<ng-content></ng-content>',
1664
- inputs: [
1665
- 'buttonText',
1666
- 'contentType',
1667
- 'fileToKey',
1668
- 'headerHint',
1669
- 'headerTitle',
1670
- 'identityId',
1671
- 'level',
1672
- 'path',
1673
- 'placeholderHint',
1674
- 'track',
1675
- ]
1676
- },] }
1677
- ];
1678
- exports.AmplifyS3ImagePicker.ctorParameters = function () { return [
1679
- { type: core.ChangeDetectorRef },
1680
- { type: core.ElementRef },
1681
- { type: core.NgZone }
1682
- ]; };
1683
- exports.AmplifyS3ImagePicker = __decorate([
1684
- ProxyCmp({
1685
- inputs: [
1686
- 'buttonText',
1687
- 'contentType',
1688
- 'fileToKey',
1689
- 'headerHint',
1690
- 'headerTitle',
1691
- 'identityId',
1692
- 'level',
1693
- 'path',
1694
- 'placeholderHint',
1695
- 'track',
1696
- ],
1697
- })
1698
- ], exports.AmplifyS3ImagePicker);
1699
- exports.AmplifyS3Text = /** @class */ (function () {
1700
- function AmplifyS3Text(c, r, z) {
1701
- this.z = z;
1702
- c.detach();
1703
- this.el = r.nativeElement;
1704
- }
1705
- return AmplifyS3Text;
1706
- }());
1707
- exports.AmplifyS3Text.decorators = [
1708
- { type: core.Component, args: [{
1709
- selector: 'amplify-s3-text',
1710
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1711
- template: '<ng-content></ng-content>',
1712
- inputs: [
1713
- 'body',
1714
- 'contentType',
1715
- 'fallbackText',
1716
- 'identityId',
1717
- 'level',
1718
- 'path',
1719
- 'textKey',
1720
- 'track',
1721
- ]
1722
- },] }
1723
- ];
1724
- exports.AmplifyS3Text.ctorParameters = function () { return [
1725
- { type: core.ChangeDetectorRef },
1726
- { type: core.ElementRef },
1727
- { type: core.NgZone }
1728
- ]; };
1729
- exports.AmplifyS3Text = __decorate([
1730
- ProxyCmp({
1731
- inputs: [
1732
- 'body',
1733
- 'contentType',
1734
- 'fallbackText',
1735
- 'identityId',
1736
- 'level',
1737
- 'path',
1738
- 'textKey',
1739
- 'track',
1740
- ],
1741
- })
1742
- ], exports.AmplifyS3Text);
1743
- exports.AmplifyS3TextPicker = /** @class */ (function () {
1744
- function AmplifyS3TextPicker(c, r, z) {
1745
- this.z = z;
1746
- c.detach();
1747
- this.el = r.nativeElement;
1748
- }
1749
- return AmplifyS3TextPicker;
1750
- }());
1751
- exports.AmplifyS3TextPicker.decorators = [
1752
- { type: core.Component, args: [{
1753
- selector: 'amplify-s3-text-picker',
1754
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1755
- template: '<ng-content></ng-content>',
1756
- inputs: [
1757
- 'contentType',
1758
- 'fallbackText',
1759
- 'fileToKey',
1760
- 'identityId',
1761
- 'level',
1762
- 'path',
1763
- 'track',
1764
- ]
1765
- },] }
1766
- ];
1767
- exports.AmplifyS3TextPicker.ctorParameters = function () { return [
1768
- { type: core.ChangeDetectorRef },
1769
- { type: core.ElementRef },
1770
- { type: core.NgZone }
1771
- ]; };
1772
- exports.AmplifyS3TextPicker = __decorate([
1773
- ProxyCmp({
1774
- inputs: [
1775
- 'contentType',
1776
- 'fallbackText',
1777
- 'fileToKey',
1778
- 'identityId',
1779
- 'level',
1780
- 'path',
1781
- 'track',
1782
- ],
1783
- })
1784
- ], exports.AmplifyS3TextPicker);
1785
- var AmplifySection = /** @class */ (function () {
1786
- function AmplifySection(c, r, z) {
1787
- this.z = z;
1788
- c.detach();
1789
- this.el = r.nativeElement;
1790
- }
1791
- return AmplifySection;
1792
- }());
1793
- AmplifySection.decorators = [
1794
- { type: core.Component, args: [{
1795
- selector: 'amplify-section',
1796
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1797
- template: '<ng-content></ng-content>',
1798
- inputs: ['role']
1799
- },] }
1800
- ];
1801
- AmplifySection.ctorParameters = function () { return [
1802
- { type: core.ChangeDetectorRef },
1803
- { type: core.ElementRef },
1804
- { type: core.NgZone }
1805
- ]; };
1806
- AmplifySection = __decorate([
1807
- ProxyCmp({ inputs: ['role'] })
1808
- ], AmplifySection);
1809
- var AmplifySelect = /** @class */ (function () {
1810
- function AmplifySelect(c, r, z) {
1811
- this.z = z;
1812
- c.detach();
1813
- this.el = r.nativeElement;
1814
- }
1815
- return AmplifySelect;
1816
- }());
1817
- AmplifySelect.decorators = [
1818
- { type: core.Component, args: [{
1819
- selector: 'amplify-select',
1820
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1821
- template: '<ng-content></ng-content>',
1822
- inputs: ['fieldId', 'handleInputChange', 'options', 'selected']
1823
- },] }
1824
- ];
1825
- AmplifySelect.ctorParameters = function () { return [
1826
- { type: core.ChangeDetectorRef },
1827
- { type: core.ElementRef },
1828
- { type: core.NgZone }
1829
- ]; };
1830
- AmplifySelect = __decorate([
1831
- ProxyCmp({ inputs: ['fieldId', 'handleInputChange', 'options', 'selected'] })
1832
- ], AmplifySelect);
1833
- var AmplifySelectMfaType = /** @class */ (function () {
1834
- function AmplifySelectMfaType(c, r, z) {
1835
- this.z = z;
1836
- c.detach();
1837
- this.el = r.nativeElement;
1838
- }
1839
- return AmplifySelectMfaType;
1840
- }());
1841
- AmplifySelectMfaType.decorators = [
1842
- { type: core.Component, args: [{
1843
- selector: 'amplify-select-mfa-type',
1844
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1845
- template: '<ng-content></ng-content>',
1846
- inputs: ['MFATypes', 'authData', 'handleSubmit']
1847
- },] }
1848
- ];
1849
- AmplifySelectMfaType.ctorParameters = function () { return [
1850
- { type: core.ChangeDetectorRef },
1851
- { type: core.ElementRef },
1852
- { type: core.NgZone }
1853
- ]; };
1854
- AmplifySelectMfaType = __decorate([
1855
- ProxyCmp({ inputs: ['MFATypes', 'authData', 'handleSubmit'] })
1856
- ], AmplifySelectMfaType);
1857
- var AmplifySignIn = /** @class */ (function () {
1858
- function AmplifySignIn(c, r, z) {
1859
- this.z = z;
1860
- c.detach();
1861
- this.el = r.nativeElement;
1862
- }
1863
- return AmplifySignIn;
1864
- }());
1865
- AmplifySignIn.decorators = [
1866
- { type: core.Component, args: [{
1867
- selector: 'amplify-sign-in',
1868
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1869
- template: '<ng-content></ng-content>',
1870
- inputs: [
1871
- 'federated',
1872
- 'formFields',
1873
- 'handleAuthStateChange',
1874
- 'handleSubmit',
1875
- 'headerText',
1876
- 'hideSignUp',
1877
- 'submitButtonText',
1878
- 'usernameAlias',
1879
- ]
1880
- },] }
1881
- ];
1882
- AmplifySignIn.ctorParameters = function () { return [
1883
- { type: core.ChangeDetectorRef },
1884
- { type: core.ElementRef },
1885
- { type: core.NgZone }
1886
- ]; };
1887
- AmplifySignIn = __decorate([
1888
- ProxyCmp({
1889
- inputs: [
1890
- 'federated',
1891
- 'formFields',
1892
- 'handleAuthStateChange',
1893
- 'handleSubmit',
1894
- 'headerText',
1895
- 'hideSignUp',
1896
- 'submitButtonText',
1897
- 'usernameAlias',
1898
- ],
1899
- })
1900
- ], AmplifySignIn);
1901
- var AmplifySignInButton = /** @class */ (function () {
1902
- function AmplifySignInButton(c, r, z) {
1903
- this.z = z;
1904
- c.detach();
1905
- this.el = r.nativeElement;
1906
- }
1907
- return AmplifySignInButton;
1908
- }());
1909
- AmplifySignInButton.decorators = [
1910
- { type: core.Component, args: [{
1911
- selector: 'amplify-sign-in-button',
1912
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1913
- template: '<ng-content></ng-content>',
1914
- inputs: ['provider']
1915
- },] }
1916
- ];
1917
- AmplifySignInButton.ctorParameters = function () { return [
1918
- { type: core.ChangeDetectorRef },
1919
- { type: core.ElementRef },
1920
- { type: core.NgZone }
1921
- ]; };
1922
- AmplifySignInButton = __decorate([
1923
- ProxyCmp({ inputs: ['provider'] })
1924
- ], AmplifySignInButton);
1925
- var AmplifySignOut = /** @class */ (function () {
1926
- function AmplifySignOut(c, r, z) {
1927
- this.z = z;
1928
- c.detach();
1929
- this.el = r.nativeElement;
1930
- }
1931
- return AmplifySignOut;
1932
- }());
1933
- AmplifySignOut.decorators = [
1934
- { type: core.Component, args: [{
1935
- selector: 'amplify-sign-out',
1936
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1937
- template: '<ng-content></ng-content>',
1938
- inputs: ['buttonText', 'handleAuthStateChange']
1939
- },] }
1940
- ];
1941
- AmplifySignOut.ctorParameters = function () { return [
1942
- { type: core.ChangeDetectorRef },
1943
- { type: core.ElementRef },
1944
- { type: core.NgZone }
1945
- ]; };
1946
- AmplifySignOut = __decorate([
1947
- ProxyCmp({ inputs: ['buttonText', 'handleAuthStateChange'] })
1948
- ], AmplifySignOut);
1949
- var AmplifySignUp = /** @class */ (function () {
1950
- function AmplifySignUp(c, r, z) {
1951
- this.z = z;
1952
- c.detach();
1953
- this.el = r.nativeElement;
1954
- }
1955
- return AmplifySignUp;
1956
- }());
1957
- AmplifySignUp.decorators = [
1958
- { type: core.Component, args: [{
1959
- selector: 'amplify-sign-up',
1960
- changeDetection: core.ChangeDetectionStrategy.OnPush,
1961
- template: '<ng-content></ng-content>',
1962
- inputs: [
1963
- 'formFields',
1964
- 'handleAuthStateChange',
1965
- 'handleSignUp',
1966
- 'handleSubmit',
1967
- 'haveAccountText',
1968
- 'headerText',
1969
- 'signInText',
1970
- 'submitButtonText',
1971
- 'usernameAlias',
1972
- 'validationErrors',
1973
- ]
1974
- },] }
1975
- ];
1976
- AmplifySignUp.ctorParameters = function () { return [
1977
- { type: core.ChangeDetectorRef },
1978
- { type: core.ElementRef },
1979
- { type: core.NgZone }
1980
- ]; };
1981
- AmplifySignUp = __decorate([
1982
- ProxyCmp({
1983
- inputs: [
1984
- 'formFields',
1985
- 'handleAuthStateChange',
1986
- 'handleSignUp',
1987
- 'handleSubmit',
1988
- 'haveAccountText',
1989
- 'headerText',
1990
- 'signInText',
1991
- 'submitButtonText',
1992
- 'usernameAlias',
1993
- 'validationErrors',
1994
- ],
1995
- })
1996
- ], AmplifySignUp);
1997
- var AmplifyStrike = /** @class */ (function () {
1998
- function AmplifyStrike(c, r, z) {
1999
- this.z = z;
2000
- c.detach();
2001
- this.el = r.nativeElement;
2002
- }
2003
- return AmplifyStrike;
2004
- }());
2005
- AmplifyStrike.decorators = [
2006
- { type: core.Component, args: [{
2007
- selector: 'amplify-strike',
2008
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2009
- template: '<ng-content></ng-content>'
2010
- },] }
2011
- ];
2012
- AmplifyStrike.ctorParameters = function () { return [
2013
- { type: core.ChangeDetectorRef },
2014
- { type: core.ElementRef },
2015
- { type: core.NgZone }
2016
- ]; };
2017
- exports.AmplifyToast = /** @class */ (function () {
2018
- function AmplifyToast(c, r, z) {
2019
- this.z = z;
2020
- c.detach();
2021
- this.el = r.nativeElement;
2022
- }
2023
- return AmplifyToast;
2024
- }());
2025
- exports.AmplifyToast.decorators = [
2026
- { type: core.Component, args: [{
2027
- selector: 'amplify-toast',
2028
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2029
- template: '<ng-content></ng-content>',
2030
- inputs: ['handleClose', 'message']
2031
- },] }
2032
- ];
2033
- exports.AmplifyToast.ctorParameters = function () { return [
2034
- { type: core.ChangeDetectorRef },
2035
- { type: core.ElementRef },
2036
- { type: core.NgZone }
2037
- ]; };
2038
- exports.AmplifyToast = __decorate([
2039
- ProxyCmp({ inputs: ['handleClose', 'message'] })
2040
- ], exports.AmplifyToast);
2041
- var AmplifyTooltip = /** @class */ (function () {
2042
- function AmplifyTooltip(c, r, z) {
2043
- this.z = z;
2044
- c.detach();
2045
- this.el = r.nativeElement;
2046
- }
2047
- return AmplifyTooltip;
2048
- }());
2049
- AmplifyTooltip.decorators = [
2050
- { type: core.Component, args: [{
2051
- selector: 'amplify-tooltip',
2052
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2053
- template: '<ng-content></ng-content>',
2054
- inputs: ['shouldAutoShow', 'text']
2055
- },] }
2056
- ];
2057
- AmplifyTooltip.ctorParameters = function () { return [
2058
- { type: core.ChangeDetectorRef },
2059
- { type: core.ElementRef },
2060
- { type: core.NgZone }
2061
- ]; };
2062
- AmplifyTooltip = __decorate([
2063
- ProxyCmp({ inputs: ['shouldAutoShow', 'text'] })
2064
- ], AmplifyTooltip);
2065
- var AmplifyTotpSetup = /** @class */ (function () {
2066
- function AmplifyTotpSetup(c, r, z) {
2067
- this.z = z;
2068
- c.detach();
2069
- this.el = r.nativeElement;
2070
- }
2071
- return AmplifyTotpSetup;
2072
- }());
2073
- AmplifyTotpSetup.decorators = [
2074
- { type: core.Component, args: [{
2075
- selector: 'amplify-totp-setup',
2076
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2077
- template: '<ng-content></ng-content>',
2078
- inputs: [
2079
- 'handleAuthStateChange',
2080
- 'handleComplete',
2081
- 'headerText',
2082
- 'issuer',
2083
- 'standalone',
2084
- 'user',
2085
- ]
2086
- },] }
2087
- ];
2088
- AmplifyTotpSetup.ctorParameters = function () { return [
2089
- { type: core.ChangeDetectorRef },
2090
- { type: core.ElementRef },
2091
- { type: core.NgZone }
2092
- ]; };
2093
- AmplifyTotpSetup = __decorate([
2094
- ProxyCmp({
2095
- inputs: [
2096
- 'handleAuthStateChange',
2097
- 'handleComplete',
2098
- 'headerText',
2099
- 'issuer',
2100
- 'standalone',
2101
- 'user',
2102
- ],
2103
- })
2104
- ], AmplifyTotpSetup);
2105
- var AmplifyUsernameField = /** @class */ (function () {
2106
- function AmplifyUsernameField(c, r, z) {
2107
- this.z = z;
2108
- c.detach();
2109
- this.el = r.nativeElement;
2110
- }
2111
- return AmplifyUsernameField;
2112
- }());
2113
- AmplifyUsernameField.decorators = [
2114
- { type: core.Component, args: [{
2115
- selector: 'amplify-username-field',
2116
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2117
- template: '<ng-content></ng-content>',
2118
- inputs: [
2119
- 'disabled',
2120
- 'fieldId',
2121
- 'handleInputChange',
2122
- 'hint',
2123
- 'inputProps',
2124
- 'label',
2125
- 'placeholder',
2126
- 'required',
2127
- 'value',
2128
- ]
2129
- },] }
2130
- ];
2131
- AmplifyUsernameField.ctorParameters = function () { return [
2132
- { type: core.ChangeDetectorRef },
2133
- { type: core.ElementRef },
2134
- { type: core.NgZone }
2135
- ]; };
2136
- AmplifyUsernameField = __decorate([
2137
- ProxyCmp({
2138
- inputs: [
2139
- 'disabled',
2140
- 'fieldId',
2141
- 'handleInputChange',
2142
- 'hint',
2143
- 'inputProps',
2144
- 'label',
2145
- 'placeholder',
2146
- 'required',
2147
- 'value',
2148
- ],
2149
- })
2150
- ], AmplifyUsernameField);
2151
- var AmplifyVerifyContact = /** @class */ (function () {
2152
- function AmplifyVerifyContact(c, r, z) {
2153
- this.z = z;
2154
- c.detach();
2155
- this.el = r.nativeElement;
2156
- }
2157
- return AmplifyVerifyContact;
2158
- }());
2159
- AmplifyVerifyContact.decorators = [
2160
- { type: core.Component, args: [{
2161
- selector: 'amplify-verify-contact',
2162
- changeDetection: core.ChangeDetectionStrategy.OnPush,
2163
- template: '<ng-content></ng-content>',
2164
- inputs: ['handleAuthStateChange', 'user']
2165
- },] }
2166
- ];
2167
- AmplifyVerifyContact.ctorParameters = function () { return [
2168
- { type: core.ChangeDetectorRef },
2169
- { type: core.ElementRef },
2170
- { type: core.NgZone }
2171
- ]; };
2172
- AmplifyVerifyContact = __decorate([
2173
- ProxyCmp({ inputs: ['handleAuthStateChange', 'user'] })
2174
- ], AmplifyVerifyContact);
2175
-
2176
- customElements.define('amplify-button', components.AmplifyButton);
2177
- customElements.define('amplify-input', components.AmplifyInput);
2178
- customElements.define('amplify-toast', components.AmplifyToast);
2179
- customElements.define('amplify-chatbot', components.AmplifyChatbot);
2180
- customElements.define('amplify-s3-album', components.AmplifyS3Album);
2181
- customElements.define('amplify-s3-image-picker', components.AmplifyS3ImagePicker);
2182
- customElements.define('amplify-s3-text', components.AmplifyS3Text);
2183
- customElements.define('amplify-s3-text-picker', components.AmplifyS3TextPicker);
2184
- customElements.define('amplify-s3-image', components.AmplifyS3Image);
2185
- customElements.define('amplify-picker', components.AmplifyPicker);
2186
- customElements.define('amplify-photo-picker', components.AmplifyPhotoPicker);
2187
- customElements.define('amplify-icon', components.AmplifyIcon);
2188
- var LegacyAmplifyUiModule = /** @class */ (function () {
2189
- function LegacyAmplifyUiModule() {
2190
- }
2191
- return LegacyAmplifyUiModule;
2192
- }());
2193
- LegacyAmplifyUiModule.decorators = [
2194
- { type: core.NgModule, args: [{
2195
- declarations: [
2196
- exports.AmplifyChatbot,
2197
- exports.AmplifyToast,
2198
- exports.AmplifyIcon,
2199
- exports.AmplifyInput,
2200
- exports.AmplifyButton,
2201
- exports.AmplifyS3Album,
2202
- exports.AmplifyS3ImagePicker,
2203
- exports.AmplifyS3Text,
2204
- exports.AmplifyS3TextPicker,
2205
- exports.AmplifyS3Image,
2206
- exports.AmplifyPicker,
2207
- exports.AmplifyPhotoPicker,
2208
- ],
2209
- imports: [common.CommonModule],
2210
- exports: [
2211
- exports.AmplifyChatbot,
2212
- exports.AmplifyToast,
2213
- exports.AmplifyIcon,
2214
- exports.AmplifyInput,
2215
- exports.AmplifyButton,
2216
- exports.AmplifyS3Album,
2217
- exports.AmplifyS3ImagePicker,
2218
- exports.AmplifyS3Text,
2219
- exports.AmplifyS3TextPicker,
2220
- exports.AmplifyS3Image,
2221
- exports.AmplifyPicker,
2222
- exports.AmplifyPhotoPicker,
2223
- ],
2224
- schemas: [core.CUSTOM_ELEMENTS_SCHEMA],
2225
- },] }
2226
- ];
2227
-
2228
- /**
2229
- * Generated bundle index. Do not edit.
2230
- */
2231
-
2232
- exports.LegacyAmplifyUiModule = LegacyAmplifyUiModule;
2233
- exports["ɵa"] = ProxyCmp;
2234
-
2235
- Object.defineProperty(exports, '__esModule', { value: true });
2236
-
2237
- }));
2238
- //# sourceMappingURL=aws-amplify-ui-angular-legacy.umd.js.map