@zscreate/form-component 1.1.221-test.43 → 1.1.221-test.45

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.
@@ -147326,7 +147326,7 @@ var __WEBPACK_AMD_DEFINE_ARRAY__, __WEBPACK_AMD_DEFINE_RESULT__;/*!
147326
147326
  /***/ ((module) => {
147327
147327
 
147328
147328
  "use strict";
147329
- module.exports = JSON.parse('{"i8":"1.1.221-test.43"}');
147329
+ module.exports = JSON.parse('{"i8":"1.1.221-test.45"}');
147330
147330
 
147331
147331
  /***/ })
147332
147332
 
@@ -149304,7 +149304,7 @@ const basicComponents = [{
149304
149304
  dataType: 'string',
149305
149305
  pattern: '',
149306
149306
  enableSpecialCharsRules: true,
149307
- specialCharsRules: '/^(?!.*[#$|<]).*$/',
149307
+ specialCharsRules: '/^(?!.*[#$|<]).*$/s',
149308
149308
  specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',
149309
149309
  labelWidth: '',
149310
149310
  placeholder: '请输入单行文本',
@@ -149332,7 +149332,7 @@ const basicComponents = [{
149332
149332
  disabled: false,
149333
149333
  pattern: '',
149334
149334
  enableSpecialCharsRules: true,
149335
- specialCharsRules: '/^(?!.*[#$|<]).*$/',
149335
+ specialCharsRules: '/^(?!.*[#$|<]).*$/s',
149336
149336
  specialCharsMessage: '您输入的表单项中含有非法字符,请修正后提交!',
149337
149337
  placeholder: '请输入多行文本',
149338
149338
  confiOptions: [{
@@ -158282,9 +158282,9 @@ const watermark = __webpack_require__(2206);
158282
158282
  };
158283
158283
  }
158284
158284
  });
158285
- ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/warpFormulaEdit.vue?vue&type=template&id=36451ead&
158286
- var warpFormulaEditvue_type_template_id_36451ead_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-button',{attrs:{"type":_vm.hasInValid ? '': 'primary'},on:{"click":function($event){return _vm.init(_vm.widget)}}},[_c('span',{style:({ color: _vm.hasInValid ? 'red': 'inherit'})},[_vm._v(" "+_vm._s(_vm.hasInValid ? '存在已删除字段,请重新设置' : '公式编辑')+" ")])]),_c('formula-edit',{attrs:{"visible":_vm.visible,"widgetName":_vm.widget.name,"bo-data":_vm.widgetsData,"data":_vm.formula},on:{"callback":_vm.setFormulaValue,"debug":_vm.handleDebug,"close":function (_visible) { return _vm.visible = false; }}}),_c('a-modal',{attrs:{"title":"公式调试","footer":null,"width":"900px"},model:{value:(_vm.debugVisible),callback:function ($$v) {_vm.debugVisible=$$v},expression:"debugVisible"}},[_c('div',{staticStyle:{"display":"flex","justify-content":"center","overflow":"auto"}},[(_vm.debugVisible)?_c('layout-for-paper',{ref:"layoutForPaper",staticStyle:{"min-height":"initial!important"},attrs:{"insite":"true","data":_vm.warpDebugForm,"value":{}}}):_vm._e()],1)])],1)}
158287
- var warpFormulaEditvue_type_template_id_36451ead_staticRenderFns = []
158285
+ ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/warpFormulaEdit.vue?vue&type=template&id=67e33dd8&
158286
+ var warpFormulaEditvue_type_template_id_67e33dd8_render = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[_c('a-button',{attrs:{"type":_vm.hasInValid ? '': 'primary'},on:{"click":function($event){return _vm.init(_vm.widget)}}},[_c('span',{style:({ color: _vm.hasInValid ? 'red': 'inherit'})},[_vm._v(" "+_vm._s(_vm.hasInValid ? '存在已删除字段,请重新设置' : '公式编辑')+" ")])]),_c('formula-edit',{attrs:{"visible":_vm.visible,"widgetName":_vm.widget.name,"bo-data":_vm.widgetsData,"data":_vm.formula},on:{"callback":_vm.setFormulaValue,"debug":_vm.handleDebug,"close":function (_visible) { return _vm.visible = false; }}}),_c('a-modal',{attrs:{"title":"公式调试","footer":null,"width":"900px"},model:{value:(_vm.debugVisible),callback:function ($$v) {_vm.debugVisible=$$v},expression:"debugVisible"}},[_c('div',{staticStyle:{"display":"flex","justify-content":"center","overflow":"auto"}},[(_vm.debugVisible)?_c('layout-for-paper',{ref:"layoutForPaper",staticStyle:{"min-height":"initial!important"},attrs:{"insite":"true","data":_vm.warpDebugForm,"value":{}}}):_vm._e()],1)])],1)}
158287
+ var warpFormulaEditvue_type_template_id_67e33dd8_staticRenderFns = []
158288
158288
 
158289
158289
 
158290
158290
  ;// CONCATENATED MODULE: ./node_modules/_vue-loader@15.10.2@vue-loader/lib/loaders/templateLoader.js??vue-loader-options!./node_modules/_vue-loader@15.10.2@vue-loader/lib/index.js??vue-loader-options!./src/form/formula/formula-edit.vue?vue&type=template&id=75d03d8b&
@@ -160059,7 +160059,7 @@ var formula_edit_component = (0,componentNormalizer/* default */.Z)(
160059
160059
  },
160060
160060
  warpDebugForm() {
160061
160061
  const widgetForm = (0,util/* cloneObj */.Cl)(this.widgetForm);
160062
- const item = widgetForm.list.find(item => item.model === this.widget.model);
160062
+ const item = getRecursionWidget(widgetForm.list).find(item => item.model === this.widget.model);
160063
160063
  item.options.formula = {
160064
160064
  ...(item.options.formula || {}),
160065
160065
  formula: this.debug_formula,
@@ -160123,8 +160123,8 @@ var formula_edit_component = (0,componentNormalizer/* default */.Z)(
160123
160123
  ;
160124
160124
  var warpFormulaEdit_component = (0,componentNormalizer/* default */.Z)(
160125
160125
  formula_warpFormulaEditvue_type_script_lang_js_,
160126
- warpFormulaEditvue_type_template_id_36451ead_render,
160127
- warpFormulaEditvue_type_template_id_36451ead_staticRenderFns,
160126
+ warpFormulaEditvue_type_template_id_67e33dd8_render,
160127
+ warpFormulaEditvue_type_template_id_67e33dd8_staticRenderFns,
160128
160128
  false,
160129
160129
  null,
160130
160130
  null,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zscreate/form-component",
3
- "version": "1.1.221-test.43",
3
+ "version": "1.1.221-test.45",
4
4
  "private": false,
5
5
  "description": "",
6
6
  "main": "dist/form-component.umd.js",