@processmaker/modeler 1.22.2 → 1.24.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 +189 -200
- package/dist/modeler.common.js.map +1 -1
- package/dist/modeler.umd.js +189 -200
- 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/addLaneAboveButton.vue +6 -2
- package/src/components/crown/crownButtons/addLaneBelowButton.vue +7 -3
- package/src/components/crown/crownButtons/associationFlowButton.vue +7 -3
- package/src/components/crown/crownButtons/copyButton.vue +7 -2
- package/src/components/crown/crownButtons/crownButton.vue +7 -4
- package/src/components/crown/crownButtons/crownDropdown.scss +1 -0
- package/src/components/crown/crownButtons/dataAssociationFlowButton.vue +6 -2
- package/src/components/crown/crownButtons/defaultFlowButton.vue +6 -2
- package/src/components/crown/crownButtons/deleteButton.vue +1 -7
- package/src/components/crown/crownButtons/genericFlowButton.vue +7 -3
- package/src/components/crown/crownConfig/crownConfig.scss +1 -0
- package/src/components/nodes/subProcess/SubProcessFormSelect.vue +8 -4
package/package.json
CHANGED
package/src/.DS_Store
CHANGED
|
Binary file
|
|
@@ -2,10 +2,14 @@
|
|
|
2
2
|
<crown-button
|
|
3
3
|
id="lane-below-button"
|
|
4
4
|
aria-label="Add lane below icon"
|
|
5
|
-
:src="laneBelowIcon"
|
|
6
5
|
v-on="$listeners"
|
|
7
6
|
:width="25"
|
|
8
|
-
|
|
7
|
+
>
|
|
8
|
+
<img
|
|
9
|
+
:src="laneBelowIcon"
|
|
10
|
+
aria-hidden="true"
|
|
11
|
+
>
|
|
12
|
+
</crown-button>
|
|
9
13
|
</template>
|
|
10
14
|
|
|
11
15
|
<script>
|
|
@@ -20,4 +24,4 @@ export default {
|
|
|
20
24
|
};
|
|
21
25
|
},
|
|
22
26
|
};
|
|
23
|
-
</script>
|
|
27
|
+
</script>
|
|
@@ -5,10 +5,14 @@
|
|
|
5
5
|
v-b-tooltip.hover.viewport.d50="{ customClass: 'no-pointer-events' }"
|
|
6
6
|
id="association-flow-button"
|
|
7
7
|
aria-label="Add association flow"
|
|
8
|
-
:src="connectIcon"
|
|
9
8
|
role="menuitem"
|
|
10
9
|
@click="addAssociation"
|
|
11
|
-
|
|
10
|
+
>
|
|
11
|
+
<img
|
|
12
|
+
:src="connectIcon"
|
|
13
|
+
aria-hidden="true"
|
|
14
|
+
>
|
|
15
|
+
</crown-button>
|
|
12
16
|
</template>
|
|
13
17
|
|
|
14
18
|
<script>
|
|
@@ -42,4 +46,4 @@ export default {
|
|
|
42
46
|
},
|
|
43
47
|
},
|
|
44
48
|
};
|
|
45
|
-
</script>
|
|
49
|
+
</script>
|
|
@@ -8,7 +8,6 @@
|
|
|
8
8
|
<slot>
|
|
9
9
|
<img
|
|
10
10
|
:src="src"
|
|
11
|
-
alt=""
|
|
12
11
|
width="width"
|
|
13
12
|
height="height"
|
|
14
13
|
>
|
|
@@ -41,8 +40,12 @@ export default {
|
|
|
41
40
|
margin-top: 0;
|
|
42
41
|
display: flex;
|
|
43
42
|
}
|
|
44
|
-
img
|
|
45
|
-
margin:
|
|
46
|
-
|
|
43
|
+
img {
|
|
44
|
+
margin: 0px 10px;
|
|
45
|
+
height: 15px;
|
|
46
|
+
}
|
|
47
|
+
i {
|
|
48
|
+
margin: 0px 10px;
|
|
49
|
+
font-size: 15px;
|
|
47
50
|
}
|
|
48
51
|
</style>
|
|
@@ -5,10 +5,14 @@
|
|
|
5
5
|
v-b-tooltip.hover.viewport.d50="{ customClass: 'no-pointer-events' }"
|
|
6
6
|
id="association-flow-button"
|
|
7
7
|
aria-label="Add association flow"
|
|
8
|
-
:src="connectIcon"
|
|
9
8
|
role="menuitem"
|
|
10
9
|
@click="addDataAssociation"
|
|
11
|
-
|
|
10
|
+
>
|
|
11
|
+
<img
|
|
12
|
+
:src="connectIcon"
|
|
13
|
+
aria-hidden="true"
|
|
14
|
+
>
|
|
15
|
+
</crown-button>
|
|
12
16
|
</template>
|
|
13
17
|
|
|
14
18
|
<script>
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
data-prefix="fas"
|
|
14
14
|
data-icon="trash-alt"
|
|
15
15
|
class="fa-trash-alt trash-icon"
|
|
16
|
-
alt=""
|
|
17
16
|
>
|
|
18
17
|
</crown-button>
|
|
19
18
|
</template>
|
|
@@ -65,9 +64,4 @@ export default {
|
|
|
65
64
|
},
|
|
66
65
|
},
|
|
67
66
|
};
|
|
68
|
-
</script>
|
|
69
|
-
<style>
|
|
70
|
-
.trash-icon {
|
|
71
|
-
height: 13.25px;
|
|
72
|
-
}
|
|
73
|
-
</style>
|
|
67
|
+
</script>
|
|
@@ -5,10 +5,14 @@
|
|
|
5
5
|
:title="$t('Flow')"
|
|
6
6
|
id="generic-flow-button"
|
|
7
7
|
aria-label="Create a flow"
|
|
8
|
-
:src="sequenceFlow"
|
|
9
8
|
role="menuitem"
|
|
10
9
|
@click="addSequence"
|
|
11
|
-
|
|
10
|
+
>
|
|
11
|
+
<img
|
|
12
|
+
:src="sequenceFlow"
|
|
13
|
+
aria-hidden="true"
|
|
14
|
+
>
|
|
15
|
+
</crown-button>
|
|
12
16
|
</template>
|
|
13
17
|
<script>
|
|
14
18
|
import Flow from '@/assets/connect-elements.svg';
|
|
@@ -71,4 +75,4 @@ export default {
|
|
|
71
75
|
this.$t = this.$t.bind(this);
|
|
72
76
|
},
|
|
73
77
|
};
|
|
74
|
-
</script>
|
|
78
|
+
</script>
|
|
@@ -6,16 +6,16 @@
|
|
|
6
6
|
:helper="$t('Select which Process this element calls')"
|
|
7
7
|
v-model="selectedProcess"
|
|
8
8
|
:showLabels="false"
|
|
9
|
-
:allow-empty="
|
|
10
|
-
:disabled="processList.length === 0"
|
|
9
|
+
:allow-empty="true"
|
|
11
10
|
:options="processList"
|
|
11
|
+
:loading="loading"
|
|
12
12
|
optionContent="name"
|
|
13
13
|
class="p-0 mb-2"
|
|
14
14
|
validation="required"
|
|
15
15
|
@search-change="searchChange"
|
|
16
16
|
:searchable="true"
|
|
17
17
|
:internal-search="false"
|
|
18
|
-
:preserve-search="
|
|
18
|
+
:preserve-search="false"
|
|
19
19
|
:clear-on-select="false"
|
|
20
20
|
/>
|
|
21
21
|
|
|
@@ -45,6 +45,7 @@
|
|
|
45
45
|
</template>
|
|
46
46
|
|
|
47
47
|
<script>
|
|
48
|
+
import debounce from 'lodash/debounce';
|
|
48
49
|
import uniqBy from 'lodash/uniqBy';
|
|
49
50
|
|
|
50
51
|
export default {
|
|
@@ -107,7 +108,7 @@ export default {
|
|
|
107
108
|
},
|
|
108
109
|
methods: {
|
|
109
110
|
searchChange(filter) {
|
|
110
|
-
this.
|
|
111
|
+
this.loadProcessesDebounced(filter);
|
|
111
112
|
},
|
|
112
113
|
filterValidProcesses(processes) {
|
|
113
114
|
return processes.filter(process => {
|
|
@@ -205,6 +206,9 @@ export default {
|
|
|
205
206
|
},
|
|
206
207
|
},
|
|
207
208
|
created() {
|
|
209
|
+
this.loadProcessesDebounced = debounce((filter) => {
|
|
210
|
+
this.loadProcesses(filter);
|
|
211
|
+
}, 500);
|
|
208
212
|
if (this.processList.length === 0) {
|
|
209
213
|
this.loadProcesses();
|
|
210
214
|
} else {
|