@byteluck-fe/model-driven-settings 2.7.0-beta → 2.8.0-alpha.1

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.
@@ -23,9 +23,8 @@ export function createBaseFields() {
23
23
  ]
24
24
  },
25
25
  scopeEffect: function scopeEffect(driven, payload) {
26
- var _oldParent;
27
26
  var oldParent = payload.oldParent, newParent = payload.newParent, instance = payload.instance;
28
- if (((_oldParent = oldParent) === null || _oldParent === void 0 ? void 0 : _oldParent.type) === "advanced-container" && newParent.type === "positioning-container") {
27
+ if ((oldParent === null || oldParent === void 0 ? void 0 : oldParent.type) === "advanced-container" && newParent.type === "positioning-container") {
29
28
  driven.setInstance(instance, "style.width", "");
30
29
  driven.setInstance(instance, "style.widthConfig", "fill");
31
30
  }
@@ -49,9 +48,8 @@ export function createBaseFields() {
49
48
  ]
50
49
  },
51
50
  scopeEffect: function scopeEffect(driven, payload) {
52
- var _oldParent;
53
51
  var oldParent = payload.oldParent, newParent = payload.newParent, instance = payload.instance;
54
- if (((_oldParent = oldParent) === null || _oldParent === void 0 ? void 0 : _oldParent.type) === "advanced-container" && newParent.type === "positioning-container") {
52
+ if ((oldParent === null || oldParent === void 0 ? void 0 : oldParent.type) === "advanced-container" && newParent.type === "positioning-container") {
55
53
  driven.setInstance(instance, "style.height", "");
56
54
  driven.setInstance(instance, "style.heightConfig", "fill");
57
55
  }
@@ -25,13 +25,12 @@ function _unsupported_iterable_to_array(o, minLen) {
25
25
  }
26
26
  import { createBaseFields } from "./createBaseFields";
27
27
  export function createFormBaseFields(defaultValues) {
28
- var _defaultValues, _defaultValues1, _defaultValues2, _defaultValues3, _defaultValues4, _defaultValues5, _defaultValues6;
29
28
  return _to_consumable_array(createBaseFields()).concat([
30
29
  {
31
30
  type: "DataBind",
32
31
  key: "dataBind",
33
32
  component: "data-bind",
34
- defaultValue: (_defaultValues = defaultValues) === null || _defaultValues === void 0 ? void 0 : _defaultValues.dataBind
33
+ defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.dataBind
35
34
  },
36
35
  {
37
36
  key: "caption",
@@ -41,7 +40,7 @@ export function createFormBaseFields(defaultValues) {
41
40
  maxLength: 80,
42
41
  i18n: true
43
42
  },
44
- defaultValue: (_defaultValues1 = defaultValues) === null || _defaultValues1 === void 0 ? void 0 : _defaultValues1.caption,
43
+ defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.caption,
45
44
  validator: function validator(value) {
46
45
  if (!value) {
47
46
  return "标题必填";
@@ -53,7 +52,7 @@ export function createFormBaseFields(defaultValues) {
53
52
  key: "isHideCaption",
54
53
  type: "boolean",
55
54
  component: "switch",
56
- defaultValue: (_defaultValues2 = defaultValues) === null || _defaultValues2 === void 0 ? void 0 : _defaultValues2.isHideCaption,
55
+ defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.isHideCaption,
57
56
  props: {
58
57
  showType: "checkbox"
59
58
  },
@@ -75,7 +74,7 @@ export function createFormBaseFields(defaultValues) {
75
74
  key: "labelPosition",
76
75
  type: "string",
77
76
  component: "radio",
78
- defaultValue: (_defaultValues3 = defaultValues) === null || _defaultValues3 === void 0 ? void 0 : _defaultValues3.labelPosition,
77
+ defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.labelPosition,
79
78
  props: {
80
79
  showType: "solid",
81
80
  options: [
@@ -94,7 +93,7 @@ export function createFormBaseFields(defaultValues) {
94
93
  key: "defaultState",
95
94
  type: "string",
96
95
  component: "radio",
97
- defaultValue: (_defaultValues4 = defaultValues) === null || _defaultValues4 === void 0 ? void 0 : _defaultValues4.defaultState,
96
+ defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.defaultState,
98
97
  props: {
99
98
  showType: "solid",
100
99
  options: [
@@ -114,14 +113,14 @@ export function createFormBaseFields(defaultValues) {
114
113
  key: "required",
115
114
  type: "boolean",
116
115
  component: "switch",
117
- defaultValue: (_defaultValues5 = defaultValues) === null || _defaultValues5 === void 0 ? void 0 : _defaultValues5.required
116
+ defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.required
118
117
  },
119
118
  {
120
119
  label: "提示文字",
121
120
  key: "placeholder",
122
121
  type: "string",
123
122
  component: "input",
124
- defaultValue: (_defaultValues6 = defaultValues) === null || _defaultValues6 === void 0 ? void 0 : _defaultValues6.placeholder,
123
+ defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.placeholder,
125
124
  props: {
126
125
  maxLength: 80,
127
126
  i18n: true
@@ -92,18 +92,18 @@ function buildSettingItem(settingMap) {
92
92
  };
93
93
  }
94
94
  export function initSettings(params) {
95
- var generatorGroup = function generatorGroup(group) {
96
- return new Group(_object_spread_props(_object_spread({}, group), {
97
- items: group.items.map(buildSettingItem(settingMap)).filter(Boolean)
98
- }));
99
- };
100
- var generatorGroups = function generatorGroups(groups) {
101
- return groups.map(generatorGroup);
102
- };
103
95
  var settingMap = params.fields.reduce(function(map, current) {
104
96
  map.set(current.key, current);
105
97
  return map;
106
98
  }, new Map());
99
+ function generatorGroup(group) {
100
+ return new Group(_object_spread_props(_object_spread({}, group), {
101
+ items: group.items.map(buildSettingItem(settingMap)).filter(Boolean)
102
+ }));
103
+ }
104
+ function generatorGroups(groups) {
105
+ return groups.map(generatorGroup);
106
+ }
107
107
  return params.groups.map(function(item) {
108
108
  if (isTabSchema(item)) {
109
109
  return new Tab(_object_spread_props(_object_spread({}, item), {
@@ -34,17 +34,22 @@ export var BaseProps = /*#__PURE__*/ function() {
34
34
  "use strict";
35
35
  function BaseProps(props) {
36
36
  _class_call_check(this, BaseProps);
37
- var _props, _props1;
38
37
  /**
39
38
  * 显示隐藏
40
39
  * */ _define_property(this, "visible", void 0);
41
40
  /**
42
41
  * 开启表达式
43
42
  * */ _define_property(this, "expression", void 0);
43
+ /**
44
+ *
45
+ * 是否改变父属性
46
+ */ _define_property(this, "updateParent", void 0);
44
47
  var _props_visible;
45
- this.visible = (_props_visible = (_props = props) === null || _props === void 0 ? void 0 : _props.visible) !== null && _props_visible !== void 0 ? _props_visible : true;
48
+ this.visible = (_props_visible = props === null || props === void 0 ? void 0 : props.visible) !== null && _props_visible !== void 0 ? _props_visible : true;
46
49
  var _props_expression;
47
- this.expression = (_props_expression = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.expression) !== null && _props_expression !== void 0 ? _props_expression : false;
50
+ this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : false;
51
+ var _props_updateParent;
52
+ this.updateParent = (_props_updateParent = props === null || props === void 0 ? void 0 : props.updateParent) !== null && _props_updateParent !== void 0 ? _props_updateParent : false;
48
53
  }
49
54
  _create_class(BaseProps, [
50
55
  {
@@ -90,11 +90,10 @@ export var CheckboxProps = /*#__PURE__*/ function(BaseProps) {
90
90
  function CheckboxProps(props) {
91
91
  _class_call_check(this, CheckboxProps);
92
92
  var _this;
93
- var _props;
94
93
  _this = _super.call(this, props);
95
94
  _define_property(_assert_this_initialized(_this), "options", void 0);
96
95
  var _props_options;
97
- _this.options = (_props_options = (_props = props) === null || _props === void 0 ? void 0 : _props.options) !== null && _props_options !== void 0 ? _props_options : [];
96
+ _this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
98
97
  return _this;
99
98
  }
100
99
  return CheckboxProps;
@@ -90,17 +90,16 @@ export var InputNumberProps = /*#__PURE__*/ function(BaseProps) {
90
90
  function InputNumberProps(props) {
91
91
  _class_call_check(this, InputNumberProps);
92
92
  var _this;
93
- var _props, _props1, _props2;
94
93
  _this = _super.call(this, props);
95
94
  _define_property(_assert_this_initialized(_this), "max", void 0);
96
95
  _define_property(_assert_this_initialized(_this), "min", void 0);
97
96
  _define_property(_assert_this_initialized(_this), "placeholder", void 0);
98
97
  var _props_max;
99
- _this.max = (_props_max = (_props = props) === null || _props === void 0 ? void 0 : _props.max) !== null && _props_max !== void 0 ? _props_max : "";
98
+ _this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
100
99
  var _props_min;
101
- _this.min = (_props_min = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.min) !== null && _props_min !== void 0 ? _props_min : "";
100
+ _this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
102
101
  var _props_placeholder;
103
- _this.placeholder = (_props_placeholder = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
102
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
104
103
  return _this;
105
104
  }
106
105
  return InputNumberProps;
@@ -90,20 +90,19 @@ export var InputProps = /*#__PURE__*/ function(BaseProps) {
90
90
  function InputProps(props) {
91
91
  _class_call_check(this, InputProps);
92
92
  var _this;
93
- var _props, _props1, _props2, _props3;
94
93
  _this = _super.call(this, props);
95
94
  _define_property(_assert_this_initialized(_this), "maxLength", void 0);
96
95
  _define_property(_assert_this_initialized(_this), "minLength", void 0);
97
96
  _define_property(_assert_this_initialized(_this), "placeholder", void 0);
98
97
  _define_property(_assert_this_initialized(_this), "i18n", void 0);
99
98
  var _props_maxLength;
100
- _this.maxLength = (_props_maxLength = (_props = props) === null || _props === void 0 ? void 0 : _props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : "";
99
+ _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : "";
101
100
  var _props_minLength;
102
- _this.minLength = (_props_minLength = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : "";
101
+ _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : "";
103
102
  var _props_placeholder;
104
- _this.placeholder = (_props_placeholder = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
103
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
105
104
  var _props_i18n;
106
- _this.i18n = (_props_i18n = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.i18n) !== null && _props_i18n !== void 0 ? _props_i18n : false;
105
+ _this.i18n = (_props_i18n = props === null || props === void 0 ? void 0 : props.i18n) !== null && _props_i18n !== void 0 ? _props_i18n : false;
107
106
  return _this;
108
107
  }
109
108
  return InputProps;
@@ -90,14 +90,13 @@ export var RadioProps = /*#__PURE__*/ function(BaseProps) {
90
90
  function RadioProps(props) {
91
91
  _class_call_check(this, RadioProps);
92
92
  var _this;
93
- var _props, _props1;
94
93
  _this = _super.call(this, props);
95
94
  _define_property(_assert_this_initialized(_this), "options", void 0);
96
95
  _define_property(_assert_this_initialized(_this), "showType", void 0);
97
96
  var _props_options;
98
- _this.options = (_props_options = (_props = props) === null || _props === void 0 ? void 0 : _props.options) !== null && _props_options !== void 0 ? _props_options : [];
97
+ _this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
99
98
  var _props_showType;
100
- _this.showType = (_props_showType = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.showType) !== null && _props_showType !== void 0 ? _props_showType : "outline";
99
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "outline";
101
100
  return _this;
102
101
  }
103
102
  return RadioProps;
@@ -90,14 +90,13 @@ export var SelectProps = /*#__PURE__*/ function(BaseProps) {
90
90
  function SelectProps(props) {
91
91
  _class_call_check(this, SelectProps);
92
92
  var _this;
93
- var _props, _props1;
94
93
  _this = _super.call(this, props);
95
94
  _define_property(_assert_this_initialized(_this), "placeholder", void 0);
96
95
  _define_property(_assert_this_initialized(_this), "options", void 0);
97
96
  var _props_placeholder;
98
- _this.placeholder = (_props_placeholder = (_props = props) === null || _props === void 0 ? void 0 : _props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
97
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
99
98
  var _props_options;
100
- _this.options = (_props_options = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.options) !== null && _props_options !== void 0 ? _props_options : [];
99
+ _this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
101
100
  return _this;
102
101
  }
103
102
  return SelectProps;
@@ -90,17 +90,16 @@ export var SwitchProps = /*#__PURE__*/ function(BaseProps) {
90
90
  function SwitchProps(props) {
91
91
  _class_call_check(this, SwitchProps);
92
92
  var _this;
93
- var _props, _props1, _props2;
94
93
  _this = _super.call(this, props);
95
94
  _define_property(_assert_this_initialized(_this), "showType", void 0);
96
95
  _define_property(_assert_this_initialized(_this), "tips", void 0);
97
96
  _define_property(_assert_this_initialized(_this), "disabled", void 0);
98
97
  var _props_showType;
99
- _this.showType = (_props_showType = (_props = props) === null || _props === void 0 ? void 0 : _props.showType) !== null && _props_showType !== void 0 ? _props_showType : "switch";
98
+ _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "switch";
100
99
  var _props_tips;
101
- _this.tips = (_props_tips = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.tips) !== null && _props_tips !== void 0 ? _props_tips : "";
100
+ _this.tips = (_props_tips = props === null || props === void 0 ? void 0 : props.tips) !== null && _props_tips !== void 0 ? _props_tips : "";
102
101
  var _props_disabled;
103
- _this.disabled = (_props_disabled = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.disabled) !== null && _props_disabled !== void 0 ? _props_disabled : false;
102
+ _this.disabled = (_props_disabled = props === null || props === void 0 ? void 0 : props.disabled) !== null && _props_disabled !== void 0 ? _props_disabled : false;
104
103
  return _this;
105
104
  }
106
105
  return SwitchProps;
@@ -90,7 +90,6 @@ export var TextareaProps = /*#__PURE__*/ function(BaseProps) {
90
90
  function TextareaProps(props) {
91
91
  _class_call_check(this, TextareaProps);
92
92
  var _this;
93
- var _props, _props1, _props2, _props3, _props4, _props5;
94
93
  _this = _super.call(this, props);
95
94
  _define_property(_assert_this_initialized(_this), "maxLength", void 0);
96
95
  _define_property(_assert_this_initialized(_this), "minLength", void 0);
@@ -99,17 +98,17 @@ export var TextareaProps = /*#__PURE__*/ function(BaseProps) {
99
98
  _define_property(_assert_this_initialized(_this), "maxRows", void 0);
100
99
  _define_property(_assert_this_initialized(_this), "minRows", void 0);
101
100
  var _props_maxLength;
102
- _this.maxLength = (_props_maxLength = (_props = props) === null || _props === void 0 ? void 0 : _props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : "";
101
+ _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : "";
103
102
  var _props_minLength;
104
- _this.minLength = (_props_minLength = (_props1 = props) === null || _props1 === void 0 ? void 0 : _props1.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : "";
103
+ _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : "";
105
104
  var _props_placeholder;
106
- _this.placeholder = (_props_placeholder = (_props2 = props) === null || _props2 === void 0 ? void 0 : _props2.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
105
+ _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
107
106
  var _props_maxRows;
108
- _this.maxRows = (_props_maxRows = (_props3 = props) === null || _props3 === void 0 ? void 0 : _props3.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : "";
107
+ _this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : "";
109
108
  var _props_minRows;
110
- _this.minRows = (_props_minRows = (_props4 = props) === null || _props4 === void 0 ? void 0 : _props4.minRows) !== null && _props_minRows !== void 0 ? _props_minRows : "";
109
+ _this.minRows = (_props_minRows = props === null || props === void 0 ? void 0 : props.minRows) !== null && _props_minRows !== void 0 ? _props_minRows : "";
111
110
  var _props_i18n;
112
- _this.i18n = (_props_i18n = (_props5 = props) === null || _props5 === void 0 ? void 0 : _props5.i18n) !== null && _props_i18n !== void 0 ? _props_i18n : false;
111
+ _this.i18n = (_props_i18n = props === null || props === void 0 ? void 0 : props.i18n) !== null && _props_i18n !== void 0 ? _props_i18n : false;
113
112
  return _this;
114
113
  }
115
114
  return TextareaProps;
@@ -25,10 +25,15 @@ export var Group = function Group(schema) {
25
25
  _define_property(this, "items", void 0);
26
26
  _define_property(this, "tips", void 0);
27
27
  _define_property(this, "fromId", void 0);
28
+ _define_property(this, "visible", void 0);
28
29
  var _schema_title;
29
30
  this.title = (_schema_title = schema.title) !== null && _schema_title !== void 0 ? _schema_title : "";
30
31
  var _schema_required;
31
32
  this.required = (_schema_required = schema.required) !== null && _schema_required !== void 0 ? _schema_required : false;
32
33
  this.items = schema.items;
33
34
  this.tips = schema.tips;
35
+ this.visible = schema.items.some(function(item) {
36
+ var _item_props;
37
+ return (_item_props = item.props) === null || _item_props === void 0 ? void 0 : _item_props.visible;
38
+ });
34
39
  };
package/dist/index.umd.js CHANGED
@@ -1,2 +1,2 @@
1
- var Ia=Object.defineProperty,Ma=Object.defineProperties;var $a=Object.getOwnPropertyDescriptors;var X=Object.getOwnPropertySymbols;var wa=Object.prototype.hasOwnProperty,_a=Object.prototype.propertyIsEnumerable;var J=(l,c,s)=>c in l?Ia(l,c,{enumerable:!0,configurable:!0,writable:!0,value:s}):l[c]=s,S=(l,c)=>{for(var s in c||(c={}))wa.call(c,s)&&J(l,s,c[s]);if(X)for(var s of X(c))_a.call(c,s)&&J(l,s,c[s]);return l},y=(l,c)=>Ma(l,$a(c));(function(l,c){typeof exports=="object"&&typeof module!="undefined"?c(exports):typeof define=="function"&&define.amd?define(["exports"],c):(l=typeof globalThis!="undefined"?globalThis:l||self,c(l.modelDrivenSettings={}))})(this,function(l){"use strict";function c(e){return e}class s{constructor(u){var t,n;this.visible=(t=u==null?void 0:u.visible)!=null?t:!0,this.expression=(n=u==null?void 0:u.expression)!=null?n:!1}get isAtomicComponent(){return!0}}var Q="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Y="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ee="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ue="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",te="{caption}\u5FC5\u586B",ne="\u8BF7\u8F93\u5165\u6807\u9898",ae="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",re="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ie="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",le="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",se="\u8BF7\u7ED1\u5B9A\u8868\u5355",oe="\u8BF7\u7ED1\u5B9A\u5217\u8868",ce="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ee="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Be="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",he="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",me="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ae="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",pe="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",fe="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Fe="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ve="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",de="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ge="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",De="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Ce="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",be="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Se="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ye="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ie="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Me="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",$e="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",we="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",_e="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Le="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Re="\u8BF7\u7ED1\u5B9A\u670D\u52A1",xe="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ue="\u8BF7\u9009\u62E9\u7701",Ne="\u8BF7\u9009\u62E9\u5E02",ke="\u8BF7\u9009\u62E9\u533A",Te="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Pe="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ve="\u8BF7\u8F93\u5165\u5217\u5BBD",Ge="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Oe="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",He="\u8BF7\u9009\u62E9\u63A7\u4EF6",ze="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",qe="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",je="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ke="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",We="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xe="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Je="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Qe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ze="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ye="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",au="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ru="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",lu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",su="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ou="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",cu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Eu={isNotNumber:Q,isNotString:Z,isNotObject:Y,isNotArray:ee,isNotBoolean:ue,runtimeRequired:te,pleaseEnterCaption:ne,pleaseEnterCaptionTip:ae,pleaseEnterRowCaption:re,pleaseEnterPlaceholder:ie,pleaseEnterFieldCode:le,pleaseEnterForm:se,pleaseEnterList:oe,pleaseEnterProcess:ce,pleaseEnterLabel:Ee,pleaseEnterValue:Be,bizKeyNotBindFiled:he,pleaseSelectOneField:me,pleaseEnterNumberRange:Ae,pleaseEnterAValueGreaterThanMin:pe,pleaseEnterAValueLessThanMax:fe,numberRangeSetError:Fe,stringRangeError:ve,attachmentMaxSize:de,pleaseEnterTotalScoreSetting:ge,theTotalScoreMustNotBeLessThan1:De,scoreDefaultValueRange:Ce,attachmentLimitError:be,PleaseReselectTheOptionalQuantity:Se,TheMaximumLengthIsGreaterThanTheMinimumLength:ye,TheMinimumLengthIsGreaterThanTheMaximumLength:Ie,PleaseSelectTheCorrectOptionSettings:Me,optionIdIsRepeat:$e,optionIsRequired:we,pleaseEnterDataCode:_e,pleaseEnterValueFieldCode:Le,pleaseEnterSvcCode:Re,pleaseBindAtLeastOneDisplayValue:xe,pleaseSelectProvince:Ue,pleaseSelectCity:Ne,pleaseSelectDistrict:ke,limitRowsCannotBeLessThan0:Te,TheNumberOfRowsCannotBeLessThanMinRows:Pe,pleaseEnterColumnWidth:Ve,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ge,pleaseCompleteAllRulesAndConditions:Oe,pleaseSelectControl:He,pleaseSelectAtLeastOneColumn:ze,pleaseSelectFillBackMode:qe,pleaseSelectDashboard:je,rootNodeIsRequired:Ke,theViewNameCannotBeEmpty:We,pleaseSelectOcrType:Xe,pleaseSelectAtLeastOneFieldToFillIn:Je,pleaseChooseAtLeastOne:Qe,pleaseEnterButtonContent:Ze,pleaseEnterDataCodeInDataSetting:Ye,pleaseEnterValueFieldCodeInDataSetting:eu,pleaseEnterSvcCodeInDataSetting:uu,pleaseBindAtLeastOneDisplayValueInDataSetting:tu,rootNodeIsRequiredInDataSetting:nu,pleaseEnterMaxHeight:au,pleaseEnter:ru,pleaseEnterWatermark:iu,pleaseEnterFileName:lu,pleaseUploadAtLeastOnePrintTemplate:su,pleaseAssignBusiness:ou,pleaseAssignExternal:cu},Bu="Please enter a number",hu="Please enter a string",mu="Please enter an object",Au="Please enter an array",pu="Please enter a boolean",fu="{caption} Required",Fu="Please enter the title",vu="Please enter the bubble prompt",du="Please enter the row title",gu="Please enter the prompt text",Du="Please bind data items",Cu="Please bind the form",bu="Please bind the list",Su="Please bind the process",yu="Please enter the displayed value",Iu="Please enter the stored value",Mu="The document number is not bound to the data item",$u="Please select at least one display field",wu="Please enter a value greater than or equal to {min} and less than or equal to {max}",_u="Please enter a value greater than or equal to {min}",Lu="Please enter a value less than or equal to {max}",Ru="The value range is set incorrectly",xu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Uu="The attachment size must be between 0MB and 1000MB",Nu="Please fill in the total score setting",ku="The total score cannot be less than 1",Tu="The default value must be between {min} and {max}",Pu="The number of attachments uploaded must be between {min} and {max}",Vu="Please re-select the optional quantity",Gu="The maximum length of the control must be greater than the minimum length",Ou="The minimum length of the control must be less than the maximum length",Hu="Please select the correct option setting",zu="Option ID cannot be repeated",qu="Please enter at least one option",ju="Please bind the data source",Ku="Please bind the stored value",Wu="Please bind the service",Xu="At least one display value must be bound",Ju="Please select a province",Qu="Please select a city",Zu="Please select a district",Yu="The minimum number of lines to fill in cannot be less than 0",et="The number of rows cannot be less than {min} rows",ut="Please enter the column width",tt="Please set the logical relationship of all rule conditions",nt="Please complete all rules and conditions",at="please select control",rt="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",it="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",lt="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",st="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ot="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ct="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Et="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Bt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ht="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",mt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",At="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",pt="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ft="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ft="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",vt="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",dt="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",gt="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Dt="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ct={isNotNumber:Bu,isNotString:hu,isNotObject:mu,isNotArray:Au,isNotBoolean:pu,runtimeRequired:fu,pleaseEnterCaption:Fu,pleaseEnterCaptionTip:vu,pleaseEnterRowCaption:du,pleaseEnterPlaceholder:gu,pleaseEnterFieldCode:Du,pleaseEnterForm:Cu,pleaseEnterList:bu,pleaseEnterProcess:Su,pleaseEnterLabel:yu,pleaseEnterValue:Iu,bizKeyNotBindFiled:Mu,pleaseSelectOneField:$u,pleaseEnterNumberRange:wu,pleaseEnterAValueGreaterThanMin:_u,pleaseEnterAValueLessThanMax:Lu,numberRangeSetError:Ru,stringRangeError:xu,attachmentMaxSize:Uu,pleaseEnterTotalScoreSetting:Nu,theTotalScoreMustNotBeLessThan1:ku,scoreDefaultValueRange:Tu,attachmentLimitError:Pu,PleaseReselectTheOptionalQuantity:Vu,TheMaximumLengthIsGreaterThanTheMinimumLength:Gu,TheMinimumLengthIsGreaterThanTheMaximumLength:Ou,PleaseSelectTheCorrectOptionSettings:Hu,optionIdIsRepeat:zu,optionIsRequired:qu,pleaseEnterDataCode:ju,pleaseEnterValueFieldCode:Ku,pleaseEnterSvcCode:Wu,pleaseBindAtLeastOneDisplayValue:Xu,pleaseSelectProvince:Ju,pleaseSelectCity:Qu,pleaseSelectDistrict:Zu,limitRowsCannotBeLessThan0:Yu,TheNumberOfRowsCannotBeLessThanMinRows:et,pleaseEnterColumnWidth:ut,pleaseSetTheLogicalRelationshipOfAllRuleConditions:tt,pleaseCompleteAllRulesAndConditions:nt,pleaseSelectControl:at,pleaseSelectDashboard:rt,theViewNameCannotBeEmpty:it,pleaseSelectOcrType:lt,pleaseSelectAtLeastOneFieldToFillIn:st,pleaseChooseAtLeastOne:ot,pleaseEnterButtonContent:ct,pleaseEnterDataCodeInDataSetting:Et,pleaseEnterValueFieldCodeInDataSetting:Bt,pleaseEnterSvcCodeInDataSetting:ht,pleaseBindAtLeastOneDisplayValueInDataSetting:mt,rootNodeIsRequiredInDataSetting:At,pleaseEnterMaxHeight:pt,pleaseEnter:ft,pleaseEnterWatermark:Ft,pleaseEnterFileName:vt,pleaseUploadAtLeastOnePrintTemplate:dt,pleaseAssignBusiness:gt,pleaseAssignExternal:Dt},bt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",St="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",It="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mt="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$t="{caption}\u5FC5\u9808",wt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_t="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lt="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ut="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Tt="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Gt="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ot="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ht="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zt="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qt="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",jt="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kt="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wt="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xt="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jt="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qt="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Zt="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yt="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",en="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",un="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tn="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",nn="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",an="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rn="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ln="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sn="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",on="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cn="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",En="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bn="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",hn="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",mn="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",An="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",pn="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",fn="please select control",Fn="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",vn="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",dn="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",gn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Dn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Cn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Sn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",yn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",In="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Mn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",$n="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",wn="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",_n="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ln="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Rn="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",xn="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Un="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Nn={isNotNumber:bt,isNotString:St,isNotObject:yt,isNotArray:It,isNotBoolean:Mt,runtimeRequired:$t,pleaseEnterCaption:wt,pleaseEnterCaptionTip:_t,pleaseEnterRowCaption:Lt,pleaseEnterPlaceholder:Rt,pleaseEnterFieldCode:xt,pleaseEnterForm:Ut,pleaseEnterList:Nt,pleaseEnterProcess:kt,pleaseEnterLabel:Tt,pleaseEnterValue:Pt,bizKeyNotBindFiled:Vt,pleaseSelectOneField:Gt,pleaseEnterNumberRange:Ot,pleaseEnterAValueGreaterThanMin:Ht,pleaseEnterAValueLessThanMax:zt,numberRangeSetError:qt,stringRangeError:jt,attachmentMaxSize:Kt,pleaseEnterTotalScoreSetting:Wt,theTotalScoreMustNotBeLessThan1:Xt,scoreDefaultValueRange:Jt,attachmentLimitError:Qt,PleaseReselectTheOptionalQuantity:Zt,TheMaximumLengthIsGreaterThanTheMinimumLength:Yt,TheMinimumLengthIsGreaterThanTheMaximumLength:en,PleaseSelectTheCorrectOptionSettings:un,optionIdIsRepeat:tn,optionIsRequired:nn,pleaseEnterDataCode:an,pleaseEnterValueFieldCode:rn,pleaseEnterSvcCode:ln,pleaseBindAtLeastOneDisplayValue:sn,pleaseSelectProvince:on,pleaseSelectCity:cn,pleaseSelectDistrict:En,limitRowsCannotBeLessThan0:Bn,TheNumberOfRowsCannotBeLessThanMinRows:hn,pleaseEnterColumnWidth:mn,pleaseSetTheLogicalRelationshipOfAllRuleConditions:An,pleaseCompleteAllRulesAndConditions:pn,pleaseSelectControl:fn,pleaseSelectDashboard:Fn,theViewNameCannotBeEmpty:vn,pleaseSelectOcrType:dn,pleaseSelectAtLeastOneFieldToFillIn:gn,pleaseChooseAtLeastOne:Dn,pleaseEnterButtonContent:Cn,pleaseEnterDataCodeInDataSetting:bn,pleaseEnterValueFieldCodeInDataSetting:Sn,pleaseEnterSvcCodeInDataSetting:yn,pleaseBindAtLeastOneDisplayValueInDataSetting:In,rootNodeIsRequiredInDataSetting:Mn,pleaseEnterMaxHeight:$n,pleaseEnter:wn,pleaseEnterWatermark:_n,pleaseEnterFileName:Ln,pleaseUploadAtLeastOnePrintTemplate:Rn,pleaseAssignBusiness:xn,pleaseAssignExternal:Un},kn={zhCN:Eu,enUS:Ct,jaJP:Nn},_;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(_||(_={}));var L;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(L||(L={}));var Tn="zh-CN",Pn=function(){};function m(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var R;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(R||(R={}));var E;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"})(E||(E={}));var B;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(B||(B={}));var h;h={},m(h,B.ARRAY,E.ARRAY_COLUMN),m(h,B.AUTO_NUMBER,E.AUTO_NUMBER_COLUMN),m(h,B.DECIMAL,E.DECIMAL_COLUMN),m(h,B.DEPARTMENTS,E.DEPARTMENT_COLUMN),m(h,B.FILE,E.FILE_COLUMN),m(h,B.IMAGE,E.IMAGE_COLUMN),m(h,B.ADDRESS,E.LOCATION_COLUMN),m(h,B.EMPLOYEES,E.EMPLOYEE_COLUMN),m(h,B.TEXT,E.TEXT_COLUMN),m(h,B.TIMESCOPE,E.TIMESCOPE_COLUMN),m(h,B.TIMESTAMP,E.TIMESTAMP_COLUMN),m(h,B.VARCHAR,E.VARCHAR_COLUMN),m(h,B.RELATION,E.VARCHAR_COLUMN);var x;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(x||(x={}));function Vn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Gn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function C(e,u,t){return U()?C=Reflect.construct:C=function(a,o,p){var A=[null];A.push.apply(A,o);var v=Function.bind.apply(a,A),b=new v;return p&&g(b,p.prototype),b},C.apply(null,arguments)}function d(e){return d=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},d(e)}function On(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),u&&g(e,u)}function Hn(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function zn(e,u){return u&&(qn(u)==="object"||typeof u=="function")?u:Vn(e)}function g(e,u){return g=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},g(e,u)}function qn(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function I(e){var u=typeof Map=="function"?new Map:void 0;return I=function(n){if(n===null||!Hn(n))return n;if(typeof n!="function")throw new TypeError("Super expression must either be null or a function");if(typeof u!="undefined"){if(u.has(n))return u.get(n);u.set(n,a)}function a(){return C(n,arguments,d(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),g(a,n)},I(e)}function U(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function jn(e){var u=U();return function(){var n=d(e),a;if(u){var o=d(this).constructor;a=Reflect.construct(n,arguments,o)}else a=n.apply(this,arguments);return zn(this,a)}}function Kn(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Wn=function(e){On(t,e);var u=jn(t);function t(n){Gn(this,t);var a;return a=u.call(this,n),a.name="\u{1F4A5} Driven Error",a.message=n?Kn(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return t}(I(Error));function Xn(e){throw new Wn(e)}var Jn=Object.prototype.toString;function N(e,u){return Jn.call(e)==="[object "+u+"]"}function Qn(e){return N(e,"String")}function Zn(e){return N(e,"Promise")}var Yn=function(){function e(u){var t,n;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((n=(t=u.messages)!==null&&t!==void 0?t:this.getPreImport(u.locale))!==null&&n!==void 0?n:{}),u.variableRegExp&&(this.variableRegExp=u.variableRegExp),this.setLocale(u.locale)}return e.prototype.setLocale=function(u){var t=this;this.locale=u,this._messageCache.clear();var n=this.getMessageData();Zn(n)?n.then(function(a){t._messageCache.clear(),t.messages[t.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=n},e.prototype.getMessageData=function(){var u=this._messages[this.localeInMessageKey];return typeof u=="function"?u():u},e.prototype.translate=function(u,t,n){var a=this.getMessage(u);return a?this.formatMessage(a,n):this.formatMessage(t,n)},e.prototype.getMessage=function(u){if(this._messageCache.has(u))return this._messageCache.get(u);var t=this.getPathArray(u),n=t.reduce(function(a,o,p,A){if(a!==void 0){var v=a[o];if(!(p===A.length-1&&!Qn(v)))return v}},this.message);return this._messageCache.set(u,n),n},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(n,a){var o=t[a];return o!==void 0?String(o):n}):u},e.prototype.getPreImport=function(u){var t;if(window.okI18nPreImport){var n=this.getLocaleInMessageKey(u);return window.okI18nPreImport.hasOwnProperty(n)?window.okI18nPreImport:(t={},t[n]=window.okI18nPreImport,t)}},e.prototype.getPathArray=function(u){return u.split(".")},e.prototype.getLocaleInMessageKey=function(u){return u.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var u;return(u=this.messages[this.localeInMessageKey])!==null&&u!==void 0?u:{}},enumerable:!1,configurable:!0}),e}();function ea(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function k(e,u){for(var t=0;t<u.length;t++){var n=u[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ua(e,u,t){return u&&k(e.prototype,u),t&&k(e,t),e}function ta(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var T=function(){function e(){ea(this,e)}return ua(e,null,[{key:"getMessage",value:function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(t,"",n)}},{key:"resetI18n",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Tn;return new Yn({locale:t,messages:kn})}},{key:"setLocale",value:function(t){return this.$i18n.setLocale(t)}}]),e}();ta(T,"$i18n",T.resetI18n());var na=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},aa={exports:{}};(function(e){(function(u){var t=function(r,i,f){if(!b(i)||Ca(i)||ba(i)||Sa(i)||v(i))return i;var F,D=0,W=0;if(Da(i))for(F=[],W=i.length;D<W;D++)F.push(t(r,i[D],f));else{F={};for(var w in i)Object.prototype.hasOwnProperty.call(i,w)&&(F[r(w,f)]=t(r,i[w],f))}return F},n=function(r,i){i=i||{};var f=i.separator||"_",F=i.split||/(?=[A-Z])/;return r.split(F).join(f)},a=function(r){return ya(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(i,f){return f?f.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},o=function(r){var i=a(r);return i.substr(0,1).toUpperCase()+i.substr(1)},p=function(r,i){return n(r,i).toLowerCase()},A=Object.prototype.toString,v=function(r){return typeof r=="function"},b=function(r){return r===Object(r)},Da=function(r){return A.call(r)=="[object Array]"},Ca=function(r){return A.call(r)=="[object Date]"},ba=function(r){return A.call(r)=="[object RegExp]"},Sa=function(r){return A.call(r)=="[object Boolean]"},ya=function(r){return r=r-0,r===r},$=function(r,i){var f=i&&"process"in i?i.process:i;return typeof f!="function"?r:function(F,D){return f(F,r,D)}},K={camelize:a,decamelize:p,pascalize:o,depascalize:p,camelizeKeys:function(r,i){return t($(a,i),r)},decamelizeKeys:function(r,i){return t($(p,i),r,i)},pascalizeKeys:function(r,i){return t($(o,i),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=K:u.humps=K})(na)})(aa);var P={};Object.defineProperty(P,"__esModule",{value:!0});function M(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:M(u));{const u={};for(const t in e){const n=e[t];u[t]=typeof n!="object"||n===null?n:M(n)}return u}}P.default=M;function V(e){return Object.prototype.toString.call(e)==="[object Object]"}function ra(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function G(e,u){for(var t=0;t<u.length;t++){var n=u[t];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}function ia(e,u,t){return u&&G(e.prototype,u),t&&G(e,t),e}function la(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var sa=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],oa=function(){function e(){ra(this,e)}return ia(e,[{key:"getEventsFromKeys",value:function(t){var n=typeof t=="string"?[t]:t;return e.events.filter(function(a){return n.includes(a.key)})}}]),e}();la(oa,"events",sa);class O{constructor(u){var t,n,a;this.type=u.type,this.label=u.label,this.key=u.key,this.component=u.component,this.effect=(t=u.effect)!=null?t:{},this.scopeEffect=(n=u.scopeEffect)!=null?n:Pn,this.defaultValue=u.defaultValue,this.validator=u.validator,this.props=(a=u.props)!=null?a:new s,this.effectKeys=Object.keys(this.effect)}filterEffects(u){return u===""?Object.values(this.effect):this.effectKeys.filter(t=>new RegExp(`^${t}(\\.\\w+)*$`).test(u)).map(t=>this.effect[t])}callEffectFn(u,t){try{const n=u.apply(null,t);V(n)&&Object.assign(this.props,n)}catch(n){Xn(`effect error
2
- ${n}`)}}callEffect(u,...t){this.filterEffects(u).forEach(n=>this.callEffectFn(n,t))}callScopeEffect(...u){this.callEffectFn(this.scopeEffect,u)}}class H{constructor(u){var t,n;this.type="group",this.title=(t=u.title)!=null?t:"",this.required=(n=u.required)!=null?n:!1,this.items=u.items,this.tips=u.tips}}function z(e){return"type"in e&&e.type==="tab"}class q{constructor(u){this.type="tab",this.title=u.title,this.items=u.items}}class ca extends s{constructor(u){super(u),V(u)&&Object.entries(u).forEach(([t,n])=>{this[t]=n})}}class Ea extends s{constructor(u){var t,n,a,o;super(u),this.maxLength=(t=u==null?void 0:u.maxLength)!=null?t:"",this.minLength=(n=u==null?void 0:u.minLength)!=null?n:"",this.placeholder=(a=u==null?void 0:u.placeholder)!=null?a:"",this.i18n=(o=u==null?void 0:u.i18n)!=null?o:!1}}class Ba extends s{constructor(u){var t,n,a;super(u),this.max=(t=u==null?void 0:u.max)!=null?t:"",this.min=(n=u==null?void 0:u.min)!=null?n:"",this.placeholder=(a=u==null?void 0:u.placeholder)!=null?a:""}}class ha extends s{constructor(u){var t,n,a;super(u),this.showType=(t=u==null?void 0:u.showType)!=null?t:"switch",this.tips=(n=u==null?void 0:u.tips)!=null?n:"",this.disabled=(a=u==null?void 0:u.disabled)!=null?a:!1}}class ma extends s{constructor(u){var t;super(u),this.options=(t=u==null?void 0:u.options)!=null?t:[]}}class Aa extends s{constructor(u){var t,n;super(u),this.placeholder=(t=u==null?void 0:u.placeholder)!=null?t:"",this.options=(n=u==null?void 0:u.options)!=null?n:[]}}class pa extends s{constructor(u){var t,n;super(u),this.options=(t=u==null?void 0:u.options)!=null?t:[],this.showType=(n=u==null?void 0:u.showType)!=null?n:"outline"}}class fa extends s{constructor(u){var t,n,a,o,p,A;super(u),this.maxLength=(t=u==null?void 0:u.maxLength)!=null?t:"",this.minLength=(n=u==null?void 0:u.minLength)!=null?n:"",this.placeholder=(a=u==null?void 0:u.placeholder)!=null?a:"",this.maxRows=(o=u==null?void 0:u.maxRows)!=null?o:"",this.minRows=(p=u==null?void 0:u.minRows)!=null?p:"",this.i18n=(A=u==null?void 0:u.i18n)!=null?A:!1}}function Fa(e,u){switch(e){case"input":return new Ea(u);case"textarea":return new fa(u);case"input-number":return new Ba(u);case"switch":return new ha(u);case"radio":return new pa(u);case"checkbox":return new ma(u);case"select":return new Aa(u);default:return new ca(u)}}function va(e){return function(u){const t=e.get(u);if(!!t)return new O(y(S({},t),{props:Fa(t.component,"props"in t?t.props:void 0)}))}}function da(e){const u=e.fields.reduce((a,o)=>(a.set(o.key,o),a),new Map);function t(a){return new H(y(S({},a),{items:a.items.map(va(u)).filter(Boolean)}))}function n(a){return a.map(t)}return e.groups.map(a=>z(a)?new q(y(S({},a),{items:n(a.items)})):t(a))}function j(){return[{label:"\u9690\u85CF",key:"isHide",type:"boolean",component:"switch"},{key:"superSetting",component:"super-setting"},{key:"style.width",component:"styleComponent",props:{configKey:"style.widthConfig",options:["px","%","fill","hug"]},scopeEffect(e,u){const{oldParent:t,newParent:n,instance:a}=u;if((t==null?void 0:t.type)==="advanced-container"&&n.type==="positioning-container"&&(e.setInstance(a,"style.width",""),e.setInstance(a,"style.widthConfig","fill")),n)return{visible:n.type==="advanced-container"}}},{key:"style.height",component:"styleComponent",props:{configKey:"style.heightConfig",options:["px","%","fill","hug"]},scopeEffect(e,u){const{oldParent:t,newParent:n,instance:a}=u;if((t==null?void 0:t.type)==="advanced-container"&&n.type==="positioning-container"&&(e.setInstance(a,"style.height",""),e.setInstance(a,"style.heightConfig","fill")),u.newParent)return{visible:u.newParent.type==="advanced-container"}}}]}function ga(e){return[...j(),{type:"DataBind",key:"dataBind",component:"data-bind",defaultValue:e==null?void 0:e.dataBind},{key:"caption",type:"string",component:"input",props:{maxLength:80,i18n:!0},defaultValue:e==null?void 0:e.caption,validator(u){if(!u)return"\u6807\u9898\u5FC5\u586B"}},{label:"\u9690\u85CF\u6807\u9898",key:"isHideCaption",type:"boolean",component:"switch",defaultValue:e==null?void 0:e.isHideCaption,props:{showType:"checkbox"},scopeEffect(u,t){var n,a;if(((n=t.current)==null?void 0:n.type)!==((a=t.from)==null?void 0:a.type))return t.current.type==="subtable"&&u.setInstance(t.control,"isHideCaption",!0),{visible:t.current.type!=="subtable"}}},{key:"labelPosition",type:"string",component:"radio",defaultValue:e==null?void 0:e.labelPosition,props:{showType:"solid",options:[{label:"\u4E0A\u4E0B\u5E03\u5C40",value:"top"},{label:"\u5DE6\u53F3\u5E03\u5C40",value:"left"}]}},{key:"defaultState",type:"string",component:"radio",defaultValue:e==null?void 0:e.defaultState,props:{showType:"solid",options:[{label:"\u666E\u901A",value:"default"},{label:"\u53EA\u8BFB",value:"readonly"}]}},{label:"\u5FC5\u586B",key:"required",type:"boolean",component:"switch",defaultValue:e==null?void 0:e.required},{label:"\u63D0\u793A\u6587\u5B57",key:"placeholder",type:"string",component:"input",defaultValue:e==null?void 0:e.placeholder,props:{maxLength:80,i18n:!0}}]}l.Group=H,l.Setting=O,l.Tab=q,l.createBaseFields=j,l.createFormBaseFields=ga,l.defineInstance=c,l.initSettings=da,l.isTabSchema=z,Object.defineProperty(l,"__esModule",{value:!0})});
1
+ var jn=Object.defineProperty,Kn=Object.defineProperties;var Wn=Object.getOwnPropertyDescriptors;var J=Object.getOwnPropertySymbols;var Xn=Object.prototype.hasOwnProperty,Jn=Object.prototype.propertyIsEnumerable;var O=(l,c,o)=>c in l?jn(l,c,{enumerable:!0,configurable:!0,writable:!0,value:o}):l[c]=o,D=(l,c)=>{for(var o in c||(c={}))Xn.call(c,o)&&O(l,o,c[o]);if(J)for(var o of J(c))Jn.call(c,o)&&O(l,o,c[o]);return l},b=(l,c)=>Kn(l,Wn(c));(function(l,c){typeof exports=="object"&&typeof module!="undefined"?c(exports):typeof define=="function"&&define.amd?define(["exports"],c):(l=typeof globalThis!="undefined"?globalThis:l||self,c(l.modelDrivenSettings={}))})(this,function(l){"use strict";function c(e){return e}class o{constructor(u){var t,a,n;this.visible=(t=u==null?void 0:u.visible)!=null?t:!0,this.expression=(a=u==null?void 0:u.expression)!=null?a:!1,this.updateParent=(n=u==null?void 0:u.updateParent)!=null?n:!1}get isAtomicComponent(){return!0}}var Q="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Y="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",ee="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ue="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",te="{caption}\u5FC5\u586B",ae="\u8BF7\u8F93\u5165\u6807\u9898",ne="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",re="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ie="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",le="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",se="\u8BF7\u7ED1\u5B9A\u8868\u5355",oe="\u8BF7\u7ED1\u5B9A\u5217\u8868",ce="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ee="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Be="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",me="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",he="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",pe="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",de="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Fe="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ve="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",fe="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ae="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ge="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ce="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",De="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",be="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Se="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",ye="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ie="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Me="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",$e="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",we="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",_e="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",xe="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Re="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Le="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ke="\u8BF7\u9009\u62E9\u7701",Ue="\u8BF7\u9009\u62E9\u5E02",Pe="\u8BF7\u9009\u62E9\u533A",Ne="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Te="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ve="\u8BF7\u8F93\u5165\u5217\u5BBD",Ge="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ze="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",He="\u8BF7\u9009\u62E9\u63A7\u4EF6",qe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",je="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ke="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",We="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Xe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Je="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Oe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Qe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ze="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ye="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",au="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ru="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",lu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",su="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ou="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",cu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Eu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Bu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",mu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",hu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",pu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",du="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Fu={isNotNumber:Q,isNotString:Z,isNotObject:Y,isNotArray:ee,isNotBoolean:ue,runtimeRequired:te,pleaseEnterCaption:ae,pleaseEnterCaptionTip:ne,pleaseEnterRowCaption:re,pleaseEnterPlaceholder:ie,pleaseEnterFieldCode:le,pleaseEnterForm:se,pleaseEnterList:oe,pleaseEnterProcess:ce,pleaseEnterLabel:Ee,pleaseEnterValue:Be,bizKeyNotBindFiled:me,pleaseSelectOneField:he,pleaseEnterNumberRange:pe,pleaseEnterAValueGreaterThanMin:de,pleaseEnterAValueLessThanMax:Fe,numberRangeSetError:ve,stringRangeError:fe,attachmentMaxSize:Ae,pleaseEnterTotalScoreSetting:ge,theTotalScoreMustNotBeLessThan1:Ce,scoreDefaultValueRange:De,attachmentLimitError:be,PleaseReselectTheOptionalQuantity:Se,TheMaximumLengthIsGreaterThanTheMinimumLength:ye,TheMinimumLengthIsGreaterThanTheMaximumLength:Ie,PleaseSelectTheCorrectOptionSettings:Me,optionIdIsRepeat:$e,optionIsRequired:we,pleaseEnterDataCode:_e,pleaseEnterValueFieldCode:xe,pleaseEnterSvcCode:Re,pleaseBindAtLeastOneDisplayValue:Le,pleaseSelectProvince:ke,pleaseSelectCity:Ue,pleaseSelectDistrict:Pe,limitRowsCannotBeLessThan0:Ne,TheNumberOfRowsCannotBeLessThanMinRows:Te,pleaseEnterColumnWidth:Ve,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ge,pleaseCompleteAllRulesAndConditions:ze,pleaseSelectControl:He,pleaseSelectAtLeastOneColumn:qe,pleaseSelectFillBackMode:je,pleaseSelectDashboard:Ke,rootNodeIsRequired:We,theViewNameCannotBeEmpty:Xe,pleaseSelectOcrType:Je,pleaseSelectAtLeastOneFieldToFillIn:Oe,pleaseChooseAtLeastOne:Qe,pleaseEnterButtonContent:Ze,pleaseEnterDataCodeInDataSetting:Ye,pleaseEnterValueFieldCodeInDataSetting:eu,pleaseEnterSvcCodeInDataSetting:uu,pleaseBindAtLeastOneDisplayValueInDataSetting:tu,rootNodeIsRequiredInDataSetting:au,pleaseEnterMaxHeight:nu,pleaseEnter:ru,pleaseEnterWatermark:iu,pleaseEnterFileName:lu,pleaseUploadAtLeastOnePrintTemplate:su,pleaseAssignBusiness:ou,pleaseAssignExternal:cu,pleaseEnterAliasCode:Eu,pleaseSelectDataCode:Bu,pleaseSelectSvcCode:mu,pleaseSelectJoinFieldCode:hu,pleaseSelectMainFieldCode:pu,pleaseSelectSortFieldCode:du},vu="Please enter a number",fu="Please enter a string",Au="Please enter an object",gu="Please enter an array",Cu="Please enter a boolean",Du="{caption} Required",bu="Please enter the title",Su="Please enter the bubble prompt",yu="Please enter the row title",Iu="Please enter the prompt text",Mu="Please bind data items",$u="Please bind the form",wu="Please bind the list",_u="Please bind the process",xu="Please enter the displayed value",Ru="Please enter the stored value",Lu="The document number is not bound to the data item",ku="Please select at least one display field",Uu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Pu="Please enter a value greater than or equal to {min}",Nu="Please enter a value less than or equal to {max}",Tu="The value range is set incorrectly",Vu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Gu="The attachment size must be between 0MB and 1000MB",zu="Please fill in the total score setting",Hu="The total score cannot be less than 1",qu="The default value must be between {min} and {max}",ju="The number of attachments uploaded must be between {min} and {max}",Ku="Please re-select the optional quantity",Wu="The maximum length of the control must be greater than the minimum length",Xu="The minimum length of the control must be less than the maximum length",Ju="Please select the correct option setting",Ou="Option ID cannot be repeated",Qu="Please enter at least one option",Zu="Please bind the data source",Yu="Please bind the stored value",et="Please bind the service",ut="At least one display value must be bound",tt="Please select a province",at="Please select a city",nt="Please select a district",rt="The minimum number of lines to fill in cannot be less than 0",it="The number of rows cannot be less than {min} rows",lt="Please enter the column width",st="Please set the logical relationship of all rule conditions",ot="Please complete all rules and conditions",ct="please select control",Et="Please select the dashboard",Bt="View name cannot be empty",mt="Please select recognition type",ht="Please select at least one field to fill in",pt="Please select at least one",dt="Please enter the button title",Ft="Please bind the business model in the data settings",vt="Please bind storage values in data settings",ft="Please bind the service in the data settings",At="Please bind at least one display value in the data settings",gt="Please select the root node in the data settings",Ct="Please enter the maximum height",Dt="The input content cannot be empty",bt="Watermark cannot be empty",St="File name cannot be empty",yt="Please upload at least one printing template!\uFF01",It="Please select a specific business department",Mt="Please select a specified external organization",$t="Please enter a sub table alias",wt="Please select the associated table to set the business model",_t="Please select the association table to set the binding service",xt="Select associated sub table fields",Rt="Please select the associated main table field",Lt="Please select the sort field",kt={isNotNumber:vu,isNotString:fu,isNotObject:Au,isNotArray:gu,isNotBoolean:Cu,runtimeRequired:Du,pleaseEnterCaption:bu,pleaseEnterCaptionTip:Su,pleaseEnterRowCaption:yu,pleaseEnterPlaceholder:Iu,pleaseEnterFieldCode:Mu,pleaseEnterForm:$u,pleaseEnterList:wu,pleaseEnterProcess:_u,pleaseEnterLabel:xu,pleaseEnterValue:Ru,bizKeyNotBindFiled:Lu,pleaseSelectOneField:ku,pleaseEnterNumberRange:Uu,pleaseEnterAValueGreaterThanMin:Pu,pleaseEnterAValueLessThanMax:Nu,numberRangeSetError:Tu,stringRangeError:Vu,attachmentMaxSize:Gu,pleaseEnterTotalScoreSetting:zu,theTotalScoreMustNotBeLessThan1:Hu,scoreDefaultValueRange:qu,attachmentLimitError:ju,PleaseReselectTheOptionalQuantity:Ku,TheMaximumLengthIsGreaterThanTheMinimumLength:Wu,TheMinimumLengthIsGreaterThanTheMaximumLength:Xu,PleaseSelectTheCorrectOptionSettings:Ju,optionIdIsRepeat:Ou,optionIsRequired:Qu,pleaseEnterDataCode:Zu,pleaseEnterValueFieldCode:Yu,pleaseEnterSvcCode:et,pleaseBindAtLeastOneDisplayValue:ut,pleaseSelectProvince:tt,pleaseSelectCity:at,pleaseSelectDistrict:nt,limitRowsCannotBeLessThan0:rt,TheNumberOfRowsCannotBeLessThanMinRows:it,pleaseEnterColumnWidth:lt,pleaseSetTheLogicalRelationshipOfAllRuleConditions:st,pleaseCompleteAllRulesAndConditions:ot,pleaseSelectControl:ct,pleaseSelectDashboard:Et,theViewNameCannotBeEmpty:Bt,pleaseSelectOcrType:mt,pleaseSelectAtLeastOneFieldToFillIn:ht,pleaseChooseAtLeastOne:pt,pleaseEnterButtonContent:dt,pleaseEnterDataCodeInDataSetting:Ft,pleaseEnterValueFieldCodeInDataSetting:vt,pleaseEnterSvcCodeInDataSetting:ft,pleaseBindAtLeastOneDisplayValueInDataSetting:At,rootNodeIsRequiredInDataSetting:gt,pleaseEnterMaxHeight:Ct,pleaseEnter:Dt,pleaseEnterWatermark:bt,pleaseEnterFileName:St,pleaseUploadAtLeastOnePrintTemplate:yt,pleaseAssignBusiness:It,pleaseAssignExternal:Mt,pleaseEnterAliasCode:$t,pleaseSelectDataCode:wt,pleaseSelectSvcCode:_t,pleaseSelectJoinFieldCode:xt,pleaseSelectMainFieldCode:Rt,pleaseSelectSortFieldCode:Lt},Ut="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tt="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vt="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gt="{caption}\u5FC5\u9808",zt="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ht="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qt="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jt="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xt="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ot="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Zt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Yt="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ea="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ua="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ta="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",aa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",na="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ra="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ia="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",la="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",oa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ca="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ea="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ba="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ma="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ha="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",da="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fa="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",va="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fa="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Aa="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ga="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ca="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Da="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ba="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Sa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ya="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ia="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ma="please select control",$a="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wa="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",_a="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xa="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",La="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ua="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Na="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Va="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ga="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",za="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ha="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",qa="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",ja="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ka="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wa="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xa="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Ja="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Oa="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Qa="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ya={isNotNumber:Ut,isNotString:Pt,isNotObject:Nt,isNotArray:Tt,isNotBoolean:Vt,runtimeRequired:Gt,pleaseEnterCaption:zt,pleaseEnterCaptionTip:Ht,pleaseEnterRowCaption:qt,pleaseEnterPlaceholder:jt,pleaseEnterFieldCode:Kt,pleaseEnterForm:Wt,pleaseEnterList:Xt,pleaseEnterProcess:Jt,pleaseEnterLabel:Ot,pleaseEnterValue:Qt,bizKeyNotBindFiled:Zt,pleaseSelectOneField:Yt,pleaseEnterNumberRange:ea,pleaseEnterAValueGreaterThanMin:ua,pleaseEnterAValueLessThanMax:ta,numberRangeSetError:aa,stringRangeError:na,attachmentMaxSize:ra,pleaseEnterTotalScoreSetting:ia,theTotalScoreMustNotBeLessThan1:la,scoreDefaultValueRange:sa,attachmentLimitError:oa,PleaseReselectTheOptionalQuantity:ca,TheMaximumLengthIsGreaterThanTheMinimumLength:Ea,TheMinimumLengthIsGreaterThanTheMaximumLength:Ba,PleaseSelectTheCorrectOptionSettings:ma,optionIdIsRepeat:ha,optionIsRequired:pa,pleaseEnterDataCode:da,pleaseEnterValueFieldCode:Fa,pleaseEnterSvcCode:va,pleaseBindAtLeastOneDisplayValue:fa,pleaseSelectProvince:Aa,pleaseSelectCity:ga,pleaseSelectDistrict:Ca,limitRowsCannotBeLessThan0:Da,TheNumberOfRowsCannotBeLessThanMinRows:ba,pleaseEnterColumnWidth:Sa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ya,pleaseCompleteAllRulesAndConditions:Ia,pleaseSelectControl:Ma,pleaseSelectDashboard:$a,theViewNameCannotBeEmpty:wa,pleaseSelectOcrType:_a,pleaseSelectAtLeastOneFieldToFillIn:xa,pleaseChooseAtLeastOne:Ra,pleaseEnterButtonContent:La,pleaseEnterDataCodeInDataSetting:ka,pleaseEnterValueFieldCodeInDataSetting:Ua,pleaseEnterSvcCodeInDataSetting:Pa,pleaseBindAtLeastOneDisplayValueInDataSetting:Na,rootNodeIsRequiredInDataSetting:Ta,pleaseEnterMaxHeight:Va,pleaseEnter:Ga,pleaseEnterWatermark:za,pleaseEnterFileName:Ha,pleaseUploadAtLeastOnePrintTemplate:qa,pleaseAssignBusiness:ja,pleaseAssignExternal:Ka,pleaseEnterAliasCode:Wa,pleaseSelectDataCode:Xa,pleaseSelectSvcCode:Ja,pleaseSelectJoinFieldCode:Oa,pleaseSelectMainFieldCode:Qa,pleaseSelectSortFieldCode:Za},en={zhCN:Fu,enUS:kt,jaJP:Ya},$;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})($||($={}));var w;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(w||(w={}));var un="zh-CN",tn=function(){};function B(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var _;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(_||(_={}));var x;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.GRID_LAYOUT_CONTAINER="grid-layout-container",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(x||(x={}));var R;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(R||(R={}));var E;E={},B(E,"array","array-column"),B(E,"auto_number","auto-number-column"),B(E,"decimal","decimal-column"),B(E,"department","department-column"),B(E,"file","file-column"),B(E,"image","image-column"),B(E,"location","location-column"),B(E,"people","employee-column"),B(E,"text","text-column"),B(E,"timescope","timescope-column"),B(E,"timestamp","timestamp-column"),B(E,"varchar","varchar-column"),B(E,"relation","varchar-column");var L;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(L||(L={}));function an(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function g(e,u,t){return k()?g=Reflect.construct:g=function(n,s,h){var m=[null];m.push.apply(m,s);var F=Function.bind.apply(n,m),C=new F;return h&&f(C,h.prototype),C},g.apply(null,arguments)}function v(e){return v=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},v(e)}function rn(e,u){if(typeof u!="function"&&u!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(u&&u.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),u&&f(e,u)}function ln(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function sn(e,u){return u&&(on(u)==="object"||typeof u=="function")?u:an(e)}function f(e,u){return f=Object.setPrototypeOf||function(a,n){return a.__proto__=n,a},f(e,u)}function on(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e}function S(e){var u=typeof Map=="function"?new Map:void 0;return S=function(a){if(a===null||!ln(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof u!="undefined"){if(u.has(a))return u.get(a);u.set(a,n)}function n(){return g(a,arguments,v(this).constructor)}return n.prototype=Object.create(a.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),f(n,a)},S(e)}function k(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function cn(e){var u=k();return function(){var a=v(e),n;if(u){var s=v(this).constructor;n=Reflect.construct(a,arguments,s)}else n=a.apply(this,arguments);return sn(this,n)}}function En(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Bn=function(e){rn(t,e);var u=cn(t);function t(a){nn(this,t);var n;return n=u.call(this,a),n.name="\u{1F4A5} Driven Error",n.message=a?En(a):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",n}return t}(S(Error));function mn(e){throw new Bn(e)}var hn=Object.prototype.toString;function U(e,u){return hn.call(e)==="[object "+u+"]"}function pn(e){return U(e,"String")}function dn(e){return U(e,"Promise")}var Fn=function(){function e(u){var t,a;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((a=(t=u.messages)!==null&&t!==void 0?t:this.getPreImport(u.locale))!==null&&a!==void 0?a:{}),u.variableRegExp&&(this.variableRegExp=u.variableRegExp),this.setLocale(u.locale)}return e.prototype.setLocale=function(u){var t=this;this.locale=u,this._messageCache.clear();var a=this.getMessageData();dn(a)?a.then(function(n){t._messageCache.clear(),t.messages[t.localeInMessageKey]=n}):this.messages[this.localeInMessageKey]=a},e.prototype.getMessageData=function(){var u=this._messages[this.localeInMessageKey];return typeof u=="function"?u():u},e.prototype.translate=function(u,t,a){var n=this.getMessage(u);return n?this.formatMessage(n,a):this.formatMessage(t,a)},e.prototype.getMessage=function(u){if(this._messageCache.has(u))return this._messageCache.get(u);var t=this.getPathArray(u),a=t.reduce(function(n,s,h,m){if(n!==void 0){var F=n[s];if(!(h===m.length-1&&!pn(F)))return F}},this.message);return this._messageCache.set(u,a),a},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(a,n){var s=t[n];return s!==void 0?String(s):a}):u},e.prototype.getPreImport=function(u){var t;if(window.okI18nPreImport){var a=this.getLocaleInMessageKey(u);return window.okI18nPreImport.hasOwnProperty(a)?window.okI18nPreImport:(t={},t[a]=window.okI18nPreImport,t)}},e.prototype.getPathArray=function(u){return u.split(".")},e.prototype.getLocaleInMessageKey=function(u){return u.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var u;return(u=this.messages[this.localeInMessageKey])!==null&&u!==void 0?u:{}},enumerable:!1,configurable:!0}),e}();function vn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function P(e,u){for(var t=0;t<u.length;t++){var a=u[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function fn(e,u,t){return u&&P(e.prototype,u),t&&P(e,t),e}function An(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var N=function(){function e(){vn(this,e)}return fn(e,null,[{key:"getMessage",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(t,"",a)}},{key:"resetI18n",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:un;return new Fn({locale:t,messages:en})}},{key:"setLocale",value:function(t){return this.$i18n.setLocale(t)}}]),e}();An(N,"$i18n",N.resetI18n());var gn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Cn={exports:{}};(function(e){(function(u){var t=function(r,i,p){if(!C(i)||Gn(i)||zn(i)||Hn(i)||F(i))return i;var d,A=0,X=0;if(Vn(i))for(d=[],X=i.length;A<X;A++)d.push(t(r,i[A],p));else{d={};for(var M in i)Object.prototype.hasOwnProperty.call(i,M)&&(d[r(M,p)]=t(r,i[M],p))}return d},a=function(r,i){i=i||{};var p=i.separator||"_",d=i.split||/(?=[A-Z])/;return r.split(d).join(p)},n=function(r){return qn(r)?r:(r=r.replace(/[\-_\s]+(.)?/g,function(i,p){return p?p.toUpperCase():""}),r.substr(0,1).toLowerCase()+r.substr(1))},s=function(r){var i=n(r);return i.substr(0,1).toUpperCase()+i.substr(1)},h=function(r,i){return a(r,i).toLowerCase()},m=Object.prototype.toString,F=function(r){return typeof r=="function"},C=function(r){return r===Object(r)},Vn=function(r){return m.call(r)=="[object Array]"},Gn=function(r){return m.call(r)=="[object Date]"},zn=function(r){return m.call(r)=="[object RegExp]"},Hn=function(r){return m.call(r)=="[object Boolean]"},qn=function(r){return r=r-0,r===r},I=function(r,i){var p=i&&"process"in i?i.process:i;return typeof p!="function"?r:function(d,A){return p(d,r,A)}},W={camelize:n,decamelize:h,pascalize:s,depascalize:h,camelizeKeys:function(r,i){return t(I(n,i),r)},decamelizeKeys:function(r,i){return t(I(h,i),r,i)},pascalizeKeys:function(r,i){return t(I(s,i),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=W:u.humps=W})(gn)})(Cn);var T={};Object.defineProperty(T,"__esModule",{value:!0});function y(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:y(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:y(a)}return u}}T.default=y;function V(e){return Object.prototype.toString.call(e)==="[object Object]"}function Dn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function G(e,u){for(var t=0;t<u.length;t++){var a=u[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function bn(e,u,t){return u&&G(e.prototype,u),t&&G(e,t),e}function Sn(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var yn=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],In=function(){function e(){Dn(this,e)}return bn(e,[{key:"getEventsFromKeys",value:function(t){var a=typeof t=="string"?[t]:t;return e.events.filter(function(n){return a.includes(n.key)})}}]),e}();Sn(In,"events",yn);class z{constructor(u){var t,a,n;this.type=u.type,this.label=u.label,this.key=u.key,this.component=u.component,this.effect=(t=u.effect)!=null?t:{},this.scopeEffect=(a=u.scopeEffect)!=null?a:tn,this.defaultValue=u.defaultValue,this.validator=u.validator,this.props=(n=u.props)!=null?n:new o,this.effectKeys=Object.keys(this.effect)}filterEffects(u){return u===""?Object.values(this.effect):this.effectKeys.filter(t=>new RegExp(`^${t}(\\.\\w+)*$`).test(u)).map(t=>this.effect[t])}callEffectFn(u,t){try{const a=u.apply(null,t);V(a)&&Object.assign(this.props,a)}catch(a){mn(`effect error
2
+ ${a}`)}}callEffect(u,...t){this.filterEffects(u).forEach(a=>this.callEffectFn(a,t))}callScopeEffect(...u){this.callEffectFn(this.scopeEffect,u)}}class H{constructor(u){var t,a;this.type="group",this.title=(t=u.title)!=null?t:"",this.required=(a=u.required)!=null?a:!1,this.items=u.items,this.tips=u.tips,this.visible=u.items.some(n=>{var s;return(s=n.props)==null?void 0:s.visible})}}function q(e){return"type"in e&&e.type==="tab"}class j{constructor(u){this.type="tab",this.title=u.title,this.items=u.items}}class Mn extends o{constructor(u){super(u),V(u)&&Object.entries(u).forEach(([t,a])=>{this[t]=a})}}class $n extends o{constructor(u){var t,a,n,s;super(u),this.maxLength=(t=u==null?void 0:u.maxLength)!=null?t:"",this.minLength=(a=u==null?void 0:u.minLength)!=null?a:"",this.placeholder=(n=u==null?void 0:u.placeholder)!=null?n:"",this.i18n=(s=u==null?void 0:u.i18n)!=null?s:!1}}class wn extends o{constructor(u){var t,a,n;super(u),this.max=(t=u==null?void 0:u.max)!=null?t:"",this.min=(a=u==null?void 0:u.min)!=null?a:"",this.placeholder=(n=u==null?void 0:u.placeholder)!=null?n:""}}class _n extends o{constructor(u){var t,a,n;super(u),this.showType=(t=u==null?void 0:u.showType)!=null?t:"switch",this.tips=(a=u==null?void 0:u.tips)!=null?a:"",this.disabled=(n=u==null?void 0:u.disabled)!=null?n:!1}}class xn extends o{constructor(u){var t;super(u),this.options=(t=u==null?void 0:u.options)!=null?t:[]}}class Rn extends o{constructor(u){var t,a;super(u),this.placeholder=(t=u==null?void 0:u.placeholder)!=null?t:"",this.options=(a=u==null?void 0:u.options)!=null?a:[]}}class Ln extends o{constructor(u){var t,a;super(u),this.options=(t=u==null?void 0:u.options)!=null?t:[],this.showType=(a=u==null?void 0:u.showType)!=null?a:"outline"}}class kn extends o{constructor(u){var t,a,n,s,h,m;super(u),this.maxLength=(t=u==null?void 0:u.maxLength)!=null?t:"",this.minLength=(a=u==null?void 0:u.minLength)!=null?a:"",this.placeholder=(n=u==null?void 0:u.placeholder)!=null?n:"",this.maxRows=(s=u==null?void 0:u.maxRows)!=null?s:"",this.minRows=(h=u==null?void 0:u.minRows)!=null?h:"",this.i18n=(m=u==null?void 0:u.i18n)!=null?m:!1}}function Un(e,u){switch(e){case"input":return new $n(u);case"textarea":return new kn(u);case"input-number":return new wn(u);case"switch":return new _n(u);case"radio":return new Ln(u);case"checkbox":return new xn(u);case"select":return new Rn(u);default:return new Mn(u)}}function Pn(e){return function(u){const t=e.get(u);if(!!t)return new z(b(D({},t),{props:Un(t.component,"props"in t?t.props:void 0)}))}}function Nn(e){const u=e.fields.reduce((n,s)=>(n.set(s.key,s),n),new Map);function t(n){return new H(b(D({},n),{items:n.items.map(Pn(u)).filter(Boolean)}))}function a(n){return n.map(t)}return e.groups.map(n=>q(n)?new j(b(D({},n),{items:a(n.items)})):t(n))}function K(){return[{label:"\u9690\u85CF",key:"isHide",type:"boolean",component:"switch"},{key:"superSetting",component:"super-setting"},{key:"style.width",component:"styleComponent",props:{configKey:"style.widthConfig",options:["px","%","fill","hug"]},scopeEffect(e,u){const{oldParent:t,newParent:a,instance:n}=u;if((t==null?void 0:t.type)==="advanced-container"&&a.type==="positioning-container"&&(e.setInstance(n,"style.width",""),e.setInstance(n,"style.widthConfig","fill")),a)return{visible:a.type==="advanced-container"}}},{key:"style.height",component:"styleComponent",props:{configKey:"style.heightConfig",options:["px","%","fill","hug"]},scopeEffect(e,u){const{oldParent:t,newParent:a,instance:n}=u;if((t==null?void 0:t.type)==="advanced-container"&&a.type==="positioning-container"&&(e.setInstance(n,"style.height",""),e.setInstance(n,"style.heightConfig","fill")),u.newParent)return{visible:u.newParent.type==="advanced-container"}}}]}function Tn(e){return[...K(),{type:"DataBind",key:"dataBind",component:"data-bind",defaultValue:e==null?void 0:e.dataBind},{key:"caption",type:"string",component:"input",props:{maxLength:80,i18n:!0},defaultValue:e==null?void 0:e.caption,validator(u){if(!u)return"\u6807\u9898\u5FC5\u586B"}},{label:"\u9690\u85CF\u6807\u9898",key:"isHideCaption",type:"boolean",component:"switch",defaultValue:e==null?void 0:e.isHideCaption,props:{showType:"checkbox"},scopeEffect(u,t){var a,n;if(((a=t.current)==null?void 0:a.type)!==((n=t.from)==null?void 0:n.type))return t.current.type==="subtable"&&u.setInstance(t.control,"isHideCaption",!0),{visible:t.current.type!=="subtable"}}},{key:"labelPosition",type:"string",component:"radio",defaultValue:e==null?void 0:e.labelPosition,props:{showType:"solid",options:[{label:"\u4E0A\u4E0B\u5E03\u5C40",value:"top"},{label:"\u5DE6\u53F3\u5E03\u5C40",value:"left"}]}},{key:"defaultState",type:"string",component:"radio",defaultValue:e==null?void 0:e.defaultState,props:{showType:"solid",options:[{label:"\u666E\u901A",value:"default"},{label:"\u53EA\u8BFB",value:"readonly"}]}},{label:"\u5FC5\u586B",key:"required",type:"boolean",component:"switch",defaultValue:e==null?void 0:e.required},{label:"\u63D0\u793A\u6587\u5B57",key:"placeholder",type:"string",component:"input",defaultValue:e==null?void 0:e.placeholder,props:{maxLength:80,i18n:!0}}]}l.Group=H,l.Setting=z,l.Tab=j,l.createBaseFields=K,l.createFormBaseFields=Tn,l.defineInstance=c,l.initSettings=Nn,l.isTabSchema=q,Object.defineProperty(l,"__esModule",{value:!0})});
@@ -7,6 +7,11 @@ export declare class BaseProps {
7
7
  * 开启表达式
8
8
  * */
9
9
  expression: boolean;
10
+ /**
11
+ *
12
+ * 是否改变父属性
13
+ */
14
+ updateParent: boolean;
10
15
  constructor(props?: Partial<BaseProps>);
11
16
  get isAtomicComponent(): boolean;
12
17
  }
@@ -12,6 +12,7 @@ export declare class Group {
12
12
  items: Setting[];
13
13
  tips?: string;
14
14
  fromId?: string;
15
+ visible?: boolean;
15
16
  constructor(schema: Omit<GroupSchema, 'items'> & {
16
17
  items: Setting[];
17
18
  });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-settings",
3
- "version": "2.7.0-beta",
3
+ "version": "2.8.0-alpha.1",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,9 +26,9 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-core": "2.7.0-beta",
30
- "@byteluck-fe/model-driven-shared": "2.5.0-beta.9",
29
+ "@byteluck-fe/model-driven-core": "2.8.0-alpha.1",
30
+ "@byteluck-fe/model-driven-shared": "2.7.0-alpha.36",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
- "gitHead": "6d0dc842f3ea76fd922bc72fc4c2e66e86f9890e"
33
+ "gitHead": "27f083b7b2759db550931017aec897e0740957dd"
34
34
  }