@zscreate/form-component 1.1.307 → 1.1.308

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.
@@ -4159,13 +4159,13 @@ span.CodeMirror-selectedtext { background: none; }
4159
4159
  .cus-dialog-container .el-dialog__footer{margin:0 20px;padding:15px 0 16px;text-align:center;position:relative}.cus-dialog-container .el-dialog__footer .dialog-footer{display:block}.cus-dialog-container .el-dialog__footer .dialog-footer .circular{display:inline-block;vertical-align:middle;margin-right:5px;width:24px;height:24px}.cus-dialog-container .el-dialog__footer .dialog-footer .el-loading-text{display:inline-block;vertical-align:middle}.cus-dialog-container .el-dialog__footer .dialog-footer .el-loading-spinner{margin-top:-12px}
4160
4160
 
4161
4161
 
4162
- [data-v-0d27dc1f] .ant-form-item {
4162
+ [data-v-e8c0d9a0] .ant-form-item {
4163
4163
  margin-bottom: 0;
4164
4164
  }
4165
- .m-colorPicker[data-v-0d27dc1f] .box.open {
4165
+ .m-colorPicker[data-v-e8c0d9a0] .box.open {
4166
4166
  z-index: 999;
4167
4167
  }
4168
- .m-colorPicker[data-v-0d27dc1f] .colorBtn {
4168
+ .m-colorPicker[data-v-e8c0d9a0] .colorBtn {
4169
4169
  border: 1px solid #e3e3e3;
4170
4170
  }
4171
4171
 
@@ -116802,7 +116802,7 @@ function keys(object) {
116802
116802
  /***/ ((module) => {
116803
116803
 
116804
116804
  "use strict";
116805
- module.exports = {"i8":"1.1.307"};
116805
+ module.exports = {"i8":"1.1.308"};
116806
116806
 
116807
116807
  /***/ })
116808
116808
 
@@ -118747,8 +118747,8 @@ icon_Icon.install = function (Vue) {
118747
118747
  var layoutForPaper = __webpack_require__(1183);
118748
118748
  // EXTERNAL MODULE: ./src/form/modules/layout/layoutItem.vue + 10 modules
118749
118749
  var layoutItem = __webpack_require__(8396);
118750
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=template&id=6b2e846b&
118751
- var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout',{staticClass:"fm2-container"},[_c('a-layout',[_c('a-layout-header',{staticClass:"btn-bar"},[_c('widget-list',{attrs:{"previewDesktop":_vm.isPreviewDesktop,"isView":_vm.isView,"positionRight":_vm.hiddenSave},on:{"update:previewDesktop":function($event){_vm.isPreviewDesktop=$event},"update:preview-desktop":function($event){_vm.isPreviewDesktop=$event}}},[_c('div',[(!_vm.hiddenSave)?_c('span',{staticClass:"activeTab",on:{"click":_vm.handleSave}},[_vm._v("保存")]):_vm._e(),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleClear}},[_vm._v("清空")]),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleGenerateJson}},[_vm._v("查看JSON")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleGetData}},[_vm._v("获取数据")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"activeTab",on:{"click":_vm.handlePreview}},[_vm._v("预览")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleColse}},[_vm._v("关闭预览")])])])],1),_c('a-layout',[_c('a-layout-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",class:{ 'widget-empty': _vm.widgetForm.list.length == 0 }},[_c('widget-form',{ref:"widgetForm",attrs:{"data":_vm.widgetForm,"selectedWidget":_vm.widgetFormSelect},on:{"update:data":function($event){_vm.widgetForm=$event},"update:selectedWidget":function($event){_vm.widgetFormSelect=$event},"update:selected-widget":function($event){_vm.widgetFormSelect=$event}}})],1)]),_c('a-layout-sider',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"widget-config-container g1-panel1",attrs:{"width":"300px"}},[_c('a-layout-header',{staticStyle:{"background":"#fff"},attrs:{"height":"45px"}},[_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'widget' },on:{"click":function($event){return _vm.handleConfigSelect('widget')}}},[_vm._v(" 字段属性 ")]),_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'form' },on:{"click":function($event){return _vm.handleConfigSelect('form')}}},[_vm._v(" 表单属性 ")])]),_c('div',{staticClass:"config-content a-layout-main"},[(!_vm.refreshWidgetConfig)?_c('widget-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'widget'),expression:"configTab == 'widget'"}],ref:"widgetconfig",attrs:{"selectedWidget":_vm.widgetFormSelect,"datalist":_vm.widgetForm.list}}):_vm._e(),_c('form-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'form'),expression:"configTab == 'form'"}],attrs:{"formConfig":_vm.widgetForm.config},on:{"update:formConfig":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"update:form-config":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"changeHeaderOrFooter":_vm.changeHeaderOrFooter}})],1)],1),(_vm.isView)?_c('a-layout-content',{staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",style:({ textAlign: (_vm.isView && !_vm.isPreviewDesktop) ? 'center' : 'left' })},[(!_vm.isPreviewDesktop)?_c('div',{staticClass:"phone-preview"},[_c('iframe',{ref:"previewIframe",staticClass:"previewIframe",staticStyle:{"width":"375px","margin":"0 auto","height":"620px","margin-top":"-20px"},attrs:{"id":"previewIframe","src":_vm.previewMobileUrl,"frameborder":"0"},on:{"load":_vm.previewMobileOnload}})]):_c('layout-for-paper',{ref:"layoutForPaper",attrs:{"insite":"true","data":_vm.widgetForm,"value":_vm.widgetModels},on:{"on-change":_vm.handleDataChange}})],1)]):_vm._e()],1),_c('cus-dialog',{ref:"jsonPreview",staticStyle:{"text-align":"left"},attrs:{"title":"数据展示","visible":_vm.jsonVisible,"width":"800px","form":""},on:{"on-close":function($event){_vm.jsonVisible = false}}},[_c('codemirror',{staticClass:"code",attrs:{"value":_vm.jsonTemplate,"options":_vm.options}}),_c('template',{slot:"action"},[(_vm.canCopy)?_c('a-button',{staticClass:"json-btn",attrs:{"type":"primary","data-clipboard-text":_vm.jsonCopyValue}},[_vm._v("复制数据")]):_vm._e(),(!_vm.canCopy)?_c('a-button',{staticClass:"json-btn",on:{"click":function($event){_vm.jsonVisible = false}}},[_vm._v("关闭")]):_vm._e()],1)],2),_c('pageFooterAndHeader',{ref:"pageFooterAndHeader",on:{"changeContent":_vm.changeContent}})],1)],1)}
118750
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=template&id=61f45cc6&
118751
+ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-layout',{staticClass:"fm2-container"},[_c('a-layout',[_c('a-layout-header',{staticClass:"btn-bar"},[_c('widget-list',{attrs:{"previewDesktop":_vm.isPreviewDesktop,"isView":_vm.isView,"positionRight":_vm.hiddenSave},on:{"update:previewDesktop":function($event){_vm.isPreviewDesktop=$event},"update:preview-desktop":function($event){_vm.isPreviewDesktop=$event}}},[_c('div',[(!_vm.hiddenSave)?_c('span',{staticClass:"activeTab",on:{"click":_vm.handleSave}},[_vm._v("保存")]):_vm._e(),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleClear}},[_vm._v("清空")]),_c('span',{staticClass:"activeTab",on:{"click":_vm.handleGenerateJson}},[_vm._v("查看JSON")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleGetData}},[_vm._v("获取数据")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"activeTab",on:{"click":_vm.handlePreview}},[_vm._v("预览")]),_c('span',{directives:[{name:"show",rawName:"v-show",value:(_vm.isView),expression:"isView"}],staticClass:"activeTab",on:{"click":_vm.handleColse}},[_vm._v("关闭预览")])])])],1),_c('a-layout',[_c('a-layout-content',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",class:{ 'widget-empty': _vm.widgetForm.list.length == 0 }},[_c('widget-form',{ref:"widgetForm",attrs:{"data":_vm.widgetForm,"selectedWidget":_vm.widgetFormSelect},on:{"update:data":function($event){_vm.widgetForm=$event},"update:selectedWidget":function($event){_vm.widgetFormSelect=$event},"update:selected-widget":function($event){_vm.widgetFormSelect=$event}}})],1)]),_c('a-layout-sider',{directives:[{name:"show",rawName:"v-show",value:(!_vm.isView),expression:"!isView"}],staticClass:"widget-config-container g1-panel1",attrs:{"width":"300px"}},[_c('a-layout-header',{staticStyle:{"background":"#fff"},attrs:{"height":"45px"}},[_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'widget' },on:{"click":function($event){return _vm.handleConfigSelect('widget')}}},[_vm._v(" 字段属性 ")]),_c('div',{staticClass:"config-tab",class:{ active: _vm.configTab == 'form' },on:{"click":function($event){return _vm.handleConfigSelect('form')}}},[_vm._v(" 表单属性 ")])]),_c('div',{staticClass:"config-content a-layout-main"},[(!_vm.refreshWidgetConfig)?_c('widget-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'widget'),expression:"configTab == 'widget'"}],ref:"widgetconfig",attrs:{"selectedWidget":_vm.widgetFormSelect,"datalist":_vm.widgetForm.list}}):_vm._e(),_c('form-config',{directives:[{name:"show",rawName:"v-show",value:(_vm.configTab == 'form'),expression:"configTab == 'form'"}],attrs:{"formConfig":_vm.widgetForm.config,"hiddenSave":_vm.hiddenSave},on:{"update:formConfig":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"update:form-config":function($event){return _vm.$set(_vm.widgetForm, "config", $event)},"changeHeaderOrFooter":_vm.changeHeaderOrFooter}})],1)],1),(_vm.isView)?_c('a-layout-content',{staticClass:"center-container g1-form_main2",attrs:{"direction":"vertical"}},[_c('div',{staticClass:"a-layout-main",style:({ textAlign: (_vm.isView && !_vm.isPreviewDesktop) ? 'center' : 'left' })},[(!_vm.isPreviewDesktop)?_c('div',{staticClass:"phone-preview"},[_c('iframe',{ref:"previewIframe",staticClass:"previewIframe",staticStyle:{"width":"375px","margin":"0 auto","height":"620px","margin-top":"-20px"},attrs:{"id":"previewIframe","src":_vm.previewMobileUrl,"frameborder":"0"},on:{"load":_vm.previewMobileOnload}})]):_c('layout-for-paper',{ref:"layoutForPaper",attrs:{"insite":"true","data":_vm.widgetForm,"value":_vm.widgetModels},on:{"on-change":_vm.handleDataChange}})],1)]):_vm._e()],1),_c('cus-dialog',{ref:"jsonPreview",staticStyle:{"text-align":"left"},attrs:{"title":"数据展示","visible":_vm.jsonVisible,"width":"800px","form":""},on:{"on-close":function($event){_vm.jsonVisible = false}}},[_c('codemirror',{staticClass:"code",attrs:{"value":_vm.jsonTemplate,"options":_vm.options}}),_c('template',{slot:"action"},[(_vm.canCopy)?_c('a-button',{staticClass:"json-btn",attrs:{"type":"primary","data-clipboard-text":_vm.jsonCopyValue}},[_vm._v("复制数据")]):_vm._e(),(!_vm.canCopy)?_c('a-button',{staticClass:"json-btn",on:{"click":function($event){_vm.jsonVisible = false}}},[_vm._v("关闭")]):_vm._e()],1)],2),_c('pageFooterAndHeader',{ref:"pageFooterAndHeader",on:{"changeContent":_vm.changeContent}})],1)],1)}
118752
118752
  var staticRenderFns = []
