kwikid-forms 0.5.16 → 0.6.2

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.
@@ -8,12 +8,15 @@ export declare const FIELD_PROPERTIES: {
8
8
  iconRight: string;
9
9
  shape: any;
10
10
  size: string;
11
+ containerStyles: string;
11
12
  };
12
13
  text: {
13
14
  case: string;
15
+ containerStyles: string;
14
16
  };
15
17
  "aadhaar-number": {
16
18
  mask: string;
19
+ containerStyles: string;
17
20
  };
18
21
  number: {
19
22
  decimal: string;
@@ -23,12 +26,34 @@ export declare const FIELD_PROPERTIES: {
23
26
  prefix: string;
24
27
  postfix: string;
25
28
  precision: number;
29
+ containerStyles: string;
26
30
  };
27
31
  phone: {
28
32
  countryCode: string;
29
33
  phoneMaskAfterCountryCode: string;
30
34
  removeCountryCodeFromValue: boolean;
31
35
  placeholder: string;
36
+ containerStyles: string;
37
+ };
38
+ html: {
39
+ properties: {
40
+ containerStyles: string;
41
+ };
42
+ };
43
+ checkbox: {
44
+ properties: {
45
+ containerStyles: string;
46
+ };
47
+ };
48
+ textarea: {
49
+ properties: {
50
+ containerStyles: string;
51
+ };
52
+ };
53
+ title: {
54
+ properties: {
55
+ containerStyles: string;
56
+ };
32
57
  };
33
58
  image: {
34
59
  altText: string;
@@ -39,6 +64,7 @@ export declare const FIELD_PROPERTIES: {
39
64
  loadingType: string;
40
65
  styles: string;
41
66
  class: string;
67
+ containerStyles: string;
42
68
  };
43
69
  date: {
44
70
  minCalculatedFromToday: {
@@ -52,10 +78,12 @@ export declare const FIELD_PROPERTIES: {
52
78
  day: number;
53
79
  };
54
80
  placeholder: string;
81
+ containerStyles: string;
55
82
  };
56
83
  radio: {
57
84
  size: string;
58
85
  orientation: string;
86
+ containerStyles: string;
59
87
  };
60
88
  slider: {
61
89
  min: number;
@@ -63,16 +91,19 @@ export declare const FIELD_PROPERTIES: {
63
91
  steps: number;
64
92
  quantum: number;
65
93
  size: string;
94
+ containerStyles: string;
66
95
  };
67
96
  api: {
68
97
  shape: any;
69
98
  size: string;
99
+ containerStyles: string;
70
100
  };
71
101
  otp: {
72
102
  size: string;
73
103
  mode: string;
74
104
  otpLength: number;
75
105
  placeholder: string;
106
+ containerStyles: string;
76
107
  };
77
108
  file: {
78
109
  multiple: boolean;
@@ -82,11 +113,14 @@ export declare const FIELD_PROPERTIES: {
82
113
  link: string;
83
114
  size: string;
84
115
  maxFileSize: number;
116
+ containerStyles: string;
85
117
  };
86
118
  select: {
87
119
  searchable: boolean;
120
+ containerStyles: string;
88
121
  };
89
122
  "dropdown-with-search": {
90
123
  searchable: boolean;
124
+ containerStyles: string;
91
125
  };
92
126
  };
@@ -1,13 +1,14 @@
1
1
  import * as i0 from "@angular/core";
2
2
  import * as i1 from "./form-view.component";
3
- import * as i2 from "@angular/common";
4
- import * as i3 from "@angular/forms";
5
- import * as i4 from "@taiga-ui/core";
6
- import * as i5 from "@taiga-ui/kit";
7
- import * as i6 from "@taiga-ui/addon-preview";
8
- import * as i7 from "kwikui";
3
+ import * as i2 from "./helpers/styles-sanitizer.pipe";
4
+ import * as i3 from "@angular/common";
5
+ import * as i4 from "@angular/forms";
6
+ import * as i5 from "@taiga-ui/core";
7
+ import * as i6 from "@taiga-ui/kit";
8
+ import * as i7 from "@taiga-ui/addon-preview";
9
+ import * as i8 from "kwikui";
9
10
  export declare class KwikIDFormViewModule {
10
11
  static ɵfac: i0.ɵɵFactoryDeclaration<KwikIDFormViewModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<KwikIDFormViewModule, [typeof i1.KwikIDFormViewComponent], [typeof i2.CommonModule, typeof i3.FormsModule, typeof i3.ReactiveFormsModule, typeof i4.TuiLabelModule, typeof i5.TuiPushModule, typeof i4.TuiSvgModule, typeof i6.TuiPreviewModule, typeof i4.TuiButtonModule, typeof i6.TuiPreviewActionModule, typeof i4.TuiDialogModule, typeof i7.KwikUIPipeModule, typeof i7.KwikUIModule], [typeof i1.KwikIDFormViewComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<KwikIDFormViewModule, [typeof i1.KwikIDFormViewComponent, typeof i2.StyleSanitizerPipe], [typeof i3.CommonModule, typeof i4.FormsModule, typeof i4.ReactiveFormsModule, typeof i5.TuiLabelModule, typeof i6.TuiPushModule, typeof i5.TuiSvgModule, typeof i7.TuiPreviewModule, typeof i5.TuiButtonModule, typeof i7.TuiPreviewActionModule, typeof i5.TuiDialogModule, typeof i8.KwikUIPipeModule, typeof i8.KwikUIModule], [typeof i1.KwikIDFormViewComponent]>;
12
13
  static ɵinj: i0.ɵɵInjectorDeclaration<KwikIDFormViewModule>;
13
14
  }
@@ -0,0 +1,10 @@
1
+ import { PipeTransform } from "@angular/core";
2
+ import { DomSanitizer, SafeStyle } from "@angular/platform-browser";
3
+ import * as i0 from "@angular/core";
4
+ export declare class StyleSanitizerPipe implements PipeTransform {
5
+ private sanitizer;
6
+ constructor(sanitizer: DomSanitizer);
7
+ transform(style: string): SafeStyle;
8
+ static ɵfac: i0.ɵɵFactoryDeclaration<StyleSanitizerPipe, never>;
9
+ static ɵpipe: i0.ɵɵPipeDeclaration<StyleSanitizerPipe, "styleSanitizer">;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "kwikid-forms",
3
- "version": "0.5.16",
3
+ "version": "0.6.2",
4
4
  "description": "KwikID's JSON Configuration based Forms Renderer and Builder",
5
5
  "author": {
6
6
  "name": "Baiju Dodhia"