@wg-npm/survey-response 0.5.167 → 0.5.168

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.
@@ -220,19 +220,22 @@ var script$h = Vue.component("question-title-dynamic", {
220
220
  console.log(typeof Input);
221
221
  _.forEach(this.splitedTitles, (title, index) => {
222
222
  if (CUSTOM_INPUT_REG.test(title)) {
223
+ debugger;
223
224
  let corespondTitle = _.find(self.customFilledTitle, (title) => {
224
225
  return title.index === index;
225
226
  });
226
- childArr.push(createElement(Input, {
227
- domProps: {
228
- value: corespondTitle.title
229
- },
230
- on: {
231
- input: function (value) {
232
- corespondTitle.title = value;
227
+ if (corespondTitle !== undefined) {
228
+ childArr.push(createElement(Input, {
229
+ domProps: {
230
+ value: corespondTitle.title
231
+ },
232
+ on: {
233
+ input: function (value) {
234
+ corespondTitle.title = value;
235
+ }
233
236
  }
234
- }
235
- }));
237
+ }));
238
+ }
236
239
  }
237
240
  else {
238
241
  childArr.push(title);
@@ -250,11 +253,11 @@ const __vue_script__$h = script$h;
250
253
  /* style */
251
254
  const __vue_inject_styles__$h = function (inject) {
252
255
  if (!inject) return
253
- inject("data-v-000dd3ab_0", { source: "[data-v-000dd3ab] .ivu-input-wrapper{width:auto}", map: undefined, media: undefined });
256
+ inject("data-v-4525e6d5_0", { source: "[data-v-4525e6d5] .ivu-input-wrapper{width:auto}", map: undefined, media: undefined });
254
257
 
255
258
  };
256
259
  /* scoped */
257
- const __vue_scope_id__$h = "data-v-000dd3ab";
260
+ const __vue_scope_id__$h = "data-v-4525e6d5";
258
261
  /* module identifier */
259
262
  const __vue_module_identifier__$h = undefined;
260
263
  /* functional template */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wg-npm/survey-response",
3
- "version": "0.5.167",
3
+ "version": "0.5.168",
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.167",
16
- "@wg-npm/survey-service-api": "0.5.167",
15
+ "@wg-npm/survey-core": "0.5.168",
16
+ "@wg-npm/survey-service-api": "0.5.168",
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.167",
38
- "@wg-npm/survey-service-api": "0.5.167",
37
+ "@wg-npm/survey-core": "0.5.168",
38
+ "@wg-npm/survey-service-api": "0.5.168",
39
39
  "acorn": "^7.3.1",
40
40
  "axios": "^0.19.2",
41
41
  "babelrc-rollup": "^3.0.0",
@@ -27,9 +27,11 @@ export default Vue.component("question-title-dynamic", {
27
27
  _.forEach(this.splitedTitles, (title: string, index: number) => {
28
28
 
29
29
  if(CUSTOM_INPUT_REG.test(title)) {
30
+ debugger;
30
31
  let corespondTitle = _.find(self.customFilledTitle, (title) => {
31
32
  return title.index === index;
32
33
  });
34
+ if(corespondTitle!==undefined){
33
35
  childArr.push(createElement(Input as Component, {
34
36
  domProps: {
35
37
  value: corespondTitle.title
@@ -39,7 +41,7 @@ export default Vue.component("question-title-dynamic", {
39
41
  corespondTitle.title = value;
40
42
  }
41
43
  }
42
- }));
44
+ }));}
43
45
  } else {
44
46
  childArr.push(title);
45
47
  }
@@ -53,4 +55,4 @@ export default Vue.component("question-title-dynamic", {
53
55
  /deep/ .ivu-input-wrapper {
54
56
  width: auto;
55
57
  }
56
- </style>
58
+ </style>