@byteluck-fe/model-driven-core 2.3.1-beta.2 → 2.3.1-beta.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/esm/index.js CHANGED
@@ -1,4 +1,3 @@
1
1
  export * from "./common";
2
2
  export * from "./framework";
3
3
  export * from "./type";
4
- console.log("sourcemap 4");
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var Fs=Object.defineProperty,Ds=Object.defineProperties;var bs=Object.getOwnPropertyDescriptors;var Yt=Object.getOwnPropertySymbols,Ss=Object.getPrototypeOf,ws=Object.prototype.hasOwnProperty,Is=Object.prototype.propertyIsEnumerable,Rs=Reflect.get;var pt=(l,C,w)=>C in l?Fs(l,C,{enumerable:!0,configurable:!0,writable:!0,value:w}):l[C]=w,Q=(l,C)=>{for(var w in C||(C={}))ws.call(C,w)&&pt(l,w,C[w]);if(Yt)for(var w of Yt(C))Is.call(C,w)&&pt(l,w,C[w]);return l},Be=(l,C)=>Ds(l,bs(C));var it=(l,C,w)=>Rs(Ss(l),w,C);var re=(l,C,w)=>new Promise((se,le)=>{var Ae=U=>{try{Z(w.next(U))}catch(Y){le(Y)}},Ce=U=>{try{Z(w.throw(U))}catch(Y){le(Y)}},Z=U=>U.done?se(U.value):Promise.resolve(U.value).then(Ae,Ce);Z((w=w.apply(l,C)).next())});(function(l,C){typeof exports=="object"&&typeof module!="undefined"?C(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],C):(l=typeof globalThis!="undefined"?globalThis:l||self,C(l.modelDrivenCore={},l.regeneratorRuntime))})(this,function(l,C){"use strict";function w(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var se=w(C),le="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Ae="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ce="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",U="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Y="{caption}\u5FC5\u586B",en="\u8BF7\u8F93\u5165\u6807\u9898",tn="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",nn="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",un="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",an="\u8BF7\u7ED1\u5B9A\u8868\u5355",rn="\u8BF7\u7ED1\u5B9A\u5217\u8868",sn="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ln="\u8BF7\u8F93\u5165\u663E\u793A\u503C",on="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",cn="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",dn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",fn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",hn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",mn="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",gn="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",yn="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",En="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",vn="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Bn="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",An="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Cn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Fn="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Dn="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",bn="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Sn="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",wn="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",In="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Rn="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Mn="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ln="\u8BF7\u7ED1\u5B9A\u670D\u52A1",$n="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",qn="\u8BF7\u9009\u62E9\u7701",Pn="\u8BF7\u9009\u62E9\u5E02",Vn="\u8BF7\u9009\u62E9\u533A",Nn="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",On="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",jn="\u8BF7\u8F93\u5165\u5217\u5BBD",xn="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Un="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",_n="\u8BF7\u9009\u62E9\u63A7\u4EF6",Hn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Tn="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Wn="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Kn="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",zn="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",kn="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Xn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Gn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Jn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Qn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Yn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",pn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",tu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",nu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",uu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",au="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",iu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ru="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",su="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",lu={isNotNumber:le,isNotString:Ae,isNotObject:Ce,isNotArray:Z,isNotBoolean:U,runtimeRequired:Y,pleaseEnterCaption:en,pleaseEnterCaptionTip:tn,pleaseEnterPlaceholder:nn,pleaseEnterFieldCode:un,pleaseEnterForm:an,pleaseEnterList:rn,pleaseEnterProcess:sn,pleaseEnterLabel:ln,pleaseEnterValue:on,bizKeyNotBindFiled:cn,pleaseSelectOneField:dn,pleaseEnterNumberRange:fn,pleaseEnterAValueGreaterThanMin:hn,pleaseEnterAValueLessThanMax:mn,numberRangeSetError:gn,stringRangeError:yn,attachmentMaxSize:En,pleaseEnterTotalScoreSetting:vn,theTotalScoreMustNotBeLessThan1:Bn,scoreDefaultValueRange:An,attachmentLimitError:Cn,PleaseReselectTheOptionalQuantity:Fn,TheMaximumLengthIsGreaterThanTheMinimumLength:Dn,TheMinimumLengthIsGreaterThanTheMaximumLength:bn,PleaseSelectTheCorrectOptionSettings:Sn,optionIdIsRepeat:wn,optionIsRequired:In,pleaseEnterDataCode:Rn,pleaseEnterValueFieldCode:Mn,pleaseEnterSvcCode:Ln,pleaseBindAtLeastOneDisplayValue:$n,pleaseSelectProvince:qn,pleaseSelectCity:Pn,pleaseSelectDistrict:Vn,limitRowsCannotBeLessThan0:Nn,TheNumberOfRowsCannotBeLessThanMinRows:On,pleaseEnterColumnWidth:jn,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xn,pleaseCompleteAllRulesAndConditions:Un,pleaseSelectControl:_n,pleaseSelectAtLeastOneColumn:Hn,pleaseSelectFillBackMode:Tn,pleaseSelectDashboard:Wn,rootNodeIsRequired:Kn,theViewNameCannotBeEmpty:zn,pleaseSelectOcrType:kn,pleaseSelectAtLeastOneFieldToFillIn:Xn,pleaseChooseAtLeastOne:Gn,pleaseEnterButtonContent:Jn,pleaseEnterDataCodeInDataSetting:Qn,pleaseEnterValueFieldCodeInDataSetting:Zn,pleaseEnterSvcCodeInDataSetting:Yn,pleaseBindAtLeastOneDisplayValueInDataSetting:pn,rootNodeIsRequiredInDataSetting:eu,pleaseEnterMaxHeight:tu,pleaseEnter:nu,pleaseEnterWatermark:uu,pleaseEnterFileName:au,pleaseUploadAtLeastOnePrintTemplate:iu,pleaseAssignBusiness:ru,pleaseAssignExternal:su},ou="Please enter a number",cu="Please enter a string",du="Please enter an object",fu="Please enter an array",hu="Please enter a boolean",mu="{caption} Required",gu="Please enter the title",yu="Please enter the bubble prompt",Eu="Please enter the prompt text",vu="Please bind data items",Bu="Please bind the form",Au="Please bind the list",Cu="Please bind the process",Fu="Please enter the displayed value",Du="Please enter the stored value",bu="The document number is not bound to the data item",Su="Please select at least one display field",wu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Iu="Please enter a value greater than or equal to {min}",Ru="Please enter a value less than or equal to {max}",Mu="The value range is set incorrectly",Lu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",$u="The attachment size must be between 0MB and 1000MB",qu="Please fill in the total score setting",Pu="The total score cannot be less than 1",Vu="The default value must be between {min} and {max}",Nu="The number of attachments uploaded must be between {min} and {max}",Ou="Please re-select the optional quantity",ju="The maximum length of the control must be greater than the minimum length",xu="The minimum length of the control must be less than the maximum length",Uu="Please select the correct option setting",_u="Option ID cannot be repeated",Hu="Please enter at least one option",Tu="Please bind the data source",Wu="Please bind the stored value",Ku="Please bind the service",zu="At least one display value must be bound",ku="Please select a province",Xu="Please select a city",Gu="Please select a district",Ju="The minimum number of lines to fill in cannot be less than 0",Qu="The number of rows cannot be less than {min} rows",Zu="Please enter the column width",Yu="Please set the logical relationship of all rule conditions",pu="Please complete all rules and conditions",ea="please select control",ta="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",na="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ua="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",aa="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ia="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ra="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",sa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",la="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",oa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ca="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",da="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",fa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ha="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ma="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ga="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ya="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ea="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",va="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ba={isNotNumber:ou,isNotString:cu,isNotObject:du,isNotArray:fu,isNotBoolean:hu,runtimeRequired:mu,pleaseEnterCaption:gu,pleaseEnterCaptionTip:yu,pleaseEnterPlaceholder:Eu,pleaseEnterFieldCode:vu,pleaseEnterForm:Bu,pleaseEnterList:Au,pleaseEnterProcess:Cu,pleaseEnterLabel:Fu,pleaseEnterValue:Du,bizKeyNotBindFiled:bu,pleaseSelectOneField:Su,pleaseEnterNumberRange:wu,pleaseEnterAValueGreaterThanMin:Iu,pleaseEnterAValueLessThanMax:Ru,numberRangeSetError:Mu,stringRangeError:Lu,attachmentMaxSize:$u,pleaseEnterTotalScoreSetting:qu,theTotalScoreMustNotBeLessThan1:Pu,scoreDefaultValueRange:Vu,attachmentLimitError:Nu,PleaseReselectTheOptionalQuantity:Ou,TheMaximumLengthIsGreaterThanTheMinimumLength:ju,TheMinimumLengthIsGreaterThanTheMaximumLength:xu,PleaseSelectTheCorrectOptionSettings:Uu,optionIdIsRepeat:_u,optionIsRequired:Hu,pleaseEnterDataCode:Tu,pleaseEnterValueFieldCode:Wu,pleaseEnterSvcCode:Ku,pleaseBindAtLeastOneDisplayValue:zu,pleaseSelectProvince:ku,pleaseSelectCity:Xu,pleaseSelectDistrict:Gu,limitRowsCannotBeLessThan0:Ju,TheNumberOfRowsCannotBeLessThanMinRows:Qu,pleaseEnterColumnWidth:Zu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Yu,pleaseCompleteAllRulesAndConditions:pu,pleaseSelectControl:ea,pleaseSelectDashboard:ta,theViewNameCannotBeEmpty:na,pleaseSelectOcrType:ua,pleaseSelectAtLeastOneFieldToFillIn:aa,pleaseChooseAtLeastOne:ia,pleaseEnterButtonContent:ra,pleaseEnterDataCodeInDataSetting:sa,pleaseEnterValueFieldCodeInDataSetting:la,pleaseEnterSvcCodeInDataSetting:oa,pleaseBindAtLeastOneDisplayValueInDataSetting:ca,rootNodeIsRequiredInDataSetting:da,pleaseEnterMaxHeight:fa,pleaseEnter:ha,pleaseEnterWatermark:ma,pleaseEnterFileName:ga,pleaseUploadAtLeastOnePrintTemplate:ya,pleaseAssignBusiness:Ea,pleaseAssignExternal:va},Aa="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ca="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Da="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ba="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sa="{caption}\u5FC5\u9808",wa="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ia="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ma="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",La="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$a="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pa="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Va="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Na="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Oa="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ja="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xa="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ua="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_a="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ha="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ka="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",za="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ka="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Xa="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ga="\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",Qa="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Za="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ya="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pa="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ei="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ti="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ni="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ui="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ai="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ii="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ri="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",si="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",li="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oi="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ci="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",di="please select control",fi="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",hi="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mi="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",gi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",yi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ei="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",vi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Bi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ai="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ci="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Fi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Di="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",bi="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Si="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",wi="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ii="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ri="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Mi="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Li={isNotNumber:Aa,isNotString:Ca,isNotObject:Fa,isNotArray:Da,isNotBoolean:ba,runtimeRequired:Sa,pleaseEnterCaption:wa,pleaseEnterCaptionTip:Ia,pleaseEnterPlaceholder:Ra,pleaseEnterFieldCode:Ma,pleaseEnterForm:La,pleaseEnterList:$a,pleaseEnterProcess:qa,pleaseEnterLabel:Pa,pleaseEnterValue:Va,bizKeyNotBindFiled:Na,pleaseSelectOneField:Oa,pleaseEnterNumberRange:ja,pleaseEnterAValueGreaterThanMin:xa,pleaseEnterAValueLessThanMax:Ua,numberRangeSetError:_a,stringRangeError:Ha,attachmentMaxSize:Ta,pleaseEnterTotalScoreSetting:Wa,theTotalScoreMustNotBeLessThan1:Ka,scoreDefaultValueRange:za,attachmentLimitError:ka,PleaseReselectTheOptionalQuantity:Xa,TheMaximumLengthIsGreaterThanTheMinimumLength:Ga,TheMinimumLengthIsGreaterThanTheMaximumLength:Ja,PleaseSelectTheCorrectOptionSettings:Qa,optionIdIsRepeat:Za,optionIsRequired:Ya,pleaseEnterDataCode:pa,pleaseEnterValueFieldCode:ei,pleaseEnterSvcCode:ti,pleaseBindAtLeastOneDisplayValue:ni,pleaseSelectProvince:ui,pleaseSelectCity:ai,pleaseSelectDistrict:ii,limitRowsCannotBeLessThan0:ri,TheNumberOfRowsCannotBeLessThanMinRows:si,pleaseEnterColumnWidth:li,pleaseSetTheLogicalRelationshipOfAllRuleConditions:oi,pleaseCompleteAllRulesAndConditions:ci,pleaseSelectControl:di,pleaseSelectDashboard:fi,theViewNameCannotBeEmpty:hi,pleaseSelectOcrType:mi,pleaseSelectAtLeastOneFieldToFillIn:gi,pleaseChooseAtLeastOne:yi,pleaseEnterButtonContent:Ei,pleaseEnterDataCodeInDataSetting:vi,pleaseEnterValueFieldCodeInDataSetting:Bi,pleaseEnterSvcCodeInDataSetting:Ai,pleaseBindAtLeastOneDisplayValueInDataSetting:Ci,rootNodeIsRequiredInDataSetting:Fi,pleaseEnterMaxHeight:Di,pleaseEnter:bi,pleaseEnterWatermark:Si,pleaseEnterFileName:wi,pleaseUploadAtLeastOnePrintTemplate:Ii,pleaseAssignBusiness:Ri,pleaseAssignExternal:Mi},$i={zhCN:lu,enUS:Ba,jaJP:Li},rt;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(rt||(rt={}));var st;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(st||(st={}));var qi="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 k;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(k||(k={}));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 lt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(lt||(lt={}));var ot="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Pi=ot+"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?ot:Pi,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 Vi(t){if(Array.isArray(t))return Fe(t)}function Ni(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ct(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Oi(){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 oe(t,e,n){return Oi()?oe=Reflect.construct:oe=function(a,i,r){var o=[null];o.push.apply(o,i);var f=Function.bind.apply(a,o),c=new f;return r&&ee(c,r.prototype),c},oe.apply(null,arguments)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},p(t)}function dt(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 ji(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function xi(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ui(){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&&(Hi(e)==="object"||typeof e=="function")?e:Ni(t)}function ee(t,e){return ee=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ee(t,e)}function ft(t){return Vi(t)||xi(t)||Ti(t)||Ui()}var Hi=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ti(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||!ji(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 oe(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 Wi(){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 ht(t){var e=Wi();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(ft(a)))}function mt(){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(ft(a)))}function Ki(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var we=function(t){dt(n,t);var e=ht(n);function n(u){ct(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?Ki(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)),zi=function(t){dt(n,t);var e=ht(n);function n(u){ct(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 gt(t){throw new zi(t)}function ki(t){be.error(new we(t))}var Xi=Object.prototype.toString;function yt(t,e){return Xi.call(t)==="[object "+e+"]"}function Gi(t){return yt(t,"String")}function Ji(t){return yt(t,"Promise")}var Qi=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 f=a[i];if(!(r===o.length-1&&!Gi(f)))return f}},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 Zi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var m=function(){function t(){Zi(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]:qi;return new Qi({locale:n,messages:$i})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();m.$i18n=m.resetI18n();function Yi(t,e,n){var u=e.replace(/\[(\d)]/g,function(i,r){return"."+r}).split("."),a=!1;return u.reduce(function(i,r,o,f){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===f.length-1&&!Object.is(c[r],n)&&(c[r]=n,a=!0),c[r]}},t),a}var pi=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},er={exports:{}};(function(t){(function(e){var n=function(s,h,M){if(!c(h)||v(h)||B(h)||b(h)||f(h))return h;var d,S=0,j=0;if(E(h))for(d=[],j=h.length;S<j;S++)d.push(n(s,h[S],M));else{d={};for(var A in h)Object.prototype.hasOwnProperty.call(h,A)&&(d[s(A,M)]=n(s,h[A],M))}return d},u=function(s,h){h=h||{};var M=h.separator||"_",d=h.split||/(?=[A-Z])/;return s.split(d).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,f=function(s){return typeof s=="function"},c=function(s){return s===Object(s)},E=function(s){return o.call(s)=="[object Array]"},v=function(s){return o.call(s)=="[object Date]"},B=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},g=function(s,h){var M=h&&"process"in h?h.process:h;return typeof M!="function"?s:function(d,S){return M(d,s,S)}},D={camelize:a,decamelize:r,pascalize:i,depascalize:r,camelizeKeys:function(s,h){return n(g(a,h),s)},decamelizeKeys:function(s,h){return n(g(r,h),s,h)},pascalizeKeys:function(s,h){return n(g(i,h),s)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(pi)})(er);var Et={};Object.defineProperty(Et,"__esModule",{value:!0});function Re(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Re(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Re(u)}return e}}var tr=Et.default=Re;function K(t){if(t!==void 0)return typeof t=="object"?tr(t):t}function nr(t){return Object.prototype.toString.call(t)==="[object Object]"}function ur(t){return Array.isArray(t)}function ar(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Me(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 ir(t){if(Array.isArray(t))return Me(t)}function vt(t,e,n,u,a,i,r){try{var o=t[i](r),f=o.value}catch(c){n(c);return}o.done?e(f):Promise.resolve(f).then(u,a)}function rr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var i=t.apply(e,n);function r(f){vt(i,u,a,r,o,"next",f)}function o(f){vt(i,u,a,r,o,"throw",f)}r(void 0)})}}function sr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function or(){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 Le(t){return ir(t)||lr(t)||cr(t)||or()}function cr(t,e){if(!!t){if(typeof t=="string")return Me(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 Me(t,e)}}var dr=function(){function t(){sr(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 rr(se.default.mark(function f(){var c,E,v,B,b,F,g,D,s,h;return se.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:if(c=o._events.get(u),E=[],!c){d.next=42;break}v=c.slice(),B=!0,b=!1,F=void 0,d.prev=5,g=v[Symbol.iterator]();case 7:if(B=(D=g.next()).done){d.next=28;break}if(s=D.value,c.includes(s)){d.next=11;break}return d.abrupt("continue",25);case 11:return d.prev=11,o.debug&&mt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(s.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+s.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(i.map(function(){return"%o"}).join(","),"\u3002")].concat(Le(i))),d.next=15,s.apply(null,Le(i));case 15:if(h=d.sent,o.debug&&mt.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(s.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+s.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(Le(i),[h])),E.push(h),h!==!1){d.next=20;break}return d.abrupt("break",28);case 20:d.next=25;break;case 22:d.prev=22,d.t0=d.catch(11),ki(String(d.t0));case 25:B=!0,d.next=7;break;case 28:d.next=34;break;case 30:d.prev=30,d.t1=d.catch(5),b=!0,F=d.t1;case 34:d.prev=34,d.prev=35,!B&&g.return!=null&&g.return();case 37:if(d.prev=37,!b){d.next=40;break}throw F;case 40:return d.finish(37);case 41:return d.finish(34);case 42:return d.abrupt("return",E);case 43:case"end":return d.stop()}},f,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()},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 Bt=[];class ce{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===k.LAYOUT}isFormControl(e){return e.controlType===k.FORM}isListControl(e){return e.controlType===k.LIST}isColumnControl(e){return e.controlType===k.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])})}}ce.staticControls=Bt,ce.staticRegisteredTypes=new Set(Bt.map(t=>t.Designer.controlType)),ce.staticRegisteredConfigs=new Map;class N{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 $e{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 qe extends $e{constructor(e){var n,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(u=e==null?void 0:e.widthType)!=null?u:"auto"}}class fr{constructor(e){var n;this.pc=new qe(e==null?void 0:e.pc),this.mobile=(n=e==null?void 0:e.mobile)!=null?n:new qe({width:130,minWidth:180})}}class hr{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"firstThree",this.customOptions=(u=e==null?void 0:e.customOptions)!=null?u:[]}}class de{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 mr extends de{constructor(e){var n;super(e),this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class At{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class gr{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 At(r)))!=null?i:[]}}class Ct{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 Ft extends de{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 yr{constructor(e){var n,u,a,i;this.type="sublist-page",this.formBind=new de(e==null?void 0:e.formBind),this.displayFields=(u=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(r=>new Ct(r)))!=null?u:[],this.sublists=(i=(a=e==null?void 0:e.sublists)==null?void 0:a.map(r=>new Ft(r)))!=null?i:[]}}class Dt{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class Pe{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 fe{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,f;if(r.children!==void 0){const c=new fe(r);(o=this.children)==null||o.push(c)}else{const c=new Ve(r);(f=this.children)==null||f.push(c)}}))}}class Ve{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 Dt(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Pe(e==null?void 0:e.rightVariableBo)}}class bt{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 Ne{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 Oe{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class St{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 Er{constructor(e){var n,u,a,i,r,o,f;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 Oe(c)))!=null?r:[],this.dataSet=(f=(o=e.dataSet)==null?void 0:o.map(c=>new St(c)))!=null?f:[]}}function je(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 fe(i):new Ve(i)))!=null?n:[],(this instanceof xe||this instanceof Mt)&&(this.orders=(a=(u=t==null?void 0:t.orders)==null?void 0:u.map(i=>new Oe(i)))!=null?a:[])}class xe{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 f;(f=this.displayBoList)==null||f.push(new Ne(o))})),this.showOrder=(i=e==null?void 0:e.showOrder)!=null?i:!0,this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",je.call(this,e)}}class wt{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 Ne(r)))!=null?i:[]}}class It extends xe{constructor(e){var n,u;super(e),this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new wt(a)))!=null?u:[]}}class vr extends It{constructor(e){super(e),this.rootNode=new Pe(e==null?void 0:e.rootNode)}}class Rt{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 bt(r)))!=null?i:[]}}class Mt extends Rt{constructor(e){super(e),je.call(this,e)}}class Br extends Rt{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 Ar{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 Ue{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 Lt extends Ue{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 Fr(t){var e;return(e=t==null?void 0:t.map(n=>new Ue(n)))!=null?e:[]}function Dr(t){var e;return(e=t==null?void 0:t.map(n=>new Lt(n)))!=null?e:[]}class he{}class br extends he{constructor(e){super(),this.amount=new N(e==null?void 0:e.amount),this.currency=new N(e==null?void 0:e.currency)}}class Sr{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:_e.CNY}}class wr extends he{constructor(e){super(),this.min=new N(e==null?void 0:e.min),this.max=new N(e==null?void 0:e.max)}}class Ir{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 Rr{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 Mr extends he{constructor(e){super(),this.result=new N(e==null?void 0:e.result),this.unit=new N(e==null?void 0:e.unit)}}class Lr{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 _e=(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))(_e||{}),$t=(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))($t||{}),He=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(He||{});class $r{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 qr{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 At(r)))!=null?i:[],je.call(this,e)}}class Pr{constructor(e){var n,u;this.key=(n=e.key)!=null?n:W(8),this.caption=(u=e.caption)!=null?u:""}}class qt{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 me{constructor(e){this.isHide={type:"boolean"}}}class Te extends Array{constructor(e){super()}}class _{constructor(e,n=""){var u,a;this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.style=new qt(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}_.Rules=me,_.RuntimeRules=Te;function O(){return O=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},O.apply(this,arguments)}function Vr(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function We(t){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(t)}function ge(t,e){return ge=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ge(t,e)}function Nr(){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 ye(t,e,n){return Nr()?ye=Reflect.construct:ye=function(a,i,r){var o=[null];o.push.apply(o,i);var f=Function.bind.apply(a,o),c=new f;return r&&ge(c,r.prototype),c},ye.apply(null,arguments)}function Or(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ke(t){var e=typeof Map=="function"?new Map:void 0;return Ke=function(u){if(u===null||!Or(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 ye(u,arguments,We(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ge(a,u)},Ke(t)}var jr=/%[sdj%]/g,Pt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Pt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function ze(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 V(){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(jr,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(f){return"[Circular]"}break;default:return o}});return r}return a}function xr(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||xr(e)&&typeof t=="string"&&!t)}function Ur(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 Vt(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 _r(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Nt=function(t){Vr(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}(Ke(Error));function Hr(t,e,n,u){if(e.first){var a=new Promise(function(v,B){var b=function(D){return u(D),D.length?B(new Nt(D,ze(D))):v()},F=_r(t);Vt(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,f=0,c=[],E=new Promise(function(v,B){var b=function(g){if(c.push.apply(c,g),f++,f===o)return u(c),c.length?B(new Nt(c,ze(c))):v()};r.length||(u(c),v()),r.forEach(function(F){var g=t[F];i.indexOf(F)!==-1?Vt(g,n,b):Ur(g,n,b)})});return E.catch(function(v){return v}),E}function Ot(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 jt(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]=O(O({},t[n]),u):t[n]=u}}return t}function xt(t,e,n,u,a,i){t.required&&(!n.hasOwnProperty(t.field)||I(e,i||t.type))&&u.push(V(a.messages.required,t.fullField))}function Tr(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(V(a.messages.whitespace,t.fullField))}var ke={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(ke.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ke.url)},hex:function(e){return typeof e=="string"&&!!e.match(ke.hex)}};function Wr(t,e,n,u,a){if(t.required&&e===void 0){xt(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(V(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(V(a.messages.types[r],t.fullField,t.type))}function Kr(t,e,n,u,a){var i=typeof t.len=="number",r=typeof t.min=="number",o=typeof t.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,E=null,v=typeof e=="number",B=typeof e=="string",b=Array.isArray(e);if(v?E="number":B?E="string":b&&(E="array"),!E)return!1;b&&(c=e.length),B&&(c=e.replace(f,"_").length),i?c!==t.len&&u.push(V(a.messages[E].len,t.fullField,t.len)):r&&!o&&c<t.min?u.push(V(a.messages[E].min,t.fullField,t.min)):o&&!r&&c>t.max?u.push(V(a.messages[E].max,t.fullField,t.max)):r&&o&&(c<t.min||c>t.max)&&u.push(V(a.messages[E].range,t.fullField,t.min,t.max))}var X="enum";function zr(t,e,n,u,a){t[X]=Array.isArray(t[X])?t[X]:[],t[X].indexOf(e)===-1&&u.push(V(a.messages[X],t.fullField,t[X].join(", ")))}function kr(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(V(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(V(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var y={required:xt,whitespace:Tr,type:Wr,range:Kr,enum:zr,pattern:kr};function Xr(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();y.required(t,e,u,i,a,"string"),I(e,"string")||(y.type(t,e,u,i,a),y.range(t,e,u,i,a),y.pattern(t,e,u,i,a),t.whitespace===!0&&y.whitespace(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)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y.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(e===""&&(e=void 0),I(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}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();y.required(t,e,u,i,a),e!==void 0&&y.type(t,e,u,i,a)}n(i)}function Zr(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();y.required(t,e,u,i,a),I(e)||y.type(t,e,u,i,a)}n(i)}function Yr(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();y.required(t,e,u,i,a),e!==void 0&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function pr(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();y.required(t,e,u,i,a),e!==void 0&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function es(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();y.required(t,e,u,i,a,"array"),e!=null&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function ts(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();y.required(t,e,u,i,a),e!==void 0&&y.type(t,e,u,i,a)}n(i)}var ns="enum";function us(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();y.required(t,e,u,i,a),e!==void 0&&y[ns](t,e,u,i,a)}n(i)}function as(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();y.required(t,e,u,i,a),I(e,"string")||y.pattern(t,e,u,i,a)}n(i)}function is(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(y.required(t,e,u,i,a),!I(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),y.type(t,o,u,i,a),o&&y.range(t,o.getTime(),u,i,a)}}n(i)}function rs(t,e,n,u,a){var i=[],r=Array.isArray(e)?"array":typeof e;y.required(t,e,u,i,a,r),n(i)}function Xe(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();y.required(t,e,u,r,a,i),I(e,i)||y.type(t,e,u,r,a)}n(r)}function ss(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();y.required(t,e,u,i,a)}n(i)}var ne={string:Xr,method:Gr,number:Jr,boolean:Qr,regexp:Zr,integer:Yr,float:pr,array:es,object:ts,enum:us,pattern:as,date:is,url:Xe,hex:Xe,email:Xe,required:rs,any:ss};function Ge(){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 Je=Ge();function H(t){this.rules=null,this._messages=Je,this.define(t)}H.prototype={messages:function(e){return e&&(this._messages=jt(Ge(),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 f(g){var D,s=[],h={};function M(d){if(Array.isArray(d)){var S;s=(S=s).concat.apply(S,d)}else s.push(d)}for(D=0;D<g.length;D++)M(g[D]);s.length?h=ze(s):(s=null,h=null),o(s,h)}if(r.messages){var c=this.messages();c===Je&&(c=Ge()),jt(c,r.messages),r.messages=c}else r.messages=this.messages();var E,v,B={},b=r.keys||Object.keys(this.rules);b.forEach(function(g){E=a.rules[g],v=i[g],E.forEach(function(D){var s=D;typeof s.transform=="function"&&(i===e&&(i=O({},i)),v=i[g]=s.transform(v)),typeof s=="function"?s={validator:s}:s=O({},s),s.validator=a.getValidationMethod(s),s.field=g,s.fullField=s.fullField||g,s.type=a.getType(s),s.validator&&(B[g]=B[g]||[],B[g].push({rule:s,value:v,source:i,field:g}))})});var F={};return Hr(B,r,function(g,D){var s=g.rule,h=(s.type==="object"||s.type==="array")&&(typeof s.fields=="object"||typeof s.defaultField=="object");h=h&&(s.required||!s.required&&g.value),s.field=g.field;function M(j,A){return O(O({},A),{},{fullField:s.fullField+"."+j})}function d(j){j===void 0&&(j=[]);var A=j;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(Ot(s)),r.first&&A.length)return F[s.field]=1,D(A);if(!h)D(A);else{if(s.required&&!g.value)return s.message!==void 0?A=[].concat(s.message).map(Ot(s)):r.error&&(A=[r.error(s,V(r.messages.required,s.field))]),D(A);var x={};if(s.defaultField)for(var Qt in g.value)g.value.hasOwnProperty(Qt)&&(x[Qt]=s.defaultField);x=O(O({},x),g.rule.fields);for(var G in x)if(x.hasOwnProperty(G)){var Cs=Array.isArray(x[G])?x[G]:[x[G]];x[G]=Cs.map(M.bind(null,G))}var Zt=new H(x);Zt.messages(r.messages),g.rule.options&&(g.rule.options.messages=r.messages,g.rule.options.error=r.error),Zt.validate(g.value,g.rule.options||r,function(at){var J=[];A&&A.length&&J.push.apply(J,A),at&&at.length&&J.push.apply(J,at),D(J.length?J:null)})}}var S;s.asyncValidator?S=s.asyncValidator(s,g.value,d,g.source,r):s.validator&&(S=s.validator(s,g.value,d,g.source,r),S===!0?d():S===!1?d(s.message||s.field+" fails"):S instanceof Array?d(S):S instanceof Error&&d(S.message)),S&&S.then&&S.then(function(){return d()},function(j){return d(j)})},function(g){f(g)})},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(V("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=Pt,H.messages=Je,H.validators=ne;const ls={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 Ut(t,e={}){const n=new H(t);return n.messages(Object.assign(ls,e)),n}const _t=new dr;class q{constructor(e){var E,v,B,b;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Tt,this.removeSetting=Ht,this._callControlHooks("preInstance",e);const{controlName:n,controlIcon:u,controlType:a,controlFieldType:i,controlEventKeys:r,controlCustomEvents:o,name:f,setting:c}=new.target;n&&u&&a||gt(`The ${f} controlName,controlIcon,controlType is not define`),this.id=(E=e==null?void 0:e.id)!=null?E:W(10),this.name=n,this.icon=u,this.type=(v=e==null?void 0:e.type)!=null?v:a,this.props=new _(e==null?void 0:e.props,new.target.controlName),this.controlType=(B=e==null?void 0:e.controlType)!=null?B:"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 _t.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),Yi(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=Ut(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:f,required:c,maxLength:E,options:v,encrypted:B,encryptedMode:b}=this.props;if(!n&&!i&&!r)return;const F={parentId:e,fieldType:n,controlId:u,caption:f,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),E!==void 0&&(F.maxLength=E),B!==void 0&&(F.encrypted=B),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=Ht,q.updateSettingItem=Tt;function Ht(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 Tt(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,f,c,E;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:u,name:a,controlCustomEvents:i}=new.target;n||gt(`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 _(e==null?void 0:e.props),this.customEvents=i,this.controlType=(f=e==null?void 0:e.controlType)!=null?f:"base",this.fieldType=(c=e==null?void 0:e.fieldType)!=null?c:u,this.pageStatus=(E=e==null?void 0:e.pageStatus)!=null?E:He.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 Qe(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:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:m.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:m.getMessage("pleaseEnterValue")}}}},{type:"array",validator(e,n,u){n.length===0&&u(m.getMessage("optionIsRequired")),u()}},{type:"array",validator(e,n,u){const a=n.map(r=>r.value),i=ar(a);a.length!==i.length?u(m.getMessage("optionIdIsRepeat")):u()},message:m.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:m.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",validator(e,n,u){n.length===0&&u(m.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:m.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:m.getMessage("isNotBoolean")}}}}]}}])}function os(t,e,n=!1){this.datasourceBind=[{type:"object",message:m.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:m.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:m.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:m.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:m.getMessage("isNotString")},key:{type:"string",required:!0,message:m.getMessage("isNotString")},value:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",validator(u,a,i){a.length===0&&i(m.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),i()},message:m.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:m.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:m.getMessage("isNotBoolean")}}}}]}}]}class Ze extends me{constructor(e){super(e),this.dataBind={},this.caption={type:"string",required:!0,message:m.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:m.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:m.getMessage("pleaseEnterFieldCode")}};if(e.dataBind instanceof N)this.dataBind={type:"object",required:!0,fields:K(n),message:m.getMessage("pleaseEnterFieldCode")};else{let u={type:"object",required:!0,fields:{},message:m.getMessage("pleaseEnterFieldCode")};Object.keys(e.dataBind).forEach(a=>{u.fields[a]={type:"object",required:!0,fields:K(n),message:m.getMessage("pleaseEnterFieldCode")}}),this.dataBind=u}e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wt extends Te{constructor(e){super(e),this.push({type:"string",required:e.isHide?!1:e.required,message:e.requiredMessage!==""?e.requiredMessage:m.getMessage("runtimeRequired",{caption:e.caption})})}}class ue extends _{constructor(e){var n,u,a,i,r,o,f,c,E,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=(f=e==null?void 0:e.placeholder)!=null?f:"",this.required=(c=e==null?void 0:e.required)!=null?c:!1,this.requiredMessage=(E=e==null?void 0:e.requiredMessage)!=null?E:"",this.dataBind=new N(e==null?void 0:e.dataBind),this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:""}}ue.Rules=Ze,ue.RuntimeRules=Wt;class cs extends Ze{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource"],message:m.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:m.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:m.getMessage("isNotObject")}],Qe.call(this,e)}}class Kt extends q{constructor(e){super(e),this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}Kt.controlEventKeys=["on_change","on_focus","on_blur"];class ds extends T{constructor(e){super(e),this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}class ae extends _{constructor(e){super(e)}}function zt(t,e){var n;(n=Object.getOwnPropertyDescriptors(t)[e])!=null&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ye(t,e){t.parent=e,zt(t,"parent")}function kt(t,e){t.forEach(n=>{Ye(n,e)})}const Xt=Symbol("targetKey");function Gt(t){var e;return(e=t[Xt])!=null?e:t}function Jt(t,e){return kt(t,e),new Proxy(t,{get(n,u,...a){return u===Xt?n:Reflect.get(n,u,...a)},set(n,u,a,...i){if(ur(t)&&u==="length"&&a===t.length)return!0;const r=Reflect.set(n,u,a,...i);return nr(a)&&Ye(a,e),r}})}function ie(t,e,n,u){const a=u!=null?u:t;let i=Jt(Gt(n!=null?n:[]),a);Object.defineProperty(t,e,{get(){return i},set(r){i=Jt(Gt(r),a)},enumerable:!0})}const fs=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 it(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(f=>!!f);return[...a,...o]}return r&&a.push(r),a},u)}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return Be(Q({},e),{children:n})}}z.excludes=!1,z.childrenMaxLength=fs;class pe 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 et extends _{constructor(e,n){super(n),ie(this,"headers",n==null?void 0:n.headers,e)}}class Ee extends q{constructor(e){super(e),this.controlType="list",this.props=new et(this,e==null?void 0:e.props)}validate(e,n){return re(this,null,function*(){return yield it(Ee.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(f=>!!f);return[...a,...o]}return r&&a.push(r),a},n)}toSchema(){const e=super.toSchema(),n=this.props.headers.map(u=>u.toSchema());return Be(Q({},e),{props:Be(Q({},this.props),{headers:n})})}}Ee.controlFieldType=R.LIST;class hs extends T{constructor(e){super(e),this.controlType="list",this.props=new et(this,e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}get length(){return this.children.length}}class tt extends me{constructor(e){super(e),this.caption={type:"string",required:!0,message:m.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:m.getMessage("pleaseEnterColumnWidth")},this.width.required=e.widthType==="px"}}class ve extends _{constructor(e){var n,u,a,i,r;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 $e(e==null?void 0:e.autoWidth),this.dataBind=new N(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,this.autoHeight=(r=e==null?void 0:e.autoHeight)!=null?r:!1}}ve.Rules=tt;class ms extends tt{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:m.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:m.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:m.getMessage("isNotObject")}],Qe.call(this,e)}}class gs extends q{constructor(e){super(e),this.controlType="column",this.props=new ve(e==null?void 0:e.props)}}class ys extends T{constructor(e){super(e),this.controlType="column",this.props=new ve(e==null?void 0:e.props)}}class nt extends ae{constructor(e){super(e),this.dataBind=new N(e==null?void 0:e.dataBind)}}class Es extends z{constructor(e){super(e),this.controlType="search",this.props=new nt(e==null?void 0:e.props)}}class vs extends pe{constructor(e){super(e),this.controlType="search",this.props=new nt(e==null?void 0:e.props)}}class ut extends ae{constructor(e){super(e)}}class Bs extends z{constructor(e){super(e),this.controlType="wrap",this.props=new ut(e==null?void 0:e.props)}}class As extends pe{constructor(e){super(e),this.controlType="wrap",this.props=new ut(e==null?void 0:e.props)}}console.log("sourcemap 4"),l.AMOUNT_TYPE=_e,l.AddressValue=Rr,l.AmountDataBind=br,l.AmountValue=Sr,l.AutoWidth=$e,l.BaseControlProperty=ue,l.BaseControlPropertyRules=Ze,l.BaseControlPropertyRuntimeRules=Wt,l.BaseStyle=qt,l.COMMON_SETTING_TYPE=$t,l.CalcDataBind=Mr,l.CalcValue=Lr,l.ColumnControlProperty=ve,l.ColumnControlPropertyRules=tt,l.ColumnOptionAndDataSourcePropertyRules=ms,l.CustomAttributeItem=wt,l.CustomPermissionItem=Pr,l.DataBind=N,l.DataSourceBind=xe,l.DataSourceDataSetValue=St,l.DataSourceOrderItem=Oe,l.DataSourceParamItem=Er,l.DataStorageDoc=hr,l.DesignerColumnControl=gs,l.DesignerControl=q,l.DesignerFormControl=Kt,l.DesignerLayoutControl=z,l.DesignerListControl=Ee,l.DesignerSearchControl=Es,l.DesignerWrapControl=Bs,l.DisplayBoListItem=Ne,l.FieldBindItem=Ct,l.FieldFilterCondition=Ve,l.FieldFilterConditions=fe,l.FillBackBind=Br,l.FillPayloadBind=Mt,l.FormBind=de,l.FormSelectBind=mr,l.ImageOptionSetting=Lt,l.Language=Ar,l.LayoutControlProperty=ae,l.LeftVariable=Dt,l.ListBind=gr,l.ListControlProperty=et,l.MetaAutoWidth=fr,l.MetaWidth=qe,l.MultistageFillingItem=bt,l.ObjectDataBind=he,l.OperationItem=$r,l.OptionAndDataSourcePropertyRules=cs,l.OptionSetting=Ue,l.PAGE_STATUS=He,l.Property=_,l.PropertyRules=me,l.PropertyRuntimeRules=Te,l.RangeDataBind=wr,l.RangeDateValue=Ir,l.RegisterControls=ce,l.RegularRules=Cr,l.RightVariable=Pe,l.RuntimeColumnControl=ys,l.RuntimeControl=T,l.RuntimeFormControl=ds,l.RuntimeLayoutControl=pe,l.RuntimeListControl=hs,l.RuntimeSearchControl=vs,l.RuntimeWrapControl=As,l.SearchControlProperty=nt,l.SubListItem=Ft,l.SubListPageConfig=yr,l.SuperDataSourceBind=It,l.TreeDataSourceBind=vr,l.ViewOperationItem=qr,l.WrapControlProperty=ut,l.controlHooksEmitter=_t,l.createValidator=Ut,l.defineArrayParent=kt,l.defineControlArrayToProperty=ie,l.defineParent=Ye,l.initImageOptions=Dr,l.initOptionAndDataSourceRules=Qe,l.initOptions=Fr,l.initSuperDataSourceRules=os,l.setPropertyDontEnum=zt,Object.defineProperty(l,"__esModule",{value:!0})});
1
+ var As=Object.defineProperty,Cs=Object.defineProperties;var Fs=Object.getOwnPropertyDescriptors;var Yt=Object.getOwnPropertySymbols,Ds=Object.getPrototypeOf,bs=Object.prototype.hasOwnProperty,Ss=Object.prototype.propertyIsEnumerable,ws=Reflect.get;var pt=(s,D,w)=>D in s?As(s,D,{enumerable:!0,configurable:!0,writable:!0,value:w}):s[D]=w,Q=(s,D)=>{for(var w in D||(D={}))bs.call(D,w)&&pt(s,w,D[w]);if(Yt)for(var w of Yt(D))Ss.call(D,w)&&pt(s,w,D[w]);return s},Be=(s,D)=>Cs(s,Fs(D));var it=(s,D,w)=>ws(Ds(s),w,D);var re=(s,D,w)=>new Promise((Ae,se)=>{var Ce=j=>{try{Z(w.next(j))}catch(Y){se(Y)}},Fe=j=>{try{Z(w.throw(j))}catch(Y){se(Y)}},Z=j=>j.done?Ae(j.value):Promise.resolve(j.value).then(Ce,Fe);Z((w=w.apply(s,D)).next())});(function(s,D){typeof exports=="object"&&typeof module!="undefined"?D(exports):typeof define=="function"&&define.amd?define(["exports"],D):(s=typeof globalThis!="undefined"?globalThis:s||self,D(s.modelDrivenCore={}))})(this,function(s){"use strict";var D="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",w="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ae="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",se="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ce="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Fe="{caption}\u5FC5\u586B",Z="\u8BF7\u8F93\u5165\u6807\u9898",j="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Y="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",en="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",tn="\u8BF7\u7ED1\u5B9A\u8868\u5355",nn="\u8BF7\u7ED1\u5B9A\u5217\u8868",un="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",an="\u8BF7\u8F93\u5165\u663E\u793A\u503C",rn="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",sn="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",ln="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",on="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",cn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",dn="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fn="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",hn="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",mn="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",gn="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",yn="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",En="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",vn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Bn="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",An="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Cn="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Fn="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Dn="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",bn="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Sn="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",wn="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",In="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Rn="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Mn="\u8BF7\u9009\u62E9\u7701",Ln="\u8BF7\u9009\u62E9\u5E02",$n="\u8BF7\u9009\u62E9\u533A",qn="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Pn="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Vn="\u8BF7\u8F93\u5165\u5217\u5BBD",xn="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Nn="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",On="\u8BF7\u9009\u62E9\u63A7\u4EF6",_n="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",jn="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Un="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Hn="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Tn="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Wn="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Kn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",zn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Xn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Gn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Jn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Qn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yn="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pn="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",eu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",tu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",uu="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",au="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",iu={isNotNumber:D,isNotString:w,isNotObject:Ae,isNotArray:se,isNotBoolean:Ce,runtimeRequired:Fe,pleaseEnterCaption:Z,pleaseEnterCaptionTip:j,pleaseEnterPlaceholder:Y,pleaseEnterFieldCode:en,pleaseEnterForm:tn,pleaseEnterList:nn,pleaseEnterProcess:un,pleaseEnterLabel:an,pleaseEnterValue:rn,bizKeyNotBindFiled:sn,pleaseSelectOneField:ln,pleaseEnterNumberRange:on,pleaseEnterAValueGreaterThanMin:cn,pleaseEnterAValueLessThanMax:dn,numberRangeSetError:fn,stringRangeError:hn,attachmentMaxSize:mn,pleaseEnterTotalScoreSetting:gn,theTotalScoreMustNotBeLessThan1:yn,scoreDefaultValueRange:En,attachmentLimitError:vn,PleaseReselectTheOptionalQuantity:Bn,TheMaximumLengthIsGreaterThanTheMinimumLength:An,TheMinimumLengthIsGreaterThanTheMaximumLength:Cn,PleaseSelectTheCorrectOptionSettings:Fn,optionIdIsRepeat:Dn,optionIsRequired:bn,pleaseEnterDataCode:Sn,pleaseEnterValueFieldCode:wn,pleaseEnterSvcCode:In,pleaseBindAtLeastOneDisplayValue:Rn,pleaseSelectProvince:Mn,pleaseSelectCity:Ln,pleaseSelectDistrict:$n,limitRowsCannotBeLessThan0:qn,TheNumberOfRowsCannotBeLessThanMinRows:Pn,pleaseEnterColumnWidth:Vn,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xn,pleaseCompleteAllRulesAndConditions:Nn,pleaseSelectControl:On,pleaseSelectAtLeastOneColumn:_n,pleaseSelectFillBackMode:jn,pleaseSelectDashboard:Un,rootNodeIsRequired:Hn,theViewNameCannotBeEmpty:Tn,pleaseSelectOcrType:Wn,pleaseSelectAtLeastOneFieldToFillIn:Kn,pleaseChooseAtLeastOne:zn,pleaseEnterButtonContent:Xn,pleaseEnterDataCodeInDataSetting:kn,pleaseEnterValueFieldCodeInDataSetting:Gn,pleaseEnterSvcCodeInDataSetting:Jn,pleaseBindAtLeastOneDisplayValueInDataSetting:Qn,rootNodeIsRequiredInDataSetting:Zn,pleaseEnterMaxHeight:Yn,pleaseEnter:pn,pleaseEnterWatermark:eu,pleaseEnterFileName:tu,pleaseUploadAtLeastOnePrintTemplate:nu,pleaseAssignBusiness:uu,pleaseAssignExternal:au},ru="Please enter a number",su="Please enter a string",lu="Please enter an object",ou="Please enter an array",cu="Please enter a boolean",du="{caption} Required",fu="Please enter the title",hu="Please enter the bubble prompt",mu="Please enter the prompt text",gu="Please bind data items",yu="Please bind the form",Eu="Please bind the list",vu="Please bind the process",Bu="Please enter the displayed value",Au="Please enter the stored value",Cu="The document number is not bound to the data item",Fu="Please select at least one display field",Du="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}",Su="Please enter a value less than or equal to {max}",wu="The value range is set incorrectly",Iu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Ru="The attachment size must be between 0MB and 1000MB",Mu="Please fill in the total score setting",Lu="The total score cannot be less than 1",$u="The default value must be between {min} and {max}",qu="The number of attachments uploaded must be between {min} and {max}",Pu="Please re-select the optional quantity",Vu="The maximum length of the control must be greater than the minimum length",xu="The minimum length of the control must be less than the maximum length",Nu="Please select the correct option setting",Ou="Option ID cannot be repeated",_u="Please enter at least one option",ju="Please bind the data source",Uu="Please bind the stored value",Hu="Please bind the service",Tu="At least one display value must be bound",Wu="Please select a province",Ku="Please select a city",zu="Please select a district",Xu="The minimum number of lines to fill in cannot be less than 0",ku="The number of rows cannot be less than {min} rows",Gu="Please enter the column width",Ju="Please set the logical relationship of all rule conditions",Qu="Please complete all rules and conditions",Zu="please select control",Yu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",pu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ea="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ta="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",na="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ua="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",aa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ia="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ra="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",sa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",la="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",oa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ca="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",da="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",fa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ha="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ma="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ga="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ya={isNotNumber:ru,isNotString:su,isNotObject:lu,isNotArray:ou,isNotBoolean:cu,runtimeRequired:du,pleaseEnterCaption:fu,pleaseEnterCaptionTip:hu,pleaseEnterPlaceholder:mu,pleaseEnterFieldCode:gu,pleaseEnterForm:yu,pleaseEnterList:Eu,pleaseEnterProcess:vu,pleaseEnterLabel:Bu,pleaseEnterValue:Au,bizKeyNotBindFiled:Cu,pleaseSelectOneField:Fu,pleaseEnterNumberRange:Du,pleaseEnterAValueGreaterThanMin:bu,pleaseEnterAValueLessThanMax:Su,numberRangeSetError:wu,stringRangeError:Iu,attachmentMaxSize:Ru,pleaseEnterTotalScoreSetting:Mu,theTotalScoreMustNotBeLessThan1:Lu,scoreDefaultValueRange:$u,attachmentLimitError:qu,PleaseReselectTheOptionalQuantity:Pu,TheMaximumLengthIsGreaterThanTheMinimumLength:Vu,TheMinimumLengthIsGreaterThanTheMaximumLength:xu,PleaseSelectTheCorrectOptionSettings:Nu,optionIdIsRepeat:Ou,optionIsRequired:_u,pleaseEnterDataCode:ju,pleaseEnterValueFieldCode:Uu,pleaseEnterSvcCode:Hu,pleaseBindAtLeastOneDisplayValue:Tu,pleaseSelectProvince:Wu,pleaseSelectCity:Ku,pleaseSelectDistrict:zu,limitRowsCannotBeLessThan0:Xu,TheNumberOfRowsCannotBeLessThanMinRows:ku,pleaseEnterColumnWidth:Gu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ju,pleaseCompleteAllRulesAndConditions:Qu,pleaseSelectControl:Zu,pleaseSelectDashboard:Yu,theViewNameCannotBeEmpty:pu,pleaseSelectOcrType:ea,pleaseSelectAtLeastOneFieldToFillIn:ta,pleaseChooseAtLeastOne:na,pleaseEnterButtonContent:ua,pleaseEnterDataCodeInDataSetting:aa,pleaseEnterValueFieldCodeInDataSetting:ia,pleaseEnterSvcCodeInDataSetting:ra,pleaseBindAtLeastOneDisplayValueInDataSetting:sa,rootNodeIsRequiredInDataSetting:la,pleaseEnterMaxHeight:oa,pleaseEnter:ca,pleaseEnterWatermark:da,pleaseEnterFileName:fa,pleaseUploadAtLeastOnePrintTemplate:ha,pleaseAssignBusiness:ma,pleaseAssignExternal:ga},Ea="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",va="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ba="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Aa="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ca="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fa="{caption}\u5FC5\u9808",Da="\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",Sa="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wa="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ia="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ra="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ma="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",La="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$a="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qa="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Pa="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Va="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xa="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Na="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Oa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",_a="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ja="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ua="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ha="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ta="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wa="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ka="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",za="\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",Xa="\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",ka="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ga="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ja="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Qa="\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",Ya="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pa="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ei="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ti="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ni="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ui="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ai="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ii="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ri="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",si="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",li="please select control",oi="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ci="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",di="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",hi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",mi="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",gi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ei="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",vi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Bi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ai="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ci="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Fi="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Di="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bi="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Si="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wi="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ii={isNotNumber:Ea,isNotString:va,isNotObject:Ba,isNotArray:Aa,isNotBoolean:Ca,runtimeRequired:Fa,pleaseEnterCaption:Da,pleaseEnterCaptionTip:ba,pleaseEnterPlaceholder:Sa,pleaseEnterFieldCode:wa,pleaseEnterForm:Ia,pleaseEnterList:Ra,pleaseEnterProcess:Ma,pleaseEnterLabel:La,pleaseEnterValue:$a,bizKeyNotBindFiled:qa,pleaseSelectOneField:Pa,pleaseEnterNumberRange:Va,pleaseEnterAValueGreaterThanMin:xa,pleaseEnterAValueLessThanMax:Na,numberRangeSetError:Oa,stringRangeError:_a,attachmentMaxSize:ja,pleaseEnterTotalScoreSetting:Ua,theTotalScoreMustNotBeLessThan1:Ha,scoreDefaultValueRange:Ta,attachmentLimitError:Wa,PleaseReselectTheOptionalQuantity:Ka,TheMaximumLengthIsGreaterThanTheMinimumLength:za,TheMinimumLengthIsGreaterThanTheMaximumLength:Xa,PleaseSelectTheCorrectOptionSettings:ka,optionIdIsRepeat:Ga,optionIsRequired:Ja,pleaseEnterDataCode:Qa,pleaseEnterValueFieldCode:Za,pleaseEnterSvcCode:Ya,pleaseBindAtLeastOneDisplayValue:pa,pleaseSelectProvince:ei,pleaseSelectCity:ti,pleaseSelectDistrict:ni,limitRowsCannotBeLessThan0:ui,TheNumberOfRowsCannotBeLessThanMinRows:ai,pleaseEnterColumnWidth:ii,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ri,pleaseCompleteAllRulesAndConditions:si,pleaseSelectControl:li,pleaseSelectDashboard:oi,theViewNameCannotBeEmpty:ci,pleaseSelectOcrType:di,pleaseSelectAtLeastOneFieldToFillIn:fi,pleaseChooseAtLeastOne:hi,pleaseEnterButtonContent:mi,pleaseEnterDataCodeInDataSetting:gi,pleaseEnterValueFieldCodeInDataSetting:yi,pleaseEnterSvcCodeInDataSetting:Ei,pleaseBindAtLeastOneDisplayValueInDataSetting:vi,rootNodeIsRequiredInDataSetting:Bi,pleaseEnterMaxHeight:Ai,pleaseEnter:Ci,pleaseEnterWatermark:Fi,pleaseEnterFileName:Di,pleaseUploadAtLeastOnePrintTemplate:bi,pleaseAssignBusiness:Si,pleaseAssignExternal:wi},Ri={zhCN:iu,enUS:ya,jaJP:Ii},rt;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(rt||(rt={}));var st;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(st||(st={}));var Mi="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 lt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(lt||(lt={}));var ot="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Li=ot+"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?ot:Li,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function De(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 $i(t){if(Array.isArray(t))return De(t)}function qi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ct(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pi(){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 Pi()?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 dt(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 Vi(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function xi(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ni(){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 Oi(t,e){return e&&(_i(e)==="object"||typeof e=="function")?e:qi(t)}function ee(t,e){return ee=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ee(t,e)}function ft(t){return $i(t)||xi(t)||ji(t)||Ni()}var _i=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ji(t,e){if(!!t){if(typeof t=="string")return De(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 De(t,e)}}function be(t){var e=typeof Map=="function"?new Map:void 0;return be=function(u){if(u===null||!Vi(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)},be(t)}function Ui(){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 ht(t){var e=Ui();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 Oi(this,a)}}var Se=console;function we(){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=Se).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(ft(a)))}function mt(){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=Se).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(ft(a)))}function Hi(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Ie=function(t){dt(n,t);var e=ht(n);function n(u){ct(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?Hi(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(be(Error)),Ti=function(t){dt(n,t);var e=ht(n);function n(u){ct(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Ie);function Re(t){throw new Ie(t)}function gt(t){throw new Ti(t)}function Wi(t){Se.error(new Ie(t))}var Ki=Object.prototype.toString;function yt(t,e){return Ki.call(t)==="[object "+e+"]"}function zi(t){return yt(t,"String")}function Xi(t){return yt(t,"Promise")}var ki=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();Xi(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&&!zi(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 Gi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){Gi(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]:Mi;return new ki({locale:n,messages:Ri})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Ji(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)){we("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 Qi=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(l,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(l,h[S],M));else{E={};for(var A in h)Object.prototype.hasOwnProperty.call(h,A)&&(E[l(A,M)]=n(l,h[A],M))}return E},u=function(l,h){h=h||{};var M=h.separator||"_",E=h.split||/(?=[A-Z])/;return l.split(E).join(M)},a=function(l){return F(l)?l:(l=l.replace(/[\-_\s]+(.)?/g,function(h,M){return M?M.toUpperCase():""}),l.substr(0,1).toLowerCase()+l.substr(1))},i=function(l){var h=a(l);return h.substr(0,1).toUpperCase()+h.substr(1)},r=function(l,h){return u(l,h).toLowerCase()},o=Object.prototype.toString,d=function(l){return typeof l=="function"},c=function(l){return l===Object(l)},y=function(l){return o.call(l)=="[object Array]"},v=function(l){return o.call(l)=="[object Date]"},C=function(l){return o.call(l)=="[object RegExp]"},b=function(l){return o.call(l)=="[object Boolean]"},F=function(l){return l=l-0,l===l},m=function(l,h){var M=h&&"process"in h?h.process:h;return typeof M!="function"?l:function(E,S){return M(E,l,S)}},B={camelize:a,decamelize:r,pascalize:i,depascalize:r,camelizeKeys:function(l,h){return n(m(a,h),l)},decamelizeKeys:function(l,h){return n(m(r,h),l,h)},pascalizeKeys:function(l,h){return n(m(i,h),l)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=B:e.humps=B})(Qi)})(Zi);var Et={};Object.defineProperty(Et,"__esModule",{value:!0});function Me(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Me(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Me(u)}return e}}var Yi=Et.default=Me;function K(t){if(t!==void 0)return typeof t=="object"?Yi(t):t}function pi(t){return Object.prototype.toString.call(t)==="[object Object]"}function er(t){return Array.isArray(t)}function tr(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Le(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 nr(t){if(Array.isArray(t))return Le(t)}function vt(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 ur(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var i=t.apply(e,n);function r(d){vt(i,u,a,r,o,"next",d)}function o(d){vt(i,u,a,r,o,"throw",d)}r(void 0)})}}function ar(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ir(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function rr(){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 $e(t){return nr(t)||ir(t)||sr(t)||rr()}function sr(t,e){if(!!t){if(typeof t=="string")return Le(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 Le(t,e)}}var lr=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}}},or=function(){function t(){ar(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 ur(function(){var d,c,y,v,C,b,F,m,B,l,h,M;return lr(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&&mt.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($e(i))),[4,B.apply(null,$e(i))];case 4:return l=E.sent(),o.debug&&mt.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($e(i),[l])),c.push(l),l===!1?[3,7]:[3,6];case 5:return h=E.sent(),Wi(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 Bt=[];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__)&&Re(`${e} is can't register as a Control`);const a=this.staticControls.findIndex(i=>i.Designer.controlType===n.controlType);return a>-1&&(we(`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__||Re(`${e.name} is not a Control`);const n=this._controls.findIndex(u=>u.controlType===e.controlType);return n>-1&&(we(`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 Re(`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=Bt,oe.staticRegisteredTypes=new Set(Bt.map(t=>t.Designer.controlType)),oe.staticRegisteredConfigs=new Map;class x{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 qe{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 extends qe{constructor(e){var n,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(u=e==null?void 0:e.widthType)!=null?u:"auto"}}class cr{constructor(e){this.pc=new ce(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new ce(e==null?void 0:e.mobile):new ce({width:130,minWidth:180})}}class dr{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"firstThree",this.customOptions=(u=e==null?void 0:e.customOptions)!=null?u:[]}}class de{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 fr extends de{constructor(e){var n;super(e),this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class At{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class hr{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 At(r)))!=null?i:[]}}class Ct{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 Ft extends de{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 mr{constructor(e){var n,u,a,i;this.type="sublist-page",this.formBind=new de(e==null?void 0:e.formBind),this.displayFields=(u=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(r=>new Ct(r)))!=null?u:[],this.sublists=(i=(a=e==null?void 0:e.sublists)==null?void 0:a.map(r=>new Ft(r)))!=null?i:[]}}class Dt{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class Pe{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 fe{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 fe(r);(o=this.children)==null||o.push(c)}else{const c=new Ve(r);(d=this.children)==null||d.push(c)}}))}}class Ve{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 Dt(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Pe(e==null?void 0:e.rightVariableBo)}}class bt{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 xe{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 Ne{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class St{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 gr{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 Ne(c)))!=null?r:[],this.dataSet=(d=(o=e.dataSet)==null?void 0:o.map(c=>new St(c)))!=null?d:[]}}function Oe(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 fe(i):new Ve(i)))!=null?n:[],(this instanceof _e||this instanceof Mt)&&(this.orders=(a=(u=t==null?void 0:t.orders)==null?void 0:u.map(i=>new Ne(i)))!=null?a:[])}class _e{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 xe(o))})),this.showOrder=(i=e==null?void 0:e.showOrder)!=null?i:!0,this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",Oe.call(this,e)}}class wt{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 xe(r)))!=null?i:[]}}class It extends _e{constructor(e){var n,u;super(e),this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new wt(a)))!=null?u:[]}}class yr extends It{constructor(e){super(e),this.rootNode=new Pe(e==null?void 0:e.rootNode)}}class Rt{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 bt(r)))!=null?i:[]}}class Mt extends Rt{constructor(e){super(e),Oe.call(this,e)}}class Er extends Rt{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 vr{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 Br{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 je{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 Lt extends je{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 Ar(t){var e;return(e=t==null?void 0:t.map(n=>new je(n)))!=null?e:[]}function Cr(t){var e;return(e=t==null?void 0:t.map(n=>new Lt(n)))!=null?e:[]}class he{}class Fr extends he{constructor(e){super(),this.amount=new x(e==null?void 0:e.amount),this.currency=new x(e==null?void 0:e.currency)}}class Dr{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:Ue.CNY}}class br extends he{constructor(e){super(),this.min=new x(e==null?void 0:e.min),this.max=new x(e==null?void 0:e.max)}}class Sr{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 wr{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 Ir extends he{constructor(e){super(),this.result=new x(e==null?void 0:e.result),this.unit=new x(e==null?void 0:e.unit)}}class Rr{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 Ue=(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))(Ue||{}),$t=(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))($t||{}),He=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(He||{});class Mr{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 Lr{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 At(r)))!=null?i:[],Oe.call(this,e)}}class $r{constructor(e){var n,u;this.key=(n=e.key)!=null?n:W(8),this.caption=(u=e.caption)!=null?u:""}}class qt{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 me{constructor(e){this.isHide={type:"boolean"}}}class Te extends Array{constructor(e){super()}}class U{constructor(e,n=""){var u,a;this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.style=new qt(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}U.Rules=me,U.RuntimeRules=Te;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 qr(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function We(t){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(t)}function ge(t,e){return ge=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ge(t,e)}function Pr(){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 ye(t,e,n){return Pr()?ye=Reflect.construct:ye=function(a,i,r){var o=[null];o.push.apply(o,i);var d=Function.bind.apply(a,o),c=new d;return r&&ge(c,r.prototype),c},ye.apply(null,arguments)}function Vr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ke(t){var e=typeof Map=="function"?new Map:void 0;return Ke=function(u){if(u===null||!Vr(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 ye(u,arguments,We(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ge(a,u)},Ke(t)}var xr=/%[sdj%]/g,Pt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Pt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function ze(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 V(){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(xr,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 Nr(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||Nr(e)&&typeof t=="string"&&!t)}function Or(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 Vt(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 _r(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var xt=function(t){qr(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}(Ke(Error));function jr(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 xt(B,ze(B))):v()},F=_r(t);Vt(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 xt(c,ze(c))):v()};r.length||(u(c),v()),r.forEach(function(F){var m=t[F];i.indexOf(F)!==-1?Vt(m,n,b):Or(m,n,b)})});return y.catch(function(v){return v}),y}function Nt(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 Ot(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 _t(t,e,n,u,a,i){t.required&&(!n.hasOwnProperty(t.field)||I(e,i||t.type))&&u.push(V(a.messages.required,t.fullField))}function Ur(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(V(a.messages.whitespace,t.fullField))}var Xe={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(Xe.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Xe.url)},hex:function(e){return typeof e=="string"&&!!e.match(Xe.hex)}};function Hr(t,e,n,u,a){if(t.required&&e===void 0){_t(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(V(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(V(a.messages.types[r],t.fullField,t.type))}function Tr(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(V(a.messages[y].len,t.fullField,t.len)):r&&!o&&c<t.min?u.push(V(a.messages[y].min,t.fullField,t.min)):o&&!r&&c>t.max?u.push(V(a.messages[y].max,t.fullField,t.max)):r&&o&&(c<t.min||c>t.max)&&u.push(V(a.messages[y].range,t.fullField,t.min,t.max))}var k="enum";function Wr(t,e,n,u,a){t[k]=Array.isArray(t[k])?t[k]:[],t[k].indexOf(e)===-1&&u.push(V(a.messages[k],t.fullField,t[k].join(", ")))}function Kr(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(V(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(V(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var g={required:_t,whitespace:Ur,type:Hr,range:Tr,enum:Wr,pattern:Kr};function zr(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 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.type(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(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 Gr(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 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),e!==void 0&&(g.type(t,e,u,i,a),g.range(t,e,u,i,a))}n(i)}function Zr(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 Yr(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 pr(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 es="enum";function ts(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[es](t,e,u,i,a)}n(i)}function ns(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 us(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 as(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 is(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:zr,method:Xr,number:kr,boolean:Gr,regexp:Jr,integer:Qr,float:Zr,array:Yr,object:pr,enum:ts,pattern:ns,date:us,url:ke,hex:ke,email:ke,required:as,any:is};function Ge(){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 Je=Ge();function H(t){this.rules=null,this._messages=Je,this.define(t)}H.prototype={messages:function(e){return e&&(this._messages=Ot(Ge(),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,l=[],h={};function M(E){if(Array.isArray(E)){var S;l=(S=l).concat.apply(S,E)}else l.push(E)}for(B=0;B<m.length;B++)M(m[B]);l.length?h=ze(l):(l=null,h=null),o(l,h)}if(r.messages){var c=this.messages();c===Je&&(c=Ge()),Ot(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 l=B;typeof l.transform=="function"&&(i===e&&(i=N({},i)),v=i[m]=l.transform(v)),typeof l=="function"?l={validator:l}:l=N({},l),l.validator=a.getValidationMethod(l),l.field=m,l.fullField=l.fullField||m,l.type=a.getType(l),l.validator&&(C[m]=C[m]||[],C[m].push({rule:l,value:v,source:i,field:m}))})});var F={};return jr(C,r,function(m,B){var l=m.rule,h=(l.type==="object"||l.type==="array")&&(typeof l.fields=="object"||typeof l.defaultField=="object");h=h&&(l.required||!l.required&&m.value),l.field=m.field;function M(O,A){return N(N({},A),{},{fullField:l.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&&l.message!==void 0&&(A=[].concat(l.message)),A=A.map(Nt(l)),r.first&&A.length)return F[l.field]=1,B(A);if(!h)B(A);else{if(l.required&&!m.value)return l.message!==void 0?A=[].concat(l.message).map(Nt(l)):r.error&&(A=[r.error(l,V(r.messages.required,l.field))]),B(A);var _={};if(l.defaultField)for(var Qt in m.value)m.value.hasOwnProperty(Qt)&&(_[Qt]=l.defaultField);_=N(N({},_),m.rule.fields);for(var G in _)if(_.hasOwnProperty(G)){var Bs=Array.isArray(_[G])?_[G]:[_[G]];_[G]=Bs.map(M.bind(null,G))}var Zt=new H(_);Zt.messages(r.messages),m.rule.options&&(m.rule.options.messages=r.messages,m.rule.options.error=r.error),Zt.validate(m.value,m.rule.options||r,function(at){var J=[];A&&A.length&&J.push.apply(J,A),at&&at.length&&J.push.apply(J,at),B(J.length?J:null)})}}var S;l.asyncValidator?S=l.asyncValidator(l,m.value,E,m.source,r):l.validator&&(S=l.validator(l,m.value,E,m.source,r),S===!0?E():S===!1?E(l.message||l.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(V("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=Pt,H.messages=Je,H.validators=ne;const rs={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 jt(t,e={}){const n=new H(t);return n.messages(Object.assign(rs,e)),n}const Ut=new or;class q{constructor(e){var y,v,C,b;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Tt,this.removeSetting=Ht,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||gt(`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 U(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 Ut.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),Ji(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=jt(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=Ht,q.updateSettingItem=Tt;function Ht(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 Tt(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||gt(`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 U(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:He.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 Qe(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=tr(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 ss(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 Ze extends me{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 x)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 Wt extends Te{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 U{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 x(e==null?void 0:e.dataBind),this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:""}}ue.Rules=Ze,ue.RuntimeRules=Wt;class ls extends Ze{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")}],Qe.call(this,e)}}class Kt extends q{constructor(e){super(e),this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}Kt.controlEventKeys=["on_change","on_focus","on_blur"];class os extends T{constructor(e){super(e),this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}class ae extends U{constructor(e){super(e)}}function zt(t,e){var n;(n=Object.getOwnPropertyDescriptors(t)[e])!=null&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Ye(t,e){t.parent=e,zt(t,"parent")}function Xt(t,e){t.forEach(n=>{Ye(n,e)})}const kt=Symbol("targetKey");function Gt(t){var e;return(e=t[kt])!=null?e:t}function Jt(t,e){return Xt(t,e),new Proxy(t,{get(n,u,...a){return u===kt?n:Reflect.get(n,u,...a)},set(n,u,a,...i){if(er(t)&&u==="length"&&a===t.length)return!0;const r=Reflect.set(n,u,a,...i);return pi(a)&&Ye(a,e),r}})}function ie(t,e,n,u){const a=u!=null?u:t;let i=Jt(Gt(n!=null?n:[]),a);Object.defineProperty(t,e,{get(){return i},set(r){i=Jt(Gt(r),a)},enumerable:!0})}const cs=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 it(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 Be(Q({},e),{children:n})}}z.excludes=!1,z.childrenMaxLength=cs;class pe 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 et extends U{constructor(e,n){super(n),ie(this,"headers",n==null?void 0:n.headers,e)}}class Ee extends q{constructor(e){super(e),this.controlType="list",this.props=new et(this,e==null?void 0:e.props)}validate(e,n){return re(this,null,function*(){return yield it(Ee.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 Be(Q({},e),{props:Be(Q({},this.props),{headers:n})})}}Ee.controlFieldType=R.LIST;class ds extends T{constructor(e){super(e),this.controlType="list",this.props=new et(this,e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}get length(){return this.children.length}}class tt extends me{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 ve extends U{constructor(e){var n,u,a,i,r;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 qe(e==null?void 0:e.autoWidth),this.dataBind=new x(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,this.autoHeight=(r=e==null?void 0:e.autoHeight)!=null?r:!1}}ve.Rules=tt;class fs extends tt{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")}],Qe.call(this,e)}}class hs extends q{constructor(e){super(e),this.controlType="column",this.props=new ve(e==null?void 0:e.props)}}class ms extends T{constructor(e){super(e),this.controlType="column",this.props=new ve(e==null?void 0:e.props)}}class nt extends ae{constructor(e){super(e),this.dataBind=new x(e==null?void 0:e.dataBind)}}class gs extends z{constructor(e){super(e),this.controlType="search",this.props=new nt(e==null?void 0:e.props)}}class ys extends pe{constructor(e){super(e),this.controlType="search",this.props=new nt(e==null?void 0:e.props)}}class ut extends ae{constructor(e){super(e)}}class Es extends z{constructor(e){super(e),this.controlType="wrap",this.props=new ut(e==null?void 0:e.props)}}class vs extends pe{constructor(e){super(e),this.controlType="wrap",this.props=new ut(e==null?void 0:e.props)}}s.AMOUNT_TYPE=Ue,s.AddressValue=wr,s.AmountDataBind=Fr,s.AmountValue=Dr,s.AutoWidth=qe,s.BaseControlProperty=ue,s.BaseControlPropertyRules=Ze,s.BaseControlPropertyRuntimeRules=Wt,s.BaseStyle=qt,s.COMMON_SETTING_TYPE=$t,s.CalcDataBind=Ir,s.CalcValue=Rr,s.ColumnControlProperty=ve,s.ColumnControlPropertyRules=tt,s.ColumnOptionAndDataSourcePropertyRules=fs,s.CustomAttributeItem=wt,s.CustomPermissionItem=$r,s.DataBind=x,s.DataSourceBind=_e,s.DataSourceDataSetValue=St,s.DataSourceOrderItem=Ne,s.DataSourceParamItem=gr,s.DataStorageDoc=dr,s.DesignerColumnControl=hs,s.DesignerControl=q,s.DesignerFormControl=Kt,s.DesignerLayoutControl=z,s.DesignerListControl=Ee,s.DesignerSearchControl=gs,s.DesignerWrapControl=Es,s.DisplayBoListItem=xe,s.FieldBindItem=Ct,s.FieldFilterCondition=Ve,s.FieldFilterConditions=fe,s.FillBackBind=Er,s.FillPayloadBind=Mt,s.FormBind=de,s.FormSelectBind=fr,s.ImageOptionSetting=Lt,s.Language=vr,s.LayoutControlProperty=ae,s.LeftVariable=Dt,s.ListBind=hr,s.ListControlProperty=et,s.MetaAutoWidth=cr,s.MetaWidth=ce,s.MultistageFillingItem=bt,s.ObjectDataBind=he,s.OperationItem=Mr,s.OptionAndDataSourcePropertyRules=ls,s.OptionSetting=je,s.PAGE_STATUS=He,s.Property=U,s.PropertyRules=me,s.PropertyRuntimeRules=Te,s.RangeDataBind=br,s.RangeDateValue=Sr,s.RegisterControls=oe,s.RegularRules=Br,s.RightVariable=Pe,s.RuntimeColumnControl=ms,s.RuntimeControl=T,s.RuntimeFormControl=os,s.RuntimeLayoutControl=pe,s.RuntimeListControl=ds,s.RuntimeSearchControl=ys,s.RuntimeWrapControl=vs,s.SearchControlProperty=nt,s.SubListItem=Ft,s.SubListPageConfig=mr,s.SuperDataSourceBind=It,s.TreeDataSourceBind=yr,s.ViewOperationItem=Lr,s.WrapControlProperty=ut,s.controlHooksEmitter=Ut,s.createValidator=jt,s.defineArrayParent=Xt,s.defineControlArrayToProperty=ie,s.defineParent=Ye,s.initImageOptions=Cr,s.initOptionAndDataSourceRules=Qe,s.initOptions=Ar,s.initSuperDataSourceRules=ss,s.setPropertyDontEnum=zt,Object.defineProperty(s,"__esModule",{value:!0})});
@@ -0,0 +1,4 @@
1
+ export * from './framework/index';
2
+ export { default as BaseControlProperty } from './common/BaseControl/property';
3
+ export { default as ColumnControlProperty } from './common/ColumnControl/property';
4
+ export { default as FormControlProperty } from './common/FormControl/property';
@@ -6,17 +6,56 @@ declare class ColumnControlPropertyRules extends PropertyRules {
6
6
  width: RuleItem;
7
7
  constructor(props: ColumnControlProperty);
8
8
  }
9
+ /**
10
+ * 列基本属性
11
+ * @public
12
+ */
9
13
  declare class ColumnControlProperty extends Property {
10
14
  static readonly Rules: typeof ColumnControlPropertyRules;
15
+ /**
16
+ * 宽度类型
17
+ * @defaultValue 'auto'
18
+ */
11
19
  widthType: 'px' | 'auto' | 'percent';
20
+ /**
21
+ * 宽度
22
+ * @defaultValue 150
23
+ */
12
24
  width: number;
25
+ /**
26
+ * 标题
27
+ */
13
28
  caption: string;
29
+ /**
30
+ * 绑定数据项
31
+ */
14
32
  dataBind: DataBind;
33
+ /**
34
+ * 自适应页面宽度
35
+ */
15
36
  autoWidth: AutoWidth;
37
+ /**
38
+ * 冻结
39
+ * @defaultValue 'none'
40
+ */
16
41
  fixed: 'left' | 'right' | 'none';
42
+ /**
43
+ * 表头排序
44
+ * @defaultValue true
45
+ */
17
46
  sort: boolean;
47
+ /**
48
+ * 对齐
49
+ */
18
50
  align?: 'left' | 'right';
51
+ /**
52
+ * @internal
53
+ */
19
54
  colSpan?: string;
55
+ /**
56
+ * 自动高度
57
+ * @defaultValue false
58
+ */
20
59
  autoHeight: boolean;
21
60
  constructor(props?: Partial<ColumnControlProperty>);
22
61
  }
@@ -17,16 +17,68 @@ declare class BaseControlPropertyRuntimeRules extends PropertyRuntimeRules {
17
17
  declare class BaseControlProperty extends Property {
18
18
  static readonly Rules: typeof BaseControlPropertyRules;
19
19
  static readonly RuntimeRules: typeof BaseControlPropertyRuntimeRules;
20
+ /**
21
+ * 标题
22
+ * @defaultValue ''
23
+ * @public
24
+ */
20
25
  caption: string;
26
+ /**
27
+ * 隐藏标题
28
+ * @defaultValue false
29
+ * @public
30
+ */
21
31
  isHideCaption: boolean;
32
+ /**
33
+ * 显示气泡提示
34
+ * @defaultValue false
35
+ * @public
36
+ */
22
37
  isShowCaptionTip: boolean;
38
+ /**
39
+ * 气泡提示语
40
+ * @defaultValue ''
41
+ * @public
42
+ */
23
43
  captionTip: string;
44
+ /**
45
+ * 标题布局
46
+ * @defaultValue ''
47
+ * @public
48
+ */
24
49
  labelPosition: 'top' | 'left';
50
+ /**
51
+ * 绑定数据项
52
+ * @public
53
+ */
25
54
  dataBind: DataBind | ObjectDataBind;
55
+ /**
56
+ * 默认值
57
+ * @public
58
+ */
26
59
  defaultValue: string | number | string[] | number[] | unknown;
60
+ /**
61
+ * 提示文字
62
+ * @defaultValue ''
63
+ * @public
64
+ */
27
65
  placeholder: string;
66
+ /**
67
+ * 默认状态
68
+ * @defaultValue 'default'
69
+ * @public
70
+ */
28
71
  defaultState: 'default' | 'readonly';
72
+ /**
73
+ * 必填
74
+ * @defaultValue false
75
+ * @public
76
+ */
29
77
  required: boolean;
78
+ /**
79
+ * 必填提示文案
80
+ * @defaultValue ''
81
+ */
30
82
  requiredMessage: string;
31
83
  constructor(props?: Partial<BaseControlProperty>);
32
84
  }
@@ -7,7 +7,7 @@ declare const messages: {
7
7
  range: string;
8
8
  };
9
9
  };
10
- declare type Messages = Partial<typeof messages>;
10
+ type Messages = Partial<typeof messages>;
11
11
  declare function createValidator(rules: Rules, newMessages?: Messages): Schema & {
12
12
  messages: (messages: Messages) => Messages;
13
13
  };
@@ -1,4 +1,4 @@
1
1
  import { Watcher } from '@byteluck-fe/model-driven-shared';
2
- declare type EmitterKeys = 'preInstance' | 'postInstance' | 'preUpdateProps' | 'postUpdateProps' | 'preValidate' | 'preToSchema';
2
+ type EmitterKeys = 'preInstance' | 'postInstance' | 'preUpdateProps' | 'postUpdateProps' | 'preValidate' | 'preToSchema';
3
3
  declare const controlHooksEmitter: Watcher<EmitterKeys>;
4
4
  export { controlHooksEmitter };