kwikid-forms 0.6.37 → 0.6.39
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 +20 -3
- package/bundles/kwikid-forms.umd.js.map +1 -1
- package/esm2015/lib/renderer/config-converter/config-converter.constants.js +7 -1
- 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 +5 -4
- package/fesm2015/kwikid-forms.js +20 -3
- package/fesm2015/kwikid-forms.js.map +1 -1
- package/lib/renderer/config-converter/config-converter.constants.d.ts +6 -0
- package/lib/renderer/form-view/definitions/form-view.fields.definition.d.ts +12 -2
- package/lib/renderer/form-view/form-view.component.d.ts +1 -1
- 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;
|
|
@@ -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
|
};
|
|
@@ -100,7 +100,7 @@ export declare class KwikIDFormViewComponent implements OnInit, AfterViewInit, O
|
|
|
100
100
|
handleConnectedElementFields(currentField: any, connectedFieldConfig: any, eventType: string, nested: string): Promise<any>;
|
|
101
101
|
handleConnectedElements(e: any, eventType: string): Promise<void>;
|
|
102
102
|
handleRemovedFile(e: any): void;
|
|
103
|
-
handleViewButtonClick(field: any): void;
|
|
103
|
+
handleViewButtonClick(e: any, field: any): void;
|
|
104
104
|
handleGetKeyValueFile(e: any): Promise<void>;
|
|
105
105
|
/** Methods for Camera related fields like 'CAPTURE' or 'RECORD' */
|
|
106
106
|
handleOnClickGetRemovedMediaFile(e: any): void;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "kwikid-forms",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.39",
|
|
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
|
},
|