118753
118753
 
118754
118754
 
@@ -122279,9 +122279,9 @@ var CusDialog_component = (0,componentNormalizer/* default */.Z)(
122279
122279
  )
122280
122280
 
122281
122281
  /* harmony default export */ const CusDialog = (CusDialog_component.exports);
122282
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/formConfig.vue?vue&type=template&id=0d27dc1f&scoped=true&
122283
- var formConfigvue_type_template_id_0d27dc1f_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"components-list"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{attrs:{"label":"表单主题"}},[_c('a-input',{attrs:{"maxLength":30},model:{value:(_vm.m_formConfig.formName),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formName", $$v)},expression:"m_formConfig.formName"}}),_c('div',{staticStyle:{"padding-left":"20px"}},[_c('a-form-model-item',{attrs:{"label":"标题左边内容"}},[_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.m_formConfig.formNameLeftContent),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formNameLeftContent", $$v)},expression:"m_formConfig.formNameLeftContent"}})],1),_c('a-form-model-item',{attrs:{"label":"标题右边内容"}},[_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.m_formConfig.formNameRightContent),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formNameRightContent", $$v)},expression:"m_formConfig.formNameRightContent"}})],1),_c('a-form-model-item',{attrs:{"label":"字体大小"}},[_c('a-input-number',{attrs:{"max":100,"min":12},model:{value:(_vm.m_formConfig.formNameStyle.fontSize),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "fontSize", $$v)},expression:"m_formConfig.formNameStyle.fontSize"}})],1),_c('a-form-model-item',{attrs:{"label":"加粗"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.formNameStyle.fontBold),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "fontBold", $$v)},expression:"m_formConfig.formNameStyle.fontBold"}})],1),_c('a-form-model-item',{attrs:{"label":"行高"}},[_c('a-input-number',{attrs:{"max":1000,"min":0},model:{value:(_vm.m_formConfig.formNameStyle.lineHeight),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "lineHeight", $$v)},expression:"m_formConfig.formNameStyle.lineHeight"}})],1),_c('a-form-model-item',{attrs:{"label":"高度"}},[_c('a-input-number',{attrs:{"max":1000,"min":0},model:{value:(_vm.m_formConfig.formNameStyle.height),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "height", $$v)},expression:"m_formConfig.formNameStyle.height"}})],1),_c('a-form-model-item',{attrs:{"label":"外边距"}},[_c('a-input',{attrs:{"placeholder":"(10px 10px 10px 10px) 上 右 下 左"},model:{value:(_vm.m_formConfig.formNameStyle.margin),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "margin", $$v)},expression:"m_formConfig.formNameStyle.margin"}})],1),_c('a-form-model-item',{attrs:{"label":"字体颜色"}},[_c('colorPicker',{staticStyle:{"z-index":"5"},attrs:{"disabled":!_vm.m_formConfig.border,"defaultColor":"#333"},model:{value:(_vm.m_formConfig.formNameStyle.color),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "color", $$v)},expression:"m_formConfig.formNameStyle.color"}})],1)],1)],1),_c('a-form-model-item',{attrs:{"label":"页面布局"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.layout),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "layout", $$v)},expression:"m_formConfig.layout"}},[_c('a-radio-button',{attrs:{"value":"vertical"}},[_vm._v("纵向")]),_c('a-radio-button',{attrs:{"value":"horizontal"}},[_vm._v("横向")])],1)],1),(_vm.m_formConfig.layout === 'horizontal')?_c('a-form-model-item',{attrs:{"label":"页面宽度"}},[_c('a-input-number',{attrs:{"min":794,"max":10000},model:{value:(_vm.m_formConfig.formPageWidth),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formPageWidth", $$v)},expression:"m_formConfig.formPageWidth"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"全局字号"}},[_c('a-input-number',{attrs:{"min":12,"max":100},model:{value:(_vm.m_formConfig.fontSize),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "fontSize", $$v)},expression:"m_formConfig.fontSize"}})],1),_c('a-form-model-item',{attrs:{"label":"内边距"}},[_c('a-input-number',{attrs:{"max":100},model:{value:(_vm.m_formConfig.paddingNum),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "paddingNum", $$v)},expression:"m_formConfig.paddingNum"}})],1),_c('a-form-model-item',{attrs:{"label":"是否带出历史数据"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.isDefaultHistoryData),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "isDefaultHistoryData", $$v)},expression:"m_formConfig.isDefaultHistoryData"}})],1),_c('a-form-model-item',{attrs:{"label":"组件禁用后显示占位信息"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.disableShowPlaceholder),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "disableShowPlaceholder", $$v)},expression:"m_formConfig.disableShowPlaceholder"}})],1),_c('a-form-model-item',{attrs:{"label":"表单边框"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.border),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "border", $$v)},expression:"m_formConfig.border"}})],1),_c('a-form-model-item',{attrs:{"label":"组件无边框"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.componentsNoBorder),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "componentsNoBorder", $$v)},expression:"m_formConfig.componentsNoBorder"}})],1),_c('a-form-model-item',{ref:"borderColor",attrs:{"label":"边框颜色","prop":"borderColor"}},[_c('colorPicker',{staticStyle:{"z-index":"5"},attrs:{"disabled":!_vm.m_formConfig.border,"defaultColor":"rgba(0,0,0, 0)"},model:{value:(_vm.m_formConfig.borderColor),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "borderColor", $$v)},expression:"m_formConfig.borderColor"}})],1),_c('a-form-model-item',{attrs:{"label":"校验图标"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.validate),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "validate", $$v)},expression:"m_formConfig.validate"}})],1),_c('a-form-model-item',{ref:"bgc",attrs:{"label":"表头背景颜色","prop":"bgc"}},[_c('colorPicker',{staticStyle:{"z-index":"4"},attrs:{"defaultColor":"rgba(0,0,0, 0)"},model:{value:(_vm.m_formConfig.bgc),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "bgc", $$v)},expression:"m_formConfig.bgc"}})],1),_c('a-form-model-item',{ref:"bgc",attrs:{"label":"表头字体颜色","prop":"labelwordcolor"}},[_c('colorPicker',{staticStyle:{"z-index":"3"},attrs:{"defaultColor":"#000000"},model:{value:(_vm.m_formConfig.color),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "color", $$v)},expression:"m_formConfig.color"}})],1),_c('a-form-model-item',{attrs:{"label":"标签对齐方式"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.align),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "align", $$v)},expression:"m_formConfig.align"}},[_c('a-radio-button',{attrs:{"value":"align-between"}},[_vm._v("两端")]),_c('a-radio-button',{attrs:{"value":"align-middle"}},[_vm._v("居中")]),_c('a-radio-button',{attrs:{"value":"align-left"}},[_vm._v("左对齐")]),_c('a-radio-button',{attrs:{"value":"align-right"}},[_vm._v("右对齐")])],1)],1),_c('a-form-model-item',{attrs:{"label":"表单模式"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.mode),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "mode", $$v)},expression:"m_formConfig.mode"}},[_c('a-radio-button',{attrs:{"value":"web"}},[_vm._v("web模式")]),_c('a-radio-button',{attrs:{"value":"paper"}},[_vm._v("纸张模式")])],1)],1),_c('a-form-model-item',{attrs:{"label":"页眉"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.changeHeaderOrFooter('header')}}},[_vm._v("编辑")])],1),_c('a-form-model-item',{attrs:{"label":"页脚"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.changeHeaderOrFooter('footer')}}},[_vm._v("编辑")])],1)],1)],1)])}
122284
- var formConfigvue_type_template_id_0d27dc1f_scoped_true_staticRenderFns = []
122282
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/formConfig.vue?vue&type=template&id=e8c0d9a0&scoped=true&
122283
+ var formConfigvue_type_template_id_e8c0d9a0_scoped_true_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',{staticClass:"components-list"},[_c('div',{staticClass:"form"},[_c('a-form-model',[_c('a-form-model-item',{attrs:{"label":"表单主题"}},[(!_vm.hiddenSave)?_c('a-input',{attrs:{"maxLength":30},model:{value:(_vm.m_formConfig.formName),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formName", $$v)},expression:"m_formConfig.formName"}}):_vm._e(),_c('div',{staticStyle:{"padding-left":"20px"}},[(!_vm.hiddenSave)?_c('a-form-model-item',{attrs:{"label":"标题左边内容"}},[_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.m_formConfig.formNameLeftContent),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formNameLeftContent", $$v)},expression:"m_formConfig.formNameLeftContent"}})],1):_vm._e(),(!_vm.hiddenSave)?_c('a-form-model-item',{attrs:{"label":"标题右边内容"}},[_c('a-input',{attrs:{"type":"textarea"},model:{value:(_vm.m_formConfig.formNameRightContent),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formNameRightContent", $$v)},expression:"m_formConfig.formNameRightContent"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"字体大小"}},[_c('a-input-number',{attrs:{"max":100,"min":12},model:{value:(_vm.m_formConfig.formNameStyle.fontSize),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "fontSize", $$v)},expression:"m_formConfig.formNameStyle.fontSize"}})],1),_c('a-form-model-item',{attrs:{"label":"加粗"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.formNameStyle.fontBold),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "fontBold", $$v)},expression:"m_formConfig.formNameStyle.fontBold"}})],1),_c('a-form-model-item',{attrs:{"label":"行高"}},[_c('a-input-number',{attrs:{"max":1000,"min":0},model:{value:(_vm.m_formConfig.formNameStyle.lineHeight),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "lineHeight", $$v)},expression:"m_formConfig.formNameStyle.lineHeight"}})],1),_c('a-form-model-item',{attrs:{"label":"高度"}},[_c('a-input-number',{attrs:{"max":1000,"min":0},model:{value:(_vm.m_formConfig.formNameStyle.height),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "height", $$v)},expression:"m_formConfig.formNameStyle.height"}})],1),_c('a-form-model-item',{attrs:{"label":"外边距"}},[_c('a-input',{attrs:{"placeholder":"(10px 10px 10px 10px) 上 右 下 左"},model:{value:(_vm.m_formConfig.formNameStyle.margin),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "margin", $$v)},expression:"m_formConfig.formNameStyle.margin"}})],1),_c('a-form-model-item',{attrs:{"label":"字体颜色"}},[_c('colorPicker',{staticStyle:{"z-index":"5"},attrs:{"disabled":!_vm.m_formConfig.border,"defaultColor":"#333"},model:{value:(_vm.m_formConfig.formNameStyle.color),callback:function ($$v) {_vm.$set(_vm.m_formConfig.formNameStyle, "color", $$v)},expression:"m_formConfig.formNameStyle.color"}})],1)],1)],1),_c('a-form-model-item',{attrs:{"label":"页面布局"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.layout),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "layout", $$v)},expression:"m_formConfig.layout"}},[_c('a-radio-button',{attrs:{"value":"vertical"}},[_vm._v("纵向")]),_c('a-radio-button',{attrs:{"value":"horizontal"}},[_vm._v("横向")])],1)],1),(_vm.m_formConfig.layout === 'horizontal')?_c('a-form-model-item',{attrs:{"label":"页面宽度"}},[_c('a-input-number',{attrs:{"min":794,"max":10000},model:{value:(_vm.m_formConfig.formPageWidth),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "formPageWidth", $$v)},expression:"m_formConfig.formPageWidth"}})],1):_vm._e(),_c('a-form-model-item',{attrs:{"label":"全局字号"}},[_c('a-input-number',{attrs:{"min":12,"max":100},model:{value:(_vm.m_formConfig.fontSize),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "fontSize", $$v)},expression:"m_formConfig.fontSize"}})],1),_c('a-form-model-item',{attrs:{"label":"内边距"}},[_c('a-input-number',{attrs:{"max":100},model:{value:(_vm.m_formConfig.paddingNum),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "paddingNum", $$v)},expression:"m_formConfig.paddingNum"}})],1),_c('a-form-model-item',{attrs:{"label":"是否带出历史数据"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.isDefaultHistoryData),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "isDefaultHistoryData", $$v)},expression:"m_formConfig.isDefaultHistoryData"}})],1),_c('a-form-model-item',{attrs:{"label":"组件禁用后显示占位信息"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.disableShowPlaceholder),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "disableShowPlaceholder", $$v)},expression:"m_formConfig.disableShowPlaceholder"}})],1),_c('a-form-model-item',{attrs:{"label":"表单边框"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.border),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "border", $$v)},expression:"m_formConfig.border"}})],1),_c('a-form-model-item',{attrs:{"label":"组件无边框"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.componentsNoBorder),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "componentsNoBorder", $$v)},expression:"m_formConfig.componentsNoBorder"}})],1),_c('a-form-model-item',{ref:"borderColor",attrs:{"label":"边框颜色","prop":"borderColor"}},[_c('colorPicker',{staticStyle:{"z-index":"5"},attrs:{"disabled":!_vm.m_formConfig.border,"defaultColor":"rgba(0,0,0, 0)"},model:{value:(_vm.m_formConfig.borderColor),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "borderColor", $$v)},expression:"m_formConfig.borderColor"}})],1),_c('a-form-model-item',{attrs:{"label":"校验图标"}},[_c('a-switch',{model:{value:(_vm.m_formConfig.validate),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "validate", $$v)},expression:"m_formConfig.validate"}})],1),_c('a-form-model-item',{ref:"bgc",attrs:{"label":"表头背景颜色","prop":"bgc"}},[_c('colorPicker',{staticStyle:{"z-index":"4"},attrs:{"defaultColor":"rgba(0,0,0, 0)"},model:{value:(_vm.m_formConfig.bgc),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "bgc", $$v)},expression:"m_formConfig.bgc"}})],1),_c('a-form-model-item',{ref:"bgc",attrs:{"label":"表头字体颜色","prop":"labelwordcolor"}},[_c('colorPicker',{staticStyle:{"z-index":"3"},attrs:{"defaultColor":"#000000"},model:{value:(_vm.m_formConfig.color),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "color", $$v)},expression:"m_formConfig.color"}})],1),_c('a-form-model-item',{attrs:{"label":"标签对齐方式"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.align),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "align", $$v)},expression:"m_formConfig.align"}},[_c('a-radio-button',{attrs:{"value":"align-between"}},[_vm._v("两端")]),_c('a-radio-button',{attrs:{"value":"align-middle"}},[_vm._v("居中")]),_c('a-radio-button',{attrs:{"value":"align-left"}},[_vm._v("左对齐")]),_c('a-radio-button',{attrs:{"value":"align-right"}},[_vm._v("右对齐")])],1)],1),_c('a-form-model-item',{attrs:{"label":"表单模式"}},[_c('a-radio-group',{attrs:{"button-style":"solid"},model:{value:(_vm.m_formConfig.mode),callback:function ($$v) {_vm.$set(_vm.m_formConfig, "mode", $$v)},expression:"m_formConfig.mode"}},[_c('a-radio-button',{attrs:{"value":"web"}},[_vm._v("web模式")]),_c('a-radio-button',{attrs:{"value":"paper"}},[_vm._v("纸张模式")])],1)],1),_c('a-form-model-item',{attrs:{"label":"页眉"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.changeHeaderOrFooter('header')}}},[_vm._v("编辑")])],1),_c('a-form-model-item',{attrs:{"label":"页脚"}},[_c('a-button',{attrs:{"type":"primary"},on:{"click":function($event){return _vm.changeHeaderOrFooter('footer')}}},[_vm._v("编辑")])],1)],1)],1)])}
122284
+ var formConfigvue_type_template_id_e8c0d9a0_scoped_true_staticRenderFns = []
122285
122285
 
122286
122286
 
122287
122287
  ;// CONCATENATED MODULE: ./node_modules/_thread-loader@3.0.4@thread-loader/dist/cjs.js!./node_modules/_babel-loader@8.3.0@babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/formConfig.vue?vue&type=script&lang=js&
@@ -122431,6 +122431,12 @@ var formConfigvue_type_template_id_0d27dc1f_scoped_true_staticRenderFns = []
122431
122431
  default: () => {
122432
122432
  return null;
122433
122433
  }
122434
+ },
122435
+ hiddenSave: {
122436
+ type: Boolean,
122437
+ default: () => {
122438
+ return false;
122439
+ }
122434
122440
  }
