@wg-npm/survey-response 0.5.159 → 0.5.161

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.
@@ -194,6 +194,9 @@ var OptionLayoutMixin = Vue.extend({
194
194
  computed: {
195
195
  optionLayout() {
196
196
  const globalLayout = _.lowerCase(_.get(this.options, "layout", "horizontal"));
197
+ if (this.isMobile() || "vertical" == globalLayout) {
198
+ return "question-choice-vertical";
199
+ }
197
200
  return `question-choice-${globalLayout}`;
198
201
  },
199
202
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wg-npm/survey-response",
3
- "version": "0.5.159",
3
+ "version": "0.5.161",
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.159",
16
- "@wg-npm/survey-service-api": "0.5.159",
15
+ "@wg-npm/survey-core": "0.5.161",
16
+ "@wg-npm/survey-service-api": "0.5.161",
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.159",
38
- "@wg-npm/survey-service-api": "0.5.159",
37
+ "@wg-npm/survey-core": "0.5.161",
38
+ "@wg-npm/survey-service-api": "0.5.161",
39
39
  "acorn": "^7.3.1",
40
40
  "axios": "^0.19.2",
41
41
  "babelrc-rollup": "^3.0.0",
@@ -21,9 +21,9 @@ export default Vue.extend({
21
21
  // @ts-ignore
22
22
  _.get(this.options, "layout", "horizontal")
23
23
  );
24
- // if (this.isMobile() || "vertical" == globalLayout) {
25
- // return "";
26
- // }
24
+ if (this.isMobile() || "vertical" == globalLayout) {
25
+ return "question-choice-vertical";
26
+ }
27
27
  // const questionLayout = _.lowerCase(
28
28
  // // @ts-ignore
29
29
  // _.get(this.question.options, "layout", "horizontal")