@wg-npm/survey-response 0.5.145 → 0.5.146

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.
@@ -427,17 +427,17 @@ var __vue_render__$e = function () {var _vm=this;var _h=_vm.$createElement;var _
427
427
  message: _vm.t('survey_response.question.input_text_limit', [
428
428
  _vm.question.options.inputMinLength ]),
429
429
  trigger: 'blur',
430
- } ]}},[(_vm.question.options.readonly || choice.readonly)?_c('Span',[_vm._v("\n "+_vm._s(inputAnswer.inputText))]):_c('Input',{model:{value:(inputAnswer.inputText),callback:function ($$v) {_vm.$set(inputAnswer, "inputText", (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"inputAnswer.inputText"}})],1):_vm._e()],1)})],2)}),1)],1)],1)};
430
+ } ]}},[(_vm.question.options.readonly || choice.readonly)?_c('Span',[_vm._v("\n "+_vm._s(inputAnswer.inputText))]):_vm._e(),_vm._v(" "),(!_vm.question.options.readonly && !_vm.question.options.disabled)?_c('Input',{model:{value:(inputAnswer.inputText),callback:function ($$v) {_vm.$set(inputAnswer, "inputText", (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"inputAnswer.inputText"}}):_vm._e()],1):_vm._e()],1)})],2)}),1)],1)],1)};
431
431
  var __vue_staticRenderFns__$e = [];
432
432
 
433
433
  /* style */
434
434
  const __vue_inject_styles__$e = function (inject) {
435
435
  if (!inject) return
436
- inject("data-v-0ad93f1c_0", { source: ".ivu-row-flex-start[data-v-0ad93f1c]{align-items:center}.ivu-checkbox-group-item[data-v-0ad93f1c]{display:flex;flex-direction:row;align-items:center}.choice-title[data-v-0ad93f1c]{margin-left:8px;margin-right:8px}.choice-score[data-v-0ad93f1c]{margin-right:8px}", map: undefined, media: undefined });
436
+ inject("data-v-7e78fd8e_0", { source: ".ivu-row-flex-start[data-v-7e78fd8e]{align-items:center}.ivu-checkbox-group-item[data-v-7e78fd8e]{display:flex;flex-direction:row;align-items:center}.choice-title[data-v-7e78fd8e]{margin-left:8px;margin-right:8px}.choice-score[data-v-7e78fd8e]{margin-right:8px}", map: undefined, media: undefined });
437
437
 
438
438
  };
439
439
  /* scoped */
440
- const __vue_scope_id__$e = "data-v-0ad93f1c";
440
+ const __vue_scope_id__$e = "data-v-7e78fd8e";
441
441
  /* module identifier */
442
442
  const __vue_module_identifier__$e = undefined;
443
443
  /* functional template */
@@ -666,17 +666,17 @@ var __vue_render__$c = function () {var _vm=this;var _h=_vm.$createElement;var _
666
666
  _vm.question.options.inputMinLength ]),
667
667
  trigger: 'blur',
668
668
  } ]}},[(
669
- _vm.question.options.readonly || _vm.question.options.disabled)?_c('Span',[_vm._v("\n "+_vm._s(inputAnswer.inputText))]):_c('Input',{model:{value:(inputAnswer.inputText),callback:function ($$v) {_vm.$set(inputAnswer, "inputText", (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"inputAnswer.inputText"}})],1):_vm._e()],1)})],2)}),1)],1)],1)};
669
+ _vm.question.options.readonly || _vm.question.options.disabled)?_c('Span',[_vm._v("\n "+_vm._s(inputAnswer.inputText))]):_vm._e(),_vm._v(" "),(!_vm.question.options.readonly && !_vm.question.options.disabled)?_c('Input',{model:{value:(inputAnswer.inputText),callback:function ($$v) {_vm.$set(inputAnswer, "inputText", (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"inputAnswer.inputText"}}):_vm._e()],1):_vm._e()],1)})],2)}),1)],1)],1)};
670
670
  var __vue_staticRenderFns__$c = [];
671
671
 
672
672
  /* style */
673
673
  const __vue_inject_styles__$c = function (inject) {
674
674
  if (!inject) return
675
- inject("data-v-0d55fba6_0", { source: ".ivu-row-flex-start[data-v-0d55fba6]{align-items:center}.ivu-radio-group-item[data-v-0d55fba6]{display:flex;flex-direction:row;align-items:center}.choice-title[data-v-0d55fba6]{margin-left:8px;margin-right:8px}", map: undefined, media: undefined });
675
+ inject("data-v-46e368de_0", { source: ".ivu-row-flex-start[data-v-46e368de]{align-items:center}.ivu-radio-group-item[data-v-46e368de]{display:flex;flex-direction:row;align-items:center}.choice-title[data-v-46e368de]{margin-left:8px;margin-right:8px}", map: undefined, media: undefined });
676
676
 
677
677
  };
678
678
  /* scoped */
679
- const __vue_scope_id__$c = "data-v-0d55fba6";
679
+ const __vue_scope_id__$c = "data-v-46e368de";
680
680
  /* module identifier */
681
681
  const __vue_module_identifier__$c = undefined;
682
682
  /* functional template */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wg-npm/survey-response",
3
- "version": "0.5.145",
3
+ "version": "0.5.146",
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.5.145",
16
- "@wg-npm/survey-service-api": "0.5.145",
15
+ "@wg-npm/survey-core": "0.5.146",
16
+ "@wg-npm/survey-service-api": "0.5.146",
17
17
  "axios": "^0.19.2",
18
18
  "deepmerge": "^4.2.2",
19
19
  "lodash": "^4.17.15",
@@ -34,8 +34,8 @@
34
34
  "@typescript-eslint/parser": "^3.6.0",
35
35
  "@vue/eslint-config-prettier": "^6.0.0",
36
36
  "@vue/eslint-config-typescript": "^5.0.2",
37
- "@wg-npm/survey-core": "0.5.145",
38
- "@wg-npm/survey-service-api": "0.5.145",
37
+ "@wg-npm/survey-core": "0.5.146",
38
+ "@wg-npm/survey-service-api": "0.5.146",
39
39
  "acorn": "^7.3.1",
40
40
  "axios": "^0.19.2",
41
41
  "babelrc-rollup": "^3.0.0",
@@ -56,7 +56,7 @@
56
56
  >
57
57
  <Span v-if="question.options.readonly || choice.readonly">
58
58
  {{inputAnswer.inputText}}</Span>
59
- <Input v-else
59
+ <Input v-if="!question.options.readonly && !question.options.disabled"
60
60
  v-model.trim="inputAnswer.inputText"
61
61
  />
62
62
  </FormItem>
@@ -59,7 +59,7 @@
59
59
  <Span v-if="
60
60
  question.options.readonly || question.options.disabled">
61
61
  {{inputAnswer.inputText}}</Span>
62
- <Input v-else
62
+ <Input v-if="!question.options.readonly && !question.options.disabled"
63
63
  v-model.trim="inputAnswer.inputText"
64
64
  />
65
65
  </FormItem>