@kre-form/survey
Version:
491 lines • 63.2 kB
JavaScript
/**
* @fileoverview added by tsickle
* @suppress {checkTypes,extraRequire,missingOverride,missingReturn,unusedPrivateMembers,uselessCode} checked by tsc
*/
import { Component, Input, Output, EventEmitter } from "@angular/core";
import { FormGroup } from "@angular/forms";
import { clone, KreFormCommonService } from "@kre-form/core";
import { NzModalService } from "ng-zorro-antd/modal";
import { NzMessageService } from "ng-zorro-antd/message";
import * as _ from "lodash";
import { KreFormAntService } from "../../tools/service";
import { KreDialogService } from "../../service/dialog.service";
import { DataService } from "../../service/data.service";
import { KreTransferService } from "../../tools/transferService";
import { Guid } from "@kre-form/core";
var KreSurveyDesignDetail = /** @class */ (function () {
function KreSurveyDesignDetail(message, modalService, kreFormAntService, kreDialogService, dataService, kreTransferService, kreFormCommonService) {
this.message = message;
this.modalService = modalService;
this.kreFormAntService = kreFormAntService;
this.kreDialogService = kreDialogService;
this.dataService = dataService;
this.kreTransferService = kreTransferService;
this.kreFormCommonService = kreFormCommonService;
this.formCode = "";
this.api = {
form: { url: "assets/mockData/survey.json" }
};
this.saveEvent = new EventEmitter();
this.cancelEvent = new EventEmitter();
this.previewEvent = new EventEmitter();
this.pageStatus = 1;
this.form_model = {};
this.form_group = new FormGroup({});
this.form_fields = [];
this.kreSurveyInfo = {
code: "",
name: "",
first: {
title: "",
text: ""
},
last: {
title: "",
text: ""
},
pages: [
{
code: "page1",
name: "第1页",
questions: []
}
]
};
this.show_setting = false;
this.questionField = {};
this.pageSelectedIndex = 0;
}
/**
* @return {?}
*/
KreSurveyDesignDetail.prototype.ngOnInit = /**
* @return {?}
*/
function () {
var _this = this;
this.kreFormAntService.questionEvent.subscribe((/**
* @param {?} res
* @return {?}
*/
function (res) {
_this.questionOperational(res);
}));
this.kreFormAntService.optionEvent.subscribe((/**
* @param {?} res
* @return {?}
*/
function (res) {
_this.optionOperational(res);
}));
this.kreFormAntService.dragDropEvent.subscribe((/**
* @param {?} res
* @return {?}
*/
function (res) {
_this.addQuestionDragDrop(res);
}));
};
/**
* @param {?} changes
* @return {?}
*/
KreSurveyDesignDetail.prototype.ngOnChanges = /**
* @param {?} changes
* @return {?}
*/
function (changes) {
if (changes.formCode) {
this.initFormInfo();
}
};
/**
* @return {?}
*/
KreSurveyDesignDetail.prototype.ngOnDestroy = /**
* @return {?}
*/
function () { };
/*按钮区域---begin*/
/*按钮区域---begin*/
/**
* @return {?}
*/
KreSurveyDesignDetail.prototype.saveSurvey = /*按钮区域---begin*/
/**
* @return {?}
*/
function () {
var _this = this;
/** @type {?} */
var objSurvey = clone(this.kreSurveyInfo);
objSurvey.pages.forEach((/**
* @param {?} item
* @return {?}
*/
function (item) {
_this.kreFormCommonService.initFormFieldProperty(item.questions);
}));
this.saveEvent.emit(JSON.stringify(objSurvey));
};
/**
* @return {?}
*/
KreSurveyDesignDetail.prototype.initFormInfo = /**
* @return {?}
*/
function () {
var _this = this;
this.dataService.getFormInfo(this.api.form.url, { formcode: this.formCode }).subscribe((/**
* @param {?} res
* @return {?}
*/
function (res) {
_this.kreSurveyInfo = {
code: res.code,
name: res.name,
type: res.type,
first: res.first,
last: res.last,
pages: res.pages
};
if (_this.kreSurveyInfo.pages != undefined && (_this.kreSurveyInfo.pages == null || _this.kreSurveyInfo.pages.length == 0)) {
_this.kreSurveyInfo.pages.push({
"code": "pageCode1",
"name": "第1页",
"questions": []
});
}
_this.getQuestionListByPageIndex(0);
}));
};
/**
* @param {?} e
* @return {?}
*/
KreSurveyDesignDetail.prototype.pageClick = /**
* @param {?} e
* @return {?}
*/
function (e) {
// if (this.kreSurveyInfo.pages != undefined) {
// if (e == 0 || this.kreSurveyInfo.pages.length == e - 1) {
// this.show_setting = false;
// }
// else {
// if (e > 0) {
// this.getQuestionListByPageIndex(e - 1);
// }
// }
// }
this.getQuestionListByPageIndex(e);
};
/**
* @return {?}
*/
KreSurveyDesignDetail.prototype.addPage = /**
* @return {?}
*/
function () {
if (this.kreSurveyInfo.pages != undefined) {
/** @type {?} */
var newPage = {
code: "pagecode_" + (this.kreSurveyInfo.pages.length + 1),
name: "\u7B2C" + (this.kreSurveyInfo.pages.length + 1) + "\u9875",
questions: []
};
this.kreSurveyInfo.pages.push(newPage);
}
};
/**
* @param {?} index
* @return {?}
*/
KreSurveyDesignDetail.prototype.deletePage = /**
* @param {?} index
* @return {?}
*/
function (index) {
if (this.kreSurveyInfo.pages != undefined) {
this.kreSurveyInfo.pages.splice(index, 1);
}
};
/**
* @param {?} pageIndex
* @return {?}
*/
KreSurveyDesignDetail.prototype.getQuestionListByPageIndex = /**
* @param {?} pageIndex
* @return {?}
*/
function (pageIndex) {
if (this.kreSurveyInfo.pages != undefined && this.kreSurveyInfo.pages.length > 0 && this.kreSurveyInfo.pages[pageIndex].questions != undefined) {
this.form_fields = [{
"type": "drag-drop",
"key": "drag-droplist",
"fieldGroup": this.kreSurveyInfo.pages[pageIndex].questions
}];
}
};
//题目
//题目
/**
* @param {?} res
* @return {?}
*/
KreSurveyDesignDetail.prototype.questionOperational =
//题目
/**
* @param {?} res
* @return {?}
*/
function (res) {
/** @type {?} */
var resType = res["sign"];
/** @type {?} */
var resField = res["field"];
/** @type {?} */
var rQuestion;
/** @type {?} */
var rIndex;
this.formFieldGroup.forEach((/**
* @param {?} item
* @param {?} index
* @param {?} object
* @return {?}
*/
function (item, index, object) {
item.active = false;
if (item.key == resField.key) {
item.active = true;
rQuestion = item;
rIndex = index;
}
}));
switch (resType) {
case "active":
this.questionField = rQuestion;
this.show_setting = true;
break;
case "logic":
this.message.success("逻辑设置");
break;
case "copy":
/** @type {?} */
var copyQuestion = _.cloneDeep(rQuestion);
copyQuestion.key = Guid.create()["value"];
copyQuestion.active = false;
this.formFieldGroup.splice(rIndex + 1, 0, copyQuestion);
this.message.success("拷贝题目");
break;
case "delete":
this.formFieldGroup.splice(rIndex, 1);
this.message.success("删除题目");
this.questionField = {};
this.show_setting = false;
break;
}
};
//题目选项
//题目选项
/**
* @param {?} res
* @return {?}
*/
KreSurveyDesignDetail.prototype.optionOperational =
//题目选项
/**
* @param {?} res
* @return {?}
*/
function (res) {
/** @type {?} */
var resType = res["sign"];
/** @type {?} */
var resOption = res["option"];
/** @type {?} */
var resField = res["field"];
/** @type {?} */
var rQuestion;
/** @type {?} */
var rIndex;
this.formFieldGroup.forEach((/**
* @param {?} item
* @param {?} index
* @param {?} object
* @return {?}
*/
function (item, index, object) {
item.active = false;
rIndex = index;
if (item.key == resField.key) {
item.active = true;
rQuestion = item;
}
}));
switch (resType) {
case "add":
resField.templateOptions.options.push({
"label": "选项",
"value": Guid.create()["value"],
"score": 0,
"input": false
});
this.message.success("添加选项");
break;
case "adds":
this.message.success("批量添加");
break;
case "delete":
resField.templateOptions.options.forEach((/**
* @param {?} item
* @param {?} index
* @param {?} object
* @return {?}
*/
function (item, index, object) {
if (item.value == resOption.value) {
object.splice(index, 1);
}
}));
this.message.success("删除选项");
break;
case "subtitle":
resField.templateOptions.subtitle.push({
"label": "矩阵行",
"value": Guid.create()["value"]
});
this.message.success("添加矩阵行");
break;
}
};
//添加题目
//添加题目
/**
* @param {?} data
* @param {?=} index
* @return {?}
*/
KreSurveyDesignDetail.prototype.addQuestionType =
//添加题目
/**
* @param {?} data
* @param {?=} index
* @return {?}
*/
function (data, index) {
if (index === void 0) { index = -1; }
this.kreTransferService.transferQuestionByType(data, this.formFieldGroup, index);
};
//拖拽添加题目
//拖拽添加题目
/**
* @param {?} res
* @return {?}
*/
KreSurveyDesignDetail.prototype.addQuestionDragDrop =
//拖拽添加题目
/**
* @param {?} res
* @return {?}
*/
function (res) {
/** @type {?} */
var data = res["previousData"][res["previousIndex"]];
this.kreTransferService.transferQuestionByType(data, this.formFieldGroup, res["currentIndex"]);
};
Object.defineProperty(KreSurveyDesignDetail.prototype, "formFieldGroup", {
get: /**
* @return {?}
*/
function () {
/** @type {?} */
var result = [];
if (this.form_fields != null && this.form_fields.length > 0 && this.form_fields[0].fieldGroup != undefined) {
result = this.form_fields[0].fieldGroup;
}
return result;
},
enumerable: true,
configurable: true
});
KreSurveyDesignDetail.decorators = [
{ type: Component, args: [{
selector: "kresurvey-design",
template: "<div class=\"survey-design\" cdkDropListGroup>\r\n <div class=\"layout\">\r\n <nz-tabset>\r\n <nz-tab nzTitle=\"\u9898\u76EE\u7C7B\u578B\">\r\n <div class=\"question-list kresurvey-scrollbar\">\r\n <kre-question-type (questionTypeEvent)=\"addQuestionType($event)\" (addPageEvent)=\"addPage()\" (saveSurveyEvent)=\"saveSurvey()\">\r\n </kre-question-type>\r\n </div>\r\n </nz-tab>\r\n <nz-tab nzTitle=\"\u9898\u76EE\u5927\u7EB2\">\r\n <div class=\"question-list kresurvey-scrollbar\">\r\n <kre-question-list *ngIf=\"kreSurveyInfo\" [kreSurveyInfo]=\"kreSurveyInfo\"></kre-question-list>\r\n </div>\r\n </nz-tab>\r\n </nz-tabset>\r\n </div>\r\n <div class=\"panel\">\r\n <div class=\"buttonlist\"> \r\n <button nz-button nzType=\"primary\" nzSize=\"small\" (click)=\"saveSurvey()\">\u4FDD\u5B58\u6570\u636E</button>\r\n </div>\r\n <nz-tabset [nzType]=\"'card'\" [nzSelectedIndex]=\"pageSelectedIndex\" (nzSelectedIndexChange)=\"pageClick($event)\">\r\n <!-- <nz-tab [nzTitle]=\"firstPageTemplate\">\r\n <ng-template #firstPageTemplate>\r\n <div>\u5F00\u59CB\u9875</div>\r\n </ng-template>\r\n <ng-template nz-tab>\r\n <div class=\"kresurvey-firstform kresurvey-scrollbar\">\r\n <kresurvey-first-page></kresurvey-first-page>\r\n </div>\r\n </ng-template>\r\n </nz-tab> -->\r\n <ng-container *ngIf=\"kreSurveyInfo!=null && kreSurveyInfo.pages\">\r\n <ng-container *ngFor=\"let page of kreSurveyInfo.pages;let index=index;\">\r\n <nz-tab [nzTitle]=\"titleTemplate\">\r\n <ng-template #titleTemplate>\r\n <div>\r\n \u7B2C{{ index+1 }}\u9875\r\n <i *ngIf=\"index>0\" nz-icon nzType=\"close\" (click)=\"deletePage(index)\" class=\"ant-tabs-close-x\"></i>\r\n </div>\r\n </ng-template>\r\n <ng-template nz-tab>\r\n <div class=\"kresurvey-form kresurvey-scrollbar\">\r\n <form [formGroup]=\"form_group\" class=\"layout-column-1\" nz-form>\r\n <kreform [fields]=\"form_fields\" [status]=\"1\" [form]=\"form_group\" [model]=\"form_model\">\r\n </kreform>\r\n </form>\r\n </div>\r\n </ng-template>\r\n </nz-tab>\r\n </ng-container>\r\n </ng-container>\r\n <!-- <nz-tab [nzTitle]=\"lastPageTemplate\">\r\n <ng-template #lastPageTemplate>\r\n <div>\u7ED3\u675F\u9875</div>\r\n </ng-template>\r\n <ng-template nz-tab>\r\n <div class=\"kresurvey-lastform kresurvey-scrollbar\">\r\n <kresurvey-last-page></kresurvey-last-page>\r\n </div>\r\n </ng-template>\r\n </nz-tab> -->\r\n </nz-tabset>\r\n </div>\r\n <div class=\"setting\">\r\n <div class=\"setting_wrap\" *ngIf=\"show_setting\">\r\n <setting-template [field]=\"questionField\"></setting-template>\r\n </div>\r\n </div>\r\n</div>",
providers: [DataService, KreTransferService],
styles: ["::ng-deep .formly-drag-drop_wrap.cdk-drag-preview{border-radius:1px;border:1.4px dotted #7b8bed;background-color:#fff;cursor:move}:host ::ng-deep{display:flex;width:100%;height:100%;background-color:#f3f3f3}:host ::ng-deep .survey-design{position:relative;width:100%;height:100%;overflow:hidden;padding:0 260px 0 250px}:host ::ng-deep .survey-design :focus{outline:0;box-shadow:none}:host ::ng-deep .survey-design .cke_focus{background-color:#f4f4f4;border:0}:host ::ng-deep .survey-design .inline_editor_hidden{display:none}:host ::ng-deep .survey-design .inline_editor_show{padding:8px 10px}:host ::ng-deep .survey-design nz-tabset{height:100%;position:inherit}:host ::ng-deep .survey-design .layout{float:left;width:250px;background-color:#fff;padding:15px 5px 0 25px;position:absolute;left:0;height:100%;top:0}:host ::ng-deep .survey-design .layout button{font-size:12px}:host ::ng-deep .survey-design .layout .question-list{height:calc(100% - 80px);overflow-y:auto;position:absolute;width:100%;scrollbar-color:transparent;overflow-y:overlay}:host ::ng-deep .survey-design .layout .question-list::-webkit-scrollbar{width:6px;height:6px}:host ::ng-deep .survey-design .layout .question-list::-webkit-scrollbar-track{box-shadow:inset 0 0 6px transparent}:host ::ng-deep .survey-design .layout .question-list::-webkit-scrollbar-thumb{background-color:#999;outline:#333 solid 1px;border-radius:6px}:host ::ng-deep .survey-design .layout .title{font-size:14px;color:#9b9b9b;margin-bottom:10px}:host ::ng-deep .survey-design .layout-column ul{display:inline-block;width:100%}:host ::ng-deep .survey-design .layout-column ul li{float:left;text-align:center}:host ::ng-deep .survey-design .layout-column ul li div{width:56px;height:56px;line-height:63px;border-radius:4px;background-color:#ececec;margin-bottom:5px}:host ::ng-deep .survey-design .layout-column ul li div i{color:#bfbfbf;font-size:24px}:host ::ng-deep .survey-design .layout-column ul li div span{width:100%;display:inline-block;color:#323232}:host ::ng-deep .survey-design .layout-column ul li:nth-child(1),:host ::ng-deep .survey-design .layout-column ul li:nth-child(2){margin:0 15px 0 0}:host ::ng-deep .survey-design .layout-row ul{display:inline-block;width:100%}:host ::ng-deep .survey-design .layout-row ul li{float:left;text-align:center}:host ::ng-deep .survey-design .layout-row ul li div{width:90px;height:32px;line-height:32px;border-radius:4px;background-color:#ececec;margin-bottom:5px;cursor:pointer}:host ::ng-deep .survey-design .layout-row ul li div i{color:#bfbfbf;font-size:24px}:host ::ng-deep .survey-design .layout-row ul li div span{width:100%;display:inline-block;color:#323232}:host ::ng-deep .survey-design .layout-row ul li:nth-child(1){margin:0 15px 0 0}:host ::ng-deep .survey-design .layout-el li{width:200px;height:33px;line-height:33px;border-radius:4px;border:1px solid #dcdce0;background-color:#fff;margin:0 0 10px!important;font-size:13px;color:#323232}:host ::ng-deep .survey-design .layout-el li i{margin:0 8px;font-size:14px;color:#bfbfbf}:host ::ng-deep .survey-design .layout-el li:hover{background-color:#71a9ff;cursor:pointer;color:#fff}:host ::ng-deep .survey-design .layout-el li:hover i{color:#fff}:host ::ng-deep .survey-design .panel{position:relative;height:100%;width:100%;padding:0 15px}:host ::ng-deep .survey-design .panel .buttonlist{padding:10px 20px;margin:0 0 10px;background-color:#fff}:host ::ng-deep .survey-design .panel .required{display:inline-block;padding:8px 0;color:red;width:5px}:host ::ng-deep .survey-design .panel inline-editor{flex:1;width:100%}:host ::ng-deep .survey-design .panel inline-editor .cke_editable_inline{border-radius:2px;padding:8px 10px;font-size:14px;border:0 solid #f4f4f4}:host ::ng-deep .survey-design .panel .ant-tabs-bar{border:0;margin:0}:host ::ng-deep .survey-design .panel .ant-tabs.ant-tabs-card .ant-tabs-card-bar .ant-tabs-tab{border:0!important}:host ::ng-deep .survey-design .panel .formly-drag-drop_wrap{position:relative;width:100%;font-size:12px}:host ::ng-deep .survey-design .panel .formly-drag-drop_wrap .field-operate{display:none;position:absolute;right:20px;top:12px;width:100%;text-align:right}:host ::ng-deep .survey-design .panel .formly-drag-drop_wrap .field-operate span{cursor:pointer;margin:0 0 0 10px}:host ::ng-deep .survey-design .panel .formly-drag-drop_wrap .field-content{background-color:#fff;border-radius:4px;margin:0 0 20px;padding:15px 20px}:host ::ng-deep .survey-design .panel .formly-drag-drop_wrap .field-content .question-wrap_title{padding:0 180px 5px 0;display:flex;flex-direction:row;font-size:14px}:host ::ng-deep .survey-design .panel .formly-drag-drop_wrap .field-content .question-wrap_content{padding:0 180px 0 15px;width:100%;font-size:13px}:host ::ng-deep .survey-design .panel .formly-drag-drop_wrap .field-content .question-wrap_operate{color:#2672ff;display:none;padding:15px 0 0}:host ::ng-deep .survey-design .panel .formly-drag-drop_wrap .field-content .question-wrap_operate span{margin:0 20px 0 0;cursor:pointer;font-size:13px}:host ::ng-deep .survey-design .panel .formly-drag-drop .active .field-content{box-shadow:0 10px 15px 0 rgba(0,0,0,.1);border:2px solid #2672ff;border-radius:4px}:host ::ng-deep .survey-design .panel .formly-drag-drop .active .field-operate{display:block!important}:host ::ng-deep .survey-design .panel .formly-drag-drop .active .option_vertical{display:block!important}:host ::ng-deep .survey-design .panel .formly-drag-drop .active .question-wrap_operate{display:block!important}:host ::ng-deep .survey-design .panel .formly-drag-drop .active .option_wrap:hover .operate i{display:block}:host ::ng-deep .survey-design .panel .formly_empty{background-color:#fff}:host ::ng-deep .survey-design .panel .formly_empty .formly-drag-drop{padding:50px}:host ::ng-deep .survey-design .setting{float:left;width:260px;margin:0 0 0 8px;padding:0 0 10px;position:absolute;height:100%;right:0;top:0}:host ::ng-deep .survey-design .setting_wrap{scrollbar-color:transparent;overflow-y:overlay;padding:15px 0 0 20px;height:100%;background-color:#fff}:host ::ng-deep .survey-design .setting_wrap::-webkit-scrollbar{width:6px;height:6px}:host ::ng-deep .survey-design .setting_wrap::-webkit-scrollbar-track{box-shadow:inset 0 0 6px transparent}:host ::ng-deep .survey-design .setting_wrap::-webkit-scrollbar-thumb{background-color:#999;outline:#333 solid 1px;border-radius:6px}:host ::ng-deep .survey-design .setting_wrap nz-select{width:65px;float:right;margin:3px;font-size:12px}:host ::ng-deep .survey-design .setting_wrap .title{color:#484848;font-size:16px;padding:8px 0 5px;border-bottom:1px solid #dde5ed}:host ::ng-deep .survey-design .setting_wrap .item{font-size:12px;padding:8px 10px 8px 0;line-height:30px;border-bottom:1px dotted #dde5ed}:host ::ng-deep .survey-design .setting_wrap .item nz-input-number,:host ::ng-deep .survey-design .setting_wrap .item nz-radio-group,:host ::ng-deep .survey-design .setting_wrap .item nz-switch{float:right;font-size:12px}:host ::ng-deep .survey-design .setting_wrap .item nz-input-number{width:50px;margin:3px 0 0}:host ::ng-deep .survey-design .setting_wrap .item>label{color:#2672ff;text-align:right;float:right;margin-right:5px;cursor:pointer}:host ::ng-deep .survey-design .setting_wrap_title{display:inline-block;color:#fff;font-size:12px;padding:5px 20px;border-radius:2px;background-color:#495165;margin:0 0 20px}:host ::ng-deep .survey-design .setting_wrap_model .title{margin:20px 0 0}:host ::ng-deep .survey-design .setting_wrap_option .title{margin:20px 0 0}:host ::ng-deep .survey-design .setting_wrap_option .item span:nth-child(2){float:right}:host ::ng-deep .survey-design .setting_wrap_option .item nz-input-number{float:right;margin:3px 5px 0 0}:host ::ng-deep .kresurvey-firstform,:host ::ng-deep .kresurvey-lastform{position:absolute;width:100%;height:calc(100% - 50px);display:inline-block;margin:0;padding:20px;overflow-y:auto;background-color:#fff;scrollbar-color:transparent;overflow-y:overlay}:host ::ng-deep .kresurvey-firstform::-webkit-scrollbar,:host ::ng-deep .kresurvey-lastform::-webkit-scrollbar{width:6px;height:6px}:host ::ng-deep .kresurvey-firstform::-webkit-scrollbar-track,:host ::ng-deep .kresurvey-lastform::-webkit-scrollbar-track{box-shadow:inset 0 0 6px transparent}:host ::ng-deep .kresurvey-firstform::-webkit-scrollbar-thumb,:host ::ng-deep .kresurvey-lastform::-webkit-scrollbar-thumb{background-color:#999;outline:#333 solid 1px;border-radius:6px}:host ::ng-deep .kresurvey-form{position:absolute;width:100%;min-width:730px;height:calc(100% - 50px);display:inline-block;margin:0;padding:0 10px 20px 0;overflow-y:auto;scrollbar-color:transparent;overflow-y:overlay}:host ::ng-deep .kresurvey-form::-webkit-scrollbar{width:6px;height:6px}:host ::ng-deep .kresurvey-form::-webkit-scrollbar-track{box-shadow:inset 0 0 6px transparent}:host ::ng-deep .kresurvey-form::-webkit-scrollbar-thumb{background-color:#999;outline:#333 solid 1px;border-radius:6px}:host ::ng-deep .kresurvey-form .ant-input,:host ::ng-deep .kresurvey-form input{border:0}:host ::ng-deep .kresurvey-form .ant-calendar-picker,:host ::ng-deep .kresurvey-form .ant-time-picker,:host ::ng-deep .kresurvey-form .emp_name,:host ::ng-deep .kresurvey-form .select_cascader{width:350px}:host ::ng-deep .kresurvey-form kresurvey-checkbox .option_wrap,:host ::ng-deep .kresurvey-form kresurvey-dropdown .option_wrap,:host ::ng-deep .kresurvey-form kresurvey-input_group .option_wrap,:host ::ng-deep .kresurvey-form kresurvey-radio .option_wrap{width:100%;display:flex;flex-direction:row;padding:0 0 5px;cursor:pointer}:host ::ng-deep .kresurvey-form kresurvey-checkbox .option_wrap .option,:host ::ng-deep .kresurvey-form kresurvey-dropdown .option_wrap .option,:host ::ng-deep .kresurvey-form kresurvey-input_group .option_wrap .option,:host ::ng-deep .kresurvey-form kresurvey-radio .option_wrap .option{flex:1;display:flex;flex-direction:row}:host ::ng-deep .kresurvey-form kresurvey-checkbox .option_wrap .option .ant-radio-wrapper,:host ::ng-deep .kresurvey-form kresurvey-dropdown .option_wrap .option .ant-radio-wrapper,:host ::ng-deep .kresurvey-form kresurvey-input_group .option_wrap .option .ant-radio-wrapper,:host ::ng-deep .kresurvey-form kresurvey-radio .option_wrap .option .ant-radio-wrapper{padding:7px 0}:host ::ng-deep .kresurvey-form kresurvey-checkbox .option_wrap .option .ant-radio-wrapper span:nth-last-child(1),:host ::ng-deep .kresurvey-form kresurvey-dropdown .option_wrap .option .ant-radio-wrapper span:nth-last-child(1),:host ::ng-deep .kresurvey-form kresurvey-input_group .option_wrap .option .ant-radio-wrapper span:nth-last-child(1),:host ::ng-deep .kresurvey-form kresurvey-radio .option_wrap .option .ant-radio-wrapper span:nth-last-child(1){padding:0}:host ::ng-deep .kresurvey-form kresurvey-checkbox .option_wrap .option .ant-checkbox-wrapper,:host ::ng-deep .kresurvey-form kresurvey-dropdown .option_wrap .option .ant-checkbox-wrapper,:host ::ng-deep .kresurvey-form kresurvey-input_group .option_wrap .option .ant-checkbox-wrapper,:host ::ng-deep .kresurvey-form kresurvey-radio .option_wrap .option .ant-checkbox-wrapper{padding:8px 0;margin-right:7px}:host ::ng-deep .kresurvey-form kresurvey-checkbox .option_wrap .option inline-editor .cke_editable_inline,:host ::ng-deep .kresurvey-form kresurvey-dropdown .option_wrap .option inline-editor .cke_editable_inline,:host ::ng-deep .kresurvey-form kresurvey-input_group .option_wrap .option inline-editor .cke_editable_inline,:host ::ng-deep .kresurvey-form kresurvey-radio .option_wrap .option inline-editor .cke_editable_inline{font-size:13px}:host ::ng-deep .kresurvey-form kresurvey-checkbox .option_wrap .operate,:host ::ng-deep .kresurvey-form kresurvey-dropdown .option_wrap .operate,:host ::ng-deep .kresurvey-form kresurvey-input_group .option_wrap .operate,:host ::ng-deep .kresurvey-form kresurvey-radio .option_wrap .operate{width:30px;line-height:35px;padding:8px 0 0;margin-left:8px}:host ::ng-deep .kresurvey-form kresurvey-checkbox .option_wrap .operate i,:host ::ng-deep .kresurvey-form kresurvey-dropdown .option_wrap .operate i,:host ::ng-deep .kresurvey-form kresurvey-input_group .option_wrap .operate i,:host ::ng-deep .kresurvey-form kresurvey-radio .option_wrap .operate i{display:none;width:20px;height:20px;background-color:#f4f4f4;border-radius:50%;padding:4px;color:rgba(0,0,0,.65);font-size:12px;font-weight:700}:host ::ng-deep .kresurvey-form kresurvey-checkbox .option_wrap:nth-last-child(1),:host ::ng-deep .kresurvey-form kresurvey-dropdown .option_wrap:nth-last-child(1),:host ::ng-deep .kresurvey-form kresurvey-input_group .option_wrap:nth-last-child(1),:host ::ng-deep .kresurvey-form kresurvey-radio .option_wrap:nth-last-child(1){padding:0}:host ::ng-deep .kresurvey-form kresurvey-input_group .option{flex-direction:column!important}:host ::ng-deep .kresurvey-form kresurvey-nps{display:flex;flex-direction:column}:host ::ng-deep .kresurvey-form kresurvey-nps .question-wrap_content{padding:0 0 0 15px!important}:host ::ng-deep .kresurvey-form kresurvey-nps .basic_nps{padding:0 0 0 8px}:host ::ng-deep .kresurvey-form kresurvey-nps .basic_nps .option{width:35px;height:35px;border-radius:50%;border:1px solid #d8d8d8;line-height:35px;margin:5px 12px 10px 0;float:left;text-align:center;font-size:14px;color:#9b9b9b}:host ::ng-deep .kresurvey-form kresurvey-nps .option_wrap_text{padding:0;width:520px;font-size:13px}:host ::ng-deep .kresurvey-form kresurvey-nps .option_wrap_text span:nth-child(1){float:left}:host ::ng-deep .kresurvey-form kresurvey-nps .option_wrap_text span:nth-child(2){float:right}:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .question-wrap_content,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .question-wrap_content,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .question-wrap_content,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .question-wrap_content{display:flex}:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_checkbox .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_input .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_radio .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_score .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_checkbox .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_input .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_radio .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_score .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_checkbox .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_input .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_radio .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_score .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_checkbox .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_input .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_radio .option_table,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_score .option_table{float:left}:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_checkbox .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_input .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_radio .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_score .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_checkbox .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_input .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_radio .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_score .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_checkbox .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_input .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_radio .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_score .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_checkbox .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_input .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_radio .option_table table,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_score .option_table table{width:auto;border-top:1px solid #d8d8d8;border-right:1px solid #d8d8d8}:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_checkbox .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_input .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_radio .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_score .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_checkbox .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_input .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_radio .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_score .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_checkbox .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_input .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_radio .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_score .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_checkbox .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_input .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_radio .option_table table tr td,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_score .option_table table tr td{height:32px;border-left:1px solid #d8d8d8;border-bottom:1px solid #d8d8d8;padding:2px 15px}:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_checkbox .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_input .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_radio .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_checkbox .matrix_score .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_checkbox .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_input .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_radio .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_input .matrix_score .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_checkbox .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_input .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_radio .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_radio .matrix_score .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_checkbox .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_input .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_radio .option_vertical,:host ::ng-deep .kresurvey-form kresurvey-matrix_score .matrix_score .option_vertical{float:left;padding:0 0 0 10px;color:#2672ff;cursor:pointer;display:none}:host ::ng-deep .kresurvey-form inline-editor .ant-input:focus{background-color:#ececec}:host ::ng-deep .kresurvey-form .basic_line .line{height:0;width:100%;border-top:1px dashed #aaa;margin:10px 0 8px}:host ::ng-deep .kresurvey-form .basic_remark{font-size:14px}:host ::ng-deep .kresurvey-form .basic_evaluation .label{color:#fadb14;font-size:12px;padding:10px 0}:host ::ng-deep .kresurvey-form .basic_evaluation .tag span{display:inline-block;font-size:12px;color:#aaa;padding:3px 10px;background:#fff;border:1px solid #eaeaea;border-radius:2px;margin-right:5px}:host ::ng-deep .kresurvey-form .basic_evaluation .tag label{color:#6090df;font-size:13px;margin-left:5px;cursor:pointer}:host ::ng-deep .kresurvey-form .quesiton-sortable-placeholder{width:100%;height:6px;background:#7b8bed}:host ::ng-deep .page_question{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:1}"]
}] }
];
/** @nocollapse */
KreSurveyDesignDetail.ctorParameters = function () { return [
{ type: NzMessageService },
{ type: NzModalService },
{ type: KreFormAntService },
{ type: KreDialogService },
{ type: DataService },
{ type: KreTransferService },
{ type: KreFormCommonService }
]; };
KreSurveyDesignDetail.propDecorators = {
formCode: [{ type: Input }],
api: [{ type: Input }],
saveEvent: [{ type: Output }],
cancelEvent: [{ type: Output }],
previewEvent: [{ type: Output }]
};
return KreSurveyDesignDetail;
}());
export { KreSurveyDesignDetail };
if (false) {
/** @type {?} */
KreSurveyDesignDetail.prototype.formCode;
/** @type {?} */
KreSurveyDesignDetail.prototype.api;
/** @type {?} */
KreSurveyDesignDetail.prototype.saveEvent;
/** @type {?} */
KreSurveyDesignDetail.prototype.cancelEvent;
/** @type {?} */
KreSurveyDesignDetail.prototype.previewEvent;
/** @type {?} */
KreSurveyDesignDetail.prototype.pageStatus;
/** @type {?} */
KreSurveyDesignDetail.prototype.form_model;
/** @type {?} */
KreSurveyDesignDetail.prototype.form_group;
/** @type {?} */
KreSurveyDesignDetail.prototype.form_fields;
/** @type {?} */
KreSurveyDesignDetail.prototype.kreSurveyInfo;
/** @type {?} */
KreSurveyDesignDetail.prototype.show_setting;
/** @type {?} */
KreSurveyDesignDetail.prototype.questionField;
/** @type {?} */
KreSurveyDesignDetail.prototype.pageSelectedIndex;
/**
* @type {?}
* @private
*/
KreSurveyDesignDetail.prototype.message;
/**
* @type {?}
* @private
*/
KreSurveyDesignDetail.prototype.modalService;
/**
* @type {?}
* @private
*/
KreSurveyDesignDetail.prototype.kreFormAntService;
/** @type {?} */
KreSurveyDesignDetail.prototype.kreDialogService;
/** @type {?} */
KreSurveyDesignDetail.prototype.dataService;
/** @type {?} */
KreSurveyDesignDetail.prototype.kreTransferService;
/** @type {?} */
KreSurveyDesignDetail.prototype.kreFormCommonService;
}
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiZGV0YWlsLmNvbXBvbmVudC5qcyIsInNvdXJjZVJvb3QiOiJuZzovL0BrcmUtZm9ybS9zdXJ2ZXkvIiwic291cmNlcyI6WyJsaWIvZGVzaWduL2RldGFpbC9kZXRhaWwuY29tcG9uZW50LnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7Ozs7QUFBQSxPQUFPLEVBQ0wsU0FBUyxFQUlULEtBQUssRUFDTCxNQUFNLEVBQ04sWUFBWSxFQUViLE1BQU0sZUFBZSxDQUFDO0FBQ3ZCLE9BQU8sRUFBRSxTQUFTLEVBQUUsTUFBTSxnQkFBZ0IsQ0FBQztBQUMzQyxPQUFPLEVBS0wsS0FBSyxFQUVMLG9CQUFvQixFQUNyQixNQUFNLGdCQUFnQixDQUFDO0FBQ3hCLE9BQU8sRUFBRSxjQUFjLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQUNyRCxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSx1QkFBdUIsQ0FBQztBQUN6RCxPQUFPLEtBQUssQ0FBQyxNQUFNLFFBQVEsQ0FBQztBQUM1QixPQUFPLEVBQUUsaUJBQWlCLEVBQUUsTUFBTSxxQkFBcUIsQ0FBQztBQWdCeEQsT0FBTyxFQUFFLGdCQUFnQixFQUFFLE1BQU0sOEJBQThCLENBQUM7QUFDaEUsT0FBTyxFQUFFLFdBQVcsRUFBRSxNQUFNLDRCQUE0QixDQUFDO0FBQ3pELE9BQU8sRUF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