impaktapps-ui-builder 0.0.101-alpha.11 → 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/dist/impaktapps-ui-builder.es.js +47 -37
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +1 -1
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/uiSchema.ts +50 -39
package/package.json
CHANGED
|
@@ -322,51 +322,62 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
322
322
|
// },
|
|
323
323
|
// ]
|
|
324
324
|
// },
|
|
325
|
+
|
|
325
326
|
{
|
|
326
|
-
type: "
|
|
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
|
-
|
|
336
|
-
|
|
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
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
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
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
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",
|