@wg-npm/survey-creator 0.3.6154 → 0.3.6194
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.
|
@@ -3844,7 +3844,6 @@ var script$7 = Vue.extend({
|
|
|
3844
3844
|
methods: {
|
|
3845
3845
|
closeDrawer() {
|
|
3846
3846
|
this.visibleDrawer = false;
|
|
3847
|
-
this.$emit("on-close");
|
|
3848
3847
|
},
|
|
3849
3848
|
saveQuestion() {
|
|
3850
3849
|
const self = this;
|
|
@@ -3867,13 +3866,13 @@ var script$7 = Vue.extend({
|
|
|
3867
3866
|
const __vue_script__$7 = script$7;
|
|
3868
3867
|
|
|
3869
3868
|
/* template */
|
|
3870
|
-
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Drawer',{attrs:{"styles":_vm.styles,"width":50,"closable":true,"mask-closable":false},
|
|
3869
|
+
var __vue_render__$7 = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Drawer',{attrs:{"styles":_vm.styles,"width":50,"closable":true,"mask-closable":false},model:{value:(_vm.visibleDrawer),callback:function ($$v) {_vm.visibleDrawer=$$v;},expression:"visibleDrawer"}},[_c('ButtonGroup',{attrs:{"slot":"header","shape":"circle"},slot:"header"},[_vm._m(0),_vm._v(" "),_c('Button',[_vm._v(_vm._s(_vm.t(("survey_creator.question.types." + _vm.questionType))))])],1),_vm._v(" "),(_vm.visibleDrawer && _vm.question)?_c(_vm.questionType,{ref:"questionComponent",tag:"component",staticClass:"question-form",attrs:{"question":_vm.question}}):_vm._e(),_vm._v(" "),_c('div',{staticClass:"drawer-footer"},[_c('Button',{attrs:{"type":"primary"},on:{"click":_vm.saveQuestion}},[(_vm.isCopy)?_c('span',[_vm._v(_vm._s(_vm.t('survey_creator.common.copy')))]):_c('span',[_vm._v(_vm._s(_vm.t('survey_creator.common.save')))])]),_vm._v(" "),_c('Button',{on:{"click":_vm.cancel}},[_vm._v(_vm._s(_vm.t('survey_creator.common.cancel')))])],1)],1)};
|
|
3871
3870
|
var __vue_staticRenderFns__$7 = [function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Button',{attrs:{"type":"primary"}},[_vm._v(_vm._s(_vm.t("survey_creator.question.type")))])}];
|
|
3872
3871
|
|
|
3873
3872
|
/* style */
|
|
3874
3873
|
const __vue_inject_styles__$7 = function (inject) {
|
|
3875
3874
|
if (!inject) return
|
|
3876
|
-
inject("data-v-
|
|
3875
|
+
inject("data-v-80ded99c_0", { source: ".drawer-footer{width:100%;position:absolute;bottom:0;left:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff;z-index:99}.question-form{margin-bottom:53px}", map: undefined, media: undefined });
|
|
3877
3876
|
|
|
3878
3877
|
};
|
|
3879
3878
|
/* scoped */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wg-npm/survey-creator",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.6194",
|
|
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.3.
|
|
16
|
-
"@wg-npm/survey-service-api": "0.3.
|
|
15
|
+
"@wg-npm/survey-core": "0.3.6194",
|
|
16
|
+
"@wg-npm/survey-service-api": "0.3.6194",
|
|
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.3.
|
|
42
|
-
"@wg-npm/survey-service-api": "0.3.
|
|
41
|
+
"@wg-npm/survey-core": "0.3.6194",
|
|
42
|
+
"@wg-npm/survey-service-api": "0.3.6194",
|
|
43
43
|
"acorn": "^7.3.1",
|
|
44
44
|
"axios": "^0.19.2",
|
|
45
45
|
"babelrc-rollup": "^3.0.0",
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
:width="50"
|
|
6
6
|
:closable="true"
|
|
7
7
|
:mask-closable="false"
|
|
8
|
-
@on-close="closeDrawer"
|
|
9
8
|
>
|
|
10
9
|
<ButtonGroup slot="header" shape="circle">
|
|
11
10
|
<Button type="primary" v-once>{{t(`survey_creator.question.type`)}}</Button>
|
|
@@ -111,7 +110,6 @@ export default Vue.extend({
|
|
|
111
110
|
methods: {
|
|
112
111
|
closeDrawer() {
|
|
113
112
|
this.visibleDrawer = false;
|
|
114
|
-
this.$emit("on-close")
|
|
115
113
|
},
|
|
116
114
|
saveQuestion() {
|
|
117
115
|
const self = this;
|