impaktapps-ui-builder 0.0.412-mtreemap.7 → 0.0.412-mtreemap.9

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.
@@ -6279,7 +6279,7 @@ const componentBasicUiSchema = (theme) => {
6279
6279
  type: "Control",
6280
6280
  scope: "#/properties/proc",
6281
6281
  config: {
6282
- llayout: { xs: 0, sm: 4, md: 4, lg: 4 }
6282
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6283
6283
  },
6284
6284
  options: {
6285
6285
  widget: "EmptyBox"
@@ -6289,7 +6289,7 @@ const componentBasicUiSchema = (theme) => {
6289
6289
  type: "Control",
6290
6290
  scope: "#/properties/proc",
6291
6291
  config: {
6292
- llayout: { xs: 0, sm: 4, md: 4, lg: 4 }
6292
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6293
6293
  },
6294
6294
  options: {
6295
6295
  widget: "EmptyBox"
@@ -6336,7 +6336,7 @@ const componentBasicUiSchema = (theme) => {
6336
6336
  type: "Control",
6337
6337
  scope: "#/properties/proc",
6338
6338
  config: {
6339
- llayout: { xs: 0, sm: 4, md: 4, lg: 4 }
6339
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6340
6340
  },
6341
6341
  options: {
6342
6342
  widget: "EmptyBox"
@@ -6569,6 +6569,29 @@ const CoreSection = {
6569
6569
  }
6570
6570
  }
6571
6571
  },
6572
+ {
6573
+ type: "Control",
6574
+ scope: "#/properties/columnFormat",
6575
+ options: {
6576
+ widget: "SelectInputField"
6577
+ },
6578
+ config: {
6579
+ layout: { xs: 11, sm: 4, md: 4, lg: 4 },
6580
+ main: {
6581
+ label: "Column Format"
6582
+ }
6583
+ }
6584
+ },
6585
+ {
6586
+ type: "Control",
6587
+ scope: "#/properties/proc",
6588
+ config: {
6589
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6590
+ },
6591
+ options: {
6592
+ widget: "EmptyBox"
6593
+ }
6594
+ },
6572
6595
  {
6573
6596
  type: "Control",
6574
6597
  scope: "#/properties/layout",
@@ -6609,12 +6632,12 @@ const CoreSection = {
6609
6632
  },
6610
6633
  {
6611
6634
  type: "Control",
6612
- scope: "#/properties/emptyBox",
6635
+ scope: "#/properties/proc",
6636
+ config: {
6637
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 }
6638
+ },
6613
6639
  options: {
6614
6640
  widget: "EmptyBox"
6615
- },
6616
- config: {
6617
- layout: { xs: 0, sm: 4 }
6618
6641
  }
6619
6642
  }
6620
6643
  ]
@@ -6627,121 +6650,95 @@ const EventSection = {
6627
6650
  type: "HorizontalLayout",
6628
6651
  elements: [
6629
6652
  {
6630
- type: "WrapperLayout",
6653
+ type: "Control",
6654
+ scope: "#/properties/events",
6655
+ options: {
6656
+ widget: "Table"
6657
+ },
6631
6658
  config: {
6632
6659
  main: {
6633
- divider: true
6634
- },
6635
- wrapperStyle: {
6636
- border: "1px solid gray"
6660
+ headerIcons: {
6661
+ elements: [
6662
+ {
6663
+ widget: {
6664
+ type: "Control",
6665
+ scope: "#/properties/New_Record",
6666
+ options: {
6667
+ widget: "IconButton"
6668
+ },
6669
+ config: {
6670
+ main: {
6671
+ color: "info",
6672
+ onClick: "eventAddHandler",
6673
+ size: "small",
6674
+ icon: "AddIcon",
6675
+ iconLabel: "Add New",
6676
+ styleDefault: true
6677
+ },
6678
+ style: {
6679
+ mt: "6px"
6680
+ }
6681
+ }
6682
+ }
6683
+ }
6684
+ ]
6685
+ },
6686
+ disableAction: true,
6687
+ disableSelection: true,
6688
+ enableDrag: true
6637
6689
  }
6638
6690
  },
6639
6691
  elements: [
6640
6692
  {
6641
- type: "Control",
6642
- scope: "#/properties/programType",
6643
- options: {
6644
- widget: "Box"
6645
- },
6646
- config: {
6647
- layout: 8,
6648
- main: {
6649
- heading: "Event Table"
6650
- },
6651
- style: {
6652
- fontFamily: "Roboto",
6653
- fontWeight: "500",
6654
- paddingLeft: "-10px",
6655
- fontSize: "20px"
6656
- }
6657
- }
6693
+ accessorKey: "eventType",
6694
+ header: "Event Type"
6658
6695
  },
6659
6696
  {
6660
- type: "Control",
6661
- scope: "#/properties/Back_Button",
6662
- options: {
6663
- widget: "IconButton"
6664
- },
6665
- config: {
6666
- layout: 3,
6667
- main: {
6668
- icon: "AddIcon",
6669
- styleDefault: true,
6670
- size: "small",
6671
- onClick: "eventAddHandler",
6672
- tooltipMessage: "Back"
6697
+ accessorKey: "Handler",
6698
+ header: "Handler"
6699
+ },
6700
+ {
6701
+ accessorKey: "Edit_Approve_Records",
6702
+ header: "Edit Widget",
6703
+ widget: {
6704
+ type: "Control",
6705
+ scope: "#/properties/Edit_Records",
6706
+ options: {
6707
+ widget: "IconButton"
6673
6708
  },
6674
- style: {
6675
- float: "right"
6709
+ config: {
6710
+ main: {
6711
+ color: "info",
6712
+ size: "small",
6713
+ icon: "EditIcon",
6714
+ tooltipMessage: "Edit This Record",
6715
+ onClick: "eventEditHandler"
6716
+ },
6717
+ style: {
6718
+ color: "#3949ab"
6719
+ }
6676
6720
  }
6677
6721
  }
6678
6722
  },
6679
6723
  {
6680
- type: "Control",
6681
- scope: "#/properties/events",
6682
- options: {
6683
- widget: "Table"
6684
- },
6685
- config: {
6686
- main: {
6687
- disableAction: true,
6688
- disableSelection: true,
6689
- enableDrag: true
6690
- }
6691
- },
6692
- elements: [
6693
- {
6694
- accessorKey: "eventType",
6695
- header: "Event Type"
6696
- },
6697
- {
6698
- accessorKey: "Handler",
6699
- header: "Handler"
6700
- },
6701
- {
6702
- accessorKey: "Edit_Approve_Records",
6703
- header: "Edit Widget",
6704
- widget: {
6705
- type: "Control",
6706
- scope: "#/properties/Edit_Records",
6707
- options: {
6708
- widget: "IconButton"
6709
- },
6710
- config: {
6711
- main: {
6712
- color: "info",
6713
- size: "small",
6714
- icon: "EditIcon",
6715
- tooltipMessage: "Edit This Record",
6716
- onClick: "eventEditHandler"
6717
- },
6718
- style: {
6719
- color: "#3949ab"
6720
- }
6721
- }
6722
- }
6724
+ accessorKey: "Reject_Records",
6725
+ header: "Delete",
6726
+ widget: {
6727
+ type: "Control",
6728
+ scope: "#/properties/RejectButton",
6729
+ accessorKeyName: "Reject_Records",
6730
+ options: {
6731
+ widget: "IconButton"
6723
6732
  },
6724
- {
6725
- accessorKey: "Reject_Records",
6726
- header: "Delete",
6727
- widget: {
6728
- type: "Control",
6729
- scope: "#/properties/RejectButton",
6730
- accessorKeyName: "Reject_Records",
6731
- options: {
6732
- widget: "IconButton"
6733
- },
6734
- config: {
6735
- main: {
6736
- icon: "RejectIcon",
6737
- color: "error",
6738
- tooltipMessage: "Reject This Record",
6739
- onClick: "deleteEvent"
6740
- }
6741
- }
6733
+ config: {
6734
+ main: {
6735
+ icon: "RejectIcon",
6736
+ color: "error",
6737
+ tooltipMessage: "Reject This Record",
6738
+ onClick: "deleteEvent"
6742
6739
  }
6743
6740
  }
6744
- ]
6741
+ }
6745
6742
  }
6746
6743
  ]
6747
6744
  }
@@ -7239,7 +7236,7 @@ const ValueTab = {
7239
7236
  {
7240
7237
  type: "Control",
7241
7238
  scope: "#/properties/value",
7242
- layout: 11.5,
7239
+ layout: 12,
7243
7240
  options: {
7244
7241
  detail: {
7245
7242
  type: "HorizontalLayout",
@@ -7853,6 +7850,31 @@ const EventUiSchema = (theme) => {
7853
7850
  },
7854
7851
  config: {
7855
7852
  main: {
7853
+ headerIcons: {
7854
+ elements: [
7855
+ {
7856
+ widget: {
7857
+ type: "Control",
7858
+ scope: "#/properties/New_Record",
7859
+ options: {
7860
+ widget: "IconButton"
7861
+ },
7862
+ config: {
7863
+ main: {
7864
+ onClick: "addEvent",
7865
+ size: "small",
7866
+ icon: "AddIcon",
7867
+ iconLabel: "Add New",
7868
+ styleDefault: true
7869
+ },
7870
+ style: {
7871
+ mt: "6px"
7872
+ }
7873
+ }
7874
+ }
7875
+ }
7876
+ ]
7877
+ },
7856
7878
  disableAction: true,
7857
7879
  disableSelection: true,
7858
7880
  enableDrag: true
@@ -8267,6 +8289,17 @@ const refreshSectionUiSchema = {
8267
8289
  }
8268
8290
  }
8269
8291
  },
8292
+ {
8293
+ type: "Control",
8294
+ scope: "#/properties/emptyBox",
8295
+ options: {
8296
+ widget: "EmptyBox"
8297
+ },
8298
+ config: {
8299
+ layout: { xs: 0, sm: 4, md: 4, lg: 4 },
8300
+ main: {}
8301
+ }
8302
+ },
8270
8303
  {
8271
8304
  type: "Control",
8272
8305
  scope: "#/properties/emptyBox",
@@ -8311,18 +8344,19 @@ var event = (store2, dynamicData2, submitHandler, service2, functionsName) => {
8311
8344
  if (handlerType) {
8312
8345
  if (handlerType === "custom") {
8313
8346
  uiSchema.elements[0].elements[0].elements[2] = getRadioInputField("isSync", "Run in Sync", ["Yes", "No"]);
8314
- uiSchema.elements[0].elements[0].elements[3] = emptyBox;
8315
- uiSchema.elements[0].elements[0].elements[4] = getTextArea("eventCode", "Write Custom Code", false);
8347
+ uiSchema.elements[0].elements[0].elements[3] = getTextArea("eventCode", "Write Custom Code", false);
8316
8348
  schema2.required = ["eventType", "Handler", "eventCode"];
8317
8349
  } else if (handlerType === "api") {
8318
- uiSchema.elements[0].elements[0].elements[2] = APISection;
8350
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox;
8351
+ uiSchema.elements[0].elements[0].elements[3] = APISection;
8319
8352
  schema2.required = ["eventType", "Handler", "method", "path"];
8320
8353
  } else if (handlerType === "inBuiltFunction") {
8321
8354
  uiSchema.elements[0].elements[0].elements[2] = getSelectField("inBuiltFunctionType", "Function Name");
8322
- uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true, { xs: 12, sm: 12, md: 6 });
8355
+ uiSchema.elements[0].elements[0].elements[3] = getTextArea("funcParametersCode", "Write Custom Code for Functions Parameter", true);
8323
8356
  schema2.required = ["eventType", "Handler", "inBuiltFunctionType"];
8324
8357
  } else if (handlerType === "refresh") {
8325
- uiSchema.elements[0].elements[0].elements[2] = refreshSectionUiSchema;
8358
+ uiSchema.elements[0].elements[0].elements[2] = emptyBox;
8359
+ uiSchema.elements[0].elements[0].elements[3] = refreshSectionUiSchema;
8326
8360
  schema2.properties.refreshElements.required = ["value"];
8327
8361
  schema2.properties.refreshElements.items.required = ["value"];
8328
8362
  schema2.required = ["eventType", "Handler", "refreshElements"];