@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.
@@ -13614,7 +13614,11 @@ class WorkflowComponent {
13614
13614
  this.diagram.serializationSettings = {};
13615
13615
  const obj = JSON.parse(this.diagram.saveDiagram());
13616
13616
  this._form.workflow.connectors = obj.connectors;
13617
- this._form.workflow.nodes = obj.nodes.filter(n => n.id !== 'version');
13617
+ this._form.workflow.nodes = obj.nodes.filter(n => n.id !== 'version').map((n) => {
13618
+ n.offsetX = Math.round(n.offsetX);
13619
+ n.offsetY = Math.round(n.offsetY);
13620
+ return n;
13621
+ });
13618
13622
  this.saving = true;
13619
13623
  return this._service.save(this._form).toPromise().then(v => {
13620
13624
  this.ps.toast('ChangesSaved');
@@ -14039,7 +14043,7 @@ class FlowViewComponent extends TraceBase {
14039
14043
  content: this._tooltip(tooltip),
14040
14044
  position: 'TopCenter'
14041
14045
  },
14042
- constraints: Object.keys(tooltip).length ? NodeConstraints.Default | NodeConstraints.Tooltip : NodeConstraints.Default,
14046
+ constraints: Object.keys(tooltip).length ? NodeConstraints.Default : NodeConstraints.Default & ~NodeConstraints.Tooltip,
14043
14047
  addInfo: {
14044
14048
  tooltip,
14045
14049
  recipient,
@@ -21021,7 +21025,7 @@ let AssignActionComponent = class AssignActionComponent {
21021
21025
  this.users$ = this.userIds.valueChanges.
21022
21026
  pipe(debounceTime$1(200), takeUntil(this._destroy), switchMap(v => this._accounts.findAll(v, { take: 20 }).
21023
21027
  pipe(map(r => {
21024
- const userIds = this.form.controls['userIds'].value;
21028
+ const userIds = this.form.controls['userIds'].value || [];
21025
21029
  return r.filter(u => u.id !== me && userIds.indexOf(u.id) < 0);
21026
21030
  }))));
21027
21031
  }
@@ -22287,6 +22291,7 @@ let CompareDepartmentsWidget = CompareDepartmentsWidget_1 = class CompareDepartm
22287
22291
  labelStyle: {
22288
22292
  size: '0px'
22289
22293
  },
22294
+ title: this._translate.get('Duration'),
22290
22295
  lineStyle: { width: 0 },
22291
22296
  minorTickLines: { width: 0 }
22292
22297
  };
@@ -26963,7 +26968,11 @@ let CubeCompareWidget = CubeCompareWidget_1 = class CubeCompareWidget {
26963
26968
  skeleton: 'duration',
26964
26969
  labelStyle: {
26965
26970
  size: '0px'
26971
+ }, visible: true,
26972
+ titleStyle: {
26973
+ fontFamily: FONT_FAMILY
26966
26974
  },
26975
+ title: this._translate.get('Duration'),
26967
26976
  lineStyle: { width: 0 },
26968
26977
  minorTickLines: { width: 0 }
26969
26978
  };