@processmaker/modeler 1.35.0 → 1.36.0

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@processmaker/modeler",
3
- "version": "1.35.0",
3
+ "version": "1.36.0",
4
4
  "scripts": {
5
5
  "serve": "vue-cli-service serve",
6
6
  "open-cypress": "TZ=UTC cypress open",
package/src/.DS_Store CHANGED
Binary file
@@ -33,6 +33,7 @@ const dontShowOn = [
33
33
  'processmaker-modeler-terminate-end-event',
34
34
  'processmaker-modeler-text-annotation',
35
35
  'processmaker-modeler-sequence-flow',
36
+ 'processmaker-modeler-message-flow',
36
37
  ];
37
38
 
38
39
  export default {
@@ -6,6 +6,6 @@ export const faAlignBottom = {
6
6
  24,
7
7
  [],
8
8
  'e001',
9
- 'M4 12.32v9.32h1V3H4v9.32m2.28-3.6v1.96h8.52V6.76H6.28v1.96m0 7.2v1.96h13.08v-3.92H6.28v1.96',
9
+ 'M6.76 10.54v6.54h3.92V4H6.76v6.54m7.2 2.3v4.24h3.92V8.6h-3.92v4.24M3 18.9v.5h18.64v-1H3v.5',
10
10
  ],
11
11
  };
@@ -6,6 +6,6 @@ export const faCenterHorizontally = {
6
6
  24,
7
7
  [],
8
8
  'e001',
9
- 'M6.76 8.04v3.04H3v.96h3.76v6.04h3.92v-6.04h3.28v3.76h3.92v-3.76h3.76v-.959l-1.87-.011-1.87-.01-.01-1.89-.011-1.89H13.96v3.801l-1.63-.011-1.63-.01-.01-3.03L10.679 5H6.76v3.04',
9
+ 'M11.04 4.88v1.88H7.28v3.92h3.76v3.28H5v3.92h6.04v3.76h1v-3.76h6.04v-3.92h-6.04v-3.28h3.76V6.76h-3.76V3h-1v1.88',
10
10
  ],
11
11
  };
@@ -6,6 +6,6 @@ export const faCenterVertically = {
6
6
  24,
7
7
  [],
8
8
  'e001',
9
- 'M11.04 4.88v1.88H7.28v3.92h3.76v3.28H5v3.92h6.04v3.76h1v-3.76h6.04v-3.92h-6.04v-3.28h3.76V6.76h-3.76V3h-1v1.88',
9
+ 'M6.76 8.04v3.04H3v.96h3.76v6.04h3.92v-6.04h3.28v3.76h3.92v-3.76h3.76v-.959l-1.87-.011-1.87-.01-.01-1.89-.011-1.89H13.96v3.801l-1.63-.011-1.63-.01-.01-3.03L10.679 5H6.76v3.04',
10
10
  ],
11
11
  };
@@ -19,7 +19,7 @@ import DurationExpression from './DurationExpression';
19
19
  import DateTimeExpression from './DateTimeExpression';
20
20
  import CycleExpression from './CycleExpression';
21
21
  import { DateTime } from 'luxon';
22
- import { defaultDurationValue } from '@/components/nodes/intermediateTimerEvent';
22
+ import { defaultDurationTimerEvent } from '@/constants';
23
23
 
24
24
  const types = {
25
25
  timeDuration: 'DurationExpression',
@@ -61,7 +61,7 @@ export default {
61
61
  methods: {
62
62
  changeType(type) {
63
63
  const defaultValue = (this.isDelayType(type) || this.isCycleType(type))
64
- ? defaultDurationValue
64
+ ? defaultDurationTimerEvent
65
65
  : DateTime
66
66
  .local()
67
67
  .toUTC()
@@ -6,8 +6,7 @@ import cloneDeep from 'lodash/cloneDeep';
6
6
  import interruptingToggleConfig from '../boundaryEvent/interruptingToggleInspector';
7
7
  import advancedAccordionConfig from '@/components/inspectors/advancedAccordionConfig';
8
8
  import documentationAccordionConfig from '@/components/inspectors/documentationAccordionConfig';
9
-
10
- export const defaultDurationValue = 'PT1H';
9
+ import { defaultDurationTimerEvent } from '@/constants';
11
10
 
12
11
  export const id = 'processmaker-modeler-boundary-timer-event';
13
12
 
@@ -24,7 +23,7 @@ export default merge(cloneDeep(boundaryEventConfig), {
24
23
  eventDefinitions: [
25
24
  moddle.create('bpmn:TimerEventDefinition', {
26
25
  timeDuration: moddle.create('bpmn:Expression', {
27
- body: defaultDurationValue,
26
+ body: defaultDurationTimerEvent,
28
27
  }),
29
28
  }),
30
29
  ],
@@ -4,8 +4,8 @@ import nameConfigSettings from '@/components/inspectors/nameConfigSettings';
4
4
  import advancedAccordionConfig from '@/components/inspectors/advancedAccordionConfig';
5
5
  import documentationAccordionConfig from '@/components/inspectors/documentationAccordionConfig';
6
6
  import defaultNames from '@/components/nodes/intermediateEvent/defaultNames';
7
+ import { defaultDurationTimerEvent } from '@/constants';
7
8
 
8
- export const defaultDurationValue = 'PT1H';
9
9
  const id = 'processmaker-modeler-intermediate-catch-timer-event';
10
10
 
11
11
  export default {
@@ -67,7 +67,7 @@ export default {
67
67
  eventDefinitions: [
68
68
  moddle.create('bpmn:TimerEventDefinition', {
69
69
  timeDuration: moddle.create('bpmn:Expression', {
70
- body: defaultDurationValue,
70
+ body: defaultDurationTimerEvent,
71
71
  }),
72
72
  }),
73
73
  ],
@@ -0,0 +1 @@
1
+ export const defaultDurationTimerEvent = 'PT1H';
@@ -86,6 +86,7 @@ export default {
86
86
  this.yOffset = event.clientY - sourceElement.getBoundingClientRect().top;
87
87
  },
88
88
  deselect() {
89
+ window.ProcessMaker.EventBus.$off('custom-pointerclick');
89
90
  document.removeEventListener('mousemove', this.setDraggingPosition);
90
91
  if (this.movedElement) {
91
92
  document.body.removeChild(this.movedElement);