@wg-npm/survey-creator 0.3.7729 → 0.3.7731

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.
@@ -3282,9 +3282,11 @@ var script$d = Vue.extend({
3282
3282
  max: _.get(item, "payload.maxScore", 0),
3283
3283
  };
3284
3284
  });
3285
+ let currentValue = this.value;
3286
+ let currentTotalScore = this.totalScore;
3285
3287
  return _.some(otherRange, function (o) {
3286
3288
  let condition_a = value >= o.min && value <= o.max;
3287
- let condition_b = type == "left" ? value >= _.get(this.value, "minScore", 0) : value <= _.get(this.value, "maxScore", this.totalScore);
3289
+ let condition_b = type == "left" ? value >= _.get(currentValue, "minScore", 0) : value <= _.get(currentValue, "maxScore", currentTotalScore);
3288
3290
  return condition_a && condition_b;
3289
3291
  });
3290
3292
  },
@@ -3324,11 +3326,11 @@ var __vue_staticRenderFns__$d = [];
3324
3326
  /* style */
3325
3327
  const __vue_inject_styles__$d = function (inject) {
3326
3328
  if (!inject) return
3327
- inject("data-v-3760b41f_0", { source: ".label[data-v-3760b41f]{text-align:right;margin-bottom:24px}[data-v-3760b41f] .operator .ivu-select-selected-value{height:28px;line-height:28px}", map: undefined, media: undefined });
3329
+ inject("data-v-83ab61b4_0", { source: ".label[data-v-83ab61b4]{text-align:right;margin-bottom:24px}[data-v-83ab61b4] .operator .ivu-select-selected-value{height:28px;line-height:28px}", map: undefined, media: undefined });
3328
3330
 
3329
3331
  };
3330
3332
  /* scoped */
3331
- const __vue_scope_id__$d = "data-v-3760b41f";
3333
+ const __vue_scope_id__$d = "data-v-83ab61b4";
3332
3334
  /* module identifier */
3333
3335
  const __vue_module_identifier__$d = undefined;
3334
3336
  /* functional template */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wg-npm/survey-creator",
3
- "version": "0.3.7729",
3
+ "version": "0.3.7731",
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.7729",
16
- "@wg-npm/survey-service-api": "0.3.7729",
15
+ "@wg-npm/survey-core": "0.3.7731",
16
+ "@wg-npm/survey-service-api": "0.3.7731",
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.7729",
42
- "@wg-npm/survey-service-api": "0.3.7729",
41
+ "@wg-npm/survey-core": "0.3.7731",
42
+ "@wg-npm/survey-service-api": "0.3.7731",
43
43
  "acorn": "^7.3.1",
44
44
  "axios": "^0.19.2",
45
45
  "babelrc-rollup": "^3.0.0",
@@ -252,9 +252,12 @@
252
252
  };
253
253
  });
254
254
 
255
+ let currentValue = this.value;
256
+ let currentTotalScore = this.totalScore;
257
+
255
258
  return _.some(otherRange, function (o) {
256
259
  let condition_a = value >= o.min && value <= o.max;
257
- let condition_b = type == "left" ? value >= _.get(this.value, "minScore", 0) : value <= _.get(this.value, "maxScore", this.totalScore)
260
+ let condition_b = type == "left" ? value >= _.get(currentValue, "minScore", 0) : value <= _.get(currentValue, "maxScore", currentTotalScore)
258
261
 
259
262
  return condition_a && condition_b;
260
263
  });