@wg-npm/survey-creator 0.3.4156 → 0.3.4157
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.
|
@@ -3281,11 +3281,11 @@ var __vue_render__$d = function () {var _vm=this;var _h=_vm.$createElement;var _
|
|
|
3281
3281
|
type: 'number',
|
|
3282
3282
|
trigger: 'change',
|
|
3283
3283
|
message: _vm.t('survey_creator.question.scoreRequiredTip'),
|
|
3284
|
-
}}},[_c('Select',{attrs:{"placeholder":_vm.t('survey_creator.question.selectScore')},model:{value:(_vm.value.minScore),callback:function ($$v) {_vm.$set(_vm.value, "minScore", $$v);},expression:"value.minScore"}},_vm._l((_vm.scores),function(score){return _c('Option',{key:score,attrs:{"value":score,"disabled":_vm.disabledScoreOption(score, 'left')}},[_vm._v("\n "+_vm._s(score)+"\n ")])}),1)],1)],1),_vm._v(" "),_c('Col',{
|
|
3284
|
+
}}},[_c('Select',{attrs:{"placeholder":_vm.t('survey_creator.question.selectScore')},model:{value:(_vm.value.minScore),callback:function ($$v) {_vm.$set(_vm.value, "minScore", $$v);},expression:"value.minScore"}},_vm._l((_vm.scores),function(score){return _c('Option',{key:score,attrs:{"value":score,"disabled":_vm.disabledScoreOption(score, 'left')}},[_vm._v("\n "+_vm._s(score)+"\n ")])}),1)],1)],1),_vm._v(" "),_c('Col',{attrs:{"span":2}},[_c('FormItem',{attrs:{"prop":("evaluationItems[" + _vm.itemIndex + "].conditions[" + _vm.index + "].payload.leftOperator"),"rules":{
|
|
3285
3285
|
required: true,
|
|
3286
3286
|
trigger: 'change',
|
|
3287
3287
|
message: _vm.t('survey_creator.question.notEmpty'),
|
|
3288
|
-
}}},[_c('Select',{attrs:{"placeholder":_vm.t('survey_creator.question.evaluation.condition.operator')},model:{value:(_vm.value.leftOperator),callback:function ($$v) {_vm.$set(_vm.value, "leftOperator", $$v);},expression:"value.leftOperator"}},_vm._l((_vm.operators),function(operator,index){return _c('Option',{key:index,attrs:{"value":operator}},[_vm._v("\n "+_vm._s(operator)+"\n ")])}),1)],1)],1),_vm._v(" "),_c('Col',{staticClass:"label"},[_vm._v("\n "+_vm._s(_vm.t("survey_creator.question.totalScores"))+"\n ")]),_vm._v(" "),_c('Col',{attrs:{"span":
|
|
3288
|
+
}}},[_c('Select',{attrs:{"placeholder":_vm.t('survey_creator.question.evaluation.condition.operator')},model:{value:(_vm.value.leftOperator),callback:function ($$v) {_vm.$set(_vm.value, "leftOperator", $$v);},expression:"value.leftOperator"}},_vm._l((_vm.operators),function(operator,index){return _c('Option',{key:index,attrs:{"value":operator}},[_vm._v("\n "+_vm._s(operator)+"\n ")])}),1)],1)],1),_vm._v(" "),_c('Col',{staticClass:"label"},[_vm._v("\n "+_vm._s(_vm.t("survey_creator.question.totalScores"))+"\n ")]),_vm._v(" "),_c('Col',{attrs:{"span":2}},[_c('FormItem',{attrs:{"prop":("evaluationItems[" + _vm.itemIndex + "].conditions[" + _vm.index + "].payload.rightOperator"),"rules":{
|
|
3289
3289
|
required: true,
|
|
3290
3290
|
trigger: 'change',
|
|
3291
3291
|
message: _vm.t('survey_creator.question.notEmpty'),
|
|
@@ -3294,17 +3294,17 @@ var __vue_render__$d = function () {var _vm=this;var _h=_vm.$createElement;var _
|
|
|
3294
3294
|
type: 'number',
|
|
3295
3295
|
trigger: 'change',
|
|
3296
3296
|
message: _vm.t('survey_creator.question.scoreRequiredTip'),
|
|
3297
|
-
}}},[_c('Select',{attrs:{"placeholder":_vm.t('survey_creator.question.selectScore')},model:{value:(_vm.value.maxScore),callback:function ($$v) {_vm.$set(_vm.value, "maxScore", $$v);},expression:"value.maxScore"}},_vm._l((_vm.scores),function(score){return _c('Option',{key:score,attrs:{"value":score,"disabled":_vm.disabledScoreOption(score, 'right')}},[_vm._v("\n "+_vm._s(score)+"\n ")])}),1)],1)],1)
|
|
3297
|
+
}}},[_c('Select',{attrs:{"placeholder":_vm.t('survey_creator.question.selectScore')},model:{value:(_vm.value.maxScore),callback:function ($$v) {_vm.$set(_vm.value, "maxScore", $$v);},expression:"value.maxScore"}},_vm._l((_vm.scores),function(score){return _c('Option',{key:score,attrs:{"value":score,"disabled":_vm.disabledScoreOption(score, 'right')}},[_vm._v("\n "+_vm._s(score)+"\n ")])}),1)],1)],1)],1)};
|
|
3298
3298
|
var __vue_staticRenderFns__$d = [];
|
|
3299
3299
|
|
|
3300
3300
|
/* style */
|
|
3301
3301
|
const __vue_inject_styles__$d = function (inject) {
|
|
3302
3302
|
if (!inject) return
|
|
3303
|
-
inject("data-v-
|
|
3303
|
+
inject("data-v-67c4e4b6_0", { source: ".label[data-v-67c4e4b6]{text-align:right;margin-bottom:24px}", map: undefined, media: undefined });
|
|
3304
3304
|
|
|
3305
3305
|
};
|
|
3306
3306
|
/* scoped */
|
|
3307
|
-
const __vue_scope_id__$d = "data-v-
|
|
3307
|
+
const __vue_scope_id__$d = "data-v-67c4e4b6";
|
|
3308
3308
|
/* module identifier */
|
|
3309
3309
|
const __vue_module_identifier__$d = undefined;
|
|
3310
3310
|
/* functional template */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wg-npm/survey-creator",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.4157",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"scripts": {
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"lint-fix": "eslint \"**/*.ts\" \"**/*.vue\" --fix --no-error-on-unmatched-pattern"
|
|
13
13
|
},
|
|
14
14
|
"peerDependencies": {
|
|
15
|
-
"@wg-npm/survey-core": "0.3.
|
|
16
|
-
"@wg-npm/survey-service-api": "0.3.
|
|
15
|
+
"@wg-npm/survey-core": "0.3.4157",
|
|
16
|
+
"@wg-npm/survey-service-api": "0.3.4157",
|
|
17
17
|
"axios": "^0.19.2",
|
|
18
18
|
"camelcase": "^6.0.0",
|
|
19
19
|
"deepmerge": "^4.2.2",
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@typescript-eslint/eslint-plugin": "^3.6.0",
|
|
39
39
|
"@typescript-eslint/parser": "^3.6.0",
|
|
40
40
|
"@vue/eslint-config-prettier": "^6.0.0",
|
|
41
|
-
"@wg-npm/survey-core": "0.3.
|
|
42
|
-
"@wg-npm/survey-service-api": "0.3.
|
|
41
|
+
"@wg-npm/survey-core": "0.3.4157",
|
|
42
|
+
"@wg-npm/survey-service-api": "0.3.4157",
|
|
43
43
|
"acorn": "^7.3.1",
|
|
44
44
|
"axios": "^0.19.2",
|
|
45
45
|
"babelrc-rollup": "^3.0.0",
|
|
@@ -30,10 +30,7 @@
|
|
|
30
30
|
</Select>
|
|
31
31
|
</FormItem>
|
|
32
32
|
</Col>
|
|
33
|
-
<Col
|
|
34
|
-
{{ t("survey_creator.question.scores") }}
|
|
35
|
-
</Col>
|
|
36
|
-
<Col :span="3">
|
|
33
|
+
<Col :span="2">
|
|
37
34
|
<FormItem
|
|
38
35
|
:prop="`evaluationItems[${itemIndex}].conditions[${index}].payload.leftOperator`"
|
|
39
36
|
:rules="{
|
|
@@ -61,7 +58,7 @@
|
|
|
61
58
|
<Col class="label">
|
|
62
59
|
{{ t("survey_creator.question.totalScores") }}
|
|
63
60
|
</Col>
|
|
64
|
-
<Col :span="
|
|
61
|
+
<Col :span="2">
|
|
65
62
|
<FormItem
|
|
66
63
|
:prop="`evaluationItems[${itemIndex}].conditions[${index}].payload.rightOperator`"
|
|
67
64
|
:rules="{
|
|
@@ -111,9 +108,6 @@
|
|
|
111
108
|
</Select>
|
|
112
109
|
</FormItem>
|
|
113
110
|
</Col>
|
|
114
|
-
<Col class="label" :span="1">
|
|
115
|
-
{{ t("survey_creator.question.scores") }}
|
|
116
|
-
</Col>
|
|
117
111
|
</Row>
|
|
118
112
|
</template>
|
|
119
113
|
<script lang="ts">
|