impaktapps-ui-builder 0.0.406 → 0.0.407

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.
@@ -5884,6 +5884,7 @@ const ComponentSchema = {
5884
5884
  { title: "Container", const: "WrapperSection" },
5885
5885
  { title: "DataGrid", const: "DataGrid" },
5886
5886
  { title: "Date", const: "Date" },
5887
+ { title: "DateTime", const: "DateTime" },
5887
5888
  { title: "Download File", const: "DownloadFile" },
5888
5889
  { title: "Empty Box", const: "EmptyBox" },
5889
5890
  { title: "File", const: "FileInput" },
@@ -7022,7 +7023,11 @@ const buildPropertiesSection = function(type) {
7022
7023
  ];
7023
7024
  break;
7024
7025
  case "WrapperSection":
7025
- uiSchema.elements = [getRadioInputField("divider", "Divider", ["YES", "No"]), EmptyBox];
7026
+ uiSchema.elements = [
7027
+ getRadioInputField("divider", "Divider", ["YES", "No"]),
7028
+ getRadioInputField("isAccordion", "Accordion", ["YES", "No"]),
7029
+ EmptyBox
7030
+ ];
7026
7031
  break;
7027
7032
  case "TabSection":
7028
7033
  uiSchema.elements = [
@@ -9634,6 +9639,7 @@ const buildWrapperSection = (config, componentScope) => {
9634
9639
  wrapper.scope = componentScope;
9635
9640
  wrapper.config.main.label = config.label;
9636
9641
  wrapper.config.main.divider = config.divider === "YES" ? true : false;
9642
+ wrapper.config.main.isAccordion = config.isAccordion === "YES" ? true : false;
9637
9643
  if (config.style) {
9638
9644
  wrapper.config.style = JSON.parse(config.style);
9639
9645
  }
@@ -10809,6 +10815,9 @@ const buildUiSchema = (config) => {
10809
10815
  let elements = {};
10810
10816
  const componentScope = `#/properties/${config.name}`;
10811
10817
  switch (config.type) {
10818
+ case "DateTime":
10819
+ elements = buildInputSlider(config, componentScope);
10820
+ break;
10812
10821
  case "InputSlider":
10813
10822
  elements = buildInputSlider(config, componentScope);
10814
10823
  break;