kwikid-forms 0.5.15 → 0.5.16
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 +70 -22
- package/bundles/kwikid-forms.umd.js.map +1 -1
- package/esm2015/lib/builder/builder-form-editor/builder-form-editor.component.js +27 -12
- package/esm2015/lib/builder/builder-form-editor/builder.form-editor.constants.js +35 -1
- package/esm2015/lib/renderer/form-view/form-view.component.js +1 -2
- package/fesm2015/kwikid-forms.js +59 -11
- package/fesm2015/kwikid-forms.js.map +1 -1
- package/lib/builder/builder-form-editor/builder-form-editor.component.d.ts +3 -1
- package/lib/builder/builder-form-editor/builder.form-editor.constants.d.ts +72 -0
- package/package.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EventEmitter, OnChanges, OnInit, SimpleChanges } from "@angular/core";
|
|
2
2
|
import { FormGroup } from "@angular/forms";
|
|
3
|
+
import { KwikUILoaderService } from "kwikui";
|
|
3
4
|
import { TFormEditorType } from "./builder-form-editor.definitions";
|
|
4
5
|
import { KwikIDFormBuilderFormEditorService } from "./builder.form-editor.service";
|
|
5
|
-
import { KwikUILoaderService } from "kwikui";
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class KwikIDBuilderFormEditorComponent implements OnInit, OnChanges {
|
|
8
8
|
loaderService: KwikUILoaderService;
|
|
@@ -88,6 +88,8 @@ export declare class KwikIDBuilderFormEditorComponent implements OnInit, OnChang
|
|
|
88
88
|
* Other Helper Methods
|
|
89
89
|
*/
|
|
90
90
|
copyToClipboard(): void;
|
|
91
|
+
convertToMinifiedJson(): void;
|
|
92
|
+
convertToCompleteJson(): void;
|
|
91
93
|
downloadJSON(): void;
|
|
92
94
|
/**
|
|
93
95
|
* Misc Methods
|
|
@@ -3,6 +3,7 @@ export declare const OPTIONS: {
|
|
|
3
3
|
type: string[];
|
|
4
4
|
disabled: boolean[];
|
|
5
5
|
properties: {
|
|
6
|
+
button: {};
|
|
6
7
|
text: {
|
|
7
8
|
case: string[];
|
|
8
9
|
};
|
|
@@ -65,6 +66,10 @@ export declare const FIELD_PROPERTIES_COMMON_CONFIG: {
|
|
|
65
66
|
placeholder: string;
|
|
66
67
|
};
|
|
67
68
|
export declare const FIELD_PROPERTIES_CONFIG: {
|
|
69
|
+
button: {
|
|
70
|
+
readOnly: boolean;
|
|
71
|
+
placeholder: string;
|
|
72
|
+
};
|
|
68
73
|
title: {
|
|
69
74
|
readOnly: boolean;
|
|
70
75
|
placeholder: string;
|
|
@@ -270,6 +275,27 @@ export declare const FIELD_CONFIG: {
|
|
|
270
275
|
max: number;
|
|
271
276
|
};
|
|
272
277
|
};
|
|
278
|
+
button: {
|
|
279
|
+
type: string;
|
|
280
|
+
properties: {
|
|
281
|
+
readOnly: boolean;
|
|
282
|
+
placeholder: string;
|
|
283
|
+
};
|
|
284
|
+
key: string;
|
|
285
|
+
label: string;
|
|
286
|
+
disabled: boolean;
|
|
287
|
+
validators: {
|
|
288
|
+
required: boolean;
|
|
289
|
+
minLength: number;
|
|
290
|
+
maxLength: number;
|
|
291
|
+
pattern: {
|
|
292
|
+
key: string;
|
|
293
|
+
pattern: string;
|
|
294
|
+
};
|
|
295
|
+
min: number;
|
|
296
|
+
max: number;
|
|
297
|
+
};
|
|
298
|
+
};
|
|
273
299
|
textarea: {
|
|
274
300
|
type: string;
|
|
275
301
|
properties: {
|
|
@@ -719,3 +745,49 @@ export declare const FIELD_CONFIG: {
|
|
|
719
745
|
};
|
|
720
746
|
};
|
|
721
747
|
};
|
|
748
|
+
export declare const NOFIELD_CONFIG: {
|
|
749
|
+
required: boolean;
|
|
750
|
+
type: string;
|
|
751
|
+
props: {
|
|
752
|
+
url: string;
|
|
753
|
+
title: string;
|
|
754
|
+
};
|
|
755
|
+
hidden: boolean;
|
|
756
|
+
disabled: boolean;
|
|
757
|
+
dependentOn: any[];
|
|
758
|
+
title: string;
|
|
759
|
+
properties: {
|
|
760
|
+
header: {
|
|
761
|
+
logo: {
|
|
762
|
+
src: string;
|
|
763
|
+
alt: string;
|
|
764
|
+
hidden: boolean;
|
|
765
|
+
};
|
|
766
|
+
backButton: {
|
|
767
|
+
mode: string;
|
|
768
|
+
bypassConfirmation: boolean;
|
|
769
|
+
hidden: boolean;
|
|
770
|
+
};
|
|
771
|
+
title: {
|
|
772
|
+
hidden: boolean;
|
|
773
|
+
label: string;
|
|
774
|
+
};
|
|
775
|
+
steps: {
|
|
776
|
+
hidden: boolean;
|
|
777
|
+
};
|
|
778
|
+
};
|
|
779
|
+
footer: {
|
|
780
|
+
viewFormsButton: {
|
|
781
|
+
bypassConfirmation: boolean;
|
|
782
|
+
hidden: boolean;
|
|
783
|
+
label: string;
|
|
784
|
+
};
|
|
785
|
+
saveButton: {
|
|
786
|
+
hidden: boolean;
|
|
787
|
+
label: string;
|
|
788
|
+
};
|
|
789
|
+
};
|
|
790
|
+
isUnsavedDataAlertEnabled: boolean;
|
|
791
|
+
};
|
|
792
|
+
fieldGroups: {};
|
|
793
|
+
};
|