@wg-npm/survey-response 1.78.3051745 → 1.78.4031900

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.
@@ -16930,17 +16930,17 @@ const __vue_script__$5 = script$5;
16930
16930
  var __vue_render__$4 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.showPresetReplies)?_c('div',{staticClass:"preset-reply-area"},[_c('div',{staticClass:"preset-reply-tip"},[_vm._v("\n "+_vm._s(_vm.t("survey_response.question.presetReplyTip"))+"\n ")]),_vm._v(" "),_c('div',{staticClass:"preset-reply-buttons"},_vm._l((_vm.question.options.presetReplies),function(reply,index){return _c('span',{key:index,staticClass:"preset-reply-btn",on:{"click":function($event){return _vm.applyPresetReply(reply)}}},[_vm._v(_vm._s(reply))])}),0)]):_vm._e(),_vm._v(" "),_c('FormItem',{attrs:{"prop":_vm.answerProp,"rules":{
16931
16931
  required: _vm.question.options.required,
16932
16932
  message: _vm.t('survey_response.question.question_required'),
16933
- }}},[_c('quill-rich-text',{ref:"richText",attrs:{"disabled":_vm.readonly || _vm.question.options.readonly,"placeholder":_vm.placeholder,"maxlength":_vm.question.options.wordLimit},model:{value:(_vm.value.answer),callback:function ($$v) {_vm.$set(_vm.value, "answer", (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"value.answer"}}),_vm._v(" "),_c('div')],1)],1)};
16933
+ }}},[_c('quill-rich-text',{ref:"richText",attrs:{"disabled":_vm.readonly || _vm.question.options.readonly,"placeholder":_vm.placeholder,"maxlength":_vm.question.options.wordLimit},model:{value:(_vm.displayAnswer),callback:function ($$v) {_vm.displayAnswer=(typeof $$v === 'string'? $$v.trim(): $$v);},expression:"displayAnswer"}}),_vm._v(" "),_c('div')],1)],1)};
16934
16934
  var __vue_staticRenderFns__$4 = [];
16935
16935
 
16936
16936
  /* style */
16937
16937
  const __vue_inject_styles__$5 = function (inject) {
16938
16938
  if (!inject) return
16939
- inject("data-v-ccafeee2_0", { source: ".preset-reply-area[data-v-ccafeee2]{margin-bottom:12px}.preset-reply-area .preset-reply-tip[data-v-ccafeee2]{color:#999;font-size:13px;margin-bottom:8px}.preset-reply-area .preset-reply-buttons[data-v-ccafeee2]{display:flex;flex-wrap:wrap;gap:8px}.preset-reply-area .preset-reply-buttons .preset-reply-btn[data-v-ccafeee2]{display:inline-block;padding:4px 12px;border:1px solid #dcdee2;border-radius:4px;font-size:13px;color:#515a6e;cursor:pointer;background:#fff;transition:all .2s}.preset-reply-area .preset-reply-buttons .preset-reply-btn[data-v-ccafeee2]:hover{border-color:#2d8cf0;color:#2d8cf0}.processed-answer[data-v-ccafeee2]{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc;width:100%;min-height:94px;border:1px solid #dcdee2;border-radius:4px;padding:4px 8px;line-height:1.5}", map: undefined, media: undefined });
16939
+ inject("data-v-843e1990_0", { source: ".preset-reply-area[data-v-843e1990]{margin-bottom:12px}.preset-reply-area .preset-reply-tip[data-v-843e1990]{color:#999;font-size:13px;margin-bottom:8px}.preset-reply-area .preset-reply-buttons[data-v-843e1990]{display:flex;flex-wrap:wrap;gap:8px}.preset-reply-area .preset-reply-buttons .preset-reply-btn[data-v-843e1990]{display:inline-block;padding:4px 12px;border:1px solid #dcdee2;border-radius:4px;font-size:13px;color:#515a6e;cursor:pointer;background:#fff;transition:all .2s}.preset-reply-area .preset-reply-buttons .preset-reply-btn[data-v-843e1990]:hover{border-color:#2d8cf0;color:#2d8cf0}.processed-answer[data-v-843e1990]{background-color:#f3f3f3;opacity:1;cursor:not-allowed;color:#ccc;width:100%;min-height:94px;border:1px solid #dcdee2;border-radius:4px;padding:4px 8px;line-height:1.5}", map: undefined, media: undefined });
16940
16940
 
16941
16941
  };
16942
16942
  /* scoped */
16943
- const __vue_scope_id__$5 = "data-v-ccafeee2";
16943
+ const __vue_scope_id__$5 = "data-v-843e1990";
16944
16944
  /* module identifier */
16945
16945
  const __vue_module_identifier__$5 = undefined;
16946
16946
  /* functional template */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wg-npm/survey-response",
3
- "version": "1.78.03051745",
3
+ "version": "1.78.04031900",
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": "1.78.03051745",
16
- "@wg-npm/survey-service-api": "1.78.03051745",
15
+ "@wg-npm/survey-core": "1.78.04031900",
16
+ "@wg-npm/survey-service-api": "1.78.04031900",
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": "1.78.03051745",
38
- "@wg-npm/survey-service-api": "1.78.03051745",
37
+ "@wg-npm/survey-core": "1.78.04031900",
38
+ "@wg-npm/survey-service-api": "1.78.04031900",
39
39
  "acorn": "^7.3.1",
40
40
  "axios": "^0.19.2",
41
41
  "babelrc-rollup": "^3.0.0",
@@ -72,7 +72,7 @@
72
72
  "publishConfig": {
73
73
  "access": "public"
74
74
  },
75
- "gitHead": "2bb69a9df666ef82610fcd9d3dc54b2f51f1bb74",
75
+ "gitHead": "6ffca5612664222a83c5f7cc934558799eeeb523",
76
76
  "rollup": {
77
77
  "external": [
78
78
  "vue",
@@ -22,7 +22,7 @@
22
22
  }"
23
23
  >
24
24
  <quill-rich-text
25
- v-model.trim="value.answer"
25
+ v-model.trim="displayAnswer"
26
26
  ref="richText"
27
27
  :disabled="readonly || question.options.readonly"
28
28
  :placeholder="placeholder"