impaktapps-ui-builder 0.0.101-alpha.44 → 0.0.101-alpha.46
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.
|
@@ -8441,10 +8441,9 @@ function refreshPage(type, store2) {
|
|
|
8441
8441
|
UiSchema.elements[0].elements = elements || [CoreSection, StyleSection, EventSection(store2.theme.myTheme), ValidationSection];
|
|
8442
8442
|
}
|
|
8443
8443
|
const path = (_b = store2.searchParams) == null ? void 0 : _b.get("path");
|
|
8444
|
-
const
|
|
8445
|
-
|
|
8446
|
-
|
|
8447
|
-
console.log("parentObj", parentObj);
|
|
8444
|
+
const lastDotIndex = path.lastIndexOf(".");
|
|
8445
|
+
const parentPath = path.slice(0, lastDotIndex);
|
|
8446
|
+
const parentObj = _.get(currentConfig, parentPath);
|
|
8448
8447
|
if ((parentObj == null ? void 0 : parentObj.type) === "Table") {
|
|
8449
8448
|
UiSchema.elements[0].elements[0].elements[4] = {
|
|
8450
8449
|
type: "Control",
|
|
@@ -8474,10 +8473,24 @@ function refreshPage(type, store2) {
|
|
|
8474
8473
|
}
|
|
8475
8474
|
};
|
|
8476
8475
|
UiSchema.elements[0].elements[0].elements[6] = {
|
|
8476
|
+
type: "Control",
|
|
8477
|
+
scope: "#/properties/enableFilter",
|
|
8478
|
+
options: {
|
|
8479
|
+
widget: "RadioInputField"
|
|
8480
|
+
},
|
|
8481
|
+
config: {
|
|
8482
|
+
layout: { xs: 6, sm: 6, md: 4, lg: 3 },
|
|
8483
|
+
main: {
|
|
8484
|
+
label: "Enable Filter",
|
|
8485
|
+
options: ["YES", "NO"],
|
|
8486
|
+
errorMessage: "Active is not marked YES or NO"
|
|
8487
|
+
}
|
|
8488
|
+
}
|
|
8489
|
+
}, UiSchema.elements[0].elements[0].elements[6] = {
|
|
8477
8490
|
type: "Control",
|
|
8478
8491
|
scope: "#/properties/proc",
|
|
8479
8492
|
config: {
|
|
8480
|
-
layout: { xs:
|
|
8493
|
+
layout: { xs: 0, sm: 0, md: 0, lg: 6 }
|
|
8481
8494
|
},
|
|
8482
8495
|
options: {
|
|
8483
8496
|
widget: "EmptyBox"
|