impaktapps-ui-builder 1.0.622 → 1.0.624

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.
@@ -804,9 +804,9 @@ var lodash = { exports: {} };
804
804
  (function(module, exports) {
805
805
  (function() {
806
806
  var undefined$1;
807
- var VERSION = "4.17.21";
807
+ var VERSION = "4.18.1";
808
808
  var LARGE_ARRAY_SIZE = 200;
809
- var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`";
809
+ var CORE_ERROR_TEXT = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", FUNC_ERROR_TEXT = "Expected a function", INVALID_TEMPL_VAR_ERROR_TEXT = "Invalid `variable` option passed into `_.template`", INVALID_TEMPL_IMPORTS_ERROR_TEXT = "Invalid `imports` option passed into `_.template`";
810
810
  var HASH_UNDEFINED = "__lodash_hash_undefined__";
811
811
  var MAX_MEMOIZE_SIZE = 500;
812
812
  var PLACEHOLDER = "__lodash_placeholder__";
@@ -2690,8 +2690,21 @@ var lodash = { exports: {} };
2690
2690
  }
2691
2691
  function baseUnset(object, path) {
2692
2692
  path = castPath(path, object);
2693
- object = parent(object, path);
2694
- return object == null || delete object[toKey(last(path))];
2693
+ var index = -1, length = path.length;
2694
+ if (!length) {
2695
+ return true;
2696
+ }
2697
+ while (++index < length) {
2698
+ var key = toKey(path[index]);
2699
+ if (key === "__proto__" && !hasOwnProperty.call(object, "__proto__")) {
2700
+ return false;
2701
+ }
2702
+ if ((key === "constructor" || key === "prototype") && index < length - 1) {
2703
+ return false;
2704
+ }
2705
+ }
2706
+ var obj = parent(object, path);
2707
+ return obj == null || delete obj[toKey(last(path))];
2695
2708
  }
2696
2709
  function baseUpdate(object, path, updater, customizer) {
2697
2710
  return baseSet(object, path, updater(baseGet(object, path)), customizer);
@@ -4018,7 +4031,7 @@ var lodash = { exports: {} };
4018
4031
  var index = -1, length = pairs == null ? 0 : pairs.length, result2 = {};
4019
4032
  while (++index < length) {
4020
4033
  var pair = pairs[index];
4021
- result2[pair[0]] = pair[1];
4034
+ baseAssignValue(result2, pair[0], pair[1]);
4022
4035
  }
4023
4036
  return result2;
4024
4037
  }
@@ -5402,8 +5415,13 @@ var lodash = { exports: {} };
5402
5415
  options = undefined$1;
5403
5416
  }
5404
5417
  string = toString(string);
5405
- options = assignInWith({}, options, settings, customDefaultsAssignIn);
5406
- var imports = assignInWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
5418
+ options = assignWith({}, options, settings, customDefaultsAssignIn);
5419
+ var imports = assignWith({}, options.imports, settings.imports, customDefaultsAssignIn), importsKeys = keys(imports), importsValues = baseValues(imports, importsKeys);
5420
+ arrayEach(importsKeys, function(key) {
5421
+ if (reForbiddenIdentifierChars.test(key)) {
5422
+ throw new Error2(INVALID_TEMPL_IMPORTS_ERROR_TEXT);
5423
+ }
5424
+ });
5407
5425
  var isEscaping, isEvaluating, index = 0, interpolate = options.interpolate || reNoMatch, source = "__p += '";
5408
5426
  var reDelimiters = RegExp2(
5409
5427
  (options.escape || reNoMatch).source + "|" + interpolate.source + "|" + (interpolate === reInterpolate ? reEsTemplate : reNoMatch).source + "|" + (options.evaluate || reNoMatch).source + "|$",
@@ -8249,7 +8267,8 @@ const buildPropertiesSection = function(type) {
8249
8267
  getInputField("columnSpacing", "Column Spacing"),
8250
8268
  getInputField("spacing", "Spacing"),
8251
8269
  getInputField("iconUrl", "Icon Url"),
8252
- emptyBox$1("WrapperSectionEmpty1", { xs: 0, sm: 0, md: 4, lg: 6 }),
8270
+ getInputField("wrapperId", "Wrapper Id"),
8271
+ emptyBox$1("WrapperSectionEmpty1", { xs: 6, sm: 6, md: 8, lg: 9 }),
8253
8272
  emptyBox$1("WrapperSectionEmpty2")
8254
8273
  ];
8255
8274
  break;
@@ -8280,13 +8299,15 @@ const buildPropertiesSection = function(type) {
8280
8299
  getMultiSelectField("filteringOptions", "Filtering Options"),
8281
8300
  getSelectField("maxPageSize", "Max Page Size"),
8282
8301
  getSelectField("initialDensity", "Initial Toggle Density"),
8302
+ getInputField("rowIdKey", "Row ID Key"),
8303
+ getInputField("parentIdKey", "Parent ID Key"),
8304
+ emptyBox$1("TreeEmpty1", { xs: 6, sm: 6, md: 4, lg: 3 }),
8283
8305
  buildWrapper("Tree Table Properties", [
8284
8306
  getRadioInputField("enableRowMovement", "Row Rearrangement", ["YES", "NO"]),
8285
8307
  getRadioInputField("enableExpanding", "Row Expanding", ["YES", "NO"]),
8286
8308
  getRadioInputField("paginateExpandedRows", "Multi Page Expansion", ["YES", "NO"]),
8287
8309
  getRadioInputField("filterFromLeafRows", "Filter from tree rows", ["YES", "NO"]),
8288
8310
  getInputField("defaultColumnSize", "Default Column Size"),
8289
- ,
8290
8311
  emptyBox$1("LazyLoadingTableEmpty3")
8291
8312
  ]),
8292
8313
  getArrayControl("Table_Download_Keys_Name", "KeyName", "Table Key Name"),
@@ -9281,7 +9302,7 @@ var Component = (store2, dynamicData2, submitHandler, service2) => {
9281
9302
  const currentLength = {
9282
9303
  "TabsComponent": formData.tabLabelElements.length,
9283
9304
  "Component": formData.elements.length,
9284
- "Events": formData.events.length
9305
+ "Event": formData.events.length
9285
9306
  };
9286
9307
  const insertElementIndex = currentLength[elementType] || 0;
9287
9308
  const pastedElementPath = this.elementPathHandler(pastedElementParentPath, insertElementIndex, elementType);
@@ -11627,6 +11648,7 @@ const buildWrapperSection = (config2, componentScope2) => {
11627
11648
  wrapper.config.main.rowSpacing = Number(config2.rowSpacing);
11628
11649
  wrapper.config.main.columnSpacing = Number(config2.columnSpacing);
11629
11650
  wrapper.config.main.spacing = Number(config2.spacing);
11651
+ wrapper.config.main.wrapperId = config2.wrapperId;
11630
11652
  if (config2.defaultStyle) {
11631
11653
  wrapper.config.defaultStyle = config2.defaultStyle === "YES" ? true : false;
11632
11654
  }
@@ -11881,6 +11903,12 @@ const buildTable = (config2, componentScope2) => {
11881
11903
  if (config2.selectKey) {
11882
11904
  table.config.main.selectKey = config2.selectKey;
11883
11905
  }
11906
+ if (config2.rowIdKey) {
11907
+ table.config.main.rowIdKey = config2.rowIdKey;
11908
+ }
11909
+ if (config2.parentIdKey) {
11910
+ table.config.main.parentIdKey = config2.parentIdKey;
11911
+ }
11884
11912
  if (config2.maxPageSize) {
11885
11913
  table.config.main.maxPageSize = config2.maxPageSize;
11886
11914
  }