form-aurora-stefanini 0.1.3 → 0.1.6

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 (69) hide show
  1. package/bundles/form-aurora-stefanini.umd.js +1225 -0
  2. package/bundles/form-aurora-stefanini.umd.js.map +1 -0
  3. package/bundles/form-aurora-stefanini.umd.min.js +16 -0
  4. package/bundles/form-aurora-stefanini.umd.min.js.map +1 -0
  5. package/esm2015/form-aurora-stefanini.js +5 -0
  6. package/esm2015/lib/Components/from-aurora/form-aurora.component.js +707 -0
  7. package/esm2015/lib/Models/company-parameters.js +7 -0
  8. package/esm2015/lib/Models/company.js +1 -0
  9. package/esm2015/lib/Models/fill.js +3 -0
  10. package/esm2015/lib/Models/state.js +1 -0
  11. package/esm2015/lib/Models/step.js +1 -0
  12. package/esm2015/lib/Models/stepMethod.js +3 -0
  13. package/esm2015/lib/form-aurora.module.js +22 -0
  14. package/esm2015/lib/services/TemplateService.js +85 -0
  15. package/esm2015/lib/services/data.service.js +82 -0
  16. package/esm2015/lib/utils/regex.js +52 -0
  17. package/esm2015/public-api.js +10 -0
  18. package/esm5/form-aurora-stefanini.js +5 -0
  19. package/esm5/lib/Components/from-aurora/form-aurora.component.js +751 -0
  20. package/esm5/lib/Models/company-parameters.js +19 -0
  21. package/esm5/lib/Models/company.js +1 -0
  22. package/esm5/lib/Models/fill.js +7 -0
  23. package/esm5/lib/Models/state.js +1 -0
  24. package/esm5/lib/Models/step.js +1 -0
  25. package/esm5/lib/Models/stepMethod.js +7 -0
  26. package/esm5/lib/form-aurora.module.js +25 -0
  27. package/esm5/lib/services/TemplateService.js +97 -0
  28. package/esm5/lib/services/data.service.js +85 -0
  29. package/esm5/lib/utils/regex.js +52 -0
  30. package/esm5/public-api.js +10 -0
  31. package/fesm2015/form-aurora-stefanini.js +939 -0
  32. package/fesm2015/form-aurora-stefanini.js.map +1 -0
  33. package/fesm5/form-aurora-stefanini.js +1004 -0
  34. package/fesm5/form-aurora-stefanini.js.map +1 -0
  35. package/form-aurora-stefanini.d.ts +4 -0
  36. package/form-aurora-stefanini.metadata.json +1 -0
  37. package/lib/Components/from-aurora/form-aurora.component.d.ts +118 -0
  38. package/lib/Models/company-parameters.d.ts +14 -0
  39. package/lib/Models/company.d.ts +22 -0
  40. package/lib/Models/fill.d.ts +6 -0
  41. package/lib/Models/state.d.ts +5 -0
  42. package/lib/Models/step.d.ts +14 -0
  43. package/lib/Models/stepMethod.d.ts +8 -0
  44. package/lib/form-aurora.module.d.ts +2 -0
  45. package/lib/services/TemplateService.d.ts +8 -0
  46. package/lib/services/data.service.d.ts +35 -0
  47. package/lib/utils/regex.d.ts +51 -0
  48. package/package.json +28 -17
  49. package/{src/public-api.ts → public-api.d.ts} +1 -4
  50. package/karma.conf.js +0 -32
  51. package/ng-package.json +0 -7
  52. package/src/lib/Components/from-aurora/form-aurora.component.css +0 -117
  53. package/src/lib/Components/from-aurora/form-aurora.component.html +0 -343
  54. package/src/lib/Components/from-aurora/form-aurora.component.spec.ts +0 -25
  55. package/src/lib/Components/from-aurora/form-aurora.component.ts +0 -725
  56. package/src/lib/Models/company-parameters.ts +0 -16
  57. package/src/lib/Models/company.ts +0 -25
  58. package/src/lib/Models/fill.ts +0 -6
  59. package/src/lib/Models/state.ts +0 -5
  60. package/src/lib/Models/step.ts +0 -15
  61. package/src/lib/Models/stepMethod.ts +0 -9
  62. package/src/lib/form-aurora.module.ts +0 -18
  63. package/src/lib/services/TemplateService.ts +0 -84
  64. package/src/lib/services/data.service.ts +0 -83
  65. package/src/lib/utils/regex.ts +0 -51
  66. package/src/test.ts +0 -21
  67. package/tsconfig.lib.json +0 -26
  68. package/tsconfig.spec.json +0 -17
  69. package/tslint.json +0 -17
