@wg-npm/survey-creator 0.5.155 → 0.5.157

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.
@@ -1093,7 +1093,7 @@ const __vue_script__$J = script$J;
1093
1093
  var __vue_render__$J = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"question-title"},[_c('label',{staticClass:"star"},[_vm._v(_vm._s(_vm.question.options.required ? "*" : ""))]),_vm._v(" "),(_vm.question.header.number)?_c('span',{staticClass:"number pl-sm"},[_vm._v(_vm._s(_vm.question.header.number)+".")]):_vm._e(),_vm._v(" "),_vm._l((_vm.getTitle(_vm.question)),function(title,index){return _c('div',{key:index,staticClass:"flex pl-sm"},[(title !== '')?_c('span',{staticClass:"content"},[_vm._v(_vm._s(title))]):_vm._e(),_vm._v(" "),_vm._l((_vm.customFilledTitle),function(customTitle){return _c('div',{key:index + customTitle.index},[(title === '' && index === customTitle.index)?_c('Input',{model:{value:(customTitle.title),callback:function ($$v) {_vm.$set(customTitle, "title", (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"customTitle.title"}}):_c('div',[(
1094
1094
  _vm.getShowInput(index, _vm.getTitle(_vm.question)) &&
1095
1095
  index === customTitle.index
1096
- )?_c('Input',{staticClass:"pl-sm",model:{value:(customTitle.title),callback:function ($$v) {_vm.$set(customTitle, "title", (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"customTitle.title"}}):_vm._e()],1)],1)})],2)}),_vm._v(" "),(_vm.haveMaxScore)?_c('span',{staticClass:"options-explain pl-sm"},[_vm._v("("+_vm._s(_vm.t("survey_creator.question.max_score", _vm.$rootComponent.currentLanguage))+_vm._s(_vm.maxScore)+")\n ")]):_vm._e(),_vm._v(" "),(_vm.haveScoreRange)?_c('span',{staticClass:"options-explain pl-sm"},[_vm._v("("+_vm._s(_vm.t(
1096
+ )?_c('Input',{staticClass:"pl-sm",model:{value:(customTitle.title),callback:function ($$v) {_vm.$set(customTitle, "title", (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"customTitle.title"}}):_vm._e()],1)],1)})],2)}),_vm._v(" "),(_vm.haveMaxScore)?_c('span',{staticClass:"options-explain pl-sm title-score-related"},[_vm._v("("+_vm._s(_vm.t("survey_creator.question.max_score", _vm.$rootComponent.currentLanguage))+_vm._s(_vm.maxScore)+")\n ")]):_vm._e(),_vm._v(" "),(_vm.haveScoreRange)?_c('span',{staticClass:"options-explain pl-sm title-score-related"},[_vm._v("("+_vm._s(_vm.t(
1097
1097
  "survey_creator.question.scoring.scoreRange",
1098
1098
  _vm.$rootComponent.currentLanguage
1099
1099
  ))+_vm._s(_vm.scoreRange)+")\n ")]):_vm._e(),_vm._v(" "),(_vm.haveStar)?_c('span',{staticClass:"options-explain pl-sm"},[(_vm.isSingleSelection)?_c('span',[_vm._v("\n ("+_vm._s(_vm.t(
@@ -1114,11 +1114,11 @@ var __vue_staticRenderFns__$J = [];
1114
1114
  /* style */
1115
1115
  const __vue_inject_styles__$J = function (inject) {
1116
1116
  if (!inject) return
1117
- inject("data-v-7735ccc6_0", { source: ".flex[data-v-7735ccc6]{display:flex;align-items:center}.pl-sm[data-v-7735ccc6]{padding-left:4px}", map: undefined, media: undefined });
1117
+ inject("data-v-8162241c_0", { source: ".flex[data-v-8162241c]{display:flex;align-items:center}.pl-sm[data-v-8162241c]{padding-left:4px}.title-score-related[data-v-8162241c]{min-width:90px}", map: undefined, media: undefined });
1118
1118
 
1119
1119
  };
1120
1120
  /* scoped */
1121
- const __vue_scope_id__$J = "data-v-7735ccc6";
1121
+ const __vue_scope_id__$J = "data-v-8162241c";
1122
1122
  /* module identifier */
1123
1123
  const __vue_module_identifier__$J = undefined;
1124
1124
  /* functional template */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wg-npm/survey-creator",
3
- "version": "0.5.155",
3
+ "version": "0.5.157",
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.155",
16
- "@wg-npm/survey-service-api": "0.5.155",
15
+ "@wg-npm/survey-core": "0.5.157",
16
+ "@wg-npm/survey-service-api": "0.5.157",
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.5.155",
42
- "@wg-npm/survey-service-api": "0.5.155",
41
+ "@wg-npm/survey-core": "0.5.157",
42
+ "@wg-npm/survey-service-api": "0.5.157",
43
43
  "acorn": "^7.3.1",
44
44
  "axios": "^0.19.2",
45
45
  "babelrc-rollup": "^3.0.0",
@@ -33,12 +33,12 @@
33
33
  </div>
34
34
  </div>
35
35
 
36
- <span class="options-explain pl-sm" v-if="haveMaxScore"
36
+ <span class="options-explain pl-sm title-score-related" v-if="haveMaxScore"
37
37
  >({{
38
38
  t(`survey_creator.question.max_score`, $rootComponent.currentLanguage)
39
39
  }}{{ maxScore }})
40
40
  </span>
41
- <span class="options-explain pl-sm" v-if="haveScoreRange"
41
+ <span class="options-explain pl-sm title-score-related" v-if="haveScoreRange"
42
42
  >({{
43
43
  t(
44
44
  `survey_creator.question.scoring.scoreRange`,
@@ -158,4 +158,7 @@ export default Vue.extend({
158
158
  .pl-sm {
159
159
  padding-left: 4px;
160
160
  }
161
+ .title-score-related {
162
+ min-width: 90px;
163
+ }
161
164
  </style>
@@ -83,6 +83,7 @@
83
83
  .question-title {
84
84
  padding: 16px 0;
85
85
  display: flex;
86
+ flex-wrap: wrap;
86
87
  align-items: center;
87
88
 
88
89
  .star {