@zscreate/form-component 1.1.20 → 1.1.21
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.
|
@@ -63224,6 +63224,12 @@ module.exports = /******/function (modules) {
|
|
|
63224
63224
|
//
|
|
63225
63225
|
//
|
|
63226
63226
|
//
|
|
63227
|
+
//
|
|
63228
|
+
//
|
|
63229
|
+
//
|
|
63230
|
+
//
|
|
63231
|
+
//
|
|
63232
|
+
//
|
|
63227
63233
|
|
|
63228
63234
|
|
|
63229
63235
|
|
|
@@ -107009,7 +107015,7 @@ module.exports = __WEBPACK_EXTERNAL_MODULE__7203__;
|
|
|
107009
107015
|
/***/ (function(module) {
|
|
107010
107016
|
|
|
107011
107017
|
"use strict";
|
|
107012
|
-
module.exports = {"i8":"1.1.
|
|
107018
|
+
module.exports = {"i8":"1.1.21"};
|
|
107013
107019
|
|
|
107014
107020
|
/***/ })
|
|
107015
107021
|
|
|
@@ -107142,7 +107148,7 @@ if (typeof window !== 'undefined') {
|
|
|
107142
107148
|
// EXTERNAL MODULE: external {"commonjs":"vue","commonjs2":"vue","root":"Vue"}
|
|
107143
107149
|
var external_commonjs_vue_commonjs2_vue_root_Vue_ = __webpack_require__(7203);
|
|
107144
107150
|
var external_commonjs_vue_commonjs2_vue_root_Vue_default = /*#__PURE__*/__webpack_require__.n(external_commonjs_vue_commonjs2_vue_root_Vue_);
|
|
107145
|
-
;// 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/layout/layoutForPaper.vue?vue&type=template&id=
|
|
107151
|
+
;// 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/layout/layoutForPaper.vue?vue&type=template&id=db24ec2c&scoped=true&
|
|
107146
107152
|
var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('a-spin',{staticClass:"layout layout-input-all-setting",class:{ 'no-border': !_vm.data.config.border, 'save-pdf': _vm.showLine, 'ant-form-noBorder': _vm.data.config.componentsNoBorder },attrs:{"spinning":_vm.formLoading,"tip":_vm.formLoadingTip}},[_c('a-form-model',{ref:"Form",attrs:{"hideRequiredMark":true,"model":_vm.models,"rules":_vm.rules,"wrapper-col":{}},on:{"update:rules":function($event){_vm.rules=$event}}},_vm._l((_vm.widgetList),function(list,listindex){return _c('div',{directives:[{name:"show",rawName:"v-show",value:(_vm.widgetList[0].length > 0),expression:"widgetList[0].length > 0"}],key:listindex,staticClass:"paper",style:(_vm.contentStyle)},[(listindex == 0)?_vm._t("default"):_vm._e(),(listindex == 0)?_c('div',{staticClass:"form-title",style:({ height: _vm.formNameHeight })},[_vm._v(" "+_vm._s(_vm.data.config.formName)+" ")]):_vm._e(),(_vm.data.config.pageHeader && listindex === 0)?_c('div',{style:(_vm.data.config.headerHeight),domProps:{"innerHTML":_vm._s(_vm.data.config.pageHeader)}}):_vm._e(),_c('div',{staticClass:"page-border",style:({ borderColor: _vm.data.config.borderColor })},[_vm._l((list),function(widget,index){return [(widget.type == 'table')?[(
|
|
107147
107153
|
widget.options.layoutModel === 'auto' ||
|
|
107148
107154
|
widget.options.layoutModel === undefined
|
|
@@ -107151,7 +107157,11 @@ var render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._sel
|
|
|
107151
107157
|
borderColor: _vm.data.config.borderColor,
|
|
107152
107158
|
backgroundColor: _vm.data.config.bgc,
|
|
107153
107159
|
color: _vm.data.config.color,
|
|
107154
|
-
})},[_c('p',{staticStyle:{"position":"relative","margin-bottom":"0","padding-bottom":"0"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('a-button',{staticStyle:{"float":"left","margin":"0 5px"},on:{"click":function($event){return _vm.downloadTableTemplate(widget)}}},[_vm._v("下载模板")])],1):_vm._e(),_c('span',[_vm._v(_vm._s(widget.name))])])]):_c('div',{staticClass:"table-content",style:({ borderColor: _vm.data.config.borderColor })},[_c('p',{staticStyle:{"position":"relative","margin-bottom":"0"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('a-button',{staticStyle:{"float":"left","margin":"0 5px"},on:{"click":function($event){return _vm.downloadTableTemplate(widget)}}},[_vm._v("下载模板")])],1):_vm._e(),_c('span',[_vm._v(_vm._s(widget.name))])])]),_c('div',{staticClass:"table-right"},[_c('div',{staticClass:"sub-table-col sub-table-col-no-border"},[_vm._l((widget.columns),function(children,index){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(children.type !== 'hidden'),expression:"children.type !== 'hidden'"}],key:index,
|
|
107160
|
+
})},[_c('p',{staticStyle:{"position":"relative","margin-bottom":"0","padding-bottom":"0"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('a-button',{staticStyle:{"float":"left","margin":"0 5px"},on:{"click":function($event){return _vm.downloadTableTemplate(widget)}}},[_vm._v("下载模板")])],1):_vm._e(),_c('span',[_vm._v(_vm._s(widget.name))])])]):_c('div',{staticClass:"table-content",style:({ borderColor: _vm.data.config.borderColor })},[_c('p',{staticStyle:{"position":"relative","margin-bottom":"0"}},[(widget.options.enableImport && !widget.options.disabled)?_c('span',{staticStyle:{"position":"absolute","display":"flex","height":"100%","align-items":"center"}},[_c('a-upload',{staticStyle:{"float":"left","margin":"0 5px"},attrs:{"action":_vm.actionUrl + "?formId=" + (_vm.data.formId) + "&tableKey=" + (widget.model),"headers":_vm.headers,"showUploadList":false},on:{"change":function (params) { return _vm.handleChange(widget, params); }}},[_c('a-button',[_c('a-icon',{attrs:{"type":"upload"}}),_vm._v("上传")],1)],1),_c('a-button',{staticStyle:{"float":"left","margin":"0 5px"},on:{"click":function($event){return _vm.downloadTableTemplate(widget)}}},[_vm._v("下载模板")])],1):_vm._e(),_c('span',[_vm._v(_vm._s(widget.name))])])]),_c('div',{staticClass:"table-right"},[_c('div',{staticClass:"sub-table-col sub-table-col-no-border"},[_vm._l((widget.columns),function(children,index){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(children.type !== 'hidden'),expression:"children.type !== 'hidden'"}],key:index,class:[
|
|
107161
|
+
_vm.data.config.align,
|
|
107162
|
+
_vm.data.config.validate === true && children.options.required === true
|
|
107163
|
+
? 'is_required'
|
|
107164
|
+
: 'no_required' ],staticStyle:{"border-right":"1px solid #333","border-bottom":"1px solid #333"},style:({ borderColor: _vm.data.config.borderColor })},[_vm._v(_vm._s(children.name))])}),(!widget.options.hiddenOperateBtn && widget.columns.length > 0 && !widget.options.disabled)?_c('span',{staticClass:"last-one",style:({ borderColor: _vm.data.config.borderColor })},[_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.addToTableData(widget, widget.model, 'addModel')}}},[_vm._v("添加行")])],1):_vm._e()],2),_vm._l((_vm.tableData[widget.model]),function(tableColums,columsIndex){return _c('div',{key:columsIndex,staticClass:"sub-table-col sub-table-col-no-border"},[_vm._l((tableColums.columns),function(tableItem,talbeIndex){return _c('span',{directives:[{name:"show",rawName:"v-show",value:(tableItem.type !== 'hidden'),expression:"tableItem.type !== 'hidden'"}],key:talbeIndex,staticClass:"sub-table-item"},[_c('layout-item',{directives:[{name:"show",rawName:"v-show",value:(tableItem.options.canView),expression:"tableItem.options.canView"}],attrs:{"tableKey":tableColums.model,"rules":_vm.rules,"tableIndex":columsIndex,"widget":tableItem,"verifyNode":_vm.verifyNode,"suggest":_vm.suggest,"verifyLogs":_vm.verifyLogs,"models":_vm.models,"showLabel":false},on:{"update:rules":function($event){_vm.rules=$event},"update:models":function($event){_vm.models=$event}}})],1)}),(!widget.options.disabled && !widget.options.hiddenOperateBtn)?_c('span',{staticClass:"last-one",style:({ borderColor: _vm.data.config.borderColor })},[_c('a-button',{attrs:{"size":"small","type":"primary"},on:{"click":function($event){return _vm.handleDeleteRow(columsIndex, widget.model)}}},[_vm._v("删除行")])],1):_vm._e()],2)}),(
|
|
107155
107165
|
widget.options.computingSub.length > 0 &&
|
|
107156
107166
|
widget.options.computingMethod.length > 0 &&
|
|
107157
107167
|
_vm.tableData &&
|
|
@@ -107168,10 +107178,10 @@ var staticRenderFns = []
|
|
|
107168
107178
|
var layoutForPapervue_type_script_lang_js_ = __webpack_require__(7862);
|
|
107169
107179
|
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=script&lang=js&
|
|
107170
107180
|
/* harmony default export */ var layout_layoutForPapervue_type_script_lang_js_ = (layoutForPapervue_type_script_lang_js_/* default */.Z);
|
|
107171
|
-
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@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/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
107181
|
+
;// CONCATENATED MODULE: ./node_modules/_mini-css-extract-plugin@2.7.6@mini-css-extract-plugin/dist/loader.js??clonedRuleSet-32.use[0]!./node_modules/_css-loader@6.8.1@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/layout/layoutForPaper.vue?vue&type=style&index=1&id=db24ec2c&prod&lang=less&scoped=true&
|
|
107172
107182
|
// extracted by mini-css-extract-plugin
|
|
107173
107183
|
|
|
107174
|
-
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=
|
|
107184
|
+
;// CONCATENATED MODULE: ./src/form/modules/layout/layoutForPaper.vue?vue&type=style&index=1&id=db24ec2c&prod&lang=less&scoped=true&
|
|
107175
107185
|
|
|
107176
107186
|
// EXTERNAL MODULE: ./node_modules/_vue-loader@15.10.1@vue-loader/lib/runtime/componentNormalizer.js
|
|
107177
107187
|
var componentNormalizer = __webpack_require__(8412);
|
|
@@ -107190,7 +107200,7 @@ var component = (0,componentNormalizer/* default */.Z)(
|
|
|
107190
107200
|
staticRenderFns,
|
|
107191
107201
|
false,
|
|
107192
107202
|
null,
|
|
107193
|
-
"
|
|
107203
|
+
"db24ec2c",
|
|
107194
107204
|
null
|
|
107195
107205
|
|
|
107196
107206
|
)
|