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

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.
@@ -1,64 +1,64 @@
1
1
  export function createBaseFields() {
2
2
  return [
3
3
  {
4
- label: "隐藏",
5
- key: "isHide",
6
- type: "boolean",
7
- component: "switch"
4
+ label: '隐藏',
5
+ key: 'isHide',
6
+ type: 'boolean',
7
+ component: 'switch'
8
8
  },
9
9
  {
10
- key: "superSetting",
11
- component: "super-setting"
10
+ key: 'superSetting',
11
+ component: 'super-setting'
12
12
  },
13
13
  {
14
- key: "style.width",
15
- component: "styleComponent",
14
+ key: 'style.width',
15
+ component: 'styleComponent',
16
16
  props: {
17
- configKey: "style.widthConfig",
17
+ configKey: 'style.widthConfig',
18
18
  options: [
19
- "px",
20
- "%",
21
- "fill",
22
- "hug"
19
+ 'px',
20
+ '%',
21
+ 'fill',
22
+ 'hug'
23
23
  ]
24
24
  },
25
25
  scopeEffect: function scopeEffect(driven, payload) {
26
26
  var oldParent = payload.oldParent, newParent = payload.newParent, instance = payload.instance;
27
- if ((oldParent === null || oldParent === void 0 ? void 0 : oldParent.type) === "advanced-container" && newParent.type === "positioning-container") {
28
- driven.setInstance(instance, "style.width", "");
29
- driven.setInstance(instance, "style.widthConfig", "fill");
27
+ if ((oldParent === null || oldParent === void 0 ? void 0 : oldParent.type) === 'advanced-container' && newParent.type === 'positioning-container') {
28
+ driven.setInstance(instance, 'style.width', '');
29
+ driven.setInstance(instance, 'style.widthConfig', 'fill');
30
30
  }
31
31
  if (newParent) {
32
32
  return {
33
- visible: newParent.type === "advanced-container"
33
+ visible: newParent.type === 'advanced-container'
34
34
  };
35
35
  }
36
36
  }
37
37
  },
38
38
  {
39
- key: "style.height",
40
- component: "styleComponent",
39
+ key: 'style.height',
40
+ component: 'styleComponent',
41
41
  props: {
42
- configKey: "style.heightConfig",
42
+ configKey: 'style.heightConfig',
43
43
  options: [
44
- "px",
45
- "%",
46
- "fill",
47
- "hug"
44
+ 'px',
45
+ '%',
46
+ 'fill',
47
+ 'hug'
48
48
  ]
49
49
  },
50
50
  scopeEffect: function scopeEffect(driven, payload) {
51
51
  var oldParent = payload.oldParent, newParent = payload.newParent, instance = payload.instance;
52
- if ((oldParent === null || oldParent === void 0 ? void 0 : oldParent.type) === "advanced-container" && newParent.type === "positioning-container") {
53
- driven.setInstance(instance, "style.height", "");
54
- driven.setInstance(instance, "style.heightConfig", "fill");
52
+ if ((oldParent === null || oldParent === void 0 ? void 0 : oldParent.type) === 'advanced-container' && newParent.type === 'positioning-container') {
53
+ driven.setInstance(instance, 'style.height', '');
54
+ driven.setInstance(instance, 'style.heightConfig', 'fill');
55
55
  }
56
56
  if (payload.newParent) {
57
57
  return {
58
- visible: payload.newParent.type === "advanced-container"
58
+ visible: payload.newParent.type === 'advanced-container'
59
59
  };
60
60
  }
61
61
  }
62
- }
62
+ },
63
63
  ];
64
64
  }
@@ -23,19 +23,19 @@ function _unsupportedIterableToArray(o, minLen) {
23
23
  if (n === "Map" || n === "Set") return Array.from(n);
24
24
  if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
25
25
  }
26
- import { createBaseFields } from "./createBaseFields";
26
+ import { createBaseFields } from './createBaseFields';
27
27
  export function createFormBaseFields(defaultValues) {
28
28
  return _toConsumableArray(createBaseFields()).concat([
29
29
  {
30
- type: "DataBind",
31
- key: "dataBind",
32
- component: "data-bind",
30
+ type: 'DataBind',
31
+ key: 'dataBind',
32
+ component: 'data-bind',
33
33
  defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.dataBind
34
34
  },
35
35
  {
36
- key: "caption",
37
- type: "string",
38
- component: "input",
36
+ key: 'caption',
37
+ type: 'string',
38
+ component: 'input',
39
39
  props: {
40
40
  maxLength: 80,
41
41
  i18n: true
@@ -43,88 +43,88 @@ export function createFormBaseFields(defaultValues) {
43
43
  defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.caption,
44
44
  validator: function validator(value) {
45
45
  if (!value) {
46
- return "标题必填";
46
+ return '标题必填';
47
47
  }
48
48
  }
49
49
  },
50
50
  {
51
- label: "隐藏标题",
52
- key: "isHideCaption",
53
- type: "boolean",
54
- component: "switch",
51
+ label: '隐藏标题',
52
+ key: 'isHideCaption',
53
+ type: 'boolean',
54
+ component: 'switch',
55
55
  defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.isHideCaption,
56
56
  props: {
57
- showType: "checkbox"
57
+ showType: 'checkbox'
58
58
  },
59
59
  // 在明细表内隐藏
60
60
  scopeEffect: function scopeEffect(driven, payload) {
61
- var _payload_current, _payload_from;
62
- if (((_payload_current = payload.current) === null || _payload_current === void 0 ? void 0 : _payload_current.type) !== ((_payload_from = payload.from) === null || _payload_from === void 0 ? void 0 : _payload_from.type)) {
61
+ var ref, ref1;
62
+ if (((ref = payload.current) === null || ref === void 0 ? void 0 : ref.type) !== ((ref1 = payload.from) === null || ref1 === void 0 ? void 0 : ref1.type)) {
63
63
  //明细子表内默认开启
64
- if (payload.current.type === "subtable") {
65
- driven.setInstance(payload.control, "isHideCaption", true);
64
+ if (payload.current.type === 'subtable') {
65
+ driven.setInstance(payload.control, 'isHideCaption', true);
66
66
  }
67
67
  return {
68
- visible: payload.current.type !== "subtable"
68
+ visible: payload.current.type !== 'subtable'
69
69
  };
70
70
  }
71
71
  }
72
72
  },
73
73
  {
74
- key: "labelPosition",
75
- type: "string",
76
- component: "radio",
74
+ key: 'labelPosition',
75
+ type: 'string',
76
+ component: 'radio',
77
77
  defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.labelPosition,
78
78
  props: {
79
- showType: "solid",
79
+ showType: 'solid',
80
80
  options: [
81
81
  {
82
- label: "上下布局",
83
- value: "top"
82
+ label: '上下布局',
83
+ value: 'top'
84
84
  },
85
85
  {
86
- label: "左右布局",
87
- value: "left"
88
- }
86
+ label: '左右布局',
87
+ value: 'left'
88
+ },
89
89
  ]
90
90
  }
91
91
  },
92
92
  {
93
- key: "defaultState",
94
- type: "string",
95
- component: "radio",
93
+ key: 'defaultState',
94
+ type: 'string',
95
+ component: 'radio',
96
96
  defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.defaultState,
97
97
  props: {
98
- showType: "solid",
98
+ showType: 'solid',
99
99
  options: [
100
100
  {
101
- label: "普通",
102
- value: "default"
101
+ label: '普通',
102
+ value: 'default'
103
103
  },
104
104
  {
105
- label: "只读",
106
- value: "readonly"
107
- }
105
+ label: '只读',
106
+ value: 'readonly'
107
+ },
108
108
  ]
109
109
  }
110
110
  },
111
111
  {
112
- label: "必填",
113
- key: "required",
114
- type: "boolean",
115
- component: "switch",
112
+ label: '必填',
113
+ key: 'required',
114
+ type: 'boolean',
115
+ component: 'switch',
116
116
  defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.required
117
117
  },
118
118
  {
119
- label: "提示文字",
120
- key: "placeholder",
121
- type: "string",
122
- component: "input",
119
+ label: '提示文字',
120
+ key: 'placeholder',
121
+ type: 'string',
122
+ component: 'input',
123
123
  defaultValue: defaultValues === null || defaultValues === void 0 ? void 0 : defaultValues.placeholder,
124
124
  props: {
125
125
  maxLength: 80,
126
126
  i18n: true
127
127
  }
128
- }
128
+ },
129
129
  ]);
130
130
  }
@@ -1,2 +1,2 @@
1
- export * from "./createBaseFields";
2
- export * from "./createFormBaseFields";
1
+ export * from './createBaseFields';
2
+ export * from './createFormBaseFields';
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- export * from "./defineInstance";
2
- export * from "./initSettings";
3
- export * from "./schema";
4
- export * from "./default";
1
+ export * from './defineInstance';
2
+ export * from './initSettings';
3
+ export * from './schema';
4
+ export * from './default';
@@ -26,55 +26,31 @@ function _objectSpread(target) {
26
26
  }
27
27
  return target;
28
28
  }
29
- function ownKeys(object, enumerableOnly) {
30
- var keys = Object.keys(object);
31
- if (Object.getOwnPropertySymbols) {
32
- var symbols = Object.getOwnPropertySymbols(object);
33
- if (enumerableOnly) {
34
- symbols = symbols.filter(function(sym) {
35
- return Object.getOwnPropertyDescriptor(object, sym).enumerable;
36
- });
37
- }
38
- keys.push.apply(keys, symbols);
39
- }
40
- return keys;
41
- }
42
- function _objectSpreadProps(target, source) {
43
- source = source != null ? source : {};
44
- if (Object.getOwnPropertyDescriptors) {
45
- Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
46
- } else {
47
- ownKeys(Object(source)).forEach(function(key) {
48
- Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
49
- });
50
- }
51
- return target;
52
- }
53
- import { Group, Setting } from "./schema";
54
- import { CustomProps } from "./props/custom";
55
- import { InputProps } from "./props/input";
56
- import { InputNumberProps } from "./props/input-number";
57
- import { SwitchProps } from "./props/switch";
58
- import { CheckboxProps } from "./props/checkbox";
59
- import { SelectProps } from "./props/select";
60
- import { RadioProps } from "./props/radio";
61
- import { TextareaProps } from "./props/textarea";
62
- import { isTabSchema, Tab } from "./schema/tab";
29
+ import { Group, Setting } from './schema';
30
+ import { CustomProps } from './props/custom';
31
+ import { InputProps } from './props/input';
32
+ import { InputNumberProps } from './props/input-number';
33
+ import { SwitchProps } from './props/switch';
34
+ import { CheckboxProps } from './props/checkbox';
35
+ import { SelectProps } from './props/select';
36
+ import { RadioProps } from './props/radio';
37
+ import { TextareaProps } from './props/textarea';
38
+ import { isTabSchema, Tab } from './schema/tab';
63
39
  function propsFactory(component, props) {
64
40
  switch(component){
65
- case "input":
41
+ case 'input':
66
42
  return new InputProps(props);
67
- case "textarea":
43
+ case 'textarea':
68
44
  return new TextareaProps(props);
69
- case "input-number":
45
+ case 'input-number':
70
46
  return new InputNumberProps(props);
71
- case "switch":
47
+ case 'switch':
72
48
  return new SwitchProps(props);
73
- case "radio":
49
+ case 'radio':
74
50
  return new RadioProps(props);
75
- case "checkbox":
51
+ case 'checkbox':
76
52
  return new CheckboxProps(props);
77
- case "select":
53
+ case 'select':
78
54
  return new SelectProps(props);
79
55
  default:
80
56
  return new CustomProps(props);
@@ -86,14 +62,14 @@ function buildSettingItem(settingMap) {
86
62
  if (!schema) {
87
63
  return;
88
64
  }
89
- return new Setting(_objectSpreadProps(_objectSpread({}, schema), {
90
- props: propsFactory(schema.component, "props" in schema ? schema.props : undefined)
65
+ return new Setting(_objectSpread({}, schema, {
66
+ props: propsFactory(schema.component, 'props' in schema ? schema.props : undefined)
91
67
  }));
92
68
  };
93
69
  }
94
70
  export function initSettings(params) {
95
71
  var generatorGroup = function generatorGroup(group) {
96
- return new Group(_objectSpreadProps(_objectSpread({}, group), {
72
+ return new Group(_objectSpread({}, group, {
97
73
  items: group.items.map(buildSettingItem(settingMap)).filter(Boolean)
98
74
  }));
99
75
  };
@@ -106,7 +82,7 @@ export function initSettings(params) {
106
82
  }, new Map());
107
83
  return params.groups.map(function(item) {
108
84
  if (isTabSchema(item)) {
109
- return new Tab(_objectSpreadProps(_objectSpread({}, item), {
85
+ return new Tab(_objectSpread({}, item, {
110
86
  items: generatorGroups(item.items)
111
87
  }));
112
88
  } else {
@@ -21,10 +21,12 @@ export var BaseProps = /*#__PURE__*/ function() {
21
21
  "use strict";
22
22
  function BaseProps(props) {
23
23
  _classCallCheck(this, BaseProps);
24
- var _props_visible;
25
- this.visible = (_props_visible = props === null || props === void 0 ? void 0 : props.visible) !== null && _props_visible !== void 0 ? _props_visible : true;
26
- var _props_expression;
27
- this.expression = (_props_expression = props === null || props === void 0 ? void 0 : props.expression) !== null && _props_expression !== void 0 ? _props_expression : false;
24
+ var ref;
25
+ this.visible = (ref = props === null || props === void 0 ? void 0 : props.visible) !== null && ref !== void 0 ? ref : true;
26
+ var ref1;
27
+ this.expression = (ref1 = props === null || props === void 0 ? void 0 : props.expression) !== null && ref1 !== void 0 ? ref1 : false;
28
+ var ref2;
29
+ this.updateParent = (ref2 = props === null || props === void 0 ? void 0 : props.updateParent) !== null && ref2 !== void 0 ? ref2 : false;
28
30
  }
29
31
  _createClass(BaseProps, [
30
32
  {
@@ -69,17 +69,17 @@ function _createSuper(Derived) {
69
69
  return _possibleConstructorReturn(this, result);
70
70
  };
71
71
  }
72
- import { BaseProps } from "./base";
73
- export var CheckboxProps = /*#__PURE__*/ function(BaseProps) {
72
+ import { BaseProps } from './base';
73
+ export var CheckboxProps = /*#__PURE__*/ function(BaseProps1) {
74
74
  "use strict";
75
- _inherits(CheckboxProps, BaseProps);
75
+ _inherits(CheckboxProps, BaseProps1);
76
76
  var _super = _createSuper(CheckboxProps);
77
77
  function CheckboxProps(props) {
78
78
  _classCallCheck(this, CheckboxProps);
79
79
  var _this;
80
80
  _this = _super.call(this, props);
81
- var _props_options;
82
- _this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
81
+ var ref;
82
+ _this.options = (ref = props === null || props === void 0 ? void 0 : props.options) !== null && ref !== void 0 ? ref : [];
83
83
  return _this;
84
84
  }
85
85
  return CheckboxProps;
@@ -115,11 +115,11 @@ function _createSuper(Derived) {
115
115
  return _possibleConstructorReturn(this, result);
116
116
  };
117
117
  }
118
- import { isPlainObject } from "@byteluck-fe/model-driven-shared";
119
- import { BaseProps } from "./base";
120
- export var CustomProps = /*#__PURE__*/ function(BaseProps) {
118
+ import { isPlainObject } from '@byteluck-fe/model-driven-shared';
119
+ import { BaseProps } from './base';
120
+ export var CustomProps = /*#__PURE__*/ function(BaseProps1) {
121
121
  "use strict";
122
- _inherits(CustomProps, BaseProps);
122
+ _inherits(CustomProps, BaseProps1);
123
123
  var _super = _createSuper(CustomProps);
124
124
  function CustomProps(props) {
125
125
  _classCallCheck(this, CustomProps);
@@ -69,21 +69,21 @@ function _createSuper(Derived) {
69
69
  return _possibleConstructorReturn(this, result);
70
70
  };
71
71
  }
72
- import { BaseProps } from "./base";
73
- export var InputNumberProps = /*#__PURE__*/ function(BaseProps) {
72
+ import { BaseProps } from './base';
73
+ export var InputNumberProps = /*#__PURE__*/ function(BaseProps1) {
74
74
  "use strict";
75
- _inherits(InputNumberProps, BaseProps);
75
+ _inherits(InputNumberProps, BaseProps1);
76
76
  var _super = _createSuper(InputNumberProps);
77
77
  function InputNumberProps(props) {
78
78
  _classCallCheck(this, InputNumberProps);
79
79
  var _this;
80
80
  _this = _super.call(this, props);
81
- var _props_max;
82
- _this.max = (_props_max = props === null || props === void 0 ? void 0 : props.max) !== null && _props_max !== void 0 ? _props_max : "";
83
- var _props_min;
84
- _this.min = (_props_min = props === null || props === void 0 ? void 0 : props.min) !== null && _props_min !== void 0 ? _props_min : "";
85
- var _props_placeholder;
86
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
81
+ var ref;
82
+ _this.max = (ref = props === null || props === void 0 ? void 0 : props.max) !== null && ref !== void 0 ? ref : '';
83
+ var ref1;
84
+ _this.min = (ref1 = props === null || props === void 0 ? void 0 : props.min) !== null && ref1 !== void 0 ? ref1 : '';
85
+ var ref2;
86
+ _this.placeholder = (ref2 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref2 !== void 0 ? ref2 : '';
87
87
  return _this;
88
88
  }
89
89
  return InputNumberProps;
@@ -69,23 +69,23 @@ function _createSuper(Derived) {
69
69
  return _possibleConstructorReturn(this, result);
70
70
  };
71
71
  }
72
- import { BaseProps } from "./base";
73
- export var InputProps = /*#__PURE__*/ function(BaseProps) {
72
+ import { BaseProps } from './base';
73
+ export var InputProps = /*#__PURE__*/ function(BaseProps1) {
74
74
  "use strict";
75
- _inherits(InputProps, BaseProps);
75
+ _inherits(InputProps, BaseProps1);
76
76
  var _super = _createSuper(InputProps);
77
77
  function InputProps(props) {
78
78
  _classCallCheck(this, InputProps);
79
79
  var _this;
80
80
  _this = _super.call(this, props);
81
- var _props_maxLength;
82
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : "";
83
- var _props_minLength;
84
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : "";
85
- var _props_placeholder;
86
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
87
- var _props_i18n;
88
- _this.i18n = (_props_i18n = props === null || props === void 0 ? void 0 : props.i18n) !== null && _props_i18n !== void 0 ? _props_i18n : false;
81
+ var ref;
82
+ _this.maxLength = (ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && ref !== void 0 ? ref : '';
83
+ var ref1;
84
+ _this.minLength = (ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && ref1 !== void 0 ? ref1 : '';
85
+ var ref2;
86
+ _this.placeholder = (ref2 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref2 !== void 0 ? ref2 : '';
87
+ var ref3;
88
+ _this.i18n = (ref3 = props === null || props === void 0 ? void 0 : props.i18n) !== null && ref3 !== void 0 ? ref3 : false;
89
89
  return _this;
90
90
  }
91
91
  return InputProps;
@@ -69,19 +69,19 @@ function _createSuper(Derived) {
69
69
  return _possibleConstructorReturn(this, result);
70
70
  };
71
71
  }
72
- import { BaseProps } from "./base";
73
- export var RadioProps = /*#__PURE__*/ function(BaseProps) {
72
+ import { BaseProps } from './base';
73
+ export var RadioProps = /*#__PURE__*/ function(BaseProps1) {
74
74
  "use strict";
75
- _inherits(RadioProps, BaseProps);
75
+ _inherits(RadioProps, BaseProps1);
76
76
  var _super = _createSuper(RadioProps);
77
77
  function RadioProps(props) {
78
78
  _classCallCheck(this, RadioProps);
79
79
  var _this;
80
80
  _this = _super.call(this, props);
81
- var _props_options;
82
- _this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
83
- var _props_showType;
84
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "outline";
81
+ var ref;
82
+ _this.options = (ref = props === null || props === void 0 ? void 0 : props.options) !== null && ref !== void 0 ? ref : [];
83
+ var ref1;
84
+ _this.showType = (ref1 = props === null || props === void 0 ? void 0 : props.showType) !== null && ref1 !== void 0 ? ref1 : 'outline';
85
85
  return _this;
86
86
  }
87
87
  return RadioProps;
@@ -69,19 +69,19 @@ function _createSuper(Derived) {
69
69
  return _possibleConstructorReturn(this, result);
70
70
  };
71
71
  }
72
- import { BaseProps } from "./base";
73
- export var SelectProps = /*#__PURE__*/ function(BaseProps) {
72
+ import { BaseProps } from './base';
73
+ export var SelectProps = /*#__PURE__*/ function(BaseProps1) {
74
74
  "use strict";
75
- _inherits(SelectProps, BaseProps);
75
+ _inherits(SelectProps, BaseProps1);
76
76
  var _super = _createSuper(SelectProps);
77
77
  function SelectProps(props) {
78
78
  _classCallCheck(this, SelectProps);
79
79
  var _this;
80
80
  _this = _super.call(this, props);
81
- var _props_placeholder;
82
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
83
- var _props_options;
84
- _this.options = (_props_options = props === null || props === void 0 ? void 0 : props.options) !== null && _props_options !== void 0 ? _props_options : [];
81
+ var ref;
82
+ _this.placeholder = (ref = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref !== void 0 ? ref : '';
83
+ var ref1;
84
+ _this.options = (ref1 = props === null || props === void 0 ? void 0 : props.options) !== null && ref1 !== void 0 ? ref1 : [];
85
85
  return _this;
86
86
  }
87
87
  return SelectProps;
@@ -69,21 +69,21 @@ function _createSuper(Derived) {
69
69
  return _possibleConstructorReturn(this, result);
70
70
  };
71
71
  }
72
- import { BaseProps } from "./base";
73
- export var SwitchProps = /*#__PURE__*/ function(BaseProps) {
72
+ import { BaseProps } from './base';
73
+ export var SwitchProps = /*#__PURE__*/ function(BaseProps1) {
74
74
  "use strict";
75
- _inherits(SwitchProps, BaseProps);
75
+ _inherits(SwitchProps, BaseProps1);
76
76
  var _super = _createSuper(SwitchProps);
77
77
  function SwitchProps(props) {
78
78
  _classCallCheck(this, SwitchProps);
79
79
  var _this;
80
80
  _this = _super.call(this, props);
81
- var _props_showType;
82
- _this.showType = (_props_showType = props === null || props === void 0 ? void 0 : props.showType) !== null && _props_showType !== void 0 ? _props_showType : "switch";
83
- var _props_tips;
84
- _this.tips = (_props_tips = props === null || props === void 0 ? void 0 : props.tips) !== null && _props_tips !== void 0 ? _props_tips : "";
85
- var _props_disabled;
86
- _this.disabled = (_props_disabled = props === null || props === void 0 ? void 0 : props.disabled) !== null && _props_disabled !== void 0 ? _props_disabled : false;
81
+ var ref;
82
+ _this.showType = (ref = props === null || props === void 0 ? void 0 : props.showType) !== null && ref !== void 0 ? ref : 'switch';
83
+ var ref1;
84
+ _this.tips = (ref1 = props === null || props === void 0 ? void 0 : props.tips) !== null && ref1 !== void 0 ? ref1 : '';
85
+ var ref2;
86
+ _this.disabled = (ref2 = props === null || props === void 0 ? void 0 : props.disabled) !== null && ref2 !== void 0 ? ref2 : false;
87
87
  return _this;
88
88
  }
89
89
  return SwitchProps;
@@ -69,27 +69,27 @@ function _createSuper(Derived) {
69
69
  return _possibleConstructorReturn(this, result);
70
70
  };
71
71
  }
72
- import { BaseProps } from "./base";
73
- export var TextareaProps = /*#__PURE__*/ function(BaseProps) {
72
+ import { BaseProps } from './base';
73
+ export var TextareaProps = /*#__PURE__*/ function(BaseProps1) {
74
74
  "use strict";
75
- _inherits(TextareaProps, BaseProps);
75
+ _inherits(TextareaProps, BaseProps1);
76
76
  var _super = _createSuper(TextareaProps);
77
77
  function TextareaProps(props) {
78
78
  _classCallCheck(this, TextareaProps);
79
79
  var _this;
80
80
  _this = _super.call(this, props);
81
- var _props_maxLength;
82
- _this.maxLength = (_props_maxLength = props === null || props === void 0 ? void 0 : props.maxLength) !== null && _props_maxLength !== void 0 ? _props_maxLength : "";
83
- var _props_minLength;
84
- _this.minLength = (_props_minLength = props === null || props === void 0 ? void 0 : props.minLength) !== null && _props_minLength !== void 0 ? _props_minLength : "";
85
- var _props_placeholder;
86
- _this.placeholder = (_props_placeholder = props === null || props === void 0 ? void 0 : props.placeholder) !== null && _props_placeholder !== void 0 ? _props_placeholder : "";
87
- var _props_maxRows;
88
- _this.maxRows = (_props_maxRows = props === null || props === void 0 ? void 0 : props.maxRows) !== null && _props_maxRows !== void 0 ? _props_maxRows : "";
89
- var _props_minRows;
90
- _this.minRows = (_props_minRows = props === null || props === void 0 ? void 0 : props.minRows) !== null && _props_minRows !== void 0 ? _props_minRows : "";
91
- var _props_i18n;
92
- _this.i18n = (_props_i18n = props === null || props === void 0 ? void 0 : props.i18n) !== null && _props_i18n !== void 0 ? _props_i18n : false;
81
+ var ref;
82
+ _this.maxLength = (ref = props === null || props === void 0 ? void 0 : props.maxLength) !== null && ref !== void 0 ? ref : '';
83
+ var ref1;
84
+ _this.minLength = (ref1 = props === null || props === void 0 ? void 0 : props.minLength) !== null && ref1 !== void 0 ? ref1 : '';
85
+ var ref2;
86
+ _this.placeholder = (ref2 = props === null || props === void 0 ? void 0 : props.placeholder) !== null && ref2 !== void 0 ? ref2 : '';
87
+ var ref3;
88
+ _this.maxRows = (ref3 = props === null || props === void 0 ? void 0 : props.maxRows) !== null && ref3 !== void 0 ? ref3 : '';
89
+ var ref4;
90
+ _this.minRows = (ref4 = props === null || props === void 0 ? void 0 : props.minRows) !== null && ref4 !== void 0 ? ref4 : '';
91
+ var ref5;
92
+ _this.i18n = (ref5 = props === null || props === void 0 ? void 0 : props.i18n) !== null && ref5 !== void 0 ? ref5 : false;
93
93
  return _this;
94
94
  }
95
95
  return TextareaProps;
@@ -6,11 +6,15 @@ function _classCallCheck(instance, Constructor) {
6
6
  export var Group = function Group(schema) {
7
7
  "use strict";
8
8
  _classCallCheck(this, Group);
9
- this.type = "group";
10
- var _schema_title;
11
- this.title = (_schema_title = schema.title) !== null && _schema_title !== void 0 ? _schema_title : "";
12
- var _schema_required;
13
- this.required = (_schema_required = schema.required) !== null && _schema_required !== void 0 ? _schema_required : false;
9
+ this.type = 'group';
10
+ var _title;
11
+ this.title = (_title = schema.title) !== null && _title !== void 0 ? _title : '';
12
+ var _required;
13
+ this.required = (_required = schema.required) !== null && _required !== void 0 ? _required : false;
14
14
  this.items = schema.items;
15
15
  this.tips = schema.tips;
16
+ this.visible = schema.items.some(function(item) {
17
+ var ref;
18
+ return (ref = item.props) === null || ref === void 0 ? void 0 : ref.visible;
19
+ });
16
20
  };
@@ -1,3 +1,3 @@
1
- export * from "./setting";
2
- export * from "./group";
3
- export * from "./tab";
1
+ export * from './setting';
2
+ export * from './group';
3
+ export * from './tab';
@@ -3,8 +3,22 @@ function _classCallCheck(instance, Constructor) {
3
3
  throw new TypeError("Cannot call a class as a function");
4
4
  }
5
5
  }
6
- import { BaseProps } from "../props/base";
7
- import { error, isPlainObject, noop } from "@byteluck-fe/model-driven-shared";
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
+ import { BaseProps } from '../props/base';
21
+ import { error, isPlainObject, noop } from '@byteluck-fe/model-driven-shared';
8
22
  export var Setting = /*#__PURE__*/ function() {
9
23
  "use strict";
10
24
  function Setting(schema) {
@@ -13,57 +27,70 @@ export var Setting = /*#__PURE__*/ function() {
13
27
  this.label = schema.label;
14
28
  this.key = schema.key;
15
29
  this.component = schema.component;
16
- var _schema_effect;
17
- this.effect = (_schema_effect = schema.effect) !== null && _schema_effect !== void 0 ? _schema_effect : {};
18
- var _schema_scopeEffect;
19
- this.scopeEffect = (_schema_scopeEffect = schema.scopeEffect) !== null && _schema_scopeEffect !== void 0 ? _schema_scopeEffect : noop;
30
+ var _effect;
31
+ this.effect = (_effect = schema.effect) !== null && _effect !== void 0 ? _effect : {};
32
+ var _scopeEffect;
33
+ this.scopeEffect = (_scopeEffect = schema.scopeEffect) !== null && _scopeEffect !== void 0 ? _scopeEffect : noop;
20
34
  this.defaultValue = schema.defaultValue;
21
35
  this.validator = schema.validator;
22
- var _schema_props;
23
- this.props = (_schema_props = schema.props) !== null && _schema_props !== void 0 ? _schema_props : new BaseProps();
36
+ var _props;
37
+ this.props = (_props = schema.props) !== null && _props !== void 0 ? _props : new BaseProps();
24
38
  // private init
25
39
  this.effectKeys = Object.keys(this.effect);
26
40
  }
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);
41
+ _createClass(Setting, [
42
+ {
43
+ key: "filterEffects",
44
+ value: function filterEffects(effectKey) {
45
+ var _this = this;
46
+ if (effectKey === '') {
47
+ return Object.values(this.effect);
48
+ }
49
+ return this.effectKeys.filter(function(key) {
50
+ // 触发规则:effectKeys => effectFns
51
+ // dataBind => dataBind
52
+ // dataBind.fieldCode => dataBind、dataBind.fieldCode
53
+ var regexp = new RegExp("^".concat(key, "(\\.\\w+)*$"));
54
+ return regexp.test(effectKey);
55
+ }).map(function(key) {
56
+ return _this.effect[key];
57
+ });
58
+ }
59
+ },
60
+ {
61
+ key: "callEffectFn",
62
+ value: function callEffectFn(effectFn, args) {
63
+ try {
64
+ var result = effectFn.apply(null, args);
65
+ if (isPlainObject(result)) {
66
+ Object.assign(this.props, result);
67
+ }
68
+ } catch (e) {
69
+ error("effect error \n ".concat(e));
70
+ }
71
+ }
72
+ },
73
+ {
74
+ key: "callEffect",
75
+ value: function callEffect(effectKey) {
76
+ for(var _len = arguments.length, args = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++){
77
+ args[_key - 1] = arguments[_key];
78
+ }
79
+ var _this = this;
80
+ this.filterEffects(effectKey).forEach(function(fn) {
81
+ return _this.callEffectFn(fn, args);
82
+ });
83
+ }
84
+ },
85
+ {
86
+ key: "callScopeEffect",
87
+ value: function callScopeEffect() {
88
+ for(var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++){
89
+ args[_key] = arguments[_key];
90
+ }
91
+ this.callEffectFn(this.scopeEffect, args);
48
92
  }
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
93
  }
66
- this.callEffectFn(this.scopeEffect, args);
67
- };
94
+ ]);
68
95
  return Setting;
69
96
  }();
@@ -4,12 +4,12 @@ function _classCallCheck(instance, Constructor) {
4
4
  }
5
5
  }
6
6
  export function isTabSchema(schema) {
7
- return "type" in schema && schema.type === "tab";
7
+ return 'type' in schema && schema.type === 'tab';
8
8
  }
9
9
  export var Tab = function Tab(schema) {
10
10
  "use strict";
11
11
  _classCallCheck(this, Tab);
12
- this.type = "tab";
12
+ this.type = 'tab';
13
13
  this.title = schema.title;
14
14
  this.items = schema.items;
15
15
  };
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.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 or=Object.defineProperty,lr=Object.defineProperties;var sr=Object.getOwnPropertyDescriptors;var Ae=Object.getOwnPropertySymbols;var cr=Object.prototype.hasOwnProperty,Er=Object.prototype.propertyIsEnumerable;var Fe=(p,m,B)=>m in p?or(p,m,{enumerable:!0,configurable:!0,writable:!0,value:B}):p[m]=B,X=(p,m)=>{for(var B in m||(m={}))cr.call(m,B)&&Fe(p,B,m[B]);if(Ae)for(var B of Ae(m))Er.call(m,B)&&Fe(p,B,m[B]);return p},J=(p,m)=>lr(p,sr(m));(function(p,m){typeof exports=="object"&&typeof module!="undefined"?m(exports):typeof define=="function"&&define.amd?define(["exports"],m):(p=typeof globalThis!="undefined"?globalThis:p||self,m(p.modelDrivenSettings={}))})(this,function(p){"use strict";function m(e){return e}class B{constructor(u){var t,a,i;this.visible=(t=u==null?void 0:u.visible)!=null?t:!0,this.expression=(a=u==null?void 0:u.expression)!=null?a:!1,this.updateParent=(i=u==null?void 0:u.updateParent)!=null?i:!1}get isAtomicComponent(){return!0}}var ge="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ce="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",be="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",De="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Se="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ye="{caption}\u5FC5\u586B",Ie="\u8BF7\u8F93\u5165\u6807\u9898",Me="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",we="\u8BF7\u8F93\u5165\u884C\u6807\u9898",$e="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Le="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Re="\u8BF7\u7ED1\u5B9A\u8868\u5355",Ne="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ue="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",_e="\u8BF7\u8F93\u5165\u663E\u793A\u503C",xe="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Pe="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Te="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ge="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ke="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Oe="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ve="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",je="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",ze="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",He="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",qe="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",We="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ke="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Xe="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Je="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Qe="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ze="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ye="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",eu="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",uu="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",tu="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",au="\u8BF7\u7ED1\u5B9A\u670D\u52A1",nu="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ru="\u8BF7\u9009\u62E9\u7701",iu="\u8BF7\u9009\u62E9\u5E02",ou="\u8BF7\u9009\u62E9\u533A",lu="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",su="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",cu="\u8BF7\u8F93\u5165\u5217\u5BBD",Eu="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",hu="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",fu="\u8BF7\u9009\u62E9\u63A7\u4EF6",pu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",vu="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Bu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",mu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",du="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Au="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Fu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",gu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Cu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",bu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Du="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Su="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",yu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Iu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Mu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",wu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",$u="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Lu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ru="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Nu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Uu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_u="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",xu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Pu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Tu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Gu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",ku={isNotNumber:ge,isNotString:Ce,isNotObject:be,isNotArray:De,isNotBoolean:Se,runtimeRequired:ye,pleaseEnterCaption:Ie,pleaseEnterCaptionTip:Me,pleaseEnterRowCaption:we,pleaseEnterPlaceholder:$e,pleaseEnterFieldCode:Le,pleaseEnterForm:Re,pleaseEnterList:Ne,pleaseEnterProcess:Ue,pleaseEnterLabel:_e,pleaseEnterValue:xe,bizKeyNotBindFiled:Pe,pleaseSelectOneField:Te,pleaseEnterNumberRange:Ge,pleaseEnterAValueGreaterThanMin:ke,pleaseEnterAValueLessThanMax:Oe,numberRangeSetError:Ve,stringRangeError:je,attachmentMaxSize:ze,pleaseEnterTotalScoreSetting:He,theTotalScoreMustNotBeLessThan1:qe,scoreDefaultValueRange:We,attachmentLimitError:Ke,PleaseReselectTheOptionalQuantity:Xe,TheMaximumLengthIsGreaterThanTheMinimumLength:Je,TheMinimumLengthIsGreaterThanTheMaximumLength:Qe,PleaseSelectTheCorrectOptionSettings:Ze,optionIdIsRepeat:Ye,optionIsRequired:eu,pleaseEnterDataCode:uu,pleaseEnterValueFieldCode:tu,pleaseEnterSvcCode:au,pleaseBindAtLeastOneDisplayValue:nu,pleaseSelectProvince:ru,pleaseSelectCity:iu,pleaseSelectDistrict:ou,limitRowsCannotBeLessThan0:lu,TheNumberOfRowsCannotBeLessThanMinRows:su,pleaseEnterColumnWidth:cu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Eu,pleaseCompleteAllRulesAndConditions:hu,pleaseSelectControl:fu,pleaseSelectAtLeastOneColumn:pu,pleaseSelectFillBackMode:vu,pleaseSelectDashboard:Bu,rootNodeIsRequired:mu,theViewNameCannotBeEmpty:du,pleaseSelectOcrType:Au,pleaseSelectAtLeastOneFieldToFillIn:Fu,pleaseChooseAtLeastOne:gu,pleaseEnterButtonContent:Cu,pleaseEnterDataCodeInDataSetting:bu,pleaseEnterValueFieldCodeInDataSetting:Du,pleaseEnterSvcCodeInDataSetting:Su,pleaseBindAtLeastOneDisplayValueInDataSetting:yu,rootNodeIsRequiredInDataSetting:Iu,pleaseEnterMaxHeight:Mu,pleaseEnter:wu,pleaseEnterWatermark:$u,pleaseEnterFileName:Lu,pleaseUploadAtLeastOnePrintTemplate:Ru,pleaseAssignBusiness:Nu,pleaseAssignExternal:Uu,pleaseEnterAliasCode:_u,pleaseSelectDataCode:xu,pleaseSelectSvcCode:Pu,pleaseSelectJoinFieldCode:Tu,pleaseSelectMainFieldCode:Gu},Ou="Please enter a number",Vu="Please enter a string",ju="Please enter an object",zu="Please enter an array",Hu="Please enter a boolean",qu="{caption} Required",Wu="Please enter the title",Ku="Please enter the bubble prompt",Xu="Please enter the row title",Ju="Please enter the prompt text",Qu="Please bind data items",Zu="Please bind the form",Yu="Please bind the list",et="Please bind the process",ut="Please enter the displayed value",tt="Please enter the stored value",at="The document number is not bound to the data item",nt="Please select at least one display field",rt="Please enter a value greater than or equal to {min} and less than or equal to {max}",it="Please enter a value greater than or equal to {min}",ot="Please enter a value less than or equal to {max}",lt="The value range is set incorrectly",st="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ct="The attachment size must be between 0MB and 1000MB",Et="Please fill in the total score setting",ht="The total score cannot be less than 1",ft="The default value must be between {min} and {max}",pt="The number of attachments uploaded must be between {min} and {max}",vt="Please re-select the optional quantity",Bt="The maximum length of the control must be greater than the minimum length",mt="The minimum length of the control must be less than the maximum length",dt="Please select the correct option setting",At="Option ID cannot be repeated",Ft="Please enter at least one option",gt="Please bind the data source",Ct="Please bind the stored value",bt="Please bind the service",Dt="At least one display value must be bound",St="Please select a province",yt="Please select a city",It="Please select a district",Mt="The minimum number of lines to fill in cannot be less than 0",wt="The number of rows cannot be less than {min} rows",$t="Please enter the column width",Lt="Please set the logical relationship of all rule conditions",Rt="Please complete all rules and conditions",Nt="please select control",Ut="Please select the dashboard",_t="View name cannot be empty",xt="Please select recognition type",Pt="Please select at least one field to fill in",Tt="Please select at least one",Gt="Please enter the button title",kt="Please bind the business model in the data settings",Ot="Please bind storage values in data settings",Vt="Please bind the service in the data settings",jt="Please bind at least one display value in the data settings",zt="Please select the root node in the data settings",Ht="Please enter the maximum height",qt="The input content cannot be empty",Wt="Watermark cannot be empty",Kt="File name cannot be empty",Xt="Please upload at least one printing template!\uFF01",Jt="Please select a specific business department",Qt="Please select a specified external organization",Zt="Please enter a sub table alias",Yt="Please select the associated table to set the business model",ea="Please select the association table to set the binding service",ua="Select associated sub table fields",ta="Please select the associated main table field",aa={isNotNumber:Ou,isNotString:Vu,isNotObject:ju,isNotArray:zu,isNotBoolean:Hu,runtimeRequired:qu,pleaseEnterCaption:Wu,pleaseEnterCaptionTip:Ku,pleaseEnterRowCaption:Xu,pleaseEnterPlaceholder:Ju,pleaseEnterFieldCode:Qu,pleaseEnterForm:Zu,pleaseEnterList:Yu,pleaseEnterProcess:et,pleaseEnterLabel:ut,pleaseEnterValue:tt,bizKeyNotBindFiled:at,pleaseSelectOneField:nt,pleaseEnterNumberRange:rt,pleaseEnterAValueGreaterThanMin:it,pleaseEnterAValueLessThanMax:ot,numberRangeSetError:lt,stringRangeError:st,attachmentMaxSize:ct,pleaseEnterTotalScoreSetting:Et,theTotalScoreMustNotBeLessThan1:ht,scoreDefaultValueRange:ft,attachmentLimitError:pt,PleaseReselectTheOptionalQuantity:vt,TheMaximumLengthIsGreaterThanTheMinimumLength:Bt,TheMinimumLengthIsGreaterThanTheMaximumLength:mt,PleaseSelectTheCorrectOptionSettings:dt,optionIdIsRepeat:At,optionIsRequired:Ft,pleaseEnterDataCode:gt,pleaseEnterValueFieldCode:Ct,pleaseEnterSvcCode:bt,pleaseBindAtLeastOneDisplayValue:Dt,pleaseSelectProvince:St,pleaseSelectCity:yt,pleaseSelectDistrict:It,limitRowsCannotBeLessThan0:Mt,TheNumberOfRowsCannotBeLessThanMinRows:wt,pleaseEnterColumnWidth:$t,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Lt,pleaseCompleteAllRulesAndConditions:Rt,pleaseSelectControl:Nt,pleaseSelectDashboard:Ut,theViewNameCannotBeEmpty:_t,pleaseSelectOcrType:xt,pleaseSelectAtLeastOneFieldToFillIn:Pt,pleaseChooseAtLeastOne:Tt,pleaseEnterButtonContent:Gt,pleaseEnterDataCodeInDataSetting:kt,pleaseEnterValueFieldCodeInDataSetting:Ot,pleaseEnterSvcCodeInDataSetting:Vt,pleaseBindAtLeastOneDisplayValueInDataSetting:jt,rootNodeIsRequiredInDataSetting:zt,pleaseEnterMaxHeight:Ht,pleaseEnter:qt,pleaseEnterWatermark:Wt,pleaseEnterFileName:Kt,pleaseUploadAtLeastOnePrintTemplate:Xt,pleaseAssignBusiness:Jt,pleaseAssignExternal:Qt,pleaseEnterAliasCode:Zt,pleaseSelectDataCode:Yt,pleaseSelectSvcCode:ea,pleaseSelectJoinFieldCode:ua,pleaseSelectMainFieldCode:ta},na="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ra="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ia="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oa="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",la="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",sa="{caption}\u5FC5\u9808",ca="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ha="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",fa="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pa="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",va="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ba="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ma="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",da="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Aa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",ga="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ca="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ba="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Da="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ya="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ia="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ma="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",wa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",$a="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",La="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ra="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Na="\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",Ua="\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",_a="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xa="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Pa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ta="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ga="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ka="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oa="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Va="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ja="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",za="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ha="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qa="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Wa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ka="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xa="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ja="please select control",Qa="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Za="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ya="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",en="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",un="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tn="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",an="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",nn="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",rn="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",on="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ln="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sn="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",cn="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",En="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",hn="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fn="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",pn="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vn="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Bn="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",mn="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",dn="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",An="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Fn="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gn={isNotNumber:na,isNotString:ra,isNotObject:ia,isNotArray:oa,isNotBoolean:la,runtimeRequired:sa,pleaseEnterCaption:ca,pleaseEnterCaptionTip:Ea,pleaseEnterRowCaption:ha,pleaseEnterPlaceholder:fa,pleaseEnterFieldCode:pa,pleaseEnterForm:va,pleaseEnterList:Ba,pleaseEnterProcess:ma,pleaseEnterLabel:da,pleaseEnterValue:Aa,bizKeyNotBindFiled:Fa,pleaseSelectOneField:ga,pleaseEnterNumberRange:Ca,pleaseEnterAValueGreaterThanMin:ba,pleaseEnterAValueLessThanMax:Da,numberRangeSetError:Sa,stringRangeError:ya,attachmentMaxSize:Ia,pleaseEnterTotalScoreSetting:Ma,theTotalScoreMustNotBeLessThan1:wa,scoreDefaultValueRange:$a,attachmentLimitError:La,PleaseReselectTheOptionalQuantity:Ra,TheMaximumLengthIsGreaterThanTheMinimumLength:Na,TheMinimumLengthIsGreaterThanTheMaximumLength:Ua,PleaseSelectTheCorrectOptionSettings:_a,optionIdIsRepeat:xa,optionIsRequired:Pa,pleaseEnterDataCode:Ta,pleaseEnterValueFieldCode:Ga,pleaseEnterSvcCode:ka,pleaseBindAtLeastOneDisplayValue:Oa,pleaseSelectProvince:Va,pleaseSelectCity:ja,pleaseSelectDistrict:za,limitRowsCannotBeLessThan0:Ha,TheNumberOfRowsCannotBeLessThanMinRows:qa,pleaseEnterColumnWidth:Wa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ka,pleaseCompleteAllRulesAndConditions:Xa,pleaseSelectControl:Ja,pleaseSelectDashboard:Qa,theViewNameCannotBeEmpty:Za,pleaseSelectOcrType:Ya,pleaseSelectAtLeastOneFieldToFillIn:en,pleaseChooseAtLeastOne:un,pleaseEnterButtonContent:tn,pleaseEnterDataCodeInDataSetting:an,pleaseEnterValueFieldCodeInDataSetting:nn,pleaseEnterSvcCodeInDataSetting:rn,pleaseBindAtLeastOneDisplayValueInDataSetting:on,rootNodeIsRequiredInDataSetting:ln,pleaseEnterMaxHeight:sn,pleaseEnter:cn,pleaseEnterWatermark:En,pleaseEnterFileName:hn,pleaseUploadAtLeastOnePrintTemplate:fn,pleaseAssignBusiness:pn,pleaseAssignExternal:vn,pleaseEnterAliasCode:Bn,pleaseSelectDataCode:mn,pleaseSelectSvcCode:dn,pleaseSelectJoinFieldCode:An,pleaseSelectMainFieldCode:Fn},Cn={zhCN:ku,enUS:aa,jaJP:gn},ae;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(ae||(ae={}));var ne;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ne||(ne={}));var bn="zh-CN",Dn=function(){};function I(e,u,t){return u in e?Object.defineProperty(e,u,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[u]=t,e}var re;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(re||(re={}));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",e.GRID_LAYOUT_WRAP="grid-layout-wrap"})(A||(A={}));var F;(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"})(F||(F={}));var g;g={},I(g,F.ARRAY,A.ARRAY_COLUMN),I(g,F.AUTO_NUMBER,A.AUTO_NUMBER_COLUMN),I(g,F.DECIMAL,A.DECIMAL_COLUMN),I(g,F.DEPARTMENTS,A.DEPARTMENT_COLUMN),I(g,F.FILE,A.FILE_COLUMN),I(g,F.IMAGE,A.IMAGE_COLUMN),I(g,F.ADDRESS,A.LOCATION_COLUMN),I(g,F.EMPLOYEES,A.EMPLOYEE_COLUMN),I(g,F.TEXT,A.TEXT_COLUMN),I(g,F.TIMESCOPE,A.TIMESCOPE_COLUMN),I(g,F.TIMESTAMP,A.TIMESTAMP_COLUMN),I(g,F.VARCHAR,A.VARCHAR_COLUMN),I(g,F.RELATION,A.VARCHAR_COLUMN);var ie;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(ie||(ie={}));function Sn(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yn(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function In(){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 z(e,u,t){return In()?z=Reflect.construct:z=function(i,h,v){var d=[null];d.push.apply(d,h);var L=Function.bind.apply(i,d),U=new L;return v&&T(U,v.prototype),U},z.apply(null,arguments)}function P(e){return P=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},P(e)}function Mn(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&&T(e,u)}function wn(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function $n(e,u){return u&&(Ln(u)==="object"||typeof u=="function")?u:Sn(e)}function T(e,u){return T=Object.setPrototypeOf||function(a,i){return a.__proto__=i,a},T(e,u)}var Ln=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Q(e){var u=typeof Map=="function"?new Map:void 0;return Q=function(a){if(a===null||!wn(a))return a;if(typeof a!="function")throw new TypeError("Super expression must either be null or a function");if(typeof u!="undefined"){if(u.has(a))return u.get(a);u.set(a,i)}function i(){return z(a,arguments,P(this).constructor)}return i.prototype=Object.create(a.prototype,{constructor:{value:i,enumerable:!1,writable:!0,configurable:!0}}),T(i,a)},Q(e)}function Rn(){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 Nn(e){var u=Rn();return function(){var a=P(e),i;if(u){var h=P(this).constructor;i=Reflect.construct(a,arguments,h)}else i=a.apply(this,arguments);return $n(this,i)}}function Un(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var _n=function(e){Mn(t,e);var u=Nn(t);function t(a){yn(this,t);var i;return i=u.call(this,a),i.name="\u{1F4A5} Driven Error",i.message=a?Un(a):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return t}(Q(Error));function xn(e){throw new _n(e)}var Pn=Object.prototype.toString;function oe(e,u){return Pn.call(e)==="[object "+u+"]"}function Tn(e){return oe(e,"String")}function Gn(e){return oe(e,"Promise")}var kn=function(){function e(u){var t,a;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((a=(t=u.messages)!==null&&t!==void 0?t:this.getPreImport(u.locale))!==null&&a!==void 0?a:{}),u.variableRegExp&&(this.variableRegExp=u.variableRegExp),this.setLocale(u.locale)}return e.prototype.setLocale=function(u){var t=this;this.locale=u,this._messageCache.clear();var a=this.getMessageData();Gn(a)?a.then(function(i){t._messageCache.clear(),t.messages[t.localeInMessageKey]=i}):this.messages[this.localeInMessageKey]=a},e.prototype.getMessageData=function(){var u=this._messages[this.localeInMessageKey];return typeof u=="function"?u():u},e.prototype.translate=function(u,t,a){var i=this.getMessage(u);return i?this.formatMessage(i,a):this.formatMessage(t,a)},e.prototype.getMessage=function(u){if(this._messageCache.has(u))return this._messageCache.get(u);var t=this.getPathArray(u),a=t.reduce(function(i,h,v,d){if(i!==void 0){var L=i[h];if(!(v===d.length-1&&!Tn(L)))return L}},this.message);return this._messageCache.set(u,a),a},e.prototype.formatMessage=function(u,t){return t?u.replace(this.variableRegExp,function(a,i){var h=t[i];return h!==void 0?String(h):a}):u},e.prototype.getPreImport=function(u){var t;if(window.okI18nPreImport){var a=this.getLocaleInMessageKey(u);return window.okI18nPreImport.hasOwnProperty(a)?window.okI18nPreImport:(t={},t[a]=window.okI18nPreImport,t)}},e.prototype.getPathArray=function(u){return u.split(".")},e.prototype.getLocaleInMessageKey=function(u){return u.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var u;return(u=this.messages[this.localeInMessageKey])!==null&&u!==void 0?u:{}},enumerable:!1,configurable:!0}),e}();function On(e,u){if(!(e instanceof u))throw new TypeError("Cannot call a class as a function")}function le(e,u){for(var t=0;t<u.length;t++){var a=u[t];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function Vn(e,u,t){return u&&le(e.prototype,u),t&&le(e,t),e}var se=function(){function e(){On(this,e)}return Vn(e,null,[{key:"getMessage",value:function(t){var a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(t,"",a)}},{key:"resetI18n",value:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:bn;return new kn({locale:t,messages:Cn})}},{key:"setLocale",value:function(t){return this.$i18n.setLocale(t)}}]),e}();se.$i18n=se.resetI18n();var jn=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},zn={exports:{}};(function(e){(function(u){var t=function(s,c,C){if(!U(c)||w(c)||H(c)||k(c)||L(c))return c;var b,M=0,_=0;if(G(c))for(b=[],_=c.length;M<_;M++)b.push(t(s,c[M],C));else{b={};for(var R in c)Object.prototype.hasOwnProperty.call(c,R)&&(b[s(R,C)]=t(s,c[R],C))}return b},a=function(s,c){c=c||{};var C=c.separator||"_",b=c.split||/(?=[A-Z])/;return s.split(b).join(C)},i=function(s){return q(s)?s:(s=s.replace(/[\-_\s]+(.)?/g,function(c,C){return C?C.toUpperCase():""}),s.substr(0,1).toLowerCase()+s.substr(1))},h=function(s){var c=i(s);return c.substr(0,1).toUpperCase()+c.substr(1)},v=function(s,c){return a(s,c).toLowerCase()},d=Object.prototype.toString,L=function(s){return typeof s=="function"},U=function(s){return s===Object(s)},G=function(s){return d.call(s)=="[object Array]"},w=function(s){return d.call(s)=="[object Date]"},H=function(s){return d.call(s)=="[object RegExp]"},k=function(s){return d.call(s)=="[object Boolean]"},q=function(s){return s=s-0,s===s},O=function(s,c){var C=c&&"process"in c?c.process:c;return typeof C!="function"?s:function(b,M){return C(b,s,M)}},V={camelize:i,decamelize:v,pascalize:h,depascalize:v,camelizeKeys:function(s,c){return t(O(i,c),s)},decamelizeKeys:function(s,c){return t(O(v,c),s,c)},pascalizeKeys:function(s,c){return t(O(h,c),s)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=V:u.humps=V})(jn)})(zn);var ce={};Object.defineProperty(ce,"__esModule",{value:!0});function Z(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(u=>typeof u!="object"||u===null?u:Z(u));{const u={};for(const t in e){const a=e[t];u[t]=typeof a!="object"||a===null?a:Z(a)}return u}}ce.default=Z;function Ee(e){return Object.prototype.toString.call(e)==="[object Object]"}var Hn={exports:{}};(function(e){var u=function(t){var a=Object.prototype,i=a.hasOwnProperty,h=Object.defineProperty||function(r,n,o){r[n]=o.value},v,d=typeof Symbol=="function"?Symbol:{},L=d.iterator||"@@iterator",U=d.asyncIterator||"@@asyncIterator",G=d.toStringTag||"@@toStringTag";function w(r,n,o){return Object.defineProperty(r,n,{value:o,enumerable:!0,configurable:!0,writable:!0}),r[n]}try{w({},"")}catch(r){w=function(n,o,E){return n[o]=E}}function H(r,n,o,E){var l=n&&n.prototype instanceof C?n:C,f=Object.create(l.prototype),D=new ee(E||[]);return h(f,"_invoke",{value:nr(r,o,D)}),f}t.wrap=H;function k(r,n,o){try{return{type:"normal",arg:r.call(n,o)}}catch(E){return{type:"throw",arg:E}}}var q="suspendedStart",O="suspendedYield",V="executing",s="completed",c={};function C(){}function b(){}function M(){}var _={};w(_,L,function(){return this});var R=Object.getPrototypeOf,W=R&&R(R(ue([])));W&&W!==a&&i.call(W,L)&&(_=W);var x=M.prototype=C.prototype=Object.create(_);b.prototype=M,h(x,"constructor",{value:M,configurable:!0}),h(M,"constructor",{value:b,configurable:!0}),b.displayName=w(M,G,"GeneratorFunction");function me(r){["next","throw","return"].forEach(function(n){w(r,n,function(o){return this._invoke(n,o)})})}t.isGeneratorFunction=function(r){var n=typeof r=="function"&&r.constructor;return n?n===b||(n.displayName||n.name)==="GeneratorFunction":!1},t.mark=function(r){return Object.setPrototypeOf?Object.setPrototypeOf(r,M):(r.__proto__=M,w(r,G,"GeneratorFunction")),r.prototype=Object.create(x),r},t.awrap=function(r){return{__await:r}};function K(r,n){function o(f,D,S,$){var y=k(r[f],r,D);if(y.type==="throw")$(y.arg);else{var te=y.arg,j=te.value;return j&&typeof j=="object"&&i.call(j,"__await")?n.resolve(j.__await).then(function(N){o("next",N,S,$)},function(N){o("throw",N,S,$)}):n.resolve(j).then(function(N){te.value=N,S(te)},function(N){return o("throw",N,S,$)})}}var E;function l(f,D){function S(){return new n(function($,y){o(f,D,$,y)})}return E=E?E.then(S,S):S()}h(this,"_invoke",{value:l})}me(K.prototype),w(K.prototype,U,function(){return this}),t.AsyncIterator=K,t.async=function(r,n,o,E,l){l===void 0&&(l=Promise);var f=new K(H(r,n,o,E),l);return t.isGeneratorFunction(n)?f:f.next().then(function(D){return D.done?D.value:f.next()})};function nr(r,n,o){var E=q;return function(f,D){if(E===V)throw new Error("Generator is already running");if(E===s){if(f==="throw")throw D;return ir()}for(o.method=f,o.arg=D;;){var S=o.delegate;if(S){var $=de(S,o);if($){if($===c)continue;return $}}if(o.method==="next")o.sent=o._sent=o.arg;else if(o.method==="throw"){if(E===q)throw E=s,o.arg;o.dispatchException(o.arg)}else o.method==="return"&&o.abrupt("return",o.arg);E=V;var y=k(r,n,o);if(y.type==="normal"){if(E=o.done?s:O,y.arg===c)continue;return{value:y.arg,done:o.done}}else y.type==="throw"&&(E=s,o.method="throw",o.arg=y.arg)}}}function de(r,n){var o=n.method,E=r.iterator[o];if(E===v)return n.delegate=null,o==="throw"&&r.iterator.return&&(n.method="return",n.arg=v,de(r,n),n.method==="throw")||o!=="return"&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+o+"' method")),c;var l=k(E,r.iterator,n.arg);if(l.type==="throw")return n.method="throw",n.arg=l.arg,n.delegate=null,c;var f=l.arg;if(!f)return n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,c;if(f.done)n[r.resultName]=f.value,n.next=r.nextLoc,n.method!=="return"&&(n.method="next",n.arg=v);else return f;return n.delegate=null,c}me(x),w(x,G,"Generator"),w(x,L,function(){return this}),w(x,"toString",function(){return"[object Generator]"});function rr(r){var n={tryLoc:r[0]};1 in r&&(n.catchLoc=r[1]),2 in r&&(n.finallyLoc=r[2],n.afterLoc=r[3]),this.tryEntries.push(n)}function Y(r){var n=r.completion||{};n.type="normal",delete n.arg,r.completion=n}function ee(r){this.tryEntries=[{tryLoc:"root"}],r.forEach(rr,this),this.reset(!0)}t.keys=function(r){var n=Object(r),o=[];for(var E in n)o.push(E);return o.reverse(),function l(){for(;o.length;){var f=o.pop();if(f in n)return l.value=f,l.done=!1,l}return l.done=!0,l}};function ue(r){if(r||r===""){var n=r[L];if(n)return n.call(r);if(typeof r.next=="function")return r;if(!isNaN(r.length)){var o=-1,E=function l(){for(;++o<r.length;)if(i.call(r,o))return l.value=r[o],l.done=!1,l;return l.value=v,l.done=!0,l};return E.next=E}}throw new TypeError(typeof r+" is not iterable")}t.values=ue;function ir(){return{value:v,done:!0}}return ee.prototype={constructor:ee,reset:function(r){if(this.prev=0,this.next=0,this.sent=this._sent=v,this.done=!1,this.delegate=null,this.method="next",this.arg=v,this.tryEntries.forEach(Y),!r)for(var n in this)n.charAt(0)==="t"&&i.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=v)},stop:function(){this.done=!0;var r=this.tryEntries[0],n=r.completion;if(n.type==="throw")throw n.arg;return this.rval},dispatchException:function(r){if(this.done)throw r;var n=this;function o($,y){return f.type="throw",f.arg=r,n.next=$,y&&(n.method="next",n.arg=v),!!y}for(var E=this.tryEntries.length-1;E>=0;--E){var l=this.tryEntries[E],f=l.completion;if(l.tryLoc==="root")return o("end");if(l.tryLoc<=this.prev){var D=i.call(l,"catchLoc"),S=i.call(l,"finallyLoc");if(D&&S){if(this.prev<l.catchLoc)return o(l.catchLoc,!0);if(this.prev<l.finallyLoc)return o(l.finallyLoc)}else if(D){if(this.prev<l.catchLoc)return o(l.catchLoc,!0)}else if(S){if(this.prev<l.finallyLoc)return o(l.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(r,n){for(var o=this.tryEntries.length-1;o>=0;--o){var E=this.tryEntries[o];if(E.tryLoc<=this.prev&&i.call(E,"finallyLoc")&&this.prev<E.finallyLoc){var l=E;break}}l&&(r==="break"||r==="continue")&&l.tryLoc<=n&&n<=l.finallyLoc&&(l=null);var f=l?l.completion:{};return f.type=r,f.arg=n,l?(this.method="next",this.next=l.finallyLoc,c):this.complete(f)},complete:function(r,n){if(r.type==="throw")throw r.arg;return r.type==="break"||r.type==="continue"?this.next=r.arg:r.type==="return"?(this.rval=this.arg=r.arg,this.method="return",this.next="end"):r.type==="normal"&&n&&(this.next=n),c},finish:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.finallyLoc===r)return this.complete(o.completion,o.afterLoc),Y(o),c}},catch:function(r){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc===r){var E=o.completion;if(E.type==="throw"){var l=E.arg;Y(o)}return l}}throw new Error("illegal catch attempt")},delegateYield:function(r,n,o){return this.delegate={iterator:ue(r),resultName:n,nextLoc:o},this.method==="next"&&(this.arg=v),c}},t}(e.exports);try{regeneratorRuntime=u}catch(t){typeof globalThis=="object"?globalThis.regeneratorRuntime=u:Function("r","regeneratorRuntime = r")(u)}})(Hn);class he{constructor(u){var t,a,i;this.type=u.type,this.label=u.label,this.key=u.key,this.component=u.component,this.effect=(t=u.effect)!=null?t:{},this.scopeEffect=(a=u.scopeEffect)!=null?a:Dn,this.defaultValue=u.defaultValue,this.validator=u.validator,this.props=(i=u.props)!=null?i:new B,this.effectKeys=Object.keys(this.effect)}filterEffects(u){return u===""?Object.values(this.effect):this.effectKeys.filter(t=>new RegExp(`^${t}(\\.\\w+)*$`).test(u)).map(t=>this.effect[t])}callEffectFn(u,t){try{const a=u.apply(null,t);Ee(a)&&Object.assign(this.props,a)}catch(a){xn(`effect error
2
+ ${a}`)}}callEffect(u,...t){this.filterEffects(u).forEach(a=>this.callEffectFn(a,t))}callScopeEffect(...u){this.callEffectFn(this.scopeEffect,u)}}class fe{constructor(u){var t,a;this.type="group",this.title=(t=u.title)!=null?t:"",this.required=(a=u.required)!=null?a:!1,this.items=u.items,this.tips=u.tips,this.visible=u.items.some(i=>{var h;return(h=i.props)==null?void 0:h.visible})}}function pe(e){return"type"in e&&e.type==="tab"}class ve{constructor(u){this.type="tab",this.title=u.title,this.items=u.items}}class qn extends B{constructor(u){super(u);Ee(u)&&Object.entries(u).forEach(([t,a])=>{this[t]=a})}}class Wn extends B{constructor(u){super(u);var t,a,i,h;this.maxLength=(t=u==null?void 0:u.maxLength)!=null?t:"",this.minLength=(a=u==null?void 0:u.minLength)!=null?a:"",this.placeholder=(i=u==null?void 0:u.placeholder)!=null?i:"",this.i18n=(h=u==null?void 0:u.i18n)!=null?h:!1}}class Kn extends B{constructor(u){super(u);var t,a,i;this.max=(t=u==null?void 0:u.max)!=null?t:"",this.min=(a=u==null?void 0:u.min)!=null?a:"",this.placeholder=(i=u==null?void 0:u.placeholder)!=null?i:""}}class Xn extends B{constructor(u){super(u);var t,a,i;this.showType=(t=u==null?void 0:u.showType)!=null?t:"switch",this.tips=(a=u==null?void 0:u.tips)!=null?a:"",this.disabled=(i=u==null?void 0:u.disabled)!=null?i:!1}}class Jn extends B{constructor(u){super(u);var t;this.options=(t=u==null?void 0:u.options)!=null?t:[]}}class Qn extends B{constructor(u){super(u);var t,a;this.placeholder=(t=u==null?void 0:u.placeholder)!=null?t:"",this.options=(a=u==null?void 0:u.options)!=null?a:[]}}class Zn extends B{constructor(u){super(u);var t,a;this.options=(t=u==null?void 0:u.options)!=null?t:[],this.showType=(a=u==null?void 0:u.showType)!=null?a:"outline"}}class Yn extends B{constructor(u){super(u);var t,a,i,h,v,d;this.maxLength=(t=u==null?void 0:u.maxLength)!=null?t:"",this.minLength=(a=u==null?void 0:u.minLength)!=null?a:"",this.placeholder=(i=u==null?void 0:u.placeholder)!=null?i:"",this.maxRows=(h=u==null?void 0:u.maxRows)!=null?h:"",this.minRows=(v=u==null?void 0:u.minRows)!=null?v:"",this.i18n=(d=u==null?void 0:u.i18n)!=null?d:!1}}function er(e,u){switch(e){case"input":return new Wn(u);case"textarea":return new Yn(u);case"input-number":return new Kn(u);case"switch":return new Xn(u);case"radio":return new Zn(u);case"checkbox":return new Jn(u);case"select":return new Qn(u);default:return new qn(u)}}function ur(e){return function(u){const t=e.get(u);if(!!t)return new he(J(X({},t),{props:er(t.component,"props"in t?t.props:void 0)}))}}function tr(e){const u=e.fields.reduce((i,h)=>(i.set(h.key,h),i),new Map);function t(i){return new fe(J(X({},i),{items:i.items.map(ur(u)).filter(Boolean)}))}function a(i){return i.map(t)}return e.groups.map(i=>pe(i)?new ve(J(X({},i),{items:a(i.items)})):t(i))}function Be(){return[{label:"\u9690\u85CF",key:"isHide",type:"boolean",component:"switch"},{key:"superSetting",component:"super-setting"},{key:"style.width",component:"styleComponent",props:{configKey:"style.widthConfig",options:["px","%","fill","hug"]},scopeEffect(e,u){const{oldParent:t,newParent:a,instance:i}=u;if((t==null?void 0:t.type)==="advanced-container"&&a.type==="positioning-container"&&(e.setInstance(i,"style.width",""),e.setInstance(i,"style.widthConfig","fill")),a)return{visible:a.type==="advanced-container"}}},{key:"style.height",component:"styleComponent",props:{configKey:"style.heightConfig",options:["px","%","fill","hug"]},scopeEffect(e,u){const{oldParent:t,newParent:a,instance:i}=u;if((t==null?void 0:t.type)==="advanced-container"&&a.type==="positioning-container"&&(e.setInstance(i,"style.height",""),e.setInstance(i,"style.heightConfig","fill")),u.newParent)return{visible:u.newParent.type==="advanced-container"}}}]}function ar(e){return[...Be(),{type:"DataBind",key:"dataBind",component:"data-bind",defaultValue:e==null?void 0:e.dataBind},{key:"caption",type:"string",component:"input",props:{maxLength:80,i18n:!0},defaultValue:e==null?void 0:e.caption,validator(u){if(!u)return"\u6807\u9898\u5FC5\u586B"}},{label:"\u9690\u85CF\u6807\u9898",key:"isHideCaption",type:"boolean",component:"switch",defaultValue:e==null?void 0:e.isHideCaption,props:{showType:"checkbox"},scopeEffect(u,t){var a,i;if(((a=t.current)==null?void 0:a.type)!==((i=t.from)==null?void 0:i.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}}]}p.Group=fe,p.Setting=he,p.Tab=ve,p.createBaseFields=Be,p.createFormBaseFields=ar,p.defineInstance=m,p.initSettings=tr,p.isTabSchema=pe,Object.defineProperty(p,"__esModule",{value:!0})});
@@ -62,12 +62,12 @@ interface CustomSchema extends BaseSchema<CustomProps> {
62
62
  component: string;
63
63
  props?: Partial<CustomProps>;
64
64
  }
65
- export type SettingSchemas = InputSchema | InputNumberSchema | TextareaSchema | SwitchSchema | SelectSchema | CheckboxSchema | RadioSchema | CustomSchema;
65
+ export declare type SettingSchemas = InputSchema | InputNumberSchema | TextareaSchema | SwitchSchema | SelectSchema | CheckboxSchema | RadioSchema | CustomSchema;
66
66
  export interface RuntimeValidator {
67
67
  (props: any, value: unknown, i18n: string): string | boolean | void;
68
68
  }
69
- export type FieldSchema = SettingSchemas | BaseSchema<{}>;
70
- export type GroupsSchema = GroupSchema[] | TabSchema[];
69
+ export declare type FieldSchema = SettingSchemas | BaseSchema<{}>;
70
+ export declare type GroupsSchema = GroupSchema[] | TabSchema[];
71
71
  export interface DefineInstanceParams {
72
72
  fields: FieldSchema[];
73
73
  groups: GroupsSchema;
@@ -9,6 +9,6 @@ import { SelectProps } from './props/select';
9
9
  import { RadioProps } from './props/radio';
10
10
  import { TextareaProps } from './props/textarea';
11
11
  import { Tab } from './schema/tab';
12
- export type Props = CustomProps | InputProps | TextareaProps | InputNumberProps | SwitchProps | CheckboxProps | RadioProps | SelectProps;
13
- export type Settings = Group[] | Tab[];
12
+ export declare type Props = CustomProps | InputProps | TextareaProps | InputNumberProps | SwitchProps | CheckboxProps | RadioProps | SelectProps;
13
+ export declare type Settings = Group[] | Tab[];
14
14
  export declare function initSettings(params: DefineInstanceParams): Settings;
@@ -7,6 +7,11 @@ export declare class BaseProps {
7
7
  * 开启表达式
8
8
  * */
9
9
  expression: boolean;
10
+ /**
11
+ *
12
+ * 是否改变父属性
13
+ */
14
+ updateParent: boolean;
10
15
  constructor(props?: Partial<BaseProps>);
11
16
  get isAtomicComponent(): boolean;
12
17
  }
@@ -12,6 +12,7 @@ export declare class Group {
12
12
  items: Setting[];
13
13
  tips?: string;
14
14
  fromId?: string;
15
+ visible?: boolean;
15
16
  constructor(schema: Omit<GroupSchema, 'items'> & {
16
17
  items: Setting[];
17
18
  });
@@ -2,8 +2,8 @@ import { BaseProps } from '../props/base';
2
2
  export interface EffectFn<Props extends object> {
3
3
  (driven: any, payload: any): void | Partial<Props>;
4
4
  }
5
- export type SupportedDataTypes = 'string' | 'boolean' | 'number' | 'object' | 'array' | 'DataBind' | 'DataSourceBind';
6
- export type Validator<P extends any = any, T extends any = any> = (props: P, value: T) => boolean | string | void;
5
+ export declare type SupportedDataTypes = 'string' | 'boolean' | 'number' | 'object' | 'array' | 'DataBind' | 'DataSourceBind';
6
+ export declare type Validator<P extends any = any, T extends any = any> = (props: P, value: T) => boolean | string | void;
7
7
  export interface BaseSchema<Props extends object> {
8
8
  /**
9
9
  * 数据类型,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-settings",
3
- "version": "2.7.0-alpha.1",
3
+ "version": "2.7.0-alpha.12",
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.1",
30
- "@byteluck-fe/model-driven-shared": "2.7.0-alpha.0",
29
+ "@byteluck-fe/model-driven-core": "2.7.0-alpha.12",
30
+ "@byteluck-fe/model-driven-shared": "2.7.0-alpha.11",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
- "gitHead": "0c20ba5391d84052c268e2f56e577453ed02fd63"
33
+ "gitHead": "e266007f74d92b7552ff0af7e6263b85163553ca"
34
34
  }