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