@byteluck-fe/model-driven-controls 1.7.0 → 1.8.0-beta.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (101) hide show
  1. package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -1
  2. package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -1
  3. package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -1
  4. package/dist/esm/baseControls/BatchSubmissionListButton/property.js +1 -1
  5. package/dist/esm/baseControls/Button/designer.js +1 -1
  6. package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -1
  7. package/dist/esm/baseControls/Dashboard/designer.js +3 -3
  8. package/dist/esm/baseControls/Divider/designer.js +1 -1
  9. package/dist/esm/baseControls/ExportListButton/designer.js +1 -1
  10. package/dist/esm/baseControls/ExportListButton/property.js +1 -1
  11. package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -1
  12. package/dist/esm/baseControls/FormSelectButton/designer.js +1 -1
  13. package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -1
  14. package/dist/esm/baseControls/InvoiceCheckButton/designer.js +3 -3
  15. package/dist/esm/baseControls/Link/designer.js +1 -1
  16. package/dist/esm/baseControls/ListSelectButton/designer.js +1 -1
  17. package/dist/esm/baseControls/ListViewSelect/designer.js +1 -1
  18. package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -1
  19. package/dist/esm/baseControls/Text/designer.js +1 -1
  20. package/dist/esm/baseControls/TextOcrButton/designer.js +3 -3
  21. package/dist/esm/baseControls/Title/designer.js +1 -1
  22. package/dist/esm/baseControls/Title/property.js +1 -1
  23. package/dist/esm/columnControls/ArrayColumn/designer.js +1 -1
  24. package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -1
  25. package/dist/esm/columnControls/CustomColumn/designer.js +1 -1
  26. package/dist/esm/columnControls/DecimalColumn/designer.js +2 -2
  27. package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -1
  28. package/dist/esm/columnControls/EmployeeColumn/designer.js +2 -2
  29. package/dist/esm/columnControls/FileColumn/designer.js +1 -1
  30. package/dist/esm/columnControls/ImageColumn/designer.js +1 -1
  31. package/dist/esm/columnControls/LocationColumn/designer.js +1 -1
  32. package/dist/esm/columnControls/OperationColumn/designer.js +8 -5
  33. package/dist/esm/columnControls/OperationColumn/property.js +58 -67
  34. package/dist/esm/columnControls/PeopleColumn/designer.js +1 -1
  35. package/dist/esm/columnControls/TextColumn/designer.js +1 -1
  36. package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -1
  37. package/dist/esm/columnControls/TimestampColumn/designer.js +1 -1
  38. package/dist/esm/columnControls/VarcharColumn/designer.js +1 -1
  39. package/dist/esm/formControls/Address/designer.js +3 -3
  40. package/dist/esm/formControls/Amount/designer.js +4 -4
  41. package/dist/esm/formControls/Amount/property.js +2 -2
  42. package/dist/esm/formControls/Attachment/designer.js +3 -3
  43. package/dist/esm/formControls/AutoNumber/designer.js +3 -3
  44. package/dist/esm/formControls/Calc/designer.js +4 -4
  45. package/dist/esm/formControls/Calc/property.js +1 -1
  46. package/dist/esm/formControls/Checkbox/designer.js +3 -3
  47. package/dist/esm/formControls/Checkbox/property.js +1 -1
  48. package/dist/esm/formControls/DatePicker/designer.js +3 -3
  49. package/dist/esm/formControls/DateRange/designer.js +3 -3
  50. package/dist/esm/formControls/Department/designer.js +3 -3
  51. package/dist/esm/formControls/Department2/designer.js +4 -4
  52. package/dist/esm/formControls/Department2/property.js +1 -1
  53. package/dist/esm/formControls/ElectronicSignature/designer.js +2 -2
  54. package/dist/esm/formControls/Employee/designer.js +3 -3
  55. package/dist/esm/formControls/Employee2/designer.js +4 -4
  56. package/dist/esm/formControls/Employee2/property.js +1 -1
  57. package/dist/esm/formControls/Image/designer.js +3 -3
  58. package/dist/esm/formControls/Input/designer.js +3 -3
  59. package/dist/esm/formControls/Input/property.js +1 -1
  60. package/dist/esm/formControls/Number/designer.js +4 -4
  61. package/dist/esm/formControls/Number/property.js +1 -1
  62. package/dist/esm/formControls/Radio/designer.js +3 -3
  63. package/dist/esm/formControls/Radio/property.js +1 -1
  64. package/dist/esm/formControls/RichText/designer.js +3 -3
  65. package/dist/esm/formControls/Score/designer.js +3 -3
  66. package/dist/esm/formControls/Score/property.js +1 -1
  67. package/dist/esm/formControls/SearchDateRange/designer.js +3 -3
  68. package/dist/esm/formControls/SearchInput/designer.js +2 -2
  69. package/dist/esm/formControls/SearchNumberRange/designer.js +3 -3
  70. package/dist/esm/formControls/Select/designer.js +3 -3
  71. package/dist/esm/formControls/Select/property.js +1 -1
  72. package/dist/esm/formControls/SelectMultiple/designer.js +3 -3
  73. package/dist/esm/formControls/SelectMultiple/property.js +1 -1
  74. package/dist/esm/formControls/SelectRelation/designer.js +3 -3
  75. package/dist/esm/formControls/SelectRelation/property.js +2 -2
  76. package/dist/esm/formControls/Textarea/designer.js +3 -3
  77. package/dist/esm/formControls/Tree/designer.js +4 -4
  78. package/dist/esm/formControls/Tree/property.js +2 -2
  79. package/dist/esm/formControls/VueFormItem/designer.js +3 -3
  80. package/dist/esm/formControls/WPS/designer.js +4 -4
  81. package/dist/esm/layoutControls/AdvancedContainer/Setting.js +3 -3
  82. package/dist/esm/layoutControls/CardGroup/designer.js +1 -1
  83. package/dist/esm/layoutControls/Col/designer.js +1 -1
  84. package/dist/esm/layoutControls/GridTableColumn/designer.js +2 -2
  85. package/dist/esm/layoutControls/ListView/designer.js +3 -2
  86. package/dist/esm/layoutControls/Page/Setting.js +4 -4
  87. package/dist/esm/layoutControls/PositioningContainer/Setting.js +3 -3
  88. package/dist/esm/layoutControls/Row/designer.js +1 -1
  89. package/dist/esm/layoutControls/SubTableColumn/designer.js +2 -2
  90. package/dist/esm/layoutControls/SubTableRow/designer.js +2 -2
  91. package/dist/esm/layoutControls/Tab/designer.js +1 -1
  92. package/dist/esm/layoutControls/TabPane/designer.js +1 -1
  93. package/dist/esm/layoutControls/Toolbox/designer.js +2 -2
  94. package/dist/esm/layoutControls/Toolbox/runtime.js +1 -1
  95. package/dist/esm/listControls/GridTable/designer.js +118 -18
  96. package/dist/esm/listControls/SubTable/designer.js +5 -5
  97. package/dist/esm/listControls/SubTable/property.js +1 -1
  98. package/dist/esm/searchControls/SimpleSearch/designer.js +1 -1
  99. package/dist/index.umd.js +1 -1
  100. package/dist/types/columnControls/OperationColumn/property.d.ts +5 -13
  101. package/package.json +5 -5
