@byteluck-fe/model-driven-core 2.7.0-alpha.13 → 2.7.0-alpha.15a
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/api-doc-index.js +4 -4
- package/dist/esm/common/BaseControl/designer.js +99 -243
- package/dist/esm/common/BaseControl/index.js +7 -7
- package/dist/esm/common/BaseControl/property.js +14 -42
- package/dist/esm/common/BaseControl/runtime.js +21 -41
- package/dist/esm/common/ColumnControl/designer.js +5 -19
- package/dist/esm/common/ColumnControl/index.js +6 -6
- package/dist/esm/common/ColumnControl/property.js +47 -95
- package/dist/esm/common/ColumnControl/runtime.js +5 -19
- package/dist/esm/common/ControlArray.js +21 -19
- package/dist/esm/common/FormControl/designer.js +10 -25
- package/dist/esm/common/FormControl/index.js +6 -6
- package/dist/esm/common/FormControl/property.js +95 -157
- package/dist/esm/common/FormControl/runtime.js +5 -20
- package/dist/esm/common/LayoutControl/designer.js +30 -158
- package/dist/esm/common/LayoutControl/index.js +6 -6
- package/dist/esm/common/LayoutControl/property.js +3 -3
- package/dist/esm/common/LayoutControl/runtime.js +7 -22
- package/dist/esm/common/ListControl/designer.js +29 -154
- package/dist/esm/common/ListControl/index.js +6 -6
- package/dist/esm/common/ListControl/property.js +6 -21
- package/dist/esm/common/ListControl/runtime.js +8 -23
- package/dist/esm/common/SearchViewControl/designer.js +5 -19
- package/dist/esm/common/SearchViewControl/index.js +6 -6
- package/dist/esm/common/SearchViewControl/property.js +4 -18
- package/dist/esm/common/SearchViewControl/runtime.js +5 -19
- package/dist/esm/common/Validator.js +5 -5
- package/dist/esm/common/WrapControl/designer.js +5 -19
- package/dist/esm/common/WrapControl/index.js +6 -6
- package/dist/esm/common/WrapControl/property.js +3 -3
- package/dist/esm/common/WrapControl/runtime.js +5 -19
- package/dist/esm/common/controlHooksEmitter.js +1 -1
- package/dist/esm/common/index.js +12 -12
- package/dist/esm/common/initLinkOperationRules.js +6 -6
- package/dist/esm/common/initOptionAndDataSourceRules.js +82 -82
- package/dist/esm/framework/RegisterControls.js +84 -33
- package/dist/esm/framework/index.js +332 -769
- package/dist/esm/index.js +4 -4
- package/dist/index.umd.js +1 -1
- package/dist/types/common/BaseControl/designer.d.ts +2 -5
- package/dist/types/common/BaseControl/property.d.ts +2 -0
- package/dist/types/common/BaseControl/runtime.d.ts +2 -1
- package/dist/types/common/ControlArray.d.ts +4 -3
- package/dist/types/common/ListControl/property.d.ts +1 -1
- package/dist/types/common/Validator.d.ts +1 -1
- package/dist/types/common/controlHooksEmitter.d.ts +1 -1
- package/dist/types/framework/RegisterControls.d.ts +4 -1
- package/dist/types/type.d.ts +23 -23
- package/package.json +3 -3
package/dist/esm/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from
|
|
2
|
-
export * from
|
|
3
|
-
export * from
|
|
4
|
-
export * from
|
|
1
|
+
export * from './common';
|
|
2
|
+
export * from './framework';
|
|
3
|
+
export * from './type';
|
|
4
|
+
export * from './framework/isDataBind';
|
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var is=Object.defineProperty,rs=Object.defineProperties;var ls=Object.getOwnPropertyDescriptors;var nn=Object.getOwnPropertySymbols,ss=Object.getPrototypeOf,os=Object.prototype.hasOwnProperty,cs=Object.prototype.propertyIsEnumerable,ds=Reflect.get;var un=(l,F,I)=>F in l?is(l,F,{enumerable:!0,configurable:!0,writable:!0,value:I}):l[F]=I,Z=(l,F)=>{for(var I in F||(F={}))os.call(F,I)&&un(l,I,F[I]);if(nn)for(var I of nn(F))cs.call(F,I)&&un(l,I,F[I]);return l},Ae=(l,F)=>rs(l,ls(F));var rt=(l,F,I)=>ds(ss(l),I,F);var le=(l,F,I)=>new Promise((Fe,se)=>{var De=j=>{try{Q(I.next(j))}catch(Y){se(Y)}},be=j=>{try{Q(I.throw(j))}catch(Y){se(Y)}},Q=j=>j.done?Fe(j.value):Promise.resolve(j.value).then(De,be);Q((I=I.apply(l,F)).next())});(function(l,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(l=typeof globalThis!="undefined"?globalThis:l||self,F(l.modelDrivenCore={}))})(this,function(l){"use strict";var F="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",I="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Fe="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",se="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",De="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",be="{caption}\u5FC5\u586B",Q="\u8BF7\u8F93\u5165\u6807\u9898",j="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Y="\u8BF7\u8F93\u5165\u884C\u6807\u9898",an="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",rn="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ln="\u8BF7\u7ED1\u5B9A\u8868\u5355",sn="\u8BF7\u7ED1\u5B9A\u5217\u8868",on="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",cn="\u8BF7\u8F93\u5165\u663E\u793A\u503C",dn="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",fn="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",hn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",mn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",gn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",yn="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",En="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",vn="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Cn="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Bn="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",An="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fn="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Dn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",bn="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Sn="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",wn="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",In="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Rn="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Mn="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ln="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",$n="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Pn="\u8BF7\u7ED1\u5B9A\u670D\u52A1",_n="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",qn="\u8BF7\u9009\u62E9\u7701",On="\u8BF7\u9009\u62E9\u5E02",Vn="\u8BF7\u9009\u62E9\u533A",xn="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Nn="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",jn="\u8BF7\u8F93\u5165\u5217\u5BBD",Un="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Hn="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",kn="\u8BF7\u9009\u62E9\u63A7\u4EF6",Wn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Tn="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Kn="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",zn="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Jn="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Xn="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Gn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Zn="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Qn="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Yn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",pn="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",eu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",tu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",uu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",au="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",iu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ru="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",lu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",su="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",ou="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",cu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",du="\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",hu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",mu="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",gu={isNotNumber:F,isNotString:I,isNotObject:Fe,isNotArray:se,isNotBoolean:De,runtimeRequired:be,pleaseEnterCaption:Q,pleaseEnterCaptionTip:j,pleaseEnterRowCaption:Y,pleaseEnterPlaceholder:an,pleaseEnterFieldCode:rn,pleaseEnterForm:ln,pleaseEnterList:sn,pleaseEnterProcess:on,pleaseEnterLabel:cn,pleaseEnterValue:dn,bizKeyNotBindFiled:fn,pleaseSelectOneField:hn,pleaseEnterNumberRange:mn,pleaseEnterAValueGreaterThanMin:gn,pleaseEnterAValueLessThanMax:yn,numberRangeSetError:En,stringRangeError:vn,attachmentMaxSize:Cn,pleaseEnterTotalScoreSetting:Bn,theTotalScoreMustNotBeLessThan1:An,scoreDefaultValueRange:Fn,attachmentLimitError:Dn,PleaseReselectTheOptionalQuantity:bn,TheMaximumLengthIsGreaterThanTheMinimumLength:Sn,TheMinimumLengthIsGreaterThanTheMaximumLength:wn,PleaseSelectTheCorrectOptionSettings:In,optionIdIsRepeat:Rn,optionIsRequired:Mn,pleaseEnterDataCode:Ln,pleaseEnterValueFieldCode:$n,pleaseEnterSvcCode:Pn,pleaseBindAtLeastOneDisplayValue:_n,pleaseSelectProvince:qn,pleaseSelectCity:On,pleaseSelectDistrict:Vn,limitRowsCannotBeLessThan0:xn,TheNumberOfRowsCannotBeLessThanMinRows:Nn,pleaseEnterColumnWidth:jn,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Un,pleaseCompleteAllRulesAndConditions:Hn,pleaseSelectControl:kn,pleaseSelectAtLeastOneColumn:Wn,pleaseSelectFillBackMode:Tn,pleaseSelectDashboard:Kn,rootNodeIsRequired:zn,theViewNameCannotBeEmpty:Jn,pleaseSelectOcrType:Xn,pleaseSelectAtLeastOneFieldToFillIn:Gn,pleaseChooseAtLeastOne:Zn,pleaseEnterButtonContent:Qn,pleaseEnterDataCodeInDataSetting:Yn,pleaseEnterValueFieldCodeInDataSetting:pn,pleaseEnterSvcCodeInDataSetting:eu,pleaseBindAtLeastOneDisplayValueInDataSetting:tu,rootNodeIsRequiredInDataSetting:nu,pleaseEnterMaxHeight:uu,pleaseEnter:au,pleaseEnterWatermark:iu,pleaseEnterFileName:ru,pleaseUploadAtLeastOnePrintTemplate:lu,pleaseAssignBusiness:su,pleaseAssignExternal:ou,pleaseEnterAliasCode:cu,pleaseSelectDataCode:du,pleaseSelectSvcCode:fu,pleaseSelectJoinFieldCode:hu,pleaseSelectMainFieldCode:mu},yu="Please enter a number",Eu="Please enter a string",vu="Please enter an object",Cu="Please enter an array",Bu="Please enter a boolean",Au="{caption} Required",Fu="Please enter the title",Du="Please enter the bubble prompt",bu="Please enter the row title",Su="Please enter the prompt text",wu="Please bind data items",Iu="Please bind the form",Ru="Please bind the list",Mu="Please bind the process",Lu="Please enter the displayed value",$u="Please enter the stored value",Pu="The document number is not bound to the data item",_u="Please select at least one display field",qu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ou="Please enter a value greater than or equal to {min}",Vu="Please enter a value less than or equal to {max}",xu="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}",ju="The attachment size must be between 0MB and 1000MB",Uu="Please fill in the total score setting",Hu="The total score cannot be less than 1",ku="The default value must be between {min} and {max}",Wu="The number of attachments uploaded must be between {min} and {max}",Tu="Please re-select the optional quantity",Ku="The maximum length of the control must be greater than the minimum length",zu="The minimum length of the control must be less than the maximum length",Ju="Please select the correct option setting",Xu="Option ID cannot be repeated",Gu="Please enter at least one option",Zu="Please bind the data source",Qu="Please bind the stored value",Yu="Please bind the service",pu="At least one display value must be bound",ea="Please select a province",ta="Please select a city",na="Please select a district",ua="The minimum number of lines to fill in cannot be less than 0",aa="The number of rows cannot be less than {min} rows",ia="Please enter the column width",ra="Please set the logical relationship of all rule conditions",la="Please complete all rules and conditions",sa="please select control",oa="Please select the dashboard",ca="View name cannot be empty",da="Please select recognition type",fa="Please select at least one field to fill in",ha="Please select at least one",ma="Please enter the button title",ga="Please bind the business model in the data settings",ya="Please bind storage values in data settings",Ea="Please bind the service in the data settings",va="Please bind at least one display value in the data settings",Ca="Please select the root node in the data settings",Ba="Please enter the maximum height",Aa="The input content cannot be empty",Fa="Watermark cannot be empty",Da="File name cannot be empty",ba="Please upload at least one printing template!\uFF01",Sa="Please select a specific business department",wa="Please select a specified external organization",Ia="Please enter a sub table alias",Ra="Please select the associated table to set the business model",Ma="Please select the association table to set the binding service",La="Select associated sub table fields",$a="Please select the associated main table field",Pa={isNotNumber:yu,isNotString:Eu,isNotObject:vu,isNotArray:Cu,isNotBoolean:Bu,runtimeRequired:Au,pleaseEnterCaption:Fu,pleaseEnterCaptionTip:Du,pleaseEnterRowCaption:bu,pleaseEnterPlaceholder:Su,pleaseEnterFieldCode:wu,pleaseEnterForm:Iu,pleaseEnterList:Ru,pleaseEnterProcess:Mu,pleaseEnterLabel:Lu,pleaseEnterValue:$u,bizKeyNotBindFiled:Pu,pleaseSelectOneField:_u,pleaseEnterNumberRange:qu,pleaseEnterAValueGreaterThanMin:Ou,pleaseEnterAValueLessThanMax:Vu,numberRangeSetError:xu,stringRangeError:Nu,attachmentMaxSize:ju,pleaseEnterTotalScoreSetting:Uu,theTotalScoreMustNotBeLessThan1:Hu,scoreDefaultValueRange:ku,attachmentLimitError:Wu,PleaseReselectTheOptionalQuantity:Tu,TheMaximumLengthIsGreaterThanTheMinimumLength:Ku,TheMinimumLengthIsGreaterThanTheMaximumLength:zu,PleaseSelectTheCorrectOptionSettings:Ju,optionIdIsRepeat:Xu,optionIsRequired:Gu,pleaseEnterDataCode:Zu,pleaseEnterValueFieldCode:Qu,pleaseEnterSvcCode:Yu,pleaseBindAtLeastOneDisplayValue:pu,pleaseSelectProvince:ea,pleaseSelectCity:ta,pleaseSelectDistrict:na,limitRowsCannotBeLessThan0:ua,TheNumberOfRowsCannotBeLessThanMinRows:aa,pleaseEnterColumnWidth:ia,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ra,pleaseCompleteAllRulesAndConditions:la,pleaseSelectControl:sa,pleaseSelectDashboard:oa,theViewNameCannotBeEmpty:ca,pleaseSelectOcrType:da,pleaseSelectAtLeastOneFieldToFillIn:fa,pleaseChooseAtLeastOne:ha,pleaseEnterButtonContent:ma,pleaseEnterDataCodeInDataSetting:ga,pleaseEnterValueFieldCodeInDataSetting:ya,pleaseEnterSvcCodeInDataSetting:Ea,pleaseBindAtLeastOneDisplayValueInDataSetting:va,rootNodeIsRequiredInDataSetting:Ca,pleaseEnterMaxHeight:Ba,pleaseEnter:Aa,pleaseEnterWatermark:Fa,pleaseEnterFileName:Da,pleaseUploadAtLeastOnePrintTemplate:ba,pleaseAssignBusiness:Sa,pleaseAssignExternal:wa,pleaseEnterAliasCode:Ia,pleaseSelectDataCode:Ra,pleaseSelectSvcCode:Ma,pleaseSelectJoinFieldCode:La,pleaseSelectMainFieldCode:$a},_a="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qa="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oa="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Va="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xa="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Na="{caption}\u5FC5\u9808",ja="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ua="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ha="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ka="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wa="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ta="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ka="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",za="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ja="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Xa="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ga="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Za="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qa="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ya="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pa="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ei="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ti="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ni="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ui="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ai="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ii="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ri="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",li="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",si="\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",oi="\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",ci="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",di="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",fi="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",hi="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mi="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gi="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yi="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Ei="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vi="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ci="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bi="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ai="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Fi="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Di="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bi="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Si="please select control",wi="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ii="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ri="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mi="\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",Li="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$i="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Pi="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_i="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",qi="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Oi="\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",Vi="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xi="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ni="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ji="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ui="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Hi="\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",ki="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Wi="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ti="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ki="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",zi="\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",Ji="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Xi="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Gi={isNotNumber:_a,isNotString:qa,isNotObject:Oa,isNotArray:Va,isNotBoolean:xa,runtimeRequired:Na,pleaseEnterCaption:ja,pleaseEnterCaptionTip:Ua,pleaseEnterRowCaption:Ha,pleaseEnterPlaceholder:ka,pleaseEnterFieldCode:Wa,pleaseEnterForm:Ta,pleaseEnterList:Ka,pleaseEnterProcess:za,pleaseEnterLabel:Ja,pleaseEnterValue:Xa,bizKeyNotBindFiled:Ga,pleaseSelectOneField:Za,pleaseEnterNumberRange:Qa,pleaseEnterAValueGreaterThanMin:Ya,pleaseEnterAValueLessThanMax:pa,numberRangeSetError:ei,stringRangeError:ti,attachmentMaxSize:ni,pleaseEnterTotalScoreSetting:ui,theTotalScoreMustNotBeLessThan1:ai,scoreDefaultValueRange:ii,attachmentLimitError:ri,PleaseReselectTheOptionalQuantity:li,TheMaximumLengthIsGreaterThanTheMinimumLength:si,TheMinimumLengthIsGreaterThanTheMaximumLength:oi,PleaseSelectTheCorrectOptionSettings:ci,optionIdIsRepeat:di,optionIsRequired:fi,pleaseEnterDataCode:hi,pleaseEnterValueFieldCode:mi,pleaseEnterSvcCode:gi,pleaseBindAtLeastOneDisplayValue:yi,pleaseSelectProvince:Ei,pleaseSelectCity:vi,pleaseSelectDistrict:Ci,limitRowsCannotBeLessThan0:Bi,TheNumberOfRowsCannotBeLessThanMinRows:Ai,pleaseEnterColumnWidth:Fi,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Di,pleaseCompleteAllRulesAndConditions:bi,pleaseSelectControl:Si,pleaseSelectDashboard:wi,theViewNameCannotBeEmpty:Ii,pleaseSelectOcrType:Ri,pleaseSelectAtLeastOneFieldToFillIn:Mi,pleaseChooseAtLeastOne:Li,pleaseEnterButtonContent:$i,pleaseEnterDataCodeInDataSetting:Pi,pleaseEnterValueFieldCodeInDataSetting:_i,pleaseEnterSvcCodeInDataSetting:qi,pleaseBindAtLeastOneDisplayValueInDataSetting:Oi,rootNodeIsRequiredInDataSetting:Vi,pleaseEnterMaxHeight:xi,pleaseEnter:Ni,pleaseEnterWatermark:ji,pleaseEnterFileName:Ui,pleaseUploadAtLeastOnePrintTemplate:Hi,pleaseAssignBusiness:ki,pleaseAssignExternal:Wi,pleaseEnterAliasCode:Ti,pleaseSelectDataCode:Ki,pleaseSelectSvcCode:zi,pleaseSelectJoinFieldCode:Ji,pleaseSelectMainFieldCode:Xi},Zi={zhCN:gu,enUS:Pa,jaJP:Gi},lt;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(lt||(lt={}));var st;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(st||(st={}));var Qi="zh-CN";function _(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var z;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(z||(z={}));var L;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap"})(L||(L={}));var M;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(M||(M={}));var $;$={},_($,M.ARRAY,L.ARRAY_COLUMN),_($,M.AUTO_NUMBER,L.AUTO_NUMBER_COLUMN),_($,M.DECIMAL,L.DECIMAL_COLUMN),_($,M.DEPARTMENTS,L.DEPARTMENT_COLUMN),_($,M.FILE,L.FILE_COLUMN),_($,M.IMAGE,L.IMAGE_COLUMN),_($,M.ADDRESS,L.LOCATION_COLUMN),_($,M.EMPLOYEES,L.EMPLOYEE_COLUMN),_($,M.TEXT,L.TEXT_COLUMN),_($,M.TIMESCOPE,L.TIMESCOPE_COLUMN),_($,M.TIMESTAMP,L.TIMESTAMP_COLUMN),_($,M.VARCHAR,L.VARCHAR_COLUMN),_($,M.RELATION,L.VARCHAR_COLUMN);var ot;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(ot||(ot={}));var ct="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Yi=ct+"0123456789";function W(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?ct:Yi,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Se(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function pi(t){if(Array.isArray(t))return Se(t)}function er(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function oe(t,e,n){return tr()?oe=Reflect.construct:oe=function(a,i,r){var s=[null];s.push.apply(s,i);var d=Function.bind.apply(a,s),c=new d;return r&&ee(c,r.prototype),c},oe.apply(null,arguments)}function p(t){return p=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},p(t)}function ft(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ee(t,e)}function nr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ur(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ar(){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 ir(t,e){return e&&(rr(e)==="object"||typeof e=="function")?e:er(t)}function ee(t,e){return ee=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ee(t,e)}function ht(t){return pi(t)||ur(t)||lr(t)||ar()}var rr=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lr(t,e){if(!!t){if(typeof t=="string")return Se(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Se(t,e)}}function we(t){var e=typeof Map=="function"?new Map:void 0;return we=function(u){if(u===null||!nr(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return oe(u,arguments,p(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),ee(a,u)},we(t)}function sr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mt(t){var e=sr();return function(){var u=p(t),a;if(e){var i=p(this).constructor;a=Reflect.construct(u,arguments,i)}else a=u.apply(this,arguments);return ir(this,a)}}var Ie=console;function Re(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Ie).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(ht(a)))}function gt(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=Ie).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(ht(a)))}function or(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Me=function(t){ft(n,t);var e=mt(n);function n(u){dt(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?or(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(we(Error)),cr=function(t){ft(n,t);var e=mt(n);function n(u){dt(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Me);function Le(t){throw new Me(t)}function yt(t){throw new cr(t)}function dr(t){Ie.error(new Me(t))}var fr=Object.prototype.toString;function Et(t,e){return fr.call(t)==="[object "+e+"]"}function hr(t){return Et(t,"String")}function mr(t){return Et(t,"Promise")}var gr=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();mr(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,i,r,s){if(a!==void 0){var d=a[i];if(!(r===s.length-1&&!hr(d)))return d}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var i=n[a];return i!==void 0?String(i):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function yr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vt(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Er(t,e,n){return e&&vt(t.prototype,e),n&&vt(t,n),t}function vr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h=function(){function t(){yr(this,t)}return Er(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Qi;return new gr({locale:n,messages:Zi})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();vr(h,"$i18n",h.resetI18n());function Cr(t,e,n){var u=e.replace(/\[(\d)]/g,function(i,r){return"."+r}).split("."),a=!1;return u.reduce(function(i,r,s,d){var c=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,r)){Re("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),i,i);return}return s===d.length-1&&!Object.is(c[r],n)&&(c[r]=n,a=!0),c[r]}},t),a}var Br=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ar={exports:{}};(function(t){(function(e){var n=function(o,m,v){if(!c(m)||E(m)||A(m)||D(m)||d(m))return m;var b,w=0,x=0;if(g(m))for(b=[],x=m.length;w<x;w++)b.push(n(o,m[w],v));else{b={};for(var B in m)Object.prototype.hasOwnProperty.call(m,B)&&(b[o(B,v)]=n(o,m[B],v))}return b},u=function(o,m){m=m||{};var v=m.separator||"_",b=m.split||/(?=[A-Z])/;return o.split(b).join(v)},a=function(o){return S(o)?o:(o=o.replace(/[\-_\s]+(.)?/g,function(m,v){return v?v.toUpperCase():""}),o.substr(0,1).toLowerCase()+o.substr(1))},i=function(o){var m=a(o);return m.substr(0,1).toUpperCase()+m.substr(1)},r=function(o,m){return u(o,m).toLowerCase()},s=Object.prototype.toString,d=function(o){return typeof o=="function"},c=function(o){return o===Object(o)},g=function(o){return s.call(o)=="[object Array]"},E=function(o){return s.call(o)=="[object Date]"},A=function(o){return s.call(o)=="[object RegExp]"},D=function(o){return s.call(o)=="[object Boolean]"},S=function(o){return o=o-0,o===o},f=function(o,m){var v=m&&"process"in m?m.process:m;return typeof v!="function"?o:function(b,w){return v(b,o,w)}},C={camelize:a,decamelize:r,pascalize:i,depascalize:r,camelizeKeys:function(o,m){return n(f(a,m),o)},decamelizeKeys:function(o,m){return n(f(r,m),o,m)},pascalizeKeys:function(o,m){return n(f(i,m),o)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=C:e.humps=C})(Br)})(Ar);var Ct={};Object.defineProperty(Ct,"__esModule",{value:!0});function $e(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:$e(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:$e(u)}return e}}var Fr=Ct.default=$e;function T(t){if(t!==void 0)return typeof t=="object"?Fr(t):t}function Dr(t){return Object.prototype.toString.call(t)==="[object Object]"}function br(t){return Array.isArray(t)}function Sr(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Pe(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function wr(t){if(Array.isArray(t))return Pe(t)}function Bt(t,e,n,u,a,i,r){try{var s=t[i](r),d=s.value}catch(c){n(c);return}s.done?e(d):Promise.resolve(d).then(u,a)}function Ir(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var i=t.apply(e,n);function r(d){Bt(i,u,a,r,s,"next",d)}function s(d){Bt(i,u,a,r,s,"throw",d)}r(void 0)})}}function Rr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function At(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Mr(t,e,n){return e&&At(t.prototype,e),n&&At(t,n),t}function Ft(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _e(t){return wr(t)||Lr(t)||Pr(t)||$r()}function Pr(t,e){if(!!t){if(typeof t=="string")return Pe(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Pe(t,e)}}var _r=function(t,e){var n,u,a,i,r={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(i[Symbol.iterator]=function(){return this}),i;function s(c){return function(g){return d([c,g])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,u&&(a=c[0]&2?u.return:c[0]?u.throw||((a=u.return)&&a.call(u),0):u.next)&&!(a=a.call(u,c[1])).done)return a;switch(u=0,a&&(c=[c[0]&2,a.value]),c[0]){case 0:case 1:a=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,u=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(a=r.trys,!(a=a.length>0&&a[a.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!a||c[1]>a[0]&&c[1]<a[3])){r.label=c[1];break}if(c[0]===6&&r.label<a[1]){r.label=a[1],a=c;break}if(a&&r.label<a[2]){r.label=a[2],r.ops.push(c);break}a[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(g){c=[6,g],u=0}finally{n=a=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}},qr=function(){function t(){Rr(this,t),Ft(this,"_events",new Map),Ft(this,"debug",!1)}return Mr(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];var r=this;return Ir(function(){var s,d,c,g,E,A,D,S,f,C,o,m;return _r(this,function(v){switch(v.label){case 0:if(s=r._events.get(n),d=[],!s)return[3,10];c=s.slice(),g=!0,E=!1,A=void 0,v.label=1;case 1:v.trys.push([1,8,9,10]),D=c[Symbol.iterator](),v.label=2;case 2:if(g=(S=D.next()).done)return[3,7];if(f=S.value,!s.includes(f))return[3,6];v.label=3;case 3:return v.trys.push([3,5,,6]),r.debug&>.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(f.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+f.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(_e(a))),[4,f.apply(null,_e(a))];case 4:return C=v.sent(),r.debug&>.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(f.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+f.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(_e(a),[C])),d.push(C),C===!1?[3,7]:[3,6];case 5:return o=v.sent(),dr(String(o)+":"+String(o.stack)),[3,6];case 6:return g=!0,[3,2];case 7:return[3,10];case 8:return m=v.sent(),E=!0,A=m,[3,10];case 9:try{!g&&D.return!=null&&D.return()}finally{if(E)throw A}return[7];case 10:return[2,d]}})})()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),i=a==null?void 0:a.indexOf(u);a==null||a.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Or(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dt(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Vr(t,e,n){return e&&Dt(t.prototype,e),n&&Dt(t,n),t}function xr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Nr=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],jr=function(){function t(){Or(this,t)}return Vr(t,[{key:"getEventsFromKeys",value:function(n){var u=typeof n=="string"?[n]:n;return t.events.filter(function(a){return u.includes(a.key)})}}]),t}();xr(jr,"events",Nr);const bt=[];class ce{constructor(e){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=e,this._initControls(e)}registerControlConfig(e,n){return this.controlConfigMap.set(e,n),this}getControlConfig(e){return this.controlConfigMap.get(e)}static register(e){const{Designer:n,Runtime:u}=e;(!n||!u||!n.__is_control__||!u.__is_control__)&&Le(`${e} is can't register as a Control`);const a=this.staticControls.findIndex(i=>i.Designer.controlType===n.controlType);return a>-1&&(Re(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(e),this}getControls(){return this._controls}register(e){e.__is_control__||Le(`${e.name} is not a Control`);const n=this._controls.findIndex(u=>u.controlType===e.controlType);return n>-1&&(Re(`The ${e.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(n,1)),this.registeredControlTypes.add(e.controlType),this._controls.push(e),this}isLayoutControl(e){return e.controlType===z.LAYOUT}isFormControl(e){return e.controlType===z.FORM}isListControl(e){return e.controlType===z.LIST}isColumnControl(e){return e.controlType===z.COLUMN}createControl(e,n){if(Array.isArray(e))return e.map(a=>this.createControl(a,n));if(e.children&&(e.children=e.children.map(a=>this.createControl(a,n))),this.isListControl(e)){const a=e.props;a.headers&&(a.headers=a.headers.map(i=>this.createControl(i,n))),a.footers&&(a.footers=a.footers.map(i=>{let r;return i&&(r=this.createControl(i,n)),r}))}const u=this.getControlFormType(e.type);if(u){let a=e;if(typeof n=="function"){const r=n(a);r&&(a=r)}return new u(a)}else Le(`The constructor of ${e.type} could not be found, please confirm that the constructor has been registered`)}createControlInstance(e,n){const u=this.getControlFormType(e);if(u)return new u(n)}getControlFormType(e){return this._controls.find(n=>n.controlType===e)}_initControls(e){this.constructor.staticControls.forEach(n=>{this.register(n[e])})}}ce.staticControls=bt,ce.staticRegisteredTypes=new Set(bt.map(t=>t.Designer.controlType)),ce.staticRegisteredConfigs=new Map;class O{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.aliasCode=e==null?void 0:e.aliasCode}}class qe{constructor(e){var n,u;this.minWidth=(n=e==null?void 0:e.minWidth)!=null?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(u=e==null?void 0:e.flex)!=null?u:1}}class de extends qe{constructor(e){var n,u;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(u=e==null?void 0:e.widthType)!=null?u:"auto"}}class Ur{constructor(e){this.pc=new de(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new de(e==null?void 0:e.mobile):new de({width:130,minWidth:180})}}class Hr{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"firstThree",this.customOptions=(u=e==null?void 0:e.customOptions)!=null?u:[]}}class fe{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.appId=(a=e==null?void 0:e.appId)!=null?a:""}}class kr extends fe{constructor(e){var n;super(e),this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class St{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class Wr{constructor(e){var n,u,a,i;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new St(r)))!=null?i:[]}}class wt{constructor(e){var n,u,a;this.fieldName=(n=e==null?void 0:e.fieldName)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:M.VARCHAR}}class It extends fe{constructor(e){var n,u,a,i;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.svcCode=(u=e==null?void 0:e.svcCode)!=null?u:"",this.isOpenFilter=(a=e==null?void 0:e.isOpenFilter)!=null?a:!1,this.filters=(i=e==null?void 0:e.filters)!=null?i:[]}}class Tr{constructor(e){var n,u,a,i;this.type="sublist-page",this.formBind=new fe(e==null?void 0:e.formBind),this.displayFields=(u=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(r=>new wt(r)))!=null?u:[],this.sublists=(i=(a=e==null?void 0:e.sublists)==null?void 0:a.map(r=>new It(r)))!=null?i:[]}}class Rt{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class Oe{constructor(e){var n,u,a;this.type=(n=e==null?void 0:e.type)!=null?n:"custom",this.value=(u=e==null?void 0:e.value)!=null?u:[],this.displayBos=(a=e==null?void 0:e.displayBos)!=null?a:[]}}class te{constructor(e){var n,u,a,i;this.type="conditions",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.level=(a=e==null?void 0:e.level)!=null?a:0,this.value=(i=e==null?void 0:e.value)!=null?i:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(r=>{var s,d;if(r.children!==void 0){const c=new te(r);(s=this.children)==null||s.push(c)}else{const c=new he(r);(d=this.children)==null||d.push(c)}}))}}class he{constructor(e){var n,u,a,i,r;this.type="condition",this.id=(n=e==null?void 0:e.id)!=null?n:W(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.symbol=(a=e==null?void 0:e.symbol)!=null?a:"",this.checked=(i=e==null?void 0:e.checked)!=null?i:!1,this.describe=(r=e==null?void 0:e.describe)!=null?r:"",this.leftVariableBo=new Rt(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Oe(e==null?void 0:e.rightVariableBo)}}class Kr{constructor(e){var n,u;this.aliasCode=(n=e==null?void 0:e.aliasCode)!=null?n:"",this.datasourceBind=new me(e==null?void 0:e.datasourceBind),this.relationFields=(u=e==null?void 0:e.relationFields)!=null?u:[]}}class Mt{constructor(e){var n,u,a,i;this.controlId=(n=e==null?void 0:e.controlId)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.propName=(i=e==null?void 0:e.propName)!=null?i:""}}class Ve{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"FIELD",this.value=(u=e==null?void 0:e.value)!=null?u:"",this.fieldType=e==null?void 0:e.fieldType}}class xe{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class Lt{constructor(e){var n,u,a;this.code=(n=e.code)!=null?n:"",this.value=(u=e.value)!=null?u:"",this.field_type=(a=e.field_type)!=null?a:M.ANY}}class zr{constructor(e){var n,u,a,i,r,s,d;this.id=(n=e.id)!=null?n:"",this.limit=(u=e.limit)!=null?u:20,this.formKey=(a=e.formKey)!=null?a:"",this.orders=(r=(i=e.orders)==null?void 0:i.map(c=>new xe(c)))!=null?r:[],this.dataSet=(d=(s=e.dataSet)==null?void 0:s.map(c=>new Lt(c)))!=null?d:[]}}function Ne(t){var e,n,u,a,i,r;this.filters=(n=(e=t==null?void 0:t.filters)==null?void 0:e.map(s=>s.children!==void 0?new te(s):new he(s)))!=null?n:[],this.viewFilters=(a=(u=t==null?void 0:t.viewFilters)==null?void 0:u.map(s=>s.children!==void 0?new te(s):new he(s)))!=null?a:[],this.orders=(r=(i=t==null?void 0:t.orders)==null?void 0:i.map(s=>new xe(s)))!=null?r:[]}class me{constructor(e){var n,u,a,i,r,s,d;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!=null?a:"",this.displayBoList=[],this.isOpenViewFilters=(i=e==null?void 0:e.isOpenViewFilters)!=null?i:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(c=>{var g;(g=this.displayBoList)==null||g.push(new Ve(c))})),this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!=null?r:"",this.showOrder=(s=e==null?void 0:e.showOrder)!=null?s:!0,this.svcCode=(d=e==null?void 0:e.svcCode)!=null?d:"",Ne.call(this,e)}}class Jr{constructor(e){var n,u;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.displayBoList=(u=e==null?void 0:e.displayBoList)!=null?u:[]}}class Xr{constructor(e){var n,u,a,i,r,s,d,c,g,E;this.code=(n=e==null?void 0:e.code)!=null?n:"view",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.command=(a=e==null?void 0:e.command)!=null?a:"view",this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!=null?i:void 0,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.formKey=(s=e==null?void 0:e.formKey)!=null?s:void 0,this.icon=(d=e==null?void 0:e.icon)!=null?d:"iconliulan1",this.needConfirm=(c=e==null?void 0:e.needConfirm)!=null?c:!1,this.openType=(g=e==null?void 0:e.openType)!=null?g:"modal",this.priorityProcess=(E=e==null?void 0:e.priorityProcess)!=null?E:!0}}class je{constructor(e){var n,u,a,i;this.name=(n=e==null?void 0:e.name)!=null?n:"",this.key=(u=e==null?void 0:e.key)!=null?u:"",this.value=(i=(a=e==null?void 0:e.value)==null?void 0:a.map(r=>new Ve(r)))!=null?i:[]}}class $t extends me{constructor(e){var n,u;super(e),this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new je(a)))!=null?u:[]}}class Gr extends me{constructor(e){var n,u,a;super(e),this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(i=>new je(i)))!=null?u:[],this.formCode=(a=e==null?void 0:e.formCode)!=null?a:""}}class Zr extends $t{constructor(e){var n;super(e),this.rootNode=new Oe(e==null?void 0:e.rootNode),this.filterCode=(n=e==null?void 0:e.filterCode)!=null?n:""}}class Pt{constructor(e){var n,u,a,i;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.fillList=(i=(a=e==null?void 0:e.fillList)==null?void 0:a.map(r=>new Mt(r)))!=null?i:[]}}class Qr extends Pt{constructor(e){super(e),Ne.call(this,e)}}class Yr extends Pt{constructor(e){var n,u;super(e),this.mode=(n=e==null?void 0:e.mode)!=null?n:"current",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1}}class pr{constructor(e){var n,u,a;this.zh=(n=e==null?void 0:e.zh)!=null?n:"",this.en=(u=e==null?void 0:e.en)!=null?u:"",this.ja=(a=e==null?void 0:e.ja)!=null?a:""}}class el{constructor(e){var n,u,a;this.stencilName=(n=e==null?void 0:e.stencilName)!=null?n:"",this.expression=(u=e==null?void 0:e.expression)!=null?u:"",this.errMessage=(a=e==null?void 0:e.errMessage)!=null?a:""}}class Ue{constructor(e){var n,u,a;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.label=(u=e==null?void 0:e.label)!=null?u:"",this.value=(a=e==null?void 0:e.value)!=null?a:this.label}}class _t extends Ue{constructor(e){var n,u;super(e),this.image=(n=e==null?void 0:e.image)!=null?n:"",this.type=(u=e==null?void 0:e.type)!=null?u:"src"}}function tl(t){var e;return(e=t==null?void 0:t.map(n=>new Ue(n)))!=null?e:[]}function nl(t){var e;return(e=t==null?void 0:t.map(n=>new _t(n)))!=null?e:[]}class ge{}class ul extends ge{constructor(e){super(),this.amount=new O(e==null?void 0:e.amount),this.currency=new O(e==null?void 0:e.currency)}}class al{constructor(e){var n,u;this.amount=(n=e==null?void 0:e.amount)!=null?n:"",this.currency=(u=e==null?void 0:e.currency)!=null?u:He.CNY}}class il extends ge{constructor(e){super(),this.min=new O(e==null?void 0:e.min),this.max=new O(e==null?void 0:e.max)}}class rl{constructor(e){var n,u;this.min=(n=e==null?void 0:e.min)!=null?n:"",this.max=(u=e==null?void 0:e.max)!=null?u:""}}class ll{constructor(e){var n,u,a,i,r,s;this.city=(n=e==null?void 0:e.city)!=null?n:"",this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!=null?u:"",this.district=(a=e==null?void 0:e.district)!=null?a:"",this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!=null?i:"",this.province=(r=e==null?void 0:e.province)!=null?r:"",this.provinceDisplay=(s=e==null?void 0:e.provinceDisplay)!=null?s:""}}class sl extends ge{constructor(e){super(),this.result=new O(e==null?void 0:e.result),this.unit=new O(e==null?void 0:e.unit)}}class ol{constructor(e){var n,u;this.result=(n=e==null?void 0:e.result)!=null?n:0,this.unit=(u=e==null?void 0:e.unit)!=null?u:""}}var He=(t=>(t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t))(He||{}),qt=(t=>(t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t))(qt||{}),ke=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(ke||{});class cl{constructor(e){var n,u,a,i,r,s;this.isShow=(n=e==null?void 0:e.isShow)!=null?n:!0,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(i=e==null?void 0:e.openType)!=null?i:"modal",this.type=(r=e==null?void 0:e.type)!=null?r:"",this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!=null?s:!1}}class dl{constructor(e){var n,u,a,i;this.id=(n=e==null?void 0:e.id)!=null?n:W(8),this.title=(u=e==null?void 0:e.title)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new St(r)))!=null?i:[],Ne.call(this,e)}}class fl{constructor(e){var n,u;this.key=(n=e.key)!=null?n:W(8),this.caption=(u=e.caption)!=null?u:""}}class Ot{constructor(e){var n,u,a,i;this.width=(n=e==null?void 0:e.width)!=null?n:"",this.height=(u=e==null?void 0:e.height)!=null?u:"",this.widthConfig=(a=e==null?void 0:e.widthConfig)!=null?a:"fill",this.heightConfig=(i=e==null?void 0:e.heightConfig)!=null?i:"fill"}}class hl{constructor(e){var n,u;this.optCode=(n=e==null?void 0:e.optCode)!=null?n:"",this.optType=(u=e==null?void 0:e.optType)!=null?u:""}}class ye{constructor(e){this.isHide={type:"boolean"}}}class We extends Array{constructor(e){super()}}class U{constructor(e,n=""){var u,a;this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.style=new Ot(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}U.Rules=ye,U.RuntimeRules=We;function V(){return V=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},V.apply(this,arguments)}function ml(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function Ee(t,e){return Ee=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ee(t,e)}function gl(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function ve(t,e,n){return gl()?ve=Reflect.construct:ve=function(a,i,r){var s=[null];s.push.apply(s,i);var d=Function.bind.apply(a,s),c=new d;return r&&Ee(c,r.prototype),c},ve.apply(null,arguments)}function yl(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ke(t){var e=typeof Map=="function"?new Map:void 0;return Ke=function(u){if(u===null||!yl(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return ve(u,arguments,Te(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Ee(a,u)},Ke(t)}var El=/%[sdj%]/g,Vt=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Vt=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function ze(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function q(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],i=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var r=String(a).replace(El,function(s){if(s==="%%")return"%";if(u>=i)return s;switch(s){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(d){return"[Circular]"}break;default:return s}});return r}return a}function vl(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function R(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||vl(e)&&typeof t=="string"&&!t)}function Cl(t,e,n){var u=[],a=0,i=t.length;function r(s){u.push.apply(u,s),a++,a===i&&n(u)}t.forEach(function(s){e(s,r)})}function xt(t,e,n){var u=0,a=t.length;function i(r){if(r&&r.length){n(r);return}var s=u;u=u+1,s<a?e(t[s],i):n([])}i([])}function Bl(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Nt=function(t){ml(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(Ke(Error));function Al(t,e,n,u){if(e.first){var a=new Promise(function(E,A){var D=function(C){return u(C),C.length?A(new Nt(C,ze(C))):E()},S=Bl(t);xt(S,n,D)});return a.catch(function(E){return E}),a}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var r=Object.keys(t),s=r.length,d=0,c=[],g=new Promise(function(E,A){var D=function(f){if(c.push.apply(c,f),d++,d===s)return u(c),c.length?A(new Nt(c,ze(c))):E()};r.length||(u(c),E()),r.forEach(function(S){var f=t[S];i.indexOf(S)!==-1?xt(f,n,D):Cl(f,n,D)})});return g.catch(function(E){return E}),g}function jt(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Ut(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=V(V({},t[n]),u):t[n]=u}}return t}function Ht(t,e,n,u,a,i){t.required&&(!n.hasOwnProperty(t.field)||R(e,i||t.type))&&u.push(q(a.messages.required,t.fullField))}function Fl(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(q(a.messages.whitespace,t.fullField))}var Je={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},ne={integer:function(e){return ne.number(e)&&parseInt(e,10)===e},float:function(e){return ne.number(e)&&!ne.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!ne.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Je.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Je.url)},hex:function(e){return typeof e=="string"&&!!e.match(Je.hex)}};function Dl(t,e,n,u,a){if(t.required&&e===void 0){Ht(t,e,n,u,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;i.indexOf(r)>-1?ne[r](e)||u.push(q(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(q(a.messages.types[r],t.fullField,t.type))}function bl(t,e,n,u,a){var i=typeof t.len=="number",r=typeof t.min=="number",s=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,g=null,E=typeof e=="number",A=typeof e=="string",D=Array.isArray(e);if(E?g="number":A?g="string":D&&(g="array"),!g)return!1;D&&(c=e.length),A&&(c=e.replace(d,"_").length),i?c!==t.len&&u.push(q(a.messages[g].len,t.fullField,t.len)):r&&!s&&c<t.min?u.push(q(a.messages[g].min,t.fullField,t.min)):s&&!r&&c>t.max?u.push(q(a.messages[g].max,t.fullField,t.max)):r&&s&&(c<t.min||c>t.max)&&u.push(q(a.messages[g].range,t.fullField,t.min,t.max))}var J="enum";function Sl(t,e,n,u,a){t[J]=Array.isArray(t[J])?t[J]:[],t[J].indexOf(e)===-1&&u.push(q(a.messages[J],t.fullField,t[J].join(", ")))}function wl(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(q(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||u.push(q(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var y={required:Ht,whitespace:Fl,type:Dl,range:bl,enum:Sl,pattern:wl};function Il(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e,"string")&&!t.required)return n();y.required(t,e,u,i,a,"string"),R(e,"string")||(y.type(t,e,u,i,a),y.range(t,e,u,i,a),y.pattern(t,e,u,i,a),t.whitespace===!0&&y.whitespace(t,e,u,i,a))}n(i)}function Rl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y.type(t,e,u,i,a)}n(i)}function Ml(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),R(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function Ll(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y.type(t,e,u,i,a)}n(i)}function $l(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e)&&!t.required)return n();y.required(t,e,u,i,a),R(e)||y.type(t,e,u,i,a)}n(i)}function Pl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function _l(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function ql(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();y.required(t,e,u,i,a,"array"),e!=null&&(y.type(t,e,u,i,a),y.range(t,e,u,i,a))}n(i)}function Ol(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y.type(t,e,u,i,a)}n(i)}var Vl="enum";function xl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e)&&!t.required)return n();y.required(t,e,u,i,a),e!==void 0&&y[Vl](t,e,u,i,a)}n(i)}function Nl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e,"string")&&!t.required)return n();y.required(t,e,u,i,a),R(e,"string")||y.pattern(t,e,u,i,a)}n(i)}function jl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e,"date")&&!t.required)return n();if(y.required(t,e,u,i,a),!R(e,"date")){var s;e instanceof Date?s=e:s=new Date(e),y.type(t,s,u,i,a),s&&y.range(t,s.getTime(),u,i,a)}}n(i)}function Ul(t,e,n,u,a){var i=[],r=Array.isArray(e)?"array":typeof e;y.required(t,e,u,i,a,r),n(i)}function Xe(t,e,n,u,a){var i=t.type,r=[],s=t.required||!t.required&&u.hasOwnProperty(t.field);if(s){if(R(e,i)&&!t.required)return n();y.required(t,e,u,r,a,i),R(e,i)||y.type(t,e,u,r,a)}n(r)}function Hl(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(R(e)&&!t.required)return n();y.required(t,e,u,i,a)}n(i)}var ue={string:Il,method:Rl,number:Ml,boolean:Ll,regexp:$l,integer:Pl,float:_l,array:ql,object:Ol,enum:xl,pattern:Nl,date:jl,url:Xe,hex:Xe,email:Xe,required:Ul,any:Hl};function Ge(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Ze=Ge();function H(t){this.rules=null,this._messages=Ze,this.define(t)}H.prototype={messages:function(e){return e&&(this._messages=Ut(Ge(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var i=e,r=n,s=u;if(typeof r=="function"&&(s=r,r={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function d(f){var C,o=[],m={};function v(b){if(Array.isArray(b)){var w;o=(w=o).concat.apply(w,b)}else o.push(b)}for(C=0;C<f.length;C++)v(f[C]);o.length?m=ze(o):(o=null,m=null),s(o,m)}if(r.messages){var c=this.messages();c===Ze&&(c=Ge()),Ut(c,r.messages),r.messages=c}else r.messages=this.messages();var g,E,A={},D=r.keys||Object.keys(this.rules);D.forEach(function(f){g=a.rules[f],E=i[f],g.forEach(function(C){var o=C;typeof o.transform=="function"&&(i===e&&(i=V({},i)),E=i[f]=o.transform(E)),typeof o=="function"?o={validator:o}:o=V({},o),o.validator=a.getValidationMethod(o),o.field=f,o.fullField=o.fullField||f,o.type=a.getType(o),o.validator&&(A[f]=A[f]||[],A[f].push({rule:o,value:E,source:i,field:f}))})});var S={};return Al(A,r,function(f,C){var o=f.rule,m=(o.type==="object"||o.type==="array")&&(typeof o.fields=="object"||typeof o.defaultField=="object");m=m&&(o.required||!o.required&&f.value),o.field=f.field;function v(x,B){return V(V({},B),{},{fullField:o.fullField+"."+x})}function b(x){x===void 0&&(x=[]);var B=x;if(Array.isArray(B)||(B=[B]),!r.suppressWarning&&B.length&&H.warning("async-validator:",B),B.length&&o.message!==void 0&&(B=[].concat(o.message)),B=B.map(jt(o)),r.first&&B.length)return S[o.field]=1,C(B);if(!m)C(B);else{if(o.required&&!f.value)return o.message!==void 0?B=[].concat(o.message).map(jt(o)):r.error&&(B=[r.error(o,q(r.messages.required,o.field))]),C(B);var N={};if(o.defaultField)for(var en in f.value)f.value.hasOwnProperty(en)&&(N[en]=o.defaultField);N=V(V({},N),f.rule.fields);for(var X in N)if(N.hasOwnProperty(X)){var as=Array.isArray(N[X])?N[X]:[N[X]];N[X]=as.map(v.bind(null,X))}var tn=new H(N);tn.messages(r.messages),f.rule.options&&(f.rule.options.messages=r.messages,f.rule.options.error=r.error),tn.validate(f.value,f.rule.options||r,function(it){var G=[];B&&B.length&&G.push.apply(G,B),it&&it.length&&G.push.apply(G,it),C(G.length?G:null)})}}var w;o.asyncValidator?w=o.asyncValidator(o,f.value,b,f.source,r):o.validator&&(w=o.validator(o,f.value,b,f.source,r),w===!0?b():w===!1?b(o.message||o.field+" fails"):w instanceof Array?b(w):w instanceof Error&&b(w.message)),w&&w.then&&w.then(function(){return b()},function(x){return b(x)})},function(f){d(f)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ue.hasOwnProperty(e.type))throw new Error(q("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?ue.required:ue[this.getType(e)]||!1}},H.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ue[e]=n},H.warning=Vt,H.messages=Ze,H.validators=ue;const kl={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 kt(t,e={}){const n=new H(t);return n.messages(Object.assign(kl,e)),n}const Wt=new qr;class P{constructor(e){var g,E,A,D;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Kt,this.removeSetting=Tt,this.addSetting=Wl,this.replaceSetting=Tl,this._callControlHooks("preInstance",e);const{controlName:n,controlIcon:u,controlType:a,controlFieldType:i,controlEventKeys:r,controlCustomEvents:s,name:d,setting:c}=new.target;n&&u&&a||yt(`The ${d} controlName,controlIcon,controlType is not define`),this.id=(g=e==null?void 0:e.id)!=null?g:W(10),this.name=n,this.icon=u,this.type=(E=e==null?void 0:e.type)!=null?E:a,this.props=new U(e==null?void 0:e.props,new.target.controlName),this.controlType=(A=e==null?void 0:e.controlType)!=null?A:"base",this.setting=T(c),this.fieldType=(D=e==null?void 0:e.fieldType)!=null?D:i,this.eventKeys=T(r),this.customEvents=T(s),Promise.resolve().then(()=>{this._callControlHooks("postInstance",e)})}get rules(){const e=this.props.constructor.Rules;return e?new e(this.props):{}}_callControlHooks(...e){const[n,...u]=e;return Wt.emit(n,this,...u)}preUpdate(e,n){this._callControlHooks("preUpdateProps",e,n)}postUpdate(e,n){this._callControlHooks("postUpdateProps",e,n)}updateProps(e,n){this.preUpdate(e,n),Cr(this.props,e,n),this.postUpdate(e,n)}preValidate(){return le(this,null,function*(){const e=Z({},this.rules),n=yield this._callControlHooks("preValidate",e),u=n[n.length-1];return u===!1?void 0:u})}validate(e,n){return le(this,null,function*(){const u=yield this.preValidate(),a=u!==void 0?u:Z({},this.rules);Array.isArray(n)&&n.forEach(r=>{a.hasOwnProperty(r)&&delete a[r]});const i=kt(a,e);try{return yield i.validate(this.props),!0}catch(r){throw r.control||(r.control=this),r}})}toDataBindModel(e=null){const n=this.fieldType,u=this.id,a=this.type,{dataBind:i,datasourceBind:r,optionConfig:s,caption:d,required:c,maxLength:g,options:E,encrypted:A,encryptedMode:D}=this.props;if(!n&&!i&&!r)return;const S={parentId:e,fieldType:n,controlId:u,caption:d,type:a,props:{}};switch(i&&(S.dataBind=i),s){case"datasource":case void 0:r&&(S.datasourceBind=r);break;case"custom":S.props.options=E;break}return c!==void 0&&(S.required=c),g!==void 0&&(S.maxLength=g),A!==void 0&&(S.encrypted=A),D!==void 0&&(S.encryptedMode=D),S}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:T(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(e,n){e==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}P.controlName="\u63A7\u4EF6",P.controlIcon="icon",P.controlType="control",P.controlEventKeys=[],P.controlCustomEvents=[],P.setting=[],P.__is_control__=!0,P.removeSettingItem=Tt,P.updateSettingItem=Kt;function Tt(t){(Array.isArray(t)?t:[t]).forEach(n=>{var i,r,s;const u=typeof n!="string";if(!Array.isArray(this.setting))return;const a=(i=this.setting)==null?void 0:i.findIndex(d=>d.key===(u?n.key:n));a!==-1&&(u?this.setting[a].showItems=(r=this.setting[a].showItems)==null?void 0:r.filter(d=>!n.hideItems.includes(d)):this.setting.splice(a,1),u&&!((s=this.setting[a].showItems)!=null&&s.length)&&this.setting.splice(a,1))})}function Kt(t,e){(typeof t=="string"?[t]:t).forEach(u=>{var i;if(!Array.isArray(this.setting))return;const a=this.setting.find(r=>r.key===u);a&&(typeof e=="boolean"?a.visible=e:typeof e=="object"&&(((i=e.type)!=null?i:"replace")==="replace"?a.showItems=e.showItems:a.showItems.push(...e.showItems)))})}function Wl(t){const e=Object.prototype.toString.call(t)==="[object Object]"?[t]:t;this.setting.push(...e)}function Tl(t){this.setting=t}class k{constructor(e){var r,s,d,c,g;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:u,name:a,controlCustomEvents:i}=new.target;n||yt(`The ${a} controlType is not define`),this.id=(r=e==null?void 0:e.id)!=null?r:W(10),this.type=(s=e==null?void 0:e.type)!=null?s:n,this.props=new U(e==null?void 0:e.props),this.customEvents=i,this.controlType=(d=e==null?void 0:e.controlType)!=null?d:"base",this.fieldType=(c=e==null?void 0:e.fieldType)!=null?c:u,this.pageStatus=(g=e==null?void 0:e.pageStatus)!=null?g:ke.UNKNOWN}get rules(){const e=this.props.constructor.RuntimeRules;if(e){const n=new e(this.props);return Array.from(n)}return[]}}k.controlType="control",k.__is_control__=!0,k.controlCustomEvents=[];function Qe(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator(e,n,u){n.length===0&&u(h.getMessage("optionIsRequired")),u()}},{type:"array",validator(e,n,u){const a=n.map(r=>r.value),i=Sr(a);a.length!==i.length?u(h.getMessage("optionIdIsRepeat")):u()},message:h.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator(e,n,u){n.length===0&&u(h.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function Kl(t,e,n=!1){this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator(u,a,i){a.length===0&&i(h.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),i()},message:h.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function zt(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}class Ye extends ye{constructor(e){super(e),this.dataBind={},this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(zt(e.dataBind))this.dataBind={type:"object",required:!0,fields:T(n),message:h.getMessage("pleaseEnterFieldCode")};else{let u={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(e.dataBind).forEach(a=>{u.fields[a]={type:"object",required:!0,fields:T(n),message:h.getMessage("pleaseEnterFieldCode")}}),this.dataBind=u}e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Jt extends We{constructor(e){super(e),this.push({type:"string",required:e.isHide?!1:e.required,message:e.requiredMessage!==""?e.requiredMessage:h.getMessage("runtimeRequired",{caption:e.caption})})}}class ae extends U{constructor(e){var n,u,a,i,r,s,d,c,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(i=e==null?void 0:e.captionTip)!=null?i:"",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(s=e==null?void 0:e.labelPosition)!=null?s:"top",this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"",this.required=(c=e==null?void 0:e.required)!=null?c:!1,this.requiredMessage=(g=e==null?void 0:e.requiredMessage)!=null?g:"",this.dataBind=new O(e==null?void 0:e.dataBind),this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:""}}ae.Rules=Ye,ae.RuntimeRules=Jt;class zl extends Ye{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:h.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],Qe.call(this,e)}}class Xt extends P{constructor(e){super(e),this.controlType="form",this.props=new ae(e==null?void 0:e.props)}}Xt.controlEventKeys=["on_change","on_focus","on_blur"];class Jl extends k{constructor(e){super(e),this.controlType="form",this.props=new ae(e==null?void 0:e.props)}}class ie extends U{constructor(e){super(e)}}function Gt(t,e){var n;(n=Object.getOwnPropertyDescriptors(t)[e])!=null&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function pe(t,e){t.parent=e,Gt(t,"parent")}function Zt(t,e){t.forEach(n=>{pe(n,e)})}const Qt=Symbol("targetKey");function Yt(t){var e;return(e=t[Qt])!=null?e:t}function pt(t,e){return Zt(t,e),new Proxy(t,{get(n,u,...a){return u===Qt?n:Reflect.get(n,u,...a)},set(n,u,a,...i){if(br(t)&&u==="length"&&a===t.length)return!0;const r=Reflect.set(n,u,a,...i);return Dr(a)&&pe(a,e),r}})}function re(t,e,n,u){const a=u!=null?u:t;let i=pt(Yt(n!=null?n:[]),a);Object.defineProperty(t,e,{get(){return i},set(r){i=pt(Yt(r),a)},enumerable:!0})}const Xl=1e4;class K extends P{constructor(e){super(e),this.controlType="layout";const{excludes:n,childrenMaxLength:u}=new.target;this.props=new ie(e==null?void 0:e.props),re(this,"children",e==null?void 0:e.children),this.excludes=T(n),this.childrenMaxLength=u}judgeExcludesChildren(e){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e)}judgeJoinChildren(e){const n=this.judgeExcludesChildren(e);return n&&this.childrenMaxLength>this.children.length}validate(e,n){return le(this,null,function*(){return yield rt(K.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(u=>u.validate(e,n))),!0})}toDataBindModel(e=null){const n=super.toDataBindModel(),u=n?[n]:[];return this.children.reduce((a,i)=>{const r=i.toDataBindModel(e);if(Array.isArray(r)){const s=r.filter(d=>!!d);return[...a,...s]}return r&&a.push(r),a},u)}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return Ae(Z({},e),{children:n})}}K.excludes=!1,K.childrenMaxLength=Xl;class et extends k{constructor(e){super(e),this.controlType="layout",this.props=new ie(e==null?void 0:e.props),re(this,"children",e==null?void 0:e.children)}}class tt extends U{constructor(e,n){super(n),re(this,"headers",n==null?void 0:n.headers,e)}}class Ce extends P{constructor(e){super(e),this.controlType="list",this.props=new tt(this,e==null?void 0:e.props)}validate(e,n){return le(this,null,function*(){return yield rt(Ce.prototype,this,"validate").call(this,e),yield Promise.all(this.props.headers.map(u=>u.validate(e,n))),!0})}toDataBindModel(){const e=super.toDataBindModel(),n=e?[e]:[],u=this.id;return this.props.headers.reduce((a,i)=>{const r=i.toDataBindModel(u);if(Array.isArray(r)){const s=r.filter(d=>!!d);return[...a,...s]}return r&&a.push(r),a},n)}toSchema(){var a,i;const e=super.toSchema(),n=this.props.headers.map(r=>r.toSchema()),u=(i=(a=this.props)==null?void 0:a.footers)==null?void 0:i.map(r=>{if(r)return r.toSchema()});return Ae(Z({},e),{props:Ae(Z({},this.props),{headers:n,footers:u})})}}Ce.controlFieldType=M.LIST;class Gl extends k{constructor(e){super(e),this.controlType="list",this.props=new tt(this,e==null?void 0:e.props),re(this,"children",e==null?void 0:e.children)}get length(){return this.children.length}}class nt extends ye{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")},this.width.required=e.widthType==="px"}}class Be extends U{constructor(e){var n,u,a,i,r;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:150,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:"none",this.autoWidth=new qe(e==null?void 0:e.autoWidth),this.dataBind=new O(e==null?void 0:e.dataBind),this.sort=(i=e==null?void 0:e.sort)!=null?i:!0,this.align=e==null?void 0:e.align,this.colSpan=e==null?void 0:e.colSpan,this.autoHeight=(r=e==null?void 0:e.autoHeight)!=null?r:!1}}Be.Rules=nt;class Zl extends nt{constructor(e){super(e),this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:h.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],Qe.call(this,e)}}class Ql extends P{constructor(e){super(e),this.controlType="column",this.props=new Be(e==null?void 0:e.props)}}class Yl extends k{constructor(e){super(e),this.controlType="column",this.props=new Be(e==null?void 0:e.props)}}class ut extends ie{constructor(e){super(e),this.dataBind=new O(e==null?void 0:e.dataBind)}}class pl extends K{constructor(e){super(e),this.controlType="search",this.props=new ut(e==null?void 0:e.props)}}class es extends et{constructor(e){super(e),this.controlType="search",this.props=new ut(e==null?void 0:e.props)}}class at extends ie{constructor(e){super(e)}}class ts extends K{constructor(e){super(e),this.controlType="wrap",this.props=new at(e==null?void 0:e.props)}}class ns extends et{constructor(e){super(e),this.controlType="wrap",this.props=new at(e==null?void 0:e.props)}}function us(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}l.AMOUNT_TYPE=He,l.AddressValue=ll,l.AmountDataBind=ul,l.AmountValue=al,l.AutoWidth=qe,l.BaseControlProperty=ae,l.BaseControlPropertyRules=Ye,l.BaseControlPropertyRuntimeRules=Jt,l.BaseStyle=Ot,l.COMMON_SETTING_TYPE=qt,l.CalcDataBind=sl,l.CalcValue=ol,l.ColumnControlProperty=Be,l.ColumnControlPropertyRules=nt,l.ColumnOptionAndDataSourcePropertyRules=Zl,l.CustomAttributeItem=je,l.CustomPermissionItem=fl,l.DataBind=O,l.DataSourceBind=me,l.DataSourceDataSetValue=Lt,l.DataSourceOrderItem=xe,l.DataSourceParamItem=zr,l.DataStorageDoc=Hr,l.DesignerColumnControl=Ql,l.DesignerControl=P,l.DesignerFormControl=Xt,l.DesignerLayoutControl=K,l.DesignerListControl=Ce,l.DesignerSearchControl=pl,l.DesignerWrapControl=ts,l.DisplayBoListItem=Ve,l.FieldBindItem=wt,l.FieldFilterCondition=he,l.FieldFilterConditions=te,l.FillBackBind=Yr,l.FillPayloadBind=Qr,l.FormBind=fe,l.FormSelectBind=kr,l.ImageOptionSetting=_t,l.JoinRelation=Kr,l.Language=pr,l.LayoutControlProperty=ie,l.LeftVariable=Rt,l.LinkOperationOption=Xr,l.ListBind=Wr,l.ListControlProperty=tt,l.MetaAutoWidth=Ur,l.MetaWidth=de,l.MultistageFillingItem=Mt,l.ObjectDataBind=ge,l.OperationItem=cl,l.OptObject=hl,l.OptionAndDataSourcePropertyRules=zl,l.OptionSetting=Ue,l.OrganizationDataSourceBind=Gr,l.PAGE_STATUS=ke,l.Property=U,l.PropertyRules=ye,l.PropertyRuntimeRules=We,l.RangeDataBind=il,l.RangeDateValue=rl,l.RegisterControls=ce,l.RegularRules=el,l.RightVariable=Oe,l.RuntimeColumnControl=Yl,l.RuntimeControl=k,l.RuntimeFormControl=Jl,l.RuntimeLayoutControl=et,l.RuntimeListControl=Gl,l.RuntimeSearchControl=es,l.RuntimeWrapControl=ns,l.SearchControlProperty=ut,l.SelectedContentConfig=Jr,l.SubListItem=It,l.SubListPageConfig=Tr,l.SuperDataSourceBind=$t,l.TreeDataSourceBind=Zr,l.ViewOperationItem=dl,l.WrapControlProperty=at,l.controlHooksEmitter=Wt,l.createValidator=kt,l.defineArrayParent=Zt,l.defineControlArrayToProperty=re,l.defineParent=pe,l.initImageOptions=nl,l.initLinkOperationRules=us,l.initOptionAndDataSourceRules=Qe,l.initOptions=tl,l.initSuperDataSourceRules=Kl,l.isDataBind=zt,l.setPropertyDontEnum=Gt,Object.defineProperty(l,"__esModule",{value:!0})});
|
|
1
|
+
var hl=Object.defineProperty,ml=Object.defineProperties;var gl=Object.getOwnPropertyDescriptors;var Bn=Object.getOwnPropertySymbols;var yl=Object.prototype.hasOwnProperty,vl=Object.prototype.propertyIsEnumerable;var An=(l,P,V)=>P in l?hl(l,P,{enumerable:!0,configurable:!0,writable:!0,value:V}):l[P]=V,oe=(l,P)=>{for(var V in P||(P={}))yl.call(P,V)&&An(l,V,P[V]);if(Bn)for(var V of Bn(P))vl.call(P,V)&&An(l,V,P[V]);return l},Ne=(l,P)=>ml(l,gl(P));var De=(l,P,V)=>new Promise((_e,be)=>{var je=X=>{try{ce(V.next(X))}catch(de){be(de)}},Ue=X=>{try{ce(V.throw(X))}catch(de){be(de)}},ce=X=>X.done?_e(X.value):Promise.resolve(X.value).then(je,Ue);ce((V=V.apply(l,P)).next())});(function(l,P){typeof exports=="object"&&typeof module!="undefined"?P(exports):typeof define=="function"&&define.amd?define(["exports"],P):(l=typeof globalThis!="undefined"?globalThis:l||self,P(l.modelDrivenCore={}))})(this,function(l){"use strict";var P="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",_e="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",be="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",je="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ue="{caption}\u5FC5\u586B",ce="\u8BF7\u8F93\u5165\u6807\u9898",X="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",de="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Fn="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Dn="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",bn="\u8BF7\u7ED1\u5B9A\u8868\u5355",Sn="\u8BF7\u7ED1\u5B9A\u5217\u8868",wn="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",In="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Rn="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Mn="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ln="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",$n="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Pn="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",qn="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",On="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Vn="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Nn="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",_n="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",jn="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Un="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Tn="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xn="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Hn="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Wn="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",kn="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Kn="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",zn="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Gn="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Jn="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Xn="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Zn="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qn="\u8BF7\u9009\u62E9\u7701",Yn="\u8BF7\u9009\u62E9\u5E02",pn="\u8BF7\u9009\u62E9\u533A",eu="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",tu="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",nu="\u8BF7\u8F93\u5165\u5217\u5BBD",uu="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",au="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",iu="\u8BF7\u9009\u62E9\u63A7\u4EF6",ru="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",su="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",lu="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ou="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",cu="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",du="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",hu="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",mu="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",gu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",yu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",vu="\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",Cu="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Bu="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Au="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Fu="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Du="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",bu="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Su="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",wu="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Iu="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Ru="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",Mu="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",Lu="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",$u="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",Pu={isNotNumber:P,isNotString:V,isNotObject:_e,isNotArray:be,isNotBoolean:je,runtimeRequired:Ue,pleaseEnterCaption:ce,pleaseEnterCaptionTip:X,pleaseEnterRowCaption:de,pleaseEnterPlaceholder:Fn,pleaseEnterFieldCode:Dn,pleaseEnterForm:bn,pleaseEnterList:Sn,pleaseEnterProcess:wn,pleaseEnterLabel:In,pleaseEnterValue:Rn,bizKeyNotBindFiled:Mn,pleaseSelectOneField:Ln,pleaseEnterNumberRange:$n,pleaseEnterAValueGreaterThanMin:Pn,pleaseEnterAValueLessThanMax:qn,numberRangeSetError:On,stringRangeError:Vn,attachmentMaxSize:Nn,pleaseEnterTotalScoreSetting:_n,theTotalScoreMustNotBeLessThan1:jn,scoreDefaultValueRange:Un,attachmentLimitError:Tn,PleaseReselectTheOptionalQuantity:xn,TheMaximumLengthIsGreaterThanTheMinimumLength:Hn,TheMinimumLengthIsGreaterThanTheMaximumLength:Wn,PleaseSelectTheCorrectOptionSettings:kn,optionIdIsRepeat:Kn,optionIsRequired:zn,pleaseEnterDataCode:Gn,pleaseEnterValueFieldCode:Jn,pleaseEnterSvcCode:Xn,pleaseBindAtLeastOneDisplayValue:Zn,pleaseSelectProvince:Qn,pleaseSelectCity:Yn,pleaseSelectDistrict:pn,limitRowsCannotBeLessThan0:eu,TheNumberOfRowsCannotBeLessThanMinRows:tu,pleaseEnterColumnWidth:nu,pleaseSetTheLogicalRelationshipOfAllRuleConditions:uu,pleaseCompleteAllRulesAndConditions:au,pleaseSelectControl:iu,pleaseSelectAtLeastOneColumn:ru,pleaseSelectFillBackMode:su,pleaseSelectDashboard:lu,rootNodeIsRequired:ou,theViewNameCannotBeEmpty:cu,pleaseSelectOcrType:du,pleaseSelectAtLeastOneFieldToFillIn:fu,pleaseChooseAtLeastOne:hu,pleaseEnterButtonContent:mu,pleaseEnterDataCodeInDataSetting:gu,pleaseEnterValueFieldCodeInDataSetting:yu,pleaseEnterSvcCodeInDataSetting:vu,pleaseBindAtLeastOneDisplayValueInDataSetting:Eu,rootNodeIsRequiredInDataSetting:Cu,pleaseEnterMaxHeight:Bu,pleaseEnter:Au,pleaseEnterWatermark:Fu,pleaseEnterFileName:Du,pleaseUploadAtLeastOnePrintTemplate:bu,pleaseAssignBusiness:Su,pleaseAssignExternal:wu,pleaseEnterAliasCode:Iu,pleaseSelectDataCode:Ru,pleaseSelectSvcCode:Mu,pleaseSelectJoinFieldCode:Lu,pleaseSelectMainFieldCode:$u},qu="Please enter a number",Ou="Please enter a string",Vu="Please enter an object",Nu="Please enter an array",_u="Please enter a boolean",ju="{caption} Required",Uu="Please enter the title",Tu="Please enter the bubble prompt",xu="Please enter the row title",Hu="Please enter the prompt text",Wu="Please bind data items",ku="Please bind the form",Ku="Please bind the list",zu="Please bind the process",Gu="Please enter the displayed value",Ju="Please enter the stored value",Xu="The document number is not bound to the data item",Zu="Please select at least one display field",Qu="Please enter a value greater than or equal to {min} and less than or equal to {max}",Yu="Please enter a value greater than or equal to {min}",pu="Please enter a value less than or equal to {max}",ea="The value range is set incorrectly",ta="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",na="The attachment size must be between 0MB and 1000MB",ua="Please fill in the total score setting",aa="The total score cannot be less than 1",ia="The default value must be between {min} and {max}",ra="The number of attachments uploaded must be between {min} and {max}",sa="Please re-select the optional quantity",la="The maximum length of the control must be greater than the minimum length",oa="The minimum length of the control must be less than the maximum length",ca="Please select the correct option setting",da="Option ID cannot be repeated",fa="Please enter at least one option",ha="Please bind the data source",ma="Please bind the stored value",ga="Please bind the service",ya="At least one display value must be bound",va="Please select a province",Ea="Please select a city",Ca="Please select a district",Ba="The minimum number of lines to fill in cannot be less than 0",Aa="The number of rows cannot be less than {min} rows",Fa="Please enter the column width",Da="Please set the logical relationship of all rule conditions",ba="Please complete all rules and conditions",Sa="please select control",wa="Please select the dashboard",Ia="View name cannot be empty",Ra="Please select recognition type",Ma="Please select at least one field to fill in",La="Please select at least one",$a="Please enter the button title",Pa="Please bind the business model in the data settings",qa="Please bind storage values in data settings",Oa="Please bind the service in the data settings",Va="Please bind at least one display value in the data settings",Na="Please select the root node in the data settings",_a="Please enter the maximum height",ja="The input content cannot be empty",Ua="Watermark cannot be empty",Ta="File name cannot be empty",xa="Please upload at least one printing template!\uFF01",Ha="Please select a specific business department",Wa="Please select a specified external organization",ka="Please enter a sub table alias",Ka="Please select the associated table to set the business model",za="Please select the association table to set the binding service",Ga="Select associated sub table fields",Ja="Please select the associated main table field",Xa={isNotNumber:qu,isNotString:Ou,isNotObject:Vu,isNotArray:Nu,isNotBoolean:_u,runtimeRequired:ju,pleaseEnterCaption:Uu,pleaseEnterCaptionTip:Tu,pleaseEnterRowCaption:xu,pleaseEnterPlaceholder:Hu,pleaseEnterFieldCode:Wu,pleaseEnterForm:ku,pleaseEnterList:Ku,pleaseEnterProcess:zu,pleaseEnterLabel:Gu,pleaseEnterValue:Ju,bizKeyNotBindFiled:Xu,pleaseSelectOneField:Zu,pleaseEnterNumberRange:Qu,pleaseEnterAValueGreaterThanMin:Yu,pleaseEnterAValueLessThanMax:pu,numberRangeSetError:ea,stringRangeError:ta,attachmentMaxSize:na,pleaseEnterTotalScoreSetting:ua,theTotalScoreMustNotBeLessThan1:aa,scoreDefaultValueRange:ia,attachmentLimitError:ra,PleaseReselectTheOptionalQuantity:sa,TheMaximumLengthIsGreaterThanTheMinimumLength:la,TheMinimumLengthIsGreaterThanTheMaximumLength:oa,PleaseSelectTheCorrectOptionSettings:ca,optionIdIsRepeat:da,optionIsRequired:fa,pleaseEnterDataCode:ha,pleaseEnterValueFieldCode:ma,pleaseEnterSvcCode:ga,pleaseBindAtLeastOneDisplayValue:ya,pleaseSelectProvince:va,pleaseSelectCity:Ea,pleaseSelectDistrict:Ca,limitRowsCannotBeLessThan0:Ba,TheNumberOfRowsCannotBeLessThanMinRows:Aa,pleaseEnterColumnWidth:Fa,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Da,pleaseCompleteAllRulesAndConditions:ba,pleaseSelectControl:Sa,pleaseSelectDashboard:wa,theViewNameCannotBeEmpty:Ia,pleaseSelectOcrType:Ra,pleaseSelectAtLeastOneFieldToFillIn:Ma,pleaseChooseAtLeastOne:La,pleaseEnterButtonContent:$a,pleaseEnterDataCodeInDataSetting:Pa,pleaseEnterValueFieldCodeInDataSetting:qa,pleaseEnterSvcCodeInDataSetting:Oa,pleaseBindAtLeastOneDisplayValueInDataSetting:Va,rootNodeIsRequiredInDataSetting:Na,pleaseEnterMaxHeight:_a,pleaseEnter:ja,pleaseEnterWatermark:Ua,pleaseEnterFileName:Ta,pleaseUploadAtLeastOnePrintTemplate:xa,pleaseAssignBusiness:Ha,pleaseAssignExternal:Wa,pleaseEnterAliasCode:ka,pleaseSelectDataCode:Ka,pleaseSelectSvcCode:za,pleaseSelectJoinFieldCode:Ga,pleaseSelectMainFieldCode:Ja},Za="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qa="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ya="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pa="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ei="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ti="{caption}\u5FC5\u9808",ni="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ui="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ai="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ii="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ri="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",si="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",li="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",oi="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ci="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",di="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",fi="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",hi="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mi="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gi="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",yi="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",vi="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ei="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ci="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Bi="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ai="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Fi="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Di="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",bi="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Si="\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",wi="\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",Ii="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ri="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Mi="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Li="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$i="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pi="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qi="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Oi="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Vi="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ni="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_i="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ji="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ui="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ti="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",xi="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Hi="please select control",Wi="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ki="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ki="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zi="\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",Gi="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ji="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xi="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Zi="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Qi="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Yi="\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",pi="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",er="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",tr="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",nr="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ur="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",ar="\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",ir="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",rr="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",sr="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lr="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",or="\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",cr="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",dr="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fr={isNotNumber:Za,isNotString:Qa,isNotObject:Ya,isNotArray:pa,isNotBoolean:ei,runtimeRequired:ti,pleaseEnterCaption:ni,pleaseEnterCaptionTip:ui,pleaseEnterRowCaption:ai,pleaseEnterPlaceholder:ii,pleaseEnterFieldCode:ri,pleaseEnterForm:si,pleaseEnterList:li,pleaseEnterProcess:oi,pleaseEnterLabel:ci,pleaseEnterValue:di,bizKeyNotBindFiled:fi,pleaseSelectOneField:hi,pleaseEnterNumberRange:mi,pleaseEnterAValueGreaterThanMin:gi,pleaseEnterAValueLessThanMax:yi,numberRangeSetError:vi,stringRangeError:Ei,attachmentMaxSize:Ci,pleaseEnterTotalScoreSetting:Bi,theTotalScoreMustNotBeLessThan1:Ai,scoreDefaultValueRange:Fi,attachmentLimitError:Di,PleaseReselectTheOptionalQuantity:bi,TheMaximumLengthIsGreaterThanTheMinimumLength:Si,TheMinimumLengthIsGreaterThanTheMaximumLength:wi,PleaseSelectTheCorrectOptionSettings:Ii,optionIdIsRepeat:Ri,optionIsRequired:Mi,pleaseEnterDataCode:Li,pleaseEnterValueFieldCode:$i,pleaseEnterSvcCode:Pi,pleaseBindAtLeastOneDisplayValue:qi,pleaseSelectProvince:Oi,pleaseSelectCity:Vi,pleaseSelectDistrict:Ni,limitRowsCannotBeLessThan0:_i,TheNumberOfRowsCannotBeLessThanMinRows:ji,pleaseEnterColumnWidth:Ui,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ti,pleaseCompleteAllRulesAndConditions:xi,pleaseSelectControl:Hi,pleaseSelectDashboard:Wi,theViewNameCannotBeEmpty:ki,pleaseSelectOcrType:Ki,pleaseSelectAtLeastOneFieldToFillIn:zi,pleaseChooseAtLeastOne:Gi,pleaseEnterButtonContent:Ji,pleaseEnterDataCodeInDataSetting:Xi,pleaseEnterValueFieldCodeInDataSetting:Zi,pleaseEnterSvcCodeInDataSetting:Qi,pleaseBindAtLeastOneDisplayValueInDataSetting:Yi,rootNodeIsRequiredInDataSetting:pi,pleaseEnterMaxHeight:er,pleaseEnter:tr,pleaseEnterWatermark:nr,pleaseEnterFileName:ur,pleaseUploadAtLeastOnePrintTemplate:ar,pleaseAssignBusiness:ir,pleaseAssignExternal:rr,pleaseEnterAliasCode:sr,pleaseSelectDataCode:lr,pleaseSelectSvcCode:or,pleaseSelectJoinFieldCode:cr,pleaseSelectMainFieldCode:dr},hr={zhCN:Pu,enUS:Xa,jaJP:fr},wt;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(wt||(wt={}));var It;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(It||(It={}));var mr="zh-CN";function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ie;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ie||(ie={}));var N;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap"})(N||(N={}));var O;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(O||(O={}));var _;_={},k(_,O.ARRAY,N.ARRAY_COLUMN),k(_,O.AUTO_NUMBER,N.AUTO_NUMBER_COLUMN),k(_,O.DECIMAL,N.DECIMAL_COLUMN),k(_,O.DEPARTMENTS,N.DEPARTMENT_COLUMN),k(_,O.FILE,N.FILE_COLUMN),k(_,O.IMAGE,N.IMAGE_COLUMN),k(_,O.ADDRESS,N.LOCATION_COLUMN),k(_,O.EMPLOYEES,N.EMPLOYEE_COLUMN),k(_,O.TEXT,N.TEXT_COLUMN),k(_,O.TIMESCOPE,N.TIMESCOPE_COLUMN),k(_,O.TIMESTAMP,N.TIMESTAMP_COLUMN),k(_,O.VARCHAR,N.VARCHAR_COLUMN),k(_,O.RELATION,N.VARCHAR_COLUMN);var Rt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Rt||(Rt={}));var Mt="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",gr=Mt+"0123456789";function ne(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?Mt:gr,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Te(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function yr(t){if(Array.isArray(t))return Te(t)}function vr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Er(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function Se(t,e,n){return Er()?Se=Reflect.construct:Se=function(a,i,r){var s=[null];s.push.apply(s,i);var h=Function.bind.apply(a,s),m=new h;return r&&he(m,r.prototype),m},Se.apply(null,arguments)}function fe(t){return fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fe(t)}function $t(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&he(t,e)}function Cr(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Br(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ar(){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 Fr(t,e){return e&&(Dr(e)==="object"||typeof e=="function")?e:vr(t)}function he(t,e){return he=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},he(t,e)}function Pt(t){return yr(t)||Br(t)||br(t)||Ar()}var Dr=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function br(t,e){if(!!t){if(typeof t=="string")return Te(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Te(t,e)}}function xe(t){var e=typeof Map=="function"?new Map:void 0;return xe=function(u){if(u===null||!Cr(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Se(u,arguments,fe(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),he(a,u)},xe(t)}function Sr(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qt(t){var e=Sr();return function(){var u=fe(t),a;if(e){var i=fe(this).constructor;a=Reflect.construct(u,arguments,i)}else a=u.apply(this,arguments);return Fr(this,a)}}var He=console;function We(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=He).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Pt(a)))}function Ot(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=He).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Pt(a)))}function wr(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var ke=function(t){$t(n,t);var e=qt(n);function n(u){Lt(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?wr(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(xe(Error)),Ir=function(t){$t(n,t);var e=qt(n);function n(u){Lt(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(ke);function Ke(t){throw new ke(t)}function Vt(t){throw new Ir(t)}function Rr(t){He.error(new ke(t))}var Mr=Object.prototype.toString;function Nt(t,e){return Mr.call(t)==="[object "+e+"]"}function Lr(t){return Nt(t,"String")}function $r(t){return Nt(t,"Promise")}var Pr=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();$r(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,i,r,s){if(a!==void 0){var h=a[i];if(!(r===s.length-1&&!Lr(h)))return h}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var i=n[a];return i!==void 0?String(i):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function qr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _t(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Or(t,e,n){return e&&_t(t.prototype,e),n&&_t(t,n),t}var E=function(){function t(){qr(this,t)}return Or(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mr;return new Pr({locale:n,messages:hr})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();E.$i18n=E.resetI18n();function Vr(t,e,n){var u=e.replace(/\[(\d)]/g,function(i,r){return"."+r}).split("."),a=!1;return u.reduce(function(i,r,s,h){var m=i;if(!!i){if(!Object.prototype.hasOwnProperty.call(i,r)){We("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),i,i);return}return s===h.length-1&&!Object.is(m[r],n)&&(m[r]=n,a=!0),m[r]}},t),a}var Nr=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},_r={exports:{}};(function(t){(function(e){var n=function(o,g,y){if(!m(g)||B(g)||M(g)||$(g)||h(g))return g;var R,S=0,T=0;if(A(g))for(R=[],T=g.length;S<T;S++)R.push(n(o,g[S],y));else{R={};for(var w in g)Object.prototype.hasOwnProperty.call(g,w)&&(R[o(w,y)]=n(o,g[w],y))}return R},u=function(o,g){g=g||{};var y=g.separator||"_",R=g.split||/(?=[A-Z])/;return o.split(R).join(y)},a=function(o){return L(o)?o:(o=o.replace(/[\-_\s]+(.)?/g,function(g,y){return y?y.toUpperCase():""}),o.substr(0,1).toLowerCase()+o.substr(1))},i=function(o){var g=a(o);return g.substr(0,1).toUpperCase()+g.substr(1)},r=function(o,g){return u(o,g).toLowerCase()},s=Object.prototype.toString,h=function(o){return typeof o=="function"},m=function(o){return o===Object(o)},A=function(o){return s.call(o)=="[object Array]"},B=function(o){return s.call(o)=="[object Date]"},M=function(o){return s.call(o)=="[object RegExp]"},$=function(o){return s.call(o)=="[object Boolean]"},L=function(o){return o=o-0,o===o},C=function(o,g){var y=g&&"process"in g?g.process:g;return typeof y!="function"?o:function(R,S){return y(R,o,S)}},b={camelize:a,decamelize:r,pascalize:i,depascalize:r,camelizeKeys:function(o,g){return n(C(a,g),o)},decamelizeKeys:function(o,g){return n(C(r,g),o,g)},pascalizeKeys:function(o,g){return n(C(i,g),o)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=b:e.humps=b})(Nr)})(_r);var jt={};Object.defineProperty(jt,"__esModule",{value:!0});function ze(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:ze(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:ze(u)}return e}}var jr=jt.default=ze;function ue(t){if(t!==void 0)return typeof t=="object"?jr(t):t}function Ur(t){return Object.prototype.toString.call(t)==="[object Object]"}function Tr(t){return Array.isArray(t)}function xr(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}var Ut={exports:{}};(function(t){var e=function(n){var u=Object.prototype,a=u.hasOwnProperty,i=Object.defineProperty||function(d,c,f){d[c]=f.value},r,s=typeof Symbol=="function"?Symbol:{},h=s.iterator||"@@iterator",m=s.asyncIterator||"@@asyncIterator",A=s.toStringTag||"@@toStringTag";function B(d,c,f){return Object.defineProperty(d,c,{value:f,enumerable:!0,configurable:!0,writable:!0}),d[c]}try{B({},"")}catch(d){B=function(c,f,F){return c[f]=F}}function M(d,c,f,F){var v=c&&c.prototype instanceof y?c:y,I=Object.create(v.prototype),x=new Dt(F||[]);return i(I,"_invoke",{value:Ve(d,f,x)}),I}n.wrap=M;function $(d,c,f){try{return{type:"normal",arg:d.call(c,f)}}catch(F){return{type:"throw",arg:F}}}var L="suspendedStart",C="suspendedYield",b="executing",o="completed",g={};function y(){}function R(){}function S(){}var T={};B(T,h,function(){return this});var w=Object.getPrototypeOf,U=w&&w(w(bt([])));U&&U!==u&&a.call(U,h)&&(T=U);var Y=S.prototype=y.prototype=Object.create(T);R.prototype=S,i(Y,"constructor",{value:S,configurable:!0}),i(S,"constructor",{value:R,configurable:!0}),R.displayName=B(S,A,"GeneratorFunction");function p(d){["next","throw","return"].forEach(function(c){B(d,c,function(f){return this._invoke(c,f)})})}n.isGeneratorFunction=function(d){var c=typeof d=="function"&&d.constructor;return c?c===R||(c.displayName||c.name)==="GeneratorFunction":!1},n.mark=function(d){return Object.setPrototypeOf?Object.setPrototypeOf(d,S):(d.__proto__=S,B(d,A,"GeneratorFunction")),d.prototype=Object.create(Y),d},n.awrap=function(d){return{__await:d}};function se(d,c){function f(I,x,H,z){var W=$(d[I],d,x);if(W.type==="throw")z(W.arg);else{var St=W.arg,Fe=St.value;return Fe&&typeof Fe=="object"&&a.call(Fe,"__await")?c.resolve(Fe.__await).then(function(ae){f("next",ae,H,z)},function(ae){f("throw",ae,H,z)}):c.resolve(Fe).then(function(ae){St.value=ae,H(St)},function(ae){return f("throw",ae,H,z)})}}var F;function v(I,x){function H(){return new c(function(z,W){f(I,x,z,W)})}return F=F?F.then(H,H):H()}i(this,"_invoke",{value:v})}p(se.prototype),B(se.prototype,m,function(){return this}),n.AsyncIterator=se,n.async=function(d,c,f,F,v){v===void 0&&(v=Promise);var I=new se(M(d,c,f,F),v);return n.isGeneratorFunction(c)?I:I.next().then(function(x){return x.done?x.value:I.next()})};function Ve(d,c,f){var F=L;return function(I,x){if(F===b)throw new Error("Generator is already running");if(F===o){if(I==="throw")throw x;return fl()}for(f.method=I,f.arg=x;;){var H=f.delegate;if(H){var z=le(H,f);if(z){if(z===g)continue;return z}}if(f.method==="next")f.sent=f._sent=f.arg;else if(f.method==="throw"){if(F===L)throw F=o,f.arg;f.dispatchException(f.arg)}else f.method==="return"&&f.abrupt("return",f.arg);F=b;var W=$(d,c,f);if(W.type==="normal"){if(F=f.done?o:C,W.arg===g)continue;return{value:W.arg,done:f.done}}else W.type==="throw"&&(F=o,f.method="throw",f.arg=W.arg)}}}function le(d,c){var f=c.method,F=d.iterator[f];if(F===r)return c.delegate=null,f==="throw"&&d.iterator.return&&(c.method="return",c.arg=r,le(d,c),c.method==="throw")||f!=="return"&&(c.method="throw",c.arg=new TypeError("The iterator does not provide a '"+f+"' method")),g;var v=$(F,d.iterator,c.arg);if(v.type==="throw")return c.method="throw",c.arg=v.arg,c.delegate=null,g;var I=v.arg;if(!I)return c.method="throw",c.arg=new TypeError("iterator result is not an object"),c.delegate=null,g;if(I.done)c[d.resultName]=I.value,c.next=d.nextLoc,c.method!=="return"&&(c.method="next",c.arg=r);else return I;return c.delegate=null,g}p(Y),B(Y,A,"Generator"),B(Y,h,function(){return this}),B(Y,"toString",function(){return"[object Generator]"});function te(d){var c={tryLoc:d[0]};1 in d&&(c.catchLoc=d[1]),2 in d&&(c.finallyLoc=d[2],c.afterLoc=d[3]),this.tryEntries.push(c)}function Ft(d){var c=d.completion||{};c.type="normal",delete c.arg,d.completion=c}function Dt(d){this.tryEntries=[{tryLoc:"root"}],d.forEach(te,this),this.reset(!0)}n.keys=function(d){var c=Object(d),f=[];for(var F in c)f.push(F);return f.reverse(),function v(){for(;f.length;){var I=f.pop();if(I in c)return v.value=I,v.done=!1,v}return v.done=!0,v}};function bt(d){if(d||d===""){var c=d[h];if(c)return c.call(d);if(typeof d.next=="function")return d;if(!isNaN(d.length)){var f=-1,F=function v(){for(;++f<d.length;)if(a.call(d,f))return v.value=d[f],v.done=!1,v;return v.value=r,v.done=!0,v};return F.next=F}}throw new TypeError(typeof d+" is not iterable")}n.values=bt;function fl(){return{value:r,done:!0}}return Dt.prototype={constructor:Dt,reset:function(d){if(this.prev=0,this.next=0,this.sent=this._sent=r,this.done=!1,this.delegate=null,this.method="next",this.arg=r,this.tryEntries.forEach(Ft),!d)for(var c in this)c.charAt(0)==="t"&&a.call(this,c)&&!isNaN(+c.slice(1))&&(this[c]=r)},stop:function(){this.done=!0;var d=this.tryEntries[0],c=d.completion;if(c.type==="throw")throw c.arg;return this.rval},dispatchException:function(d){if(this.done)throw d;var c=this;function f(z,W){return I.type="throw",I.arg=d,c.next=z,W&&(c.method="next",c.arg=r),!!W}for(var F=this.tryEntries.length-1;F>=0;--F){var v=this.tryEntries[F],I=v.completion;if(v.tryLoc==="root")return f("end");if(v.tryLoc<=this.prev){var x=a.call(v,"catchLoc"),H=a.call(v,"finallyLoc");if(x&&H){if(this.prev<v.catchLoc)return f(v.catchLoc,!0);if(this.prev<v.finallyLoc)return f(v.finallyLoc)}else if(x){if(this.prev<v.catchLoc)return f(v.catchLoc,!0)}else if(H){if(this.prev<v.finallyLoc)return f(v.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(d,c){for(var f=this.tryEntries.length-1;f>=0;--f){var F=this.tryEntries[f];if(F.tryLoc<=this.prev&&a.call(F,"finallyLoc")&&this.prev<F.finallyLoc){var v=F;break}}v&&(d==="break"||d==="continue")&&v.tryLoc<=c&&c<=v.finallyLoc&&(v=null);var I=v?v.completion:{};return I.type=d,I.arg=c,v?(this.method="next",this.next=v.finallyLoc,g):this.complete(I)},complete:function(d,c){if(d.type==="throw")throw d.arg;return d.type==="break"||d.type==="continue"?this.next=d.arg:d.type==="return"?(this.rval=this.arg=d.arg,this.method="return",this.next="end"):d.type==="normal"&&c&&(this.next=c),g},finish:function(d){for(var c=this.tryEntries.length-1;c>=0;--c){var f=this.tryEntries[c];if(f.finallyLoc===d)return this.complete(f.completion,f.afterLoc),Ft(f),g}},catch:function(d){for(var c=this.tryEntries.length-1;c>=0;--c){var f=this.tryEntries[c];if(f.tryLoc===d){var F=f.completion;if(F.type==="throw"){var v=F.arg;Ft(f)}return v}}throw new Error("illegal catch attempt")},delegateYield:function(d,c,f){return this.delegate={iterator:bt(d),resultName:c,nextLoc:f},this.method==="next"&&(this.arg=r),g}},n}(t.exports);try{regeneratorRuntime=e}catch(n){typeof globalThis=="object"?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}})(Ut);var Tt=Ut.exports;function Ge(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Hr(t){if(Array.isArray(t))return Ge(t)}function xt(t,e,n,u,a,i,r){try{var s=t[i](r),h=s.value}catch(m){n(m);return}s.done?e(h):Promise.resolve(h).then(u,a)}function Wr(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var i=t.apply(e,n);function r(h){xt(i,u,a,r,s,"next",h)}function s(h){xt(i,u,a,r,s,"throw",h)}r(void 0)})}}function kr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ht(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Kr(t,e,n){return e&&Ht(t.prototype,e),n&&Ht(t,n),t}function zr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gr(){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 Je(t){return Hr(t)||zr(t)||Jr(t)||Gr()}function Jr(t,e){if(!!t){if(typeof t=="string")return Ge(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ge(t,e)}}var Xr=function(){function t(){kr(this,t),this._events=new Map,this.debug=!1}return Kr(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),i=1;i<u;i++)a[i-1]=arguments[i];var r=this;return Wr(Tt.mark(function s(){var h,m,A,B,M,$,L,C,b,o;return Tt.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:if(h=r._events.get(n),m=[],!h){y.next=42;break}A=h.slice(),B=!0,M=!1,$=void 0,y.prev=5,L=A[Symbol.iterator]();case 7:if(B=(C=L.next()).done){y.next=28;break}if(b=C.value,h.includes(b)){y.next=11;break}return y.abrupt("continue",25);case 11:return y.prev=11,r.debug&&Ot.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Je(a))),y.next=15,b.apply(null,Je(a));case 15:if(o=y.sent,r.debug&&Ot.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(b.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+b.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Je(a),[o])),m.push(o),o!==!1){y.next=20;break}return y.abrupt("break",28);case 20:y.next=25;break;case 22:y.prev=22,y.t0=y.catch(11),Rr(String(y.t0)+":"+String(y.t0.stack));case 25:B=!0,y.next=7;break;case 28:y.next=34;break;case 30:y.prev=30,y.t1=y.catch(5),M=!0,$=y.t1;case 34:y.prev=34,y.prev=35,!B&&L.return!=null&&L.return();case 37:if(y.prev=37,!M){y.next=40;break}throw $;case 40:return y.finish(37);case 41:return y.finish(34);case 42:return y.abrupt("return",m);case 43:case"end":return y.stop()}},s,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),i=a==null?void 0:a.indexOf(u);a==null||a.splice(i,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Xe(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])==null?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function Ze(t,e,n){n==="Designer"&&(t.parent=e,Xe(t,"parent"))}function Wt(t,e,n){t.forEach(u=>{Ze(u,e,n)})}const kt=Symbol("targetKey");function Kt(t){var e;return(e=t[kt])!=null?e:t}function zt(t,e,n){return Wt(t,e,n),new Proxy(t,{get(u,a,...i){return a===kt?u:Reflect.get(u,a,...i)},set(u,a,i,...r){if(Tr(t)&&a==="length"&&i===t.length)return!0;const s=Reflect.set(u,a,i,...r);return Ur(i)&&Ze(i,e,n),s}})}function me(t,e,n,u,a){const i=u!=null?u:t;let r=zt(Kt(n!=null?n:[]),i,a);Object.defineProperty(t,e,{get(){return r},set(s){r=zt(Kt(s),i,a)},enumerable:!0})}const Gt=[],Qe=class{constructor(t){this.registeredControlTypes=new Set,this.controlConfigMap=new Map,this._controls=[],this._type=t,this._initControls(t)}static staticGetRules(t,e){const n=Qe.staticControlsRuntimeRules.get(t);let u=[];if(n){const a=new n(e);u=Array.from(a)}return u}registerControlConfig(t,e){return this.controlConfigMap.set(t,e),this}getControlConfig(t){return this.controlConfigMap.get(t)}static register(t,e){const{Designer:n,Runtime:u,Property:a}=t;(!n||!u||!n.__is_control__||!u.__is_control__)&&Ke(`${t} is can't register as a Control`);const i=this.staticControls.findIndex(r=>r.Designer.controlType===n.controlType);return i>-1&&(We(`The ${n.controlType} is repeat register, So it overwrites the one that was registered before.`),this.staticControls.splice(i,1)),this.staticRegisteredTypes.add(n.controlType),this.staticControls.push(t),a.mode=e,this}getControls(){return this._controls}register(t){t.__is_control__||Ke(`${t.name} is not a Control`);const e=this._controls.findIndex(n=>n.controlType===t.controlType);return e>-1&&(We(`The ${t.controlType} is repeat register, So it overwrites the one that was registered before.`),this._controls.splice(e,1)),this.registeredControlTypes.add(t.controlType),this._controls.push(t),this}isLayoutControl(t){return t.controlType===ie.LAYOUT}isFormControl(t){return t.controlType===ie.FORM}isListControl(t){return t.controlType===ie.LIST}isColumnControl(t){return t.controlType===ie.COLUMN}createControl(t,e){if(Array.isArray(t))return t.map(u=>this.createControl(u,e));if(t.children&&(t.children=t.children.map(u=>this.createControl(u,e))),this.isListControl(t)){const u=t.props;u.headers&&(u.headers=u.headers.map(a=>this.createControl(a,e))),u.footers&&(u.footers=u.footers.map(a=>{let i;return a&&(i=this.createControl(a,e)),i}))}const n=this.getControlFormType(t.type);if(n){let u=t;if(typeof e=="function"){const i=e(u);i&&(u=i)}let a;return n.mode==="Runtime"?(a=u,this._setParentPrototypeToSchema(a,this)):a=new n(u),a}else Ke(`The constructor of ${t.type} could not be found, please confirm that the constructor has been registered`)}_setParentPrototypeToSchema(t,e){e._type==="Runtime"&&(Object.defineProperty(t,"parent",{get(){const n=t.id,u=e._controlParentIdMap,a=e.instanceMap;if(!u||!a)return;const i=u[n],r=a[n];if(!i&&!r)return;const s=r.findIndex(A=>A==t),h=a[i]||[];let m;return h.length!==r.length?m=h[0]:m=h[s],m}}),Xe(t,"parent"))}createControlInstance(t,e){const n=this.getControlFormType(t);if(n)return new n(e)}getControlFormType(t){return this._controls.find(e=>e.controlType===t)}_initControls(t){this.constructor.staticControls.forEach(e=>{this.register(e[t]),Qe.staticControlsRuntimeRules.set(e.Runtime.controlType,e.Property.RuntimeRules),e.Property.mode=t})}};let ge=Qe;ge.staticControlsRuntimeRules=new Map,ge.staticControls=Gt,ge.staticRegisteredTypes=new Set(Gt.map(t=>t.Designer.controlType)),ge.staticRegisteredConfigs=new Map;class G{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.aliasCode=e==null?void 0:e.aliasCode}}class Ye{constructor(e){var n,u;this.minWidth=(n=e==null?void 0:e.minWidth)!=null?n:150,this.maxWidth=e==null?void 0:e.maxWidth,this.flex=(u=e==null?void 0:e.flex)!=null?u:1}}class we extends Ye{constructor(e){super(e);var n,u;this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(u=e==null?void 0:e.widthType)!=null?u:"auto"}}class Zr{constructor(e){this.pc=new we(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new we(e==null?void 0:e.mobile):new we({width:130,minWidth:180})}}class Qr{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"firstThree",this.customOptions=(u=e==null?void 0:e.customOptions)!=null?u:[]}}class Ie{constructor(e){var n,u,a;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.appId=(a=e==null?void 0:e.appId)!=null?a:""}}class Yr extends Ie{constructor(e){super(e);var n;this.primaryControlId=(n=e==null?void 0:e.primaryControlId)!=null?n:""}}class Jt{constructor(e){var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!=null?n:""}}class pr{constructor(e){var n,u,a,i;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Jt(r)))!=null?i:[]}}class Xt{constructor(e){var n,u,a;this.fieldName=(n=e==null?void 0:e.fieldName)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:O.VARCHAR}}class Zt extends Ie{constructor(e){super(e);var n,u,a,i;this.title=(n=e==null?void 0:e.title)!=null?n:"",this.svcCode=(u=e==null?void 0:e.svcCode)!=null?u:"",this.isOpenFilter=(a=e==null?void 0:e.isOpenFilter)!=null?a:!1,this.filters=(i=e==null?void 0:e.filters)!=null?i:[]}}class es{constructor(e){var n,u,a,i;this.type="sublist-page",this.formBind=new Ie(e==null?void 0:e.formBind),this.displayFields=(u=(n=e==null?void 0:e.displayFields)==null?void 0:n.map(r=>new Xt(r)))!=null?u:[],this.sublists=(i=(a=e==null?void 0:e.sublists)==null?void 0:a.map(r=>new Zt(r)))!=null?i:[]}}class Qt{constructor(e){this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value}}class pe{constructor(e){var n,u,a;this.type=(n=e==null?void 0:e.type)!=null?n:"custom",this.value=(u=e==null?void 0:e.value)!=null?u:[],this.displayBos=(a=e==null?void 0:e.displayBos)!=null?a:[]}}class ye{constructor(e){var n,u,a,i;this.type="conditions",this.id=(n=e==null?void 0:e.id)!=null?n:ne(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.level=(a=e==null?void 0:e.level)!=null?a:0,this.value=(i=e==null?void 0:e.value)!=null?i:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(r=>{var s,h;if(r.children!==void 0){const m=new ye(r);(s=this.children)==null||s.push(m)}else{const m=new Re(r);(h=this.children)==null||h.push(m)}}))}}class Re{constructor(e){var n,u,a,i,r;this.type="condition",this.id=(n=e==null?void 0:e.id)!=null?n:ne(),this.ruleId=(u=e==null?void 0:e.ruleId)!=null?u:new Date().valueOf(),this.symbol=(a=e==null?void 0:e.symbol)!=null?a:"",this.checked=(i=e==null?void 0:e.checked)!=null?i:!1,this.describe=(r=e==null?void 0:e.describe)!=null?r:"",this.leftVariableBo=new Qt(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new pe(e==null?void 0:e.rightVariableBo)}}class ts{constructor(e){var n,u;this.aliasCode=(n=e==null?void 0:e.aliasCode)!=null?n:"",this.datasourceBind=new Me(e==null?void 0:e.datasourceBind),this.relationFields=(u=e==null?void 0:e.relationFields)!=null?u:[]}}class Yt{constructor(e){var n,u,a,i;this.controlId=(n=e==null?void 0:e.controlId)!=null?n:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:"",this.propName=(i=e==null?void 0:e.propName)!=null?i:""}}class et{constructor(e){var n,u;this.type=(n=e==null?void 0:e.type)!=null?n:"FIELD",this.value=(u=e==null?void 0:e.value)!=null?u:"",this.fieldType=e==null?void 0:e.fieldType}}class tt{constructor(e){var n,u;this.columnName=(n=e.columnName)!=null?n:"",this.desc=(u=e.desc)!=null?u:!1}}class pt{constructor(e){var n,u,a;this.code=(n=e.code)!=null?n:"",this.value=(u=e.value)!=null?u:"",this.field_type=(a=e.field_type)!=null?a:O.ANY}}class ns{constructor(e){var n,u,a,i,r,s,h;this.id=(n=e.id)!=null?n:"",this.limit=(u=e.limit)!=null?u:20,this.formKey=(a=e.formKey)!=null?a:"",this.orders=(r=(i=e.orders)==null?void 0:i.map(m=>new tt(m)))!=null?r:[],this.dataSet=(h=(s=e.dataSet)==null?void 0:s.map(m=>new pt(m)))!=null?h:[]}}function nt(t){var e,n,u,a,i,r;this.filters=(n=(e=t==null?void 0:t.filters)==null?void 0:e.map(s=>s.children!==void 0?new ye(s):new Re(s)))!=null?n:[],this.viewFilters=(a=(u=t==null?void 0:t.viewFilters)==null?void 0:u.map(s=>s.children!==void 0?new ye(s):new Re(s)))!=null?a:[],this.orders=(r=(i=t==null?void 0:t.orders)==null?void 0:i.map(s=>new tt(s)))!=null?r:[]}class Me{constructor(e){var n,u,a,i,r,s,h;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!=null?a:"",this.displayBoList=[],this.isOpenViewFilters=(i=e==null?void 0:e.isOpenViewFilters)!=null?i:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(m=>{var A;(A=this.displayBoList)==null||A.push(new et(m))})),this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!=null?r:"",this.showOrder=(s=e==null?void 0:e.showOrder)!=null?s:!0,this.svcCode=(h=e==null?void 0:e.svcCode)!=null?h:"",nt.call(this,e)}}class us{constructor(e){var n,u;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.displayBoList=(u=e==null?void 0:e.displayBoList)!=null?u:[]}}class as{constructor(e){var n,u,a,i,r,s,h,m,A,B;this.code=(n=e==null?void 0:e.code)!=null?n:"view",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.command=(a=e==null?void 0:e.command)!=null?a:"view",this.confirmMessage=(i=e==null?void 0:e.confirmMessage)!=null?i:void 0,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.formKey=(s=e==null?void 0:e.formKey)!=null?s:void 0,this.icon=(h=e==null?void 0:e.icon)!=null?h:"iconliulan1",this.needConfirm=(m=e==null?void 0:e.needConfirm)!=null?m:!1,this.openType=(A=e==null?void 0:e.openType)!=null?A:"modal",this.priorityProcess=(B=e==null?void 0:e.priorityProcess)!=null?B:!0}}class ut{constructor(e){var n,u,a,i;this.name=(n=e==null?void 0:e.name)!=null?n:"",this.key=(u=e==null?void 0:e.key)!=null?u:"",this.value=(i=(a=e==null?void 0:e.value)==null?void 0:a.map(r=>new et(r)))!=null?i:[]}}class en extends Me{constructor(e){super(e);var n,u;this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(a=>new ut(a)))!=null?u:[]}}class is extends Me{constructor(e){super(e);var n,u,a;this.attributes=(u=(n=e==null?void 0:e.attributes)==null?void 0:n.map(i=>new ut(i)))!=null?u:[],this.formCode=(a=e==null?void 0:e.formCode)!=null?a:""}}class rs extends en{constructor(e){super(e);var n;this.rootNode=new pe(e==null?void 0:e.rootNode),this.filterCode=(n=e==null?void 0:e.filterCode)!=null?n:""}}class tn{constructor(e){var n,u,a,i;this.dataCode=(n=e==null?void 0:e.dataCode)!=null?n:"",this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.fillList=(i=(a=e==null?void 0:e.fillList)==null?void 0:a.map(r=>new Yt(r)))!=null?i:[]}}class ss extends tn{constructor(e){super(e);nt.call(this,e)}}class ls extends tn{constructor(e){super(e);var n,u;this.mode=(n=e==null?void 0:e.mode)!=null?n:"current",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1}}class os{constructor(e){var n,u,a;this.zh=(n=e==null?void 0:e.zh)!=null?n:"",this.en=(u=e==null?void 0:e.en)!=null?u:"",this.ja=(a=e==null?void 0:e.ja)!=null?a:""}}class cs{constructor(e){var n,u,a;this.stencilName=(n=e==null?void 0:e.stencilName)!=null?n:"",this.expression=(u=e==null?void 0:e.expression)!=null?u:"",this.errMessage=(a=e==null?void 0:e.errMessage)!=null?a:""}}class at{constructor(e){var n,u,a;this.id=(n=e==null?void 0:e.id)!=null?n:ne(8),this.label=(u=e==null?void 0:e.label)!=null?u:"",this.value=(a=e==null?void 0:e.value)!=null?a:this.label}}class nn extends at{constructor(e){super(e);var n,u;this.image=(n=e==null?void 0:e.image)!=null?n:"",this.type=(u=e==null?void 0:e.type)!=null?u:"src"}}function ds(t){var e;return(e=t==null?void 0:t.map(n=>new at(n)))!=null?e:[]}function fs(t){var e;return(e=t==null?void 0:t.map(n=>new nn(n)))!=null?e:[]}class Le{}class hs extends Le{constructor(e){super();this.amount=new G(e==null?void 0:e.amount),this.currency=new G(e==null?void 0:e.currency)}}class ms{constructor(e){var n,u;this.amount=(n=e==null?void 0:e.amount)!=null?n:"",this.currency=(u=e==null?void 0:e.currency)!=null?u:it.CNY}}class gs extends Le{constructor(e){super();this.min=new G(e==null?void 0:e.min),this.max=new G(e==null?void 0:e.max)}}class ys{constructor(e){var n,u;this.min=(n=e==null?void 0:e.min)!=null?n:"",this.max=(u=e==null?void 0:e.max)!=null?u:""}}class vs{constructor(e){var n,u,a,i,r,s;this.city=(n=e==null?void 0:e.city)!=null?n:"",this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!=null?u:"",this.district=(a=e==null?void 0:e.district)!=null?a:"",this.districtDisplay=(i=e==null?void 0:e.districtDisplay)!=null?i:"",this.province=(r=e==null?void 0:e.province)!=null?r:"",this.provinceDisplay=(s=e==null?void 0:e.provinceDisplay)!=null?s:""}}class Es extends Le{constructor(e){super();this.result=new G(e==null?void 0:e.result),this.unit=new G(e==null?void 0:e.unit)}}class Cs{constructor(e){var n,u;this.result=(n=e==null?void 0:e.result)!=null?n:0,this.unit=(u=e==null?void 0:e.unit)!=null?u:""}}var it=(t=>(t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP",t))(it||{}),un=(t=>(t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t))(un||{}),rt=(t=>(t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t))(rt||{});class Bs{constructor(e){var n,u,a,i,r,s;this.isShow=(n=e==null?void 0:e.isShow)!=null?n:!0,this.content=(u=e==null?void 0:e.content)!=null?u:"",this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(i=e==null?void 0:e.openType)!=null?i:"modal",this.type=(r=e==null?void 0:e.type)!=null?r:"",this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!=null?s:!1}}class As{constructor(e){var n,u,a,i;this.id=(n=e==null?void 0:e.id)!=null?n:ne(8),this.title=(u=e==null?void 0:e.title)!=null?u:"",this.headers=(i=(a=e==null?void 0:e.headers)==null?void 0:a.map(r=>new Jt(r)))!=null?i:[],nt.call(this,e)}}class Fs{constructor(e){var n,u;this.key=(n=e.key)!=null?n:ne(8),this.caption=(u=e.caption)!=null?u:""}}class an{constructor(e){var n,u,a,i;this.width=(n=e==null?void 0:e.width)!=null?n:"",this.height=(u=e==null?void 0:e.height)!=null?u:"",this.widthConfig=(a=e==null?void 0:e.widthConfig)!=null?a:"fill",this.heightConfig=(i=e==null?void 0:e.heightConfig)!=null?i:"fill"}}class Ds{constructor(e){var n,u;this.optCode=(n=e==null?void 0:e.optCode)!=null?n:"",this.optType=(u=e==null?void 0:e.optType)!=null?u:""}}class $e{constructor(e){this.isHide={type:"boolean"}}}class st extends Array{constructor(e){super()}}class Z{constructor(e,n=""){var u,a;this.isHide=(u=e==null?void 0:e.isHide)!=null?u:!1,this.style=new an(e==null?void 0:e.style),this.caption=(a=e==null?void 0:e.caption)!=null?a:n}}Z.Rules=$e,Z.RuntimeRules=st;function J(){return J=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},J.apply(this,arguments)}function bs(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function lt(t){return lt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},lt(t)}function Pe(t,e){return Pe=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Pe(t,e)}function Ss(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function qe(t,e,n){return Ss()?qe=Reflect.construct:qe=function(a,i,r){var s=[null];s.push.apply(s,i);var h=Function.bind.apply(a,s),m=new h;return r&&Pe(m,r.prototype),m},qe.apply(null,arguments)}function ws(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ot(t){var e=typeof Map=="function"?new Map:void 0;return ot=function(u){if(u===null||!ws(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return qe(u,arguments,lt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Pe(a,u)},ot(t)}var Is=/%[sdj%]/g,rn=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(rn=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function ct(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function K(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],i=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var r=String(a).replace(Is,function(s){if(s==="%%")return"%";if(u>=i)return s;switch(s){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(h){return"[Circular]"}break;default:return s}});return r}return a}function Rs(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Rs(e)&&typeof t=="string"&&!t)}function Ms(t,e,n){var u=[],a=0,i=t.length;function r(s){u.push.apply(u,s),a++,a===i&&n(u)}t.forEach(function(s){e(s,r)})}function sn(t,e,n){var u=0,a=t.length;function i(r){if(r&&r.length){n(r);return}var s=u;u=u+1,s<a?e(t[s],i):n([])}i([])}function Ls(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ln=function(t){bs(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(ot(Error));function $s(t,e,n,u){if(e.first){var a=new Promise(function(B,M){var $=function(b){return u(b),b.length?M(new ln(b,ct(b))):B()},L=Ls(t);sn(L,n,$)});return a.catch(function(B){return B}),a}var i=e.firstFields||[];i===!0&&(i=Object.keys(t));var r=Object.keys(t),s=r.length,h=0,m=[],A=new Promise(function(B,M){var $=function(C){if(m.push.apply(m,C),h++,h===s)return u(m),m.length?M(new ln(m,ct(m))):B()};r.length||(u(m),B()),r.forEach(function(L){var C=t[L];i.indexOf(L)!==-1?sn(C,n,$):Ms(C,n,$)})});return A.catch(function(B){return B}),A}function on(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function cn(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=J(J({},t[n]),u):t[n]=u}}return t}function dn(t,e,n,u,a,i){t.required&&(!n.hasOwnProperty(t.field)||q(e,i||t.type))&&u.push(K(a.messages.required,t.fullField))}function Ps(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(K(a.messages.whitespace,t.fullField))}var dt={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},ve={integer:function(e){return ve.number(e)&&parseInt(e,10)===e},float:function(e){return ve.number(e)&&!ve.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!ve.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(dt.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(dt.url)},hex:function(e){return typeof e=="string"&&!!e.match(dt.hex)}};function qs(t,e,n,u,a){if(t.required&&e===void 0){dn(t,e,n,u,a);return}var i=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;i.indexOf(r)>-1?ve[r](e)||u.push(K(a.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&u.push(K(a.messages.types[r],t.fullField,t.type))}function Os(t,e,n,u,a){var i=typeof t.len=="number",r=typeof t.min=="number",s=typeof t.max=="number",h=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,m=e,A=null,B=typeof e=="number",M=typeof e=="string",$=Array.isArray(e);if(B?A="number":M?A="string":$&&(A="array"),!A)return!1;$&&(m=e.length),M&&(m=e.replace(h,"_").length),i?m!==t.len&&u.push(K(a.messages[A].len,t.fullField,t.len)):r&&!s&&m<t.min?u.push(K(a.messages[A].min,t.fullField,t.min)):s&&!r&&m>t.max?u.push(K(a.messages[A].max,t.fullField,t.max)):r&&s&&(m<t.min||m>t.max)&&u.push(K(a.messages[A].range,t.fullField,t.min,t.max))}var re="enum";function Vs(t,e,n,u,a){t[re]=Array.isArray(t[re])?t[re]:[],t[re].indexOf(e)===-1&&u.push(K(a.messages[re],t.fullField,t[re].join(", ")))}function Ns(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(K(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var i=new RegExp(t.pattern);i.test(e)||u.push(K(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var D={required:dn,whitespace:Ps,type:qs,range:Os,enum:Vs,pattern:Ns};function _s(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e,"string")&&!t.required)return n();D.required(t,e,u,i,a,"string"),q(e,"string")||(D.type(t,e,u,i,a),D.range(t,e,u,i,a),D.pattern(t,e,u,i,a),t.whitespace===!0&&D.whitespace(t,e,u,i,a))}n(i)}function js(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();D.required(t,e,u,i,a),e!==void 0&&D.type(t,e,u,i,a)}n(i)}function Us(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),q(e)&&!t.required)return n();D.required(t,e,u,i,a),e!==void 0&&(D.type(t,e,u,i,a),D.range(t,e,u,i,a))}n(i)}function Ts(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();D.required(t,e,u,i,a),e!==void 0&&D.type(t,e,u,i,a)}n(i)}function xs(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();D.required(t,e,u,i,a),q(e)||D.type(t,e,u,i,a)}n(i)}function Hs(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();D.required(t,e,u,i,a),e!==void 0&&(D.type(t,e,u,i,a),D.range(t,e,u,i,a))}n(i)}function Ws(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();D.required(t,e,u,i,a),e!==void 0&&(D.type(t,e,u,i,a),D.range(t,e,u,i,a))}n(i)}function ks(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();D.required(t,e,u,i,a,"array"),e!=null&&(D.type(t,e,u,i,a),D.range(t,e,u,i,a))}n(i)}function Ks(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();D.required(t,e,u,i,a),e!==void 0&&D.type(t,e,u,i,a)}n(i)}var zs="enum";function Gs(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();D.required(t,e,u,i,a),e!==void 0&&D[zs](t,e,u,i,a)}n(i)}function Js(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e,"string")&&!t.required)return n();D.required(t,e,u,i,a),q(e,"string")||D.pattern(t,e,u,i,a)}n(i)}function Xs(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e,"date")&&!t.required)return n();if(D.required(t,e,u,i,a),!q(e,"date")){var s;e instanceof Date?s=e:s=new Date(e),D.type(t,s,u,i,a),s&&D.range(t,s.getTime(),u,i,a)}}n(i)}function Zs(t,e,n,u,a){var i=[],r=Array.isArray(e)?"array":typeof e;D.required(t,e,u,i,a,r),n(i)}function ft(t,e,n,u,a){var i=t.type,r=[],s=t.required||!t.required&&u.hasOwnProperty(t.field);if(s){if(q(e,i)&&!t.required)return n();D.required(t,e,u,r,a,i),q(e,i)||D.type(t,e,u,r,a)}n(r)}function Qs(t,e,n,u,a){var i=[],r=t.required||!t.required&&u.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();D.required(t,e,u,i,a)}n(i)}var Ee={string:_s,method:js,number:Us,boolean:Ts,regexp:xs,integer:Hs,float:Ws,array:ks,object:Ks,enum:Gs,pattern:Js,date:Xs,url:ft,hex:ft,email:ft,required:Zs,any:Qs};function ht(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var mt=ht();function ee(t){this.rules=null,this._messages=mt,this.define(t)}ee.prototype={messages:function(e){return e&&(this._messages=cn(ht(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var i=e,r=n,s=u;if(typeof r=="function"&&(s=r,r={}),!this.rules||Object.keys(this.rules).length===0)return s&&s(),Promise.resolve();function h(C){var b,o=[],g={};function y(R){if(Array.isArray(R)){var S;o=(S=o).concat.apply(S,R)}else o.push(R)}for(b=0;b<C.length;b++)y(C[b]);o.length?g=ct(o):(o=null,g=null),s(o,g)}if(r.messages){var m=this.messages();m===mt&&(m=ht()),cn(m,r.messages),r.messages=m}else r.messages=this.messages();var A,B,M={},$=r.keys||Object.keys(this.rules);$.forEach(function(C){A=a.rules[C],B=i[C],A.forEach(function(b){var o=b;typeof o.transform=="function"&&(i===e&&(i=J({},i)),B=i[C]=o.transform(B)),typeof o=="function"?o={validator:o}:o=J({},o),o.validator=a.getValidationMethod(o),o.field=C,o.fullField=o.fullField||C,o.type=a.getType(o),!!o.validator&&(M[C]=M[C]||[],M[C].push({rule:o,value:B,source:i,field:C}))})});var L={};return $s(M,r,function(C,b){var o=C.rule,g=(o.type==="object"||o.type==="array")&&(typeof o.fields=="object"||typeof o.defaultField=="object");g=g&&(o.required||!o.required&&C.value),o.field=C.field;function y(T,w){return J(J({},w),{},{fullField:o.fullField+"."+T})}function R(T){T===void 0&&(T=[]);var w=T;if(Array.isArray(w)||(w=[w]),!r.suppressWarning&&w.length&&ee.warning("async-validator:",w),w.length&&o.message!==void 0&&(w=[].concat(o.message)),w=w.map(on(o)),r.first&&w.length)return L[o.field]=1,b(w);if(!g)b(w);else{if(o.required&&!C.value)return o.message!==void 0?w=[].concat(o.message).map(on(o)):r.error&&(w=[r.error(o,K(r.messages.required,o.field))]),b(w);var U={};if(o.defaultField)for(var Y in C.value)C.value.hasOwnProperty(Y)&&(U[Y]=o.defaultField);U=J(J({},U),C.rule.fields);for(var p in U)if(U.hasOwnProperty(p)){var se=Array.isArray(U[p])?U[p]:[U[p]];U[p]=se.map(y.bind(null,p))}var Ve=new ee(U);Ve.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),Ve.validate(C.value,C.rule.options||r,function(le){var te=[];w&&w.length&&te.push.apply(te,w),le&&le.length&&te.push.apply(te,le),b(te.length?te:null)})}}var S;o.asyncValidator?S=o.asyncValidator(o,C.value,R,C.source,r):o.validator&&(S=o.validator(o,C.value,R,C.source,r),S===!0?R():S===!1?R(o.message||o.field+" fails"):S instanceof Array?R(S):S instanceof Error&&R(S.message)),S&&S.then&&S.then(function(){return R()},function(T){return R(T)})},function(C){h(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ee.hasOwnProperty(e.type))throw new Error(K("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?Ee.required:Ee[this.getType(e)]||!1}},ee.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ee[e]=n},ee.warning=rn,ee.messages=mt,ee.validators=Ee;const Ys={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 fn(t,e={}){const n=new ee(t);return n.messages(Object.assign(Ys,e)),n}const hn=new Xr;class j{constructor(e){var A,B,M,$;this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=gn,this.removeSetting=mn,this._callControlHooks("preInstance",e);const{controlName:n,controlIcon:u,controlType:a,controlFieldType:i,controlEventKeys:r,controlCustomEvents:s,name:h,setting:m}=new.target;n&&u&&a||Vt(`The ${h} controlName,controlIcon,controlType is not define`),this.id=(A=e==null?void 0:e.id)!=null?A:ne(10),this.name=n,this.icon=u,this.type=(B=e==null?void 0:e.type)!=null?B:a,this.props=new Z(e==null?void 0:e.props,new.target.controlName),this.controlType=(M=e==null?void 0:e.controlType)!=null?M:"base",this.setting=ue(m),this.fieldType=($=e==null?void 0:e.fieldType)!=null?$:i,this.eventKeys=ue(r),this.customEvents=ue(s),Promise.resolve().then(()=>{this._callControlHooks("postInstance",e)})}get rules(){const e=this.props.constructor.Rules;return e?new e(this.props):{}}_callControlHooks(...e){const[n,...u]=e;return hn.emit(n,this,...u)}preUpdate(e,n){this._callControlHooks("preUpdateProps",e,n)}postUpdate(e,n){this._callControlHooks("postUpdateProps",e,n)}updateProps(e,n){this.preUpdate(e,n),Vr(this.props,e,n),this.postUpdate(e,n)}preValidate(){return De(this,null,function*(){const e=oe({},this.rules),n=yield this._callControlHooks("preValidate",e),u=n[n.length-1];return u===!1?void 0:u})}validate(e,n){return De(this,null,function*(){const u=yield this.preValidate(),a=u!==void 0?u:oe({},this.rules);Array.isArray(n)&&n.forEach(r=>{a.hasOwnProperty(r)&&delete a[r]});const i=fn(a,e);try{return yield i.validate(this.props),!0}catch(r){throw r.control||(r.control=this),r}})}toDataBindModel(e=null){const n=this.fieldType,u=this.id,a=this.type,{dataBind:i,datasourceBind:r,optionConfig:s,caption:h,required:m,maxLength:A,options:B,encrypted:M,encryptedMode:$}=this.props;if(!n&&!i&&!r)return;const L={parentId:e,fieldType:n,controlId:u,caption:h,type:a,props:{}};switch(i&&(L.dataBind=i),s){case"datasource":case void 0:r&&(L.datasourceBind=r);break;case"custom":L.props.options=B;break}return m!==void 0&&(L.required=m),A!==void 0&&(L.maxLength=A),M!==void 0&&(L.encrypted=M),$!==void 0&&(L.encryptedMode=$),L}preToSchema(){this._callControlHooks("preToSchema",this)}toSchema(){return this.preToSchema(),{id:this.id,type:this.type,props:ue(this.props),fieldType:this.fieldType,controlType:this.controlType}}static updateBasicControl(e,n){e==="setting"&&(n.add&&this.setting.push(...n.add),n.remove&&this.removeSettingItem(n.remove),n.update)}}j.mode="Designer",j.controlName="\u63A7\u4EF6",j.controlIcon="icon",j.controlType="control",j.controlEventKeys=[],j.controlCustomEvents=[],j.setting=[],j.__is_control__=!0,j.removeSettingItem=mn,j.updateSettingItem=gn;function mn(t){(Array.isArray(t)?t:[t]).forEach(n=>{var i,r,s;const u=typeof n!="string",a=(i=this.setting)==null?void 0:i.findIndex(h=>h.key===(u?n.key:n));a!==-1&&(u?this.setting[a].showItems=(r=this.setting[a].showItems)==null?void 0:r.filter(h=>!n.hideItems.includes(h)):this.setting.splice(a,1),u&&!((s=this.setting[a].showItems)==null?void 0:s.length)&&this.setting.splice(a,1))})}function gn(t,e){(typeof t=="string"?[t]:t).forEach(u=>{var i;const a=this.setting.find(r=>r.key===u);a&&(typeof e=="boolean"?a.visible=e:typeof e=="object"&&(((i=e.type)!=null?i:"replace")==="replace"?a.showItems=e.showItems:a.showItems.push(...e.showItems)))})}class Q{constructor(e){var r,s,h,m,A;this.customEvents=[],this.parent=null;const{controlType:n,controlFieldType:u,name:a,controlCustomEvents:i}=new.target;n||Vt(`The ${a} controlType is not define`),this.id=(r=e==null?void 0:e.id)!=null?r:ne(10),this.type=(s=e==null?void 0:e.type)!=null?s:n,this.props=new Z(e==null?void 0:e.props),this.customEvents=i,this.controlType=(h=e==null?void 0:e.controlType)!=null?h:"base",this.fieldType=(m=e==null?void 0:e.fieldType)!=null?m:u,this.pageStatus=(A=e==null?void 0:e.pageStatus)!=null?A:rt.UNKNOWN}get rules(){const e=this.props.constructor.RuntimeRules;if(e){const n=new e(this.props);return Array.from(n)}return[]}}Q.mode="Runtime",Q.controlType="control",Q.__is_control__=!0,Q.controlCustomEvents=[];function gt(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:E.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:E.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:E.getMessage("pleaseEnterValue")}}}},{type:"array",validator(e,n,u){n.length===0&&u(E.getMessage("optionIsRequired")),u()}},{type:"array",validator(e,n,u){const a=n.map(r=>r.value),i=xr(a);a.length!==i.length?u(E.getMessage("optionIdIsRepeat")):u()},message:E.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:E.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:E.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:E.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:E.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:E.getMessage("isNotArray")},{type:"array",validator(e,n,u){n.length===0&&u(E.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:E.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:E.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:E.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:E.getMessage("isNotBoolean")}}}}]}}])}function ps(t,e,n=!1){this.datasourceBind=[{type:"object",message:E.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:E.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:E.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:E.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:E.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:E.getMessage("isNotString")},key:{type:"string",required:!0,message:E.getMessage("isNotString")},value:[{type:"array",message:E.getMessage("isNotArray")},{type:"array",validator(u,a,i){a.length===0&&i(E.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),i()},message:E.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:E.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:E.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:E.getMessage("isNotBoolean")}}}}]}}]}function yn(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}class yt extends $e{constructor(e){super(e);this.dataBind={},this.caption={type:"string",required:!0,message:E.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.defaultState={type:"enum",enum:["default","readonly"]},this.required={type:"boolean"},this.captionTip={type:"string",required:!1,message:E.getMessage("pleaseEnterCaptionTip")};const n={fieldCode:{type:"string",required:!0,message:E.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:E.getMessage("pleaseEnterFieldCode")}};if(yn(e.dataBind))this.dataBind={type:"object",required:!0,fields:ue(n),message:E.getMessage("pleaseEnterFieldCode")};else{let u={type:"object",required:!0,fields:{},message:E.getMessage("pleaseEnterFieldCode")};Object.keys(e.dataBind).forEach(a=>{u.fields[a]={type:"object",required:!0,fields:ue(n),message:E.getMessage("pleaseEnterFieldCode")}}),this.dataBind=u}e.isShowCaptionTip&&(this.captionTip.required=!0)}}class vn extends st{constructor(e){super(e);const n=e.isHide?!1:e.required;n&&this.push({type:"string",required:n,message:e.requiredMessage!==""?e.requiredMessage:E.getMessage("runtimeRequired",{caption:e.caption})})}}class Ce extends Z{constructor(e){super(e);var n,u,a,i,r,s,h,m,A,B;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(i=e==null?void 0:e.captionTip)!=null?i:"",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.labelPosition=(s=e==null?void 0:e.labelPosition)!=null?s:"top",this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"",this.required=(m=e==null?void 0:e.required)!=null?m:!1,this.requiredMessage=(A=e==null?void 0:e.requiredMessage)!=null?A:"",this.dataBind=new G(e==null?void 0:e.dataBind),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:""}}Ce.Rules=yt,Ce.RuntimeRules=vn;class el extends yt{constructor(e){super(e);this.optionConfig={type:"enum",enum:["custom","datasource"],message:E.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:E.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:E.getMessage("isNotObject")}],gt.call(this,e)}}class En extends j{constructor(e){super(e);this.controlType="form",this.props=new Ce(e==null?void 0:e.props)}}En.controlEventKeys=["on_change","on_focus","on_blur"];class tl extends Q{constructor(e){super(e);this.controlType="form",this.props=new Ce(e==null?void 0:e.props)}}class Be extends Z{constructor(e){super(e)}}const nl=1e4;class Ae extends j{constructor(e){super(e);this.controlType="layout";const{excludes:n,childrenMaxLength:u}=new.target;this.props=new Be(e==null?void 0:e.props),me(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ue(n),this.childrenMaxLength=u}judgeExcludesChildren(e){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e)}judgeJoinChildren(e){const n=this.judgeExcludesChildren(e);return n&&this.childrenMaxLength>this.children.length}validate(e,n){var u=a=>super[a];return De(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}toDataBindModel(e=null){const n=super.toDataBindModel(),u=n?[n]:[];return this.children.reduce((a,i)=>{const r=i.toDataBindModel(e);if(Array.isArray(r)){const s=r.filter(h=>!!h);return[...a,...s]}return r&&a.push(r),a},u)}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return Ne(oe({},e),{children:n})}}Ae.excludes=!1,Ae.childrenMaxLength=nl;class vt extends Q{constructor(e){super(e);this.controlType="layout",this.props=new Be(e==null?void 0:e.props),me(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}class Et extends Z{constructor(e,n,u){super(n);me(this,"headers",n==null?void 0:n.headers,e,u)}}class Cn extends j{constructor(e){super(e);this.controlType="list",this.props=new Et(this,e==null?void 0:e.props,"Designer")}validate(e,n){var u=a=>super[a];return De(this,null,function*(){return yield u("validate").call(this,e),yield Promise.all(this.props.headers.map(i=>i.validate(e,n))),!0})}toDataBindModel(){const e=super.toDataBindModel(),n=e?[e]:[],u=this.id;return this.props.headers.reduce((a,i)=>{const r=i.toDataBindModel(u);if(Array.isArray(r)){const s=r.filter(h=>!!h);return[...a,...s]}return r&&a.push(r),a},n)}toSchema(){var a,i;const e=super.toSchema(),n=this.props.headers.map(r=>r.toSchema()),u=(i=(a=this.props)==null?void 0:a.footers)==null?void 0:i.map(r=>{if(r)return r.toSchema()});return Ne(oe({},e),{props:Ne(oe({},this.props),{headers:n,footers:u})})}}Cn.controlFieldType=O.LIST;class ul extends Q{constructor(e){super(e);this.controlType="list",this.props=new Et(this,e==null?void 0:e.props,"Runtime"),me(this,"children",e==null?void 0:e.children,void 0,"Runtime")}get length(){return this.children.length}}class Ct extends $e{constructor(e){super(e);this.caption={type:"string",required:!0,message:E.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:E.getMessage("pleaseEnterColumnWidth")},this.width.required=e.widthType==="px"}}class Oe extends Z{constructor(e){super(e);var n,u,a,i,r;this.width=(n=e==null?void 0:e.width)!=null?n:150,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:"none",this.autoWidth=new Ye(e==null?void 0:e.autoWidth),this.dataBind=new G(e==null?void 0:e.dataBind),this.sort=(i=e==null?void 0:e.sort)!=null?i:!0,this.align=e==null?void 0:e.align,this.colSpan=e==null?void 0:e.colSpan,this.autoHeight=(r=e==null?void 0:e.autoHeight)!=null?r:!1}}Oe.Rules=Ct;class al extends Ct{constructor(e){super(e);this.optionConfig={type:"enum",enum:["custom","datasource","none"],message:E.getMessage("PleaseSelectTheCorrectOptionSettings")},this.options=[{type:"array",message:E.getMessage("isNotArray")}],this.datasourceBind=[{type:"object",message:E.getMessage("isNotObject")}],gt.call(this,e)}}class il extends j{constructor(e){super(e);this.controlType="column",this.props=new Oe(e==null?void 0:e.props)}}class rl extends Q{constructor(e){super(e);this.controlType="column",this.props=new Oe(e==null?void 0:e.props)}}class Bt extends Be{constructor(e){super(e);this.dataBind=new G(e==null?void 0:e.dataBind)}}class sl extends Ae{constructor(e){super(e);this.controlType="search",this.props=new Bt(e==null?void 0:e.props)}}class ll extends vt{constructor(e){super(e);this.controlType="search",this.props=new Bt(e==null?void 0:e.props)}}class At extends Be{constructor(e){super(e)}}class ol extends Ae{constructor(e){super(e);this.controlType="wrap",this.props=new At(e==null?void 0:e.props)}}class cl extends vt{constructor(e){super(e);this.controlType="wrap",this.props=new At(e==null?void 0:e.props)}}function dl(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:E.getMessage("pleaseEnterForm")}}}])}l.AMOUNT_TYPE=it,l.AddressValue=vs,l.AmountDataBind=hs,l.AmountValue=ms,l.AutoWidth=Ye,l.BaseControlProperty=Ce,l.BaseControlPropertyRules=yt,l.BaseControlPropertyRuntimeRules=vn,l.BaseStyle=an,l.COMMON_SETTING_TYPE=un,l.CalcDataBind=Es,l.CalcValue=Cs,l.ColumnControlProperty=Oe,l.ColumnControlPropertyRules=Ct,l.ColumnOptionAndDataSourcePropertyRules=al,l.CustomAttributeItem=ut,l.CustomPermissionItem=Fs,l.DataBind=G,l.DataSourceBind=Me,l.DataSourceDataSetValue=pt,l.DataSourceOrderItem=tt,l.DataSourceParamItem=ns,l.DataStorageDoc=Qr,l.DesignerColumnControl=il,l.DesignerControl=j,l.DesignerFormControl=En,l.DesignerLayoutControl=Ae,l.DesignerListControl=Cn,l.DesignerSearchControl=sl,l.DesignerWrapControl=ol,l.DisplayBoListItem=et,l.FieldBindItem=Xt,l.FieldFilterCondition=Re,l.FieldFilterConditions=ye,l.FillBackBind=ls,l.FillPayloadBind=ss,l.FormBind=Ie,l.FormSelectBind=Yr,l.ImageOptionSetting=nn,l.JoinRelation=ts,l.Language=os,l.LayoutControlProperty=Be,l.LeftVariable=Qt,l.LinkOperationOption=as,l.ListBind=pr,l.ListControlProperty=Et,l.MetaAutoWidth=Zr,l.MetaWidth=we,l.MultistageFillingItem=Yt,l.ObjectDataBind=Le,l.OperationItem=Bs,l.OptObject=Ds,l.OptionAndDataSourcePropertyRules=el,l.OptionSetting=at,l.OrganizationDataSourceBind=is,l.PAGE_STATUS=rt,l.Property=Z,l.PropertyRules=$e,l.PropertyRuntimeRules=st,l.RangeDataBind=gs,l.RangeDateValue=ys,l.RegisterControls=ge,l.RegularRules=cs,l.RightVariable=pe,l.RuntimeColumnControl=rl,l.RuntimeControl=Q,l.RuntimeFormControl=tl,l.RuntimeLayoutControl=vt,l.RuntimeListControl=ul,l.RuntimeSearchControl=ll,l.RuntimeWrapControl=cl,l.SearchControlProperty=Bt,l.SelectedContentConfig=us,l.SubListItem=Zt,l.SubListPageConfig=es,l.SuperDataSourceBind=en,l.TreeDataSourceBind=rs,l.ViewOperationItem=As,l.WrapControlProperty=At,l.controlHooksEmitter=hn,l.createValidator=fn,l.defineArrayParent=Wt,l.defineControlArrayToProperty=me,l.defineParent=Ze,l.initImageOptions=fs,l.initLinkOperationRules=dl,l.initOptionAndDataSourceRules=gt,l.initOptions=ds,l.initSuperDataSourceRules=ps,l.isDataBind=yn,l.setPropertyDontEnum=Xe,Object.defineProperty(l,"__esModule",{value:!0})});
|
|
@@ -2,10 +2,11 @@ import Property, { PropertyRules } from './property';
|
|
|
2
2
|
import { FieldTypes, CustomEventItem } from '@byteluck-fe/model-driven-shared';
|
|
3
3
|
import { Messages } from '../Validator';
|
|
4
4
|
import { DataBindModelType, HideOptions, SettingOption } from './types';
|
|
5
|
-
import { BaseControlSchema, BaseControlTypes, ControlsKeys } from '../../type';
|
|
5
|
+
import { BaseControlSchema, BaseControlTypes, ControlsKeys, MODE } from '../../type';
|
|
6
6
|
import { Rules } from 'async-validator';
|
|
7
7
|
import { COMMON_SETTING_TYPE } from '../../framework';
|
|
8
8
|
declare class Control {
|
|
9
|
+
static mode: MODE;
|
|
9
10
|
static readonly controlName: string;
|
|
10
11
|
static readonly controlIcon: string;
|
|
11
12
|
static readonly controlType: string;
|
|
@@ -38,8 +39,6 @@ declare class Control {
|
|
|
38
39
|
toSchema(): BaseControlSchema<ControlsKeys, Property>;
|
|
39
40
|
updateSetting: typeof updateSetting;
|
|
40
41
|
removeSetting: typeof removeSetting;
|
|
41
|
-
addSetting: typeof addSetting;
|
|
42
|
-
replaceSetting: typeof replaceSetting;
|
|
43
42
|
static updateBasicControl(key: 'setting', setting: {
|
|
44
43
|
add?: SettingOption[];
|
|
45
44
|
remove?: string[];
|
|
@@ -62,5 +61,3 @@ interface UpdateSettingOption {
|
|
|
62
61
|
}
|
|
63
62
|
declare function updateSetting(settingKey: string | string[], value: boolean): void;
|
|
64
63
|
declare function updateSetting(settingKey: string, value: boolean | UpdateSettingOption): void;
|
|
65
|
-
declare function addSetting(setting: SettingOption[] | SettingOption): void;
|
|
66
|
-
declare function replaceSetting(setting: SettingOption[]): void;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { RuleItem } from '../Validator';
|
|
2
2
|
import { BaseStyle } from '../../framework';
|
|
3
|
+
import { MODE } from 'type';
|
|
3
4
|
declare class PropertyRules {
|
|
4
5
|
[field: string]: RuleItem | RuleItem[];
|
|
5
6
|
isHide: RuleItem;
|
|
@@ -14,6 +15,7 @@ declare class PropertyRuntimeRules extends Array<RuleItem> {
|
|
|
14
15
|
* @public
|
|
15
16
|
*/
|
|
16
17
|
declare class Property {
|
|
18
|
+
static mode: MODE;
|
|
17
19
|
static readonly Rules: typeof PropertyRules;
|
|
18
20
|
static readonly RuntimeRules: typeof PropertyRuntimeRules;
|
|
19
21
|
/**
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import Property, { PropertyRuntimeRules } from './property';
|
|
2
2
|
import { CustomEventItem, FieldTypes } from '@byteluck-fe/model-driven-shared';
|
|
3
|
-
import { ControlsKeys, BaseControlSchema, BaseControlTypes } from '../../type';
|
|
3
|
+
import { ControlsKeys, BaseControlSchema, BaseControlTypes, MODE } from '../../type';
|
|
4
4
|
import { PAGE_STATUS } from '../../framework';
|
|
5
5
|
declare class Control {
|
|
6
|
+
static mode: MODE;
|
|
6
7
|
static readonly controlType: string;
|
|
7
8
|
static readonly controlFieldType: FieldTypes;
|
|
8
9
|
static readonly __is_control__ = true;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { MODE } from '../type';
|
|
1
2
|
export declare function setPropertyDontEnum<T extends object>(obj: T, property: string): void;
|
|
2
3
|
export declare function defineParent<T extends object>(control: T & {
|
|
3
4
|
parent: any;
|
|
4
|
-
}, parent: T | null): void;
|
|
5
|
+
}, parent: T | null, mode?: MODE): void;
|
|
5
6
|
export declare function defineArrayParent<T extends object & {
|
|
6
7
|
parent: any;
|
|
7
|
-
}>(controls: T[], parent: T | null): void;
|
|
8
|
-
export declare function defineControlArrayToProperty<T>(obj: object, property: string, initialValue?: T[], parent?: object): void;
|
|
8
|
+
}>(controls: T[], parent: T | null, mode?: MODE): void;
|
|
9
|
+
export declare function defineControlArrayToProperty<T>(obj: object, property: string, initialValue?: T[], parent?: object, mode?: MODE): void;
|
|
@@ -7,7 +7,7 @@ declare class ListControlProperty<Mode extends MODE | 'Schema', Control extends
|
|
|
7
7
|
footers?: Control[];
|
|
8
8
|
constructor(parent: DesignerListControl | RuntimeListControl, props?: Partial<ListControlProperty<Mode> & {
|
|
9
9
|
headers: Control[];
|
|
10
|
-
}
|
|
10
|
+
}>, mode?: MODE);
|
|
11
11
|
}
|
|
12
12
|
export default ListControlProperty;
|
|
13
13
|
export { ListControlProperty };
|
|
@@ -7,7 +7,7 @@ declare const messages: {
|
|
|
7
7
|
range: string;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
10
|
-
type Messages = Partial<typeof messages>;
|
|
10
|
+
declare type Messages = Partial<typeof messages>;
|
|
11
11
|
declare function createValidator(rules: Rules, newMessages?: Messages): Schema & {
|
|
12
12
|
messages: (messages: Messages) => Messages;
|
|
13
13
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { Watcher } from '@byteluck-fe/model-driven-shared';
|
|
2
|
-
type EmitterKeys = 'preInstance' | 'postInstance' | 'preUpdateProps' | 'postUpdateProps' | 'preValidate' | 'preToSchema';
|
|
2
|
+
declare type EmitterKeys = 'preInstance' | 'postInstance' | 'preUpdateProps' | 'postUpdateProps' | 'preValidate' | 'preToSchema';
|
|
3
3
|
declare const controlHooksEmitter: Watcher<EmitterKeys>;
|
|
4
4
|
export { controlHooksEmitter };
|