@wg-npm/survey-creator 0.5.185 → 0.5.187
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.
|
@@ -728,7 +728,7 @@ var script$N = Vue.extend({
|
|
|
728
728
|
created() {
|
|
729
729
|
if (!this.surveyExtendOptions.enabledSpeciallyQuestions) {
|
|
730
730
|
_.remove(questionTypes, (index) => {
|
|
731
|
-
return
|
|
731
|
+
return index == "EVALUATION";
|
|
732
732
|
});
|
|
733
733
|
}
|
|
734
734
|
if (this.surveyExtendOptions.enabledScoringQuestion) {
|
|
@@ -3082,7 +3082,7 @@ var script$o = Vue.extend({
|
|
|
3082
3082
|
},
|
|
3083
3083
|
methods: {
|
|
3084
3084
|
handleExclusiveChoice(callback) {
|
|
3085
|
-
if (this.
|
|
3085
|
+
if (this.editQuestion.options.exclusiveEnabled) {
|
|
3086
3086
|
const exclusiveChoice = this.editQuestion.choices.pop();
|
|
3087
3087
|
callback();
|
|
3088
3088
|
this.editQuestion.choices.push(exclusiveChoice);
|
|
@@ -3224,11 +3224,11 @@ var __vue_staticRenderFns__$o = [];
|
|
|
3224
3224
|
/* style */
|
|
3225
3225
|
const __vue_inject_styles__$o = function (inject) {
|
|
3226
3226
|
if (!inject) return
|
|
3227
|
-
inject("data-v-
|
|
3227
|
+
inject("data-v-a09ec24e_0", { source: ".multi-selection-form .options-container[data-v-a09ec24e]{margin:0 8px 16px;border-bottom:1px solid #e8eaec;display:grid}.multi-selection-form .options-container .options-row[data-v-a09ec24e]{display:flex;flex-direction:row;margin-bottom:16px}.multi-selection-form .options-container .options-row .options[data-v-a09ec24e]{display:flex;flex-direction:column}.multi-selection-form .options-container .options-row .options .option[data-v-a09ec24e]{margin-top:24px}.multi-selection-form .options-container .options-row .options .option-expand[data-v-a09ec24e]{display:flex;align-items:center;margin-top:10px;padding:8px;border-radius:4px;background:#f7f7f7}.multi-selection-form .options-container .options-row .options .option-expand .inputing[data-v-a09ec24e]{width:64px}.multi-selection-form .options-container .before-border[data-v-a09ec24e]{border-left:1px solid #e8eaec;padding-left:16px}.multi-selection-form .question-options[data-v-a09ec24e]{padding-bottom:10px;padding-left:80px}.multi-selection-form[data-v-a09ec24e] .ivu-form-item{width:100%}.multi-selection-form .option-header[data-v-a09ec24e]{background:#f0f1f3;border-radius:4px;width:100%;height:32px;margin-bottom:24px;display:flex;flex-direction:row;color:#70748c;align-items:center;padding:0 8px 0 16px}.multi-selection-form .option-header .choice[data-v-a09ec24e]{width:100%}.multi-selection-form .option-header .scoring[data-v-a09ec24e]{width:100px;display:flex;justify-content:center}.multi-selection-form .option-header .inputing[data-v-a09ec24e]{width:145px;min-width:42px;display:flex;justify-content:center}.multi-selection-form .choice-row .question-choice[data-v-a09ec24e]{display:flex;flex-direction:row;align-items:center;padding-right:8px}.multi-selection-form .choice-row .question-choice .choice[data-v-a09ec24e]{display:flex;flex-direction:row;width:100%;margin-right:8px}.multi-selection-form .choice-row .question-choice .choice .button[data-v-a09ec24e]{margin-left:8px}.multi-selection-form .choice-row .question-choice .scoring[data-v-a09ec24e]{width:85px}.multi-selection-form .choice-row .question-choice .inputing[data-v-a09ec24e]{width:145px;text-align:center}.multi-selection-form .choice-row .question-choice .inputing .ivu-checkbox-wrapper[data-v-a09ec24e]{margin-right:0}.multi-selection-form .exclusive-choice[data-v-a09ec24e]{border-top:1px solid #e8eaec;padding-top:16px}.multi-selection-form .option-input[data-v-a09ec24e]{margin:0 50px 30px 60px}", map: undefined, media: undefined });
|
|
3228
3228
|
|
|
3229
3229
|
};
|
|
3230
3230
|
/* scoped */
|
|
3231
|
-
const __vue_scope_id__$o = "data-v-
|
|
3231
|
+
const __vue_scope_id__$o = "data-v-a09ec24e";
|
|
3232
3232
|
/* module identifier */
|
|
3233
3233
|
const __vue_module_identifier__$o = undefined;
|
|
3234
3234
|
/* functional template */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wg-npm/survey-creator",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.187",
|
|
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.
|
|
16
|
-
"@wg-npm/survey-service-api": "0.5.
|
|
15
|
+
"@wg-npm/survey-core": "0.5.187",
|
|
16
|
+
"@wg-npm/survey-service-api": "0.5.187",
|
|
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.5.
|
|
42
|
-
"@wg-npm/survey-service-api": "0.5.
|
|
41
|
+
"@wg-npm/survey-core": "0.5.187",
|
|
42
|
+
"@wg-npm/survey-service-api": "0.5.187",
|
|
43
43
|
"acorn": "^7.3.1",
|
|
44
44
|
"axios": "^0.19.2",
|
|
45
45
|
"babelrc-rollup": "^3.0.0",
|
|
@@ -463,7 +463,7 @@ export default Vue.extend({
|
|
|
463
463
|
},
|
|
464
464
|
methods: {
|
|
465
465
|
handleExclusiveChoice(callback) {
|
|
466
|
-
if (this.
|
|
466
|
+
if (this.editQuestion.options.exclusiveEnabled) {
|
|
467
467
|
const exclusiveChoice = this.editQuestion.choices.pop();
|
|
468
468
|
callback();
|
|
469
469
|
this.editQuestion.choices.push(exclusiveChoice);
|
|
@@ -52,7 +52,7 @@ export default Vue.extend({
|
|
|
52
52
|
if (!this.surveyExtendOptions.enabledSpeciallyQuestions) {
|
|
53
53
|
// @ts-ignore
|
|
54
54
|
_.remove(questionTypes, (index) => {
|
|
55
|
-
return
|
|
55
|
+
return index == QuestionType.EVALUATION;
|
|
56
56
|
});
|
|
57
57
|
}
|
|
58
58
|
if (this.surveyExtendOptions.enabledScoringQuestion) {
|