122435
122441
  },
122436
122442
  watch: {
@@ -122464,10 +122470,10 @@ var formConfigvue_type_template_id_0d27dc1f_scoped_true_staticRenderFns = []
122464
122470
  });
122465
122471
  ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue?vue&type=script&lang=js&
122466
122472
  /* harmony default export */ const modules_formConfigvue_type_script_lang_js_ = (formConfigvue_type_script_lang_js_);
122467
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/formConfig.vue?vue&type=style&index=0&id=0d27dc1f&prod&lang=less&scoped=true&
122473
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/formConfig.vue?vue&type=style&index=0&id=e8c0d9a0&prod&lang=less&scoped=true&
122468
122474
  // extracted by mini-css-extract-plugin
122469
122475
 
122470
- ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue?vue&type=style&index=0&id=0d27dc1f&prod&lang=less&scoped=true&
122476
+ ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue?vue&type=style&index=0&id=e8c0d9a0&prod&lang=less&scoped=true&
122471
122477
 
122472
122478
  ;// CONCATENATED MODULE: ./src/form/modules/formConfig.vue
122473
122479
 
@@ -122480,11 +122486,11 @@ var formConfigvue_type_template_id_0d27dc1f_scoped_true_staticRenderFns = []
122480
122486
 
122481
122487
  var formConfig_component = (0,componentNormalizer/* default */.Z)(
122482
122488
  modules_formConfigvue_type_script_lang_js_,
122483
- formConfigvue_type_template_id_0d27dc1f_scoped_true_render,
122484
- formConfigvue_type_template_id_0d27dc1f_scoped_true_staticRenderFns,
122489
+ formConfigvue_type_template_id_e8c0d9a0_scoped_true_render,
122490
+ formConfigvue_type_template_id_e8c0d9a0_scoped_true_staticRenderFns,
122485
122491
  false,
122486
122492
  null,
122487
- "0d27dc1f",
122493
+ "e8c0d9a0",
122488
122494
  null
122489
122495
 
122490
122496
  )
