impaktapps-ui-builder 0.0.382-alpha.206 → 0.0.382-alpha.207

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.
@@ -1,4 +1,4 @@
1
- (function(r,u){typeof exports=="object"&&typeof module!="undefined"?u(exports):typeof define=="function"&&define.amd?define(["exports"],u):(r=typeof globalThis!="undefined"?globalThis:r||self,u(r.MyLib={}))})(this,function(exports){"use strict";const PageMasterSchema={type:"object",properties:{name:{type:"string",minLength:6},label:{type:"string"},layout:{type:"array",items:{type:"object",properties:{layout_key:{type:"string"},layout_value:{type:"string"}}}},sectionLabels:{type:"array",items:{type:"object",properties:{label:{type:"string"}}}}},required:["label","name"]},PageMasterUiSchema={type:"HorizontalLayout",elements:[{type:"WrapperLayout",config:{main:{rowSpacing:1,header:!0},defaultStyle:!0},elements:[{type:"Control",scope:"#/properties/pageMaster",options:{widget:"Box"},config:{layout:8,main:{heading:"Page Master"}}},{type:"Control",scope:"#/properties/Back_Button",options:{widget:"IconButton"},config:{layout:3,main:{icon:"BackIcon",styleDefault:!0,size:"small",onClick:"backHandler",tooltipMessage:"Back"},style:{float:"right"}}}]},{type:"WrapperLayout",config:{main:{label:"Page Template",divider:!0},defaultStyle:!0},elements:[{type:"Control",scope:"#/properties/name",options:{widget:"InputField"},config:{layout:{xs:11,sm:11,md:5.5,lg:5.5},main:{label:"Name",options:[],color:"secondary",errorMessage:"Name should be start with 'page_'",helperText:'Name should be start with "page_"',required:!0}}},{type:"Control",scope:"#/properties/label",options:{widget:"InputField"},config:{layout:{xs:11,sm:11,md:5.5,lg:5.5},main:{label:"Label",options:[],color:"secondary",required:!0}}}]},{type:"TabLayout",config:{main:{tabLabels:["Components","events"],divider:!0},defaultStyle:!0},elements:[{type:"WrapperLayout",config:{main:{divider:!0},wrapperStyle:{border:"1px solid gray"}},elements:[{type:"Control",scope:"#/properties/heading",options:{widget:"Box"},config:{layout:8,main:{heading:"Components Table"},style:{fontFamily:"Roboto",fontWeight:"500",paddingLeft:"-10px",fontSize:"20px"}}},{type:"Control",scope:"#/properties/AddButton",options:{widget:"IconButton"},config:{layout:3,main:{icon:"AddIcon",styleDefault:!0,size:"small",onClick:"onAddClickHandler",tooltipMessage:"Add New"},style:{float:"right"}}},{type:"Control",scope:"#/properties/elements",options:{widget:"Table"},config:{main:{disableAction:!0,disableSelection:!0,enableDrag:!0}},elements:[{accessorKey:"name",header:"Name"},{accessorKey:"type",header:"Type"},{header:"Edit",field:"Reject_Records",flex:1,widget:{type:"Control",scope:"#/properties/RejectButton",options:{widget:"IconButton"},config:{main:{icon:"EditIcon",color:"primary",onClick:"Edit_Components",tooltipMessage:"Edit This Record"}}}},{header:"Delete",field:"Reject_Records",flex:1,widget:{type:"Control",scope:"#/properties/RejectButton",options:{widget:"IconButton"},config:{main:{icon:"RejectIcon",color:"error",onClick:"deletePopUpComponent",tooltipMessage:"Reject This Record"}}}}]},{type:"Control",scope:"#/properties/popUpComponent",options:{widget:"popUp"},config:{layout:{xs:12,sm:12,md:12,lg:12},main:{label:"PopUpComponent",fullScreen:!1,fullWidth:!1,maxWidth:!1,alignItems:!1,spacing:2}},elements:[{type:"Control",scope:"#/properties/label",options:{widget:"Box"},config:{layout:8,main:{heading:"Are you sure"}}},{type:"Control",scope:"#/properties/ConfirmDeleteButton1",options:{widget:"Button"},config:{main:{name:"No",startIcon:"ApproveIcon",variant:"contained",color:"info",type:"text",onClick:"testDelComp",size:"small"},style:{marginBottom:"8px",width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},float:"left"}}},{type:"Control",scope:"#/properties/CancelDeleteButton1",options:{widget:"Button"},config:{main:{name:"Yes",startIcon:"ApproveIcon",variant:"contained",color:"info",type:"text",onClick:"testDelComp",size:"small"},style:{marginBottom:"8px",width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},float:"right"}}}]}]},{type:"WrapperLayout",config:{main:{divider:!0},wrapperStyle:{border:"1px solid gray"}},elements:[{type:"Control",scope:"#/properties/heading",options:{widget:"Box"},config:{layout:8,main:{heading:"Event Table"},style:{fontFamily:"Roboto",fontWeight:"500",paddingLeft:"-10px",fontSize:"20px"}}},{type:"Control",scope:"#/properties/AddButton",options:{widget:"IconButton"},config:{layout:3,main:{icon:"AddIcon",styleDefault:!0,size:"small",onClick:"eventAddHandler",tooltipMessage:"Back"},style:{float:"right"}}},{type:"Control",scope:"#/properties/events",options:{widget:"Table"},config:{main:{disableAction:!0,disableSelection:!0,enableDrag:!0}},elements:[{accessorKey:"eventType",header:"Event Type"},{accessorKey:"Handler",header:"Handler"},{accessorKey:"Edit_Approve_Records",header:"Edit Widget",widget:{type:"Control",scope:"#/properties/Edit_Records",options:{widget:"IconButton"},config:{main:{color:"info",size:"small",icon:"EditIcon",tooltipMessage:"Edit This Record",onClick:"editEvent"},style:{color:"#3949ab"}}}},{accessorKey:"Reject_Records",header:"Delete",widget:{type:"Control",scope:"#/properties/RejectButton",options:{widget:"IconButton"},config:{main:{icon:"RejectIcon",color:"error",tooltipMessage:"Reject This Record",onClick:"deleteEvent"}}}}]}]}]},{type:"Control",scope:"#/properties/btn",options:{widget:"EmptyBox"},config:{layout:{xs:0,sm:0,md:8,lg:7}}},{type:"Control",scope:"#/properties/btn",options:{widget:"Button"},config:{layout:11.7,main:{name:"Save",startIcon:"ApproveIcon",variant:"contained",color:"info",type:"text",onClick:"saveHandler",size:"small"},style:{marginBottom:"8px",width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},float:"right"}}},{type:"Control",scope:"#/properties/notify",options:{widget:"Notify"},layout:6}]};var commonjsGlobal=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},lodash={exports:{}};/**
1
+ (function(r,u){typeof exports=="object"&&typeof module!="undefined"?u(exports):typeof define=="function"&&define.amd?define(["exports"],u):(r=typeof globalThis!="undefined"?globalThis:r||self,u(r.MyLib={}))})(this,function(exports){"use strict";const PageMasterSchema={type:"object",properties:{name:{type:"string",minLength:6},label:{type:"string"},layout:{type:"array",items:{type:"object",properties:{layout_key:{type:"string"},layout_value:{type:"string"}}}},sectionLabels:{type:"array",items:{type:"object",properties:{label:{type:"string"}}}}},required:["label","name"]},PageMasterUiSchema={type:"HorizontalLayout",elements:[{type:"WrapperLayout",config:{main:{rowSpacing:1,header:!0},defaultStyle:!0},elements:[{type:"Control",scope:"#/properties/pageMaster",options:{widget:"Box"},config:{layout:8,main:{heading:"Page Master"}}},{type:"Control",scope:"#/properties/Back_Button",options:{widget:"IconButton"},config:{layout:3,main:{icon:"BackIcon",styleDefault:!0,size:"small",onClick:"backHandler",tooltipMessage:"Back"},style:{float:"right"}}}]},{type:"WrapperLayout",config:{main:{label:"Page Template",divider:!0},defaultStyle:!0},elements:[{type:"Control",scope:"#/properties/name",options:{widget:"InputField"},config:{layout:{xs:11,sm:11,md:5.5,lg:5.5},main:{label:"Name",options:[],color:"secondary",errorMessage:"Name should be start with 'page_'",helperText:'Name should be start with "page_"',required:!0}}},{type:"Control",scope:"#/properties/label",options:{widget:"InputField"},config:{layout:{xs:11,sm:11,md:5.5,lg:5.5},main:{label:"Label",options:[],color:"secondary",required:!0}}}]},{type:"TabLayout",config:{main:{tabLabels:["Components","events"],divider:!0},defaultStyle:!0},elements:[{type:"WrapperLayout",config:{main:{divider:!0},wrapperStyle:{border:"1px solid gray"}},elements:[{type:"Control",scope:"#/properties/heading",options:{widget:"Box"},config:{layout:8,main:{heading:"Components Table"},style:{fontFamily:"Roboto",fontWeight:"500",paddingLeft:"-10px",fontSize:"20px"}}},{type:"Control",scope:"#/properties/AddButton",options:{widget:"IconButton"},config:{layout:3,main:{icon:"AddIcon",styleDefault:!0,size:"small",onClick:"onAddClickHandler",tooltipMessage:"Add New"},style:{float:"right"}}},{type:"Control",scope:"#/properties/elements",options:{widget:"Table"},config:{main:{disableAction:!0,disableSelection:!0,enableDrag:!0}},elements:[{accessorKey:"name",header:"Name"},{accessorKey:"type",header:"Type"},{header:"Edit",field:"Reject_Records",flex:1,widget:{type:"Control",scope:"#/properties/RejectButton",options:{widget:"IconButton"},config:{main:{icon:"EditIcon",color:"primary",onClick:"Edit_Components",tooltipMessage:"Edit This Record"}}}},{header:"Delete",field:"Reject_Records",flex:1,widget:{type:"Control",scope:"#/properties/RejectButton",options:{widget:"IconButton"},config:{main:{icon:"RejectIcon",color:"error",onClick:"deletePopUpComponent",tooltipMessage:"Reject This Record"}}}}]},{type:"Control",scope:"#/properties/popUpComponent",options:{widget:"PopUp"},config:{layout:{xs:12,sm:12,md:12,lg:12},main:{label:"PopUpComponent",fullScreen:!1,fullWidth:!1,maxWidth:!1,alignItems:!1,spacing:2}},elements:[{type:"Control",scope:"#/properties/label",options:{widget:"Box"},config:{layout:8,main:{heading:"Are you sure"}}},{type:"Control",scope:"#/properties/ConfirmDeleteButton1",options:{widget:"Button"},config:{main:{name:"No",startIcon:"ApproveIcon",variant:"contained",color:"info",type:"text",onClick:"testDelComp",size:"small"},style:{marginBottom:"8px",width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},float:"left"}}},{type:"Control",scope:"#/properties/CancelDeleteButton1",options:{widget:"Button"},config:{main:{name:"Yes",startIcon:"ApproveIcon",variant:"contained",color:"info",type:"text",onClick:"testDelComp",size:"small"},style:{marginBottom:"8px",width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},float:"right"}}}]}]},{type:"WrapperLayout",config:{main:{divider:!0},wrapperStyle:{border:"1px solid gray"}},elements:[{type:"Control",scope:"#/properties/heading",options:{widget:"Box"},config:{layout:8,main:{heading:"Event Table"},style:{fontFamily:"Roboto",fontWeight:"500",paddingLeft:"-10px",fontSize:"20px"}}},{type:"Control",scope:"#/properties/AddButton",options:{widget:"IconButton"},config:{layout:3,main:{icon:"AddIcon",styleDefault:!0,size:"small",onClick:"eventAddHandler",tooltipMessage:"Back"},style:{float:"right"}}},{type:"Control",scope:"#/properties/events",options:{widget:"Table"},config:{main:{disableAction:!0,disableSelection:!0,enableDrag:!0}},elements:[{accessorKey:"eventType",header:"Event Type"},{accessorKey:"Handler",header:"Handler"},{accessorKey:"Edit_Approve_Records",header:"Edit Widget",widget:{type:"Control",scope:"#/properties/Edit_Records",options:{widget:"IconButton"},config:{main:{color:"info",size:"small",icon:"EditIcon",tooltipMessage:"Edit This Record",onClick:"editEvent"},style:{color:"#3949ab"}}}},{accessorKey:"Reject_Records",header:"Delete",widget:{type:"Control",scope:"#/properties/RejectButton",options:{widget:"IconButton"},config:{main:{icon:"RejectIcon",color:"error",tooltipMessage:"Reject This Record",onClick:"deleteEvent"}}}}]}]}]},{type:"Control",scope:"#/properties/btn",options:{widget:"EmptyBox"},config:{layout:{xs:0,sm:0,md:8,lg:7}}},{type:"Control",scope:"#/properties/btn",options:{widget:"Button"},config:{layout:11.7,main:{name:"Save",startIcon:"ApproveIcon",variant:"contained",color:"info",type:"text",onClick:"saveHandler",size:"small"},style:{marginBottom:"8px",width:{xs:"100%",sm:"100%",md:"25%",lg:"20%"},float:"right"}}},{type:"Control",scope:"#/properties/notify",options:{widget:"Notify"},layout:6}]};var commonjsGlobal=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},lodash={exports:{}};/**
2
2
  * @license
3
3
  * Lodash <https://lodash.com/>
4
4
  * Copyright OpenJS Foundation and other contributors <https://openjsf.org/>