blixify-ui-web 0.4.70 → 0.4.71

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.
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAQN,MAAM,OAAO,CAAC;AAkEf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoB1B,eAAO,MAAM,YAAY,mFA4sNvB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/data/dataTemplate/index.tsx"],"names":[],"mappings":"AA8BA,OAAO,KAQN,MAAM,OAAO,CAAC;AAmEf,OAAO,EACL,iBAAiB,EAKlB,MAAM,kBAAkB,CAAC;AAoB1B,eAAO,MAAM,YAAY,mFAguNvB,CAAC"}
@@ -3576,6 +3576,12 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
3576
3576
  var isListAddress = structure.filter(function (eachAttribute) { return eachAttribute.type === "listAddress"; });
3577
3577
  var clonedSelectedData = (0, updateModule_1.handleClonedDataAttribute)(selectedData, structure, props.devSettings.server, false, showId ? true : false);
3578
3578
  isListAddress.map(function (eachListAdressFields) {
3579
+ if (type === "update") {
3580
+ var isForm = props.onComplete ? true : false;
3581
+ var shouldShow = (0, updateModule_1.renderShowCondition)(eachListAdressFields, clonedSelectedData, isForm);
3582
+ if (!shouldShow)
3583
+ return null;
3584
+ }
3579
3585
  var header = [
3580
3586
  {
3581
3587
  key: "name",
@@ -3635,6 +3641,12 @@ exports.DataTemplate = (0, react_1.forwardRef)(function (props, ref) {
3635
3641
  var clonedSelectedData = (0, updateModule_1.handleClonedDataAttribute)(selectedData, structure, props.devSettings.server, false, showId ? true : false);
3636
3642
  isListObject.map(function (eachListObject) {
3637
3643
  var _a, _b, _c, _d, _e, _f, _g;
3644
+ if (type === "update") {
3645
+ var isForm = props.onComplete ? true : false;
3646
+ var shouldShow = (0, updateModule_1.renderShowCondition)(eachListObject, clonedSelectedData, isForm);
3647
+ if (!shouldShow)
3648
+ return null;
3649
+ }
3638
3650
  if (props.onComplete &&
3639
3651
  eachListObject.hideForm &&
3640
3652
  eachListObject.optional) {