@byteluck-fe/model-driven-upgrade 2.6.0-alpha.13 → 2.6.0-alpha.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- (function(W,re){typeof exports=="object"&&typeof module!="undefined"?re(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],re):(W=typeof globalThis!="undefined"?globalThis:W||self,re(W.modelDrivenUpgrade={},W.regeneratorRuntime))})(this,function(W,re){"use strict";function Xr(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var H=Xr(re),Qr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Jr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Zr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Yr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ei="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ti="{caption}\u5FC5\u586B",ni="\u8BF7\u8F93\u5165\u6807\u9898",ri="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ii="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ui="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",oi="\u8BF7\u7ED1\u5B9A\u8868\u5355",ai="\u8BF7\u7ED1\u5B9A\u5217\u8868",li="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",si="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ci="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",fi="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",di="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",pi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",yi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",vi="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",hi="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",bi="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",_i="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",gi="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",mi="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Ei="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ii="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ai="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",wi="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Si="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Oi="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ci="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ri="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ki="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Bi="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Pi="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Di="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ti="\u8BF7\u9009\u62E9\u7701",$i="\u8BF7\u9009\u62E9\u5E02",Fi="\u8BF7\u9009\u62E9\u533A",Ni="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Li="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Mi="\u8BF7\u8F93\u5165\u5217\u5BBD",xi="\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",Hi="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ui="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Vi="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",qi="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Wi="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",zi="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ki="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Gi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Xi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Qi="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ji="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Yi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ru="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",uu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ou="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",au="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",lu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",su="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",cu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",fu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",du="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",pu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",yu={isNotNumber:Qr,isNotString:Jr,isNotObject:Zr,isNotArray:Yr,isNotBoolean:ei,runtimeRequired:ti,pleaseEnterCaption:ni,pleaseEnterCaptionTip:ri,pleaseEnterPlaceholder:ii,pleaseEnterFieldCode:ui,pleaseEnterForm:oi,pleaseEnterList:ai,pleaseEnterProcess:li,pleaseEnterLabel:si,pleaseEnterValue:ci,bizKeyNotBindFiled:fi,pleaseSelectOneField:di,pleaseEnterNumberRange:pi,pleaseEnterAValueGreaterThanMin:yi,pleaseEnterAValueLessThanMax:vi,numberRangeSetError:hi,stringRangeError:bi,attachmentMaxSize:_i,pleaseEnterTotalScoreSetting:gi,theTotalScoreMustNotBeLessThan1:mi,scoreDefaultValueRange:Ei,attachmentLimitError:Ii,PleaseReselectTheOptionalQuantity:Ai,TheMaximumLengthIsGreaterThanTheMinimumLength:wi,TheMinimumLengthIsGreaterThanTheMaximumLength:Si,PleaseSelectTheCorrectOptionSettings:Oi,optionIdIsRepeat:Ci,optionIsRequired:Ri,pleaseEnterDataCode:ki,pleaseEnterValueFieldCode:Bi,pleaseEnterSvcCode:Pi,pleaseBindAtLeastOneDisplayValue:Di,pleaseSelectProvince:Ti,pleaseSelectCity:$i,pleaseSelectDistrict:Fi,limitRowsCannotBeLessThan0:Ni,TheNumberOfRowsCannotBeLessThanMinRows:Li,pleaseEnterColumnWidth:Mi,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xi,pleaseCompleteAllRulesAndConditions:ji,pleaseSelectControl:Hi,pleaseSelectAtLeastOneColumn:Ui,pleaseSelectFillBackMode:Vi,pleaseSelectDashboard:qi,rootNodeIsRequired:Wi,theViewNameCannotBeEmpty:zi,pleaseSelectOcrType:Ki,pleaseSelectAtLeastOneFieldToFillIn:Gi,pleaseChooseAtLeastOne:Xi,pleaseEnterButtonContent:Qi,pleaseEnterDataCodeInDataSetting:Ji,pleaseEnterValueFieldCodeInDataSetting:Zi,pleaseEnterSvcCodeInDataSetting:Yi,pleaseBindAtLeastOneDisplayValueInDataSetting:eu,rootNodeIsRequiredInDataSetting:tu,pleaseEnterMaxHeight:nu,pleaseEnter:ru,pleaseEnterWatermark:iu,pleaseEnterFileName:uu,pleaseUploadAtLeastOnePrintTemplate:ou,pleaseAssignBusiness:au,pleaseAssignExternal:lu,pleaseEnterAliasCode:su,pleaseSelectDataCode:cu,pleaseSelectSvcCode:fu,pleaseSelectJoinFieldCode:du,pleaseSelectMainFieldCode:pu},vu="Please enter a number",hu="Please enter a string",bu="Please enter an object",_u="Please enter an array",gu="Please enter a boolean",mu="{caption} Required",Eu="Please enter the title",Iu="Please enter the bubble prompt",Au="Please enter the prompt text",wu="Please bind data items",Su="Please bind the form",Ou="Please bind the list",Cu="Please bind the process",Ru="Please enter the displayed value",ku="Please enter the stored value",Bu="The document number is not bound to the data item",Pu="Please select at least one display field",Du="Please enter a value greater than or equal to {min} and less than or equal to {max}",Tu="Please enter a value greater than or equal to {min}",$u="Please enter a value less than or equal to {max}",Fu="The value range is set incorrectly",Nu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Lu="The attachment size must be between 0MB and 1000MB",Mu="Please fill in the total score setting",xu="The total score cannot be less than 1",ju="The default value must be between {min} and {max}",Hu="The number of attachments uploaded must be between {min} and {max}",Uu="Please re-select the optional quantity",Vu="The maximum length of the control must be greater than the minimum length",qu="The minimum length of the control must be less than the maximum length",Wu="Please select the correct option setting",zu="Option ID cannot be repeated",Ku="Please enter at least one option",Gu="Please bind the data source",Xu="Please bind the stored value",Qu="Please bind the service",Ju="At least one display value must be bound",Zu="Please select a province",Yu="Please select a city",eo="Please select a district",to="The minimum number of lines to fill in cannot be less than 0",no="The number of rows cannot be less than {min} rows",ro="Please enter the column width",io="Please set the logical relationship of all rule conditions",uo="Please complete all rules and conditions",oo="please select control",ao="Please select the dashboard",lo="View name cannot be empty",so="Please select recognition type",co="Please select at least one field to fill in",fo="Please select at least one",po="Please enter the button title",yo="Please bind the business model in the data settings",vo="Please bind storage values in data settings",ho="Please bind the service in the data settings",bo="Please bind at least one display value in the data settings",_o="Please select the root node in the data settings",go="Please enter the maximum height",mo="The input content cannot be empty",Eo="Watermark cannot be empty",Io="File name cannot be empty",Ao="Please upload at least one printing template!\uFF01",wo="Please select a specific business department",So="Please select a specified external organization",Oo="Please enter a sub table alias",Co="Please select the associated table to set the business model",Ro="Please select the association table to set the binding service",ko="Select associated sub table fields",Bo="Please select the associated main table field",Po={isNotNumber:vu,isNotString:hu,isNotObject:bu,isNotArray:_u,isNotBoolean:gu,runtimeRequired:mu,pleaseEnterCaption:Eu,pleaseEnterCaptionTip:Iu,pleaseEnterPlaceholder:Au,pleaseEnterFieldCode:wu,pleaseEnterForm:Su,pleaseEnterList:Ou,pleaseEnterProcess:Cu,pleaseEnterLabel:Ru,pleaseEnterValue:ku,bizKeyNotBindFiled:Bu,pleaseSelectOneField:Pu,pleaseEnterNumberRange:Du,pleaseEnterAValueGreaterThanMin:Tu,pleaseEnterAValueLessThanMax:$u,numberRangeSetError:Fu,stringRangeError:Nu,attachmentMaxSize:Lu,pleaseEnterTotalScoreSetting:Mu,theTotalScoreMustNotBeLessThan1:xu,scoreDefaultValueRange:ju,attachmentLimitError:Hu,PleaseReselectTheOptionalQuantity:Uu,TheMaximumLengthIsGreaterThanTheMinimumLength:Vu,TheMinimumLengthIsGreaterThanTheMaximumLength:qu,PleaseSelectTheCorrectOptionSettings:Wu,optionIdIsRepeat:zu,optionIsRequired:Ku,pleaseEnterDataCode:Gu,pleaseEnterValueFieldCode:Xu,pleaseEnterSvcCode:Qu,pleaseBindAtLeastOneDisplayValue:Ju,pleaseSelectProvince:Zu,pleaseSelectCity:Yu,pleaseSelectDistrict:eo,limitRowsCannotBeLessThan0:to,TheNumberOfRowsCannotBeLessThanMinRows:no,pleaseEnterColumnWidth:ro,pleaseSetTheLogicalRelationshipOfAllRuleConditions:io,pleaseCompleteAllRulesAndConditions:uo,pleaseSelectControl:oo,pleaseSelectDashboard:ao,theViewNameCannotBeEmpty:lo,pleaseSelectOcrType:so,pleaseSelectAtLeastOneFieldToFillIn:co,pleaseChooseAtLeastOne:fo,pleaseEnterButtonContent:po,pleaseEnterDataCodeInDataSetting:yo,pleaseEnterValueFieldCodeInDataSetting:vo,pleaseEnterSvcCodeInDataSetting:ho,pleaseBindAtLeastOneDisplayValueInDataSetting:bo,rootNodeIsRequiredInDataSetting:_o,pleaseEnterMaxHeight:go,pleaseEnter:mo,pleaseEnterWatermark:Eo,pleaseEnterFileName:Io,pleaseUploadAtLeastOnePrintTemplate:Ao,pleaseAssignBusiness:wo,pleaseAssignExternal:So,pleaseEnterAliasCode:Oo,pleaseSelectDataCode:Co,pleaseSelectSvcCode:Ro,pleaseSelectJoinFieldCode:ko,pleaseSelectMainFieldCode:Bo},Do="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",To="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$o="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fo="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",No="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lo="{caption}\u5FC5\u9808",Mo="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xo="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jo="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ho="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uo="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vo="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qo="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wo="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zo="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ko="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Go="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xo="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qo="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jo="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zo="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Yo="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ea="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ta="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",na="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ra="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ia="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ua="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oa="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",aa="\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",la="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sa="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ca="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fa="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",da="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ya="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",va="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ha="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ba="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_a="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ga="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ma="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ia="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Aa="please select control",wa="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sa="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Oa="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ca="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ba="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Da="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",$a="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fa="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Na="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",La="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ma="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xa="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",ja="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ha="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ua="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Va="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",qa="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wa="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",za="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ka={isNotNumber:Do,isNotString:To,isNotObject:$o,isNotArray:Fo,isNotBoolean:No,runtimeRequired:Lo,pleaseEnterCaption:Mo,pleaseEnterCaptionTip:xo,pleaseEnterPlaceholder:jo,pleaseEnterFieldCode:Ho,pleaseEnterForm:Uo,pleaseEnterList:Vo,pleaseEnterProcess:qo,pleaseEnterLabel:Wo,pleaseEnterValue:zo,bizKeyNotBindFiled:Ko,pleaseSelectOneField:Go,pleaseEnterNumberRange:Xo,pleaseEnterAValueGreaterThanMin:Qo,pleaseEnterAValueLessThanMax:Jo,numberRangeSetError:Zo,stringRangeError:Yo,attachmentMaxSize:ea,pleaseEnterTotalScoreSetting:ta,theTotalScoreMustNotBeLessThan1:na,scoreDefaultValueRange:ra,attachmentLimitError:ia,PleaseReselectTheOptionalQuantity:ua,TheMaximumLengthIsGreaterThanTheMinimumLength:oa,TheMinimumLengthIsGreaterThanTheMaximumLength:aa,PleaseSelectTheCorrectOptionSettings:la,optionIdIsRepeat:sa,optionIsRequired:ca,pleaseEnterDataCode:fa,pleaseEnterValueFieldCode:da,pleaseEnterSvcCode:pa,pleaseBindAtLeastOneDisplayValue:ya,pleaseSelectProvince:va,pleaseSelectCity:ha,pleaseSelectDistrict:ba,limitRowsCannotBeLessThan0:_a,TheNumberOfRowsCannotBeLessThanMinRows:ga,pleaseEnterColumnWidth:ma,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ea,pleaseCompleteAllRulesAndConditions:Ia,pleaseSelectControl:Aa,pleaseSelectDashboard:wa,theViewNameCannotBeEmpty:Sa,pleaseSelectOcrType:Oa,pleaseSelectAtLeastOneFieldToFillIn:Ca,pleaseChooseAtLeastOne:Ra,pleaseEnterButtonContent:ka,pleaseEnterDataCodeInDataSetting:Ba,pleaseEnterValueFieldCodeInDataSetting:Pa,pleaseEnterSvcCodeInDataSetting:Da,pleaseBindAtLeastOneDisplayValueInDataSetting:Ta,rootNodeIsRequiredInDataSetting:$a,pleaseEnterMaxHeight:Fa,pleaseEnter:Na,pleaseEnterWatermark:La,pleaseEnterFileName:Ma,pleaseUploadAtLeastOnePrintTemplate:xa,pleaseAssignBusiness:ja,pleaseAssignExternal:Ha,pleaseEnterAliasCode:Ua,pleaseSelectDataCode:Va,pleaseSelectSvcCode:qa,pleaseSelectJoinFieldCode:Wa,pleaseSelectMainFieldCode:za},Ga={zhCN:yu,enUS:Po,jaJP:Ka},cn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(cn||(cn={}));var fn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(fn||(fn={}));var Xa="zh-CN";function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(dn||(dn={}));var c;(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"})(c||(c={}));var m;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(m||(m={}));var D;D={},F(D,m.ARRAY,c.ARRAY_COLUMN),F(D,m.AUTO_NUMBER,c.AUTO_NUMBER_COLUMN),F(D,m.DECIMAL,c.DECIMAL_COLUMN),F(D,m.DEPARTMENTS,c.DEPARTMENT_COLUMN),F(D,m.FILE,c.FILE_COLUMN),F(D,m.IMAGE,c.IMAGE_COLUMN),F(D,m.ADDRESS,c.LOCATION_COLUMN),F(D,m.EMPLOYEES,c.EMPLOYEE_COLUMN),F(D,m.TEXT,c.TEXT_COLUMN),F(D,m.TIMESCOPE,c.TIMESCOPE_COLUMN),F(D,m.TIMESTAMP,c.TIMESTAMP_COLUMN),F(D,m.VARCHAR,c.VARCHAR_COLUMN),F(D,m.RELATION,c.VARCHAR_COLUMN);var pn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(pn||(pn={}));var yn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Qa=yn+"0123456789";function be(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?yn:Qa,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function tt(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 Ja(e){if(Array.isArray(e))return tt(e)}function Za(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ya(){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 _e(e,t,n){return Ya()?_e=Reflect.construct:_e=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&ue(p,a.prototype),p},_e.apply(null,arguments)}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ie(e)}function hn(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&&ue(e,t)}function el(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function tl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nl(){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 rl(e,t){return t&&(il(t)==="object"||typeof t=="function")?t:Za(e)}function ue(e,t){return ue=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ue(e,t)}function bn(e){return Ja(e)||tl(e)||ul(e)||nl()}var il=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ul(e,t){if(!!e){if(typeof e=="string")return tt(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 tt(e,t)}}function nt(e){var t=typeof Map=="function"?new Map:void 0;return nt=function(r){if(r===null||!el(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 _e(r,arguments,ie(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ue(u,r)},nt(e)}function ol(){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 _n(e){var t=ol();return function(){var r=ie(e),u;if(t){var o=ie(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return rl(this,u)}}var rt=console;function al(){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=rt).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(bn(u)))}function ge(){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=rt).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(bn(u)))}function ll(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var it=function(e){hn(n,e);var t=_n(n);function n(r){vn(this,n);var u;return u=t.call(this,r),u.name="\u{1F4A5} Driven Error",u.message=r?ll(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(nt(Error)),sl=function(e){hn(n,e);var t=_n(n);function n(r){vn(this,n);var u;return u=t.call(this,r),u.name="\u{1F6A8} Driven Reference Error",u}return n}(it);function gn(e){throw new it(e)}function mn(e){throw new sl(e)}function cl(e){rt.error(new it(e))}var fl=Object.prototype.toString;function En(e,t){return fl.call(e)==="[object "+t+"]"}function dl(e){return En(e,"String")}function pl(e){return En(e,"Promise")}var yl=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();pl(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,o,a,s){if(u!==void 0){var f=u[o];if(!(a===s.length-1&&!dl(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 o=n[u];return o!==void 0?String(o):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 vl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(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 hl(e,t,n){return t&&In(e.prototype,t),n&&In(e,n),e}var O=function(){function e(){vl(this,e)}return hl(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]:Xa;return new yl({locale:n,messages:Ga})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();O.$i18n=O.resetI18n();function bl(e,t,n){var r=t.replace(/\[(\d)]/g,function(o,a){return"."+a}).split("."),u=!1;return r.reduce(function(o,a,s,f){var p=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,a)){al("Can not set ".concat(t,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),o,o);return}return s===f.length-1&&!Object.is(p[a],n)&&(p[a]=n,u=!0),p[a]}},e),u}var _l=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ut={exports:{}};(function(e){(function(t){var n=function(d,g,_){if(!p(g)||v(g)||h(g)||E(g)||f(g))return g;var C,R=0,L=0;if(y(g))for(C=[],L=g.length;R<L;R++)C.push(n(d,g[R],_));else{C={};for(var k in g)Object.prototype.hasOwnProperty.call(g,k)&&(C[d(k,_)]=n(d,g[k],_))}return C},r=function(d,g){g=g||{};var _=g.separator||"_",C=g.split||/(?=[A-Z])/;return d.split(C).join(_)},u=function(d){return S(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(g,_){return _?_.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},o=function(d){var g=u(d);return g.substr(0,1).toUpperCase()+g.substr(1)},a=function(d,g){return r(d,g).toLowerCase()},s=Object.prototype.toString,f=function(d){return typeof d=="function"},p=function(d){return d===Object(d)},y=function(d){return s.call(d)=="[object Array]"},v=function(d){return s.call(d)=="[object Date]"},h=function(d){return s.call(d)=="[object RegExp]"},E=function(d){return s.call(d)=="[object Boolean]"},S=function(d){return d=d-0,d===d},b=function(d,g){var _=g&&"process"in g?g.process:g;return typeof _!="function"?d:function(C,R){return _(C,d,R)}},I={camelize:u,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(d,g){return n(b(u,g),d)},decamelizeKeys:function(d,g){return n(b(a,g),d,g)},pascalizeKeys:function(d,g){return n(b(o,g),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=I:t.humps=I})(_l)})(ut);var An={};Object.defineProperty(An,"__esModule",{value:!0});function ot(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ot(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:ot(r)}return t}}var gl=An.default=ot;function oe(e){if(e!==void 0)return typeof e=="object"?gl(e):e}function T(e){return wn(e)&&"zh"in e}function wn(e){return Object.prototype.toString.call(e)==="[object Object]"}function ml(e){return Array.isArray(e)}function X(e){return isNaN(parseFloat(e))?"":Number(e)}function El(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function $(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(r){var u=r;return Array.isArray(r==null?void 0:r.children)&&(u.children=$(r.children,t)),t(u)})),n}function Il(e){return ut.exports.camelizeKeys(e)}function Q(e){return ut.exports.decamelizeKeys(e)}function at(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 Al(e){if(Array.isArray(e))return at(e)}function Sn(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(p){n(p);return}s.done?t(f):Promise.resolve(f).then(r,u)}function wl(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){Sn(o,r,u,a,s,"next",f)}function s(f){Sn(o,r,u,a,s,"throw",f)}a(void 0)})}}function Sl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(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 Ol(e,t,n){return t&&On(e.prototype,t),n&&On(e,n),e}function Cl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rl(){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 lt(e){return Al(e)||Cl(e)||kl(e)||Rl()}function kl(e,t){if(!!e){if(typeof e=="string")return at(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 at(e,t)}}var Bl=function(){function e(){Sl(this,e),this._events=new Map,this.debug=!1}return Ol(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var a=this;return wl(H.default.mark(function s(){var f,p,y,v,h,E,S,b,I,d;return H.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(f=a._events.get(n),p=[],!f){_.next=42;break}y=f.slice(),v=!0,h=!1,E=void 0,_.prev=5,S=y[Symbol.iterator]();case 7:if(v=(b=S.next()).done){_.next=28;break}if(I=b.value,f.includes(I)){_.next=11;break}return _.abrupt("continue",25);case 11:return _.prev=11,a.debug&&ge.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(lt(u))),_.next=15,I.apply(null,lt(u));case 15:if(d=_.sent,a.debug&&ge.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.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(lt(u),[d])),p.push(d),d!==!1){_.next=20;break}return _.abrupt("break",28);case 20:_.next=25;break;case 22:_.prev=22,_.t0=_.catch(11),cl(String(_.t0)+":"+String(_.t0.stack));case 25:v=!0,_.next=7;break;case 28:_.next=34;break;case 30:_.prev=30,_.t1=_.catch(5),h=!0,E=_.t1;case 34:_.prev=34,_.prev=35,!v&&S.return!=null&&S.return();case 37:if(_.prev=37,!h){_.next=40;break}throw E;case 40:return _.finish(37);case 41:return _.finish(34);case 42:return _.abrupt("return",p);case 43:case"end":return _.stop()}},s,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),o=u==null?void 0:u.indexOf(r);u==null||u.splice(o,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}(),Pl=[];new Set(Pl.map(function(e){return e.Designer.controlType}));function Dl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},me(e)}function Cn(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&&st(e,t)}function Tl(e,t){return t&&($l(t)==="object"||typeof t=="function")?t:Dl(e)}function st(e,t){return st=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},st(e,t)}var $l=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fl(){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 Rn(e){var t=Fl();return function(){var r=me(e),u;if(t){var o=me(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Tl(this,u)}}var Nl=function e(t){P(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:"",this.aliasCode=t==null?void 0:t.aliasCode},Ll=function e(t){P(this,e);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},ct=function(e){Cn(n,e);var t=Rn(n);function n(r){P(this,n);var u;u=t.call(this,r);var o;u.width=(o=r==null?void 0:r.width)!==null&&o!==void 0?o:240;var a;return u.widthType=(a=r==null?void 0:r.widthType)!==null&&a!==void 0?a:"auto",u}return n}(Ll),Ml=function e(t){P(this,e),this.pc=new ct(t==null?void 0:t.pc),this.mobile=(t==null?void 0:t.mobile)?new ct(t==null?void 0:t.mobile):new ct({width:130,minWidth:180})},kn=function e(t){P(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var u;this.appId=(u=t==null?void 0:t.appId)!==null&&u!==void 0?u:""},xl=function e(t){P(this,e);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==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:m.VARCHAR},jl=function(e){Cn(n,e);var t=Rn(n);function n(r){P(this,n);var u;u=t.call(this,r);var o;u.title=(o=r==null?void 0:r.title)!==null&&o!==void 0?o:"";var a;u.svcCode=(a=r==null?void 0:r.svcCode)!==null&&a!==void 0?a:"";var s;u.isOpenFilter=(s=r==null?void 0:r.isOpenFilter)!==null&&s!==void 0?s:!1;var f;return u.filters=(f=r==null?void 0:r.filters)!==null&&f!==void 0?f:[],u}return n}(kn),Hl=function e(t){P(this,e);var n,r;this.type="sublist-page",this.formBind=new kn(t==null?void 0:t.formBind);var u;this.displayFields=(u=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(a){return new xl(a)}))!==null&&u!==void 0?u:[];var o;this.sublists=(o=t==null||(r=t.sublists)===null||r===void 0?void 0:r.map(function(a){return new jl(a)}))!==null&&o!==void 0?o:[]},Ul=function e(t){P(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Vl=function e(t){P(this,e);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:[];var u;this.displayBos=(u=t==null?void 0:t.displayBos)!==null&&u!==void 0?u:[]},Bn=function e(t){P(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:be();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var u;this.level=(u=t==null?void 0:t.level)!==null&&u!==void 0?u:0;var o;if(this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"and",this.children=[],Array.isArray(t==null?void 0:t.children)){var a=this;t==null||t.children.map(function(s){if(s.children!==void 0){var f,p=new e(s);(f=a.children)===null||f===void 0||f.push(p)}else{var y,v=new ft(s);(y=a.children)===null||y===void 0||y.push(v)}})}},ft=function e(t){P(this,e),this.type="condition";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:be();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var u;this.symbol=(u=t==null?void 0:t.symbol)!==null&&u!==void 0?u:"";var o;this.checked=(o=t==null?void 0:t.checked)!==null&&o!==void 0?o:!1;var a;this.describe=(a=t==null?void 0:t.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Ul(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Vl(t==null?void 0:t.rightVariableBo)},ql=function e(t){P(this,e);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new ae(t==null?void 0:t.datasourceBind);var r;this.relationFields=(r=t==null?void 0:t.relationFields)!==null&&r!==void 0?r:[]},Wl=function e(t){P(this,e);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:"",this.fieldType=t==null?void 0:t.fieldType},zl=function e(t){P(this,e);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var r;this.desc=(r=t.desc)!==null&&r!==void 0?r:!1};function Kl(e){var t,n,r,u,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Bn(f):new ft(f)}))!==null&&o!==void 0?o:[];var a;this.viewFilters=(a=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(f){return f.children!==void 0?new Bn(f):new ft(f)}))!==null&&a!==void 0?a:[];var s;this.orders=(s=(r=e)===null||r===void 0||(u=r.orders)===null||u===void 0?void 0:u.map(function(f){return new zl(f)}))!==null&&s!==void 0?s:[]}var ae=function e(t){P(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var u;this.valueFieldCode=(u=t==null?void 0:t.valueFieldCode)!==null&&u!==void 0?u:"",this.displayBoList=[];var o;if(this.isOpenViewFilters=(o=t==null?void 0:t.isOpenViewFilters)!==null&&o!==void 0?o:0,Array.isArray(t==null?void 0:t.displayBoList)){var a=this;t==null||t.displayBoList.map(function(p){var y;(y=a.displayBoList)===null||y===void 0||y.push(new Wl(p))})}var s;this.showOrder=(s=t==null?void 0:t.showOrder)!==null&&s!==void 0?s:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",Kl.call(this,t)},Pn;(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"})(Pn||(Pn={}));var l;(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"})(l||(l={}));var dt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(dt||(dt={}));var le=function e(t){P(this,e);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var r;this.content=(r=t==null?void 0:t.content)!==null&&r!==void 0?r:"";var u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"";var o;this.openType=(o=t==null?void 0:t.openType)!==null&&o!==void 0?o:"modal";var a;this.type=(a=t==null?void 0:t.type)!==null&&a!==void 0?a:"";var s;this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!==null&&s!==void 0?s:!1},Gl=function e(t){P(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 o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"};function Xl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ql(){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 Ee(e,t,n){return Ql()?Ee=Reflect.construct:Ee=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&ce(p,a.prototype),p},Ee.apply(null,arguments)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},se(e)}function Jl(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&&ce(e,t)}function Zl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Yl(e,t){return t&&(es(t)==="object"||typeof t=="function")?t:Xl(e)}function ce(e,t){return ce=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ce(e,t)}var es=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yt(e){var t=typeof Map=="function"?new Map:void 0;return yt=function(r){if(r===null||!Zl(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 Ee(r,arguments,se(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ce(u,r)},yt(e)}function ts(){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 ns(e){var t=ts();return function(){var r=se(e),u;if(t){var o=se(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Yl(this,u)}}var Ie=function e(t){pt(this,e),this.isHide={type:"boolean"}},vt=function(e){Jl(n,e);var t=ns(n);function n(r){return pt(this,n),t.call(this)}return n}(yt(Array)),J=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";pt(this,e);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new Gl(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};J.Rules=Ie,J.RuntimeRules=vt;function j(){return j=Object.assign||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},j.apply(this,arguments)}function rs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(e)}function Ae(e,t){return Ae=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ae(e,t)}function is(){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 we(e,t,n){return is()?we=Reflect.construct:we=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&Ae(p,a.prototype),p},we.apply(null,arguments)}function us(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bt(e){var t=typeof Map=="function"?new Map:void 0;return bt=function(r){if(r===null||!us(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 we(r,arguments,ht(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ae(u,r)},bt(e)}var os=/%[sdj%]/g,Dn=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Dn=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function _t(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function N(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],o=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var a=String(u).replace(os,function(s){if(s==="%%")return"%";if(r>=o)return s;switch(s){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(f){return"[Circular]"}break;default:return s}});return a}return u}function as(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function B(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||as(t)&&typeof e=="string"&&!e)}function ls(e,t,n){var r=[],u=0,o=e.length;function a(s){r.push.apply(r,s),u++,u===o&&n(r)}e.forEach(function(s){t(s,a)})}function Tn(e,t,n){var r=0,u=e.length;function o(a){if(a&&a.length){n(a);return}var s=r;r=r+1,s<u?t(e[s],o):n([])}o([])}function ss(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var $n=function(e){rs(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(bt(Error));function cs(e,t,n,r){if(t.first){var u=new Promise(function(v,h){var E=function(I){return r(I),I.length?h(new $n(I,_t(I))):v()},S=ss(e);Tn(S,n,E)});return u.catch(function(v){return v}),u}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,f=0,p=[],y=new Promise(function(v,h){var E=function(b){if(p.push.apply(p,b),f++,f===s)return r(p),p.length?h(new $n(p,_t(p))):v()};a.length||(r(p),v()),a.forEach(function(S){var b=e[S];o.indexOf(S)!==-1?Tn(b,n,E):ls(b,n,E)})});return y.catch(function(v){return v}),y}function Fn(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Nn(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=j(j({},e[n]),r):e[n]=r}}return e}function Ln(e,t,n,r,u,o){e.required&&(!n.hasOwnProperty(e.field)||B(t,o||e.type))&&r.push(N(u.messages.required,e.fullField))}function fs(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push(N(u.messages.whitespace,e.fullField))}var gt={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},fe={integer:function(t){return fe.number(t)&&parseInt(t,10)===t},float:function(t){return fe.number(t)&&!fe.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!fe.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(gt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(gt.url)},hex:function(t){return typeof t=="string"&&!!t.match(gt.hex)}};function ds(e,t,n,r,u){if(e.required&&t===void 0){Ln(e,t,n,r,u);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?fe[a](t)||r.push(N(u.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&r.push(N(u.messages.types[a],e.fullField,e.type))}function ps(e,t,n,r,u){var o=typeof e.len=="number",a=typeof e.min=="number",s=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=t,y=null,v=typeof t=="number",h=typeof t=="string",E=Array.isArray(t);if(v?y="number":h?y="string":E&&(y="array"),!y)return!1;E&&(p=t.length),h&&(p=t.replace(f,"_").length),o?p!==e.len&&r.push(N(u.messages[y].len,e.fullField,e.len)):a&&!s&&p<e.min?r.push(N(u.messages[y].min,e.fullField,e.min)):s&&!a&&p>e.max?r.push(N(u.messages[y].max,e.fullField,e.max)):a&&s&&(p<e.min||p>e.max)&&r.push(N(u.messages[y].range,e.fullField,e.min,e.max))}var Z="enum";function ys(e,t,n,r,u){e[Z]=Array.isArray(e[Z])?e[Z]:[],e[Z].indexOf(t)===-1&&r.push(N(u.messages[Z],e.fullField,e[Z].join(", ")))}function vs(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(N(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||r.push(N(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var A={required:Ln,whitespace:fs,type:ds,range:ps,enum:ys,pattern:vs};function hs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t,"string")&&!e.required)return n();A.required(e,t,r,o,u,"string"),B(t,"string")||(A.type(e,t,r,o,u),A.range(e,t,r,o,u),A.pattern(e,t,r,o,u),e.whitespace===!0&&A.whitespace(e,t,r,o,u))}n(o)}function bs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A.type(e,t,r,o,u)}n(o)}function _s(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t===""&&(t=void 0),B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function gs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A.type(e,t,r,o,u)}n(o)}function ms(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),B(t)||A.type(e,t,r,o,u)}n(o)}function Es(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function Is(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function As(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t==null&&!e.required)return n();A.required(e,t,r,o,u,"array"),t!=null&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function ws(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A.type(e,t,r,o,u)}n(o)}var Ss="enum";function Os(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A[Ss](e,t,r,o,u)}n(o)}function Cs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t,"string")&&!e.required)return n();A.required(e,t,r,o,u),B(t,"string")||A.pattern(e,t,r,o,u)}n(o)}function Rs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t,"date")&&!e.required)return n();if(A.required(e,t,r,o,u),!B(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),A.type(e,s,r,o,u),s&&A.range(e,s.getTime(),r,o,u)}}n(o)}function ks(e,t,n,r,u){var o=[],a=Array.isArray(t)?"array":typeof t;A.required(e,t,r,o,u,a),n(o)}function mt(e,t,n,r,u){var o=e.type,a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(B(t,o)&&!e.required)return n();A.required(e,t,r,a,u,o),B(t,o)||A.type(e,t,r,a,u)}n(a)}function Bs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u)}n(o)}var de={string:hs,method:bs,number:_s,boolean:gs,regexp:ms,integer:Es,float:Is,array:As,object:ws,enum:Os,pattern:Cs,date:Rs,url:mt,hex:mt,email:mt,required:ks,any:Bs};function Et(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var It=Et();function U(e){this.rules=null,this._messages=It,this.define(e)}U.prototype={messages:function(t){return t&&(this._messages=Nn(Et(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var o=t,a=n,s=r;if(typeof a=="function"&&(s=a,a={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function f(b){var I,d=[],g={};function _(C){if(Array.isArray(C)){var R;d=(R=d).concat.apply(R,C)}else d.push(C)}for(I=0;I<b.length;I++)_(b[I]);d.length?g=_t(d):(d=null,g=null),s(d,g)}if(a.messages){var p=this.messages();p===It&&(p=Et()),Nn(p,a.messages),a.messages=p}else a.messages=this.messages();var y,v,h={},E=a.keys||Object.keys(this.rules);E.forEach(function(b){y=u.rules[b],v=o[b],y.forEach(function(I){var d=I;typeof d.transform=="function"&&(o===t&&(o=j({},o)),v=o[b]=d.transform(v)),typeof d=="function"?d={validator:d}:d=j({},d),d.validator=u.getValidationMethod(d),d.field=b,d.fullField=d.fullField||b,d.type=u.getType(d),!!d.validator&&(h[b]=h[b]||[],h[b].push({rule:d,value:v,source:o,field:b}))})});var S={};return cs(h,a,function(b,I){var d=b.rule,g=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");g=g&&(d.required||!d.required&&b.value),d.field=b.field;function _(L,k){return j(j({},k),{},{fullField:d.fullField+"."+L})}function C(L){L===void 0&&(L=[]);var k=L;if(Array.isArray(k)||(k=[k]),!a.suppressWarning&&k.length&&U.warning("async-validator:",k),k.length&&d.message!==void 0&&(k=[].concat(d.message)),k=k.map(Fn(d)),a.first&&k.length)return S[d.field]=1,I(k);if(!g)I(k);else{if(d.required&&!b.value)return d.message!==void 0?k=[].concat(d.message).map(Fn(d)):a.error&&(k=[a.error(d,N(a.messages.required,d.field))]),I(k);var M={};if(d.defaultField)for(var w in b.value)b.value.hasOwnProperty(w)&&(M[w]=d.defaultField);M=j(j({},M),b.rule.fields);for(var te in M)if(M.hasOwnProperty(te)){var Ey=Array.isArray(M[te])?M[te]:[M[te]];M[te]=Ey.map(_.bind(null,te))}var Gr=new U(M);Gr.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),Gr.validate(b.value,b.rule.options||a,function(sn){var ne=[];k&&k.length&&ne.push.apply(ne,k),sn&&sn.length&&ne.push.apply(ne,sn),I(ne.length?ne:null)})}}var R;d.asyncValidator?R=d.asyncValidator(d,b.value,C,b.source,a):d.validator&&(R=d.validator(d,b.value,C,b.source,a),R===!0?C():R===!1?C(d.message||d.field+" fails"):R instanceof Array?C(R):R instanceof Error&&C(R.message)),R&&R.then&&R.then(function(){return C()},function(L){return C(L)})},function(b){f(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!de.hasOwnProperty(t.type))throw new Error(N("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?de.required:de[this.getType(t)]||!1}},U.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");de[t]=n},U.warning=Dn,U.messages=It,U.validators=de;var Ps={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Ds(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new U(e);return n.messages(Object.assign(Ps,t)),n}var Ts=new Bl;function At(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 $s(e){if(Array.isArray(e))return e}function Fs(e){if(Array.isArray(e))return At(e)}function Mn(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(p){n(p);return}s.done?t(f):Promise.resolve(f).then(r,u)}function xn(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){Mn(o,r,u,a,s,"next",f)}function s(f){Mn(o,r,u,a,s,"throw",f)}a(void 0)})}}function Ns(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(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 Ls(e,t,n){return t&&jn(e.prototype,t),n&&jn(e,n),e}function Ms(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Un(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xs(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}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 Vn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){Ms(e,u,n[u])})}return e}function Hs(e){return $s(e)||Un(e)||qn(e,i)||xs()}function wt(e){return Fs(e)||Un(e)||qn(e)||js()}function qn(e,t){if(!!e){if(typeof e=="string")return At(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 At(e,t)}}var x=function(){function t(n){var r=this;Ns(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=zn,this.removeSetting=Wn,this._callControlHooks("preInstance",n);var u=Hn(this,t)?this.constructor:void 0,o=u.controlName,a=u.controlIcon,s=u.controlType,f=u.controlFieldType,p=u.controlEventKeys,y=u.controlCustomEvents,v=u.name,h=u.setting;o&&a&&s||mn("The ".concat(v," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:be(10),this.name=o,this.icon=a;var S;this.type=(S=n==null?void 0:n.type)!==null&&S!==void 0?S:s,this.props=new J(n==null?void 0:n.props,(Hn(this,t)?this.constructor:void 0).controlName);var b;this.controlType=(b=n==null?void 0:n.controlType)!==null&&b!==void 0?b:"base",this.setting=oe(h);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:f,this.eventKeys=oe(p),this.customEvents=oe(y),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return Ls(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),o=0;o<r;o++)u[o]=arguments[o];var a,s=Hs(u),f=s[0],p=s.slice(1);return(a=Ts).emit.apply(a,[f,this].concat(wt(p)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),bl(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return xn(H.default.mark(function u(){var o,a,s;return H.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return o=Vn({},r.rules),p.next=3,r._callControlHooks("preValidate",o);case 3:return a=p.sent,s=a[a.length-1],p.abrupt("return",s===!1?void 0:s);case 6:case"end":return p.stop()}},u)}))()}},{key:"validate",value:function(r,u){var o=this;return xn(H.default.mark(function a(){var s,f,p;return H.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,o.preValidate();case 2:return s=v.sent,f=s!==void 0?s:Vn({},o.rules),Array.isArray(u)&&u.forEach(function(h){f.hasOwnProperty(h)&&delete f[h]}),p=Ds(f,r),v.prev=6,v.next=9,p.validate(o.props);case 9:return v.abrupt("return",!0);case 12:throw v.prev=12,v.t0=v.catch(6),v.t0.control||(v.t0.control=o),v.t0;case 16:case"end":return v.stop()}},a,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,o=this.id,a=this.type,s=this.props,f=s.dataBind,p=s.datasourceBind,y=s.optionConfig,v=s.caption,h=s.required,E=s.maxLength,S=s.options,b=s.encrypted,I=s.encryptedMode;if(!(!u&&!f&&!p)){var d={parentId:r,fieldType:u,controlId:o,caption:v,type:a,props:{}};switch(f&&(d.dataBind=f),y){case"datasource":case void 0:p&&(d.datasourceBind=p);break;case"custom":d.props.options=S;break}return h!==void 0&&(d.required=h),E!==void 0&&(d.maxLength=E),b!==void 0&&(d.encrypted=b),I!==void 0&&(d.encryptedMode=I),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var o;(o=this.setting).push.apply(o,wt(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();x.controlName="\u63A7\u4EF6",x.controlIcon="icon",x.controlType="control",x.controlEventKeys=[],x.controlCustomEvents=[],x.setting=[],x.__is_control__=!0,x.removeSettingItem=Wn,x.updateSettingItem=zn;function Wn(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u=typeof r!="string",o=t.setting.findIndex(function(f){return f.key===(u?r.key:r)});if(o!==-1){var a,s;u?t.setting[o].showItems=(a=t.setting[o].showItems)===null||a===void 0?void 0:a.filter(function(f){return!r.hideItems.includes(f)}):t.setting.splice(o,1),u&&!((s=t.setting[o].showItems)===null||s===void 0?void 0:s.length)&&t.setting.splice(o,1)}})}function zn(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var o=n.setting.find(function(p){return p.key===u});if(o){if(typeof t=="boolean")o.visible=t;else if(typeof t=="object"){var a,s=(a=t.type)!==null&&a!==void 0?a:"replace";if(s==="replace")o.showItems=t.showItems;else{var f;(f=o.showItems).push.apply(f,wt(t.showItems))}}}})}function Us(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(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 Vs(e,t,n){return t&&Kn(e.prototype,t),n&&Kn(e,n),e}function qs(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var pe=function(){function t(n){Us(this,t),this.customEvents=[],this.parent=null;var r=qs(this,t)?this.constructor:void 0,u=r.controlType,o=r.controlFieldType,a=r.name,s=r.controlCustomEvents;u||mn("The ".concat(a," controlType is not define"));var f;this.id=(f=n==null?void 0:n.id)!==null&&f!==void 0?f:be(10);var p;this.type=(p=n==null?void 0:n.type)!==null&&p!==void 0?p:u,this.props=new J(n==null?void 0:n.props),this.customEvents=s;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:o;var h;this.pageStatus=(h=n==null?void 0:n.pageStatus)!==null&&h!==void 0?h:dt.UNKNOWN}return Vs(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}();pe.controlType="control",pe.__is_control__=!0,pe.controlCustomEvents=[];function Ws(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:O.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:O.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:O.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,r,u){r.length===0&&u(O.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,r,u){var o=r.map(function(s){return s.value}),a=El(o);o.length!==a.length?u(O.getMessage("optionIdIsRepeat")):u()},message:O.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:O.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:O.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:O.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:O.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:O.getMessage("isNotArray")},{type:"array",validator:function(n,r,u){r.length===0&&u(O.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:O.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:O.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:O.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:O.getMessage("isNotBoolean")}}}}]}}])}function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(e)}function Gs(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&&St(e,t)}function Xs(e,t){return t&&(Qs(t)==="object"||typeof t=="function")?t:zs(e)}function St(e,t){return St=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},St(e,t)}var Qs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Js(){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 Zs(e){var t=Js();return function(){var r=Se(e),u;if(t){var o=Se(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Xs(this,u)}}var z=function(e){Gs(n,e);var t=Zs(n);function n(r){return Ks(this,n),t.call(this,r)}return n}(J);function Ot(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 Ys(e){if(Array.isArray(e))return Ot(e)}function ec(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tc(){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 Gn(e){return Ys(e)||ec(e)||nc(e)||tc()}function nc(e,t){if(!!e){if(typeof e=="string")return Ot(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 Ot(e,t)}}function rc(e,t){var n;((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function Xn(e,t){e.parent=t,rc(e,"parent")}function ic(e,t){e.forEach(function(n){Xn(n,t)})}var Qn=Symbol("targetKey");function Jn(e){var t;return(t=e[Qn])!==null&&t!==void 0?t:e}function Zn(e,t){return ic(e,t),new Proxy(e,{get:function(r,u){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];var f;return u===Qn?r:(f=Reflect).get.apply(f,[r,u].concat(Gn(a)))},set:function(r,u,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),f=3;f<a;f++)s[f-3]=arguments[f];var p;if(ml(e)&&u==="length"&&o===e.length)return!0;var y=(p=Reflect).set.apply(p,[r,u,o].concat(Gn(s)));return wn(o)&&Xn(o,t),y}})}function Yn(e,t,n,r){var u=r!=null?r:e,o=Zn(Jn(n!=null?n:[]),u);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=Zn(Jn(s),u)},enumerable:!0})}function Ct(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 uc(e){if(Array.isArray(e))return Ct(e)}function er(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tr(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(p){n(p);return}s.done?t(f):Promise.resolve(f).then(r,u)}function oc(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){tr(o,r,u,a,s,"next",f)}function s(f){tr(o,r,u,a,s,"throw",f)}a(void 0)})}}function ac(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(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 lc(e,t,n){return t&&nr(e.prototype,t),n&&nr(e,n),e}function sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Y=Reflect.get:Y=function(u,o,a){var s=hc(u,o);if(!!s){var f=Object.getOwnPropertyDescriptor(s,o);return f.get?f.get.call(a):f.value}},Y(e,t,n||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},V(e)}function cc(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&&Rt(e,t)}function fc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function dc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pc(){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 yc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){sc(e,u,n[u])})}return e}function vc(e,t){return t&&(bc(t)==="object"||typeof t=="function")?t:er(e)}function Rt(e,t){return Rt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Rt(e,t)}function hc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function rr(e){return uc(e)||dc(e)||_c(e)||pc()}var bc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _c(e,t){if(!!e){if(typeof e=="string")return Ct(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 Ct(e,t)}}function gc(){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 mc(e){var t=gc();return function(){var r=V(e),u;if(t){var o=V(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return vc(this,u)}}var Ec=1e4,K=function(t){cc(r,t);var n=mc(r);function r(u){ac(this,r);var o;o=n.call(this,u),o.controlType="layout";var a=fc(this,r)?this.constructor:void 0,s=a.excludes,f=a.childrenMaxLength;return o.props=new z(u==null?void 0:u.props),Yn(er(o),"children",u==null?void 0:u.children),o.excludes=oe(s),o.childrenMaxLength=f,o}return lc(r,[{key:"judgeExcludesChildren",value:function(o){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(o)}},{key:"judgeJoinChildren",value:function(o){var a=this.judgeExcludesChildren(o);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(o,a){var s=this,f=this,p=function(){return Y(V(r.prototype),"validate",s)};return oc(H.default.mark(function y(){return H.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,p().call(f,o,a);case 2:return h.next=4,Promise.all(f.children.map(function(E){return E.validate(o,a)}));case 4:return h.abrupt("return",!0);case 5:case"end":return h.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=Y(V(r.prototype),"toDataBindModel",this).call(this),s=a?[a]:[];return this.children.reduce(function(f,p){var y=p.toDataBindModel(o);if(Array.isArray(y)){var v=y.filter(function(h){return!!h});return rr(f).concat(rr(v))}return y&&f.push(y),f},s)}},{key:"toSchema",value:function(){var o=Y(V(r.prototype),"toSchema",this).call(this),a=this.children.map(function(s){var f=s.toSchema();return f});return yc({},o,{children:a})}}]),r}(x);K.excludes=!1,K.childrenMaxLength=Ec;function ir(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ic(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(e)}function Ac(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&&kt(e,t)}function wc(e,t){return t&&(Sc(t)==="object"||typeof t=="function")?t:ir(e)}function kt(e,t){return kt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},kt(e,t)}var Sc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oc(){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 Cc(e){var t=Oc();return function(){var r=Oe(e),u;if(t){var o=Oe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return wc(this,u)}}var ye=function(e){Ac(n,e);var t=Cc(n);function n(r){Ic(this,n);var u;return u=t.call(this,r),u.controlType="layout",u.props=new z(r==null?void 0:r.props),Yn(ir(u),"children",r==null?void 0:r.children),u}return n}(pe);l.IS_HIDE,l.IS_HIDE,l.IS_HIDE;var Bt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(Bt||(Bt={}));var ur;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(ur||(ur={}));var or;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(or||(or={}));var ar;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(ar||(ar={}));var lr;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(lr||(lr={}));var sr;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(sr||(sr={}));var cr;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(cr||(cr={}));var fr;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(fr||(fr={}));var dr;(function(e){e.ALL="all",e.ASSIGN="assign"})(dr||(dr={}));var pr;(function(e){e.ALL="all",e.ADMIN="admin"})(pr||(pr={})),l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function Rc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ce(e)}function vr(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&&Pt(e,t)}function kc(e,t){return t&&(Bc(t)==="object"||typeof t=="function")?t:Rc(e)}function Pt(e,t){return Pt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Pt(e,t)}var Bc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pc(){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 hr(e){var t=Pc();return function(){var r=Ce(e),u;if(t){var o=Ce(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return kc(this,u)}}var Dc=function(e){vr(n,e);var t=hr(n);function n(r){yr(this,n);var u;return u=t.call(this,r),u.formKey={type:"string",required:!1},(r.command==="edit"||r.command==="view")&&(u.formKey={type:"string",required:!0,message:O.getMessage("pleaseEnterForm")}),u}return n}(Ie),Re=function(e){vr(n,e);var t=hr(n);function n(r){yr(this,n);var u;u=t.call(this,r);var o;u.content=(o=r==null?void 0:r.content)!==null&&o!==void 0?o:"\u6309\u94AE",u.code=r==null?void 0:r.code;var a;u.command=(a=r==null?void 0:r.command)!==null&&a!==void 0?a:"custom";var s;u.color=(s=r==null?void 0:r.color)!==null&&s!==void 0?s:"primary",u.icon=r==null?void 0:r.icon,u.formKey=r==null?void 0:r.formKey,u.openType=r==null?void 0:r.openType,u.needConfirm=r==null?void 0:r.needConfirm,u.confirmMessage=r==null?void 0:r.confirmMessage,u.options=r==null?void 0:r.options;var f;u.defaultState=(f=r==null?void 0:r.defaultState)!==null&&f!==void 0?f:"default",u.priorityProcess=r==null?void 0:r.priorityProcess;var p;return u.isLoading=(p=r==null?void 0:r.isLoading)!==null&&p!==void 0?p:!1,u}return n}(J);Re.Rules=Dc;function Tc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $c(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}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(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&&Dt(e,t)}function Lc(e,t){return t&&(Mc(t)==="object"||typeof t=="function")?t:Tc(e)}function Dt(e,t){return Dt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Dt(e,t)}var Mc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof 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 jc(e){var t=xc();return function(){var r=ke(e),u;if(t){var o=ke(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Lc(this,u)}}var Tt=function(e){Nc(n,e);var t=jc(n);function n(r){$c(this,n);var u;return u=t.call(this,r),u.props=new Re(r==null?void 0:r.props),u}return Fc(n,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),n}(x);Tt.controlEventKeys=["on_click"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.IS_HIDE]},{key:"super-setting",visible:!0}];function Hc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uc(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 Vc(e,t,n){return t&&_r(e.prototype,t),n&&_r(e,n),e}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Be(e)}function qc(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&&$t(e,t)}function Wc(e,t){return t&&(zc(t)==="object"||typeof t=="function")?t:Hc(e)}function $t(e,t){return $t=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},$t(e,t)}var zc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kc(){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=Kc();return function(){var r=Be(e),u;if(t){var o=Be(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Wc(this,u)}}var Xc=function(e){qc(n,e);var t=Gc(n);function n(r){Uc(this,n);var u;return u=t.call(this,r),u.props=new Re(r==null?void 0:r.props),u}return Vc(n,null,[{key:"controlType",get:function(){return"operation-button"}}]),n}(pe),Ft={Designer:Tt,Runtime:Xc,Property:Re};l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.ENCRYPTED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_UNIT,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.IS_SHOW_CAPTION_TIP,l.ALLOW_COPY_OPTIONS,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.SUBMIT_SELECT_CURRENCY,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_SHOW_CAPTION_TIP,l.IS_INLINE_EDIT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.DEFAULT_DISPLAY,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,c.GRID;function Qc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(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&&Nt(e,t)}function Yc(e,t){return t&&(ef(t)==="object"||typeof t=="function")?t:Qc(e)}function Nt(e,t){return Nt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Nt(e,t)}var ef=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tf(){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 nf(e){var t=tf();return function(){var r=Pe(e),u;if(t){var o=Pe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Yc(this,u)}}var rf=24,Lt=function(e){Zc(n,e);var t=nf(n);function n(r){Jc(this,n);var u;u=t.call(this,r);var o;u.span=(o=r==null?void 0:r.span)!==null&&o!==void 0?o:rf;var a;return u.offset=(a=r==null?void 0:r.offset)!==null&&a!==void 0?a:0,u}return n}(z);function uf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function of(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gr(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 af(e,t,n){return t&&gr(e.prototype,t),n&&gr(e,n),e}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(e)}function lf(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&&Mt(e,t)}function sf(e,t){return t&&(cf(t)==="object"||typeof t=="function")?t:uf(e)}function Mt(e,t){return Mt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Mt(e,t)}var cf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ff(){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 df(e){var t=ff();return function(){var r=De(e),u;if(t){var o=De(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return sf(this,u)}}var xt=function(e){lf(n,e);var t=df(n);function n(r){of(this,n);var u;return u=t.call(this,r),u.props=new Lt(r==null?void 0:r.props),u}return af(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),n}(K);xt.excludes=[c.COL,c.CARD_GROUP,c.SUBTABLE,c.SUBTABLE_COLUMN,c.DIVIDER],xt.childrenMaxLength=1;function pf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yf(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 vf(e,t,n){return t&&mr(e.prototype,t),n&&mr(e,n),e}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(e)}function hf(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&&jt(e,t)}function bf(e,t){return t&&(_f(t)==="object"||typeof t=="function")?t:pf(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},jt(e,t)}var _f=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gf(){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 mf(e){var t=gf();return function(){var r=Te(e),u;if(t){var o=Te(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return bf(this,u)}}var Ef=function(e){hf(n,e);var t=mf(n);function n(r){yf(this,n);var u;return u=t.call(this,r),u.props=new Lt(r==null?void 0:r.props),u}return vf(n,null,[{key:"controlType",get:function(){return"col"}}]),n}(ye),Er={Designer:xt,Runtime:Ef,Property:Lt};function If(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Af(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$e(e)}function wf(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&&Ht(e,t)}function Sf(e,t){return t&&(Of(t)==="object"||typeof t=="function")?t:If(e)}function Ht(e,t){return Ht=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ht(e,t)}var Of=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cf(){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 Rf(e){var t=Cf();return function(){var r=$e(e),u;if(t){var o=$e(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Sf(this,u)}}var Ut=function(e){wf(n,e);var t=Rf(n);function n(r){Af(this,n);var u;u=t.call(this,r);var o;u.layoutMode=(o=r==null?void 0:r.layoutMode)!==null&&o!==void 0?o:"select";var a;return u.gutter=(a=r==null?void 0:r.gutter)!==null&&a!==void 0?a:0,u}return n}(z);function kf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ir(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 Pf(e,t,n){return t&&Ir(e.prototype,t),n&&Ir(e,n),e}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(e)}function Df(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&&Vt(e,t)}function Tf(e,t){return t&&($f(t)==="object"||typeof t=="function")?t:kf(e)}function Vt(e,t){return Vt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Vt(e,t)}var $f=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ff(){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 Nf(e){var t=Ff();return function(){var r=Fe(e),u;if(t){var o=Fe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Tf(this,u)}}var qt=function(e){Df(n,e);var t=Nf(n);function n(r){Bf(this,n);var u;return u=t.call(this,r),u.props=new Ut(r==null?void 0:r.props),u}return Pf(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(K);qt.excludes=[c.ROW],qt.setting=[{key:"col-setting",visible:!0}];function Lf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(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 xf(e,t,n){return t&&Ar(e.prototype,t),n&&Ar(e,n),e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(e)}function jf(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&&Wt(e,t)}function Hf(e,t){return t&&(Uf(t)==="object"||typeof t=="function")?t:Lf(e)}function Wt(e,t){return Wt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Wt(e,t)}var Uf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vf(){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 qf(e){var t=Vf();return function(){var r=Ne(e),u;if(t){var o=Ne(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Hf(this,u)}}var Wf=function(e){jf(n,e);var t=qf(n);function n(r){Mf(this,n);var u;return u=t.call(this,r),u.props=new Ut(r==null?void 0:r.props),u}return xf(n,null,[{key:"controlType",get:function(){return"row"}}]),n}(ye);function zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kf(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 Gf(e,t,n){return t&&wr(e.prototype,t),n&&wr(e,n),e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(e)}function Xf(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&&zt(e,t)}function Qf(e,t){return t&&(Jf(t)==="object"||typeof t=="function")?t:zf(e)}function zt(e,t){return zt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},zt(e,t)}var Jf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zf(){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 Yf(e){var t=Zf();return function(){var r=Le(e),u;if(t){var o=Le(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Qf(this,u)}}var ed=4,Me=function(e){Xf(n,e);var t=Yf(n);function n(r){return Kf(this,n),t.call(this,r)}return Gf(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),n}(qt);Me.excludes=[c.GRID_ROW],Me.setting=[],Me.childrenMaxLength=ed;function td(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(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 rd(e,t,n){return t&&Sr(e.prototype,t),n&&Sr(e,n),e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(e)}function id(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&&Kt(e,t)}function ud(e,t){return t&&(od(t)==="object"||typeof t=="function")?t:td(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Kt(e,t)}var od=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ad(){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 ld(e){var t=ad();return function(){var r=xe(e),u;if(t){var o=xe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return ud(this,u)}}var sd=function(e){id(n,e);var t=ld(n);function n(r){return nd(this,n),t.call(this,r)}return rd(n,null,[{key:"controlType",get:function(){return"grid-row"}}]),n}(Wf);function cd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(e)}function dd(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&&Gt(e,t)}function pd(e,t){return t&&(yd(t)==="object"||typeof t=="function")?t:cd(e)}function Gt(e,t){return Gt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Gt(e,t)}var yd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vd(){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 hd(e){var t=vd();return function(){var r=je(e),u;if(t){var o=je(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return pd(this,u)}}var bd=function(e){dd(n,e);var t=hd(n);function n(r){return fd(this,n),t.call(this,r)}return n}(Ut),_d={Designer:Me,Runtime:sd,Property:bd};l.CAPTION,l.IS_HIDE,c.CARD_GROUP;function gd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Or(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function Cr(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&&Xt(e,t)}function md(e,t){return t&&(Ed(t)==="object"||typeof t=="function")?t:gd(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Xt(e,t)}var Ed=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Id(){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 Rr(e){var t=Id();return function(){var r=He(e),u;if(t){var o=He(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return md(this,u)}}var Ad=function(e){Cr(n,e);var t=Rr(n);function n(r){Or(this,n);var u;return u=t.call(this,r),u.caption={type:"string",required:!0,message:O.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:O.getMessage("pleaseEnterColumnWidth")},u.captionTip={type:"string",required:!1,message:O.getMessage("pleaseEnterCaptionTip")},r.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(Ie),Ue=function(e){Cr(n,e);var t=Rr(n);function n(r){Or(this,n);var u;u=t.call(this,r);var o;u.caption=(o=r==null?void 0:r.caption)!==null&&o!==void 0?o:"";var a;u.fixed=(a=r==null?void 0:r.fixed)!==null&&a!==void 0?a:!1;var s;u.isShowCaptionTip=(s=r==null?void 0:r.isShowCaptionTip)!==null&&s!==void 0?s:!1;var f;u.captionTip=(f=r==null?void 0:r.captionTip)!==null&&f!==void 0?f:"";var p;return u.isHideCaption=(p=r==null?void 0:r.isHideCaption)!==null&&p!==void 0?p:!1,u.metaAutoWidth=new Ml(r==null?void 0:r.metaAutoWidth),u}return n}(z);Ue.Rules=Ad;function wd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ve(e)}function Od(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&&Qt(e,t)}function Cd(e,t){return t&&(Rd(t)==="object"||typeof t=="function")?t:wd(e)}function Qt(e,t){return Qt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Qt(e,t)}var Rd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kd(){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 Bd(e){var t=kd();return function(){var r=Ve(e),u;if(t){var o=Ve(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Cd(this,u)}}var G=function(e){Od(n,e);var t=Bd(n);function n(r){Sd(this,n);var u;return u=t.call(this,r),u.props=new Ue(r==null?void 0:r.props),u}return n}(K);G.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",G.controlType="subtable-column",G.controlIcon="subtable-column",G.childrenMaxLength=1,G.excludes=[c.SUBTABLE,c.SUBTABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT],G.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];function Pd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function Td(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&&Jt(e,t)}function $d(e,t){return t&&(Fd(t)==="object"||typeof t=="function")?t:Pd(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Jt(e,t)}var Fd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nd(){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 Ld(e){var t=Nd();return function(){var r=qe(e),u;if(t){var o=qe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return $d(this,u)}}var kr=function(e){Td(n,e);var t=Ld(n);function n(r){Dd(this,n);var u;return u=t.call(this,r),u.props=new Ue(r==null?void 0:r.props),u}return n}(ye);kr.controlType="subtable-column";var Md={Designer:G,Runtime:kr,Property:Ue};c.SUBTABLE,c.SUBTABLE_COLUMN,c.SUBTABLE_ROW,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.GRID_TABLE,c.GRID_TABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.TAB,l.CAPTION,l.IS_HIDE,c.TAB,c.GRID_ROW,c.ROW,c.GRID,c.SUBTABLE,c.TAB,c.TOOLBOX;function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function Yt(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&&en(e,t)}function xd(e,t){return t&&(jd(t)==="object"||typeof t=="function")?t:Br(e)}function en(e,t){return en=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},en(e,t)}var jd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hd(){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 tn(e){var t=Hd();return function(){var r=We(e),u;if(t){var o=We(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return xd(this,u)}}var ze;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ze||(ze={}));var Ud=function(e){Yt(n,e);var t=tn(n);function n(r){Zt(this,n);var u;return u=t.call(this,r),u.push({type:"object",fields:{}}),u}return n}(vt),Vd=function(e){Yt(n,e);var t=tn(n);function n(r){Zt(this,n);var u;if(u=t.call(this,r),u.triggerFieldCode={type:"any"},u.datasourceBind={type:"any"},u.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),r.triggerType===ze.CLICK_CELL&&r.isShowSubList&&(u.triggerFieldCode={type:"string",required:!0,message:O.getMessage("pleaseEnterFieldCode")}),r.isShowJoinRelation&&(u.joinRelation=[{type:"object",message:O.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:O.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:O.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:O.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:O.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:O.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:O.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:O.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Ws.call(Br(u),{optionConfig:"datasource",datasourceBind:r.datasourceBind,options:[]}),Array.isArray(u.datasourceBind)&&u.datasourceBind.length>1){var o=u.datasourceBind.find(function(a){return a.type==="object"&&a.fields});o&&(delete o.fields.valueFieldCode,delete o.fields.displayBoList)}return u}return n}(Ie),ve=function(e){Yt(n,e);var t=tn(n);function n(r){Zt(this,n);var u;u=t.call(this,r),u.datasourceBind=new ae(r==null?void 0:r.datasourceBind);var o;u.isLoading=(o=r==null?void 0:r.isLoading)!==null&&o!==void 0?o:!1;var a;u.isShowSubList=(a=r==null?void 0:r.isShowSubList)!==null&&a!==void 0?a:!1;var s;u.triggerType=(s=r==null?void 0:r.triggerType)!==null&&s!==void 0?s:ze.CLICK_ROW;var f;u.triggerFieldCode=(f=r==null?void 0:r.triggerFieldCode)!==null&&f!==void 0?f:"",u.sublistPage=new Hl(r==null?void 0:r.sublistPage);var p;u.isShowJoinRelation=(p=r==null?void 0:r.isShowJoinRelation)!==null&&p!==void 0?p:!1,u.joinRelation=new ql(r==null?void 0:r.joinRelation);var y;u.showType=(y=r==null?void 0:r.showType)!==null&&y!==void 0?y:"stretch";var v;u.showFullScreen=(v=r==null?void 0:r.showFullScreen)!==null&&v!==void 0?v:!1;var h;u.isFixedHeader=(h=r==null?void 0:r.isFixedHeader)!==null&&h!==void 0?h:!1;var E;return u.isAllLoaded=(E=r==null?void 0:r.isAllLoaded)!==null&&E!==void 0?E:!0,u.countType=r==null?void 0:r.countType,u}return n}(z);ve.Rules=Vd,ve.RuntimeRules=Ud;function qd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(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 zd(e,t,n){return t&&Pr(e.prototype,t),n&&Pr(e,n),e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function Kd(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&&nn(e,t)}function Gd(e,t){return t&&(Xd(t)==="object"||typeof t=="function")?t:qd(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},nn(e,t)}var Xd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qd(){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 Jd(e){var t=Qd();return function(){var r=Ke(e),u;if(t){var o=Ke(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Gd(this,u)}}var Ge=function(e){Kd(n,e);var t=Jd(n);function n(r){Wd(this,n);var u;return u=t.call(this,r),u.props=new ve(r==null?void 0:r.props),u}return zd(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(K);Ge.excludes=[c.ROW],Ge.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Ge.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function Zd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(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 ep(e,t,n){return t&&Dr(e.prototype,t),n&&Dr(e,n),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function tp(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&&rn(e,t)}function np(e,t){return t&&(rp(t)==="object"||typeof t=="function")?t:Zd(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},rn(e,t)}var rp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ip(){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 up(e){var t=ip();return function(){var r=Xe(e),u;if(t){var o=Xe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return np(this,u)}}var op=function(e){tp(n,e);var t=up(n);function n(r){Yd(this,n);var u;return u=t.call(this,r),u.props=new ve(r==null?void 0:r.props),u}return ep(n,null,[{key:"controlType",get:function(){return"list-view"}}]),n}(ye),ap={Designer:Ge,Runtime:op,Property:ve};function lp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(e)}function $r(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&&un(e,t)}function sp(e,t){return t&&(cp(t)==="object"||typeof t=="function")?t:lp(e)}function un(e,t){return un=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},un(e,t)}var cp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fp(){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 Fr(e){var t=fp();return function(){var r=Qe(e),u;if(t){var o=Qe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return sp(this,u)}}var dp=function(e){$r(n,e);var t=Fr(n);function n(r){Tr(this,n);var u;return u=t.call(this,r),u.push({type:"object",fields:{}}),u}return n}(vt),Je=function(e){$r(n,e);var t=Fr(n);function n(r){Tr(this,n);var u;u=t.call(this,r);var o;u.save=new le((o=r==null?void 0:r.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var a;u.cancel=new le((a=r==null?void 0:r.cancel)!==null&&a!==void 0?a:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;u.saveAs=new le((s=r==null?void 0:r.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var f;u.print=new le((f=r==null?void 0:r.print)!==null&&f!==void 0?f:{content:"\u6253\u5370",type:"print",isShow:!1});var p;u.custom=((p=r==null?void 0:r.custom)!==null&&p!==void 0?p:[]).map(function(v){return new le(v)});var y;return u.isLoading=(y=r==null?void 0:r.isLoading)!==null&&y!==void 0?y:!1,u.datasourceBind=new ae(r==null?void 0:r.datasourceBind),u}return n}(z);Je.RuntimeRules=dp;function pp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(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 vp(e,t,n){return t&&Nr(e.prototype,t),n&&Nr(e,n),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function hp(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&&on(e,t)}function bp(e,t){return t&&(_p(t)==="object"||typeof t=="function")?t:pp(e)}function on(e,t){return on=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},on(e,t)}var _p=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gp(){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 mp(e){var t=gp();return function(){var r=Ze(e),u;if(t){var o=Ze(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return bp(this,u)}}var Lr=function(e){hp(n,e);var t=mp(n);function n(r){yp(this,n);var u;return u=t.call(this,r),u.props=new Je(r==null?void 0:r.props),u}return vp(n,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),n}(K);Lr.excludes=[];function Ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(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 Ap(e,t,n){return t&&Mr(e.prototype,t),n&&Mr(e,n),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(e)}function wp(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&&an(e,t)}function Sp(e,t){return t&&(Op(t)==="object"||typeof t=="function")?t:Ep(e)}function an(e,t){return an=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},an(e,t)}var Op=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cp(){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 Rp(e){var t=Cp();return function(){var r=Ye(e),u;if(t){var o=Ye(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Sp(this,u)}}var kp=function(e){wp(n,e);var t=Rp(n);function n(r){Ip(this,n);var u;return u=t.call(this,r),u.props=new Je(r==null?void 0:r.props),u}return Ap(n,null,[{key:"controlType",get:function(){return"data-view"}}]),n}(ye),Bp={Designer:Lr,Runtime:kp,Property:Je};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.IS_HIDE;const Pp=(e,t)=>{const n=Array.isArray(e),r=n?e:[e];Vp(t==null?void 0:t.events),Lp(r),Mp(r);const u=Np(r),o=xp(u,t);let a=Q($(o,s=>Fp(s,t)));return n?a:a[0]},Dp=[c.DIVIDER,c.TEXT,c.TITLE,c.LINK,c.BUTTON,"list-btn-export-list","list-btn-export-record"],Tp=["subtable","grid-table"],$p=["simple-search"];function Fp(e,t){var u,o,a,s,f,p;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Dp.includes(n.type)?n.controlType="base":n.controlType="form",Tp.includes(n.type)&&(n.controlType="list"),$p.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),T((u=e==null?void 0:e.props)==null?void 0:u.caption)&&(n.props.caption=e.props.caption.zh),T((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),T((a=e==null?void 0:e.props)==null?void 0:a.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(f=e.attachment_format)==null?void 0:f.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(T(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(T(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const y=n.props.entry_type||n.props.entryType;n.props.openType=y==="subpage"?"modal":"default",((p=n.children[0])==null?void 0:p.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((v,h)=>{const E=new Md.Designer;E.props.caption=T(v.field_name)?v.field_name.zh:v.field_name;const S=E.toSchema();S.id=v.header_id;const b=n.children[0].children[h].children[0];return!!b&&(S.children=[b]),S}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(y=>{y.label=T(y.text)?y.text.zh:y.text,y.id=y.id||y.opt_id||y.optId||y.data_id}),n=e),e.type==="grid-row"){const y=24/n.children.length;n.children=n.children.map(v=>{const h=new Er.Designer;h.props.span=y;const E=h.toSchema();return E.children.push(v),E})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1],h={};y&&(xr(n,t),h.result=y.props.data_bind,n.id=y.id,n.props=y.props,n.props.script_src=y.props.script_src,n.props.script_echo=y.props.script_echo,n.props.precision=y.props.precision,n.props.micrometer=y.props.is_show_money,n.props.showUpperCase=y.props.is_show_chn),v&&(h.unit=v.props.data_bind,n.props.default_value={unit:v.props.value}),n.props.dataBind=h,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1],h={},E={};y&&(xr(n,t),n.id=y.id,h.amount=y.props.data_bind,n.props.range_min=X(y.props.range_min),n.props.range_max=X(y.props.range_max),E.amount=X(y.props.value),n.props.required=y.props.required,n.props.is_hide=y.props.is_hide,n.props.default_state=y.props.default_state,n.props.caption=T(y.props.caption)?y.props.caption.zh:y.props.caption,n.props.is_hide_caption=y.props.is_hide_caption,n.props.showUpperCase=y.props.is_show_chn),v&&(h.currency=v.props.data_bind,E.currency=v.props.value,n.props.datasourceBind=v.props.datasource_bind,n.props.options=v.props.options.map(S=>({label:S.text,value:S.value}))),n.props.dataBind=h,n.props.defaultValue=E,delete n.children}if(e.type==="date-range"){n.controlType="form";const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1];n.props.placeholderStart=T(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=T(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};y&&(h.min=y.props.data_bind),v&&(h.max=v.props.data_bind),n.props.dataBind=h,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=T(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=X(e.props.range_min),n.props.range_max=X(e.props.range_max),n.props.defaultValue=X(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),qp(n,t==null?void 0:t.control_events),n}function xr(e,t){if(!t)return;const{displayBoList:n=[],behaviors:r=[]}=t,u=e.id,o=e.children[0].id;n.forEach(a=>{a.id===u&&(a.id=o);const s=a.show_controls.findIndex(p=>p===u),f=a.hide_controls.findIndex(p=>p===u);s>-1&&a.show_controls.splice(s,1,o),f>-1&&a.hide_controls.splice(f,1,o)}),r.forEach(a=>{a.ctrl_id===u&&(a.id=o)})}function Np(e){if(!Array.isArray(e)||!e.find(u=>u.type==="grid"))return e;const r=new Bp.Designer().toSchema();return r.children=e,[r]}function Lp(e){e.forEach(t=>{t.children&&Up(t.children)})}function Mp(e){e.forEach(t=>{var r,u;if(!(t&&t.children))return;const n=t.children;for(let o=0;o<n.length;o++){const a=n[o],s=(u=(r=n[o])==null?void 0:r.children)==null?void 0:u[0];a.type==="grid-row"&&s&&["group-panel","subtable","tab"].includes(s.type)&&n.splice(o,1,s)}})}function xp(e,t){var E,S,b,I,d,g,_,C;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:r,children:u}=n,[o,a,s]=u;jp(o),s.props.is_fixed_header=(E=r==null?void 0:r.source_config)==null?void 0:E.is_fixed_header,Hp(s,a);const f=(b=(S=r==null?void 0:r.source_config)==null?void 0:S.data_code)!=null?b:t==null?void 0:t.dataCode,p=((d=(I=r==null?void 0:r.source_config)==null?void 0:I.svc_code)!=null?d:f)?`${f}_selectMore`:void 0,y=(_=(g=r==null?void 0:r.source_config)==null?void 0:g.orders)!=null?_:[],v=new ap.Designer;v.props.datasourceBind=new ae({dataCode:f,svcCode:p,orders:Il(y)}),v.props.isShowSubList=r.is_show_sublist,v.props.triggerType=r.timing_type,v.props.triggerFieldCode=r.ctrl_field_code,(C=r==null?void 0:r.sublist_page)==null||C.sublists.forEach(R=>{R.title=T(R.title)?R.title.zh:R.title}),v.props.sublistPage=r.sublist_page;const h=v.toSchema();return h.children.push(o,s),[h]}function jp(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var r,u;const n=T(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(u=(r=t.dateType)==null?void 0:r.replace)==null?void 0:u.call(r,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Hp(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var u,o,a;let r={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:T(n.field_name)?n.field_name.zh:n.field_name}};return r.props.caption=T(n.field_name)?n.field_name.zh:n.field_name,r.props.filter_tags=n.is_filter_tags,r.props.fixed=n.fixed,r.props.display_bo_list=n.display_bo_list,r.props.date_type=n.date_type,r.props.optionConfig="none",n.header_width_config&&(r.props.widthType=n.header_width_config==="1"?"auto":"px"),r.props.widthType==="px"&&n.header_width&&(r.props.width=Number(n.header_width)),n.table_header_type==="order"?(r.type="order-column",r.props.fixed=!0):n.table_header_type==="operation"?(r.type="operation-column",r.props.check=(u=n.check)!=null?u:{},r.props.check.openType="window",r.props.delete=(o=n.delete)!=null?o:{},r.props.delete.openType="window",r.props.edit=(a=n.edit)!=null?a:{},r.props.edit.openType="window",r.props.fixed=!0):(r.type=n.field_type+"-column",n.field_type==="auto_number"&&(r.type="auto-number-column"),n.field_type==="relation"&&(r.type="varchar-column")),n.convert_switch&&(r.props.optionConfig=n.convert_type===1?"datasource":"custom"),r.props.optionConfig==="datasource"?r.props.datasource_bind=new ae({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):r.props.optionConfig==="custom"&&(r.props.options=n.custom_match_bo_list),r}))}function Up(e){var n;let t=null;for(let r=0;r<e.length;r++){const u=e[r];if(!!u){if(u.children&&((n=u.children[0])==null?void 0:n.type)==="group-panel"){t=u.children[0];continue}t&&(t.children.push(u),e.splice(r,1),r--)}}}function Vp(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function qp(e,t){var r;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(u=>{!e.props.events[u].length||(t[e.id]||(t[e.id]={}),t[e.id][u]||(t[e.id][u]=[]),t[e.id][u].push(...e.props.events[u].map(o=>o.name)))}),((r=t[e.id])==null?void 0:r.on_blur)&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Wp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>zp(o)));return n?u:u[0]};function zp(e,t){return e.type===c.LIST_VIEW&&e.children.find(r=>r.type===c.GRID_TABLE).props.headers.forEach(r=>{!r.props.data_bind&&r.props.field_code&&(r.props.data_bind=new Nl({dataCode:e.props.datasource_bind.data_code,fieldCode:r.props.field_code}))}),e}const Kp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>Gp(o)));return n?u:u[0]};function Gp(e,t){return[c.BUTTON,c.CREATE_FORM_LIST_BUTTON,c.BATCH_SUBMISSION_LIST_BUTTON,c.SUBMISSION_RECORD_LIST_BUTTON,c.IMPORT_RECORD_LIST_BUTTON,c.EXPORT_RECORD_LIST_BUTTON,c.EXPORT_LIST_BUTTON,c.FORM_SELECT_BUTTON,c.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===c.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===c.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Xp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>Qp(o)));return n?u:u[0]};function Qp(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const Jp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>Yp(o)));return n?u:u[0]},Zp=[c.ROW,c.TAB,c.SUBTABLE,c.GRID_ROW,c.CARD_GROUP];function Yp(e,t){return e.type===c.TAB_PANE&&(e.children=e.children.map(n=>{if(Zp.includes(n.type))return n;const r=new _d.Designer,u=new Er.Designer;r.children.push(u);const o=r.toSchema();return o.children[0].children.push(n),o})),e}const ey=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>ty(o)));return n?u:u[0]};function ty(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===c.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const ny=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>ry(o));return n?u:u[0]};function ry(e,t){return e.type===c.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const iy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>uy(o));return n?u:u[0]};function q(e,t){e.field_code&&(e.field_type=t)}function uy(e,t){var r;const n={[c.TITLE]:m.AUTO_NUMBER,[c.ADDRESS]:m.ADDRESS,[c.ATTACHMENT]:m.FILE,[c.AUTO_NUMBER]:m.AUTO_NUMBER,[c.CHECKBOX]:m.ARRAY,[c.DATE_PICKER]:m.TIMESTAMP,[c.DEPARTMENT]:m.DEPARTMENTS,[c.EMPLOYEE]:m.EMPLOYEES,[c.EMPLOYEE2]:m.EMPLOYEES,[c.IMAGE]:m.IMAGE,[c.INPUT]:m.VARCHAR,[c.NUMBER]:m.DECIMAL,[c.RADIO]:m.VARCHAR,[c.RICH_TEXT]:m.TEXT,[c.SCORE]:m.DECIMAL,[c.SELECT]:m.VARCHAR,[c.SELECT_MULTIPLE]:m.ARRAY,[c.SELECT_RELATION]:m.VARCHAR,[c.TEXTAREA]:m.TEXT,[c.TREE]:m.ARRAY,[c.SEARCH_DATE_RANGE]:m.ARRAY,[c.SEARCH_INPUT]:m.VARCHAR,[c.SEARCH_NUMBER_RANGE]:m.ARRAY};return n.hasOwnProperty(e.type)&&q(e.props.data_bind,n[e.type]),e.type===c.AMOUNT&&(q(e.props.data_bind.amount,m.DECIMAL),q(e.props.data_bind.currency,m.VARCHAR)),e.type===c.CALC&&(q(e.props.data_bind.result,m.DECIMAL),q(e.props.data_bind.unit,m.VARCHAR)),e.type===c.DATE_RANGE&&(q(e.props.data_bind.min,m.TIMESTAMP),q(e.props.data_bind.max,m.TIMESTAMP)),e.type===c.VUE_FORM_ITEM&&q(e.props.data_bind,(r=e.field_type)!=null?r:m.ANY),e}const oy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>ay(o));return n?u:u[0]};function ay(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===c.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const ly=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>sy(o));return n?u:u[0]};function sy(e,t){return e.type===c.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var r,u;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((u=(r=n.props)==null?void 0:r.data_bind)==null?void 0:u.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const cy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>fy(o));return n?u:u[0]};function fy(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const dy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>py(o));return n?u:u[0]};function py(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const yy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>vy(o));return n?u:u[0]};function vy(e,t){return e.type===c.TITLE&&e.props.config.push(Bt.ShowTitle),e.type===c.GRID_TABLE&&e.props.headers.map(n=>{var r,u,o,a,s,f,p,y,v,h,E,S,b,I,d,g,_,C,R,L,k,M;if(n.type===c.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(r=n==null?void 0:n.children)!=null?r:[],delete n.props.custom,((u=n.props)==null?void 0:u.check)!==void 0){const w=new Ft.Designer;Object.defineProperty(w,"id",{value:"listPageCheckBtnId"}),w.props.code="view",w.props.icon="iconliulan1",w.props.command="view",w.props.content=(o=n.props)==null?void 0:o.check.content,w.props.priorityProcess=(a=n.props)==null?void 0:a.check.priority_process,w.props.openType=(s=n.props)==null?void 0:s.check.open_type,w.props.formKey=(f=n.props)==null?void 0:f.check.form_key,((p=n.props)==null?void 0:p.check.is_show)&&n.children.push(w.toSchema()),(y=n.props)==null||delete y.check}if(((v=n.props)==null?void 0:v.edit)!==void 0){const w=new Ft.Designer;Object.defineProperty(w,"id",{value:"listPageEditBtnId"}),w.props.code="edit",w.props.icon="iconbianji1",w.props.command="edit",w.props.content=(h=n.props)==null?void 0:h.edit.content,w.props.priorityProcess=(E=n.props)==null?void 0:E.edit.priority_process,w.props.openType=(S=n.props)==null?void 0:S.edit.open_type,w.props.formKey=(b=n.props)==null?void 0:b.edit.form_key,((I=n.props)==null?void 0:I.edit.is_show)&&n.children.push(w.toSchema()),(d=n.props)==null||delete d.edit}if(((g=n.props)==null?void 0:g.delete)!==void 0){const w=new Ft.Designer;Object.defineProperty(w,"id",{value:"listPageDeleteBtnId"}),w.props.code="delete",w.props.icon="iconlajitong",w.props.command="delete",w.props.content=(_=n.props)==null?void 0:_.delete.content,w.props.priorityProcess=(C=n.props)==null?void 0:C.delete.priority_process,w.props.openType=(R=n.props)==null?void 0:R.delete.open_type,w.props.formKey=(L=n.props)==null?void 0:L.delete.form_key,w.props.needConfirm=!0,w.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",((k=n.props)==null?void 0:k.delete.is_show)&&n.children.push(w.toSchema()),(M=n.props)==null||delete M.delete}}}),[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var jr={"v1.0":Pp,"v2.0":Wp,"v2.1":Kp,"v2.2":Xp,"v2.3":Jp,"v2.4":ey,"v2.5":ny,"v2.6":iy,"v2.7":oy,"v2.8":ly,"v2.9":cy,"v2.10":dy,"v3.0":yy,"v3.1":()=>{}};const Hr=(e,t)=>{const n=Ur(e),r=Ur(t),u=n.pop(),o=r.pop(),a=Wr(n,r);return a!==0?a:u&&o?Wr(u.split("."),o.split(".")):u||o?u?-1:1:0},et=(e,t,n)=>{gy(n);const r=Hr(e,t);return zr[n].includes(r)},hy=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ur=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(hy);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Vr=e=>e==="*"||e==="x"||e==="X",qr=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},by=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],_y=(e,t)=>{if(Vr(e)||Vr(t))return 0;const[n,r]=by(qr(e),qr(t));return n>r?1:n<r?-1:0},Wr=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const r=_y(e[n]||"0",t[n]||"0");if(r!==0)return r}return 0},zr={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},Kr=Object.keys(zr),gy=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(Kr.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${Kr.join("|")}`)};function ln(e){return e.replace(/^v/,"")}const ee=Object.keys(jr).map(e=>ln(e)).sort(Hr),he=ee[ee.length-1];class my{constructor(t,n=he){this.schemaVersion=t,this.toVersion=n,et(n,he,">")?gn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${he}`):(!ee.includes(ln(n))||!ee.includes(ln(t)))&&gn(`Version Builder: Please give me a valid version number, The valid version is: ${ee.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(et(this.toVersion,this.schemaVersion,"="))return t;const r=this.callDataCleanerKeys.reduce((u,o,a,s)=>{var v;const f=(v=s[a+1])!=null?v:this.toVersion;ge(`Version Builder: current version: ${o}, nextVersion: ${f}`);const p=jr[o];let y=u;if(typeof p=="function"){const h=p(u,n);h&&(y=h)}return y},t);return ge(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),r}get runDataCleanerKeys(){return ee.filter(t=>et(t,this.schemaVersion,">=")&&et(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return he}static get version(){return he}}W.VersionBuilder=my,Object.defineProperty(W,"__esModule",{value:!0})});
1
+ (function(W,re){typeof exports=="object"&&typeof module!="undefined"?re(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],re):(W=typeof globalThis!="undefined"?globalThis:W||self,re(W.modelDrivenUpgrade={},W.regeneratorRuntime))})(this,function(W,re){"use strict";function Xr(e){return e&&typeof e=="object"&&"default"in e?e:{default:e}}var H=Xr(re),Qr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Jr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Zr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Yr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ei="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ti="{caption}\u5FC5\u586B",ni="\u8BF7\u8F93\u5165\u6807\u9898",ri="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ii="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ui="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",oi="\u8BF7\u7ED1\u5B9A\u8868\u5355",ai="\u8BF7\u7ED1\u5B9A\u5217\u8868",li="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",si="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ci="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",fi="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",di="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",pi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",yi="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",vi="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",hi="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",bi="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",_i="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",gi="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",mi="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Ei="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ii="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ai="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",wi="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Si="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Oi="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ci="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ri="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ki="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Bi="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Pi="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Di="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ti="\u8BF7\u9009\u62E9\u7701",$i="\u8BF7\u9009\u62E9\u5E02",Fi="\u8BF7\u9009\u62E9\u533A",Ni="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Li="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Mi="\u8BF7\u8F93\u5165\u5217\u5BBD",xi="\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",Hi="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ui="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Vi="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",qi="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Wi="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",zi="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ki="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Gi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Xi="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Qi="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ji="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Yi="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",nu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ru="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",uu="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ou="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",au="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",lu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",su="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",cu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",fu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",du="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",pu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",yu={isNotNumber:Qr,isNotString:Jr,isNotObject:Zr,isNotArray:Yr,isNotBoolean:ei,runtimeRequired:ti,pleaseEnterCaption:ni,pleaseEnterCaptionTip:ri,pleaseEnterPlaceholder:ii,pleaseEnterFieldCode:ui,pleaseEnterForm:oi,pleaseEnterList:ai,pleaseEnterProcess:li,pleaseEnterLabel:si,pleaseEnterValue:ci,bizKeyNotBindFiled:fi,pleaseSelectOneField:di,pleaseEnterNumberRange:pi,pleaseEnterAValueGreaterThanMin:yi,pleaseEnterAValueLessThanMax:vi,numberRangeSetError:hi,stringRangeError:bi,attachmentMaxSize:_i,pleaseEnterTotalScoreSetting:gi,theTotalScoreMustNotBeLessThan1:mi,scoreDefaultValueRange:Ei,attachmentLimitError:Ii,PleaseReselectTheOptionalQuantity:Ai,TheMaximumLengthIsGreaterThanTheMinimumLength:wi,TheMinimumLengthIsGreaterThanTheMaximumLength:Si,PleaseSelectTheCorrectOptionSettings:Oi,optionIdIsRepeat:Ci,optionIsRequired:Ri,pleaseEnterDataCode:ki,pleaseEnterValueFieldCode:Bi,pleaseEnterSvcCode:Pi,pleaseBindAtLeastOneDisplayValue:Di,pleaseSelectProvince:Ti,pleaseSelectCity:$i,pleaseSelectDistrict:Fi,limitRowsCannotBeLessThan0:Ni,TheNumberOfRowsCannotBeLessThanMinRows:Li,pleaseEnterColumnWidth:Mi,pleaseSetTheLogicalRelationshipOfAllRuleConditions:xi,pleaseCompleteAllRulesAndConditions:ji,pleaseSelectControl:Hi,pleaseSelectAtLeastOneColumn:Ui,pleaseSelectFillBackMode:Vi,pleaseSelectDashboard:qi,rootNodeIsRequired:Wi,theViewNameCannotBeEmpty:zi,pleaseSelectOcrType:Ki,pleaseSelectAtLeastOneFieldToFillIn:Gi,pleaseChooseAtLeastOne:Xi,pleaseEnterButtonContent:Qi,pleaseEnterDataCodeInDataSetting:Ji,pleaseEnterValueFieldCodeInDataSetting:Zi,pleaseEnterSvcCodeInDataSetting:Yi,pleaseBindAtLeastOneDisplayValueInDataSetting:eu,rootNodeIsRequiredInDataSetting:tu,pleaseEnterMaxHeight:nu,pleaseEnter:ru,pleaseEnterWatermark:iu,pleaseEnterFileName:uu,pleaseUploadAtLeastOnePrintTemplate:ou,pleaseAssignBusiness:au,pleaseAssignExternal:lu,pleaseEnterAliasCode:su,pleaseSelectDataCode:cu,pleaseSelectSvcCode:fu,pleaseSelectJoinFieldCode:du,pleaseSelectMainFieldCode:pu},vu="Please enter a number",hu="Please enter a string",bu="Please enter an object",_u="Please enter an array",gu="Please enter a boolean",mu="{caption} Required",Eu="Please enter the title",Iu="Please enter the bubble prompt",Au="Please enter the prompt text",wu="Please bind data items",Su="Please bind the form",Ou="Please bind the list",Cu="Please bind the process",Ru="Please enter the displayed value",ku="Please enter the stored value",Bu="The document number is not bound to the data item",Pu="Please select at least one display field",Du="Please enter a value greater than or equal to {min} and less than or equal to {max}",Tu="Please enter a value greater than or equal to {min}",$u="Please enter a value less than or equal to {max}",Fu="The value range is set incorrectly",Nu="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Lu="The attachment size must be between 0MB and 1000MB",Mu="Please fill in the total score setting",xu="The total score cannot be less than 1",ju="The default value must be between {min} and {max}",Hu="The number of attachments uploaded must be between {min} and {max}",Uu="Please re-select the optional quantity",Vu="The maximum length of the control must be greater than the minimum length",qu="The minimum length of the control must be less than the maximum length",Wu="Please select the correct option setting",zu="Option ID cannot be repeated",Ku="Please enter at least one option",Gu="Please bind the data source",Xu="Please bind the stored value",Qu="Please bind the service",Ju="At least one display value must be bound",Zu="Please select a province",Yu="Please select a city",eo="Please select a district",to="The minimum number of lines to fill in cannot be less than 0",no="The number of rows cannot be less than {min} rows",ro="Please enter the column width",io="Please set the logical relationship of all rule conditions",uo="Please complete all rules and conditions",oo="please select control",ao="Please select the dashboard",lo="View name cannot be empty",so="Please select recognition type",co="Please select at least one field to fill in",fo="Please select at least one",po="Please enter the button title",yo="Please bind the business model in the data settings",vo="Please bind storage values in data settings",ho="Please bind the service in the data settings",bo="Please bind at least one display value in the data settings",_o="Please select the root node in the data settings",go="Please enter the maximum height",mo="The input content cannot be empty",Eo="Watermark cannot be empty",Io="File name cannot be empty",Ao="Please upload at least one printing template!\uFF01",wo="Please select a specific business department",So="Please select a specified external organization",Oo="Please enter a sub table alias",Co="Please select the associated table to set the business model",Ro="Please select the association table to set the binding service",ko="Select associated sub table fields",Bo="Please select the associated main table field",Po={isNotNumber:vu,isNotString:hu,isNotObject:bu,isNotArray:_u,isNotBoolean:gu,runtimeRequired:mu,pleaseEnterCaption:Eu,pleaseEnterCaptionTip:Iu,pleaseEnterPlaceholder:Au,pleaseEnterFieldCode:wu,pleaseEnterForm:Su,pleaseEnterList:Ou,pleaseEnterProcess:Cu,pleaseEnterLabel:Ru,pleaseEnterValue:ku,bizKeyNotBindFiled:Bu,pleaseSelectOneField:Pu,pleaseEnterNumberRange:Du,pleaseEnterAValueGreaterThanMin:Tu,pleaseEnterAValueLessThanMax:$u,numberRangeSetError:Fu,stringRangeError:Nu,attachmentMaxSize:Lu,pleaseEnterTotalScoreSetting:Mu,theTotalScoreMustNotBeLessThan1:xu,scoreDefaultValueRange:ju,attachmentLimitError:Hu,PleaseReselectTheOptionalQuantity:Uu,TheMaximumLengthIsGreaterThanTheMinimumLength:Vu,TheMinimumLengthIsGreaterThanTheMaximumLength:qu,PleaseSelectTheCorrectOptionSettings:Wu,optionIdIsRepeat:zu,optionIsRequired:Ku,pleaseEnterDataCode:Gu,pleaseEnterValueFieldCode:Xu,pleaseEnterSvcCode:Qu,pleaseBindAtLeastOneDisplayValue:Ju,pleaseSelectProvince:Zu,pleaseSelectCity:Yu,pleaseSelectDistrict:eo,limitRowsCannotBeLessThan0:to,TheNumberOfRowsCannotBeLessThanMinRows:no,pleaseEnterColumnWidth:ro,pleaseSetTheLogicalRelationshipOfAllRuleConditions:io,pleaseCompleteAllRulesAndConditions:uo,pleaseSelectControl:oo,pleaseSelectDashboard:ao,theViewNameCannotBeEmpty:lo,pleaseSelectOcrType:so,pleaseSelectAtLeastOneFieldToFillIn:co,pleaseChooseAtLeastOne:fo,pleaseEnterButtonContent:po,pleaseEnterDataCodeInDataSetting:yo,pleaseEnterValueFieldCodeInDataSetting:vo,pleaseEnterSvcCodeInDataSetting:ho,pleaseBindAtLeastOneDisplayValueInDataSetting:bo,rootNodeIsRequiredInDataSetting:_o,pleaseEnterMaxHeight:go,pleaseEnter:mo,pleaseEnterWatermark:Eo,pleaseEnterFileName:Io,pleaseUploadAtLeastOnePrintTemplate:Ao,pleaseAssignBusiness:wo,pleaseAssignExternal:So,pleaseEnterAliasCode:Oo,pleaseSelectDataCode:Co,pleaseSelectSvcCode:Ro,pleaseSelectJoinFieldCode:ko,pleaseSelectMainFieldCode:Bo},Do="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",To="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$o="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fo="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",No="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lo="{caption}\u5FC5\u9808",Mo="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xo="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jo="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ho="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uo="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vo="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qo="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wo="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zo="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ko="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Go="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xo="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qo="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jo="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zo="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Yo="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ea="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ta="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",na="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ra="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ia="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ua="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",oa="\u30B3\u30F3\u30DD\u30FC\u30CD\u30F3\u30C8\u306E\u6700\u5927\u5024\u306F\u6700\u5C0F\u5024\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",aa="\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",la="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sa="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",ca="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fa="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",da="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pa="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ya="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",va="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ha="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ba="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_a="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ga="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ma="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ea="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ia="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Aa="please select control",wa="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Sa="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Oa="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ca="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ra="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ba="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Pa="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Da="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Ta="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",$a="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Fa="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Na="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",La="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ma="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",xa="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",ja="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ha="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ua="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Va="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",qa="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wa="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",za="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ka={isNotNumber:Do,isNotString:To,isNotObject:$o,isNotArray:Fo,isNotBoolean:No,runtimeRequired:Lo,pleaseEnterCaption:Mo,pleaseEnterCaptionTip:xo,pleaseEnterPlaceholder:jo,pleaseEnterFieldCode:Ho,pleaseEnterForm:Uo,pleaseEnterList:Vo,pleaseEnterProcess:qo,pleaseEnterLabel:Wo,pleaseEnterValue:zo,bizKeyNotBindFiled:Ko,pleaseSelectOneField:Go,pleaseEnterNumberRange:Xo,pleaseEnterAValueGreaterThanMin:Qo,pleaseEnterAValueLessThanMax:Jo,numberRangeSetError:Zo,stringRangeError:Yo,attachmentMaxSize:ea,pleaseEnterTotalScoreSetting:ta,theTotalScoreMustNotBeLessThan1:na,scoreDefaultValueRange:ra,attachmentLimitError:ia,PleaseReselectTheOptionalQuantity:ua,TheMaximumLengthIsGreaterThanTheMinimumLength:oa,TheMinimumLengthIsGreaterThanTheMaximumLength:aa,PleaseSelectTheCorrectOptionSettings:la,optionIdIsRepeat:sa,optionIsRequired:ca,pleaseEnterDataCode:fa,pleaseEnterValueFieldCode:da,pleaseEnterSvcCode:pa,pleaseBindAtLeastOneDisplayValue:ya,pleaseSelectProvince:va,pleaseSelectCity:ha,pleaseSelectDistrict:ba,limitRowsCannotBeLessThan0:_a,TheNumberOfRowsCannotBeLessThanMinRows:ga,pleaseEnterColumnWidth:ma,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ea,pleaseCompleteAllRulesAndConditions:Ia,pleaseSelectControl:Aa,pleaseSelectDashboard:wa,theViewNameCannotBeEmpty:Sa,pleaseSelectOcrType:Oa,pleaseSelectAtLeastOneFieldToFillIn:Ca,pleaseChooseAtLeastOne:Ra,pleaseEnterButtonContent:ka,pleaseEnterDataCodeInDataSetting:Ba,pleaseEnterValueFieldCodeInDataSetting:Pa,pleaseEnterSvcCodeInDataSetting:Da,pleaseBindAtLeastOneDisplayValueInDataSetting:Ta,rootNodeIsRequiredInDataSetting:$a,pleaseEnterMaxHeight:Fa,pleaseEnter:Na,pleaseEnterWatermark:La,pleaseEnterFileName:Ma,pleaseUploadAtLeastOnePrintTemplate:xa,pleaseAssignBusiness:ja,pleaseAssignExternal:Ha,pleaseEnterAliasCode:Ua,pleaseSelectDataCode:Va,pleaseSelectSvcCode:qa,pleaseSelectJoinFieldCode:Wa,pleaseSelectMainFieldCode:za},Ga={zhCN:yu,enUS:Po,jaJP:Ka},cn;(function(e){e.Number="Number",e.Operator="Operator",e.VariableInMainTable="VariableInMainTable",e.VariableInCurrentSubTable="VariableInCurrentSubTable",e.VariableInOtherSubTable="VariableInOtherSubTable",e.UndefinedVariable="UndefinedVariable"})(cn||(cn={}));var fn;(function(e){e.SUM="SUM",e.AVG="AVG",e.MAX="MAX",e.MIN="MIN"})(fn||(fn={}));var Xa="zh-CN";function F(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var dn;(function(e){e.BASE="base",e.FORM="form",e.LAYOUT="layout",e.WRAP="wrap",e.COLUMN="column",e.LIST="list",e.SEARCH="search"})(dn||(dn={}));var c;(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"})(c||(c={}));var m;(function(e){e.VARCHAR="varchar",e.TEXT="text",e.ARRAY="array",e.ADDRESS="location",e.DECIMAL="decimal",e.DECIMAL_RANGE="decimal_range",e.TIMESTAMP="timestamp",e.EMPLOYEES="people",e.DEPARTMENTS="department",e.MONEY="money",e.TIMESCOPE="timescope",e.FILE="file",e.IMAGE="image",e.AUTO_NUMBER="auto_number",e.CALC="calc",e.RELATION="relation",e.LIST="list",e.RELATION_FIELD="relation-field",e.REFERENCE_FIELD="reference-field",e.CALC_FIELD="calc",e.JSON="json",e.BIGINT="bigint",e.ANY="ANY",e.ENCRYPTED_FIELD="encrypted_field"})(m||(m={}));var D;D={},F(D,m.ARRAY,c.ARRAY_COLUMN),F(D,m.AUTO_NUMBER,c.AUTO_NUMBER_COLUMN),F(D,m.DECIMAL,c.DECIMAL_COLUMN),F(D,m.DEPARTMENTS,c.DEPARTMENT_COLUMN),F(D,m.FILE,c.FILE_COLUMN),F(D,m.IMAGE,c.IMAGE_COLUMN),F(D,m.ADDRESS,c.LOCATION_COLUMN),F(D,m.EMPLOYEES,c.EMPLOYEE_COLUMN),F(D,m.TEXT,c.TEXT_COLUMN),F(D,m.TIMESCOPE,c.TIMESCOPE_COLUMN),F(D,m.TIMESTAMP,c.TIMESTAMP_COLUMN),F(D,m.VARCHAR,c.VARCHAR_COLUMN),F(D,m.RELATION,c.VARCHAR_COLUMN);var pn;(function(e){e.YEAR="year",e.MONTH="month",e.DATE="date",e.DATEHOUR="datehour",e.DATEMIN="datemin",e.DATETIME="datetime"})(pn||(pn={}));var yn="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Qa=yn+"0123456789";function be(){for(var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,t="",n=0;n<e;n++){var r=n===0?yn:Qa,u=Math.random()*r.length;t+=r[parseInt(String(u),10)]}return t}function tt(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 Ja(e){if(Array.isArray(e))return tt(e)}function Za(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function vn(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ya(){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 _e(e,t,n){return Ya()?_e=Reflect.construct:_e=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&ue(p,a.prototype),p},_e.apply(null,arguments)}function ie(e){return ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ie(e)}function hn(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&&ue(e,t)}function el(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function tl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function nl(){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 rl(e,t){return t&&(il(t)==="object"||typeof t=="function")?t:Za(e)}function ue(e,t){return ue=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ue(e,t)}function bn(e){return Ja(e)||tl(e)||ul(e)||nl()}var il=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ul(e,t){if(!!e){if(typeof e=="string")return tt(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 tt(e,t)}}function nt(e){var t=typeof Map=="function"?new Map:void 0;return nt=function(r){if(r===null||!el(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 _e(r,arguments,ie(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ue(u,r)},nt(e)}function ol(){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 _n(e){var t=ol();return function(){var r=ie(e),u;if(t){var o=ie(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return rl(this,u)}}var rt=console;function al(){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=rt).warn.apply(r,["\u{1F9D0} Driven Warning:"+t[0]].concat(bn(u)))}function ge(){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=rt).log.apply(r,["\u{1F680} Driven Log:"+t[0]].concat(bn(u)))}function ll(e){return e+" \u{1F41B}\u{1F41B}\u{1F41B}"}var it=function(e){hn(n,e);var t=_n(n);function n(r){vn(this,n);var u;return u=t.call(this,r),u.name="\u{1F4A5} Driven Error",u.message=r?ll(r):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(nt(Error)),sl=function(e){hn(n,e);var t=_n(n);function n(r){vn(this,n);var u;return u=t.call(this,r),u.name="\u{1F6A8} Driven Reference Error",u}return n}(it);function gn(e){throw new it(e)}function mn(e){throw new sl(e)}function cl(e){rt.error(new it(e))}var fl=Object.prototype.toString;function En(e,t){return fl.call(e)==="[object "+t+"]"}function dl(e){return En(e,"String")}function pl(e){return En(e,"Promise")}var yl=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();pl(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,o,a,s){if(u!==void 0){var f=u[o];if(!(a===s.length-1&&!dl(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 o=n[u];return o!==void 0?String(o):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 vl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function In(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 hl(e,t,n){return t&&In(e.prototype,t),n&&In(e,n),e}var O=function(){function e(){vl(this,e)}return hl(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]:Xa;return new yl({locale:n,messages:Ga})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),e}();O.$i18n=O.resetI18n();function bl(e,t,n){var r=t.replace(/\[(\d)]/g,function(o,a){return"."+a}).split("."),u=!1;return r.reduce(function(o,a,s,f){var p=o;if(!!o){if(!Object.prototype.hasOwnProperty.call(o,a)){al("Can not set ".concat(t,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),o,o);return}return s===f.length-1&&!Object.is(p[a],n)&&(p[a]=n,u=!0),p[a]}},e),u}var _l=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ut={exports:{}};(function(e){(function(t){var n=function(d,g,_){if(!p(g)||v(g)||h(g)||E(g)||f(g))return g;var C,R=0,L=0;if(y(g))for(C=[],L=g.length;R<L;R++)C.push(n(d,g[R],_));else{C={};for(var k in g)Object.prototype.hasOwnProperty.call(g,k)&&(C[d(k,_)]=n(d,g[k],_))}return C},r=function(d,g){g=g||{};var _=g.separator||"_",C=g.split||/(?=[A-Z])/;return d.split(C).join(_)},u=function(d){return S(d)?d:(d=d.replace(/[\-_\s]+(.)?/g,function(g,_){return _?_.toUpperCase():""}),d.substr(0,1).toLowerCase()+d.substr(1))},o=function(d){var g=u(d);return g.substr(0,1).toUpperCase()+g.substr(1)},a=function(d,g){return r(d,g).toLowerCase()},s=Object.prototype.toString,f=function(d){return typeof d=="function"},p=function(d){return d===Object(d)},y=function(d){return s.call(d)=="[object Array]"},v=function(d){return s.call(d)=="[object Date]"},h=function(d){return s.call(d)=="[object RegExp]"},E=function(d){return s.call(d)=="[object Boolean]"},S=function(d){return d=d-0,d===d},b=function(d,g){var _=g&&"process"in g?g.process:g;return typeof _!="function"?d:function(C,R){return _(C,d,R)}},I={camelize:u,decamelize:a,pascalize:o,depascalize:a,camelizeKeys:function(d,g){return n(b(u,g),d)},decamelizeKeys:function(d,g){return n(b(a,g),d,g)},pascalizeKeys:function(d,g){return n(b(o,g),d)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};e.exports?e.exports=I:t.humps=I})(_l)})(ut);var An={};Object.defineProperty(An,"__esModule",{value:!0});function ot(e){if(typeof e!="object"||e===null)return e;if(Array.isArray(e))return e.map(t=>typeof t!="object"||t===null?t:ot(t));{const t={};for(const n in e){const r=e[n];t[n]=typeof r!="object"||r===null?r:ot(r)}return t}}var gl=An.default=ot;function oe(e){if(e!==void 0)return typeof e=="object"?gl(e):e}function T(e){return wn(e)&&"zh"in e}function wn(e){return Object.prototype.toString.call(e)==="[object Object]"}function ml(e){return Array.isArray(e)}function X(e){return isNaN(parseFloat(e))?"":Number(e)}function El(e){return e.reduce(function(t,n){return t.includes(n)||t.push(n),t},[])}function $(e,t){var n=[];return Array.isArray(e)&&(n=e.map(function(r){var u=r;return Array.isArray(r==null?void 0:r.children)&&(u.children=$(r.children,t)),t(u)})),n}function Il(e){return ut.exports.camelizeKeys(e)}function Q(e){return ut.exports.decamelizeKeys(e)}function at(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 Al(e){if(Array.isArray(e))return at(e)}function Sn(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(p){n(p);return}s.done?t(f):Promise.resolve(f).then(r,u)}function wl(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){Sn(o,r,u,a,s,"next",f)}function s(f){Sn(o,r,u,a,s,"throw",f)}a(void 0)})}}function Sl(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function On(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 Ol(e,t,n){return t&&On(e.prototype,t),n&&On(e,n),e}function Cl(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function Rl(){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 lt(e){return Al(e)||Cl(e)||kl(e)||Rl()}function kl(e,t){if(!!e){if(typeof e=="string")return at(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 at(e,t)}}var Bl=function(){function e(){Sl(this,e),this._events=new Map,this.debug=!1}return Ol(e,[{key:"emit",value:function(n){for(var r=arguments.length,u=new Array(r>1?r-1:0),o=1;o<r;o++)u[o-1]=arguments[o];var a=this;return wl(H.default.mark(function s(){var f,p,y,v,h,E,S,b,I,d;return H.default.wrap(function(_){for(;;)switch(_.prev=_.next){case 0:if(f=a._events.get(n),p=[],!f){_.next=42;break}y=f.slice(),v=!0,h=!1,E=void 0,_.prev=5,S=y[Symbol.iterator]();case 7:if(v=(b=S.next()).done){_.next=28;break}if(I=b.value,f.includes(I)){_.next=11;break}return _.abrupt("continue",25);case 11:return _.prev=11,a.debug&&ge.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(lt(u))),_.next=15,I.apply(null,lt(u));case 15:if(d=_.sent,a.debug&&ge.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.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(lt(u),[d])),p.push(d),d!==!1){_.next=20;break}return _.abrupt("break",28);case 20:_.next=25;break;case 22:_.prev=22,_.t0=_.catch(11),cl(String(_.t0)+":"+String(_.t0.stack));case 25:v=!0,_.next=7;break;case 28:_.next=34;break;case 30:_.prev=30,_.t1=_.catch(5),h=!0,E=_.t1;case 34:_.prev=34,_.prev=35,!v&&S.return!=null&&S.return();case 37:if(_.prev=37,!h){_.next=40;break}throw E;case 40:return _.finish(37);case 41:return _.finish(34);case 42:return _.abrupt("return",p);case 43:case"end":return _.stop()}},s,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),o=u==null?void 0:u.indexOf(r);u==null||u.splice(o,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),e}(),Pl=[];new Set(Pl.map(function(e){return e.Designer.controlType}));function Dl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function me(e){return me=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},me(e)}function Cn(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&&st(e,t)}function Tl(e,t){return t&&($l(t)==="object"||typeof t=="function")?t:Dl(e)}function st(e,t){return st=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},st(e,t)}var $l=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Fl(){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 Rn(e){var t=Fl();return function(){var r=me(e),u;if(t){var o=me(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Tl(this,u)}}var Nl=function e(t){P(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:"",this.aliasCode=t==null?void 0:t.aliasCode},Ll=function e(t){P(this,e);var n;this.minWidth=(n=t==null?void 0:t.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=t==null?void 0:t.maxWidth;var r;this.flex=(r=t==null?void 0:t.flex)!==null&&r!==void 0?r:1},ct=function(e){Cn(n,e);var t=Rn(n);function n(r){P(this,n);var u;u=t.call(this,r);var o;u.width=(o=r==null?void 0:r.width)!==null&&o!==void 0?o:240;var a;return u.widthType=(a=r==null?void 0:r.widthType)!==null&&a!==void 0?a:"auto",u}return n}(Ll),Ml=function e(t){P(this,e),this.pc=new ct(t==null?void 0:t.pc),this.mobile=(t==null?void 0:t.mobile)?new ct(t==null?void 0:t.mobile):new ct({width:130,minWidth:180})},kn=function e(t){P(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.formKey=(r=t==null?void 0:t.formKey)!==null&&r!==void 0?r:"";var u;this.appId=(u=t==null?void 0:t.appId)!==null&&u!==void 0?u:""},xl=function e(t){P(this,e);var n;this.fieldName=(n=t==null?void 0:t.fieldName)!==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:m.VARCHAR},jl=function(e){Cn(n,e);var t=Rn(n);function n(r){P(this,n);var u;u=t.call(this,r);var o;u.title=(o=r==null?void 0:r.title)!==null&&o!==void 0?o:"";var a;u.svcCode=(a=r==null?void 0:r.svcCode)!==null&&a!==void 0?a:"";var s;u.isOpenFilter=(s=r==null?void 0:r.isOpenFilter)!==null&&s!==void 0?s:!1;var f;return u.filters=(f=r==null?void 0:r.filters)!==null&&f!==void 0?f:[],u}return n}(kn),Hl=function e(t){P(this,e);var n,r;this.type="sublist-page",this.formBind=new kn(t==null?void 0:t.formBind);var u;this.displayFields=(u=t==null||(n=t.displayFields)===null||n===void 0?void 0:n.map(function(a){return new xl(a)}))!==null&&u!==void 0?u:[];var o;this.sublists=(o=t==null||(r=t.sublists)===null||r===void 0?void 0:r.map(function(a){return new jl(a)}))!==null&&o!==void 0?o:[]},Ul=function e(t){P(this,e),this.type=t==null?void 0:t.type,this.value=t==null?void 0:t.value},Vl=function e(t){P(this,e);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"custom";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:[];var u;this.displayBos=(u=t==null?void 0:t.displayBos)!==null&&u!==void 0?u:[]},Bn=function e(t){P(this,e),this.type="conditions";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:be();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var u;this.level=(u=t==null?void 0:t.level)!==null&&u!==void 0?u:0;var o;if(this.value=(o=t==null?void 0:t.value)!==null&&o!==void 0?o:"and",this.children=[],Array.isArray(t==null?void 0:t.children)){var a=this;t==null||t.children.map(function(s){if(s.children!==void 0){var f,p=new e(s);(f=a.children)===null||f===void 0||f.push(p)}else{var y,v=new ft(s);(y=a.children)===null||y===void 0||y.push(v)}})}},ft=function e(t){P(this,e),this.type="condition";var n;this.id=(n=t==null?void 0:t.id)!==null&&n!==void 0?n:be();var r;this.ruleId=(r=t==null?void 0:t.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var u;this.symbol=(u=t==null?void 0:t.symbol)!==null&&u!==void 0?u:"";var o;this.checked=(o=t==null?void 0:t.checked)!==null&&o!==void 0?o:!1;var a;this.describe=(a=t==null?void 0:t.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Ul(t==null?void 0:t.leftVariableBo),this.rightVariableBo=new Vl(t==null?void 0:t.rightVariableBo)},ql=function e(t){P(this,e);var n;this.aliasCode=(n=t==null?void 0:t.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new ae(t==null?void 0:t.datasourceBind);var r;this.relationFields=(r=t==null?void 0:t.relationFields)!==null&&r!==void 0?r:[]},Wl=function e(t){P(this,e);var n;this.type=(n=t==null?void 0:t.type)!==null&&n!==void 0?n:"FIELD";var r;this.value=(r=t==null?void 0:t.value)!==null&&r!==void 0?r:"",this.fieldType=t==null?void 0:t.fieldType},zl=function e(t){P(this,e);var n;this.columnName=(n=t.columnName)!==null&&n!==void 0?n:"";var r;this.desc=(r=t.desc)!==null&&r!==void 0?r:!1};function Kl(e){var t,n,r,u,o;this.filters=(o=e==null||(t=e.filters)===null||t===void 0?void 0:t.map(function(f){return f.children!==void 0?new Bn(f):new ft(f)}))!==null&&o!==void 0?o:[];var a;this.viewFilters=(a=e==null||(n=e.viewFilters)===null||n===void 0?void 0:n.map(function(f){return f.children!==void 0?new Bn(f):new ft(f)}))!==null&&a!==void 0?a:[];var s;this.orders=(s=(r=e)===null||r===void 0||(u=r.orders)===null||u===void 0?void 0:u.map(function(f){return new zl(f)}))!==null&&s!==void 0?s:[]}var ae=function e(t){P(this,e);var n;this.dataCode=(n=t==null?void 0:t.dataCode)!==null&&n!==void 0?n:"";var r;this.appId=(r=t==null?void 0:t.appId)!==null&&r!==void 0?r:"";var u;this.valueFieldCode=(u=t==null?void 0:t.valueFieldCode)!==null&&u!==void 0?u:"",this.displayBoList=[];var o;if(this.isOpenViewFilters=(o=t==null?void 0:t.isOpenViewFilters)!==null&&o!==void 0?o:0,Array.isArray(t==null?void 0:t.displayBoList)){var a=this;t==null||t.displayBoList.map(function(p){var y;(y=a.displayBoList)===null||y===void 0||y.push(new Wl(p))})}var s;this.showOrder=(s=t==null?void 0:t.showOrder)!==null&&s!==void 0?s:!0;var f;this.svcCode=(f=t==null?void 0:t.svcCode)!==null&&f!==void 0?f:"",Kl.call(this,t)},Pn;(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"})(Pn||(Pn={}));var l;(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"})(l||(l={}));var dt;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.READONLY=1]="READONLY",e[e.EDITABLE=2]="EDITABLE",e[e.PRINT=5]="PRINT"})(dt||(dt={}));var le=function e(t){P(this,e);var n;this.isShow=(n=t==null?void 0:t.isShow)!==null&&n!==void 0?n:!0;var r;this.content=(r=t==null?void 0:t.content)!==null&&r!==void 0?r:"";var u;this.formKey=(u=t==null?void 0:t.formKey)!==null&&u!==void 0?u:"";var o;this.openType=(o=t==null?void 0:t.openType)!==null&&o!==void 0?o:"modal";var a;this.type=(a=t==null?void 0:t.type)!==null&&a!==void 0?a:"";var s;this.priorityProcess=(s=t==null?void 0:t.priorityProcess)!==null&&s!==void 0?s:!1},Gl=function e(t){P(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 o;this.heightConfig=(o=t==null?void 0:t.heightConfig)!==null&&o!==void 0?o:"fill"};function Xl(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function pt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ql(){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 Ee(e,t,n){return Ql()?Ee=Reflect.construct:Ee=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&ce(p,a.prototype),p},Ee.apply(null,arguments)}function se(e){return se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},se(e)}function Jl(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&&ce(e,t)}function Zl(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function Yl(e,t){return t&&(es(t)==="object"||typeof t=="function")?t:Xl(e)}function ce(e,t){return ce=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},ce(e,t)}var es=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function yt(e){var t=typeof Map=="function"?new Map:void 0;return yt=function(r){if(r===null||!Zl(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 Ee(r,arguments,se(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ce(u,r)},yt(e)}function ts(){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 ns(e){var t=ts();return function(){var r=se(e),u;if(t){var o=se(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Yl(this,u)}}var Ie=function e(t){pt(this,e),this.isHide={type:"boolean"}},vt=function(e){Jl(n,e);var t=ns(n);function n(r){return pt(this,n),t.call(this)}return n}(yt(Array)),J=function e(t){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";pt(this,e);var r;this.isHide=(r=t==null?void 0:t.isHide)!==null&&r!==void 0?r:!1,this.style=new Gl(t==null?void 0:t.style);var u;this.caption=(u=t==null?void 0:t.caption)!==null&&u!==void 0?u:n};J.Rules=Ie,J.RuntimeRules=vt;function j(){return j=Object.assign||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},j.apply(this,arguments)}function rs(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function ht(e){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(e)}function Ae(e,t){return Ae=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ae(e,t)}function is(){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 we(e,t,n){return is()?we=Reflect.construct:we=function(u,o,a){var s=[null];s.push.apply(s,o);var f=Function.bind.apply(u,s),p=new f;return a&&Ae(p,a.prototype),p},we.apply(null,arguments)}function us(e){return Function.toString.call(e).indexOf("[native code]")!==-1}function bt(e){var t=typeof Map=="function"?new Map:void 0;return bt=function(r){if(r===null||!us(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 we(r,arguments,ht(this).constructor)}return u.prototype=Object.create(r.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ae(u,r)},bt(e)}var os=/%[sdj%]/g,Dn=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Dn=function(t,n){typeof console!="undefined"&&console.warn&&n.every(function(r){return typeof r=="string"})&&console.warn(t,n)});function _t(e){if(!e||!e.length)return null;var t={};return e.forEach(function(n){var r=n.field;t[r]=t[r]||[],t[r].push(n)}),t}function N(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=1,u=t[0],o=t.length;if(typeof u=="function")return u.apply(null,t.slice(1));if(typeof u=="string"){var a=String(u).replace(os,function(s){if(s==="%%")return"%";if(r>=o)return s;switch(s){case"%s":return String(t[r++]);case"%d":return Number(t[r++]);case"%j":try{return JSON.stringify(t[r++])}catch(f){return"[Circular]"}break;default:return s}});return a}return u}function as(e){return e==="string"||e==="url"||e==="hex"||e==="email"||e==="date"||e==="pattern"}function B(e,t){return!!(e==null||t==="array"&&Array.isArray(e)&&!e.length||as(t)&&typeof e=="string"&&!e)}function ls(e,t,n){var r=[],u=0,o=e.length;function a(s){r.push.apply(r,s),u++,u===o&&n(r)}e.forEach(function(s){t(s,a)})}function Tn(e,t,n){var r=0,u=e.length;function o(a){if(a&&a.length){n(a);return}var s=r;r=r+1,s<u?t(e[s],o):n([])}o([])}function ss(e){var t=[];return Object.keys(e).forEach(function(n){t.push.apply(t,e[n])}),t}var $n=function(e){rs(t,e);function t(n,r){var u;return u=e.call(this,"Async Validation Error")||this,u.errors=n,u.fields=r,u}return t}(bt(Error));function cs(e,t,n,r){if(t.first){var u=new Promise(function(v,h){var E=function(I){return r(I),I.length?h(new $n(I,_t(I))):v()},S=ss(e);Tn(S,n,E)});return u.catch(function(v){return v}),u}var o=t.firstFields||[];o===!0&&(o=Object.keys(e));var a=Object.keys(e),s=a.length,f=0,p=[],y=new Promise(function(v,h){var E=function(b){if(p.push.apply(p,b),f++,f===s)return r(p),p.length?h(new $n(p,_t(p))):v()};a.length||(r(p),v()),a.forEach(function(S){var b=e[S];o.indexOf(S)!==-1?Tn(b,n,E):ls(b,n,E)})});return y.catch(function(v){return v}),y}function Fn(e){return function(t){return t&&t.message?(t.field=t.field||e.fullField,t):{message:typeof t=="function"?t():t,field:t.field||e.fullField}}}function Nn(e,t){if(t){for(var n in t)if(t.hasOwnProperty(n)){var r=t[n];typeof r=="object"&&typeof e[n]=="object"?e[n]=j(j({},e[n]),r):e[n]=r}}return e}function Ln(e,t,n,r,u,o){e.required&&(!n.hasOwnProperty(e.field)||B(t,o||e.type))&&r.push(N(u.messages.required,e.fullField))}function fs(e,t,n,r,u){(/^\s+$/.test(t)||t==="")&&r.push(N(u.messages.whitespace,e.fullField))}var gt={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},fe={integer:function(t){return fe.number(t)&&parseInt(t,10)===t},float:function(t){return fe.number(t)&&!fe.integer(t)},array:function(t){return Array.isArray(t)},regexp:function(t){if(t instanceof RegExp)return!0;try{return!!new RegExp(t)}catch(n){return!1}},date:function(t){return typeof t.getTime=="function"&&typeof t.getMonth=="function"&&typeof t.getYear=="function"&&!isNaN(t.getTime())},number:function(t){return isNaN(t)?!1:typeof t=="number"},object:function(t){return typeof t=="object"&&!fe.array(t)},method:function(t){return typeof t=="function"},email:function(t){return typeof t=="string"&&!!t.match(gt.email)&&t.length<255},url:function(t){return typeof t=="string"&&!!t.match(gt.url)},hex:function(t){return typeof t=="string"&&!!t.match(gt.hex)}};function ds(e,t,n,r,u){if(e.required&&t===void 0){Ln(e,t,n,r,u);return}var o=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=e.type;o.indexOf(a)>-1?fe[a](t)||r.push(N(u.messages.types[a],e.fullField,e.type)):a&&typeof t!==e.type&&r.push(N(u.messages.types[a],e.fullField,e.type))}function ps(e,t,n,r,u){var o=typeof e.len=="number",a=typeof e.min=="number",s=typeof e.max=="number",f=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,p=t,y=null,v=typeof t=="number",h=typeof t=="string",E=Array.isArray(t);if(v?y="number":h?y="string":E&&(y="array"),!y)return!1;E&&(p=t.length),h&&(p=t.replace(f,"_").length),o?p!==e.len&&r.push(N(u.messages[y].len,e.fullField,e.len)):a&&!s&&p<e.min?r.push(N(u.messages[y].min,e.fullField,e.min)):s&&!a&&p>e.max?r.push(N(u.messages[y].max,e.fullField,e.max)):a&&s&&(p<e.min||p>e.max)&&r.push(N(u.messages[y].range,e.fullField,e.min,e.max))}var Z="enum";function ys(e,t,n,r,u){e[Z]=Array.isArray(e[Z])?e[Z]:[],e[Z].indexOf(t)===-1&&r.push(N(u.messages[Z],e.fullField,e[Z].join(", ")))}function vs(e,t,n,r,u){if(e.pattern){if(e.pattern instanceof RegExp)e.pattern.lastIndex=0,e.pattern.test(t)||r.push(N(u.messages.pattern.mismatch,e.fullField,t,e.pattern));else if(typeof e.pattern=="string"){var o=new RegExp(e.pattern);o.test(t)||r.push(N(u.messages.pattern.mismatch,e.fullField,t,e.pattern))}}}var A={required:Ln,whitespace:fs,type:ds,range:ps,enum:ys,pattern:vs};function hs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t,"string")&&!e.required)return n();A.required(e,t,r,o,u,"string"),B(t,"string")||(A.type(e,t,r,o,u),A.range(e,t,r,o,u),A.pattern(e,t,r,o,u),e.whitespace===!0&&A.whitespace(e,t,r,o,u))}n(o)}function bs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A.type(e,t,r,o,u)}n(o)}function _s(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t===""&&(t=void 0),B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function gs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A.type(e,t,r,o,u)}n(o)}function ms(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),B(t)||A.type(e,t,r,o,u)}n(o)}function Es(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function Is(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function As(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(t==null&&!e.required)return n();A.required(e,t,r,o,u,"array"),t!=null&&(A.type(e,t,r,o,u),A.range(e,t,r,o,u))}n(o)}function ws(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A.type(e,t,r,o,u)}n(o)}var Ss="enum";function Os(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u),t!==void 0&&A[Ss](e,t,r,o,u)}n(o)}function Cs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t,"string")&&!e.required)return n();A.required(e,t,r,o,u),B(t,"string")||A.pattern(e,t,r,o,u)}n(o)}function Rs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t,"date")&&!e.required)return n();if(A.required(e,t,r,o,u),!B(t,"date")){var s;t instanceof Date?s=t:s=new Date(t),A.type(e,s,r,o,u),s&&A.range(e,s.getTime(),r,o,u)}}n(o)}function ks(e,t,n,r,u){var o=[],a=Array.isArray(t)?"array":typeof t;A.required(e,t,r,o,u,a),n(o)}function mt(e,t,n,r,u){var o=e.type,a=[],s=e.required||!e.required&&r.hasOwnProperty(e.field);if(s){if(B(t,o)&&!e.required)return n();A.required(e,t,r,a,u,o),B(t,o)||A.type(e,t,r,a,u)}n(a)}function Bs(e,t,n,r,u){var o=[],a=e.required||!e.required&&r.hasOwnProperty(e.field);if(a){if(B(t)&&!e.required)return n();A.required(e,t,r,o,u)}n(o)}var de={string:hs,method:bs,number:_s,boolean:gs,regexp:ms,integer:Es,float:Is,array:As,object:ws,enum:Os,pattern:Cs,date:Rs,url:mt,hex:mt,email:mt,required:ks,any:Bs};function Et(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var t=JSON.parse(JSON.stringify(this));return t.clone=this.clone,t}}}var It=Et();function U(e){this.rules=null,this._messages=It,this.define(e)}U.prototype={messages:function(t){return t&&(this._messages=Nn(Et(),t)),this._messages},define:function(t){if(!t)throw new Error("Cannot configure a schema with no rules");if(typeof t!="object"||Array.isArray(t))throw new Error("Rules must be an object");this.rules={};var n,r;for(n in t)t.hasOwnProperty(n)&&(r=t[n],this.rules[n]=Array.isArray(r)?r:[r])},validate:function(t,n,r){var u=this;n===void 0&&(n={}),r===void 0&&(r=function(){});var o=t,a=n,s=r;if(typeof a=="function"&&(s=a,a={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function f(b){var I,d=[],g={};function _(C){if(Array.isArray(C)){var R;d=(R=d).concat.apply(R,C)}else d.push(C)}for(I=0;I<b.length;I++)_(b[I]);d.length?g=_t(d):(d=null,g=null),s(d,g)}if(a.messages){var p=this.messages();p===It&&(p=Et()),Nn(p,a.messages),a.messages=p}else a.messages=this.messages();var y,v,h={},E=a.keys||Object.keys(this.rules);E.forEach(function(b){y=u.rules[b],v=o[b],y.forEach(function(I){var d=I;typeof d.transform=="function"&&(o===t&&(o=j({},o)),v=o[b]=d.transform(v)),typeof d=="function"?d={validator:d}:d=j({},d),d.validator=u.getValidationMethod(d),d.field=b,d.fullField=d.fullField||b,d.type=u.getType(d),!!d.validator&&(h[b]=h[b]||[],h[b].push({rule:d,value:v,source:o,field:b}))})});var S={};return cs(h,a,function(b,I){var d=b.rule,g=(d.type==="object"||d.type==="array")&&(typeof d.fields=="object"||typeof d.defaultField=="object");g=g&&(d.required||!d.required&&b.value),d.field=b.field;function _(L,k){return j(j({},k),{},{fullField:d.fullField+"."+L})}function C(L){L===void 0&&(L=[]);var k=L;if(Array.isArray(k)||(k=[k]),!a.suppressWarning&&k.length&&U.warning("async-validator:",k),k.length&&d.message!==void 0&&(k=[].concat(d.message)),k=k.map(Fn(d)),a.first&&k.length)return S[d.field]=1,I(k);if(!g)I(k);else{if(d.required&&!b.value)return d.message!==void 0?k=[].concat(d.message).map(Fn(d)):a.error&&(k=[a.error(d,N(a.messages.required,d.field))]),I(k);var M={};if(d.defaultField)for(var w in b.value)b.value.hasOwnProperty(w)&&(M[w]=d.defaultField);M=j(j({},M),b.rule.fields);for(var te in M)if(M.hasOwnProperty(te)){var Ey=Array.isArray(M[te])?M[te]:[M[te]];M[te]=Ey.map(_.bind(null,te))}var Gr=new U(M);Gr.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),Gr.validate(b.value,b.rule.options||a,function(sn){var ne=[];k&&k.length&&ne.push.apply(ne,k),sn&&sn.length&&ne.push.apply(ne,sn),I(ne.length?ne:null)})}}var R;d.asyncValidator?R=d.asyncValidator(d,b.value,C,b.source,a):d.validator&&(R=d.validator(d,b.value,C,b.source,a),R===!0?C():R===!1?C(d.message||d.field+" fails"):R instanceof Array?C(R):R instanceof Error&&C(R.message)),R&&R.then&&R.then(function(){return C()},function(L){return C(L)})},function(b){f(b)})},getType:function(t){if(t.type===void 0&&t.pattern instanceof RegExp&&(t.type="pattern"),typeof t.validator!="function"&&t.type&&!de.hasOwnProperty(t.type))throw new Error(N("Unknown rule type %s",t.type));return t.type||"string"},getValidationMethod:function(t){if(typeof t.validator=="function")return t.validator;var n=Object.keys(t),r=n.indexOf("message");return r!==-1&&n.splice(r,1),n.length===1&&n[0]==="required"?de.required:de[this.getType(t)]||!1}},U.register=function(t,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");de[t]=n},U.warning=Dn,U.messages=It,U.validators=de;var Ps={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Ds(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new U(e);return n.messages(Object.assign(Ps,t)),n}var Ts=new Bl;function At(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 $s(e){if(Array.isArray(e))return e}function Fs(e){if(Array.isArray(e))return At(e)}function Mn(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(p){n(p);return}s.done?t(f):Promise.resolve(f).then(r,u)}function xn(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){Mn(o,r,u,a,s,"next",f)}function s(f){Mn(o,r,u,a,s,"throw",f)}a(void 0)})}}function Ns(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function jn(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 Ls(e,t,n){return t&&jn(e.prototype,t),n&&jn(e,n),e}function Ms(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hn(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function Un(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function xs(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}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 Vn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){Ms(e,u,n[u])})}return e}function Hs(e){return $s(e)||Un(e)||qn(e,i)||xs()}function wt(e){return Fs(e)||Un(e)||qn(e)||js()}function qn(e,t){if(!!e){if(typeof e=="string")return At(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 At(e,t)}}var x=function(){function t(n){var r=this;Ns(this,t),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=zn,this.removeSetting=Wn,this._callControlHooks("preInstance",n);var u=Hn(this,t)?this.constructor:void 0,o=u.controlName,a=u.controlIcon,s=u.controlType,f=u.controlFieldType,p=u.controlEventKeys,y=u.controlCustomEvents,v=u.name,h=u.setting;o&&a&&s||mn("The ".concat(v," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:be(10),this.name=o,this.icon=a;var S;this.type=(S=n==null?void 0:n.type)!==null&&S!==void 0?S:s,this.props=new J(n==null?void 0:n.props,(Hn(this,t)?this.constructor:void 0).controlName);var b;this.controlType=(b=n==null?void 0:n.controlType)!==null&&b!==void 0?b:"base",this.setting=oe(h);var I;this.fieldType=(I=n==null?void 0:n.fieldType)!==null&&I!==void 0?I:f,this.eventKeys=oe(p),this.customEvents=oe(y),Promise.resolve().then(function(){r._callControlHooks("postInstance",n)})}return Ls(t,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}},{key:"_callControlHooks",value:function(){for(var r=arguments.length,u=new Array(r),o=0;o<r;o++)u[o]=arguments[o];var a,s=Hs(u),f=s[0],p=s.slice(1);return(a=Ts).emit.apply(a,[f,this].concat(wt(p)))}},{key:"preUpdate",value:function(r,u){this._callControlHooks("preUpdateProps",r,u)}},{key:"postUpdate",value:function(r,u){this._callControlHooks("postUpdateProps",r,u)}},{key:"updateProps",value:function(r,u){this.preUpdate(r,u),bl(this.props,r,u),this.postUpdate(r,u)}},{key:"preValidate",value:function(){var r=this;return xn(H.default.mark(function u(){var o,a,s;return H.default.wrap(function(p){for(;;)switch(p.prev=p.next){case 0:return o=Vn({},r.rules),p.next=3,r._callControlHooks("preValidate",o);case 3:return a=p.sent,s=a[a.length-1],p.abrupt("return",s===!1?void 0:s);case 6:case"end":return p.stop()}},u)}))()}},{key:"validate",value:function(r,u){var o=this;return xn(H.default.mark(function a(){var s,f,p;return H.default.wrap(function(v){for(;;)switch(v.prev=v.next){case 0:return v.next=2,o.preValidate();case 2:return s=v.sent,f=s!==void 0?s:Vn({},o.rules),Array.isArray(u)&&u.forEach(function(h){f.hasOwnProperty(h)&&delete f[h]}),p=Ds(f,r),v.prev=6,v.next=9,p.validate(o.props);case 9:return v.abrupt("return",!0);case 12:throw v.prev=12,v.t0=v.catch(6),v.t0.control||(v.t0.control=o),v.t0;case 16:case"end":return v.stop()}},a,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,o=this.id,a=this.type,s=this.props,f=s.dataBind,p=s.datasourceBind,y=s.optionConfig,v=s.caption,h=s.required,E=s.maxLength,S=s.options,b=s.encrypted,I=s.encryptedMode;if(!(!u&&!f&&!p)){var d={parentId:r,fieldType:u,controlId:o,caption:v,type:a,props:{}};switch(f&&(d.dataBind=f),y){case"datasource":case void 0:p&&(d.datasourceBind=p);break;case"custom":d.props.options=S;break}return h!==void 0&&(d.required=h),E!==void 0&&(d.maxLength=E),b!==void 0&&(d.encrypted=b),I!==void 0&&(d.encryptedMode=I),d}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:oe(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(r,u){if(r==="setting"){if(u.add){var o;(o=this.setting).push.apply(o,wt(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),t}();x.controlName="\u63A7\u4EF6",x.controlIcon="icon",x.controlType="control",x.controlEventKeys=[],x.controlCustomEvents=[],x.setting=[],x.__is_control__=!0,x.removeSettingItem=Wn,x.updateSettingItem=zn;function Wn(e){var t=this,n=Array.isArray(e)?e:[e];n.forEach(function(r){var u=typeof r!="string",o=t.setting.findIndex(function(f){return f.key===(u?r.key:r)});if(o!==-1){var a,s;u?t.setting[o].showItems=(a=t.setting[o].showItems)===null||a===void 0?void 0:a.filter(function(f){return!r.hideItems.includes(f)}):t.setting.splice(o,1),u&&!((s=t.setting[o].showItems)===null||s===void 0?void 0:s.length)&&t.setting.splice(o,1)}})}function zn(e,t){var n=this,r=typeof e=="string"?[e]:e;r.forEach(function(u){var o=n.setting.find(function(p){return p.key===u});if(o){if(typeof t=="boolean")o.visible=t;else if(typeof t=="object"){var a,s=(a=t.type)!==null&&a!==void 0?a:"replace";if(s==="replace")o.showItems=t.showItems;else{var f;(f=o.showItems).push.apply(f,wt(t.showItems))}}}})}function Us(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Kn(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 Vs(e,t,n){return t&&Kn(e.prototype,t),n&&Kn(e,n),e}function qs(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}var pe=function(){function t(n){Us(this,t),this.customEvents=[],this.parent=null;var r=qs(this,t)?this.constructor:void 0,u=r.controlType,o=r.controlFieldType,a=r.name,s=r.controlCustomEvents;u||mn("The ".concat(a," controlType is not define"));var f;this.id=(f=n==null?void 0:n.id)!==null&&f!==void 0?f:be(10);var p;this.type=(p=n==null?void 0:n.type)!==null&&p!==void 0?p:u,this.props=new J(n==null?void 0:n.props),this.customEvents=s;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:o;var h;this.pageStatus=(h=n==null?void 0:n.pageStatus)!==null&&h!==void 0?h:dt.UNKNOWN}return Vs(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}();pe.controlType="control",pe.__is_control__=!0,pe.controlCustomEvents=[];function Ws(e){e.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),e.hasOwnProperty("options")||(this.options={type:"any"}),e.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),e.hasOwnProperty("options")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="custom")?this.options=[{type:"array",message:O.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:O.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:O.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,r,u){r.length===0&&u(O.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,r,u){var o=r.map(function(s){return s.value}),a=El(o);o.length!==a.length?u(O.getMessage("optionIdIsRepeat")):u()},message:O.getMessage("optionIdIsRepeat")}]:e.hasOwnProperty("datasourceBind")&&(!e.hasOwnProperty("optionConfig")||e.hasOwnProperty("optionConfig")&&e.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:O.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:O.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:O.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:O.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:O.getMessage("isNotArray")},{type:"array",validator:function(n,r,u){r.length===0&&u(O.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:O.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:O.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:O.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:O.getMessage("isNotBoolean")}}}}]}}])}function zs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ks(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Se(e){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(e)}function Gs(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&&St(e,t)}function Xs(e,t){return t&&(Qs(t)==="object"||typeof t=="function")?t:zs(e)}function St(e,t){return St=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},St(e,t)}var Qs=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Js(){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 Zs(e){var t=Js();return function(){var r=Se(e),u;if(t){var o=Se(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Xs(this,u)}}var z=function(e){Gs(n,e);var t=Zs(n);function n(r){return Ks(this,n),t.call(this,r)}return n}(J);function Ot(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 Ys(e){if(Array.isArray(e))return Ot(e)}function ec(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function tc(){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 Gn(e){return Ys(e)||ec(e)||nc(e)||tc()}function nc(e,t){if(!!e){if(typeof e=="string")return Ot(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 Ot(e,t)}}function rc(e,t){var n;((n=Object.getOwnPropertyDescriptors(e)[t])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(e,t,{enumerable:!1})}function Xn(e,t){e.parent=t,rc(e,"parent")}function ic(e,t){e.forEach(function(n){Xn(n,t)})}var Qn=Symbol("targetKey");function Jn(e){var t;return(t=e[Qn])!==null&&t!==void 0?t:e}function Zn(e,t){return ic(e,t),new Proxy(e,{get:function(r,u){for(var o=arguments.length,a=new Array(o>2?o-2:0),s=2;s<o;s++)a[s-2]=arguments[s];var f;return u===Qn?r:(f=Reflect).get.apply(f,[r,u].concat(Gn(a)))},set:function(r,u,o){for(var a=arguments.length,s=new Array(a>3?a-3:0),f=3;f<a;f++)s[f-3]=arguments[f];var p;if(ml(e)&&u==="length"&&o===e.length)return!0;var y=(p=Reflect).set.apply(p,[r,u,o].concat(Gn(s)));return wn(o)&&Xn(o,t),y}})}function Yn(e,t,n,r){var u=r!=null?r:e,o=Zn(Jn(n!=null?n:[]),u);Object.defineProperty(e,t,{get:function(){return o},set:function(s){o=Zn(Jn(s),u)},enumerable:!0})}function Ct(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 uc(e){if(Array.isArray(e))return Ct(e)}function er(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function tr(e,t,n,r,u,o,a){try{var s=e[o](a),f=s.value}catch(p){n(p);return}s.done?t(f):Promise.resolve(f).then(r,u)}function oc(e){return function(){var t=this,n=arguments;return new Promise(function(r,u){var o=e.apply(t,n);function a(f){tr(o,r,u,a,s,"next",f)}function s(f){tr(o,r,u,a,s,"throw",f)}a(void 0)})}}function ac(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function nr(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 lc(e,t,n){return t&&nr(e.prototype,t),n&&nr(e,n),e}function sc(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Y(e,t,n){return typeof Reflect!="undefined"&&Reflect.get?Y=Reflect.get:Y=function(u,o,a){var s=hc(u,o);if(!!s){var f=Object.getOwnPropertyDescriptor(s,o);return f.get?f.get.call(a):f.value}},Y(e,t,n||e)}function V(e){return V=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},V(e)}function cc(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&&Rt(e,t)}function fc(e,t){return t!=null&&typeof Symbol!="undefined"&&t[Symbol.hasInstance]?t[Symbol.hasInstance](e):e instanceof t}function dc(e){if(typeof Symbol!="undefined"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function pc(){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 yc(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{},r=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(r=r.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),r.forEach(function(u){sc(e,u,n[u])})}return e}function vc(e,t){return t&&(bc(t)==="object"||typeof t=="function")?t:er(e)}function Rt(e,t){return Rt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Rt(e,t)}function hc(e,t){for(;!Object.prototype.hasOwnProperty.call(e,t)&&(e=V(e),e!==null););return e}function rr(e){return uc(e)||dc(e)||_c(e)||pc()}var bc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function _c(e,t){if(!!e){if(typeof e=="string")return Ct(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 Ct(e,t)}}function gc(){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 mc(e){var t=gc();return function(){var r=V(e),u;if(t){var o=V(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return vc(this,u)}}var Ec=1e4,K=function(t){cc(r,t);var n=mc(r);function r(u){ac(this,r);var o;o=n.call(this,u),o.controlType="layout";var a=fc(this,r)?this.constructor:void 0,s=a.excludes,f=a.childrenMaxLength;return o.props=new z(u==null?void 0:u.props),Yn(er(o),"children",u==null?void 0:u.children),o.excludes=oe(s),o.childrenMaxLength=f,o}return lc(r,[{key:"judgeExcludesChildren",value:function(o){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(o)}},{key:"judgeJoinChildren",value:function(o){var a=this.judgeExcludesChildren(o);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(o,a){var s=this,f=this,p=function(){return Y(V(r.prototype),"validate",s)};return oc(H.default.mark(function y(){return H.default.wrap(function(h){for(;;)switch(h.prev=h.next){case 0:return h.next=2,p().call(f,o,a);case 2:return h.next=4,Promise.all(f.children.map(function(E){return E.validate(o,a)}));case 4:return h.abrupt("return",!0);case 5:case"end":return h.stop()}},y)}))()}},{key:"toDataBindModel",value:function(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=Y(V(r.prototype),"toDataBindModel",this).call(this),s=a?[a]:[];return this.children.reduce(function(f,p){var y=p.toDataBindModel(o);if(Array.isArray(y)){var v=y.filter(function(h){return!!h});return rr(f).concat(rr(v))}return y&&f.push(y),f},s)}},{key:"toSchema",value:function(){var o=Y(V(r.prototype),"toSchema",this).call(this),a=this.children.map(function(s){var f=s.toSchema();return f});return yc({},o,{children:a})}}]),r}(x);K.excludes=!1,K.childrenMaxLength=Ec;function ir(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ic(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Oe(e){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(e)}function Ac(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&&kt(e,t)}function wc(e,t){return t&&(Sc(t)==="object"||typeof t=="function")?t:ir(e)}function kt(e,t){return kt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},kt(e,t)}var Sc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Oc(){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 Cc(e){var t=Oc();return function(){var r=Oe(e),u;if(t){var o=Oe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return wc(this,u)}}var ye=function(e){Ac(n,e);var t=Cc(n);function n(r){Ic(this,n);var u;return u=t.call(this,r),u.controlType="layout",u.props=new z(r==null?void 0:r.props),Yn(ir(u),"children",r==null?void 0:r.children),u}return n}(pe);l.IS_HIDE,l.IS_HIDE,l.IS_HIDE;var Bt;(function(e){e.ShowBizKey="is_show_biz_key",e.ShowSubmitUser="is_show_submit_user",e.ShowSubmitTime="is_show_submit_time",e.ShowSubmitDept="is_show_submit_dept",e.ShowCurrentApprovar="is_show_current_approvar",e.ShowTitle="is_show_title"})(Bt||(Bt={}));var ur;(function(e){e.EARLY_DATE="earlyDate",e.LATE_DATE="lateDate",e.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval"})(ur||(ur={}));var or;(function(e){e.FILE_IN_TIME="filledInTime",e.BEFORE_TIME="beforeTime",e.AFTER_TIME="afterTime",e.TIME_SPECIFIED="timeSpecified"})(or||(or={}));var ar;(function(e){e.PRAISE="praise",e.STAR="star",e.FLOWER="flower",e.HAND="hand",e.HEART="heart",e.SMILE="smile"})(ar||(ar={}));var lr;(function(e){e.SOLID="solid-line",e.DASHED="dashed-line",e.BOLD_SOLID="bold-solid-line",e.BOLD_DASHED="bold-dashed-line",e.DOUBLE_SOLID="double-solid-line",e.DOUBLE_DASHED="double-dashed-line"})(lr||(lr={}));var sr;(function(e){e.NO_MASK="NO_MASK",e.LAST_FOUR_MASK="LAST_FOUR_MASK",e.ALL_MASK="ALL_MASK"})(sr||(sr={}));var cr;(function(e){e.ALL="ALL",e.INTERNAL="INTERNAL",e.EXTERNAL="EXTERNAL",e.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL"})(cr||(cr={}));var fr;(function(e){e.INTERNAL_BUSINESS="INTERNAL_BUSINESS",e.INTERNAL="INTERNAL",e.BUSINESS="BUSINESS"})(fr||(fr={}));var dr;(function(e){e.ALL="all",e.ASSIGN="assign"})(dr||(dr={}));var pr;(function(e){e.ALL="all",e.ADMIN="admin"})(pr||(pr={})),l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE,l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP;function Rc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ce(e){return Ce=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ce(e)}function vr(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&&Pt(e,t)}function kc(e,t){return t&&(Bc(t)==="object"||typeof t=="function")?t:Rc(e)}function Pt(e,t){return Pt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Pt(e,t)}var Bc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Pc(){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 hr(e){var t=Pc();return function(){var r=Ce(e),u;if(t){var o=Ce(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return kc(this,u)}}var Dc=function(e){vr(n,e);var t=hr(n);function n(r){yr(this,n);var u;return u=t.call(this,r),u.formKey={type:"string",required:!1},(r.command==="edit"||r.command==="view")&&(u.formKey={type:"string",required:!0,message:O.getMessage("pleaseEnterForm")}),u}return n}(Ie),Re=function(e){vr(n,e);var t=hr(n);function n(r){yr(this,n);var u;u=t.call(this,r);var o;u.content=(o=r==null?void 0:r.content)!==null&&o!==void 0?o:"\u6309\u94AE",u.code=r==null?void 0:r.code;var a;u.command=(a=r==null?void 0:r.command)!==null&&a!==void 0?a:"custom";var s;u.color=(s=r==null?void 0:r.color)!==null&&s!==void 0?s:"primary",u.icon=r==null?void 0:r.icon,u.formKey=r==null?void 0:r.formKey,u.openType=r==null?void 0:r.openType,u.needConfirm=r==null?void 0:r.needConfirm,u.confirmMessage=r==null?void 0:r.confirmMessage,u.options=r==null?void 0:r.options;var f;u.defaultState=(f=r==null?void 0:r.defaultState)!==null&&f!==void 0?f:"default",u.priorityProcess=r==null?void 0:r.priorityProcess;var p;return u.isLoading=(p=r==null?void 0:r.isLoading)!==null&&p!==void 0?p:!1,u}return n}(J);Re.Rules=Dc;function Tc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function $c(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}function ke(e){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(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&&Dt(e,t)}function Lc(e,t){return t&&(Mc(t)==="object"||typeof t=="function")?t:Tc(e)}function Dt(e,t){return Dt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Dt(e,t)}var Mc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof 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 jc(e){var t=xc();return function(){var r=ke(e),u;if(t){var o=ke(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Lc(this,u)}}var Tt=function(e){Nc(n,e);var t=jc(n);function n(r){$c(this,n);var u;return u=t.call(this,r),u.props=new Re(r==null?void 0:r.props),u}return Fc(n,null,[{key:"controlName",get:function(){return"\u64CD\u4F5C\u6309\u94AE"}},{key:"controlIcon",get:function(){return"iconbtn"}},{key:"controlType",get:function(){return"operation-button"}}]),n}(x);Tt.controlEventKeys=["on_click"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[l.IS_HIDE]},{key:"super-setting",visible:!0}];function Hc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Uc(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 Vc(e,t,n){return t&&_r(e.prototype,t),n&&_r(e,n),e}function Be(e){return Be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Be(e)}function qc(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&&$t(e,t)}function Wc(e,t){return t&&(zc(t)==="object"||typeof t=="function")?t:Hc(e)}function $t(e,t){return $t=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},$t(e,t)}var zc=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Kc(){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=Kc();return function(){var r=Be(e),u;if(t){var o=Be(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Wc(this,u)}}var Xc=function(e){qc(n,e);var t=Gc(n);function n(r){Uc(this,n);var u;return u=t.call(this,r),u.props=new Re(r==null?void 0:r.props),u}return Vc(n,null,[{key:"controlType",get:function(){return"operation-button"}}]),n}(pe),Ft={Designer:Tt,Runtime:Xc,Property:Re};l.IS_HIDE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.ENCRYPTED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_UNIT,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,l.ALLOW_COPY_OPTIONS,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.DEFAULT_SHOW_OPTIONS,l.IS_SHOW_CAPTION_TIP,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.SUBMIT_SELECT_CURRENCY,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.SHOW_UPPER_CASE,l.MICROMETER,l.PRECISION,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_SHOW_CAPTION_TIP,l.IS_INLINE_EDIT,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAN_VIEW_FORM,l.VIEW_FORM_MODEL_TYPE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.CAN_SEARCH,l.DEFAULT_DISPLAY,l.CONTAINS_SUB_NODE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.REVISIONS_MODE,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.IS_HIDE_CAPTION,l.REQUIRED,l.IS_HIDE,l.IS_HIDE_CAPTION,l.MULTIPLE,l.IS_SHOW_CAPTION_TIP,c.GRID;function Qc(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Jc(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pe(e){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(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&&Nt(e,t)}function Yc(e,t){return t&&(ef(t)==="object"||typeof t=="function")?t:Qc(e)}function Nt(e,t){return Nt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Nt(e,t)}var ef=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function tf(){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 nf(e){var t=tf();return function(){var r=Pe(e),u;if(t){var o=Pe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Yc(this,u)}}var rf=24,Lt=function(e){Zc(n,e);var t=nf(n);function n(r){Jc(this,n);var u;u=t.call(this,r);var o;u.span=(o=r==null?void 0:r.span)!==null&&o!==void 0?o:rf;var a;return u.offset=(a=r==null?void 0:r.offset)!==null&&a!==void 0?a:0,u}return n}(z);function uf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function of(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function gr(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 af(e,t,n){return t&&gr(e.prototype,t),n&&gr(e,n),e}function De(e){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(e)}function lf(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&&Mt(e,t)}function sf(e,t){return t&&(cf(t)==="object"||typeof t=="function")?t:uf(e)}function Mt(e,t){return Mt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Mt(e,t)}var cf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ff(){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 df(e){var t=ff();return function(){var r=De(e),u;if(t){var o=De(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return sf(this,u)}}var xt=function(e){lf(n,e);var t=df(n);function n(r){of(this,n);var u;return u=t.call(this,r),u.props=new Lt(r==null?void 0:r.props),u}return af(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5217"}},{key:"controlType",get:function(){return"col"}},{key:"controlIcon",get:function(){return"col"}}]),n}(K);xt.excludes=[c.COL,c.CARD_GROUP,c.SUBTABLE,c.SUBTABLE_COLUMN,c.DIVIDER],xt.childrenMaxLength=1;function pf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yf(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 vf(e,t,n){return t&&mr(e.prototype,t),n&&mr(e,n),e}function Te(e){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(e)}function hf(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&&jt(e,t)}function bf(e,t){return t&&(_f(t)==="object"||typeof t=="function")?t:pf(e)}function jt(e,t){return jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},jt(e,t)}var _f=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gf(){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 mf(e){var t=gf();return function(){var r=Te(e),u;if(t){var o=Te(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return bf(this,u)}}var Ef=function(e){hf(n,e);var t=mf(n);function n(r){yf(this,n);var u;return u=t.call(this,r),u.props=new Lt(r==null?void 0:r.props),u}return vf(n,null,[{key:"controlType",get:function(){return"col"}}]),n}(ye),Er={Designer:xt,Runtime:Ef,Property:Lt};function If(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Af(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $e(e){return $e=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$e(e)}function wf(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&&Ht(e,t)}function Sf(e,t){return t&&(Of(t)==="object"||typeof t=="function")?t:If(e)}function Ht(e,t){return Ht=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Ht(e,t)}var Of=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cf(){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 Rf(e){var t=Cf();return function(){var r=$e(e),u;if(t){var o=$e(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Sf(this,u)}}var Ut=function(e){wf(n,e);var t=Rf(n);function n(r){Af(this,n);var u;u=t.call(this,r);var o;u.layoutMode=(o=r==null?void 0:r.layoutMode)!==null&&o!==void 0?o:"select";var a;return u.gutter=(a=r==null?void 0:r.gutter)!==null&&a!==void 0?a:0,u}return n}(z);function kf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Bf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ir(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 Pf(e,t,n){return t&&Ir(e.prototype,t),n&&Ir(e,n),e}function Fe(e){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(e)}function Df(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&&Vt(e,t)}function Tf(e,t){return t&&($f(t)==="object"||typeof t=="function")?t:kf(e)}function Vt(e,t){return Vt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Vt(e,t)}var $f=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Ff(){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 Nf(e){var t=Ff();return function(){var r=Fe(e),u;if(t){var o=Fe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Tf(this,u)}}var qt=function(e){Df(n,e);var t=Nf(n);function n(r){Bf(this,n);var u;return u=t.call(this,r),u.props=new Ut(r==null?void 0:r.props),u}return Pf(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u5E03\u5C40"}},{key:"controlType",get:function(){return"row"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(K);qt.excludes=[c.ROW],qt.setting=[{key:"col-setting",visible:!0}];function Lf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Mf(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ar(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 xf(e,t,n){return t&&Ar(e.prototype,t),n&&Ar(e,n),e}function Ne(e){return Ne=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ne(e)}function jf(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&&Wt(e,t)}function Hf(e,t){return t&&(Uf(t)==="object"||typeof t=="function")?t:Lf(e)}function Wt(e,t){return Wt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Wt(e,t)}var Uf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Vf(){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 qf(e){var t=Vf();return function(){var r=Ne(e),u;if(t){var o=Ne(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Hf(this,u)}}var Wf=function(e){jf(n,e);var t=qf(n);function n(r){Mf(this,n);var u;return u=t.call(this,r),u.props=new Ut(r==null?void 0:r.props),u}return xf(n,null,[{key:"controlType",get:function(){return"row"}}]),n}(ye);function zf(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Kf(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 Gf(e,t,n){return t&&wr(e.prototype,t),n&&wr(e,n),e}function Le(e){return Le=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Le(e)}function Xf(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&&zt(e,t)}function Qf(e,t){return t&&(Jf(t)==="object"||typeof t=="function")?t:zf(e)}function zt(e,t){return zt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},zt(e,t)}var Jf=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Zf(){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 Yf(e){var t=Zf();return function(){var r=Le(e),u;if(t){var o=Le(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Qf(this,u)}}var ed=4,Me=function(e){Xf(n,e);var t=Yf(n);function n(r){return Kf(this,n),t.call(this,r)}return Gf(n,null,[{key:"controlName",get:function(){return"\u6805\u683C\u7B49\u5206\u884C"}},{key:"controlType",get:function(){return"grid-row"}},{key:"controlIcon",get:function(){return"grid-row"}}]),n}(qt);Me.excludes=[c.GRID_ROW],Me.setting=[],Me.childrenMaxLength=ed;function td(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function nd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Sr(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 rd(e,t,n){return t&&Sr(e.prototype,t),n&&Sr(e,n),e}function xe(e){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(e)}function id(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&&Kt(e,t)}function ud(e,t){return t&&(od(t)==="object"||typeof t=="function")?t:td(e)}function Kt(e,t){return Kt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Kt(e,t)}var od=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ad(){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 ld(e){var t=ad();return function(){var r=xe(e),u;if(t){var o=xe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return ud(this,u)}}var sd=function(e){id(n,e);var t=ld(n);function n(r){return nd(this,n),t.call(this,r)}return rd(n,null,[{key:"controlType",get:function(){return"grid-row"}}]),n}(Wf);function cd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function fd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function je(e){return je=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},je(e)}function dd(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&&Gt(e,t)}function pd(e,t){return t&&(yd(t)==="object"||typeof t=="function")?t:cd(e)}function Gt(e,t){return Gt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Gt(e,t)}var yd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function vd(){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 hd(e){var t=vd();return function(){var r=je(e),u;if(t){var o=je(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return pd(this,u)}}var bd=function(e){dd(n,e);var t=hd(n);function n(r){return fd(this,n),t.call(this,r)}return n}(Ut),_d={Designer:Me,Runtime:sd,Property:bd};l.CAPTION,l.IS_HIDE,c.CARD_GROUP;function gd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Or(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function He(e){return He=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},He(e)}function Cr(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&&Xt(e,t)}function md(e,t){return t&&(Ed(t)==="object"||typeof t=="function")?t:gd(e)}function Xt(e,t){return Xt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Xt(e,t)}var Ed=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Id(){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 Rr(e){var t=Id();return function(){var r=He(e),u;if(t){var o=He(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return md(this,u)}}var Ad=function(e){Cr(n,e);var t=Rr(n);function n(r){Or(this,n);var u;return u=t.call(this,r),u.caption={type:"string",required:!0,message:O.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:O.getMessage("pleaseEnterColumnWidth")},u.captionTip={type:"string",required:!1,message:O.getMessage("pleaseEnterCaptionTip")},r.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(Ie),Ue=function(e){Cr(n,e);var t=Rr(n);function n(r){Or(this,n);var u;u=t.call(this,r);var o;u.caption=(o=r==null?void 0:r.caption)!==null&&o!==void 0?o:"";var a;u.fixed=(a=r==null?void 0:r.fixed)!==null&&a!==void 0?a:!1;var s;u.isShowCaptionTip=(s=r==null?void 0:r.isShowCaptionTip)!==null&&s!==void 0?s:!1;var f;u.captionTip=(f=r==null?void 0:r.captionTip)!==null&&f!==void 0?f:"";var p;return u.isHideCaption=(p=r==null?void 0:r.isHideCaption)!==null&&p!==void 0?p:!1,u.metaAutoWidth=new Ml(r==null?void 0:r.metaAutoWidth),u}return n}(z);Ue.Rules=Ad;function wd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Ve(e){return Ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ve(e)}function Od(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&&Qt(e,t)}function Cd(e,t){return t&&(Rd(t)==="object"||typeof t=="function")?t:wd(e)}function Qt(e,t){return Qt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Qt(e,t)}var Rd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function kd(){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 Bd(e){var t=kd();return function(){var r=Ve(e),u;if(t){var o=Ve(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Cd(this,u)}}var G=function(e){Od(n,e);var t=Bd(n);function n(r){Sd(this,n);var u;return u=t.call(this,r),u.props=new Ue(r==null?void 0:r.props),u}return n}(K);G.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",G.controlType="subtable-column",G.controlIcon="subtable-column",G.childrenMaxLength=1,G.excludes=[c.SUBTABLE,c.SUBTABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT],G.setting=[{key:"caption",showItems:[l.CAPTION],visible:!0},{key:"common-setting",showItems:[l.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];function Pd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Dd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function qe(e){return qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qe(e)}function Td(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&&Jt(e,t)}function $d(e,t){return t&&(Fd(t)==="object"||typeof t=="function")?t:Pd(e)}function Jt(e,t){return Jt=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},Jt(e,t)}var Fd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Nd(){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 Ld(e){var t=Nd();return function(){var r=qe(e),u;if(t){var o=qe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return $d(this,u)}}var kr=function(e){Td(n,e);var t=Ld(n);function n(r){Dd(this,n);var u;return u=t.call(this,r),u.props=new Ue(r==null?void 0:r.props),u}return n}(ye);kr.controlType="subtable-column";var Md={Designer:G,Runtime:kr,Property:Ue};c.SUBTABLE,c.SUBTABLE_COLUMN,c.SUBTABLE_ROW,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.GRID_TABLE,c.GRID_TABLE_COLUMN,c.ROW,c.COL,c.CARD_GROUP,c.DIVIDER,c.TEXT,l.CAPTION,c.TAB,l.CAPTION,l.IS_HIDE,c.TAB,c.GRID_ROW,c.ROW,c.GRID,c.SUBTABLE,c.TAB,c.TOOLBOX;function Br(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Zt(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function We(e){return We=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},We(e)}function Yt(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&&en(e,t)}function xd(e,t){return t&&(jd(t)==="object"||typeof t=="function")?t:Br(e)}function en(e,t){return en=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},en(e,t)}var jd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Hd(){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 tn(e){var t=Hd();return function(){var r=We(e),u;if(t){var o=We(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return xd(this,u)}}var ze;(function(e){e[e.CLICK_ROW=1]="CLICK_ROW",e[e.CLICK_CELL=2]="CLICK_CELL"})(ze||(ze={}));var Ud=function(e){Yt(n,e);var t=tn(n);function n(r){Zt(this,n);var u;return u=t.call(this,r),u.push({type:"object",fields:{}}),u}return n}(vt),Vd=function(e){Yt(n,e);var t=tn(n);function n(r){Zt(this,n);var u;if(u=t.call(this,r),u.triggerFieldCode={type:"any"},u.datasourceBind={type:"any"},u.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),r.triggerType===ze.CLICK_CELL&&r.isShowSubList&&(u.triggerFieldCode={type:"string",required:!0,message:O.getMessage("pleaseEnterFieldCode")}),r.isShowJoinRelation&&(u.joinRelation=[{type:"object",message:O.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:O.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:O.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:O.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:O.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:O.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:O.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:O.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Ws.call(Br(u),{optionConfig:"datasource",datasourceBind:r.datasourceBind,options:[]}),Array.isArray(u.datasourceBind)&&u.datasourceBind.length>1){var o=u.datasourceBind.find(function(a){return a.type==="object"&&a.fields});o&&(delete o.fields.valueFieldCode,delete o.fields.displayBoList)}return u}return n}(Ie),ve=function(e){Yt(n,e);var t=tn(n);function n(r){Zt(this,n);var u;u=t.call(this,r),u.datasourceBind=new ae(r==null?void 0:r.datasourceBind);var o;u.isLoading=(o=r==null?void 0:r.isLoading)!==null&&o!==void 0?o:!1;var a;u.isShowSubList=(a=r==null?void 0:r.isShowSubList)!==null&&a!==void 0?a:!1;var s;u.triggerType=(s=r==null?void 0:r.triggerType)!==null&&s!==void 0?s:ze.CLICK_ROW;var f;u.triggerFieldCode=(f=r==null?void 0:r.triggerFieldCode)!==null&&f!==void 0?f:"",u.sublistPage=new Hl(r==null?void 0:r.sublistPage);var p;u.isShowJoinRelation=(p=r==null?void 0:r.isShowJoinRelation)!==null&&p!==void 0?p:!1,u.joinRelation=new ql(r==null?void 0:r.joinRelation);var y;u.showType=(y=r==null?void 0:r.showType)!==null&&y!==void 0?y:"stretch";var v;u.showFullScreen=(v=r==null?void 0:r.showFullScreen)!==null&&v!==void 0?v:!1;var h;u.isFixedHeader=(h=r==null?void 0:r.isFixedHeader)!==null&&h!==void 0?h:!1;var E;return u.isAllLoaded=(E=r==null?void 0:r.isAllLoaded)!==null&&E!==void 0?E:!0,u.countType=r==null?void 0:r.countType,u}return n}(z);ve.Rules=Vd,ve.RuntimeRules=Ud;function qd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Wd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Pr(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 zd(e,t,n){return t&&Pr(e.prototype,t),n&&Pr(e,n),e}function Ke(e){return Ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ke(e)}function Kd(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&&nn(e,t)}function Gd(e,t){return t&&(Xd(t)==="object"||typeof t=="function")?t:qd(e)}function nn(e,t){return nn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},nn(e,t)}var Xd=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Qd(){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 Jd(e){var t=Qd();return function(){var r=Ke(e),u;if(t){var o=Ke(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Gd(this,u)}}var Ge=function(e){Kd(n,e);var t=Jd(n);function n(r){Wd(this,n);var u;return u=t.call(this,r),u.props=new ve(r==null?void 0:r.props),u}return zd(n,null,[{key:"controlName",get:function(){return"\u5217\u8868\u5BB9\u5668"}},{key:"controlType",get:function(){return"list-view"}},{key:"controlIcon",get:function(){return"iconyihangduolie"}}]),n}(K);Ge.excludes=[c.ROW],Ge.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],Ge.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];function Zd(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Yd(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Dr(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 ep(e,t,n){return t&&Dr(e.prototype,t),n&&Dr(e,n),e}function Xe(e){return Xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xe(e)}function tp(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&&rn(e,t)}function np(e,t){return t&&(rp(t)==="object"||typeof t=="function")?t:Zd(e)}function rn(e,t){return rn=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},rn(e,t)}var rp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function ip(){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 up(e){var t=ip();return function(){var r=Xe(e),u;if(t){var o=Xe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return np(this,u)}}var op=function(e){tp(n,e);var t=up(n);function n(r){Yd(this,n);var u;return u=t.call(this,r),u.props=new ve(r==null?void 0:r.props),u}return ep(n,null,[{key:"controlType",get:function(){return"list-view"}}]),n}(ye),ap={Designer:Ge,Runtime:op,Property:ve};function lp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Tr(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Qe(e){return Qe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qe(e)}function $r(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&&un(e,t)}function sp(e,t){return t&&(cp(t)==="object"||typeof t=="function")?t:lp(e)}function un(e,t){return un=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},un(e,t)}var cp=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function fp(){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 Fr(e){var t=fp();return function(){var r=Qe(e),u;if(t){var o=Qe(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return sp(this,u)}}var dp=function(e){$r(n,e);var t=Fr(n);function n(r){Tr(this,n);var u;return u=t.call(this,r),u.push({type:"object",fields:{}}),u}return n}(vt),Je=function(e){$r(n,e);var t=Fr(n);function n(r){Tr(this,n);var u;u=t.call(this,r);var o;u.save=new le((o=r==null?void 0:r.save)!==null&&o!==void 0?o:{content:"\u4FDD\u5B58",type:"save",isShow:!1});var a;u.cancel=new le((a=r==null?void 0:r.cancel)!==null&&a!==void 0?a:{content:"\u53D6\u6D88",type:"cancel",isShow:!1});var s;u.saveAs=new le((s=r==null?void 0:r.saveAs)!==null&&s!==void 0?s:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1});var f;u.print=new le((f=r==null?void 0:r.print)!==null&&f!==void 0?f:{content:"\u6253\u5370",type:"print",isShow:!1});var p;u.custom=((p=r==null?void 0:r.custom)!==null&&p!==void 0?p:[]).map(function(v){return new le(v)});var y;return u.isLoading=(y=r==null?void 0:r.isLoading)!==null&&y!==void 0?y:!1,u.datasourceBind=new ae(r==null?void 0:r.datasourceBind),u}return n}(z);Je.RuntimeRules=dp;function pp(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function yp(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Nr(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 vp(e,t,n){return t&&Nr(e.prototype,t),n&&Nr(e,n),e}function Ze(e){return Ze=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ze(e)}function hp(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&&on(e,t)}function bp(e,t){return t&&(_p(t)==="object"||typeof t=="function")?t:pp(e)}function on(e,t){return on=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},on(e,t)}var _p=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function gp(){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 mp(e){var t=gp();return function(){var r=Ze(e),u;if(t){var o=Ze(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return bp(this,u)}}var Lr=function(e){hp(n,e);var t=mp(n);function n(r){yp(this,n);var u;return u=t.call(this,r),u.props=new Je(r==null?void 0:r.props),u}return vp(n,null,[{key:"controlName",get:function(){return"\u6570\u636E\u5BB9\u5668"}},{key:"controlType",get:function(){return"data-view"}}]),n}(K);Lr.excludes=[];function Ep(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Ip(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 Ap(e,t,n){return t&&Mr(e.prototype,t),n&&Mr(e,n),e}function Ye(e){return Ye=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ye(e)}function wp(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&&an(e,t)}function Sp(e,t){return t&&(Op(t)==="object"||typeof t=="function")?t:Ep(e)}function an(e,t){return an=Object.setPrototypeOf||function(r,u){return r.__proto__=u,r},an(e,t)}var Op=function(e){return e&&typeof Symbol!="undefined"&&e.constructor===Symbol?"symbol":typeof e};function Cp(){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 Rp(e){var t=Cp();return function(){var r=Ye(e),u;if(t){var o=Ye(this).constructor;u=Reflect.construct(r,arguments,o)}else u=r.apply(this,arguments);return Sp(this,u)}}var kp=function(e){wp(n,e);var t=Rp(n);function n(r){Ip(this,n);var u;return u=t.call(this,r),u.props=new Je(r==null?void 0:r.props),u}return Ap(n,null,[{key:"controlType",get:function(){return"data-view"}}]),n}(ye),Bp={Designer:Lr,Runtime:kp,Property:Je};l.CAPTION,l.IS_HIDE_CAPTION,l.IS_HIDE,l.IS_SHOW_CAPTION_TIP,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.MICROMETER,l.PRECISION,l.PERCENTAGE,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.CAPTION,l.IS_HIDE;const Pp=(e,t)=>{const n=Array.isArray(e),r=n?e:[e];Vp(t==null?void 0:t.events),Lp(r),Mp(r);const u=Np(r),o=xp(u,t);let a=Q($(o,s=>Fp(s,t)));return n?a:a[0]},Dp=[c.DIVIDER,c.TEXT,c.TITLE,c.LINK,c.BUTTON,"list-btn-export-list","list-btn-export-record"],Tp=["subtable","grid-table"],$p=["simple-search"];function Fp(e,t){var u,o,a,s,f,p;let n=e;if(n.controlType||(n.is_layout_control===!0?n.controlType="layout":Dp.includes(n.type)?n.controlType="base":n.controlType="form",Tp.includes(n.type)&&(n.controlType="list"),$p.includes(n.type)&&(n.controlType="search-view")),delete n.is_layout_control,e.props.lable_position&&(e.props.labelPosition=e.props.lable_position),e.props.select_mode&&(e.props.optionsFormat=e.props.select_mode),e.props.value&&(e.props.defaultValue=e.props.value),T((u=e==null?void 0:e.props)==null?void 0:u.caption)&&(n.props.caption=e.props.caption.zh),T((o=e==null?void 0:e.props)==null?void 0:o.placeholder)&&(n.props.placeholder=e.props.placeholder.zh),T((a=e==null?void 0:e.props)==null?void 0:a.placeholder_end)&&(n.props.placeholder_end=e.props.placeholder_end.zh),e.type==="department-search"&&(n.type="department",e.props.value.length&&(n.props.default_value=e.props.value),n.props.showType=e.props.show_tree?"tree":"default",n.props.rangeOptions=e.props.department_list),e.type==="automatic-number"&&(n.type="auto-number",n.props.defaultValue=e.props.value),e.type==="file"&&(n.type="attachment",n.props.attachmentAccept=(s=e.attachment_format)==null?void 0:s.split(","),n.props.showType=e.props.show_type==="title"?"default":"table"),e.type==="image"&&(n.props.attachmentAccept=(f=e.attachment_format)==null?void 0:f.split(",")),e.type==="date-pick"&&(n.type="date-picker"),e.type==="rich-text"&&(T(e.props.value)?n.props.defaultValue=e.props.value.zh:n.props.defaultValue=e.props.value),["link","text","button"].includes(e.type)&&(T(e.props.value)?n.props.content=e.props.value.zh:n.props.content=e.props.value),e.type==="text"&&e.props.showState==="iconText"&&(n.props.showState="image"),e.type==="user-search"&&(n.type="employee",n.props.defaultValue=e.props.value),e.type==="address"&&(n.props.addressType=e.props.address_type_value),n.type==="subtable"){const y=n.props.entry_type||n.props.entryType;n.props.openType=y==="subpage"?"modal":"default",((p=n.children[0])==null?void 0:p.type)==="subtable-row"&&n.props.headers&&(n.props.headers=n.props.headers.map((v,h)=>{const E=new Md.Designer;E.props.caption=T(v.field_name)?v.field_name.zh:v.field_name;const S=E.toSchema();S.id=v.header_id;const b=n.children[0].children[h].children[0];return!!b&&(S.children=[b]),S}),n.children=[])}if(n.type==="subtable-cell"&&(n.type="subtable-column"),["radio","checkbox","select","select-multiple"].includes(e.type)&&(e.props.options.map(y=>{y.label=T(y.text)?y.text.zh:y.text,y.id=y.id||y.opt_id||y.optId||y.data_id}),n=e),e.type==="grid-row"){const y=24/n.children.length;n.children=n.children.map(v=>{const h=new Er.Designer;h.props.span=y;const E=h.toSchema();return E.children.push(v),E})}if(e.type==="grid-layout-row"&&(n.type="row"),e.type==="grid-layout-col"&&(n.type="col"),e.type==="group-panel"&&(n.type="card-group",n.props.collapse=n.props.flod==="no"?"none":n.props.flod),e.type==="tabs-pane"&&(n.type="tab-pane"),e.type==="calc"){const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1],h={};y&&(xr(n,t),h.result=y.props.data_bind,n.id=y.id,n.props=y.props,n.props.script_src=y.props.script_src,n.props.script_echo=y.props.script_echo,n.props.precision=y.props.precision,n.props.micrometer=y.props.is_show_money,n.props.showUpperCase=y.props.is_show_chn),v&&(h.unit=v.props.data_bind,n.props.default_value={unit:v.props.value}),n.props.dataBind=h,delete n.children}if(e.type==="amount-currency"){n.type="amount",n.controlType="form";const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1],h={},E={};y&&(xr(n,t),n.id=y.id,h.amount=y.props.data_bind,n.props.range_min=X(y.props.range_min),n.props.range_max=X(y.props.range_max),E.amount=X(y.props.value),n.props.required=y.props.required,n.props.is_hide=y.props.is_hide,n.props.default_state=y.props.default_state,n.props.caption=T(y.props.caption)?y.props.caption.zh:y.props.caption,n.props.is_hide_caption=y.props.is_hide_caption,n.props.showUpperCase=y.props.is_show_chn),v&&(h.currency=v.props.data_bind,E.currency=v.props.value,n.props.datasourceBind=v.props.datasource_bind,n.props.options=v.props.options.map(S=>({label:S.text,value:S.value}))),n.props.dataBind=h,n.props.defaultValue=E,delete n.children}if(e.type==="date-range"){n.controlType="form";const y=n==null?void 0:n.children[0],v=n==null?void 0:n.children[1];n.props.placeholderStart=T(e.props.placeholder)?e.props.placeholder.zh:e.props.placeholder,n.props.caption=T(e.props.caption)?e.props.caption.zh:e.props.caption;const h={};y&&(h.min=y.props.data_bind),v&&(h.max=v.props.data_bind),n.props.dataBind=h,delete n.children}return e.type==="score"&&(n.props.defaultValue=n.props.value*1),["input","textarea"].includes(e.type)&&(n.props.defaultValue=T(e.props.value)?e.props.value.zh:e.props.value),e.type==="number"&&(n.props.range_min=X(e.props.range_min),n.props.range_max=X(e.props.range_max),n.props.defaultValue=X(e.props.value)),e.type==="list-page-btn-custom-button"&&(e.type="button"),e.type==="button"&&e.props.button_type==="dashed"&&(n.props.buttonType="default"),qp(n,t==null?void 0:t.control_events),n}function xr(e,t){if(!t)return;const{displayBoList:n=[],behaviors:r=[]}=t,u=e.id,o=e.children[0].id;n.forEach(a=>{a.id===u&&(a.id=o);const s=a.show_controls.findIndex(p=>p===u),f=a.hide_controls.findIndex(p=>p===u);s>-1&&a.show_controls.splice(s,1,o),f>-1&&a.hide_controls.splice(f,1,o)}),r.forEach(a=>{a.ctrl_id===u&&(a.id=o)})}function Np(e){if(!Array.isArray(e)||!e.find(u=>u.type==="grid"))return e;const r=new Bp.Designer().toSchema();return r.children=e,[r]}function Lp(e){e.forEach(t=>{t.children&&Up(t.children)})}function Mp(e){e.forEach(t=>{var r,u;if(!(t&&t.children))return;const n=t.children;for(let o=0;o<n.length;o++){const a=n[o],s=(u=(r=n[o])==null?void 0:r.children)==null?void 0:u[0];a.type==="grid-row"&&s&&["group-panel","subtable","tab"].includes(s.type)&&n.splice(o,1,s)}})}function xp(e,t){var E,S,b,I,d,g,_,C;if(!(Array.isArray(e)&&e.length===1))return e;const n=e[0];if(n.type!=="list-page")return e;const{props:r,children:u}=n,[o,a,s]=u;jp(o),s.props.is_fixed_header=(E=r==null?void 0:r.source_config)==null?void 0:E.is_fixed_header,Hp(s,a);const f=(b=(S=r==null?void 0:r.source_config)==null?void 0:S.data_code)!=null?b:t==null?void 0:t.dataCode,p=((d=(I=r==null?void 0:r.source_config)==null?void 0:I.svc_code)!=null?d:f)?`${f}_selectMore`:void 0,y=(_=(g=r==null?void 0:r.source_config)==null?void 0:g.orders)!=null?_:[],v=new ap.Designer;v.props.datasourceBind=new ae({dataCode:f,svcCode:p,orders:Il(y)}),v.props.isShowSubList=r.is_show_sublist,v.props.triggerType=r.timing_type,v.props.triggerFieldCode=r.ctrl_field_code,(C=r==null?void 0:r.sublist_page)==null||C.sublists.forEach(R=>{R.title=T(R.title)?R.title.zh:R.title}),v.props.sublistPage=r.sublist_page;const h=v.toSchema();return h.children.push(o,s),[h]}function jp(e){e.type="simple-search",e.control_type="search-view",e.children.forEach(t=>{var r,u;const n=T(t.placeholder)?t.placeholder.zh:t.placeholder;t.type==="number-range"&&(t.type="search-number-range",t.placeholderStart=n,t.placeholderEnd=n),t.type==="date-pick"&&(t.type="search-date-range",t.placeholderStart=n,t.placeholderEnd=n,t.dateType=(u=(r=t.dateType)==null?void 0:r.replace)==null?void 0:u.call(r,/range$/)),(t.type==="automatic-number"||t.type==="auto-number")&&(t.type="search-input",t.props.defaultValue="")})}function Hp(e,t){e.children=t.children.filter(n=>n.type!=="list-page-btn-custom-head"),e.type="grid-table",e.props.sublist_page&&(e.props.sublist_page.form_bind={data_code:e.props.sublist_page.data_code,form_key:e.props.sublist_page.form_key}),Array.isArray(e.props.headers)&&(e.props.headers=e.props.headers.map(n=>{var u,o,a;let r={type:"",control_type:"column",props:{widthType:"px",width:50,caption:"",field_code:n.field_code,field_name:T(n.field_name)?n.field_name.zh:n.field_name}};return r.props.caption=T(n.field_name)?n.field_name.zh:n.field_name,r.props.filter_tags=n.is_filter_tags,r.props.fixed=n.fixed,r.props.display_bo_list=n.display_bo_list,r.props.date_type=n.date_type,r.props.optionConfig="none",n.header_width_config&&(r.props.widthType=n.header_width_config==="1"?"auto":"px"),r.props.widthType==="px"&&n.header_width&&(r.props.width=Number(n.header_width)),n.table_header_type==="order"?(r.type="order-column",r.props.fixed=!0):n.table_header_type==="operation"?(r.type="operation-column",r.props.check=(u=n.check)!=null?u:{},r.props.check.openType="window",r.props.delete=(o=n.delete)!=null?o:{},r.props.delete.openType="window",r.props.edit=(a=n.edit)!=null?a:{},r.props.edit.openType="window",r.props.fixed=!0):(r.type=n.field_type+"-column",n.field_type==="auto_number"&&(r.type="auto-number-column"),n.field_type==="relation"&&(r.type="varchar-column")),n.convert_switch&&(r.props.optionConfig=n.convert_type===1?"datasource":"custom"),r.props.optionConfig==="datasource"?r.props.datasource_bind=new ae({svcCode:n.svc_code,displayBoList:n.display_bo_list,valueFieldCode:n.field_match,dataCode:n.field_source}):r.props.optionConfig==="custom"&&(r.props.options=n.custom_match_bo_list),r}))}function Up(e){var n;let t=null;for(let r=0;r<e.length;r++){const u=e[r];if(!!u){if(u.children&&((n=u.children[0])==null?void 0:n.type)==="group-panel"){t=u.children[0];continue}t&&(t.children.push(u),e.splice(r,1),r--)}}}function Vp(e){!e||(e.did_mount=e.did_mount.map(t=>t.name),e.will_submit=e.will_submit.map(t=>t.name),e.did_submit=e.did_submit.map(t=>t.name))}function qp(e,t){var r;if(!t||!e.props.events)return;const n=Object.keys(e.props.events);!n.length||(n.forEach(u=>{!e.props.events[u].length||(t[e.id]||(t[e.id]={}),t[e.id][u]||(t[e.id][u]=[]),t[e.id][u].push(...e.props.events[u].map(o=>o.name)))}),((r=t[e.id])==null?void 0:r.on_blur)&&(t[e.id].on_change||(t[e.id].on_change=[]),t[e.id].on_change.push(...t[e.id].on_blur)))}const Wp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>zp(o)));return n?u:u[0]};function zp(e,t){return e.type===c.LIST_VIEW&&e.children.find(r=>r.type===c.GRID_TABLE).props.headers.forEach(r=>{!r.props.data_bind&&r.props.field_code&&(r.props.data_bind=new Nl({dataCode:e.props.datasource_bind.data_code,fieldCode:r.props.field_code}))}),e}const Kp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>Gp(o)));return n?u:u[0]};function Gp(e,t){return[c.BUTTON,c.CREATE_FORM_LIST_BUTTON,c.BATCH_SUBMISSION_LIST_BUTTON,c.SUBMISSION_RECORD_LIST_BUTTON,c.IMPORT_RECORD_LIST_BUTTON,c.EXPORT_RECORD_LIST_BUTTON,c.EXPORT_LIST_BUTTON,c.FORM_SELECT_BUTTON,c.LIST_SELECT_BUTTON].includes(e.type)&&(e.props.button_type==="default"&&(e.props.button_type="secondary"),e.props.button_type==="danger"&&(e.props.button_type="secondary",e.props.color="danger"),e.props.icon||(e.props.icon="iconfenlei2")),e.type===c.IMPORT_RECORD_LIST_BUTTON&&(e.props.icon="iconshangchuan3"),e.type===c.EXPORT_LIST_BUTTON&&(e.props.icon="iconxiazai1"),e}const Xp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>Qp(o)));return n?u:u[0]};function Qp(e,t){if(e.props.icon){let n=e.props.icon;switch(n){case"icongeren":n="iconyyzy-renyuan";break;case"iconjine1":n="iconcaiwu";break;case"iconhuibao":n="iconyyzy-tianxie";break;case"iconwenjian":n="iconyyzy-wenjianjia1";break;case"iconyingpin":n="iconyyzy-gongzuo";break;case"iconpiliangtijiaojilu":n="iconyyzy-renwu";break}e.props.icon=n}return e}const Jp=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>Yp(o)));return n?u:u[0]},Zp=[c.ROW,c.TAB,c.SUBTABLE,c.GRID_ROW,c.CARD_GROUP];function Yp(e,t){return e.type===c.TAB_PANE&&(e.children=e.children.map(n=>{if(Zp.includes(n.type))return n;const r=new _d.Designer,u=new Er.Designer;r.children.push(u);const o=r.toSchema();return o.children[0].children.push(n),o})),e}const ey=(e,t)=>{const n=Array.isArray(e);let u=Q($(n?e:[e],o=>ty(o)));return n?u:u[0]};function ty(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(n=>{n.type===c.OPERATION_COLUMN&&(n.props.check.priorityProcess=!0)}),e}const ny=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>ry(o));return n?u:u[0]};function ry(e,t){return e.type===c.SUBTABLE&&(e.props.default_rows=e.props.limit_rows),e}const iy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>uy(o));return n?u:u[0]};function q(e,t){e.field_code&&(e.field_type=t)}function uy(e,t){var r;const n={[c.TITLE]:m.AUTO_NUMBER,[c.ADDRESS]:m.ADDRESS,[c.ATTACHMENT]:m.FILE,[c.AUTO_NUMBER]:m.AUTO_NUMBER,[c.CHECKBOX]:m.ARRAY,[c.DATE_PICKER]:m.TIMESTAMP,[c.DEPARTMENT]:m.DEPARTMENTS,[c.EMPLOYEE]:m.EMPLOYEES,[c.EMPLOYEE2]:m.EMPLOYEES,[c.IMAGE]:m.IMAGE,[c.INPUT]:m.VARCHAR,[c.NUMBER]:m.DECIMAL,[c.RADIO]:m.VARCHAR,[c.RICH_TEXT]:m.TEXT,[c.SCORE]:m.DECIMAL,[c.SELECT]:m.VARCHAR,[c.SELECT_MULTIPLE]:m.ARRAY,[c.SELECT_RELATION]:m.VARCHAR,[c.TEXTAREA]:m.TEXT,[c.TREE]:m.ARRAY,[c.SEARCH_DATE_RANGE]:m.ARRAY,[c.SEARCH_INPUT]:m.VARCHAR,[c.SEARCH_NUMBER_RANGE]:m.ARRAY};return n.hasOwnProperty(e.type)&&q(e.props.data_bind,n[e.type]),e.type===c.AMOUNT&&(q(e.props.data_bind.amount,m.DECIMAL),q(e.props.data_bind.currency,m.VARCHAR)),e.type===c.CALC&&(q(e.props.data_bind.result,m.DECIMAL),q(e.props.data_bind.unit,m.VARCHAR)),e.type===c.DATE_RANGE&&(q(e.props.data_bind.min,m.TIMESTAMP),q(e.props.data_bind.max,m.TIMESTAMP)),e.type===c.VUE_FORM_ITEM&&q(e.props.data_bind,(r=e.field_type)!=null?r:m.ANY),e}const oy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>ay(o));return n?u:u[0]};function ay(e,t){return e.type===c.GRID_TABLE&&e.props.headers.forEach(n=>{n.type.endsWith("-column")&&(n.props.fixed?(n.props.fixed="left",n.type===c.OPERATION_COLUMN&&(n.props.fixed="right")):n.props.fixed="none")}),e}const ly=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>sy(o));return n?u:u[0]};function sy(e,t){return e.type===c.SIMPLE_SEARCH&&e.children.length&&(e.props.query_type_map||(e.props.query_type_map=[]),e.children.forEach(n=>{var r,u;[m.VARCHAR,m.TEXT,m.AUTO_NUMBER].includes((u=(r=n.props)==null?void 0:r.data_bind)==null?void 0:u.field_type)&&e.props.query_type_map.push({query_type:"LIKE",field_code:n.props.data_bind.field_code})})),e}const cy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>fy(o));return n?u:u[0]};function fy(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const dy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>py(o));return n?u:u[0]};function py(e,t){return[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}const yy=(e,t)=>{const n=Array.isArray(e);let u=$(n?e:[e],o=>vy(o));return n?u:u[0]};function vy(e,t){return e.type===c.TITLE&&e.props.config.push(Bt.ShowTitle),e.type===c.GRID_TABLE&&e.props.headers.map(n=>{var r,u,o,a,s,f,p,y,v,h,E,S,b,I,d,g,_,C,R,L,k,M;if(n.type===c.OPERATION_COLUMN){if(n.props.width_type==="auto"?n.props.auto_width={min_width:120,max_width:120,flex:1}:n.props.width_type==="px"&&(n.props.auto_width={min_width:n.props.width,max_width:n.props.width,flex:1}),n.props.width_type="auto",n.children=(r=n==null?void 0:n.children)!=null?r:[],delete n.props.custom,((u=n.props)==null?void 0:u.check)!==void 0){const w=new Ft.Designer;Object.defineProperty(w,"id",{value:"listPageCheckBtnId"}),w.props.code="view",w.props.icon="iconliulan1",w.props.command="view",w.props.content=(o=n.props)==null?void 0:o.check.content,w.props.priorityProcess=(a=n.props)==null?void 0:a.check.priority_process,w.props.openType=(s=n.props)==null?void 0:s.check.open_type,w.props.formKey=(f=n.props)==null?void 0:f.check.form_key,((p=n.props)==null?void 0:p.check.is_show)&&n.children.push(w.toSchema()),(y=n.props)==null||delete y.check}if(((v=n.props)==null?void 0:v.edit)!==void 0){const w=new Ft.Designer;Object.defineProperty(w,"id",{value:"listPageEditBtnId"}),w.props.code="edit",w.props.icon="iconbianji1",w.props.command="edit",w.props.content=(h=n.props)==null?void 0:h.edit.content,w.props.priorityProcess=(E=n.props)==null?void 0:E.edit.priority_process,w.props.openType=(S=n.props)==null?void 0:S.edit.open_type,w.props.formKey=(b=n.props)==null?void 0:b.edit.form_key,((I=n.props)==null?void 0:I.edit.is_show)&&n.children.push(w.toSchema()),(d=n.props)==null||delete d.edit}if(((g=n.props)==null?void 0:g.delete)!==void 0){const w=new Ft.Designer;Object.defineProperty(w,"id",{value:"listPageDeleteBtnId"}),w.props.code="delete",w.props.icon="iconlajitong",w.props.command="delete",w.props.content=(_=n.props)==null?void 0:_.delete.content,w.props.priorityProcess=(C=n.props)==null?void 0:C.delete.priority_process,w.props.openType=(R=n.props)==null?void 0:R.delete.open_type,w.props.formKey=(L=n.props)==null?void 0:L.delete.form_key,w.props.needConfirm=!0,w.props.confirmMessage="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",((k=n.props)==null?void 0:k.delete.is_show)&&n.children.push(w.toSchema()),(M=n.props)==null||delete M.delete}}}),[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(e.type)&&e.props.open_multistage_filling===void 0&&(e.props.open_multistage_filling=!0),e.type===c.SUBTABLE&&e.props.headers.forEach(n=>{[c.SELECT,c.SELECT_RELATION,c.SELECT_MULTIPLE,c.RADIO,c.CHECKBOX,c.TREE,c.DEPARTMENT2,c.EMPLOYEE2,c.DEPARTMENT,c.EMPLOYEE].includes(n.children[0].type)&&n.children[0].props.open_multistage_filling===void 0&&(n.children[0].props.open_multistage_filling=!0)}),e}var jr={"v1.0":Pp,"v2.0":Wp,"v2.1":Kp,"v2.2":Xp,"v2.3":Jp,"v2.4":ey,"v2.5":ny,"v2.6":iy,"v2.7":oy,"v2.8":ly,"v2.9":cy,"v2.10":dy,"v3.0":yy,"v3.1":()=>{}};const Hr=(e,t)=>{const n=Ur(e),r=Ur(t),u=n.pop(),o=r.pop(),a=Wr(n,r);return a!==0?a:u&&o?Wr(u.split("."),o.split(".")):u||o?u?-1:1:0},et=(e,t,n)=>{gy(n);const r=Hr(e,t);return zr[n].includes(r)},hy=/^[v^~<>=]*?(\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+)(?:\.([x*]|\d+))?(?:-([\da-z\-]+(?:\.[\da-z\-]+)*))?(?:\+[\da-z\-]+(?:\.[\da-z\-]+)*)?)?)?$/i,Ur=e=>{if(typeof e!="string")throw new TypeError("Invalid argument expected string");const t=e.match(hy);if(!t)throw new Error(`Invalid argument not valid semver ('${e}' received)`);return t.shift(),t},Vr=e=>e==="*"||e==="x"||e==="X",qr=e=>{const t=parseInt(e,10);return isNaN(t)?e:t},by=(e,t)=>typeof e!=typeof t?[String(e),String(t)]:[e,t],_y=(e,t)=>{if(Vr(e)||Vr(t))return 0;const[n,r]=by(qr(e),qr(t));return n>r?1:n<r?-1:0},Wr=(e,t)=>{for(let n=0;n<Math.max(e.length,t.length);n++){const r=_y(e[n]||"0",t[n]||"0");if(r!==0)return r}return 0},zr={">":[1],">=":[0,1],"=":[0],"<=":[-1,0],"<":[-1]},Kr=Object.keys(zr),gy=e=>{if(typeof e!="string")throw new TypeError(`Invalid operator type, expected string but got ${typeof e}`);if(Kr.indexOf(e)===-1)throw new Error(`Invalid operator, expected one of ${Kr.join("|")}`)};function ln(e){return e.replace(/^v/,"")}const ee=Object.keys(jr).map(e=>ln(e)).sort(Hr),he=ee[ee.length-1];class my{constructor(t,n=he){this.schemaVersion=t,this.toVersion=n,et(n,he,">")?gn(`Version Builder: The specified ${n} is an undefined version, and the current latest version is ${he}`):(!ee.includes(ln(n))||!ee.includes(ln(t)))&&gn(`Version Builder: Please give me a valid version number, The valid version is: ${ee.join(",")}, But give me a ${t}`)}dataCleaner(t,n){if(et(this.toVersion,this.schemaVersion,"="))return t;const r=this.callDataCleanerKeys.reduce((u,o,a,s)=>{var v;const f=(v=s[a+1])!=null?v:this.toVersion;ge(`Version Builder: current version: ${o}, nextVersion: ${f}`);const p=jr[o];let y=u;if(typeof p=="function"){const h=p(u,n);h&&(y=h)}return y},t);return ge(`Version Builder: Version conversion completed, evolving from ${this.schemaVersion} to ${this.toVersion}`),r}get runDataCleanerKeys(){return ee.filter(t=>et(t,this.schemaVersion,">=")&&et(t,this.toVersion,"<"))}get callDataCleanerKeys(){return this.runDataCleanerKeys.map(t=>"v"+t)}get version(){return he}static get version(){return he}}W.VersionBuilder=my,Object.defineProperty(W,"__esModule",{value:!0})});
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byteluck-fe/model-driven-upgrade",
3
- "version": "2.6.0-alpha.13",
3
+ "version": "2.6.0-alpha.17",
4
4
  "description": "> TODO: description",
5
5
  "author": "郝晨光 <2293885211@qq.com>",
6
6
  "homepage": "",
@@ -26,11 +26,11 @@
26
26
  "postpublish": "node ../../scripts/postpublish.js"
27
27
  },
28
28
  "dependencies": {
29
- "@byteluck-fe/model-driven-controls": "2.6.0-alpha.13",
30
- "@byteluck-fe/model-driven-core": "2.6.0-alpha.13",
29
+ "@byteluck-fe/model-driven-controls": "2.6.0-alpha.17",
30
+ "@byteluck-fe/model-driven-core": "2.6.0-alpha.16",
31
31
  "@byteluck-fe/model-driven-shared": "2.6.0-alpha.12",
32
32
  "compare-versions": "6.0.0-rc.1",
33
33
  "tslib": "^2.1.0"
34
34
  },
35
- "gitHead": "a0d1c3b35420a2f1e42744cefd8c31cf2adf0851"
35
+ "gitHead": "15d7038967f82bf392b934c65b1e3034c819091a"
36
36
  }