impaktapps-ui-builder 1.0.3 → 1.0.5

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.
Files changed (122) hide show
  1. package/dist/impaktapps-ui-builder.es.js +2278 -1161
  2. package/dist/impaktapps-ui-builder.es.js.map +1 -1
  3. package/dist/impaktapps-ui-builder.umd.js +15 -15
  4. package/dist/impaktapps-ui-builder.umd.js.map +1 -1
  5. package/dist/src/impaktapps-ui-builder/builder/build/buildAreaGraph.d.ts +2 -0
  6. package/dist/src/impaktapps-ui-builder/builder/build/buildArray.d.ts +1 -11
  7. package/dist/src/impaktapps-ui-builder/builder/build/buildCamera.d.ts +1 -0
  8. package/dist/src/impaktapps-ui-builder/builder/build/buildConfig.d.ts +2 -1
  9. package/dist/src/impaktapps-ui-builder/builder/build/buildGroupButton.d.ts +1 -0
  10. package/dist/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.d.ts +1 -0
  11. package/dist/src/impaktapps-ui-builder/builder/build/buildImage.d.ts +1 -0
  12. package/dist/src/impaktapps-ui-builder/builder/build/buildMetricCard.d.ts +1 -0
  13. package/dist/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.d.ts +1 -0
  14. package/dist/src/impaktapps-ui-builder/builder/build/buildPdfViewer.d.ts +1 -0
  15. package/dist/src/impaktapps-ui-builder/builder/build/buildPopover.d.ts +1 -0
  16. package/dist/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.d.ts +2 -0
  17. package/dist/src/impaktapps-ui-builder/builder/build/buildUiSchema.d.ts +2 -1
  18. package/dist/src/impaktapps-ui-builder/builder/build/uischema/apiSection.d.ts +1 -3
  19. package/dist/src/impaktapps-ui-builder/builder/build/uischema/box.d.ts +10 -2
  20. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +1 -1
  21. package/dist/src/impaktapps-ui-builder/builder/build/uischema/button.d.ts +6 -1
  22. package/dist/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.d.ts +22 -0
  23. package/dist/src/impaktapps-ui-builder/builder/build/uischema/card.d.ts +173 -171
  24. package/dist/src/impaktapps-ui-builder/builder/build/uischema/coreSection.d.ts +82 -72
  25. package/dist/src/impaktapps-ui-builder/builder/build/uischema/eventSection.d.ts +18 -50
  26. package/dist/src/impaktapps-ui-builder/builder/build/uischema/graph.d.ts +50 -4
  27. package/dist/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.d.ts +13 -0
  28. package/dist/src/impaktapps-ui-builder/builder/build/uischema/metricCard.d.ts +17 -0
  29. package/dist/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.d.ts +1 -0
  30. package/dist/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.d.ts +19 -0
  31. package/dist/src/impaktapps-ui-builder/builder/build/uischema/refresh.d.ts +0 -3
  32. package/dist/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.d.ts +1 -0
  33. package/dist/src/impaktapps-ui-builder/builder/build/uischema/table.d.ts +1 -0
  34. package/dist/src/impaktapps-ui-builder/builder/build/uischema/tableSection.d.ts +15 -66
  35. package/dist/src/impaktapps-ui-builder/builder/build/uischema/validationSections.d.ts +48 -38
  36. package/dist/src/impaktapps-ui-builder/builder/build/uischema/valueTab.d.ts +0 -3
  37. package/dist/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.d.ts +4 -1
  38. package/dist/src/impaktapps-ui-builder/builder/services/utils.d.ts +2 -1
  39. package/dist/src/impaktapps-ui-builder/lib/index.d.ts +1 -0
  40. package/dist/src/impaktapps-ui-builder/runtime/services/downloadFile.d.ts +5 -2
  41. package/dist/src/impaktapps-ui-builder/runtime/services/service.d.ts +10 -4
  42. package/package.json +1 -1
  43. package/src/impaktapps-ui-builder/builder/build/buildAadharCard.ts +2 -2
  44. package/src/impaktapps-ui-builder/builder/build/buildAreaGraph.ts +66 -0
  45. package/src/impaktapps-ui-builder/builder/build/buildArray.ts +35 -15
  46. package/src/impaktapps-ui-builder/builder/build/buildButton.ts +1 -1
  47. package/src/impaktapps-ui-builder/builder/build/buildCamera.ts +50 -0
  48. package/src/impaktapps-ui-builder/builder/build/buildCard.ts +10 -10
  49. package/src/impaktapps-ui-builder/builder/build/buildCheckbox.ts +1 -1
  50. package/src/impaktapps-ui-builder/builder/build/buildConfig.ts +34 -16
  51. package/src/impaktapps-ui-builder/builder/build/buildDataGrid.ts +2 -2
  52. package/src/impaktapps-ui-builder/builder/build/buildDate.ts +35 -13
  53. package/src/impaktapps-ui-builder/builder/build/buildDownloadFile.ts +7 -0
  54. package/src/impaktapps-ui-builder/builder/build/buildEmptyBox.ts +1 -0
  55. package/src/impaktapps-ui-builder/builder/build/buildFileInput.ts +42 -28
  56. package/src/impaktapps-ui-builder/builder/build/buildGroupButton.ts +24 -0
  57. package/src/impaktapps-ui-builder/builder/build/buildHorizontalBarGraph.ts +10 -4
  58. package/src/impaktapps-ui-builder/builder/build/buildHorizontalLayout.ts +15 -0
  59. package/src/impaktapps-ui-builder/builder/build/buildImage.ts +38 -0
  60. package/src/impaktapps-ui-builder/builder/build/buildLabel.ts +3 -0
  61. package/src/impaktapps-ui-builder/builder/build/buildLeaderboard.ts +4 -1
  62. package/src/impaktapps-ui-builder/builder/build/buildLineGraph.ts +10 -4
  63. package/src/impaktapps-ui-builder/builder/build/buildMetricCard.tsx +37 -0
  64. package/src/impaktapps-ui-builder/builder/build/buildMultiSelect.ts +12 -0
  65. package/src/impaktapps-ui-builder/builder/build/buildOTP_inputs.ts +44 -0
  66. package/src/impaktapps-ui-builder/builder/build/buildPdfViewer.ts +16 -0
  67. package/src/impaktapps-ui-builder/builder/build/buildPieGraph.ts +7 -4
  68. package/src/impaktapps-ui-builder/builder/build/buildPop.ts +3 -2
  69. package/src/impaktapps-ui-builder/builder/build/buildPopover.ts +40 -0
  70. package/src/impaktapps-ui-builder/builder/build/buildProgressBar.ts +31 -21
  71. package/src/impaktapps-ui-builder/builder/build/buildRadio.ts +11 -3
  72. package/src/impaktapps-ui-builder/builder/build/buildSelect.ts +12 -0
  73. package/src/impaktapps-ui-builder/builder/build/buildStackBarGraph.ts +10 -4
  74. package/src/impaktapps-ui-builder/builder/build/buildStackBarLineGraph.ts +72 -0
  75. package/src/impaktapps-ui-builder/builder/build/buildTabSection.ts +5 -0
  76. package/src/impaktapps-ui-builder/builder/build/buildTable.ts +24 -8
  77. package/src/impaktapps-ui-builder/builder/build/buildText.ts +15 -0
  78. package/src/impaktapps-ui-builder/builder/build/buildTextArea.ts +2 -2
  79. package/src/impaktapps-ui-builder/builder/build/buildThoughtOfTheDay.ts +1 -1
  80. package/src/impaktapps-ui-builder/builder/build/buildTreeMap.ts +2 -1
  81. package/src/impaktapps-ui-builder/builder/build/buildUiSchema.ts +140 -130
  82. package/src/impaktapps-ui-builder/builder/build/buildUplaodFile.ts +6 -0
  83. package/src/impaktapps-ui-builder/builder/build/buildWrapperSection.ts +8 -3
  84. package/src/impaktapps-ui-builder/builder/build/uischema/apiSection.ts +0 -6
  85. package/src/impaktapps-ui-builder/builder/build/uischema/array.ts +1 -1
  86. package/src/impaktapps-ui-builder/builder/build/uischema/box.ts +5 -2
  87. package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +398 -141
  88. package/src/impaktapps-ui-builder/builder/build/uischema/button.ts +1 -1
  89. package/src/impaktapps-ui-builder/builder/build/uischema/buttonGroup.ts +17 -0
  90. package/src/impaktapps-ui-builder/builder/build/uischema/card.ts +142 -169
  91. package/src/impaktapps-ui-builder/builder/build/uischema/coreSection.ts +127 -133
  92. package/src/impaktapps-ui-builder/builder/build/uischema/dateInputField.ts +2 -2
  93. package/src/impaktapps-ui-builder/builder/build/uischema/emptyBox.ts +1 -1
  94. package/src/impaktapps-ui-builder/builder/build/uischema/eventSection.ts +30 -54
  95. package/src/impaktapps-ui-builder/builder/build/uischema/file.ts +3 -3
  96. package/src/impaktapps-ui-builder/builder/build/uischema/graph.ts +37 -4
  97. package/src/impaktapps-ui-builder/builder/build/uischema/horizontalLayout.ts +11 -0
  98. package/src/impaktapps-ui-builder/builder/build/uischema/metricCard.ts +13 -0
  99. package/src/impaktapps-ui-builder/builder/build/uischema/multiSelect.ts +4 -2
  100. package/src/impaktapps-ui-builder/builder/build/uischema/pdfViewer.ts +18 -0
  101. package/src/impaktapps-ui-builder/builder/build/uischema/refresh.ts +0 -3
  102. package/src/impaktapps-ui-builder/builder/build/uischema/selectInputField.ts +3 -1
  103. package/src/impaktapps-ui-builder/builder/build/uischema/table.ts +1 -0
  104. package/src/impaktapps-ui-builder/builder/build/uischema/tableSection.ts +34 -60
  105. package/src/impaktapps-ui-builder/builder/build/uischema/textInputField.ts +1 -1
  106. package/src/impaktapps-ui-builder/builder/build/uischema/validationSections.ts +58 -113
  107. package/src/impaktapps-ui-builder/builder/build/uischema/valueTab.ts +0 -3
  108. package/src/impaktapps-ui-builder/builder/build/uischema/wrapperSection.ts +4 -1
  109. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +228 -59
  110. package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +121 -119
  111. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/schema.ts +1 -1
  112. package/src/impaktapps-ui-builder/builder/elements/UiSchema/PageMaster/uiSchema.ts +94 -106
  113. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/schema.ts +11 -5
  114. package/src/impaktapps-ui-builder/builder/elements/UiSchema/event/uiSchema.ts +31 -55
  115. package/src/impaktapps-ui-builder/builder/services/component.ts +173 -86
  116. package/src/impaktapps-ui-builder/builder/services/event.ts +3 -0
  117. package/src/impaktapps-ui-builder/builder/services/pageMaster.ts +18 -15
  118. package/src/impaktapps-ui-builder/builder/services/utils.ts +15 -3
  119. package/src/impaktapps-ui-builder/lib/index.ts +10 -9
  120. package/src/impaktapps-ui-builder/runtime/services/downloadFile.ts +33 -18
  121. package/src/impaktapps-ui-builder/runtime/services/events.ts +9 -11
  122. package/src/impaktapps-ui-builder/runtime/services/service.ts +123 -165
