impaktapps-ui-builder 0.0.101-alpha.9 → 0.0.102

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.
@@ -161,10 +161,7 @@ export default function Card(theme: any): {
161
161
  background: string;
162
162
  width: string;
163
163
  margin: string;
164
- marginTop: {
165
- xs: string;
166
- md: string;
167
- };
164
+ marginTop: string;
168
165
  lineHeight: string;
169
166
  };
170
167
  layout: number;
@@ -193,7 +190,6 @@ export default function Card(theme: any): {
193
190
  justifyContent: string;
194
191
  };
195
192
  imageStyle: {
196
- width: string;
197
193
  fontSize: string;
198
194
  padding: string;
199
195
  margin: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.101-alpha.9",
3
+ "version": "0.0.102",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -11,7 +11,6 @@ const TextField = {
11
11
  "widget": "InputField"
12
12
  },
13
13
  config:{
14
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
15
14
  main:{
16
15
  label:"Adhaar Card",
17
16
  formatStrArray:["9","9","9","9"," ","9","9","9","9"," ","X9","X9","X9","X9"],
@@ -43,7 +42,6 @@ const PanField = {
43
42
  "widget": "InputField"
44
43
  },
45
44
  config:{
46
- layout: { xs: 12, sm: 6, md: 4, lg: 4 },
47
45
  main:{
48
46
  label:"Pan Card",
49
47
  placeholder:"AAAAA0000A",
@@ -35,12 +35,7 @@ export const createLayoutFormat = (config: any[]) => {
35
35
  lg: 12,
36
36
  }
37
37
  }
38
- let data: any = {
39
- xs: 12,
40
- sm: 12,
41
- md: 6,
42
- lg: 6,
43
- };
38
+ let data: any = {};
44
39
  config.map((e: any) => {
45
40
  data[e.key || "xs"] = +e.value || 5.5
46
41
  })
@@ -40,7 +40,6 @@ import { buildDataGrid } from "./buildDataGrid";
40
40
  import { buildInputSlider } from "./buildInputSlider";
41
41
  import { buildTreeMap } from "./buildTreeMap";
42
42
  import { buildThoughtOfTheDay } from "./buildThoughtOfTheDay";
43
- import { buildPdfViewer } from "./buildPdfViewer";
44
43
  export let schema = {
45
44
  type: "object",
46
45
  properties: {},
@@ -308,9 +307,6 @@ const buildUiSchema = (config: any, store?: any) => {
308
307
  case "Thought":
309
308
  elements = buildThoughtOfTheDay(config, componentScope);
310
309
  break;
311
- case "PdfViewer":
312
- elements = buildPdfViewer(config);
313
- break;
314
310
  default:
315
311
  schema = {
316
312
  type: "object",
@@ -149,7 +149,7 @@ export default function Card(theme){
149
149
  background: "inherit",
150
150
  width: "calc(100%+8px)",
151
151
  margin: "-8px",
152
- marginTop: {xs: "0px", md: "12px"},
152
+ marginTop: "12px",
153
153
  lineHeight: "1",
154
154
  },
155
155
  layout: 12,
@@ -177,7 +177,6 @@ export default function Card(theme){
177
177
  justifyContent: "end",
178
178
  },
179
179
  imageStyle: {
180
- width: "unset",
181
180
  fontSize: "none",
182
181
  padding: "4px",
183
182
  margin: "0px 0px 0px 8px",
@@ -42,7 +42,6 @@ export const ComponentSchema: any = {
42
42
  { title: "TreeMap", const: "TreeMap" },
43
43
  { title: "ColumnGroup", const: "ColumnGroup" },
44
44
  { title: "Thought of the Day", const: "Thought" },
45
- { title: "Pdf Viewer", const: "PdfViewer"}
46
45
  ]
47
46
  },
48
47
  columnFormat: {