@@ -122762,6 +122768,7 @@ var onLineForm = __webpack_require__(6162);
122762
122768
  //
122763
122769
  //
122764
122770
  //
122771
+ //
122765
122772
  //
122766
122773
 
122767
122774
  //控件库
@@ -123080,10 +123087,10 @@ __webpack_require__(9922);
123080
123087
  });
123081
123088
  ;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=script&lang=js&
123082
123089
  /* harmony default export */ const modules_Containervue_type_script_lang_js_ = (Containervue_type_script_lang_js_);
123083
- ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=style&index=0&id=6b2e846b&prod&lang=less&
123090
+ ;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.5@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.7.3@css-loader/dist/cjs.js??clonedRuleSet-32.use[1]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/loaders/stylePostLoader.js!./node_modules/_postcss-loader@6.2.1@postcss-loader/dist/cjs.js??clonedRuleSet-32.use[2]!./node_modules/_less-loader@5.0.0@less-loader/dist/cjs.js??clonedRuleSet-32.use[3]!./node_modules/_vue-loader@15.10.1@vue-loader/lib/index.js??vue-loader-options!./src/form/modules/Container.vue?vue&type=style&index=0&id=61f45cc6&prod&lang=less&
123084
123091
  // extracted by mini-css-extract-plugin
123085
123092
 
123086
- ;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=6b2e846b&prod&lang=less&
123093
+ ;// CONCATENATED MODULE: ./src/form/modules/Container.vue?vue&type=style&index=0&id=61f45cc6&prod&lang=less&
123087
123094
 
123088
123095
  ;// CONCATENATED MODULE: ./src/form/modules/Container.vue
123089
123096
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.307",
3
+ "version": "1.1.308",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",