@byteluck-fe/model-driven-engine 2.6.0-alpha.5 → 2.6.0-alpha.8
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 +1 -1
- package/package.json +4 -4
package/dist/index.umd.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var cd=Object.defineProperty,fd=Object.defineProperties;var ld=Object.getOwnPropertyDescriptors;var si=Object.getOwnPropertySymbols;var hd=Object.prototype.hasOwnProperty,dd=Object.prototype.propertyIsEnumerable;var pn=Math.pow,ci=(z,Y,ie)=>Y in z?cd(z,Y,{enumerable:!0,configurable:!0,writable:!0,value:ie}):z[Y]=ie,ne=(z,Y)=>{for(var ie in Y||(Y={}))hd.call(Y,ie)&&ci(z,ie,Y[ie]);if(si)for(var ie of si(Y))dd.call(Y,ie)&&ci(z,ie,Y[ie]);return z},ar=(z,Y)=>fd(z,ld(Y));var Pe=(z,Y,ie)=>new Promise((Ot,mt)=>{var Dn=ke=>{try{At(ie.next(ke))}catch(Ct){mt(Ct)}},gn=ke=>{try{At(ie.throw(ke))}catch(Ct){mt(Ct)}},At=ke=>ke.done?Ot(ke.value):Promise.resolve(ke.value).then(Dn,gn);At((ie=ie.apply(z,Y)).next())});(function(z,Y){typeof exports=="object"&&typeof module!="undefined"?Y(exports,require("regenerator-runtime"),require("crypto")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime","crypto"],Y):(z=typeof globalThis!="undefined"?globalThis:z||self,Y(z.modelDrivenEngine={},z.regeneratorRuntime,z.require$$0))})(this,function(z,Y,ie){"use strict";function Ot(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var mt=Ot(Y),Dn=Ot(ie),gn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",At="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ke="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Ct="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",fi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",li="{caption}\u5FC5\u586B",hi="\u8BF7\u8F93\u5165\u6807\u9898",di="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",pi="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Di="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",gi="\u8BF7\u7ED1\u5B9A\u8868\u5355",vi="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ei="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mi="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ai="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ci="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Fi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",yi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",wi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Bi="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bi="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Si="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Mi="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ni="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ii="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",_i="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ri="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xi="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Oi="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",$i="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ti="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Li="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Pi="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ki="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ji="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ui="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Vi="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",qi="\u8BF7\u9009\u62E9\u7701",Hi="\u8BF7\u9009\u62E9\u5E02",zi="\u8BF7\u9009\u62E9\u533A",Wi="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Zi="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Xi="\u8BF7\u8F93\u5165\u5217\u5BBD",Ki="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ji="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Gi="\u8BF7\u9009\u62E9\u63A7\u4EF6",Qi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Yi="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",eo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",to="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",no="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ro="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",uo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",io="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",oo="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ao="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",so="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",co="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",lo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ho="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",po="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Do="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",go="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",vo="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Eo="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",mo="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ao={isNotNumber:gn,isNotString:At,isNotObject:ke,isNotArray:Ct,isNotBoolean:fi,runtimeRequired:li,pleaseEnterCaption:hi,pleaseEnterCaptionTip:di,pleaseEnterPlaceholder:pi,pleaseEnterFieldCode:Di,pleaseEnterForm:gi,pleaseEnterList:vi,pleaseEnterProcess:Ei,pleaseEnterLabel:mi,pleaseEnterValue:Ai,bizKeyNotBindFiled:Ci,pleaseSelectOneField:Fi,pleaseEnterNumberRange:yi,pleaseEnterAValueGreaterThanMin:wi,pleaseEnterAValueLessThanMax:Bi,numberRangeSetError:bi,stringRangeError:Si,attachmentMaxSize:Mi,pleaseEnterTotalScoreSetting:Ni,theTotalScoreMustNotBeLessThan1:Ii,scoreDefaultValueRange:_i,attachmentLimitError:Ri,PleaseReselectTheOptionalQuantity:xi,TheMaximumLengthIsGreaterThanTheMinimumLength:Oi,TheMinimumLengthIsGreaterThanTheMaximumLength:$i,PleaseSelectTheCorrectOptionSettings:Ti,optionIdIsRepeat:Li,optionIsRequired:Pi,pleaseEnterDataCode:ki,pleaseEnterValueFieldCode:ji,pleaseEnterSvcCode:Ui,pleaseBindAtLeastOneDisplayValue:Vi,pleaseSelectProvince:qi,pleaseSelectCity:Hi,pleaseSelectDistrict:zi,limitRowsCannotBeLessThan0:Wi,TheNumberOfRowsCannotBeLessThanMinRows:Zi,pleaseEnterColumnWidth:Xi,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ki,pleaseCompleteAllRulesAndConditions:Ji,pleaseSelectControl:Gi,pleaseSelectAtLeastOneColumn:Qi,pleaseSelectFillBackMode:Yi,pleaseSelectDashboard:eo,rootNodeIsRequired:to,theViewNameCannotBeEmpty:no,pleaseSelectOcrType:ro,pleaseSelectAtLeastOneFieldToFillIn:uo,pleaseChooseAtLeastOne:io,pleaseEnterButtonContent:oo,pleaseEnterDataCodeInDataSetting:ao,pleaseEnterValueFieldCodeInDataSetting:so,pleaseEnterSvcCodeInDataSetting:co,pleaseBindAtLeastOneDisplayValueInDataSetting:fo,rootNodeIsRequiredInDataSetting:lo,pleaseEnterMaxHeight:ho,pleaseEnter:po,pleaseEnterWatermark:Do,pleaseEnterFileName:go,pleaseUploadAtLeastOnePrintTemplate:vo,pleaseAssignBusiness:Eo,pleaseAssignExternal:mo},Co="Please enter a number",Fo="Please enter a string",yo="Please enter an object",wo="Please enter an array",Bo="Please enter a boolean",bo="{caption} Required",So="Please enter the title",Mo="Please enter the bubble prompt",No="Please enter the prompt text",Io="Please bind data items",_o="Please bind the form",Ro="Please bind the list",xo="Please bind the process",Oo="Please enter the displayed value",$o="Please enter the stored value",To="The document number is not bound to the data item",Lo="Please select at least one display field",Po="Please enter a value greater than or equal to {min} and less than or equal to {max}",ko="Please enter a value greater than or equal to {min}",jo="Please enter a value less than or equal to {max}",Uo="The value range is set incorrectly",Vo="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",qo="The attachment size must be between 0MB and 1000MB",Ho="Please fill in the total score setting",zo="The total score cannot be less than 1",Wo="The default value must be between {min} and {max}",Zo="The number of attachments uploaded must be between {min} and {max}",Xo="Please re-select the optional quantity",Ko="The maximum length of the control must be greater than the minimum length",Jo="The minimum length of the control must be less than the maximum length",Go="Please select the correct option setting",Qo="Option ID cannot be repeated",Yo="Please enter at least one option",ea="Please bind the data source",ta="Please bind the stored value",na="Please bind the service",ra="At least one display value must be bound",ua="Please select a province",ia="Please select a city",oa="Please select a district",aa="The minimum number of lines to fill in cannot be less than 0",sa="The number of rows cannot be less than {min} rows",ca="Please enter the column width",fa="Please set the logical relationship of all rule conditions",la="Please complete all rules and conditions",ha="please select control",da="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",pa="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Da="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ga="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",va="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ea="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ma="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Aa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ca="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ya="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",wa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ba="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ba="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ma="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Na="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ia="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_a={isNotNumber:Co,isNotString:Fo,isNotObject:yo,isNotArray:wo,isNotBoolean:Bo,runtimeRequired:bo,pleaseEnterCaption:So,pleaseEnterCaptionTip:Mo,pleaseEnterPlaceholder:No,pleaseEnterFieldCode:Io,pleaseEnterForm:_o,pleaseEnterList:Ro,pleaseEnterProcess:xo,pleaseEnterLabel:Oo,pleaseEnterValue:$o,bizKeyNotBindFiled:To,pleaseSelectOneField:Lo,pleaseEnterNumberRange:Po,pleaseEnterAValueGreaterThanMin:ko,pleaseEnterAValueLessThanMax:jo,numberRangeSetError:Uo,stringRangeError:Vo,attachmentMaxSize:qo,pleaseEnterTotalScoreSetting:Ho,theTotalScoreMustNotBeLessThan1:zo,scoreDefaultValueRange:Wo,attachmentLimitError:Zo,PleaseReselectTheOptionalQuantity:Xo,TheMaximumLengthIsGreaterThanTheMinimumLength:Ko,TheMinimumLengthIsGreaterThanTheMaximumLength:Jo,PleaseSelectTheCorrectOptionSettings:Go,optionIdIsRepeat:Qo,optionIsRequired:Yo,pleaseEnterDataCode:ea,pleaseEnterValueFieldCode:ta,pleaseEnterSvcCode:na,pleaseBindAtLeastOneDisplayValue:ra,pleaseSelectProvince:ua,pleaseSelectCity:ia,pleaseSelectDistrict:oa,limitRowsCannotBeLessThan0:aa,TheNumberOfRowsCannotBeLessThanMinRows:sa,pleaseEnterColumnWidth:ca,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fa,pleaseCompleteAllRulesAndConditions:la,pleaseSelectControl:ha,pleaseSelectDashboard:da,theViewNameCannotBeEmpty:pa,pleaseSelectOcrType:Da,pleaseSelectAtLeastOneFieldToFillIn:ga,pleaseChooseAtLeastOne:va,pleaseEnterButtonContent:Ea,pleaseEnterDataCodeInDataSetting:ma,pleaseEnterValueFieldCodeInDataSetting:Aa,pleaseEnterSvcCodeInDataSetting:Ca,pleaseBindAtLeastOneDisplayValueInDataSetting:Fa,rootNodeIsRequiredInDataSetting:ya,pleaseEnterMaxHeight:wa,pleaseEnter:Ba,pleaseEnterWatermark:ba,pleaseEnterFileName:Sa,pleaseUploadAtLeastOnePrintTemplate:Ma,pleaseAssignBusiness:Na,pleaseAssignExternal:Ia},Ra="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xa="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$a="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ta="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",La="{caption}\u5FC5\u9808",Pa="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ka="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ja="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ua="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Va="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qa="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ha="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",za="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Za="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Xa="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ka="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ja="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ga="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ya="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",es="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ts="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ns="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",rs="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",us="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",is="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",os="\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",as="\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",ss="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cs="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fs="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ls="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hs="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ds="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ps="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ds="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gs="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vs="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Es="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ms="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",As="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cs="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Fs="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ys="please select control",ws="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Bs="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ss="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ms="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ns="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Is="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",_s="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",xs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Os="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",$s="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ts="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ls="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ps="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ks="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",js="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Us="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Vs={isNotNumber:Ra,isNotString:xa,isNotObject:Oa,isNotArray:$a,isNotBoolean:Ta,runtimeRequired:La,pleaseEnterCaption:Pa,pleaseEnterCaptionTip:ka,pleaseEnterPlaceholder:ja,pleaseEnterFieldCode:Ua,pleaseEnterForm:Va,pleaseEnterList:qa,pleaseEnterProcess:Ha,pleaseEnterLabel:za,pleaseEnterValue:Wa,bizKeyNotBindFiled:Za,pleaseSelectOneField:Xa,pleaseEnterNumberRange:Ka,pleaseEnterAValueGreaterThanMin:Ja,pleaseEnterAValueLessThanMax:Ga,numberRangeSetError:Qa,stringRangeError:Ya,attachmentMaxSize:es,pleaseEnterTotalScoreSetting:ts,theTotalScoreMustNotBeLessThan1:ns,scoreDefaultValueRange:rs,attachmentLimitError:us,PleaseReselectTheOptionalQuantity:is,TheMaximumLengthIsGreaterThanTheMinimumLength:os,TheMinimumLengthIsGreaterThanTheMaximumLength:as,PleaseSelectTheCorrectOptionSettings:ss,optionIdIsRepeat:cs,optionIsRequired:fs,pleaseEnterDataCode:ls,pleaseEnterValueFieldCode:hs,pleaseEnterSvcCode:ds,pleaseBindAtLeastOneDisplayValue:ps,pleaseSelectProvince:Ds,pleaseSelectCity:gs,pleaseSelectDistrict:vs,limitRowsCannotBeLessThan0:Es,TheNumberOfRowsCannotBeLessThanMinRows:ms,pleaseEnterColumnWidth:As,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Cs,pleaseCompleteAllRulesAndConditions:Fs,pleaseSelectControl:ys,pleaseSelectDashboard:ws,theViewNameCannotBeEmpty:Bs,pleaseSelectOcrType:bs,pleaseSelectAtLeastOneFieldToFillIn:Ss,pleaseChooseAtLeastOne:Ms,pleaseEnterButtonContent:Ns,pleaseEnterDataCodeInDataSetting:Is,pleaseEnterValueFieldCodeInDataSetting:_s,pleaseEnterSvcCodeInDataSetting:Rs,pleaseBindAtLeastOneDisplayValueInDataSetting:xs,rootNodeIsRequiredInDataSetting:Os,pleaseEnterMaxHeight:$s,pleaseEnter:Ts,pleaseEnterWatermark:Ls,pleaseEnterFileName:Ps,pleaseUploadAtLeastOnePrintTemplate:ks,pleaseAssignBusiness:js,pleaseAssignExternal:Us},qs={zhCN:Ao,enUS:_a,jaJP:Vs},Ie;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Ie||(Ie={}));var ut;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ut||(ut={}));var sr="zh-CN";function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(X||(X={}));var W;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"})(W||(W={}));var H;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(H||(H={}));var he;he={},Fe(he,H.ARRAY,W.ARRAY_COLUMN),Fe(he,H.AUTO_NUMBER,W.AUTO_NUMBER_COLUMN),Fe(he,H.DECIMAL,W.DECIMAL_COLUMN),Fe(he,H.DEPARTMENTS,W.DEPARTMENT_COLUMN),Fe(he,H.FILE,W.FILE_COLUMN),Fe(he,H.IMAGE,W.IMAGE_COLUMN),Fe(he,H.ADDRESS,W.LOCATION_COLUMN),Fe(he,H.EMPLOYEES,W.EMPLOYEE_COLUMN),Fe(he,H.TEXT,W.TEXT_COLUMN),Fe(he,H.TIMESCOPE,W.TIMESCOPE_COLUMN),Fe(he,H.TIMESTAMP,W.TIMESTAMP_COLUMN),Fe(he,H.VARCHAR,W.VARCHAR_COLUMN),Fe(he,H.RELATION,W.VARCHAR_COLUMN);var cr;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATETIME="datetime"})(cr||(cr={}));var fr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Hs=fr+"0123456789";function lr(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?fr:Hs,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function vn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zs(e){if(Array.isArray(e))return vn(e)}function Ws(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zs(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function $t(e,t,n){return Zs()?$t=Reflect.construct:$t=function(u,i,s){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(u,l),d=new f;return s&&yt(d,s.prototype),d},$t.apply(null,arguments)}function Ft(e){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ft(e)}function dr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yt(e,t)}function Xs(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ks(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Js(){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 Gs(e,t){return t&&(Qs(t)==="object"||typeof t=="function")?t:Ws(e)}function yt(e,t){return yt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},yt(e,t)}function pr(e){return zs(e)||Ks(e)||Ys(e)||Js()}var Qs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ys(e,t){if(!!e){if(typeof e=="string")return vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vn(e,t)}}function En(e){var t=typeof Map=="function"?new Map:void 0;return En=function(r){if(r===null||!Xs(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return $t(r,arguments,Ft(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),yt(u,r)},En(e)}function ec(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dr(e){var t=ec();return function(){var r=Ft(e),u;if(t){var i=Ft(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return Gs(this,u)}}var mn=console;function qe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=mn).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(pr(u)))}function An(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=mn).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(pr(u)))}function tc(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Cn=function(e){dr(n,e);var t=Dr(n);function n(r){hr(this,n);var u;return u=t.call(this,r),u.name="\u{1F4A5} Driven Error",u.message=r?tc(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(En(Error)),nc=function(e){dr(n,e);var t=Dr(n);function n(r){hr(this,n);var u;return u=t.call(this,r),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Cn);function je(e){throw new Cn(e)}function rc(e){throw new nc(e)}function Tt(e){mn.error(new Cn(e))}function Qe(e,t){Array.isArray(e)&&e.map(function(n){switch(n.controlType){case"layout":Qe(n==null?void 0:n.children,t);break;case"search":Qe(n==null?void 0:n.children,t);break;case"form":t(n)}})}var uc=Object.prototype.toString;function gr(e,t){return uc.call(e)==="[object "+t+"]"}function ic(e){return gr(e,"String")}function oc(e){return gr(e,"Promise")}var ac=function(){function e(t){var n,r;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((r=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&r!==void 0?r:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var r=this.getMessageData();oc(r)?r.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=r},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,r){var u=this.getMessage(t);return u?this.formatMessage(u,r):this.formatMessage(n,r)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),r=n.reduce(function(u,i,s,l){if(u!==void 0){var f=u[i];if(!(s===l.length-1&&!ic(f)))return f}},this.message);return this._messageCache.set(t,r),r},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(r,u){var i=n[u];return i!==void 0?String(i):r}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var r=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(r)?window.okI18nPreImport:(n={},n[r]=window.okI18nPreImport,n)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function sc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cc(e,t,n){return t&&vr(e.prototype,t),n&&vr(e,n),e}var Fn=function(){function e(){sc(this,e)}return cc(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sr;return new ac({locale:n,messages:qs})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();Fn.$i18n=Fn.resetI18n();function Er(e,t,n){var r=t.replace(/\[(\d)]/g,function(i,s){return"."+s}).split("."),u=!1;return r.reduce(function(i,s,l,f){var d=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,s)){qe("Can not set ".concat(t,"'s ").concat(s," property in current %o, Because there is no ").concat(s," property on the %o"),i,i);return}return l===f.length-1&&!Object.is(d[s],n)&&(d[s]=n,u=!0),d[s]}},e),u}var He=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function mr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yn={exports:{}};(function(e){(function(t){var n=function(g,C,F){if(!d(C)||o(C)||c(C)||h(C)||f(C))return C;var b,R=0,$=0;if(a(C))for(b=[],$=C.length;R<$;R++)b.push(n(g,C[R],F));else{b={};for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&(b[g(k,F)]=n(g,C[k],F))}return b},r=function(g,C){C=C||{};var F=C.separator||"_",b=C.split||/(?=[A-Z])/;return g.split(b).join(F)},u=function(g){return p(g)?g:(g=g.replace(/[\-_\s]+(.)?/g,function(C,F){return F?F.toUpperCase():""}),g.substr(0,1).toLowerCase()+g.substr(1))},i=function(g){var C=u(g);return C.substr(0,1).toUpperCase()+C.substr(1)},s=function(g,C){return r(g,C).toLowerCase()},l=Object.prototype.toString,f=function(g){return typeof g=="function"},d=function(g){return g===Object(g)},a=function(g){return l.call(g)=="[object Array]"},o=function(g){return l.call(g)=="[object Date]"},c=function(g){return l.call(g)=="[object RegExp]"},h=function(g){return l.call(g)=="[object Boolean]"},p=function(g){return g=g-0,g===g},D=function(g,C){var F=C&&"process"in C?C.process:C;return typeof F!="function"?g:function(b,R){return F(b,g,R)}},E={camelize:u,decamelize:s,pascalize:i,depascalize:s,camelizeKeys:function(g,C){return n(D(u,C),g)},decamelizeKeys:function(g,C){return n(D(s,C),g,C)},pascalizeKeys:function(g,C){return n(D(i,C),g)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(He)})(yn);var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});function wn(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:wn(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:wn(r)}return t}}var fc=Ar.default=wn;function be(e){if(e!==void 0)return typeof e=="object"?fc(e):e}function $e(e){return Object.prototype.toString.call(e)==="[object Object]"}function lc(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function it(e){return Array.isArray(e)}function ye(e){return typeof e=="string"}function Lt(e){return typeof e=="number"}function Cr(e){return typeof e=="function"}function hc(e){return it(e)&&e.every(function(t){return ye(t)})}function dc(e){return it(e)&&e.every(function(t){return Lt(t)||t===""})}function Fr(e){return/^\[.*?]$/.test(e)}function Pt(e){return/^{.*?}$/.test(e)}function Bn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pc(e){if(Array.isArray(e))return Bn(e)}function yr(e,t,n,r,u,i,s){try{var l=e[i](s),f=l.value}catch(d){n(d);return}l.done?t(f):Promise.resolve(f).then(r,u)}function Dc(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function s(f){yr(i,r,u,s,l,"next",f)}function l(f){yr(i,r,u,s,l,"throw",f)}s(void 0)})}}function gc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vc(e,t,n){return t&&wr(e.prototype,t),n&&wr(e,n),e}function Ec(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mc(){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 bn(e){return pc(e)||Ec(e)||Ac(e)||mc()}function Ac(e,t){if(!!e){if(typeof e=="string")return Bn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bn(e,t)}}var Br=function(){function e(){gc(this,e),this._events=new Map,this.debug=!1}return vc(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),i=1;i<r;i++)u[i-1]=arguments[i];var s=this;return Dc(mt.default.mark(function l(){var f,d,a,o,c,h,p,D,E,g;return mt.default.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(f=s._events.get(n),d=[],!f){F.next=42;break}a=f.slice(),o=!0,c=!1,h=void 0,F.prev=5,p=a[Symbol.iterator]();case 7:if(o=(D=p.next()).done){F.next=28;break}if(E=D.value,f.includes(E)){F.next=11;break}return F.abrupt("continue",25);case 11:return F.prev=11,s.debug&&An.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(bn(u))),F.next=15,E.apply(null,bn(u));case 15:if(g=F.sent,s.debug&&An.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bn(u),[g])),d.push(g),g!==!1){F.next=20;break}return F.abrupt("break",28);case 20:F.next=25;break;case 22:F.prev=22,F.t0=F.catch(11),Tt(String(F.t0)+":"+String(F.t0.stack));case 25:o=!0,F.next=7;break;case 28:F.next=34;break;case 30:F.prev=30,F.t1=F.catch(5),c=!0,h=F.t1;case 34:F.prev=34,F.prev=35,!o&&p.return!=null&&p.return();case 37:if(F.prev=37,!c){F.next=40;break}throw h;case 40:return F.finish(37);case 41:return F.finish(34);case 42:return F.abrupt("return",d);case 43:case"end":return F.stop()}},l,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),i=u==null?void 0:u.indexOf(r);u==null||u.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function Cc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function br(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fc(e,t,n){return t&&br(e.prototype,t),n&&br(e,n),e}var yc=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Sr=function(){function e(){Cc(this,e)}return Fc(e,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(u){return r.includes(u.key)})}}]),e}();Sr.events=yc;function wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bc(e,t,n){return t&&Mr(e.prototype,t),n&&Mr(e,n),e}var Nr=[],kt=function(){function e(t){wc(this,e),this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=t,this._initControls(t)}return Bc(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||je("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(u){return u.controlType===n.controlType});return r>-1&&(qe("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===X.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===X.FORM}},{key:"isListControl",value:function(n){return n.controlType===X.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===X.COLUMN}},{key:"createControl",value:function(n,r){if(Array.isArray(n)){var u=this;return n.map(function(o){return u.createControl(o,r)})}if(n.children){var i=this;n.children=n.children.map(function(o){return i.createControl(o,r)})}if(this.isListControl(n)&&n.props.headers){var s=this;n.props.headers=n.props.headers.map(function(o){return s.createControl(o,r)})}var l=this.getControlFormType(n.type);if(l){var f=n;if(typeof r=="function"){var d=r(f);d&&(f=d)}var a=new l(f);return a}else je("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,r){var u=this.getControlFormType(n);if(u)return new u(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(u){r.register(u[n])})}}],[{key:"register",value:function(n){var r=n.Designer,u=n.Runtime;(!r||!u||!r.__is_control__||!u.__is_control__)&&je("".concat(n," is can't register as a Control"));var i=this.staticControls.findIndex(function(s){return s.Designer.controlType===r.controlType});return i>-1&&(qe("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),this}}]),e}();kt.staticControls=Nr,kt.staticRegisteredTypes=new Set(Nr.map(function(e){return e.Designer.controlType})),kt.staticRegisteredConfigs=new Map;function Ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Sn=function e(t){Ye(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:""},ze=function e(){Ye(this,e)},jt=function e(t){Ye(this,e);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var r;this.currency=(r=t==null?void 0:t.currency)!==null&&r!==void 0?r:Mn.CNY},Ut=function e(t){Ye(this,e);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var r;this.max=(r=t==null?void 0:t.max)!==null&&r!==void 0?r:""},Vt=function e(t){Ye(this,e);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var r;this.cityDisplay=(r=t==null?void 0:t.cityDisplay)!==null&&r!==void 0?r:"";var u;this.district=(u=t==null?void 0:t.district)!==null&&u!==void 0?u:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var s;this.province=(s=t==null?void 0:t.province)!==null&&s!==void 0?s:"";var l;this.provinceDisplay=(l=t==null?void 0:t.provinceDisplay)!==null&&l!==void 0?l:""},qt=function e(t){Ye(this,e);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var r;this.unit=(r=t==null?void 0:t.unit)!==null&&r!==void 0?r:""},Mn;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Mn||(Mn={}));var Ir;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"})(Ir||(Ir={}));var Nn;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Nn||(Nn={}));var bc=function e(t){Ye(this,e);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function Sc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function In(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Ht(e,t,n){return Mc()?Ht=Reflect.construct:Ht=function(u,i,s){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(u,l),d=new f;return s&&Bt(d,s.prototype),d},Ht.apply(null,arguments)}function wt(e){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wt(e)}function Nc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bt(e,t)}function Ic(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function _c(e,t){return t&&(Rc(t)==="object"||typeof t=="function")?t:Sc(e)}function Bt(e,t){return Bt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Bt(e,t)}var Rc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _n(e){var t=typeof Map=="function"?new Map:void 0;return _n=function(r){if(r===null||!Ic(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Ht(r,arguments,wt(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Bt(u,r)},_n(e)}function xc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oc(e){var t=xc();return function(){var r=wt(e),u;if(t){var i=wt(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return _c(this,u)}}var $c=function e(t){In(this,e),this.isHide={type:"boolean"}},Tc=function(e){Nc(n,e);var t=Oc(n);function n(r){return In(this,n),t.call(this)}return n}(_n(Array)),zt=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";In(this,e);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new bc(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};zt.Rules=$c,zt.RuntimeRules=Tc,new Br;function Lc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pc(e,t,n){return t&&_r(e.prototype,t),n&&_r(e,n),e}function kc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var Wt=function(){function t(n){Lc(this,t),this.customEvents=[],this.parent=null;var r=kc(this,t)?this.constructor:void 0,u=r.controlType,i=r.controlFieldType,s=r.name,l=r.controlCustomEvents;u||rc("The ".concat(s," controlType is not define"));var f;this.id=(f=n==null?void 0:n.id)!==null&&f!==void 0?f:lr(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:u,this.props=new zt(n==null?void 0:n.props),this.customEvents=l;var a;this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base";var o;this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:i;var c;this.pageStatus=(c=n==null?void 0:n.pageStatus)!==null&&c!==void 0?c:Nn.UNKNOWN}return Pc(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();Wt.controlType="control",Wt.__is_control__=!0,Wt.controlCustomEvents=[];function Rn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jc(e){if(Array.isArray(e))return Rn(e)}function Uc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vc(){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 Rr(e){return jc(e)||Uc(e)||qc(e)||Vc()}function qc(e,t){if(!!e){if(typeof e=="string")return Rn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rn(e,t)}}function Hc(e,t){var n;((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function xr(e,t){e.parent=t,Hc(e,"parent")}function zc(e,t){e.forEach(function(n){xr(n,t)})}var Or=Symbol("targetKey");function $r(e){var t;return(t=e[Or])!==null&&t!==void 0?t:e}function Tr(e,t){return zc(e,t),new Proxy(e,{get:function(r,u){for(var i=arguments.length,s=new Array(i>2?i-2:0),l=2;l<i;l++)s[l-2]=arguments[l];var f;return u===Or?r:(f=Reflect).get.apply(f,[r,u].concat(Rr(s)))},set:function(r,u,i){for(var s=arguments.length,l=new Array(s>3?s-3:0),f=3;f<s;f++)l[f-3]=arguments[f];var d;if(it(e)&&u==="length"&&i===e.length)return!0;var a=(d=Reflect).set.apply(d,[r,u,i].concat(Rr(l)));return $e(i)&&xr(i,t),a}})}function Lr(e,t,n,r){var u=r!=null?r:e,i=Tr($r(n!=null?n:[]),u);Object.defineProperty(e,t,{get:function(){return i},set:function(l){i=Tr($r(l),u)},enumerable:!0})}function Pr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zt(e)}function Zc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xn(e,t)}function Xc(e,t){return t&&(Kc(t)==="object"||typeof t=="function")?t:Pr(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},xn(e,t)}var Kc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gc(e){var t=Jc();return function(){var r=Zt(e),u;if(t){var i=Zt(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return Xc(this,u)}}var Qc=function(e){Zc(n,e);var t=Gc(n);function n(r,u){Wc(this,n);var i;return i=t.call(this,u),Lr(Pr(i),"headers",u==null?void 0:u.headers,r),i}return n}(zt);function On(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function e0(e,t,n){return t&&kr(e.prototype,t),n&&kr(e,n),e}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xt(e)}function t0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$n(e,t)}function n0(e,t){return t&&(r0(t)==="object"||typeof t=="function")?t:On(e)}function $n(e,t){return $n=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},$n(e,t)}var r0=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i0(e){var t=u0();return function(){var r=Xt(e),u;if(t){var i=Xt(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return n0(this,u)}}var o0=function(e){t0(n,e);var t=i0(n);function n(r){Yc(this,n);var u;return u=t.call(this,r),u.controlType="list",u.props=new Qc(On(u),r==null?void 0:r.props),Lr(On(u),"children",r==null?void 0:r.children),u}return e0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Wt);function Kt(e){return e.controlType===X.LAYOUT||e.controlType===X.WRAP||e.controlType===X.LIST||e.controlType===X.SEARCH}function ot(e,t){Array.isArray(e)&&e.map(n=>{if(n.type===W.SUBTABLE){const r=n.getChildrenFormControl();t(n,r)}else Kt(n)?ot(n==null?void 0:n.children,t):n.controlType===X.FORM&&t(n)})}function at(e,t){Array.isArray(e)&&e.map(n=>{n.type===W.DATA_VIEW||n.type===W.SIMPLE_SEARCH?t(n):Kt(n)&&at(n==null?void 0:n.children,t)})}let jr=0;function Ur(e=""){const t=Date.now(),n=Math.floor(Math.random()*1e9);return jr++,e+"_"+n+jr+String(t)}class Tn extends kt{constructor(t){super("Runtime");this._flatInstances=[],this._instanceMap={};const{schema:n}=t;this._schema=n,this._instance=this.createControl(n,t.beforeCreateInstance),this.getFlatInstances()}getFlatInstances(){const t=[],n={};return Vr(this._instance,r=>{r.type==="subtable-row"||r.type==="subtable-column"||(t.push(r),n[r.id]||(n[r.id]=[]),n[r.id].push(r))}),this._flatInstances=t,this._instanceMap=n,this._flatInstances}get schema(){return this._schema}get instance(){return this._instance}get flatInstances(){return this._flatInstances}get instanceMap(){return this._instanceMap}get allRules(){let t={},n={};return at(this._instance,r=>{n[r.id]=r.rules[0],t[r.id]=r.rules[0],ot(r.children,u=>{(u.controlType===X.FORM||u.controlType===X.LIST)&&(qr(n[r.id].fields,u),Hr(t[r.id].fields,u))})}),{rules:n,antdRules:t}}get rules(){let t={};return at(this._instance,n=>{t[n.id]=n.rules[0],ot(n.children,r=>{(r.controlType===X.FORM||r.controlType===X.LIST)&&qr(t[n.id].fields,r)})}),t}get antdRules(){let t={};return at(this._instance,n=>{t[n.id]=n.rules[0],ot(n.children,r=>{(r.controlType===X.FORM||r.controlType===X.LIST)&&Hr(t[n.id].fields,r)})}),t}}function Vr(e,t){Array.isArray(e)?e.map(n=>{t(n),Kt(n)&&Vr(n.children,t)}):t(e)}function Ln(e){return e.props.isHide?!0:e.parent===null?!1:Ln(e.parent)}function qr(e,t){if(!Ln(t)){if(t.controlType===X.FORM)e[t.id]=t.rules;else if(t.type===W.SUBTABLE){e[t.id]=t.rules;const n={type:"array",fields:{}};t.children.forEach((r,u)=>{Qe(r.children,i=>{n.fields&&(n.fields[u]||(n.fields[u]={type:"object",required:!0,fields:{}}),n.fields[u].fields[i.id]=i.rules)})}),e[t.id].push(n)}}}function Hr(e,t){Ln(t)||(t.controlType===X.FORM?e[t.id]=t.rules:t.type===W.SUBTABLE&&t.children.length&&(e[t.id]=[],t.children.forEach(n=>{let r={};Qe(n.children,u=>{r[u.id]=u.rules}),e[t.id].push(r)})))}class a0{constructor(t){const{state:n,emptyState:r,databindMapping:u,controlidMapping:i}=s0(t.instance);this.emptyState=r,this.state=n,this.dataBindMapping=u,this.controlIdMapping=i}setState(t,n,r){const u=this.controlIdMapping[t];u!==void 0?this.state[u.dataView][t]=n:r!==void 0?Object.keys(this.controlIdMapping).map(i=>{const s=this.controlIdMapping[i].dataView,l=this.controlIdMapping[i].children;l!==void 0&&Object.keys(l).map(f=>{f===t&&(this.state[s][i][r][t]=n)})}):this.state[t]=n}getState(t,n){if(this.state[t]!==void 0)return this.state[t];{const u=this.controlIdMapping[t];if(u!==void 0)return this.state[u.dataView][t];if(n!==void 0){let i;return Object.keys(this.controlIdMapping).map(s=>{const l=this.controlIdMapping[s].dataView,f=this.controlIdMapping[s].children;f!==void 0&&Object.keys(f).map(d=>{var a;d===t&&(i=(a=this.state[l][s][n])==null?void 0:a[t])})}),i}else{let i=[];return Object.keys(this.controlIdMapping).map(s=>{const l=this.controlIdMapping[s].dataView,f=this.controlIdMapping[s].children;f!==void 0&&Object.keys(f).map(d=>{d===t&&this.state[l][s].map(a=>{i.push(a[t])})})}),i}}}getEmptyState(t){if(this.emptyState[t]!==void 0)return this.emptyState[t];{const r=this.controlIdMapping[t];if(r!==void 0){const u=this.emptyState[r.dataView][t];return"children"in r&&Object.assign(u,{uid:"new:"+Ur("uid")}),u}else{let u;return Object.keys(this.controlIdMapping).map(i=>{const s=this.controlIdMapping[i].dataView,l=this.controlIdMapping[i].children;l!==void 0&&Object.keys(l).map(f=>{f===t&&(u=this.emptyState[s][i][t])})}),u}}}getDataBind(t){let n=this.controlIdMapping[t];if(n)return n.dataBind;e:for(let r in this.controlIdMapping){const u=this.controlIdMapping[r];if(u.children){for(let i in u.children)if(i===t){n=u.children[i];break e}}}return n==null?void 0:n.dataBind}}function s0(e){let t={},n={},r={},u={};return at(e,i=>{const s=i.id,l={},f={};ot([i],(d,a)=>{c0(l,f,d),f0(r,s,d),l0(u,s,d)}),t[s]=l,n[s]=f}),{state:t,emptyState:n,databindMapping:r,controlidMapping:u}}function c0(e,t,n){var r;if(n.controlType===X.FORM)t[n.id]=be(n.props.defaultValue);else{const u={};Qe(n.props.headers,i=>{u[i.id]=be(i.props.defaultValue)}),e[n.id]=new Array((r=n.props.defaultRows)!=null?r:1).fill(0).map(()=>be(u)),t[n.id]=u}}function f0(e,t,n){var r,u;if(n.controlType===X.FORM)n.props.dataBind instanceof ze?Object.keys(n.props.dataBind).map(i=>{const s=n.props.dataBind,l=s[i].dataCode;l!==void 0&&(e[l]===void 0&&(e[l]={controlId:n.id,fields:[],dataViewId:t}),e[l].fields.push({fieldCode:s[i].fieldCode,controlId:n.id,dataBind:s,dataViewId:[t]}))}):((u=(r=n.props)==null?void 0:r.dataBind)==null?void 0:u.dataCode)===void 0||(e[n.props.dataBind.dataCode]===void 0&&(e[n.props.dataBind.dataCode]={controlId:t,fields:[],dataViewId:t}),e[n.props.dataBind.dataCode].fields.push({fieldCode:n.props.dataBind.fieldCode,controlId:n.id,dataBind:n.props.dataBind,dataViewId:[t]}));else{if(n.props.datasourceBind.dataCode===""){qe(`datasourceBind.dataCode is empty! maybe in preview mode, control:${n.id} type:${n.type}`);return}e[n.props.datasourceBind.dataCode]={controlId:n.id,fields:[],dataViewId:t};const i=n.id;Qe(n.props.headers,s=>{s.props.dataBind instanceof ze?Object.keys(s.props.dataBind).map(l=>{const f=s.props.dataBind,d=f[l].dataCode;e[d].fields.push({fieldCode:f[l].fieldCode,controlId:s.id,dataBind:f,dataViewId:[t,i]})}):e[s.props.dataBind.dataCode].fields.push({fieldCode:s.props.dataBind.fieldCode,controlId:s.id,dataBind:s.props.dataBind,dataViewId:[t,i]})})}}function l0(e,t,n){n.controlType===X.FORM?e[n.id]={dataBind:n.props.dataBind,options:[],dataView:t}:n.type===W.SUBTABLE&&(e[n.id]={dataBind:new Sn({dataCode:n.props.datasourceBind.dataCode,fieldCode:""}),dataView:t,children:{},options:[]},Qe(n.props.headers,r=>{var u,i;Object.assign((i=(u=e[n.id])==null?void 0:u.children)!=null?i:{},{[r.id]:{dataBind:r.props.dataBind}})}))}const zr=["splice","push","shift","pop","unshift","reverse"],Pn=Symbol("__engineProxy__"),kn=Symbol("__engineTarget__"),Wr=Symbol("__engineArrayBeforeSetCallbackFlag__"),Zr=Symbol("__engineProxyThisKey__"),_e={type:"",args:[],callback:Xr};function Xr(){}g0();function h0(e,t,n,r,u){if(_e.type){_e.callback=u.bind(null,e,r);return}const i=Number(t);if(i>e.length){je(`Wrong array operations may cause unknown errors. It is recommended to use APIs such as ${zr.join(",")} for array operations`);return}if(!(Number.isNaN(i)&&t!=="length"))if(t==="length"){const l=n,f=e.length;if(l>e.length){je("Do not directly modify the length of the array data, please add new rows");return}return l===e.length?void 0:()=>u.call(null,e,r,"splice",[l,f-l])}else return i===e.length?()=>u.call(null,e,r,"push",[n]):()=>u.call(null,e,r,"splice",[i,1,n])}function d0(e,t,n){return{__engineProxy__:!0,get(r,u,i){return u===Pn?!0:u===kn?r:Array.isArray(r)&&u===Wr?n:u===Zr?e:Reflect.get(r,u,i)},set(r,u,i,s){var c;let l=i;const f=r[u],d=e===""?u:e+"."+u;function a(h){if(typeof h=="object"&&h!==null)return h[Pn]!==!0?Jt(h,t,n,d):Jt(h[kn],t,n,d)}l=(c=a(i))!=null?c:l;let o;if(Array.isArray(r)){const h=h0(r,u,i,e,t);o=Reflect.set(r,u,l,s),h&&h()}else{try{let h=l;if(l=n.call(null,r,d,l,f),h!==l){const p=a(l);p!==void 0&&(l=p)}}catch(h){return Tt(`${d} set error ${h}`),!0}o=Reflect.set(r,u,l,s),t.call(null,r,d,i,f)}return o}}}function Jt(e,t,n,r=""){if(Object.isFrozen(e))return e;for(let u in e){const i=r===""?u:r+"."+u,s=e[u];typeof s=="object"&&s!==null&&(e[u]=Jt(s,t,n,i))}return new Proxy(e,d0(r,t,n))}function Kr(e){const t=[];return e.forEach(n=>{t.push(n),n.controlType==="layout"&&t.push(...Kr(n.children))}),t}function jn(e,t,n){if(t==="")return;const r=t.split(".");if(r.length===0)return;const u=r[0],i=r.slice(1),s=n[u]?n[u][0]:void 0;return i.length===0?s:i.reduce((l,f)=>{var o,c;const d=Number(f);if(Number.isNaN(d)&&l){const h=(l==null?void 0:l.children)?Kr(l.children):void 0,p=h==null?void 0:h.find(D=>D.id===f);return p||(l.controlType===X.FORM?l:void 0)}else return(c=(o=l==null?void 0:l.children)==null?void 0:o[d])!=null?c:l},s)}function p0(e,t){return["push","unshift"].includes(e)?t:e==="splice"?t.slice(2):[]}function D0(e,t,n){if(["push","unshift"].includes(e))return n;if(e==="splice")return t.slice(0,2).concat(n)}function g0(){zr.forEach(e=>{const t=Array.prototype[e];Array.prototype[e]=function(...n){var r;if(this[Pn]){let u;const i=p0(e,n);if(i.length){const s=(r=this[Wr])==null?void 0:r.call(this,this[kn],this[Zr],i),l=D0(e,n,s);_e.type=e,_e.args=l,u=t.apply(this,l)}else _e.type=e,_e.args=n,u=t.apply(this,n);return typeof _e.callback=="function"&&_e.callback(e,n,u),_e.type="",_e.args=[],_e.callback=Xr,u}else return t.apply(this,n)}})}class v0{constructor(){this.actionMap=new Map,this.buildinActions={},this.actionUtils={},this.sources={}}execAction(t,n,...r){return Pe(this,null,function*(){const u=this.actionMap.get(t);if(!!u)try{return yield u.func.call(null,n,...r)}catch(i){Tt(`${u.id} Exception during calling action: ${i}`)}})}addAction(t,n){this.actionMap.has(t)&&je("duplicated action key");const r=new E0(t,n);this.actionMap.set(t,r)}}class E0{constructor(t,n){this.id="",this.id=t,this.func=n}}class m0{constructor(t){this._dataStore=new Map,this.executer=t}add(t,n){this._dataStore.set(t,n)}get(t){let n=this._dataStore.get(t);return be(n)}remove(t){this._dataStore.delete(t)}getRemoteData(t){return Pe(this,null,function*(){return this.executer===void 0?(Tt("\u672A\u521D\u59CB\u5316executer"),[]):this.executer(t)})}}class We{}class bt extends We{validate(t){return ye(t)}transform(t){if(t==null)return"";if(!$e(t)&&!Cr(t))return String(t);if(lc(t))return JSON.stringify(t);throw`${t} is not a string`}}class Un extends We{validate(t){return Lt(t)||t===""}transform(t){if(t==null)return"";const n=!$e(t)&&!Cr(t)?Number(t):void 0;if(!Number.isNaN(n)&&n!==void 0)return n;throw`${t} is not a number`}}class A0 extends We{validate(t){return hc(t)}transform(t){if(t==null)return[];function n(r){return r.map(u=>u?String(u):"")}if(it(t))return n(t);if(ye(t)&&Fr(t))try{const r=JSON.parse(t);if(Array.isArray(r))return n(r)}catch(r){}return[String(t)]}}class C0 extends We{validate(t){return dc(t)}transform(t){if(t==null)return[];function n(u){return u.map(i=>!i&&i!==0?"":Number(i)).filter(i=>i===""||!Number.isNaN(i))}if(it(t))return n(t);if(ye(t)&&Fr(t))try{const u=JSON.parse(t);if(it(u))return n(u)}catch(u){}const r=Number(t);if(Number.isNaN(r))throw`${t} is not a number array`;return[r]}}class F0 extends We{validate(t){return t instanceof jt||$e(t)&&"amount"in t&&Lt(t.amount)&&"currency"in t&&ye(t.currency)}transform(t,n){if(t==null||t==="")return new jt({currency:n==null?void 0:n.currency});let r;if($e(t)&&(r=new jt(ne(ne({},n),t))),ye(t)&&Pt(t))try{const u=JSON.parse(t);r=new jt(ne(ne({},n),u))}catch(u){}if(r){const u=new Un,i=new bt;return u.validate(r.amount)||(r.amount=u.transform(r.amount)),i.validate(r.currency)||(r.currency=i.transform(r.currency)),r}throw`${t} is not a { amount: number, currency: string } object`}}class y0 extends We{validate(t){return t instanceof Ut||$e(t)&&"min"in t&&ye(t.min)&&"max"in t&&ye(t.max)}transform(t,n){if(t==null||t==="")return new Ut;let r;if($e(t)&&(r=new Ut(ne(ne({},n),t))),ye(t)&&Pt(t))try{const u=JSON.parse(t);r=new Ut(ne(ne({},n),u))}catch(u){}if(r){const u=new bt;return u.validate(r.min)||(r.min=u.transform(r.min)),u.validate(r.max)||(r.max=u.transform(r.max)),r}throw`${t} is not a { min: string, max: string } object`}}class w0 extends We{validate(t){return t instanceof qt||$e(t)&&"result"in t&&Lt(t.result)&&"unit"in t&&ye(t.unit)}transform(t,n){if(t==null||t==="")return new qt({unit:n==null?void 0:n.unit});let r;if($e(t)&&(r=new qt(ne(ne({},n),t))),ye(t)&&Pt(t))try{const u=JSON.parse(t);r=new qt(ne(ne({},n),u))}catch(u){}if(r){const u=new Un,i=new bt;return u.validate(r.result)||(r.result=u.transform(r.result)),i.validate(r.unit)||(r.unit=i.transform(r.unit)),r}throw`${t} is not a { result: string, unit: string } object`}}class B0 extends We{validate(t){return t instanceof Vt}transform(t,n){if(t==null||t==="")return new Vt;let r;if($e(t)&&(r=new Vt(ne(ne({},n),yn.exports.camelizeKeys(t)))),ye(t)&&Pt(t))try{const u=JSON.parse(t);r=new Vt(ne(ne({},n),yn.exports.camelizeKeys(u)))}catch(u){}if(r){const u=new bt;return u.validate(r.city)||(r.city=u.transform(r.city)),u.validate(r.district)||(r.district=u.transform(r.district)),u.validate(r.province)||(r.province=u.transform(r.province)),r}throw`${t} is not a { city: string, district: string, province: string } object`}}class b0{static getValueChecker(t){let n;switch(t){case H.VARCHAR:case H.TIMESTAMP:case H.TEXT:case H.RELATION:case H.AUTO_NUMBER:n=new bt;break;case H.DECIMAL:n=new Un;break;case H.EMPLOYEES:case H.DEPARTMENTS:case H.IMAGE:case H.FILE:case H.ARRAY:n=new A0;break;case H.MONEY:n=new F0;break;case H.TIMESCOPE:n=new y0;break;case H.CALC:n=new w0;break;case H.DECIMAL_RANGE:n=new C0;break;case H.ADDRESS:n=new B0;break}return n}}function S0(e){if(["min","max","currency","unit"].includes(e))return H.VARCHAR;if(["result","amount"].includes(e))return H.DECIMAL}function Jr(e,t,n,r){var s;let u=(s=S0(t))!=null?s:e,i=b0.getValueChecker(u);if(!i||i.validate(n))return n;try{const l=i.transform(n,r);return l!==void 0?l:n}catch(l){throw`${t} ${l}`}}function M0(e,t,n){return Object.entries(e).reduce((r,[u,i])=>{const s=t[u];return r[u]=Jr(i,u,s,n[u]),r},Object.assign({},t))}typeof window!="undefined"&&(window.engines={});let st=null,St="";class N0 extends Br{constructor(t){super();this.rawStore={},this.isMounted=!1,this.id=lr(8),this.__pluginsApplied=!1,this.actionManager=new v0,this._jobTasks=[],this.createControlInstance=this.createInstance,this.$options=Object.freeze(t);const{autoMount:n=!0,schema:r,beforeCreateInstance:u,externalParams:i,language:s=sr,debug:l=!1}=this.$options;Fn.setLocale(s),this.debug=l,this.runtime=new Tn({schema:r,beforeCreateInstance:u}),this.externalParams=i,this.store=new a0({instance:this.runtime.instance}),this.debugLog("engine is Instantiation complete"),n&&this.mount()}debugLog(...t){this.debug&&An(...t)}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}registerControl(...t){return this.runtime.register(...t),this}static register(...t){return Tn.register(...t)}static judgeControlIsRegistered(t){return Tn.staticRegisteredTypes.has(t.Runtime.controlType)}mount(){this.debugLog("engine\u7684mount\u65B9\u6CD5\u5F00\u59CB\u8C03\u7528");const{plugins:t=[]}=this.$options;this._handlerProxyState(),this.__plugins=t,this.applyPlugins(),this.setStates(this.getState()),this.debugLog("engine\u7684mount\u65B9\u6CD5\u8C03\u7528\u7ED3\u675F"),this.debug&&typeof window!="undefined"&&(window.engines[this.id]=this)}destroy(){this.debug&&typeof window!="undefined"&&delete window.engines[this.id]}_handlerProxyState(){this.store.state=Jt(this.store.state,this._proxyStateCallback.bind(this),this._proxyStateBeforeSetCallback.bind(this))}_proxyStateBeforeSetCallback(t,n,r,u){const i=jn(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!i)return r;if(this.assertInstance(i,W.SUBTABLE)){if(r===null)return[];const f=i.props.headers.reduce((a,o)=>{const c=o.children[0];return c&&c.controlType===X.FORM&&(a[c.id]=c.fieldType),a},{}),d=this.getEmptyState(i.id);return r.map(a=>M0(f,a,d))}const s=n.split("."),l=s[s.length-1];try{return Jr(i.fieldType,l,r,u)}catch(f){throw qe(`the id=${i.id}'s instance setState error, %o ${f}.`,r),f}}_proxyStateCallback(t,n,r,u,i){Array.isArray(t)?this._handlerArrayUpdate(t,n,r,u,i):this._handlerObjectUpdate(t,n,r,u)}_handlerArrayUpdate(t,n,r,u,i){const s=jn(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!(s instanceof o0))return;const l=c=>{const h=[];for(let p=0;p<c;p++){const D=this.listControlCreateRow(s,"subtable-row");D&&h.push(D)}return h},f=st;let d=[],a=[],o=[];if(r&&u){switch(r){case"push":case"unshift":const c=u.length;d=l(c),a=u,s.children[r](...d),this.runtime.getFlatInstances();break;case"splice":if(u.length>2){const h=u.length-2,p=u.slice(2);d=l(h),a=p;const D=u[0],E=u[1];s.children[r](D,E,...d),this.runtime.getFlatInstances()}else s.children[r](...u),this.runtime.getFlatInstances();break;default:s.children[r](...u),this.runtime.getFlatInstances();break}r==="splice"?o=i:["pop","shift"].includes(r)&&(o=[i]),this.emit("list-change",{instance:s,value:this.getState(s.id),options:Object.assign({},f,{changed:d,data:a,deleted:o!=null?o:[],jsonValue:JSON.stringify(this.getState(s.id))})}),st=null}}_handlerObjectUpdate(t,n,r,u){const i=jn(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!i)return;const s=this.getInstanceRowIndex(i),l=st||{};if(i.controlType===X.LIST){i.children.length=0;const f=r;let d=[];for(let a=0;a<f.length;a++){const o=this.listControlCreateRow(i,"subtable-row");o&&d.push(o)}i.children.push(...d),this.runtime.getFlatInstances(),this.emit("list-change",{instance:i,value:r,options:ar(ne({},l),{changed:d,data:f,deleted:u!=null?u:[]})})}else this.emit("change",{instance:i,value:this.getState(i.id,s),rowIndex:s,options:ar(ne({},l),{oldValue:u})})}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{St=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this)}catch(r){je(`${St} Plugin apply Error
|
|
1
|
+
var cd=Object.defineProperty,fd=Object.defineProperties;var ld=Object.getOwnPropertyDescriptors;var si=Object.getOwnPropertySymbols;var hd=Object.prototype.hasOwnProperty,dd=Object.prototype.propertyIsEnumerable;var pn=Math.pow,ci=(z,Y,ie)=>Y in z?cd(z,Y,{enumerable:!0,configurable:!0,writable:!0,value:ie}):z[Y]=ie,ne=(z,Y)=>{for(var ie in Y||(Y={}))hd.call(Y,ie)&&ci(z,ie,Y[ie]);if(si)for(var ie of si(Y))dd.call(Y,ie)&&ci(z,ie,Y[ie]);return z},ar=(z,Y)=>fd(z,ld(Y));var Pe=(z,Y,ie)=>new Promise((Ot,mt)=>{var Dn=ke=>{try{At(ie.next(ke))}catch(Ct){mt(Ct)}},gn=ke=>{try{At(ie.throw(ke))}catch(Ct){mt(Ct)}},At=ke=>ke.done?Ot(ke.value):Promise.resolve(ke.value).then(Dn,gn);At((ie=ie.apply(z,Y)).next())});(function(z,Y){typeof exports=="object"&&typeof module!="undefined"?Y(exports,require("regenerator-runtime"),require("crypto")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime","crypto"],Y):(z=typeof globalThis!="undefined"?globalThis:z||self,Y(z.modelDrivenEngine={},z.regeneratorRuntime,z.require$$0))})(this,function(z,Y,ie){"use strict";function Ot(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var mt=Ot(Y),Dn=Ot(ie),gn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",At="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",ke="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Ct="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",fi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",li="{caption}\u5FC5\u586B",hi="\u8BF7\u8F93\u5165\u6807\u9898",di="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",pi="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Di="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",gi="\u8BF7\u7ED1\u5B9A\u8868\u5355",vi="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ei="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mi="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ai="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ci="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Fi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",yi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",wi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Bi="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",bi="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Si="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Mi="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ni="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ii="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",_i="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ri="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xi="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Oi="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",$i="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ti="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Li="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Pi="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ki="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ji="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Ui="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Vi="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",qi="\u8BF7\u9009\u62E9\u7701",Hi="\u8BF7\u9009\u62E9\u5E02",zi="\u8BF7\u9009\u62E9\u533A",Wi="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Zi="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Xi="\u8BF7\u8F93\u5165\u5217\u5BBD",Ki="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Ji="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Gi="\u8BF7\u9009\u62E9\u63A7\u4EF6",Qi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Yi="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",eo="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",to="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",no="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ro="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",uo="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",io="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",oo="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ao="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",so="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",co="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",fo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",lo="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ho="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",po="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Do="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",go="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",vo="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Eo="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",mo="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ao={isNotNumber:gn,isNotString:At,isNotObject:ke,isNotArray:Ct,isNotBoolean:fi,runtimeRequired:li,pleaseEnterCaption:hi,pleaseEnterCaptionTip:di,pleaseEnterPlaceholder:pi,pleaseEnterFieldCode:Di,pleaseEnterForm:gi,pleaseEnterList:vi,pleaseEnterProcess:Ei,pleaseEnterLabel:mi,pleaseEnterValue:Ai,bizKeyNotBindFiled:Ci,pleaseSelectOneField:Fi,pleaseEnterNumberRange:yi,pleaseEnterAValueGreaterThanMin:wi,pleaseEnterAValueLessThanMax:Bi,numberRangeSetError:bi,stringRangeError:Si,attachmentMaxSize:Mi,pleaseEnterTotalScoreSetting:Ni,theTotalScoreMustNotBeLessThan1:Ii,scoreDefaultValueRange:_i,attachmentLimitError:Ri,PleaseReselectTheOptionalQuantity:xi,TheMaximumLengthIsGreaterThanTheMinimumLength:Oi,TheMinimumLengthIsGreaterThanTheMaximumLength:$i,PleaseSelectTheCorrectOptionSettings:Ti,optionIdIsRepeat:Li,optionIsRequired:Pi,pleaseEnterDataCode:ki,pleaseEnterValueFieldCode:ji,pleaseEnterSvcCode:Ui,pleaseBindAtLeastOneDisplayValue:Vi,pleaseSelectProvince:qi,pleaseSelectCity:Hi,pleaseSelectDistrict:zi,limitRowsCannotBeLessThan0:Wi,TheNumberOfRowsCannotBeLessThanMinRows:Zi,pleaseEnterColumnWidth:Xi,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ki,pleaseCompleteAllRulesAndConditions:Ji,pleaseSelectControl:Gi,pleaseSelectAtLeastOneColumn:Qi,pleaseSelectFillBackMode:Yi,pleaseSelectDashboard:eo,rootNodeIsRequired:to,theViewNameCannotBeEmpty:no,pleaseSelectOcrType:ro,pleaseSelectAtLeastOneFieldToFillIn:uo,pleaseChooseAtLeastOne:io,pleaseEnterButtonContent:oo,pleaseEnterDataCodeInDataSetting:ao,pleaseEnterValueFieldCodeInDataSetting:so,pleaseEnterSvcCodeInDataSetting:co,pleaseBindAtLeastOneDisplayValueInDataSetting:fo,rootNodeIsRequiredInDataSetting:lo,pleaseEnterMaxHeight:ho,pleaseEnter:po,pleaseEnterWatermark:Do,pleaseEnterFileName:go,pleaseUploadAtLeastOnePrintTemplate:vo,pleaseAssignBusiness:Eo,pleaseAssignExternal:mo},Co="Please enter a number",Fo="Please enter a string",yo="Please enter an object",wo="Please enter an array",Bo="Please enter a boolean",bo="{caption} Required",So="Please enter the title",Mo="Please enter the bubble prompt",No="Please enter the prompt text",Io="Please bind data items",_o="Please bind the form",Ro="Please bind the list",xo="Please bind the process",Oo="Please enter the displayed value",$o="Please enter the stored value",To="The document number is not bound to the data item",Lo="Please select at least one display field",Po="Please enter a value greater than or equal to {min} and less than or equal to {max}",ko="Please enter a value greater than or equal to {min}",jo="Please enter a value less than or equal to {max}",Uo="The value range is set incorrectly",Vo="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",qo="The attachment size must be between 0MB and 1000MB",Ho="Please fill in the total score setting",zo="The total score cannot be less than 1",Wo="The default value must be between {min} and {max}",Zo="The number of attachments uploaded must be between {min} and {max}",Xo="Please re-select the optional quantity",Ko="The maximum length of the control must be greater than the minimum length",Jo="The minimum length of the control must be less than the maximum length",Go="Please select the correct option setting",Qo="Option ID cannot be repeated",Yo="Please enter at least one option",ea="Please bind the data source",ta="Please bind the stored value",na="Please bind the service",ra="At least one display value must be bound",ua="Please select a province",ia="Please select a city",oa="Please select a district",aa="The minimum number of lines to fill in cannot be less than 0",sa="The number of rows cannot be less than {min} rows",ca="Please enter the column width",fa="Please set the logical relationship of all rule conditions",la="Please complete all rules and conditions",ha="please select control",da="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",pa="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Da="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ga="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",va="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ea="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ma="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Aa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ca="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Fa="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ya="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",wa="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ba="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ba="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sa="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ma="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Na="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ia="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_a={isNotNumber:Co,isNotString:Fo,isNotObject:yo,isNotArray:wo,isNotBoolean:Bo,runtimeRequired:bo,pleaseEnterCaption:So,pleaseEnterCaptionTip:Mo,pleaseEnterPlaceholder:No,pleaseEnterFieldCode:Io,pleaseEnterForm:_o,pleaseEnterList:Ro,pleaseEnterProcess:xo,pleaseEnterLabel:Oo,pleaseEnterValue:$o,bizKeyNotBindFiled:To,pleaseSelectOneField:Lo,pleaseEnterNumberRange:Po,pleaseEnterAValueGreaterThanMin:ko,pleaseEnterAValueLessThanMax:jo,numberRangeSetError:Uo,stringRangeError:Vo,attachmentMaxSize:qo,pleaseEnterTotalScoreSetting:Ho,theTotalScoreMustNotBeLessThan1:zo,scoreDefaultValueRange:Wo,attachmentLimitError:Zo,PleaseReselectTheOptionalQuantity:Xo,TheMaximumLengthIsGreaterThanTheMinimumLength:Ko,TheMinimumLengthIsGreaterThanTheMaximumLength:Jo,PleaseSelectTheCorrectOptionSettings:Go,optionIdIsRepeat:Qo,optionIsRequired:Yo,pleaseEnterDataCode:ea,pleaseEnterValueFieldCode:ta,pleaseEnterSvcCode:na,pleaseBindAtLeastOneDisplayValue:ra,pleaseSelectProvince:ua,pleaseSelectCity:ia,pleaseSelectDistrict:oa,limitRowsCannotBeLessThan0:aa,TheNumberOfRowsCannotBeLessThanMinRows:sa,pleaseEnterColumnWidth:ca,pleaseSetTheLogicalRelationshipOfAllRuleConditions:fa,pleaseCompleteAllRulesAndConditions:la,pleaseSelectControl:ha,pleaseSelectDashboard:da,theViewNameCannotBeEmpty:pa,pleaseSelectOcrType:Da,pleaseSelectAtLeastOneFieldToFillIn:ga,pleaseChooseAtLeastOne:va,pleaseEnterButtonContent:Ea,pleaseEnterDataCodeInDataSetting:ma,pleaseEnterValueFieldCodeInDataSetting:Aa,pleaseEnterSvcCodeInDataSetting:Ca,pleaseBindAtLeastOneDisplayValueInDataSetting:Fa,rootNodeIsRequiredInDataSetting:ya,pleaseEnterMaxHeight:wa,pleaseEnter:Ba,pleaseEnterWatermark:ba,pleaseEnterFileName:Sa,pleaseUploadAtLeastOnePrintTemplate:Ma,pleaseAssignBusiness:Na,pleaseAssignExternal:Ia},Ra="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xa="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$a="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ta="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",La="{caption}\u5FC5\u9808",Pa="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ka="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ja="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ua="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Va="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qa="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ha="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",za="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Za="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Xa="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ka="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ja="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ga="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qa="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ya="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",es="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ts="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ns="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",rs="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",us="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",is="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",os="\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",as="\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",ss="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cs="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fs="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ls="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hs="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ds="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ps="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ds="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gs="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vs="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Es="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ms="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",As="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cs="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Fs="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ys="please select control",ws="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Bs="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ss="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ms="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ns="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Is="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",_s="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",xs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Os="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",$s="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ts="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ls="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ps="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ks="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",js="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Us="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Vs={isNotNumber:Ra,isNotString:xa,isNotObject:Oa,isNotArray:$a,isNotBoolean:Ta,runtimeRequired:La,pleaseEnterCaption:Pa,pleaseEnterCaptionTip:ka,pleaseEnterPlaceholder:ja,pleaseEnterFieldCode:Ua,pleaseEnterForm:Va,pleaseEnterList:qa,pleaseEnterProcess:Ha,pleaseEnterLabel:za,pleaseEnterValue:Wa,bizKeyNotBindFiled:Za,pleaseSelectOneField:Xa,pleaseEnterNumberRange:Ka,pleaseEnterAValueGreaterThanMin:Ja,pleaseEnterAValueLessThanMax:Ga,numberRangeSetError:Qa,stringRangeError:Ya,attachmentMaxSize:es,pleaseEnterTotalScoreSetting:ts,theTotalScoreMustNotBeLessThan1:ns,scoreDefaultValueRange:rs,attachmentLimitError:us,PleaseReselectTheOptionalQuantity:is,TheMaximumLengthIsGreaterThanTheMinimumLength:os,TheMinimumLengthIsGreaterThanTheMaximumLength:as,PleaseSelectTheCorrectOptionSettings:ss,optionIdIsRepeat:cs,optionIsRequired:fs,pleaseEnterDataCode:ls,pleaseEnterValueFieldCode:hs,pleaseEnterSvcCode:ds,pleaseBindAtLeastOneDisplayValue:ps,pleaseSelectProvince:Ds,pleaseSelectCity:gs,pleaseSelectDistrict:vs,limitRowsCannotBeLessThan0:Es,TheNumberOfRowsCannotBeLessThanMinRows:ms,pleaseEnterColumnWidth:As,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Cs,pleaseCompleteAllRulesAndConditions:Fs,pleaseSelectControl:ys,pleaseSelectDashboard:ws,theViewNameCannotBeEmpty:Bs,pleaseSelectOcrType:bs,pleaseSelectAtLeastOneFieldToFillIn:Ss,pleaseChooseAtLeastOne:Ms,pleaseEnterButtonContent:Ns,pleaseEnterDataCodeInDataSetting:Is,pleaseEnterValueFieldCodeInDataSetting:_s,pleaseEnterSvcCodeInDataSetting:Rs,pleaseBindAtLeastOneDisplayValueInDataSetting:xs,rootNodeIsRequiredInDataSetting:Os,pleaseEnterMaxHeight:$s,pleaseEnter:Ts,pleaseEnterWatermark:Ls,pleaseEnterFileName:Ps,pleaseUploadAtLeastOnePrintTemplate:ks,pleaseAssignBusiness:js,pleaseAssignExternal:Us},qs={zhCN:Ao,enUS:_a,jaJP:Vs},Ie;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(Ie||(Ie={}));var ut;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(ut||(ut={}));var sr="zh-CN";function Fe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var X;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(X||(X={}));var W;(function(e){e.TITLE="title",e.LINK="link",e.BUTTON="button",e.DIVIDER="divider",e.TEXT="text",e.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",e.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",e.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",e.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",e.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",e.EXPORT_LIST_BUTTON="list-page-btn-export-list",e.LIST_SELECT_BUTTON="list-select-button",e.ORGANIZATION_SELECTION="organization-selection",e.FORM_SELECT_BUTTON="form-select-button",e.LIST_VIEW_SELECT="list-view-select",e.TEXT_OCR_BUTTON="text-ocr-button",e.INVOICE_CHECK_BUTTON="invoice-check-button",e.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",e.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",e.VARCHAR_COLUMN="varchar-column",e.TEXT_COLUMN="text-column",e.DECIMAL_COLUMN="decimal-column",e.TIMESCOPE_COLUMN="timescope-column",e.TIMESTAMP_COLUMN="timestamp-column",e.ARRAY_COLUMN="array-column",e.DEPARTMENT_COLUMN="department-column",e.AUTO_NUMBER_COLUMN="auto-number-column",e.FILE_COLUMN="file-column",e.IMAGE_COLUMN="image-column",e.PEOPLE_COLUMN="people-column",e.LOCATION_COLUMN="location-column",e.CUSTOM_COLUMN="custom-column",e.ORDER_COLUMN="order-column",e.OPERATION_COLUMN="operation-column",e.EMPLOYEE_COLUMN="employee-column",e.Approval_Status_Column="approval-status-column",e.ADDRESS="address",e.AMOUNT="amount",e.ATTACHMENT="attachment",e.AUTO_NUMBER="auto-number",e.CALC="calc",e.CHECKBOX="checkbox",e.DATE_PICKER="date-picker",e.DATE_RANGE="date-range",e.DEPARTMENT="department",e.EMPLOYEE="employee",e.IMAGE="image",e.INPUT="input",e.NUMBER="number",e.RADIO="radio",e.RICH_TEXT="rich-text",e.SCORE="score",e.SEARCH_DATE_RANGE="search-date-range",e.SEARCH_NUMBER_RANGE="search-number-range",e.SEARCH_INPUT="search-input",e.SELECT="select",e.SELECT_MULTIPLE="select-multiple",e.SELECT_RELATION="select-relation",e.VUE_FORM_ITEM="vue-form-item",e.TEXTAREA="textarea",e.EMAIL="email",e.FOOTER="footer",e.HEADER="header",e.ID_CARD="id-card",e.MOBILE="mobile",e.PHONE="phone",e.RADIO_IMAGE="radio-image",e.ELECTRONIC_SIGNATURE="electronic-signature",e.WPS="wps",e.CARD_GROUP="card-group",e.COL="col",e.GRID="grid",e.GRID_ROW="grid-row",e.GRID_TABLE_COLUMN="grid-table-column",e.ROW="row",e.TWO_COLUMNS="two-columns",e.SUBTABLE_COLUMN="subtable-column",e.SUBTABLE_ROW="subtable-row",e.TAB="tab",e.TAB_PANE="tab-pane",e.TOOLBOX="toolbox",e.DATA_VIEW="data-view",e.LIST_VIEW="list-view",e.ACTION_BAR="action-bar",e.SUBTABLE="subtable",e.GRID_TABLE="grid-table",e.SIMPLE_SEARCH="simple-search",e.PAGINATION="pagination",e.CHECKBOX_IMAGE="checkbox-image",e.DASHBOARD="dashboard",e.TREE="tree",e.EMPLOYEE2="employee2",e.DEPARTMENT2="department2"})(W||(W={}));var H;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(H||(H={}));var he;he={},Fe(he,H.ARRAY,W.ARRAY_COLUMN),Fe(he,H.AUTO_NUMBER,W.AUTO_NUMBER_COLUMN),Fe(he,H.DECIMAL,W.DECIMAL_COLUMN),Fe(he,H.DEPARTMENTS,W.DEPARTMENT_COLUMN),Fe(he,H.FILE,W.FILE_COLUMN),Fe(he,H.IMAGE,W.IMAGE_COLUMN),Fe(he,H.ADDRESS,W.LOCATION_COLUMN),Fe(he,H.EMPLOYEES,W.EMPLOYEE_COLUMN),Fe(he,H.TEXT,W.TEXT_COLUMN),Fe(he,H.TIMESCOPE,W.TIMESCOPE_COLUMN),Fe(he,H.TIMESTAMP,W.TIMESTAMP_COLUMN),Fe(he,H.VARCHAR,W.VARCHAR_COLUMN),Fe(he,H.RELATION,W.VARCHAR_COLUMN);var cr;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(cr||(cr={}));var fr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Hs=fr+"0123456789";function lr(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?fr:Hs,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function vn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zs(e){if(Array.isArray(e))return vn(e)}function Ws(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function hr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zs(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function $t(e,t,n){return Zs()?$t=Reflect.construct:$t=function(u,i,s){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(u,l),d=new f;return s&&yt(d,s.prototype),d},$t.apply(null,arguments)}function Ft(e){return Ft=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ft(e)}function dr(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yt(e,t)}function Xs(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Ks(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Js(){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 Gs(e,t){return t&&(Qs(t)==="object"||typeof t=="function")?t:Ws(e)}function yt(e,t){return yt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},yt(e,t)}function pr(e){return zs(e)||Ks(e)||Ys(e)||Js()}var Qs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ys(e,t){if(!!e){if(typeof e=="string")return vn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return vn(e,t)}}function En(e){var t=typeof Map=="function"?new Map:void 0;return En=function(r){if(r===null||!Xs(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return $t(r,arguments,Ft(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),yt(u,r)},En(e)}function ec(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Dr(e){var t=ec();return function(){var r=Ft(e),u;if(t){var i=Ft(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return Gs(this,u)}}var mn=console;function qe(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=mn).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(pr(u)))}function An(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r,u=t.slice(1);(r=mn).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(pr(u)))}function tc(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Cn=function(e){dr(n,e);var t=Dr(n);function n(r){hr(this,n);var u;return u=t.call(this,r),u.name="\u{1F4A5} Driven Error",u.message=r?tc(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(En(Error)),nc=function(e){dr(n,e);var t=Dr(n);function n(r){hr(this,n);var u;return u=t.call(this,r),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Cn);function je(e){throw new Cn(e)}function rc(e){throw new nc(e)}function Tt(e){mn.error(new Cn(e))}function Qe(e,t){Array.isArray(e)&&e.map(function(n){switch(n.controlType){case"layout":Qe(n==null?void 0:n.children,t);break;case"search":Qe(n==null?void 0:n.children,t);break;case"form":t(n)}})}var uc=Object.prototype.toString;function gr(e,t){return uc.call(e)==="[object "+t+"]"}function ic(e){return gr(e,"String")}function oc(e){return gr(e,"Promise")}var ac=function(){function e(t){var n,r;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((r=(n=t.messages)!==null&&n!==void 0?n:this.getPreImport(t.locale))!==null&&r!==void 0?r:{}),t.variableRegExp&&(this.variableRegExp=t.variableRegExp),this.setLocale(t.locale)}return e.prototype.setLocale=function(t){var n=this;this.locale=t,this._messageCache.clear();var r=this.getMessageData();oc(r)?r.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=r},e.prototype.getMessageData=function(){var t=this._messages[this.localeInMessageKey];return typeof t=="function"?t():t},e.prototype.translate=function(t,n,r){var u=this.getMessage(t);return u?this.formatMessage(u,r):this.formatMessage(n,r)},e.prototype.getMessage=function(t){if(this._messageCache.has(t))return this._messageCache.get(t);var n=this.getPathArray(t),r=n.reduce(function(u,i,s,l){if(u!==void 0){var f=u[i];if(!(s===l.length-1&&!ic(f)))return f}},this.message);return this._messageCache.set(t,r),r},e.prototype.formatMessage=function(t,n){return n?t.replace(this.variableRegExp,function(r,u){var i=n[u];return i!==void 0?String(i):r}):t},e.prototype.getPreImport=function(t){var n;if(window.okI18nPreImport){var r=this.getLocaleInMessageKey(t);return window.okI18nPreImport.hasOwnProperty(r)?window.okI18nPreImport:(n={},n[r]=window.okI18nPreImport,n)}},e.prototype.getPathArray=function(t){return t.split(".")},e.prototype.getLocaleInMessageKey=function(t){return t.replace(/-/g,"")},Object.defineProperty(e.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"message",{get:function(){var t;return(t=this.messages[this.localeInMessageKey])!==null&&t!==void 0?t:{}},enumerable:!1,configurable:!0}),e}();function sc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function vr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function cc(e,t,n){return t&&vr(e.prototype,t),n&&vr(e,n),e}var Fn=function(){function e(){sc(this,e)}return cc(e,null,[{key:"getMessage",value:function(n){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",r)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:sr;return new ac({locale:n,messages:qs})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();Fn.$i18n=Fn.resetI18n();function Er(e,t,n){var r=t.replace(/\[(\d)]/g,function(i,s){return"."+s}).split("."),u=!1;return r.reduce(function(i,s,l,f){var d=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,s)){qe("Can not set ".concat(t,"'s ").concat(s," property in current %o, Because there is no ").concat(s," property on the %o"),i,i);return}return l===f.length-1&&!Object.is(d[s],n)&&(d[s]=n,u=!0),d[s]}},e),u}var He=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{};function mr(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var yn={exports:{}};(function(e){(function(t){var n=function(g,C,F){if(!d(C)||o(C)||c(C)||h(C)||f(C))return C;var b,R=0,$=0;if(a(C))for(b=[],$=C.length;R<$;R++)b.push(n(g,C[R],F));else{b={};for(var k in C)Object.prototype.hasOwnProperty.call(C,k)&&(b[g(k,F)]=n(g,C[k],F))}return b},r=function(g,C){C=C||{};var F=C.separator||"_",b=C.split||/(?=[A-Z])/;return g.split(b).join(F)},u=function(g){return p(g)?g:(g=g.replace(/[\-_\s]+(.)?/g,function(C,F){return F?F.toUpperCase():""}),g.substr(0,1).toLowerCase()+g.substr(1))},i=function(g){var C=u(g);return C.substr(0,1).toUpperCase()+C.substr(1)},s=function(g,C){return r(g,C).toLowerCase()},l=Object.prototype.toString,f=function(g){return typeof g=="function"},d=function(g){return g===Object(g)},a=function(g){return l.call(g)=="[object Array]"},o=function(g){return l.call(g)=="[object Date]"},c=function(g){return l.call(g)=="[object RegExp]"},h=function(g){return l.call(g)=="[object Boolean]"},p=function(g){return g=g-0,g===g},D=function(g,C){var F=C&&"process"in C?C.process:C;return typeof F!="function"?g:function(b,R){return F(b,g,R)}},E={camelize:u,decamelize:s,pascalize:i,depascalize:s,camelizeKeys:function(g,C){return n(D(u,C),g)},decamelizeKeys:function(g,C){return n(D(s,C),g,C)},pascalizeKeys:function(g,C){return n(D(i,C),g)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=E:t.humps=E})(He)})(yn);var Ar={};Object.defineProperty(Ar,"__esModule",{value:!0});function wn(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:wn(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:wn(r)}return t}}var fc=Ar.default=wn;function be(e){if(e!==void 0)return typeof e=="object"?fc(e):e}function $e(e){return Object.prototype.toString.call(e)==="[object Object]"}function lc(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}function it(e){return Array.isArray(e)}function ye(e){return typeof e=="string"}function Lt(e){return typeof e=="number"}function Cr(e){return typeof e=="function"}function hc(e){return it(e)&&e.every(function(t){return ye(t)})}function dc(e){return it(e)&&e.every(function(t){return Lt(t)||t===""})}function Fr(e){return/^\[.*?]$/.test(e)}function Pt(e){return/^{.*?}$/.test(e)}function Bn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function pc(e){if(Array.isArray(e))return Bn(e)}function yr(e,t,n,r,u,i,s){try{var l=e[i](s),f=l.value}catch(d){n(d);return}l.done?t(f):Promise.resolve(f).then(r,u)}function Dc(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var i=e.apply(t,n);function s(f){yr(i,r,u,s,l,"next",f)}function l(f){yr(i,r,u,s,l,"throw",f)}s(void 0)})}}function gc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function wr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function vc(e,t,n){return t&&wr(e.prototype,t),n&&wr(e,n),e}function Ec(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function mc(){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 bn(e){return pc(e)||Ec(e)||Ac(e)||mc()}function Ac(e,t){if(!!e){if(typeof e=="string")return Bn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Bn(e,t)}}var Br=function(){function e(){gc(this,e),this._events=new Map,this.debug=!1}return vc(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),i=1;i<r;i++)u[i-1]=arguments[i];var s=this;return Dc(mt.default.mark(function l(){var f,d,a,o,c,h,p,D,E,g;return mt.default.wrap(function(F){for(;;)switch(F.prev=F.next){case 0:if(f=s._events.get(n),d=[],!f){F.next=42;break}a=f.slice(),o=!0,c=!1,h=void 0,F.prev=5,p=a[Symbol.iterator]();case 7:if(o=(D=p.next()).done){F.next=28;break}if(E=D.value,f.includes(E)){F.next=11;break}return F.abrupt("continue",25);case 11:return F.prev=11,s.debug&&An.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(bn(u))),F.next=15,E.apply(null,bn(u));case 15:if(g=F.sent,s.debug&&An.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bn(u),[g])),d.push(g),g!==!1){F.next=20;break}return F.abrupt("break",28);case 20:F.next=25;break;case 22:F.prev=22,F.t0=F.catch(11),Tt(String(F.t0)+":"+String(F.t0.stack));case 25:o=!0,F.next=7;break;case 28:F.next=34;break;case 30:F.prev=30,F.t1=F.catch(5),c=!0,h=F.t1;case 34:F.prev=34,F.prev=35,!o&&p.return!=null&&p.return();case 37:if(F.prev=37,!c){F.next=40;break}throw h;case 40:return F.finish(37);case 41:return F.finish(34);case 42:return F.abrupt("return",d);case 43:case"end":return F.stop()}},l,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,r){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(r)}else this._events.set(n,[r])}},{key:"off",value:function(n,r){if(this._events.has(n)){var u=this._events.get(n),i=u==null?void 0:u.indexOf(r);u==null||u.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}();function Cc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function br(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Fc(e,t,n){return t&&br(e.prototype,t),n&&br(e,n),e}var yc=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Sr=function(){function e(){Cc(this,e)}return Fc(e,[{key:"getEventsFromKeys",value:function(n){var r=typeof n=="string"?[n]:n;return e.events.filter(function(u){return r.includes(u.key)})}}]),e}();Sr.events=yc;function wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Bc(e,t,n){return t&&Mr(e.prototype,t),n&&Mr(e,n),e}var Nr=[],kt=function(){function e(t){wc(this,e),this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=t,this._initControls(t)}return Bc(e,[{key:"registerControlConfig",value:function(n,r){return this.controlConfigMap.set(n,r),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||je("".concat(n.name," is not a Control"));var r=this._controls.findIndex(function(u){return u.controlType===n.controlType});return r>-1&&(qe("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(r,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===X.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===X.FORM}},{key:"isListControl",value:function(n){return n.controlType===X.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===X.COLUMN}},{key:"createControl",value:function(n,r){if(Array.isArray(n)){var u=this;return n.map(function(o){return u.createControl(o,r)})}if(n.children){var i=this;n.children=n.children.map(function(o){return i.createControl(o,r)})}if(this.isListControl(n)&&n.props.headers){var s=this;n.props.headers=n.props.headers.map(function(o){return s.createControl(o,r)})}var l=this.getControlFormType(n.type);if(l){var f=n;if(typeof r=="function"){var d=r(f);d&&(f=d)}var a=new l(f);return a}else je("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,r){var u=this.getControlFormType(n);if(u)return new u(r)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(r){return r.controlType===n})}},{key:"_initControls",value:function(n){var r=this;this.constructor.staticControls.forEach(function(u){r.register(u[n])})}}],[{key:"register",value:function(n){var r=n.Designer,u=n.Runtime;(!r||!u||!r.__is_control__||!u.__is_control__)&&je("".concat(n," is can't register as a Control"));var i=this.staticControls.findIndex(function(s){return s.Designer.controlType===r.controlType});return i>-1&&(qe("The ".concat(r.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(r.controlType),this.staticControls.push(n),this}}]),e}();kt.staticControls=Nr,kt.staticRegisteredTypes=new Set(Nr.map(function(e){return e.Designer.controlType})),kt.staticRegisteredConfigs=new Map;function Ye(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Sn=function e(t){Ye(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.fieldCode=(r=t==null?void 0:t.fieldCode)!==null&&r!==void 0?r:"";var u;this.fieldType=(u=t==null?void 0:t.fieldType)!==null&&u!==void 0?u:""},ze=function e(){Ye(this,e)},jt=function e(t){Ye(this,e);var n;this.amount=(n=t==null?void 0:t.amount)!==null&&n!==void 0?n:"";var r;this.currency=(r=t==null?void 0:t.currency)!==null&&r!==void 0?r:Mn.CNY},Ut=function e(t){Ye(this,e);var n;this.min=(n=t==null?void 0:t.min)!==null&&n!==void 0?n:"";var r;this.max=(r=t==null?void 0:t.max)!==null&&r!==void 0?r:""},Vt=function e(t){Ye(this,e);var n;this.city=(n=t==null?void 0:t.city)!==null&&n!==void 0?n:"";var r;this.cityDisplay=(r=t==null?void 0:t.cityDisplay)!==null&&r!==void 0?r:"";var u;this.district=(u=t==null?void 0:t.district)!==null&&u!==void 0?u:"";var i;this.districtDisplay=(i=t==null?void 0:t.districtDisplay)!==null&&i!==void 0?i:"";var s;this.province=(s=t==null?void 0:t.province)!==null&&s!==void 0?s:"";var l;this.provinceDisplay=(l=t==null?void 0:t.provinceDisplay)!==null&&l!==void 0?l:""},qt=function e(t){Ye(this,e);var n;this.result=(n=t==null?void 0:t.result)!==null&&n!==void 0?n:0;var r;this.unit=(r=t==null?void 0:t.unit)!==null&&r!==void 0?r:""},Mn;(function(e){e.CNY="CNY",e.USD="USD",e.JPY="JPY",e.EUR="EUR",e.INR="INR",e.IDR="IDR",e.BRL="BRL",e.AED="AED",e.AUD="AUD",e.CAD="CAD",e.EGP="EGP",e.GBP="GBP",e.ZAR="ZAR",e.KRW="KRW",e.MAD="MAD",e.MXN="MXN",e.MYR="MYR",e.PHP="PHP",e.PLN="PLN",e.RUB="RUB",e.SGD="SGD",e.THB="THB",e.TRY="TRY",e.TWD="TWD",e.VND="VND",e.HKD="HKD",e.IEP="IEP"})(Mn||(Mn={}));var Ir;(function(e){e.DEFAULT_DISPLAY="defaultDisplay",e.REQUIRED="required",e.IS_HIDE="isHide",e.IS_SHOW_UNIT="isShowUnit",e.IMD_SEARCH="immediatelySearch",e.MULTIPLE="multiple",e.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",e.CAPTION="caption",e.IS_HIDE_CAPTION="isHideCaption",e.DEFAULT_SHOW_OPTIONS="defaultShowOptions",e.CAN_SEARCH="canSearch",e.CAN_CHECK="canCheck",e.CAN_EDIT="canEdit",e.CAN_DELETE="canDelete",e.SHOW_UPPER_CASE="showUpperCase",e.MICROMETER="micrometer",e.PRECISION="precision",e.PERCENTAGE="percentage",e.OPTIONAL_LEVEL="optionalLevel",e.CONTAINS_SUB_NODE="containsSubNode",e.DEFAULT_COLLAPSE="defaultCollapse",e.CAN_VIEW_FORM="canViewForm",e.VIEW_FORM_MODEL_TYPE="viewFormModelType",e.SERVER_PAGINATION="serverPagination",e.IS_SHOW_CAPTION_TIP="isShowCaptionTip",e.ENCRYPTED="encrypted",e.IS_INLINE_EDIT="isInlineEdit",e.REVISIONS_MODE="revisionsMode",e.ALLOW_COPY_OPTIONS="allowCopyOptions"})(Ir||(Ir={}));var Nn;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(Nn||(Nn={}));var bc=function e(t){Ye(this,e);var n;this.width=(n=t==null?void 0:t.width)!==null&&n!==void 0?n:"";var r;this.height=(r=t==null?void 0:t.height)!==null&&r!==void 0?r:"";var u;this.widthConfig=(u=t==null?void 0:t.widthConfig)!==null&&u!==void 0?u:"fill";var i;this.heightConfig=(i=t==null?void 0:t.heightConfig)!==null&&i!==void 0?i:"fill"};function Sc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function In(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Mc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(e){return!1}}function Ht(e,t,n){return Mc()?Ht=Reflect.construct:Ht=function(u,i,s){var l=[null];l.push.apply(l,i);var f=Function.bind.apply(u,l),d=new f;return s&&Bt(d,s.prototype),d},Ht.apply(null,arguments)}function wt(e){return wt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wt(e)}function Nc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Bt(e,t)}function Ic(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function _c(e,t){return t&&(Rc(t)==="object"||typeof t=="function")?t:Sc(e)}function Bt(e,t){return Bt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Bt(e,t)}var Rc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _n(e){var t=typeof Map=="function"?new Map:void 0;return _n=function(r){if(r===null||!Ic(r))return r;if(typeof r!="function")throw new TypeError("Super expression must either be null or a function");if(typeof t!="undefined"){if(t.has(r))return t.get(r);t.set(r,u)}function u(){return Ht(r,arguments,wt(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Bt(u,r)},_n(e)}function xc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Oc(e){var t=xc();return function(){var r=wt(e),u;if(t){var i=wt(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return _c(this,u)}}var $c=function e(t){In(this,e),this.isHide={type:"boolean"}},Tc=function(e){Nc(n,e);var t=Oc(n);function n(r){return In(this,n),t.call(this)}return n}(_n(Array)),zt=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";In(this,e);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new bc(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};zt.Rules=$c,zt.RuntimeRules=Tc,new Br;function Lc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function _r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function Pc(e,t,n){return t&&_r(e.prototype,t),n&&_r(e,n),e}function kc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var Wt=function(){function t(n){Lc(this,t),this.customEvents=[],this.parent=null;var r=kc(this,t)?this.constructor:void 0,u=r.controlType,i=r.controlFieldType,s=r.name,l=r.controlCustomEvents;u||rc("The ".concat(s," controlType is not define"));var f;this.id=(f=n==null?void 0:n.id)!==null&&f!==void 0?f:lr(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:u,this.props=new zt(n==null?void 0:n.props),this.customEvents=l;var a;this.controlType=(a=n==null?void 0:n.controlType)!==null&&a!==void 0?a:"base";var o;this.fieldType=(o=n==null?void 0:n.fieldType)!==null&&o!==void 0?o:i;var c;this.pageStatus=(c=n==null?void 0:n.pageStatus)!==null&&c!==void 0?c:Nn.UNKNOWN}return Pc(t,[{key:"rules",get:function(){var r=this.props.constructor.RuntimeRules;if(r){var u=new r(this.props);return Array.from(u)}return[]}}]),t}();Wt.controlType="control",Wt.__is_control__=!0,Wt.controlCustomEvents=[];function Rn(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function jc(e){if(Array.isArray(e))return Rn(e)}function Uc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Vc(){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 Rr(e){return jc(e)||Uc(e)||qc(e)||Vc()}function qc(e,t){if(!!e){if(typeof e=="string")return Rn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Rn(e,t)}}function Hc(e,t){var n;((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function xr(e,t){e.parent=t,Hc(e,"parent")}function zc(e,t){e.forEach(function(n){xr(n,t)})}var Or=Symbol("targetKey");function $r(e){var t;return(t=e[Or])!==null&&t!==void 0?t:e}function Tr(e,t){return zc(e,t),new Proxy(e,{get:function(r,u){for(var i=arguments.length,s=new Array(i>2?i-2:0),l=2;l<i;l++)s[l-2]=arguments[l];var f;return u===Or?r:(f=Reflect).get.apply(f,[r,u].concat(Rr(s)))},set:function(r,u,i){for(var s=arguments.length,l=new Array(s>3?s-3:0),f=3;f<s;f++)l[f-3]=arguments[f];var d;if(it(e)&&u==="length"&&i===e.length)return!0;var a=(d=Reflect).set.apply(d,[r,u,i].concat(Rr(l)));return $e(i)&&xr(i,t),a}})}function Lr(e,t,n,r){var u=r!=null?r:e,i=Tr($r(n!=null?n:[]),u);Object.defineProperty(e,t,{get:function(){return i},set:function(l){i=Tr($r(l),u)},enumerable:!0})}function Pr(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Zt(e){return Zt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zt(e)}function Zc(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&xn(e,t)}function Xc(e,t){return t&&(Kc(t)==="object"||typeof t=="function")?t:Pr(e)}function xn(e,t){return xn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},xn(e,t)}var Kc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Jc(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function Gc(e){var t=Jc();return function(){var r=Zt(e),u;if(t){var i=Zt(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return Xc(this,u)}}var Qc=function(e){Zc(n,e);var t=Gc(n);function n(r,u){Wc(this,n);var i;return i=t.call(this,u),Lr(Pr(i),"headers",u==null?void 0:u.headers,r),i}return n}(zt);function On(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function kr(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function e0(e,t,n){return t&&kr(e.prototype,t),n&&kr(e,n),e}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xt(e)}function t0(e,t){if(typeof t!="function"&&t!==null)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&$n(e,t)}function n0(e,t){return t&&(r0(t)==="object"||typeof t=="function")?t:On(e)}function $n(e,t){return $n=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},$n(e,t)}var r0=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(e){return!1}}function i0(e){var t=u0();return function(){var r=Xt(e),u;if(t){var i=Xt(this).constructor;u=Reflect.construct(r,arguments,i)}else u=r.apply(this,arguments);return n0(this,u)}}var o0=function(e){t0(n,e);var t=i0(n);function n(r){Yc(this,n);var u;return u=t.call(this,r),u.controlType="list",u.props=new Qc(On(u),r==null?void 0:r.props),Lr(On(u),"children",r==null?void 0:r.children),u}return e0(n,[{key:"length",get:function(){return this.children.length}}]),n}(Wt);function Kt(e){return e.controlType===X.LAYOUT||e.controlType===X.WRAP||e.controlType===X.LIST||e.controlType===X.SEARCH}function ot(e,t){Array.isArray(e)&&e.map(n=>{if(n.type===W.SUBTABLE){const r=n.getChildrenFormControl();t(n,r)}else Kt(n)?ot(n==null?void 0:n.children,t):n.controlType===X.FORM&&t(n)})}function at(e,t){Array.isArray(e)&&e.map(n=>{n.type===W.DATA_VIEW||n.type===W.SIMPLE_SEARCH?t(n):Kt(n)&&at(n==null?void 0:n.children,t)})}let jr=0;function Ur(e=""){const t=Date.now(),n=Math.floor(Math.random()*1e9);return jr++,e+"_"+n+jr+String(t)}class Tn extends kt{constructor(t){super("Runtime");this._flatInstances=[],this._instanceMap={};const{schema:n}=t;this._schema=n,this._instance=this.createControl(n,t.beforeCreateInstance),this.getFlatInstances()}getFlatInstances(){const t=[],n={};return Vr(this._instance,r=>{r.type==="subtable-row"||r.type==="subtable-column"||(t.push(r),n[r.id]||(n[r.id]=[]),n[r.id].push(r))}),this._flatInstances=t,this._instanceMap=n,this._flatInstances}get schema(){return this._schema}get instance(){return this._instance}get flatInstances(){return this._flatInstances}get instanceMap(){return this._instanceMap}get allRules(){let t={},n={};return at(this._instance,r=>{n[r.id]=r.rules[0],t[r.id]=r.rules[0],ot(r.children,u=>{(u.controlType===X.FORM||u.controlType===X.LIST)&&(qr(n[r.id].fields,u),Hr(t[r.id].fields,u))})}),{rules:n,antdRules:t}}get rules(){let t={};return at(this._instance,n=>{t[n.id]=n.rules[0],ot(n.children,r=>{(r.controlType===X.FORM||r.controlType===X.LIST)&&qr(t[n.id].fields,r)})}),t}get antdRules(){let t={};return at(this._instance,n=>{t[n.id]=n.rules[0],ot(n.children,r=>{(r.controlType===X.FORM||r.controlType===X.LIST)&&Hr(t[n.id].fields,r)})}),t}}function Vr(e,t){Array.isArray(e)?e.map(n=>{t(n),Kt(n)&&Vr(n.children,t)}):t(e)}function Ln(e){return e.props.isHide?!0:e.parent===null?!1:Ln(e.parent)}function qr(e,t){if(!Ln(t)){if(t.controlType===X.FORM)e[t.id]=t.rules;else if(t.type===W.SUBTABLE){e[t.id]=t.rules;const n={type:"array",fields:{}};t.children.forEach((r,u)=>{Qe(r.children,i=>{n.fields&&(n.fields[u]||(n.fields[u]={type:"object",required:!0,fields:{}}),n.fields[u].fields[i.id]=i.rules)})}),e[t.id].push(n)}}}function Hr(e,t){Ln(t)||(t.controlType===X.FORM?e[t.id]=t.rules:t.type===W.SUBTABLE&&t.children.length&&(e[t.id]=[],t.children.forEach(n=>{let r={};Qe(n.children,u=>{r[u.id]=u.rules}),e[t.id].push(r)})))}class a0{constructor(t){const{state:n,emptyState:r,databindMapping:u,controlidMapping:i}=s0(t.instance);this.emptyState=r,this.state=n,this.dataBindMapping=u,this.controlIdMapping=i}setState(t,n,r){const u=this.controlIdMapping[t];u!==void 0?this.state[u.dataView][t]=n:r!==void 0?Object.keys(this.controlIdMapping).map(i=>{const s=this.controlIdMapping[i].dataView,l=this.controlIdMapping[i].children;l!==void 0&&Object.keys(l).map(f=>{f===t&&(this.state[s][i][r][t]=n)})}):this.state[t]=n}getState(t,n){if(this.state[t]!==void 0)return this.state[t];{const u=this.controlIdMapping[t];if(u!==void 0)return this.state[u.dataView][t];if(n!==void 0){let i;return Object.keys(this.controlIdMapping).map(s=>{const l=this.controlIdMapping[s].dataView,f=this.controlIdMapping[s].children;f!==void 0&&Object.keys(f).map(d=>{var a;d===t&&(i=(a=this.state[l][s][n])==null?void 0:a[t])})}),i}else{let i=[];return Object.keys(this.controlIdMapping).map(s=>{const l=this.controlIdMapping[s].dataView,f=this.controlIdMapping[s].children;f!==void 0&&Object.keys(f).map(d=>{d===t&&this.state[l][s].map(a=>{i.push(a[t])})})}),i}}}getEmptyState(t){if(this.emptyState[t]!==void 0)return this.emptyState[t];{const r=this.controlIdMapping[t];if(r!==void 0){const u=this.emptyState[r.dataView][t];return"children"in r&&Object.assign(u,{uid:"new:"+Ur("uid")}),u}else{let u;return Object.keys(this.controlIdMapping).map(i=>{const s=this.controlIdMapping[i].dataView,l=this.controlIdMapping[i].children;l!==void 0&&Object.keys(l).map(f=>{f===t&&(u=this.emptyState[s][i][t])})}),u}}}getDataBind(t){let n=this.controlIdMapping[t];if(n)return n.dataBind;e:for(let r in this.controlIdMapping){const u=this.controlIdMapping[r];if(u.children){for(let i in u.children)if(i===t){n=u.children[i];break e}}}return n==null?void 0:n.dataBind}}function s0(e){let t={},n={},r={},u={};return at(e,i=>{const s=i.id,l={},f={};ot([i],(d,a)=>{c0(l,f,d),f0(r,s,d),l0(u,s,d)}),t[s]=l,n[s]=f}),{state:t,emptyState:n,databindMapping:r,controlidMapping:u}}function c0(e,t,n){var r;if(n.controlType===X.FORM)t[n.id]=be(n.props.defaultValue);else{const u={};Qe(n.props.headers,i=>{u[i.id]=be(i.props.defaultValue)}),e[n.id]=new Array((r=n.props.defaultRows)!=null?r:1).fill(0).map(()=>be(u)),t[n.id]=u}}function f0(e,t,n){var r,u;if(n.controlType===X.FORM)n.props.dataBind instanceof ze?Object.keys(n.props.dataBind).map(i=>{const s=n.props.dataBind,l=s[i].dataCode;l!==void 0&&(e[l]===void 0&&(e[l]={controlId:n.id,fields:[],dataViewId:t}),e[l].fields.push({fieldCode:s[i].fieldCode,controlId:n.id,dataBind:s,dataViewId:[t]}))}):((u=(r=n.props)==null?void 0:r.dataBind)==null?void 0:u.dataCode)===void 0||(e[n.props.dataBind.dataCode]===void 0&&(e[n.props.dataBind.dataCode]={controlId:t,fields:[],dataViewId:t}),e[n.props.dataBind.dataCode].fields.push({fieldCode:n.props.dataBind.fieldCode,controlId:n.id,dataBind:n.props.dataBind,dataViewId:[t]}));else{if(n.props.datasourceBind.dataCode===""){qe(`datasourceBind.dataCode is empty! maybe in preview mode, control:${n.id} type:${n.type}`);return}e[n.props.datasourceBind.dataCode]={controlId:n.id,fields:[],dataViewId:t};const i=n.id;Qe(n.props.headers,s=>{s.props.dataBind instanceof ze?Object.keys(s.props.dataBind).map(l=>{const f=s.props.dataBind,d=f[l].dataCode;e[d].fields.push({fieldCode:f[l].fieldCode,controlId:s.id,dataBind:f,dataViewId:[t,i]})}):e[s.props.dataBind.dataCode].fields.push({fieldCode:s.props.dataBind.fieldCode,controlId:s.id,dataBind:s.props.dataBind,dataViewId:[t,i]})})}}function l0(e,t,n){n.controlType===X.FORM?e[n.id]={dataBind:n.props.dataBind,options:[],dataView:t}:n.type===W.SUBTABLE&&(e[n.id]={dataBind:new Sn({dataCode:n.props.datasourceBind.dataCode,fieldCode:""}),dataView:t,children:{},options:[]},Qe(n.props.headers,r=>{var u,i;Object.assign((i=(u=e[n.id])==null?void 0:u.children)!=null?i:{},{[r.id]:{dataBind:r.props.dataBind}})}))}const zr=["splice","push","shift","pop","unshift","reverse"],Pn=Symbol("__engineProxy__"),kn=Symbol("__engineTarget__"),Wr=Symbol("__engineArrayBeforeSetCallbackFlag__"),Zr=Symbol("__engineProxyThisKey__"),_e={type:"",args:[],callback:Xr};function Xr(){}g0();function h0(e,t,n,r,u){if(_e.type){_e.callback=u.bind(null,e,r);return}const i=Number(t);if(i>e.length){je(`Wrong array operations may cause unknown errors. It is recommended to use APIs such as ${zr.join(",")} for array operations`);return}if(!(Number.isNaN(i)&&t!=="length"))if(t==="length"){const l=n,f=e.length;if(l>e.length){je("Do not directly modify the length of the array data, please add new rows");return}return l===e.length?void 0:()=>u.call(null,e,r,"splice",[l,f-l])}else return i===e.length?()=>u.call(null,e,r,"push",[n]):()=>u.call(null,e,r,"splice",[i,1,n])}function d0(e,t,n){return{__engineProxy__:!0,get(r,u,i){return u===Pn?!0:u===kn?r:Array.isArray(r)&&u===Wr?n:u===Zr?e:Reflect.get(r,u,i)},set(r,u,i,s){var c;let l=i;const f=r[u],d=e===""?u:e+"."+u;function a(h){if(typeof h=="object"&&h!==null)return h[Pn]!==!0?Jt(h,t,n,d):Jt(h[kn],t,n,d)}l=(c=a(i))!=null?c:l;let o;if(Array.isArray(r)){const h=h0(r,u,i,e,t);o=Reflect.set(r,u,l,s),h&&h()}else{try{let h=l;if(l=n.call(null,r,d,l,f),h!==l){const p=a(l);p!==void 0&&(l=p)}}catch(h){return Tt(`${d} set error ${h}`),!0}o=Reflect.set(r,u,l,s),t.call(null,r,d,i,f)}return o}}}function Jt(e,t,n,r=""){if(Object.isFrozen(e))return e;for(let u in e){const i=r===""?u:r+"."+u,s=e[u];typeof s=="object"&&s!==null&&(e[u]=Jt(s,t,n,i))}return new Proxy(e,d0(r,t,n))}function Kr(e){const t=[];return e.forEach(n=>{t.push(n),n.controlType==="layout"&&t.push(...Kr(n.children))}),t}function jn(e,t,n){if(t==="")return;const r=t.split(".");if(r.length===0)return;const u=r[0],i=r.slice(1),s=n[u]?n[u][0]:void 0;return i.length===0?s:i.reduce((l,f)=>{var o,c;const d=Number(f);if(Number.isNaN(d)&&l){const h=(l==null?void 0:l.children)?Kr(l.children):void 0,p=h==null?void 0:h.find(D=>D.id===f);return p||(l.controlType===X.FORM?l:void 0)}else return(c=(o=l==null?void 0:l.children)==null?void 0:o[d])!=null?c:l},s)}function p0(e,t){return["push","unshift"].includes(e)?t:e==="splice"?t.slice(2):[]}function D0(e,t,n){if(["push","unshift"].includes(e))return n;if(e==="splice")return t.slice(0,2).concat(n)}function g0(){zr.forEach(e=>{const t=Array.prototype[e];Array.prototype[e]=function(...n){var r;if(this[Pn]){let u;const i=p0(e,n);if(i.length){const s=(r=this[Wr])==null?void 0:r.call(this,this[kn],this[Zr],i),l=D0(e,n,s);_e.type=e,_e.args=l,u=t.apply(this,l)}else _e.type=e,_e.args=n,u=t.apply(this,n);return typeof _e.callback=="function"&&_e.callback(e,n,u),_e.type="",_e.args=[],_e.callback=Xr,u}else return t.apply(this,n)}})}class v0{constructor(){this.actionMap=new Map,this.buildinActions={},this.actionUtils={},this.sources={}}execAction(t,n,...r){return Pe(this,null,function*(){const u=this.actionMap.get(t);if(!!u)try{return yield u.func.call(null,n,...r)}catch(i){Tt(`${u.id} Exception during calling action: ${i}`)}})}addAction(t,n){this.actionMap.has(t)&&je("duplicated action key");const r=new E0(t,n);this.actionMap.set(t,r)}}class E0{constructor(t,n){this.id="",this.id=t,this.func=n}}class m0{constructor(t){this._dataStore=new Map,this.executer=t}add(t,n){this._dataStore.set(t,n)}get(t){let n=this._dataStore.get(t);return be(n)}remove(t){this._dataStore.delete(t)}getRemoteData(t){return Pe(this,null,function*(){return this.executer===void 0?(Tt("\u672A\u521D\u59CB\u5316executer"),[]):this.executer(t)})}}class We{}class bt extends We{validate(t){return ye(t)}transform(t){if(t==null)return"";if(!$e(t)&&!Cr(t))return String(t);if(lc(t))return JSON.stringify(t);throw`${t} is not a string`}}class Un extends We{validate(t){return Lt(t)||t===""}transform(t){if(t==null)return"";const n=!$e(t)&&!Cr(t)?Number(t):void 0;if(!Number.isNaN(n)&&n!==void 0)return n;throw`${t} is not a number`}}class A0 extends We{validate(t){return hc(t)}transform(t){if(t==null)return[];function n(r){return r.map(u=>u?String(u):"")}if(it(t))return n(t);if(ye(t)&&Fr(t))try{const r=JSON.parse(t);if(Array.isArray(r))return n(r)}catch(r){}return[String(t)]}}class C0 extends We{validate(t){return dc(t)}transform(t){if(t==null)return[];function n(u){return u.map(i=>!i&&i!==0?"":Number(i)).filter(i=>i===""||!Number.isNaN(i))}if(it(t))return n(t);if(ye(t)&&Fr(t))try{const u=JSON.parse(t);if(it(u))return n(u)}catch(u){}const r=Number(t);if(Number.isNaN(r))throw`${t} is not a number array`;return[r]}}class F0 extends We{validate(t){return t instanceof jt||$e(t)&&"amount"in t&&Lt(t.amount)&&"currency"in t&&ye(t.currency)}transform(t,n){if(t==null||t==="")return new jt({currency:n==null?void 0:n.currency});let r;if($e(t)&&(r=new jt(ne(ne({},n),t))),ye(t)&&Pt(t))try{const u=JSON.parse(t);r=new jt(ne(ne({},n),u))}catch(u){}if(r){const u=new Un,i=new bt;return u.validate(r.amount)||(r.amount=u.transform(r.amount)),i.validate(r.currency)||(r.currency=i.transform(r.currency)),r}throw`${t} is not a { amount: number, currency: string } object`}}class y0 extends We{validate(t){return t instanceof Ut||$e(t)&&"min"in t&&ye(t.min)&&"max"in t&&ye(t.max)}transform(t,n){if(t==null||t==="")return new Ut;let r;if($e(t)&&(r=new Ut(ne(ne({},n),t))),ye(t)&&Pt(t))try{const u=JSON.parse(t);r=new Ut(ne(ne({},n),u))}catch(u){}if(r){const u=new bt;return u.validate(r.min)||(r.min=u.transform(r.min)),u.validate(r.max)||(r.max=u.transform(r.max)),r}throw`${t} is not a { min: string, max: string } object`}}class w0 extends We{validate(t){return t instanceof qt||$e(t)&&"result"in t&&Lt(t.result)&&"unit"in t&&ye(t.unit)}transform(t,n){if(t==null||t==="")return new qt({unit:n==null?void 0:n.unit});let r;if($e(t)&&(r=new qt(ne(ne({},n),t))),ye(t)&&Pt(t))try{const u=JSON.parse(t);r=new qt(ne(ne({},n),u))}catch(u){}if(r){const u=new Un,i=new bt;return u.validate(r.result)||(r.result=u.transform(r.result)),i.validate(r.unit)||(r.unit=i.transform(r.unit)),r}throw`${t} is not a { result: string, unit: string } object`}}class B0 extends We{validate(t){return t instanceof Vt}transform(t,n){if(t==null||t==="")return new Vt;let r;if($e(t)&&(r=new Vt(ne(ne({},n),yn.exports.camelizeKeys(t)))),ye(t)&&Pt(t))try{const u=JSON.parse(t);r=new Vt(ne(ne({},n),yn.exports.camelizeKeys(u)))}catch(u){}if(r){const u=new bt;return u.validate(r.city)||(r.city=u.transform(r.city)),u.validate(r.district)||(r.district=u.transform(r.district)),u.validate(r.province)||(r.province=u.transform(r.province)),r}throw`${t} is not a { city: string, district: string, province: string } object`}}class b0{static getValueChecker(t){let n;switch(t){case H.VARCHAR:case H.TIMESTAMP:case H.TEXT:case H.RELATION:case H.AUTO_NUMBER:n=new bt;break;case H.DECIMAL:n=new Un;break;case H.EMPLOYEES:case H.DEPARTMENTS:case H.IMAGE:case H.FILE:case H.ARRAY:n=new A0;break;case H.MONEY:n=new F0;break;case H.TIMESCOPE:n=new y0;break;case H.CALC:n=new w0;break;case H.DECIMAL_RANGE:n=new C0;break;case H.ADDRESS:n=new B0;break}return n}}function S0(e){if(["min","max","currency","unit"].includes(e))return H.VARCHAR;if(["result","amount"].includes(e))return H.DECIMAL}function Jr(e,t,n,r){var s;let u=(s=S0(t))!=null?s:e,i=b0.getValueChecker(u);if(!i||i.validate(n))return n;try{const l=i.transform(n,r);return l!==void 0?l:n}catch(l){throw`${t} ${l}`}}function M0(e,t,n){return Object.entries(e).reduce((r,[u,i])=>{const s=t[u];return r[u]=Jr(i,u,s,n[u]),r},Object.assign({},t))}typeof window!="undefined"&&(window.engines={});let st=null,St="";class N0 extends Br{constructor(t){super();this.rawStore={},this.isMounted=!1,this.id=lr(8),this.__pluginsApplied=!1,this.actionManager=new v0,this._jobTasks=[],this.createControlInstance=this.createInstance,this.$options=Object.freeze(t);const{autoMount:n=!0,schema:r,beforeCreateInstance:u,externalParams:i,language:s=sr,debug:l=!1}=this.$options;Fn.setLocale(s),this.debug=l,this.runtime=new Tn({schema:r,beforeCreateInstance:u}),this.externalParams=i,this.store=new a0({instance:this.runtime.instance}),this.debugLog("engine is Instantiation complete"),n&&this.mount()}debugLog(...t){this.debug&&An(...t)}use(t){return this.__pluginsApplied||this.__plugins.push(t),this}registerControl(...t){return this.runtime.register(...t),this}static register(...t){return Tn.register(...t)}static judgeControlIsRegistered(t){return Tn.staticRegisteredTypes.has(t.Runtime.controlType)}mount(){this.debugLog("engine\u7684mount\u65B9\u6CD5\u5F00\u59CB\u8C03\u7528");const{plugins:t=[]}=this.$options;this._handlerProxyState(),this.__plugins=t,this.applyPlugins(),this.setStates(this.getState()),this.debugLog("engine\u7684mount\u65B9\u6CD5\u8C03\u7528\u7ED3\u675F"),this.debug&&typeof window!="undefined"&&(window.engines[this.id]=this)}destroy(){this.debug&&typeof window!="undefined"&&delete window.engines[this.id]}_handlerProxyState(){this.store.state=Jt(this.store.state,this._proxyStateCallback.bind(this),this._proxyStateBeforeSetCallback.bind(this))}_proxyStateBeforeSetCallback(t,n,r,u){const i=jn(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!i)return r;if(this.assertInstance(i,W.SUBTABLE)){if(r===null)return[];const f=i.props.headers.reduce((a,o)=>{const c=o.children[0];return c&&c.controlType===X.FORM&&(a[c.id]=c.fieldType),a},{}),d=this.getEmptyState(i.id);return r.map(a=>M0(f,a,d))}const s=n.split("."),l=s[s.length-1];try{return Jr(i.fieldType,l,r,u)}catch(f){throw qe(`the id=${i.id}'s instance setState error, %o ${f}.`,r),f}}_proxyStateCallback(t,n,r,u,i){Array.isArray(t)?this._handlerArrayUpdate(t,n,r,u,i):this._handlerObjectUpdate(t,n,r,u)}_handlerArrayUpdate(t,n,r,u,i){const s=jn(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!(s instanceof o0))return;const l=c=>{const h=[];for(let p=0;p<c;p++){const D=this.listControlCreateRow(s,"subtable-row");D&&h.push(D)}return h},f=st;let d=[],a=[],o=[];if(r&&u){switch(r){case"push":case"unshift":const c=u.length;d=l(c),a=u,s.children[r](...d),this.runtime.getFlatInstances();break;case"splice":if(u.length>2){const h=u.length-2,p=u.slice(2);d=l(h),a=p;const D=u[0],E=u[1];s.children[r](D,E,...d),this.runtime.getFlatInstances()}else s.children[r](...u),this.runtime.getFlatInstances();break;default:s.children[r](...u),this.runtime.getFlatInstances();break}r==="splice"?o=i:["pop","shift"].includes(r)&&(o=[i]),this.emit("list-change",{instance:s,value:this.getState(s.id),options:Object.assign({},f,{changed:d,data:a,deleted:o!=null?o:[],jsonValue:JSON.stringify(this.getState(s.id))})}),st=null}}_handlerObjectUpdate(t,n,r,u){const i=jn(this.runtime.flatInstances,n,this.runtime.instanceMap);if(!i)return;const s=this.getInstanceRowIndex(i),l=st||{};if(i.controlType===X.LIST){i.children.length=0;const f=r;let d=[];for(let a=0;a<f.length;a++){const o=this.listControlCreateRow(i,"subtable-row");o&&d.push(o)}i.children.push(...d),this.runtime.getFlatInstances(),this.emit("list-change",{instance:i,value:r,options:ar(ne({},l),{changed:d,data:f,deleted:u!=null?u:[]})})}else this.emit("change",{instance:i,value:this.getState(i.id,s),rowIndex:s,options:ar(ne({},l),{oldValue:u})})}applyPlugins(){this.__pluginsApplied||(this.__plugins.forEach(t=>{var n;try{St=(n=t.pluginName)!=null?n:t.constructor.name,t.apply(this)}catch(r){je(`${St} Plugin apply Error
|
|
2
2
|
${r}`)}finally{St=""}}),this.__pluginsApplied=!0)}listControlCreateRow(t,n){const r=this.runtime.createControlInstance(n);if(!!r){if(r.controlType===X.LAYOUT){const u=r,i=be(t.props.headers),s=this.createControl(i);u.children.push(...s)}return r}}listControlAddRow(t,n="subtable-row"){const r=this.listControlCreateRow(t,n);!r||t.children.push(r)}emit(t,n){var r=u=>super[u];return Pe(this,null,function*(){if(t==="engine-mounted"){if(this.isMounted)return qe("The engine-mounted life cycle can only be triggered once"),Promise.resolve([]);if(this._jobTasks.length){console.time("engine-mounted need wait");const f=[...this._jobTasks];yield Promise.all(f),console.timeEnd("engine-mounted need wait")}this.isMounted=!0}let i,s;this.isMounted||(s=new Promise(f=>{i=f}),this._jobTasks.push(s));const l=yield r("emit").call(this,t,n);return i&&s&&(i(),this._jobTasks.splice(this._jobTasks.indexOf(s),1)),l})}on(t,n){return St&&(n.applyingPluginName=St),super.on(t,n)}createControl(...t){return this.runtime.createControl(...t)}createInstance(t,n){return this.runtime.createControlInstance(t,n)}schemaEvent(t,n){this.emit(t,n)}updateInstanceProps(t,n,r,u){return this.setInstance(t,n,r,u)}getAllRules(t){var r,u;const n=this.runtime.allRules;return t===void 0?n:{rules:(r=n.rules[t])==null?void 0:r.fields,antdRules:(u=n.antdRules[t])==null?void 0:u.fields}}getRules(t){var n;return t===void 0?this.runtime.rules:(n=this.runtime.rules[t])==null?void 0:n.fields}getAntdRules(t){var n;return t===void 0?this.runtime.antdRules:(n=this.runtime.antdRules[t])==null?void 0:n.fields}getState(t,n){return t===void 0?this.store.state:this.store.getState(t,n)}getEmptyState(t){return be(t===void 0?this.store.emptyState:this.store.getEmptyState(t))}setPayloadOptions(t){st=t}setState(t,n,r,u){st=u,this.debugLog("[%o]: \u89E6\u53D1setState, \u4FEE\u6539\u7684\u503C\u4E3A%o, rowIndex=%o, options=%o",t,n,r,u),this.store.setState(t,n,r),this.debugLog("[%o]: setState\u5B8C\u6210, \u4FEE\u6539\u7684\u503C\u4E3A%o, rowIndex=%o",t,n,r),st=null}setStates(t,n,r){let u=t;Object.keys(u).forEach(i=>{Object.entries(this.store.controlIdMapping).forEach(([s,l])=>{if(l.dataView===i){const f=u[i][s];f!==void 0&&this.setState(s,f,n,r)}else(s===i||l.children&&l.children[i])&&u[i]!==void 0&&this.setState(i,u[i],n,r)})})}getField(t,n,r){if(!n){const f=this.getDataBindMapping(t);if(f){const{controlId:d}=f;return this.getState(d)}return}const u=this.getDataBindMapping(t,n);if(!u)return;const{dataBind:i,controlId:s}=u,l=this.getState(s,r);return i instanceof ze?Object.entries(i).reduce((f,[d,a])=>a.fieldCode===n?f[d]:f,l):l}getData(t){var u,i,s,l,f,d,a,o;if(!t)return;let n=this.getDataBindMapping(t),r=this.getControlIdMapping();if(n){const{controlId:c}=n,h=this.getField(t);if(Array.isArray(h))return h.map(D=>{var g,C,F,b,R,$,k;let E={};for(let I in D)if((F=(C=(g=r[c])==null?void 0:g.children[I])==null?void 0:C.dataBind)==null?void 0:F.fieldCode)E[(b=r[c].children[I])==null?void 0:b.dataBind.fieldCode]=D[I];else if((R=r[c])==null?void 0:R.children[I])for(let O in D[I])E[(k=($=r[c])==null?void 0:$.children[I])==null?void 0:k.dataBind[O].fieldCode]=D[I][O];return E});{let p={};for(let D in h)if((i=(u=r[D])==null?void 0:u.dataBind)==null?void 0:i.fieldCode)p[(s=r[D])==null?void 0:s.dataBind.fieldCode]=h[D];else if((f=(l=r[D])==null?void 0:l.dataBind)==null?void 0:f.dataCode)p[(d=r[D])==null?void 0:d.dataBind.dataCode]=h[D].map(E=>{var C,F,b;let g={};for(let R in E)if((C=r[D].children[R])==null?void 0:C.dataBind.fieldCode)g[(F=r[D].children[R])==null?void 0:F.dataBind.fieldCode]=E[R];else for(let $ in E[R])g[(b=r[D].children[R])==null?void 0:b.dataBind[$].fieldCode]=E[R][$];return g});else if(r[D])for(let E in h[D])p[(o=(a=r[D])==null?void 0:a.dataBind[E])==null?void 0:o.fieldCode]=h[D][E];return p}}}setField(t,n,r,u,i){var d;const s=this.getDataBindMapping(t,n);if(!s)return;const{dataBind:l,controlId:f}=s;if(l instanceof ze){const a=(d=be(this.getState(f,u)))!=null?d:this.getEmptyState(f),o=Object.entries(l).reduce((c,[h,p])=>(p.fieldCode===n&&(c[h]=r),c),a);this.setState(f,o,u,i)}else this.setState(f,r,u,i)}setFields(t,n,r,u){const i=this.getDataBindMapping(t);if(!i)return;let s=[];i.fields.forEach(l=>{var o;const{dataBind:f,controlId:d,fieldCode:a}=l;if(!s.includes(a)&&!!Object.hasOwnProperty.call(n,a))if(f instanceof ze){const c=(o=be(this.getState(d,r)))!=null?o:this.getEmptyState(d),h=Object.entries(f).reduce((p,[D,E])=>{s.push(E.fieldCode);const g=n[E.fieldCode];return g!==void 0&&(p[D]=g),p},c);this.setState(l.controlId,h,r,u)}else this.setState(d,n[a],r,u)})}buildFields(t,n){const r=this.getDataBindMapping(t);if(!r)return;let u=[];const i={};return r.fields.forEach(s=>{const{dataBind:l,controlId:f,fieldCode:d}=s;if(!u.includes(d)&&!!Object.hasOwnProperty.call(n,d))if(l instanceof ze){const a=this.getEmptyState(f);i[s.controlId]=Object.entries(l).reduce((o,[c,h])=>{u.push(h.fieldCode);const p=n[h.fieldCode];return p!==void 0&&(o[c]=p),o},a)}else i[f]=n[d]}),i}setData(t,n){this.debugLog("engine setData\u65B9\u6CD5\u6267\u884C\uFF0C\u53C2\u6570\u4E3A%o\uFF0C%o\u3002",t,n);let r={};Object.keys(t).map(u=>{var s,l;const i=t[u];if(Array.isArray(i))i.map(f=>{const d=this.getDataBindMapping(u);if(!d)return;let a=be(this.store.emptyState[d.dataViewId][d.controlId]),o=[];Object.keys(f).map(c=>{var p,D,E;if(o.includes(c))return;const h=(D=(p=this.store.dataBindMapping[u])==null?void 0:p.fields)==null?void 0:D.find(g=>g.fieldCode===c);if(h){if(h.dataBind instanceof Sn&&f[c]!==void 0)a[h.controlId]=f[c];else if(h.dataBind instanceof ze){let g=be((E=this.getEmptyState(h.controlId))!=null?E:{});Object.keys(h.dataBind).map(C=>{const F=h.dataBind[C];f[F.fieldCode]!==void 0&&(g[C]=f[F.fieldCode]),o.push(F.fieldCode)}),a[h.controlId]=g}}}),r[d.dataViewId]||(r[d.dataViewId]={}),r[d.dataViewId][d.controlId]||(r[d.dataViewId][d.controlId]=[]),r[d.dataViewId][d.controlId].push(a)});else if(i){let f=[];const d=be(this.store.emptyState);Object.keys(i).map(o=>{var h;if(f.includes(o))return;const c=this.getDataBindMapping(u,o);if(c){if(r[c.dataViewId[0]]||(r[c.dataViewId[0]]={}),c.dataBind instanceof Sn&&i[o]!==void 0)r[c.dataViewId[0]][c.controlId]=i[o]!==void 0?i[o]:d[c.dataViewId[0]][c.controlId];else if(c.dataBind instanceof ze){let p=(h=this.getEmptyState(c.controlId))!=null?h:{};Object.keys(c.dataBind).map(D=>{const E=c.dataBind[D];i[E.fieldCode]!==void 0&&(p[D]=i[E.fieldCode]),f.push(E.fieldCode)}),r[c.dataViewId[0]][c.controlId]=p}}});const a=this.getDataBindMapping(u);if(a){const o=(s=a==null?void 0:a.fields)==null?void 0:s.map(p=>p==null?void 0:p.controlId),c=this.getEmptyState(a==null?void 0:a.controlId),h=Object.keys((l=r==null?void 0:r[a==null?void 0:a.controlId])!=null?l:{});o==null||o.forEach(p=>{!h.includes(p)&&p!=="uid"&&(Object.keys(r).length&&r[a==null?void 0:a.controlId]?Object.assign(r[a==null?void 0:a.controlId],{[p]:c[p]}):Object.assign(r,{[a.controlId]:{[p]:c[p]}}))}),this.debugLog("engine setData\u65B9\u6CD5\u9ED8\u8BA4\u503C\u53CA\u8868\u5355\u6570\u636E\u7EC4\u5408\u5B8C\u6210\uFF0C\u53C2\u6570\u4E3A%o\u3002",r)}}}),this.debugLog("engine setData\u65B9\u6CD5\u6570\u636E\u7EC4\u5408\u5B8C\u6210\uFF0C\u53C2\u6570\u4E3A%o\u3002",r),this.setStates(r,void 0,n),this.debugLog("engine setData\u65B9\u6CD5\u6267\u884C\u5B8C\u6210\u3002")}getDataBind(t){return this.store.getDataBind(t)}getInstance(t,n){const r=this.getInstances(t,n===-1);if(r.length>0)return n!==void 0?n===-1?r[0]:r[n]:r[0]}getInstances(t,n=!1){var u;if(t===void 0)return this.runtime.flatInstances;const r=Array.from(this.runtime.instanceMap[t]||[]);if(n)if(r.length){const i=r[0];if(this.inList(i.id)===!0){const s=this.getInstanceInSubtableHeader(i);s&&r.unshift(s)}}else{const i=this.getControlIdMapping(),[s]=(u=Object.entries(i).find(([l,f])=>f.children&&t in f.children))!=null?u:[];if(s){const f=this.getInstance(s).props.headers.find(d=>d.children.find(a=>a.id===t));if(f){const d=f.children.find(a=>a.id===t);d&&r.unshift(d)}}}return r}setInstance(t,n,r,u){try{if(typeof t=="string"&&u===-1)this.getInstances(t,u===-1).map(s=>{s&&(this.debugLog("[%o]: \u4FEE\u6539instance: %o\u7684%o\u5C5E\u6027\uFF0C\u4FEE\u6539\u7684\u503C\u4E3A%o\u3002",s.id,s,n,r),Er(s.props,n,r),this.schemaEvent("schema-change",{instance:s,props:n,value:r,rowIndex:u}))});else{let i;if(typeof t=="string"?i=this.getInstance(t,u):i=t,!i)return;this.debugLog("[%o]: \u4FEE\u6539instance: %o\u7684%o\u5C5E\u6027\uFF0C\u4FEE\u6539\u7684\u503C\u4E3A%o\u3002",i.id,i,n,r),Er(i.props,n,r),this.schemaEvent("schema-change",{instance:i,props:n,value:r,rowIndex:u})}}catch(i){throw i}}getControlIdMapping(){return this.store.controlIdMapping}getDataBindMapping(t,n){if(!t&&!n)return this.store.dataBindMapping;const r=this.store.dataBindMapping[t];if(!r){qe(`No corresponding dataCode=${t} was found`);return}if(!n)return r;const u=r.fields.find(i=>i.fieldCode===n);if(!u){qe(`No corresponding fieldCode=${n} was found`);return}return u}getAction(){return this.actionManager}initDataManager(t){this.dataManager=new m0(t)}getDataManager(){return this.dataManager}assertInstance(t,n){return ye(n)?t.type===n:n.includes(t.type)}getInstanceRowIndex(t){if(!t.parent)return;let n;if(this.assertInstance(t.parent,W.SUBTABLE))if(this.assertInstance(t,W.SUBTABLE_COLUMN))n=-1;else{const r=t.parent.children.findIndex(u=>u===t);r>-1&&(n=r)}else n=this.getInstanceRowIndex(t.parent);return n}getInstanceParentControl(t,n){if(!!t.parent)return this.assertInstance(t.parent,n)?t.parent:this.getInstanceParentControl(t.parent,n)}getInstanceInSubtableHeader(t){const n=this.getInstanceRowIndex(t);if(n===void 0)return;if(n===-1)return t;const r=this.assertInstance(t,W.SUBTABLE_COLUMN)?t:this.getInstanceParentControl(t,W.SUBTABLE_COLUMN);if(!r)return;const i=this.getInstanceParentControl(t,W.SUBTABLE).props.headers.find(s=>s.id===r.id);if(!!i)return i.children.find(s=>s.id===t.id)}setControlConfig(...t){return this.runtime.registerControlConfig(...t)}getControlConfig(t){return this.runtime.getControlConfig(t)}inList(t){const n=this.store.controlIdMapping;return Object.keys(n).some(u=>{var i,s;return(s=(i=n[u])==null?void 0:i.children)==null?void 0:s.hasOwnProperty(t)})}}console.log("a");class I0{}class _0{constructor(t,n){this.config=t,this.env=n}apply(t){this.engine=t;const n=this.config;if(!n)return;const r=Gr(n,t,this.env);if(!r)return;const u=t.getAction();for(let[i,s]of Object.entries(r.funcMap))u.addAction(i,s)}}function Gr(e,t,n){if(!e.module||!e.module.compiled)return;const r=e.module.compiled,u={exports:{ctx:t,utils:t.getAction().actionUtils,env:n}};try{new Function("module","exports",r).call(u,u,u.exports)}catch(l){je(l.message+". fail to parse the module"),process.env.NODE_ENV!=="production"&&je("fail to parse the module")}const i={},s={};for(const[l,f]of Object.entries(u.exports))typeof f=="function"?i[l]=f:s[l]=f;return{funcMap:i,variables:s}}const R0={"engine-mounted":"did_mount","engine-submit":"will_submit","engine-submit-params":"do_submit","engine-submitted":"did_submit"};class x0{constructor(t){this.config=t}apply(t){this.engine=t,Object.entries(R0).forEach(([n,r])=>{t.on(n,u=>Pe(this,null,function*(){const i=yield this.callLifecycleEvent(r,u);return i.includes(!1)?!1:i}))})}callLifecycleEvent(t,n){return Pe(this,null,function*(){const r=this.config;return!r||!Array.isArray(r[t])?[]:yield Promise.all(r[t].map(i=>Pe(this,null,function*(){return yield this.engine.getAction().execAction(i,n)})))})}}class O0{constructor(t){this.config=t}apply(t){this.engine=t,Sr.events.forEach(n=>{n.code&&n.key&&this.engineAddEventListener(n.code,n.key)})}engineAddEventListener(t,n){this.engine.on(t,r=>Pe(this,null,function*(){if(!(t==="change"&&!this.engine.isMounted)&&r.instance!==void 0)return yield this.callControlEvent(n,r)}))}callControlEvent(t,n){return Pe(this,null,function*(){const r=this.config[n.instance.id];if(!r||!Array.isArray(r[t]))return[];const u=yield Promise.all(r[t].map(i=>Pe(this,null,function*(){return yield this.engine.getAction().execAction(i,n)})));return u.includes(!1)?!1:u})}}function Vn(){return Vn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Vn.apply(this,arguments)}var Qr={epsilon:1e-12,matrix:"Matrix",number:"number",precision:64,predictable:!1,randomSeed:null};function de(e){return typeof e=="number"}function Ze(e){return!e||typeof e!="object"||typeof e.constructor!="function"?!1:e.isBigNumber===!0&&typeof e.constructor.prototype=="object"&&e.constructor.prototype.isBigNumber===!0||typeof e.constructor.isDecimal=="function"&&e.constructor.isDecimal(e)===!0}function Yr(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isComplex===!0||!1}function eu(e){return e&&typeof e=="object"&&Object.getPrototypeOf(e).isFraction===!0||!1}function tu(e){return e&&e.constructor.prototype.isUnit===!0||!1}function Gt(e){return typeof e=="string"}var we=Array.isArray;function Mt(e){return e&&e.constructor.prototype.isMatrix===!0||!1}function qn(e){return Array.isArray(e)||Mt(e)}function $0(e){return e&&e.isDenseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function T0(e){return e&&e.isSparseMatrix&&e.constructor.prototype.isMatrix===!0||!1}function L0(e){return e&&e.constructor.prototype.isRange===!0||!1}function nu(e){return e&&e.constructor.prototype.isIndex===!0||!1}function P0(e){return typeof e=="boolean"}function k0(e){return e&&e.constructor.prototype.isResultSet===!0||!1}function j0(e){return e&&e.constructor.prototype.isHelp===!0||!1}function U0(e){return typeof e=="function"}function V0(e){return e instanceof Date}function q0(e){return e instanceof RegExp}function H0(e){return!!(e&&typeof e=="object"&&e.constructor===Object&&!Yr(e)&&!eu(e))}function z0(e){return e===null}function W0(e){return e===void 0}function Z0(e){return e&&e.isAccessorNode===!0&&e.constructor.prototype.isNode===!0||!1}function X0(e){return e&&e.isArrayNode===!0&&e.constructor.prototype.isNode===!0||!1}function K0(e){return e&&e.isAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function J0(e){return e&&e.isBlockNode===!0&&e.constructor.prototype.isNode===!0||!1}function G0(e){return e&&e.isConditionalNode===!0&&e.constructor.prototype.isNode===!0||!1}function Q0(e){return e&&e.isConstantNode===!0&&e.constructor.prototype.isNode===!0||!1}function Y0(e){return e&&e.isFunctionAssignmentNode===!0&&e.constructor.prototype.isNode===!0||!1}function ef(e){return e&&e.isFunctionNode===!0&&e.constructor.prototype.isNode===!0||!1}function tf(e){return e&&e.isIndexNode===!0&&e.constructor.prototype.isNode===!0||!1}function nf(e){return e&&e.isNode===!0&&e.constructor.prototype.isNode===!0||!1}function rf(e){return e&&e.isObjectNode===!0&&e.constructor.prototype.isNode===!0||!1}function uf(e){return e&&e.isOperatorNode===!0&&e.constructor.prototype.isNode===!0||!1}function of(e){return e&&e.isParenthesisNode===!0&&e.constructor.prototype.isNode===!0||!1}function af(e){return e&&e.isRangeNode===!0&&e.constructor.prototype.isNode===!0||!1}function sf(e){return e&&e.isRelationalNode===!0&&e.constructor.prototype.isNode===!0||!1}function cf(e){return e&&e.isSymbolNode===!0&&e.constructor.prototype.isNode===!0||!1}function ff(e){return e&&e.constructor.prototype.isChain===!0||!1}function Hn(e){var t=typeof e;return t==="object"?e===null?"null":Ze(e)?"BigNumber":e.constructor&&e.constructor.name?e.constructor.name:"Object":t}function et(e){var t=typeof e;if(t==="number"||t==="string"||t==="boolean"||e===null||e===void 0)return e;if(typeof e.clone=="function")return e.clone();if(Array.isArray(e))return e.map(function(n){return et(n)});if(e instanceof Date)return new Date(e.valueOf());if(Ze(e))return e;if(e instanceof RegExp)throw new TypeError("Cannot clone "+e);return lf(e,et)}function lf(e,t){var n={};for(var r in e)Qt(e,r)&&(n[r]=t(e[r]));return n}function zn(e,t){var n,r,u;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(r=0,u=e.length;r<u;r++)if(!zn(e[r],t[r]))return!1;return!0}else{if(typeof e=="function")return e===t;if(e instanceof Object){if(Array.isArray(t)||!(t instanceof Object))return!1;for(n in e)if(!(n in t)||!zn(e[n],t[n]))return!1;for(n in t)if(!(n in e))return!1;return!0}else return e===t}}function Qt(e,t){return e&&Object.hasOwnProperty.call(e,t)}function hf(e,t){for(var n={},r=0;r<t.length;r++){var u=t[r],i=e[u];i!==void 0&&(n[u]=i)}return n}var df=["Matrix","Array"],pf=["number","BigNumber","Fraction"],ru=function(t){if(t)throw new Error(`The global config is readonly.
|
|
3
3
|
Please create a mathjs instance if you want to change the default configuration.
|
|
4
4
|
Example:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@byteluck-fe/model-driven-engine",
|
|
3
|
-
"version": "2.6.0-alpha.
|
|
3
|
+
"version": "2.6.0-alpha.8",
|
|
4
4
|
"description": "> TODO: description",
|
|
5
5
|
"author": "郝晨光 <2293885211@qq.com>",
|
|
6
6
|
"homepage": "",
|
|
@@ -26,13 +26,13 @@
|
|
|
26
26
|
"postpublish": "node ../../scripts/postpublish.js"
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@byteluck-fe/model-driven-core": "2.6.0-alpha.
|
|
30
|
-
"@byteluck-fe/model-driven-shared": "2.6.0-alpha.
|
|
29
|
+
"@byteluck-fe/model-driven-core": "2.6.0-alpha.8",
|
|
30
|
+
"@byteluck-fe/model-driven-shared": "2.6.0-alpha.8",
|
|
31
31
|
"@types/mathjs": "^9.4.2",
|
|
32
32
|
"mathjs": "^11.3.3"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@types/node": "~18.0.6"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "c5d5b083b6ddcef1b76656ed36bb92632d718947"
|
|
38
38
|
}
|