@byteluck-fe/model-driven-core 1.8.1-beta.2 → 1.8.1-beta.3

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.
@@ -92,9 +92,8 @@ export var AutoWidth = function AutoWidth(props) {
92
92
  "use strict";
93
93
  _classCallCheck(this, AutoWidth);
94
94
  var _props_minWidth;
95
- this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 60;
96
- var _props_maxWidth;
97
- this.maxWidth = (_props_maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth) !== null && _props_maxWidth !== void 0 ? _props_maxWidth : 150;
95
+ this.minWidth = (_props_minWidth = props === null || props === void 0 ? void 0 : props.minWidth) !== null && _props_minWidth !== void 0 ? _props_minWidth : 150;
96
+ this.maxWidth = props === null || props === void 0 ? void 0 : props.maxWidth;
98
97
  var _props_flex;
99
98
  this.flex = (_props_flex = props === null || props === void 0 ? void 0 : props.flex) !== null && _props_flex !== void 0 ? _props_flex : 1;
100
99
  };
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var ds=Object.defineProperty,fs=Object.defineProperties;var hs=Object.getOwnPropertyDescriptors;var Jt=Object.getOwnPropertySymbols,ms=Object.getPrototypeOf,gs=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,Es=Reflect.get;var Qt=(l,D,w)=>D in l?ds(l,D,{enumerable:!0,configurable:!0,writable:!0,value:w}):l[D]=w,Q=(l,D)=>{for(var w in D||(D={}))gs.call(D,w)&&Qt(l,w,D[w]);if(Jt)for(var w of Jt(D))ys.call(D,w)&&Qt(l,w,D[w]);return l},ve=(l,D)=>fs(l,hs(D));var nt=(l,D,w)=>Es(ms(l),w,D);var re=(l,D,w)=>new Promise((Be,se)=>{var Ae=U=>{try{Z(w.next(U))}catch(Y){se(Y)}},Ce=U=>{try{Z(w.throw(U))}catch(Y){se(Y)}},Z=U=>U.done?Be(U.value):Promise.resolve(U.value).then(Ae,Ce);Z((w=w.apply(l,D)).next())});(function(l,D){typeof exports=="object"&&typeof module!="undefined"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(l=typeof globalThis!="undefined"?globalThis:l||self,D(l.modelDrivenCore={}))})(this,function(l){"use strict";var D="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",w="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Be="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",se="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ae="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ce="{caption}\u5FC5\u586B",Z="\u8BF7\u8F93\u5165\u6807\u9898",U="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Y="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Zt="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Yt="\u8BF7\u7ED1\u5B9A\u8868\u5355",pt="\u8BF7\u7ED1\u5B9A\u5217\u8868",en="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",tn="\u8BF7\u8F93\u5165\u663E\u793A\u503C",nn="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",un="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",an="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",rn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",sn="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ln="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",on="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",cn="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",dn="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",fn="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",hn="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",mn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",gn="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",yn="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",En="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",vn="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Bn="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",An="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Cn="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Fn="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Dn="\u8BF7\u7ED1\u5B9A\u670D\u52A1",bn="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Sn="\u8BF7\u9009\u62E9\u7701",wn="\u8BF7\u9009\u62E9\u5E02",In="\u8BF7\u9009\u62E9\u533A",Rn="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Mn="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ln="\u8BF7\u8F93\u5165\u5217\u5BBD",$n="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",qn="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Pn="\u8BF7\u9009\u62E9\u63A7\u4EF6",xn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Vn="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Nn="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",On="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",_n="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Un="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",jn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Hn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Tn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Wn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Kn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",zn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",kn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Gn="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Jn="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Qn="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Zn="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Yn="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",pn="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",eu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",tu={isNotNumber:D,isNotString:w,isNotObject:Be,isNotArray:se,isNotBoolean:Ae,runtimeRequired:Ce,pleaseEnterCaption:Z,pleaseEnterCaptionTip:U,pleaseEnterPlaceholder:Y,pleaseEnterFieldCode:Zt,pleaseEnterForm:Yt,pleaseEnterList:pt,pleaseEnterProcess:en,pleaseEnterLabel:tn,pleaseEnterValue:nn,bizKeyNotBindFiled:un,pleaseEnterNumberRange:an,pleaseEnterAValueGreaterThanMin:rn,pleaseEnterAValueLessThanMax:sn,numberRangeSetError:ln,stringRangeError:on,attachmentMaxSize:cn,pleaseEnterTotalScoreSetting:dn,theTotalScoreMustNotBeLessThan1:fn,scoreDefaultValueRange:hn,attachmentLimitError:mn,PleaseReselectTheOptionalQuantity:gn,TheMaximumLengthIsGreaterThanTheMinimumLength:yn,TheMinimumLengthIsGreaterThanTheMaximumLength:En,PleaseSelectTheCorrectOptionSettings:vn,optionIdIsRepeat:Bn,optionIsRequired:An,pleaseEnterDataCode:Cn,pleaseEnterValueFieldCode:Fn,pleaseEnterSvcCode:Dn,pleaseBindAtLeastOneDisplayValue:bn,pleaseSelectProvince:Sn,pleaseSelectCity:wn,pleaseSelectDistrict:In,limitRowsCannotBeLessThan0:Rn,TheNumberOfRowsCannotBeLessThanMinRows:Mn,pleaseEnterColumnWidth:Ln,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$n,pleaseCompleteAllRulesAndConditions:qn,pleaseSelectControl:Pn,pleaseSelectAtLeastOneColumn:xn,pleaseSelectFillBackMode:Vn,pleaseSelectDashboard:Nn,rootNodeIsRequired:On,theViewNameCannotBeEmpty:_n,pleaseSelectOcrType:Un,pleaseSelectAtLeastOneFieldToFillIn:jn,pleaseChooseAtLeastOne:Hn,pleaseEnterButtonContent:Tn,pleaseEnterDataCodeInDataSetting:Wn,pleaseEnterValueFieldCodeInDataSetting:Kn,pleaseEnterSvcCodeInDataSetting:zn,pleaseBindAtLeastOneDisplayValueInDataSetting:Xn,rootNodeIsRequiredInDataSetting:kn,pleaseEnterMaxHeight:Gn,pleaseEnter:Jn,pleaseEnterWatermark:Qn,pleaseEnterFileName:Zn,pleaseUploadAtLeastOnePrintTemplate:Yn,pleaseAssignBusiness:pn,pleaseAssignExternal:eu},nu="Please enter a number",uu="Please enter a string",au="Please enter an object",iu="Please enter an array",ru="Please enter a boolean",su="{caption} Required",lu="Please enter the title",ou="Please enter the bubble prompt",cu="Please enter the prompt text",du="Please bind data items",fu="Please bind the form",hu="Please bind the list",mu="Please bind the process",gu="Please enter the displayed value",yu="Please enter the stored value",Eu="The document number is not bound to the data item",vu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Bu="Please enter a value greater than or equal to {min}",Au="Please enter a value less than or equal to {max}",Cu="The value range is set incorrectly",Fu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Du="The attachment size must be between 0MB and 1000MB",bu="Please fill in the total score setting",Su="The total score cannot be less than 1",wu="The default value must be between {min} and {max}",Iu="The number of attachments uploaded must be between {min} and {max}",Ru="Please re-select the optional quantity",Mu="The maximum length of the control must be greater than the minimum length",Lu="The minimum length of the control must be less than the maximum length",$u="Please select the correct option setting",qu="Option ID cannot be repeated",Pu="Please enter at least one option",xu="Please bind the data source",Vu="Please bind the stored value",Nu="Please bind the service",Ou="At least one display value must be bound",_u="Please select a province",Uu="Please select a city",ju="Please select a district",Hu="The minimum number of lines to fill in cannot be less than 0",Tu="The number of rows cannot be less than {min} rows",Wu="Please enter the column width",Ku="Please set the logical relationship of all rule conditions",zu="Please complete all rules and conditions",Xu="please select control",ku="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Gu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ju="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Qu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Zu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Yu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",pu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ea="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ta="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",na="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ua="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",aa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ia="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ra="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",sa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",la="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",oa="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ca="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",da={isNotNumber:nu,isNotString:uu,isNotObject:au,isNotArray:iu,isNotBoolean:ru,runtimeRequired:su,pleaseEnterCaption:lu,pleaseEnterCaptionTip:ou,pleaseEnterPlaceholder:cu,pleaseEnterFieldCode:du,pleaseEnterForm:fu,pleaseEnterList:hu,pleaseEnterProcess:mu,pleaseEnterLabel:gu,pleaseEnterValue:yu,bizKeyNotBindFiled:Eu,pleaseEnterNumberRange:vu,pleaseEnterAValueGreaterThanMin:Bu,pleaseEnterAValueLessThanMax:Au,numberRangeSetError:Cu,stringRangeError:Fu,attachmentMaxSize:Du,pleaseEnterTotalScoreSetting:bu,theTotalScoreMustNotBeLessThan1:Su,scoreDefaultValueRange:wu,attachmentLimitError:Iu,PleaseReselectTheOptionalQuantity:Ru,TheMaximumLengthIsGreaterThanTheMinimumLength:Mu,TheMinimumLengthIsGreaterThanTheMaximumLength:Lu,PleaseSelectTheCorrectOptionSettings:$u,optionIdIsRepeat:qu,optionIsRequired:Pu,pleaseEnterDataCode:xu,pleaseEnterValueFieldCode:Vu,pleaseEnterSvcCode:Nu,pleaseBindAtLeastOneDisplayValue:Ou,pleaseSelectProvince:_u,pleaseSelectCity:Uu,pleaseSelectDistrict:ju,limitRowsCannotBeLessThan0:Hu,TheNumberOfRowsCannotBeLessThanMinRows:Tu,pleaseEnterColumnWidth:Wu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ku,pleaseCompleteAllRulesAndConditions:zu,pleaseSelectControl:Xu,pleaseSelectDashboard:ku,theViewNameCannotBeEmpty:Gu,pleaseSelectOcrType:Ju,pleaseSelectAtLeastOneFieldToFillIn:Qu,pleaseChooseAtLeastOne:Zu,pleaseEnterButtonContent:Yu,pleaseEnterDataCodeInDataSetting:pu,pleaseEnterValueFieldCodeInDataSetting:ea,pleaseEnterSvcCodeInDataSetting:ta,pleaseBindAtLeastOneDisplayValueInDataSetting:na,rootNodeIsRequiredInDataSetting:ua,pleaseEnterMaxHeight:aa,pleaseEnter:ia,pleaseEnterWatermark:ra,pleaseEnterFileName:sa,pleaseUploadAtLeastOnePrintTemplate:la,pleaseAssignBusiness:oa,pleaseAssignExternal:ca},fa="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ha="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ma="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ga="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ya="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="{caption}\u5FC5\u9808",va="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ba="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Aa="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ca="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Da="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ba="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ia="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ra="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ma="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",La="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$a="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",qa="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Va="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Na="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Oa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",_a="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ua="\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",ja="\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",Ha="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ta="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Wa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ka="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",za="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ka="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ga="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ja="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qa="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Za="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ya="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ei="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ti="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ni="please select control",ui="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ai="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ii="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ri="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",si="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",li="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",oi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ci="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",di="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",hi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",mi="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",gi="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",yi="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ei="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",vi="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Bi="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ai="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ci={isNotNumber:fa,isNotString:ha,isNotObject:ma,isNotArray:ga,isNotBoolean:ya,runtimeRequired:Ea,pleaseEnterCaption:va,pleaseEnterCaptionTip:Ba,pleaseEnterPlaceholder:Aa,pleaseEnterFieldCode:Ca,pleaseEnterForm:Fa,pleaseEnterList:Da,pleaseEnterProcess:ba,pleaseEnterLabel:Sa,pleaseEnterValue:wa,bizKeyNotBindFiled:Ia,pleaseEnterNumberRange:Ra,pleaseEnterAValueGreaterThanMin:Ma,pleaseEnterAValueLessThanMax:La,numberRangeSetError:$a,stringRangeError:qa,attachmentMaxSize:Pa,pleaseEnterTotalScoreSetting:xa,theTotalScoreMustNotBeLessThan1:Va,scoreDefaultValueRange:Na,attachmentLimitError:Oa,PleaseReselectTheOptionalQuantity:_a,TheMaximumLengthIsGreaterThanTheMinimumLength:Ua,TheMinimumLengthIsGreaterThanTheMaximumLength:ja,PleaseSelectTheCorrectOptionSettings:Ha,optionIdIsRepeat:Ta,optionIsRequired:Wa,pleaseEnterDataCode:Ka,pleaseEnterValueFieldCode:za,pleaseEnterSvcCode:Xa,pleaseBindAtLeastOneDisplayValue:ka,pleaseSelectProvince:Ga,pleaseSelectCity:Ja,pleaseSelectDistrict:Qa,limitRowsCannotBeLessThan0:Za,TheNumberOfRowsCannotBeLessThanMinRows:Ya,pleaseEnterColumnWidth:pa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ei,pleaseCompleteAllRulesAndConditions:ti,pleaseSelectControl:ni,pleaseSelectDashboard:ui,theViewNameCannotBeEmpty:ai,pleaseSelectOcrType:ii,pleaseSelectAtLeastOneFieldToFillIn:ri,pleaseChooseAtLeastOne:si,pleaseEnterButtonContent:li,pleaseEnterDataCodeInDataSetting:oi,pleaseEnterValueFieldCodeInDataSetting:ci,pleaseEnterSvcCodeInDataSetting:di,pleaseBindAtLeastOneDisplayValueInDataSetting:fi,rootNodeIsRequiredInDataSetting:hi,pleaseEnterMaxHeight:mi,pleaseEnter:gi,pleaseEnterWatermark:yi,pleaseEnterFileName:Ei,pleaseUploadAtLeastOnePrintTemplate:vi,pleaseAssignBusiness:Bi,pleaseAssignExternal:Ai},Fi={zhCN:tu,enUS:da,jaJP:Ci},ut;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(ut||(ut={}));var at;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(at||(at={}));var Di="zh-CN";function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var X;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(X||(X={}));var L;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(L||(L={}));var R;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(R||(R={}));var $;$={},P($,R.ARRAY,L.ARRAY_COLUMN),P($,R.AUTO_NUMBER,L.AUTO_NUMBER_COLUMN),P($,R.DECIMAL,L.DECIMAL_COLUMN),P($,R.DEPARTMENTS,L.DEPARTMENT_COLUMN),P($,R.FILE,L.FILE_COLUMN),P($,R.IMAGE,L.IMAGE_COLUMN),P($,R.ADDRESS,L.LOCATION_COLUMN),P($,R.EMPLOYEES,L.EMPLOYEE_COLUMN),P($,R.TEXT,L.TEXT_COLUMN),P($,R.TIMESCOPE,L.TIMESCOPE_COLUMN),P($,R.TIMESTAMP,L.TIMESTAMP_COLUMN),P($,R.VARCHAR,L.VARCHAR_COLUMN),P($,R.RELATION,L.VARCHAR_COLUMN);var it;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(it||(it={}));var rt="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",bi=rt+"0123456789";function W(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?rt:bi,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Fe(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Si(t){if(Array.isArray(t))return Fe(t)}function wi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function st(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ii(){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(t){return!1}}function le(t,e,n){return Ii()?le=Reflect.construct:le=function(a,i,r){var o=[null];o.push.apply(o,i);var d=Function.bind.apply(a,o),c=new d;return r&&ee(c,r.prototype),c},le.apply(null,arguments)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},p(t)}function lt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ee(t,e)}function Ri(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Mi(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Li(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $i(t,e){return e&&(qi(e)==="object"||typeof e=="function")?e:wi(t)}function ee(t,e){return ee=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ee(t,e)}function ot(t){return Si(t)||Mi(t)||Pi(t)||Li()}var qi=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pi(t,e){if(!!t){if(typeof t=="string")return Fe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fe(t,e)}}function De(t){var e=typeof Map=="function"?new Map:void 0;return De=function(u){if(u===null||!Ri(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return le(u,arguments,p(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ee(a,u)},De(t)}function xi(){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(t){return!1}}function ct(t){var e=xi();return function(){var u=p(t),a;if(e){var i=p(this).constructor;a=Reflect.construct(u,arguments,i)}else a=u.apply(this,arguments);return $i(this,a)}}var be=console;function Se(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=be).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(ot(a)))}function dt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=be).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(ot(a)))}function Vi(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var we=function(t){lt(n,t);var e=ct(n);function n(u){st(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?Vi(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(De(Error)),Ni=function(t){lt(n,t);var e=ct(n);function n(u){st(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(we);function Ie(t){throw new we(t)}function ft(t){throw new Ni(t)}function Oi(t){be.error(new we(t))}var _i=Object.prototype.toString;function ht(t,e){return _i.call(t)==="[object "+e+"]"}function Ui(t){return ht(t,"String")}function ji(t){return ht(t,"Promise")}var Hi=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();ji(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,i,r,o){if(a!==void 0){var d=a[i];if(!(r===o.length-1&&!Ui(d)))return d}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var i=n[a];return i!==void 0?String(i):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Ti(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){Ti(this,t)}return t.getMessage=function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Di;return new Hi({locale:n,messages:Fi})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Wi(t,e,n){var u=e.replace(/\[(\d)]/g,function(i,r){return"."+r}).split("."),a=!1;return u.reduce(function(i,r,o,d){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,r)){Se("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),i,i);return}return o===d.length-1&&!Object.is(c[r],n)&&(c[r]=n,a=!0),c[r]}},t),a}var Ki=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},zi={exports:{}};(function(t){(function(e){var n=function(s,h,M){if(!c(h)||v(h)||C(h)||b(h)||d(h))return h;var E,S=0,O=0;if(y(h))for(E=[],O=h.length;S<O;S++)E.push(n(s,h[S],M));else{E={};for(var A in h)Object.prototype.hasOwnProperty.call(h,A)&&(E[s(A,M)]=n(s,h[A],M))}return E},u=function(s,h){h=h||{};var M=h.separator||"_",E=h.split||/(?=[A-Z])/;return s.split(E).join(M)},a=function(s){return F(s)?s:(s=s.replace(/[\-_\s]+(.)?/g,function(h,M){return M?M.toUpperCase():""}),s.substr(0,1).toLowerCase()+s.substr(1))},i=function(s){var h=a(s);return h.substr(0,1).toUpperCase()+h.substr(1)},r=function(s,h){return u(s,h).toLowerCase()},o=Object.prototype.toString,d=function(s){return typeof s=="function"},c=function(s){return s===Object(s)},y=function(s){return o.call(s)=="[object Array]"},v=function(s){return o.call(s)=="[object Date]"},C=function(s){return o.call(s)=="[object RegExp]"},b=function(s){return o.call(s)=="[object Boolean]"},F=function(s){return s=s-0,s===s},m=function(s,h){var M=h&&"process"in h?h.process:h;return typeof M!="function"?s:function(E,S){return M(E,s,S)}},B={camelize:a,decamelize:r,pascalize:i,depascalize:r,camelizeKeys:function(s,h){return n(m(a,h),s)},decamelizeKeys:function(s,h){return n(m(r,h),s,h)},pascalizeKeys:function(s,h){return n(m(i,h),s)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(Ki)})(zi);function K(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function Xi(t){return Object.prototype.toString.call(t)==="[object Object]"}function ki(t){return Array.isArray(t)}function Gi(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Re(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Ji(t){if(Array.isArray(t))return Re(t)}function mt(t,e,n,u,a,i,r){try{var o=t[i](r),d=o.value}catch(c){n(c);return}o.done?e(d):Promise.resolve(d).then(u,a)}function Qi(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var i=t.apply(e,n);function r(d){mt(i,u,a,r,o,"next",d)}function o(d){mt(i,u,a,r,o,"throw",d)}r(void 0)})}}function Zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yi(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pi(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Me(t){return Ji(t)||Yi(t)||er(t)||pi()}function er(t,e){if(!!t){if(typeof t=="string")return Re(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Re(t,e)}}var tr=function(t,e){var n,u,a,i,r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(c){return function(y){return d([c,y])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,u&&(a=c[0]&2?u.return:c[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,c[1])).done)return a;switch(u=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,u=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(y){c=[6,y],u=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},nr=function(){function t(){Zi(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(u){for(var a=arguments.length,i=new Array(a>1?a-1:0),r=1;r<a;r++)i[r-1]=arguments[r];var o=this;return Qi(function(){var d,c,y,v,C,b,F,m,B,s,h,M;return tr(this,function(E){switch(E.label){case 0:if(d=o._events.get(u),c=[],!d)return[3,10];y=d.slice(),v=!0,C=!1,b=void 0,E.label=1;case 1:E.trys.push([1,8,9,10]),F=y[Symbol.iterator](),E.label=2;case 2:if(v=(m=F.next()).done)return[3,7];if(B=m.value,!d.includes(B))return[3,6];E.label=3;case 3:return E.trys.push([3,5,,6]),o.debug&&dt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(Me(i))),[4,B.apply(null,Me(i))];case 4:return s=E.sent(),o.debug&&dt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Me(i),[s])),c.push(s),s===!1?[3,7]:[3,6];case 5:return h=E.sent(),Oi(String(h)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return M=E.sent(),C=!0,b=M,[3,10];case 9:try{!v&&F.return!=null&&F.return()}finally{if(C)throw b}return[7];case 10:return[2,c]}})})()},e.on=function(u,a){if(this._events.has(u)){var i;(i=this._events.get(u))===null||i===void 0||i.push(a)}else this._events.set(u,[a])},e.off=function(u,a){if(this._events.has(u)){var i=this._events.get(u),r=i==null?void 0:i.indexOf(a);i==null||i.splice(r,1)}},e.delete=function(u){this._events.has(u)&&this._events.delete(u)},e.clear=function(){this._events=new Map},t}();const gt=[];class oe{constructor(e){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=e,this._initControls(e)}registerControlConfig(e,n){return this.controlConfigMap.set(e,n),this}getControlConfig(e){return this.controlConfigMap.get(e)}static register(e){const{Designer:n,Runtime:u}=e;(!n||!u||!n.__is_control__||!u.__is_control__)&&Ie(`${e} is can't register as a Control`);const a=this.staticControls.findIndex(i=>i.Designer.controlType===n.controlType);return a>-1&&(Se(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(e),this}getControls(){return this._controls}register(e){e.__is_control__||Ie(`${e.name} is not a Control`);const n=this._controls.findIndex(u=>u.controlType===e.controlType);return n>-1&&(Se(`The ${e.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(n,1)),this.registeredControlTypes.add(e.controlType),this._controls.push(e),this}isLayoutControl(e){return e.controlType===X.LAYOUT}isFormControl(e){return e.controlType===X.FORM}isListControl(e){return e.controlType===X.LIST}isColumnControl(e){return e.controlType===X.COLUMN}createControl(e,n){if(Array.isArray(e))return e.map(a=>this.createControl(a,n));e.children&&(e.children=e.children.map(a=>this.createControl(a,n))),this.isListControl(e)&&e.props.headers&&(e.props.headers=e.props.headers.map(a=>this.createControl(a,n)));const u=this.getControlFormType(e.type);if(u){let a=e;if(typeof n=="function"){const r=n(a);r&&(a=r)}return new u(a)}else Ie(`The constructor of ${e.type} could not be found, please confirm that the constructor has been registered`)}createControlInstance(e,n){const u=this.getControlFormType(e);if(u)return new u(n)}getControlFormType(e){return this._controls.find(n=>n.controlType===e)}_initControls(e){this.constructor.staticControls.forEach(n=>{this.register(n[e])})}}oe.staticControls=gt,oe.staticRegisteredTypes=new Set(gt.map(t=>t.Designer.controlType)),oe.staticRegisteredConfigs=new Map;class V{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:""}}class yt{constructor(e){var n,u,a;this.minWidth=(n=e==null?void 0:e.minWidth)!=null?n:60,this.maxWidth=(u=e==null?void 0:e.maxWidth)!=null?u:150,this.flex=(a=e==null?void 0:e.flex)!=null?a:1}}class ce{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.appId=(a=e==null?void 0:e.appId)!=null?a:""}}class ur extends ce{constructor(e){var n;super(e),this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class Et{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class ar{constructor(e){var n,u,a,i;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Et(r)))!=null?i:[]}}class vt{constructor(e){var n,u,a;this.fieldName=(n=e==null?void 0:e.fieldName)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:R.VARCHAR}}class Bt extends ce{constructor(e){var n,u,a,i;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.svcCode=(u=e==null?void 0:e.svcCode)!=null?u:"",this.isOpenFilter=(a=e==null?void 0:e.isOpenFilter)!=null?a:!1,this.filters=(i=e==null?void 0:e.filters)!=null?i:[]}}class ir{constructor(e){var n,u,a,i;this.type="sublist-page",this.formBind=new ce(e==null?void 0:e.formBind),this.displayFields=(u=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(r=>new vt(r)))!=null?u:[],this.sublists=(i=(a=e==null?void 0:e.sublists)==null?void 0:a.map(r=>new Bt(r)))!=null?i:[]}}class At{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class Le{constructor(e){var n,u,a;this.type=(n=e==null?void 0:e.type)!=null?n:"custom",this.value=(u=e==null?void 0:e.value)!=null?u:[],this.displayBos=(a=e==null?void 0:e.displayBos)!=null?a:[]}}class de{constructor(e){var n,u,a,i;this.type="conditions",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.level=(a=e==null?void 0:e.level)!=null?a:0,this.value=(i=e==null?void 0:e.value)!=null?i:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(r=>{var o,d;if(r.children!==void 0){const c=new de(r);(o=this.children)==null||o.push(c)}else{const c=new $e(r);(d=this.children)==null||d.push(c)}}))}}class $e{constructor(e){var n,u,a,i,r;this.type="condition",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.symbol=(a=e==null?void 0:e.symbol)!=null?a:"",this.checked=(i=e==null?void 0:e.checked)!=null?i:!1,this.describe=(r=e==null?void 0:e.describe)!=null?r:"",this.leftVariableBo=new At(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Le(e==null?void 0:e.rightVariableBo)}}class Ct{constructor(e){var n,u,a,i;this.controlId=(n=e==null?void 0:e.controlId)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.propName=(i=e==null?void 0:e.propName)!=null?i:""}}class qe{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"FIELD",this.value=(u=e==null?void 0:e.value)!=null?u:"",this.fieldType=e==null?void 0:e.fieldType}}class Pe{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class Ft{constructor(e){var n,u,a;this.code=(n=e.code)!=null?n:"",this.value=(u=e.value)!=null?u:"",this.field_type=(a=e.field_type)!=null?a:R.ANY}}class rr{constructor(e){var n,u,a,i,r,o,d;this.id=(n=e.id)!=null?n:"",this.limit=(u=e.limit)!=null?u:20,this.formKey=(a=e.formKey)!=null?a:"",this.orders=(r=(i=e.orders)==null?void 0:i.map(c=>new Pe(c)))!=null?r:[],this.dataSet=(d=(o=e.dataSet)==null?void 0:o.map(c=>new Ft(c)))!=null?d:[]}}function xe(t){var e,n,u,a;this.filters=(n=(e=t==null?void 0:t.filters)==null?void 0:e.map(i=>i.children!==void 0?new de(i):new $e(i)))!=null?n:[],(this instanceof Ve||this instanceof wt)&&(this.orders=(a=(u=t==null?void 0:t.orders)==null?void 0:u.map(i=>new Pe(i)))!=null?a:[])}class Ve{constructor(e){var n,u,a,i,r;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!=null?a:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(o=>{var d;(d=this.displayBoList)==null||d.push(new qe(o))})),this.showOrder=(i=e==null?void 0:e.showOrder)!=null?i:!0,this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",xe.call(this,e)}}class Dt{constructor(e){var n,u,a,i;this.name=(n=e==null?void 0:e.name)!=null?n:"",this.key=(u=e==null?void 0:e.key)!=null?u:"",this.value=(i=(a=e==null?void 0:e.value)==null?void 0:a.map(r=>new qe(r)))!=null?i:[]}}class bt extends Ve{constructor(e){var n,u;super(e),this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new Dt(a)))!=null?u:[]}}class sr extends bt{constructor(e){super(e),this.rootNode=new Le(e==null?void 0:e.rootNode)}}class St{constructor(e){var n,u,a,i;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.fillList=(i=(a=e==null?void 0:e.fillList)==null?void 0:a.map(r=>new Ct(r)))!=null?i:[]}}class wt extends St{constructor(e){super(e),xe.call(this,e)}}class lr extends St{constructor(e){var n,u;super(e),this.mode=(n=e==null?void 0:e.mode)!=null?n:"current",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1}}class or{constructor(e){var n,u,a;this.zh=(n=e==null?void 0:e.zh)!=null?n:"",this.en=(u=e==null?void 0:e.en)!=null?u:"",this.ja=(a=e==null?void 0:e.ja)!=null?a:""}}class cr{constructor(e){var n,u,a;this.stencilName=(n=e==null?void 0:e.stencilName)!=null?n:"",this.expression=(u=e==null?void 0:e.expression)!=null?u:"",this.errMessage=(a=e==null?void 0:e.errMessage)!=null?a:""}}class Ne{constructor(e){var n,u,a;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.label=(u=e==null?void 0:e.label)!=null?u:"",this.value=(a=e==null?void 0:e.value)!=null?a:this.label}}class It extends Ne{constructor(e){var n,u;super(e),this.image=(n=e==null?void 0:e.image)!=null?n:"",this.type=(u=e==null?void 0:e.type)!=null?u:"src"}}function dr(t){var e;return(e=t==null?void 0:t.map(n=>new Ne(n)))!=null?e:[]}function fr(t){var e;return(e=t==null?void 0:t.map(n=>new It(n)))!=null?e:[]}class fe{}class hr extends fe{constructor(e){super(),this.amount=new V(e==null?void 0:e.amount),this.currency=new V(e==null?void 0:e.currency)}}class mr{constructor(e){var n,u;this.amount=(n=e==null?void 0:e.amount)!=null?n:"",this.currency=(u=e==null?void 0:e.currency)!=null?u:Oe.CNY}}class gr extends fe{constructor(e){super(),this.min=new V(e==null?void 0:e.min),this.max=new V(e==null?void 0:e.max)}}class yr{constructor(e){var n,u;this.min=(n=e==null?void 0:e.min)!=null?n:"",this.max=(u=e==null?void 0:e.max)!=null?u:""}}class Er{constructor(e){var n,u,a,i,r,o;this.city=(n=e==null?void 0:e.city)!=null?n:"",this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!=null?u:"",this.district=(a=e==null?void 0:e.district)!=null?a:"",this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!=null?i:"",this.province=(r=e==null?void 0:e.province)!=null?r:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!=null?o:""}}class vr extends fe{constructor(e){super(),this.result=new V(e==null?void 0:e.result),this.unit=new V(e==null?void 0:e.unit)}}class Br{constructor(e){var n,u;this.result=(n=e==null?void 0:e.result)!=null?n:0,this.unit=(u=e==null?void 0:e.unit)!=null?u:""}}var Oe=(t=>(t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t))(Oe||{}),Rt=(t=>(t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t))(Rt||{}),_e=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(_e||{});class Ar{constructor(e){var n,u,a,i,r,o;this.isShow=(n=e==null?void 0:e.isShow)!=null?n:!0,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(i=e==null?void 0:e.openType)!=null?i:"modal",this.type=(r=e==null?void 0:e.type)!=null?r:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!=null?o:!1}}class Cr{constructor(e){var n,u,a,i;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.title=(u=e==null?void 0:e.title)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Et(r)))!=null?i:[],xe.call(this,e)}}class Fr{constructor(e){var n,u;this.key=(n=e.key)!=null?n:W(8),this.caption=(u=e.caption)!=null?u:""}}class Mt{constructor(e){var n,u,a,i;this.width=(n=e==null?void 0:e.width)!=null?n:"",this.height=(u=e==null?void 0:e.height)!=null?u:"",this.widthConfig=(a=e==null?void 0:e.widthConfig)!=null?a:"fill",this.heightConfig=(i=e==null?void 0:e.heightConfig)!=null?i:"fill"}}class he{constructor(e){this.isHide={type:"boolean"}}}class Ue extends Array{constructor(e){super()}}class j{constructor(e,n=""){var u,a;this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.style=new Mt(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}j.Rules=he,j.RuntimeRules=Ue;function N(){return N=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},N.apply(this,arguments)}function Dr(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function je(t){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(t)}function me(t,e){return me=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},me(t,e)}function br(){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(t){return!1}}function ge(t,e,n){return br()?ge=Reflect.construct:ge=function(a,i,r){var o=[null];o.push.apply(o,i);var d=Function.bind.apply(a,o),c=new d;return r&&me(c,r.prototype),c},ge.apply(null,arguments)}function Sr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function He(t){var e=typeof Map=="function"?new Map:void 0;return He=function(u){if(u===null||!Sr(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return ge(u,arguments,je(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),me(a,u)},He(t)}var wr=/%[sdj%]/g,Lt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Lt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Te(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function x(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],i=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var r=String(a).replace(wr,function(o){if(o==="%%")return"%";if(u>=i)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(d){return"[Circular]"}break;default:return o}});return r}return a}function Ir(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function I(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Ir(e)&&typeof t=="string"&&!t)}function Rr(t,e,n){var u=[],a=0,i=t.length;function r(o){u.push.apply(u,o),a++,a===i&&n(u)}t.forEach(function(o){e(o,r)})}function $t(t,e,n){var u=0,a=t.length;function i(r){if(r&&r.length){n(r);return}var o=u;u=u+1,o<a?e(t[o],i):n([])}i([])}function Mr(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var qt=function(t){Dr(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(He(Error));function Lr(t,e,n,u){if(e.first){var a=new Promise(function(v,C){var b=function(B){return u(B),B.length?C(new qt(B,Te(B))):v()},F=Mr(t);$t(F,n,b)});return a.catch(function(v){return v}),a}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var r=Object.keys(t),o=r.length,d=0,c=[],y=new Promise(function(v,C){var b=function(m){if(c.push.apply(c,m),d++,d===o)return u(c),c.length?C(new qt(c,Te(c))):v()};r.length||(u(c),v()),r.forEach(function(F){var m=t[F];i.indexOf(F)!==-1?$t(m,n,b):Rr(m,n,b)})});return y.catch(function(v){return v}),y}function Pt(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function xt(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=N(N({},t[n]),u):t[n]=u}}return t}function Vt(t,e,n,u,a,i){t.required&&(!n.hasOwnProperty(t.field)||I(e,i||t.type))&&u.push(x(a.messages.required,t.fullField))}function $r(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(x(a.messages.whitespace,t.fullField))}var We={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},te={integer:function(e){return te.number(e)&&parseInt(e,10)===e},float:function(e){return te.number(e)&&!te.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!te.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(We.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(We.url)},hex:function(e){return typeof e=="string"&&!!e.match(We.hex)}};function qr(t,e,n,u,a){if(t.required&&e===void 0){Vt(t,e,n,u,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;i.indexOf(r)>-1?te[r](e)||u.push(x(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(x(a.messages.types[r],t.fullField,t.type))}function Pr(t,e,n,u,a){var i=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,y=null,v=typeof e=="number",C=typeof e=="string",b=Array.isArray(e);if(v?y="number":C?y="string":b&&(y="array"),!y)return!1;b&&(c=e.length),C&&(c=e.replace(d,"_").length),i?c!==t.len&&u.push(x(a.messages[y].len,t.fullField,t.len)):r&&!o&&c<t.min?u.push(x(a.messages[y].min,t.fullField,t.min)):o&&!r&&c>t.max?u.push(x(a.messages[y].max,t.fullField,t.max)):r&&o&&(c<t.min||c>t.max)&&u.push(x(a.messages[y].range,t.fullField,t.min,t.max))}var k="enum";function xr(t,e,n,u,a){t[k]=Array.isArray(t[k])?t[k]:[],t[k].indexOf(e)===-1&&u.push(x(a.messages[k],t.fullField,t[k].join(", ")))}function Vr(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(x(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||u.push(x(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var g={required:Vt,whitespace:$r,type:qr,range:Pr,enum:xr,pattern:Vr};function Nr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"string")&&!t.required)return n();g.required(t,e,u,i,a,"string"),I(e,"string")||(g.type(t,e,u,i,a),g.range(t,e,u,i,a),g.pattern(t,e,u,i,a),t.whitespace===!0&&g.whitespace(t,e,u,i,a))}n(i)}function Or(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&g.type(t,e,u,i,a)}n(i)}function _r(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&(g.type(t,e,u,i,a),g.range(t,e,u,i,a))}n(i)}function Ur(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&g.type(t,e,u,i,a)}n(i)}function jr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),I(e)||g.type(t,e,u,i,a)}n(i)}function Hr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&(g.type(t,e,u,i,a),g.range(t,e,u,i,a))}n(i)}function Tr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&(g.type(t,e,u,i,a),g.range(t,e,u,i,a))}n(i)}function Wr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();g.required(t,e,u,i,a,"array"),e!=null&&(g.type(t,e,u,i,a),g.range(t,e,u,i,a))}n(i)}function Kr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&g.type(t,e,u,i,a)}n(i)}var zr="enum";function Xr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&g[zr](t,e,u,i,a)}n(i)}function kr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"string")&&!t.required)return n();g.required(t,e,u,i,a),I(e,"string")||g.pattern(t,e,u,i,a)}n(i)}function Gr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"date")&&!t.required)return n();if(g.required(t,e,u,i,a),!I(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),g.type(t,o,u,i,a),o&&g.range(t,o.getTime(),u,i,a)}}n(i)}function Jr(t,e,n,u,a){var i=[],r=Array.isArray(e)?"array":typeof e;g.required(t,e,u,i,a,r),n(i)}function Ke(t,e,n,u,a){var i=t.type,r=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(I(e,i)&&!t.required)return n();g.required(t,e,u,r,a,i),I(e,i)||g.type(t,e,u,r,a)}n(r)}function Qr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a)}n(i)}var ne={string:Nr,method:Or,number:_r,boolean:Ur,regexp:jr,integer:Hr,float:Tr,array:Wr,object:Kr,enum:Xr,pattern:kr,date:Gr,url:Ke,hex:Ke,email:Ke,required:Jr,any:Qr};function ze(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Xe=ze();function H(t){this.rules=null,this._messages=Xe,this.define(t)}H.prototype={messages:function(e){return e&&(this._messages=xt(ze(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var i=e,r=n,o=u;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function d(m){var B,s=[],h={};function M(E){if(Array.isArray(E)){var S;s=(S=s).concat.apply(S,E)}else s.push(E)}for(B=0;B<m.length;B++)M(m[B]);s.length?h=Te(s):(s=null,h=null),o(s,h)}if(r.messages){var c=this.messages();c===Xe&&(c=ze()),xt(c,r.messages),r.messages=c}else r.messages=this.messages();var y,v,C={},b=r.keys||Object.keys(this.rules);b.forEach(function(m){y=a.rules[m],v=i[m],y.forEach(function(B){var s=B;typeof s.transform=="function"&&(i===e&&(i=N({},i)),v=i[m]=s.transform(v)),typeof s=="function"?s={validator:s}:s=N({},s),s.validator=a.getValidationMethod(s),s.field=m,s.fullField=s.fullField||m,s.type=a.getType(s),s.validator&&(C[m]=C[m]||[],C[m].push({rule:s,value:v,source:i,field:m}))})});var F={};return Lr(C,r,function(m,B){var s=m.rule,h=(s.type==="object"||s.type==="array")&&(typeof s.fields=="object"||typeof s.defaultField=="object");h=h&&(s.required||!s.required&&m.value),s.field=m.field;function M(O,A){return N(N({},A),{},{fullField:s.fullField+"."+O})}function E(O){O===void 0&&(O=[]);var A=O;if(Array.isArray(A)||(A=[A]),!r.suppressWarning&&A.length&&H.warning("async-validator:",A),A.length&&s.message!==void 0&&(A=[].concat(s.message)),A=A.map(Pt(s)),r.first&&A.length)return F[s.field]=1,B(A);if(!h)B(A);else{if(s.required&&!m.value)return s.message!==void 0?A=[].concat(s.message).map(Pt(s)):r.error&&(A=[r.error(s,x(r.messages.required,s.field))]),B(A);var _={};if(s.defaultField)for(var kt in m.value)m.value.hasOwnProperty(kt)&&(_[kt]=s.defaultField);_=N(N({},_),m.rule.fields);for(var G in _)if(_.hasOwnProperty(G)){var cs=Array.isArray(_[G])?_[G]:[_[G]];_[G]=cs.map(M.bind(null,G))}var Gt=new H(_);Gt.messages(r.messages),m.rule.options&&(m.rule.options.messages=r.messages,m.rule.options.error=r.error),Gt.validate(m.value,m.rule.options||r,function(tt){var J=[];A&&A.length&&J.push.apply(J,A),tt&&tt.length&&J.push.apply(J,tt),B(J.length?J:null)})}}var S;s.asyncValidator?S=s.asyncValidator(s,m.value,E,m.source,r):s.validator&&(S=s.validator(s,m.value,E,m.source,r),S===!0?E():S===!1?E(s.message||s.field+" fails"):S instanceof Array?E(S):S instanceof Error&&E(S.message)),S&&S.then&&S.then(function(){return E()},function(O){return E(O)})},function(m){d(m)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ne.hasOwnProperty(e.type))throw new Error(x("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?ne.required:ne[this.getType(e)]||!1}},H.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ne[e]=n},H.warning=Lt,H.messages=Xe,H.validators=ne;const Zr={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Nt(t,e={}){const n=new H(t);return n.messages(Object.assign(Zr,e)),n}const Ot=new nr;class q{constructor(e){var y,v,C,b;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ut,this.removeSetting=_t,this._callControlHooks("preInstance",e);const{controlName:n,controlIcon:u,controlType:a,controlFieldType:i,controlEventKeys:r,controlCustomEvents:o,name:d,setting:c}=new.target;n&&u&&a||ft(`The ${d} controlName,controlIcon,controlType is not define`),this.id=(y=e==null?void 0:e.id)!=null?y:W(10),this.name=n,this.icon=u,this.type=(v=e==null?void 0:e.type)!=null?v:a,this.props=new j(e==null?void 0:e.props,new.target.controlName),this.controlType=(C=e==null?void 0:e.controlType)!=null?C:"base",this.setting=K(c),this.fieldType=(b=e==null?void 0:e.fieldType)!=null?b:i,this.eventKeys=K(r),this.customEvents=K(o),Promise.resolve().then(()=>{this._callControlHooks("postInstance",e)})}get rules(){const e=this.props.constructor.Rules;return e?new e(this.props):{}}_callControlHooks(...e){const[n,...u]=e;return Ot.emit(n,this,...u)}preUpdate(e,n){this._callControlHooks("preUpdateProps",e,n)}postUpdate(e,n){this._callControlHooks("postUpdateProps",e,n)}updateProps(e,n){this.preUpdate(e,n),Wi(this.props,e,n),this.postUpdate(e,n)}preValidate(){return re(this,null,function*(){const e=Q({},this.rules),n=yield this._callControlHooks("preValidate",e),u=n[n.length-1];return u===!1?void 0:u})}validate(e,n){return re(this,null,function*(){const u=yield this.preValidate(),a=u!==void 0?u:Q({},this.rules);Array.isArray(n)&&n.forEach(r=>{a.hasOwnProperty(r)&&delete a[r]});const i=Nt(a,e);try{return yield i.validate(this.props),!0}catch(r){throw r.control||(r.control=this),r}})}toDataBindModel(e=null){const n=this.fieldType,u=this.id,a=this.type,{dataBind:i,datasourceBind:r,optionConfig:o,caption:d,required:c,maxLength:y,options:v,encrypted:C,encryptedMode:b}=this.props;if(!n&&!i&&!r)return;const F={parentId:e,fieldType:n,controlId:u,caption:d,type:a,props:{}};switch(i&&(F.dataBind=i),o){case"datasource":case void 0:r&&(F.datasourceBind=r);break;case"custom":F.props.options=v;break}return c!==void 0&&(F.required=c),y!==void 0&&(F.maxLength=y),C!==void 0&&(F.encrypted=C),b!==void 0&&(F.encryptedMode=b),F}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:K(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(e,n){e==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}q.controlName="\u63A7\u4EF6",q.controlIcon="icon",q.controlType="control",q.controlEventKeys=[],q.controlCustomEvents=[],q.setting=[],q.__is_control__=!0,q.removeSettingItem=_t,q.updateSettingItem=Ut;function _t(t){(Array.isArray(t)?t:[t]).forEach(n=>{var i,r;const u=typeof n!="string",a=this.setting.findIndex(o=>o.key===(u?n.key:n));a!==-1&&(u?this.setting[a].showItems=(i=this.setting[a].showItems)==null?void 0:i.filter(o=>!n.hideItems.includes(o)):this.setting.splice(a,1),u&&!((r=this.setting[a].showItems)!=null&&r.length)&&this.setting.splice(a,1))})}function Ut(t,e){(typeof t=="string"?[t]:t).forEach(u=>{var i;const a=this.setting.find(r=>r.key===u);a&&(typeof e=="boolean"?a.visible=e:typeof e=="object"&&(((i=e.type)!=null?i:"replace")==="replace"?a.showItems=e.showItems:a.showItems.push(...e.showItems)))})}class T{constructor(e){var r,o,d,c,y;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:u,name:a,controlCustomEvents:i}=new.target;n||ft(`The ${a} controlType is not define`),this.id=(r=e==null?void 0:e.id)!=null?r:W(10),this.type=(o=e==null?void 0:e.type)!=null?o:n,this.props=new j(e==null?void 0:e.props),this.customEvents=i,this.controlType=(d=e==null?void 0:e.controlType)!=null?d:"base",this.fieldType=(c=e==null?void 0:e.fieldType)!=null?c:u,this.pageStatus=(y=e==null?void 0:e.pageStatus)!=null?y:_e.UNKNOWN}get rules(){const e=this.props.constructor.RuntimeRules;if(e){const n=new e(this.props);return Array.from(n)}return[]}}T.controlType="control",T.__is_control__=!0,T.controlCustomEvents=[];function ke(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator(e,n,u){n.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator(e,n,u){const a=n.map(r=>r.value),i=Gi(a);a.length!==i.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(e,n,u){n.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Yr(t,e,n=!1){this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(u,a,i){a.length===0&&i(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),i()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}class Ge extends he{constructor(e){super(e),this.dataBind={},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(e.dataBind instanceof V)this.dataBind={type:"object",required:!0,fields:K(n),message:f.getMessage("pleaseEnterFieldCode")};else{let u={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(e.dataBind).forEach(a=>{u.fields[a]={type:"object",required:!0,fields:K(n),message:f.getMessage("pleaseEnterFieldCode")}}),this.dataBind=u}e.isShowCaptionTip&&(this.captionTip.required=!0)}}class jt extends Ue{constructor(e){super(e),this.push({type:"string",required:e.isHide?!1:e.required,message:e.requiredMessage!==""?e.requiredMessage:f.getMessage("runtimeRequired",{caption:e.caption})})}}class ue extends j{constructor(e){var n,u,a,i,r,o,d,c,y,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(i=e==null?void 0:e.captionTip)!=null?i:"",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"",this.required=(c=e==null?void 0:e.required)!=null?c:!1,this.requiredMessage=(y=e==null?void 0:e.requiredMessage)!=null?y:"",this.dataBind=new V(e==null?void 0:e.dataBind),this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:""}}ue.Rules=Ge,ue.RuntimeRules=jt;class pr extends Ge{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],ke.call(this,e)}}class Ht extends q{constructor(e){super(e),this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}Ht.controlEventKeys=["on_change","on_focus","on_blur"];class es extends T{constructor(e){super(e),this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}class ae extends j{constructor(e){super(e)}}function Tt(t,e){var n;(n=Object.getOwnPropertyDescriptors(t)[e])!=null&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Je(t,e){t.parent=e,Tt(t,"parent")}function Wt(t,e){t.forEach(n=>{Je(n,e)})}const Kt=Symbol("targetKey");function zt(t){var e;return(e=t[Kt])!=null?e:t}function Xt(t,e){return Wt(t,e),new Proxy(t,{get(n,u,...a){return u===Kt?n:Reflect.get(n,u,...a)},set(n,u,a,...i){if(ki(t)&&u==="length"&&a===t.length)return!0;const r=Reflect.set(n,u,a,...i);return Xi(a)&&Je(a,e),r}})}function ie(t,e,n,u){const a=u!=null?u:t;let i=Xt(zt(n!=null?n:[]),a);Object.defineProperty(t,e,{get(){return i},set(r){i=Xt(zt(r),a)},enumerable:!0})}const ts=1e4;class z extends q{constructor(e){super(e),this.controlType="layout";const{excludes:n,childrenMaxLength:u}=new.target;this.props=new ae(e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children),this.excludes=K(n),this.childrenMaxLength=u}judgeExcludesChildren(e){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e)}judgeJoinChildren(e){const n=this.judgeExcludesChildren(e);return n&&this.childrenMaxLength>this.children.length}validate(e,n){return re(this,null,function*(){return yield nt(z.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(u=>u.validate(e,n))),!0})}toDataBindModel(e=null){const n=super.toDataBindModel(),u=n?[n]:[];return this.children.reduce((a,i)=>{const r=i.toDataBindModel(e);if(Array.isArray(r)){const o=r.filter(d=>!!d);return[...a,...o]}return r&&a.push(r),a},u)}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return ve(Q({},e),{children:n})}}z.excludes=!1,z.childrenMaxLength=ts;class Qe extends T{constructor(e){super(e),this.controlType="layout",this.props=new ae(e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}}class Ze extends j{constructor(e,n){super(n),ie(this,"headers",n==null?void 0:n.headers,e)}}class ye extends q{constructor(e){super(e),this.controlType="list",this.props=new Ze(this,e==null?void 0:e.props)}validate(e,n){return re(this,null,function*(){return yield nt(ye.prototype,this,"validate").call(this,e),yield Promise.all(this.props.headers.map(u=>u.validate(e,n))),!0})}toDataBindModel(){const e=super.toDataBindModel(),n=e?[e]:[],u=this.id;return this.props.headers.reduce((a,i)=>{const r=i.toDataBindModel(u);if(Array.isArray(r)){const o=r.filter(d=>!!d);return[...a,...o]}return r&&a.push(r),a},n)}toSchema(){const e=super.toSchema(),n=this.props.headers.map(u=>u.toSchema());return ve(Q({},e),{props:ve(Q({},this.props),{headers:n})})}}ye.controlFieldType=R.LIST;class ns extends T{constructor(e){super(e),this.controlType="list",this.props=new Ze(this,e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}get length(){return this.children.length}}class Ye extends he{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.width.required=e.widthType==="px"}}class Ee extends j{constructor(e){var n,u,a,i;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:150,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:"none",this.autoWidth=new yt(e==null?void 0:e.autoWidth),this.dataBind=new V(e==null?void 0:e.dataBind),this.sort=(i=e==null?void 0:e.sort)!=null?i:!0,this.align=e==null?void 0:e.align,this.colSpan=e==null?void 0:e.colSpan}}Ee.Rules=Ye;class us extends Ye{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],ke.call(this,e)}}class as extends q{constructor(e){super(e),this.controlType="column",this.props=new Ee(e==null?void 0:e.props)}}class is extends T{constructor(e){super(e),this.controlType="column",this.props=new Ee(e==null?void 0:e.props)}}class pe extends ae{constructor(e){super(e),this.dataBind=new V(e==null?void 0:e.dataBind)}}class rs extends z{constructor(e){super(e),this.controlType="search",this.props=new pe(e==null?void 0:e.props)}}class ss extends Qe{constructor(e){super(e),this.controlType="search",this.props=new pe(e==null?void 0:e.props)}}class et extends ae{constructor(e){super(e)}}class ls extends z{constructor(e){super(e),this.controlType="wrap",this.props=new et(e==null?void 0:e.props)}}class os extends Qe{constructor(e){super(e),this.controlType="wrap",this.props=new et(e==null?void 0:e.props)}}l.AMOUNT_TYPE=Oe,l.AddressValue=Er,l.AmountDataBind=hr,l.AmountValue=mr,l.AutoWidth=yt,l.BaseControlProperty=ue,l.BaseControlPropertyRules=Ge,l.BaseControlPropertyRuntimeRules=jt,l.BaseStyle=Mt,l.COMMON_SETTING_TYPE=Rt,l.CalcDataBind=vr,l.CalcValue=Br,l.ColumnControlProperty=Ee,l.ColumnControlPropertyRules=Ye,l.ColumnOptionAndDataSourcePropertyRules=us,l.CustomAttributeItem=Dt,l.CustomPermissionItem=Fr,l.DataBind=V,l.DataSourceBind=Ve,l.DataSourceDataSetValue=Ft,l.DataSourceOrderItem=Pe,l.DataSourceParamItem=rr,l.DesignerColumnControl=as,l.DesignerControl=q,l.DesignerFormControl=Ht,l.DesignerLayoutControl=z,l.DesignerListControl=ye,l.DesignerSearchControl=rs,l.DesignerWrapControl=ls,l.DisplayBoListItem=qe,l.FieldBindItem=vt,l.FieldFilterCondition=$e,l.FieldFilterConditions=de,l.FillBackBind=lr,l.FillPayloadBind=wt,l.FormBind=ce,l.FormSelectBind=ur,l.ImageOptionSetting=It,l.Language=or,l.LayoutControlProperty=ae,l.LeftVariable=At,l.ListBind=ar,l.ListControlProperty=Ze,l.MultistageFillingItem=Ct,l.ObjectDataBind=fe,l.OperationItem=Ar,l.OptionAndDataSourcePropertyRules=pr,l.OptionSetting=Ne,l.PAGE_STATUS=_e,l.Property=j,l.PropertyRules=he,l.PropertyRuntimeRules=Ue,l.RangeDataBind=gr,l.RangeDateValue=yr,l.RegisterControls=oe,l.RegularRules=cr,l.RightVariable=Le,l.RuntimeColumnControl=is,l.RuntimeControl=T,l.RuntimeFormControl=es,l.RuntimeLayoutControl=Qe,l.RuntimeListControl=ns,l.RuntimeSearchControl=ss,l.RuntimeWrapControl=os,l.SearchControlProperty=pe,l.SubListItem=Bt,l.SubListPageConfig=ir,l.SuperDataSourceBind=bt,l.TreeDataSourceBind=sr,l.ViewOperationItem=Cr,l.WrapControlProperty=et,l.controlHooksEmitter=Ot,l.createValidator=Nt,l.defineArrayParent=Wt,l.defineControlArrayToProperty=ie,l.defineParent=Je,l.initImageOptions=fr,l.initOptionAndDataSourceRules=ke,l.initOptions=dr,l.initSuperDataSourceRules=Yr,l.setPropertyDontEnum=Tt,Object.defineProperty(l,"__esModule",{value:!0})});
1
+ var ds=Object.defineProperty,fs=Object.defineProperties;var hs=Object.getOwnPropertyDescriptors;var Jt=Object.getOwnPropertySymbols,ms=Object.getPrototypeOf,gs=Object.prototype.hasOwnProperty,ys=Object.prototype.propertyIsEnumerable,Es=Reflect.get;var Qt=(l,D,w)=>D in l?ds(l,D,{enumerable:!0,configurable:!0,writable:!0,value:w}):l[D]=w,Q=(l,D)=>{for(var w in D||(D={}))gs.call(D,w)&&Qt(l,w,D[w]);if(Jt)for(var w of Jt(D))ys.call(D,w)&&Qt(l,w,D[w]);return l},ve=(l,D)=>fs(l,hs(D));var nt=(l,D,w)=>Es(ms(l),w,D);var re=(l,D,w)=>new Promise((Be,se)=>{var Ae=U=>{try{Z(w.next(U))}catch(Y){se(Y)}},Ce=U=>{try{Z(w.throw(U))}catch(Y){se(Y)}},Z=U=>U.done?Be(U.value):Promise.resolve(U.value).then(Ae,Ce);Z((w=w.apply(l,D)).next())});(function(l,D){typeof exports=="object"&&typeof module!="undefined"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(l=typeof globalThis!="undefined"?globalThis:l||self,D(l.modelDrivenCore={}))})(this,function(l){"use strict";var D="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",w="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Be="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",se="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ae="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ce="{caption}\u5FC5\u586B",Z="\u8BF7\u8F93\u5165\u6807\u9898",U="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Y="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Zt="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Yt="\u8BF7\u7ED1\u5B9A\u8868\u5355",pt="\u8BF7\u7ED1\u5B9A\u5217\u8868",en="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",tn="\u8BF7\u8F93\u5165\u663E\u793A\u503C",nn="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",un="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",an="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",rn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",sn="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ln="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",on="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",cn="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",dn="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",fn="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",hn="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",mn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",gn="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",yn="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",En="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",vn="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Bn="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",An="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Cn="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Fn="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Dn="\u8BF7\u7ED1\u5B9A\u670D\u52A1",bn="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Sn="\u8BF7\u9009\u62E9\u7701",wn="\u8BF7\u9009\u62E9\u5E02",In="\u8BF7\u9009\u62E9\u533A",Rn="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Mn="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ln="\u8BF7\u8F93\u5165\u5217\u5BBD",$n="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",qn="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Pn="\u8BF7\u9009\u62E9\u63A7\u4EF6",xn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Vn="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Nn="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",On="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",_n="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Un="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",jn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Hn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Tn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Wn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Kn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",zn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",kn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Gn="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Jn="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Qn="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Zn="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Yn="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",pn="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",eu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",tu={isNotNumber:D,isNotString:w,isNotObject:Be,isNotArray:se,isNotBoolean:Ae,runtimeRequired:Ce,pleaseEnterCaption:Z,pleaseEnterCaptionTip:U,pleaseEnterPlaceholder:Y,pleaseEnterFieldCode:Zt,pleaseEnterForm:Yt,pleaseEnterList:pt,pleaseEnterProcess:en,pleaseEnterLabel:tn,pleaseEnterValue:nn,bizKeyNotBindFiled:un,pleaseEnterNumberRange:an,pleaseEnterAValueGreaterThanMin:rn,pleaseEnterAValueLessThanMax:sn,numberRangeSetError:ln,stringRangeError:on,attachmentMaxSize:cn,pleaseEnterTotalScoreSetting:dn,theTotalScoreMustNotBeLessThan1:fn,scoreDefaultValueRange:hn,attachmentLimitError:mn,PleaseReselectTheOptionalQuantity:gn,TheMaximumLengthIsGreaterThanTheMinimumLength:yn,TheMinimumLengthIsGreaterThanTheMaximumLength:En,PleaseSelectTheCorrectOptionSettings:vn,optionIdIsRepeat:Bn,optionIsRequired:An,pleaseEnterDataCode:Cn,pleaseEnterValueFieldCode:Fn,pleaseEnterSvcCode:Dn,pleaseBindAtLeastOneDisplayValue:bn,pleaseSelectProvince:Sn,pleaseSelectCity:wn,pleaseSelectDistrict:In,limitRowsCannotBeLessThan0:Rn,TheNumberOfRowsCannotBeLessThanMinRows:Mn,pleaseEnterColumnWidth:Ln,pleaseSetTheLogicalRelationshipOfAllRuleConditions:$n,pleaseCompleteAllRulesAndConditions:qn,pleaseSelectControl:Pn,pleaseSelectAtLeastOneColumn:xn,pleaseSelectFillBackMode:Vn,pleaseSelectDashboard:Nn,rootNodeIsRequired:On,theViewNameCannotBeEmpty:_n,pleaseSelectOcrType:Un,pleaseSelectAtLeastOneFieldToFillIn:jn,pleaseChooseAtLeastOne:Hn,pleaseEnterButtonContent:Tn,pleaseEnterDataCodeInDataSetting:Wn,pleaseEnterValueFieldCodeInDataSetting:Kn,pleaseEnterSvcCodeInDataSetting:zn,pleaseBindAtLeastOneDisplayValueInDataSetting:Xn,rootNodeIsRequiredInDataSetting:kn,pleaseEnterMaxHeight:Gn,pleaseEnter:Jn,pleaseEnterWatermark:Qn,pleaseEnterFileName:Zn,pleaseUploadAtLeastOnePrintTemplate:Yn,pleaseAssignBusiness:pn,pleaseAssignExternal:eu},nu="Please enter a number",uu="Please enter a string",au="Please enter an object",iu="Please enter an array",ru="Please enter a boolean",su="{caption} Required",lu="Please enter the title",ou="Please enter the bubble prompt",cu="Please enter the prompt text",du="Please bind data items",fu="Please bind the form",hu="Please bind the list",mu="Please bind the process",gu="Please enter the displayed value",yu="Please enter the stored value",Eu="The document number is not bound to the data item",vu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Bu="Please enter a value greater than or equal to {min}",Au="Please enter a value less than or equal to {max}",Cu="The value range is set incorrectly",Fu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Du="The attachment size must be between 0MB and 1000MB",bu="Please fill in the total score setting",Su="The total score cannot be less than 1",wu="The default value must be between {min} and {max}",Iu="The number of attachments uploaded must be between {min} and {max}",Ru="Please re-select the optional quantity",Mu="The maximum length of the control must be greater than the minimum length",Lu="The minimum length of the control must be less than the maximum length",$u="Please select the correct option setting",qu="Option ID cannot be repeated",Pu="Please enter at least one option",xu="Please bind the data source",Vu="Please bind the stored value",Nu="Please bind the service",Ou="At least one display value must be bound",_u="Please select a province",Uu="Please select a city",ju="Please select a district",Hu="The minimum number of lines to fill in cannot be less than 0",Tu="The number of rows cannot be less than {min} rows",Wu="Please enter the column width",Ku="Please set the logical relationship of all rule conditions",zu="Please complete all rules and conditions",Xu="please select control",ku="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Gu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ju="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Qu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Zu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Yu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",pu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ea="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ta="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",na="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ua="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",aa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ia="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ra="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",sa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",la="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",oa="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ca="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",da={isNotNumber:nu,isNotString:uu,isNotObject:au,isNotArray:iu,isNotBoolean:ru,runtimeRequired:su,pleaseEnterCaption:lu,pleaseEnterCaptionTip:ou,pleaseEnterPlaceholder:cu,pleaseEnterFieldCode:du,pleaseEnterForm:fu,pleaseEnterList:hu,pleaseEnterProcess:mu,pleaseEnterLabel:gu,pleaseEnterValue:yu,bizKeyNotBindFiled:Eu,pleaseEnterNumberRange:vu,pleaseEnterAValueGreaterThanMin:Bu,pleaseEnterAValueLessThanMax:Au,numberRangeSetError:Cu,stringRangeError:Fu,attachmentMaxSize:Du,pleaseEnterTotalScoreSetting:bu,theTotalScoreMustNotBeLessThan1:Su,scoreDefaultValueRange:wu,attachmentLimitError:Iu,PleaseReselectTheOptionalQuantity:Ru,TheMaximumLengthIsGreaterThanTheMinimumLength:Mu,TheMinimumLengthIsGreaterThanTheMaximumLength:Lu,PleaseSelectTheCorrectOptionSettings:$u,optionIdIsRepeat:qu,optionIsRequired:Pu,pleaseEnterDataCode:xu,pleaseEnterValueFieldCode:Vu,pleaseEnterSvcCode:Nu,pleaseBindAtLeastOneDisplayValue:Ou,pleaseSelectProvince:_u,pleaseSelectCity:Uu,pleaseSelectDistrict:ju,limitRowsCannotBeLessThan0:Hu,TheNumberOfRowsCannotBeLessThanMinRows:Tu,pleaseEnterColumnWidth:Wu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ku,pleaseCompleteAllRulesAndConditions:zu,pleaseSelectControl:Xu,pleaseSelectDashboard:ku,theViewNameCannotBeEmpty:Gu,pleaseSelectOcrType:Ju,pleaseSelectAtLeastOneFieldToFillIn:Qu,pleaseChooseAtLeastOne:Zu,pleaseEnterButtonContent:Yu,pleaseEnterDataCodeInDataSetting:pu,pleaseEnterValueFieldCodeInDataSetting:ea,pleaseEnterSvcCodeInDataSetting:ta,pleaseBindAtLeastOneDisplayValueInDataSetting:na,rootNodeIsRequiredInDataSetting:ua,pleaseEnterMaxHeight:aa,pleaseEnter:ia,pleaseEnterWatermark:ra,pleaseEnterFileName:sa,pleaseUploadAtLeastOnePrintTemplate:la,pleaseAssignBusiness:oa,pleaseAssignExternal:ca},fa="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ha="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ma="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ga="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ya="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="{caption}\u5FC5\u9808",va="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ba="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Aa="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ca="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Da="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ba="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Sa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ia="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ra="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ma="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",La="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$a="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",qa="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",xa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Va="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Na="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Oa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",_a="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ua="\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",ja="\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",Ha="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ta="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Wa="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ka="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",za="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ka="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ga="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ja="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qa="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Za="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ya="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",pa="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ei="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ti="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ni="please select control",ui="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ai="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ii="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ri="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",si="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",li="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",oi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ci="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",di="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",hi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",mi="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",gi="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",yi="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ei="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",vi="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Bi="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ai="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ci={isNotNumber:fa,isNotString:ha,isNotObject:ma,isNotArray:ga,isNotBoolean:ya,runtimeRequired:Ea,pleaseEnterCaption:va,pleaseEnterCaptionTip:Ba,pleaseEnterPlaceholder:Aa,pleaseEnterFieldCode:Ca,pleaseEnterForm:Fa,pleaseEnterList:Da,pleaseEnterProcess:ba,pleaseEnterLabel:Sa,pleaseEnterValue:wa,bizKeyNotBindFiled:Ia,pleaseEnterNumberRange:Ra,pleaseEnterAValueGreaterThanMin:Ma,pleaseEnterAValueLessThanMax:La,numberRangeSetError:$a,stringRangeError:qa,attachmentMaxSize:Pa,pleaseEnterTotalScoreSetting:xa,theTotalScoreMustNotBeLessThan1:Va,scoreDefaultValueRange:Na,attachmentLimitError:Oa,PleaseReselectTheOptionalQuantity:_a,TheMaximumLengthIsGreaterThanTheMinimumLength:Ua,TheMinimumLengthIsGreaterThanTheMaximumLength:ja,PleaseSelectTheCorrectOptionSettings:Ha,optionIdIsRepeat:Ta,optionIsRequired:Wa,pleaseEnterDataCode:Ka,pleaseEnterValueFieldCode:za,pleaseEnterSvcCode:Xa,pleaseBindAtLeastOneDisplayValue:ka,pleaseSelectProvince:Ga,pleaseSelectCity:Ja,pleaseSelectDistrict:Qa,limitRowsCannotBeLessThan0:Za,TheNumberOfRowsCannotBeLessThanMinRows:Ya,pleaseEnterColumnWidth:pa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ei,pleaseCompleteAllRulesAndConditions:ti,pleaseSelectControl:ni,pleaseSelectDashboard:ui,theViewNameCannotBeEmpty:ai,pleaseSelectOcrType:ii,pleaseSelectAtLeastOneFieldToFillIn:ri,pleaseChooseAtLeastOne:si,pleaseEnterButtonContent:li,pleaseEnterDataCodeInDataSetting:oi,pleaseEnterValueFieldCodeInDataSetting:ci,pleaseEnterSvcCodeInDataSetting:di,pleaseBindAtLeastOneDisplayValueInDataSetting:fi,rootNodeIsRequiredInDataSetting:hi,pleaseEnterMaxHeight:mi,pleaseEnter:gi,pleaseEnterWatermark:yi,pleaseEnterFileName:Ei,pleaseUploadAtLeastOnePrintTemplate:vi,pleaseAssignBusiness:Bi,pleaseAssignExternal:Ai},Fi={zhCN:tu,enUS:da,jaJP:Ci},ut;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(ut||(ut={}));var at;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(at||(at={}));var Di="zh-CN";function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var X;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(X||(X={}));var L;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(L||(L={}));var R;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(R||(R={}));var $;$={},P($,R.ARRAY,L.ARRAY_COLUMN),P($,R.AUTO_NUMBER,L.AUTO_NUMBER_COLUMN),P($,R.DECIMAL,L.DECIMAL_COLUMN),P($,R.DEPARTMENTS,L.DEPARTMENT_COLUMN),P($,R.FILE,L.FILE_COLUMN),P($,R.IMAGE,L.IMAGE_COLUMN),P($,R.ADDRESS,L.LOCATION_COLUMN),P($,R.EMPLOYEES,L.EMPLOYEE_COLUMN),P($,R.TEXT,L.TEXT_COLUMN),P($,R.TIMESCOPE,L.TIMESCOPE_COLUMN),P($,R.TIMESTAMP,L.TIMESTAMP_COLUMN),P($,R.VARCHAR,L.VARCHAR_COLUMN),P($,R.RELATION,L.VARCHAR_COLUMN);var it;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(it||(it={}));var rt="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",bi=rt+"0123456789";function W(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?rt:bi,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Fe(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Si(t){if(Array.isArray(t))return Fe(t)}function wi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function st(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ii(){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(t){return!1}}function le(t,e,n){return Ii()?le=Reflect.construct:le=function(a,i,r){var o=[null];o.push.apply(o,i);var d=Function.bind.apply(a,o),c=new d;return r&&ee(c,r.prototype),c},le.apply(null,arguments)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},p(t)}function lt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ee(t,e)}function Ri(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Mi(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Li(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function $i(t,e){return e&&(qi(e)==="object"||typeof e=="function")?e:wi(t)}function ee(t,e){return ee=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ee(t,e)}function ot(t){return Si(t)||Mi(t)||Pi(t)||Li()}var qi=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pi(t,e){if(!!t){if(typeof t=="string")return Fe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fe(t,e)}}function De(t){var e=typeof Map=="function"?new Map:void 0;return De=function(u){if(u===null||!Ri(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return le(u,arguments,p(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ee(a,u)},De(t)}function xi(){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(t){return!1}}function ct(t){var e=xi();return function(){var u=p(t),a;if(e){var i=p(this).constructor;a=Reflect.construct(u,arguments,i)}else a=u.apply(this,arguments);return $i(this,a)}}var be=console;function Se(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=be).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(ot(a)))}function dt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=be).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(ot(a)))}function Vi(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var we=function(t){lt(n,t);var e=ct(n);function n(u){st(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?Vi(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(De(Error)),Ni=function(t){lt(n,t);var e=ct(n);function n(u){st(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(we);function Ie(t){throw new we(t)}function ft(t){throw new Ni(t)}function Oi(t){be.error(new we(t))}var _i=Object.prototype.toString;function ht(t,e){return _i.call(t)==="[object "+e+"]"}function Ui(t){return ht(t,"String")}function ji(t){return ht(t,"Promise")}var Hi=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();ji(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,i,r,o){if(a!==void 0){var d=a[i];if(!(r===o.length-1&&!Ui(d)))return d}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var i=n[a];return i!==void 0?String(i):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Ti(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){Ti(this,t)}return t.getMessage=function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Di;return new Hi({locale:n,messages:Fi})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Wi(t,e,n){var u=e.replace(/\[(\d)]/g,function(i,r){return"."+r}).split("."),a=!1;return u.reduce(function(i,r,o,d){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,r)){Se("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),i,i);return}return o===d.length-1&&!Object.is(c[r],n)&&(c[r]=n,a=!0),c[r]}},t),a}var Ki=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},zi={exports:{}};(function(t){(function(e){var n=function(s,h,M){if(!c(h)||v(h)||C(h)||b(h)||d(h))return h;var E,S=0,O=0;if(y(h))for(E=[],O=h.length;S<O;S++)E.push(n(s,h[S],M));else{E={};for(var A in h)Object.prototype.hasOwnProperty.call(h,A)&&(E[s(A,M)]=n(s,h[A],M))}return E},u=function(s,h){h=h||{};var M=h.separator||"_",E=h.split||/(?=[A-Z])/;return s.split(E).join(M)},a=function(s){return F(s)?s:(s=s.replace(/[\-_\s]+(.)?/g,function(h,M){return M?M.toUpperCase():""}),s.substr(0,1).toLowerCase()+s.substr(1))},i=function(s){var h=a(s);return h.substr(0,1).toUpperCase()+h.substr(1)},r=function(s,h){return u(s,h).toLowerCase()},o=Object.prototype.toString,d=function(s){return typeof s=="function"},c=function(s){return s===Object(s)},y=function(s){return o.call(s)=="[object Array]"},v=function(s){return o.call(s)=="[object Date]"},C=function(s){return o.call(s)=="[object RegExp]"},b=function(s){return o.call(s)=="[object Boolean]"},F=function(s){return s=s-0,s===s},m=function(s,h){var M=h&&"process"in h?h.process:h;return typeof M!="function"?s:function(E,S){return M(E,s,S)}},B={camelize:a,decamelize:r,pascalize:i,depascalize:r,camelizeKeys:function(s,h){return n(m(a,h),s)},decamelizeKeys:function(s,h){return n(m(r,h),s,h)},pascalizeKeys:function(s,h){return n(m(i,h),s)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(Ki)})(zi);function K(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function Xi(t){return Object.prototype.toString.call(t)==="[object Object]"}function ki(t){return Array.isArray(t)}function Gi(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Re(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Ji(t){if(Array.isArray(t))return Re(t)}function mt(t,e,n,u,a,i,r){try{var o=t[i](r),d=o.value}catch(c){n(c);return}o.done?e(d):Promise.resolve(d).then(u,a)}function Qi(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var i=t.apply(e,n);function r(d){mt(i,u,a,r,o,"next",d)}function o(d){mt(i,u,a,r,o,"throw",d)}r(void 0)})}}function Zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yi(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pi(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Me(t){return Ji(t)||Yi(t)||er(t)||pi()}function er(t,e){if(!!t){if(typeof t=="string")return Re(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Re(t,e)}}var tr=function(t,e){var n,u,a,i,r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function o(c){return function(y){return d([c,y])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,u&&(a=c[0]&2?u.return:c[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,c[1])).done)return a;switch(u=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,u=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(y){c=[6,y],u=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},nr=function(){function t(){Zi(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(u){for(var a=arguments.length,i=new Array(a>1?a-1:0),r=1;r<a;r++)i[r-1]=arguments[r];var o=this;return Qi(function(){var d,c,y,v,C,b,F,m,B,s,h,M;return tr(this,function(E){switch(E.label){case 0:if(d=o._events.get(u),c=[],!d)return[3,10];y=d.slice(),v=!0,C=!1,b=void 0,E.label=1;case 1:E.trys.push([1,8,9,10]),F=y[Symbol.iterator](),E.label=2;case 2:if(v=(m=F.next()).done)return[3,7];if(B=m.value,!d.includes(B))return[3,6];E.label=3;case 3:return E.trys.push([3,5,,6]),o.debug&&dt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(Me(i))),[4,B.apply(null,Me(i))];case 4:return s=E.sent(),o.debug&&dt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Me(i),[s])),c.push(s),s===!1?[3,7]:[3,6];case 5:return h=E.sent(),Oi(String(h)),[3,6];case 6:return v=!0,[3,2];case 7:return[3,10];case 8:return M=E.sent(),C=!0,b=M,[3,10];case 9:try{!v&&F.return!=null&&F.return()}finally{if(C)throw b}return[7];case 10:return[2,c]}})})()},e.on=function(u,a){if(this._events.has(u)){var i;(i=this._events.get(u))===null||i===void 0||i.push(a)}else this._events.set(u,[a])},e.off=function(u,a){if(this._events.has(u)){var i=this._events.get(u),r=i==null?void 0:i.indexOf(a);i==null||i.splice(r,1)}},e.delete=function(u){this._events.has(u)&&this._events.delete(u)},e.clear=function(){this._events=new Map},t}();const gt=[];class oe{constructor(e){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=e,this._initControls(e)}registerControlConfig(e,n){return this.controlConfigMap.set(e,n),this}getControlConfig(e){return this.controlConfigMap.get(e)}static register(e){const{Designer:n,Runtime:u}=e;(!n||!u||!n.__is_control__||!u.__is_control__)&&Ie(`${e} is can't register as a Control`);const a=this.staticControls.findIndex(i=>i.Designer.controlType===n.controlType);return a>-1&&(Se(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(e),this}getControls(){return this._controls}register(e){e.__is_control__||Ie(`${e.name} is not a Control`);const n=this._controls.findIndex(u=>u.controlType===e.controlType);return n>-1&&(Se(`The ${e.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(n,1)),this.registeredControlTypes.add(e.controlType),this._controls.push(e),this}isLayoutControl(e){return e.controlType===X.LAYOUT}isFormControl(e){return e.controlType===X.FORM}isListControl(e){return e.controlType===X.LIST}isColumnControl(e){return e.controlType===X.COLUMN}createControl(e,n){if(Array.isArray(e))return e.map(a=>this.createControl(a,n));e.children&&(e.children=e.children.map(a=>this.createControl(a,n))),this.isListControl(e)&&e.props.headers&&(e.props.headers=e.props.headers.map(a=>this.createControl(a,n)));const u=this.getControlFormType(e.type);if(u){let a=e;if(typeof n=="function"){const r=n(a);r&&(a=r)}return new u(a)}else Ie(`The constructor of ${e.type} could not be found, please confirm that the constructor has been registered`)}createControlInstance(e,n){const u=this.getControlFormType(e);if(u)return new u(n)}getControlFormType(e){return this._controls.find(n=>n.controlType===e)}_initControls(e){this.constructor.staticControls.forEach(n=>{this.register(n[e])})}}oe.staticControls=gt,oe.staticRegisteredTypes=new Set(gt.map(t=>t.Designer.controlType)),oe.staticRegisteredConfigs=new Map;class V{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:""}}class yt{constructor(e){var n,u;this.minWidth=(n=e==null?void 0:e.minWidth)!=null?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(u=e==null?void 0:e.flex)!=null?u:1}}class ce{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.appId=(a=e==null?void 0:e.appId)!=null?a:""}}class ur extends ce{constructor(e){var n;super(e),this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class Et{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class ar{constructor(e){var n,u,a,i;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Et(r)))!=null?i:[]}}class vt{constructor(e){var n,u,a;this.fieldName=(n=e==null?void 0:e.fieldName)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:R.VARCHAR}}class Bt extends ce{constructor(e){var n,u,a,i;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.svcCode=(u=e==null?void 0:e.svcCode)!=null?u:"",this.isOpenFilter=(a=e==null?void 0:e.isOpenFilter)!=null?a:!1,this.filters=(i=e==null?void 0:e.filters)!=null?i:[]}}class ir{constructor(e){var n,u,a,i;this.type="sublist-page",this.formBind=new ce(e==null?void 0:e.formBind),this.displayFields=(u=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(r=>new vt(r)))!=null?u:[],this.sublists=(i=(a=e==null?void 0:e.sublists)==null?void 0:a.map(r=>new Bt(r)))!=null?i:[]}}class At{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class Le{constructor(e){var n,u,a;this.type=(n=e==null?void 0:e.type)!=null?n:"custom",this.value=(u=e==null?void 0:e.value)!=null?u:[],this.displayBos=(a=e==null?void 0:e.displayBos)!=null?a:[]}}class de{constructor(e){var n,u,a,i;this.type="conditions",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.level=(a=e==null?void 0:e.level)!=null?a:0,this.value=(i=e==null?void 0:e.value)!=null?i:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(r=>{var o,d;if(r.children!==void 0){const c=new de(r);(o=this.children)==null||o.push(c)}else{const c=new $e(r);(d=this.children)==null||d.push(c)}}))}}class $e{constructor(e){var n,u,a,i,r;this.type="condition",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.symbol=(a=e==null?void 0:e.symbol)!=null?a:"",this.checked=(i=e==null?void 0:e.checked)!=null?i:!1,this.describe=(r=e==null?void 0:e.describe)!=null?r:"",this.leftVariableBo=new At(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Le(e==null?void 0:e.rightVariableBo)}}class Ct{constructor(e){var n,u,a,i;this.controlId=(n=e==null?void 0:e.controlId)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.propName=(i=e==null?void 0:e.propName)!=null?i:""}}class qe{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"FIELD",this.value=(u=e==null?void 0:e.value)!=null?u:"",this.fieldType=e==null?void 0:e.fieldType}}class Pe{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class Ft{constructor(e){var n,u,a;this.code=(n=e.code)!=null?n:"",this.value=(u=e.value)!=null?u:"",this.field_type=(a=e.field_type)!=null?a:R.ANY}}class rr{constructor(e){var n,u,a,i,r,o,d;this.id=(n=e.id)!=null?n:"",this.limit=(u=e.limit)!=null?u:20,this.formKey=(a=e.formKey)!=null?a:"",this.orders=(r=(i=e.orders)==null?void 0:i.map(c=>new Pe(c)))!=null?r:[],this.dataSet=(d=(o=e.dataSet)==null?void 0:o.map(c=>new Ft(c)))!=null?d:[]}}function xe(t){var e,n,u,a;this.filters=(n=(e=t==null?void 0:t.filters)==null?void 0:e.map(i=>i.children!==void 0?new de(i):new $e(i)))!=null?n:[],(this instanceof Ve||this instanceof wt)&&(this.orders=(a=(u=t==null?void 0:t.orders)==null?void 0:u.map(i=>new Pe(i)))!=null?a:[])}class Ve{constructor(e){var n,u,a,i,r;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!=null?a:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(o=>{var d;(d=this.displayBoList)==null||d.push(new qe(o))})),this.showOrder=(i=e==null?void 0:e.showOrder)!=null?i:!0,this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",xe.call(this,e)}}class Dt{constructor(e){var n,u,a,i;this.name=(n=e==null?void 0:e.name)!=null?n:"",this.key=(u=e==null?void 0:e.key)!=null?u:"",this.value=(i=(a=e==null?void 0:e.value)==null?void 0:a.map(r=>new qe(r)))!=null?i:[]}}class bt extends Ve{constructor(e){var n,u;super(e),this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new Dt(a)))!=null?u:[]}}class sr extends bt{constructor(e){super(e),this.rootNode=new Le(e==null?void 0:e.rootNode)}}class St{constructor(e){var n,u,a,i;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.fillList=(i=(a=e==null?void 0:e.fillList)==null?void 0:a.map(r=>new Ct(r)))!=null?i:[]}}class wt extends St{constructor(e){super(e),xe.call(this,e)}}class lr extends St{constructor(e){var n,u;super(e),this.mode=(n=e==null?void 0:e.mode)!=null?n:"current",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1}}class or{constructor(e){var n,u,a;this.zh=(n=e==null?void 0:e.zh)!=null?n:"",this.en=(u=e==null?void 0:e.en)!=null?u:"",this.ja=(a=e==null?void 0:e.ja)!=null?a:""}}class cr{constructor(e){var n,u,a;this.stencilName=(n=e==null?void 0:e.stencilName)!=null?n:"",this.expression=(u=e==null?void 0:e.expression)!=null?u:"",this.errMessage=(a=e==null?void 0:e.errMessage)!=null?a:""}}class Ne{constructor(e){var n,u,a;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.label=(u=e==null?void 0:e.label)!=null?u:"",this.value=(a=e==null?void 0:e.value)!=null?a:this.label}}class It extends Ne{constructor(e){var n,u;super(e),this.image=(n=e==null?void 0:e.image)!=null?n:"",this.type=(u=e==null?void 0:e.type)!=null?u:"src"}}function dr(t){var e;return(e=t==null?void 0:t.map(n=>new Ne(n)))!=null?e:[]}function fr(t){var e;return(e=t==null?void 0:t.map(n=>new It(n)))!=null?e:[]}class fe{}class hr extends fe{constructor(e){super(),this.amount=new V(e==null?void 0:e.amount),this.currency=new V(e==null?void 0:e.currency)}}class mr{constructor(e){var n,u;this.amount=(n=e==null?void 0:e.amount)!=null?n:"",this.currency=(u=e==null?void 0:e.currency)!=null?u:Oe.CNY}}class gr extends fe{constructor(e){super(),this.min=new V(e==null?void 0:e.min),this.max=new V(e==null?void 0:e.max)}}class yr{constructor(e){var n,u;this.min=(n=e==null?void 0:e.min)!=null?n:"",this.max=(u=e==null?void 0:e.max)!=null?u:""}}class Er{constructor(e){var n,u,a,i,r,o;this.city=(n=e==null?void 0:e.city)!=null?n:"",this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!=null?u:"",this.district=(a=e==null?void 0:e.district)!=null?a:"",this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!=null?i:"",this.province=(r=e==null?void 0:e.province)!=null?r:"",this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!=null?o:""}}class vr extends fe{constructor(e){super(),this.result=new V(e==null?void 0:e.result),this.unit=new V(e==null?void 0:e.unit)}}class Br{constructor(e){var n,u;this.result=(n=e==null?void 0:e.result)!=null?n:0,this.unit=(u=e==null?void 0:e.unit)!=null?u:""}}var Oe=(t=>(t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t))(Oe||{}),Rt=(t=>(t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t))(Rt||{}),_e=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(_e||{});class Ar{constructor(e){var n,u,a,i,r,o;this.isShow=(n=e==null?void 0:e.isShow)!=null?n:!0,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(i=e==null?void 0:e.openType)!=null?i:"modal",this.type=(r=e==null?void 0:e.type)!=null?r:"",this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!=null?o:!1}}class Cr{constructor(e){var n,u,a,i;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.title=(u=e==null?void 0:e.title)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Et(r)))!=null?i:[],xe.call(this,e)}}class Fr{constructor(e){var n,u;this.key=(n=e.key)!=null?n:W(8),this.caption=(u=e.caption)!=null?u:""}}class Mt{constructor(e){var n,u,a,i;this.width=(n=e==null?void 0:e.width)!=null?n:"",this.height=(u=e==null?void 0:e.height)!=null?u:"",this.widthConfig=(a=e==null?void 0:e.widthConfig)!=null?a:"fill",this.heightConfig=(i=e==null?void 0:e.heightConfig)!=null?i:"fill"}}class he{constructor(e){this.isHide={type:"boolean"}}}class Ue extends Array{constructor(e){super()}}class j{constructor(e,n=""){var u,a;this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.style=new Mt(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}j.Rules=he,j.RuntimeRules=Ue;function N(){return N=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},N.apply(this,arguments)}function Dr(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function je(t){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(t)}function me(t,e){return me=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},me(t,e)}function br(){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(t){return!1}}function ge(t,e,n){return br()?ge=Reflect.construct:ge=function(a,i,r){var o=[null];o.push.apply(o,i);var d=Function.bind.apply(a,o),c=new d;return r&&me(c,r.prototype),c},ge.apply(null,arguments)}function Sr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function He(t){var e=typeof Map=="function"?new Map:void 0;return He=function(u){if(u===null||!Sr(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return ge(u,arguments,je(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),me(a,u)},He(t)}var wr=/%[sdj%]/g,Lt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Lt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Te(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function x(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],i=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var r=String(a).replace(wr,function(o){if(o==="%%")return"%";if(u>=i)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(d){return"[Circular]"}break;default:return o}});return r}return a}function Ir(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function I(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Ir(e)&&typeof t=="string"&&!t)}function Rr(t,e,n){var u=[],a=0,i=t.length;function r(o){u.push.apply(u,o),a++,a===i&&n(u)}t.forEach(function(o){e(o,r)})}function $t(t,e,n){var u=0,a=t.length;function i(r){if(r&&r.length){n(r);return}var o=u;u=u+1,o<a?e(t[o],i):n([])}i([])}function Mr(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var qt=function(t){Dr(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(He(Error));function Lr(t,e,n,u){if(e.first){var a=new Promise(function(v,C){var b=function(B){return u(B),B.length?C(new qt(B,Te(B))):v()},F=Mr(t);$t(F,n,b)});return a.catch(function(v){return v}),a}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var r=Object.keys(t),o=r.length,d=0,c=[],y=new Promise(function(v,C){var b=function(m){if(c.push.apply(c,m),d++,d===o)return u(c),c.length?C(new qt(c,Te(c))):v()};r.length||(u(c),v()),r.forEach(function(F){var m=t[F];i.indexOf(F)!==-1?$t(m,n,b):Rr(m,n,b)})});return y.catch(function(v){return v}),y}function Pt(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function xt(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=N(N({},t[n]),u):t[n]=u}}return t}function Vt(t,e,n,u,a,i){t.required&&(!n.hasOwnProperty(t.field)||I(e,i||t.type))&&u.push(x(a.messages.required,t.fullField))}function $r(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(x(a.messages.whitespace,t.fullField))}var We={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},te={integer:function(e){return te.number(e)&&parseInt(e,10)===e},float:function(e){return te.number(e)&&!te.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!te.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(We.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(We.url)},hex:function(e){return typeof e=="string"&&!!e.match(We.hex)}};function qr(t,e,n,u,a){if(t.required&&e===void 0){Vt(t,e,n,u,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;i.indexOf(r)>-1?te[r](e)||u.push(x(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(x(a.messages.types[r],t.fullField,t.type))}function Pr(t,e,n,u,a){var i=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,y=null,v=typeof e=="number",C=typeof e=="string",b=Array.isArray(e);if(v?y="number":C?y="string":b&&(y="array"),!y)return!1;b&&(c=e.length),C&&(c=e.replace(d,"_").length),i?c!==t.len&&u.push(x(a.messages[y].len,t.fullField,t.len)):r&&!o&&c<t.min?u.push(x(a.messages[y].min,t.fullField,t.min)):o&&!r&&c>t.max?u.push(x(a.messages[y].max,t.fullField,t.max)):r&&o&&(c<t.min||c>t.max)&&u.push(x(a.messages[y].range,t.fullField,t.min,t.max))}var k="enum";function xr(t,e,n,u,a){t[k]=Array.isArray(t[k])?t[k]:[],t[k].indexOf(e)===-1&&u.push(x(a.messages[k],t.fullField,t[k].join(", ")))}function Vr(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(x(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||u.push(x(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var g={required:Vt,whitespace:$r,type:qr,range:Pr,enum:xr,pattern:Vr};function Nr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"string")&&!t.required)return n();g.required(t,e,u,i,a,"string"),I(e,"string")||(g.type(t,e,u,i,a),g.range(t,e,u,i,a),g.pattern(t,e,u,i,a),t.whitespace===!0&&g.whitespace(t,e,u,i,a))}n(i)}function Or(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&g.type(t,e,u,i,a)}n(i)}function _r(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&(g.type(t,e,u,i,a),g.range(t,e,u,i,a))}n(i)}function Ur(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&g.type(t,e,u,i,a)}n(i)}function jr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),I(e)||g.type(t,e,u,i,a)}n(i)}function Hr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&(g.type(t,e,u,i,a),g.range(t,e,u,i,a))}n(i)}function Tr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&(g.type(t,e,u,i,a),g.range(t,e,u,i,a))}n(i)}function Wr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();g.required(t,e,u,i,a,"array"),e!=null&&(g.type(t,e,u,i,a),g.range(t,e,u,i,a))}n(i)}function Kr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&g.type(t,e,u,i,a)}n(i)}var zr="enum";function Xr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a),e!==void 0&&g[zr](t,e,u,i,a)}n(i)}function kr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"string")&&!t.required)return n();g.required(t,e,u,i,a),I(e,"string")||g.pattern(t,e,u,i,a)}n(i)}function Gr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"date")&&!t.required)return n();if(g.required(t,e,u,i,a),!I(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),g.type(t,o,u,i,a),o&&g.range(t,o.getTime(),u,i,a)}}n(i)}function Jr(t,e,n,u,a){var i=[],r=Array.isArray(e)?"array":typeof e;g.required(t,e,u,i,a,r),n(i)}function Ke(t,e,n,u,a){var i=t.type,r=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(I(e,i)&&!t.required)return n();g.required(t,e,u,r,a,i),I(e,i)||g.type(t,e,u,r,a)}n(r)}function Qr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();g.required(t,e,u,i,a)}n(i)}var ne={string:Nr,method:Or,number:_r,boolean:Ur,regexp:jr,integer:Hr,float:Tr,array:Wr,object:Kr,enum:Xr,pattern:kr,date:Gr,url:Ke,hex:Ke,email:Ke,required:Jr,any:Qr};function ze(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Xe=ze();function H(t){this.rules=null,this._messages=Xe,this.define(t)}H.prototype={messages:function(e){return e&&(this._messages=xt(ze(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var i=e,r=n,o=u;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function d(m){var B,s=[],h={};function M(E){if(Array.isArray(E)){var S;s=(S=s).concat.apply(S,E)}else s.push(E)}for(B=0;B<m.length;B++)M(m[B]);s.length?h=Te(s):(s=null,h=null),o(s,h)}if(r.messages){var c=this.messages();c===Xe&&(c=ze()),xt(c,r.messages),r.messages=c}else r.messages=this.messages();var y,v,C={},b=r.keys||Object.keys(this.rules);b.forEach(function(m){y=a.rules[m],v=i[m],y.forEach(function(B){var s=B;typeof s.transform=="function"&&(i===e&&(i=N({},i)),v=i[m]=s.transform(v)),typeof s=="function"?s={validator:s}:s=N({},s),s.validator=a.getValidationMethod(s),s.field=m,s.fullField=s.fullField||m,s.type=a.getType(s),s.validator&&(C[m]=C[m]||[],C[m].push({rule:s,value:v,source:i,field:m}))})});var F={};return Lr(C,r,function(m,B){var s=m.rule,h=(s.type==="object"||s.type==="array")&&(typeof s.fields=="object"||typeof s.defaultField=="object");h=h&&(s.required||!s.required&&m.value),s.field=m.field;function M(O,A){return N(N({},A),{},{fullField:s.fullField+"."+O})}function E(O){O===void 0&&(O=[]);var A=O;if(Array.isArray(A)||(A=[A]),!r.suppressWarning&&A.length&&H.warning("async-validator:",A),A.length&&s.message!==void 0&&(A=[].concat(s.message)),A=A.map(Pt(s)),r.first&&A.length)return F[s.field]=1,B(A);if(!h)B(A);else{if(s.required&&!m.value)return s.message!==void 0?A=[].concat(s.message).map(Pt(s)):r.error&&(A=[r.error(s,x(r.messages.required,s.field))]),B(A);var _={};if(s.defaultField)for(var kt in m.value)m.value.hasOwnProperty(kt)&&(_[kt]=s.defaultField);_=N(N({},_),m.rule.fields);for(var G in _)if(_.hasOwnProperty(G)){var cs=Array.isArray(_[G])?_[G]:[_[G]];_[G]=cs.map(M.bind(null,G))}var Gt=new H(_);Gt.messages(r.messages),m.rule.options&&(m.rule.options.messages=r.messages,m.rule.options.error=r.error),Gt.validate(m.value,m.rule.options||r,function(tt){var J=[];A&&A.length&&J.push.apply(J,A),tt&&tt.length&&J.push.apply(J,tt),B(J.length?J:null)})}}var S;s.asyncValidator?S=s.asyncValidator(s,m.value,E,m.source,r):s.validator&&(S=s.validator(s,m.value,E,m.source,r),S===!0?E():S===!1?E(s.message||s.field+" fails"):S instanceof Array?E(S):S instanceof Error&&E(S.message)),S&&S.then&&S.then(function(){return E()},function(O){return E(O)})},function(m){d(m)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ne.hasOwnProperty(e.type))throw new Error(x("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?ne.required:ne[this.getType(e)]||!1}},H.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ne[e]=n},H.warning=Lt,H.messages=Xe,H.validators=ne;const Zr={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Nt(t,e={}){const n=new H(t);return n.messages(Object.assign(Zr,e)),n}const Ot=new nr;class q{constructor(e){var y,v,C,b;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ut,this.removeSetting=_t,this._callControlHooks("preInstance",e);const{controlName:n,controlIcon:u,controlType:a,controlFieldType:i,controlEventKeys:r,controlCustomEvents:o,name:d,setting:c}=new.target;n&&u&&a||ft(`The ${d} controlName,controlIcon,controlType is not define`),this.id=(y=e==null?void 0:e.id)!=null?y:W(10),this.name=n,this.icon=u,this.type=(v=e==null?void 0:e.type)!=null?v:a,this.props=new j(e==null?void 0:e.props,new.target.controlName),this.controlType=(C=e==null?void 0:e.controlType)!=null?C:"base",this.setting=K(c),this.fieldType=(b=e==null?void 0:e.fieldType)!=null?b:i,this.eventKeys=K(r),this.customEvents=K(o),Promise.resolve().then(()=>{this._callControlHooks("postInstance",e)})}get rules(){const e=this.props.constructor.Rules;return e?new e(this.props):{}}_callControlHooks(...e){const[n,...u]=e;return Ot.emit(n,this,...u)}preUpdate(e,n){this._callControlHooks("preUpdateProps",e,n)}postUpdate(e,n){this._callControlHooks("postUpdateProps",e,n)}updateProps(e,n){this.preUpdate(e,n),Wi(this.props,e,n),this.postUpdate(e,n)}preValidate(){return re(this,null,function*(){const e=Q({},this.rules),n=yield this._callControlHooks("preValidate",e),u=n[n.length-1];return u===!1?void 0:u})}validate(e,n){return re(this,null,function*(){const u=yield this.preValidate(),a=u!==void 0?u:Q({},this.rules);Array.isArray(n)&&n.forEach(r=>{a.hasOwnProperty(r)&&delete a[r]});const i=Nt(a,e);try{return yield i.validate(this.props),!0}catch(r){throw r.control||(r.control=this),r}})}toDataBindModel(e=null){const n=this.fieldType,u=this.id,a=this.type,{dataBind:i,datasourceBind:r,optionConfig:o,caption:d,required:c,maxLength:y,options:v,encrypted:C,encryptedMode:b}=this.props;if(!n&&!i&&!r)return;const F={parentId:e,fieldType:n,controlId:u,caption:d,type:a,props:{}};switch(i&&(F.dataBind=i),o){case"datasource":case void 0:r&&(F.datasourceBind=r);break;case"custom":F.props.options=v;break}return c!==void 0&&(F.required=c),y!==void 0&&(F.maxLength=y),C!==void 0&&(F.encrypted=C),b!==void 0&&(F.encryptedMode=b),F}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:K(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(e,n){e==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}q.controlName="\u63A7\u4EF6",q.controlIcon="icon",q.controlType="control",q.controlEventKeys=[],q.controlCustomEvents=[],q.setting=[],q.__is_control__=!0,q.removeSettingItem=_t,q.updateSettingItem=Ut;function _t(t){(Array.isArray(t)?t:[t]).forEach(n=>{var i,r;const u=typeof n!="string",a=this.setting.findIndex(o=>o.key===(u?n.key:n));a!==-1&&(u?this.setting[a].showItems=(i=this.setting[a].showItems)==null?void 0:i.filter(o=>!n.hideItems.includes(o)):this.setting.splice(a,1),u&&!((r=this.setting[a].showItems)!=null&&r.length)&&this.setting.splice(a,1))})}function Ut(t,e){(typeof t=="string"?[t]:t).forEach(u=>{var i;const a=this.setting.find(r=>r.key===u);a&&(typeof e=="boolean"?a.visible=e:typeof e=="object"&&(((i=e.type)!=null?i:"replace")==="replace"?a.showItems=e.showItems:a.showItems.push(...e.showItems)))})}class T{constructor(e){var r,o,d,c,y;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:u,name:a,controlCustomEvents:i}=new.target;n||ft(`The ${a} controlType is not define`),this.id=(r=e==null?void 0:e.id)!=null?r:W(10),this.type=(o=e==null?void 0:e.type)!=null?o:n,this.props=new j(e==null?void 0:e.props),this.customEvents=i,this.controlType=(d=e==null?void 0:e.controlType)!=null?d:"base",this.fieldType=(c=e==null?void 0:e.fieldType)!=null?c:u,this.pageStatus=(y=e==null?void 0:e.pageStatus)!=null?y:_e.UNKNOWN}get rules(){const e=this.props.constructor.RuntimeRules;if(e){const n=new e(this.props);return Array.from(n)}return[]}}T.controlType="control",T.__is_control__=!0,T.controlCustomEvents=[];function ke(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator(e,n,u){n.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator(e,n,u){const a=n.map(r=>r.value),i=Gi(a);a.length!==i.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(e,n,u){n.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function Yr(t,e,n=!1){this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator(u,a,i){a.length===0&&i(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),i()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}class Ge extends he{constructor(e){super(e),this.dataBind={},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(e.dataBind instanceof V)this.dataBind={type:"object",required:!0,fields:K(n),message:f.getMessage("pleaseEnterFieldCode")};else{let u={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(e.dataBind).forEach(a=>{u.fields[a]={type:"object",required:!0,fields:K(n),message:f.getMessage("pleaseEnterFieldCode")}}),this.dataBind=u}e.isShowCaptionTip&&(this.captionTip.required=!0)}}class jt extends Ue{constructor(e){super(e),this.push({type:"string",required:e.isHide?!1:e.required,message:e.requiredMessage!==""?e.requiredMessage:f.getMessage("runtimeRequired",{caption:e.caption})})}}class ue extends j{constructor(e){var n,u,a,i,r,o,d,c,y,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(i=e==null?void 0:e.captionTip)!=null?i:"",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"",this.required=(c=e==null?void 0:e.required)!=null?c:!1,this.requiredMessage=(y=e==null?void 0:e.requiredMessage)!=null?y:"",this.dataBind=new V(e==null?void 0:e.dataBind),this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:""}}ue.Rules=Ge,ue.RuntimeRules=jt;class pr extends Ge{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],ke.call(this,e)}}class Ht extends q{constructor(e){super(e),this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}Ht.controlEventKeys=["on_change","on_focus","on_blur"];class es extends T{constructor(e){super(e),this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}class ae extends j{constructor(e){super(e)}}function Tt(t,e){var n;(n=Object.getOwnPropertyDescriptors(t)[e])!=null&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Je(t,e){t.parent=e,Tt(t,"parent")}function Wt(t,e){t.forEach(n=>{Je(n,e)})}const Kt=Symbol("targetKey");function zt(t){var e;return(e=t[Kt])!=null?e:t}function Xt(t,e){return Wt(t,e),new Proxy(t,{get(n,u,...a){return u===Kt?n:Reflect.get(n,u,...a)},set(n,u,a,...i){if(ki(t)&&u==="length"&&a===t.length)return!0;const r=Reflect.set(n,u,a,...i);return Xi(a)&&Je(a,e),r}})}function ie(t,e,n,u){const a=u!=null?u:t;let i=Xt(zt(n!=null?n:[]),a);Object.defineProperty(t,e,{get(){return i},set(r){i=Xt(zt(r),a)},enumerable:!0})}const ts=1e4;class z extends q{constructor(e){super(e),this.controlType="layout";const{excludes:n,childrenMaxLength:u}=new.target;this.props=new ae(e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children),this.excludes=K(n),this.childrenMaxLength=u}judgeExcludesChildren(e){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e)}judgeJoinChildren(e){const n=this.judgeExcludesChildren(e);return n&&this.childrenMaxLength>this.children.length}validate(e,n){return re(this,null,function*(){return yield nt(z.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(u=>u.validate(e,n))),!0})}toDataBindModel(e=null){const n=super.toDataBindModel(),u=n?[n]:[];return this.children.reduce((a,i)=>{const r=i.toDataBindModel(e);if(Array.isArray(r)){const o=r.filter(d=>!!d);return[...a,...o]}return r&&a.push(r),a},u)}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return ve(Q({},e),{children:n})}}z.excludes=!1,z.childrenMaxLength=ts;class Qe extends T{constructor(e){super(e),this.controlType="layout",this.props=new ae(e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}}class Ze extends j{constructor(e,n){super(n),ie(this,"headers",n==null?void 0:n.headers,e)}}class ye extends q{constructor(e){super(e),this.controlType="list",this.props=new Ze(this,e==null?void 0:e.props)}validate(e,n){return re(this,null,function*(){return yield nt(ye.prototype,this,"validate").call(this,e),yield Promise.all(this.props.headers.map(u=>u.validate(e,n))),!0})}toDataBindModel(){const e=super.toDataBindModel(),n=e?[e]:[],u=this.id;return this.props.headers.reduce((a,i)=>{const r=i.toDataBindModel(u);if(Array.isArray(r)){const o=r.filter(d=>!!d);return[...a,...o]}return r&&a.push(r),a},n)}toSchema(){const e=super.toSchema(),n=this.props.headers.map(u=>u.toSchema());return ve(Q({},e),{props:ve(Q({},this.props),{headers:n})})}}ye.controlFieldType=R.LIST;class ns extends T{constructor(e){super(e),this.controlType="list",this.props=new Ze(this,e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}get length(){return this.children.length}}class Ye extends he{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.width.required=e.widthType==="px"}}class Ee extends j{constructor(e){var n,u,a,i;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:150,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:"none",this.autoWidth=new yt(e==null?void 0:e.autoWidth),this.dataBind=new V(e==null?void 0:e.dataBind),this.sort=(i=e==null?void 0:e.sort)!=null?i:!0,this.align=e==null?void 0:e.align,this.colSpan=e==null?void 0:e.colSpan}}Ee.Rules=Ye;class us extends Ye{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:f.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],ke.call(this,e)}}class as extends q{constructor(e){super(e),this.controlType="column",this.props=new Ee(e==null?void 0:e.props)}}class is extends T{constructor(e){super(e),this.controlType="column",this.props=new Ee(e==null?void 0:e.props)}}class pe extends ae{constructor(e){super(e),this.dataBind=new V(e==null?void 0:e.dataBind)}}class rs extends z{constructor(e){super(e),this.controlType="search",this.props=new pe(e==null?void 0:e.props)}}class ss extends Qe{constructor(e){super(e),this.controlType="search",this.props=new pe(e==null?void 0:e.props)}}class et extends ae{constructor(e){super(e)}}class ls extends z{constructor(e){super(e),this.controlType="wrap",this.props=new et(e==null?void 0:e.props)}}class os extends Qe{constructor(e){super(e),this.controlType="wrap",this.props=new et(e==null?void 0:e.props)}}l.AMOUNT_TYPE=Oe,l.AddressValue=Er,l.AmountDataBind=hr,l.AmountValue=mr,l.AutoWidth=yt,l.BaseControlProperty=ue,l.BaseControlPropertyRules=Ge,l.BaseControlPropertyRuntimeRules=jt,l.BaseStyle=Mt,l.COMMON_SETTING_TYPE=Rt,l.CalcDataBind=vr,l.CalcValue=Br,l.ColumnControlProperty=Ee,l.ColumnControlPropertyRules=Ye,l.ColumnOptionAndDataSourcePropertyRules=us,l.CustomAttributeItem=Dt,l.CustomPermissionItem=Fr,l.DataBind=V,l.DataSourceBind=Ve,l.DataSourceDataSetValue=Ft,l.DataSourceOrderItem=Pe,l.DataSourceParamItem=rr,l.DesignerColumnControl=as,l.DesignerControl=q,l.DesignerFormControl=Ht,l.DesignerLayoutControl=z,l.DesignerListControl=ye,l.DesignerSearchControl=rs,l.DesignerWrapControl=ls,l.DisplayBoListItem=qe,l.FieldBindItem=vt,l.FieldFilterCondition=$e,l.FieldFilterConditions=de,l.FillBackBind=lr,l.FillPayloadBind=wt,l.FormBind=ce,l.FormSelectBind=ur,l.ImageOptionSetting=It,l.Language=or,l.LayoutControlProperty=ae,l.LeftVariable=At,l.ListBind=ar,l.ListControlProperty=Ze,l.MultistageFillingItem=Ct,l.ObjectDataBind=fe,l.OperationItem=Ar,l.OptionAndDataSourcePropertyRules=pr,l.OptionSetting=Ne,l.PAGE_STATUS=_e,l.Property=j,l.PropertyRules=he,l.PropertyRuntimeRules=Ue,l.RangeDataBind=gr,l.RangeDateValue=yr,l.RegisterControls=oe,l.RegularRules=cr,l.RightVariable=Le,l.RuntimeColumnControl=is,l.RuntimeControl=T,l.RuntimeFormControl=es,l.RuntimeLayoutControl=Qe,l.RuntimeListControl=ns,l.RuntimeSearchControl=ss,l.RuntimeWrapControl=os,l.SearchControlProperty=pe,l.SubListItem=Bt,l.SubListPageConfig=ir,l.SuperDataSourceBind=bt,l.TreeDataSourceBind=sr,l.ViewOperationItem=Cr,l.WrapControlProperty=et,l.controlHooksEmitter=Ot,l.createValidator=Nt,l.defineArrayParent=Wt,l.defineControlArrayToProperty=ie,l.defineParent=Je,l.initImageOptions=fr,l.initOptionAndDataSourceRules=ke,l.initOptions=dr,l.initSuperDataSourceRules=Yr,l.setPropertyDontEnum=Tt,Object.defineProperty(l,"__esModule",{value:!0})});
@@ -8,7 +8,7 @@ export declare class DataBind {
8
8
  }
9
9
  export declare class AutoWidth {
10
10
  minWidth: number;
11
- maxWidth: number;
11
+ maxWidth?: number;
12
12
  flex: number;
13
13
  constructor(props?: Partial<AutoWidth>);
14
14
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-core",
3
- "version": "1.8.1-beta.2",
3
+ "version": "1.8.1-beta.3",
4
4
  "description": "model engine core",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,5 +26,5 @@
26
26
  "async-validator": "3.5.1",
27
27
  "tslib": "^2.1.0"
28
28
  },
29
- "gitHead": "dab568d1d94fe0e0688d7bfb1ba894291d5d1c50"
29
+ "gitHead": "cef1fe7769387acc0088c515cfddcd9a3a560ea1"
30
30
  }