impaktapps-ui-builder 0.0.101-alpha.10 → 0.0.101-alpha.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "impaktapps-ui-builder",
3
- "version": "0.0.101-alpha.10",
3
+ "version": "0.0.101-alpha.12",
4
4
  "scripts": {
5
5
  "dev": "vite",
6
6
  "build": "tsc && vite build",
@@ -50,7 +50,7 @@ export const componentBasicUiSchema: any = (theme)=>{
50
50
  type: "WrapperLayout",
51
51
  config: {
52
52
  main: {
53
- label: "",
53
+ label: " ",
54
54
  gap: "8px"
55
55
  }
56
56
  },
@@ -322,51 +322,62 @@ export const componentBasicUiSchema: any = (theme)=>{
322
322
  // },
323
323
  // ]
324
324
  // },
325
+
325
326
  {
326
- type: "Control",
327
- scope: "#/properties/btn",
328
- options: {
329
- widget: "Button",
330
- },
331
-
327
+ type: "WrapperLayout",
332
328
  config: {
333
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
334
329
  main: {
335
- name: "Ok",
336
- variant: "contained",
337
- type: "text",
338
- onClick: "okHandler",
339
- size: "medium",
340
- },
341
- },
342
- },
343
- {
344
- type: "Control",
345
- scope: "#/properties/btnSubmit",
346
- options: {
347
- widget: "Button",
330
+ gap: "8px"
331
+ }
348
332
  },
333
+ elements: [
334
+ {
335
+ type: "Control",
336
+ scope: "#/properties/btn",
337
+ options: {
338
+ widget: "Button",
339
+ },
349
340
 
350
- config: {
351
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
352
- main: {
353
- name: "Save & Exit",
354
- variant: "contained",
355
- type: "text",
356
- onClick: "saveHandler",
357
- size: "medium",
341
+ config: {
342
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
343
+ main: {
344
+ name: "Ok",
345
+ variant: "contained",
346
+ type: "text",
347
+ onClick: "okHandler",
348
+ size: "medium",
349
+ },
350
+ },
358
351
  },
359
- },
360
- },
361
- {
362
- type: "Control",
363
- scope: "#/properties/EmptyBox",
364
- config: {
365
- layout: { xs: 4, sm:7, md: 8, lg: 9 },
366
- },
367
- options: {
368
- widget: "EmptyBox",
369
- },
352
+ {
353
+ type: "Control",
354
+ scope: "#/properties/btnSubmit",
355
+ options: {
356
+ widget: "Button",
357
+ },
358
+
359
+ config: {
360
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
361
+ main: {
362
+ name: "Save & Exit",
363
+ variant: "contained",
364
+ type: "text",
365
+ onClick: "saveHandler",
366
+ size: "medium",
367
+ },
368
+ },
369
+ },
370
+ {
371
+ type: "Control",
372
+ scope: "#/properties/EmptyBox",
373
+ config: {
374
+ layout: { xs: 4, sm:7, md: 8, lg: 9 },
375
+ },
376
+ options: {
377
+ widget: "EmptyBox",
378
+ },
379
+ },
380
+ ],
370
381
  },
371
382
  {
372
383
  type: "Control",