@wg-npm/survey-creator 0.3.4166 → 0.3.4169
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.
|
@@ -4413,12 +4413,14 @@ var script$1 = Vue.extend({
|
|
|
4413
4413
|
this.$emit("on-save", JSON.stringify(this.getPureSurvey(this.currentSurvey)));
|
|
4414
4414
|
return;
|
|
4415
4415
|
}
|
|
4416
|
-
|
|
4417
|
-
|
|
4418
|
-
|
|
4419
|
-
|
|
4420
|
-
|
|
4421
|
-
|
|
4416
|
+
if (!this.showQuestionWhenPageLoad) {
|
|
4417
|
+
Modal.confirm({
|
|
4418
|
+
title: this.t("survey_creator.message.surveyLocaleNoSettingCompleted"),
|
|
4419
|
+
onOk: () => {
|
|
4420
|
+
this.$emit("on-save", JSON.stringify(this.getPureSurvey(this.currentSurvey)));
|
|
4421
|
+
}
|
|
4422
|
+
});
|
|
4423
|
+
}
|
|
4422
4424
|
},
|
|
4423
4425
|
getPureSurvey(survey) {
|
|
4424
4426
|
let temp = _.cloneDeep(survey);
|
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.4169",
|
|
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.4169",
|
|
16
|
+
"@wg-npm/survey-service-api": "0.3.4169",
|
|
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.4169",
|
|
42
|
+
"@wg-npm/survey-service-api": "0.3.4169",
|
|
43
43
|
"acorn": "^7.3.1",
|
|
44
44
|
"axios": "^0.19.2",
|
|
45
45
|
"babelrc-rollup": "^3.0.0",
|
|
@@ -241,16 +241,19 @@
|
|
|
241
241
|
);
|
|
242
242
|
return;
|
|
243
243
|
}
|
|
244
|
-
|
|
245
|
-
|
|
244
|
+
|
|
245
|
+
if (!this.showQuestionWhenPageLoad) {
|
|
246
|
+
// @ts-ignore
|
|
247
|
+
Modal.confirm({
|
|
246
248
|
title: this.t("survey_creator.message.surveyLocaleNoSettingCompleted"),
|
|
247
249
|
onOk: () => {
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
250
|
+
this.$emit(
|
|
251
|
+
"on-save",
|
|
252
|
+
JSON.stringify(this.getPureSurvey(this.currentSurvey))
|
|
253
|
+
);
|
|
252
254
|
}
|
|
253
|
-
|
|
255
|
+
});
|
|
256
|
+
}
|
|
254
257
|
},
|
|
255
258
|
getPureSurvey(survey) {
|
|
256
259
|
let temp = _.cloneDeep(survey);
|