kwikid-forms 0.5.14 → 0.5.15
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.
- package/bundles/kwikid-forms.umd.js +6 -5
- package/bundles/kwikid-forms.umd.js.map +1 -1
- package/esm2015/lib/renderer/config-converter/config-converter.constants.js +2 -2
- package/esm2015/lib/renderer/config-converter/config-converter.js +2 -1
- package/esm2015/lib/renderer/form-view/form-view.component.js +6 -6
- package/fesm2015/kwikid-forms.js +7 -6
- package/fesm2015/kwikid-forms.js.map +1 -1
- package/lib/renderer/form-view/form-view.component.d.ts +2 -2
- package/package.json +1 -1
package/fesm2015/kwikid-forms.js
CHANGED
|
@@ -7,7 +7,7 @@ import { KwikUIModule, KwikUIPipeModule } from 'kwikui';
|
|
|
7
7
|
import * as i3$1 from '@angular/forms';
|
|
8
8
|
import { FormGroup, FormControl, Validators, FormArray, FormsModule, ReactiveFormsModule } from '@angular/forms';
|
|
9
9
|
import * as i3 from '@taiga-ui/core';
|
|
10
|
-
import { TuiAlertService, TuiDialogService, TuiSvgModule, TuiLabelModule, TuiButtonModule, TuiDialogModule, TuiLoaderModule } from '@taiga-ui/core';
|
|
10
|
+
import { TuiNotification, TuiAlertService, TuiDialogService, TuiSvgModule, TuiLabelModule, TuiButtonModule, TuiDialogModule, TuiLoaderModule } from '@taiga-ui/core';
|
|
11
11
|
import * as i3$2 from '@angular/common';
|
|
12
12
|
import { CommonModule } from '@angular/common';
|
|
13
13
|
import { trigger, transition, style, animate } from '@angular/animations';
|
|
@@ -226,7 +226,7 @@ const FIELD_PROPERTIES = {
|
|
|
226
226
|
case: "default"
|
|
227
227
|
},
|
|
228
228
|
"aadhaar-number": {
|
|
229
|
-
mask: "
|
|
229
|
+
mask: "# # # # - # # # # - # # # #"
|
|
230
230
|
},
|
|
231
231
|
number: {
|
|
232
232
|
decimal: "never",
|
|
@@ -797,6 +797,7 @@ class Converter {
|
|
|
797
797
|
const formatFieldTypeAadhaarNumber = (field) => {
|
|
798
798
|
field = setFieldKeyHidden(field);
|
|
799
799
|
field = setFieldAsFormElement(field, true);
|
|
800
|
+
field = updateFormFieldProperties(field);
|
|
800
801
|
return field;
|
|
801
802
|
};
|
|
802
803
|
const formatFieldTypeFile = (field) => {
|
|
@@ -3886,12 +3887,12 @@ class KwikIDFormViewComponent {
|
|
|
3886
3887
|
this.alertService
|
|
3887
3888
|
.open(`${message}`, {
|
|
3888
3889
|
status: type === "error"
|
|
3889
|
-
?
|
|
3890
|
+
? TuiNotification.Error
|
|
3890
3891
|
: type === "warning"
|
|
3891
|
-
?
|
|
3892
|
+
? TuiNotification.Warning
|
|
3892
3893
|
: type === "success"
|
|
3893
|
-
?
|
|
3894
|
-
:
|
|
3894
|
+
? TuiNotification.Success
|
|
3895
|
+
: TuiNotification.Info
|
|
3895
3896
|
})
|
|
3896
3897
|
.subscribe({
|
|
3897
3898
|
complete() { }
|