impaktapps-ui-builder 1.0.309 → 1.0.311

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.
@@ -7815,7 +7815,7 @@ const getArrayControl = (parentScope, childScope, childLabel) => {
7815
7815
  ]
7816
7816
  };
7817
7817
  };
7818
- const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScope, firstFieldLabel, secondFieldLabel) => {
7818
+ const getArrayControlMultiField = (parentScope, heading, firstFieldScope, secondFieldScope, firstFieldLabel, secondFieldLabel) => {
7819
7819
  return {
7820
7820
  type: "Control",
7821
7821
  scope: `#/properties/${parentScope}`,
@@ -7824,7 +7824,9 @@ const getArrayControlMultiField = (parentScope, firstFieldScope, secondFieldScop
7824
7824
  },
7825
7825
  config: {
7826
7826
  layout: 12,
7827
- main: {},
7827
+ main: {
7828
+ label: heading
7829
+ },
7828
7830
  style: {
7829
7831
  marginLeft: "-24px",
7830
7832
  marginBottom: "24px !important",
@@ -8058,7 +8060,7 @@ const buildPropertiesSection = function(type) {
8058
8060
  getRadioInputField("fullScreen", "FullScreen", ["YES", "NO"]),
8059
8061
  getRadioInputField("fullWidth", "FullWidth", ["YES", "NO"]),
8060
8062
  getInputField("maxWidth", "Max. Width"),
8061
- emptyBox$1("PopUpEmpty", { xs: 6, sm: 6, md: 0, lg: 0 })
8063
+ emptyBox$1("PopUpEmpty", { xs: 0, sm: 0, md: 0, lg: 3 })
8062
8064
  ];
8063
8065
  break;
8064
8066
  case "PopOver":
@@ -8106,7 +8108,7 @@ const buildPropertiesSection = function(type) {
8106
8108
  uiSchema.elements = [
8107
8109
  getInputField("rank", "Rank"),
8108
8110
  getInputField("height", "Height"),
8109
- emptyBox$1("RankCardEmpty1", { xs: 0, sm: 0, md: 4, lg: 4 })
8111
+ emptyBox$1("RankCardEmpty1", { xs: 6, sm: 0, md: 8, lg: 6 })
8110
8112
  ];
8111
8113
  break;
8112
8114
  case "LeaderBoard":
@@ -8136,6 +8138,7 @@ const buildPropertiesSection = function(type) {
8136
8138
  getInputField("bottomLabel_3", "Third BottomLabel"),
8137
8139
  getInputField("size", "Size"),
8138
8140
  getRadioInputField("variant", "Variant", ["circular", "horizontal"]),
8141
+ emptyBox$1("ProgressBarCardEmpty", { xs: 6, sm: 0, md: 8, lg: 6 }),
8139
8142
  getArrayControl("pieArcColors", "color", "Color")
8140
8143
  ];
8141
8144
  break;
@@ -8174,7 +8177,7 @@ const buildPropertiesSection = function(type) {
8174
8177
  getRadioInputField("multiSelect", "Enable multiSelect", ["YES", "No"]),
8175
8178
  getInputField("size", "Size"),
8176
8179
  getSelectField("color", "Color"),
8177
- emptyBox$1("ButtonEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 })
8180
+ emptyBox$1("ButtonEmpty1", { xs: 6, sm: 0, md: 4, lg: 3 })
8178
8181
  ];
8179
8182
  break;
8180
8183
  case "Box":
@@ -8204,8 +8207,8 @@ const buildPropertiesSection = function(type) {
8204
8207
  getInputField("yAxisTickCount", "Y Axis TickCount"),
8205
8208
  getSelectField("xAxisFormatType", "X Axis Format Type"),
8206
8209
  emptyBox$1("GraphEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
8207
- getArrayControlMultiField("legendLabels", "key", "value", "Key", "Label"),
8208
- getArrayControlMultiField("pieArcColors", "key", "value", "Key", "Color")
8210
+ getArrayControlMultiField("legendLabels", "Legend Labels", "key", "value", "Key", "Label"),
8211
+ getArrayControlMultiField("pieArcColors", "Colors", "key", "value", "Key", "Color")
8209
8212
  ];
8210
8213
  break;
8211
8214
  case "WrapperSection":
@@ -8225,7 +8228,7 @@ const buildPropertiesSection = function(type) {
8225
8228
  getRadioInputField("verticalOrientation", "Vertical Orientation", ["YES", "NO"]),
8226
8229
  getRadioInputField("lazyLoad", "Lazy Load", ["YES", "NO"]),
8227
8230
  emptyBox$1("TabEmpty"),
8228
- getArrayControlMultiField("sectionLabels", "label", "icon", "Label", "Icon")
8231
+ getArrayControlMultiField("sectionLabels", "Display Element", "label", "icon", "Label", "Icon")
8229
8232
  ];
8230
8233
  break;
8231
8234
  case "Table":
@@ -8254,8 +8257,7 @@ const buildPropertiesSection = function(type) {
8254
8257
  getRadioInputField("treeStructure", "Flat Tree Structure", ["YES", "NO"]),
8255
8258
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
8256
8259
  getInputField("defaultColumnSize", "Default Column Size"),
8257
- ,
8258
- emptyBox$1("LazyLoadingTableEmpty3")
8260
+ emptyBox$1("LazyLoadingTableEmpty3", { xs: 0, sm: 0, md: 4, lg: 6 })
8259
8261
  ]),
8260
8262
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
8261
8263
  sizeHolder,
@@ -8294,7 +8296,7 @@ const buildPropertiesSection = function(type) {
8294
8296
  getSelectField("variant", "Variant"),
8295
8297
  getInputField("toolTip", "Tooltip"),
8296
8298
  getSelectField("toolTipPosition", "Tooltip Position"),
8297
- emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
8299
+ emptyBox$1("dateEmpty", { xs: 6, sm: 6, md: 4, lg: 3 })
8298
8300
  ];
8299
8301
  break;
8300
8302
  case "DateTime":
@@ -8302,7 +8304,7 @@ const buildPropertiesSection = function(type) {
8302
8304
  getSelectField("variant", "Variant"),
8303
8305
  getInputField("toolTip", "Tooltip"),
8304
8306
  getSelectField("toolTipPosition", "Tooltip Position"),
8305
- emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
8307
+ emptyBox$1("dateTimeEmpty", { xs: 6, sm: 6, md: 4, lg: 3 })
8306
8308
  ];
8307
8309
  break;
8308
8310
  case "Thought":
@@ -8332,7 +8334,7 @@ const buildPropertiesSection = function(type) {
8332
8334
  getInputField("noFileAvailableMessage", "No Found Message"),
8333
8335
  getRadioInputField("useLabel", "Use Button", ["YES", "NO"]),
8334
8336
  getRadioInputField("externalUpload", "External Upload", ["YES", "NO"]),
8335
- emptyBox$1("imageEmpty", { xs: 0, sm: 0, md: 4, lg: 6 })
8337
+ emptyBox$1("fileInputEmpty", { xs: 6, sm: 6, md: 4, lg: 3 })
8336
8338
  ];
8337
8339
  break;
8338
8340
  case "Camera":
@@ -8885,7 +8887,7 @@ function okHandler(store2) {
8885
8887
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
8886
8888
  if (_.isEmpty(store2.ctx.core.errors)) {
8887
8889
  saveFormdataInSessionStorage(store2.ctx.core.data, path);
8888
- addToScopeKey(store2.ctx.core.data);
8890
+ addToScopeKey(store2.ctx.core.data.name);
8889
8891
  store2.navigate(-1);
8890
8892
  store2.setNotify({
8891
8893
  SuccessMessage: "Save Successfully",
@@ -9147,7 +9149,6 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
9147
9149
  },
9148
9150
  okHandler: () => {
9149
9151
  okHandler(store2);
9150
- addToScopeKey(store2.ctx.core.data);
9151
9152
  },
9152
9153
  saveHandler: async () => await saveHandler(store2, service2, submitHandler),
9153
9154
  onChange: function() {
@@ -9167,7 +9168,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
9167
9168
  const path = (_a = store2.searchParams) == null ? void 0 : _a.get("path");
9168
9169
  const id = (_b = store2.searchParams) == null ? void 0 : _b.get("id");
9169
9170
  saveFormdataInSessionStorage(store2.ctx.core.data, path);
9170
- addToScopeKey(store2.ctx.core.data);
9171
+ addToScopeKey(store2.ctx.core.data.name);
9171
9172
  if (path) {
9172
9173
  const path2 = (_c = store2.searchParams) == null ? void 0 : _c.get("path");
9173
9174
  const finalPath = `${path2}.elements[${rowId}]`;
@@ -9415,7 +9416,7 @@ var pageMaster = (funcParams) => {
9415
9416
  store2.formData.elements = [];
9416
9417
  }
9417
9418
  const response = saveFormdataInSessionStorage(store2.ctx.core.data);
9418
- addToScopeKey(store2.ctx.core.data);
9419
+ addToScopeKey(store2.ctx.core.data.name);
9419
9420
  if (id) {
9420
9421
  store2.navigate(
9421
9422
  `/Component?path=${`elements[${response == null ? void 0 : response.elements.length}]`}&id=${id}`
@@ -9441,7 +9442,7 @@ var pageMaster = (funcParams) => {
9441
9442
  store2.formData.events = [];
9442
9443
  }
9443
9444
  saveFormdataInSessionStorage(store2.ctx.core.data);
9444
- addToScopeKey(store2.ctx.core.data);
9445
+ addToScopeKey(store2.ctx.core.data.name);
9445
9446
  const finalPath = `events[${store2.formData.events.length}]`;
9446
9447
  store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
9447
9448
  },
@@ -9452,7 +9453,7 @@ var pageMaster = (funcParams) => {
9452
9453
  const rowId = dynamicData2.path.split(".")[1];
9453
9454
  const id = (_a = store2.searchParams) == null ? void 0 : _a.get("id");
9454
9455
  saveFormdataInSessionStorage(store2.ctx.core.data);
9455
- addToScopeKey(store2.ctx.core.data);
9456
+ addToScopeKey(store2.ctx.core.data.name);
9456
9457
  const finalPath = `events[${rowId}]`;
9457
9458
  store2.navigate(`/ComponentEvents?path=${finalPath}&id=${id}`);
9458
9459
  },