@processmaker/screen-builder 2.66.0 → 2.67.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/vue-form-builder.common.js +290 -202
- package/dist/vue-form-builder.common.js.map +1 -1
- package/dist/vue-form-builder.umd.js +290 -202
- package/dist/vue-form-builder.umd.js.map +1 -1
- package/dist/vue-form-builder.umd.min.js +1 -1
- package/dist/vue-form-builder.umd.min.js.map +1 -1
- package/package.json +3 -3
- package/src/components/inspector/collection-select-list.vue +11 -0
- package/src/components/watchers-form.vue +0 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@processmaker/screen-builder",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.67.0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"serve": "vue-cli-service serve",
|
|
6
6
|
"build": "vue-cli-service build",
|
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"@cypress/code-coverage": "^3.8.1",
|
|
40
40
|
"@fortawesome/fontawesome-free": "^5.6.1",
|
|
41
41
|
"@panter/vue-i18next": "^0.15.2",
|
|
42
|
-
"@processmaker/vue-form-elements": "0.44.
|
|
42
|
+
"@processmaker/vue-form-elements": "0.44.1",
|
|
43
43
|
"@processmaker/vue-multiselect": "^2.2.0",
|
|
44
44
|
"@vue/cli-plugin-babel": "^3.6.0",
|
|
45
45
|
"@vue/cli-plugin-e2e-cypress": "^4.0.3",
|
|
@@ -88,7 +88,7 @@
|
|
|
88
88
|
},
|
|
89
89
|
"peerDependencies": {
|
|
90
90
|
"@panter/vue-i18next": "^0.15.0",
|
|
91
|
-
"@processmaker/vue-form-elements": "0.44.
|
|
91
|
+
"@processmaker/vue-form-elements": "0.44.1",
|
|
92
92
|
"i18next": "^15.0.8",
|
|
93
93
|
"vue": "^2.6.12",
|
|
94
94
|
"vuex": "^3.1.1"
|
|
@@ -45,6 +45,15 @@
|
|
|
45
45
|
}}</small>
|
|
46
46
|
</div>
|
|
47
47
|
|
|
48
|
+
<div class="mt-3" v-if="fields.length > 1">
|
|
49
|
+
<form-checkbox
|
|
50
|
+
:label="$t('Ignore duplicates in list')"
|
|
51
|
+
v-model="unique"
|
|
52
|
+
:helper="$t('Select to show only distinct list entries if labels are repeated. Only the first value will be used if duplicate labels have different values.')"
|
|
53
|
+
data-cy="inspector-collection-isDependent"
|
|
54
|
+
/>
|
|
55
|
+
</div>
|
|
56
|
+
|
|
48
57
|
</div>
|
|
49
58
|
</template>
|
|
50
59
|
|
|
@@ -58,6 +67,7 @@ const CONFIG_FIELDS = [
|
|
|
58
67
|
"labelField",
|
|
59
68
|
"valueField",
|
|
60
69
|
"pmql",
|
|
70
|
+
"unique",
|
|
61
71
|
];
|
|
62
72
|
|
|
63
73
|
export default {
|
|
@@ -74,6 +84,7 @@ export default {
|
|
|
74
84
|
labelField: null,
|
|
75
85
|
valueField: null,
|
|
76
86
|
pmql: "",
|
|
87
|
+
unique: false,
|
|
77
88
|
};
|
|
78
89
|
},
|
|
79
90
|
watch: {
|
|
@@ -24,24 +24,6 @@
|
|
|
24
24
|
aria-required="true"
|
|
25
25
|
/>
|
|
26
26
|
|
|
27
|
-
<!-- <form-multi-select
|
|
28
|
-
:name="$t('Variable to Watch')"
|
|
29
|
-
:label="$t('Variable to Watch') + ' *'"
|
|
30
|
-
:options="variables"
|
|
31
|
-
:taggable="true"
|
|
32
|
-
v-model="config.watching"
|
|
33
|
-
:placeholder="$t('None')"
|
|
34
|
-
:multiple="false"
|
|
35
|
-
:show-labels="false"
|
|
36
|
-
:internal-search="true"
|
|
37
|
-
:validation="ruleWatcherVariable"
|
|
38
|
-
:helper="$t('Select the variable to watch on this screen or type any request variable name')"
|
|
39
|
-
@open="loadVariables"
|
|
40
|
-
@tag="addTag"
|
|
41
|
-
:tag-placeholder="$t('Press enter to use this variable')"
|
|
42
|
-
data-cy="watchers-watcher-variable"
|
|
43
|
-
ref="watching"
|
|
44
|
-
/> -->
|
|
45
27
|
<screen-variable-selector
|
|
46
28
|
:name="$t('Variable to Watch')"
|
|
47
29
|
:label="$t('Variable to Watch') + ' *'"
|