kwikid-forms 0.6.38 → 0.6.40
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 +28 -6
- package/bundles/kwikid-forms.umd.js.map +1 -1
- package/esm2015/lib/renderer/config-converter/config-converter.constants.js +11 -4
- package/esm2015/lib/renderer/config-converter/config-converter.js +10 -1
- package/esm2015/lib/renderer/form-view/definitions/form-view.fields.definition.js +2 -1
- package/esm2015/lib/renderer/form-view/form-view.component.js +2 -2
- package/esm2015/lib/renderer/forms-list/forms-list.component.js +8 -3
- package/fesm2015/kwikid-forms.js +28 -6
- package/fesm2015/kwikid-forms.js.map +1 -1
- package/lib/renderer/config-converter/config-converter.constants.d.ts +8 -1
- package/lib/renderer/form-view/definitions/form-view.fields.definition.d.ts +12 -2
- package/package.json +2 -2
|
@@ -16,6 +16,12 @@ export declare const FIELD_PROPERTIES: {
|
|
|
16
16
|
postfix: string;
|
|
17
17
|
prefix: string;
|
|
18
18
|
};
|
|
19
|
+
currency: {
|
|
20
|
+
containerStyles: string;
|
|
21
|
+
postfix: string;
|
|
22
|
+
prefix: string;
|
|
23
|
+
currencyType: string;
|
|
24
|
+
};
|
|
19
25
|
email: {
|
|
20
26
|
case: string;
|
|
21
27
|
containerStyles: string;
|
|
@@ -130,9 +136,10 @@ export declare const FIELD_PROPERTIES: {
|
|
|
130
136
|
containerStyles: string;
|
|
131
137
|
label: string;
|
|
132
138
|
link: string;
|
|
133
|
-
maxFileSize:
|
|
139
|
+
maxFileSize: any;
|
|
134
140
|
multiple: boolean;
|
|
135
141
|
size: string;
|
|
142
|
+
variant: string;
|
|
136
143
|
uploadFileToServer: boolean;
|
|
137
144
|
};
|
|
138
145
|
capture: {
|
|
@@ -30,9 +30,10 @@ export declare enum EFieldType {
|
|
|
30
30
|
CAPTURE = "capture",
|
|
31
31
|
RECORD = "record",
|
|
32
32
|
STAR_RATING = "star-rating",
|
|
33
|
-
LIVE_LOCATION = "live-location"
|
|
33
|
+
LIVE_LOCATION = "live-location",
|
|
34
|
+
CURRENCY = "currency"
|
|
34
35
|
}
|
|
35
|
-
export declare type TFieldType = EFieldType.HTML | EFieldType.TITLE | EFieldType.BUTTON | EFieldType.TEXT | EFieldType.TEXTAREA | EFieldType.CHECKBOX | EFieldType.NUMBER | EFieldType.DATE | EFieldType.TIME | EFieldType.PREVIEW_IMAGE | EFieldType.PHONE | EFieldType.RADIO | EFieldType.DROPDOWN_WITH_SEARCH | EFieldType.SELECT | EFieldType.API | EFieldType.API_CALL | EFieldType.OTP | EFieldType.AADHAAR_NUMBER | EFieldType.SLIDER | EFieldType.FILE | EFieldType.PASSWORD | EFieldType.EMAIL | EFieldType.CAPTURE | EFieldType.RECORD | EFieldType.STAR_RATING | EFieldType.LIVE_LOCATION;
|
|
36
|
+
export declare type TFieldType = EFieldType.HTML | EFieldType.TITLE | EFieldType.BUTTON | EFieldType.TEXT | EFieldType.TEXTAREA | EFieldType.CHECKBOX | EFieldType.NUMBER | EFieldType.DATE | EFieldType.TIME | EFieldType.PREVIEW_IMAGE | EFieldType.PHONE | EFieldType.RADIO | EFieldType.DROPDOWN_WITH_SEARCH | EFieldType.SELECT | EFieldType.API | EFieldType.API_CALL | EFieldType.OTP | EFieldType.AADHAAR_NUMBER | EFieldType.SLIDER | EFieldType.FILE | EFieldType.PASSWORD | EFieldType.EMAIL | EFieldType.CAPTURE | EFieldType.RECORD | EFieldType.STAR_RATING | EFieldType.LIVE_LOCATION | EFieldType.CURRENCY;
|
|
36
37
|
export declare type TFieldSelectOption = {
|
|
37
38
|
title: string;
|
|
38
39
|
value: string;
|
|
@@ -67,6 +68,12 @@ export declare type TFieldTextProperties = TFieldProperties & {
|
|
|
67
68
|
placeholder: string;
|
|
68
69
|
readOnly: string;
|
|
69
70
|
};
|
|
71
|
+
export declare type TFieldCurrencyProperties = TFieldProperties & {
|
|
72
|
+
containerStyles: string;
|
|
73
|
+
currencyType: string;
|
|
74
|
+
placeholder: string;
|
|
75
|
+
readOnly: string;
|
|
76
|
+
};
|
|
70
77
|
export declare type TFieldEmailProperties = TFieldProperties & {
|
|
71
78
|
case: string;
|
|
72
79
|
domains: Array<string>;
|
|
@@ -275,6 +282,9 @@ export declare type TFieldTitle = {
|
|
|
275
282
|
export declare type TFieldText = TField & {
|
|
276
283
|
properties: TFieldTextProperties;
|
|
277
284
|
};
|
|
285
|
+
export declare type TFieldCurrency = TField & {
|
|
286
|
+
properties: TFieldCurrencyProperties;
|
|
287
|
+
};
|
|
278
288
|
export declare type TFieldTextArea = TField & {
|
|
279
289
|
properties: TFieldTextareaProperties;
|
|
280
290
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kwikid-forms",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.40",
|
|
4
4
|
"description": "KwikID's JSON Configuration based Forms Renderer and Builder",
|
|
5
5
|
"author": {
|
|
6
6
|
"name": "Baiju Dodhia"
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"jsonpath": "^1.1.1",
|
|
26
26
|
"kwikid-camera": "0.0.21",
|
|
27
27
|
"kwikid-toolkit": "^0.2.12",
|
|
28
|
-
"kwikui": "^0.3.
|
|
28
|
+
"kwikui": "^0.3.19",
|
|
29
29
|
"lodash": "^4.17.21",
|
|
30
30
|
"tslib": "^2.2.0"
|
|
31
31
|
},
|