@@ -0,0 +1,2 @@
1
+ declare const buildAreaGraph: (config: any, componentScope: string) => any;
2
+ export default buildAreaGraph;
@@ -1,11 +1 @@
1
- export declare const buildArray: (config: any, componentScope: string) => {
2
- type: string;
3
- scope: string;
4
- layout: number;
5
- options: {
6
- detail: {
7
- type: string;
8
- elements: any[];
9
- };
10
- };
11
- };
1
+ export declare const buildArray: (config: any, componentScope: string) => any;
@@ -0,0 +1 @@
1
+ export declare const buildCamera: (config: any, componentScope: string) => any;
@@ -1,4 +1,5 @@
1
1
  declare const _default: (FormData: any) => any;
2
2
  export default _default;
3
- export declare const createLayoutFormat: (config: any[]) => any;
3
+ export declare const createLayoutFormat: (layout: any[], type?: string) => any;
4
4
  export declare const flatObjectValueInArray: (config?: any[]) => any[];
5
+ export declare const createKeyValueMap: (config?: any[]) => any;
@@ -0,0 +1 @@
1
+ export declare const buildButtonGroup: (config: any, componentScope: string) => any;
@@ -0,0 +1 @@
1
+ export declare const buildHorizontalLayout: (config: any, componentScope: any) => any;
@@ -0,0 +1 @@
1
+ export declare const buildImage: (config: any, componentScope: any) => any;
@@ -0,0 +1 @@
1
+ export declare const buildMetricCard: (config: any, componentScope: any, store: any) => any;
@@ -0,0 +1 @@
1
+ export declare const buildOTP_Input: (config: any, componentScope: any) => any;
@@ -0,0 +1 @@
1
+ export declare const buildPdfViewer: (config: any, componentScope: string) => any;
@@ -0,0 +1 @@
1
+ export declare const buildPopOver: (config: any, componentScope: any) => any;
@@ -0,0 +1,2 @@
1
+ declare const buildStackBarLineGraph: (config: any, componentScope: string) => any;
2
+ export default buildStackBarLineGraph;
@@ -3,7 +3,8 @@ export declare let schema: {
3
3
  properties: {};
4
4
  required: any[];
5
5
  };