@@ -0,0 +1,1004 @@
1
+ import { __decorate, __extends, __values, __spread } from 'tslib';
2
+ import { ɵɵdefineInjectable, Injectable, EventEmitter, Input, ViewChild, Output, Component, ɵɵinject, NgModule } from '@angular/core';
3
+ import { FormGroup, FormControl, Validators, FormsModule } from '@angular/forms';
4
+ import { HttpClient } from '@angular/common/http';
5
+ import { NgbDateAdapter, NgbDateParserFormatter, NgbDatepickerI18n } from '@ng-bootstrap/ng-bootstrap';
6
+ import * as moment_ from 'moment';
7
+ import { CommonModule } from '@angular/common';
8
+ import { RecaptchaModule, RecaptchaFormsModule } from 'ng-recaptcha';
9
+
10
+ var regexType = {
11
+ default: {
12
+ exp: '^[a-zA-Z0-9ñÑáéíóúüÁÉÍÓÚÜ,.\\-_\\s]*$',
13
+ message: 'Formato inválido, no use caracteres especiales'
14
+ },
15
+ word: {
16
+ exp: '^[a-zA-Z0-9ñÑáéíóúüÁÉÍÓÚÜ,.\\-_]*$',
17
+ message: 'Formato inválido, no use caracteres especiales ni espacios'
18
+ },
19
+ name: {
20
+ exp: '^[a-zA-ZñÑáéíóúüÁÉÍÓÚÜ\\s]*$',
21
+ message: 'Formato inválido, no use caracteres especiales ni números'
22
+ },
23
+ alphanumberWord: {
24
+ exp: '^[a-zA-Z0-9]*$',
25
+ message: 'Formato alfanúmerico inválido'
26
+ },
27
+ charWord: {
28
+ exp: '^[a-zA-Z]*$',
29
+ message: 'Formato de caracteres inválido'
30
+ },
31
+ anyWord: {
32
+ exp: '^\\S*$',
33
+ message: 'Formato inválido'
34
+ },
35
+ percent: {
36
+ exp: '^100$|^[0-9]{1,2}$|^[0-9]{1,2}\\.[0-9]{1,2}$',
37
+ message: 'Formato de porcentaje inválido, use el punto decimal (.)'
38
+ },
39
+ email: {
40
+ exp: /^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
41
+ message: 'Formato de e-mail inválido'
42
+ },
43
+ number: {
44
+ exp: '^[0-9]*$',
45
+ message: 'Formato de número inválido'
46
+ },
47
+ time24: {
48
+ exp: '^([01]?[0-9]|2[0-3]):[0-5][0-9]$',
49
+ message: 'Formato de hora militar inválido, use 23:45'
50
+ },
51
+ date: {
52
+ exp: '^[0-9]{1,2}/[0-9]{1,2}/[0-9]{4}$',
53
+ message: 'Formato de fecha inválido',
54
+ internal: 'dd/mm/yyyy'
55
+ },
56
+ password: {
57
+ exp: '^(?=.*?[A-Z])(?=.*?[a-z])(?=.*?[0-9])(?=.*?[#?!@$%^&*-]).{8,}$',
58
+ message: 'La contraseña debe incluir una longitud mínima de 8 caracteres, una letra mayúscula, una letra minúscula, un número, un carácter especial (@#$%^&+=/.) y no debe tener espacios.'
59
+ }
60
+ };
61
+
62
+ var CommonDataService = /** @class */ (function () {
63
+ function CommonDataService() {
64
+ }
65
+ CommonDataService_1 = CommonDataService;
66
+ CommonDataService.prototype.getData = function () {
67
+ if (localStorage.getItem("data") != null) {
68
+ var data = new Map(JSON.parse(localStorage.getItem("data")));
69
+ return data;
70
+ }
71
+ else {
72
+ /** Error get cookie */
73
+ }
74
+ };
75
+ CommonDataService.prototype.setData = function (data) {
76
+ localStorage.setItem("data", JSON.stringify(Array.from(data.entries())));
77
+ };
78
+ CommonDataService.prototype.initData = function () {
79
+ this.setData(new Map());
80
+ };
81
+ CommonDataService.prototype.putValue = function (key, value) {
82
+ var data = this.getData();
83
+ data = data.set(key, value);
84
+ this.setData(data);
85
+ };
86
+ CommonDataService.prototype.addValue = function (keyPrimary, keySecond, value) {
87
+ var data = this.getValue(keyPrimary);
88
+ var dataReturn = this.getData();
89
+ data[keySecond] = value;
90
+ dataReturn = dataReturn.set(keyPrimary, data);
91
+ this.setData(dataReturn);
92
+ };
93
+ CommonDataService.prototype.getValue = function (key) {
94
+ return !this.getData() || !this.getData().has(key) ? undefined : this.getData().get(key);
95
+ };
96
+ CommonDataService.prototype.hasValue = function (key) {
97
+ return this.getData() != undefined ? this.getData().has(key) : null;
98
+ };
99
+ CommonDataService.prototype.clearMap = function () {
100
+ if (this.hasValue(CommonDataService_1.COMPANY_KEY)) {
101
+ var company = this.getValue(CommonDataService_1.COMPANY_KEY);
102
+ this.initData();
103
+ this.putValue(CommonDataService_1.COMPANY_KEY, company);
104
+ }
105
+ else {
106
+ this.initData();
107
+ }
108
+ };
109
+ var CommonDataService_1;
110
+ CommonDataService.COMPANY_KEY = "company";
111
+ CommonDataService.DOC_NUMBER_KEY = "docNumber";
112
+ CommonDataService.DOC_TYPE_KEY = "docType";
113
+ CommonDataService.PHONE_KEY = "phone";
114
+ CommonDataService.TYPE_ATTENTION_KEY = "typeAttention";
115
+ CommonDataService.OFFICE_KEY = "office";
116
+ CommonDataService.TYPE_TURN_KEY = "typeTurn";
117
+ CommonDataService.SERVICE_KEY = "service";
118
+ CommonDataService.TURN_KEY = "turn";
119
+ CommonDataService.PROGRAMED_TURN_KEY = "programedTurn";
120
+ CommonDataService.REQUEST_CALL = "requestCall";
121
+ CommonDataService.FORM_DATA = "formdata";
122
+ CommonDataService.TEMPLATE = "template";
123
+ CommonDataService.TURN_RESCHEDULE = "turnReschedule";
124
+ CommonDataService.USER_GENDER = "genderUser";
125
+ CommonDataService.AUTO_REDIRECT = "autoRedirect";
126
+ CommonDataService.SCHEDULE_GENERAL = "scheduleGeneral";
127
+ CommonDataService.AGENDAMIENTO_TTP = "potencialCustomer";
128
+ CommonDataService.SINGLE_PAGE_ONE = "singlePageOne";
129
+ CommonDataService.AVAILABLE_SCHEDULE_GRAL = "availableScheduleGral";
130
+ CommonDataService.PROFILE = "profile";
131
+ CommonDataService.PAGE_NEXT = "pageNext";
132
+ CommonDataService.STEPS = "steps";
133
+ CommonDataService.TYPE_TURN_ID = "typeTurnId";
134
+ CommonDataService.ngInjectableDef = ɵɵdefineInjectable({ factory: function CommonDataService_Factory() { return new CommonDataService(); }, token: CommonDataService, providedIn: "root" });
135
+ CommonDataService = CommonDataService_1 = __decorate([
136
+ Injectable({
137
+ providedIn: "root",
138
+ })
139
+ ], CommonDataService);
140
+ return CommonDataService;
141
+ }());
142
+
143
+ var moment = moment_;
144
+ // import { regexType } from "@app/_shared/_util/regex";
145
+ // import { ExternalService } from '@app/_shared/_services/external.service';
146
+ // import { AuroraService } from '@app/_shared/_services/aurora.service';
147
+ /**
148
+ * This Service handles how the date is represented in scripts i.e. ngModel.
149
+ */
150
+ var CustomAdapter = /** @class */ (function (_super) {
151
+ __extends(CustomAdapter, _super);
152
+ function CustomAdapter() {
153
+ var _this = _super !== null && _super.apply(this, arguments) || this;
154
+ _this.DELIMITER = '/';
155
+ return _this;
156
+ }
157
+ CustomAdapter.prototype.fromModel = function (value) {
158
+ if (value) {
159
+ var date = value.split(this.DELIMITER);
160
+ return {
161
+ day: parseInt(date[0], 10),
162
+ month: parseInt(date[1], 10),
163
+ year: parseInt(date[2], 10)
164
+ };
165
+ }
166
+ return null;
167
+ };
168
+ CustomAdapter.prototype.toModel = function (date) {
169
+ //return date ? date.day + this.DELIMITER + date.month + this.DELIMITER + date.year : null;
170
+ return date ? (date.day < 10 ? 0 + date.day : date.day) + this.DELIMITER + (date.month < 10 ? 0 + date.month : date.month) + this.DELIMITER + date.year : '';
171
+ };
172
+ CustomAdapter = __decorate([
173
+ Injectable()
174
+ ], CustomAdapter);
175
+ return CustomAdapter;
176
+ }(NgbDateAdapter));
177
+ /**
178
+ * This Service handles how the date is rendered and parsed from keyboard i.e. in the bound input field.
179
+ */
180
+ var CustomDateParserFormatter = /** @class */ (function (_super) {
181
+ __extends(CustomDateParserFormatter, _super);
182
+ function CustomDateParserFormatter() {
183
+ var _this = _super !== null && _super.apply(this, arguments) || this;
184
+ _this.DELIMITER = '/';
185
+ return _this;
186
+ }
187
+ CustomDateParserFormatter.prototype.parse = function (value) {
188
+ if (value) {
189
+ var date = value.split(this.DELIMITER);
190
+ return {
191
+ day: parseInt(date[0], 10),
192
+ month: parseInt(date[1], 10),
193
+ year: parseInt(date[2], 10)
194
+ };
195
+ }
196
+ return null;
197
+ };
198
+ CustomDateParserFormatter.prototype.format = function (date) {
199
+ return date ? (date.day < 10 ? '0' + date.day : date.day) + this.DELIMITER + (date.month < 10 ? '0' + date.month : date.month) + this.DELIMITER + date.year : '';
200
+ };
201
+ CustomDateParserFormatter = __decorate([
202
+ Injectable()
203
+ ], CustomDateParserFormatter);
204
+ return CustomDateParserFormatter;
205
+ }(NgbDateParserFormatter));
206
+ var I18N_VALUES = {
207
+ 'es': {
208
+ weekdays: ['Lu', 'Ma', 'Mi', 'Ju', 'Vi', 'Sa', 'Do'],
209
+ months: ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic'],
210
+ weekLabel: 'sem'
211
+ }
212
+ // other languages you would support
213
+ };
214
+ var I18n = /** @class */ (function () {
215
+ function I18n() {
216
+ this.language = 'es';
217
+ }
218
+ I18n = __decorate([
219
+ Injectable()
220
+ ], I18n);
221
+ return I18n;
222
+ }());
223
+ // Define custom service providing the months and weekdays translations
224
+ var CustomDatepickerI18n = /** @class */ (function (_super) {
225
+ __extends(CustomDatepickerI18n, _super);
226
+ function CustomDatepickerI18n(_i18n) {
227
+ var _this = _super.call(this) || this;
228
+ _this._i18n = _i18n;
229
+ return _this;
230
+ }
231
+ CustomDatepickerI18n.prototype.getWeekdayLabel = function (weekday) {
232
+ return I18N_VALUES[this._i18n.language].weekdays[weekday - 1];
233
+ };
234
+ CustomDatepickerI18n.prototype.getWeekLabel = function () {
235
+ return I18N_VALUES[this._i18n.language].weekLabel;
236
+ };
237
+ CustomDatepickerI18n.prototype.getMonthShortName = function (month) {
238
+ return I18N_VALUES[this._i18n.language].months[month - 1];
239
+ };
240
+ CustomDatepickerI18n.prototype.getMonthFullName = function (month) {
241
+ return this.getMonthShortName(month);
242
+ };
243
+ CustomDatepickerI18n.prototype.getDayAriaLabel = function (date) {
244
+ return date.day + "-" + date.month + "-" + date.year;
245
+ };
246
+ CustomDatepickerI18n.prototype.getWeekdayShortName = function (weekday) {
247
+ return I18N_VALUES[this._i18n.language].weekdays[weekday - 1];
248
+ };
249
+ ;
250
+ CustomDatepickerI18n.ctorParameters = function () { return [
251
+ { type: I18n }
252
+ ]; };
253
+ CustomDatepickerI18n = __decorate([
254
+ Injectable()
255
+ ], CustomDatepickerI18n);
256
+ return CustomDatepickerI18n;
257
+ }(NgbDatepickerI18n));
258
+ var FormAuroraComponent = /** @class */ (function () {
259
+ function FormAuroraComponent(data, http) {
260
+ this.data = data;
261
+ this.http = http;
262
+ this.response = new EventEmitter();
263
+ this.summit = new EventEmitter();
264
+ this.viewAuthData = new EventEmitter();
265
+ this.tipodocNumDoc = false;
266
+ this.onSubmitEvent = false;
267
+ this.countSubmit = 0;
268
+ this.watchValid = false;
269
+ this.watchRequired = false;
270
+ this.captchaValid = false;
271
+ this.displayMonths = 2;
272
+ this.navigation = 'select';
273
+ this.showWeekNumbers = false;
274
+ this.outsideDays = 'visible';
275
+ this.respServiceSegmentation = null;
276
+ this.base64CheckAuthData = undefined;
277
+ //emailPattern = "^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$";
278
+ this.today = moment(new Date());
279
+ this.maxYear = this.today.year();
280
+ this.minYear = this.today.year() - 82;
281
+ this.minDate = this.minYear.toString() + '-' + this.today.month().toString().padStart(2, '0') + '-' + this.today.date().toString().padStart(2, '0'); // {year: this.minYear, month: this.today.month(), day: this.today.date()};
282
+ this.maxDate = this.maxYear.toString() + '-' + (this.today.month() + 1).toString().padStart(2, '0') + '-' + this.today.date().toString().padStart(2, '0'); // {year: this.maxYear, month: this.today.month() + 1, day: this.today.date()};
283
+ //Revisar variables
284
+ this.recharge = false;
285
+ this.indicativo = "57";
286
+ this.defaultDocType = "Cédula de ciudadanía";
287
+ this.patternNotValidDcto = false;
288
+ this.patternNotValidCel = false;
289
+ this.range = new FormGroup({
290
+ start: new FormControl(),
291
+ end: new FormControl(),
292
+ });
293
+ }
294
+ FormAuroraComponent.prototype.ngOnInit = function () {
295
+ var _this = this;
296
+ this.minDate = new Date(this.minDate).toISOString().split('T')[0];
297
+ setTimeout(function () {
298
+ _this.startComponent();
299
+ }, 2000);
300
+ };
301
+ FormAuroraComponent.prototype.startComponent = function () {
302
+ var e_1, _a;
303
+ var _this = this;
304
+ //ordena los campos
305
+ if (this.dataForm != null && this.dataForm.formQuestions != undefined) {
306
+ //Same row fields
307
+ this.tipodocNumDoc = (this.dataForm.formQuestions.some(function (question) { return question.question.value === "tipoDoc"; }) && this.dataForm.formQuestions.some(function (question) { return question.question.value === "numeroDoc"; })) ? true : false;
308
+ this.dataForm.formQuestions = this.dataForm.formQuestions.sort(function (a, b) {
309
+ return a.order - b.order;
310
+ });
311
+ var existcaptcha = this.dataForm.formQuestions.filter(function (item) { return item.question.questionType.id == 6; });
312
+ if (existcaptcha.length == 0) {
313
+ this.captchaValid = true;
314
+ }
315
+ var _loop_1 = function (item) {
316
+ if (item.question.maxlength == null || item.question.maxlength == undefined || item.question.maxlength == 0) {
317
+ item.question.maxlength = 524288; //defaultvalue
318
+ }
319
+ if (item.question.minLength == null || item.question.minLength == undefined) {
320
+ item.question.minLength = 0;
321
+ }
322
+ this_1.dataReloadForm.forEach(function (element) {
323
+ _this.filldata = element;
324
+ if ((item.question.questionType.id === 2 || item.question.questionType.id === 1 ||
325
+ item.question.questionType.id === 3) && (_this.filldata.data !== null &&
326
+ _this.filldata.data !== undefined) && item.question.id === _this.filldata.id) {
327
+ item.question.registred = _this.filldata.data;
328
+ }
329
+ });
330
+ if (item.question.registred == null || item.question.minLength == undefined) {
331
+ item.question.registred = '';
332
+ }
333
+ };
334
+ var this_1 = this;
335
+ try {
336
+ for (var _b = __values(this.dataForm.formQuestions), _c = _b.next(); !_c.done; _c = _b.next()) {
337
+ var item = _c.value;
338
+ _loop_1(item);
339
+ }
340
+ }
341
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
342
+ finally {
343
+ try {
344
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
345
+ }
346
+ finally { if (e_1) throw e_1.error; }
347
+ }
348
+ }
349
+ };
350
+ FormAuroraComponent.prototype.resolvedCaptcha = function (captchaResponse) {
351
+ this.captchaValid = true;
352
+ if (!this.formDynamic.form.value.captcha) {
353
+ this.formDynamic.controls.captcha.setValue(captchaResponse);
354
+ this.formDynamic.form.value.captcha = captchaResponse;
355
+ document.getElementById("btnIng").style.opacity = !this.formDynamic.valid ? "0.65" : "1";
356
+ }
357
+ };
358
+ //Forms
359
+ //Metodo para evitar el render de los items del for
360
+ FormAuroraComponent.prototype.trackByIndex = function (index, obj) {
361
+ return index;
362
+ };
363
+ FormAuroraComponent.prototype.onChangeValidPatter = function (event, question) {
364
+ var _this = this;
365
+ if (question.pattern != undefined) {
366
+ var valid = true;
367
+ var keyvalid = [8, 32, 37, 38, 39, 40, 46, 9];
368
+ //diferente de Backpsace
369
+ //se deja catch por error no controlable en otro tiempo de ejecucion
370
+ try {
371
+ if (!keyvalid.includes(event.keyCode)) {
372
+ var regex = new RegExp(question.pattern);
373
+ valid = regex.test(event.key);
374
+ }
375
+ }
376
+ catch (error) { }
377
+ return valid;
378
+ }
379
+ if (question.questionType !== undefined) {
380
+ if (question.questionType.description === 'Number') {
381
+ if (question.value === 'numeroDoc') {
382
+ this.validateNumeroDocumento(this.formDynamic.controls["numeroDoc"].value.toString());
383
+ }
384
+ else if (question.value === 'celular') {
385
+ this.validateCelular(this.formDynamic.controls["celular"].value.toString());
386
+ }
387
+ }
388
+ }
389
+ document.getElementById("char" + question.value).setAttribute("hidden", "true");
390
+ //if temporal mientras se migran todos los tipos de campos al foreach
391
+ if (question.questionType.id != 11 && question.questionType.id != 7) {
392
+ if (this.validMinLength(this.formDynamic, question)) {
393
+ document.getElementById(question.value).style.borderColor = "#FF0000";
394
+ document.getElementById("ml" + question.value).removeAttribute("hidden");
395
+ }
396
+ else {
397
+ document.getElementById(question.value).style.borderColor = "#E4E4E4";
398
+ document.getElementById("ml" + question.value).setAttribute("hidden", "true");
399
+ }
400
+ if (this.validMaxLength(this.formDynamic, question)) {
401
+ document.getElementById(question.value).style.borderColor = "#FF0000";
402
+ document.getElementById("mxl" + question.value).removeAttribute("hidden");
403
+ }
404
+ else {
405
+ document.getElementById(question.value).style.borderColor = "#E4E4E4";
406
+ document.getElementById("mxl" + question.value).setAttribute("hidden", "true");
407
+ }
408
+ }
409
+ this.dataForm.formQuestions.forEach(function (formQuestion) {
410
+ switch (formQuestion.question.questionType.id) {
411
+ //se valida campo de tipo calendario
412
+ case 7:
413
+ if (question.questionType.id == 7)
414
+ _this.calendarRulesValidate(formQuestion);
415
+ break;
416
+ //se valida campo de tipo email
417
+ case 11:
418
+ if (question.questionType.id == 11)
419
+ _this.emailRulesValidate(formQuestion);
420
+ break;
421
+ }
422
+ });
423
+ document.getElementById("btnIng").style.opacity = !this.formDynamic.valid ? "0.65" : "1";
424
+ };
425
+ FormAuroraComponent.prototype.validOnlyText = function (event) {
426
+ var regex = /^[a-zA-Z\u00C0-\u017F]+$/g;
427
+ if (event.charCode == 32) {
428
+ return true;
429
+ }
430
+ var valid = regex.test(event.key);
431
+ return valid;
432
+ };
433
+ FormAuroraComponent.prototype.validDate = function (event) {
434
+ /*let pattern = /(?:0[1-9]|[12][0-9]|3[01])\/(?:0[1-9]|1[0-2])\/(?:19|20)[0-9]{2}/;
435
+ const regex = new RegExp(pattern);
436
+ valid = regex.test(event.key);
437
+ */
438
+ var matches = String(event.key).match(regexType.date.exp);
439
+ var valid = true;
440
+ if (matches === null)
441
+ valid = false;
442
+ // alert(valid);
443
+ return valid;
444
+ };
445
+ FormAuroraComponent.prototype.onChangeValidDate = function (event) {
446
+ //let pattern = /(?:0[1-9]|1[0-2])\/(?:0[1-9]|[12][0-9]|3[01])\/(?:19|20)[0-9]{2}/;
447
+ var dateN = /[0-9]|\//;
448
+ var valid = true;
449
+ var regex = new RegExp(dateN);
450
+ valid = regex.test(event.key);
451
+ return valid;
452
+ };
453
+ FormAuroraComponent.prototype.rediretoutside = function (event, question) {
454
+ //se deja catch por error no controlable en otro tiempo de ejecucion
455
+ try {
456
+ event.preventDefault();
457
+ window.open(question.value, "_blank");
458
+ }
459
+ catch (error) { }
460
+ };
461
+ /**
462
+ * Dispatch submit event for validations exists
463
+ * @param change
464
+ */
465
+ FormAuroraComponent.prototype.ngOnChanges = function (change) {
466
+ this.countSubmit++;
467
+ };
468
+ //onSubmit(form: NgForm) {
469
+ FormAuroraComponent.prototype.onSubmit = function () {
470
+ var _this = this;
471
+ var form = this.formDynamic;
472
+ this.watchValid = true;
473
+ this.watchRequired = true;
474
+ if (form.valid) {
475
+ if (!this.validRulesFields(form.controls["numeroDoc"].value.toString(), form.controls["celular"].value.toString(), form.controls["email"].value))
476
+ return false;
477
+ }
478
+ if (this.validMinlenghtAllQuestions(form.value) && this.validMaxLengthAllQuestions(form.value) && form.valid) {
479
+ if (this.dataForm.urlSend != "" && this.captchaValid) {
480
+ this.http.post(this.dataForm.urlSend, form.value).subscribe(function (resp) { return _this.response.emit(resp); });
481
+ }
482
+ else if (form.valid && this.captchaValid) {
483
+ this.summit.emit(form.value);
484
+ }
485
+ }
486
+ };
487
+ FormAuroraComponent.prototype.findParamBoolean = function (params, idParam) {
488
+ var showDescriptionParam = params.find(function (x) { return x.id == idParam; });
489
+ return showDescriptionParam != null && showDescriptionParam.value == "true";
490
+ };
491
+ FormAuroraComponent.prototype.validRulesFields = function (numeroDoc, numeroCel, email) {
492
+ var _this = this;
493
+ // Validaciones para celular en caso de indicativo en Colombia
494
+ var cel = document.getElementById("charcelular");
495
+ var doc = document.getElementById("charnumeroDoc");
496
+ var valOk = true;
497
+ if (this.indicativo == "+57" || this.indicativo == "57") {
498
+ var stringOrdenado = this.orderString(numeroDoc);
499
+ if (this.nameCompany.toUpperCase() !== 'CLARO') { //claro acepta nro consecutivos
500
+ if (numeroDoc == stringOrdenado) {
501
+ doc.style.borderColor = "#FF0000";
502
+ doc.removeAttribute("hidden");
503
+ doc.textContent = "El numero documento No debe contener caracteres consecutivos";
504
+ valOk = false;
505
+ //this.msgErrorCampo = "El numero documento No debe contener caracteres consecutivos";
506
+ //return false;
507
+ }
508
+ }
509
+ if (numeroCel.substring(0, 1) != "3") {
510
+ cel.style.borderColor = "#FF0000";
511
+ cel.removeAttribute("hidden");
512
+ cel.textContent = "El primer carácter del celular debe ser 3";
513
+ valOk = false;
514
+ //this.msgErrorCampo = "El primer carácter del celular debe ser 3";
515
+ //return false;
516
+ }
517
+ /*
518
+ if (parseInt(numeroCel.substring(0, 3)) > 350) {
519
+ cel.style.borderColor = "#FF0000";
520
+ cel.removeAttribute("hidden");
521
+ cel.textContent = "El prefijo del celular no debe ser mayor a 350";
522
+ valOk = false;
523
+ //this.msgErrorCampo = "El prefijo del celular no debe ser mayor a 350";
524
+ //return false;
525
+ }
526
+ */
527
+ //En caso de que el número se repita, ejemplo 33333333
528
+ var listnumber = numeroDoc.substring(0, 1);
529
+ for (var index = 1; index < numeroDoc.length; index++) {
530
+ listnumber = listnumber + numeroDoc.substring(0, 1);
531
+ }
532
+ if (numeroDoc == listnumber) {
533
+ doc.style.borderColor = "#FF0000";
534
+ doc.removeAttribute("hidden");
535
+ doc.textContent = "Caracteres numéricos no se pueden repetirse de manera continua ";
536
+ valOk = false;
537
+ //this.msgErrorCampo = "Caracteres numéricos no se pueden repetirse de manera continua ";
538
+ //return false;
539
+ }
540
+ if (!this.validateNumeroDocumento(numeroDoc)) {
541
+ return false;
542
+ }
543
+ if (!this.validateCelular(numeroCel)) {
544
+ return false;
545
+ }
546
+ // En caso de que el número se repita, ejemplo 33333333
547
+ var arrayPhoneRepeat = Array.from(String(numeroCel), Number);
548
+ var arrayPhoneOutRepeat = __spread(new Set(arrayPhoneRepeat));
549
+ if (arrayPhoneOutRepeat.length == 1) {
550
+ cel.style.borderColor = "#FF0000";
551
+ cel.removeAttribute("hidden");
552
+ cel.textContent = "El número que ingresa no es valido";
553
+ valOk = false;
554
+ //this.msgErrorCampo = "El número que ingresa no es valido";
555
+ //return false;
556
+ }
557
+ }
558
+ else if (this.indicativo == "+593" || this.indicativo == "593") {
559
+ if (numeroCel.substring(0, 1) != "9") {
560
+ cel.style.borderColor = "#FF0000";
561
+ cel.removeAttribute("hidden");
562
+ cel.textContent = "El primer carácter del celular debe ser 9";
563
+ valOk = false;
564
+ //this.msgErrorCampo = "El primer carácter del celular debe ser 9";
565
+ //return false;
566
+ }
567
+ }
568
+ //se validan los campos por tipo de campo y no por value
569
+ this.dataForm.formQuestions.forEach(function (formQuestion) {
570
+ switch (formQuestion.question.questionType.id) {
571
+ //se valida campo de tipo email
572
+ case 11:
573
+ valOk = _this.emailRulesValidate(formQuestion);
574
+ break;
575
+ }
576
+ });
577
+ return valOk;
578
+ };
579
+ FormAuroraComponent.prototype.orderString = function (value) {
580
+ var arrayNumber = [];
581
+ for (var index = 0; index < value.length; index++) {
582
+ arrayNumber.push(parseInt(value.substring(index, index + 1)));
583
+ }
584
+ //ordena el array
585
+ arrayNumber.sort(function (a, b) {
586
+ return a - b;
587
+ });
588
+ var numberOrder = "";
589
+ numberOrder = arrayNumber[0];
590
+ for (var index = 1; index < arrayNumber.length; index++) {
591
+ numberOrder = numberOrder + (arrayNumber[0] + index).toString();
592
+ }
593
+ return numberOrder;
594
+ };
595
+ FormAuroraComponent.prototype.validMinlenghtAllQuestions = function (form) {
596
+ var e_2, _a;
597
+ try {
598
+ for (var _b = __values(this.dataForm.formQuestions), _c = _b.next(); !_c.done; _c = _b.next()) {
599
+ var item = _c.value;
600
+ if (item.question.questionType.id == 1 || item.question.questionType.id == 2) {
601
+ var minLength = parseInt(item.question.minLength);
602
+ var formValueLength = parseInt(form[item.question.value].toString().length);
603
+ if (minLength > 0 && formValueLength != minLength && formValueLength < minLength)
604
+ return false;
605
+ }
606
+ }
607
+ }
608
+ catch (e_2_1) { e_2 = { error: e_2_1 }; }
609
+ finally {
610
+ try {
611
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
612
+ }
613
+ finally { if (e_2) throw e_2.error; }
614
+ }
615
+ return true;
616
+ };
617
+ FormAuroraComponent.prototype.validMaxLengthAllQuestions = function (form) {
618
+ var e_3, _a;
619
+ try {
620
+ for (var _b = __values(this.dataForm.formQuestions), _c = _b.next(); !_c.done; _c = _b.next()) {
621
+ var item = _c.value;
622
+ if (item.question.questionType.id == 1 || item.question.questionType.id == 2) {
623
+ var maxLength = parseInt(item.question.maxLength);
624
+ var formValueLength = parseInt(form[item.question.value].toString().length);
625
+ if (maxLength > 0 && formValueLength != maxLength && formValueLength > maxLength)
626
+ return false;
627
+ }
628
+ }
629
+ }
630
+ catch (e_3_1) { e_3 = { error: e_3_1 }; }
631
+ finally {
632
+ try {
633
+ if (_c && !_c.done && (_a = _b.return)) _a.call(_b);
634
+ }
635
+ finally { if (e_3) throw e_3.error; }
636
+ }
637
+ return true;
638
+ };
639
+ FormAuroraComponent.prototype.validRequired = function (form, question) {
640
+ //se deja catch por error no controlable en otro tiempo de ejecucion
641
+ try {
642
+ if (question != undefined && question.value != undefined) {
643
+ if (form.controls[question.value] != undefined &&
644
+ form.controls[question.value].errors != null &&
645
+ form.controls[question.value].errors.required) {
646
+ return true;
647
+ }
648
+ }
649
+ }
650
+ catch (error) { }
651
+ return false;
652
+ };
653
+ FormAuroraComponent.prototype.validMinLength = function (form, question) {
654
+ //se deja catch por error no controlable en otro tiempo de ejecucion
655
+ try {
656
+ if (question != undefined && question.value != undefined) {
657
+ if (question.minLength > form.controls[question.value].value.toLocaleString().length && question.minLength > 0) {
658
+ return true;
659
+ }
660
+ }
661
+ }
662
+ catch (error) { }
663
+ return false;
664
+ };
665
+ FormAuroraComponent.prototype.validMaxLength = function (form, question) {
666
+ //se deja catch por error no controlable en otro tiempo de ejecucion
667
+ try {
668
+ if (question != undefined && question.value != undefined) {
669
+ if (question.maxLength > 0) {
670
+ if (question.maxLength + 1 <= form.controls[question.value].value.toString().replace(/\./g, '').length) {
671
+ if (!this.formDynamic.controls[question.value].hasError('errorMaxLength')) {
672
+ this.formDynamic.controls[question.value].setErrors({ 'errorMaxLength': true });
673
+ }
674
+ return true;
675
+ }
676
+ }
677
+ }
678
+ }
679
+ catch (error) { }
680
+ return false;
681
+ };
682
+ FormAuroraComponent.prototype.tycSelection = function (event) {
683
+ this.viewAuthData.emit(event);
684
+ };
685
+ FormAuroraComponent.prototype.openLabelUrl = function (event, question) {
686
+ event.preventDefault();
687
+ var tyc = document.getElementById("check" + question.id);
688
+ tyc.style.color = "#A3AD32";
689
+ window.open(question.urllabel, "_blank");
690
+ };
691
+ FormAuroraComponent.prototype.cancellKeypress = function () {
692
+ return false;
693
+ };
694
+ FormAuroraComponent.prototype.emailRulesValidate = function (formQuestion) {
695
+ var valOk = true;
696
+ try {
697
+ var hasError = false;
698
+ document.getElementById(formQuestion.question.id).setAttribute("hidden", "true");
699
+ var eml = document.getElementById(formQuestion.question.id);
700
+ var email = formQuestion.question.registred;
701
+ if (!hasError) {
702
+ if (formQuestion.question.required && (email == "" || email == undefined || email == null)) {
703
+ eml.style.borderColor = "#FF0000";
704
+ eml.textContent = "El correco eléctronico es requerido";
705
+ eml.removeAttribute("hidden");
706
+ valOk = false;
707
+ hasError = true;
708
+ }
709
+ }
710
+ if (!hasError) {
711
+ if (this.validMinLength(undefined, formQuestion.question)) {
712
+ eml.style.borderColor = "#FF0000";
713
+ eml.textContent = "Debe ser mínimo de " + formQuestion.question.minLength + " caracteres";
714
+ document.getElementById(formQuestion.question.id).removeAttribute("hidden");
715
+ valOk = false;
716
+ hasError = true;
717
+ }
718
+ }
719
+ if (!hasError) {
720
+ if (this.validMaxLength(undefined, formQuestion.question)) {
721
+ eml.style.borderColor = "#FF0000";
722
+ eml.textContent = "Debe ser maximo de " + formQuestion.question.maxLength + " caracteres";
723
+ document.getElementById(formQuestion.question.id).removeAttribute("hidden");
724
+ valOk = false;
725
+ hasError = true;
726
+ }
727
+ }
728
+ if (!hasError) {
729
+ var matches = String(email).match(regexType.email.exp);
730
+ if (matches == null) {
731
+ eml.style.borderColor = "#FF0000";
732
+ eml.textContent = "Tu email es invalido";
733
+ eml.removeAttribute("hidden");
734
+ valOk = false;
735
+ hasError = true;
736
+ }
737
+ }
738
+ }
739
+ catch (error) {
740
+ }
741
+ return valOk;
742
+ };
743
+ FormAuroraComponent.prototype.calendarRulesValidate = function (formQuestion) {
744
+ var hasError = false;
745
+ try {
746
+ document.getElementById(formQuestion.question.id).setAttribute("hidden", "true");
747
+ var ecalendar = document.getElementById(formQuestion.question.id);
748
+ //se valida que no sea null si es requerido
749
+ var date = formQuestion.question.registred;
750
+ if (formQuestion.question.required && (date == "" || date == undefined || date == null)) {
751
+ ecalendar.style.borderColor = "#FF0000";
752
+ ecalendar.textContent = "La fecha es requerida";
753
+ ecalendar.removeAttribute("hidden");
754
+ }
755
+ }
756
+ catch (error) {
757
+ }
758
+ };
759
+ FormAuroraComponent.prototype.validateNotSpace = function (event) {
760
+ if (event.charCode == 32) {
761
+ return false;
762
+ }
763
+ else {
764
+ return true;
765
+ }
766
+ };
767
+ FormAuroraComponent.prototype.validateNumeroDocumento = function (numeroDoc) {
768
+ if (!numeroDoc.match("^[0-9]*$")) {
769
+ this.formDynamic.controls["numeroDoc"].setValidators([Validators.pattern('^[0-9]*$')]);
770
+ this.formDynamic.controls["numeroDoc"].markAsDirty();
771
+ this.formDynamic.controls["numeroDoc"].updateValueAndValidity();
772
+ this.formDynamic.controls["numeroDoc"].markAsTouched();
773
+ this.patternNotValidDcto = true;
774
+ return false;
775
+ }
776
+ this.patternNotValidDcto = false;
777
+ return true;
778
+ };
779
+ FormAuroraComponent.prototype.validateCelular = function (numeroCel) {
780
+ if (!numeroCel.match("^[0-9]*$")) {
781
+ this.formDynamic.controls["celular"].setValidators([Validators.pattern('^[0-9]*$')]);
782
+ this.formDynamic.controls["celular"].markAsDirty();
783
+ this.formDynamic.controls["celular"].updateValueAndValidity();
784
+ this.formDynamic.controls["celular"].markAsTouched();
785
+ this.patternNotValidCel = true;
786
+ return false;
787
+ }
788
+ this.patternNotValidCel = false;
789
+ return true;
790
+ };
791
+ FormAuroraComponent.prototype.onkeypress = function (event) {
792
+ return (event.charCode == 0) ? null : event.charCode >= 48 && event.charCode <= 57;
793
+ };
794
+ FormAuroraComponent.prototype.onChangeStep = function (step, nextStep, value) {
795
+ if (nextStep && nextStep.stepOrder != 1) {
796
+ this.resetField(step);
797
+ nextStep.viewData = [];
798
+ nextStep.viewData = nextStep.stepData.filter(function (x) { return x.relationalIds.includes(Number(value)); });
799
+ }
800
+ };
801
+ FormAuroraComponent.prototype.resetField = function (stepIn) {
802
+ this.steps.forEach(function (step) {
803
+ if (step.stepOrder > stepIn.stepOrder) {
804
+ step.viewData = undefined;
805
+ step.value = undefined;
806
+ }
807
+ });
808
+ };
809
+ FormAuroraComponent.ctorParameters = function () { return [
810
+ { type: CommonDataService },
811
+ { type: HttpClient }
812
+ ]; };
813
+ __decorate([
814
+ Input()
815
+ ], FormAuroraComponent.prototype, "dataClassCss", void 0);
816
+ __decorate([
817
+ Input()
818
+ ], FormAuroraComponent.prototype, "dataForm", void 0);
819
+ __decorate([
820
+ Input()
821
+ ], FormAuroraComponent.prototype, "clickSubmit", void 0);
822
+ __decorate([
823
+ Input()
824
+ ], FormAuroraComponent.prototype, "dataReloadForm", void 0);
825
+ __decorate([
826
+ Input()
827
+ ], FormAuroraComponent.prototype, "welcomeTitle", void 0);
828
+ __decorate([
829
+ Input()
830
+ ], FormAuroraComponent.prototype, "welcomeDescription", void 0);
831
+ __decorate([
832
+ Input()
833
+ ], FormAuroraComponent.prototype, "urlPdf", void 0);
834
+ __decorate([
835
+ Input()
836
+ ], FormAuroraComponent.prototype, "nameCompany", void 0);
837
+ __decorate([
838
+ Input()
839
+ ], FormAuroraComponent.prototype, "schedule", void 0);
840
+ __decorate([
841
+ Input()
842
+ ], FormAuroraComponent.prototype, "isSimpleFlow", void 0);
843
+ __decorate([
844
+ Input()
845
+ ], FormAuroraComponent.prototype, "company", void 0);
846
+ __decorate([
847
+ Input()
848
+ ], FormAuroraComponent.prototype, "steps", void 0);
849
+ __decorate([
850
+ ViewChild('formDynamic', { static: true })
851
+ ], FormAuroraComponent.prototype, "formDynamic", void 0);
852
+ __decorate([
853
+ Output()
854
+ ], FormAuroraComponent.prototype, "response", void 0);
855
+ __decorate([
856
+ Output()
857
+ ], FormAuroraComponent.prototype, "summit", void 0);
858
+ __decorate([
859
+ Output()
860
+ ], FormAuroraComponent.prototype, "viewAuthData", void 0);
861
+ __decorate([
862
+ ViewChild("modalTurns", { static: false })
863
+ ], FormAuroraComponent.prototype, "myModal", void 0);
864
+ FormAuroraComponent = __decorate([
865
+ Component({
866
+ selector: 'lib-FormAurora',
867
+ template: "<div class=\"card\">\r\n <span class=\"text-center mt-2 d-none d-sm-block\" *ngIf=\"!isSimpleFlow\">\r\n <img style=\"width: 115px; height:96px;\" [class]=\"dataClassCss.logo\" id=\"logo\">\r\n </span>\r\n <div class=\"text-center mt-2 d-none d-sm-block\" *ngIf=\"isSimpleFlow\" style=\"margin-top: 4%!important;\">\r\n </div>\r\n <div class=\"card-body pt-0\">\r\n <ng-container *ngIf=\"schedule\">\r\n <h4 class=\"card-title text-center mb-0\" [class]=\"dataClassCss.bienvenida2\" style=\"color: #EE7E0E;\">\r\n Horarios de atenci\u00F3n\r\n </h4>\r\n <small class=\"text-center d-block\">{{schedule}}</small>\r\n </ng-container>\r\n <form #formDynamic=\"ngForm\">\r\n <div *ngFor=\"let control of dataForm?.formQuestions; let index = index; trackBy: trackByIndex\">\r\n <div\r\n *ngIf=\"(index > 0 && (dataForm.formQuestions[index - 1].question.questionType.id == 3 && dataForm.formQuestions[index].question.questionType.id == 2)) || (index < dataForm.formQuestions.length && dataForm.formQuestions[index].question.questionType.id == 3 && dataForm.formQuestions[index + 1].question.questionType.id == 2); else switchTemp\">\r\n <div class=\"row\"\r\n *ngIf=\"(index > 0 && (dataForm.formQuestions[index - 1].question.questionType.id == 3 && dataForm.formQuestions[index].question.questionType.id == 2))\">\r\n <div class=\"col-lg-6 col-xs-12\">\r\n <div [class]=\"dataClassCss.cl12\">\r\n <label for=\"{{dataForm.formQuestions[index - 1].question.value}}\" class=\"col-sm-12\"\r\n style=\"display: block; text-align: left;\">\r\n <span class=\"h6 small bg-white text-muted\">{{dataForm.formQuestions[index -\r\n 1].question.label}}</span>\r\n </label>\r\n <div class=\"selectContainer\">\r\n <select [name]=\"dataForm.formQuestions[index - 1].question.value\"\r\n [required]=\"dataForm.formQuestions[index - 1].question.required\"\r\n [class]=\"dataClassCss.formcontrol\"\r\n id=\"{{dataForm.formQuestions[index - 1].question.value}}\"\r\n style=\"margin-top: -1rem !important;\"\r\n [(ngModel)]=\"defaultDocType !== '' ? defaultDocType : dataForm.formQuestions[index - 1].question.registred\">\r\n <option value=\"\" selected disabled hidden>Selecciona</option>\r\n <ng-container\r\n *ngFor=\"let item of dataForm.formQuestions[index - 1].question.questionAnswers\">\r\n <option *ngIf=\"item.answer.state.id == 1\" [value]=\"item.answer.value\">\r\n {{ item.answer.field }}\r\n </option>\r\n </ng-container>\r\n </select>\r\n </div>\r\n </div>\r\n <div style=\"margin-left: 15px;\"\r\n *ngIf=\"dataForm.formQuestions[index].question.questionType.id != 5 && dataForm.formQuestions[index].question.questionType.id != 6\">\r\n <span class=\"error\" [id]=\"'char'+dataForm.formQuestions[index-1].question.value\"\r\n hidden></span>\r\n </div>\r\n </div>\r\n <div class=\"col-lg-6 col-xs-12\">\r\n <div [class]=\"dataClassCss.cl12\">\r\n <label for=\"{{dataForm.formQuestions[index].question.value}}\"\r\n class=\"col-sm-12 p-sm-0 px-sm-1\" style=\"display: block; text-align: left;\">\r\n <span\r\n class=\"h6 small bg-white text-muted pt-1 pl-2 pr-2\">{{dataForm.formQuestions[index].question.label}}</span>\r\n </label>\r\n <input type=\"text\" pattern=\"\\d*\" inputmode=\"numeric\"\r\n id=\"{{dataForm.formQuestions[index].question.value}}\"\r\n style=\"margin-top: -1rem !important;\"\r\n [name]=\"dataForm.formQuestions[index].question.value\" placeholder=\"Escribe\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n (change)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (blur)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (keyup)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n onkeypress=\"onkeypress($event)\"\r\n onkeyup=\"(this.value=(value.replace(/[.]*/g,'')))\"\r\n maxlength=\"dataForm.formQuestions[index].question.maxLength\"\r\n [minLength]=\"dataForm.formQuestions[index].question.minLength\"\r\n [(ngModel)]=\"dataForm.formQuestions[index].question.registred\"\r\n [class]=\"dataClassCss.formcontrol\" />\r\n\r\n </div>\r\n\r\n <div style=\"margin-left: 15px;\"\r\n *ngIf=\"dataForm.formQuestions[index].question.questionType.id != 5 && dataForm.formQuestions[index].question.questionType.id != 6\">\r\n <span class=\"error\" [id]=\"'rq'+dataForm.formQuestions[index].question.value\"\r\n *ngIf=\"validRequired(formDynamic,dataForm.formQuestions[index].question) && watchValid\">\r\n Este campo es obligatorio</span>\r\n <span class=\"error\" [id]=\"'ml'+dataForm.formQuestions[index].question.value\" hidden>\r\n Debe ser m\u00EDnimo de\r\n {{ dataForm.formQuestions[index].question.minLength }} caracteres</span>\r\n <span class=\"error\" [id]=\"'mxl'+dataForm.formQuestions[index].question.value\" hidden>\r\n Debe ser maximo de\r\n {{ dataForm.formQuestions[index].question.maxLength }} caracteres</span>\r\n <span class=\"error\" [id]=\"'char'+dataForm.formQuestions[index].question.value\"\r\n hidden></span>\r\n <span *ngIf=\"patternNotValidDcto === true\" class=\"error\">Formato no valido</span>\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n\r\n <ng-template #switchTemp>\r\n <div [ngSwitch]=\"dataForm.formQuestions[index].question.questionType.id\">\r\n <div *ngSwitchCase=\"1\">\r\n <div [class]=\"dataClassCss.cl12\">\r\n <label for=\"{{dataForm.formQuestions[index].question.value}}\" class=\"col-sm-12\"\r\n style=\"display: block; text-align: left; \">\r\n <span\r\n class=\"h6 small bg-white text-muted pt-1 pl-2 pr-2\">{{dataForm.formQuestions[index].question.label}}</span>\r\n </label>\r\n <input type=\"text\" id=\"{{dataForm.formQuestions[index].question.value}}\"\r\n [class]=\"dataClassCss.formcontrol\" placeholder=\"Escribe\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n [maxlength]=\"dataForm.formQuestions[index].question.maxLength\"\r\n [name]=\"dataForm.formQuestions[index].question.value\"\r\n (keydown)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (change)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (blur)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n [(ngModel)]=\"dataForm.formQuestions[index].question.registred\"\r\n style=\"margin-top: -1rem !important;\" />\r\n </div>\r\n </div>\r\n <div *ngSwitchCase=\"2\">\r\n\r\n <div [class]=\"dataClassCss.cl12\">\r\n <label for=\"{{dataForm.formQuestions[index].question.value}}\" class=\"col-sm-12\"\r\n style=\"display: block; text-align: left;\">\r\n <span\r\n class=\"h6 small bg-white text-muted pt-1 pl-2 pr-2\">{{dataForm.formQuestions[index].question.label}}</span>\r\n </label>\r\n <input type=\"text\" pattern=\"\\d*\" inputmode=\"numeric\"\r\n id=\"{{dataForm.formQuestions[index].question.value}}\"\r\n style=\"margin-top: -1rem !important;\"\r\n [name]=\"dataForm.formQuestions[index].question.value\" placeholder=\"Escribe\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n (keydown)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (change)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (blur)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n onkeypress=\"onkeypress($event)\"\r\n onkeyup=\"(this.value=(value.replace(/[.]*/g,'')))\"\r\n maxlength=\"dataForm.formQuestions[index].question.maxLength\"\r\n [minLength]=\"dataForm.formQuestions[index].question.minLength\"\r\n [(ngModel)]=\"dataForm.formQuestions[index].question.registred\"\r\n [class]=\"dataClassCss.formcontrol\" />\r\n <span *ngIf=\"patternNotValidCel === true\" class=\"error\">Formato no valido</span>\r\n </div>\r\n \r\n </div>\r\n <div *ngSwitchCase=\"3\">\r\n <div [class]=\"dataClassCss.cl12\">\r\n <label for=\"{{dataForm.formQuestions[index].question.value}}\" class=\"col-sm-12\"\r\n style=\"display: block; text-align: left;\">\r\n <span\r\n class=\"h6 small bg-white text-muted\">{{dataForm.formQuestions[index].question.label}}</span>\r\n </label>\r\n <select [name]=\"dataForm.formQuestions[index].question.value\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n [class]=\"dataClassCss.formcontrol\"\r\n id=\"{{dataForm.formQuestions[index].question.value}}\"\r\n style=\"margin-top: -1rem !important;\"\r\n [(ngModel)]=\"defaultDocType !== '' ? defaultDocType : dataForm.formQuestions[index].question.registred\">\r\n <option value=\"\" selected disabled hidden>Selecciona</option>\r\n <ng-container\r\n *ngFor=\"let item of dataForm.formQuestions[index].question.questionAnswers\">\r\n <option *ngIf=\"item.answer.state.id == 1\" [value]=\"item.answer.value\">\r\n {{ item.answer.field }}\r\n </option>\r\n </ng-container>\r\n </select>\r\n </div>\r\n </div>\r\n <div *ngSwitchCase=\"4\">\r\n <select class=\"{{ dataClassCss.formcontrol }} select-checkbox\"\r\n style=\"overflow: hidden; border-style: hidden;\"\r\n [style.height.px]=\"dataForm.formQuestions[index].question.questionAnswers.length * 24\"\r\n [name]=\"dataForm.formQuestions[index].question.value\"\r\n [required]=\"dataForm.formQuestions[index].question.required\" ngModel multiple>\r\n <option \r\n (mousemove)=\"$event.preventDefault()\"\r\n *ngFor=\"let item of dataForm.formQuestions[index].question.questionAnswers\"\r\n [value]=\"item.answer.value\">\r\n {{ item.answer.field }}\r\n </option>\r\n </select>\r\n </div>\r\n <div *ngSwitchCase=\"5\">\r\n <a (click)=\"rediretoutside($event,dataForm.formQuestions[index].question)\" href=\"\">\r\n <span>{{ dataForm.formQuestions[index].question.label }}</span>\r\n </a>\r\n </div>\r\n <div *ngSwitchCase=\"6\">\r\n <div [class]=\"dataClassCss.cl12\" [id]=\"'reCaptcha'\">\r\n <div class=\"cnt-captcha\">\r\n <re-captcha (resolved)=\"resolvedCaptcha($event)\"\r\n siteKey=\"6LfQisEZAAAAAARuuKFEAgS-x4qJse5uBA_QCA7v\"></re-captcha>\r\n <input hidden type=\"text\" [name]=\"dataForm.formQuestions[index].question.value\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n [(ngModel)]=\"dataForm.formQuestions[index].question.registred\">\r\n </div>\r\n <span class=\"error\" *ngIf=\"watchValid && !captchaValid\" style=\"margin-top: 0;\">\r\n Debe resolver la captcha para continuar\r\n </span>\r\n </div>\r\n </div>\r\n <div *ngSwitchCase=\"7\">\r\n <div [class]=\"dataClassCss.cl12\">\r\n <label for=\"{{dataForm.formQuestions[index].question.value}}\" class=\"col-sm-12\"\r\n style=\"display: block; text-align: left; margin-bottom: 0 ;\">\r\n <span\r\n class=\"h6 small bg-white text-muted pt-1 pl-2 pr-2\">{{dataForm.formQuestions[index].question.label}}</span>\r\n </label>\r\n <input placeholder=\"dd/mm/aaaa\" style=\"margin-top: -0.4rem !important;\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n [name]=\"dataForm.formQuestions[index].question.value\" type=\"date\" min=\"{{minDate}}\"\r\n max=\"{{maxDate}}\" [maxlength]=\"10\" (paste)=\"false\"\r\n id=\"{{dataForm.formQuestions[index].question.value}}\"\r\n [class]=\"dataClassCss.txtCalendar\"\r\n [(ngModel)]=\"dataForm.formQuestions[index].question.registred\"\r\n (keydown)=\"cancellKeypress()\"\r\n (change)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (blur)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\">\r\n\r\n <button class=\"btn\" id=\"{{dataForm.formQuestions[index].question.value}}\" type=\"button\"\r\n style=\"width: 46px;\r\n top: 12px;\r\n color: white;\r\n right: 15px;\r\n position: absolute;\r\n background: #D25D42;\r\n pointer-events: none;\">\r\n <i class=\"fa fa-calendar\"></i>\r\n </button>\r\n\r\n </div>\r\n </div>\r\n <div *ngSwitchCase=\"8\">\r\n <div [class]=\"dataClassCss.cl12\" style=\"text-align: left; margin-bottom: 10px;\">\r\n <input style=\"width: 4% !important; height: auto !important; display: inline !important;\" type=\"checkbox\"\r\n [name]=\"dataForm.formQuestions[index].question.value\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n [(ngModel)]=\"dataForm.formQuestions[index].question.registred\"\r\n [class]=\"dataClassCss.formcontrol\">\r\n <!-- (change)=\"checkTermsAndConditions(dataForm.formQuestions[index].question.registred)\" -->\r\n \r\n <!-- <a href=\"{{urlPdf}}\" target=\"_blank\" style=\"text-decoration: underline;\"\r\n id=\"txtPoliticas\" (click)=\"tycSelection()\">\r\n {{dataForm.formQuestions[index].question.label}}\r\n </a> -->\r\n <a target=\"_blank\" style=\"text-decoration: underline;color:blue;cursor: pointer;\"\r\n id=\"txtPoliticas\" (click)=\"tycSelection($event)\">\r\n {{dataForm.formQuestions[index].question.label}}\r\n </a>\r\n </div>\r\n </div>\r\n <div *ngSwitchCase=\"9\">\r\n <div [class]=\"dataClassCss.cl12\">\r\n <label for=\"{{dataForm.formQuestions[index].question.value}}\" class=\"col-sm-12\"\r\n style=\"display: block; text-align: left; \">\r\n <span\r\n class=\"h6 small bg-white text-muted pt-1 pl-2 pr-2\">{{dataForm.formQuestions[index].question.label}}</span>\r\n </label>\r\n <input type=\"text\" id=\"{{dataForm.formQuestions[index].question.value}}\"\r\n [class]=\"dataClassCss.formcontrol\" placeholder=\"Escribe\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n [maxlength]=\"dataForm.formQuestions[index].question.maxLength\"\r\n [name]=\"dataForm.formQuestions[index].question.value\"\r\n (keydown)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (change)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (blur)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (keypress)=\"validOnlyText($event)\"\r\n [(ngModel)]=\"dataForm.formQuestions[index].question.registred\"\r\n style=\"margin-top: -1rem !important;\" />\r\n </div>\r\n </div>\r\n <div *ngSwitchCase=\"10\">\r\n <div [class]=\"dataClassCss.cl12\" style=\"text-align: left; margin-bottom: 10px;\">\r\n <input style=\"width: 4% !important; height: auto !important; display: inline !important;\"\r\n type=\"checkbox\" [name]=\"dataForm.formQuestions[index].question.value\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n [(ngModel)]=\"dataForm.formQuestions[index].question.registred\">\r\n <a target=\"_blank\" style=\"text-decoration: underline;color:blue;cursor: pointer;\"\r\n id=\"check{{dataForm.formQuestions[index].question.id}}\"\r\n (click)=\"openLabelUrl($event,dataForm.formQuestions[index].question)\">\r\n {{dataForm.formQuestions[index].question.label}}\r\n </a>\r\n </div>\r\n </div>\r\n <div *ngSwitchCase=\"11\">\r\n <div [class]=\"dataClassCss.cl12\">\r\n <label for=\"{{dataForm.formQuestions[index].question.value}}\" class=\"col-sm-12\"\r\n style=\"display: block; text-align: left; \">\r\n <span\r\n class=\"h6 small bg-white text-muted pt-1 pl-2 pr-2\">{{dataForm.formQuestions[index].question.label}}</span>\r\n </label>\r\n <input type=\"text\" id=\"{{dataForm.formQuestions[index].question.value}}\"\r\n [class]=\"dataClassCss.formcontrol\" placeholder=\"Escribe\"\r\n [required]=\"dataForm.formQuestions[index].question.required\"\r\n [maxlength]=\"dataForm.formQuestions[index].question.maxLength\"\r\n [name]=\"dataForm.formQuestions[index].question.value\"\r\n (keydown)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (change)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (blur)=\"onChangeValidPatter($event, dataForm.formQuestions[index].question)\"\r\n (keypress)=\"validateNotSpace($event)\"\r\n [(ngModel)]=\"dataForm.formQuestions[index].question.registred\"\r\n style=\"margin-top: -1rem !important;\" />\r\n </div>\r\n </div>\r\n <div *ngSwitchDefault>Tipo de control no detectado</div>\r\n <div style=\"margin-left: 15px;\"\r\n *ngIf=\"dataForm.formQuestions[index].question.questionType.id != 5 && dataForm.formQuestions[index].question.questionType.id != 6\">\r\n <span class=\"error\" [id]=\"'rq'+dataForm.formQuestions[index].question.value\"\r\n *ngIf=\"validRequired(formDynamic,dataForm.formQuestions[index].question) && watchValid\">\r\n Este campo es obligatorio</span>\r\n <span class=\"error\" [id]=\"'ml'+dataForm.formQuestions[index].question.value\" hidden>\r\n Debe ser m\u00EDnimo de\r\n {{ dataForm.formQuestions[index].question.minLength }} caracteres</span>\r\n <span class=\"error\" [id]=\"'mxl'+dataForm.formQuestions[index].question.value\" hidden>\r\n Debe ser maximo de\r\n {{ dataForm.formQuestions[index].question.maxLength }} caracteres</span>\r\n <span class=\"error\" [id]=\"'char'+dataForm.formQuestions[index].question.value\"\r\n hidden></span>\r\n <span class=\"error\" [id]=\"dataForm.formQuestions[index].question.id\" hidden></span>\r\n </div>\r\n </div>\r\n </ng-template>\r\n </div>\r\n <section *ngIf=\"isSimpleFlow\">\r\n <div *ngFor=\"let step of steps let index = index; trackBy: trackByIndex\">\r\n <div [class]=\"dataClassCss.cl12\" *ngIf=\"step.viewData\">\r\n <label for=\"{{step.id}}\" class=\"col-sm-12\" style=\"display: block; text-align: left;\">\r\n <span class=\"h6 small bg-white text-muted\">{{step.step}}</span>\r\n </label>\r\n <select [name]=\"step.step\" [required]=\"true\" [class]=\"dataClassCss.formcontrol\" id=\"{{step.step}}\"\r\n style=\"margin-top: -1rem !important;\" [(ngModel)]=\"step.value\"\r\n (ngModelChange)=\"onChangeStep(step,steps[index+1],$event)\">\r\n <option value=\"\" selected disabled hidden>Selecciona</option>\r\n <ng-container *ngFor=\"let subitem of step.viewData\">\r\n <option [value]=\"subitem.id\">\r\n {{ subitem.description }}\r\n </option>\r\n </ng-container>\r\n </select>\r\n </div>\r\n </div>\r\n </section>\r\n <div class=\"mt-3 text-center\">\r\n <button type=\"button\" [class]=\"dataClassCss.btn\" (click)=\"onSubmit()\" [disabled]=\"!formDynamic.valid\"\r\n id=\"btnIng\">Ingresar</button>\r\n </div>\r\n </form>\r\n </div>\r\n</div>\r\n",
868
+ providers: [
869
+ { provide: NgbDateAdapter, useClass: CustomAdapter },
870
+ { provide: NgbDateParserFormatter, useClass: CustomDateParserFormatter },
871
+ { provide: NgbDatepickerI18n, useClass: CustomDatepickerI18n },
872
+ I18n
873
+ ],
874
+ styles: ["form{font-size:12px;overflow-y:scroll;overflow-x:hidden}form input,form select{border:1px solid #e4e4e4;height:40px;margin-bottom:5px}.selectContainer select{-webkit-appearance:none;-moz-appearance:none;appearance:none}.selectContainer::after{content:\"\\025be\";display:table-cell;text-align:center;padding-top:7px;width:30px;height:30px;position:absolute;top:14px;right:20px;pointer-events:none}form .error{color:red;font-size:12px;text-align:left;margin:-15px 0 15px;padding:0;width:90%}.error:after{content:\" \";display:block}.card{width:90%;margin:2% auto;border-radius:12px}@media (max-width:412px){.card{width:100%}.cnt-captcha{transform:scale(.77)}}@media (max-width:575.98px){.card{width:100%}.cnt-captcha{transform:scale(.77)}}@media (max-width:880.98px){.cnt-captcha{transform:scale(.82)}}input[type=date]::-webkit-calendar-picker-indicator{background:0 0;bottom:0;color:transparent;cursor:pointer;height:auto;left:0;position:absolute;right:0;top:0;width:auto}::-webkit-scrollbar{width:5px}::-webkit-scrollbar-track{background:#f5f5f5}::-webkit-scrollbar-thumb{background:#e0e0e0}::-webkit-scrollbar-thumb:hover{background:#bdbdbd}"]
875
+ })
876
+ ], FormAuroraComponent);
877
+ return FormAuroraComponent;
878
+ }());
879
+
880
+ var CommonTemplateService = /** @class */ (function () {
881
+ function CommonTemplateService(http) {
882
+ this.http = http;
883
+ }
884
+ CommonTemplateService.prototype.getTemplate = function (idCompany, url) {
885
+ return this.http.get(url + "/template/findByCompany/" + idCompany);
886
+ };
887
+ CommonTemplateService.prototype.reloadStylePage = function (currentDocument, templateCompany) {
888
+ var e_1, _a;
889
+ var objects = currentDocument.getElementsByClassName("template");
890
+ // debugger
891
+ for (var index = 0; index < objects.length; index++) {
892
+ var item = objects[index];
893
+ var itemClassName = typeof (item.className) == "object" ? item.className['baseVal'] : item.className;
894
+ var indexStart = itemClassName.indexOf("template");
895
+ // let keyString = itemClassName.substring(indexStart, itemClassName.length).split(' ')[1]
896
+ var keysString = itemClassName.substring(indexStart, itemClassName.length).split(' ').filter(function (a) { return a.indexOf('tmp_') !== -1; });
897
+ try {
898
+ for (var keysString_1 = (e_1 = void 0, __values(keysString)), keysString_1_1 = keysString_1.next(); !keysString_1_1.done; keysString_1_1 = keysString_1.next()) {
899
+ var keyString = keysString_1_1.value;
900
+ if (templateCompany[keyString] != undefined) {
901
+ if (keyString.includes("tmp_type_text_")) {
902
+ if (keyString.includes('tmp_type_text_6')) {
903
+ item['style'].setProperty('--' + keyString, templateCompany[keyString].color);
904
+ }
905
+ else {
906
+ item["style"].color = templateCompany[keyString].color;
907
+ if (itemClassName.includes("ratting-faces-v2")) {
908
+ item["style"].backgroundColor = templateCompany[keyString].color;
909
+ item["style"].borderColor = templateCompany[keyString].color;
910
+ item["style"].color = "white";
911
+ }
912
+ }
913
+ }
914
+ if (keyString.includes("title1")) {
915
+ /*item["style"].color = templateCompany[keyString].color*/
916
+ item["style"].color = "#EE7E0E";
917
+ }
918
+ if (keyString.includes("tmp_type_svg_")) {
919
+ item["style"].fill = templateCompany[keyString].fill;
920
+ }
921
+ if (keyString.includes("tmp_type_img_")) {
922
+ if (item.nodeName == "IMG") {
923
+ item["src"] = templateCompany[keyString].src;
924
+ }
925
+ else {
926
+ item["style"].background = templateCompany[keyString].background;
927
+ item["style"].backgroundSize = templateCompany[keyString].backgroundSize;
928
+ }
929
+ }
930
+ if (keyString.includes("tmp_type_head_")) {
931
+ item["style"].setProperty('--' + keyString, templateCompany[keyString].color);
932
+ }
933
+ if (keyString.includes("tmp_type_footer_")) {
934
+ // debugger
935
+ item["style"].setProperty('--' + keyString, templateCompany[keyString].color);
936
+ }
937
+ if (itemClassName.includes("tmp_type_cnt_")) {
938
+ indexStart = itemClassName.indexOf("tmp_type_cnt_");
939
+ keyString = itemClassName.substring(indexStart, itemClassName.length).split(' ')[0];
940
+ if (!!templateCompany[keyString]) {
941
+ item["style"].backgroundColor = templateCompany[keyString].backgroundColor;
942
+ }
943
+ }
944
+ if (keyString.includes('tmp_type_font_')) {
945
+ item['style'].setProperty('font-family', templateCompany[keyString]['font-family'], 'important');
946
+ }
947
+ }
948
+ }
949
+ }
950
+ catch (e_1_1) { e_1 = { error: e_1_1 }; }
951
+ finally {
952
+ try {
953
+ if (keysString_1_1 && !keysString_1_1.done && (_a = keysString_1.return)) _a.call(keysString_1);
954
+ }
955
+ finally { if (e_1) throw e_1.error; }
956
+ }
957
+ }
958
+ };
959
+ CommonTemplateService.ctorParameters = function () { return [
960
+ { type: HttpClient }
961
+ ]; };
962
+ CommonTemplateService.ngInjectableDef = ɵɵdefineInjectable({ factory: function CommonTemplateService_Factory() { return new CommonTemplateService(ɵɵinject(HttpClient)); }, token: CommonTemplateService, providedIn: "root" });
963
+ CommonTemplateService = __decorate([
964
+ Injectable({
965
+ providedIn: "root",
966
+ })
967
+ ], CommonTemplateService);
968
+ return CommonTemplateService;
969
+ }());
970
+
971
+ var Fill = /** @class */ (function () {
972
+ function Fill() {
973
+ }
974
+ return Fill;
975
+ }());
976
+
977
+ var FormAuroraModule = /** @class */ (function () {
978
+ function FormAuroraModule() {
979
+ }
980
+ FormAuroraModule = __decorate([
981
+ NgModule({
982
+ declarations: [FormAuroraComponent],
983
+ imports: [
984
+ CommonModule,
985
+ FormsModule,
986
+ RecaptchaModule,
987
+ RecaptchaFormsModule
988
+ ],
989
+ exports: [FormAuroraComponent]
990
+ })
991
+ ], FormAuroraModule);
992
+ return FormAuroraModule;
993
+ }());
994
+
995
+ /*
996
+ * Public API Surface of form-aurora
997
+ */
998
+
999
+ /**
1000
+ * Generated bundle index. Do not edit.
1001
+ */
1002
+
1003
+ export { CommonDataService, CommonTemplateService, CustomAdapter, CustomDateParserFormatter, CustomDatepickerI18n, Fill, FormAuroraComponent, FormAuroraModule, I18n, regexType };
1004
+ //# sourceMappingURL=form-aurora-stefanini.js.map