impaktapps-ui-builder 0.0.407 → 0.0.408

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.
@@ -7018,6 +7018,8 @@ const buildPropertiesSection = function(type) {
7018
7018
  getInputField("leftLabel", "Left Label"),
7019
7019
  getInputField("bottomLabel", "Bottom Label"),
7020
7020
  getRadioInputField("legendHide", "Legend Hide", ["YES", "No"]),
7021
+ getInputField("yAxisValue", "Y-AxisValue"),
7022
+ getInputField("xAxisValue", "X-AxisValue"),
7021
7023
  getArrayControl("legendLabels", "label"),
7022
7024
  getArrayControl("pieArcColors", "color")
7023
7025
  ];
@@ -8706,6 +8708,9 @@ var service = (funcParams) => {
8706
8708
  onFileUpload: async function() {
8707
8709
  await this.callHandler("onUpload");
8708
8710
  },
8711
+ backHandler: function() {
8712
+ funcParams.store.navigate(-1);
8713
+ },
8709
8714
  onPaginationChange: async function(paginationValues) {
8710
8715
  var _a;
8711
8716
  const apiBody = [
@@ -10122,6 +10127,25 @@ var DateInputField = {
10122
10127
  }
10123
10128
  }
10124
10129
  };
10130
+ const DateTime = {
10131
+ type: "Control",
10132
+ scope: "#/properties/date",
10133
+ options: {
10134
+ widget: "DateTimeInputField"
10135
+ },
10136
+ config: {
10137
+ layout: {
10138
+ xs: 11,
10139
+ sm: 11,
10140
+ md: 5.5,
10141
+ lg: 5.5
10142
+ },
10143
+ main: {
10144
+ label: "DateTime",
10145
+ type: "date"
10146
+ }
10147
+ }
10148
+ };
10125
10149
  const buildDate = (config, componentScope) => {
10126
10150
  const dateInputField = _.cloneDeep(DateInputField);
10127
10151
  dateInputField.config.main.label = config.label;
@@ -10132,6 +10156,16 @@ const buildDate = (config, componentScope) => {
10132
10156
  }
10133
10157
  return dateInputField;
10134
10158
  };
10159
+ const buildDateTime = (config, componentScope) => {
10160
+ const dateTimeInputField = _.cloneDeep(DateTime);
10161
+ dateTimeInputField.config.main.label = config.label;
10162
+ dateTimeInputField.config.main.errorMessage = `${config.name} is empty or invalid`;
10163
+ dateTimeInputField.scope = componentScope;
10164
+ if (config.layout) {
10165
+ dateTimeInputField.config.layout = createLayoutFormat(config.layout);
10166
+ }
10167
+ return dateTimeInputField;
10168
+ };
10135
10169
  var RankCard = {
10136
10170
  type: "Control",
10137
10171
  scope: "#/properties/path",
@@ -10368,6 +10402,12 @@ const buildLineGraph = (config, componentScope) => {
10368
10402
  if (config.bottomLabel) {
10369
10403
  lineGraph.config.main.bottomLabel = config.bottomLabel;
10370
10404
  }
10405
+ if (config.yAxisValue) {
10406
+ lineGraph.config.main.yAxisValue = config.yAxisValue;
10407
+ }
10408
+ if (config.xAxisValue) {
10409
+ lineGraph.config.main.xAxisValue = config.xAxisValue;
10410
+ }
10371
10411
  if (config.leftLabel) {
10372
10412
  lineGraph.config.main.leftLabel = config.leftLabel;
10373
10413
  }
@@ -10816,7 +10856,7 @@ const buildUiSchema = (config) => {
10816
10856
  const componentScope = `#/properties/${config.name}`;
10817
10857
  switch (config.type) {
10818
10858
  case "DateTime":
10819
- elements = buildInputSlider(config, componentScope);
10859
+ elements = buildDateTime(config, componentScope);
10820
10860
  break;
10821
10861
  case "InputSlider":
10822
10862
  elements = buildInputSlider(config, componentScope);