impaktapps-ui-builder 0.0.101-alpha.24 → 0.0.101-alpha.26
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 +88 -72
- 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/dist/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.d.ts +0 -10
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/build/uischema/buildPropertiesSection.ts +85 -71
|
@@ -7430,77 +7430,103 @@ const emptyBox$1 = (scope, layout) => {
|
|
|
7430
7430
|
const cardLayout = {
|
|
7431
7431
|
type: "Control",
|
|
7432
7432
|
scope: "#/properties/cardLayout",
|
|
7433
|
-
layout: 11.5,
|
|
7434
7433
|
options: {
|
|
7435
|
-
|
|
7436
|
-
|
|
7437
|
-
|
|
7438
|
-
|
|
7439
|
-
|
|
7440
|
-
|
|
7441
|
-
|
|
7442
|
-
|
|
7443
|
-
|
|
7444
|
-
|
|
7445
|
-
|
|
7446
|
-
|
|
7447
|
-
|
|
7448
|
-
|
|
7449
|
-
|
|
7450
|
-
|
|
7451
|
-
|
|
7452
|
-
type: "Control",
|
|
7453
|
-
scope: "#/properties/value",
|
|
7454
|
-
options: {
|
|
7455
|
-
widget: "InputField"
|
|
7456
|
-
},
|
|
7457
|
-
config: {
|
|
7458
|
-
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7459
|
-
main: {
|
|
7460
|
-
label: "Value",
|
|
7461
|
-
type: "number",
|
|
7462
|
-
helperText: "Number should be in range of 0 to 12",
|
|
7463
|
-
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7464
|
-
}
|
|
7465
|
-
}
|
|
7466
|
-
},
|
|
7467
|
-
emptyBox$1("cardEmpty")
|
|
7468
|
-
]
|
|
7434
|
+
widget: "Array"
|
|
7435
|
+
},
|
|
7436
|
+
config: {
|
|
7437
|
+
layout: 12,
|
|
7438
|
+
main: {
|
|
7439
|
+
label: "Card Layout",
|
|
7440
|
+
childElementLabel: "Card Layout"
|
|
7441
|
+
},
|
|
7442
|
+
style: {
|
|
7443
|
+
marginLeft: "-24px",
|
|
7444
|
+
marginBottom: "24px !important",
|
|
7445
|
+
labelStyle: {
|
|
7446
|
+
marginLeft: "24px"
|
|
7447
|
+
},
|
|
7448
|
+
detailsStyle: {
|
|
7449
|
+
marginLeft: "24px"
|
|
7450
|
+
}
|
|
7469
7451
|
}
|
|
7470
|
-
}
|
|
7452
|
+
},
|
|
7453
|
+
elements: [
|
|
7454
|
+
{
|
|
7455
|
+
type: "Control",
|
|
7456
|
+
scope: "#/properties/key",
|
|
7457
|
+
options: {
|
|
7458
|
+
widget: "SelectInputField"
|
|
7459
|
+
},
|
|
7460
|
+
config: {
|
|
7461
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7462
|
+
main: {
|
|
7463
|
+
label: "Screen Size"
|
|
7464
|
+
}
|
|
7465
|
+
}
|
|
7466
|
+
},
|
|
7467
|
+
{
|
|
7468
|
+
type: "Control",
|
|
7469
|
+
scope: "#/properties/value",
|
|
7470
|
+
options: {
|
|
7471
|
+
widget: "InputField"
|
|
7472
|
+
},
|
|
7473
|
+
config: {
|
|
7474
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7475
|
+
main: {
|
|
7476
|
+
label: "Value",
|
|
7477
|
+
type: "number",
|
|
7478
|
+
helperText: "Number should be in range of 0 to 12",
|
|
7479
|
+
errorMessage: "Number Can't be greater than 12 and can't be less than 0."
|
|
7480
|
+
}
|
|
7481
|
+
}
|
|
7482
|
+
},
|
|
7483
|
+
emptyBox$1("cardEmpty")
|
|
7484
|
+
]
|
|
7471
7485
|
};
|
|
7472
7486
|
const getArrayControl = (parentScope, childScope, childLabel) => {
|
|
7473
7487
|
return {
|
|
7474
7488
|
type: "Control",
|
|
7475
7489
|
scope: `#/properties/${parentScope}`,
|
|
7476
|
-
layout: 12,
|
|
7477
7490
|
options: {
|
|
7478
|
-
"
|
|
7479
|
-
|
|
7480
|
-
|
|
7481
|
-
|
|
7482
|
-
|
|
7483
|
-
|
|
7484
|
-
|
|
7485
|
-
|
|
7486
|
-
|
|
7487
|
-
|
|
7488
|
-
|
|
7489
|
-
|
|
7490
|
-
|
|
7491
|
-
|
|
7492
|
-
|
|
7493
|
-
|
|
7494
|
-
|
|
7495
|
-
emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 4, lg: 4 }),
|
|
7496
|
-
emptyBox$1("ArrayControlEmpty2", { xs: 0, sm: 0, md: 4, lg: 4 })
|
|
7497
|
-
]
|
|
7491
|
+
widget: "Array"
|
|
7492
|
+
},
|
|
7493
|
+
config: {
|
|
7494
|
+
layout: 12,
|
|
7495
|
+
main: {
|
|
7496
|
+
label: childScope,
|
|
7497
|
+
childElementLabel: childScope
|
|
7498
|
+
},
|
|
7499
|
+
style: {
|
|
7500
|
+
marginLeft: "-24px",
|
|
7501
|
+
marginBottom: "24px !important",
|
|
7502
|
+
labelStyle: {
|
|
7503
|
+
marginLeft: "24px"
|
|
7504
|
+
},
|
|
7505
|
+
detailsStyle: {
|
|
7506
|
+
marginLeft: "24px"
|
|
7507
|
+
}
|
|
7498
7508
|
}
|
|
7499
|
-
}
|
|
7509
|
+
},
|
|
7510
|
+
elements: [
|
|
7511
|
+
{
|
|
7512
|
+
type: "Control",
|
|
7513
|
+
scope: `#/properties/${childScope}`,
|
|
7514
|
+
options: {
|
|
7515
|
+
widget: "InputField"
|
|
7516
|
+
},
|
|
7517
|
+
config: {
|
|
7518
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 4 },
|
|
7519
|
+
main: {
|
|
7520
|
+
label: childLabel || "Labels for Tab"
|
|
7521
|
+
}
|
|
7522
|
+
}
|
|
7523
|
+
},
|
|
7524
|
+
emptyBox$1("ArrayControlEmpty1", { xs: 6, sm: 6, md: 8, lg: 8 })
|
|
7525
|
+
]
|
|
7500
7526
|
};
|
|
7501
7527
|
};
|
|
7502
7528
|
const sizeHolder = getArrayControl("sizeHolder", "keyName", "Component Name");
|
|
7503
|
-
sizeHolder.
|
|
7529
|
+
sizeHolder.elements[1] = {
|
|
7504
7530
|
type: "Control",
|
|
7505
7531
|
scope: `#/properties/value`,
|
|
7506
7532
|
options: {
|
|
@@ -7513,7 +7539,7 @@ sizeHolder.options.detail.elements[1] = {
|
|
|
7513
7539
|
}
|
|
7514
7540
|
}
|
|
7515
7541
|
};
|
|
7516
|
-
sizeHolder.
|
|
7542
|
+
sizeHolder.elements[2] = emptyBox$1("sizeHolderempty");
|
|
7517
7543
|
const getInputField = (scope, label) => {
|
|
7518
7544
|
return {
|
|
7519
7545
|
type: "Control",
|
|
@@ -7552,17 +7578,7 @@ const buildWrapper = (label, elements) => {
|
|
|
7552
7578
|
main: {
|
|
7553
7579
|
label: label || "Details",
|
|
7554
7580
|
isAccordion: true
|
|
7555
|
-
}
|
|
7556
|
-
wrapperStyle: {
|
|
7557
|
-
marginTop: "-6px",
|
|
7558
|
-
marginBottom: "-8px",
|
|
7559
|
-
marginLeft: "-34px",
|
|
7560
|
-
width: "108%"
|
|
7561
|
-
},
|
|
7562
|
-
componentsBoxStyle: {
|
|
7563
|
-
marginLeft: "12px"
|
|
7564
|
-
},
|
|
7565
|
-
defaultStyle: true
|
|
7581
|
+
}
|
|
7566
7582
|
},
|
|
7567
7583
|
elements: elements || []
|
|
7568
7584
|
};
|
|
@@ -7773,7 +7789,7 @@ const buildPropertiesSection = function(type) {
|
|
|
7773
7789
|
getInputField("xAxisValue", "X-AxisValue"),
|
|
7774
7790
|
getRadioInputField("bottomAxisAngle", "Bottom Axis Angled", ["YES", "No"]),
|
|
7775
7791
|
getInputField("leftMargin", "Left Margin"),
|
|
7776
|
-
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg:
|
|
7792
|
+
emptyBox$1("GraphEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 }),
|
|
7777
7793
|
getArrayControl("legendLabels", "label"),
|
|
7778
7794
|
getArrayControl("pieArcColors", "color")
|
|
7779
7795
|
];
|