@processmaker/modeler 1.30.2 → 1.31.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/img/{boundary-event.5bf51421.svg → boundary-event.4e0fb9de.svg} +3 -3
- package/dist/img/clipboard.5fe6f79e.svg +3 -0
- package/dist/img/conditional-start-event.a56e4b5b.svg +4 -0
- package/dist/img/{connect-artifacts.5f8bed89.svg → connect-artifacts.496eb4b9.svg} +3 -3
- package/dist/img/{connect-elements.d4abedf2.svg → connect-elements.9ec5ca93.svg} +3 -3
- package/dist/img/copy-regular.2d678143.svg +3 -0
- package/dist/img/data-object.0d6d1585.svg +3 -0
- package/dist/img/data-store.32bed5ce.svg +3 -0
- package/dist/img/{default-flow.212147b4.svg → default-flow.156a793b.svg} +3 -3
- package/dist/img/end-event.9d1ff5c0.svg +3 -0
- package/dist/img/error-end-event.aab86eca.svg +11 -0
- package/dist/img/event-based-gateway.9960eee5.svg +6 -0
- package/dist/img/exclusive-gateway.26db4fae.svg +4 -0
- package/dist/img/generic-gateway.09ca6929.svg +3 -0
- package/dist/img/generic-intermediate-event.a711eb33.svg +4 -0
- package/dist/img/inclusive-gateway.754cb36f.svg +4 -0
- package/dist/img/intermediate-conditional-catch-event.e9ae6198.svg +5 -0
- package/dist/img/intermediate-message-catch-event.9d25208e.svg +5 -0
- package/dist/img/intermediate-message-throw-event.4309dc45.svg +5 -0
- package/dist/img/intermediate-signal-catch-event.74b65f17.svg +5 -0
- package/dist/img/intermediate-signal-throw-event.29cad018.svg +5 -0
- package/dist/img/intermediate-timer-event.1670a1c8.svg +5 -0
- package/dist/img/{lane-below.890c069b.svg → lane-below.e67f9823.svg} +12 -12
- package/dist/img/manual-task.374a73c3.svg +4 -0
- package/dist/img/message-end-event.f15b67f5.svg +4 -0
- package/dist/img/message-start-event.f2d4a5e6.svg +4 -0
- package/dist/img/mini-map.ae46890c.svg +3 -0
- package/dist/img/minus.ca21cc3b.svg +3 -0
- package/dist/img/parallel-gateway.877bb628.svg +4 -0
- package/dist/img/pin-angle-fill.0e4af645.svg +3 -0
- package/dist/img/pin-angle.3462c115.svg +3 -0
- package/dist/img/plus.afbb0b13.svg +3 -0
- package/dist/img/pool.98d4734c.svg +3 -0
- package/dist/img/redo.8425ce7e.svg +4 -0
- package/dist/img/script-task.3d8c664a.svg +4 -0
- package/dist/img/signal-end-event.a38a6616.svg +4 -0
- package/dist/img/signal-start-event.3d7b096c.svg +4 -0
- package/dist/img/start-event.7f1911cb.svg +3 -0
- package/dist/img/sub-task.52d09847.svg +4 -0
- package/dist/img/task.8a1c6c75.svg +3 -0
- package/dist/img/terminate-end-event.3aa5cd00.svg +4 -0
- package/dist/img/text-annotation.02df53cd.svg +3 -0
- package/dist/img/timer-start-event.55abac82.svg +4 -0
- package/dist/img/trash-alt-solid.58c408b8.svg +1 -0
- package/dist/img/undo.e0ffff93.svg +4 -0
- package/dist/modeler.common.js +19227 -12350
- package/dist/modeler.common.js.map +1 -1
- package/dist/modeler.umd.js +19227 -12350
- package/dist/modeler.umd.js.map +1 -1
- package/dist/modeler.umd.min.js +28 -3
- package/dist/modeler.umd.min.js.map +1 -1
- package/jsconfig.json +12 -0
- package/package.json +3 -1
- package/src/.DS_Store +0 -0
- package/src/ModelerApp.vue +21 -21
- package/src/assets/boundary-event.svg +3 -3
- package/src/assets/clipboard.svg +3 -1
- package/src/assets/cog-solid.svg +1 -0
- package/src/assets/connect-artifacts.svg +3 -3
- package/src/assets/connect-elements.svg +3 -3
- package/src/assets/copy-regular.svg +3 -1
- package/src/assets/default-flow.svg +3 -3
- package/src/assets/lane-below.svg +12 -12
- package/src/assets/palette.svg +1 -0
- package/src/assets/pin-angle-fill.svg +3 -0
- package/src/assets/pin-angle.svg +3 -0
- package/src/assets/railBottom/mini-map.svg +3 -0
- package/src/assets/railBottom/minus.svg +3 -0
- package/src/assets/railBottom/plus.svg +3 -0
- package/src/assets/railBottom/redo.svg +4 -0
- package/src/assets/railBottom/undo.svg +4 -0
- package/src/assets/scss/settings/_settings.variables.scss +5 -0
- package/src/assets/scss/tools/_tools.chevron.scss +1 -1
- package/src/assets/toolpanel/conditional-start-event.svg +4 -0
- package/src/assets/toolpanel/data-object.svg +2 -8
- package/src/assets/toolpanel/data-store.svg +2 -5
- package/src/assets/toolpanel/end-event.svg +3 -19
- package/src/assets/toolpanel/error-end-event.svg +11 -0
- package/src/assets/toolpanel/event-based-gateway.svg +6 -0
- package/src/assets/toolpanel/exclusive-gateway.svg +4 -0
- package/src/assets/toolpanel/generic-gateway.svg +2 -13
- package/src/assets/toolpanel/generic-intermediate-event.svg +3 -4
- package/src/assets/toolpanel/inclusive-gateway.svg +4 -0
- package/src/assets/toolpanel/intermediate-conditional-catch-event.svg +5 -0
- package/src/assets/toolpanel/intermediate-message-catch-event.svg +5 -0
- package/src/assets/toolpanel/intermediate-message-throw-event.svg +4 -5
- package/src/assets/toolpanel/intermediate-signal-catch-event.svg +5 -0
- package/src/assets/toolpanel/intermediate-signal-throw-event.svg +5 -0
- package/src/assets/toolpanel/intermediate-timer-event.svg +5 -0
- package/src/assets/toolpanel/manual-task.svg +4 -0
- package/src/assets/toolpanel/message-end-event.svg +4 -0
- package/src/assets/toolpanel/message-start-event.svg +3 -3
- package/src/assets/toolpanel/parallel-gateway.svg +4 -0
- package/src/assets/toolpanel/pool.svg +3 -11
- package/src/assets/toolpanel/script-task.svg +4 -0
- package/src/assets/toolpanel/signal-end-event.svg +4 -0
- package/src/assets/toolpanel/signal-start-event.svg +4 -0
- package/src/assets/toolpanel/start-event.svg +3 -19
- package/src/assets/toolpanel/sub-task.svg +4 -0
- package/src/assets/toolpanel/task.svg +3 -14
- package/src/assets/toolpanel/terminate-end-event.svg +4 -0
- package/src/assets/toolpanel/text-annotation.svg +3 -17
- package/src/assets/toolpanel/timer-start-event.svg +4 -0
- package/src/assets/trash-alt-solid.svg +1 -4
- package/src/components/crown/crownButtons/addLaneAboveButton.vue +6 -4
- package/src/components/crown/crownButtons/addLaneBelowButton.vue +6 -4
- package/src/components/crown/crownButtons/associationFlowButton.vue +1 -14
- package/src/components/crown/crownButtons/cloneButton.vue +1 -6
- package/src/components/crown/crownButtons/copyButton.vue +1 -4
- package/src/components/crown/crownButtons/crownBoundaryEventDropdown.vue +7 -2
- package/src/components/crown/crownButtons/crownButton.vue +36 -11
- package/src/components/crown/crownButtons/crownColorDropdown.vue +1 -1
- package/src/components/crown/crownButtons/crownDropdown.scss +4 -9
- package/src/components/crown/crownButtons/crownTaskDropdown.vue +1 -1
- package/src/components/crown/crownButtons/deleteButton.vue +1 -7
- package/src/components/crown/crownButtons/genericFlowButton.vue +4 -4
- package/src/components/crown/crownButtons/icons/faAlignBottom.js +11 -0
- package/src/components/crown/crownButtons/icons/faAlignLeft.js +11 -0
- package/src/components/crown/crownButtons/icons/faAlignRight.js +11 -0
- package/src/components/crown/crownButtons/icons/faAlignTop.js +11 -0
- package/src/components/crown/crownButtons/icons/faBoundaryEvent.js +11 -0
- package/src/components/crown/crownButtons/icons/faCenterHorizontally.js +11 -0
- package/src/components/crown/crownButtons/icons/faCenterVertically.js +11 -0
- package/src/components/crown/crownButtons/icons/faConnectElements.js +11 -0
- package/src/components/crown/crownButtons/icons/faDistributeHorizontally.js +11 -0
- package/src/components/crown/crownButtons/icons/faDistributeVertically.js +11 -0
- package/src/components/crown/crownButtons/icons/faLaneAbove.js +11 -0
- package/src/components/crown/crownButtons/icons/faLaneBelow.js +11 -0
- package/src/components/crown/crownButtons/icons/index.js +12 -0
- package/src/components/crown/crownConfig/crownConfig.scss +5 -4
- package/src/components/crown/crownConfig/crownConfig.vue +5 -4
- package/src/components/crown/crownMultiselect/crownAlign.scss +20 -0
- package/src/components/crown/crownMultiselect/crownAlign.vue +302 -0
- package/src/components/crown/crownMultiselect/crownMultiselect.vue +60 -14
- package/src/components/miniPaper/MiniPaper.vue +16 -2
- package/src/components/miniPaper/miniPaper.scss +6 -12
- package/src/components/modeler/Modeler.vue +29 -23
- package/src/components/modeler/ModelerReadonly.vue +996 -0
- package/src/components/modeler/Selection.vue +206 -18
- package/src/components/nodes/boundaryEvent/boundaryEvent.vue +0 -5
- package/src/components/nodes/endEvent/index.js +37 -0
- package/src/components/nodes/exclusiveGateway/index.js +30 -0
- package/src/components/nodes/genericFlow/SequenceFlow.js +2 -1
- package/src/components/nodes/index.js +1 -0
- package/src/components/nodes/intermediateTimerEvent/index.js +44 -0
- package/src/components/nodes/pool/pool.vue +0 -8
- package/src/components/nodes/startEvent/index.js +43 -0
- package/src/components/nodes/task/index.js +30 -0
- package/src/components/railBottom/RailBottom.vue +120 -0
- package/src/components/railBottom/controls/Controls.vue +148 -0
- package/src/components/railBottom/controls/SubmenuPopper/SubmenuPopper.vue +188 -0
- package/src/components/railBottom/controls/controls.scss +98 -0
- package/src/components/railBottom/icons/MinusIcon.vue +5 -0
- package/src/components/railBottom/icons/PlusIcon.vue +5 -0
- package/src/components/railBottom/icons/index.js +2 -0
- package/src/components/railBottom/miniPaperControl/MiniPaperControl.vue +46 -0
- package/src/components/railBottom/miniPaperControl/miniPaperControl.scss +45 -0
- package/src/components/railBottom/railBottom.scss +28 -0
- package/src/components/railBottom/undoRedoControl/UndoRedoControl.vue +89 -0
- package/src/components/railBottom/undoRedoControl/undoRedoControl.scss +51 -0
- package/src/components/railBottom/zoomControl/ZoomControl.vue +80 -0
- package/src/components/railBottom/zoomControl/zoomControl.scss +66 -0
- package/src/components/rails/explorer-rail/explorer-rail.scss +55 -0
- package/src/components/rails/explorer-rail/explorer.vue +93 -0
- package/src/components/rails/explorer-rail/filterNodeTypes/filterNodeTypes.vue +54 -0
- package/src/components/rails/explorer-rail/nodeTypesLoop/nodeTypesLoop.vue +234 -0
- package/src/components/rails/explorer-rail/rankConstants.js +1 -0
- package/src/components/toolbar/ToolBar.vue +0 -66
- package/src/main.js +6 -0
- package/src/mixins/linkConfig.js +16 -5
- package/src/mixins/resizeConfig.js +3 -1
- package/src/nodeTypesStore.js +118 -0
- package/src/store.js +5 -0
- package/dist/img/clipboard.bcc7796a.svg +0 -1
- package/dist/img/copy-regular.3eb4c04a.svg +0 -1
- package/dist/img/data-object.e931f8e7.svg +0 -9
- package/dist/img/data-store.7ca4c899.svg +0 -6
- package/dist/img/end-event.1ad31396.svg +0 -19
- package/dist/img/generic-gateway.3a76fc75.svg +0 -14
- package/dist/img/generic-intermediate-event.ba2e1d71.svg +0 -5
- package/dist/img/intermediate-message-throw-event.ac432d96.svg +0 -6
- package/dist/img/pool.ac62ddae.svg +0 -11
- package/dist/img/start-event.e895cee2.svg +0 -19
- package/dist/img/task.e7419065.svg +0 -14
- package/dist/img/text-annotation.926416f4.svg +0 -17
- package/dist/img/trash-alt-solid.f2f64c1f.svg +0 -4
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
<script>
|
|
2
|
+
import pinIcon from '@/assets/pin-angle.svg';
|
|
3
|
+
import pinFillIcon from '@/assets/pin-angle-fill.svg';
|
|
4
|
+
import nodeTypesStore from '@/nodeTypesStore';
|
|
5
|
+
|
|
6
|
+
export default {
|
|
7
|
+
name: 'NodeTypesLoop',
|
|
8
|
+
data() {
|
|
9
|
+
return {
|
|
10
|
+
pinIcon,
|
|
11
|
+
pinFillIcon,
|
|
12
|
+
showPin: false,
|
|
13
|
+
wasClicked: false,
|
|
14
|
+
element: null,
|
|
15
|
+
selectedItem: null,
|
|
16
|
+
xOffset: 0,
|
|
17
|
+
yOffset: 0,
|
|
18
|
+
movedElement: null,
|
|
19
|
+
helperStyles: {
|
|
20
|
+
backgroundColor:'#ffffff',
|
|
21
|
+
position: 'absolute',
|
|
22
|
+
height: '40px',
|
|
23
|
+
width: '40px',
|
|
24
|
+
zIndex: '10',
|
|
25
|
+
opacity: '0.5',
|
|
26
|
+
pointerEvents: 'none',
|
|
27
|
+
},
|
|
28
|
+
};
|
|
29
|
+
},
|
|
30
|
+
created() {
|
|
31
|
+
nodeTypesStore.dispatch('getUserPinnedObjects');
|
|
32
|
+
},
|
|
33
|
+
methods: {
|
|
34
|
+
nodeTypeAlreadyPinned(object, type) {
|
|
35
|
+
return !!this.pinnedObjects.find(obj => obj.type === type);
|
|
36
|
+
},
|
|
37
|
+
unPin(object) {
|
|
38
|
+
return nodeTypesStore.dispatch('removeUserPinnedObject', object);
|
|
39
|
+
},
|
|
40
|
+
addPin(object) {
|
|
41
|
+
return nodeTypesStore.dispatch('addUserPinnedObject', object);
|
|
42
|
+
},
|
|
43
|
+
onClickHandler(event, control) {
|
|
44
|
+
this.createDraggingHelper(event, control);
|
|
45
|
+
document.addEventListener('mousemove', this.setDraggingPosition);
|
|
46
|
+
this.setDraggingPosition(event);
|
|
47
|
+
// Deselect control on click if same control is already selected
|
|
48
|
+
if (this.selectedItem === control.type) {
|
|
49
|
+
document.removeEventListener('mousemove', this.setDraggingPosition);
|
|
50
|
+
document.body.removeChild(this.movedElement);
|
|
51
|
+
this.$emit('onSetCursor', 'none');
|
|
52
|
+
this.selectedItem = null;
|
|
53
|
+
this.movedElement = null;
|
|
54
|
+
this.wasClicked = false;
|
|
55
|
+
return;
|
|
56
|
+
}
|
|
57
|
+
this.wasClicked = true;
|
|
58
|
+
this.element = control;
|
|
59
|
+
this.$emit('onSetCursor', 'crosshair');
|
|
60
|
+
this.selectedItem = control.type;
|
|
61
|
+
window.ProcessMaker.EventBus.$on('custom-pointerclick', message => {
|
|
62
|
+
window.ProcessMaker.EventBus.$off('custom-pointerclick');
|
|
63
|
+
document.removeEventListener('mousemove', this.setDraggingPosition);
|
|
64
|
+
if (this.movedElement) {
|
|
65
|
+
document.body.removeChild(this.movedElement);
|
|
66
|
+
}
|
|
67
|
+
this.selectedItem = null;
|
|
68
|
+
this.movedElement = null;
|
|
69
|
+
this.onCreateElement(message);
|
|
70
|
+
});
|
|
71
|
+
},
|
|
72
|
+
createDraggingHelper(event, control) {
|
|
73
|
+
if (this.movedElement) {
|
|
74
|
+
document.removeEventListener('mousemove', this.setDraggingPosition);
|
|
75
|
+
document.body.removeChild(this.movedElement);
|
|
76
|
+
this.movedElement = null;
|
|
77
|
+
}
|
|
78
|
+
const sourceElement = event.target;
|
|
79
|
+
this.movedElement = document.createElement('img');
|
|
80
|
+
Object.keys(this.helperStyles).forEach((property) => {
|
|
81
|
+
this.movedElement.style[property] = this.helperStyles[property];
|
|
82
|
+
});
|
|
83
|
+
this.movedElement.src = control.icon;
|
|
84
|
+
document.body.appendChild(this.movedElement);
|
|
85
|
+
this.xOffset = event.clientX - sourceElement.getBoundingClientRect().left;
|
|
86
|
+
this.yOffset = event.clientY - sourceElement.getBoundingClientRect().top;
|
|
87
|
+
},
|
|
88
|
+
setDraggingPosition({ pageX, pageY }) {
|
|
89
|
+
this.movedElement.style.left = pageX + 'px';
|
|
90
|
+
this.movedElement.style.top = pageY + 'px';
|
|
91
|
+
},
|
|
92
|
+
onCreateElement(event){
|
|
93
|
+
if (this.wasClicked && this.element) {
|
|
94
|
+
this.$emit('onCreateElement', { event, control: this.element });
|
|
95
|
+
this.$emit('onSetCursor', 'none');
|
|
96
|
+
event.preventDefault();
|
|
97
|
+
this.wasClicked = false;
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
},
|
|
101
|
+
computed: {
|
|
102
|
+
pinnedObjects() {
|
|
103
|
+
return nodeTypesStore.getters.getPinnedNodeTypes;
|
|
104
|
+
},
|
|
105
|
+
objects() {
|
|
106
|
+
return nodeTypesStore.getters.getNodeTypes;
|
|
107
|
+
},
|
|
108
|
+
unpinnedObjects() {
|
|
109
|
+
const objects = this.objects;
|
|
110
|
+
return objects.filter((obj) => !this.pinnedObjects.some(pinnedObj => pinnedObj.type === obj.type));
|
|
111
|
+
},
|
|
112
|
+
filteredNodes() {
|
|
113
|
+
return nodeTypesStore.getters.getFilteredNodeTypes;
|
|
114
|
+
},
|
|
115
|
+
searchTerm() {
|
|
116
|
+
return nodeTypesStore.getters.getSearchTerm;
|
|
117
|
+
},
|
|
118
|
+
},
|
|
119
|
+
};
|
|
120
|
+
</script>
|
|
121
|
+
|
|
122
|
+
<template>
|
|
123
|
+
<div id="nodeTypesList">
|
|
124
|
+
<div id="filteredNodes-container" v-if="filteredNodes.length > 0">
|
|
125
|
+
<template v-for="object in filteredNodes">
|
|
126
|
+
<div
|
|
127
|
+
class="node-types__item"
|
|
128
|
+
:key="object.id"
|
|
129
|
+
@mouseover="showPin = true"
|
|
130
|
+
@mouseleave="showPin = false"
|
|
131
|
+
@click.stop="onClickHandler($event, object)"
|
|
132
|
+
>
|
|
133
|
+
<img class="node-types__item__icon" :src="object.icon" :alt="$t(object.label)">
|
|
134
|
+
<span>{{ $t(object.label) }}</span>
|
|
135
|
+
<img
|
|
136
|
+
v-if="nodeTypeAlreadyPinned(object, object.type)"
|
|
137
|
+
:src="pinFillIcon"
|
|
138
|
+
class="pinIcon"
|
|
139
|
+
alt="Unpin Element"
|
|
140
|
+
@click="unPin(object)"
|
|
141
|
+
>
|
|
142
|
+
<img
|
|
143
|
+
v-else
|
|
144
|
+
:src="pinIcon"
|
|
145
|
+
class="pinIcon"
|
|
146
|
+
alt="Pin Element"
|
|
147
|
+
@click="addPin(object)"
|
|
148
|
+
>
|
|
149
|
+
</div>
|
|
150
|
+
</template>
|
|
151
|
+
</div>
|
|
152
|
+
<template v-if="filteredNodes.length === 0 && !searchTerm">
|
|
153
|
+
<div class="pinnedObjects" v-if="pinnedObjects.length > 0">
|
|
154
|
+
<p>{{ $t('Pinned Objects') }}</p>
|
|
155
|
+
<template v-for="pinnedObject in pinnedObjects">
|
|
156
|
+
<div
|
|
157
|
+
class="node-types__item"
|
|
158
|
+
:key="pinnedObject.id"
|
|
159
|
+
@mouseover="showPin = true"
|
|
160
|
+
@mouseleave="showPin = false"
|
|
161
|
+
@click.stop="onClickHandler($event, pinnedObject)"
|
|
162
|
+
>
|
|
163
|
+
<img class="node-types__item__icon" :src="pinnedObject.icon" :alt="$t(pinnedObject.label)">
|
|
164
|
+
<span>{{ $t(pinnedObject.label) }}</span>
|
|
165
|
+
<img
|
|
166
|
+
:src="pinFillIcon"
|
|
167
|
+
class="pinIcon"
|
|
168
|
+
alt="Pin/Unpin Element"
|
|
169
|
+
@click="unPin(pinnedObject)"
|
|
170
|
+
>
|
|
171
|
+
</div>
|
|
172
|
+
</template>
|
|
173
|
+
</div>
|
|
174
|
+
<div class="objectCategory">
|
|
175
|
+
<p>{{ $t('Object Category') }}</p>
|
|
176
|
+
<template v-for="nodeType in unpinnedObjects">
|
|
177
|
+
<div
|
|
178
|
+
class="node-types__item"
|
|
179
|
+
:key="nodeType.id"
|
|
180
|
+
@mouseover="showPin = true"
|
|
181
|
+
@mouseleave="showPin = false"
|
|
182
|
+
@click.stop="onClickHandler($event, nodeType)"
|
|
183
|
+
>
|
|
184
|
+
<img class="node-types__item__icon" :src="nodeType.icon" :alt="$t(nodeType.label)">
|
|
185
|
+
<span>{{ $t(nodeType.label) }}</span>
|
|
186
|
+
<img
|
|
187
|
+
:src="pinIcon"
|
|
188
|
+
class="pinIcon"
|
|
189
|
+
alt="Pin/Unpin Element"
|
|
190
|
+
@click="addPin(nodeType)"
|
|
191
|
+
>
|
|
192
|
+
</div>
|
|
193
|
+
</template>
|
|
194
|
+
</div>
|
|
195
|
+
</template>
|
|
196
|
+
</div>
|
|
197
|
+
</template>
|
|
198
|
+
|
|
199
|
+
<style lang="scss">
|
|
200
|
+
#nodeTypesList {
|
|
201
|
+
.pinnedObjects {
|
|
202
|
+
margin-bottom: 1rem;
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
.node-types {
|
|
206
|
+
&__item {
|
|
207
|
+
display: flex;
|
|
208
|
+
padding: 0.5rem 0.3rem;
|
|
209
|
+
align-items: center;
|
|
210
|
+
border-radius: 4px;
|
|
211
|
+
user-select: none;
|
|
212
|
+
&:hover {
|
|
213
|
+
background-color: #EBEEF2;
|
|
214
|
+
.pinIcon {
|
|
215
|
+
background-color: #DADDDF;
|
|
216
|
+
}
|
|
217
|
+
}
|
|
218
|
+
&__icon {
|
|
219
|
+
width: 1.5rem;
|
|
220
|
+
height: 1.5rem;
|
|
221
|
+
}
|
|
222
|
+
span {
|
|
223
|
+
margin-left: 0.8rem;
|
|
224
|
+
font-size: 13px;
|
|
225
|
+
line-height: 19px;
|
|
226
|
+
}
|
|
227
|
+
.pinIcon {
|
|
228
|
+
margin-left: auto;
|
|
229
|
+
border-radius: 4px;
|
|
230
|
+
padding: 0.3rem;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
}
|
|
234
|
+
</style>
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export const BOTTOM = 5000;
|
|
@@ -7,62 +7,6 @@
|
|
|
7
7
|
<div class="mr-3">
|
|
8
8
|
<align-buttons @save-state="$emit('save-state')" />
|
|
9
9
|
|
|
10
|
-
<div class="btn-group btn-group-sm mr-2" role="group" aria-label="Undo/redo controls">
|
|
11
|
-
<b-button
|
|
12
|
-
class="btn btn-sm btn-secondary btn-undo"
|
|
13
|
-
:disabled="!canUndo"
|
|
14
|
-
data-test="undo"
|
|
15
|
-
v-b-tooltip.hover
|
|
16
|
-
:title="$t('Undo')"
|
|
17
|
-
@click="undo"
|
|
18
|
-
>
|
|
19
|
-
<font-awesome-icon :icon="undoIcon" />
|
|
20
|
-
</b-button>
|
|
21
|
-
|
|
22
|
-
<b-button
|
|
23
|
-
class="btn btn-sm btn-secondary btn-redo"
|
|
24
|
-
:disabled="!canRedo"
|
|
25
|
-
data-test="redo"
|
|
26
|
-
v-b-tooltip.hover
|
|
27
|
-
:title="$t('Redo')"
|
|
28
|
-
@click="redo"
|
|
29
|
-
>
|
|
30
|
-
<font-awesome-icon :icon="redoIcon" />
|
|
31
|
-
</b-button>
|
|
32
|
-
</div>
|
|
33
|
-
|
|
34
|
-
<div class="btn-group btn-group-sm mr-2" role="group" aria-label="Zoom controls">
|
|
35
|
-
<b-button
|
|
36
|
-
class="btn btn-sm btn-secondary"
|
|
37
|
-
@click="paperManager.scale = paperManager.scale.sx + scaleStep"
|
|
38
|
-
data-test="zoom-in"
|
|
39
|
-
v-b-tooltip.hover
|
|
40
|
-
:title="$t('Zoom In')"
|
|
41
|
-
>
|
|
42
|
-
<font-awesome-icon :icon="plusIcon" />
|
|
43
|
-
</b-button>
|
|
44
|
-
<b-button
|
|
45
|
-
class="btn btn-sm btn-secondary"
|
|
46
|
-
@click="paperManager.scale = Math.max(minimumScale, paperManager.scale.sx -= scaleStep)"
|
|
47
|
-
data-test="zoom-out"
|
|
48
|
-
v-b-tooltip.hover
|
|
49
|
-
:title="$t('Zoom Out')"
|
|
50
|
-
>
|
|
51
|
-
<font-awesome-icon :icon="minusIcon" />
|
|
52
|
-
</b-button>
|
|
53
|
-
<b-button
|
|
54
|
-
v-if="paperManager"
|
|
55
|
-
class="btn btn-sm btn-secondary"
|
|
56
|
-
@click="paperManager.scale = initialScale"
|
|
57
|
-
:disabled="paperManager.scale.sx === initialScale"
|
|
58
|
-
data-test="zoom-reset"
|
|
59
|
-
v-b-tooltip.hover
|
|
60
|
-
:title="$t('Reset to initial scale')"
|
|
61
|
-
>
|
|
62
|
-
{{ $t('Reset') }}
|
|
63
|
-
</b-button>
|
|
64
|
-
<span v-if="paperManager" class="btn btn-sm btn-secondary scale-value">{{ Math.round(paperManager.scale.sx*100) }}%</span>
|
|
65
|
-
</div>
|
|
66
10
|
|
|
67
11
|
<div class="btn-group btn-group-sm mr-2" role="group" aria-label="Additional controls">
|
|
68
12
|
<b-button
|
|
@@ -74,16 +18,6 @@
|
|
|
74
18
|
>
|
|
75
19
|
<font-awesome-icon :icon="panelsCompressed ? expandIcon : compressIcon" />
|
|
76
20
|
</b-button>
|
|
77
|
-
|
|
78
|
-
<b-button
|
|
79
|
-
class="btn btn-sm btn-secondary mini-map-btn ml-auto"
|
|
80
|
-
data-test="mini-map-btn"
|
|
81
|
-
@click="miniMapOpen = !miniMapOpen"
|
|
82
|
-
v-b-tooltip.hover
|
|
83
|
-
:title="miniMapOpen ? $t('Hide Mini-Map') : $t('Show Mini-Map')"
|
|
84
|
-
>
|
|
85
|
-
<font-awesome-icon :icon="miniMapOpen ? minusIcon : mapIcon" />
|
|
86
|
-
</b-button>
|
|
87
21
|
</div>
|
|
88
22
|
<div class="btn-group btn-group-sm" role="group" aria-label="Publish controls">
|
|
89
23
|
<template v-if="isVersionsInstalled">
|
package/src/main.js
CHANGED
|
@@ -12,11 +12,17 @@ import ScreenBuilder from '@processmaker/screen-builder';
|
|
|
12
12
|
import Multiselect from '@processmaker/vue-multiselect/src/Multiselect';
|
|
13
13
|
|
|
14
14
|
import '@fortawesome/fontawesome-free/css/all.min.css';
|
|
15
|
+
import { FontAwesomeIcon } from '@fortawesome/vue-fontawesome';
|
|
16
|
+
import { library } from '@fortawesome/fontawesome-svg-core';
|
|
17
|
+
import { faBoundaryEvent } from '@/components/crown/crownButtons/icons';
|
|
18
|
+
|
|
19
|
+
library.add(faBoundaryEvent);
|
|
15
20
|
|
|
16
21
|
Vue.use(BootstrapVue);
|
|
17
22
|
Vue.use(VueDeepSet);
|
|
18
23
|
Vue.use(VueI18Next);
|
|
19
24
|
Vue.use(ScreenBuilder);
|
|
25
|
+
Vue.component('font-awesome-icon', FontAwesomeIcon);
|
|
20
26
|
Vue.component('Multiselect', Multiselect);
|
|
21
27
|
|
|
22
28
|
Vue.config.productionTip = false;
|
package/src/mixins/linkConfig.js
CHANGED
|
@@ -4,6 +4,7 @@ import debounce from 'lodash/debounce';
|
|
|
4
4
|
import { invalidNodeColor, setShapeColor, validNodeColor } from '@/components/nodeColors';
|
|
5
5
|
import { getDefaultAnchorPoint } from '@/portsUtils';
|
|
6
6
|
import resetShapeColor from '@/components/resetShapeColor';
|
|
7
|
+
import store from '@/store';
|
|
7
8
|
|
|
8
9
|
const endpoints = {
|
|
9
10
|
source: 'source',
|
|
@@ -118,14 +119,23 @@ export default {
|
|
|
118
119
|
const targetShape = this.shape.getTargetElement();
|
|
119
120
|
resetShapeColor(targetShape);
|
|
120
121
|
|
|
121
|
-
this.shape.
|
|
122
|
-
this.shape.listenTo(targetShape, 'change:position', this.updateWaypoints);
|
|
123
|
-
this.shape.on('change:vertices change:source change:target', this.updateWaypoints);
|
|
122
|
+
this.shape.on('change:vertices', this.onChangeVertices);
|
|
124
123
|
|
|
125
124
|
const sourceShape = this.shape.getSourceElement();
|
|
126
125
|
sourceShape.embed(this.shape);
|
|
127
126
|
this.$emit('set-shape-stacking', sourceShape);
|
|
128
127
|
},
|
|
128
|
+
/**
|
|
129
|
+
* On Change vertices handler
|
|
130
|
+
* @param {Object} link
|
|
131
|
+
* @param {Array} vertices
|
|
132
|
+
* @param {Object} options
|
|
133
|
+
*/
|
|
134
|
+
onChangeVertices(link, vertices, options){
|
|
135
|
+
if (options && options.ui) {
|
|
136
|
+
this.updateWaypoints();
|
|
137
|
+
}
|
|
138
|
+
},
|
|
129
139
|
updateWaypoints() {
|
|
130
140
|
const linkView = this.shape.findView(this.paper);
|
|
131
141
|
const start = linkView.sourceAnchor;
|
|
@@ -245,7 +255,9 @@ export default {
|
|
|
245
255
|
|
|
246
256
|
this.$once('click', () => {
|
|
247
257
|
this.$nextTick(() => {
|
|
248
|
-
|
|
258
|
+
if (store.getters.isReadOnly === false) {
|
|
259
|
+
this.setupLinkTools();
|
|
260
|
+
}
|
|
249
261
|
});
|
|
250
262
|
});
|
|
251
263
|
|
|
@@ -296,7 +308,6 @@ export default {
|
|
|
296
308
|
this.paper.el.addEventListener('mousemove', this.updateLinkTarget);
|
|
297
309
|
|
|
298
310
|
this.$emit('set-cursor', 'not-allowed');
|
|
299
|
-
|
|
300
311
|
if (this.isValidConnection) {
|
|
301
312
|
this.shape.stopListening(this.paper, 'blank:pointerdown link:pointerdown element:pointerdown', this.removeLink);
|
|
302
313
|
} else {
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
import Vue from 'vue';
|
|
2
|
+
import Vuex from 'vuex';
|
|
3
|
+
import { uniqueId, uniqBy } from 'lodash';
|
|
4
|
+
import { BOTTOM } from '@/components/rails/explorer-rail/rankConstants';
|
|
5
|
+
|
|
6
|
+
Vue.use(Vuex);
|
|
7
|
+
|
|
8
|
+
export default new Vuex.Store({
|
|
9
|
+
state: {
|
|
10
|
+
nodeTypes: [],
|
|
11
|
+
pinnedNodeTypes: [],
|
|
12
|
+
filteredNodeTypes: [],
|
|
13
|
+
explorerOpen: false,
|
|
14
|
+
searchTerm: '',
|
|
15
|
+
},
|
|
16
|
+
getters: {
|
|
17
|
+
getNodeTypes: state => state.nodeTypes,
|
|
18
|
+
getPinnedNodeTypes: state => state.pinnedNodeTypes,
|
|
19
|
+
getFilteredNodeTypes: state => state.filteredNodeTypes,
|
|
20
|
+
getExplorerOpen: state => state.explorerOpen,
|
|
21
|
+
getSearchTerm: state => state.searchTerm,
|
|
22
|
+
},
|
|
23
|
+
mutations: {
|
|
24
|
+
setNodeTypes(state, nodeTypes) {
|
|
25
|
+
state.nodeTypes = nodeTypes
|
|
26
|
+
.filter(nodeType => nodeType.control)
|
|
27
|
+
.map(nodeType => ({
|
|
28
|
+
id: uniqueId('nodeType_'),
|
|
29
|
+
type: nodeType.id,
|
|
30
|
+
icon: nodeType.icon,
|
|
31
|
+
label: nodeType.label,
|
|
32
|
+
bpmnType: nodeType.bpmnType,
|
|
33
|
+
rank: nodeType.rank || BOTTOM,
|
|
34
|
+
items: nodeType.items?.map(item => ({ ...item, type: item.id })),
|
|
35
|
+
}))
|
|
36
|
+
.sort((node1, node2) => node1.rank - node2.rank);
|
|
37
|
+
},
|
|
38
|
+
setPinnedNodes(state, payload) {
|
|
39
|
+
state.pinnedNodeTypes.push(payload);
|
|
40
|
+
state.pinnedNodeTypes.sort((node1, node2) => node1.rank - node2.rank);
|
|
41
|
+
},
|
|
42
|
+
setUnpinNode(state, payload) {
|
|
43
|
+
state.pinnedNodeTypes = state.pinnedNodeTypes.filter(node => node !== payload);
|
|
44
|
+
},
|
|
45
|
+
setFilteredNodeTypes(state, searchTerm) {
|
|
46
|
+
const pinnedNodeTypes = state.pinnedNodeTypes;
|
|
47
|
+
const nodeTypes = state.nodeTypes;
|
|
48
|
+
state.searchTerm = searchTerm;
|
|
49
|
+
const allNodes = uniqBy([...pinnedNodeTypes, ...nodeTypes], 'id');
|
|
50
|
+
state.filteredNodeTypes = allNodes.filter(node => {
|
|
51
|
+
return node.label.toLowerCase().includes(searchTerm.toLowerCase());
|
|
52
|
+
});
|
|
53
|
+
},
|
|
54
|
+
clearFilteredNodes(state) {
|
|
55
|
+
state.filteredNodeTypes = [];
|
|
56
|
+
state.searchTerm = '';
|
|
57
|
+
},
|
|
58
|
+
closeExplorer(state) {
|
|
59
|
+
state.explorerOpen = false;
|
|
60
|
+
},
|
|
61
|
+
toggleExplorer(state) {
|
|
62
|
+
state.explorerOpen = !state.explorerOpen;
|
|
63
|
+
},
|
|
64
|
+
},
|
|
65
|
+
actions: {
|
|
66
|
+
getUserPinnedObjects({ commit }) {
|
|
67
|
+
if (!window.ProcessMaker.user) {
|
|
68
|
+
// For standalone version of Modeler
|
|
69
|
+
const pinnedNodes = localStorage.pinnedNodes ? JSON.parse(localStorage.pinnedNodes) : [] ;
|
|
70
|
+
pinnedNodes.forEach(node => {
|
|
71
|
+
commit('setPinnedNodes', node);
|
|
72
|
+
});
|
|
73
|
+
return;
|
|
74
|
+
}
|
|
75
|
+
const user = window.ProcessMaker.user ? window.ProcessMaker.user.id : '';
|
|
76
|
+
window.ProcessMaker.apiClient.get(`/users/${user}/get_pinnned_controls`)
|
|
77
|
+
.then(({ data }) => {
|
|
78
|
+
data.forEach(node => {
|
|
79
|
+
commit('setPinnedNodes', node);
|
|
80
|
+
});
|
|
81
|
+
})
|
|
82
|
+
.catch((e) => {
|
|
83
|
+
// eslint-disable-next-line no-console
|
|
84
|
+
console.error(e);
|
|
85
|
+
});
|
|
86
|
+
},
|
|
87
|
+
addUserPinnedObject({ commit, state }, pinnedNode) {
|
|
88
|
+
commit('setPinnedNodes', pinnedNode);
|
|
89
|
+
const pinnedNodes = state.pinnedNodeTypes;
|
|
90
|
+
if (!window.ProcessMaker.user) {
|
|
91
|
+
// For standalone version of Modeler
|
|
92
|
+
localStorage.pinnedNodes = JSON.stringify(pinnedNodes);
|
|
93
|
+
return;
|
|
94
|
+
}
|
|
95
|
+
const user = window.ProcessMaker.user ? window.ProcessMaker.user.id : '';
|
|
96
|
+
window.ProcessMaker.apiClient.put(`/users/${user}/update_pinned_controls`, { pinnedNodes })
|
|
97
|
+
.catch((e) => {
|
|
98
|
+
// eslint-disable-next-line no-console
|
|
99
|
+
console.error(e);
|
|
100
|
+
});
|
|
101
|
+
},
|
|
102
|
+
removeUserPinnedObject({ commit, state }, nodeToUnpin) {
|
|
103
|
+
commit('setUnpinNode', nodeToUnpin);
|
|
104
|
+
const pinnedNodes = state.pinnedNodeTypes;
|
|
105
|
+
if (!window.ProcessMaker.user) {
|
|
106
|
+
// For standalone version of Modeler
|
|
107
|
+
localStorage.pinnedNodes = JSON.stringify(pinnedNodes);
|
|
108
|
+
return;
|
|
109
|
+
}
|
|
110
|
+
const user = window.ProcessMaker.user ? window.ProcessMaker.user.id : '';
|
|
111
|
+
window.ProcessMaker.apiClient.put(`/users/${user}/update_pinned_controls`, { pinnedNodes })
|
|
112
|
+
.catch((e) => {
|
|
113
|
+
// eslint-disable-next-line no-console
|
|
114
|
+
console.error(e);
|
|
115
|
+
});
|
|
116
|
+
},
|
|
117
|
+
},
|
|
118
|
+
});
|
package/src/store.js
CHANGED
|
@@ -37,6 +37,7 @@ export default new Vuex.Store({
|
|
|
37
37
|
allowSavingElementPosition: true,
|
|
38
38
|
copiedElements: [],
|
|
39
39
|
clientLeftPaper: false,
|
|
40
|
+
readOnly: false,
|
|
40
41
|
},
|
|
41
42
|
getters: {
|
|
42
43
|
nodes: state => state.nodes,
|
|
@@ -57,8 +58,12 @@ export default new Vuex.Store({
|
|
|
57
58
|
allowSavingElementPosition: state => state.allowSavingElementPosition,
|
|
58
59
|
copiedElements: state => state.copiedElements,
|
|
59
60
|
clientLeftPaper: state => state.clientLeftPaper,
|
|
61
|
+
isReadOnly: state => state.readOnly,
|
|
60
62
|
},
|
|
61
63
|
mutations: {
|
|
64
|
+
setReadOnly(state, value) {
|
|
65
|
+
state.readOnly = value;
|
|
66
|
+
},
|
|
62
67
|
preventSavingElementPosition(state) {
|
|
63
68
|
state.allowSavingElementPosition = false;
|
|
64
69
|
},
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><!--! Font Awesome Pro 6.4.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2023 Fonticons, Inc. --><path fill="#fff" d="M280 64h40c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128C0 92.7 28.7 64 64 64h40 9.6C121 27.5 153.3 0 192 0s71 27.5 78.4 64H280zM64 112c-8.8 0-16 7.2-16 16V448c0 8.8 7.2 16 16 16H320c8.8 0 16-7.2 16-16V128c0-8.8-7.2-16-16-16H304v24c0 13.3-10.7 24-24 24H192 104c-13.3 0-24-10.7-24-24V112H64zm128-8a24 24 0 1 0 0-48 24 24 0 1 0 0 48z"/></svg>
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
<svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="copy" class="svg-inline--fa fa-copy fa-w-14" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="#fff" d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"></path></svg>
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
<svg width="36" height="50" viewBox="0 0 36 50" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path
|
|
3
|
-
d="M1,1 L25,1 L35,10 L35,49 L1,49 L1,1 M24,1 L24,10 L35,10"
|
|
4
|
-
stroke="#788793"
|
|
5
|
-
stroke-width="1.5"
|
|
6
|
-
stroke-linejoin="round"
|
|
7
|
-
stroke-linecap="round"
|
|
8
|
-
/>
|
|
9
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="25" height="25" viewBox="0 0 25 25" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M12.5 0C6.6594 0 2.08337 1.6475 2.08337 3.75C2.08337 5.85251 6.6594 7.50001 12.5 7.50001C18.3406 7.50001 22.9167 5.85251 22.9167 3.75C22.9167 1.6475 18.3406 0 12.5 0ZM12.5 6.66669C6.97502 6.66669 3.12502 5.12919 3.12502 3.75C3.12502 2.37082 6.97502 0.833321 12.5 0.833321C18.025 0.833321 21.875 2.37082 21.875 3.75C21.875 5.12919 18.025 6.66669 12.5 6.66669Z" fill="#788793"/>
|
|
3
|
-
<path d="M22.4122 5.23438C22.1247 5.23438 21.8913 5.42106 21.8913 5.65106C21.8913 7.03024 18.0413 8.56774 12.5163 8.56774C6.99131 8.56774 3.14131 7.03024 3.14131 5.65106C3.14131 5.42106 2.90796 5.23438 2.62046 5.23438C2.33296 5.23438 2.09961 5.42106 2.09961 5.65106C2.09961 7.75356 6.67563 9.40106 12.5163 9.40106C18.3569 9.40106 22.9329 7.75356 22.9329 5.65106C22.933 5.42106 22.6997 5.23438 22.4122 5.23438Z" fill="#788793"/>
|
|
4
|
-
<path d="M22.4122 7.30473C22.1247 7.30473 21.8913 7.49141 21.8913 7.72141C21.8913 9.10055 18.0413 10.6381 12.5163 10.6381C6.99131 10.6381 3.14131 9.10055 3.14131 7.72137C3.14131 7.49137 2.90796 7.30469 2.62046 7.30469C2.33296 7.30469 2.09961 7.49137 2.09961 7.72137C2.09961 9.82387 6.67563 11.4714 12.5163 11.4714C18.3569 11.4714 22.9329 9.82387 22.9329 7.72137C22.933 7.49137 22.6997 7.30473 22.4122 7.30473Z" fill="#788793"/>
|
|
5
|
-
<path d="M22.3959 3.33331C22.1084 3.33331 21.875 3.51999 21.875 3.74999V16.25C21.875 17.6292 18.025 19.1667 12.5 19.1667C6.97502 19.1667 3.12502 17.6292 3.12502 16.25V3.74999C3.12502 3.51999 2.89167 3.33331 2.60417 3.33331C2.31667 3.33331 2.08337 3.51999 2.08337 3.74999V16.25C2.08337 18.3525 6.6594 20 12.5 20C18.3406 20 22.9167 18.3525 22.9167 16.25V3.74999C22.9167 3.51999 22.6834 3.33331 22.3959 3.33331Z" fill="#788793"/>
|
|
6
|
-
</svg>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="22px" height="22px" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 49.3 (51167) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
-
<title>icons/processbuilder/end-event</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<defs>
|
|
7
|
-
<circle id="path-1" cx="29" cy="17" r="11"></circle>
|
|
8
|
-
</defs>
|
|
9
|
-
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
-
<g id="Build/Applications/Processes/ProcessBuilder" transform="translate(-18.000000, -307.000000)">
|
|
11
|
-
<g id="10" transform="translate(0.000000, 301.000000)">
|
|
12
|
-
<g id="icons/processbuilder/end-event">
|
|
13
|
-
<use fill="#FFF1F2" fill-rule="evenodd" xlink:href="#path-1"></use>
|
|
14
|
-
<circle stroke="#ED4757" stroke-width="2" cx="29" cy="17" r="10"></circle>
|
|
15
|
-
</g>
|
|
16
|
-
</g>
|
|
17
|
-
</g>
|
|
18
|
-
</g>
|
|
19
|
-
</svg>
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="21px" height="22px" viewBox="0 0 21 22" version="1.1" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
-
<title>icons/processbuilder/exlusive-gateway</title>
|
|
4
|
-
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
5
|
-
<g id="Build/Applications/Processes/ProcessBuilder" transform="translate(-19.000000, -76.000000)">
|
|
6
|
-
<g id="3" transform="translate(0.000000, 70.000000)">
|
|
7
|
-
<g id="icons/processbuilder/exlusive-gateway" transform="translate(19.000000, 6.000000)">
|
|
8
|
-
<path d="M0.625628427,10.6725043 C0.458127928,10.8493013 0.458171241,11.1511931 0.625436542,11.3272938 L10.1747502,21.3788402 C10.3282145,21.5403866 10.5717855,21.5403866 10.7252498,21.3788402 L20.274552,11.3266381 C20.441816,11.1505655 20.441816,10.8487669 20.2745635,10.6727062 L10.7252498,0.621159773 C10.5717855,0.459613409 10.3282145,0.459613409 10.1747387,0.621171796 L0.625628427,10.6725043 Z"
|
|
9
|
-
id="3" stroke="#788793"/>
|
|
10
|
-
</g>
|
|
11
|
-
</g>
|
|
12
|
-
</g>
|
|
13
|
-
</g>
|
|
14
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M11 22C17.0751 22 22 17.0751 22 11C22 4.92487 17.0751 0 11 0C4.92487 0 0 4.92487 0 11C0 17.0751 4.92487 22 11 22Z" fill="#fff4d3"/>
|
|
3
|
-
<path d="M11 21.5C16.799 21.5 21.5 16.799 21.5 11C21.5 5.20101 16.799 0.5 11 0.5C5.20101 0.5 0.5 5.20101 0.5 11C0.5 16.799 5.20101 21.5 11 21.5Z" stroke="#fabd2d"/>
|
|
4
|
-
<path d="M11 19.5C15.6944 19.5 19.5 15.6944 19.5 11C19.5 6.30558 15.6944 2.5 11 2.5C6.30558 2.5 2.5 6.30558 2.5 11C2.5 15.6944 6.30558 19.5 11 19.5Z" stroke="#fabd2d"/>
|
|
5
|
-
</svg>
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
<svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<rect x="5" y="6" width="12" height="9" fill="black"/>
|
|
3
|
-
<path d="M11 21.5C16.799 21.5 21.5 16.799 21.5 11C21.5 5.20101 16.799 0.5 11 0.5C5.20101 0.5 0.5 5.20101 0.5 11C0.5 16.799 5.20101 21.5 11 21.5Z" stroke="#788793"/>
|
|
4
|
-
<path d="M11 19.5C15.6944 19.5 19.5 15.6944 19.5 11C19.5 6.30558 15.6944 2.5 11 2.5C6.30558 2.5 2.5 6.30558 2.5 11C2.5 15.6944 6.30558 19.5 11 19.5Z" stroke="#788793"/>
|
|
5
|
-
<path d="M15.9298 15.4253H6.07027C5.80048 15.4253 5.56654 15.3359 5.36782 15.1595L8.76914 11.7471C8.85422 11.8084 8.93291 11.8657 9.00387 11.9178C9.25849 12.1059 9.46493 12.2527 9.62351 12.3579C9.78194 12.4633 9.99293 12.5707 10.2565 12.6804C10.52 12.7903 10.7655 12.845 10.9933 12.845H11H11.0067C11.2344 12.845 11.48 12.7902 11.7435 12.6804C12.0069 12.5707 12.2179 12.4633 12.3765 12.3579C12.5351 12.2527 12.7416 12.1059 12.9961 11.9178C13.0708 11.8636 13.1499 11.8067 13.2315 11.748L16.6322 15.1595C16.4334 15.3359 16.1997 15.4253 15.9298 15.4253ZM5.67459 9.61452C6.62031 10.256 7.39064 10.7842 7.98851 11.2008L5 14.1839V9.03448C5.19588 9.2523 5.42087 9.44568 5.67459 9.61452ZM16.3319 9.61451C16.5857 9.44116 16.8084 9.24792 17 9.03448V14.1839L14.0115 11.202C14.6484 10.7581 15.4219 10.2291 16.3319 9.61451ZM15.9285 6C16.2187 6 16.4698 6.10452 16.682 6.31346C16.8938 6.52265 17 6.77382 17 7.06735C17 7.41868 16.8905 7.75445 16.6721 8.07455C16.4533 8.39465 16.181 8.66826 15.8552 8.89499C14.7717 9.64411 13.954 10.2097 13.3989 10.5939C13.0938 10.805 12.8668 10.9621 12.7212 11.0631C12.6996 11.0782 12.6659 11.1021 12.6211 11.1341C12.5728 11.1685 12.5117 11.2123 12.4366 11.2665C12.2915 11.3711 12.1709 11.4556 12.0749 11.5201C11.9788 11.5845 11.8628 11.6568 11.7266 11.7369C11.5904 11.817 11.4621 11.877 11.3416 11.917C11.221 11.957 11.1094 11.977 11.0068 11.977H11.0001H10.9934C10.8908 11.977 10.7792 11.957 10.6586 11.917C10.5381 11.877 10.4097 11.8168 10.2735 11.7369C10.1373 11.6568 10.0211 11.5847 9.92528 11.5201C9.82929 11.4556 9.70877 11.3711 9.56369 11.2665C9.48835 11.2123 9.42728 11.1685 9.37902 11.134C9.33423 11.1021 9.30048 11.0781 9.27902 11.0631C9.09209 10.9321 8.86568 10.7743 8.60314 10.5921C8.29514 10.3781 7.93673 10.1301 7.52458 9.8456C6.7611 9.3187 6.30349 9.00179 6.15174 8.89499C5.87494 8.70823 5.61374 8.45149 5.36826 8.12462C5.12279 7.79762 5 7.4941 5 7.21398C5 6.86719 5.09253 6.57802 5.27789 6.34679C5.4631 6.11568 5.72749 6 6.07137 6H15.9285Z" stroke="#788793"/>
|
|
6
|
-
</svg>
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="27px" height="18px" viewBox="0 0 27 18" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 50.2 (55047) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
-
<title>custom/processbuilder/pool2</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<defs></defs>
|
|
7
|
-
<g id="custom/processbuilder/pool2" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
8
|
-
<rect id="Rectangle" stroke="#333333" fill="#FFFFFF" x="0.5" y="0.5" width="26" height="17"></rect>
|
|
9
|
-
<rect id="Rectangle-3" fill="#333333" x="7" y="1" width="1" height="16"></rect>
|
|
10
|
-
</g>
|
|
11
|
-
</svg>
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
-
<svg width="22px" height="22px" viewBox="0 0 22 22" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
3
|
-
<!-- Generator: Sketch 49.3 (51167) - http://www.bohemiancoding.com/sketch -->
|
|
4
|
-
<title>icons/processbuilder/start-event</title>
|
|
5
|
-
<desc>Created with Sketch.</desc>
|
|
6
|
-
<defs>
|
|
7
|
-
<circle id="path-1" cx="29" cy="17" r="11"></circle>
|
|
8
|
-
</defs>
|
|
9
|
-
<g id="Symbols" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
|
|
10
|
-
<g id="Build/Applications/Processes/ProcessBuilder" transform="translate(-18.000000, -175.000000)">
|
|
11
|
-
<g id="6" transform="translate(0.000000, 169.000000)">
|
|
12
|
-
<g id="icons/processbuilder/start-event">
|
|
13
|
-
<use fill="#EDFFFC" fill-rule="evenodd" xlink:href="#path-1"></use>
|
|
14
|
-
<circle stroke="#00BF9C" stroke-width="1" cx="29" cy="17" r="10.5"></circle>
|
|
15
|
-
</g>
|
|
16
|
-
</g>
|
|
17
|
-
</g>
|
|
18
|
-
</g>
|
|
19
|
-
</svg>
|