impaktapps-ui-builder 0.0.101-alpha.49 → 0.0.101-alpha.50
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 +26 -0
- 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/uiSchema.ts +23 -0
- package/src/impaktapps-ui-builder/builder/services/component.ts +9 -0
package/package.json
CHANGED
|
@@ -648,6 +648,29 @@ export const componentBasicUiSchema: any = (theme)=>{
|
|
|
648
648
|
},
|
|
649
649
|
},
|
|
650
650
|
},
|
|
651
|
+
{
|
|
652
|
+
type: "Control",
|
|
653
|
+
scope: "#/properties/pageName",
|
|
654
|
+
|
|
655
|
+
options: {
|
|
656
|
+
widget: "Breadcrumb",
|
|
657
|
+
},
|
|
658
|
+
config: {
|
|
659
|
+
layout: 12,
|
|
660
|
+
main: {
|
|
661
|
+
},
|
|
662
|
+
style: {
|
|
663
|
+
// paddingLeft: theme.spacing(3),
|
|
664
|
+
// width:"100%",
|
|
665
|
+
color:theme.palette.grey[600],
|
|
666
|
+
fontSize:"10px",
|
|
667
|
+
position: "fixed",
|
|
668
|
+
bottom: "24px",
|
|
669
|
+
borderBottom: `1px solid ${theme.palette.common.black}29`,
|
|
670
|
+
borderTop: `1px solid ${theme.palette.common.black}29`,
|
|
671
|
+
},
|
|
672
|
+
},
|
|
673
|
+
},
|
|
651
674
|
{
|
|
652
675
|
type: "Control",
|
|
653
676
|
scope: "#/properties/notify",
|
|
@@ -153,6 +153,15 @@ export default (store: any, dynamicData: any, submitHandler: any, service: any)
|
|
|
153
153
|
if (sessionStorage.getItem("copiedConfig") ) {
|
|
154
154
|
schema.properties.RemoveItemButton.disabled = false;
|
|
155
155
|
}
|
|
156
|
+
|
|
157
|
+
const currentConfig = JSON.parse(sessionStorage.getItem("pageFormdata"));
|
|
158
|
+
const path = store.searchParams?.get("path");
|
|
159
|
+
|
|
160
|
+
const lastDotIndex = path.lastIndexOf('.')
|
|
161
|
+
const currPath = path.slice(lastDotIndex+1)
|
|
162
|
+
|
|
163
|
+
const currObj = _.get(currentConfig, currPath)
|
|
164
|
+
schema.properties.pageName.path.add({label: currObj.config.main.label || "undefined", path: path})
|
|
156
165
|
return schema;
|
|
157
166
|
},
|
|
158
167
|
okHandler: () => okHandler(store),
|