package/dist/index.umd.js CHANGED
@@ -1 +1 @@
1
- var y0=Object.defineProperty,m0=Object.defineProperties;var v0=Object.getOwnPropertyDescriptors;var lc=Object.getOwnPropertySymbols,g0=Object.getPrototypeOf,b0=Object.prototype.hasOwnProperty,E0=Object.prototype.propertyIsEnumerable,C0=Reflect.get;var oc=(h,O,$)=>O in h?y0(h,O,{enumerable:!0,configurable:!0,writable:!0,value:$}):h[O]=$,we=(h,O)=>{for(var $ in O||(O={}))b0.call(O,$)&&oc(h,$,O[$]);if(lc)for(var $ of lc(O))E0.call(O,$)&&oc(h,$,O[$]);return h},Si=(h,O)=>m0(h,v0(O));var cc=(h,O,$)=>C0(g0(h),$,O);var sc=(h,O,$)=>new Promise((ue,nn)=>{var _i=de=>{try{at($.next(de))}catch(lt){nn(lt)}},Ri=de=>{try{at($.throw(de))}catch(lt){nn(lt)}},at=de=>de.done?ue(de.value):Promise.resolve(de.value).then(_i,Ri);at(($=$.apply(h,O)).next())});(function(h,O){typeof exports=="object"&&typeof module!="undefined"?O(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],O):(h=typeof globalThis!="undefined"?globalThis:h||self,O(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,O){"use strict";function $(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ue=$(O),nn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",_i="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ri="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",at="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",lt="{caption}\u5FC5\u586B",dc="\u8BF7\u8F93\u5165\u6807\u9898",fc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",hc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",yc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",mc="\u8BF7\u7ED1\u5B9A\u8868\u5355",vc="\u8BF7\u7ED1\u5B9A\u5217\u8868",gc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",bc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Ec="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Cc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ic="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",wc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ac="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Sc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",_c="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Rc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Bc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Tc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Pc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Dc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",xc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Fc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Oc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",kc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Nc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Mc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",$c="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Lc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Vc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Hc="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",jc="\u8BF7\u9009\u62E9\u7701",qc="\u8BF7\u9009\u62E9\u5E02",Uc="\u8BF7\u9009\u62E9\u533A",Wc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Kc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",zc="\u8BF7\u8F93\u5165\u5217\u5BBD",Gc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Xc="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Qc="\u8BF7\u9009\u62E9\u63A7\u4EF6",Jc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Zc="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Yc="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",pc="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",es="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ts="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",is="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",us="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",as="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ls="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",os="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",cs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ss="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ds="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",fs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",hs="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ys="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ms="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",vs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",gs={isNotNumber:nn,isNotString:_i,isNotObject:Ri,isNotArray:at,isNotBoolean:de,runtimeRequired:lt,pleaseEnterCaption:dc,pleaseEnterCaptionTip:fc,pleaseEnterPlaceholder:hc,pleaseEnterFieldCode:yc,pleaseEnterForm:mc,pleaseEnterList:vc,pleaseEnterProcess:gc,pleaseEnterLabel:bc,pleaseEnterValue:Ec,bizKeyNotBindFiled:Cc,pleaseEnterNumberRange:Ic,pleaseEnterAValueGreaterThanMin:wc,pleaseEnterAValueLessThanMax:Ac,numberRangeSetError:Sc,stringRangeError:_c,attachmentMaxSize:Rc,pleaseEnterTotalScoreSetting:Bc,theTotalScoreMustNotBeLessThan1:Tc,scoreDefaultValueRange:Pc,attachmentLimitError:Dc,PleaseReselectTheOptionalQuantity:xc,TheMaximumLengthIsGreaterThanTheMinimumLength:Fc,TheMinimumLengthIsGreaterThanTheMaximumLength:Oc,PleaseSelectTheCorrectOptionSettings:kc,optionIdIsRepeat:Nc,optionIsRequired:Mc,pleaseEnterDataCode:$c,pleaseEnterValueFieldCode:Lc,pleaseEnterSvcCode:Vc,pleaseBindAtLeastOneDisplayValue:Hc,pleaseSelectProvince:jc,pleaseSelectCity:qc,pleaseSelectDistrict:Uc,limitRowsCannotBeLessThan0:Wc,TheNumberOfRowsCannotBeLessThanMinRows:Kc,pleaseEnterColumnWidth:zc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Gc,pleaseCompleteAllRulesAndConditions:Xc,pleaseSelectControl:Qc,pleaseSelectAtLeastOneColumn:Jc,pleaseSelectFillBackMode:Zc,pleaseSelectDashboard:Yc,rootNodeIsRequired:pc,theViewNameCannotBeEmpty:es,pleaseSelectOcrType:ts,pleaseSelectAtLeastOneFieldToFillIn:ns,pleaseChooseAtLeastOne:is,pleaseEnterButtonContent:us,pleaseEnterDataCodeInDataSetting:rs,pleaseEnterValueFieldCodeInDataSetting:as,pleaseEnterSvcCodeInDataSetting:ls,pleaseBindAtLeastOneDisplayValueInDataSetting:os,rootNodeIsRequiredInDataSetting:cs,pleaseEnterMaxHeight:ss,pleaseEnter:ds,pleaseEnterWatermark:fs,pleaseEnterFileName:hs,pleaseUploadAtLeastOnePrintTemplate:ys,pleaseAssignBusiness:ms,pleaseAssignExternal:vs},bs="Please enter a number",Es="Please enter a string",Cs="Please enter an object",Is="Please enter an array",ws="Please enter a boolean",As="{caption} Required",Ss="Please enter the title",_s="Please enter the bubble prompt",Rs="Please enter the prompt text",Bs="Please bind data items",Ts="Please bind the form",Ps="Please bind the list",Ds="Please bind the process",xs="Please enter the displayed value",Fs="Please enter the stored value",Os="The document number is not bound to the data item",ks="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ns="Please enter a value greater than or equal to {min}",Ms="Please enter a value less than or equal to {max}",$s="The value range is set incorrectly",Ls="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Vs="The attachment size must be between 0MB and 1000MB",Hs="Please fill in the total score setting",js="The total score cannot be less than 1",qs="The default value must be between {min} and {max}",Us="The number of attachments uploaded must be between {min} and {max}",Ws="Please re-select the optional quantity",Ks="The maximum length of the control must be greater than the minimum length",zs="The minimum length of the control must be less than the maximum length",Gs="Please select the correct option setting",Xs="Option ID cannot be repeated",Qs="Please enter at least one option",Js="Please bind the data source",Zs="Please bind the stored value",Ys="Please bind the service",ps="At least one display value must be bound",ed="Please select a province",td="Please select a city",nd="Please select a district",id="The minimum number of lines to fill in cannot be less than 0",ud="The number of rows cannot be less than {min} rows",rd="Please enter the column width",ad="Please set the logical relationship of all rule conditions",ld="Please complete all rules and conditions",od="please select control",cd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",sd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",dd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",fd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",hd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",yd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",vd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",bd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ed="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Cd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Id="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",wd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Ad="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Sd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",_d="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Rd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Bd={isNotNumber:bs,isNotString:Es,isNotObject:Cs,isNotArray:Is,isNotBoolean:ws,runtimeRequired:As,pleaseEnterCaption:Ss,pleaseEnterCaptionTip:_s,pleaseEnterPlaceholder:Rs,pleaseEnterFieldCode:Bs,pleaseEnterForm:Ts,pleaseEnterList:Ps,pleaseEnterProcess:Ds,pleaseEnterLabel:xs,pleaseEnterValue:Fs,bizKeyNotBindFiled:Os,pleaseEnterNumberRange:ks,pleaseEnterAValueGreaterThanMin:Ns,pleaseEnterAValueLessThanMax:Ms,numberRangeSetError:$s,stringRangeError:Ls,attachmentMaxSize:Vs,pleaseEnterTotalScoreSetting:Hs,theTotalScoreMustNotBeLessThan1:js,scoreDefaultValueRange:qs,attachmentLimitError:Us,PleaseReselectTheOptionalQuantity:Ws,TheMaximumLengthIsGreaterThanTheMinimumLength:Ks,TheMinimumLengthIsGreaterThanTheMaximumLength:zs,PleaseSelectTheCorrectOptionSettings:Gs,optionIdIsRepeat:Xs,optionIsRequired:Qs,pleaseEnterDataCode:Js,pleaseEnterValueFieldCode:Zs,pleaseEnterSvcCode:Ys,pleaseBindAtLeastOneDisplayValue:ps,pleaseSelectProvince:ed,pleaseSelectCity:td,pleaseSelectDistrict:nd,limitRowsCannotBeLessThan0:id,TheNumberOfRowsCannotBeLessThanMinRows:ud,pleaseEnterColumnWidth:rd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ad,pleaseCompleteAllRulesAndConditions:ld,pleaseSelectControl:od,pleaseSelectDashboard:cd,theViewNameCannotBeEmpty:sd,pleaseSelectOcrType:dd,pleaseSelectAtLeastOneFieldToFillIn:fd,pleaseChooseAtLeastOne:hd,pleaseEnterButtonContent:yd,pleaseEnterDataCodeInDataSetting:md,pleaseEnterValueFieldCodeInDataSetting:vd,pleaseEnterSvcCodeInDataSetting:gd,pleaseBindAtLeastOneDisplayValueInDataSetting:bd,rootNodeIsRequiredInDataSetting:Ed,pleaseEnterMaxHeight:Cd,pleaseEnter:Id,pleaseEnterWatermark:wd,pleaseEnterFileName:Ad,pleaseUploadAtLeastOnePrintTemplate:Sd,pleaseAssignBusiness:_d,pleaseAssignExternal:Rd},Td="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xd="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Od="{caption}\u5FC5\u9808",kd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Md="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$d="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ld="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vd="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hd="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jd="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ud="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Wd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zd="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gd="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Xd="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qd="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Zd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yd="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",pd="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ef="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tf="\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",nf="\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",uf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",af="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",lf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",of="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",cf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",df="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ff="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",mf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",vf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",bf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Ef="please select control",Cf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",If="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",wf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Af="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Sf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",_f="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Bf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Tf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Pf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Df="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",xf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ff="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Of="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",kf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Mf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$f="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Lf={isNotNumber:Td,isNotString:Pd,isNotObject:Dd,isNotArray:xd,isNotBoolean:Fd,runtimeRequired:Od,pleaseEnterCaption:kd,pleaseEnterCaptionTip:Nd,pleaseEnterPlaceholder:Md,pleaseEnterFieldCode:$d,pleaseEnterForm:Ld,pleaseEnterList:Vd,pleaseEnterProcess:Hd,pleaseEnterLabel:jd,pleaseEnterValue:qd,bizKeyNotBindFiled:Ud,pleaseEnterNumberRange:Wd,pleaseEnterAValueGreaterThanMin:Kd,pleaseEnterAValueLessThanMax:zd,numberRangeSetError:Gd,stringRangeError:Xd,attachmentMaxSize:Qd,pleaseEnterTotalScoreSetting:Jd,theTotalScoreMustNotBeLessThan1:Zd,scoreDefaultValueRange:Yd,attachmentLimitError:pd,PleaseReselectTheOptionalQuantity:ef,TheMaximumLengthIsGreaterThanTheMinimumLength:tf,TheMinimumLengthIsGreaterThanTheMaximumLength:nf,PleaseSelectTheCorrectOptionSettings:uf,optionIdIsRepeat:rf,optionIsRequired:af,pleaseEnterDataCode:lf,pleaseEnterValueFieldCode:of,pleaseEnterSvcCode:cf,pleaseBindAtLeastOneDisplayValue:sf,pleaseSelectProvince:df,pleaseSelectCity:ff,pleaseSelectDistrict:hf,limitRowsCannotBeLessThan0:yf,TheNumberOfRowsCannotBeLessThanMinRows:mf,pleaseEnterColumnWidth:vf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gf,pleaseCompleteAllRulesAndConditions:bf,pleaseSelectControl:Ef,pleaseSelectDashboard:Cf,theViewNameCannotBeEmpty:If,pleaseSelectOcrType:wf,pleaseSelectAtLeastOneFieldToFillIn:Af,pleaseChooseAtLeastOne:Sf,pleaseEnterButtonContent:_f,pleaseEnterDataCodeInDataSetting:Rf,pleaseEnterValueFieldCodeInDataSetting:Bf,pleaseEnterSvcCodeInDataSetting:Tf,pleaseBindAtLeastOneDisplayValueInDataSetting:Pf,rootNodeIsRequiredInDataSetting:Df,pleaseEnterMaxHeight:xf,pleaseEnter:Ff,pleaseEnterWatermark:Of,pleaseEnterFileName:kf,pleaseUploadAtLeastOnePrintTemplate:Nf,pleaseAssignBusiness:Mf,pleaseAssignExternal:$f},Vf={zhCN:gs,enUS:Bd,jaJP:Lf},Br;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Br||(Br={}));var Tr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Tr||(Tr={}));var Hf="zh-CN";function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Pr;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Pr||(Pr={}));var A;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(A||(A={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var G;G={},p(G,v.ARRAY,A.ARRAY_COLUMN),p(G,v.AUTO_NUMBER,A.AUTO_NUMBER_COLUMN),p(G,v.DECIMAL,A.DECIMAL_COLUMN),p(G,v.DEPARTMENTS,A.DEPARTMENT_COLUMN),p(G,v.FILE,A.FILE_COLUMN),p(G,v.IMAGE,A.IMAGE_COLUMN),p(G,v.ADDRESS,A.LOCATION_COLUMN),p(G,v.EMPLOYEES,A.EMPLOYEE_COLUMN),p(G,v.TEXT,A.TEXT_COLUMN),p(G,v.TIMESCOPE,A.TIMESCOPE_COLUMN),p(G,v.TIMESTAMP,A.TIMESTAMP_COLUMN),p(G,v.VARCHAR,A.VARCHAR_COLUMN),p(G,v.RELATION,A.VARCHAR_COLUMN);var me;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(me||(me={}));var Dr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",jf=Dr+"0123456789";function oe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?Dr:jf,r=Math.random()*u.length;e+=u[parseInt(String(r),10)]}return e}function Bi(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 qf(t){if(Array.isArray(t))return Bi(t)}function Uf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wf(){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 un(t,e,n){return Wf()?un=Reflect.construct:un=function(r,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(r,o),d=new s;return l&&ct(d,l.prototype),d},un.apply(null,arguments)}function ot(t){return ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ot(t)}function Fr(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&&ct(t,e)}function Kf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zf(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gf(){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 Xf(t,e){return e&&(Qf(e)==="object"||typeof e=="function")?e:Uf(t)}function ct(t,e){return ct=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},ct(t,e)}function Or(t){return qf(t)||zf(t)||Jf(t)||Gf()}var Qf=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Jf(t,e){if(!!t){if(typeof t=="string")return Bi(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 Bi(t,e)}}function Ti(t){var e=typeof Map=="function"?new Map:void 0;return Ti=function(u){if(u===null||!Kf(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,r)}function r(){return un(u,arguments,ot(this).constructor)}return r.prototype=Object.create(u.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ct(r,u)},Ti(t)}function Zf(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function kr(t){var e=Zf();return function(){var u=ot(t),r;if(e){var a=ot(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Xf(this,r)}}var Pi=console;function Yf(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,r=e.slice(1);(u=Pi).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Or(r)))}function Nr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,r=e.slice(1);(u=Pi).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Or(r)))}function pf(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Di=function(t){Fr(n,t);var e=kr(n);function n(u){xr(this,n);var r;return r=e.call(this,u),r.name="\u{1F4A5} Driven Error",r.message=u?pf(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",r}return n}(Ti(Error)),eh=function(t){Fr(n,t);var e=kr(n);function n(u){xr(this,n);var r;return r=e.call(this,u),r.name="\u{1F6A8} Driven Reference Error",r}return n}(Di);function Mr(t){throw new Di(t)}function $r(t){throw new eh(t)}function th(t){Pi.error(new Di(t))}var nh=Object.prototype.toString;function Lr(t,e){return nh.call(t)==="[object "+e+"]"}function ih(t){return Lr(t,"String")}function uh(t){return Lr(t,"Promise")}var rh=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();uh(u)?u.then(function(r){n._messageCache.clear(),n.messages[n.localeInMessageKey]=r}):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 r=this.getMessage(e);return r?this.formatMessage(r,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(r,a,l,o){if(r!==void 0){var s=r[a];if(!(l===o.length-1&&!ih(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,r){var a=n[r];return a!==void 0?String(a):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 ah(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){ah(this,t)}return t.getMessage=function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Hf;return new rh({locale:n,messages:Vf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function lh(t,e,n){var u=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),r=!1;return u.reduce(function(a,l,o,s){var d=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Yf("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return o===s.length-1&&!Object.is(d[l],n)&&(d[l]=n,r=!0),d[l]}},t),r}var oh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ch={exports:{}};(function(t){(function(e){var n=function(y,I,j){if(!d(I)||g(I)||b(I)||C(I)||s(I))return I;var w,F=0,ie=0;if(m(I))for(w=[],ie=I.length;F<ie;F++)w.push(n(y,I[F],j));else{w={};for(var x in I)Object.prototype.hasOwnProperty.call(I,x)&&(w[y(x,j)]=n(y,I[x],j))}return w},u=function(y,I){I=I||{};var j=I.separator||"_",w=I.split||/(?=[A-Z])/;return y.split(w).join(j)},r=function(y){return S(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(I,j){return j?j.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},a=function(y){var I=r(y);return I.substr(0,1).toUpperCase()+I.substr(1)},l=function(y,I){return u(y,I).toLowerCase()},o=Object.prototype.toString,s=function(y){return typeof y=="function"},d=function(y){return y===Object(y)},m=function(y){return o.call(y)=="[object Array]"},g=function(y){return o.call(y)=="[object Date]"},b=function(y){return o.call(y)=="[object RegExp]"},C=function(y){return o.call(y)=="[object Boolean]"},S=function(y){return y=y-0,y===y},E=function(y,I){var j=I&&"process"in I?I.process:I;return typeof j!="function"?y:function(w,F){return j(w,y,F)}},_={camelize:r,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(y,I){return n(E(r,I),y)},decamelizeKeys:function(y,I){return n(E(l,I),y,I)},pascalizeKeys:function(y,I){return n(E(a,I),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})(oh)})(ch);function ve(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function sh(t){return Object.prototype.toString.call(t)==="[object Object]"}function xi(t){return Array.isArray(t)}function dh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fi(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 fh(t){if(Array.isArray(t))return Fi(t)}function Vr(t,e,n,u,r,a,l){try{var o=t[a](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,r)}function hh(t){return function(){var e=this,n=arguments;return new Promise(function(u,r){var a=t.apply(e,n);function l(s){Vr(a,u,r,l,o,"next",s)}function o(s){Vr(a,u,r,l,o,"throw",s)}l(void 0)})}}function yh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vh(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Oi(t){return fh(t)||mh(t)||gh(t)||vh()}function gh(t,e){if(!!t){if(typeof t=="string")return Fi(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 Fi(t,e)}}var bh=function(){function t(){yh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(u){for(var r=arguments.length,a=new Array(r>1?r-1:0),l=1;l<r;l++)a[l-1]=arguments[l];var o=this;return hh(ue.default.mark(function s(){var d,m,g,b,C,S,E,_,y,I;return ue.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(d=o._events.get(u),m=[],!d){w.next=42;break}g=d.slice(),b=!0,C=!1,S=void 0,w.prev=5,E=g[Symbol.iterator]();case 7:if(b=(_=E.next()).done){w.next=28;break}if(y=_.value,d.includes(y)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,o.debug&&Nr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(y.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+y.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Oi(a))),w.next=15,y.apply(null,Oi(a));case 15:if(I=w.sent,o.debug&&Nr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(u," \u4E8B\u4EF6: ").concat(y.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+y.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(Oi(a),[I])),m.push(I),I!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),th(String(w.t0));case 25:b=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),C=!0,S=w.t1;case 34:w.prev=34,w.prev=35,!b&&E.return!=null&&E.return();case 37:if(w.prev=37,!C){w.next=40;break}throw S;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",m);case 43:case"end":return w.stop()}},s,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()},e.on=function(u,r){if(this._events.has(u)){var a;(a=this._events.get(u))===null||a===void 0||a.push(r)}else this._events.set(u,[r])},e.off=function(u,r){if(this._events.has(u)){var a=this._events.get(u),l=a==null?void 0:a.indexOf(r);a==null||a.splice(l,1)}},e.delete=function(u){this._events.has(u)&&this._events.delete(u)},e.clear=function(){this._events=new Map},t}(),Eh=[];new Set(Eh.map(function(t){return t.Designer.controlType}));function Hr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rn(t){return rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},rn(t)}function fe(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&&ki(t,e)}function jr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ch(t,e){return e&&(Ih(e)==="object"||typeof e=="function")?e:Hr(t)}function ki(t,e){return ki=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},ki(t,e)}var Ih=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function wh(){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 he(t){var e=wh();return function(){var u=rn(t),r;if(e){var a=rn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Ch(this,r)}}var ae=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:""},Ni=function t(e){B(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:""},Ah=function(t){fe(n,t);var e=he(n);function n(u){B(this,n);var r;r=e.call(this,u);var a;return r.primaryControlId=(a=u==null?void 0:u.primaryControlId)!==null&&a!==void 0?a:"",r}return n}(Ni),qr=function t(e){B(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Ur=function t(e){B(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new qr(l)}))!==null&&a!==void 0?a:[]},Sh=function t(e){B(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:v.VARCHAR},_h=function(t){fe(n,t);var e=he(n);function n(u){B(this,n);var r;r=e.call(this,u);var a;r.title=(a=u==null?void 0:u.title)!==null&&a!==void 0?a:"";var l;r.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;r.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return r.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],r}return n}(Ni),Rh=function t(e){B(this,t);var n,u;this.type="sublist-page",this.formBind=new Ni(e==null?void 0:e.formBind);var r;this.displayFields=(r=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new Sh(l)}))!==null&&r!==void 0?r:[];var a;this.sublists=(a=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(l){return new _h(l)}))!==null&&a!==void 0?a:[]},Bh=function t(e){B(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},st=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var r;this.displayBos=(r=e==null?void 0:e.displayBos)!==null&&r!==void 0?r:[]},Th=function t(e){var n=this;B(this,t),this.type="conditions";var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:oe();var r;this.ruleId=(r=e==null?void 0:e.ruleId)!==null&&r!==void 0?r:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=n.children)===null||s===void 0||s.push(d)}else{var m,g=new Wr(o);(m=n.children)===null||m===void 0||m.push(g)}}))},Wr=function t(e){B(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var r;this.symbol=(r=e==null?void 0:e.symbol)!==null&&r!==void 0?r:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new Bh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new st(e==null?void 0:e.rightVariableBo)},ee=function t(e){B(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var r;this.fieldType=(r=e==null?void 0:e.fieldType)!==null&&r!==void 0?r:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Mi=function t(e){B(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},Ph=function t(e){B(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function $i(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Th(l):new Wr(l)}))!==null&&n!==void 0?n:[],jr(this,X)||jr(this,Li)){var u,r,a;this.orders=(a=(u=t)===null||u===void 0||(r=u.orders)===null||r===void 0?void 0:r.map(function(l){return new Ph(l)}))!==null&&a!==void 0?a:[]}}var X=function t(e){var n=this;B(this,t);var u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var d;(d=n.displayBoList)===null||d===void 0||d.push(new Mi(s))}));var l;this.showOrder=(l=e==null?void 0:e.showOrder)!==null&&l!==void 0?l:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",$i.call(this,e)},Dh=function t(e){B(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var r;this.key=(r=e==null?void 0:e.key)!==null&&r!==void 0?r:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Mi(l)}))!==null&&a!==void 0?a:[]},an=function(t){fe(n,t);var e=he(n);function n(u){B(this,n);var r,a;r=e.call(this,u);var l;return r.attributes=(l=u==null||(a=u.attributes)===null||a===void 0?void 0:a.map(function(o){return new Dh(o)}))!==null&&l!==void 0?l:[],r}return n}(X),xh=function(t){fe(n,t);var e=he(n);function n(u){B(this,n);var r;return r=e.call(this,u),r.rootNode=new st(u==null?void 0:u.rootNode),r}return n}(an),Kr=function t(e){B(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var r;this.appId=(r=e==null?void 0:e.appId)!==null&&r!==void 0?r:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&a!==void 0?a:[]},Li=function(t){fe(n,t);var e=he(n);function n(u){B(this,n);var r;return r=e.call(this,u),$i.call(Hr(r),u),r}return n}(Kr),zr=function(t){fe(n,t);var e=he(n);function n(u){B(this,n);var r;r=e.call(this,u);var a;r.mode=(a=u==null?void 0:u.mode)!==null&&a!==void 0?a:"current";var l;return r.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,r}return n}(Kr),Gr=function t(e){B(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var r;this.errMessage=(r=e==null?void 0:e.errMessage)!==null&&r!==void 0?r:""},Fh=function t(e){B(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:this.label};function ye(t){var e;return(e=t==null?void 0:t.map(function(n){return new Fh(n)}))!==null&&e!==void 0?e:[]}var Vi=function t(){B(this,t)},Oh=function(t){fe(n,t);var e=he(n);function n(u){B(this,n);var r;return r=e.call(this),r.amount=new ae(u==null?void 0:u.amount),r.currency=new ae(u==null?void 0:u.currency),r}return n}(Vi),kh=function t(e){B(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:ln.CNY},Nh=function(t){fe(n,t);var e=he(n);function n(u){B(this,n);var r;return r=e.call(this),r.min=new ae(u==null?void 0:u.min),r.max=new ae(u==null?void 0:u.max),r}return n}(Vi),Mh=function t(e){B(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},$h=function t(e){B(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var r;this.district=(r=e==null?void 0:e.district)!==null&&r!==void 0?r:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},Lh=function(t){fe(n,t);var e=he(n);function n(u){B(this,n);var r;return r=e.call(this),r.result=new ae(u==null?void 0:u.result),r.unit=new ae(u==null?void 0:u.unit),r}return n}(Vi),Vh=function t(e){B(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},ln;(function(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"})(ln||(ln={}));var c;(function(t){t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var Hi;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Hi||(Hi={}));var re=function t(e){B(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:oe(8);var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var r;this.isShow=(r=e==null?void 0:e.isShow)!==null&&r!==void 0?r:!0,this.invalidType=e==null?void 0:e.invalidType,this.condition=e==null?void 0:e.condition;var a;this.content=(a=e==null?void 0:e.content)!==null&&a!==void 0?a:"";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:"",this.icon=e==null?void 0:e.icon,this.showType=e==null?void 0:e.showType;var o;this.openType=(o=e==null?void 0:e.openType)!==null&&o!==void 0?o:"modal";var s;this.priorityProcess=(s=e==null?void 0:e.priorityProcess)!==null&&s!==void 0?s:!1,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage},Hh=function t(e){B(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:oe(8);var r;this.title=(r=e==null?void 0:e.title)!==null&&r!==void 0?r:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new qr(l)}))!==null&&a!==void 0?a:[],$i.call(this,e)},jh=function t(e){B(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var r;this.widthConfig=(r=e==null?void 0:e.widthConfig)!==null&&r!==void 0?r:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"};function qh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ji(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uh(){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 on(t,e,n){return Uh()?on=Reflect.construct:on=function(r,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(r,o),d=new s;return l&&ft(d,l.prototype),d},on.apply(null,arguments)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(t)}function Wh(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&&ft(t,e)}function Kh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function zh(t,e){return e&&(Gh(e)==="object"||typeof e=="function")?e:qh(t)}function ft(t,e){return ft=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},ft(t,e)}var Gh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qi(t){var e=typeof Map=="function"?new Map:void 0;return qi=function(u){if(u===null||!Kh(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,r)}function r(){return on(u,arguments,dt(this).constructor)}return r.prototype=Object.create(u.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),ft(r,u)},qi(t)}function Xh(){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 Qh(t){var e=Xh();return function(){var u=dt(t),r;if(e){var a=dt(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return zh(this,r)}}var q=function t(e){ji(this,t),this.isHide={type:"boolean"}},Ae=function(t){Wh(n,t);var e=Qh(n);function n(u){return ji(this,n),e.call(this)}return n}(qi(Array)),W=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ji(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new jh(e==null?void 0:e.style);var r;this.caption=(r=e==null?void 0:e.caption)!==null&&r!==void 0?r:n};W.Rules=q,W.RuntimeRules=Ae;function ce(){return ce=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},ce.apply(this,arguments)}function Jh(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ui(t){return Ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ui(t)}function cn(t,e){return cn=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},cn(t,e)}function Zh(){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 sn(t,e,n){return Zh()?sn=Reflect.construct:sn=function(r,a,l){var o=[null];o.push.apply(o,a);var s=Function.bind.apply(r,o),d=new s;return l&&cn(d,l.prototype),d},sn.apply(null,arguments)}function Yh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wi(t){var e=typeof Map=="function"?new Map:void 0;return Wi=function(u){if(u===null||!Yh(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,r)}function r(){return sn(u,arguments,Ui(this).constructor)}return r.prototype=Object.create(u.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),cn(r,u)},Wi(t)}var ph=/%[sdj%]/g,Xr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Xr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function Ki(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 te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,r=e[0],a=e.length;if(typeof r=="function")return r.apply(null,e.slice(1));if(typeof r=="string"){var l=String(r).replace(ph,function(o){if(o==="%%")return"%";if(u>=a)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return l}return r}function ey(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function L(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||ey(e)&&typeof t=="string"&&!t)}function ty(t,e,n){var u=[],r=0,a=t.length;function l(o){u.push.apply(u,o),r++,r===a&&n(u)}t.forEach(function(o){e(o,l)})}function Qr(t,e,n){var u=0,r=t.length;function a(l){if(l&&l.length){n(l);return}var o=u;u=u+1,o<r?e(t[o],a):n([])}a([])}function ny(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Jr=function(t){Jh(e,t);function e(n,u){var r;return r=t.call(this,"Async Validation Error")||this,r.errors=n,r.fields=u,r}return e}(Wi(Error));function iy(t,e,n,u){if(e.first){var r=new Promise(function(g,b){var C=function(_){return u(_),_.length?b(new Jr(_,Ki(_))):g()},S=ny(t);Qr(S,n,C)});return r.catch(function(g){return g}),r}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],m=new Promise(function(g,b){var C=function(E){if(d.push.apply(d,E),s++,s===o)return u(d),d.length?b(new Jr(d,Ki(d))):g()};l.length||(u(d),g()),l.forEach(function(S){var E=t[S];a.indexOf(S)!==-1?Qr(E,n,C):ty(E,n,C)})});return m.catch(function(g){return g}),m}function Zr(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 Yr(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]=ce(ce({},t[n]),u):t[n]=u}}return t}function pr(t,e,n,u,r,a){t.required&&(!n.hasOwnProperty(t.field)||L(e,a||t.type))&&u.push(te(r.messages.required,t.fullField))}function uy(t,e,n,u,r){(/^\s+$/.test(e)||e==="")&&u.push(te(r.messages.whitespace,t.fullField))}var zi={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},ht={integer:function(e){return ht.number(e)&&parseInt(e,10)===e},float:function(e){return ht.number(e)&&!ht.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"&&!ht.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(zi.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(zi.url)},hex:function(e){return typeof e=="string"&&!!e.match(zi.hex)}};function ry(t,e,n,u,r){if(t.required&&e===void 0){pr(t,e,n,u,r);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?ht[l](e)||u.push(te(r.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(te(r.messages.types[l],t.fullField,t.type))}function ay(t,e,n,u,r){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,m=null,g=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(g?m="number":b?m="string":C&&(m="array"),!m)return!1;C&&(d=e.length),b&&(d=e.replace(s,"_").length),a?d!==t.len&&u.push(te(r.messages[m].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(te(r.messages[m].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(te(r.messages[m].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(te(r.messages[m].range,t.fullField,t.min,t.max))}var We="enum";function ly(t,e,n,u,r){t[We]=Array.isArray(t[We])?t[We]:[],t[We].indexOf(e)===-1&&u.push(te(r.messages[We],t.fullField,t[We].join(", ")))}function oy(t,e,n,u,r){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(r.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||u.push(te(r.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:pr,whitespace:uy,type:ry,range:ay,enum:ly,pattern:oy};function cy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e,"string")&&!t.required)return n();R.required(t,e,u,a,r,"string"),L(e,"string")||(R.type(t,e,u,a,r),R.range(t,e,u,a,r),R.pattern(t,e,u,a,r),t.whitespace===!0&&R.whitespace(t,e,u,a,r))}n(a)}function sy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e)&&!t.required)return n();R.required(t,e,u,a,r),e!==void 0&&R.type(t,e,u,a,r)}n(a)}function dy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),L(e)&&!t.required)return n();R.required(t,e,u,a,r),e!==void 0&&(R.type(t,e,u,a,r),R.range(t,e,u,a,r))}n(a)}function fy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e)&&!t.required)return n();R.required(t,e,u,a,r),e!==void 0&&R.type(t,e,u,a,r)}n(a)}function hy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e)&&!t.required)return n();R.required(t,e,u,a,r),L(e)||R.type(t,e,u,a,r)}n(a)}function yy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e)&&!t.required)return n();R.required(t,e,u,a,r),e!==void 0&&(R.type(t,e,u,a,r),R.range(t,e,u,a,r))}n(a)}function my(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e)&&!t.required)return n();R.required(t,e,u,a,r),e!==void 0&&(R.type(t,e,u,a,r),R.range(t,e,u,a,r))}n(a)}function vy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();R.required(t,e,u,a,r,"array"),e!=null&&(R.type(t,e,u,a,r),R.range(t,e,u,a,r))}n(a)}function gy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e)&&!t.required)return n();R.required(t,e,u,a,r),e!==void 0&&R.type(t,e,u,a,r)}n(a)}var by="enum";function Ey(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e)&&!t.required)return n();R.required(t,e,u,a,r),e!==void 0&&R[by](t,e,u,a,r)}n(a)}function Cy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e,"string")&&!t.required)return n();R.required(t,e,u,a,r),L(e,"string")||R.pattern(t,e,u,a,r)}n(a)}function Iy(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e,"date")&&!t.required)return n();if(R.required(t,e,u,a,r),!L(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),R.type(t,o,u,a,r),o&&R.range(t,o.getTime(),u,a,r)}}n(a)}function wy(t,e,n,u,r){var a=[],l=Array.isArray(e)?"array":typeof e;R.required(t,e,u,a,r,l),n(a)}function Gi(t,e,n,u,r){var a=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(L(e,a)&&!t.required)return n();R.required(t,e,u,l,r,a),L(e,a)||R.type(t,e,u,l,r)}n(l)}function Ay(t,e,n,u,r){var a=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(L(e)&&!t.required)return n();R.required(t,e,u,a,r)}n(a)}var yt={string:cy,method:sy,number:dy,boolean:fy,regexp:hy,integer:yy,float:my,array:vy,object:gy,enum:Ey,pattern:Cy,date:Iy,url:Gi,hex:Gi,email:Gi,required:wy,any:Ay};function Xi(){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 Qi=Xi();function ge(t){this.rules=null,this._messages=Qi,this.define(t)}ge.prototype={messages:function(e){return e&&(this._messages=Yr(Xi(),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 r=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var a=e,l=n,o=u;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var _,y=[],I={};function j(w){if(Array.isArray(w)){var F;y=(F=y).concat.apply(F,w)}else y.push(w)}for(_=0;_<E.length;_++)j(E[_]);y.length?I=Ki(y):(y=null,I=null),o(y,I)}if(l.messages){var d=this.messages();d===Qi&&(d=Xi()),Yr(d,l.messages),l.messages=d}else l.messages=this.messages();var m,g,b={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){m=r.rules[E],g=a[E],m.forEach(function(_){var y=_;typeof y.transform=="function"&&(a===e&&(a=ce({},a)),g=a[E]=y.transform(g)),typeof y=="function"?y={validator:y}:y=ce({},y),y.validator=r.getValidationMethod(y),y.field=E,y.fullField=y.fullField||E,y.type=r.getType(y),y.validator&&(b[E]=b[E]||[],b[E].push({rule:y,value:g,source:a,field:E}))})});var S={};return iy(b,l,function(E,_){var y=E.rule,I=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");I=I&&(y.required||!y.required&&E.value),y.field=E.field;function j(ie,x){return ce(ce({},x),{},{fullField:y.fullField+"."+ie})}function w(ie){ie===void 0&&(ie=[]);var x=ie;if(Array.isArray(x)||(x=[x]),!l.suppressWarning&&x.length&&ge.warning("async-validator:",x),x.length&&y.message!==void 0&&(x=[].concat(y.message)),x=x.map(Zr(y)),l.first&&x.length)return S[y.field]=1,_(x);if(!I)_(x);else{if(y.required&&!E.value)return y.message!==void 0?x=[].concat(y.message).map(Zr(y)):l.error&&(x=[l.error(y,te(l.messages.required,y.field))]),_(x);var se={};if(y.defaultField)for(var rc in E.value)E.value.hasOwnProperty(rc)&&(se[rc]=y.defaultField);se=ce(ce({},se),E.rule.fields);for(var ut in se)if(se.hasOwnProperty(ut)){var h0=Array.isArray(se[ut])?se[ut]:[se[ut]];se[ut]=h0.map(j.bind(null,ut))}var ac=new ge(se);ac.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),ac.validate(E.value,E.rule.options||l,function(Rr){var rt=[];x&&x.length&&rt.push.apply(rt,x),Rr&&Rr.length&&rt.push.apply(rt,Rr),_(rt.length?rt:null)})}}var F;y.asyncValidator?F=y.asyncValidator(y,E.value,w,E.source,l):y.validator&&(F=y.validator(y,E.value,w,E.source,l),F===!0?w():F===!1?w(y.message||y.field+" fails"):F instanceof Array?w(F):F instanceof Error&&w(F.message)),F&&F.then&&F.then(function(){return w()},function(ie){return w(ie)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!yt.hasOwnProperty(e.type))throw new Error(te("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"?yt.required:yt[this.getType(e)]||!1}},ge.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");yt[e]=n},ge.warning=Xr,ge.messages=Qi,ge.validators=yt;var Sy={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 _y(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new ge(t);return n.messages(Object.assign(Sy,e)),n}var Ry=new bh;function Ji(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 By(t){if(Array.isArray(t))return t}function Ty(t){if(Array.isArray(t))return Ji(t)}function ea(t,e,n,u,r,a,l){try{var o=t[a](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,r)}function ta(t){return function(){var e=this,n=arguments;return new Promise(function(u,r){var a=t.apply(e,n);function l(s){ea(a,u,r,l,o,"next",s)}function o(s){ea(a,u,r,l,o,"throw",s)}l(void 0)})}}function Py(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function na(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 Dy(t,e,n){return e&&na(t.prototype,e),n&&na(t,n),t}function xy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ia(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ua(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fy(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Oy(){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 ra(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),u.forEach(function(r){xy(t,r,n[r])})}return t}function ky(t){return By(t)||ua(t)||aa(t,i)||Fy()}function Zi(t){return Ty(t)||ua(t)||aa(t)||Oy()}function aa(t,e){if(!!t){if(typeof t=="string")return Ji(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 Ji(t,e)}}var N=function(){function e(u){var r=this;Py(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=oa,this.removeSetting=la,this._callControlHooks("preInstance",u);var a=ia(this,e)?this.constructor:void 0,l=a.controlName,o=a.controlIcon,s=a.controlType,d=a.controlFieldType,m=a.controlEventKeys,g=a.controlCustomEvents,b=a.name,C=a.setting;l&&o&&s||$r("The ".concat(b," controlName,controlIcon,controlType is not define"));var S;this.id=(S=u==null?void 0:u.id)!==null&&S!==void 0?S:oe(10),this.name=l,this.icon=o;var E;this.type=(E=u==null?void 0:u.type)!==null&&E!==void 0?E:s,this.props=new W(u==null?void 0:u.props,(ia(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=u==null?void 0:u.controlType)!==null&&_!==void 0?_:"base",this.setting=ve(C);var y;this.fieldType=(y=u==null?void 0:u.fieldType)!==null&&y!==void 0?y:d,this.eventKeys=ve(m),this.customEvents=ve(g),Promise.resolve().then(function(){r._callControlHooks("postInstance",u)})}var n=e.prototype;return n._callControlHooks=function(){for(var r=arguments.length,a=new Array(r),l=0;l<r;l++)a[l]=arguments[l];var o,s=ky(a),d=s[0],m=s.slice(1);return(o=Ry).emit.apply(o,[d,this].concat(Zi(m)))},n.preUpdate=function(r,a){this._callControlHooks("preUpdateProps",r,a)},n.postUpdate=function(r,a){this._callControlHooks("postUpdateProps",r,a)},n.updateProps=function(r,a){this.preUpdate(r,a),lh(this.props,r,a),this.postUpdate(r,a)},n.preValidate=function(){var r=this;return ta(ue.default.mark(function a(){var l,o,s;return ue.default.wrap(function(m){for(;;)switch(m.prev=m.next){case 0:return l=ra({},r.rules),m.next=3,r._callControlHooks("preValidate",l);case 3:return o=m.sent,s=o[o.length-1],m.abrupt("return",s===!1?void 0:s);case 6:case"end":return m.stop()}},a)}))()},n.validate=function(r,a){var l=this;return ta(ue.default.mark(function o(){var s,d,m;return ue.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,l.preValidate();case 2:return s=b.sent,d=s!==void 0?s:ra({},l.rules),Array.isArray(a)&&a.forEach(function(C){d.hasOwnProperty(C)&&delete d[C]}),m=_y(d,r),b.prev=6,b.next=9,m.validate(l.props);case 9:return b.abrupt("return",!0);case 12:throw b.prev=12,b.t0=b.catch(6),b.t0.control||(b.t0.control=l),b.t0;case 16:case"end":return b.stop()}},o,null,[[6,12]])}))()},n.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,l=this.id,o=this.type,s=this.props,d=s.dataBind,m=s.datasourceBind,g=s.optionConfig,b=s.caption,C=s.required,S=s.maxLength,E=s.options,_=s.encrypted,y=s.encryptedMode;if(!(!a&&!d&&!m)){var I={parentId:r,fieldType:a,controlId:l,caption:b,type:o,props:{}};switch(d&&(I.dataBind=d),g){case"datasource":case void 0:m&&(I.datasourceBind=m);break;case"custom":I.props.options=E;break}return C!==void 0&&(I.required=C),S!==void 0&&(I.maxLength=S),_!==void 0&&(I.encrypted=_),y!==void 0&&(I.encryptedMode=y),I}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ve(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(r,a){if(r==="setting"){if(a.add){var l;(l=this.setting).push.apply(l,Zi(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},Dy(e,[{key:"rules",get:function(){var r=this.props.constructor.Rules;return r?new r(this.props):{}}}]),e}();N.controlName="\u63A7\u4EF6",N.controlIcon="icon",N.controlType="control",N.controlEventKeys=[],N.controlCustomEvents=[],N.setting=[],N.__is_control__=!0,N.removeSettingItem=la,N.updateSettingItem=oa;function la(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var r=typeof u!="string",a=e.setting.findIndex(function(s){return s.key===(r?u.key:u)});if(a!==-1){var l,o;r?e.setting[a].showItems=(l=e.setting[a].showItems)===null||l===void 0?void 0:l.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(a,1),r&&!(!((o=e.setting[a].showItems)===null||o===void 0)&&o.length)&&e.setting.splice(a,1)}})}function oa(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(r){var a=n.setting.find(function(d){return d.key===r});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,Zi(e.showItems))}}}})}function Ny(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ca(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 My(t,e,n){return e&&ca(t.prototype,e),n&&ca(t,n),t}function $y(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Q=function(){function e(n){Ny(this,e),this.customEvents=[],this.parent=null;var u=$y(this,e)?this.constructor:void 0,r=u.controlType,a=u.controlFieldType,l=u.name,o=u.controlCustomEvents;r||$r("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:oe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:r,this.props=new W(n==null?void 0:n.props),this.customEvents=o;var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base";var g;this.fieldType=(g=n==null?void 0:n.fieldType)!==null&&g!==void 0?g:a;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Hi.UNKNOWN}return My(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var r=new u(this.props);return Array.from(r)}return[]}}]),e}();Q.controlType="control",Q.__is_control__=!0,Q.controlCustomEvents=[];function Yi(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,u,r){u.length===0&&r(f.getMessage("optionIsRequired")),r()}},{type:"array",validator:function(n,u,r){var a=u.map(function(o){return o.value}),l=dh(a);a.length!==l.length?r(f.getMessage("optionIdIsRepeat")):r()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,u,r){u.length===0&&r(f.getMessage("pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function pi(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(r,a,l){a.length===0&&l(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fn(t){return fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},fn(t)}function hn(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&&eu(t,e)}function Ly(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Vy(t,e){return e&&(Hy(e)==="object"||typeof e=="function")?e:sa(t)}function eu(t,e){return eu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},eu(t,e)}var Hy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jy(){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 yn(t){var e=jy();return function(){var u=fn(t),r;if(e){var a=fn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Vy(this,r)}}var J=function(t){hn(n,t);var e=yn(n);function n(u){dn(this,n);var r;r=e.call(this,u),r.dataBind={},r.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},r.isHideCaption={type:"boolean"},r.labelPosition={type:"enum",enum:["top","left"]},r.defaultState={type:"enum",enum:["default","readonly"]},r.required={type:"boolean"},r.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Ly(u.dataBind,ae))r.dataBind={type:"object",required:!0,fields:ve(a),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:ve(a),message:f.getMessage("pleaseEnterFieldCode")}}),r.dataBind=l}return u.isShowCaptionTip&&(r.captionTip.required=!0),r}return n}(q),k=function(t){hn(n,t);var e=yn(n);function n(u){dn(this,n);var r;return r=e.call(this,u),r.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),r}return n}(Ae),T=function(t){hn(n,t);var e=yn(n);function n(u){dn(this,n);var r;r=e.call(this,u);var a;r.caption=(a=u==null?void 0:u.caption)!==null&&a!==void 0?a:"";var l;r.isHideCaption=(l=u==null?void 0:u.isHideCaption)!==null&&l!==void 0?l:!1;var o;r.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;r.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;r.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var m;r.labelPosition=(m=u==null?void 0:u.labelPosition)!==null&&m!==void 0?m:"top";var g;r.placeholder=(g=u==null?void 0:u.placeholder)!==null&&g!==void 0?g:"";var b;r.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var C;r.requiredMessage=(C=u==null?void 0:u.requiredMessage)!==null&&C!==void 0?C:"",r.dataBind=new ae(u==null?void 0:u.dataBind);var S;return r.defaultValue=(S=u==null?void 0:u.defaultValue)!==null&&S!==void 0?S:"",r}return n}(W);T.Rules=J,T.RuntimeRules=k;var Ke=function(t){hn(n,t);var e=yn(n);function n(u){dn(this,n);var r;return r=e.call(this,u),r.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},r.options=[{type:"array",message:f.getMessage("isNotArray")}],r.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Yi.call(sa(r),u),r}return n}(J);function qy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Uy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(t)}function Wy(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&&tu(t,e)}function Ky(t,e){return e&&(zy(e)==="object"||typeof e=="function")?e:qy(t)}function tu(t,e){return tu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},tu(t,e)}var zy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gy(){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 Xy(t){var e=Gy();return function(){var u=mn(t),r;if(e){var a=mn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Ky(this,r)}}var P=function(t){Wy(n,t);var e=Xy(n);function n(u){Uy(this,n);var r;return r=e.call(this,u),r.controlType="form",r.props=new T(u==null?void 0:u.props),r}return n}(N);P.controlEventKeys=["on_change","on_focus","on_blur"];function Qy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function Zy(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&&nu(t,e)}function Yy(t,e){return e&&(py(e)==="object"||typeof e=="function")?e:Qy(t)}function nu(t,e){return nu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},nu(t,e)}var py=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function em(){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 tm(t){var e=em();return function(){var u=vn(t),r;if(e){var a=vn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Yy(this,r)}}var D=function(t){Zy(n,t);var e=tm(n);function n(u){Jy(this,n);var r;return r=e.call(this,u),r.controlType="form",r.props=new T(u==null?void 0:u.props),r}return n}(Q);function nm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function im(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function um(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&&iu(t,e)}function rm(t,e){return e&&(am(e)==="object"||typeof e=="function")?e:nm(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},iu(t,e)}var am=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function lm(){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 om(t){var e=lm();return function(){var u=gn(t),r;if(e){var a=gn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return rm(this,r)}}var M=function(t){um(n,t);var e=om(n);function n(u){return im(this,n),e.call(this,u)}return n}(W);function uu(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 cm(t){if(Array.isArray(t))return uu(t)}function sm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function dm(){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 da(t){return cm(t)||sm(t)||fm(t)||dm()}function fm(t,e){if(!!t){if(typeof t=="string")return uu(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 uu(t,e)}}function hm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function fa(t,e){t.parent=e,hm(t,"parent")}function ym(t,e){t.forEach(function(n){fa(n,e)})}var ha=Symbol("targetKey");function ya(t){var e;return(e=t[ha])!==null&&e!==void 0?e:t}function ma(t,e){return ym(t,e),new Proxy(t,{get:function(u,r){for(var a=arguments.length,l=new Array(a>2?a-2:0),o=2;o<a;o++)l[o-2]=arguments[o];var s;return r===ha?u:(s=Reflect).get.apply(s,[u,r].concat(da(l)))},set:function(u,r,a){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var d;if(xi(t)&&r==="length"&&a===t.length)return!0;var m=(d=Reflect).set.apply(d,[u,r,a].concat(da(o)));return sh(a)&&fa(a,e),m}})}function Se(t,e,n,u){var r=u!=null?u:t,a=ma(ya(n!=null?n:[]),r);Object.defineProperty(t,e,{get:function(){return a},set:function(o){a=ma(ya(o),r)},enumerable:!0})}function ru(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 mm(t){if(Array.isArray(t))return ru(t)}function va(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ga(t,e,n,u,r,a,l){try{var o=t[a](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,r)}function vm(t){return function(){var e=this,n=arguments;return new Promise(function(u,r){var a=t.apply(e,n);function l(s){ga(a,u,r,l,o,"next",s)}function o(s){ga(a,u,r,l,o,"throw",s)}l(void 0)})}}function gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ze(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ze=Reflect.get:ze=function(r,a,l){var o=Bm(r,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l):s.value}},ze(t,e,n||t)}function be(t){return be=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},be(t)}function Em(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&&au(t,e)}function Cm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Im(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wm(){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 Am(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),u.forEach(function(r){bm(t,r,n[r])})}return t}function Sm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);e&&(u=u.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,u)}return n}function _m(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Sm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Rm(t,e){return e&&(Tm(e)==="object"||typeof e=="function")?e:va(t)}function au(t,e){return au=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},au(t,e)}function Bm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=be(t),t!==null););return t}function ba(t){return mm(t)||Im(t)||Pm(t)||wm()}var Tm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Pm(t,e){if(!!t){if(typeof t=="string")return ru(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 ru(t,e)}}function Dm(){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 xm(t){var e=Dm();return function(){var u=be(t),r;if(e){var a=be(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Rm(this,r)}}var Fm=1e4,V=function(e){Em(u,e);var n=xm(u);function u(a){gm(this,u);var l;l=n.call(this,a),l.controlType="layout";var o=Cm(this,u)?this.constructor:void 0,s=o.excludes,d=o.childrenMaxLength;return l.props=new M(a==null?void 0:a.props),Se(va(l),"children",a==null?void 0:a.children),l.excludes=ve(s),l.childrenMaxLength=d,l}var r=u.prototype;return r.judgeExcludesChildren=function(l){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(l)},r.judgeJoinChildren=function(l){var o=this.judgeExcludesChildren(l);return o&&this.childrenMaxLength>this.children.length},r.validate=function(l,o){var s=this,d=this,m=function(){return ze(be(u.prototype),"validate",s)};return vm(ue.default.mark(function g(){return ue.default.wrap(function(C){for(;;)switch(C.prev=C.next){case 0:return C.next=2,m().call(d,l,o);case 2:return C.next=4,Promise.all(d.children.map(function(S){return S.validate(l,o)}));case 4:return C.abrupt("return",!0);case 5:case"end":return C.stop()}},g)}))()},r.toDataBindModel=function(){var l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,o=ze(be(u.prototype),"toDataBindModel",this).call(this),s=o?[o]:[];return this.children.reduce(function(d,m){var g=m.toDataBindModel(l);if(Array.isArray(g)){var b=g.filter(function(C){return!!C});return ba(d).concat(ba(b))}return g&&d.push(g),d},s)},r.toSchema=function(){var l=ze(be(u.prototype),"toSchema",this).call(this),o=this.children.map(function(s){var d=s.toSchema();return d});return _m(Am({},l),{children:o})},u}(N);V.excludes=!1,V.childrenMaxLength=Fm;function Ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Om(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function km(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&&lu(t,e)}function Nm(t,e){return e&&(Mm(e)==="object"||typeof e=="function")?e:Ea(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},lu(t,e)}var Mm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $m(){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 Lm(t){var e=$m();return function(){var u=bn(t),r;if(e){var a=bn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Nm(this,r)}}var U=function(t){km(n,t);var e=Lm(n);function n(u){Om(this,n);var r;return r=e.call(this,u),r.controlType="layout",r.props=new M(u==null?void 0:u.props),Se(Ea(r),"children",u==null?void 0:u.children),r}return n}(Q);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function Hm(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&&ou(t,e)}function jm(t,e){return e&&(qm(e)==="object"||typeof e=="function")?e:Ca(t)}function ou(t,e){return ou=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},ou(t,e)}var qm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Um(){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 Wm(t){var e=Um();return function(){var u=En(t),r;if(e){var a=En(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return jm(this,r)}}var Cn=function(t){Hm(n,t);var e=Wm(n);function n(u,r){Vm(this,n);var a;return a=e.call(this,r),Se(Ca(a),"headers",r==null?void 0:r.headers,u),a}return n}(W);function cu(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 Km(t){if(Array.isArray(t))return cu(t)}function Ia(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wa(t,e,n,u,r,a,l){try{var o=t[a](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,r)}function zm(t){return function(){var e=this,n=arguments;return new Promise(function(u,r){var a=t.apply(e,n);function l(s){wa(a,u,r,l,o,"next",s)}function o(s){wa(a,u,r,l,o,"throw",s)}l(void 0)})}}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ge(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ge=Reflect.get:Ge=function(r,a,l){var o=ev(r,a);if(!!o){var s=Object.getOwnPropertyDescriptor(o,a);return s.get?s.get.call(l):s.value}},Ge(t,e,n||t)}function Ee(t){return Ee=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ee(t)}function Qm(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&&su(t,e)}function Jm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Zm(){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 Aa(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(r){return Object.getOwnPropertyDescriptor(n,r).enumerable}))),u.forEach(function(r){Xm(t,r,n[r])})}return t}function Ym(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var u=Object.getOwnPropertySymbols(t);e&&(u=u.filter(function(r){return Object.getOwnPropertyDescriptor(t,r).enumerable})),n.push.apply(n,u)}return n}function Sa(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ym(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function pm(t,e){return e&&(tv(e)==="object"||typeof e=="function")?e:Ia(t)}function su(t,e){return su=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},su(t,e)}function ev(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ee(t),t!==null););return t}function _a(t){return Km(t)||Jm(t)||nv(t)||Zm()}var tv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function nv(t,e){if(!!t){if(typeof t=="string")return cu(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 cu(t,e)}}function iv(){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 uv(t){var e=iv();return function(){var u=Ee(t),r;if(e){var a=Ee(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return pm(this,r)}}var du=function(t){Qm(n,t);var e=uv(n);function n(r){Gm(this,n);var a;return a=e.call(this,r),a.controlType="list",a.props=new Cn(Ia(a),r==null?void 0:r.props),a}var u=n.prototype;return u.validate=function(a,l){var o=this,s=this,d=function(){return Ge(Ee(n.prototype),"validate",o)};return zm(ue.default.mark(function m(){return ue.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,a);case 2:return b.next=4,Promise.all(s.props.headers.map(function(C){return C.validate(a,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},m)}))()},u.toDataBindModel=function(){var a=Ge(Ee(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[],o=this.id;return this.props.headers.reduce(function(s,d){var m=d.toDataBindModel(o);if(Array.isArray(m)){var g=m.filter(function(b){return!!b});return _a(s).concat(_a(g))}return m&&s.push(m),s},l)},u.toSchema=function(){var a=Ge(Ee(n.prototype),"toSchema",this).call(this),l=this.props.headers.map(function(o){return o.toSchema()});return Sa(Aa({},a),{props:Sa(Aa({},this.props),{headers:l})})},n}(N);du.controlFieldType=v.LIST;function fu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ra(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 av(t,e,n){return e&&Ra(t.prototype,e),n&&Ra(t,n),t}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function lv(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&&hu(t,e)}function ov(t,e){return e&&(cv(e)==="object"||typeof e=="function")?e:fu(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},hu(t,e)}var cv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sv(){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 dv(t){var e=sv();return function(){var u=In(t),r;if(e){var a=In(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return ov(this,r)}}var Ba=function(t){lv(n,t);var e=dv(n);function n(u){rv(this,n);var r;return r=e.call(this,u),r.controlType="list",r.props=new Cn(fu(r),u==null?void 0:u.props),Se(fu(r),"children",u==null?void 0:u.children),r}return av(n,[{key:"length",get:function(){return this.children.length}}]),n}(Q);function Ta(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function mu(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&&vu(t,e)}function fv(t,e){return e&&(hv(e)==="object"||typeof e=="function")?e:Ta(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},vu(t,e)}var hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yv(){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 gu(t){var e=yv();return function(){var u=wn(t),r;if(e){var a=wn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return fv(this,r)}}var An=function(t){mu(n,t);var e=gu(n);function n(u){yu(this,n);var r;return r=e.call(this,u),r.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},r.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},r.width.required=u.widthType==="px",r}return n}(q),H=function(t){mu(n,t);var e=gu(n);function n(u){yu(this,n);var r;r=e.call(this,u);var a;r.width=(a=u==null?void 0:u.width)!==null&&a!==void 0?a:150,r.widthType=(u==null?void 0:u.widthType)||"auto";var l;r.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var o;r.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",r.dataBind=new ae(u==null?void 0:u.dataBind);var s;return r.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,r.align=u==null?void 0:u.align,r.colSpan=u==null?void 0:u.colSpan,r}return n}(W);H.Rules=An;var Pa=function(t){mu(n,t);var e=gu(n);function n(u){yu(this,n);var r;return r=e.call(this,u),r.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},r.options=[{type:"array",message:f.getMessage("isNotArray")}],r.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Yi.call(Ta(r),u),r}return n}(An);function mv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function gv(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&&bu(t,e)}function bv(t,e){return e&&(Ev(e)==="object"||typeof e=="function")?e:mv(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},bu(t,e)}var Ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cv(){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 Iv(t){var e=Cv();return function(){var u=Sn(t),r;if(e){var a=Sn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return bv(this,r)}}var K=function(t){gv(n,t);var e=Iv(n);function n(u){vv(this,n);var r;return r=e.call(this,u),r.controlType="column",r.props=new H(u==null?void 0:u.props),r}return n}(N);function wv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Av(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _n(t){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(t)}function Sv(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&&Eu(t,e)}function _v(t,e){return e&&(Rv(e)==="object"||typeof e=="function")?e:wv(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},Eu(t,e)}var Rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bv(){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 Tv(t){var e=Bv();return function(){var u=_n(t),r;if(e){var a=_n(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return _v(this,r)}}var z=function(t){Sv(n,t);var e=Tv(n);function n(u){Av(this,n);var r;return r=e.call(this,u),r.controlType="column",r.props=new H(u==null?void 0:u.props),r}return n}(Q);function Pv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function xv(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&&Cu(t,e)}function Fv(t,e){return e&&(Ov(e)==="object"||typeof e=="function")?e:Pv(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},Cu(t,e)}var Ov=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function kv(){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 Nv(t){var e=kv();return function(){var u=Rn(t),r;if(e){var a=Rn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Fv(this,r)}}var Iu=function(t){xv(n,t);var e=Nv(n);function n(u){Dv(this,n);var r;return r=e.call(this,u),r.dataBind=new ae(u==null?void 0:u.dataBind),r}return n}(M);function Mv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $v(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bn(t){return Bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Bn(t)}function Lv(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&&wu(t,e)}function Vv(t,e){return e&&(Hv(e)==="object"||typeof e=="function")?e:Mv(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},wu(t,e)}var Hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jv(){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 qv(t){var e=jv();return function(){var u=Bn(t),r;if(e){var a=Bn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Vv(this,r)}}var Uv=function(t){Lv(n,t);var e=qv(n);function n(u){$v(this,n);var r;return r=e.call(this,u),r.controlType="search",r.props=new Iu(u==null?void 0:u.props),r}return n}(V);function Wv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function zv(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&&Au(t,e)}function Gv(t,e){return e&&(Xv(e)==="object"||typeof e=="function")?e:Wv(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,r){return u.__proto__=r,u},Au(t,e)}var Xv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qv(){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 Jv(t){var e=Qv();return function(){var u=Tn(t),r;if(e){var a=Tn(this).constructor;r=Reflect.construct(u,arguments,a)}else r=u.apply(this,arguments);return Gv(this,r)}}var Zv=function(t){zv(n,t);var e=Jv(n);function n(u){Kv(this,n);var r;return r=e.call(this,u),r.controlType="search",r.props=new Iu(u==null?void 0:u.props),r}return n}(U);class Su extends W{constructor(e){var n,u,r,a,l;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(r=e==null?void 0:e.icon)!=null?r:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57"}}class Da extends N{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Da.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Yv extends Q{constructor(e){super(e),this.props=new Su(e==null?void 0:e.props)}static get controlType(){return"text"}}var xa={Designer:Da,Runtime:Yv,Property:Su};class _u extends W{constructor(e){var n,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(r=e==null?void 0:e.openMode)!=null?r:"new"}}class Ru extends N{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ru.controlEventKeys=["on_click"],Ru.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class pv extends Q{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}static get controlType(){return"link"}}var Fa={Designer:Ru,Runtime:pv,Property:_u};class Z extends W{constructor(e){var n,u,r,a,l,o,s,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Y extends N{constructor(e){super(e),this.props=new Z(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.controlEventKeys=["on_click"],Y.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ne extends Q{constructor(e){super(e),this.props=new Z(e==null?void 0:e.props)}static get controlType(){return"button"}}var Oa={Designer:Y,Runtime:ne,Property:Z},_e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t))(_e||{}),ka=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ka||{}),Na=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Na||{});class Pn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:oe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Bu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Bu||{});class Dn{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:oe(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var Tu=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Tu||{});class Pu{constructor(e){var n,u,r,a,l,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new st((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(r=e==null?void 0:e.signatureType)!=null?r:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new st((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new st((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class Ma{constructor(e){var n,u,r,a,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(r=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new Pu(s)))!=null?r:[new Pu],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Du{constructor(e){var n,u,r,a,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:oe(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(r=e==null?void 0:e.dataCode)!=null?r:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class xu{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class $a{constructor(e){var n,u,r,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(r=e==null?void 0:e.collaborativeRecord)!=null?r:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new xu(e==null?void 0:e.watermark),this.autoRename=new xu(e==null?void 0:e.autoRename)}}const La=480;function mt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Va{constructor(e){var n,u,r,a,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(r=e==null?void 0:e.ruleName)!=null?r:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(l=e.rules)!=null?l:[]}}class Ha{constructor(e){var n,u,r;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(r=e==null?void 0:e.alignItems)!=null?r:"flex-start"}}var ja=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ja||{}),Fu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Fu||{}),Ou=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ou||{}),Xe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Xe||{}),ku=(t=>(t.ALL="all",t.ADMIN="admin",t))(ku||{});class Nu extends W{constructor(e){var n,u;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:Tu.SOLID}}class qa extends N{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}qa.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class eg extends Q{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ua={Designer:qa,Runtime:eg,Property:Nu};class tg extends q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},e.config.includes(_e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")})}}class xn extends W{constructor(e){var n,u,r;super(e),this.dataBind=new ae(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[_e.ShowSubmitUser,_e.ShowSubmitDept,_e.ShowSubmitTime,_e.ShowCurrentApprovar],this.caption=(r=(u=e==null?void 0:e.caption)!=null?u:Qe==null?void 0:Qe.controlName)!=null?r:""}}xn.Rules=tg;class Qe extends N{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Qe.controlFieldType=v.AUTO_NUMBER,Qe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];class ng extends Q{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Wa={Designer:Qe,Runtime:ng,Property:xn};class ig extends q{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Fn extends Z{constructor(e){var n,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:vt.controlName,this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Fn.Rules=ig;class vt extends Y{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ug extends ne{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ka={Designer:vt,Runtime:ug,Property:Fn};class rg extends q{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class On extends Z{constructor(e){var n,u,r,a,l,o;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:gt.controlName,this.initiatorMode=(r=e==null?void 0:e.initiatorMode)!=null?r:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}On.Rules=rg;class gt extends Y{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ag extends ne{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var za={Designer:gt,Runtime:ag,Property:On};class Mu extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:bt.controlIcon}}class bt extends Y{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lg extends ne{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Ga={Designer:bt,Runtime:lg,Property:Mu};class $u extends Z{constructor(e){var n,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Et.controlName,this.templateList=(a=(r=e==null?void 0:e.templateList)==null?void 0:r.map(l=>new Du(l)))!=null?a:[new Du({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Et extends Y{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class og extends ne{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Xa={Designer:Et,Runtime:og,Property:$u};class Lu extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ct.controlIcon}}class Ct extends Y{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Ct.controlEventKeys=["on_click"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class cg extends ne{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Qa={Designer:Ct,Runtime:cg,Property:Lu};class sg{constructor(e){this.dataCode=e.dataCode}}class Vu extends Z{constructor(e){var n,u,r,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:It.controlIcon,this.canImportList=(a=(r=e==null?void 0:e.canImportList)==null?void 0:r.map(l=>new sg(l)))!=null?a:[]}}class It extends Y{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}It.controlEventKeys=["on_click","on_click_finish"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class dg extends ne{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ja={Designer:It,Runtime:dg,Property:Vu};function kn(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class fg extends q{constructor(e){super(e),this.fillPayload={type:"object",fields:we({},kn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:we({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},kn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Nn extends Z{constructor(e){var n,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:wt.controlIcon,this.command=(r=e==null?void 0:e.command)!=null?r:"create",this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.formBind=new Ah(e==null?void 0:e.formBind),this.fillBack=new zr(e==null?void 0:e.fillBack)}}Nn.Rules=fg;class wt extends Y{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class hg extends ne{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Za={Designer:wt,Runtime:hg,Property:Nn};class yg extends q{constructor(e){super(e),this.fillPayload={type:"object",fields:we({},kn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:we({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},kn())}}}class Mn extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:At.controlIcon,this.fillPayload=new Li(e==null?void 0:e.fillPayload),this.listPageBind=new Ur(e==null?void 0:e.listPageBind),this.fillBack=new zr(e==null?void 0:e.fillBack)}}Mn.Rules=yg;class At extends Y{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class mg extends ne{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ya={Designer:At,Runtime:mg,Property:Mn};class vg extends q{constructor(e){super(e)}}class gg extends Ae{constructor(e){super(e)}}class St extends W{constructor(e){super(e)}}St.Rules=vg,St.RuntimeRules=gg;class pa extends N{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}pa.setting=[];class bg extends Q{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var el={Designer:pa,Runtime:bg,Property:St};class Eg extends q{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $n extends W{constructor(e){var n,u,r,a,l,o;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}$n.Rules=Eg;class tl extends N{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}tl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Cg extends Q{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var nl={Designer:tl,Runtime:Cg,Property:$n};class Ig extends q{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Ln extends W{constructor(e){var n,u,r;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(r=(u=e==null?void 0:e.viewList)==null?void 0:u.map(a=>new Hh(a)))!=null?r:[]}}Ln.Rules=Ig;class il extends N{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}il.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class wg extends Q{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ul={Designer:il,Runtime:wg,Property:Ln};class Ag extends q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,u,r){if(u.every(l=>!l.controlId)){r(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Vn extends Z{constructor(e){var n,u,r,a,l,o,s,d,m,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Je.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Je.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(g=(m=e==null?void 0:e.fillList)==null?void 0:m.map(b=>new ee(b)))!=null?g:[]}}Vn.Rules=Ag;class Je extends Y{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Je.controlEventKeys=["on_click","on_click_finish"],Je.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Sg extends ne{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var rl={Designer:Je,Runtime:Sg,Property:Vn};class _g extends q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,u,r){if(u.every(l=>!l.controlId)){r(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}r()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Hn extends Z{constructor(e){var n,u,r,a,l,o,s,d,m,g;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:Ze.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Ze.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(g=(m=e==null?void 0:e.fillList)==null?void 0:m.map(b=>new ee(b)))!=null?g:[]}}Hn.Rules=_g;class Ze extends Y{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ze.controlEventKeys=["on_click","on_click_finish"],Ze.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Rg extends ne{constructor(e){super(e),this.props=new Hn(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var al={Designer:Ze,Runtime:Rg,Property:Hn};class Bg extends q{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class jn extends Z{constructor(e){var n,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:_t.controlName,this.printTemplates=(a=(r=e==null?void 0:e.printTemplates)==null?void 0:r.map(o=>new Va(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}jn.Rules=Bg;class _t extends Y{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Tg extends ne{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ll={Designer:_t,Runtime:Tg,Property:jn};class Hu extends Z{constructor(e){var n,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Rt.controlIcon}}class Rt extends Y{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Rt.controlEventKeys=["on_click"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Pg extends ne{constructor(e){super(e),this.props=new Hu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var ol={Designer:Rt,Runtime:Pg,Property:Hu},Dg=Object.freeze({__proto__:null,Text:xa,Link:Fa,Button:Oa,Divider:Ua,Title:Wa,CreateFormListButton:Ka,BatchSubmissionListButton:za,SubmissionRecordListButton:Ga,ExportListButton:Xa,ExportRecordListButton:Qa,ImportRecordListButton:Ja,FormSelectButton:Za,ListSelectButton:Ya,Pagination:el,Dashboard:nl,ListViewSelect:ul,TextOcrButton:rl,InvoiceCheckButton:al,BatchPrintListButton:ll,BatchPrintRecordListButton:ol});class xg extends J{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Fg extends k{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ye extends T{constructor(e){var n,u,r,a,l,o,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new Gr(e==null?void 0:e.regularRules),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pe.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Ye.Rules=xg,Ye.RuntimeRules=Fg;class pe extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}pe.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pe.controlFieldType=v.VARCHAR,pe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class cl extends D{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"input"}}cl.controlFieldType=v.VARCHAR;var sl={Designer:pe,Runtime:cl,Property:Ye};class Og extends Ke{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=r=>r==="unlimited"?void 0:r;this.limitMax.min=u(e.limitMin)}}class kg extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Bt extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g,b,C;super(e),this.options=ye((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(m=e==null?void 0:e.caption)!=null?m:Tt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(S=>{var E;(E=this.multistageFilling)==null||E.push(new ee(S))}))}}Bt.Rules=Og,Bt.RuntimeRules=kg;class Tt extends P{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Tt.controlEventKeys=["on_change","on_click"],Tt.controlFieldType=v.ARRAY,Tt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class dl extends D{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}dl.controlFieldType=v.ARRAY;var fl={Designer:Tt,Runtime:dl,Property:Bt};class Ng extends Ke{constructor(e){super(e)}}class qn extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g;super(e),this.options=ye((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(m=e==null?void 0:e.caption)!=null?m:Pt.controlName,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var C;(C=this.multistageFilling)==null||C.push(new ee(b))}))}}qn.Rules=Ng;class Pt extends P{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Pt.controlEventKeys=["on_change","on_click"],Pt.controlFieldType=v.VARCHAR,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class hl extends D{constructor(e){super(e),this.props=new qn(e==null?void 0:e.props)}static get controlType(){return"radio"}}hl.controlFieldType=v.VARCHAR;var yl={Designer:Pt,Runtime:hl,Property:qn};class Mg extends J{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class $g extends k{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g,b,C,S;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(r=e==null?void 0:e.numberType)!=null?r:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(m=e==null?void 0:e.unitPosition)!=null?m:"right",this.unit=(g=e==null?void 0:e.unit)!=null?g:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:xt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:"",this.regularRules=new Gr(e==null?void 0:e.regularRules)}}Dt.Rules=Mg,Dt.RuntimeRules=$g;class xt extends P{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:r}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=r}return n}}xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],xt.controlFieldType=v.DECIMAL,xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ml extends D{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"number"}}ml.controlFieldType=v.DECIMAL;var vl={Designer:xt,Runtime:ml,Property:Dt};class ju extends T{constructor(e){var n,u,r,a,l,o,s,d,m;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Un.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.limitDateList=(s=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(g=>new Pn(g)))!=null?s:[],this.allowDateRange=(d=e==null?void 0:e.allowDateRange)!=null?d:["",""],this.filterWeekend=(m=e==null?void 0:e.filterWeekend)!=null?m:!1}}class Un extends P{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}Un.controlFieldType=v.TIMESTAMP,Un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class gl extends D{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}gl.controlFieldType=v.TIMESTAMP;var bl={Designer:Un,Runtime:gl,Property:ju};class Lg extends k{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Wn extends T{constructor(e){var n,u,r,a,l,o,s,d,m;super(e),this.dataBind=new Nh(e==null?void 0:e.dataBind),this.defaultValue=new Mh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(o=e==null?void 0:e.placeholderEnd)!=null?o:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:Kn.controlName,this.limitDateList=(m=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(g=>new Pn(g)))!=null?m:[]}}Wn.RuntimeRules=Lg;class Kn extends P{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}Kn.controlFieldType=v.TIMESCOPE,Kn.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class El extends D{constructor(e){super(e),this.props=new Wn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}El.controlFieldType=v.TIMESCOPE;var Cl={Designer:Kn,Runtime:El,Property:Wn};class Vg extends J{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Hg extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ft extends T{constructor(e){var n,u,r,a,l,o;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Ot.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}Ft.Rules=Vg,Ft.RuntimeRules=Hg;class Ot extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Ot.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ot.controlFieldType=v.TEXT,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Il extends D{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Il.controlFieldType=v.TEXT;var wl={Designer:Ot,Runtime:Il,Property:Ft};class jg extends J{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class qg extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class kt extends T{constructor(e){var n,u,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Nt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}kt.Rules=jg,kt.RuntimeRules=qg;class Nt extends P{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Nt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Nt.controlFieldType=v.TEXT,Nt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Al extends D{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Al.controlFieldType=v.TEXT;var Sl={Designer:Nt,Runtime:Al,Property:kt};class Ug extends Ke{constructor(e){super(e)}}class zn extends T{constructor(e){var n,u,r,a,l,o,s;super(e),this.options=ye((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Gn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var m;(m=this.multistageFilling)==null||m.push(new ee(d))}))}}zn.Rules=Ug;class Gn extends P{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Gn.controlFieldType=v.VARCHAR,Gn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class _l extends D{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"select"}}_l.controlFieldType=v.VARCHAR;var Rl={Designer:Gn,Runtime:_l,Property:zn};class Wg extends Ke{constructor(e){super(e)}}class Kg extends k{constructor(e){super(e),this[0].type="array"}}class Mt extends T{constructor(e){var n,u,r,a,l,o;super(e),this.options=ye((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"custom",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Xn.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var d;(d=this.multistageFilling)==null||d.push(new ee(s))}))}}Mt.Rules=Wg,Mt.RuntimeRules=Kg;class Xn extends P{constructor(e){super(e),this.props=new Mt(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Xn.controlFieldType=v.ARRAY,Xn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Bl extends D{constructor(e){super(e),this.props=new Mt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Bl.controlFieldType=v.ARRAY;var Tl={Designer:Xn,Runtime:Bl,Property:Mt};class zg extends k{constructor(e){super(e),this[0].type="array"}}class Qn extends T{constructor(e){var n,u,r,a,l,o,s,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Jn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new ee(m))}))}}Qn.RuntimeRules=zg;class Jn extends P{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Jn.controlFieldType=v.EMPLOYEES,Jn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Pl extends D{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"employee"}}Pl.controlFieldType=v.EMPLOYEES;var Dl={Designer:Jn,Runtime:Pl,Property:Qn};const Gg=10485760,Xg=104857600,Qg=1048576e3;class Jg extends J{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Qg,message:f.getMessage("attachmentMaxSize")}}}class Zg extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class et extends T{constructor(e){var n,u,r,a,l,o,s,d;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(r=e==null?void 0:e.attachmentAccept)!=null?r:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:Xg,this.caption=(s=e==null?void 0:e.caption)!=null?s:tt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}et.Rules=Jg,et.RuntimeRules=Zg;class tt extends P{constructor(e){super(e),this.props=new et(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}tt.controlEventKeys=["on_change"],tt.controlFieldType=v.FILE,tt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class qu extends D{constructor(e){super(e),this.props=new et(e==null?void 0:e.props)}static get controlType(){return"attachment"}}qu.controlFieldType=v.FILE;var xl={Designer:tt,Runtime:qu,Property:et};const Fl=class extends tt{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,u,r;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Fl.controlName,this.props.placeholder=(r=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?r:"\u4E0A\u4F20\u56FE\u7247"}};let Uu=Fl;Uu.controlFieldType=v.IMAGE,Uu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Yg extends qu{static get controlType(){return"image"}constructor(e){var n,u,r,a,l,o;super(e),this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(a=(r=e==null?void 0:e.props)==null?void 0:r.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class pg extends et{constructor(e){super(e)}}var Ol={Designer:Uu,Runtime:Yg,Property:pg};class eb extends Ke{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class tb extends k{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Si(we({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class $t extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g,b;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new Oh(e==null?void 0:e.dataBind),this.datasourceBind=new X((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new Mi({value:"name"})]}),this.defaultValue=new kh((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:ln.CNY}),this.options=ye(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Lt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}$t.Rules=eb,$t.RuntimeRules=tb;class Lt extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:r}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=r}return n}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.MONEY,Lt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class kl extends D{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"amount"}}kl.controlFieldType=v.MONEY;var Nl={Designer:Lt,Runtime:kl,Property:$t};class nb extends J{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class ib extends k{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Vt extends T{constructor(e){var n,u,r,a,l,o,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:Bu.STAR,this.isShowExplain=(r=e==null?void 0:e.isShowExplain)!=null?r:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(d=>new Dn(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Dn),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Ht.controlName}}Vt.Rules=nb,Vt.RuntimeRules=ib;class Ht extends P{constructor(e){super(e),this.props=new Vt(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const u=n-this.props.explain.length,r=Array(u).fill(void 0).map(()=>new Dn);this.props.explain.push(...r)}}super.postUpdate(e,n)}}Ht.controlEventKeys=["on_change","on_click"],Ht.controlFieldType=v.DECIMAL,Ht.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ml extends D{constructor(e){super(e),this.props=new Vt(e==null?void 0:e.props)}static get controlType(){return"score"}}Ml.controlFieldType=v.DECIMAL;var $l={Designer:Ht,Runtime:Ml,Property:Vt};class ub extends k{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Zn extends T{constructor(e){var n,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Yn.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(r=e==null?void 0:e.addressType)!=null?r:["province","city","district"],this.defaultValue=new $h((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}Zn.RuntimeRules=ub;class Yn extends P{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Yn.controlFieldType=v.ADDRESS,Yn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ll extends D{constructor(e){super(e),this.props=new Zn(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Ll.controlFieldType=v.ADDRESS;var Vl={Designer:Yn,Runtime:Ll,Property:Zn};class rb extends k{constructor(e){super(e),this[0].type="array"}}class pn extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:ei.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var C;(C=this.multistageFilling)==null||C.push(new ee(b))}))}}pn.RuntimeRules=rb;class ei extends P{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:r}=this.props;n.props.displayLevel=u,n.props.showSubDept=r}return n}}ei.controlFieldType=v.DEPARTMENTS,ei.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Hl extends D{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"department"}}Hl.controlFieldType=v.DEPARTMENTS;var jl={Designer:ei,Runtime:Hl,Property:pn};class Wu extends T{constructor(e){var n,u,r;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:jt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class jt extends P{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}jt.controlEventKeys=["on_change"],jt.controlFieldType=v.AUTO_NUMBER,jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ql extends D{constructor(e){super(e),this.props=new Wu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}ql.controlFieldType=v.AUTO_NUMBER;var Ul={Designer:jt,Runtime:ql,Property:Wu};class ab extends J{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class lb extends k{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class qt extends T{constructor(e){var n,u,r,a,l,o,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(r=e==null?void 0:e.showUpperCase)!=null?r:!1,this.dataBind=new Lh(e==null?void 0:e.dataBind),this.defaultValue=new Vh(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ut.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}qt.Rules=ab,qt.RuntimeRules=lb;class Ut extends P{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:r}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=r}return n}}Ut.controlEventKeys=["on_change"],Ut.controlFieldType=v.CALC,Ut.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Wl extends D{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"calc"}}Wl.controlFieldType=v.CALC;var Kl={Designer:Ut,Runtime:Wl,Property:qt};class ob extends k{constructor(e){super(e),this[0].type="array",this.push({validator(n,u){return e.required&&u.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ti extends T{constructor(e){var n,u,r,a,l,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:ni.controlName}}ti.RuntimeRules=ob;class ni extends P{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}ni.controlFieldType=v.DECIMAL_RANGE,ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zl extends D{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}zl.controlFieldType=v.DECIMAL_RANGE;var Gl={Designer:ni,Runtime:zl,Property:ti};class cb extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class ii extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:me.DATE,this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(d=e==null?void 0:e.caption)!=null?d:ui.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(b=>new Pn(b)))!=null?g:[]}}ii.RuntimeRules=cb;class ui extends P{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ui.controlFieldType=v.ARRAY,ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Xl extends D{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Xl.controlFieldType=v.ARRAY;var Ql={Designer:ui,Runtime:Xl,Property:ii};class sb extends J{constructor(e){super(e),this.dataBind={type:"any"}}}class db extends k{constructor(e){super(e),this[0].type="any"}}class Wt extends T{constructor(e){var n,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Kt.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(r=e==null?void 0:e.controlExportName)!=null?r:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Wt.Rules=sb,Wt.RuntimeRules=db;class Kt extends P{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Kt.controlFieldType=v.ANY,Kt.controlEventKeys=[],Kt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Jl extends D{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Jl.controlFieldType=v.ANY;var Zl={Designer:Kt,Runtime:Jl,Property:Wt};class fb extends Ke{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class ri extends T{constructor(e){var n,u,r,a,l,o;super(e),this.options=ye((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new Ur(e==null?void 0:e.listPageBind),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:ai.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var d;(d=this.multistageFilling)==null||d.push(new ee(s))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1}}ri.Rules=fb;class ai extends P{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}ai.controlFieldType=v.VARCHAR,ai.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class Yl extends D{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Yl.controlFieldType=v.VARCHAR;var pl={Designer:ai,Runtime:Yl,Property:ri};class Ku extends Ye{constructor(e){super(e)}}class eo extends pe{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}eo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class to extends D{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"search-input"}}to.controlFieldType=v.VARCHAR;var no={Designer:eo,Runtime:to,Property:Ku};class hb extends J{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],pi.call(this,e,Re.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class yb extends k{constructor(e){super(e),this[0].type="array"}}class zt extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g,b,C,S;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Re.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(d=e==null?void 0:e.defaultCollapse)!=null?d:"all",this.defaultCollapseLevel=(m=e==null?void 0:e.defaultCollapseLevel)!=null?m:1,this.datasourceBind=new xh((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Re.controlCustomAttributes}),this.multistageFilling=(C=(b=e==null?void 0:e.multistageFilling)==null?void 0:b.map(E=>new ee(E)))!=null?C:[],this.defaultValue=(S=e==null?void 0:e.defaultValue)!=null?S:[]}}zt.Rules=hb,zt.RuntimeRules=yb;class Re extends P{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Re.controlEventKeys=["on_change","on_click"],Re.controlFieldType=v.ARRAY,Re.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class io extends D{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"tree"}}io.controlFieldType=v.ARRAY;var uo={Designer:Re,Runtime:io,Property:zt};class mb extends J{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},pi.call(this,e,nt.controlCustomAttributes),e.externalType===Xe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class vb extends k{constructor(e){super(e),this[0].type="array"}}class Gt extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g,b,C,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:nt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new an((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:nt.controlCustomAttributes}),this.datasourceType=(g=e==null?void 0:e.datasourceType)!=null?g:Fu.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:ku.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Xe.ALL,this.externalScope=(S=e==null?void 0:e.externalScope)!=null?S:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new ee(E))}))}}Gt.Rules=mb,Gt.RuntimeRules=vb;class nt extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}nt.controlFieldType=v.EMPLOYEES,nt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ro extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}ro.controlFieldType=v.EMPLOYEES;var ao={Designer:nt,Runtime:ro,Property:Gt};class gb extends J{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,u,r)=>(n[r]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,l,o){if(u.type==="public"&&xi(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(u.type==="public"&&u.signatureType.includes("company")&&xi(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class li extends T{constructor(e){var n,u,r,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(r=e==null?void 0:e.buttonType)!=null?r:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new Ma(e==null?void 0:e.signatureConfig)}}li.Rules=gb;class Xt extends P{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}Xt.controlEventKeys=["on_click","on_click_finish"],Xt.controlFieldType=v.VARCHAR,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class lo extends D{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}lo.controlFieldType=v.VARCHAR;var oo={Designer:Xt,Runtime:lo,Property:li};class bb extends J{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,r){if(u.active&&!u.text){r(f.getMessage("pleaseEnterWatermark"));return}r()}},autoRename:{type:"object",validator(n,u,r){if(u.active&&!u.text){r(f.getMessage("pleaseEnterFileName"));return}r()}}}},this.canAdd={type:"boolean",validator(n,u,r){if(e.canAdd&&!e.addLocal&&!e.addOnline){r(f.getMessage("pleaseChooseAtLeastOne"));return}r()}}}}class Eb extends k{constructor(e){super(e),this[0].type="array"}}class Qt extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g,b,C;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Jt.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(r=e==null?void 0:e.canAdd)!=null?r:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(m=e==null?void 0:e.canDelete)!=null?m:!1,this.maxSize=(g=e==null?void 0:e.maxSize)!=null?g:Gg,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new $a(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}Qt.Rules=bb,Qt.RuntimeRules=Eb;class Jt extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Jt.controlEventKeys=["on_change","on_wps_open"],Jt.controlFieldType=v.FILE,Jt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class co extends D{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"wps"}}co.controlFieldType=v.FILE;var so={Designer:Jt,Runtime:co,Property:Qt};class Cb extends J{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},pi.call(this,e,it.controlCustomAttributes),e.businessType===Xe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Ib extends k{constructor(e){super(e),this[0].type="array"}}class Zt extends T{constructor(e){var n,u,r,a,l,o,s,d,m,g,b,C,S,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(r=e==null?void 0:e.range)!=null?r:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(m=e==null?void 0:e.caption)!=null?m:it.controlName,this.placeholder=(g=e==null?void 0:e.placeholder)!=null?g:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new an((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:it.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:Ou.INTERNAL,this.businessScope=(S=e==null?void 0:e.businessScope)!=null?S:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Xe.ALL,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var y;(y=this.multistageFilling)==null||y.push(new ee(_))}))}}Zt.Rules=Cb,Zt.RuntimeRules=Ib;class it extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:r}=this.props;n.props.displayLevel=u,n.props.showSubDept=r}return n}}it.controlFieldType=v.DEPARTMENTS,it.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class fo extends D{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"department2"}}fo.controlFieldType=v.DEPARTMENTS;var ho={Designer:it,Runtime:fo,Property:Zt},wb=Object.freeze({__proto__:null,Input:sl,Checkbox:fl,Radio:yl,Number:vl,DatePicker:bl,DateRange:Cl,Textarea:wl,RichText:Sl,Select:Rl,SelectMultiple:Tl,Employee:Dl,Image:Ol,Attachment:xl,Amount:Nl,Score:$l,Address:Vl,Department:jl,AutoNumber:Ul,Calc:Kl,SearchNumberRange:Gl,SearchDateRange:Ql,VueFormItem:Zl,SelectRelation:pl,SearchInput:no,Tree:uo,Employee2:ao,ElectronicSignature:oo,WPS:so,Department2:ho});class yo extends V{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}yo.excludes=[A.GRID];class Ab extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var mo={Designer:yo,Runtime:Ab,Property:M};const Sb=24;class Be extends M{constructor(e){var n,u;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Sb,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class Yt extends V{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Yt.excludes=[A.COL,A.CARD_GROUP,A.SUBTABLE,A.SUBTABLE_COLUMN,A.DIVIDER],Yt.childrenMaxLength=1;class zu extends U{constructor(e){super(e),this.props=new Be(e==null?void 0:e.props)}static get controlType(){return"col"}}var vo={Designer:Yt,Runtime:zu,Property:Be};class oi extends M{constructor(e){var n,u;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class ci extends V{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ci.excludes=[A.ROW],ci.setting=[{key:"col-setting",visible:!0}];class go extends U{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"row"}}var bo={Designer:ci,Runtime:go,Property:oi};const _b=4;class si extends ci{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}si.excludes=[A.GRID_ROW],si.setting=[],si.childrenMaxLength=_b;class Rb extends go{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Bb extends oi{constructor(e){super(e)}}var Eo={Designer:si,Runtime:Rb,Property:Bb};class Tb extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class di extends M{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}di.Rules=Tb;class Gu extends V{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Gu.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Gu.excludes=[A.CARD_GROUP];class Pb extends U{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Co={Designer:Gu,Runtime:Pb,Property:di};class Db extends q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class fi extends M{constructor(e){var n,u,r,a,l,o;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(r=e==null?void 0:e.fixed)!=null?r:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.isHideCaption=(o=e==null?void 0:e.isHideCaption)!=null?o:!1}}fi.Rules=Db;class le extends V{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}}le.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",le.controlType="subtable-column",le.controlIcon="subtable-column",le.childrenMaxLength=1,le.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],le.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];class Io extends U{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}}Io.controlType="subtable-column";var wo={Designer:le,Runtime:Io,Property:fi};class Xu extends M{constructor(e){super(e)}}class Te extends V{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}}Te.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Te.controlType="subtable-row",Te.controlIcon="subtable-row",Te.childrenMaxLength=1,Te.excludes=[A.SUBTABLE,A.SUBTABLE_COLUMN,A.SUBTABLE_ROW,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],Te.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class xb extends U{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ao={Designer:Te,Runtime:xb,Property:Xu};class Qu extends M{constructor(e){var n,u,r,a,l,o,s,d,m,g;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(r=e==null?void 0:e.fixed)!=null?r:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:v.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(m=e==null?void 0:e.timestampDateType)!=null?m:me.DATE,this.departmentDisplayLevel=(g=e==null?void 0:e.departmentDisplayLevel)!=null?g:1}}class Pe extends V{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}}Pe.controlName="\u5217\u8868\u5355\u5143\u683C",Pe.controlType="gridtable-column",Pe.controlIcon="gridtable-column",Pe.childrenMaxLength=1,Pe.excludes=[A.GRID_TABLE,A.GRID_TABLE_COLUMN,A.ROW,A.COL,A.CARD_GROUP,A.DIVIDER,A.TEXT],Pe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];class So extends U{constructor(e){super(e),this.props=new Qu(e==null?void 0:e.props)}}So.controlType="gridtable-column";var _o={Designer:Pe,Runtime:So,Property:Qu};class Ju extends M{constructor(e){super(e)}}class Fb extends q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class hi extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:yi.controlName}}hi.Rules=Fb;class pt extends V{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}pt.excludes=[A.TAB],pt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Ob extends U{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Ro={Designer:pt,Runtime:Ob,Property:hi};class yi extends V{constructor(e){var n;super(e),this.props=new Ju(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new pt,new pt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}yi.excludes=[A.TAB],yi.setting=[{key:"super-setting",visible:!0}];class kb extends U{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Bo={Designer:yi,Runtime:kb,Property:Ju};class To extends M{constructor(e){super(e)}}class Po extends V{constructor(e){super(e),this.props=new To({}),this.children=(e==null?void 0:e.children)||[new Yt({props:new Be({span:12})}),new Yt({props:new Be({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Po.excludes=[A.GRID_ROW,A.ROW,A.GRID,A.SUBTABLE,A.TAB,A.TOOLBOX];class Nb extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new zu({props:new Be({span:12})}),new zu({props:new Be({span:12})})]}}var Do={Designer:Po,Runtime:Nb,Property:To};class Mb extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class $b extends q{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),Yi.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class en extends M{constructor(e){var n,u,r,a,l,o,s,d;super(e),this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(r=e==null?void 0:e.triggerType)!=null?r:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Rh(e==null?void 0:e.sublistPage),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(d=e==null?void 0:e.isAllLoaded)!=null?d:!0}}en.Rules=$b,en.RuntimeRules=Mb;class mi extends V{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}mi.excludes=[A.ROW],mi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],mi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class Lb extends U{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var xo={Designer:mi,Runtime:Lb,Property:en};class Vb extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class vi extends M{constructor(e){var n,u,r,a,l,o;super(e),this.save=new re((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new re((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new re((r=e==null?void 0:e.saveAs)!=null?r:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new re((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new re(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new X(e==null?void 0:e.datasourceBind)}}vi.RuntimeRules=Vb;class Fo extends V{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Fo.excludes=[];class Hb extends U{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Oo={Designer:Fo,Runtime:Hb,Property:vi};class jb extends V{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class qb extends U{static get controlType(){return"page"}constructor(e){super(e)}}class Ub extends M{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var ko={Designer:jb,Runtime:qb,Property:Ub};class Wb extends V{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Kb extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class zb extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ha(e==null?void 0:e.flexConfig)}}var No={Designer:Wb,Runtime:Kb,Property:zb};class Gb extends V{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Xb extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Qb extends M{constructor(e){super(e)}}var Mo={Designer:Gb,Runtime:Xb,Property:Qb};class Jb extends V{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Zb extends U{static get controlType(){return"position"}constructor(e){super(e)}}class Yb extends M{constructor(e){var n,u,r,a;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(r=e==null?void 0:e.left)!=null?r:0,this.top=(a=e==null?void 0:e.top)!=null?a:0}}var $o={Designer:Jb,Runtime:Zb,Property:Yb},pb=Object.freeze({__proto__:null,Grid:mo,Col:vo,Row:bo,GridRow:Eo,CardGroup:Co,SubTableColumn:wo,SubTableRow:Ao,GridTableColumn:_o,Tab:Bo,TabPane:Ro,Toolbox:Do,ListView:xo,DataView:Oo,Page:ko,AdvancedContainer:No,PositioningContainer:Mo,Position:$o});class e0 extends q{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class t0 extends Ae{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,u,r){u.length<e.limitRows&&r(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),r()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class tn extends Cn{constructor(e,n){var u,r,a,l,o,s,d,m,g,b,C,S,E,_,y,I,j,w,F,ie,x;super(e,n),this.caption=(u=n==null?void 0:n.caption)!=null?u:gi.controlName,this.isHideCaption=(r=n==null?void 0:n.isHideCaption)!=null?r:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(l=n==null?void 0:n.labelPosition)!=null?l:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(m=n==null?void 0:n.maxHeight)!=null?m:La,this.printMode=(g=n==null?void 0:n.printMode)!=null?g:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.defaultRows=(C=n==null?void 0:n.defaultRows)!=null?C:1,this.datasourceBind=new X(n==null?void 0:n.datasourceBind),this.canAdd=(S=n==null?void 0:n.canAdd)!=null?S:!0,this.canDelete=(E=n==null?void 0:n.canDelete)!=null?E:!0,this.canCheck=(_=n==null?void 0:n.canCheck)!=null?_:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(I=n==null?void 0:n.canImport)!=null?I:!1,this.canExport=(j=n==null?void 0:n.canExport)!=null?j:!1,this.canClear=(w=n==null?void 0:n.canClear)!=null?w:!0,this.serverPagination=(F=n==null?void 0:n.serverPagination)!=null?F:!1,this.isShowCaptionTip=(ie=n==null?void 0:n.isShowCaptionTip)!=null?ie:!1,this.captionTip=(x=n==null?void 0:n.captionTip)!=null?x:""}}tn.Rules=e0,tn.RuntimeRules=t0;class gi extends du{constructor(e){var n;super(e),this.props=new tn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new le,new le,new le])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new le,r=typeof e=="number"?e:n;return r===void 0?this.props.headers.push(u):this.props.headers.splice(r,0,u),u}}gi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],gi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];class n0 extends Ba{constructor(e){super(e),this.props=new tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mr("Method not implemented.")}getChildrenFormControl(){return[]}}var Lo={Designer:gi,Runtime:n0,Property:tn};class Zu extends Cn{constructor(e,n){var u,r,a,l;super(e,n),this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(r=n==null?void 0:n.isShowToolbar)!=null?r:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0}}class i0 extends An{constructor(e){super(e),this.caption.required=!1}}class bi extends H{constructor(e){var n,u,r,a;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:De.controlName,this.width=(r=e==null?void 0:e.width)!=null?r:50,this.widthType=(a=e==null?void 0:e.widthType)!=null?a:"px"}}bi.Rules=i0;class De extends K{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}}De.controlType="order-column",De.controlName="\u5E8F\u53F7",De.controlIcon="order-column",De.setting=[{key:"column-fixed",visible:!0}];class Yu extends z{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}}Yu.controlType="order-column",Yu.controlFieldType=v.DECIMAL;var Vo={Designer:De,Runtime:Yu,Property:bi};class u0 extends An{constructor(e){super(e),this.check=[{type:"object",message:f.getMessage("isNotObject")}],this.edit=[{type:"object",message:f.getMessage("isNotObject")}];const n=()=>({type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}});e.check.isShow&&this.check.push(n()),e.edit.isShow&&this.edit.push(n())}}class Ei extends H{constructor(e){var n,u,r,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.check=new re((u=e==null?void 0:e.check)!=null?u:{content:"\u67E5\u770B",type:"check",isShow:!1,priorityProcess:!0}),this.edit=new re((r=e==null?void 0:e.edit)!=null?r:{content:"\u7F16\u8F91",type:"edit",isShow:!1}),this.delete=new re((a=e==null?void 0:e.delete)!=null?a:{content:"\u5220\u9664",type:"delete",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new re(s)),this.caption=(o=e==null?void 0:e.caption)!=null?o:xe.controlName}}Ei.Rules=u0;class xe extends K{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return e.props.check=this.props.check,e.props.edit=this.props.edit,e.props.delete=this.props.delete,e}}xe.controlType="operation-column",xe.controlName="\u64CD\u4F5C",xe.controlIcon="operation-column",xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"operation-setting",showItems:[c.CAN_CHECK,c.CAN_EDIT,c.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];class pu extends z{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}pu.controlType="operation-column",pu.controlFieldType=v.FILE;var Ho={Designer:xe,Runtime:pu,Property:Ei};class Ci extends du{constructor(e){super(e),this.props=new Zu(this,e==null?void 0:e.props),Se(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new De,new xe])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return Si(we({},e),{children:n})}validate(e,n){return sc(this,null,function*(){return yield cc(Ci.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(u=>u.validate(e,n))),!0})}}Ci.setting=[{key:"list-fixed-header",visible:!0}];class r0 extends Ba{constructor(e){super(e),this.props=new Zu(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var jo={Designer:Ci,Runtime:r0,Property:Zu},a0=Object.freeze({__proto__:null,SubTable:Lo,GridTable:jo});class l0 extends Pa{constructor(e){super(e)}}class Ii extends H{constructor(e){var n,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=ye((r=e==null?void 0:e.options)!=null?r:[{}]),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}Ii.Rules=l0;class Fe extends K{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}Fe.controlType="varchar-column",Fe.controlName="\u77ED\u6587\u672C",Fe.controlIcon="varchar-column",Fe.controlFieldType=v.VARCHAR,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class er extends z{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}}er.controlType="varchar-column",er.controlFieldType=v.VARCHAR;var qo={Designer:Fe,Runtime:er,Property:Ii};class tr extends H{constructor(e){var n,u,r;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:Oe.controlName,this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}class Oe extends K{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}Oe.controlType="text-column",Oe.controlName="\u957F\u6587\u672C",Oe.controlIcon="text-column",Oe.controlFieldType=v.TEXT,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class nr extends z{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}}nr.controlType="text-column",nr.controlFieldType=v.TEXT;var Uo={Designer:Oe,Runtime:nr,Property:tr};class ir extends H{constructor(e){var n,u,r,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=ye((o=e==null?void 0:e.options)!=null?o:[{}])}}class ke extends K{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:r}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=r}return n}}ke.controlType="decimal-column",ke.controlName="\u6570\u503C",ke.controlIcon="decimal-column",ke.controlFieldType=v.DECIMAL,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class ur extends z{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}}ur.controlType="decimal-column",ur.controlFieldType=v.DECIMAL;var Wo={Designer:ke,Runtime:ur,Property:ir};class rr extends H{constructor(e){var n,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:Ne.controlName}}class Ne extends K{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ne.controlType="timescope-column",Ne.controlName="\u65E5\u671F\u533A\u95F4",Ne.controlIcon="timescope-column",Ne.controlFieldType=v.TIMESCOPE,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ar extends z{constructor(e){super(e),this.props=new rr(e==null?void 0:e.props)}}ar.controlType="timescope-column",ar.controlFieldType=v.TIMESCOPE;var Ko={Designer:Ne,Runtime:ar,Property:rr};class lr extends H{constructor(e){var n,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:me.DATE,this.caption=(u=e==null?void 0:e.caption)!=null?u:Me.controlName}}class Me extends K{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Me.controlType="timestamp-column",Me.controlName="\u65E5\u671F",Me.controlIcon="timestamp-column",Me.controlFieldType=v.TIMESTAMP,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class or extends z{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}or.controlType="timestamp-column",or.controlFieldType=v.TIMESTAMP;var zo={Designer:Me,Runtime:or,Property:lr};class o0 extends Pa{constructor(e){super(e)}}class wi extends H{constructor(e){var n,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new X(e==null?void 0:e.datasourceBind),this.options=ye((r=e==null?void 0:e.options)!=null?r:[{}])}}wi.Rules=o0;class $e extends K{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}$e.controlType="array-column",$e.controlName="\u6570\u7EC4",$e.controlIcon="array-column",$e.controlFieldType=v.ARRAY,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class cr extends z{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}}cr.controlType="array-column",cr.controlFieldType=v.ARRAY;var Go={Designer:$e,Runtime:cr,Property:wi};class sr extends H{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class Le extends K{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:u}=this.props;n.props.displayLevel=u}return n}}Le.controlType="department-column",Le.controlName="\u90E8\u95E8",Le.controlIcon="department-column",Le.controlFieldType=v.DEPARTMENTS,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class dr extends z{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}}dr.controlType="department-column",dr.controlFieldType=v.DEPARTMENTS;var Xo={Designer:Le,Runtime:dr,Property:sr};class fr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends K{constructor(e){super(e),this.props=new fr(e==null?void 0:e.props)}}Ve.controlType="auto-number-column",Ve.controlName="\u81EA\u52A8\u7F16\u53F7",Ve.controlIcon="auto-number-column",Ve.controlFieldType=v.AUTO_NUMBER,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class hr extends z{constructor(e){super(e),this.props=new fr(e==null?void 0:e.props)}}hr.controlType="auto-number-column",hr.controlFieldType=v.AUTO_NUMBER;var Qo={Designer:Ve,Runtime:hr,Property:fr};class yr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends K{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}He.controlType="file-column",He.controlName="\u9644\u4EF6",He.controlIcon="file-column",He.controlFieldType=v.FILE,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class mr extends z{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props)}}mr.controlType="file-column",mr.controlFieldType=v.FILE;var Jo={Designer:He,Runtime:mr,Property:yr};class vr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends K{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}je.controlType="image-column",je.controlName="\u56FE\u7247",je.controlIcon="image-column",je.controlFieldType=v.IMAGE,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class gr extends z{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}gr.controlType="image-column",gr.controlFieldType=v.IMAGE;var Zo={Designer:je,Runtime:gr,Property:vr};class br extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName}}class qe extends K{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}}qe.controlType="people-column",qe.controlName="\u4EBA\u5458",qe.controlIcon="people-column",qe.controlFieldType=v.EMPLOYEES,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Er extends z{constructor(e){super(e),this.props=new br(e==null?void 0:e.props)}}Er.controlType="people-column",Er.controlFieldType=v.EMPLOYEES;var Yo={Designer:qe,Runtime:Er,Property:br};class Cr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName}}class Ue extends K{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}Ue.controlType="location-column",Ue.controlName="\u5730\u5740",Ue.controlIcon="location-column",Ue.controlFieldType=v.ADDRESS,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ir extends z{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}}Ir.controlType="location-column",Ir.controlFieldType=v.ADDRESS;var po={Designer:Ue,Runtime:Ir,Property:Cr};class wr extends H{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ce.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const c0=1;class Ce extends K{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new wr(e==null?void 0:e.props),Se(this,"children",e==null?void 0:e.children),this.excludes=ve(n),this.childrenMaxLength=u}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return Si(we({},e),{children:this.children.map(n=>n.toSchema())})}}Ce.controlType="custom-column",Ce.controlName="\u81EA\u5B9A\u4E49",Ce.controlIcon="custom-column",Ce.excludes=[],Ce.childrenMaxLength=c0,Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ec extends z{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props),Se(this,"children",e==null?void 0:e.children)}}ec.controlType="custom-column";var tc={Designer:Ce,Runtime:ec,Property:wr};class Ar extends H{constructor(e){var n,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ie.controlName,this.datasourceBind=new an((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Ie.controlCustomAttributes})}}class Ie extends K{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ie.controlType="employee-column",Ie.controlName="\u4EBA\u5458",Ie.controlIcon="employee-column",Ie.controlFieldType=v.EMPLOYEES,Ie.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Sr extends z{constructor(e){super(e),this.props=new Ar(e==null?void 0:e.props)}}Sr.controlType="employee-column",Sr.controlFieldType=v.EMPLOYEES;var nc={Designer:Ie,Runtime:Sr,Property:Ar},s0=Object.freeze({__proto__:null,VarcharColumn:qo,TextColumn:Uo,DecimalColumn:Wo,TimescopeColumn:Ko,TimestampColumn:zo,ArrayColumn:Go,DepartmentColumn:Xo,AutoNumberColumn:Qo,FileColumn:Jo,ImageColumn:Zo,PeopleColumn:Yo,LocationColumn:po,CustomColumn:tc,OrderColumn:Vo,OperationColumn:Ho,EmployeeColumn:nc});class d0 extends Ae{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ai extends Iu{constructor(e){var n,u,r,a,l,o,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new re((r=e==null?void 0:e.search)!=null?r:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new re((a=e==null?void 0:e.cancel)!=null?a:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(d=>new re(d)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Ai.RuntimeRules=d0;class _r extends Uv{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}}_r.controlType="simple-search",_r.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class ic extends Zv{constructor(e){var n;super(e),this.props=new Ai(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ic.controlType="simple-search";var uc={Designer:_r,Runtime:ic,Property:Ai},f0=Object.freeze({__proto__:null,SimpleSearch:uc});h.Address=Vl,h.AdvancedContainer=No,h.Amount=Nl,h.ArrayColumn=Go,h.AssignType=Xe,h.Attachment=xl,h.AutoNumber=Ul,h.AutoNumberColumn=Qo,h.BatchPrintListButton=ll,h.BatchPrintRecordListButton=ol,h.BatchSubmissionListButton=za,h.Button=Oa,h.Calc=Kl,h.CardGroup=Co,h.Checkbox=fl,h.Col=vo,h.CreateFormListButton=Ka,h.CustomColumn=tc,h.DATE_CONFIG_TYPE=ka,h.DATE_LIMIT_TYPE=Na,h.Dashboard=nl,h.DataView=Oo,h.DatePicker=bl,h.DateRange=Cl,h.DecimalColumn=Wo,h.Department=jl,h.Department2=ho,h.DepartmentColumn=Xo,h.DepartmentType=Ou,h.Divider=Ua,h.ElectronicSignature=oo,h.ElectronicSignatureConfig=Ma,h.Employee=Dl,h.Employee2=ao,h.EmployeeColumn=nc,h.EncryptTypeEnum=ja,h.Explain=Dn,h.ExportListButton=Xa,h.ExportRecordListButton=Qa,h.ExportTemplate=Du,h.FileColumn=Jo,h.FlexStyleConfig=Ha,h.FormSelectButton=Za,h.Grid=mo,h.GridRow=Eo,h.GridTable=jo,h.GridTableColumn=_o,h.Image=Ol,h.ImageColumn=Zo,h.ImportRecordListButton=Ja,h.Input=sl,h.InternalType=ku,h.InvoiceCheckButton=al,h.LINE_STYLE=Tu,h.LimitDate=Pn,h.Link=Fa,h.ListSelectButton=Ya,h.ListView=xo,h.ListViewSelect=ul,h.LocationColumn=po,h.Number=vl,h.OperationColumn=Ho,h.OrderColumn=Vo,h.OrganizeType=Fu,h.Page=ko,h.Pagination=el,h.PeopleColumn=Yo,h.Position=$o,h.PositioningContainer=Mo,h.PrintTemplate=Va,h.Radio=yl,h.RichText=Sl,h.Row=bo,h.SCORE_TYPE=Bu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=La,h.Score=$l,h.SearchDateRange=Ql,h.SearchInput=no,h.SearchNumberRange=Gl,h.Select=Rl,h.SelectMultiple=Tl,h.SelectRelation=pl,h.SimpleSearch=uc,h.SubTable=Lo,h.SubTableColumn=wo,h.SubTableRow=Ao,h.SubmissionRecordListButton=Ga,h.Tab=Bo,h.TabPane=Ro,h.Text=xa,h.TextColumn=Uo,h.TextOcrButton=rl,h.Textarea=wl,h.TimescopeColumn=Ko,h.TimestampColumn=zo,h.Title=Wa,h.TitleConfigEnum=_e,h.Toolbox=Do,h.Tree=uo,h.UndersignedPerson=Pu,h.VarcharColumn=qo,h.VueFormItem=Zl,h.WPS=so,h.WPSSetting=$a,h.WpsOperationItem=xu,h.baseControls=Dg,h.columnControls=s0,h.formControls=wb,h.initExpression=mt,h.layoutControls=pb,h.listControls=a0,h.searchControls=f0,Object.defineProperty(h,"__esModule",{value:!0})});
1
+ var hb=Object.defineProperty,yb=Object.defineProperties;var mb=Object.getOwnPropertyDescriptors;var lc=Object.getOwnPropertySymbols,gb=Object.getPrototypeOf,vb=Object.prototype.hasOwnProperty,bb=Object.prototype.propertyIsEnumerable,Eb=Reflect.get;var oc=(f,F,$)=>F in f?hb(f,F,{enumerable:!0,configurable:!0,writable:!0,value:$}):f[F]=$,Ce=(f,F)=>{for(var $ in F||(F={}))vb.call(F,$)&&oc(f,$,F[$]);if(lc)for(var $ of lc(F))bb.call(F,$)&&oc(f,$,F[$]);return f},Ci=(f,F)=>yb(f,mb(F));var cc=(f,F,$)=>Eb(gb(f),$,F);var sc=(f,F,$)=>new Promise((Ii,en)=>{var wi=oe=>{try{ut($.next(oe))}catch(rt){en(rt)}},Ai=oe=>{try{ut($.throw(oe))}catch(rt){en(rt)}},ut=oe=>oe.done?Ii(oe.value):Promise.resolve(oe.value).then(wi,Ai);ut(($=$.apply(f,F)).next())});(function(f,F){typeof exports=="object"&&typeof module!="undefined"?F(exports):typeof define=="function"&&define.amd?define(["exports"],F):(f=typeof globalThis!="undefined"?globalThis:f||self,F(f.modelDrivenControls={}))})(this,function(f){"use strict";var F="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",$="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ii="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",en="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",wi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Ai="{caption}\u5FC5\u586B",ut="\u8BF7\u8F93\u5165\u6807\u9898",oe="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",rt="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",dc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",fc="\u8BF7\u7ED1\u5B9A\u8868\u5355",hc="\u8BF7\u7ED1\u5B9A\u5217\u8868",yc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",mc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",gc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",vc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",bc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ec="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Cc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ic="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",wc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ac="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",_c="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Sc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Rc="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Bc="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Tc="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Pc="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",xc="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Dc="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Fc="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Oc="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",kc="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Nc="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Mc="\u8BF7\u7ED1\u5B9A\u670D\u52A1",$c="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Lc="\u8BF7\u9009\u62E9\u7701",Vc="\u8BF7\u9009\u62E9\u5E02",Hc="\u8BF7\u9009\u62E9\u533A",jc="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",qc="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Uc="\u8BF7\u8F93\u5165\u5217\u5BBD",Wc="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Kc="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",zc="\u8BF7\u9009\u62E9\u63A7\u4EF6",Gc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Xc="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Qc="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Jc="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Zc="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Yc="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",es="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ts="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ns="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",is="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",us="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",rs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",as="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ls="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",os="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",cs="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ss="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ds="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",fs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",hs="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ys={isNotNumber:F,isNotString:$,isNotObject:Ii,isNotArray:en,isNotBoolean:wi,runtimeRequired:Ai,pleaseEnterCaption:ut,pleaseEnterCaptionTip:oe,pleaseEnterPlaceholder:rt,pleaseEnterFieldCode:dc,pleaseEnterForm:fc,pleaseEnterList:hc,pleaseEnterProcess:yc,pleaseEnterLabel:mc,pleaseEnterValue:gc,bizKeyNotBindFiled:vc,pleaseEnterNumberRange:bc,pleaseEnterAValueGreaterThanMin:Ec,pleaseEnterAValueLessThanMax:Cc,numberRangeSetError:Ic,stringRangeError:wc,attachmentMaxSize:Ac,pleaseEnterTotalScoreSetting:_c,theTotalScoreMustNotBeLessThan1:Sc,scoreDefaultValueRange:Rc,attachmentLimitError:Bc,PleaseReselectTheOptionalQuantity:Tc,TheMaximumLengthIsGreaterThanTheMinimumLength:Pc,TheMinimumLengthIsGreaterThanTheMaximumLength:xc,PleaseSelectTheCorrectOptionSettings:Dc,optionIdIsRepeat:Fc,optionIsRequired:Oc,pleaseEnterDataCode:kc,pleaseEnterValueFieldCode:Nc,pleaseEnterSvcCode:Mc,pleaseBindAtLeastOneDisplayValue:$c,pleaseSelectProvince:Lc,pleaseSelectCity:Vc,pleaseSelectDistrict:Hc,limitRowsCannotBeLessThan0:jc,TheNumberOfRowsCannotBeLessThanMinRows:qc,pleaseEnterColumnWidth:Uc,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Wc,pleaseCompleteAllRulesAndConditions:Kc,pleaseSelectControl:zc,pleaseSelectAtLeastOneColumn:Gc,pleaseSelectFillBackMode:Xc,pleaseSelectDashboard:Qc,rootNodeIsRequired:Jc,theViewNameCannotBeEmpty:Zc,pleaseSelectOcrType:Yc,pleaseSelectAtLeastOneFieldToFillIn:pc,pleaseChooseAtLeastOne:es,pleaseEnterButtonContent:ts,pleaseEnterDataCodeInDataSetting:ns,pleaseEnterValueFieldCodeInDataSetting:is,pleaseEnterSvcCodeInDataSetting:us,pleaseBindAtLeastOneDisplayValueInDataSetting:rs,rootNodeIsRequiredInDataSetting:as,pleaseEnterMaxHeight:ls,pleaseEnter:os,pleaseEnterWatermark:cs,pleaseEnterFileName:ss,pleaseUploadAtLeastOnePrintTemplate:ds,pleaseAssignBusiness:fs,pleaseAssignExternal:hs},ms="Please enter a number",gs="Please enter a string",vs="Please enter an object",bs="Please enter an array",Es="Please enter a boolean",Cs="{caption} Required",Is="Please enter the title",ws="Please enter the bubble prompt",As="Please enter the prompt text",_s="Please bind data items",Ss="Please bind the form",Rs="Please bind the list",Bs="Please bind the process",Ts="Please enter the displayed value",Ps="Please enter the stored value",xs="The document number is not bound to the data item",Ds="Please enter a value greater than or equal to {min} and less than or equal to {max}",Fs="Please enter a value greater than or equal to {min}",Os="Please enter a value less than or equal to {max}",ks="The value range is set incorrectly",Ns="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Ms="The attachment size must be between 0MB and 1000MB",$s="Please fill in the total score setting",Ls="The total score cannot be less than 1",Vs="The default value must be between {min} and {max}",Hs="The number of attachments uploaded must be between {min} and {max}",js="Please re-select the optional quantity",qs="The maximum length of the control must be greater than the minimum length",Us="The minimum length of the control must be less than the maximum length",Ws="Please select the correct option setting",Ks="Option ID cannot be repeated",zs="Please enter at least one option",Gs="Please bind the data source",Xs="Please bind the stored value",Qs="Please bind the service",Js="At least one display value must be bound",Zs="Please select a province",Ys="Please select a city",ps="Please select a district",ed="The minimum number of lines to fill in cannot be less than 0",td="The number of rows cannot be less than {min} rows",nd="Please enter the column width",id="Please set the logical relationship of all rule conditions",ud="Please complete all rules and conditions",rd="please select control",ad="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",ld="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",od="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",cd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",sd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",dd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",hd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",yd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",md="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",vd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",bd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ed="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Cd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Id="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",wd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ad="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",_d={isNotNumber:ms,isNotString:gs,isNotObject:vs,isNotArray:bs,isNotBoolean:Es,runtimeRequired:Cs,pleaseEnterCaption:Is,pleaseEnterCaptionTip:ws,pleaseEnterPlaceholder:As,pleaseEnterFieldCode:_s,pleaseEnterForm:Ss,pleaseEnterList:Rs,pleaseEnterProcess:Bs,pleaseEnterLabel:Ts,pleaseEnterValue:Ps,bizKeyNotBindFiled:xs,pleaseEnterNumberRange:Ds,pleaseEnterAValueGreaterThanMin:Fs,pleaseEnterAValueLessThanMax:Os,numberRangeSetError:ks,stringRangeError:Ns,attachmentMaxSize:Ms,pleaseEnterTotalScoreSetting:$s,theTotalScoreMustNotBeLessThan1:Ls,scoreDefaultValueRange:Vs,attachmentLimitError:Hs,PleaseReselectTheOptionalQuantity:js,TheMaximumLengthIsGreaterThanTheMinimumLength:qs,TheMinimumLengthIsGreaterThanTheMaximumLength:Us,PleaseSelectTheCorrectOptionSettings:Ws,optionIdIsRepeat:Ks,optionIsRequired:zs,pleaseEnterDataCode:Gs,pleaseEnterValueFieldCode:Xs,pleaseEnterSvcCode:Qs,pleaseBindAtLeastOneDisplayValue:Js,pleaseSelectProvince:Zs,pleaseSelectCity:Ys,pleaseSelectDistrict:ps,limitRowsCannotBeLessThan0:ed,TheNumberOfRowsCannotBeLessThanMinRows:td,pleaseEnterColumnWidth:nd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:id,pleaseCompleteAllRulesAndConditions:ud,pleaseSelectControl:rd,pleaseSelectDashboard:ad,theViewNameCannotBeEmpty:ld,pleaseSelectOcrType:od,pleaseSelectAtLeastOneFieldToFillIn:cd,pleaseChooseAtLeastOne:sd,pleaseEnterButtonContent:dd,pleaseEnterDataCodeInDataSetting:fd,pleaseEnterValueFieldCodeInDataSetting:hd,pleaseEnterSvcCodeInDataSetting:yd,pleaseBindAtLeastOneDisplayValueInDataSetting:md,rootNodeIsRequiredInDataSetting:gd,pleaseEnterMaxHeight:vd,pleaseEnter:bd,pleaseEnterWatermark:Ed,pleaseEnterFileName:Cd,pleaseUploadAtLeastOnePrintTemplate:Id,pleaseAssignBusiness:wd,pleaseAssignExternal:Ad},Sd="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Rd="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bd="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Td="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Pd="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xd="{caption}\u5FC5\u9808",Dd="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fd="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Od="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kd="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nd="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Md="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$d="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Ld="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vd="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hd="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",jd="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qd="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ud="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Wd="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Kd="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zd="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Gd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Xd="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Qd="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Jd="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Zd="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Yd="\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",pd="\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",ef="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",tf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",nf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",uf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",af="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",of="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",df="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ff="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",yf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",mf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",gf="please select control",vf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",bf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ef="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Cf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",If="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",wf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",_f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Bf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Tf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Pf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",xf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Df="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ff="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Of="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",kf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Nf={isNotNumber:Sd,isNotString:Rd,isNotObject:Bd,isNotArray:Td,isNotBoolean:Pd,runtimeRequired:xd,pleaseEnterCaption:Dd,pleaseEnterCaptionTip:Fd,pleaseEnterPlaceholder:Od,pleaseEnterFieldCode:kd,pleaseEnterForm:Nd,pleaseEnterList:Md,pleaseEnterProcess:$d,pleaseEnterLabel:Ld,pleaseEnterValue:Vd,bizKeyNotBindFiled:Hd,pleaseEnterNumberRange:jd,pleaseEnterAValueGreaterThanMin:qd,pleaseEnterAValueLessThanMax:Ud,numberRangeSetError:Wd,stringRangeError:Kd,attachmentMaxSize:zd,pleaseEnterTotalScoreSetting:Gd,theTotalScoreMustNotBeLessThan1:Xd,scoreDefaultValueRange:Qd,attachmentLimitError:Jd,PleaseReselectTheOptionalQuantity:Zd,TheMaximumLengthIsGreaterThanTheMinimumLength:Yd,TheMinimumLengthIsGreaterThanTheMaximumLength:pd,PleaseSelectTheCorrectOptionSettings:ef,optionIdIsRepeat:tf,optionIsRequired:nf,pleaseEnterDataCode:uf,pleaseEnterValueFieldCode:rf,pleaseEnterSvcCode:af,pleaseBindAtLeastOneDisplayValue:lf,pleaseSelectProvince:of,pleaseSelectCity:cf,pleaseSelectDistrict:sf,limitRowsCannotBeLessThan0:df,TheNumberOfRowsCannotBeLessThanMinRows:ff,pleaseEnterColumnWidth:hf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:yf,pleaseCompleteAllRulesAndConditions:mf,pleaseSelectControl:gf,pleaseSelectDashboard:vf,theViewNameCannotBeEmpty:bf,pleaseSelectOcrType:Ef,pleaseSelectAtLeastOneFieldToFillIn:Cf,pleaseChooseAtLeastOne:If,pleaseEnterButtonContent:wf,pleaseEnterDataCodeInDataSetting:Af,pleaseEnterValueFieldCodeInDataSetting:_f,pleaseEnterSvcCodeInDataSetting:Sf,pleaseBindAtLeastOneDisplayValueInDataSetting:Rf,rootNodeIsRequiredInDataSetting:Bf,pleaseEnterMaxHeight:Tf,pleaseEnter:Pf,pleaseEnterWatermark:xf,pleaseEnterFileName:Df,pleaseUploadAtLeastOnePrintTemplate:Ff,pleaseAssignBusiness:Of,pleaseAssignExternal:kf},Mf={zhCN:ys,enUS:_d,jaJP:Nf},Rr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Rr||(Rr={}));var Br;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Br||(Br={}));var $f="zh-CN";function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Tr;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Tr||(Tr={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var g;(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"})(g||(g={}));var z;z={},Y(z,g.ARRAY,C.ARRAY_COLUMN),Y(z,g.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),Y(z,g.DECIMAL,C.DECIMAL_COLUMN),Y(z,g.DEPARTMENTS,C.DEPARTMENT_COLUMN),Y(z,g.FILE,C.FILE_COLUMN),Y(z,g.IMAGE,C.IMAGE_COLUMN),Y(z,g.ADDRESS,C.LOCATION_COLUMN),Y(z,g.EMPLOYEES,C.EMPLOYEE_COLUMN),Y(z,g.TEXT,C.TEXT_COLUMN),Y(z,g.TIMESCOPE,C.TIMESCOPE_COLUMN),Y(z,g.TIMESTAMP,C.TIMESTAMP_COLUMN),Y(z,g.VARCHAR,C.VARCHAR_COLUMN),Y(z,g.RELATION,C.VARCHAR_COLUMN);var he;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(he||(he={}));var Pr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Lf=Pr+"0123456789";function re(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Pr:Lf,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function _i(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Vf(t){if(Array.isArray(t))return _i(t)}function Hf(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jf(){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 tn(t,e,n){return jf()?tn=Reflect.construct:tn=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&lt(o,a.prototype),o},tn.apply(null,arguments)}function at(t){return at=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},at(t)}function Dr(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&&lt(t,e)}function qf(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uf(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wf(){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 Kf(t,e){return e&&(zf(e)==="object"||typeof e=="function")?e:Hf(t)}function lt(t,e){return lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lt(t,e)}function Fr(t){return Vf(t)||Uf(t)||Gf(t)||Wf()}var zf=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Gf(t,e){if(!!t){if(typeof t=="string")return _i(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 _i(t,e)}}function Si(t){var e=typeof Map=="function"?new Map:void 0;return Si=function(i){if(i===null||!qf(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return tn(i,arguments,at(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),lt(u,i)},Si(t)}function Xf(){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 Or(t){var e=Xf();return function(){var i=at(t),u;if(e){var r=at(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Kf(this,u)}}var Ri=console;function Qf(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Ri).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Fr(u)))}function kr(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Ri).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Fr(u)))}function Jf(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Bi=function(t){Dr(n,t);var e=Or(n);function n(i){xr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Jf(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Si(Error)),Zf=function(t){Dr(n,t);var e=Or(n);function n(i){xr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Bi);function Nr(t){throw new Bi(t)}function Mr(t){throw new Zf(t)}function Yf(t){Ri.error(new Bi(t))}var pf=Object.prototype.toString;function $r(t,e){return pf.call(t)==="[object "+e+"]"}function eh(t){return $r(t,"String")}function th(t){return $r(t,"Promise")}var nh=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),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 i=this.getMessageData();th(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,r,a,l){if(u!==void 0){var s=u[r];if(!(a===l.length-1&&!eh(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var r=n[u];return r!==void 0?String(r):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=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 ih(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var d=function(){function t(){ih(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:$f;return new nh({locale:n,messages:Mf})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();d.$i18n=d.resetI18n();function uh(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,s){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){Qf("Can not set ".concat(e,"'s ").concat(a," property in current %o, Because there is no ").concat(a," property on the %o"),r,r);return}return l===s.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var rh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ah={exports:{}};(function(t){(function(e){var n=function(y,E,N){if(!o(E)||m(E)||v(E)||I(E)||s(E))return E;var R,D=0,ne=0;if(h(E))for(R=[],ne=E.length;D<ne;D++)R.push(n(y,E[D],N));else{R={};for(var x in E)Object.prototype.hasOwnProperty.call(E,x)&&(R[y(x,N)]=n(y,E[x],N))}return R},i=function(y,E){E=E||{};var N=E.separator||"_",R=E.split||/(?=[A-Z])/;return y.split(R).join(N)},u=function(y){return w(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(E,N){return N?N.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var E=u(y);return E.substr(0,1).toUpperCase()+E.substr(1)},a=function(y,E){return i(y,E).toLowerCase()},l=Object.prototype.toString,s=function(y){return typeof y=="function"},o=function(y){return y===Object(y)},h=function(y){return l.call(y)=="[object Array]"},m=function(y){return l.call(y)=="[object Date]"},v=function(y){return l.call(y)=="[object RegExp]"},I=function(y){return l.call(y)=="[object Boolean]"},w=function(y){return y=y-0,y===y},b=function(y,E){var N=E&&"process"in E?E.process:E;return typeof N!="function"?y:function(R,D){return N(R,y,D)}},A={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(y,E){return n(b(u,E),y)},decamelizeKeys:function(y,E){return n(b(a,E),y,E)},pascalizeKeys:function(y,E){return n(b(r,E),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=A:e.humps=A})(rh)})(ah);function ye(t){if(t!==void 0)return typeof t=="object"?JSON.parse(JSON.stringify(t)):t}function lh(t){return Object.prototype.toString.call(t)==="[object Object]"}function Ti(t){return Array.isArray(t)}function oh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Pi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ch(t){if(Array.isArray(t))return Pi(t)}function Lr(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function sh(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){Lr(r,i,u,a,l,"next",s)}function l(s){Lr(r,i,u,a,l,"throw",s)}a(void 0)})}}function dh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function hh(){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 xi(t){return ch(t)||fh(t)||yh(t)||hh()}function yh(t,e){if(!!t){if(typeof t=="string")return Pi(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 Pi(t,e)}}var mh=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},gh=function(){function t(){dh(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,r=new Array(u>1?u-1:0),a=1;a<u;a++)r[a-1]=arguments[a];var l=this;return sh(function(){var s,o,h,m,v,I,w,b,A,y,E,N;return mh(this,function(R){switch(R.label){case 0:if(s=l._events.get(i),o=[],!s)return[3,10];h=s.slice(),m=!0,v=!1,I=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),w=h[Symbol.iterator](),R.label=2;case 2:if(m=(b=w.next()).done)return[3,7];if(A=b.value,!s.includes(A))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),l.debug&&kr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(A.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+A.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"\u3002")].concat(xi(r))),[4,A.apply(null,xi(r))];case 4:return y=R.sent(),l.debug&&kr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(A.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+A.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(r.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(xi(r),[y])),o.push(y),y===!1?[3,7]:[3,6];case 5:return E=R.sent(),Yf(String(E)),[3,6];case 6:return m=!0,[3,2];case 7:return[3,10];case 8:return N=R.sent(),v=!0,I=N,[3,10];case 9:try{!m&&w.return!=null&&w.return()}finally{if(v)throw I}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var r;(r=this._events.get(i))===null||r===void 0||r.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var r=this._events.get(i),a=r==null?void 0:r.indexOf(u);r==null||r.splice(a,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),vh=[];new Set(vh.map(function(t){return t.Designer.controlType}));function Vr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function ce(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&&Di(t,e)}function Hr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function bh(t,e){return e&&(Eh(e)==="object"||typeof e=="function")?e:Vr(t)}function Di(t,e){return Di=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Di(t,e)}var Eh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ch(){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 se(t){var e=Ch();return function(){var i=nn(t),u;if(e){var r=nn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return bh(this,u)}}var ie=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:""},Fi=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},Ih=function(t){ce(n,t);var e=se(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;return u.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",u}return n}(Fi),jr=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},qr=function t(e){S(this,t);var n,i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new jr(a)}))!==null&&r!==void 0?r:[]},wh=function t(e){S(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:g.VARCHAR},Ah=function(t){ce(n,t);var e=se(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var a;u.svcCode=(a=i==null?void 0:i.svcCode)!==null&&a!==void 0?a:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(Fi),_h=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new Fi(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(a){return new wh(a)}))!==null&&u!==void 0?u:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(a){return new Ah(a)}))!==null&&r!==void 0?r:[]},Sh=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},ot=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Rh=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:re();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var h,m=new Ur(l);(h=n.children)===null||h===void 0||h.push(m)}}))},Ur=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:re();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var a;this.describe=(a=e==null?void 0:e.describe)!==null&&a!==void 0?a:"",this.leftVariableBo=new Sh(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new ot(e==null?void 0:e.rightVariableBo)},p=function t(e){S(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Oi=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Bh=function t(e){S(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function ki(t){var e,n;if(this.filters=(n=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new Rh(r):new Ur(r)}))!==null&&n!==void 0?n:[],Hr(this,G)||Hr(this,Ni)){var i,u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new Bh(r)}))!==null&&u!==void 0?u:[]}}var G=function t(e){var n=this;S(this,t);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[],Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(s){var o;(o=n.displayBoList)===null||o===void 0||o.push(new Oi(s))}));var a;this.showOrder=(a=e==null?void 0:e.showOrder)!==null&&a!==void 0?a:!0;var l;this.svcCode=(l=e==null?void 0:e.svcCode)!==null&&l!==void 0?l:"",ki.call(this,e)},Th=function t(e){S(this,t);var n,i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(a){return new Oi(a)}))!==null&&r!==void 0?r:[]},un=function(t){ce(n,t);var e=se(n);function n(i){S(this,n);var u,r;u=e.call(this,i);var a;return u.attributes=(a=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new Th(l)}))!==null&&a!==void 0?a:[],u}return n}(G),Ph=function(t){ce(n,t);var e=se(n);function n(i){S(this,n);var u;return u=e.call(this,i),u.rootNode=new ot(i==null?void 0:i.rootNode),u}return n}(un),Wr=function t(e){S(this,t);var n,i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(a){return new p(a)}))!==null&&r!==void 0?r:[]},Ni=function(t){ce(n,t);var e=se(n);function n(i){S(this,n);var u;return u=e.call(this,i),ki.call(Vr(u),i),u}return n}(Wr),Kr=function(t){ce(n,t);var e=se(n);function n(i){S(this,n);var u;u=e.call(this,i);var r;u.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var a;return u.multiple=(a=i==null?void 0:i.multiple)!==null&&a!==void 0?a:!1,u}return n}(Wr),zr=function t(e){S(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},xh=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:re(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new xh(n)}))!==null&&e!==void 0?e:[]}var Mi=function t(){S(this,t)},Dh=function(t){ce(n,t);var e=se(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new ie(i==null?void 0:i.amount),u.currency=new ie(i==null?void 0:i.currency),u}return n}(Mi),Fh=function t(e){S(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:rn.CNY},Oh=function(t){ce(n,t);var e=se(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new ie(i==null?void 0:i.min),u.max=new ie(i==null?void 0:i.max),u}return n}(Mi),kh=function t(e){S(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Nh=function t(e){S(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var a;this.province=(a=e==null?void 0:e.province)!==null&&a!==void 0?a:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Mh=function(t){ce(n,t);var e=se(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new ie(i==null?void 0:i.result),u.unit=new ie(i==null?void 0:i.unit),u}return n}(Mi),$h=function t(e){S(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},rn;(function(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"})(rn||(rn={}));var c;(function(t){t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var $i;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})($i||($i={}));var fe=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:re(10),this.code=e==null?void 0:e.code;var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"";var u;this.isShow=(u=e==null?void 0:e.isShow)!==null&&u!==void 0?u:!0;var r;this.content=(r=e==null?void 0:e.content)!==null&&r!==void 0?r:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"",this.icon=e==null?void 0:e.icon;var l;this.openType=(l=e==null?void 0:e.openType)!==null&&l!==void 0?l:"modal",this.priorityProcess=e==null?void 0:e.priorityProcess,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options},Lh=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:re(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(a){return new jr(a)}))!==null&&r!==void 0?r:[],ki.call(this,e)},Vh=function t(e){S(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Hh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Li(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jh(){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 an(t,e,n){return jh()?an=Reflect.construct:an=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&st(o,a.prototype),o},an.apply(null,arguments)}function ct(t){return ct=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ct(t)}function qh(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&&st(t,e)}function Uh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wh(t,e){return e&&(Kh(e)==="object"||typeof e=="function")?e:Hh(t)}function st(t,e){return st=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},st(t,e)}var Kh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vi(t){var e=typeof Map=="function"?new Map:void 0;return Vi=function(i){if(i===null||!Uh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return an(i,arguments,ct(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),st(u,i)},Vi(t)}function zh(){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 Gh(t){var e=zh();return function(){var i=ct(t),u;if(e){var r=ct(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Wh(this,u)}}var j=function t(e){Li(this,t),this.isHide={type:"boolean"}},Ie=function(t){qh(n,t);var e=Gh(n);function n(i){return Li(this,n),e.call(this)}return n}(Vi(Array)),U=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Li(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Vh(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};U.Rules=j,U.RuntimeRules=Ie;function ae(){return ae=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ae.apply(this,arguments)}function Xh(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Hi(t){return Hi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hi(t)}function ln(t,e){return ln=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ln(t,e)}function Qh(){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 on(t,e,n){return Qh()?on=Reflect.construct:on=function(u,r,a){var l=[null];l.push.apply(l,r);var s=Function.bind.apply(u,l),o=new s;return a&&ln(o,a.prototype),o},on.apply(null,arguments)}function Jh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ji(t){var e=typeof Map=="function"?new Map:void 0;return ji=function(i){if(i===null||!Jh(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return on(i,arguments,Hi(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),ln(u,i)},ji(t)}var Zh=/%[sdj%]/g,Gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function qi(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],r=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var a=String(u).replace(Zh,function(l){if(l==="%%")return"%";if(i>=r)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return a}return u}function Yh(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function L(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Yh(e)&&typeof t=="string"&&!t)}function ph(t,e,n){var i=[],u=0,r=t.length;function a(l){i.push.apply(i,l),u++,u===r&&n(i)}t.forEach(function(l){e(l,a)})}function Xr(t,e,n){var i=0,u=t.length;function r(a){if(a&&a.length){n(a);return}var l=i;i=i+1,l<u?e(t[l],r):n([])}r([])}function ey(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Qr=function(t){Xh(e,t);function e(n,i){var u;return u=t.call(this,"Async Validation Error")||this,u.errors=n,u.fields=i,u}return e}(ji(Error));function ty(t,e,n,i){if(e.first){var u=new Promise(function(m,v){var I=function(A){return i(A),A.length?v(new Qr(A,qi(A))):m()},w=ey(t);Xr(w,n,I)});return u.catch(function(m){return m}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,s=0,o=[],h=new Promise(function(m,v){var I=function(b){if(o.push.apply(o,b),s++,s===l)return i(o),o.length?v(new Qr(o,qi(o))):m()};a.length||(i(o),m()),a.forEach(function(w){var b=t[w];r.indexOf(w)!==-1?Xr(b,n,I):ph(b,n,I)})});return h.catch(function(m){return m}),h}function Jr(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 Zr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ae(ae({},t[n]),i):t[n]=i}}return t}function Yr(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||L(e,r||t.type))&&i.push(ee(u.messages.required,t.fullField))}function ny(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var Ui={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},dt={integer:function(e){return dt.number(e)&&parseInt(e,10)===e},float:function(e){return dt.number(e)&&!dt.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"&&!dt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Ui.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ui.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ui.hex)}};function iy(t,e,n,i,u){if(t.required&&e===void 0){Yr(t,e,n,i,u);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],a=t.type;r.indexOf(a)>-1?dt[a](e)||i.push(ee(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ee(u.messages.types[a],t.fullField,t.type))}function uy(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,h=null,m=typeof e=="number",v=typeof e=="string",I=Array.isArray(e);if(m?h="number":v?h="string":I&&(h="array"),!h)return!1;I&&(o=e.length),v&&(o=e.replace(s,"_").length),r?o!==t.len&&i.push(ee(u.messages[h].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(ee(u.messages[h].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(ee(u.messages[h].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[h].range,t.fullField,t.min,t.max))}var qe="enum";function ry(t,e,n,i,u){t[qe]=Array.isArray(t[qe])?t[qe]:[],t[qe].indexOf(e)===-1&&i.push(ee(u.messages[qe],t.fullField,t[qe].join(", ")))}function ay(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var _={required:Yr,whitespace:ny,type:iy,range:uy,enum:ry,pattern:ay};function ly(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e,"string")&&!t.required)return n();_.required(t,e,i,r,u,"string"),L(e,"string")||(_.type(t,e,i,r,u),_.range(t,e,i,r,u),_.pattern(t,e,i,r,u),t.whitespace===!0&&_.whitespace(t,e,i,r,u))}n(r)}function oy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&_.type(t,e,i,r,u)}n(r)}function cy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&(_.type(t,e,i,r,u),_.range(t,e,i,r,u))}n(r)}function sy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&_.type(t,e,i,r,u)}n(r)}function dy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),L(e)||_.type(t,e,i,r,u)}n(r)}function fy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&(_.type(t,e,i,r,u),_.range(t,e,i,r,u))}n(r)}function hy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&(_.type(t,e,i,r,u),_.range(t,e,i,r,u))}n(r)}function yy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e==null&&!t.required)return n();_.required(t,e,i,r,u,"array"),e!=null&&(_.type(t,e,i,r,u),_.range(t,e,i,r,u))}n(r)}function my(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&_.type(t,e,i,r,u)}n(r)}var gy="enum";function vy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u),e!==void 0&&_[gy](t,e,i,r,u)}n(r)}function by(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e,"string")&&!t.required)return n();_.required(t,e,i,r,u),L(e,"string")||_.pattern(t,e,i,r,u)}n(r)}function Ey(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e,"date")&&!t.required)return n();if(_.required(t,e,i,r,u),!L(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),_.type(t,l,i,r,u),l&&_.range(t,l.getTime(),i,r,u)}}n(r)}function Cy(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;_.required(t,e,i,r,u,a),n(r)}function Wi(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(L(e,r)&&!t.required)return n();_.required(t,e,i,a,u,r),L(e,r)||_.type(t,e,i,a,u)}n(a)}function Iy(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(L(e)&&!t.required)return n();_.required(t,e,i,r,u)}n(r)}var ft={string:ly,method:oy,number:cy,boolean:sy,regexp:dy,integer:fy,float:hy,array:yy,object:my,enum:vy,pattern:by,date:Ey,url:Wi,hex:Wi,email:Wi,required:Cy,any:Iy};function Ki(){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 zi=Ki();function me(t){this.rules=null,this._messages=zi,this.define(t)}me.prototype={messages:function(e){return e&&(this._messages=Zr(Ki(),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,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,a=n,l=i;if(typeof a=="function"&&(l=a,a={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(b){var A,y=[],E={};function N(R){if(Array.isArray(R)){var D;y=(D=y).concat.apply(D,R)}else y.push(R)}for(A=0;A<b.length;A++)N(b[A]);y.length?E=qi(y):(y=null,E=null),l(y,E)}if(a.messages){var o=this.messages();o===zi&&(o=Ki()),Zr(o,a.messages),a.messages=o}else a.messages=this.messages();var h,m,v={},I=a.keys||Object.keys(this.rules);I.forEach(function(b){h=u.rules[b],m=r[b],h.forEach(function(A){var y=A;typeof y.transform=="function"&&(r===e&&(r=ae({},r)),m=r[b]=y.transform(m)),typeof y=="function"?y={validator:y}:y=ae({},y),y.validator=u.getValidationMethod(y),y.field=b,y.fullField=y.fullField||b,y.type=u.getType(y),y.validator&&(v[b]=v[b]||[],v[b].push({rule:y,value:m,source:r,field:b}))})});var w={};return ty(v,a,function(b,A){var y=b.rule,E=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");E=E&&(y.required||!y.required&&b.value),y.field=b.field;function N(ne,x){return ae(ae({},x),{},{fullField:y.fullField+"."+ne})}function R(ne){ne===void 0&&(ne=[]);var x=ne;if(Array.isArray(x)||(x=[x]),!a.suppressWarning&&x.length&&me.warning("async-validator:",x),x.length&&y.message!==void 0&&(x=[].concat(y.message)),x=x.map(Jr(y)),a.first&&x.length)return w[y.field]=1,A(x);if(!E)A(x);else{if(y.required&&!b.value)return y.message!==void 0?x=[].concat(y.message).map(Jr(y)):a.error&&(x=[a.error(y,ee(a.messages.required,y.field))]),A(x);var le={};if(y.defaultField)for(var rc in b.value)b.value.hasOwnProperty(rc)&&(le[rc]=y.defaultField);le=ae(ae({},le),b.rule.fields);for(var nt in le)if(le.hasOwnProperty(nt)){var fb=Array.isArray(le[nt])?le[nt]:[le[nt]];le[nt]=fb.map(N.bind(null,nt))}var ac=new me(le);ac.messages(a.messages),b.rule.options&&(b.rule.options.messages=a.messages,b.rule.options.error=a.error),ac.validate(b.value,b.rule.options||a,function(Sr){var it=[];x&&x.length&&it.push.apply(it,x),Sr&&Sr.length&&it.push.apply(it,Sr),A(it.length?it:null)})}}var D;y.asyncValidator?D=y.asyncValidator(y,b.value,R,b.source,a):y.validator&&(D=y.validator(y,b.value,R,b.source,a),D===!0?R():D===!1?R(y.message||y.field+" fails"):D instanceof Array?R(D):D instanceof Error&&R(D.message)),D&&D.then&&D.then(function(){return R()},function(ne){return R(ne)})},function(b){s(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!ft.hasOwnProperty(e.type))throw new Error(ee("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),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?ft.required:ft[this.getType(e)]||!1}},me.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");ft[e]=n},me.warning=Gr,me.messages=zi,me.validators=ft;var wy={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 Ay(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new me(t);return n.messages(Object.assign(wy,e)),n}var _y=new gh;function Gi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Sy(t){if(Array.isArray(t))return t}function Ry(t){if(Array.isArray(t))return Gi(t)}function pr(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ea(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){pr(r,i,u,a,l,"next",s)}function l(s){pr(r,i,u,a,l,"throw",s)}a(void 0)})}}function By(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Ty(t,e,n){return e&&ta(t.prototype,e),n&&ta(t,n),t}function Py(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function na(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function ia(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function xy(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Dy(){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 ua(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Py(t,u,n[u])})}return t}function Fy(t){return Sy(t)||ia(t)||ra(t)||xy()}function Xi(t){return Ry(t)||ia(t)||ra(t)||Dy()}function ra(t,e){if(!!t){if(typeof t=="string")return Gi(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 Gi(t,e)}}var aa=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},k=function(){function e(i){var u=this;By(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=oa,this.removeSetting=la,this._callControlHooks("preInstance",i);var r=na(this,e)?this.constructor:void 0,a=r.controlName,l=r.controlIcon,s=r.controlType,o=r.controlFieldType,h=r.controlEventKeys,m=r.controlCustomEvents,v=r.name,I=r.setting;a&&l&&s||Mr("The ".concat(v," controlName,controlIcon,controlType is not define"));var w;this.id=(w=i==null?void 0:i.id)!==null&&w!==void 0?w:re(10),this.name=a,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:s,this.props=new U(i==null?void 0:i.props,(na(this,e)?this.constructor:void 0).controlName);var A;this.controlType=(A=i==null?void 0:i.controlType)!==null&&A!==void 0?A:"base",this.setting=ye(I);var y;this.fieldType=(y=i==null?void 0:i.fieldType)!==null&&y!==void 0?y:o,this.eventKeys=ye(h),this.customEvents=ye(m),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,r=new Array(u),a=0;a<u;a++)r[a]=arguments[a];var l,s=Fy(r),o=s[0],h=s.slice(1);return(l=_y).emit.apply(l,[o,this].concat(Xi(h)))},n.preUpdate=function(u,r){this._callControlHooks("preUpdateProps",u,r)},n.postUpdate=function(u,r){this._callControlHooks("postUpdateProps",u,r)},n.updateProps=function(u,r){this.preUpdate(u,r),uh(this.props,u,r),this.postUpdate(u,r)},n.preValidate=function(){var u=this;return ea(function(){var r,a,l;return aa(this,function(s){switch(s.label){case 0:return r=ua({},u.rules),[4,u._callControlHooks("preValidate",r)];case 1:return a=s.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,r){var a=this;return ea(function(){var l,s,o,h;return aa(this,function(m){switch(m.label){case 0:return[4,a.preValidate()];case 1:l=m.sent(),s=l!==void 0?l:ua({},a.rules),Array.isArray(r)&&r.forEach(function(v){s.hasOwnProperty(v)&&delete s[v]}),o=Ay(s,u),m.label=2;case 2:return m.trys.push([2,4,,5]),[4,o.validate(a.props)];case 3:return m.sent(),[2,!0];case 4:throw h=m.sent(),h.control||(h.control=a),h;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=this.fieldType,a=this.id,l=this.type,s=this.props,o=s.dataBind,h=s.datasourceBind,m=s.optionConfig,v=s.caption,I=s.required,w=s.maxLength,b=s.options,A=s.encrypted,y=s.encryptedMode;if(!(!r&&!o&&!h)){var E={parentId:u,fieldType:r,controlId:a,caption:v,type:l,props:{}};switch(o&&(E.dataBind=o),m){case"datasource":case void 0:h&&(E.datasourceBind=h);break;case"custom":E.props.options=b;break}return I!==void 0&&(E.required=I),w!==void 0&&(E.maxLength=w),A!==void 0&&(E.encrypted=A),y!==void 0&&(E.encryptedMode=y),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:ye(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,r){if(u==="setting"){if(r.add){var a;(a=this.setting).push.apply(a,Xi(r.add))}r.remove&&this.removeSettingItem(r.remove),r.update}},Ty(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();k.controlName="\u63A7\u4EF6",k.controlIcon="icon",k.controlType="control",k.controlEventKeys=[],k.controlCustomEvents=[],k.setting=[],k.__is_control__=!0,k.removeSettingItem=la,k.updateSettingItem=oa;function la(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(r!==-1){var a,l;u?e.setting[r].showItems=(a=e.setting[r].showItems)===null||a===void 0?void 0:a.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function oa(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var r=n.setting.find(function(o){return o.key===u});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var a,l=(a=e.type)!==null&&a!==void 0?a:"replace";if(l==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Xi(e.showItems))}}}})}function Oy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ca(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ky(t,e,n){return e&&ca(t.prototype,e),n&&ca(t,n),t}function Ny(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Oy(this,e),this.customEvents=[],this.parent=null;var i=Ny(this,e)?this.constructor:void 0,u=i.controlType,r=i.controlFieldType,a=i.name,l=i.controlCustomEvents;u||Mr("The ".concat(a," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:re(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new U(n==null?void 0:n.props),this.customEvents=l;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:r;var v;this.pageStatus=(v=n==null?void 0:n.pageStatus)!==null&&v!==void 0?v:$i.UNKNOWN}return ky(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();X.controlType="control",X.__is_control__=!0,X.controlCustomEvents=[];function Qi(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:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:d.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:d.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=oh(r);r.length!==a.length?u(d.getMessage("optionIdIsRepeat")):u()},message:d.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(d.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:d.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}])}function Ji(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:d.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:d.getMessage("isNotString")},key:{type:"string",required:!0,message:d.getMessage("isNotString")},value:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",validator:function(u,r,a){r.length===0&&a(d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},message:d.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:d.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:d.getMessage("isNotBoolean")}}}}]}}]}function sa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function sn(t){return sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},sn(t)}function dn(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&&Zi(t,e)}function My(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function $y(t,e){return e&&(Ly(e)==="object"||typeof e=="function")?e:sa(t)}function Zi(t,e){return Zi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zi(t,e)}var Ly=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vy(){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 fn(t){var e=Vy();return function(){var i=sn(t),u;if(e){var r=sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return $y(this,u)}}var Q=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}};if(My(i.dataBind,ie))u.dataBind={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:d.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:ye(r),message:d.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(j),O=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:d.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(Ie),B=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;u=e.call(this,i);var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var a;u.isHideCaption=(a=i==null?void 0:i.isHideCaption)!==null&&a!==void 0?a:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var h;u.labelPosition=(h=i==null?void 0:i.labelPosition)!==null&&h!==void 0?h:"top";var m;u.placeholder=(m=i==null?void 0:i.placeholder)!==null&&m!==void 0?m:"";var v;u.required=(v=i==null?void 0:i.required)!==null&&v!==void 0?v:!1;var I;u.requiredMessage=(I=i==null?void 0:i.requiredMessage)!==null&&I!==void 0?I:"",u.dataBind=new ie(i==null?void 0:i.dataBind);var w;return u.defaultValue=(w=i==null?void 0:i.defaultValue)!==null&&w!==void 0?w:"",u}return n}(U);B.Rules=Q,B.RuntimeRules=O;var Ue=function(t){dn(n,t);var e=fn(n);function n(i){cn(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Qi.call(sa(u),i),u}return n}(Q);function Hy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hn(t){return hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},hn(t)}function qy(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&&Yi(t,e)}function Uy(t,e){return e&&(Wy(e)==="object"||typeof e=="function")?e:Hy(t)}function Yi(t,e){return Yi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yi(t,e)}var Wy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ky(){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 zy(t){var e=Ky();return function(){var i=hn(t),u;if(e){var r=hn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Uy(this,u)}}var T=function(t){qy(n,t);var e=zy(n);function n(i){jy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(k);T.controlEventKeys=["on_change","on_focus","on_blur"];function Gy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yn(t){return yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yn(t)}function Qy(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&&pi(t,e)}function Jy(t,e){return e&&(Zy(e)==="object"||typeof e=="function")?e:Gy(t)}function pi(t,e){return pi=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pi(t,e)}var Zy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yy(){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 py(t){var e=Yy();return function(){var i=yn(t),u;if(e){var r=yn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Jy(this,u)}}var P=function(t){Qy(n,t);var e=py(n);function n(i){Xy(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new B(i==null?void 0:i.props),u}return n}(X);function em(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mn(t){return mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mn(t)}function nm(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&&eu(t,e)}function im(t,e){return e&&(um(e)==="object"||typeof e=="function")?e:em(t)}function eu(t,e){return eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},eu(t,e)}var um=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rm(){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 am(t){var e=rm();return function(){var i=mn(t),u;if(e){var r=mn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return im(this,u)}}var M=function(t){nm(n,t);var e=am(n);function n(i){return tm(this,n),e.call(this,i)}return n}(U);function tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function lm(t){if(Array.isArray(t))return tu(t)}function om(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cm(){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 da(t){return lm(t)||om(t)||sm(t)||cm()}function sm(t,e){if(!!t){if(typeof t=="string")return tu(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 tu(t,e)}}function dm(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function fa(t,e){t.parent=e,dm(t,"parent")}function fm(t,e){t.forEach(function(n){fa(n,e)})}var ha=Symbol("targetKey");function ya(t){var e;return(e=t[ha])!==null&&e!==void 0?e:t}function ma(t,e){return fm(t,e),new Proxy(t,{get:function(i,u){for(var r=arguments.length,a=new Array(r>2?r-2:0),l=2;l<r;l++)a[l-2]=arguments[l];var s;return u===ha?i:(s=Reflect).get.apply(s,[i,u].concat(da(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),s=3;s<a;s++)l[s-3]=arguments[s];var o;if(Ti(t)&&u==="length"&&r===t.length)return!0;var h=(o=Reflect).set.apply(o,[i,u,r].concat(da(l)));return lh(r)&&fa(r,e),h}})}function we(t,e,n,i){var u=i!=null?i:t,r=ma(ya(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=ma(ya(l),u)},enumerable:!0})}function nu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function hm(t){if(Array.isArray(t))return nu(t)}function ga(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function va(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ym(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){va(r,i,u,a,l,"next",s)}function l(s){va(r,i,u,a,l,"throw",s)}a(void 0)})}}function mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function We(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?We=Reflect.get:We=function(u,r,a){var l=Sm(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},We(t,e,n||t)}function ge(t){return ge=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ge(t)}function vm(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&&iu(t,e)}function bm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Em(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Cm(){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 Im(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){gm(t,u,n[u])})}return t}function wm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function Am(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):wm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function _m(t,e){return e&&(Rm(e)==="object"||typeof e=="function")?e:ga(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}function Sm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ge(t),t!==null););return t}function ba(t){return hm(t)||Em(t)||Bm(t)||Cm()}var Rm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bm(t,e){if(!!t){if(typeof t=="string")return nu(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 nu(t,e)}}function Tm(){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 Pm(t){var e=Tm();return function(){var i=ge(t),u;if(e){var r=ge(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return _m(this,u)}}var xm=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Dm=1e4,V=function(e){vm(i,e);var n=Pm(i);function i(r){mm(this,i);var a;a=n.call(this,r),a.controlType="layout";var l=bm(this,i)?this.constructor:void 0,s=l.excludes,o=l.childrenMaxLength;return a.props=new M(r==null?void 0:r.props),we(ga(a),"children",r==null?void 0:r.children),a.excludes=ye(s),a.childrenMaxLength=o,a}var u=i.prototype;return u.judgeExcludesChildren=function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)},u.judgeJoinChildren=function(a){var l=this.judgeExcludesChildren(a);return l&&this.childrenMaxLength>this.children.length},u.validate=function(a,l){var s=this,o=this,h=function(){return We(ge(i.prototype),"validate",s)};return ym(function(){return xm(this,function(m){switch(m.label){case 0:return[4,h().call(o,a,l)];case 1:return m.sent(),[4,Promise.all(o.children.map(function(v){return v.validate(a,l)}))];case 2:return m.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=We(ge(i.prototype),"toDataBindModel",this).call(this),s=l?[l]:[];return this.children.reduce(function(o,h){var m=h.toDataBindModel(a);if(Array.isArray(m)){var v=m.filter(function(I){return!!I});return ba(o).concat(ba(v))}return m&&o.push(m),o},s)},u.toSchema=function(){var a=We(ge(i.prototype),"toSchema",this).call(this),l=this.children.map(function(s){var o=s.toSchema();return o});return Am(Im({},a),{children:l})},i}(k);V.excludes=!1,V.childrenMaxLength=Dm;function Ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gn(t){return gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gn(t)}function Om(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&&uu(t,e)}function km(t,e){return e&&(Nm(e)==="object"||typeof e=="function")?e:Ea(t)}function uu(t,e){return uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},uu(t,e)}var Nm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mm(){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 $m(t){var e=Mm();return function(){var i=gn(t),u;if(e){var r=gn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return km(this,u)}}var q=function(t){Om(n,t);var e=$m(n);function n(i){Fm(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new M(i==null?void 0:i.props),we(Ea(u),"children",i==null?void 0:i.children),u}return n}(X);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vn(t){return vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vn(t)}function Vm(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&&ru(t,e)}function Hm(t,e){return e&&(jm(e)==="object"||typeof e=="function")?e:Ca(t)}function ru(t,e){return ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ru(t,e)}var jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function qm(){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 Um(t){var e=qm();return function(){var i=vn(t),u;if(e){var r=vn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Hm(this,u)}}var bn=function(t){Vm(n,t);var e=Um(n);function n(i,u){Lm(this,n);var r;return r=e.call(this,u),we(Ca(r),"headers",u==null?void 0:u.headers,i),r}return n}(U);function au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Wm(t){if(Array.isArray(t))return au(t)}function Ia(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wa(t,e,n,i,u,r,a){try{var l=t[r](a),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Km(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(s){wa(r,i,u,a,l,"next",s)}function l(s){wa(r,i,u,a,l,"throw",s)}a(void 0)})}}function zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ke(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?Ke=Reflect.get:Ke=function(u,r,a){var l=pm(u,r);if(!!l){var s=Object.getOwnPropertyDescriptor(l,r);return s.get?s.get.call(a):s.value}},Ke(t,e,n||t)}function ve(t){return ve=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ve(t)}function Xm(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&&lu(t,e)}function Qm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jm(){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 Aa(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Gm(t,u,n[u])})}return t}function Zm(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(u){return Object.getOwnPropertyDescriptor(t,u).enumerable})),n.push.apply(n,i)}return n}function _a(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Zm(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Ym(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:Ia(t)}function lu(t,e){return lu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},lu(t,e)}function pm(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ve(t),t!==null););return t}function Sa(t){return Wm(t)||Qm(t)||tg(t)||Jm()}var eg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tg(t,e){if(!!t){if(typeof t=="string")return au(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 au(t,e)}}function ng(){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 ig(t){var e=ng();return function(){var i=ve(t),u;if(e){var r=ve(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ym(this,u)}}var ug=function(t,e){var n,i,u,r,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(o){return function(h){return s([o,h])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;a;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return a.label++,{value:o[1],done:!1};case 5:a.label++,i=o[1],o=[0];continue;case 7:o=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){a=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){a.label=o[1];break}if(o[0]===6&&a.label<u[1]){a.label=u[1],u=o;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(o);break}u[2]&&a.ops.pop(),a.trys.pop();continue}o=e.call(t,a)}catch(h){o=[6,h],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ou=function(t){Xm(n,t);var e=ig(n);function n(u){zm(this,n);var r;return r=e.call(this,u),r.controlType="list",r.props=new bn(Ia(r),u==null?void 0:u.props),r}var i=n.prototype;return i.validate=function(r,a){var l=this,s=this,o=function(){return Ke(ve(n.prototype),"validate",l)};return Km(function(){return ug(this,function(h){switch(h.label){case 0:return[4,o().call(s,r)];case 1:return h.sent(),[4,Promise.all(s.props.headers.map(function(m){return m.validate(r,a)}))];case 2:return h.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var r=Ke(ve(n.prototype),"toDataBindModel",this).call(this),a=r?[r]:[],l=this.id;return this.props.headers.reduce(function(s,o){var h=o.toDataBindModel(l);if(Array.isArray(h)){var m=h.filter(function(v){return!!v});return Sa(s).concat(Sa(m))}return h&&s.push(h),s},a)},i.toSchema=function(){var r=Ke(ve(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(l){return l.toSchema()});return _a(Aa({},r),{props:_a(Aa({},this.props),{headers:a})})},n}(k);ou.controlFieldType=g.LIST;function cu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ra(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ag(t,e,n){return e&&Ra(t.prototype,e),n&&Ra(t,n),t}function En(t){return En=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},En(t)}function lg(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&&su(t,e)}function og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:cu(t)}function su(t,e){return su=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},su(t,e)}var cg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sg(){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 dg(t){var e=sg();return function(){var i=En(t),u;if(e){var r=En(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return og(this,u)}}var Ba=function(t){lg(n,t);var e=dg(n);function n(i){rg(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new bn(cu(u),i==null?void 0:i.props),we(cu(u),"children",i==null?void 0:i.children),u}return ag(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function Ta(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function du(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cn(t){return Cn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cn(t)}function fu(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&&hu(t,e)}function fg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:Ta(t)}function hu(t,e){return hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},hu(t,e)}var hg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yg(){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 yu(t){var e=yg();return function(){var i=Cn(t),u;if(e){var r=Cn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return fg(this,u)}}var mu=function(t){fu(n,t);var e=yu(n);function n(i){du(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}(j),H=function(t){fu(n,t);var e=yu(n);function n(i){du(this,n);var u;u=e.call(this,i);var r;u.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.dataBind=new ie(i==null?void 0:i.dataBind);var s;return u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan,u}return n}(U);H.Rules=mu;var Pa=function(t){fu(n,t);var e=yu(n);function n(i){du(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:d.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:d.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Qi.call(Ta(u),i),u}return n}(mu);function mg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function In(t){return In=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},In(t)}function vg(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&&gu(t,e)}function bg(t,e){return e&&(Eg(e)==="object"||typeof e=="function")?e:mg(t)}function gu(t,e){return gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gu(t,e)}var Eg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cg(){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 Ig(t){var e=Cg();return function(){var i=In(t),u;if(e){var r=In(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return bg(this,u)}}var W=function(t){vg(n,t);var e=Ig(n);function n(i){gg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(k);function wg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wn(t){return wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wn(t)}function _g(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&&vu(t,e)}function Sg(t,e){return e&&(Rg(e)==="object"||typeof e=="function")?e:wg(t)}function vu(t,e){return vu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},vu(t,e)}var Rg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bg(){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 Tg(t){var e=Bg();return function(){var i=wn(t),u;if(e){var r=wn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Sg(this,u)}}var K=function(t){_g(n,t);var e=Tg(n);function n(i){Ag(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new H(i==null?void 0:i.props),u}return n}(X);function Pg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function An(t){return An=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},An(t)}function Dg(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&&bu(t,e)}function Fg(t,e){return e&&(Og(e)==="object"||typeof e=="function")?e:Pg(t)}function bu(t,e){return bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},bu(t,e)}var Og=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function kg(){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 Ng(t){var e=kg();return function(){var i=An(t),u;if(e){var r=An(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Fg(this,u)}}var Eu=function(t){Dg(n,t);var e=Ng(n);function n(i){xg(this,n);var u;return u=e.call(this,i),u.dataBind=new ie(i==null?void 0:i.dataBind),u}return n}(M);function Mg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _n(t){return _n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_n(t)}function Lg(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&&Cu(t,e)}function Vg(t,e){return e&&(Hg(e)==="object"||typeof e=="function")?e:Mg(t)}function Cu(t,e){return Cu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Cu(t,e)}var Hg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jg(){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 qg(t){var e=jg();return function(){var i=_n(t),u;if(e){var r=_n(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Vg(this,u)}}var Ug=function(t){Lg(n,t);var e=qg(n);function n(i){$g(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Eu(i==null?void 0:i.props),u}return n}(V);function Wg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sn(t){return Sn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Sn(t)}function zg(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&&Iu(t,e)}function Gg(t,e){return e&&(Xg(e)==="object"||typeof e=="function")?e:Wg(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Iu(t,e)}var Xg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qg(){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 Jg(t){var e=Qg();return function(){var i=Sn(t),u;if(e){var r=Sn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Gg(this,u)}}var Zg=function(t){zg(n,t);var e=Jg(n);function n(i){Kg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new Eu(i==null?void 0:i.props),u}return n}(q);class wu extends U{constructor(e){var n,i,u,r,a;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(a=e==null?void 0:e.content)!=null?a:"\u8BF4\u660E\u6587\u5B57"}}class xa extends k{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}xa.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Yg extends X{constructor(e){super(e),this.props=new wu(e==null?void 0:e.props)}static get controlType(){return"text"}}var Da={Designer:xa,Runtime:Yg,Property:wu};class Au extends U{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class _u extends k{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}_u.controlEventKeys=["on_click"],_u.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class pg extends X{constructor(e){super(e),this.props=new Au(e==null?void 0:e.props)}static get controlType(){return"link"}}var Fa={Designer:_u,Runtime:pg,Property:Au};class J extends U{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(a=e==null?void 0:e.icon)!=null?a:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class Z extends k{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends X{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var Oa={Designer:Z,Runtime:te,Property:J},Ae=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t))(Ae||{}),ka=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ka||{}),Na=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Na||{});class Rn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:re(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Su=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Su||{});class Bn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:re(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Ru=(t=>(t.SOLID="solid-line",t.DASHED="dashed-line",t.BOLD_SOLID="bold-solid-line",t.BOLD_DASHED="bold-dashed-line",t.DOUBLE_SOLID="double-solid-line",t.DOUBLE_DASHED="double-dashed-line",t))(Ru||{});class Bu{constructor(e){var n,i,u,r,a,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new ot((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(a=e==null?void 0:e.telephone)!=null?a:new ot((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new ot((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Ma{constructor(e){var n,i,u,r,a,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Bu(s)))!=null?u:[new Bu],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(a=e==null?void 0:e.completeControl)!=null?a:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Tu{constructor(e){var n,i,u,r,a,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:re(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(a=e==null?void 0:e.name)!=null?a:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Pu{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class $a{constructor(e){var n,i,u,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Pu(e==null?void 0:e.watermark),this.autoRename=new Pu(e==null?void 0:e.autoRename)}}const La=480;function ht(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Va{constructor(e){var n,i,u,r,a;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(a=e.rules)!=null?a:[]}}class Ha{constructor(e){var n,i,u;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(i=e==null?void 0:e.justifyContent)!=null?i:"flex-start",this.alignItems=(u=e==null?void 0:e.alignItems)!=null?u:"flex-start"}}var ja=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(ja||{}),xu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(xu||{}),Du=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Du||{}),ze=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ze||{}),Fu=(t=>(t.ALL="all",t.ADMIN="admin",t))(Fu||{});class Ou extends U{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Ru.SOLID}}class qa extends k{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}qa.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class ev extends X{constructor(e){super(e),this.props=new Ou(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Ua={Designer:qa,Runtime:ev,Property:Ou};class tv extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},e.config.includes(Ae.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:d.getMessage("bizKeyNotBindFiled")}},message:d.getMessage("bizKeyNotBindFiled")})}}class Tn extends U{constructor(e){var n,i,u;super(e),this.dataBind=new ie(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ae.ShowSubmitUser,Ae.ShowSubmitDept,Ae.ShowSubmitTime,Ae.ShowCurrentApprovar],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ge==null?void 0:Ge.controlName)!=null?u:""}}Tn.Rules=tv;class Ge extends k{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}Ge.controlFieldType=g.AUTO_NUMBER,Ge.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"super-setting",visible:!0}];class nv extends X{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Wa={Designer:Ge,Runtime:nv,Property:Tn};class iv extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:d.getMessage("pleaseEnterForm")}}}class Pn extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Pn.Rules=iv;class yt extends Z{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class uv extends te{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ka={Designer:yt,Runtime:uv,Property:Pn};class rv extends j{constructor(e){super(e),this.processKey=[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterProcess")}]}}class xn extends J{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}xn.Rules=rv;class mt extends Z{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.setting=[{key:"button-content",visible:!0},{key:"select-process",visible:!0},{key:"initiator-mode",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class av extends te{constructor(e){super(e),this.props=new xn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var za={Designer:mt,Runtime:av,Property:xn};class ku extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends Z{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lv extends te{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Ga={Designer:gt,Runtime:lv,Property:ku};class Nu extends J{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateList=(r=(u=e==null?void 0:e.templateList)==null?void 0:u.map(a=>new Tu(a)))!=null?r:[new Tu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Z{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ov extends te{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Xa={Designer:vt,Runtime:ov,Property:Nu};class Mu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends Z{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class cv extends te{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Qa={Designer:bt,Runtime:cv,Property:Mu};class sv{constructor(e){this.dataCode=e.dataCode}}class $u extends J{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new sv(a)))!=null?r:[]}}class Et extends Z{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class dv extends te{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ja={Designer:Et,Runtime:dv,Property:$u};function Dn(){return{dataCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:d.getMessage("pleaseSelectControl")}}}}}}class fv extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:Ce({},Dn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ce({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Dn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:d.getMessage("pleaseSelectControl")})}}class Fn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Ni(e==null?void 0:e.fillPayload),this.formBind=new Ih(e==null?void 0:e.formBind),this.fillBack=new Kr(e==null?void 0:e.fillBack)}}Fn.Rules=fv;class Ct extends Z{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class hv extends te{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Za={Designer:Ct,Runtime:hv,Property:Fn};class yv extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:Ce({},Dn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:d.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ce({mode:{type:"string",required:!0,message:d.getMessage("pleaseSelectFillBackMode")}},Dn())}}}class On extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon,this.fillPayload=new Ni(e==null?void 0:e.fillPayload),this.listPageBind=new qr(e==null?void 0:e.listPageBind),this.fillBack=new Kr(e==null?void 0:e.fillBack)}}On.Rules=yv;class It extends Z{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}It.controlEventKeys=["on_click","on_click_finish"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class mv extends te{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Ya={Designer:It,Runtime:mv,Property:On};class gv extends j{constructor(e){super(e)}}class vv extends Ie{constructor(e){super(e)}}class wt extends U{constructor(e){super(e)}}wt.Rules=gv,wt.RuntimeRules=vv;class pa extends k{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}pa.setting=[];class bv extends X{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var el={Designer:pa,Runtime:bv,Property:wt};class Ev extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:d.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class kn extends U{constructor(e){var n,i,u,r,a,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}kn.Rules=Ev;class tl extends k{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}tl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Cv extends X{constructor(e){super(e),this.props=new kn(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var nl={Designer:tl,Runtime:Cv,Property:kn};class Iv extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:d.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:d.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Nn extends U{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new Lh(r)))!=null?u:[]}}Nn.Rules=Iv;class il extends k{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}il.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class wv extends X{constructor(e){super(e),this.props=new Nn(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ul={Designer:il,Runtime:wv,Property:Nn};class Av extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:d.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Mn extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Xe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Xe.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(v=>new p(v)))!=null?m:[]}}Mn.Rules=Av;class Xe extends Z{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Xe.controlEventKeys=["on_click","on_click_finish"],Xe.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class _v extends te{constructor(e){super(e),this.props=new Mn(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var rl={Designer:Xe,Runtime:_v,Property:Mn};class Sv extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(a=>!a.controlId)){u(d.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $n extends J{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Qe.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:Qe.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(v=>new p(v)))!=null?m:[]}}$n.Rules=Sv;class Qe extends Z{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Qe.controlEventKeys=["on_click","on_click_finish"],Qe.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Rv extends te{constructor(e){super(e),this.props=new $n(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var al={Designer:Qe,Runtime:Rv,Property:$n};class Bv extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:d.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ln extends J{constructor(e){var n,i,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:At.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:At.controlName,this.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Va(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}Ln.Rules=Bv;class At extends Z{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}At.controlEventKeys=["on_click","on_click_finish"],At.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Tv extends te{constructor(e){super(e),this.props=new Ln(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ll={Designer:At,Runtime:Tv,Property:Ln};class Lu extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_t.controlIcon}}class _t extends Z{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}_t.controlEventKeys=["on_click"],_t.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Pv extends te{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var ol={Designer:_t,Runtime:Pv,Property:Lu},xv=Object.freeze({__proto__:null,Text:Da,Link:Fa,Button:Oa,Divider:Ua,Title:Wa,CreateFormListButton:Ka,BatchSubmissionListButton:za,SubmissionRecordListButton:Ga,ExportListButton:Xa,ExportRecordListButton:Qa,ImportRecordListButton:Ja,FormSelectButton:Za,ListSelectButton:Ya,Pagination:el,Dashboard:nl,ListViewSelect:ul,TextOcrButton:rl,InvoiceCheckButton:al,BatchPrintListButton:ll,BatchPrintRecordListButton:ol});class Dv extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Fv extends O{constructor(e){super(e),this.push({type:"string",message:d.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Je extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new zr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ze.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}Je.Rules=Dv,Je.RuntimeRules=Fv;class Ze extends T{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Ze.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ze.controlFieldType=g.VARCHAR,Ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class cl extends P{constructor(e){super(e),this.props=new Je(e==null?void 0:e.props)}static get controlType(){return"input"}}cl.controlFieldType=g.VARCHAR;var sl={Designer:Ze,Runtime:cl,Property:Je};class Ov extends Ue{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:d.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class kv extends O{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class St extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Rt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(v=e==null?void 0:e.optionsFormat)!=null?v:"horizontal",this.defaultShowOptions=(I=e==null?void 0:e.defaultShowOptions)!=null?I:!0,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var b;(b=this.multistageFilling)==null||b.push(new p(w))}))}}St.Rules=Ov,St.RuntimeRules=kv;class Rt extends T{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Rt.controlEventKeys=["on_change","on_click"],Rt.controlFieldType=g.ARRAY,Rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class dl extends P{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}dl.controlFieldType=g.ARRAY;var fl={Designer:Rt,Runtime:dl,Property:St};class Nv extends Ue{constructor(e){super(e)}}class Vn extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(h=e==null?void 0:e.caption)!=null?h:Bt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var I;(I=this.multistageFilling)==null||I.push(new p(v))}))}}Vn.Rules=Nv;class Bt extends T{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Bt.controlEventKeys=["on_change","on_click"],Bt.controlFieldType=g.VARCHAR,Bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class hl extends P{constructor(e){super(e),this.props=new Vn(e==null?void 0:e.props)}static get controlType(){return"radio"}}hl.controlFieldType=g.VARCHAR;var yl={Designer:Bt,Runtime:hl,Property:Vn};class Mv extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:d.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=ht(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class $v extends O{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ht(e.regularRules.expression),message:e.regularRules.errMessage})}}class Tt extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I,w;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(h=e==null?void 0:e.unitPosition)!=null?h:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(v=e==null?void 0:e.caption)!=null?v:Pt.controlName,this.placeholder=(I=e==null?void 0:e.placeholder)!=null?I:"\u8BF7\u8F93\u5165",this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new zr(e==null?void 0:e.regularRules)}}Tt.Rules=Mv,Tt.RuntimeRules=$v;class Pt extends T{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pt.controlFieldType=g.DECIMAL,Pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ml extends P{constructor(e){super(e),this.props=new Tt(e==null?void 0:e.props)}static get controlType(){return"number"}}ml.controlFieldType=g.DECIMAL;var gl={Designer:Pt,Runtime:ml,Property:Tt};class Vu extends B{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Hn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(m=>new Rn(m)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(h=e==null?void 0:e.filterWeekend)!=null?h:!1}}class Hn extends T{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Hn.controlFieldType=g.TIMESTAMP,Hn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class vl extends P{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}vl.controlFieldType=g.TIMESTAMP;var bl={Designer:Hn,Runtime:vl,Property:Vu};class Lv extends O{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class jn extends B{constructor(e){var n,i,u,r,a,l,s,o,h;super(e),this.dataBind=new Oh(e==null?void 0:e.dataBind),this.defaultValue=new kh(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:qn.controlName,this.limitDateList=(h=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(m=>new Rn(m)))!=null?h:[]}}jn.RuntimeRules=Lv;class qn extends T{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}qn.controlFieldType=g.TIMESCOPE,qn.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class El extends P{constructor(e){super(e),this.props=new jn(e==null?void 0:e.props)}static get controlType(){return"date-range"}}El.controlFieldType=g.TIMESCOPE;var Cl={Designer:qn,Runtime:El,Property:jn};class Vv extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Hv extends O{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class xt extends B{constructor(e){var n,i,u,r,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Dt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}xt.Rules=Vv,xt.RuntimeRules=Hv;class Dt extends T{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=g.TEXT,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Il extends P{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Il.controlFieldType=g.TEXT;var wl={Designer:Dt,Runtime:Il,Property:xt};class jv extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:d.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:d.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:d.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class qv extends O{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:d.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ft extends B{constructor(e){var n,i,u,r,a;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ot.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}Ft.Rules=jv,Ft.RuntimeRules=qv;class Ot extends T{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Ot.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ot.controlFieldType=g.TEXT,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Al extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Al.controlFieldType=g.TEXT;var _l={Designer:Ot,Runtime:Al,Property:Ft};class Uv extends Ue{constructor(e){super(e)}}class Un extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Wn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var h;(h=this.multistageFilling)==null||h.push(new p(o))}))}}Un.Rules=Uv;class Wn extends T{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Wn.controlFieldType=g.VARCHAR,Wn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Sl extends P{constructor(e){super(e),this.props=new Un(e==null?void 0:e.props)}static get controlType(){return"select"}}Sl.controlFieldType=g.VARCHAR;var Rl={Designer:Wn,Runtime:Sl,Property:Un};class Wv extends Ue{constructor(e){super(e)}}class Kv extends O{constructor(e){super(e),this[0].type="array"}}class kt extends B{constructor(e){var n,i,u,r,a,l;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Kn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))}))}}kt.Rules=Wv,kt.RuntimeRules=Kv;class Kn extends T{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Kn.controlFieldType=g.ARRAY,Kn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Bl extends P{constructor(e){super(e),this.props=new kt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Bl.controlFieldType=g.ARRAY;var Tl={Designer:Kn,Runtime:Bl,Property:kt};class zv extends O{constructor(e){super(e),this[0].type="array"}}class zn extends B{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Gn.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var m;(m=this.multistageFilling)==null||m.push(new p(h))}))}}zn.RuntimeRules=zv;class Gn extends T{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Gn.controlFieldType=g.EMPLOYEES,Gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Pl extends P{constructor(e){super(e),this.props=new zn(e==null?void 0:e.props)}static get controlType(){return"employee"}}Pl.controlFieldType=g.EMPLOYEES;var xl={Designer:Gn,Runtime:Pl,Property:zn};const Gv=10485760,Xv=104857600,Qv=1048576e3;class Jv extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:Qv,message:d.getMessage("attachmentMaxSize")}}}class Zv extends O{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:d.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ye extends B{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(a=e==null?void 0:e.minLimit)!=null?a:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:Xv,this.caption=(s=e==null?void 0:e.caption)!=null?s:pe.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Ye.Rules=Jv,Ye.RuntimeRules=Zv;class pe extends T{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}pe.controlEventKeys=["on_change"],pe.controlFieldType=g.FILE,pe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Hu extends P{constructor(e){super(e),this.props=new Ye(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Hu.controlFieldType=g.FILE;var Dl={Designer:pe,Runtime:Hu,Property:Ye};const Fl=class extends pe{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:Fl.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let ju=Fl;ju.controlFieldType=g.IMAGE,ju.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Yv extends Hu{static get controlType(){return"image"}constructor(e){var n,i,u,r,a,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(l=(a=e==null?void 0:e.props)==null?void 0:a.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class pv extends Ye{constructor(e){super(e)}}var Ol={Designer:ju,Runtime:Yv,Property:pv};class e0 extends Ue{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:d.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=d.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:d.getMessage("numberRangeSetError")})}}class t0 extends O{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Ci(Ce({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:d.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Nt extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m,v;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(a=e==null?void 0:e.precision)!=null?a:2,this.dataBind=new Dh(e==null?void 0:e.dataBind),this.datasourceBind=new G((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Oi({value:"name"})]}),this.defaultValue=new Fh((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:rn.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Mt.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(v=e==null?void 0:e.showUpperCase)!=null?v:!1}}Nt.Rules=e0,Nt.RuntimeRules=t0;class Mt extends T{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Mt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Mt.controlFieldType=g.MONEY,Mt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class kl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"amount"}}kl.controlFieldType=g.MONEY;var Nl={Designer:Mt,Runtime:kl,Property:Nt};class n0 extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:d.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:d.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:d.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class i0 extends O{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:d.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class $t extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Su.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(a=(r=e==null?void 0:e.explain)==null?void 0:r.map(o=>new Bn(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new Bn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:Lt.controlName}}$t.Rules=n0,$t.RuntimeRules=i0;class Lt extends T{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new Bn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}Lt.controlEventKeys=["on_change","on_click"],Lt.controlFieldType=g.DECIMAL,Lt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ml extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"score"}}Ml.controlFieldType=g.DECIMAL;var $l={Designer:Lt,Runtime:Ml,Property:$t};class u0 extends O{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:d.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:d.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:d.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Xn extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qn.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(u=e==null?void 0:e.addressType)!=null?u:["province","city","district"],this.defaultValue=new Nh((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9\u5730\u5740"}}Xn.RuntimeRules=u0;class Qn extends T{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Qn.controlFieldType=g.ADDRESS,Qn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ll extends P{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Ll.controlFieldType=g.ADDRESS;var Vl={Designer:Qn,Runtime:Ll,Property:Xn};class r0 extends O{constructor(e){super(e),this[0].type="array"}}class Jn extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:Zn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var I;(I=this.multistageFilling)==null||I.push(new p(v))}))}}Jn.RuntimeRules=r0;class Zn extends T{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Zn.controlFieldType=g.DEPARTMENTS,Zn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Hl extends P{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"department"}}Hl.controlFieldType=g.DEPARTMENTS;var jl={Designer:Zn,Runtime:Hl,Property:Jn};class qu extends B{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:Vt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Vt extends T{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}Vt.controlEventKeys=["on_change"],Vt.controlFieldType=g.AUTO_NUMBER,Vt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ql extends P{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}ql.controlFieldType=g.AUTO_NUMBER;var Ul={Designer:Vt,Runtime:ql,Property:qu};class a0 extends Q{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class l0 extends O{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:d.getMessage("isNotObject"),fields:{result:[{type:"number",message:d.getMessage("isNotNumber")}],unit:{type:"string",message:d.getMessage("isNotString")}}})}}class Ht extends B{constructor(e){var n,i,u,r,a,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Mh(e==null?void 0:e.dataBind),this.defaultValue=new $h(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:jt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Ht.Rules=a0,Ht.RuntimeRules=l0;class jt extends T{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}jt.controlEventKeys=["on_change"],jt.controlFieldType=g.CALC,jt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Wl extends P{constructor(e){super(e),this.props=new Ht(e==null?void 0:e.props)}static get controlType(){return"calc"}}Wl.controlFieldType=g.CALC;var Kl={Designer:jt,Runtime:Wl,Property:Ht};class o0 extends O{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(d.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Yn extends B{constructor(e){var n,i,u,r,a,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(a=e==null?void 0:e.placeholderEnd)!=null?a:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:pn.controlName}}Yn.RuntimeRules=o0;class pn extends T{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}pn.controlFieldType=g.DECIMAL_RANGE,pn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class zl extends P{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}zl.controlFieldType=g.DECIMAL_RANGE;var Gl={Designer:pn,Runtime:zl,Property:Yn};class c0 extends O{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class ei extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:he.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:ti.controlName,this.limitDateList=(m=(h=e==null?void 0:e.limitDateList)==null?void 0:h.map(v=>new Rn(v)))!=null?m:[]}}ei.RuntimeRules=c0;class ti extends T{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ti.controlFieldType=g.ARRAY,ti.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Xl extends P{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Xl.controlFieldType=g.ARRAY;var Ql={Designer:ti,Runtime:Xl,Property:ei};class s0 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class d0 extends O{constructor(e){super(e),this[0].type="any"}}class qt extends B{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ut.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(a=e==null?void 0:e.isInlineEdit)!=null?a:!1}}qt.Rules=s0,qt.RuntimeRules=d0;class Ut extends T{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ut.controlFieldType=g.ANY,Ut.controlEventKeys=[],Ut.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Jl extends P{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Jl.controlFieldType=g.ANY;var Zl={Designer:Ut,Runtime:Jl,Property:qt};class f0 extends Ue{constructor(e){super(e),this.listPageBind=[{type:"object",message:d.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:d.getMessage("isNotString")},{type:"string",required:!0,message:d.getMessage("pleaseEnterList")}]}}]}}class ni extends B{constructor(e){var n,i,u,r,a,l;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new qr(e==null?void 0:e.listPageBind),this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:ii.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(s=>{var o;(o=this.multistageFilling)==null||o.push(new p(s))})),this.canViewForm=(l=e==null?void 0:e.canViewForm)!=null?l:!1}}ni.Rules=f0;class ii extends T{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}ii.controlFieldType=g.VARCHAR,ii.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}];class Yl extends P{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Yl.controlFieldType=g.VARCHAR;var pl={Designer:ii,Runtime:Yl,Property:ni};class Uu extends Je{constructor(e){super(e)}}class eo extends Ze{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}eo.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class to extends P{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"search-input"}}to.controlFieldType=g.VARCHAR;var no={Designer:eo,Runtime:to,Property:Uu};class h0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],Ji.call(this,e,_e.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:d.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom"],required:!0},value:{type:"array",required:!0,min:1,message:d.getMessage("rootNodeIsRequired")}}}])}}class y0 extends O{constructor(e){super(e),this[0].type="array"}}class Wt extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I,w;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(a=e==null?void 0:e.levelType)!=null?a:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.defaultCollapse=(o=e==null?void 0:e.defaultCollapse)!=null?o:"all",this.defaultCollapseLevel=(h=e==null?void 0:e.defaultCollapseLevel)!=null?h:1,this.datasourceBind=new Ph((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:_e.controlCustomAttributes}),this.multistageFilling=(I=(v=e==null?void 0:e.multistageFilling)==null?void 0:v.map(b=>new p(b)))!=null?I:[],this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:[]}}Wt.Rules=h0,Wt.RuntimeRules=y0;class _e extends T{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}_e.controlEventKeys=["on_change","on_click"],_e.controlFieldType=g.ARRAY,_e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class io extends P{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"tree"}}io.controlFieldType=g.ARRAY;var uo={Designer:_e,Runtime:io,Property:Wt};class m0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.externalScope={type:"any"},Ji.call(this,e,et.controlCustomAttributes),e.externalType===ze.ASSIGN&&(this.externalScope={type:"array",required:!0,message:d.getMessage("pleaseAssignExternal")})}}class g0 extends O{constructor(e){super(e),this[0].type="array"}}class Kt extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:et.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new un((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:et.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:xu.INTERNAL,this.insideType=(v=e==null?void 0:e.insideType)!=null?v:Fu.ADMIN,this.externalType=(I=e==null?void 0:e.externalType)!=null?I:ze.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var A;(A=this.multistageFilling)==null||A.push(new p(b))}))}}Kt.Rules=m0,Kt.RuntimeRules=g0;class et extends T{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}et.controlFieldType=g.EMPLOYEES,et.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class ro extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"employee2"}}ro.controlFieldType=g.EMPLOYEES;var ao={Designer:et,Runtime:ro,Property:Kt};class v0 extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&Ti(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(r,a,l){if(i.type==="public"&&i.signatureType.includes("company")&&Ti(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class ui extends B{constructor(e){var n,i,u,r,a,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:zt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Ma(e==null?void 0:e.signatureConfig)}}ui.Rules=v0;class zt extends T{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.controlFieldType=g.VARCHAR,zt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class lo extends P{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}lo.controlFieldType=g.VARCHAR;var oo={Designer:zt,Runtime:lo,Property:ui};class b0 extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:d.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(d.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(d.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class E0 extends O{constructor(e){super(e),this[0].type="array"}}class Gt extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xt.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(a=e==null?void 0:e.addOnline)!=null?a:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:Gv,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.wpsSetting=new $a(e==null?void 0:e.wpsSetting),this.revisionsMode=(I=e==null?void 0:e.revisionsMode)!=null?I:!1}}Gt.Rules=b0,Gt.RuntimeRules=E0;class Xt extends T{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Xt.controlEventKeys=["on_change","on_wps_open"],Xt.controlFieldType=g.FILE,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class co extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"wps"}}co.controlFieldType=g.FILE;var so={Designer:Xt,Runtime:co,Property:Gt};class C0 extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:d.getMessage("isNotObject")}],this.businessScope={type:"any"},Ji.call(this,e,tt.controlCustomAttributes),e.businessType===ze.ASSIGN&&(this.businessScope={type:"array",required:!0,message:d.getMessage("pleaseAssignBusiness")})}}class I0 extends O{constructor(e){super(e),this[0].type="array"}}class Qt extends B{constructor(e){var n,i,u,r,a,l,s,o,h,m,v,I,w,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(h=e==null?void 0:e.caption)!=null?h:tt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new un((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:tt.controlCustomAttributes}),this.datasourceType=(I=e==null?void 0:e.datasourceType)!=null?I:Du.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:ze.ALL,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var y;(y=this.multistageFilling)==null||y.push(new p(A))}))}}Qt.Rules=C0,Qt.RuntimeRules=I0;class tt extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u90E8\u95E8"}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}tt.controlFieldType=g.DEPARTMENTS,tt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class fo extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"department2"}}fo.controlFieldType=g.DEPARTMENTS;var ho={Designer:tt,Runtime:fo,Property:Qt},w0=Object.freeze({__proto__:null,Input:sl,Checkbox:fl,Radio:yl,Number:gl,DatePicker:bl,DateRange:Cl,Textarea:wl,RichText:_l,Select:Rl,SelectMultiple:Tl,Employee:xl,Image:Ol,Attachment:Dl,Amount:Nl,Score:$l,Address:Vl,Department:jl,AutoNumber:Ul,Calc:Kl,SearchNumberRange:Gl,SearchDateRange:Ql,VueFormItem:Zl,SelectRelation:pl,SearchInput:no,Tree:uo,Employee2:ao,ElectronicSignature:oo,WPS:so,Department2:ho});class yo extends V{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}yo.excludes=[C.GRID];class A0 extends q{static get controlType(){return"grid"}constructor(e){super(e)}}var mo={Designer:yo,Runtime:A0,Property:M};const _0=24;class Se extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:_0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Jt extends V{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Jt.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Jt.childrenMaxLength=1;class Wu extends q{constructor(e){super(e),this.props=new Se(e==null?void 0:e.props)}static get controlType(){return"col"}}var go={Designer:Jt,Runtime:Wu,Property:Se};class ri extends M{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class ai extends V{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ai.excludes=[C.ROW],ai.setting=[{key:"col-setting",visible:!0}];class vo extends q{constructor(e){super(e),this.props=new ri(e==null?void 0:e.props)}static get controlType(){return"row"}}var bo={Designer:ai,Runtime:vo,Property:ri};const S0=4;class li extends ai{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}li.excludes=[C.GRID_ROW],li.setting=[],li.childrenMaxLength=S0;class R0 extends vo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class B0 extends ri{constructor(e){super(e)}}var Eo={Designer:li,Runtime:R0,Property:B0};class T0 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class oi extends M{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}oi.Rules=T0;class Ku extends V{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Ku.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Ku.excludes=[C.CARD_GROUP];class P0 extends q{constructor(e){super(e),this.props=new oi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Co={Designer:Ku,Runtime:P0,Property:oi};class x0 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:d.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},this.width.required=e.widthType==="px",e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ci extends M{constructor(e){var n,i,u,r,a,l;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:240,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1}}ci.Rules=x0;class ue extends V{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}}ue.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ue.controlType="subtable-column",ue.controlIcon="subtable-column",ue.childrenMaxLength=1,ue.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],ue.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-width",visible:!0}];class Io extends q{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}}Io.controlType="subtable-column";var wo={Designer:ue,Runtime:Io,Property:ci};class zu extends M{constructor(e){super(e)}}class Re extends V{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}}Re.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Re.controlType="subtable-row",Re.controlIcon="subtable-row",Re.childrenMaxLength=1,Re.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Re.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class D0 extends q{constructor(e){super(e),this.props=new zu(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Ao={Designer:Re,Runtime:D0,Property:zu};class Gu extends M{constructor(e){var n,i,u,r,a,l,s,o,h,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(a=e==null?void 0:e.fieldType)!=null?a:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(h=e==null?void 0:e.timestampDateType)!=null?h:he.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class Be extends V{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}}Be.controlName="\u5217\u8868\u5355\u5143\u683C",Be.controlType="gridtable-column",Be.controlIcon="gridtable-column",Be.childrenMaxLength=1,Be.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Be.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0}];class _o extends q{constructor(e){super(e),this.props=new Gu(e==null?void 0:e.props)}}_o.controlType="gridtable-column";var So={Designer:Be,Runtime:_o,Property:Gu};class Xu extends M{constructor(e){super(e)}}class F0 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")}}}class si extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:di.controlName}}si.Rules=F0;class Zt extends V{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Zt.excludes=[C.TAB],Zt.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class O0 extends q{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Ro={Designer:Zt,Runtime:O0,Property:si};class di extends V{constructor(e){var n;super(e),this.props=new Xu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Zt,new Zt]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}di.excludes=[C.TAB],di.setting=[{key:"super-setting",visible:!0}];class k0 extends q{constructor(e){super(e),this.props=new Xu(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Bo={Designer:di,Runtime:k0,Property:Xu};class To extends M{constructor(e){super(e)}}class Po extends V{constructor(e){super(e),this.props=new To({}),this.children=(e==null?void 0:e.children)||[new Jt({props:new Se({span:12})}),new Jt({props:new Se({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Po.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class N0 extends q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Wu({props:new Se({span:12})}),new Wu({props:new Se({span:12})})]}}var xo={Designer:Po,Runtime:N0,Property:To};class M0 extends Ie{constructor(e){super(e),this.push({type:"object",fields:{}})}}class $0 extends j{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:d.getMessage("pleaseEnterFieldCode")}),Qi.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class Yt extends M{constructor(e){var n,i,u,r,a,l,s,o;super(e),this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new _h(e==null?void 0:e.sublistPage),this.showType=(a=e==null?void 0:e.showType)!=null?a:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.isFixedHeader=(s=e==null?void 0:e.isFixedHeader)!=null?s:!1,this.isAllLoaded=(o=e==null?void 0:e.isAllLoaded)!=null?o:!0}}Yt.Rules=$0,Yt.RuntimeRules=M0;class fi extends V{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}fi.excludes=[C.ROW],fi.controlEventKeys=["on_list_search","on_list_mounted","on_list_actions","on_list_render_operation","on_list_rowclick","on_list_before_rowdelete","on_list_rows_checked"],fi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"super-setting",visible:!0}];class L0 extends q{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Do={Designer:fi,Runtime:L0,Property:Yt};class V0 extends Ie{constructor(e){super(e),this.push({type:"object",fields:{}})}}class hi extends M{constructor(e){var n,i,u,r,a,l;super(e),this.save=new fe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new fe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new fe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new fe((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((a=e==null?void 0:e.custom)!=null?a:[]).map(s=>new fe(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new G(e==null?void 0:e.datasourceBind)}}hi.RuntimeRules=V0;class Fo extends V{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Fo.excludes=[];class H0 extends q{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Oo={Designer:Fo,Runtime:H0,Property:hi};class j0 extends V{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class q0 extends q{static get controlType(){return"page"}constructor(e){super(e)}}class U0 extends M{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var ko={Designer:j0,Runtime:q0,Property:U0};class W0 extends V{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class K0 extends q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class z0 extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ha(e==null?void 0:e.flexConfig)}}var No={Designer:W0,Runtime:K0,Property:z0};class G0 extends V{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class X0 extends q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Q0 extends M{constructor(e){super(e)}}var Mo={Designer:G0,Runtime:X0,Property:Q0};class J0 extends V{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class Z0 extends q{static get controlType(){return"position"}constructor(e){super(e)}}class Y0 extends M{constructor(e){var n,i,u,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(u=e==null?void 0:e.left)!=null?u:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var $o={Designer:J0,Runtime:Z0,Property:Y0},p0=Object.freeze({__proto__:null,Grid:mo,Col:go,Row:bo,GridRow:Eo,CardGroup:Co,SubTableColumn:wo,SubTableRow:Ao,GridTableColumn:So,Tab:Bo,TabPane:Ro,Toolbox:xo,ListView:Do,DataView:Oo,Page:ko,AdvancedContainer:No,PositioningContainer:Mo,Position:$o});class eb extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:d.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:d.getMessage("isNotNumber")},{type:"number",min:0,message:d.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:d.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:d.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:d.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class tb extends Ie{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:d.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:d.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class pt extends bn{constructor(e,n){var i,u,r,a,l,s,o,h,m,v,I,w,b,A,y,E,N,R,D,ne,x;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:yi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(a=n==null?void 0:n.labelPosition)!=null?a:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(h=n==null?void 0:n.maxHeight)!=null?h:La,this.printMode=(m=n==null?void 0:n.printMode)!=null?m:"row",this.limitRows=(v=n==null?void 0:n.limitRows)!=null?v:1,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new G(n==null?void 0:n.datasourceBind),this.canAdd=(w=n==null?void 0:n.canAdd)!=null?w:!0,this.canDelete=(b=n==null?void 0:n.canDelete)!=null?b:!0,this.canCheck=(A=n==null?void 0:n.canCheck)!=null?A:!1,this.canEdit=(y=n==null?void 0:n.canEdit)!=null?y:!1,this.canImport=(E=n==null?void 0:n.canImport)!=null?E:!1,this.canExport=(N=n==null?void 0:n.canExport)!=null?N:!1,this.canClear=(R=n==null?void 0:n.canClear)!=null?R:!0,this.serverPagination=(D=n==null?void 0:n.serverPagination)!=null?D:!1,this.isShowCaptionTip=(ne=n==null?void 0:n.isShowCaptionTip)!=null?ne:!1,this.captionTip=(x=n==null?void 0:n.captionTip)!=null?x:""}}pt.Rules=eb,pt.RuntimeRules=tb;class yi extends ou{constructor(e){var n;super(e),this.props=new pt(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ue,new ue,new ue])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new ue,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}yi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_import"],yi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"super-setting",visible:!0}];class nb extends Ba{constructor(e){super(e),this.props=new pt(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Nr("Method not implemented.")}getChildrenFormControl(){return[]}}var Lo={Designer:yi,Runtime:nb,Property:pt};class Qu extends bn{constructor(e,n){var i,u,r,a;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(a=n==null?void 0:n.isShowCustomColumns)!=null?a:!0}}class ib extends mu{constructor(e){super(e),this.caption.required=!1}}class mi extends H{constructor(e){var n,i,u,r;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Te.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:50,this.widthType=(r=e==null?void 0:e.widthType)!=null?r:"px"}}mi.Rules=ib;class Te extends W{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}}Te.controlType="order-column",Te.controlName="\u5E8F\u53F7",Te.controlIcon="order-column",Te.setting=[{key:"column-fixed",visible:!0}];class Ju extends K{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}}Ju.controlType="order-column",Ju.controlFieldType=g.DECIMAL;var Vo={Designer:Te,Runtime:Ju,Property:mi};class Zu extends H{constructor(e){var n,i,u,r;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.buttons=((i=e==null?void 0:e.buttons)!=null?i:[]).map(a=>new fe(a)),this.caption=(u=e==null?void 0:e.caption)!=null?u:Pe.controlName,this.showType=e==null?void 0:e.showType,this.limit=(r=e==null?void 0:e.limit)!=null?r:3}}class Pe extends W{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.props.buttons.map(n=>{e.props[n.type]=n}),e}}Pe.controlType="operation-column",Pe.controlName="\u64CD\u4F5C",Pe.controlIcon="operation-column",Pe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"operation-setting",showItems:[c.CAN_CHECK,c.CAN_EDIT,c.CAN_DELETE],visible:!0},{key:"column-width",visible:!0},{key:"column-sort",visible:!0}];class Yu extends K{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}}Yu.controlType="operation-column",Yu.controlFieldType=g.FILE;var Ho={Designer:Pe,Runtime:Yu,Property:Zu};class gi extends ou{constructor(e){super(e),this.props=new Qu(this,e==null?void 0:e.props),we(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Te,new Pe])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Ci(Ce({},e),{children:n})}validate(e,n){return sc(this,null,function*(){return yield cc(gi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}gi.setting=[{key:"list-fixed-header",visible:!0}];class ub extends Ba{constructor(e){super(e),this.props=new Qu(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Nr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var jo={Designer:gi,Runtime:ub,Property:Qu},rb=Object.freeze({__proto__:null,SubTable:Lo,GridTable:jo});class ab extends Pa{constructor(e){super(e)}}class vi extends H{constructor(e){var n,i,u,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}vi.Rules=ab;class xe extends W{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}}xe.controlType="varchar-column",xe.controlName="\u77ED\u6587\u672C",xe.controlIcon="varchar-column",xe.controlFieldType=g.VARCHAR,xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class pu extends K{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}}pu.controlType="varchar-column",pu.controlFieldType=g.VARCHAR;var qo={Designer:xe,Runtime:pu,Property:vi};class er extends H{constructor(e){var n,i,u;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:De.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class De extends W{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}De.controlType="text-column",De.controlName="\u957F\u6587\u672C",De.controlIcon="text-column",De.controlFieldType=g.TEXT,De.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class tr extends K{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}}tr.controlType="text-column",tr.controlFieldType=g.TEXT;var Uo={Designer:De,Runtime:tr,Property:er};class nr extends H{constructor(e){var n,i,u,r,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fe.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"none",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}])}}class Fe extends W{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Fe.controlType="decimal-column",Fe.controlName="\u6570\u503C",Fe.controlIcon="decimal-column",Fe.controlFieldType=g.DECIMAL,Fe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class ir extends K{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}ir.controlType="decimal-column",ir.controlFieldType=g.DECIMAL;var Wo={Designer:Fe,Runtime:ir,Property:nr};class ur extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:Oe.controlName}}class Oe extends W{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Oe.controlType="timescope-column",Oe.controlName="\u65E5\u671F\u533A\u95F4",Oe.controlIcon="timescope-column",Oe.controlFieldType=g.TIMESCOPE,Oe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class rr extends K{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}rr.controlType="timescope-column",rr.controlFieldType=g.TIMESCOPE;var Ko={Designer:Oe,Runtime:rr,Property:ur};class ar extends H{constructor(e){var n,i;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:he.DATE,this.caption=(i=e==null?void 0:e.caption)!=null?i:ke.controlName}}class ke extends W{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}ke.controlType="timestamp-column",ke.controlName="\u65E5\u671F",ke.controlIcon="timestamp-column",ke.controlFieldType=g.TIMESTAMP,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class lr extends K{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}}lr.controlType="timestamp-column",lr.controlFieldType=g.TIMESTAMP;var zo={Designer:ke,Runtime:lr,Property:ar};class lb extends Pa{constructor(e){super(e)}}class bi extends H{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new G(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}bi.Rules=lb;class Ne extends W{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}}Ne.controlType="array-column",Ne.controlName="\u6570\u7EC4",Ne.controlIcon="array-column",Ne.controlFieldType=g.ARRAY,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class or extends K{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}}or.controlType="array-column",or.controlFieldType=g.ARRAY;var Go={Designer:Ne,Runtime:or,Property:bi};class cr extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Me extends W{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Me.controlType="department-column",Me.controlName="\u90E8\u95E8",Me.controlIcon="department-column",Me.controlFieldType=g.DEPARTMENTS,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class sr extends K{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}sr.controlType="department-column",sr.controlFieldType=g.DEPARTMENTS;var Xo={Designer:Me,Runtime:sr,Property:cr};class dr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName}}class $e extends W{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}$e.controlType="auto-number-column",$e.controlName="\u81EA\u52A8\u7F16\u53F7",$e.controlIcon="auto-number-column",$e.controlFieldType=g.AUTO_NUMBER,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class fr extends K{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="auto-number-column",fr.controlFieldType=g.AUTO_NUMBER;var Qo={Designer:$e,Runtime:fr,Property:dr};class hr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName}}class Le extends W{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}Le.controlType="file-column",Le.controlName="\u9644\u4EF6",Le.controlIcon="file-column",Le.controlFieldType=g.FILE,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class yr extends K{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}yr.controlType="file-column",yr.controlFieldType=g.FILE;var Jo={Designer:Le,Runtime:yr,Property:hr};class mr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName}}class Ve extends W{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}Ve.controlType="image-column",Ve.controlName="\u56FE\u7247",Ve.controlIcon="image-column",Ve.controlFieldType=g.IMAGE,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class gr extends K{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}gr.controlType="image-column",gr.controlFieldType=g.IMAGE;var Zo={Designer:Ve,Runtime:gr,Property:mr};class vr extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName}}class He extends W{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}He.controlType="people-column",He.controlName="\u4EBA\u5458",He.controlIcon="people-column",He.controlFieldType=g.EMPLOYEES,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends K{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}br.controlType="people-column",br.controlFieldType=g.EMPLOYEES;var Yo={Designer:He,Runtime:br,Property:vr};class Er extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.controlName}}class je extends W{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}je.controlType="location-column",je.controlName="\u5730\u5740",je.controlIcon="location-column",je.controlFieldType=g.ADDRESS,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends K{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="location-column",Cr.controlFieldType=g.ADDRESS;var po={Designer:je,Runtime:Cr,Property:Er};class Ir extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const ob=1;class be extends W{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ir(e==null?void 0:e.props),we(this,"children",e==null?void 0:e.children),this.excludes=ye(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return Ci(Ce({},e),{children:this.children.map(n=>n.toSchema())})}}be.controlType="custom-column",be.controlName="\u81EA\u5B9A\u4E49",be.controlIcon="custom-column",be.excludes=[],be.childrenMaxLength=ob,be.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ec extends K{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props),we(this,"children",e==null?void 0:e.children)}}ec.controlType="custom-column";var tc={Designer:be,Runtime:ec,Property:Ir};class wr extends H{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.datasourceBind=new un((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ee.controlCustomAttributes})}}class Ee extends W{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ee.controlType="employee-column",Ee.controlName="\u4EBA\u5458",Ee.controlIcon="employee-column",Ee.controlFieldType=g.EMPLOYEES,Ee.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-width",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ar extends K{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Ar.controlType="employee-column",Ar.controlFieldType=g.EMPLOYEES;var nc={Designer:Ee,Runtime:Ar,Property:wr},cb=Object.freeze({__proto__:null,VarcharColumn:qo,TextColumn:Uo,DecimalColumn:Wo,TimescopeColumn:Ko,TimestampColumn:zo,ArrayColumn:Go,DepartmentColumn:Xo,AutoNumberColumn:Qo,FileColumn:Jo,ImageColumn:Zo,PeopleColumn:Yo,LocationColumn:po,CustomColumn:tc,OrderColumn:Vo,OperationColumn:Ho,EmployeeColumn:nc});class sb extends Ie{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ei extends Eu{constructor(e){var n,i,u,r,a,l,s;super(e),this.labelPosition=(n=e==null?void 0:e.labelPosition)!=null?n:"top",this.viewType=(i=e==null?void 0:e.viewType)!=null?i:"mini",this.search=new fe((u=e==null?void 0:e.search)!=null?u:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new fe((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1,this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(o=>new fe(o)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[]}}Ei.RuntimeRules=sb;class _r extends Ug{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}}_r.controlType="simple-search",_r.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class ic extends Zg{constructor(e){var n;super(e),this.props=new Ei(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ic.controlType="simple-search";var uc={Designer:_r,Runtime:ic,Property:Ei},db=Object.freeze({__proto__:null,SimpleSearch:uc});f.Address=Vl,f.AdvancedContainer=No,f.Amount=Nl,f.ArrayColumn=Go,f.AssignType=ze,f.Attachment=Dl,f.AutoNumber=Ul,f.AutoNumberColumn=Qo,f.BatchPrintListButton=ll,f.BatchPrintRecordListButton=ol,f.BatchSubmissionListButton=za,f.Button=Oa,f.Calc=Kl,f.CardGroup=Co,f.Checkbox=fl,f.Col=go,f.CreateFormListButton=Ka,f.CustomColumn=tc,f.DATE_CONFIG_TYPE=ka,f.DATE_LIMIT_TYPE=Na,f.Dashboard=nl,f.DataView=Oo,f.DatePicker=bl,f.DateRange=Cl,f.DecimalColumn=Wo,f.Department=jl,f.Department2=ho,f.DepartmentColumn=Xo,f.DepartmentType=Du,f.Divider=Ua,f.ElectronicSignature=oo,f.ElectronicSignatureConfig=Ma,f.Employee=xl,f.Employee2=ao,f.EmployeeColumn=nc,f.EncryptTypeEnum=ja,f.Explain=Bn,f.ExportListButton=Xa,f.ExportRecordListButton=Qa,f.ExportTemplate=Tu,f.FileColumn=Jo,f.FlexStyleConfig=Ha,f.FormSelectButton=Za,f.Grid=mo,f.GridRow=Eo,f.GridTable=jo,f.GridTableColumn=So,f.Image=Ol,f.ImageColumn=Zo,f.ImportRecordListButton=Ja,f.Input=sl,f.InternalType=Fu,f.InvoiceCheckButton=al,f.LINE_STYLE=Ru,f.LimitDate=Rn,f.Link=Fa,f.ListSelectButton=Ya,f.ListView=Do,f.ListViewSelect=ul,f.LocationColumn=po,f.Number=gl,f.OperationColumn=Ho,f.OrderColumn=Vo,f.OrganizeType=xu,f.Page=ko,f.Pagination=el,f.PeopleColumn=Yo,f.Position=$o,f.PositioningContainer=Mo,f.PrintTemplate=Va,f.Radio=yl,f.RichText=_l,f.Row=bo,f.SCORE_TYPE=Su,f.SUBTABLE_DEFAULT_MAX_HEIGHT=La,f.Score=$l,f.SearchDateRange=Ql,f.SearchInput=no,f.SearchNumberRange=Gl,f.Select=Rl,f.SelectMultiple=Tl,f.SelectRelation=pl,f.SimpleSearch=uc,f.SubTable=Lo,f.SubTableColumn=wo,f.SubTableRow=Ao,f.SubmissionRecordListButton=Ga,f.Tab=Bo,f.TabPane=Ro,f.Text=Da,f.TextColumn=Uo,f.TextOcrButton=rl,f.Textarea=wl,f.TimescopeColumn=Ko,f.TimestampColumn=zo,f.Title=Wa,f.TitleConfigEnum=Ae,f.Toolbox=xo,f.Tree=uo,f.UndersignedPerson=Bu,f.VarcharColumn=qo,f.VueFormItem=Zl,f.WPS=so,f.WPSSetting=$a,f.WpsOperationItem=Pu,f.baseControls=xv,f.columnControls=cb,f.formControls=w0,f.initExpression=ht,f.layoutControls=p0,f.listControls=rb,f.searchControls=db,Object.defineProperty(f,"__esModule",{value:!0})});