impaktapps-ui-builder 0.0.101-alpha.51 → 0.0.101-alpha.53
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 +5 -2
- package/dist/impaktapps-ui-builder.es.js.map +1 -1
- package/dist/impaktapps-ui-builder.umd.js +4 -4
- package/dist/impaktapps-ui-builder.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/impaktapps-ui-builder/builder/elements/UiSchema/Component/schema.ts +3 -0
- package/src/impaktapps-ui-builder/builder/services/component.ts +1 -1
|
@@ -6564,6 +6564,9 @@ const ComponentSchema = {
|
|
|
6564
6564
|
{ title: "Info", const: "info" }
|
|
6565
6565
|
]
|
|
6566
6566
|
},
|
|
6567
|
+
pageName: {
|
|
6568
|
+
path: []
|
|
6569
|
+
},
|
|
6567
6570
|
name: {
|
|
6568
6571
|
type: "string"
|
|
6569
6572
|
},
|
|
@@ -8537,7 +8540,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8537
8540
|
return getFormdataFromSessionStorage(path);
|
|
8538
8541
|
},
|
|
8539
8542
|
getSchema: function() {
|
|
8540
|
-
var _a;
|
|
8543
|
+
var _a, _b, _c;
|
|
8541
8544
|
const schema2 = _.cloneDeep(ComponentSchema);
|
|
8542
8545
|
if (sessionStorage.getItem("copiedConfig")) {
|
|
8543
8546
|
schema2.properties.RemoveItemButton.disabled = false;
|
|
@@ -8547,7 +8550,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
|
|
|
8547
8550
|
const lastDotIndex = path.lastIndexOf(".");
|
|
8548
8551
|
const currPath = path.slice(lastDotIndex + 1);
|
|
8549
8552
|
const currObj = _.get(currentConfig, currPath);
|
|
8550
|
-
schema2.properties.pageName.path.add({ label: currObj.config.main.label || "undefined", path });
|
|
8553
|
+
schema2.properties.pageName.path.add({ label: ((_c = (_b = currObj == null ? void 0 : currObj.config) == null ? void 0 : _b.main) == null ? void 0 : _c.label) || "undefined", path });
|
|
8551
8554
|
return schema2;
|
|
8552
8555
|
},
|
|
8553
8556
|
okHandler: () => okHandler(store2),
|