@bizdoc/core 1.13.30 → 1.13.31

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.
@@ -13551,7 +13551,11 @@ class WorkflowComponent {
13551
13551
  this.diagram.serializationSettings = {};
13552
13552
  const obj = JSON.parse(this.diagram.saveDiagram());
13553
13553
  this._form.workflow.connectors = obj.connectors;
13554
- this._form.workflow.nodes = obj.nodes.filter(n => n.id !== 'version');
13554
+ this._form.workflow.nodes = obj.nodes.filter(n => n.id !== 'version').map((n) => {
13555
+ n.offsetX = Math.round(n.offsetX);
13556
+ n.offsetY = Math.round(n.offsetY);
13557
+ return n;
13558
+ });
13555
13559
  this.saving = true;
13556
13560
  return this._service.save(this._form).toPromise().then(v => {
13557
13561
  this.ps.toast('ChangesSaved');
@@ -13973,7 +13977,7 @@ class FlowViewComponent extends TraceBase {
13973
13977
  content: this._tooltip(tooltip),
13974
13978
  position: 'TopCenter'
13975
13979
  },
13976
- constraints: Object.keys(tooltip).length ? NodeConstraints.Default | NodeConstraints.Tooltip : NodeConstraints.Default,
13980
+ constraints: Object.keys(tooltip).length ? NodeConstraints.Default : NodeConstraints.Default & ~NodeConstraints.Tooltip,
13977
13981
  addInfo: {
13978
13982
  tooltip,
13979
13983
  recipient,
@@ -20882,7 +20886,7 @@ let AssignActionComponent = class AssignActionComponent {
20882
20886
  this.users$ = this.userIds.valueChanges.
20883
20887
  pipe(debounceTime$1(200), takeUntil(this._destroy), switchMap(v => this._accounts.findAll(v, { take: 20 }).
20884
20888
  pipe(map(r => {
20885
- const userIds = this.form.controls['userIds'].value;
20889
+ const userIds = this.form.controls['userIds'].value || [];
20886
20890
  return r.filter(u => u.id !== me && userIds.indexOf(u.id) < 0);
20887
20891
  }))));
20888
20892
  }
@@ -22138,6 +22142,7 @@ let CompareDepartmentsWidget = CompareDepartmentsWidget_1 = class CompareDepartm
22138
22142
  labelStyle: {
22139
22143
  size: '0px'
22140
22144
  },
22145
+ title: this._translate.get('Duration'),
22141
22146
  lineStyle: { width: 0 },
22142
22147
  minorTickLines: { width: 0 }
22143
22148
  };
@@ -26776,7 +26781,11 @@ let CubeCompareWidget = CubeCompareWidget_1 = class CubeCompareWidget {
26776
26781
  skeleton: 'duration',
26777
26782
  labelStyle: {
26778
26783
  size: '0px'
26784
+ }, visible: true,
26785
+ titleStyle: {
26786
+ fontFamily: FONT_FAMILY
26779
26787
  },
26788
+ title: this._translate.get('Duration'),
26780
26789
  lineStyle: { width: 0 },
26781
26790
  minorTickLines: { width: 0 }
26782
26791
  };