6
- export declare const buildSchema: (config: any, tableName?: string, isArrayType?: boolean) => {
6
+ export declare function buildSchemaFromConfig(config: any, parentSchema: any): void;
7
+ export declare const buildSchema: (config: any) => {
7
8
  type: string;
8
9
  properties: {};
9
10
  required: any[];
@@ -81,9 +81,6 @@ export declare const APISection: {
81
81
  } | {
82
82
  type: string;
83
83
  scope: string;
84
- options: {
85
- widget: string;
86
- };
87
84
  config: {
88
85
  layout: number;
89
86
  main: {
@@ -137,6 +134,7 @@ export declare const APISection: {
137
134
  main?: undefined;
138
135
  };
139
136
  })[];
137
+ options?: undefined;
140
138
  })[];
141
139
  };
142
140
  export declare const APISectionSchema: {
@@ -5,8 +5,16 @@ declare const Box: {
5
5
  widget: string;
6
6
  };
7
7
  config: {
8
- layout: number;
9
- main: {};
8
+ layout: {
9
+ xs: number;
10
+ sm: number;
11
+ md: number;
12
+ lg: number;
13
+ };
14
+ main: {
15
+ iconName: string;
16
+ onClick: string;
17
+ };
10
18
  style: {};
11
19
  };
12
20
  };
