@wg-npm/survey-creator 0.3.4633 → 0.3.4650
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.
- package/dist/survey-creator.esm.js +19 -15
- package/package.json +5 -5
- package/src/components/editor/forms/fill-blank-form.vue +6 -0
- package/src/components/editor/forms/matrix-form.vue +6 -0
- package/src/components/editor/forms/multi-selection-form.vue +4 -0
- package/src/components/editor/forms/short-answer-form.vue +7 -1
- package/src/components/editor/forms/single-selection-form.vue +4 -0
|
@@ -2346,11 +2346,11 @@ var __vue_staticRenderFns__$m = [];
|
|
|
2346
2346
|
/* style */
|
|
2347
2347
|
const __vue_inject_styles__$m = function (inject) {
|
|
2348
2348
|
if (!inject) return
|
|
2349
|
-
inject("data-v-
|
|
2349
|
+
inject("data-v-2daf3a59_0", { source: ".question-options[data-v-2daf3a59]{padding-bottom:10px;padding-left:80px}[data-v-2daf3a59] .ivu-form-item{width:100%}", map: undefined, media: undefined });
|
|
2350
2350
|
|
|
2351
2351
|
};
|
|
2352
2352
|
/* scoped */
|
|
2353
|
-
const __vue_scope_id__$m = "data-v-
|
|
2353
|
+
const __vue_scope_id__$m = "data-v-2daf3a59";
|
|
2354
2354
|
/* module identifier */
|
|
2355
2355
|
const __vue_module_identifier__$m = undefined;
|
|
2356
2356
|
/* functional template */
|
|
@@ -2458,11 +2458,11 @@ var __vue_staticRenderFns__$l = [];
|
|
|
2458
2458
|
/* style */
|
|
2459
2459
|
const __vue_inject_styles__$l = function (inject) {
|
|
2460
2460
|
if (!inject) return
|
|
2461
|
-
inject("data-v-
|
|
2461
|
+
inject("data-v-7e7a6272_0", { source: ".question-options[data-v-7e7a6272]{padding-bottom:10px;padding-left:80px}[data-v-7e7a6272] .ivu-form-item{width:100%}", map: undefined, media: undefined });
|
|
2462
2462
|
|
|
2463
2463
|
};
|
|
2464
2464
|
/* scoped */
|
|
2465
|
-
const __vue_scope_id__$l = "data-v-
|
|
2465
|
+
const __vue_scope_id__$l = "data-v-7e7a6272";
|
|
2466
2466
|
/* module identifier */
|
|
2467
2467
|
const __vue_module_identifier__$l = undefined;
|
|
2468
2468
|
/* functional template */
|
|
@@ -2505,20 +2505,22 @@ var script$k = Vue.extend({
|
|
|
2505
2505
|
const __vue_script__$k = script$k;
|
|
2506
2506
|
|
|
2507
2507
|
/* template */
|
|
2508
|
-
var __vue_render__$k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Form',{ref:"questionForm",attrs:{"model":_vm.editQuestion,"label-colon":false}},[_c('Form-item',{attrs:{"prop":'header.text.' + _vm.primaryLanguage,"rules":{required: true,
|
|
2508
|
+
var __vue_render__$k = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('Form',{ref:"questionForm",attrs:{"model":_vm.editQuestion,"label-colon":false}},[_c('Form-item',{attrs:{"prop":'header.text.' + _vm.primaryLanguage,"rules":{required: true,
|
|
2509
2509
|
message: _vm.t('survey_creator.question.titleRequiredTip')}}},[_c('label',{attrs:{"slot":"label"},slot:"label"},[_c('span'),_vm._v(" "),_c('span',[_vm._v(_vm._s(_vm.t('survey_creator.page.question')))])]),_vm._v(" "),_c('Checkbox',{model:{value:(_vm.editQuestion.options.required),callback:function ($$v) {_vm.$set(_vm.editQuestion.options, "required", $$v);},expression:"editQuestion.options.required"}},[_vm._v(_vm._s(_vm.t('survey_creator.question.questionRequired')))]),_vm._v(" "),_c('Input',{attrs:{"placeholder":_vm.t('survey_creator.question.titleRequiredTip')},model:{value:(_vm.editQuestion.header.text[_vm.primaryLanguage]),callback:function ($$v) {_vm.$set(_vm.editQuestion.header.text, _vm.primaryLanguage, (typeof $$v === 'string'? $$v.trim(): $$v));},expression:"editQuestion.header.text[primaryLanguage]"}})],1)],1)};
|
|
2510
2510
|
var __vue_staticRenderFns__$k = [];
|
|
2511
2511
|
|
|
2512
2512
|
/* style */
|
|
2513
|
-
const __vue_inject_styles__$k =
|
|
2513
|
+
const __vue_inject_styles__$k = function (inject) {
|
|
2514
|
+
if (!inject) return
|
|
2515
|
+
inject("data-v-3a642ae8_0", { source: "[data-v-3a642ae8] .ivu-form-item{width:100%}", map: undefined, media: undefined });
|
|
2516
|
+
|
|
2517
|
+
};
|
|
2514
2518
|
/* scoped */
|
|
2515
|
-
const __vue_scope_id__$k =
|
|
2519
|
+
const __vue_scope_id__$k = "data-v-3a642ae8";
|
|
2516
2520
|
/* module identifier */
|
|
2517
2521
|
const __vue_module_identifier__$k = undefined;
|
|
2518
2522
|
/* functional template */
|
|
2519
2523
|
const __vue_is_functional_template__$k = false;
|
|
2520
|
-
/* style inject */
|
|
2521
|
-
|
|
2522
2524
|
/* style inject SSR */
|
|
2523
2525
|
|
|
2524
2526
|
/* style inject shadow dom */
|
|
@@ -2533,7 +2535,7 @@ var __vue_staticRenderFns__$k = [];
|
|
|
2533
2535
|
__vue_is_functional_template__$k,
|
|
2534
2536
|
__vue_module_identifier__$k,
|
|
2535
2537
|
false,
|
|
2536
|
-
|
|
2538
|
+
createInjector,
|
|
2537
2539
|
undefined,
|
|
2538
2540
|
undefined
|
|
2539
2541
|
);
|
|
@@ -2641,15 +2643,17 @@ var __vue_render__$j = function () {var _vm=this;var _h=_vm.$createElement;var _
|
|
|
2641
2643
|
var __vue_staticRenderFns__$j = [];
|
|
2642
2644
|
|
|
2643
2645
|
/* style */
|
|
2644
|
-
const __vue_inject_styles__$j =
|
|
2646
|
+
const __vue_inject_styles__$j = function (inject) {
|
|
2647
|
+
if (!inject) return
|
|
2648
|
+
inject("data-v-35ed96ec_0", { source: "[data-v-35ed96ec] .ivu-form-item{width:100%}", map: undefined, media: undefined });
|
|
2649
|
+
|
|
2650
|
+
};
|
|
2645
2651
|
/* scoped */
|
|
2646
|
-
const __vue_scope_id__$j =
|
|
2652
|
+
const __vue_scope_id__$j = "data-v-35ed96ec";
|
|
2647
2653
|
/* module identifier */
|
|
2648
2654
|
const __vue_module_identifier__$j = undefined;
|
|
2649
2655
|
/* functional template */
|
|
2650
2656
|
const __vue_is_functional_template__$j = false;
|
|
2651
|
-
/* style inject */
|
|
2652
|
-
|
|
2653
2657
|
/* style inject SSR */
|
|
2654
2658
|
|
|
2655
2659
|
/* style inject shadow dom */
|
|
@@ -2664,7 +2668,7 @@ var __vue_staticRenderFns__$j = [];
|
|
|
2664
2668
|
__vue_is_functional_template__$j,
|
|
2665
2669
|
__vue_module_identifier__$j,
|
|
2666
2670
|
false,
|
|
2667
|
-
|
|
2671
|
+
createInjector,
|
|
2668
2672
|
undefined,
|
|
2669
2673
|
undefined
|
|
2670
2674
|
);
|
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.4650",
|
|
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.4650",
|
|
16
|
+
"@wg-npm/survey-service-api": "0.3.4650",
|
|
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.4650",
|
|
42
|
+
"@wg-npm/survey-service-api": "0.3.4650",
|
|
43
43
|
"acorn": "^7.3.1",
|
|
44
44
|
"axios": "^0.19.2",
|
|
45
45
|
"babelrc-rollup": "^3.0.0",
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
<Form ref="questionForm" :model="editQuestion" :label-colon="false">
|
|
3
3
|
<Form-item
|
|
4
4
|
:prop="'header.text.' + primaryLanguage"
|
|
5
|
-
:rules="{required: true,
|
|
5
|
+
:rules="{required: true,
|
|
6
6
|
message: t('survey_creator.question.titleRequiredTip')}"
|
|
7
7
|
>
|
|
8
8
|
<label slot="label">
|
|
@@ -37,3 +37,9 @@
|
|
|
37
37
|
mixins: [questionFormMixin]
|
|
38
38
|
});
|
|
39
39
|
</script>
|
|
40
|
+
|
|
41
|
+
<style scoped lang="less">
|
|
42
|
+
/deep/ .ivu-form-item {
|
|
43
|
+
width: 100%;
|
|
44
|
+
}
|
|
45
|
+
</style>
|