@wg-npm/survey-creator 0.3.4103 → 0.3.4143
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.
|
@@ -3244,13 +3244,12 @@ var script$d = Vue.extend({
|
|
|
3244
3244
|
if (this.checkValueInOtherRange(value)) {
|
|
3245
3245
|
return true;
|
|
3246
3246
|
}
|
|
3247
|
-
let
|
|
3248
|
-
let
|
|
3249
|
-
|
|
3250
|
-
if (type == "left" && value >= currentMax) {
|
|
3247
|
+
let leftScore = _.get(this.value, "minScore", 0);
|
|
3248
|
+
let rightScore = _.get(this.value, "maxScore", this.totalScore);
|
|
3249
|
+
if (leftScore != null && type == "left" && value >= rightScore) {
|
|
3251
3250
|
return true;
|
|
3252
3251
|
}
|
|
3253
|
-
if (type == "right" && value <=
|
|
3252
|
+
if (rightScore != null && type == "right" && value <= leftScore) {
|
|
3254
3253
|
return true;
|
|
3255
3254
|
}
|
|
3256
3255
|
},
|
|
@@ -3301,11 +3300,11 @@ var __vue_staticRenderFns__$d = [];
|
|
|
3301
3300
|
/* style */
|
|
3302
3301
|
const __vue_inject_styles__$d = function (inject) {
|
|
3303
3302
|
if (!inject) return
|
|
3304
|
-
inject("data-v-
|
|
3303
|
+
inject("data-v-20053a8c_0", { source: ".label[data-v-20053a8c]{text-align:right;margin-bottom:24px}", map: undefined, media: undefined });
|
|
3305
3304
|
|
|
3306
3305
|
};
|
|
3307
3306
|
/* scoped */
|
|
3308
|
-
const __vue_scope_id__$d = "data-v-
|
|
3307
|
+
const __vue_scope_id__$d = "data-v-20053a8c";
|
|
3309
3308
|
/* module identifier */
|
|
3310
3309
|
const __vue_module_identifier__$d = undefined;
|
|
3311
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.4143",
|
|
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.4143",
|
|
16
|
+
"@wg-npm/survey-service-api": "0.3.4143",
|
|
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.4143",
|
|
42
|
+
"@wg-npm/survey-service-api": "0.3.4143",
|
|
43
43
|
"acorn": "^7.3.1",
|
|
44
44
|
"axios": "^0.19.2",
|
|
45
45
|
"babelrc-rollup": "^3.0.0",
|
|
@@ -237,13 +237,12 @@ export default Vue.extend({
|
|
|
237
237
|
if (this.checkValueInOtherRange(value)) {
|
|
238
238
|
return true;
|
|
239
239
|
}
|
|
240
|
-
let
|
|
241
|
-
let
|
|
242
|
-
|
|
243
|
-
if (type == "left" && value >= currentMax) {
|
|
240
|
+
let leftScore = _.get(this.value, "minScore", 0);
|
|
241
|
+
let rightScore = _.get(this.value, "maxScore", this.totalScore);
|
|
242
|
+
if (leftScore != null && type == "left" && value >= rightScore) {
|
|
244
243
|
return true;
|
|
245
244
|
}
|
|
246
|
-
if (type == "right" && value <=
|
|
245
|
+
if (rightScore != null && type == "right" && value <= leftScore) {
|
|
247
246
|
return true;
|
|
248
247
|
}
|
|
249
248
|
},
|