@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/dist/modeler.common.js +94 -91
- package/dist/modeler.common.js.map +1 -1
- package/dist/modeler.umd.js +94 -91
- package/dist/modeler.umd.js.map +1 -1
- package/dist/modeler.umd.min.js +2 -2
- package/dist/modeler.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/crown/crownButtons/genericFlowButton.vue +1 -0
- package/src/components/crown/crownButtons/icons/faAlignBottom.js +1 -1
- package/src/components/crown/crownButtons/icons/faCenterHorizontally.js +1 -1
- package/src/components/crown/crownButtons/icons/faCenterVertically.js +1 -1
- package/src/components/inspectors/IntermediateTimer.vue +2 -2
- package/src/components/nodes/boundaryTimerEvent/index.js +2 -3
- package/src/components/nodes/intermediateTimerEvent/index.js +2 -2
- package/src/constants.js +1 -0
- package/src/mixins/clickAndDrop.js +1 -0
package/package.json
CHANGED
package/src/.DS_Store
CHANGED
|
Binary file
|
|
@@ -6,6 +6,6 @@ export const faCenterHorizontally = {
|
|
|
6
6
|
24,
|
|
7
7
|
[],
|
|
8
8
|
'e001',
|
|
9
|
-
'
|
|
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
|
-
'
|
|
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 {
|
|
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
|
-
?
|
|
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:
|
|
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:
|
|
70
|
+
body: defaultDurationTimerEvent,
|
|
71
71
|
}),
|
|
72
72
|
}),
|
|
73
73
|
],
|
package/src/constants.js
ADDED
|
@@ -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);
|