@byteluck-fe/model-driven-core 1.3.0-beta.29 → 1.5.0-beta.1

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/index.umd.js CHANGED
@@ -1 +1 @@
1
- var Cs=Object.defineProperty,Fs=Object.defineProperties;var Ds=Object.getOwnPropertyDescriptors;var mn=Object.getOwnPropertySymbols,bs=Object.getPrototypeOf,ws=Object.prototype.hasOwnProperty,Ss=Object.prototype.propertyIsEnumerable,Is=Reflect.get;var gn=(o,L,P)=>L in o?Cs(o,L,{enumerable:!0,configurable:!0,writable:!0,value:P}):o[L]=P,se=(o,L)=>{for(var P in L||(L={}))ws.call(L,P)&&gn(o,P,L[P]);if(mn)for(var P of mn(L))Ss.call(L,P)&&gn(o,P,L[P]);return o},Pe=(o,L)=>Fs(o,Ds(L));var At=(o,L,P)=>Is(bs(o),P,L);var Ce=(o,L,P)=>new Promise((Ne,Fe)=>{var Ve=Z=>{try{oe(P.next(Z))}catch(le){Fe(le)}},Oe=Z=>{try{oe(P.throw(Z))}catch(le){Fe(le)}},oe=Z=>Z.done?Ne(Z.value):Promise.resolve(Z.value).then(Ve,Oe);oe((P=P.apply(o,L)).next())});(function(o,L){typeof exports=="object"&&typeof module!="undefined"?L(exports):typeof define=="function"&&define.amd?define(["exports"],L):(o=typeof globalThis!="undefined"?globalThis:o||self,L(o.modelDrivenCore={}))})(this,function(o){"use strict";var L="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",P="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ne="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Fe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Ve="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Oe="{caption}\u5FC5\u586B",oe="\u8BF7\u8F93\u5165\u6807\u9898",Z="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",le="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",yn="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",En="\u8BF7\u7ED1\u5B9A\u8868\u5355",vn="\u8BF7\u7ED1\u5B9A\u5217\u8868",Bn="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",An="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Cn="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Fn="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Dn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",wn="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Sn="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",In="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E{min}\u4E14\u5C0F\u4E8E{max}\u7684\u503C",Rn="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Mn="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ln="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",$n="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",qn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Pn="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Nn="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Vn="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",On="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",_n="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",jn="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Un="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Tn="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",xn="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Hn="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Wn="\u8BF7\u9009\u62E9\u7701",Kn="\u8BF7\u9009\u62E9\u5E02",kn="\u8BF7\u9009\u62E9\u533A",Gn="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",zn="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Xn="\u8BF7\u8F93\u5165\u5217\u5BBD",Jn="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Qn="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Zn="\u8BF7\u9009\u62E9\u63A7\u4EF6",Yn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",pn="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",eu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",tu="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",nu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",uu="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",au="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ru="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",iu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",su="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ou="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",lu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",cu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",du="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",hu="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",mu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",gu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",yu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Eu={isNotNumber:L,isNotString:P,isNotObject:Ne,isNotArray:Fe,isNotBoolean:Ve,runtimeRequired:Oe,pleaseEnterCaption:oe,pleaseEnterCaptionTip:Z,pleaseEnterPlaceholder:le,pleaseEnterFieldCode:yn,pleaseEnterForm:En,pleaseEnterList:vn,pleaseEnterProcess:Bn,pleaseEnterLabel:An,pleaseEnterValue:Cn,bizKeyNotBindFiled:Fn,pleaseEnterNumberRange:Dn,pleaseEnterAValueGreaterThanMin:bn,pleaseEnterAValueLessThanMax:wn,numberRangeSetError:Sn,stringRangeError:In,attachmentMaxSize:Rn,pleaseEnterTotalScoreSetting:Mn,theTotalScoreMustNotBeLessThan1:Ln,scoreDefaultValueRange:$n,attachmentLimitError:qn,PleaseReselectTheOptionalQuantity:Pn,TheMaximumLengthIsGreaterThanTheMinimumLength:Nn,TheMinimumLengthIsGreaterThanTheMaximumLength:Vn,PleaseSelectTheCorrectOptionSettings:On,optionIdIsRepeat:_n,optionIsRequired:jn,pleaseEnterDataCode:Un,pleaseEnterValueFieldCode:Tn,pleaseEnterSvcCode:xn,pleaseBindAtLeastOneDisplayValue:Hn,pleaseSelectProvince:Wn,pleaseSelectCity:Kn,pleaseSelectDistrict:kn,limitRowsCannotBeLessThan0:Gn,TheNumberOfRowsCannotBeLessThanMinRows:zn,pleaseEnterColumnWidth:Xn,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Jn,pleaseCompleteAllRulesAndConditions:Qn,pleaseSelectControl:Zn,pleaseSelectAtLeastOneColumn:Yn,pleaseSelectFillBackMode:pn,pleaseSelectDashboard:eu,rootNodeIsRequired:tu,theViewNameCannotBeEmpty:nu,pleaseSelectOcrType:uu,pleaseSelectAtLeastOneFieldToFillIn:au,pleaseChooseAtLeastOne:ru,pleaseEnterButtonContent:iu,pleaseEnterDataCodeInDataSetting:su,pleaseEnterValueFieldCodeInDataSetting:ou,pleaseEnterSvcCodeInDataSetting:lu,pleaseBindAtLeastOneDisplayValueInDataSetting:cu,rootNodeIsRequiredInDataSetting:fu,pleaseEnterMaxHeight:du,pleaseEnter:hu,pleaseEnterWatermark:mu,pleaseEnterFileName:gu,pleaseUploadAtLeastOnePrintTemplate:yu},vu="Please enter a number",Bu="Please enter a string",Au="Please enter an object",Cu="Please enter an array",Fu="Please enter a boolean",Du="{caption} Required",bu="Please enter the title",wu="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Su="Please enter the prompt text",Iu="Please bind data items",Ru="Please bind the form",Mu="Please bind the list",Lu="Please bind the process",$u="Please enter the displayed value",qu="Please enter the stored value",Pu="The document number is not bound to the data item",Nu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Vu="Please enter a value greater than or equal to {min}",Ou="Please enter a value less than or equal to {max}",_u="The value range is set incorrectly",ju="Please enter a value longer than {min} and less than {max}",Uu="The attachment size must be between 0MB and 1000MB",Tu="Please fill in the total score setting",xu="The total score cannot be less than 1",Hu="The default value must be between {min} and {max}",Wu="The number of attachments uploaded must be between {min} and {max}",Ku="Please re-select the optional quantity",ku="The maximum length of the control must be greater than the minimum length",Gu="The minimum length of the control must be less than the maximum length",zu="Please select the correct option setting",Xu="Option ID cannot be repeated",Ju="Please enter at least one option",Qu="Please bind the data source",Zu="Please bind the stored value",Yu="Please bind the service",pu="At least one display value must be bound",ea="Please select a province",ta="Please select a city",na="Please select a district",ua="The minimum number of lines to fill in cannot be less than 0",aa="The number of rows cannot be less than {min} rows",ra="Please enter the column width",ia="Please set the logical relationship of all rule conditions",sa="Please complete all rules and conditions",oa="please select control",la="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ca="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fa="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",da="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ha="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ma="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ga="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ya="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ea="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",va="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ba="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Aa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ca="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Fa="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Da="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ba="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",wa={isNotNumber:vu,isNotString:Bu,isNotObject:Au,isNotArray:Cu,isNotBoolean:Fu,runtimeRequired:Du,pleaseEnterCaption:bu,pleaseEnterCaptionTip:wu,pleaseEnterPlaceholder:Su,pleaseEnterFieldCode:Iu,pleaseEnterForm:Ru,pleaseEnterList:Mu,pleaseEnterProcess:Lu,pleaseEnterLabel:$u,pleaseEnterValue:qu,bizKeyNotBindFiled:Pu,pleaseEnterNumberRange:Nu,pleaseEnterAValueGreaterThanMin:Vu,pleaseEnterAValueLessThanMax:Ou,numberRangeSetError:_u,stringRangeError:ju,attachmentMaxSize:Uu,pleaseEnterTotalScoreSetting:Tu,theTotalScoreMustNotBeLessThan1:xu,scoreDefaultValueRange:Hu,attachmentLimitError:Wu,PleaseReselectTheOptionalQuantity:Ku,TheMaximumLengthIsGreaterThanTheMinimumLength:ku,TheMinimumLengthIsGreaterThanTheMaximumLength:Gu,PleaseSelectTheCorrectOptionSettings:zu,optionIdIsRepeat:Xu,optionIsRequired:Ju,pleaseEnterDataCode:Qu,pleaseEnterValueFieldCode:Zu,pleaseEnterSvcCode:Yu,pleaseBindAtLeastOneDisplayValue:pu,pleaseSelectProvince:ea,pleaseSelectCity:ta,pleaseSelectDistrict:na,limitRowsCannotBeLessThan0:ua,TheNumberOfRowsCannotBeLessThanMinRows:aa,pleaseEnterColumnWidth:ra,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ia,pleaseCompleteAllRulesAndConditions:sa,pleaseSelectControl:oa,pleaseSelectDashboard:la,theViewNameCannotBeEmpty:ca,pleaseSelectOcrType:fa,pleaseSelectAtLeastOneFieldToFillIn:da,pleaseChooseAtLeastOne:ha,pleaseEnterButtonContent:ma,pleaseEnterDataCodeInDataSetting:ga,pleaseEnterValueFieldCodeInDataSetting:ya,pleaseEnterSvcCodeInDataSetting:Ea,pleaseBindAtLeastOneDisplayValueInDataSetting:va,rootNodeIsRequiredInDataSetting:Ba,pleaseEnterMaxHeight:Aa,pleaseEnter:Ca,pleaseEnterWatermark:Fa,pleaseEnterFileName:Da,pleaseUploadAtLeastOnePrintTemplate:ba},Sa="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ia="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ra="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ma="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",La="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$a="{caption}\u5FC5\u9808",qa="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pa="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Na="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Va="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Oa="\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",ja="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ua="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ta="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xa="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ha="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wa="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ka="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ga="\u6587\u5B57\u6570{min}\u3088\u308A\u5927\u304D\u304F\u3001{max}\u3088\u308A\u5C0F\u3055\u3044\u6570\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",za="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Xa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ja="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qa="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Za="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ya="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pa="\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",er="\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",tr="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nr="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ur="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ar="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rr="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ir="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sr="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",or="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lr="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cr="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fr="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",dr="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hr="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mr="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",gr="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",yr="please select control",Er="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",vr="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Br="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ar="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Cr="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fr="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Dr="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",br="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",wr="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Sr="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ir="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Rr="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Mr="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Lr="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",$r="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",qr="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Pr={isNotNumber:Sa,isNotString:Ia,isNotObject:Ra,isNotArray:Ma,isNotBoolean:La,runtimeRequired:$a,pleaseEnterCaption:qa,pleaseEnterCaptionTip:Pa,pleaseEnterPlaceholder:Na,pleaseEnterFieldCode:Va,pleaseEnterForm:Oa,pleaseEnterList:_a,pleaseEnterProcess:ja,pleaseEnterLabel:Ua,pleaseEnterValue:Ta,bizKeyNotBindFiled:xa,pleaseEnterNumberRange:Ha,pleaseEnterAValueGreaterThanMin:Wa,pleaseEnterAValueLessThanMax:Ka,numberRangeSetError:ka,stringRangeError:Ga,attachmentMaxSize:za,pleaseEnterTotalScoreSetting:Xa,theTotalScoreMustNotBeLessThan1:Ja,scoreDefaultValueRange:Qa,attachmentLimitError:Za,PleaseReselectTheOptionalQuantity:Ya,TheMaximumLengthIsGreaterThanTheMinimumLength:pa,TheMinimumLengthIsGreaterThanTheMaximumLength:er,PleaseSelectTheCorrectOptionSettings:tr,optionIdIsRepeat:nr,optionIsRequired:ur,pleaseEnterDataCode:ar,pleaseEnterValueFieldCode:rr,pleaseEnterSvcCode:ir,pleaseBindAtLeastOneDisplayValue:sr,pleaseSelectProvince:or,pleaseSelectCity:lr,pleaseSelectDistrict:cr,limitRowsCannotBeLessThan0:fr,TheNumberOfRowsCannotBeLessThanMinRows:dr,pleaseEnterColumnWidth:hr,pleaseSetTheLogicalRelationshipOfAllRuleConditions:mr,pleaseCompleteAllRulesAndConditions:gr,pleaseSelectControl:yr,pleaseSelectDashboard:Er,theViewNameCannotBeEmpty:vr,pleaseSelectOcrType:Br,pleaseSelectAtLeastOneFieldToFillIn:Ar,pleaseChooseAtLeastOne:Cr,pleaseEnterButtonContent:Fr,pleaseEnterDataCodeInDataSetting:Dr,pleaseEnterValueFieldCodeInDataSetting:br,pleaseEnterSvcCodeInDataSetting:wr,pleaseBindAtLeastOneDisplayValueInDataSetting:Sr,rootNodeIsRequiredInDataSetting:Ir,pleaseEnterMaxHeight:Rr,pleaseEnter:Mr,pleaseEnterWatermark:Lr,pleaseEnterFileName:$r,pleaseUploadAtLeastOnePrintTemplate:qr},Nr={zhCN:Eu,enUS:wa,jaJP:Pr},Ct;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Ct||(Ct={}));var Ft;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ft||(Ft={}));var Vr="zh-CN";function K(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var re;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(re||(re={}));var _;(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"})(_||(_={}));var V;(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"})(V||(V={}));var j;j={},K(j,V.ARRAY,_.ARRAY_COLUMN),K(j,V.AUTO_NUMBER,_.AUTO_NUMBER_COLUMN),K(j,V.DECIMAL,_.DECIMAL_COLUMN),K(j,V.DEPARTMENTS,_.DEPARTMENT_COLUMN),K(j,V.FILE,_.FILE_COLUMN),K(j,V.IMAGE,_.IMAGE_COLUMN),K(j,V.ADDRESS,_.LOCATION_COLUMN),K(j,V.EMPLOYEES,_.EMPLOYEE_COLUMN),K(j,V.TEXT,_.TEXT_COLUMN),K(j,V.TIMESCOPE,_.TIMESCOPE_COLUMN),K(j,V.TIMESTAMP,_.TIMESTAMP_COLUMN),K(j,V.VARCHAR,_.VARCHAR_COLUMN),K(j,V.RELATION,_.VARCHAR_COLUMN);var Dt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Dt||(Dt={}));var bt="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Or=bt+"0123456789";function te(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?bt:Or,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function _e(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 _r(t){if(Array.isArray(t))return _e(t)}function jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ur(){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 De(t,e,n){return Ur()?De=Reflect.construct:De=function(a,r,i){var c=[null];c.push.apply(c,r);var g=Function.bind.apply(a,c),h=new g;return i&&fe(h,i.prototype),h},De.apply(null,arguments)}function ce(t){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ce(t)}function St(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&&fe(t,e)}function Tr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function xr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Hr(){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 Wr(t,e){return e&&(Kr(e)==="object"||typeof e=="function")?e:jr(t)}function fe(t,e){return fe=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},fe(t,e)}function It(t){return _r(t)||xr(t)||kr(t)||Hr()}var Kr=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function kr(t,e){if(!!t){if(typeof t=="string")return _e(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 _e(t,e)}}function je(t){var e=typeof Map=="function"?new Map:void 0;return je=function(u){if(u===null||!Tr(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 De(u,arguments,ce(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),fe(a,u)},je(t)}function Gr(){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 Rt(t){var e=Gr();return function(){var u=ce(t),a;if(e){var r=ce(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Wr(this,a)}}var Ue=console;function Te(){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=Ue).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(It(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=Ue).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(It(a)))}function zr(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xe=function(t){St(n,t);var e=Rt(n);function n(u){wt(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?zr(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(je(Error)),Xr=function(t){St(n,t);var e=Rt(n);function n(u){wt(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(xe);function He(t){throw new xe(t)}function Lt(t){throw new Xr(t)}function Jr(t){Ue.error(new xe(t))}var Qr=Object.prototype.toString;function $t(t,e){return Qr.call(t)==="[object "+e+"]"}function Zr(t){return $t(t,"String")}function Yr(t){return $t(t,"Promise")}var pr=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();Yr(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,r,i,c){if(a!==void 0){var g=a[r];if(!(i===c.length-1&&!Zr(g)))return g}},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 r=n[a];return r!==void 0?String(r):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 ei(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var B=function(){function t(){ei(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]:Vr;return new pr({locale:n,messages:Nr})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();B.$i18n=B.resetI18n();function ti(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,i){return"."+i}).split("."),a=!1;return u.reduce(function(r,i,c,g){var h=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,i)){Te("Can not set ".concat(e,"'s ").concat(i," property in current %o, Because there is no ").concat(i," property on the %o"),r,r);return}return c===g.length-1&&!Object.is(h[i],n)&&(h[i]=n,a=!0),h[i]}},t),a}var ni=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ui={exports:{}};(function(t){(function(e){var n=function(s,y,$){if(!h(y)||D(y)||w(y)||I(y)||g(y))return y;var m,M=0,T=0;if(A(y))for(m=[],T=y.length;M<T;M++)m.push(n(s,y[M],$));else{m={};for(var b in y)Object.prototype.hasOwnProperty.call(y,b)&&(m[s(b,$)]=n(s,y[b],$))}return m},u=function(s,y){y=y||{};var $=y.separator||"_",m=y.split||/(?=[A-Z])/;return s.split(m).join($)},a=function(s){return R(s)?s:(s=s.replace(/[\-_\s]+(.)?/g,function(y,$){return $?$.toUpperCase():""}),s.substr(0,1).toLowerCase()+s.substr(1))},r=function(s){var y=a(s);return y.substr(0,1).toUpperCase()+y.substr(1)},i=function(s,y){return u(s,y).toLowerCase()},c=Object.prototype.toString,g=function(s){return typeof s=="function"},h=function(s){return s===Object(s)},A=function(s){return c.call(s)=="[object Array]"},D=function(s){return c.call(s)=="[object Date]"},w=function(s){return c.call(s)=="[object RegExp]"},I=function(s){return c.call(s)=="[object Boolean]"},R=function(s){return s=s-0,s===s},E=function(s,y){var $=y&&"process"in y?y.process:y;return typeof $!="function"?s:function(m,M){return $(m,s,M)}},S={camelize:a,decamelize:i,pascalize:r,depascalize:i,camelizeKeys:function(s,y){return n(E(a,y),s)},decamelizeKeys:function(s,y){return n(E(i,y),s,y)},pascalizeKeys:function(s,y){return n(E(r,y),s)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(ni)})(ui);function ne(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function ai(t){return Object.prototype.toString.call(t)==="[object Object]"}function ri(t){return Array.isArray(t)}function ii(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}var qt={exports:{}};(function(t){var e=function(n){var u=Object.prototype,a=u.hasOwnProperty,r,i=typeof Symbol=="function"?Symbol:{},c=i.iterator||"@@iterator",g=i.asyncIterator||"@@asyncIterator",h=i.toStringTag||"@@toStringTag";function A(f,l,d){return Object.defineProperty(f,l,{value:d,enumerable:!0,configurable:!0,writable:!0}),f[l]}try{A({},"")}catch(f){A=function(l,d,C){return l[d]=C}}function D(f,l,d,C){var v=l&&l.prototype instanceof y?l:y,q=Object.create(v.prototype),x=new Et(C||[]);return q._invoke=yt(f,d,x),q}n.wrap=D;function w(f,l,d){try{return{type:"normal",arg:f.call(l,d)}}catch(C){return{type:"throw",arg:C}}}var I="suspendedStart",R="suspendedYield",E="executing",S="completed",s={};function y(){}function $(){}function m(){}var M={};A(M,c,function(){return this});var T=Object.getPrototypeOf,b=T&&T(T(vt([])));b&&b!==u&&a.call(b,c)&&(M=b);var O=m.prototype=y.prototype=Object.create(M);$.prototype=m,A(O,"constructor",m),A(m,"constructor",$),$.displayName=A(m,h,"GeneratorFunction");function Ee(f){["next","throw","return"].forEach(function(l){A(f,l,function(d){return this._invoke(l,d)})})}n.isGeneratorFunction=function(f){var l=typeof f=="function"&&f.constructor;return l?l===$||(l.displayName||l.name)==="GeneratorFunction":!1},n.mark=function(f){return Object.setPrototypeOf?Object.setPrototypeOf(f,m):(f.__proto__=m,A(f,h,"GeneratorFunction")),f.prototype=Object.create(O),f},n.awrap=function(f){return{__await:f}};function X(f,l){function d(q,x,H,G){var W=w(f[q],f,x);if(W.type==="throw")G(W.arg);else{var Bt=W.arg,Ae=Bt.value;return Ae&&typeof Ae=="object"&&a.call(Ae,"__await")?l.resolve(Ae.__await).then(function(ae){d("next",ae,H,G)},function(ae){d("throw",ae,H,G)}):l.resolve(Ae).then(function(ae){Bt.value=ae,H(Bt)},function(ae){return d("throw",ae,H,G)})}}var C;function v(q,x){function H(){return new l(function(G,W){d(q,x,G,W)})}return C=C?C.then(H,H):H()}this._invoke=v}Ee(X.prototype),A(X.prototype,g,function(){return this}),n.AsyncIterator=X,n.async=function(f,l,d,C,v){v===void 0&&(v=Promise);var q=new X(D(f,l,d,C),v);return n.isGeneratorFunction(l)?q:q.next().then(function(x){return x.done?x.value:q.next()})};function yt(f,l,d){var C=I;return function(q,x){if(C===E)throw new Error("Generator is already running");if(C===S){if(q==="throw")throw x;return hn()}for(d.method=q,d.arg=x;;){var H=d.delegate;if(H){var G=ve(H,d);if(G){if(G===s)continue;return G}}if(d.method==="next")d.sent=d._sent=d.arg;else if(d.method==="throw"){if(C===I)throw C=S,d.arg;d.dispatchException(d.arg)}else d.method==="return"&&d.abrupt("return",d.arg);C=E;var W=w(f,l,d);if(W.type==="normal"){if(C=d.done?S:R,W.arg===s)continue;return{value:W.arg,done:d.done}}else W.type==="throw"&&(C=S,d.method="throw",d.arg=W.arg)}}}function ve(f,l){var d=f.iterator[l.method];if(d===r){if(l.delegate=null,l.method==="throw"){if(f.iterator.return&&(l.method="return",l.arg=r,ve(f,l),l.method==="throw"))return s;l.method="throw",l.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var C=w(d,f.iterator,l.arg);if(C.type==="throw")return l.method="throw",l.arg=C.arg,l.delegate=null,s;var v=C.arg;if(!v)return l.method="throw",l.arg=new TypeError("iterator result is not an object"),l.delegate=null,s;if(v.done)l[f.resultName]=v.value,l.next=f.nextLoc,l.method!=="return"&&(l.method="next",l.arg=r);else return v;return l.delegate=null,s}Ee(O),A(O,h,"Generator"),A(O,c,function(){return this}),A(O,"toString",function(){return"[object Generator]"});function Be(f){var l={tryLoc:f[0]};1 in f&&(l.catchLoc=f[1]),2 in f&&(l.finallyLoc=f[2],l.afterLoc=f[3]),this.tryEntries.push(l)}function Q(f){var l=f.completion||{};l.type="normal",delete l.arg,f.completion=l}function Et(f){this.tryEntries=[{tryLoc:"root"}],f.forEach(Be,this),this.reset(!0)}n.keys=function(f){var l=[];for(var d in f)l.push(d);return l.reverse(),function C(){for(;l.length;){var v=l.pop();if(v in f)return C.value=v,C.done=!1,C}return C.done=!0,C}};function vt(f){if(f){var l=f[c];if(l)return l.call(f);if(typeof f.next=="function")return f;if(!isNaN(f.length)){var d=-1,C=function v(){for(;++d<f.length;)if(a.call(f,d))return v.value=f[d],v.done=!1,v;return v.value=r,v.done=!0,v};return C.next=C}}return{next:hn}}n.values=vt;function hn(){return{value:r,done:!0}}return Et.prototype={constructor:Et,reset:function(f){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(Q),!f)for(var l in this)l.charAt(0)==="t"&&a.call(this,l)&&!isNaN(+l.slice(1))&&(this[l]=r)},stop:function(){this.done=!0;var f=this.tryEntries[0],l=f.completion;if(l.type==="throw")throw l.arg;return this.rval},dispatchException:function(f){if(this.done)throw f;var l=this;function d(G,W){return q.type="throw",q.arg=f,l.next=G,W&&(l.method="next",l.arg=r),!!W}for(var C=this.tryEntries.length-1;C>=0;--C){var v=this.tryEntries[C],q=v.completion;if(v.tryLoc==="root")return d("end");if(v.tryLoc<=this.prev){var x=a.call(v,"catchLoc"),H=a.call(v,"finallyLoc");if(x&&H){if(this.prev<v.catchLoc)return d(v.catchLoc,!0);if(this.prev<v.finallyLoc)return d(v.finallyLoc)}else if(x){if(this.prev<v.catchLoc)return d(v.catchLoc,!0)}else if(H){if(this.prev<v.finallyLoc)return d(v.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(f,l){for(var d=this.tryEntries.length-1;d>=0;--d){var C=this.tryEntries[d];if(C.tryLoc<=this.prev&&a.call(C,"finallyLoc")&&this.prev<C.finallyLoc){var v=C;break}}v&&(f==="break"||f==="continue")&&v.tryLoc<=l&&l<=v.finallyLoc&&(v=null);var q=v?v.completion:{};return q.type=f,q.arg=l,v?(this.method="next",this.next=v.finallyLoc,s):this.complete(q)},complete:function(f,l){if(f.type==="throw")throw f.arg;return f.type==="break"||f.type==="continue"?this.next=f.arg:f.type==="return"?(this.rval=this.arg=f.arg,this.method="return",this.next="end"):f.type==="normal"&&l&&(this.next=l),s},finish:function(f){for(var l=this.tryEntries.length-1;l>=0;--l){var d=this.tryEntries[l];if(d.finallyLoc===f)return this.complete(d.completion,d.afterLoc),Q(d),s}},catch:function(f){for(var l=this.tryEntries.length-1;l>=0;--l){var d=this.tryEntries[l];if(d.tryLoc===f){var C=d.completion;if(C.type==="throw"){var v=C.arg;Q(d)}return v}}throw new Error("illegal catch attempt")},delegateYield:function(f,l,d){return this.delegate={iterator:vt(f),resultName:l,nextLoc:d},this.method==="next"&&(this.arg=r),s}},n}(t.exports);try{regeneratorRuntime=e}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(qt);var Pt=qt.exports;function We(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function si(t){if(Array.isArray(t))return We(t)}function Nt(t,e,n,u,a,r,i){try{var c=t[r](i),g=c.value}catch(h){n(h);return}c.done?e(g):Promise.resolve(g).then(u,a)}function oi(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function i(g){Nt(r,u,a,i,c,"next",g)}function c(g){Nt(r,u,a,i,c,"throw",g)}i(void 0)})}}function li(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ci(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function fi(){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 Ke(t){return si(t)||ci(t)||di(t)||fi()}function di(t,e){if(!!t){if(typeof t=="string")return We(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 We(t,e)}}var hi=function(){function t(){li(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(u){for(var a=arguments.length,r=new Array(a>1?a-1:0),i=1;i<a;i++)r[i-1]=arguments[i];var c=this;return oi(Pt.mark(function g(){var h,A,D,w,I,R,E,S,s,y;return Pt.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:if(h=c._events.get(u),A=[],!h){m.next=42;break}D=h.slice(),w=!0,I=!1,R=void 0,m.prev=5,E=D[Symbol.iterator]();case 7:if(w=(S=E.next()).done){m.next=28;break}if(s=S.value,h.includes(s)){m.next=11;break}return m.abrupt("continue",25);case 11:return m.prev=11,c.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(r.map(function(){return"%o"}).join(","),"\u3002")].concat(Ke(r))),m.next=15,s.apply(null,Ke(r));case 15:if(y=m.sent,c.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(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Ke(r),[y])),A.push(y),y!==!1){m.next=20;break}return m.abrupt("break",28);case 20:m.next=25;break;case 22:m.prev=22,m.t0=m.catch(11),Jr(String(m.t0));case 25:w=!0,m.next=7;break;case 28:m.next=34;break;case 30:m.prev=30,m.t1=m.catch(5),I=!0,R=m.t1;case 34:m.prev=34,m.prev=35,!w&&E.return!=null&&E.return();case 37:if(m.prev=37,!I){m.next=40;break}throw R;case 40:return m.finish(37);case 41:return m.finish(34);case 42:return m.abrupt("return",A);case 43:case"end":return m.stop()}},g,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()},e.on=function(u,a){if(this._events.has(u)){var r;(r=this._events.get(u))===null||r===void 0||r.push(a)}else this._events.set(u,[a])},e.off=function(u,a){if(this._events.has(u)){var r=this._events.get(u),i=r==null?void 0:r.indexOf(a);r==null||r.splice(i,1)}},e.delete=function(u){this._events.has(u)&&this._events.delete(u)},e.clear=function(){this._events=new Map},t}();const Vt=[];class be{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__)&&He(`${e} is can't register as a Control`);const a=this.staticControls.findIndex(r=>r.Designer.controlType===n.controlType);return a>-1&&(Te(`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__||He(`${e.name} is not a Control`);const n=this._controls.findIndex(u=>u.controlType===e.controlType);return n>-1&&(Te(`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===re.LAYOUT}isFormControl(e){return e.controlType===re.FORM}isListControl(e){return e.controlType===re.LIST}isColumnControl(e){return e.controlType===re.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 i=n(a);i&&(a=i)}return new u(a)}else He(`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])})}}be.staticControls=Vt,be.staticRegisteredTypes=new Set(Vt.map(t=>t.Designer.controlType)),be.staticRegisteredConfigs=new Map;class z{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 we{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 mi extends we{constructor(e){var n;super(e),this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class Ot{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class gi{constructor(e){var n,u,a,r;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.headers=(r=(a=e==null?void 0:e.headers)==null?void 0:a.map(i=>new Ot(i)))!=null?r:[]}}class _t{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:V.VARCHAR}}class jt extends we{constructor(e){var n,u,a,r;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=(r=e==null?void 0:e.filters)!=null?r:[]}}class yi{constructor(e){var n,u,a,r;this.type="sublist-page",this.formBind=new we(e==null?void 0:e.formBind),this.displayFields=(u=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(i=>new _t(i)))!=null?u:[],this.sublists=(r=(a=e==null?void 0:e.sublists)==null?void 0:a.map(i=>new jt(i)))!=null?r:[]}}class Ut{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class ke{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 Se{constructor(e){var n,u,a,r;this.type="conditions",this.id=(n=e==null?void 0:e.id)!=null?n:te(),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=(r=e==null?void 0:e.value)!=null?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(i=>{var c,g;if(i.children!==void 0){const h=new Se(i);(c=this.children)==null||c.push(h)}else{const h=new Ge(i);(g=this.children)==null||g.push(h)}}))}}class Ge{constructor(e){var n,u,a,r,i;this.type="condition",this.id=(n=e==null?void 0:e.id)!=null?n:te(),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=(r=e==null?void 0:e.checked)!=null?r:!1,this.describe=(i=e==null?void 0:e.describe)!=null?i:"",this.leftVariableBo=new Ut(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ke(e==null?void 0:e.rightVariableBo)}}class Tt{constructor(e){var n,u,a,r;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=(r=e==null?void 0:e.propName)!=null?r:""}}class ze{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 Xe{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class xt{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:V.ANY}}class Ei{constructor(e){var n,u,a,r,i,c,g;this.id=(n=e.id)!=null?n:"",this.limit=(u=e.limit)!=null?u:20,this.formKey=(a=e.formKey)!=null?a:"",this.orders=(i=(r=e.orders)==null?void 0:r.map(h=>new Xe(h)))!=null?i:[],this.dataSet=(g=(c=e.dataSet)==null?void 0:c.map(h=>new xt(h)))!=null?g:[]}}function Je(t){var e,n,u,a;this.filters=(n=(e=t==null?void 0:t.filters)==null?void 0:e.map(r=>r.children!==void 0?new Se(r):new Ge(r)))!=null?n:[],(this instanceof Qe||this instanceof kt)&&(this.orders=(a=(u=t==null?void 0:t.orders)==null?void 0:u.map(r=>new Xe(r)))!=null?a:[])}class Qe{constructor(e){var n,u,a,r,i;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(c=>{var g;(g=this.displayBoList)==null||g.push(new ze(c))})),this.showOrder=(r=e==null?void 0:e.showOrder)!=null?r:!0,this.svcCode=(i=e==null?void 0:e.svcCode)!=null?i:"",Je.call(this,e)}}class Ht{constructor(e){var n,u,a,r;this.name=(n=e==null?void 0:e.name)!=null?n:"",this.key=(u=e==null?void 0:e.key)!=null?u:"",this.value=(r=(a=e==null?void 0:e.value)==null?void 0:a.map(i=>new ze(i)))!=null?r:[]}}class Wt extends Qe{constructor(e){var n,u;super(e),this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new Ht(a)))!=null?u:[]}}class vi extends Wt{constructor(e){super(e),this.rootNode=new ke(e==null?void 0:e.rootNode)}}class Kt{constructor(e){var n,u,a,r;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.fillList=(r=(a=e==null?void 0:e.fillList)==null?void 0:a.map(i=>new Tt(i)))!=null?r:[]}}class kt extends Kt{constructor(e){super(e),Je.call(this,e)}}class Bi extends Kt{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 Ai{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 Ci{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 Ze{constructor(e){var n,u,a;this.id=(n=e==null?void 0:e.id)!=null?n:te(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 Gt extends Ze{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 Fi(t){var e;return(e=t==null?void 0:t.map(n=>new Ze(n)))!=null?e:[]}function Di(t){var e;return(e=t==null?void 0:t.map(n=>new Gt(n)))!=null?e:[]}class Ie{}class bi extends Ie{constructor(e){super(),this.amount=new z(e==null?void 0:e.amount),this.currency=new z(e==null?void 0:e.currency)}}class wi{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:Ye.CNY}}class Si extends Ie{constructor(e){super(),this.min=new z(e==null?void 0:e.min),this.max=new z(e==null?void 0:e.max)}}class Ii{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 Ri{constructor(e){var n,u,a,r,i,c;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=(r=e==null?void 0:e.districtDisplay)!=null?r:"",this.province=(i=e==null?void 0:e.province)!=null?i:"",this.provinceDisplay=(c=e==null?void 0:e.provinceDisplay)!=null?c:""}}class Mi extends Ie{constructor(e){super(),this.result=new z(e==null?void 0:e.result),this.unit=new z(e==null?void 0:e.unit)}}class Li{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 Ye=(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))(Ye||{}),zt=(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))(zt||{}),pe=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(pe||{});class $i{constructor(e){var n,u,a,r,i,c;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=(r=e==null?void 0:e.openType)!=null?r:"modal",this.type=(i=e==null?void 0:e.type)!=null?i:"",this.priorityProcess=(c=e==null?void 0:e.priorityProcess)!=null?c:!1}}class qi{constructor(e){var n,u,a,r;this.id=(n=e==null?void 0:e.id)!=null?n:te(8),this.title=(u=e==null?void 0:e.title)!=null?u:"",this.headers=(r=(a=e==null?void 0:e.headers)==null?void 0:a.map(i=>new Ot(i)))!=null?r:[],Je.call(this,e)}}class Pi{constructor(e){var n,u;this.key=(n=e.key)!=null?n:te(8),this.caption=(u=e.caption)!=null?u:""}}class Xt{constructor(e){var n,u,a,r;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=(r=e==null?void 0:e.heightConfig)!=null?r:"fill"}}class Re{constructor(e){this.isHide={type:"boolean"}}}class et extends Array{constructor(e){super()}}class Y{constructor(e,n=""){var u,a;this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.style=new Xt(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}Y.Rules=Re,Y.RuntimeRules=et;function J(){return J=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},J.apply(this,arguments)}function Ni(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function tt(t){return tt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},tt(t)}function Me(t,e){return Me=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Me(t,e)}function Vi(){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 Vi()?Le=Reflect.construct:Le=function(a,r,i){var c=[null];c.push.apply(c,r);var g=Function.bind.apply(a,c),h=new g;return i&&Me(h,i.prototype),h},Le.apply(null,arguments)}function Oi(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function nt(t){var e=typeof Map=="function"?new Map:void 0;return nt=function(u){if(u===null||!Oi(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,tt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Me(a,u)},nt(t)}var _i=/%[sdj%]/g,Jt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Jt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function ut(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 k(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var i=String(a).replace(_i,function(c){if(c==="%%")return"%";if(u>=r)return c;switch(c){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(g){return"[Circular]"}break;default:return c}});return i}return a}function ji(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function N(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||ji(e)&&typeof t=="string"&&!t)}function Ui(t,e,n){var u=[],a=0,r=t.length;function i(c){u.push.apply(u,c),a++,a===r&&n(u)}t.forEach(function(c){e(c,i)})}function Qt(t,e,n){var u=0,a=t.length;function r(i){if(i&&i.length){n(i);return}var c=u;u=u+1,c<a?e(t[c],r):n([])}r([])}function Ti(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Zt=function(t){Ni(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}(nt(Error));function xi(t,e,n,u){if(e.first){var a=new Promise(function(D,w){var I=function(S){return u(S),S.length?w(new Zt(S,ut(S))):D()},R=Ti(t);Qt(R,n,I)});return a.catch(function(D){return D}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var i=Object.keys(t),c=i.length,g=0,h=[],A=new Promise(function(D,w){var I=function(E){if(h.push.apply(h,E),g++,g===c)return u(h),h.length?w(new Zt(h,ut(h))):D()};i.length||(u(h),D()),i.forEach(function(R){var E=t[R];r.indexOf(R)!==-1?Qt(E,n,I):Ui(E,n,I)})});return A.catch(function(D){return D}),A}function Yt(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 pt(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]=J(J({},t[n]),u):t[n]=u}}return t}function en(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||N(e,r||t.type))&&u.push(k(a.messages.required,t.fullField))}function Hi(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(k(a.messages.whitespace,t.fullField))}var at={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},de={integer:function(e){return de.number(e)&&parseInt(e,10)===e},float:function(e){return de.number(e)&&!de.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"&&!de.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(at.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(at.url)},hex:function(e){return typeof e=="string"&&!!e.match(at.hex)}};function Wi(t,e,n,u,a){if(t.required&&e===void 0){en(t,e,n,u,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],i=t.type;r.indexOf(i)>-1?de[i](e)||u.push(k(a.messages.types[i],t.fullField,t.type)):i&&typeof e!==t.type&&u.push(k(a.messages.types[i],t.fullField,t.type))}function Ki(t,e,n,u,a){var r=typeof t.len=="number",i=typeof t.min=="number",c=typeof t.max=="number",g=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,h=e,A=null,D=typeof e=="number",w=typeof e=="string",I=Array.isArray(e);if(D?A="number":w?A="string":I&&(A="array"),!A)return!1;I&&(h=e.length),w&&(h=e.replace(g,"_").length),r?h!==t.len&&u.push(k(a.messages[A].len,t.fullField,t.len)):i&&!c&&h<t.min?u.push(k(a.messages[A].min,t.fullField,t.min)):c&&!i&&h>t.max?u.push(k(a.messages[A].max,t.fullField,t.max)):i&&c&&(h<t.min||h>t.max)&&u.push(k(a.messages[A].range,t.fullField,t.min,t.max))}var ie="enum";function ki(t,e,n,u,a){t[ie]=Array.isArray(t[ie])?t[ie]:[],t[ie].indexOf(e)===-1&&u.push(k(a.messages[ie],t.fullField,t[ie].join(", ")))}function Gi(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(k(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||u.push(k(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var F={required:en,whitespace:Hi,type:Wi,range:Ki,enum:ki,pattern:Gi};function zi(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e,"string")&&!t.required)return n();F.required(t,e,u,r,a,"string"),N(e,"string")||(F.type(t,e,u,r,a),F.range(t,e,u,r,a),F.pattern(t,e,u,r,a),t.whitespace===!0&&F.whitespace(t,e,u,r,a))}n(r)}function Xi(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e)&&!t.required)return n();F.required(t,e,u,r,a),e!==void 0&&F.type(t,e,u,r,a)}n(r)}function Ji(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(e===""&&(e=void 0),N(e)&&!t.required)return n();F.required(t,e,u,r,a),e!==void 0&&(F.type(t,e,u,r,a),F.range(t,e,u,r,a))}n(r)}function Qi(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e)&&!t.required)return n();F.required(t,e,u,r,a),e!==void 0&&F.type(t,e,u,r,a)}n(r)}function Zi(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e)&&!t.required)return n();F.required(t,e,u,r,a),N(e)||F.type(t,e,u,r,a)}n(r)}function Yi(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e)&&!t.required)return n();F.required(t,e,u,r,a),e!==void 0&&(F.type(t,e,u,r,a),F.range(t,e,u,r,a))}n(r)}function pi(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e)&&!t.required)return n();F.required(t,e,u,r,a),e!==void 0&&(F.type(t,e,u,r,a),F.range(t,e,u,r,a))}n(r)}function es(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(e==null&&!t.required)return n();F.required(t,e,u,r,a,"array"),e!=null&&(F.type(t,e,u,r,a),F.range(t,e,u,r,a))}n(r)}function ts(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e)&&!t.required)return n();F.required(t,e,u,r,a),e!==void 0&&F.type(t,e,u,r,a)}n(r)}var ns="enum";function us(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e)&&!t.required)return n();F.required(t,e,u,r,a),e!==void 0&&F[ns](t,e,u,r,a)}n(r)}function as(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e,"string")&&!t.required)return n();F.required(t,e,u,r,a),N(e,"string")||F.pattern(t,e,u,r,a)}n(r)}function rs(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e,"date")&&!t.required)return n();if(F.required(t,e,u,r,a),!N(e,"date")){var c;e instanceof Date?c=e:c=new Date(e),F.type(t,c,u,r,a),c&&F.range(t,c.getTime(),u,r,a)}}n(r)}function is(t,e,n,u,a){var r=[],i=Array.isArray(e)?"array":typeof e;F.required(t,e,u,r,a,i),n(r)}function rt(t,e,n,u,a){var r=t.type,i=[],c=t.required||!t.required&&u.hasOwnProperty(t.field);if(c){if(N(e,r)&&!t.required)return n();F.required(t,e,u,i,a,r),N(e,r)||F.type(t,e,u,i,a)}n(i)}function ss(t,e,n,u,a){var r=[],i=t.required||!t.required&&u.hasOwnProperty(t.field);if(i){if(N(e)&&!t.required)return n();F.required(t,e,u,r,a)}n(r)}var he={string:zi,method:Xi,number:Ji,boolean:Qi,regexp:Zi,integer:Yi,float:pi,array:es,object:ts,enum:us,pattern:as,date:rs,url:rt,hex:rt,email:rt,required:is,any:ss};function it(){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 st=it();function p(t){this.rules=null,this._messages=st,this.define(t)}p.prototype={messages:function(e){return e&&(this._messages=pt(it(),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 r=e,i=n,c=u;if(typeof i=="function"&&(c=i,i={}),!this.rules||Object.keys(this.rules).length===0)return c&&c(),Promise.resolve();function g(E){var S,s=[],y={};function $(m){if(Array.isArray(m)){var M;s=(M=s).concat.apply(M,m)}else s.push(m)}for(S=0;S<E.length;S++)$(E[S]);s.length?y=ut(s):(s=null,y=null),c(s,y)}if(i.messages){var h=this.messages();h===st&&(h=it()),pt(h,i.messages),i.messages=h}else i.messages=this.messages();var A,D,w={},I=i.keys||Object.keys(this.rules);I.forEach(function(E){A=a.rules[E],D=r[E],A.forEach(function(S){var s=S;typeof s.transform=="function"&&(r===e&&(r=J({},r)),D=r[E]=s.transform(D)),typeof s=="function"?s={validator:s}:s=J({},s),s.validator=a.getValidationMethod(s),s.field=E,s.fullField=s.fullField||E,s.type=a.getType(s),s.validator&&(w[E]=w[E]||[],w[E].push({rule:s,value:D,source:r,field:E}))})});var R={};return xi(w,i,function(E,S){var s=E.rule,y=(s.type==="object"||s.type==="array")&&(typeof s.fields=="object"||typeof s.defaultField=="object");y=y&&(s.required||!s.required&&E.value),s.field=E.field;function $(T,b){return J(J({},b),{},{fullField:s.fullField+"."+T})}function m(T){T===void 0&&(T=[]);var b=T;if(Array.isArray(b)||(b=[b]),!i.suppressWarning&&b.length&&p.warning("async-validator:",b),b.length&&s.message!==void 0&&(b=[].concat(s.message)),b=b.map(Yt(s)),i.first&&b.length)return R[s.field]=1,S(b);if(!y)S(b);else{if(s.required&&!E.value)return s.message!==void 0?b=[].concat(s.message).map(Yt(s)):i.error&&(b=[i.error(s,k(i.messages.required,s.field))]),S(b);var O={};if(s.defaultField)for(var Ee in E.value)E.value.hasOwnProperty(Ee)&&(O[Ee]=s.defaultField);O=J(J({},O),E.rule.fields);for(var X in O)if(O.hasOwnProperty(X)){var yt=Array.isArray(O[X])?O[X]:[O[X]];O[X]=yt.map($.bind(null,X))}var ve=new p(O);ve.messages(i.messages),E.rule.options&&(E.rule.options.messages=i.messages,E.rule.options.error=i.error),ve.validate(E.value,E.rule.options||i,function(Be){var Q=[];b&&b.length&&Q.push.apply(Q,b),Be&&Be.length&&Q.push.apply(Q,Be),S(Q.length?Q:null)})}}var M;s.asyncValidator?M=s.asyncValidator(s,E.value,m,E.source,i):s.validator&&(M=s.validator(s,E.value,m,E.source,i),M===!0?m():M===!1?m(s.message||s.field+" fails"):M instanceof Array?m(M):M instanceof Error&&m(M.message)),M&&M.then&&M.then(function(){return m()},function(T){return m(T)})},function(E){g(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!he.hasOwnProperty(e.type))throw new Error(k("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"?he.required:he[this.getType(e)]||!1}},p.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");he[e]=n},p.warning=Jt,p.messages=st,p.validators=he;const os={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 tn(t,e={}){const n=new p(t);return n.messages(Object.assign(os,e)),n}const nn=new hi;class U{constructor(e){var A,D,w,I;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=an,this.removeSetting=un,this._callControlHooks("preInstance",e);const{controlName:n,controlIcon:u,controlType:a,controlFieldType:r,controlEventKeys:i,controlCustomEvents:c,name:g,setting:h}=new.target;n&&u&&a||Lt(`The ${g} controlName,controlIcon,controlType is not define`),this.id=(A=e==null?void 0:e.id)!=null?A:te(10),this.name=n,this.icon=u,this.type=(D=e==null?void 0:e.type)!=null?D:a,this.props=new Y(e==null?void 0:e.props,new.target.controlName),this.controlType=(w=e==null?void 0:e.controlType)!=null?w:"base",this.setting=ne(h),this.fieldType=(I=e==null?void 0:e.fieldType)!=null?I:r,this.eventKeys=ne(i),this.customEvents=ne(c),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 nn.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),ti(this.props,e,n),this.postUpdate(e,n)}preValidate(){return Ce(this,null,function*(){const e=se({},this.rules),n=yield this._callControlHooks("preValidate",e),u=n[n.length-1];return u===!1?void 0:u})}validate(e,n){return Ce(this,null,function*(){const u=yield this.preValidate(),a=u!==void 0?u:se({},this.rules);Array.isArray(n)&&n.forEach(i=>{a.hasOwnProperty(i)&&delete a[i]});const r=tn(a,e);try{return yield r.validate(this.props),!0}catch(i){throw i.control||(i.control=this),i}})}toDataBindModel(e=null){const n=this.fieldType,u=this.id,a=this.type,{dataBind:r,datasourceBind:i,optionConfig:c,caption:g,required:h,maxLength:A,options:D,encrypted:w,encryptedMode:I}=this.props;if(!n&&!r&&!i)return;const R={parentId:e,fieldType:n,controlId:u,caption:g,type:a,props:{}};switch(r&&(R.dataBind=r),c){case"datasource":case void 0:i&&(R.datasourceBind=i);break;case"custom":R.props.options=D;break}return h!==void 0&&(R.required=h),A!==void 0&&(R.maxLength=A),w!==void 0&&(R.encrypted=w),I!==void 0&&(R.encryptedMode=I),R}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:ne(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)}}U.controlName="\u63A7\u4EF6",U.controlIcon="icon",U.controlType="control",U.controlEventKeys=[],U.controlCustomEvents=[],U.setting=[],U.__is_control__=!0,U.removeSettingItem=un,U.updateSettingItem=an;function un(t){(Array.isArray(t)?t:[t]).forEach(n=>{var r,i;const u=typeof n!="string",a=this.setting.findIndex(c=>c.key===(u?n.key:n));a!==-1&&(u?this.setting[a].showItems=(r=this.setting[a].showItems)==null?void 0:r.filter(c=>!n.hideItems.includes(c)):this.setting.splice(a,1),u&&!((i=this.setting[a].showItems)!=null&&i.length)&&this.setting.splice(a,1))})}function an(t,e){(typeof t=="string"?[t]:t).forEach(u=>{var r;const a=this.setting.find(i=>i.key===u);a&&(typeof e=="boolean"?a.visible=e:typeof e=="object"&&(((r=e.type)!=null?r:"replace")==="replace"?a.showItems=e.showItems:a.showItems.push(...e.showItems)))})}class ee{constructor(e){var i,c,g,h,A;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:u,name:a,controlCustomEvents:r}=new.target;n||Lt(`The ${a} controlType is not define`),this.id=(i=e==null?void 0:e.id)!=null?i:te(10),this.type=(c=e==null?void 0:e.type)!=null?c:n,this.props=new Y(e==null?void 0:e.props),this.customEvents=r,this.controlType=(g=e==null?void 0:e.controlType)!=null?g:"base",this.fieldType=(h=e==null?void 0:e.fieldType)!=null?h:u,this.pageStatus=(A=e==null?void 0:e.pageStatus)!=null?A:pe.UNKNOWN}get rules(){const e=this.props.constructor.RuntimeRules;if(e){const n=new e(this.props);return Array.from(n)}return[]}}ee.controlType="control",ee.__is_control__=!0,ee.controlCustomEvents=[];function ot(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:B.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:B.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:B.getMessage("pleaseEnterValue")}}}},{type:"array",validator(e,n,u){n.length===0&&u(B.getMessage("optionIsRequired")),u()}},{type:"array",validator(e,n,u){const a=n.map(i=>i.value),r=ii(a);a.length!==r.length?u(B.getMessage("optionIdIsRepeat")):u()},message:B.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:B.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:B.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:B.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:B.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:B.getMessage("isNotArray")},{type:"array",validator(e,n,u){n.length===0&&u(B.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:B.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:B.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:B.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:B.getMessage("isNotBoolean")}}}}]}}])}function ls(t,e,n=!1){this.datasourceBind=[{type:"object",message:B.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:B.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:B.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:B.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:B.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:B.getMessage("isNotString")},key:{type:"string",required:!0,message:B.getMessage("isNotString")},value:[{type:"array",message:B.getMessage("isNotArray")},{type:"array",validator(u,a,r){a.length===0&&r(B.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:B.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:B.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:B.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:B.getMessage("isNotBoolean")}}}}]}}]}class lt extends Re{constructor(e){super(e),this.dataBind={},this.caption={type:"string",required:!0,message:B.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:B.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:B.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:B.getMessage("pleaseEnterFieldCode")}};if(e.dataBind instanceof z)this.dataBind={type:"object",required:!0,fields:ne(n),message:B.getMessage("pleaseEnterFieldCode")};else{let u={type:"object",required:!0,fields:{},message:B.getMessage("pleaseEnterFieldCode")};Object.keys(e.dataBind).forEach(a=>{u.fields[a]={type:"object",required:!0,fields:ne(n),message:B.getMessage("pleaseEnterFieldCode")}}),this.dataBind=u}e.isShowCaptionTip&&(this.captionTip.required=!0)}}class rn extends et{constructor(e){super(e),this.push({type:"string",required:e.isHide?!1:e.required,message:e.requiredMessage!==""?e.requiredMessage:B.getMessage("runtimeRequired",{caption:e.caption})})}}class me extends Y{constructor(e){var n,u,a,r,i,c,g,h,A,D;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=(r=e==null?void 0:e.captionTip)!=null?r:"",this.defaultState=(i=e==null?void 0:e.defaultState)!=null?i:"default",this.labelPosition=(c=e==null?void 0:e.labelPosition)!=null?c:"top",this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"",this.required=(h=e==null?void 0:e.required)!=null?h:!1,this.requiredMessage=(A=e==null?void 0:e.requiredMessage)!=null?A:"",this.dataBind=new z(e==null?void 0:e.dataBind),this.defaultValue=(D=e==null?void 0:e.defaultValue)!=null?D:""}}me.Rules=lt,me.RuntimeRules=rn;class cs extends lt{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource"],message:B.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:B.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:B.getMessage("isNotObject")}],ot.call(this,e)}}class sn extends U{constructor(e){super(e),this.controlType="form",this.props=new me(e==null?void 0:e.props)}}sn.controlEventKeys=["on_change","on_focus","on_blur"];class fs extends ee{constructor(e){super(e),this.controlType="form",this.props=new me(e==null?void 0:e.props)}}class ge extends Y{constructor(e){super(e)}}function on(t,e){var n;(n=Object.getOwnPropertyDescriptors(t)[e])!=null&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ct(t,e){t.parent=e,on(t,"parent")}function ln(t,e){t.forEach(n=>{ct(n,e)})}const cn=Symbol("targetKey");function fn(t){var e;return(e=t[cn])!=null?e:t}function dn(t,e){return ln(t,e),new Proxy(t,{get(n,u,...a){return u===cn?n:Reflect.get(n,u,...a)},set(n,u,a,...r){if(ri(t)&&u==="length"&&a===t.length)return!0;const i=Reflect.set(n,u,a,...r);return ai(a)&&ct(a,e),i}})}function ye(t,e,n,u){const a=u!=null?u:t;let r=dn(fn(n!=null?n:[]),a);Object.defineProperty(t,e,{get(){return r},set(i){r=dn(fn(i),a)},enumerable:!0})}const ds=1e4;class ue extends U{constructor(e){super(e),this.controlType="layout";const{excludes:n,childrenMaxLength:u}=new.target;this.props=new ge(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=ne(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 Ce(this,null,function*(){return yield At(ue.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,r)=>{const i=r.toDataBindModel(e);if(Array.isArray(i)){const c=i.filter(g=>!!g);return[...a,...c]}return i&&a.push(i),a},u)}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return Pe(se({},e),{children:n})}}ue.excludes=!1,ue.childrenMaxLength=ds;class ft extends ee{constructor(e){super(e),this.controlType="layout",this.props=new ge(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}class dt extends Y{constructor(e,n){super(n),ye(this,"headers",n==null?void 0:n.headers,e)}}class $e extends U{constructor(e){super(e),this.controlType="list",this.props=new dt(this,e==null?void 0:e.props)}validate(e,n){return Ce(this,null,function*(){return yield At($e.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,r)=>{const i=r.toDataBindModel(u);if(Array.isArray(i)){const c=i.filter(g=>!!g);return[...a,...c]}return i&&a.push(i),a},n)}toSchema(){const e=super.toSchema(),n=this.props.headers.map(u=>u.toSchema());return Pe(se({},e),{props:Pe(se({},this.props),{headers:n})})}}$e.controlFieldType=V.LIST;class hs extends ee{constructor(e){super(e),this.controlType="list",this.props=new dt(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}get length(){return this.children.length}}class ht extends Re{constructor(e){super(e),this.caption={type:"string",required:!0,message:B.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:B.getMessage("pleaseEnterColumnWidth")},this.width.required=e.widthType==="px"}}class qe extends Y{constructor(e){var n,u,a,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.dataBind=new z(e==null?void 0:e.dataBind),this.sort=(r=e==null?void 0:e.sort)!=null?r:!0}}qe.Rules=ht;class ms extends ht{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:B.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:B.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:B.getMessage("isNotObject")}],ot.call(this,e)}}class gs extends U{constructor(e){super(e),this.controlType="column",this.props=new qe(e==null?void 0:e.props)}}class ys extends ee{constructor(e){super(e),this.controlType="column",this.props=new qe(e==null?void 0:e.props)}}class mt extends ge{constructor(e){super(e),this.dataBind=new z(e==null?void 0:e.dataBind)}}class Es extends ue{constructor(e){super(e),this.controlType="search",this.props=new mt(e==null?void 0:e.props)}}class vs extends ft{constructor(e){super(e),this.controlType="search",this.props=new mt(e==null?void 0:e.props)}}class gt extends ge{constructor(e){super(e)}}class Bs extends ue{constructor(e){super(e),this.controlType="wrap",this.props=new gt(e==null?void 0:e.props)}}class As extends ft{constructor(e){super(e),this.controlType="wrap",this.props=new gt(e==null?void 0:e.props)}}o.AMOUNT_TYPE=Ye,o.AddressValue=Ri,o.AmountDataBind=bi,o.AmountValue=wi,o.BaseControlProperty=me,o.BaseControlPropertyRules=lt,o.BaseControlPropertyRuntimeRules=rn,o.BaseStyle=Xt,o.COMMON_SETTING_TYPE=zt,o.CalcDataBind=Mi,o.CalcValue=Li,o.ColumnControlProperty=qe,o.ColumnControlPropertyRules=ht,o.ColumnOptionAndDataSourcePropertyRules=ms,o.CustomAttributeItem=Ht,o.CustomPermissionItem=Pi,o.DataBind=z,o.DataSourceBind=Qe,o.DataSourceDataSetValue=xt,o.DataSourceOrderItem=Xe,o.DataSourceParamItem=Ei,o.DesignerColumnControl=gs,o.DesignerControl=U,o.DesignerFormControl=sn,o.DesignerLayoutControl=ue,o.DesignerListControl=$e,o.DesignerSearchControl=Es,o.DesignerWrapControl=Bs,o.DisplayBoListItem=ze,o.FieldBindItem=_t,o.FieldFilterCondition=Ge,o.FieldFilterConditions=Se,o.FillBackBind=Bi,o.FillPayloadBind=kt,o.FormBind=we,o.FormSelectBind=mi,o.ImageOptionSetting=Gt,o.Language=Ai,o.LayoutControlProperty=ge,o.LeftVariable=Ut,o.ListBind=gi,o.ListControlProperty=dt,o.MultistageFillingItem=Tt,o.ObjectDataBind=Ie,o.OperationItem=$i,o.OptionAndDataSourcePropertyRules=cs,o.OptionSetting=Ze,o.PAGE_STATUS=pe,o.Property=Y,o.PropertyRules=Re,o.PropertyRuntimeRules=et,o.RangeDataBind=Si,o.RangeDateValue=Ii,o.RegisterControls=be,o.RegularRules=Ci,o.RightVariable=ke,o.RuntimeColumnControl=ys,o.RuntimeControl=ee,o.RuntimeFormControl=fs,o.RuntimeLayoutControl=ft,o.RuntimeListControl=hs,o.RuntimeSearchControl=vs,o.RuntimeWrapControl=As,o.SearchControlProperty=mt,o.SubListItem=jt,o.SubListPageConfig=yi,o.SuperDataSourceBind=Wt,o.TreeDataSourceBind=vi,o.ViewOperationItem=qi,o.WrapControlProperty=gt,o.controlHooksEmitter=nn,o.createValidator=tn,o.defineArrayParent=ln,o.defineControlArrayToProperty=ye,o.defineParent=ct,o.initImageOptions=Di,o.initOptionAndDataSourceRules=ot,o.initOptions=Fi,o.initSuperDataSourceRules=ls,o.setPropertyDontEnum=on,Object.defineProperty(o,"__esModule",{value:!0})});
1
+ var rs=Object.defineProperty,ss=Object.defineProperties;var ls=Object.getOwnPropertyDescriptors;var Gt=Object.getOwnPropertySymbols,os=Object.getPrototypeOf,cs=Object.prototype.hasOwnProperty,ds=Object.prototype.propertyIsEnumerable,fs=Reflect.get;var Jt=(l,C,w)=>C in l?rs(l,C,{enumerable:!0,configurable:!0,writable:!0,value:w}):l[C]=w,Q=(l,C)=>{for(var w in C||(C={}))cs.call(C,w)&&Jt(l,w,C[w]);if(Gt)for(var w of Gt(C))ds.call(C,w)&&Jt(l,w,C[w]);return l},Be=(l,C)=>ss(l,ls(C));var nt=(l,C,w)=>fs(os(l),w,C);var re=(l,C,w)=>new Promise((se,le)=>{var Ae=j=>{try{Z(w.next(j))}catch(Y){le(Y)}},Ce=j=>{try{Z(w.throw(j))}catch(Y){le(Y)}},Z=j=>j.done?se(j.value):Promise.resolve(j.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",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Y="{caption}\u5FC5\u586B",Qt="\u8BF7\u8F93\u5165\u6807\u9898",Zt="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Yt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",pt="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",en="\u8BF7\u7ED1\u5B9A\u8868\u5355",tn="\u8BF7\u7ED1\u5B9A\u5217\u8868",nn="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",un="\u8BF7\u8F93\u5165\u663E\u793A\u503C",an="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",rn="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",sn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ln="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",on="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",cn="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",dn="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E{min}\u4E14\u5C0F\u4E8E{max}\u7684\u503C",fn="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",hn="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",mn="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",gn="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",yn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",En="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",vn="\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",An="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Cn="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Fn="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Dn="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",bn="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Sn="\u8BF7\u7ED1\u5B9A\u670D\u52A1",wn="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",In="\u8BF7\u9009\u62E9\u7701",Rn="\u8BF7\u9009\u62E9\u5E02",Mn="\u8BF7\u9009\u62E9\u533A",Ln="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",$n="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",qn="\u8BF7\u8F93\u5165\u5217\u5BBD",Pn="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Vn="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Nn="\u8BF7\u9009\u62E9\u63A7\u4EF6",On="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",xn="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Un="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",jn="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",_n="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Tn="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Hn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Wn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Kn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",zn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",kn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Xn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Gn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Jn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Qn="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Zn="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Yn="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",pn="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",eu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",tu={isNotNumber:le,isNotString:Ae,isNotObject:Ce,isNotArray:Z,isNotBoolean:j,runtimeRequired:Y,pleaseEnterCaption:Qt,pleaseEnterCaptionTip:Zt,pleaseEnterPlaceholder:Yt,pleaseEnterFieldCode:pt,pleaseEnterForm:en,pleaseEnterList:tn,pleaseEnterProcess:nn,pleaseEnterLabel:un,pleaseEnterValue:an,bizKeyNotBindFiled:rn,pleaseEnterNumberRange:sn,pleaseEnterAValueGreaterThanMin:ln,pleaseEnterAValueLessThanMax:on,numberRangeSetError:cn,stringRangeError:dn,attachmentMaxSize:fn,pleaseEnterTotalScoreSetting:hn,theTotalScoreMustNotBeLessThan1:mn,scoreDefaultValueRange:gn,attachmentLimitError:yn,PleaseReselectTheOptionalQuantity:En,TheMaximumLengthIsGreaterThanTheMinimumLength:vn,TheMinimumLengthIsGreaterThanTheMaximumLength:Bn,PleaseSelectTheCorrectOptionSettings:An,optionIdIsRepeat:Cn,optionIsRequired:Fn,pleaseEnterDataCode:Dn,pleaseEnterValueFieldCode:bn,pleaseEnterSvcCode:Sn,pleaseBindAtLeastOneDisplayValue:wn,pleaseSelectProvince:In,pleaseSelectCity:Rn,pleaseSelectDistrict:Mn,limitRowsCannotBeLessThan0:Ln,TheNumberOfRowsCannotBeLessThanMinRows:$n,pleaseEnterColumnWidth:qn,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Pn,pleaseCompleteAllRulesAndConditions:Vn,pleaseSelectControl:Nn,pleaseSelectAtLeastOneColumn:On,pleaseSelectFillBackMode:xn,pleaseSelectDashboard:Un,rootNodeIsRequired:jn,theViewNameCannotBeEmpty:_n,pleaseSelectOcrType:Tn,pleaseSelectAtLeastOneFieldToFillIn:Hn,pleaseChooseAtLeastOne:Wn,pleaseEnterButtonContent:Kn,pleaseEnterDataCodeInDataSetting:zn,pleaseEnterValueFieldCodeInDataSetting:kn,pleaseEnterSvcCodeInDataSetting:Xn,pleaseBindAtLeastOneDisplayValueInDataSetting:Gn,rootNodeIsRequiredInDataSetting:Jn,pleaseEnterMaxHeight:Qn,pleaseEnter:Zn,pleaseEnterWatermark:Yn,pleaseEnterFileName:pn,pleaseUploadAtLeastOnePrintTemplate:eu},nu="Please enter a number",uu="Please enter a string",au="Please enter an object",iu="Please enter an array",ru="Please enter a boolean",su="{caption} Required",lu="Please enter the title",ou="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",cu="Please enter the prompt text",du="Please bind data items",fu="Please bind the form",hu="Please bind the list",mu="Please bind the process",gu="Please enter the displayed value",yu="Please enter the stored value",Eu="The document number is not bound to the data item",vu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Bu="Please enter a value greater than or equal to {min}",Au="Please enter a value less than or equal to {max}",Cu="The value range is set incorrectly",Fu="Please enter a value longer than {min} and less than {max}",Du="The attachment size must be between 0MB and 1000MB",bu="Please fill in the total score setting",Su="The total score cannot be less than 1",wu="The default value must be between {min} and {max}",Iu="The number of attachments uploaded must be between {min} and {max}",Ru="Please re-select the optional quantity",Mu="The maximum length of the control must be greater than the minimum length",Lu="The minimum length of the control must be less than the maximum length",$u="Please select the correct option setting",qu="Option ID cannot be repeated",Pu="Please enter at least one option",Vu="Please bind the data source",Nu="Please bind the stored value",Ou="Please bind the service",xu="At least one display value must be bound",Uu="Please select a province",ju="Please select a city",_u="Please select a district",Tu="The minimum number of lines to fill in cannot be less than 0",Hu="The number of rows cannot be less than {min} rows",Wu="Please enter the column width",Ku="Please set the logical relationship of all rule conditions",zu="Please complete all rules and conditions",ku="please select control",Xu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Gu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ju="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Qu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Zu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Yu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",pu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ea="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ta="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",na="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ua="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",aa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ia="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ra="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",sa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",la="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",oa={isNotNumber:nu,isNotString:uu,isNotObject:au,isNotArray:iu,isNotBoolean:ru,runtimeRequired:su,pleaseEnterCaption:lu,pleaseEnterCaptionTip:ou,pleaseEnterPlaceholder:cu,pleaseEnterFieldCode:du,pleaseEnterForm:fu,pleaseEnterList:hu,pleaseEnterProcess:mu,pleaseEnterLabel:gu,pleaseEnterValue:yu,bizKeyNotBindFiled:Eu,pleaseEnterNumberRange:vu,pleaseEnterAValueGreaterThanMin:Bu,pleaseEnterAValueLessThanMax:Au,numberRangeSetError:Cu,stringRangeError:Fu,attachmentMaxSize:Du,pleaseEnterTotalScoreSetting:bu,theTotalScoreMustNotBeLessThan1:Su,scoreDefaultValueRange:wu,attachmentLimitError:Iu,PleaseReselectTheOptionalQuantity:Ru,TheMaximumLengthIsGreaterThanTheMinimumLength:Mu,TheMinimumLengthIsGreaterThanTheMaximumLength:Lu,PleaseSelectTheCorrectOptionSettings:$u,optionIdIsRepeat:qu,optionIsRequired:Pu,pleaseEnterDataCode:Vu,pleaseEnterValueFieldCode:Nu,pleaseEnterSvcCode:Ou,pleaseBindAtLeastOneDisplayValue:xu,pleaseSelectProvince:Uu,pleaseSelectCity:ju,pleaseSelectDistrict:_u,limitRowsCannotBeLessThan0:Tu,TheNumberOfRowsCannotBeLessThanMinRows:Hu,pleaseEnterColumnWidth:Wu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ku,pleaseCompleteAllRulesAndConditions:zu,pleaseSelectControl:ku,pleaseSelectDashboard:Xu,theViewNameCannotBeEmpty:Gu,pleaseSelectOcrType:Ju,pleaseSelectAtLeastOneFieldToFillIn:Qu,pleaseChooseAtLeastOne:Zu,pleaseEnterButtonContent:Yu,pleaseEnterDataCodeInDataSetting:pu,pleaseEnterValueFieldCodeInDataSetting:ea,pleaseEnterSvcCodeInDataSetting:ta,pleaseBindAtLeastOneDisplayValueInDataSetting:na,rootNodeIsRequiredInDataSetting:ua,pleaseEnterMaxHeight:aa,pleaseEnter:ia,pleaseEnterWatermark:ra,pleaseEnterFileName:sa,pleaseUploadAtLeastOnePrintTemplate:la},ca="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",da="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ha="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ma="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ga="{caption}\u5FC5\u9808",ya="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",va="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ba="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Aa="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ca="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Fa="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Da="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ba="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sa="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",wa="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ia="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ra="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ma="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",La="\u6587\u5B57\u6570{min}\u3088\u308A\u5927\u304D\u304F\u3001{max}\u3088\u308A\u5C0F\u3055\u3044\u6570\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$a="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",qa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Pa="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Va="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Na="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Oa="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",xa="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ua="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5C0F\u5024\u306F\u6700\u5927\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ja="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_a="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ta="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Ha="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wa="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ka="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",za="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ka="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xa="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ga="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ja="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Qa="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Za="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ya="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",pa="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ei="please select control",ti="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ni="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ui="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ai="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ii="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ri="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",si="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",li="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",oi="\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",di="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",fi="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",hi="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",mi="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",gi="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",yi="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Ei={isNotNumber:ca,isNotString:da,isNotObject:fa,isNotArray:ha,isNotBoolean:ma,runtimeRequired:ga,pleaseEnterCaption:ya,pleaseEnterCaptionTip:Ea,pleaseEnterPlaceholder:va,pleaseEnterFieldCode:Ba,pleaseEnterForm:Aa,pleaseEnterList:Ca,pleaseEnterProcess:Fa,pleaseEnterLabel:Da,pleaseEnterValue:ba,bizKeyNotBindFiled:Sa,pleaseEnterNumberRange:wa,pleaseEnterAValueGreaterThanMin:Ia,pleaseEnterAValueLessThanMax:Ra,numberRangeSetError:Ma,stringRangeError:La,attachmentMaxSize:$a,pleaseEnterTotalScoreSetting:qa,theTotalScoreMustNotBeLessThan1:Pa,scoreDefaultValueRange:Va,attachmentLimitError:Na,PleaseReselectTheOptionalQuantity:Oa,TheMaximumLengthIsGreaterThanTheMinimumLength:xa,TheMinimumLengthIsGreaterThanTheMaximumLength:Ua,PleaseSelectTheCorrectOptionSettings:ja,optionIdIsRepeat:_a,optionIsRequired:Ta,pleaseEnterDataCode:Ha,pleaseEnterValueFieldCode:Wa,pleaseEnterSvcCode:Ka,pleaseBindAtLeastOneDisplayValue:za,pleaseSelectProvince:ka,pleaseSelectCity:Xa,pleaseSelectDistrict:Ga,limitRowsCannotBeLessThan0:Ja,TheNumberOfRowsCannotBeLessThanMinRows:Qa,pleaseEnterColumnWidth:Za,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ya,pleaseCompleteAllRulesAndConditions:pa,pleaseSelectControl:ei,pleaseSelectDashboard:ti,theViewNameCannotBeEmpty:ni,pleaseSelectOcrType:ui,pleaseSelectAtLeastOneFieldToFillIn:ai,pleaseChooseAtLeastOne:ii,pleaseEnterButtonContent:ri,pleaseEnterDataCodeInDataSetting:si,pleaseEnterValueFieldCodeInDataSetting:li,pleaseEnterSvcCodeInDataSetting:oi,pleaseBindAtLeastOneDisplayValueInDataSetting:ci,rootNodeIsRequiredInDataSetting:di,pleaseEnterMaxHeight:fi,pleaseEnter:hi,pleaseEnterWatermark:mi,pleaseEnterFileName:gi,pleaseUploadAtLeastOnePrintTemplate:yi},vi={zhCN:tu,enUS:oa,jaJP:Ei},ut;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(ut||(ut={}));var at;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(at||(at={}));var Bi="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"})(L||(L={}));var R;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(R||(R={}));var $;$={},P($,R.ARRAY,L.ARRAY_COLUMN),P($,R.AUTO_NUMBER,L.AUTO_NUMBER_COLUMN),P($,R.DECIMAL,L.DECIMAL_COLUMN),P($,R.DEPARTMENTS,L.DEPARTMENT_COLUMN),P($,R.FILE,L.FILE_COLUMN),P($,R.IMAGE,L.IMAGE_COLUMN),P($,R.ADDRESS,L.LOCATION_COLUMN),P($,R.EMPLOYEES,L.EMPLOYEE_COLUMN),P($,R.TEXT,L.TEXT_COLUMN),P($,R.TIMESCOPE,L.TIMESCOPE_COLUMN),P($,R.TIMESTAMP,L.TIMESTAMP_COLUMN),P($,R.VARCHAR,L.VARCHAR_COLUMN),P($,R.RELATION,L.VARCHAR_COLUMN);var it;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(it||(it={}));var rt="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Ai=rt+"0123456789";function W(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?rt:Ai,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 Ci(t){if(Array.isArray(t))return Fe(t)}function Fi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function st(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Di(){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 Di()?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 lt(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ee(t,e)}function bi(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Si(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wi(){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 Ii(t,e){return e&&(Ri(e)==="object"||typeof e=="function")?e:Fi(t)}function ee(t,e){return ee=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ee(t,e)}function ot(t){return Ci(t)||Si(t)||Mi(t)||wi()}var Ri=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mi(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||!bi(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 Li(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ct(t){var e=Li();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 Ii(this,a)}}var be=console;function Se(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=be).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(ot(a)))}function dt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=be).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(ot(a)))}function $i(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var we=function(t){lt(n,t);var e=ct(n);function n(u){st(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?$i(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)),qi=function(t){lt(n,t);var e=ct(n);function n(u){st(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(we);function Ie(t){throw new we(t)}function ft(t){throw new qi(t)}function Pi(t){be.error(new we(t))}var Vi=Object.prototype.toString;function ht(t,e){return Vi.call(t)==="[object "+e+"]"}function Ni(t){return ht(t,"String")}function Oi(t){return ht(t,"Promise")}var xi=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();Oi(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&&!Ni(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 Ui(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var m=function(){function t(){Ui(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]:Bi;return new xi({locale:n,messages:vi})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();m.$i18n=m.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,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 _i=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ti={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,x=0;if(E(h))for(d=[],x=h.length;S<x;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})(_i)})(Ti);function K(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function Hi(t){return Object.prototype.toString.call(t)==="[object Object]"}function Wi(t){return Array.isArray(t)}function Ki(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Re(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function zi(t){if(Array.isArray(t))return Re(t)}function mt(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 ki(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var i=t.apply(e,n);function r(f){mt(i,u,a,r,o,"next",f)}function o(f){mt(i,u,a,r,o,"throw",f)}r(void 0)})}}function Xi(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gi(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ji(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Me(t){return zi(t)||Gi(t)||Qi(t)||Ji()}function Qi(t,e){if(!!t){if(typeof t=="string")return Re(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Re(t,e)}}var Zi=function(){function t(){Xi(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 ki(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&&dt.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(Me(i))),d.next=15,s.apply(null,Me(i));case 15:if(h=d.sent,o.debug&&dt.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(Me(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),Pi(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 gt=[];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=gt,ce.staticRegisteredTypes=new Set(gt.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 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 Yi extends de{constructor(e){var n;super(e),this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class yt{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class pi{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 yt(r)))!=null?i:[]}}class Et{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 vt 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 er{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 Et(r)))!=null?u:[],this.sublists=(i=(a=e==null?void 0:e.sublists)==null?void 0:a.map(r=>new vt(r)))!=null?i:[]}}class Bt{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class Le{constructor(e){var n,u,a;this.type=(n=e==null?void 0:e.type)!=null?n:"custom",this.value=(u=e==null?void 0:e.value)!=null?u:[],this.displayBos=(a=e==null?void 0:e.displayBos)!=null?a:[]}}class 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 $e(r);(f=this.children)==null||f.push(c)}}))}}class $e{constructor(e){var n,u,a,i,r;this.type="condition",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.symbol=(a=e==null?void 0:e.symbol)!=null?a:"",this.checked=(i=e==null?void 0:e.checked)!=null?i:!1,this.describe=(r=e==null?void 0:e.describe)!=null?r:"",this.leftVariableBo=new Bt(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Le(e==null?void 0:e.rightVariableBo)}}class At{constructor(e){var n,u,a,i;this.controlId=(n=e==null?void 0:e.controlId)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.propName=(i=e==null?void 0:e.propName)!=null?i:""}}class qe{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"FIELD",this.value=(u=e==null?void 0:e.value)!=null?u:"",this.fieldType=e==null?void 0:e.fieldType}}class Pe{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class Ct{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 tr{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 Pe(c)))!=null?r:[],this.dataSet=(f=(o=e.dataSet)==null?void 0:o.map(c=>new Ct(c)))!=null?f:[]}}function Ve(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 $e(i)))!=null?n:[],(this instanceof Ne||this instanceof St)&&(this.orders=(a=(u=t==null?void 0:t.orders)==null?void 0:u.map(i=>new Pe(i)))!=null?a:[])}class Ne{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 qe(o))})),this.showOrder=(i=e==null?void 0:e.showOrder)!=null?i:!0,this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",Ve.call(this,e)}}class Ft{constructor(e){var n,u,a,i;this.name=(n=e==null?void 0:e.name)!=null?n:"",this.key=(u=e==null?void 0:e.key)!=null?u:"",this.value=(i=(a=e==null?void 0:e.value)==null?void 0:a.map(r=>new qe(r)))!=null?i:[]}}class Dt extends Ne{constructor(e){var n,u;super(e),this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new Ft(a)))!=null?u:[]}}class nr extends Dt{constructor(e){super(e),this.rootNode=new Le(e==null?void 0:e.rootNode)}}class bt{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 At(r)))!=null?i:[]}}class St extends bt{constructor(e){super(e),Ve.call(this,e)}}class ur extends bt{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 ir{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 Oe{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 wt extends Oe{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 rr(t){var e;return(e=t==null?void 0:t.map(n=>new Oe(n)))!=null?e:[]}function sr(t){var e;return(e=t==null?void 0:t.map(n=>new wt(n)))!=null?e:[]}class he{}class lr 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 or{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:xe.CNY}}class cr 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 dr{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 fr{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 hr 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 mr{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 xe=(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))(xe||{}),It=(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))(It||{}),Ue=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(Ue||{});class gr{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 yr{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 yt(r)))!=null?i:[],Ve.call(this,e)}}class Er{constructor(e){var n,u;this.key=(n=e.key)!=null?n:W(8),this.caption=(u=e.caption)!=null?u:""}}class Rt{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 je 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 Rt(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}_.Rules=me,_.RuntimeRules=je;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 _e(t){return _e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_e(t)}function ge(t,e){return ge=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ge(t,e)}function Br(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function ye(t,e,n){return Br()?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 Ar(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Te(t){var e=typeof Map=="function"?new Map:void 0;return Te=function(u){if(u===null||!Ar(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,_e(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ge(a,u)},Te(t)}var Cr=/%[sdj%]/g,Mt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Mt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function He(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(Cr,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 Fr(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||Fr(e)&&typeof t=="string"&&!t)}function Dr(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 Lt(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 br(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var $t=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}(Te(Error));function Sr(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 $t(D,He(D))):v()},F=br(t);Lt(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 $t(c,He(c))):v()};r.length||(u(c),v()),r.forEach(function(F){var g=t[F];i.indexOf(F)!==-1?Lt(g,n,b):Dr(g,n,b)})});return E.catch(function(v){return v}),E}function qt(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 Pt(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 Vt(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 wr(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(V(a.messages.whitespace,t.fullField))}var We={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},te={integer:function(e){return te.number(e)&&parseInt(e,10)===e},float:function(e){return te.number(e)&&!te.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!te.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(We.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(We.url)},hex:function(e){return typeof e=="string"&&!!e.match(We.hex)}};function Ir(t,e,n,u,a){if(t.required&&e===void 0){Vt(t,e,n,u,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;i.indexOf(r)>-1?te[r](e)||u.push(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 Rr(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 Mr(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 Lr(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:Vt,whitespace:wr,type:Ir,range:Rr,enum:Mr,pattern:Lr};function $r(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 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 Pr(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 Vr(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 Nr(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 Or(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();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 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();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 Ur(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 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();y.required(t,e,u,i,a),e!==void 0&&y.type(t,e,u,i,a)}n(i)}var _r="enum";function Tr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y[_r](t,e,u,i,a)}n(i)}function Hr(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(I(e,"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 Wr(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 Kr(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 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();y.required(t,e,u,r,a,i),I(e,i)||y.type(t,e,u,r,a)}n(r)}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)}n(i)}var ne={string:$r,method:qr,number:Pr,boolean:Vr,regexp:Nr,integer:Or,float:xr,array:Ur,object:jr,enum:Tr,pattern:Hr,date:Wr,url:Ke,hex:Ke,email:Ke,required:Kr,any:zr};function ze(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var ke=ze();function T(t){this.rules=null,this._messages=ke,this.define(t)}T.prototype={messages:function(e){return e&&(this._messages=Pt(ze(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var i=e,r=n,o=u;if(typeof r=="function"&&(o=r,r={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function 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=He(s):(s=null,h=null),o(s,h)}if(r.messages){var c=this.messages();c===ke&&(c=ze()),Pt(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 Sr(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(x,A){return O(O({},A),{},{fullField:s.fullField+"."+x})}function d(x){x===void 0&&(x=[]);var A=x;if(Array.isArray(A)||(A=[A]),!r.suppressWarning&&A.length&&T.warning("async-validator:",A),A.length&&s.message!==void 0&&(A=[].concat(s.message)),A=A.map(qt(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(qt(s)):r.error&&(A=[r.error(s,V(r.messages.required,s.field))]),D(A);var U={};if(s.defaultField)for(var kt in g.value)g.value.hasOwnProperty(kt)&&(U[kt]=s.defaultField);U=O(O({},U),g.rule.fields);for(var G in U)if(U.hasOwnProperty(G)){var is=Array.isArray(U[G])?U[G]:[U[G]];U[G]=is.map(M.bind(null,G))}var Xt=new T(U);Xt.messages(r.messages),g.rule.options&&(g.rule.options.messages=r.messages,g.rule.options.error=r.error),Xt.validate(g.value,g.rule.options||r,function(tt){var J=[];A&&A.length&&J.push.apply(J,A),tt&&tt.length&&J.push.apply(J,tt),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(x){return d(x)})},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}},T.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},T.warning=Mt,T.messages=ke,T.validators=ne;const kr={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Nt(t,e={}){const n=new T(t);return n.messages(Object.assign(kr,e)),n}const Ot=new Zi;class q{constructor(e){var E,v,B,b;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Ut,this.removeSetting=xt,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||ft(`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 Ot.emit(n,this,...u)}preUpdate(e,n){this._callControlHooks("preUpdateProps",e,n)}postUpdate(e,n){this._callControlHooks("postUpdateProps",e,n)}updateProps(e,n){this.preUpdate(e,n),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=Nt(a,e);try{return yield i.validate(this.props),!0}catch(r){throw r.control||(r.control=this),r}})}toDataBindModel(e=null){const n=this.fieldType,u=this.id,a=this.type,{dataBind:i,datasourceBind:r,optionConfig:o,caption: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=xt,q.updateSettingItem=Ut;function xt(t){(Array.isArray(t)?t:[t]).forEach(n=>{var i,r;const u=typeof n!="string",a=this.setting.findIndex(o=>o.key===(u?n.key:n));a!==-1&&(u?this.setting[a].showItems=(i=this.setting[a].showItems)==null?void 0:i.filter(o=>!n.hideItems.includes(o)):this.setting.splice(a,1),u&&!((r=this.setting[a].showItems)!=null&&r.length)&&this.setting.splice(a,1))})}function Ut(t,e){(typeof t=="string"?[t]:t).forEach(u=>{var i;const a=this.setting.find(r=>r.key===u);a&&(typeof e=="boolean"?a.visible=e:typeof e=="object"&&(((i=e.type)!=null?i:"replace")==="replace"?a.showItems=e.showItems:a.showItems.push(...e.showItems)))})}class H{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||ft(`The ${a} controlType is not define`),this.id=(r=e==null?void 0:e.id)!=null?r:W(10),this.type=(o=e==null?void 0:e.type)!=null?o:n,this.props=new _(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:Ue.UNKNOWN}get rules(){const e=this.props.constructor.RuntimeRules;if(e){const n=new e(this.props);return Array.from(n)}return[]}}H.controlType="control",H.__is_control__=!0,H.controlCustomEvents=[];function Xe(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=Ki(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 Xr(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 Ge 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 jt extends je{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=Ge,ue.RuntimeRules=jt;class Gr extends Ge{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")}],Xe.call(this,e)}}class _t extends q{constructor(e){super(e),this.controlType="form",this.props=new ue(e==null?void 0:e.props)}}_t.controlEventKeys=["on_change","on_focus","on_blur"];class Jr extends H{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 Tt(t,e){var n;(n=Object.getOwnPropertyDescriptors(t)[e])!=null&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Je(t,e){t.parent=e,Tt(t,"parent")}function Ht(t,e){t.forEach(n=>{Je(n,e)})}const Wt=Symbol("targetKey");function Kt(t){var e;return(e=t[Wt])!=null?e:t}function zt(t,e){return Ht(t,e),new Proxy(t,{get(n,u,...a){return u===Wt?n:Reflect.get(n,u,...a)},set(n,u,a,...i){if(Wi(t)&&u==="length"&&a===t.length)return!0;const r=Reflect.set(n,u,a,...i);return Hi(a)&&Je(a,e),r}})}function ie(t,e,n,u){const a=u!=null?u:t;let i=zt(Kt(n!=null?n:[]),a);Object.defineProperty(t,e,{get(){return i},set(r){i=zt(Kt(r),a)},enumerable:!0})}const Qr=1e4;class z extends q{constructor(e){super(e),this.controlType="layout";const{excludes:n,childrenMaxLength:u}=new.target;this.props=new ae(e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children),this.excludes=K(n),this.childrenMaxLength=u}judgeExcludesChildren(e){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e)}judgeJoinChildren(e){const n=this.judgeExcludesChildren(e);return n&&this.childrenMaxLength>this.children.length}validate(e,n){return re(this,null,function*(){return yield nt(z.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(u=>u.validate(e,n))),!0})}toDataBindModel(e=null){const n=super.toDataBindModel(),u=n?[n]:[];return this.children.reduce((a,i)=>{const r=i.toDataBindModel(e);if(Array.isArray(r)){const o=r.filter(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=Qr;class Qe extends H{constructor(e){super(e),this.controlType="layout",this.props=new ae(e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}}class Ze extends _{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 Ze(this,e==null?void 0:e.props)}validate(e,n){return re(this,null,function*(){return yield nt(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 Zr extends H{constructor(e){super(e),this.controlType="list",this.props=new Ze(this,e==null?void 0:e.props),ie(this,"children",e==null?void 0:e.children)}get length(){return this.children.length}}class Ye extends 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;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.dataBind=new N(e==null?void 0:e.dataBind),this.sort=(i=e==null?void 0:e.sort)!=null?i:!0}}ve.Rules=Ye;class Yr extends Ye{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")}],Xe.call(this,e)}}class pr extends q{constructor(e){super(e),this.controlType="column",this.props=new ve(e==null?void 0:e.props)}}class es extends H{constructor(e){super(e),this.controlType="column",this.props=new ve(e==null?void 0:e.props)}}class pe extends ae{constructor(e){super(e),this.dataBind=new N(e==null?void 0:e.dataBind)}}class ts extends z{constructor(e){super(e),this.controlType="search",this.props=new pe(e==null?void 0:e.props)}}class ns extends Qe{constructor(e){super(e),this.controlType="search",this.props=new pe(e==null?void 0:e.props)}}class et extends ae{constructor(e){super(e)}}class us extends z{constructor(e){super(e),this.controlType="wrap",this.props=new et(e==null?void 0:e.props)}}class as extends Qe{constructor(e){super(e),this.controlType="wrap",this.props=new et(e==null?void 0:e.props)}}l.AMOUNT_TYPE=xe,l.AddressValue=fr,l.AmountDataBind=lr,l.AmountValue=or,l.BaseControlProperty=ue,l.BaseControlPropertyRules=Ge,l.BaseControlPropertyRuntimeRules=jt,l.BaseStyle=Rt,l.COMMON_SETTING_TYPE=It,l.CalcDataBind=hr,l.CalcValue=mr,l.ColumnControlProperty=ve,l.ColumnControlPropertyRules=Ye,l.ColumnOptionAndDataSourcePropertyRules=Yr,l.CustomAttributeItem=Ft,l.CustomPermissionItem=Er,l.DataBind=N,l.DataSourceBind=Ne,l.DataSourceDataSetValue=Ct,l.DataSourceOrderItem=Pe,l.DataSourceParamItem=tr,l.DesignerColumnControl=pr,l.DesignerControl=q,l.DesignerFormControl=_t,l.DesignerLayoutControl=z,l.DesignerListControl=Ee,l.DesignerSearchControl=ts,l.DesignerWrapControl=us,l.DisplayBoListItem=qe,l.FieldBindItem=Et,l.FieldFilterCondition=$e,l.FieldFilterConditions=fe,l.FillBackBind=ur,l.FillPayloadBind=St,l.FormBind=de,l.FormSelectBind=Yi,l.ImageOptionSetting=wt,l.Language=ar,l.LayoutControlProperty=ae,l.LeftVariable=Bt,l.ListBind=pi,l.ListControlProperty=Ze,l.MultistageFillingItem=At,l.ObjectDataBind=he,l.OperationItem=gr,l.OptionAndDataSourcePropertyRules=Gr,l.OptionSetting=Oe,l.PAGE_STATUS=Ue,l.Property=_,l.PropertyRules=me,l.PropertyRuntimeRules=je,l.RangeDataBind=cr,l.RangeDateValue=dr,l.RegisterControls=ce,l.RegularRules=ir,l.RightVariable=Le,l.RuntimeColumnControl=es,l.RuntimeControl=H,l.RuntimeFormControl=Jr,l.RuntimeLayoutControl=Qe,l.RuntimeListControl=Zr,l.RuntimeSearchControl=ns,l.RuntimeWrapControl=as,l.SearchControlProperty=pe,l.SubListItem=vt,l.SubListPageConfig=er,l.SuperDataSourceBind=Dt,l.TreeDataSourceBind=nr,l.ViewOperationItem=yr,l.WrapControlProperty=et,l.controlHooksEmitter=Ot,l.createValidator=Nt,l.defineArrayParent=Ht,l.defineControlArrayToProperty=ie,l.defineParent=Je,l.initImageOptions=sr,l.initOptionAndDataSourceRules=Xe,l.initOptions=rr,l.initSuperDataSourceRules=Xr,l.setPropertyDontEnum=Tt,Object.defineProperty(l,"__esModule",{value:!0})});
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-core",
3
- "version": "1.3.0-beta.29",
3
+ "version": "1.5.0-beta.1",
4
4
  "description": "model engine core",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
7
7
  "license": "ISC",
8
- "main": "src/index.ts",
8
+ "main": "dist/esm/index.js",
9
9
  "module": "dist/esm/index.js",
10
10
  "umd": "dist/index.umd.js",
11
11
  "types": "dist/types",
@@ -26,9 +26,9 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-shared": "^1.3.0-beta.22",
29
+ "@byteluck-fe/model-driven-shared": "^1.5.0-beta.1",
30
30
  "async-validator": "3.5.1",
31
31
  "tslib": "^2.1.0"
32
32
  },
33
- "gitHead": "ff1ff4bb662ce059bb4a4b75ef53ef5b88247b67"
33
+ "gitHead": "72b87f5947dc1c1131a4aafa7cd74d385c98e7a7"
34
34
  }
package/src/index.ts DELETED
@@ -1,3 +0,0 @@
1
- export * from './common'
2
- export * from './framework'
3
- export * from './type'