@byteluck-fe/model-driven-settings 2.7.0-alpha.2 → 2.7.0-alpha.4

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.
@@ -17,10 +17,29 @@ function _createClass(Constructor, protoProps, staticProps) {
17
17
  if (staticProps) _defineProperties(Constructor, staticProps);
18
18
  return Constructor;
19
19
  }
20
+ function _defineProperty(obj, key, value) {
21
+ if (key in obj) {
22
+ Object.defineProperty(obj, key, {
23
+ value: value,
24
+ enumerable: true,
25
+ configurable: true,
26
+ writable: true
27
+ });
28
+ } else {
29
+ obj[key] = value;
30
+ }
31
+ return obj;
32
+ }
20
33
  export var BaseProps = /*#__PURE__*/ function() {
21
34
  "use strict";
22
35
  function BaseProps(props) {
23
36
  _classCallCheck(this, BaseProps);
37
+ /**
38
+ * 显示隐藏
39
+ * */ _defineProperty(this, "visible", void 0);
40
+ /**
41
+ * 开启表达式
42
+ * */ _defineProperty(this, "expression", void 0);
24
43
  var _props_visible;
25
44
  this.visible = (_props_visible = props === null || props === void 0 ? void 0 : props.visible) !== null && _props_visible !== void 0 ? _props_visible : true;
26
45
  var _props_expression;
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
+ function _defineProperty(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
12
25
  function _getPrototypeOf(o) {
13
26
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -78,6 +91,7 @@ export var CheckboxProps = /*#__PURE__*/ function(BaseProps) {
78
91
  _classCallCheck(this, CheckboxProps);
79
92
  var _this;
80
93
  _this = _super.call(this, props);
94
+ _defineProperty(_assertThisInitialized(_this), "options", void 0);
81
95
  var _props_options;
82
96
  _this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
83
97
  return _this;
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
+ function _defineProperty(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
12
25
  function _getPrototypeOf(o) {
13
26
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -78,6 +91,9 @@ export var InputNumberProps = /*#__PURE__*/ function(BaseProps) {
78
91
  _classCallCheck(this, InputNumberProps);
79
92
  var _this;
80
93
  _this = _super.call(this, props);
94
+ _defineProperty(_assertThisInitialized(_this), "max", void 0);
95
+ _defineProperty(_assertThisInitialized(_this), "min", void 0);
96
+ _defineProperty(_assertThisInitialized(_this), "placeholder", void 0);
81
97
  var _props_max;
82
98
  _this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
83
99
  var _props_min;
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
+ function _defineProperty(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
12
25
  function _getPrototypeOf(o) {
13
26
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -78,6 +91,10 @@ export var InputProps = /*#__PURE__*/ function(BaseProps) {
78
91
  _classCallCheck(this, InputProps);
79
92
  var _this;
80
93
  _this = _super.call(this, props);
94
+ _defineProperty(_assertThisInitialized(_this), "maxLength", void 0);
95
+ _defineProperty(_assertThisInitialized(_this), "minLength", void 0);
96
+ _defineProperty(_assertThisInitialized(_this), "placeholder", void 0);
97
+ _defineProperty(_assertThisInitialized(_this), "i18n", void 0);
81
98
  var _props_maxLength;
82
99
  _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : "";
83
100
  var _props_minLength;
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
+ function _defineProperty(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
12
25
  function _getPrototypeOf(o) {
13
26
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -78,6 +91,8 @@ export var RadioProps = /*#__PURE__*/ function(BaseProps) {
78
91
  _classCallCheck(this, RadioProps);
79
92
  var _this;
80
93
  _this = _super.call(this, props);
94
+ _defineProperty(_assertThisInitialized(_this), "options", void 0);
95
+ _defineProperty(_assertThisInitialized(_this), "showType", void 0);
81
96
  var _props_options;
82
97
  _this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
83
98
  var _props_showType;
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
+ function _defineProperty(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
12
25
  function _getPrototypeOf(o) {
13
26
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -78,6 +91,8 @@ export var SelectProps = /*#__PURE__*/ function(BaseProps) {
78
91
  _classCallCheck(this, SelectProps);
79
92
  var _this;
80
93
  _this = _super.call(this, props);
94
+ _defineProperty(_assertThisInitialized(_this), "placeholder", void 0);
95
+ _defineProperty(_assertThisInitialized(_this), "options", void 0);
81
96
  var _props_placeholder;
82
97
  _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
83
98
  var _props_options;
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
+ function _defineProperty(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
12
25
  function _getPrototypeOf(o) {
13
26
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -78,6 +91,9 @@ export var SwitchProps = /*#__PURE__*/ function(BaseProps) {
78
91
  _classCallCheck(this, SwitchProps);
79
92
  var _this;
80
93
  _this = _super.call(this, props);
94
+ _defineProperty(_assertThisInitialized(_this), "showType", void 0);
95
+ _defineProperty(_assertThisInitialized(_this), "tips", void 0);
96
+ _defineProperty(_assertThisInitialized(_this), "disabled", void 0);
81
97
  var _props_showType;
82
98
  _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "switch";
83
99
  var _props_tips;
@@ -9,6 +9,19 @@ function _classCallCheck(instance, Constructor) {
9
9
  throw new TypeError("Cannot call a class as a function");
10
10
  }
11
11
  }
12
+ function _defineProperty(obj, key, value) {
13
+ if (key in obj) {
14
+ Object.defineProperty(obj, key, {
15
+ value: value,
16
+ enumerable: true,
17
+ configurable: true,
18
+ writable: true
19
+ });
20
+ } else {
21
+ obj[key] = value;
22
+ }
23
+ return obj;
24
+ }
12
25
  function _getPrototypeOf(o) {
13
26
  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {
14
27
  return o.__proto__ || Object.getPrototypeOf(o);
@@ -78,6 +91,12 @@ export var TextareaProps = /*#__PURE__*/ function(BaseProps) {
78
91
  _classCallCheck(this, TextareaProps);
79
92
  var _this;
80
93
  _this = _super.call(this, props);
94
+ _defineProperty(_assertThisInitialized(_this), "maxLength", void 0);
95
+ _defineProperty(_assertThisInitialized(_this), "minLength", void 0);
96
+ _defineProperty(_assertThisInitialized(_this), "placeholder", void 0);
97
+ _defineProperty(_assertThisInitialized(_this), "i18n", void 0);
98
+ _defineProperty(_assertThisInitialized(_this), "maxRows", void 0);
99
+ _defineProperty(_assertThisInitialized(_this), "minRows", void 0);
81
100
  var _props_maxLength;
82
101
  _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : "";
83
102
  var _props_minLength;
@@ -3,10 +3,28 @@ function _classCallCheck(instance, Constructor) {
3
3
  throw new TypeError("Cannot call a class as a function");
4
4
  }
5
5
  }
6
+ function _defineProperty(obj, key, value) {
7
+ if (key in obj) {
8
+ Object.defineProperty(obj, key, {
9
+ value: value,
10
+ enumerable: true,
11
+ configurable: true,
12
+ writable: true
13
+ });
14
+ } else {
15
+ obj[key] = value;
16
+ }
17
+ return obj;
18
+ }
6
19
  export var Group = function Group(schema) {
7
20
  "use strict";
8
21
  _classCallCheck(this, Group);
9
- this.type = "group";
22
+ _defineProperty(this, "type", "group");
23
+ _defineProperty(this, "title", void 0);
24
+ _defineProperty(this, "required", void 0);
25
+ _defineProperty(this, "items", void 0);
26
+ _defineProperty(this, "tips", void 0);
27
+ _defineProperty(this, "fromId", void 0);
10
28
  var _schema_title;
11
29
  this.title = (_schema_title = schema.title) !== null && _schema_title !== void 0 ? _schema_title : "";
12
30
  var _schema_required;
@@ -3,12 +3,49 @@ function _classCallCheck(instance, Constructor) {
3
3
  throw new TypeError("Cannot call a class as a function");
4
4
  }
5
5
  }
6
+ function _defineProperties(target, props) {
7
+ for(var i = 0; i < props.length; i++){
8
+ var descriptor = props[i];
9
+ descriptor.enumerable = descriptor.enumerable || false;
10
+ descriptor.configurable = true;
11
+ if ("value" in descriptor) descriptor.writable = true;
12
+ Object.defineProperty(target, descriptor.key, descriptor);
13
+ }
14
+ }
15
+ function _createClass(Constructor, protoProps, staticProps) {
16
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
17
+ if (staticProps) _defineProperties(Constructor, staticProps);
18
+ return Constructor;
19
+ }
20
+ function _defineProperty(obj, key, value) {
21
+ if (key in obj) {
22
+ Object.defineProperty(obj, key, {
23
+ value: value,
24
+ enumerable: true,
25
+ configurable: true,
26
+ writable: true
27
+ });
28
+ } else {
29
+ obj[key] = value;
30
+ }
31
+ return obj;
32
+ }
6
33
  import { BaseProps } from "../props/base";
7
34
  import { error, isPlainObject, noop } from "@byteluck-fe/model-driven-shared";
8
35
  export var Setting = /*#__PURE__*/ function() {
9
36
  "use strict";
10
37
  function Setting(schema) {
11
38
  _classCallCheck(this, Setting);
39
+ _defineProperty(this, "type", void 0);
40
+ _defineProperty(this, "label", void 0);
41
+ _defineProperty(this, "key", void 0);
42
+ _defineProperty(this, "component", void 0);
43
+ _defineProperty(this, "effect", void 0);
44
+ _defineProperty(this, "scopeEffect", void 0);
45
+ _defineProperty(this, "defaultValue", void 0);
46
+ _defineProperty(this, "validator", void 0);
47
+ _defineProperty(this, "props", void 0);
48
+ _defineProperty(this, "effectKeys", void 0);
12
49
  this.type = schema.type;
13
50
  this.label = schema.label;
14
51
  this.key = schema.key;
@@ -24,46 +61,59 @@ export var Setting = /*#__PURE__*/ function() {
24
61
  // private init
25
62
  this.effectKeys = Object.keys(this.effect);
26
63
  }
27
- var _proto = Setting.prototype;
28
- _proto.filterEffects = function filterEffects(effectKey) {
29
- var _this = this;
30
- if (effectKey === "") {
31
- return Object.values(this.effect);
32
- }
33
- return this.effectKeys.filter(function(key) {
34
- // 触发规则:effectKeys => effectFns
35
- // dataBind => dataBind
36
- // dataBind.fieldCode => dataBind、dataBind.fieldCode
37
- var regexp = new RegExp("^".concat(key, "(\\.\\w+)*$"));
38
- return regexp.test(effectKey);
39
- }).map(function(key) {
40
- return _this.effect[key];
41
- });
42
- };
43
- _proto.callEffectFn = function callEffectFn(effectFn, args) {
44
- try {
45
- var result = effectFn.apply(null, args);
46
- if (isPlainObject(result)) {
47
- Object.assign(this.props, result);
64
+ _createClass(Setting, [
65
+ {
66
+ key: "filterEffects",
67
+ value: function filterEffects(effectKey) {
68
+ var _this = this;
69
+ if (effectKey === "") {
70
+ return Object.values(this.effect);
71
+ }
72
+ return this.effectKeys.filter(function(key) {
73
+ // 触发规则:effectKeys => effectFns
74
+ // dataBind => dataBind
75
+ // dataBind.fieldCode => dataBind、dataBind.fieldCode
76
+ var regexp = new RegExp("^".concat(key, "(\\.\\w+)*$"));
77
+ return regexp.test(effectKey);
78
+ }).map(function(key) {
79
+ return _this.effect[key];
80
+ });
81
+ }
82
+ },
83
+ {
84
+ key: "callEffectFn",
85
+ value: function callEffectFn(effectFn, args) {
86
+ try {
87
+ var result = effectFn.apply(null, args);
88
+ if (isPlainObject(result)) {
89
+ Object.assign(this.props, result);
90
+ }
91
+ } catch (e) {
92
+ error("effect error \n ".concat(e));
93
+ }
94
+ }
95
+ },
96
+ {
97
+ key: "callEffect",
98
+ value: function callEffect(effectKey) {
99
+ for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
100
+ args[_key - 1] = arguments[_key];
101
+ }
102
+ var _this = this;
103
+ this.filterEffects(effectKey).forEach(function(fn) {
104
+ return _this.callEffectFn(fn, args);
105
+ });
106
+ }
107
+ },
108
+ {
109
+ key: "callScopeEffect",
110
+ value: function callScopeEffect() {
111
+ for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
112
+ args[_key] = arguments[_key];
113
+ }
114
+ this.callEffectFn(this.scopeEffect, args);
48
115
  }
49
- } catch (e) {
50
- error("effect error \n ".concat(e));
51
- }
52
- };
53
- _proto.callEffect = function callEffect(effectKey) {
54
- for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
55
- args[_key - 1] = arguments[_key];
56
- }
57
- var _this = this;
58
- this.filterEffects(effectKey).forEach(function(fn) {
59
- return _this.callEffectFn(fn, args);
60
- });
61
- };
62
- _proto.callScopeEffect = function callScopeEffect() {
63
- for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
64
- args[_key] = arguments[_key];
65
116
  }
66
- this.callEffectFn(this.scopeEffect, args);
67
- };
117
+ ]);
68
118
  return Setting;
69
119
  }();
@@ -3,13 +3,28 @@ function _classCallCheck(instance, Constructor) {
3
3
  throw new TypeError("Cannot call a class as a function");
4
4
  }
5
5
  }
6
+ function _defineProperty(obj, key, value) {
7
+ if (key in obj) {
8
+ Object.defineProperty(obj, key, {
9
+ value: value,
10
+ enumerable: true,
11
+ configurable: true,
12
+ writable: true
13
+ });
14
+ } else {
15
+ obj[key] = value;
16
+ }
17
+ return obj;
18
+ }
6
19
  export function isTabSchema(schema) {
7
20
  return "type" in schema && schema.type === "tab";
8
21
  }
9
22
  export var Tab = function Tab(schema) {
10
23
  "use strict";
11
24
  _classCallCheck(this, Tab);
12
- this.type = "tab";
25
+ _defineProperty(this, "type", "tab");
26
+ _defineProperty(this, "title", void 0);
27
+ _defineProperty(this, "items", void 0);
13
28
  this.title = schema.title;
14
29
  this.items = schema.items;
15
30
  };
package/dist/index.umd.js CHANGED
@@ -1,2 +1,2 @@
1
- var va=Object.defineProperty,da=Object.defineProperties;var ga=Object.getOwnPropertyDescriptors;var K=Object.getOwnPropertySymbols;var Ca=Object.prototype.hasOwnProperty,Da=Object.prototype.propertyIsEnumerable;var W=(c,B,E)=>B in c?va(c,B,{enumerable:!0,configurable:!0,writable:!0,value:E}):c[B]=E,I=(c,B)=>{for(var E in B||(B={}))Ca.call(B,E)&&W(c,E,B[E]);if(K)for(var E of K(B))Da.call(B,E)&&W(c,E,B[E]);return c},y=(c,B)=>da(c,ga(B));(function(c,B){typeof exports=="object"&&typeof module!="undefined"?B(exports):typeof define=="function"&&define.amd?define(["exports"],B):(c=typeof globalThis!="undefined"?globalThis:c||self,B(c.modelDrivenSettings={}))})(this,function(c){"use strict";function B(e){return e}class E{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 X="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",J="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Q="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Y="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ee="{caption}\u5FC5\u586B",ue="\u8BF7\u8F93\u5165\u6807\u9898",te="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ne="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ae="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",re="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ie="\u8BF7\u7ED1\u5B9A\u8868\u5355",le="\u8BF7\u7ED1\u5B9A\u5217\u8868",se="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",oe="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ce="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ee="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Be="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",he="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ae="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",pe="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Fe="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",me="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",fe="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",ve="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",de="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ge="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ce="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",De="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",be="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Se="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ie="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ye="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Me="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",$e="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",we="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Re="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Le="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xe="\u8BF7\u9009\u62E9\u7701",Ue="\u8BF7\u9009\u62E9\u5E02",Ne="\u8BF7\u9009\u62E9\u533A",_e="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Te="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Pe="\u8BF7\u8F93\u5165\u5217\u5BBD",Ve="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ke="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ge="\u8BF7\u9009\u62E9\u63A7\u4EF6",He="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ze="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",je="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Oe="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",qe="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ke="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",We="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Xe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Je="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Qe="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ze="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ye="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",uu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",tu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",nu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",au="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ru="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",iu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",lu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",su="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ou={isNotNumber:X,isNotString:J,isNotObject:Q,isNotArray:Z,isNotBoolean:Y,runtimeRequired:ee,pleaseEnterCaption:ue,pleaseEnterCaptionTip:te,pleaseEnterRowCaption:ne,pleaseEnterPlaceholder:ae,pleaseEnterFieldCode:re,pleaseEnterForm:ie,pleaseEnterList:le,pleaseEnterProcess:se,pleaseEnterLabel:oe,pleaseEnterValue:ce,bizKeyNotBindFiled:Ee,pleaseSelectOneField:Be,pleaseEnterNumberRange:he,pleaseEnterAValueGreaterThanMin:Ae,pleaseEnterAValueLessThanMax:pe,numberRangeSetError:Fe,stringRangeError:me,attachmentMaxSize:fe,pleaseEnterTotalScoreSetting:ve,theTotalScoreMustNotBeLessThan1:de,scoreDefaultValueRange:ge,attachmentLimitError:Ce,PleaseReselectTheOptionalQuantity:De,TheMaximumLengthIsGreaterThanTheMinimumLength:be,TheMinimumLengthIsGreaterThanTheMaximumLength:Se,PleaseSelectTheCorrectOptionSettings:Ie,optionIdIsRepeat:ye,optionIsRequired:Me,pleaseEnterDataCode:$e,pleaseEnterValueFieldCode:we,pleaseEnterSvcCode:Re,pleaseBindAtLeastOneDisplayValue:Le,pleaseSelectProvince:xe,pleaseSelectCity:Ue,pleaseSelectDistrict:Ne,limitRowsCannotBeLessThan0:_e,TheNumberOfRowsCannotBeLessThanMinRows:Te,pleaseEnterColumnWidth:Pe,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ve,pleaseCompleteAllRulesAndConditions:ke,pleaseSelectControl:Ge,pleaseSelectAtLeastOneColumn:He,pleaseSelectFillBackMode:ze,pleaseSelectDashboard:je,rootNodeIsRequired:Oe,theViewNameCannotBeEmpty:qe,pleaseSelectOcrType:Ke,pleaseSelectAtLeastOneFieldToFillIn:We,pleaseChooseAtLeastOne:Xe,pleaseEnterButtonContent:Je,pleaseEnterDataCodeInDataSetting:Qe,pleaseEnterValueFieldCodeInDataSetting:Ze,pleaseEnterSvcCodeInDataSetting:Ye,pleaseBindAtLeastOneDisplayValueInDataSetting:eu,rootNodeIsRequiredInDataSetting:uu,pleaseEnterMaxHeight:tu,pleaseEnter:nu,pleaseEnterWatermark:au,pleaseEnterFileName:ru,pleaseUploadAtLeastOnePrintTemplate:iu,pleaseAssignBusiness:lu,pleaseAssignExternal:su},cu="Please enter a number",Eu="Please enter a string",Bu="Please enter an object",hu="Please enter an array",Au="Please enter a boolean",pu="{caption} Required",Fu="Please enter the title",mu="Please enter the bubble prompt",fu="Please enter the row title",vu="Please enter the prompt text",du="Please bind data items",gu="Please bind the form",Cu="Please bind the list",Du="Please bind the process",bu="Please enter the displayed value",Su="Please enter the stored value",Iu="The document number is not bound to the data item",yu="Please select at least one display field",Mu="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}",wu="Please enter a value less than or equal to {max}",Ru="The value range is set incorrectly",Lu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",xu="The attachment size must be between 0MB and 1000MB",Uu="Please fill in the total score setting",Nu="The total score cannot be less than 1",_u="The default value must be between {min} and {max}",Tu="The number of attachments uploaded must be between {min} and {max}",Pu="Please re-select the optional quantity",Vu="The maximum length of the control must be greater than the minimum length",ku="The minimum length of the control must be less than the maximum length",Gu="Please select the correct option setting",Hu="Option ID cannot be repeated",zu="Please enter at least one option",ju="Please bind the data source",Ou="Please bind the stored value",qu="Please bind the service",Ku="At least one display value must be bound",Wu="Please select a province",Xu="Please select a city",Ju="Please select a district",Qu="The minimum number of lines to fill in cannot be less than 0",Zu="The number of rows cannot be less than {min} rows",Yu="Please enter the column width",et="Please set the logical relationship of all rule conditions",ut="Please complete all rules and conditions",tt="please select control",nt="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",at="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",rt="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",it="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",lt="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",st="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ot="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ct="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Et="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Bt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ht="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",At="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pt="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ft="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",mt="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ft="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",vt="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",dt="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",gt={isNotNumber:cu,isNotString:Eu,isNotObject:Bu,isNotArray:hu,isNotBoolean:Au,runtimeRequired:pu,pleaseEnterCaption:Fu,pleaseEnterCaptionTip:mu,pleaseEnterRowCaption:fu,pleaseEnterPlaceholder:vu,pleaseEnterFieldCode:du,pleaseEnterForm:gu,pleaseEnterList:Cu,pleaseEnterProcess:Du,pleaseEnterLabel:bu,pleaseEnterValue:Su,bizKeyNotBindFiled:Iu,pleaseSelectOneField:yu,pleaseEnterNumberRange:Mu,pleaseEnterAValueGreaterThanMin:$u,pleaseEnterAValueLessThanMax:wu,numberRangeSetError:Ru,stringRangeError:Lu,attachmentMaxSize:xu,pleaseEnterTotalScoreSetting:Uu,theTotalScoreMustNotBeLessThan1:Nu,scoreDefaultValueRange:_u,attachmentLimitError:Tu,PleaseReselectTheOptionalQuantity:Pu,TheMaximumLengthIsGreaterThanTheMinimumLength:Vu,TheMinimumLengthIsGreaterThanTheMaximumLength:ku,PleaseSelectTheCorrectOptionSettings:Gu,optionIdIsRepeat:Hu,optionIsRequired:zu,pleaseEnterDataCode:ju,pleaseEnterValueFieldCode:Ou,pleaseEnterSvcCode:qu,pleaseBindAtLeastOneDisplayValue:Ku,pleaseSelectProvince:Wu,pleaseSelectCity:Xu,pleaseSelectDistrict:Ju,limitRowsCannotBeLessThan0:Qu,TheNumberOfRowsCannotBeLessThanMinRows:Zu,pleaseEnterColumnWidth:Yu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:et,pleaseCompleteAllRulesAndConditions:ut,pleaseSelectControl:tt,pleaseSelectDashboard:nt,theViewNameCannotBeEmpty:at,pleaseSelectOcrType:rt,pleaseSelectAtLeastOneFieldToFillIn:it,pleaseChooseAtLeastOne:lt,pleaseEnterButtonContent:st,pleaseEnterDataCodeInDataSetting:ot,pleaseEnterValueFieldCodeInDataSetting:ct,pleaseEnterSvcCodeInDataSetting:Et,pleaseBindAtLeastOneDisplayValueInDataSetting:Bt,rootNodeIsRequiredInDataSetting:ht,pleaseEnterMaxHeight:At,pleaseEnter:pt,pleaseEnterWatermark:Ft,pleaseEnterFileName:mt,pleaseUploadAtLeastOnePrintTemplate:ft,pleaseAssignBusiness:vt,pleaseAssignExternal:dt},Ct="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bt="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",St="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",It="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yt="{caption}\u5FC5\u9808",Mt="\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",wt="\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",Lt="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xt="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ut="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nt="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_t="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tt="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Vt="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",kt="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gt="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ht="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zt="\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",Ot="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",qt="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Kt="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wt="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xt="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Jt="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qt="\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",Zt="\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",Yt="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",en="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",un="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",tn="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nn="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",an="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rn="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ln="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sn="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",on="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cn="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",En="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Bn="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",hn="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",An="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",pn="please select control",Fn="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",mn="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fn="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",vn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",dn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",gn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Cn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Dn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",bn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Sn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",In="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",yn="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Mn="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$n="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",wn="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Rn="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ln="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",xn="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Un={isNotNumber:Ct,isNotString:Dt,isNotObject:bt,isNotArray:St,isNotBoolean:It,runtimeRequired:yt,pleaseEnterCaption:Mt,pleaseEnterCaptionTip:$t,pleaseEnterRowCaption:wt,pleaseEnterPlaceholder:Rt,pleaseEnterFieldCode:Lt,pleaseEnterForm:xt,pleaseEnterList:Ut,pleaseEnterProcess:Nt,pleaseEnterLabel:_t,pleaseEnterValue:Tt,bizKeyNotBindFiled:Pt,pleaseSelectOneField:Vt,pleaseEnterNumberRange:kt,pleaseEnterAValueGreaterThanMin:Gt,pleaseEnterAValueLessThanMax:Ht,numberRangeSetError:zt,stringRangeError:jt,attachmentMaxSize:Ot,pleaseEnterTotalScoreSetting:qt,theTotalScoreMustNotBeLessThan1:Kt,scoreDefaultValueRange:Wt,attachmentLimitError:Xt,PleaseReselectTheOptionalQuantity:Jt,TheMaximumLengthIsGreaterThanTheMinimumLength:Qt,TheMinimumLengthIsGreaterThanTheMaximumLength:Zt,PleaseSelectTheCorrectOptionSettings:Yt,optionIdIsRepeat:en,optionIsRequired:un,pleaseEnterDataCode:tn,pleaseEnterValueFieldCode:nn,pleaseEnterSvcCode:an,pleaseBindAtLeastOneDisplayValue:rn,pleaseSelectProvince:ln,pleaseSelectCity:sn,pleaseSelectDistrict:on,limitRowsCannotBeLessThan0:cn,TheNumberOfRowsCannotBeLessThanMinRows:En,pleaseEnterColumnWidth:Bn,pleaseSetTheLogicalRelationshipOfAllRuleConditions:hn,pleaseCompleteAllRulesAndConditions:An,pleaseSelectControl:pn,pleaseSelectDashboard:Fn,theViewNameCannotBeEmpty:mn,pleaseSelectOcrType:fn,pleaseSelectAtLeastOneFieldToFillIn:vn,pleaseChooseAtLeastOne:dn,pleaseEnterButtonContent:gn,pleaseEnterDataCodeInDataSetting:Cn,pleaseEnterValueFieldCodeInDataSetting:Dn,pleaseEnterSvcCodeInDataSetting:bn,pleaseBindAtLeastOneDisplayValueInDataSetting:Sn,rootNodeIsRequiredInDataSetting:In,pleaseEnterMaxHeight:yn,pleaseEnter:Mn,pleaseEnterWatermark:$n,pleaseEnterFileName:wn,pleaseUploadAtLeastOnePrintTemplate:Rn,pleaseAssignBusiness:Ln,pleaseAssignExternal:xn},Nn={zhCN:ou,enUS:gt,jaJP:Un},L;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(L||(L={}));var x;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(x||(x={}));var _n="zh-CN",Tn=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 U;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(U||(U={}));var A;(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"})(A||(A={}));var p;(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"})(p||(p={}));var F;F={},m(F,p.ARRAY,A.ARRAY_COLUMN),m(F,p.AUTO_NUMBER,A.AUTO_NUMBER_COLUMN),m(F,p.DECIMAL,A.DECIMAL_COLUMN),m(F,p.DEPARTMENTS,A.DEPARTMENT_COLUMN),m(F,p.FILE,A.FILE_COLUMN),m(F,p.IMAGE,A.IMAGE_COLUMN),m(F,p.ADDRESS,A.LOCATION_COLUMN),m(F,p.EMPLOYEES,A.EMPLOYEE_COLUMN),m(F,p.TEXT,A.TEXT_COLUMN),m(F,p.TIMESCOPE,A.TIMESCOPE_COLUMN),m(F,p.TIMESTAMP,A.TIMESTAMP_COLUMN),m(F,p.VARCHAR,A.VARCHAR_COLUMN),m(F,p.RELATION,A.VARCHAR_COLUMN);var N;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(N||(N={}));function Pn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function kn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function S(e,u,t){return kn()?S=Reflect.construct:S=function(a,o,s){var h=[null];h.push.apply(h,o);var d=Function.bind.apply(a,h),l=new d;return s&&C(l,s.prototype),l},S.apply(null,arguments)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(e)}function Gn(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&&C(e,u)}function Hn(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function zn(e,u){return u&&(jn(u)==="object"||typeof u=="function")?u:Pn(e)}function C(e,u){return C=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},C(e,u)}var jn=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M(e){var u=typeof Map=="function"?new Map:void 0;return M=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 S(n,arguments,g(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),C(a,n)},M(e)}function On(){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 qn(e){var u=On();return function(){var n=g(e),a;if(u){var o=g(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){Gn(t,e);var u=qn(t);function t(n){Vn(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}(M(Error));function Xn(e){throw new Wn(e)}var Jn=Object.prototype.toString;function _(e,u){return Jn.call(e)==="[object "+u+"]"}function Qn(e){return _(e,"String")}function Zn(e){return _(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,s,h){if(a!==void 0){var d=a[o];if(!(s===h.length-1&&!Qn(d)))return d}},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")}var T=function(){function e(){ea(this,e)}return e.getMessage=function(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(t,"",n)},e.resetI18n=function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:_n;return new Yn({locale:t,messages:Nn})},e.setLocale=function(t){return this.$i18n.setLocale(t)},e}();T.$i18n=T.resetI18n();var ua=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ta={exports:{}};(function(e){(function(u){var t=function(r,i,f){if(!l(i)||pa(i)||Fa(i)||ma(i)||d(i))return i;var v,b=0,q=0;if(D(i))for(v=[],q=i.length;b<q;b++)v.push(t(r,i[b],f));else{v={};for(var R in i)Object.prototype.hasOwnProperty.call(i,R)&&(v[r(R,f)]=t(r,i[R],f))}return v},n=function(r,i){i=i||{};var f=i.separator||"_",v=i.split||/(?=[A-Z])/;return r.split(v).join(f)},a=function(r){return fa(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)},s=function(r,i){return n(r,i).toLowerCase()},h=Object.prototype.toString,d=function(r){return typeof r=="function"},l=function(r){return r===Object(r)},D=function(r){return h.call(r)=="[object Array]"},pa=function(r){return h.call(r)=="[object Date]"},Fa=function(r){return h.call(r)=="[object RegExp]"},ma=function(r){return h.call(r)=="[object Boolean]"},fa=function(r){return r=r-0,r===r},w=function(r,i){var f=i&&"process"in i?i.process:i;return typeof f!="function"?r:function(v,b){return f(v,r,b)}},O={camelize:a,decamelize:s,pascalize:o,depascalize:s,camelizeKeys:function(r,i){return t(w(a,i),r)},decamelizeKeys:function(r,i){return t(w(s,i),r,i)},pascalizeKeys:function(r,i){return t(w(o,i),r)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=O:u.humps=O})(ua)})(ta);var P={};Object.defineProperty(P,"__esModule",{value:!0});function $(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:$(u));{const u={};for(const t in e){const n=e[t];u[t]=typeof n!="object"||n===null?n:$(n)}return u}}P.default=$;function V(e){return Object.prototype.toString.call(e)==="[object Object]"}class k{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:Tn,this.defaultValue=u.defaultValue,this.validator=u.validator,this.props=(a=u.props)!=null?a:new E,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 G{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 H(e){return"type"in e&&e.type==="tab"}class z{constructor(u){this.type="tab",this.title=u.title,this.items=u.items}}class na extends E{constructor(u){super(u),V(u)&&Object.entries(u).forEach(([t,n])=>{this[t]=n})}}class aa extends E{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 ra extends E{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 ia extends E{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 la extends E{constructor(u){var t;super(u),this.options=(t=u==null?void 0:u.options)!=null?t:[]}}class sa extends E{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 oa extends E{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 ca extends E{constructor(u){var t,n,a,o,s,h;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=(s=u==null?void 0:u.minRows)!=null?s:"",this.i18n=(h=u==null?void 0:u.i18n)!=null?h:!1}}function Ea(e,u){switch(e){case"input":return new aa(u);case"textarea":return new ca(u);case"input-number":return new ra(u);case"switch":return new ia(u);case"radio":return new oa(u);case"checkbox":return new la(u);case"select":return new sa(u);default:return new na(u)}}function Ba(e){return function(u){const t=e.get(u);if(!!t)return new k(y(I({},t),{props:Ea(t.component,"props"in t?t.props:void 0)}))}}function ha(e){const u=e.fields.reduce((a,o)=>(a.set(o.key,o),a),new Map);function t(a){return new G(y(I({},a),{items:a.items.map(Ba(u)).filter(Boolean)}))}function n(a){return a.map(t)}return e.groups.map(a=>H(a)?new z(y(I({},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 Aa(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}}]}c.Group=G,c.Setting=k,c.Tab=z,c.createBaseFields=j,c.createFormBaseFields=Aa,c.defineInstance=B,c.initSettings=ha,c.isTabSchema=H,Object.defineProperty(c,"__esModule",{value:!0})});
1
+ var Ma=Object.defineProperty,wa=Object.defineProperties;var $a=Object.getOwnPropertyDescriptors;var X=Object.getOwnPropertySymbols;var _a=Object.prototype.hasOwnProperty,Ra=Object.prototype.propertyIsEnumerable;var J=(c,B,E)=>B in c?Ma(c,B,{enumerable:!0,configurable:!0,writable:!0,value:E}):c[B]=E,S=(c,B)=>{for(var E in B||(B={}))_a.call(B,E)&&J(c,E,B[E]);if(X)for(var E of X(B))Ra.call(B,E)&&J(c,E,B[E]);return c},I=(c,B)=>wa(c,$a(B));(function(c,B){typeof exports=="object"&&typeof module!="undefined"?B(exports):typeof define=="function"&&define.amd?define(["exports"],B):(c=typeof globalThis!="undefined"?globalThis:c||self,B(c.modelDrivenSettings={}))})(this,function(c){"use strict";function B(e){return e}class E{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",fe="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",me="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ae="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",pe="\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",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",ye="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Se="\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",we="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",$e="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",_e="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Re="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Le="\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",Ge="\u8BF7\u8F93\u5165\u5217\u5BBD",Ve="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",He="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Oe="\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:fe,pleaseEnterNumberRange:me,pleaseEnterAValueGreaterThanMin:Ae,pleaseEnterAValueLessThanMax:pe,numberRangeSetError:Fe,stringRangeError:ve,attachmentMaxSize:de,pleaseEnterTotalScoreSetting:ge,theTotalScoreMustNotBeLessThan1:Ce,scoreDefaultValueRange:De,attachmentLimitError:be,PleaseReselectTheOptionalQuantity:ye,TheMaximumLengthIsGreaterThanTheMinimumLength:Se,TheMinimumLengthIsGreaterThanTheMaximumLength:Ie,PleaseSelectTheCorrectOptionSettings:Me,optionIdIsRepeat:we,optionIsRequired:$e,pleaseEnterDataCode:_e,pleaseEnterValueFieldCode:Re,pleaseEnterSvcCode:Le,pleaseBindAtLeastOneDisplayValue:xe,pleaseSelectProvince:Ue,pleaseSelectCity:Ne,pleaseSelectDistrict:ke,limitRowsCannotBeLessThan0:Te,TheNumberOfRowsCannotBeLessThanMinRows:Pe,pleaseEnterColumnWidth:Ge,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ve,pleaseCompleteAllRulesAndConditions:He,pleaseSelectControl:Oe,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",fu="Please enter an object",mu="Please enter an array",Au="Please enter a boolean",pu="{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",Cu="Please bind data items",Du="Please bind the form",bu="Please bind the list",yu="Please bind the process",Su="Please enter the displayed value",Iu="Please enter the stored value",Mu="The document number is not bound to the data item",wu="Please select at least one display field",$u="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}",Ru="Please enter a value less than or equal to {max}",Lu="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}",Gu="Please re-select the optional quantity",Vu="The maximum length of the control must be greater than the minimum length",Hu="The minimum length of the control must be less than the maximum length",Ou="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",ft="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",mt="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",At="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pt="\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",Ct="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Dt={isNotNumber:Bu,isNotString:hu,isNotObject:fu,isNotArray:mu,isNotBoolean:Au,runtimeRequired:pu,pleaseEnterCaption:Fu,pleaseEnterCaptionTip:vu,pleaseEnterRowCaption:du,pleaseEnterPlaceholder:gu,pleaseEnterFieldCode:Cu,pleaseEnterForm:Du,pleaseEnterList:bu,pleaseEnterProcess:yu,pleaseEnterLabel:Su,pleaseEnterValue:Iu,bizKeyNotBindFiled:Mu,pleaseSelectOneField:wu,pleaseEnterNumberRange:$u,pleaseEnterAValueGreaterThanMin:_u,pleaseEnterAValueLessThanMax:Ru,numberRangeSetError:Lu,stringRangeError:xu,attachmentMaxSize:Uu,pleaseEnterTotalScoreSetting:Nu,theTotalScoreMustNotBeLessThan1:ku,scoreDefaultValueRange:Tu,attachmentLimitError:Pu,PleaseReselectTheOptionalQuantity:Gu,TheMaximumLengthIsGreaterThanTheMinimumLength:Vu,TheMinimumLengthIsGreaterThanTheMaximumLength:Hu,PleaseSelectTheCorrectOptionSettings:Ou,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:ft,rootNodeIsRequiredInDataSetting:mt,pleaseEnterMaxHeight:At,pleaseEnter:pt,pleaseEnterWatermark:Ft,pleaseEnterFileName:vt,pleaseUploadAtLeastOnePrintTemplate:dt,pleaseAssignBusiness:gt,pleaseAssignExternal:Ct},bt="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yt="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",St="\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",wt="{caption}\u5FC5\u9808",$t="\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",Rt="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lt="\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",Gt="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Vt="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ht="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ot="{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",fn="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mn="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",An="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",pn="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",Cn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Dn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Sn="\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",wn="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",$n="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",_n="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Rn="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ln="\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:yt,isNotObject:St,isNotArray:It,isNotBoolean:Mt,runtimeRequired:wt,pleaseEnterCaption:$t,pleaseEnterCaptionTip:_t,pleaseEnterRowCaption:Rt,pleaseEnterPlaceholder:Lt,pleaseEnterFieldCode:xt,pleaseEnterForm:Ut,pleaseEnterList:Nt,pleaseEnterProcess:kt,pleaseEnterLabel:Tt,pleaseEnterValue:Pt,bizKeyNotBindFiled:Gt,pleaseSelectOneField:Vt,pleaseEnterNumberRange:Ht,pleaseEnterAValueGreaterThanMin:Ot,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:fn,pleaseSetTheLogicalRelationshipOfAllRuleConditions:mn,pleaseCompleteAllRulesAndConditions:An,pleaseSelectControl:pn,pleaseSelectDashboard:Fn,theViewNameCannotBeEmpty:vn,pleaseSelectOcrType:dn,pleaseSelectAtLeastOneFieldToFillIn:gn,pleaseChooseAtLeastOne:Cn,pleaseEnterButtonContent:Dn,pleaseEnterDataCodeInDataSetting:bn,pleaseEnterValueFieldCodeInDataSetting:yn,pleaseEnterSvcCodeInDataSetting:Sn,pleaseBindAtLeastOneDisplayValueInDataSetting:In,rootNodeIsRequiredInDataSetting:Mn,pleaseEnterMaxHeight:wn,pleaseEnter:$n,pleaseEnterWatermark:_n,pleaseEnterFileName:Rn,pleaseUploadAtLeastOnePrintTemplate:Ln,pleaseAssignBusiness:xn,pleaseAssignExternal:Un},kn={zhCN:Eu,enUS:Dt,jaJP:Nn},R;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(R||(R={}));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 p(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var x;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(x||(x={}));var f;(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"})(f||(f={}));var m;(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"})(m||(m={}));var A;A={},p(A,m.ARRAY,f.ARRAY_COLUMN),p(A,m.AUTO_NUMBER,f.AUTO_NUMBER_COLUMN),p(A,m.DECIMAL,f.DECIMAL_COLUMN),p(A,m.DEPARTMENTS,f.DEPARTMENT_COLUMN),p(A,m.FILE,f.FILE_COLUMN),p(A,m.IMAGE,f.IMAGE_COLUMN),p(A,m.ADDRESS,f.LOCATION_COLUMN),p(A,m.EMPLOYEES,f.EMPLOYEE_COLUMN),p(A,m.TEXT,f.TEXT_COLUMN),p(A,m.TIMESCOPE,f.TIMESCOPE_COLUMN),p(A,m.TIMESTAMP,f.TIMESTAMP_COLUMN),p(A,m.VARCHAR,f.VARCHAR_COLUMN),p(A,m.RELATION,f.VARCHAR_COLUMN);var U;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(U||(U={}));function Gn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function Hn(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function y(e,u,t){return Hn()?y=Reflect.construct:y=function(a,o,s){var h=[null];h.push.apply(h,o);var d=Function.bind.apply(a,h),l=new d;return s&&C(l,s.prototype),l},y.apply(null,arguments)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},g(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&&C(e,u)}function zn(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function qn(e,u){return u&&(jn(u)==="object"||typeof u=="function")?u:Gn(e)}function C(e,u){return C=Object.setPrototypeOf||function(n,a){return n.__proto__=a,n},C(e,u)}var jn=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function M(e){var u=typeof Map=="function"?new Map:void 0;return M=function(n){if(n===null||!zn(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 y(n,arguments,g(this).constructor)}return a.prototype=Object.create(n.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),C(a,n)},M(e)}function Kn(){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 Wn(e){var u=Kn();return function(){var n=g(e),a;if(u){var o=g(this).constructor;a=Reflect.construct(n,arguments,o)}else a=n.apply(this,arguments);return qn(this,a)}}function Xn(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Jn=function(e){On(t,e);var u=Wn(t);function t(n){Vn(this,t);var a;return a=u.call(this,n),a.name="\u{1F4A5} Driven Error",a.message=n?Xn(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return t}(M(Error));function Qn(e){throw new Jn(e)}var Zn=Object.prototype.toString;function N(e,u){return Zn.call(e)==="[object "+u+"]"}function Yn(e){return N(e,"String")}function ea(e){return N(e,"Promise")}var ua=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();ea(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,s,h){if(a!==void 0){var d=a[o];if(!(s===h.length-1&&!Yn(d)))return d}},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 ta(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 na(e,u,t){return u&&k(e.prototype,u),t&&k(e,t),e}function aa(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(){ta(this,e)}return na(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 ua({locale:t,messages:kn})}},{key:"setLocale",value:function(t){return this.$i18n.setLocale(t)}}]),e}();aa(T,"$i18n",T.resetI18n());var ra=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ia={exports:{}};(function(e){(function(u){var t=function(r,i,F){if(!l(i)||ba(i)||ya(i)||Sa(i)||d(i))return i;var v,b=0,W=0;if(D(i))for(v=[],W=i.length;b<W;b++)v.push(t(r,i[b],F));else{v={};for(var _ in i)Object.prototype.hasOwnProperty.call(i,_)&&(v[r(_,F)]=t(r,i[_],F))}return v},n=function(r,i){i=i||{};var F=i.separator||"_",v=i.split||/(?=[A-Z])/;return r.split(v).join(F)},a=function(r){return Ia(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)},s=function(r,i){return n(r,i).toLowerCase()},h=Object.prototype.toString,d=function(r){return typeof r=="function"},l=function(r){return r===Object(r)},D=function(r){return h.call(r)=="[object Array]"},ba=function(r){return h.call(r)=="[object Date]"},ya=function(r){return h.call(r)=="[object RegExp]"},Sa=function(r){return h.call(r)=="[object Boolean]"},Ia=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(v,b){return F(v,r,b)}},K={camelize:a,decamelize:s,pascalize:o,depascalize:s,camelizeKeys:function(r,i){return t($(a,i),r)},decamelizeKeys:function(r,i){return t($(s,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})(ra)})(ia);var P={};Object.defineProperty(P,"__esModule",{value:!0});function w(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:w(u));{const u={};for(const t in e){const n=e[t];u[t]=typeof n!="object"||n===null?n:w(n)}return u}}P.default=w;function G(e){return Object.prototype.toString.call(e)==="[object Object]"}function la(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function V(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 sa(e,u,t){return u&&V(e.prototype,u),t&&V(e,t),e}function oa(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var ca=[{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"}],Ea=function(){function e(){la(this,e)}return sa(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}();oa(Ea,"events",ca);class H{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 E,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);G(n)&&Object.assign(this.props,n)}catch(n){Qn(`effect error
2
+ ${n}`)}}callEffect(u,...t){this.filterEffects(u).forEach(n=>this.callEffectFn(n,t))}callScopeEffect(...u){this.callEffectFn(this.scopeEffect,u)}}class O{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 Ba extends E{constructor(u){super(u),G(u)&&Object.entries(u).forEach(([t,n])=>{this[t]=n})}}class ha extends E{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 fa extends E{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 ma extends E{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 Aa extends E{constructor(u){var t;super(u),this.options=(t=u==null?void 0:u.options)!=null?t:[]}}class pa extends E{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 Fa extends E{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 va extends E{constructor(u){var t,n,a,o,s,h;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=(s=u==null?void 0:u.minRows)!=null?s:"",this.i18n=(h=u==null?void 0:u.i18n)!=null?h:!1}}function da(e,u){switch(e){case"input":return new ha(u);case"textarea":return new va(u);case"input-number":return new fa(u);case"switch":return new ma(u);case"radio":return new Fa(u);case"checkbox":return new Aa(u);case"select":return new pa(u);default:return new Ba(u)}}function ga(e){return function(u){const t=e.get(u);if(!!t)return new H(I(S({},t),{props:da(t.component,"props"in t?t.props:void 0)}))}}function Ca(e){const u=e.fields.reduce((a,o)=>(a.set(o.key,o),a),new Map);function t(a){return new O(I(S({},a),{items:a.items.map(ga(u)).filter(Boolean)}))}function n(a){return a.map(t)}return e.groups.map(a=>z(a)?new q(I(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 Da(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}}]}c.Group=O,c.Setting=H,c.Tab=q,c.createBaseFields=j,c.createFormBaseFields=Da,c.defineInstance=B,c.initSettings=Ca,c.isTabSchema=z,Object.defineProperty(c,"__esModule",{value:!0})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-settings",
3
- "version": "2.7.0-alpha.2",
3
+ "version": "2.7.0-alpha.4",
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-alpha.2",
30
- "@byteluck-fe/model-driven-shared": "2.7.0-alpha.2",
29
+ "@byteluck-fe/model-driven-core": "2.7.0-alpha.4",
30
+ "@byteluck-fe/model-driven-shared": "2.7.0-alpha.4",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
- "gitHead": "23607484dc1f65494b32a6c2e9fff86f0ce8dc54"
33
+ "gitHead": "c39fe8a080aa74d7585f6fcd91e0cbc5ea10749c"
34
34
  }