@acorex/platform 20.6.4 → 20.6.5

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.
@@ -2279,7 +2279,7 @@ class AXPEntityCreateViewElementViewModel {
2279
2279
  triggers: widget.triggers,
2280
2280
  defaultValue: schema.defaultValue,
2281
2281
  valueTransforms: widget.valueTransforms,
2282
- options: merge(schema.interface?.options, {
2282
+ options: merge({}, schema.interface?.options, {
2283
2283
  validations: this.property.validations?.map((c) => ({ rule: c.rule, message: c.message, options: c.options })),
2284
2284
  }),
2285
2285
  };
@@ -3225,7 +3225,7 @@ class AXPEntityMasterUpdateElementViewModel {
3225
3225
  formula: widget.formula,
3226
3226
  triggers: widget.triggers,
3227
3227
  valueTransforms: widget.valueTransforms,
3228
- options: merge(schema.interface?.options, {
3228
+ options: merge({}, schema.interface?.options, {
3229
3229
  validations: this.property.validations?.map((c) => ({ rule: c.rule, message: c.message, options: c.options })),
3230
3230
  }),
3231
3231
  };
@@ -3482,7 +3482,7 @@ class AXPEntityMasterSingleElementViewModel {
3482
3482
  children: widget.children,
3483
3483
  formula: widget.formula,
3484
3484
  valueTransforms: widget.valueTransforms,
3485
- options: merge(schema.interface?.options),
3485
+ options: merge({}, schema.interface?.options),
3486
3486
  };
3487
3487
  }, ...(ngDevMode ? [{ debugName: "node" }] : []));
3488
3488
  }
@@ -5050,7 +5050,6 @@ class AXPMainEntityContentBuilder {
5050
5050
  : editablePropertyNames.has(p.name);
5051
5051
  // Check if property has its own disabled option
5052
5052
  const hasOwnDisabled = p.schema.interface?.options?.disabled !== undefined;
5053
- console.log('visible: ', p.schema.visible);
5054
5053
  return {
5055
5054
  type: 'grid-item-layout',
5056
5055
  name: prefixed,
@@ -5076,7 +5075,7 @@ class AXPMainEntityContentBuilder {
5076
5075
  children: p.schema.interface?.children,
5077
5076
  triggers: p.schema.interface?.triggers,
5078
5077
  valueTransforms: p.schema.interface?.valueTransforms,
5079
- options: merge(p.schema.interface?.options, {
5078
+ options: merge({}, p.schema.interface?.options, {
5080
5079
  validations: p.validations?.map((c) => ({
5081
5080
  rule: c.rule,
5082
5081
  message: c.message,