impaktapps-ui-builder 0.0.101-alpha.11 → 0.0.101-alpha.13

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.
@@ -89,8 +89,6 @@ export const componentBasicUiSchema: any = (theme)=>{
89
89
  layout: { xs: 12, sm: 6, md: 4, lg: 3 },
90
90
  main: {
91
91
  label: "Component ID",
92
- options: [],
93
- color: "secondary",
94
92
  required: true,
95
93
  },
96
94
  },
@@ -322,51 +320,62 @@ export const componentBasicUiSchema: any = (theme)=>{
322
320
  // },
323
321
  // ]
324
322
  // },
323
+
325
324
  {
326
- type: "Control",
327
- scope: "#/properties/btn",
328
- options: {
329
- widget: "Button",
330
- },
331
-
325
+ type: "WrapperLayout",
332
326
  config: {
333
- layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
334
327
  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",
328
+ gap: "8px"
329
+ }
348
330
  },
331
+ elements: [
332
+ {
333
+ type: "Control",
334
+ scope: "#/properties/btn",
335
+ options: {
336
+ widget: "Button",
337
+ },
349
338
 
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",
339
+ config: {
340
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
341
+ main: {
342
+ name: "Ok",
343
+ variant: "contained",
344
+ type: "text",
345
+ onClick: "okHandler",
346
+ size: "medium",
347
+ },
348
+ },
358
349
  },
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
- },
350
+ {
351
+ type: "Control",
352
+ scope: "#/properties/btnSubmit",
353
+ options: {
354
+ widget: "Button",
355
+ },
356
+
357
+ config: {
358
+ layout: { xs: 4, sm: 2.5, md: 2, lg: 1.5 },
359
+ main: {
360
+ name: "Save & Exit",
361
+ variant: "contained",
362
+ type: "text",
363
+ onClick: "saveHandler",
364
+ size: "medium",
365
+ },
366
+ },
367
+ },
368
+ {
369
+ type: "Control",
370
+ scope: "#/properties/EmptyBox",
371
+ config: {
372
+ layout: { xs: 4, sm:7, md: 8, lg: 9 },
373
+ },
374
+ options: {
375
+ widget: "EmptyBox",
376
+ },
377
+ },
378
+ ],
370
379
  },
371
380
  {
372
381
  type: "Control",