@@ -55,7 +55,7 @@ export declare const getTextArea: (scope: string, heading: string, hideButton: b
55
55
  };
56
56
  export declare const getSelectField: (scope: string, label: string, options: {
57
57
  label: string;
58
- value: string;
58
+ value: string | number;
59
59
  }[]) => {
60
60
  type: string;
61
61
  scope: string;
@@ -5,7 +5,12 @@ declare const _default: {
5
5
  widget: string;
6
6
  };
7
7
  config: {
8
- layout: number;
8
+ layout: {
9
+ xs: number;
10
+ sm: number;
11
+ md: number;
12
+ lg: number;
13
+ };
9
14
  main: {
10
15
  name: string;
11
16
  variant: string;
@@ -0,0 +1,22 @@
1
+ declare const _default: {
2
+ type: string;
3
+ scope: string;
4
+ options: {
5
+ widget: string;
6
+ };
7
+ config: {
8
+ layout: {
9
+ xs: number;
10
+ sm: number;
11
+ md: number;
12
+ lg: number;
13
+ };
14
+ main: {
15
+ variant: string;
16
+ styleDefault: boolean;
17
+ size: string;
18
+ };
19
+ style: {};
20
+ };
21
+ };
22
+ export default _default;
@@ -2,28 +2,30 @@ export default function Card(theme: any): {
2
2
  type: string;
3
3
  config: {
4
4
  main: {};
5
- wrapperStyle: {
6
- position: string;
7
- top: string;
8
- transform: string;
9
- marginBottom: number;
10
- };
11
- componentsBoxStyle: {
12
- boxShadow: string;
13
- flexDirection: string;
14
- flexWrap: string;
15
- width: string;
16
- background: string;
17
- border: string;
18
- borderRadius: string;
19
- padding: string;
20
- height: string;
21
- alignItems: string;
22
- marginLeft: string;
23
- "&: hover": {
5
+ style: {
6
+ wrapperStyle: {
7
+ position: string;
8
+ top: string;
9
+ transform: string;
10
+ marginBottom: number;
11
+ borderRadius: string;
12
+ fontFamily: string;
13
+ };
14
+ componentsBoxStyle: {
15
+ boxShadow: string;
16
+ flexDirection: string;
17
+ overflow: string;
18
+ flexWrap: string;
19
+ width: string;
24
20
  background: string;
25
- border: string;
26
- "& p": {
21
+ borderRadius: string;
22
+ padding: string;
23
+ height: string;
24
+ minHeight: string;
25
+ position: string;
26
+ marginLeft: string;
27
+ "&: hover": {
28
+ background: string;
27
29
  color: string;
28
30
  };
29
31
  };
@@ -37,178 +39,178 @@ export default function Card(theme: any): {
37
39
  };
38
40
  elements: ({
39
41
  type: string;
42
+ scope: string;
40
43
  config: {
41
- layout: number;
42
- main?: undefined;
43
- style?: undefined;
44
- };
45
- elements: {
46
- type: string;
47
- config: {
48
- main: {
49
- columnSpacing: number;
50
- gap: number;
51
- };
52
- wrapperStyle: {
53
- background: string;
54
- marginBottom: number;
44
+ main: {
45
+ url: string;
46
+ heading?: undefined;
47
+ };
48
+ style: {
49
+ containerStyle: {
50
+ position: string;
51
+ color: string;
52
+ top: string;
53
+ right: string;
54
+ display: string;
55
+ justifyContent: string;
56
+ alignItems: string;
55
57
  };
56
- componentsBoxStyle: {
57
- flexDirection: string;
58
- flexWrap: string;
58
+ imageStyle: {
59
+ color: string;
59
60
  width: string;
60
61
  height: string;
61
- background: string;
62
- borderRadius: string;
62
+ padding: string;
63
+ margin: string;
63
64
  };
64
- layout: number;
65
+ color?: undefined;
66
+ fontSize?: undefined;
67
+ fontWeight?: undefined;
68
+ fontFamily?: undefined;
69
+ justifyContent?: undefined;
70
+ background?: undefined;
71
+ position?: undefined;
72
+ top?: undefined;
73
+ left?: undefined;
74
+ display?: undefined;
75
+ maxWidth?: undefined;
76
+ whiteSpace?: undefined;
77
+ overflowX?: undefined;
78
+ scrollbarWidth?: undefined;
79
+ "&::-webkit-scrollbar"?: undefined;
80
+ width?: undefined;
81
+ margin?: undefined;
82
+ marginBottom?: undefined;
83
+ marginTop?: undefined;
84
+ lineHeight?: undefined;
85
+ overflowY?: undefined;
86
+ paddingLeft?: undefined;
87
+ };
88
+ };
89
+ options: {
90
+ widget: string;
91
+ };
92
+ } | {
93
+ type: string;
94
+ scope: string;
95
+ config: {
96
+ main: {
97
+ heading: string;
98
+ url?: undefined;
65
99
  };
66
- elements: ({
67
- type: string;
68
- config: {
69
- main: {
70
- columnSpacing: number;
71
- gap: number;
72
- heading?: undefined;
73
- };
74
- wrapperStyle: {
75
- background: string;
76
- marginBottom: number;
77
- };
78
- componentsBoxStyle: {
79
- flexDirection: string;
80
- flexWrap: string;
81
- width: string;
82
- height: string;
83
- background: string;
84
- borderRadius: string;
85
- marginLeft: string;
86
- marginTop: string;
87
- justifyContent: string;
88
- position: string;
89
- };
90
- layout: number;
91
- style?: undefined;
100
+ style: {
101
+ color: string;
102
+ fontSize: string;
103
+ fontWeight: number;
104
+ fontFamily: string;
105
+ justifyContent: string;
106
+ background: string;
107
+ position: string;
108
+ top: string;
109
+ left: string;
110
+ display: string;
111
+ maxWidth: string;
112
+ whiteSpace: string;
113
+ overflowX: string;
114
+ scrollbarWidth: string;
115
+ "&::-webkit-scrollbar": {
116
+ display: string;
92
117
  };
93
- elements: ({
94
- type: string;
95
- scope: string;
96
- config: {
97
- main: {
98
- heading: string;
99
- };
100
- style: {
101
- color: string;
102
- display: string;
103
- fontSize: {
104
- xs: string;
105
- md: string;
106
- };
107
- fontWeight: string;
108
- background: string;
109
- justifyContent: string;
110
- width: string;
111
- margin: string;
112
- marginLeft: string;
113
- height: number;
114
- position?: undefined;
115
- left?: undefined;
116
- };
117
- };
118
- options: {
119
- widget: string;
120
- };
121
- } | {
122
- type: string;
123
- scope: string;
124
- config: {
125
- main: {
126
- heading: string;
127
- };
128
- style: {
129
- color: string;
130
- display: string;
131
- fontSize: {
132
- xs: string;
133
- md: string;
134
- };
135
- fontWeight: string;
136
- background: string;
137
- justifyContent: string;
138
- width: string;
139
- margin: string;
140
- position: string;
141
- left: string;
142
- marginLeft?: undefined;
143
- height?: undefined;
144
- };
145
- };
146
- options: {
147
- widget: string;
148
- };
149
- })[];
150
- scope?: undefined;
151
- options?: undefined;
152
- } | {
153
- type: string;
154
- scope: string;
155
- config: {
156
- main: {
157
- heading: string;
158
- columnSpacing?: undefined;
159
- gap?: undefined;
160
- };
161
- style: {
162
- color: string;
163
- fontSize: string;
164
- justifyContent: string;
165
- textWrap: string;
166
- background: string;
167
- width: string;
168
- margin: string;
169
- marginTop: {
170
- xs: string;
171
- md: string;
172
- };
173
- };
174
- layout: number;
175
- wrapperStyle?: undefined;
176
- componentsBoxStyle?: undefined;
118
+ containerStyle?: undefined;
119
+ imageStyle?: undefined;
120
+ width?: undefined;
121
+ margin?: undefined;
122
+ marginBottom?: undefined;
123
+ marginTop?: undefined;
124
+ lineHeight?: undefined;
125
+ overflowY?: undefined;
126
+ paddingLeft?: undefined;
127
+ };
128
+ };
129
+ options: {
130
+ widget: string;
131
+ };
132
+ } | {
133
+ type: string;
134
+ scope: string;
135
+ config: {
136
+ main: {
137
+ heading: string;
138
+ url?: undefined;
139
+ };
140
+ style: {
141
+ color: string;
142
+ display: string;
143
+ fontSize: {
144
+ xs: string;
145
+ md: string;
177
146
  };
178
- options: {
179
- widget: string;
147
+ fontWeight: number;
148
+ background: string;
149
+ justifyContent: string;
150
+ width: string;
151
+ margin: string;
152
+ marginBottom: string;
153
+ marginTop: string;
154
+ lineHeight: string;
155
+ maxWidth: string;
156
+ whiteSpace: string;
157
+ overflowX: string;
158
+ overflowY: string;
159
+ scrollbarWidth: string;
160
+ "&::-webkit-scrollbar": {
161
+ display: string;
180
162
  };
181
- elements?: undefined;
182
- })[];
183
- }[];
184
- scope?: undefined;
185
- options?: undefined;
163
+ containerStyle?: undefined;
164
+ imageStyle?: undefined;
165
+ fontFamily?: undefined;
166
+ position?: undefined;
167
+ top?: undefined;
168
+ left?: undefined;
169
+ paddingLeft?: undefined;
170
+ };
171
+ };
172
+ options: {
173
+ widget: string;
174
+ };
186
175
  } | {
187
176
  type: string;
188
177
  scope: string;
189
178
  config: {
190
179
  main: {
191
- url: string;
180
+ heading: string;
181
+ url?: undefined;
192
182
  };
193
183
  style: {
194
- containerStyle: {
195
- height: string;
184
+ color: string;
185
+ fontSize: string;
186
+ fontWeight: string;
187
+ justifyContent: string;
188
+ background: string;
189
+ margin: string;
190
+ paddingLeft: string;
191
+ marginBottom: string;
192
+ maxWidth: string;
193
+ whiteSpace: string;
194
+ overflowX: string;
195
+ scrollbarWidth: string;
196
+ "&::-webkit-scrollbar": {
196
197
  display: string;
197
- justifyContent: string;
198
- };
199
- imageStyle: {
200
- width: string;
201
- fontSize: string;
202
- padding: string;
203
- margin: string;
204
- height: string;
205
198
  };
199
+ containerStyle?: undefined;
200
+ imageStyle?: undefined;
201
+ fontFamily?: undefined;
202
+ position?: undefined;
203
+ top?: undefined;
204
+ left?: undefined;
205
+ display?: undefined;
206
+ width?: undefined;
207
+ marginTop?: undefined;
208
+ lineHeight?: undefined;
209
+ overflowY?: undefined;
206
210
  };
207
- layout: number;
208
211
  };
209
212
  options: {
210
213
  widget: string;
211
214
  };
212
- elements?: undefined;
213
215
  })[];
214
216
  };