@byteluck-fe/model-driven-controls 2.7.0-beta.1 → 2.7.0-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +1 -2
- package/dist/esm/baseControls/BatchDeleteButton/property.js +9 -10
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +1 -2
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +1 -2
- package/dist/esm/baseControls/BatchPrintListButton/property.js +5 -5
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +1 -2
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +1 -2
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +2 -3
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +1 -2
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +1 -2
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +6 -7
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +1 -2
- package/dist/esm/baseControls/Button/designer.js +1 -2
- package/dist/esm/baseControls/Button/property.js +8 -9
- package/dist/esm/baseControls/Button/runtime.js +1 -2
- package/dist/esm/baseControls/CreateFormListButton/designer.js +1 -2
- package/dist/esm/baseControls/CreateFormListButton/property.js +4 -5
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +1 -2
- package/dist/esm/baseControls/Dashboard/designer.js +1 -2
- package/dist/esm/baseControls/Dashboard/property.js +6 -7
- package/dist/esm/baseControls/Dashboard/runtime.js +1 -2
- package/dist/esm/baseControls/Divider/designer.js +1 -2
- package/dist/esm/baseControls/Divider/property.js +2 -3
- package/dist/esm/baseControls/Divider/runtime.js +1 -2
- package/dist/esm/baseControls/ExportListButton/designer.js +1 -2
- package/dist/esm/baseControls/ExportListButton/property.js +4 -4
- package/dist/esm/baseControls/ExportListButton/runtime.js +1 -2
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +1 -2
- package/dist/esm/baseControls/ExportRecordListButton/property.js +2 -3
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +1 -2
- package/dist/esm/baseControls/FormSelectButton/designer.js +1 -2
- package/dist/esm/baseControls/FormSelectButton/property.js +6 -7
- package/dist/esm/baseControls/FormSelectButton/runtime.js +1 -2
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +1 -2
- package/dist/esm/baseControls/ImportRecordListButton/property.js +4 -4
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +1 -2
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +1 -2
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +10 -10
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +1 -2
- package/dist/esm/baseControls/Link/designer.js +1 -2
- package/dist/esm/baseControls/Link/property.js +3 -4
- package/dist/esm/baseControls/Link/runtime.js +1 -2
- package/dist/esm/baseControls/ListSelectButton/designer.js +1 -2
- package/dist/esm/baseControls/ListSelectButton/property.js +7 -8
- package/dist/esm/baseControls/ListSelectButton/runtime.js +1 -2
- package/dist/esm/baseControls/ListViewSelect/designer.js +1 -2
- package/dist/esm/baseControls/ListViewSelect/property.js +3 -3
- package/dist/esm/baseControls/ListViewSelect/runtime.js +1 -2
- package/dist/esm/baseControls/OperationButton/designer.js +1 -2
- package/dist/esm/baseControls/OperationButton/property.js +13 -14
- package/dist/esm/baseControls/OperationButton/runtime.js +1 -2
- package/dist/esm/baseControls/Pagination/designer.js +1 -2
- package/dist/esm/baseControls/Pagination/runtime.js +1 -2
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +1 -2
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +2 -3
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +1 -2
- package/dist/esm/baseControls/Text/designer.js +1 -2
- package/dist/esm/baseControls/Text/property.js +5 -6
- package/dist/esm/baseControls/Text/runtime.js +1 -2
- package/dist/esm/baseControls/TextOcrButton/designer.js +1 -2
- package/dist/esm/baseControls/TextOcrButton/property.js +10 -10
- package/dist/esm/baseControls/TextOcrButton/runtime.js +1 -2
- package/dist/esm/baseControls/Title/designer.js +1 -2
- package/dist/esm/baseControls/Title/property.js +4 -5
- package/dist/esm/baseControls/Title/runtime.js +1 -2
- package/dist/esm/columnControls/ArrayColumn/designer.js +1 -2
- package/dist/esm/columnControls/ArrayColumn/property.js +4 -5
- package/dist/esm/columnControls/ArrayColumn/runtime.js +1 -2
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +1 -2
- package/dist/esm/columnControls/AutoNumberColumn/property.js +3 -4
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +1 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +2 -3
- package/dist/esm/columnControls/CustomColumn/property.js +2 -3
- package/dist/esm/columnControls/CustomColumn/runtime.js +2 -3
- package/dist/esm/columnControls/DecimalColumn/designer.js +1 -2
- package/dist/esm/columnControls/DecimalColumn/property.js +9 -10
- package/dist/esm/columnControls/DecimalColumn/runtime.js +1 -2
- package/dist/esm/columnControls/DepartmentColumn/designer.js +1 -2
- package/dist/esm/columnControls/DepartmentColumn/property.js +2 -3
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +1 -2
- package/dist/esm/columnControls/EmployeeColumn/designer.js +1 -2
- package/dist/esm/columnControls/EmployeeColumn/property.js +2 -3
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +1 -2
- package/dist/esm/columnControls/FileColumn/designer.js +1 -2
- package/dist/esm/columnControls/FileColumn/property.js +1 -2
- package/dist/esm/columnControls/FileColumn/runtime.js +1 -2
- package/dist/esm/columnControls/ImageColumn/designer.js +1 -2
- package/dist/esm/columnControls/ImageColumn/property.js +1 -2
- package/dist/esm/columnControls/ImageColumn/runtime.js +1 -2
- package/dist/esm/columnControls/LocationColumn/designer.js +1 -2
- package/dist/esm/columnControls/LocationColumn/property.js +3 -4
- package/dist/esm/columnControls/LocationColumn/runtime.js +1 -2
- package/dist/esm/columnControls/OperationColumn/designer.js +2 -3
- package/dist/esm/columnControls/OperationColumn/property.js +6 -6
- package/dist/esm/columnControls/OperationColumn/runtime.js +2 -3
- package/dist/esm/columnControls/OrderColumn/designer.js +1 -2
- package/dist/esm/columnControls/OrderColumn/property.js +7 -7
- package/dist/esm/columnControls/OrderColumn/runtime.js +1 -2
- package/dist/esm/columnControls/PeopleColumn/designer.js +1 -2
- package/dist/esm/columnControls/PeopleColumn/property.js +1 -2
- package/dist/esm/columnControls/PeopleColumn/runtime.js +1 -2
- package/dist/esm/columnControls/TextColumn/designer.js +1 -2
- package/dist/esm/columnControls/TextColumn/property.js +5 -6
- package/dist/esm/columnControls/TextColumn/runtime.js +1 -2
- package/dist/esm/columnControls/TimescopeColumn/designer.js +1 -2
- package/dist/esm/columnControls/TimescopeColumn/property.js +4 -5
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +1 -2
- package/dist/esm/columnControls/TimestampColumn/designer.js +1 -2
- package/dist/esm/columnControls/TimestampColumn/property.js +4 -5
- package/dist/esm/columnControls/TimestampColumn/runtime.js +1 -2
- package/dist/esm/columnControls/VarcharColumn/designer.js +1 -2
- package/dist/esm/columnControls/VarcharColumn/property.js +7 -8
- package/dist/esm/columnControls/VarcharColumn/runtime.js +1 -2
- package/dist/esm/formControls/Address/designer.js +1 -2
- package/dist/esm/formControls/Address/property.js +5 -6
- package/dist/esm/formControls/Address/runtime.js +1 -2
- package/dist/esm/formControls/Amount/designer.js +1 -2
- package/dist/esm/formControls/Amount/property.js +13 -14
- package/dist/esm/formControls/Amount/runtime.js +1 -2
- package/dist/esm/formControls/Attachment/designer.js +1 -2
- package/dist/esm/formControls/Attachment/property.js +22 -10
- package/dist/esm/formControls/Attachment/runtime.js +1 -2
- package/dist/esm/formControls/AutoNumber/designer.js +1 -2
- package/dist/esm/formControls/AutoNumber/property.js +3 -4
- package/dist/esm/formControls/AutoNumber/runtime.js +1 -2
- package/dist/esm/formControls/Calc/designer.js +1 -2
- package/dist/esm/formControls/Calc/property.js +9 -10
- package/dist/esm/formControls/Calc/runtime.js +1 -2
- package/dist/esm/formControls/Checkbox/designer.js +1 -2
- package/dist/esm/formControls/Checkbox/property.js +16 -18
- package/dist/esm/formControls/Checkbox/runtime.js +1 -2
- package/dist/esm/formControls/DatePicker/designer.js +1 -2
- package/dist/esm/formControls/DatePicker/property.js +11 -11
- package/dist/esm/formControls/DatePicker/runtime.js +1 -2
- package/dist/esm/formControls/DateRange/designer.js +1 -2
- package/dist/esm/formControls/DateRange/property.js +13 -13
- package/dist/esm/formControls/DateRange/runtime.js +1 -2
- package/dist/esm/formControls/Department/designer.js +1 -2
- package/dist/esm/formControls/Department/property.js +13 -15
- package/dist/esm/formControls/Department/runtime.js +1 -2
- package/dist/esm/formControls/Department2/designer.js +1 -2
- package/dist/esm/formControls/Department2/property.js +17 -19
- package/dist/esm/formControls/Department2/runtime.js +1 -2
- package/dist/esm/formControls/ElectronicSignature/designer.js +1 -2
- package/dist/esm/formControls/ElectronicSignature/property.js +7 -8
- package/dist/esm/formControls/ElectronicSignature/runtime.js +1 -2
- package/dist/esm/formControls/Employee/designer.js +1 -2
- package/dist/esm/formControls/Employee/property.js +11 -13
- package/dist/esm/formControls/Employee/runtime.js +1 -2
- package/dist/esm/formControls/Employee2/designer.js +1 -2
- package/dist/esm/formControls/Employee2/property.js +16 -18
- package/dist/esm/formControls/Employee2/runtime.js +1 -2
- package/dist/esm/formControls/Image/designer.js +4 -4
- package/dist/esm/formControls/Image/property.js +7 -1
- package/dist/esm/formControls/Image/runtime.js +4 -4
- package/dist/esm/formControls/Input/designer.js +1 -2
- package/dist/esm/formControls/Input/property.js +8 -9
- package/dist/esm/formControls/Input/runtime.js +1 -2
- package/dist/esm/formControls/Number/designer.js +1 -2
- package/dist/esm/formControls/Number/property.js +14 -15
- package/dist/esm/formControls/Number/runtime.js +1 -2
- package/dist/esm/formControls/OrganizationSelection/designer.js +1 -2
- package/dist/esm/formControls/OrganizationSelection/property.js +22 -24
- package/dist/esm/formControls/OrganizationSelection/runtime.js +1 -2
- package/dist/esm/formControls/Radio/designer.js +1 -2
- package/dist/esm/formControls/Radio/property.js +14 -16
- package/dist/esm/formControls/Radio/runtime.js +1 -2
- package/dist/esm/formControls/RichText/designer.js +1 -2
- package/dist/esm/formControls/RichText/property.js +5 -6
- package/dist/esm/formControls/RichText/runtime.js +1 -2
- package/dist/esm/formControls/Score/designer.js +1 -2
- package/dist/esm/formControls/Score/property.js +7 -7
- package/dist/esm/formControls/Score/runtime.js +1 -2
- package/dist/esm/formControls/SearchDateRange/designer.js +1 -2
- package/dist/esm/formControls/SearchDateRange/property.js +12 -12
- package/dist/esm/formControls/SearchDateRange/runtime.js +1 -2
- package/dist/esm/formControls/SearchInput/designer.js +1 -2
- package/dist/esm/formControls/SearchInput/runtime.js +1 -2
- package/dist/esm/formControls/SearchNumberRange/designer.js +1 -2
- package/dist/esm/formControls/SearchNumberRange/property.js +6 -7
- package/dist/esm/formControls/SearchNumberRange/runtime.js +1 -2
- package/dist/esm/formControls/Select/designer.js +1 -2
- package/dist/esm/formControls/Select/property.js +11 -13
- package/dist/esm/formControls/Select/runtime.js +1 -2
- package/dist/esm/formControls/SelectMultiple/designer.js +1 -2
- package/dist/esm/formControls/SelectMultiple/property.js +10 -12
- package/dist/esm/formControls/SelectMultiple/runtime.js +1 -2
- package/dist/esm/formControls/SelectRelation/designer.js +1 -2
- package/dist/esm/formControls/SelectRelation/property.js +14 -16
- package/dist/esm/formControls/SelectRelation/runtime.js +1 -2
- package/dist/esm/formControls/Textarea/designer.js +1 -2
- package/dist/esm/formControls/Textarea/property.js +6 -7
- package/dist/esm/formControls/Textarea/runtime.js +1 -2
- package/dist/esm/formControls/Tree/designer.js +1 -2
- package/dist/esm/formControls/Tree/property.js +19 -19
- package/dist/esm/formControls/Tree/runtime.js +1 -2
- package/dist/esm/formControls/VueFormItem/designer.js +1 -2
- package/dist/esm/formControls/VueFormItem/property.js +5 -6
- package/dist/esm/formControls/VueFormItem/runtime.js +1 -2
- package/dist/esm/formControls/WPS/designer.js +1 -2
- package/dist/esm/formControls/WPS/property.js +13 -14
- package/dist/esm/formControls/WPS/runtime.js +1 -2
- package/dist/esm/framework.js +35 -42
- package/dist/esm/layoutControls/AdvancedContainer/property.js +2 -3
- package/dist/esm/layoutControls/CardGroup/designer.js +1 -2
- package/dist/esm/layoutControls/CardGroup/property.js +2 -3
- package/dist/esm/layoutControls/CardGroup/runtime.js +1 -2
- package/dist/esm/layoutControls/Col/designer.js +1 -2
- package/dist/esm/layoutControls/Col/property.js +2 -3
- package/dist/esm/layoutControls/Col/runtime.js +1 -2
- package/dist/esm/layoutControls/DataView/designer.js +1 -2
- package/dist/esm/layoutControls/DataView/property.js +7 -8
- package/dist/esm/layoutControls/DataView/runtime.js +1 -2
- package/dist/esm/layoutControls/GridTableColumn/designer.js +1 -2
- package/dist/esm/layoutControls/GridTableColumn/property.js +12 -13
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +1 -2
- package/dist/esm/layoutControls/ListView/designer.js +1 -2
- package/dist/esm/layoutControls/ListView/property.js +13 -14
- package/dist/esm/layoutControls/ListView/runtime.js +1 -2
- package/dist/esm/layoutControls/Page/property.js +1 -2
- package/dist/esm/layoutControls/Position/property.js +4 -5
- package/dist/esm/layoutControls/Row/designer.js +1 -2
- package/dist/esm/layoutControls/Row/property.js +2 -3
- package/dist/esm/layoutControls/Row/runtime.js +1 -2
- package/dist/esm/layoutControls/SubTableColumn/designer.js +1 -2
- package/dist/esm/layoutControls/SubTableColumn/property.js +6 -7
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +1 -2
- package/dist/esm/layoutControls/SubTableRow/designer.js +1 -2
- package/dist/esm/layoutControls/SubTableRow/runtime.js +1 -2
- package/dist/esm/layoutControls/Tab/designer.js +2 -3
- package/dist/esm/layoutControls/Tab/property.js +1 -2
- package/dist/esm/layoutControls/Tab/runtime.js +1 -2
- package/dist/esm/layoutControls/TabPane/designer.js +1 -2
- package/dist/esm/layoutControls/TabPane/property.js +1 -2
- package/dist/esm/layoutControls/TabPane/runtime.js +1 -2
- package/dist/esm/layoutControls/Toolbox/designer.js +1 -2
- package/dist/esm/layoutControls/Toolbox/runtime.js +1 -2
- package/dist/esm/listControls/GridTable/designer.js +3 -4
- package/dist/esm/listControls/GridTable/property.js +5 -6
- package/dist/esm/listControls/GridTable/runtime.js +1 -2
- package/dist/esm/listControls/SubTable/designer.js +3 -3
- package/dist/esm/listControls/SubTable/property.js +30 -31
- package/dist/esm/listControls/SubTable/runtime.js +1 -2
- package/dist/esm/searchControls/SimpleSearch/designer.js +1 -2
- package/dist/esm/searchControls/SimpleSearch/property.js +8 -9
- package/dist/esm/searchControls/SimpleSearch/runtime.js +2 -3
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/Attachment/property.d.ts +2 -0
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var F_=Object.defineProperty,O_=Object.defineProperties;var k_=Object.getOwnPropertyDescriptors;var hs=Object.getOwnPropertySymbols,M_=Object.getPrototypeOf,L_=Object.prototype.hasOwnProperty,N_=Object.prototype.propertyIsEnumerable,$_=Reflect.get;var ys=(m,H,j)=>H in m?F_(m,H,{enumerable:!0,configurable:!0,writable:!0,value:j}):m[H]=j,Te=(m,H)=>{for(var j in H||(H={}))L_.call(H,j)&&ys(m,j,H[j]);if(hs)for(var j of hs(H))N_.call(H,j)&&ys(m,j,H[j]);return m},Dn=(m,H)=>O_(m,k_(H));var ba=(m,H,j)=>$_(M_(m),j,H);var _a=(m,H,j)=>new Promise((lu,Pn)=>{var ou=ge=>{try{St(j.next(ge))}catch(At){Pn(At)}},cu=ge=>{try{St(j.throw(ge))}catch(At){Pn(At)}},St=ge=>ge.done?lu(ge.value):Promise.resolve(ge.value).then(ou,cu);St((j=j.apply(m,H)).next())});(function(m,H){typeof exports=="object"&&typeof module!="undefined"?H(exports):typeof define=="function"&&define.amd?define(["exports"],H):(m=typeof globalThis!="undefined"?globalThis:m||self,H(m.modelDrivenControls={}))})(this,function(m){"use strict";var H="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Pn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ou="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",cu="{caption}\u5FC5\u586B",St="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",At="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ms="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",vs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",gs="\u8BF7\u7ED1\u5B9A\u8868\u5355",bs="\u8BF7\u7ED1\u5B9A\u5217\u8868",_s="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Es="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ws="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Cs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Is="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ss="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",As="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ts="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Bs="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Rs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ds="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ps="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",xs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fs="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Os="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ks="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ms="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ls="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ns="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",$s="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Vs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Hs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qs="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",js="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Us="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ws="\u8BF7\u9009\u62E9\u7701",Ks="\u8BF7\u9009\u62E9\u5E02",zs="\u8BF7\u9009\u62E9\u533A",Gs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Xs="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Qs="\u8BF7\u8F93\u5165\u5217\u5BBD",Js="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Zs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ys="\u8BF7\u9009\u62E9\u63A7\u4EF6",ps="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ed="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",td="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",nd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",id="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ud="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",ad="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ld="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",od="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",hd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",yd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",md="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",vd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",bd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_d="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ed={isNotNumber:H,isNotString:j,isNotObject:lu,isNotArray:Pn,isNotBoolean:ou,runtimeRequired:cu,pleaseEnterCaption:St,pleaseEnterCaptionTip:ge,pleaseEnterRowCaption:At,pleaseEnterPlaceholder:ms,pleaseEnterFieldCode:vs,pleaseEnterForm:gs,pleaseEnterList:bs,pleaseEnterProcess:_s,pleaseEnterLabel:Es,pleaseEnterValue:ws,bizKeyNotBindFiled:Cs,pleaseSelectOneField:Is,pleaseEnterNumberRange:Ss,pleaseEnterAValueGreaterThanMin:As,pleaseEnterAValueLessThanMax:Ts,numberRangeSetError:Bs,stringRangeError:Rs,attachmentMaxSize:Ds,pleaseEnterTotalScoreSetting:Ps,theTotalScoreMustNotBeLessThan1:xs,scoreDefaultValueRange:Fs,attachmentLimitError:Os,PleaseReselectTheOptionalQuantity:ks,TheMaximumLengthIsGreaterThanTheMinimumLength:Ms,TheMinimumLengthIsGreaterThanTheMaximumLength:Ls,PleaseSelectTheCorrectOptionSettings:Ns,optionIdIsRepeat:$s,optionIsRequired:Vs,pleaseEnterDataCode:Hs,pleaseEnterValueFieldCode:qs,pleaseEnterSvcCode:js,pleaseBindAtLeastOneDisplayValue:Us,pleaseSelectProvince:Ws,pleaseSelectCity:Ks,pleaseSelectDistrict:zs,limitRowsCannotBeLessThan0:Gs,TheNumberOfRowsCannotBeLessThanMinRows:Xs,pleaseEnterColumnWidth:Qs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Js,pleaseCompleteAllRulesAndConditions:Zs,pleaseSelectControl:Ys,pleaseSelectAtLeastOneColumn:ps,pleaseSelectFillBackMode:ed,pleaseSelectDashboard:td,rootNodeIsRequired:nd,theViewNameCannotBeEmpty:id,pleaseSelectOcrType:ud,pleaseSelectAtLeastOneFieldToFillIn:rd,pleaseChooseAtLeastOne:ad,pleaseEnterButtonContent:ld,pleaseEnterDataCodeInDataSetting:od,pleaseEnterValueFieldCodeInDataSetting:cd,pleaseEnterSvcCodeInDataSetting:sd,pleaseBindAtLeastOneDisplayValueInDataSetting:dd,rootNodeIsRequiredInDataSetting:fd,pleaseEnterMaxHeight:hd,pleaseEnter:yd,pleaseEnterWatermark:md,pleaseEnterFileName:vd,pleaseUploadAtLeastOnePrintTemplate:gd,pleaseAssignBusiness:bd,pleaseAssignExternal:_d},wd="Please enter a number",Cd="Please enter a string",Id="Please enter an object",Sd="Please enter an array",Ad="Please enter a boolean",Td="{caption} Required",Bd="Please enter the title",Rd="Please enter the bubble prompt",Dd="Please enter the row title",Pd="Please enter the prompt text",xd="Please bind data items",Fd="Please bind the form",Od="Please bind the list",kd="Please bind the process",Md="Please enter the displayed value",Ld="Please enter the stored value",Nd="The document number is not bound to the data item",$d="Please select at least one display field",Vd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Hd="Please enter a value greater than or equal to {min}",qd="Please enter a value less than or equal to {max}",jd="The value range is set incorrectly",Ud="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Wd="The attachment size must be between 0MB and 1000MB",Kd="Please fill in the total score setting",zd="The total score cannot be less than 1",Gd="The default value must be between {min} and {max}",Xd="The number of attachments uploaded must be between {min} and {max}",Qd="Please re-select the optional quantity",Jd="The maximum length of the control must be greater than the minimum length",Zd="The minimum length of the control must be less than the maximum length",Yd="Please select the correct option setting",pd="Option ID cannot be repeated",ef="Please enter at least one option",tf="Please bind the data source",nf="Please bind the stored value",uf="Please bind the service",rf="At least one display value must be bound",af="Please select a province",lf="Please select a city",of="Please select a district",cf="The minimum number of lines to fill in cannot be less than 0",sf="The number of rows cannot be less than {min} rows",df="Please enter the column width",ff="Please set the logical relationship of all rule conditions",hf="Please complete all rules and conditions",yf="please select control",mf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",vf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",bf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_f="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ef="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Cf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",If="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Tf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Bf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Rf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Df="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Pf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",xf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ff="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Of={isNotNumber:wd,isNotString:Cd,isNotObject:Id,isNotArray:Sd,isNotBoolean:Ad,runtimeRequired:Td,pleaseEnterCaption:Bd,pleaseEnterCaptionTip:Rd,pleaseEnterRowCaption:Dd,pleaseEnterPlaceholder:Pd,pleaseEnterFieldCode:xd,pleaseEnterForm:Fd,pleaseEnterList:Od,pleaseEnterProcess:kd,pleaseEnterLabel:Md,pleaseEnterValue:Ld,bizKeyNotBindFiled:Nd,pleaseSelectOneField:$d,pleaseEnterNumberRange:Vd,pleaseEnterAValueGreaterThanMin:Hd,pleaseEnterAValueLessThanMax:qd,numberRangeSetError:jd,stringRangeError:Ud,attachmentMaxSize:Wd,pleaseEnterTotalScoreSetting:Kd,theTotalScoreMustNotBeLessThan1:zd,scoreDefaultValueRange:Gd,attachmentLimitError:Xd,PleaseReselectTheOptionalQuantity:Qd,TheMaximumLengthIsGreaterThanTheMinimumLength:Jd,TheMinimumLengthIsGreaterThanTheMaximumLength:Zd,PleaseSelectTheCorrectOptionSettings:Yd,optionIdIsRepeat:pd,optionIsRequired:ef,pleaseEnterDataCode:tf,pleaseEnterValueFieldCode:nf,pleaseEnterSvcCode:uf,pleaseBindAtLeastOneDisplayValue:rf,pleaseSelectProvince:af,pleaseSelectCity:lf,pleaseSelectDistrict:of,limitRowsCannotBeLessThan0:cf,TheNumberOfRowsCannotBeLessThanMinRows:sf,pleaseEnterColumnWidth:df,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ff,pleaseCompleteAllRulesAndConditions:hf,pleaseSelectControl:yf,pleaseSelectDashboard:mf,theViewNameCannotBeEmpty:vf,pleaseSelectOcrType:gf,pleaseSelectAtLeastOneFieldToFillIn:bf,pleaseChooseAtLeastOne:_f,pleaseEnterButtonContent:Ef,pleaseEnterDataCodeInDataSetting:wf,pleaseEnterValueFieldCodeInDataSetting:Cf,pleaseEnterSvcCodeInDataSetting:If,pleaseBindAtLeastOneDisplayValueInDataSetting:Sf,rootNodeIsRequiredInDataSetting:Af,pleaseEnterMaxHeight:Tf,pleaseEnter:Bf,pleaseEnterWatermark:Rf,pleaseEnterFileName:Df,pleaseUploadAtLeastOnePrintTemplate:Pf,pleaseAssignBusiness:xf,pleaseAssignExternal:Ff},kf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vf="{caption}\u5FC5\u9808",Hf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jf="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Zf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",th="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",nh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ih="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",uh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ah="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ch="\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",sh="\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",dh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",hh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",yh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",bh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_h="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Eh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ch="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ih="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ah="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Th="please select control",Bh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Rh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Dh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Ph="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",xh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Oh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",kh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Mh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Lh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",$h="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Vh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Hh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",qh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Uh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Wh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Kh={isNotNumber:kf,isNotString:Mf,isNotObject:Lf,isNotArray:Nf,isNotBoolean:$f,runtimeRequired:Vf,pleaseEnterCaption:Hf,pleaseEnterCaptionTip:qf,pleaseEnterRowCaption:jf,pleaseEnterPlaceholder:Uf,pleaseEnterFieldCode:Wf,pleaseEnterForm:Kf,pleaseEnterList:zf,pleaseEnterProcess:Gf,pleaseEnterLabel:Xf,pleaseEnterValue:Qf,bizKeyNotBindFiled:Jf,pleaseSelectOneField:Zf,pleaseEnterNumberRange:Yf,pleaseEnterAValueGreaterThanMin:pf,pleaseEnterAValueLessThanMax:eh,numberRangeSetError:th,stringRangeError:nh,attachmentMaxSize:ih,pleaseEnterTotalScoreSetting:uh,theTotalScoreMustNotBeLessThan1:rh,scoreDefaultValueRange:ah,attachmentLimitError:lh,PleaseReselectTheOptionalQuantity:oh,TheMaximumLengthIsGreaterThanTheMinimumLength:ch,TheMinimumLengthIsGreaterThanTheMaximumLength:sh,PleaseSelectTheCorrectOptionSettings:dh,optionIdIsRepeat:fh,optionIsRequired:hh,pleaseEnterDataCode:yh,pleaseEnterValueFieldCode:mh,pleaseEnterSvcCode:vh,pleaseBindAtLeastOneDisplayValue:gh,pleaseSelectProvince:bh,pleaseSelectCity:_h,pleaseSelectDistrict:Eh,limitRowsCannotBeLessThan0:wh,TheNumberOfRowsCannotBeLessThanMinRows:Ch,pleaseEnterColumnWidth:Ih,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Sh,pleaseCompleteAllRulesAndConditions:Ah,pleaseSelectControl:Th,pleaseSelectDashboard:Bh,theViewNameCannotBeEmpty:Rh,pleaseSelectOcrType:Dh,pleaseSelectAtLeastOneFieldToFillIn:Ph,pleaseChooseAtLeastOne:xh,pleaseEnterButtonContent:Fh,pleaseEnterDataCodeInDataSetting:Oh,pleaseEnterValueFieldCodeInDataSetting:kh,pleaseEnterSvcCodeInDataSetting:Mh,pleaseBindAtLeastOneDisplayValueInDataSetting:Lh,rootNodeIsRequiredInDataSetting:Nh,pleaseEnterMaxHeight:$h,pleaseEnter:Vh,pleaseEnterWatermark:Hh,pleaseEnterFileName:qh,pleaseUploadAtLeastOnePrintTemplate:jh,pleaseAssignBusiness:Uh,pleaseAssignExternal:Wh},zh={zhCN:Ed,enUS:Of,jaJP:Kh},Ea;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Ea||(Ea={}));var wa;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(wa||(wa={}));var Gh="zh-CN";function oe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ct;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ct||(ct={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.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"})(S||(S={}));var b;(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"})(b||(b={}));var ue;ue={},oe(ue,b.ARRAY,S.ARRAY_COLUMN),oe(ue,b.AUTO_NUMBER,S.AUTO_NUMBER_COLUMN),oe(ue,b.DECIMAL,S.DECIMAL_COLUMN),oe(ue,b.DEPARTMENTS,S.DEPARTMENT_COLUMN),oe(ue,b.FILE,S.FILE_COLUMN),oe(ue,b.IMAGE,S.IMAGE_COLUMN),oe(ue,b.ADDRESS,S.LOCATION_COLUMN),oe(ue,b.EMPLOYEES,S.EMPLOYEE_COLUMN),oe(ue,b.TEXT,S.TEXT_COLUMN),oe(ue,b.TIMESCOPE,S.TIMESCOPE_COLUMN),oe(ue,b.TIMESTAMP,S.TIMESTAMP_COLUMN),oe(ue,b.VARCHAR,S.VARCHAR_COLUMN),oe(ue,b.RELATION,S.VARCHAR_COLUMN);var Be;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Be||(Be={}));var Ca="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Xh=Ca+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Ca:Xh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function su(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 Qh(t){if(Array.isArray(t))return su(t)}function Jh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ia(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t,e,n){return Ta()?xn=Reflect.construct:xn=function(u,r,a){var l=[null];l.push.apply(l,r);var c=Function.bind.apply(u,l),o=new c;return a&&Bt(o,a.prototype),o},xn.apply(null,arguments)}function Tt(t){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tt(t)}function Sa(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&&Bt(t,e)}function Zh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Yh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ph(){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 ey(t,e){return e&&(ty(e)==="object"||typeof e=="function")?e:Jh(t)}function Bt(t,e){return Bt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bt(t,e)}function Aa(t){return Qh(t)||Yh(t)||ny(t)||ph()}function ty(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ny(t,e){if(!!t){if(typeof t=="string")return su(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 su(t,e)}}function du(t){var e=typeof Map=="function"?new Map:void 0;return du=function(i){if(i===null||!Zh(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 xn(i,arguments,Tt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Bt(u,i)},du(t)}function Ta(){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 Ba(t){var e=Ta();return function(){var i=Tt(t),u;if(e){var r=Tt(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return ey(this,u)}}var fu=console;function hu(){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=fu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Aa(u)))}function Ra(){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=fu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Aa(u)))}function iy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var yu=function(t){Sa(n,t);var e=Ba(n);function n(i){Ia(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?iy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(du(Error)),uy=function(t){Sa(n,t);var e=Ba(n);function n(i){Ia(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(yu);function Rt(t){throw new yu(t)}function Da(t){throw new uy(t)}function ry(t){fu.error(new yu(t))}var ay=Object.prototype.toString;function Pa(t,e){return ay.call(t)==="[object "+e+"]"}function ly(t){return Pa(t,"String")}function oy(t){return Pa(t,"Promise")}var cy=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();oy(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 c=u[r];if(!(a===l.length-1&&!ly(c)))return c}},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 sy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xa(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 dy(t,e,n){return e&&xa(t.prototype,e),n&&xa(t,n),t}function fy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){sy(this,t)}return dy(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gh;return new cy({locale:n,messages:zh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();fy(f,"$i18n",f.resetI18n());function hy(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,a){return"."+a}).split("."),u=!1;return i.reduce(function(r,a,l,c){var o=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,a)){hu("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===c.length-1&&!Object.is(o[a],n)&&(o[a]=n,u=!0),o[a]}},t),u}var yy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},my={exports:{}};(function(t){(function(e){var n=function(h,w,A){if(!o(w)||v(w)||g(w)||E(w)||c(w))return w;var T,R=0,Z=0;if(d(w))for(T=[],Z=w.length;R<Z;R++)T.push(n(h,w[R],A));else{T={};for(var x in w)Object.prototype.hasOwnProperty.call(w,x)&&(T[h(x,A)]=n(h,w[x],A))}return T},i=function(h,w){w=w||{};var A=w.separator||"_",T=w.split||/(?=[A-Z])/;return h.split(T).join(A)},u=function(h){return I(h)?h:(h=h.replace(/[\-_\s]+(.)?/g,function(w,A){return A?A.toUpperCase():""}),h.substr(0,1).toLowerCase()+h.substr(1))},r=function(h){var w=u(h);return w.substr(0,1).toUpperCase()+w.substr(1)},a=function(h,w){return i(h,w).toLowerCase()},l=Object.prototype.toString,c=function(h){return typeof h=="function"},o=function(h){return h===Object(h)},d=function(h){return l.call(h)=="[object Array]"},v=function(h){return l.call(h)=="[object Date]"},g=function(h){return l.call(h)=="[object RegExp]"},E=function(h){return l.call(h)=="[object Boolean]"},I=function(h){return h=h-0,h===h},_=function(h,w){var A=w&&"process"in w?w.process:w;return typeof A!="function"?h:function(T,R){return A(T,h,R)}},C={camelize:u,decamelize:a,pascalize:r,depascalize:a,camelizeKeys:function(h,w){return n(_(u,w),h)},decamelizeKeys:function(h,w){return n(_(a,w),h,w)},pascalizeKeys:function(h,w){return n(_(r,w),h)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=C:e.humps=C})(yy)})(my);var Fa={};Object.defineProperty(Fa,"__esModule",{value:!0});function mu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:mu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:mu(i)}return e}}var vy=Fa.default=mu;function Re(t){if(t!==void 0)return typeof t=="object"?vy(t):t}function gy(t){return Object.prototype.toString.call(t)==="[object Object]"}function vu(t){return Array.isArray(t)}function by(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function gu(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 _y(t){if(Array.isArray(t))return gu(t)}function Oa(t,e,n,i,u,r,a){try{var l=t[r](a),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Ey(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(c){Oa(r,i,u,a,l,"next",c)}function l(c){Oa(r,i,u,a,l,"throw",c)}a(void 0)})}}function wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ka(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 Cy(t,e,n){return e&&ka(t.prototype,e),n&&ka(t,n),t}function Ma(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Sy(){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 bu(t){return _y(t)||Iy(t)||Ay(t)||Sy()}function Ay(t,e){if(!!t){if(typeof t=="string")return gu(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 gu(t,e)}}function Ty(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(d){return c([o,d])}}function c(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(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var By=function(){function t(){wy(this,t),Ma(this,"_events",new Map),Ma(this,"debug",!1)}return Cy(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),r=1;r<i;r++)u[r-1]=arguments[r];var a=this;return Ey(function(){var l,c,o,d,v,g,E,I,_,C,h,w;return Ty(this,function(A){switch(A.label){case 0:if(l=a._events.get(n),c=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,g=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),E=o[Symbol.iterator](),A.label=2;case 2:if(d=(I=E.next()).done)return[3,7];if(_=I.value,!l.includes(_))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),a.debug&&Ra.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(bu(u))),[4,_.apply(null,bu(u))];case 4:return C=A.sent(),a.debug&&Ra.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bu(u),[C])),c.push(C),C===!1?[3,7]:[3,6];case 5:return h=A.sent(),ry(String(h)+":"+String(h.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=A.sent(),v=!0,g=w,[3,10];case 9:try{!d&&E.return!=null&&E.return()}finally{if(v)throw g}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u,r,a=this._events.get(n),l=(u=a)===null||u===void 0?void 0:u.indexOf(i);(r=a)===null||r===void 0||r.splice(l,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Ry(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function La(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 Dy(t,e,n){return e&&La(t.prototype,e),n&&La(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}var xy=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Fy=function(){function t(){Ry(this,t)}return Dy(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();Py(Fy,"events",xy);function Oy(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 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&&Na(t.prototype,e),n&&Na(t,n),t}function Ve(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $a=[],_u=function(){function t(e){Oy(this,t),Ve(this,"registeredControlTypes",new Set),Ve(this,"controlConfigMap",new Map),Ve(this,"_controls",[]),Ve(this,"_type",void 0),this._type=e,this._initControls(e)}return ky(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Rt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(hu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ct.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ct.FORM}},{key:"isListControl",value:function(n){return n.controlType===ct.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ct.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var r=this.getControlFormType(n.type);if(r){var a=n;if(typeof i=="function"){var l=i(a);l&&(a=l)}var c=new r(a);return c}else Rt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&Rt("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(a){return a.Designer.controlType===i.controlType});return r>-1&&(hu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();Ve(_u,"staticControls",$a),Ve(_u,"staticRegisteredTypes",new Set($a.map(function(t){return t.Designer.controlType}))),Ve(_u,"staticRegisteredConfigs",new Map);function k(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 y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(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&&Eu(t,e)}function Va(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function My(t,e){return e&&(Ly(e)==="object"||typeof e=="function")?e:k(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Eu(t,e)}function Ly(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ny(){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=Ny();return function(){var i=Fn(t),u;if(e){var r=Fn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return My(this,u)}}var ye=function t(e){B(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0);var r;this.dataCode=(r=(n=e)===null||n===void 0?void 0:n.dataCode)!==null&&r!==void 0?r:"";var a;this.fieldCode=(a=(i=e)===null||i===void 0?void 0:i.fieldCode)!==null&&a!==void 0?a:"";var l;this.fieldType=(l=(u=e)===null||u===void 0?void 0:u.fieldType)!==null&&l!==void 0?l:""},Ha=function t(e){B(this,t);var n,i,u;y(this,"minWidth",void 0),y(this,"maxWidth",void 0),y(this,"flex",void 0);var r;this.minWidth=(r=(n=e)===null||n===void 0?void 0:n.minWidth)!==null&&r!==void 0?r:150,this.maxWidth=(i=e)===null||i===void 0?void 0:i.maxWidth;var a;this.flex=(a=(u=e)===null||u===void 0?void 0:u.flex)!==null&&a!==void 0?a:1},wu=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r,a;u=e.call(this,i),y(k(u),"width",void 0),y(k(u),"widthType",void 0);var l;u.width=(l=(r=i)===null||r===void 0?void 0:r.width)!==null&&l!==void 0?l:240;var c;return u.widthType=(c=(a=i)===null||a===void 0?void 0:a.widthType)!==null&&c!==void 0?c:"auto",u}return n}(Ha),$y=function t(e){B(this,t);var n,i,u;y(this,"pc",void 0),y(this,"mobile",void 0),this.pc=new wu((n=e)===null||n===void 0?void 0:n.pc),this.mobile=!((i=e)===null||i===void 0)&&i.mobile?new wu((u=e)===null||u===void 0?void 0:u.mobile):new wu({width:130,minWidth:180})},Vy=function t(e){B(this,t);var n,i;y(this,"type",void 0),y(this,"customOptions",void 0);var u;this.type=(u=(n=e)===null||n===void 0?void 0:n.type)!==null&&u!==void 0?u:"firstThree";var r;this.customOptions=(r=(i=e)===null||i===void 0?void 0:i.customOptions)!==null&&r!==void 0?r:[]},Cu=function t(e){B(this,t);var n,i,u;y(this,"dataCode",void 0),y(this,"formKey",void 0),y(this,"appId",void 0);var r;this.dataCode=(r=(n=e)===null||n===void 0?void 0:n.dataCode)!==null&&r!==void 0?r:"";var a;this.formKey=(a=(i=e)===null||i===void 0?void 0:i.formKey)!==null&&a!==void 0?a:"";var l;this.appId=(l=(u=e)===null||u===void 0?void 0:u.appId)!==null&&l!==void 0?l:""},Hy=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r;u=e.call(this,i),y(k(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=(r=i)===null||r===void 0?void 0:r.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Cu),qa=function t(e){B(this,t);var n;y(this,"fieldCode",void 0);var i;this.fieldCode=(i=(n=e)===null||n===void 0?void 0:n.fieldCode)!==null&&i!==void 0?i:""},Iu=function t(e){B(this,t);var n,i,u,r;y(this,"appId",void 0),y(this,"formKey",void 0),y(this,"headers",void 0);var a;this.appId=(a=(n=e)===null||n===void 0?void 0:n.appId)!==null&&a!==void 0?a:"";var l;this.formKey=(l=(i=e)===null||i===void 0?void 0:i.formKey)!==null&&l!==void 0?l:"";var c;this.headers=(c=(r=e)===null||r===void 0||(u=r.headers)===null||u===void 0?void 0:u.map(function(o){return new qa(o)}))!==null&&c!==void 0?c:[]},qy=function t(e){B(this,t);var n,i,u;y(this,"fieldName",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0);var r;this.fieldName=(r=(n=e)===null||n===void 0?void 0:n.fieldName)!==null&&r!==void 0?r:"";var a;this.fieldCode=(a=(i=e)===null||i===void 0?void 0:i.fieldCode)!==null&&a!==void 0?a:"";var l;this.fieldType=(l=(u=e)===null||u===void 0?void 0:u.fieldType)!==null&&l!==void 0?l:b.VARCHAR},jy=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r,a,l,c;u=e.call(this,i),y(k(u),"title",void 0),y(k(u),"svcCode",void 0),y(k(u),"isOpenFilter",void 0),y(k(u),"filters",void 0);var o;u.title=(o=(r=i)===null||r===void 0?void 0:r.title)!==null&&o!==void 0?o:"";var d;u.svcCode=(d=(a=i)===null||a===void 0?void 0:a.svcCode)!==null&&d!==void 0?d:"";var v;u.isOpenFilter=(v=(l=i)===null||l===void 0?void 0:l.isOpenFilter)!==null&&v!==void 0?v:!1;var g;return u.filters=(g=(c=i)===null||c===void 0?void 0:c.filters)!==null&&g!==void 0?g:[],u}return n}(Cu),Uy=function t(e){B(this,t);var n,i,u,r,a;y(this,"type","sublist-page"),y(this,"formBind",void 0),y(this,"displayFields",void 0),y(this,"sublists",void 0),this.formBind=new Cu((n=e)===null||n===void 0?void 0:n.formBind);var l;this.displayFields=(l=(u=e)===null||u===void 0||(i=u.displayFields)===null||i===void 0?void 0:i.map(function(o){return new qy(o)}))!==null&&l!==void 0?l:[];var c;this.sublists=(c=(a=e)===null||a===void 0||(r=a.sublists)===null||r===void 0?void 0:r.map(function(o){return new jy(o)}))!==null&&c!==void 0?c:[]},Wy=function t(e){B(this,t);var n,i;y(this,"type",void 0),y(this,"value",void 0),this.type=(n=e)===null||n===void 0?void 0:n.type,this.value=(i=e)===null||i===void 0?void 0:i.value},Dt=function t(e){B(this,t);var n,i,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"displayBos",void 0);var r;this.type=(r=(n=e)===null||n===void 0?void 0:n.type)!==null&&r!==void 0?r:"custom";var a;this.value=(a=(i=e)===null||i===void 0?void 0:i.value)!==null&&a!==void 0?a:[];var l;this.displayBos=(l=(u=e)===null||u===void 0?void 0:u.displayBos)!==null&&l!==void 0?l:[]},ja=function t(e){var n=this;B(this,t);var i,u,r,a,l;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","conditions"),y(this,"level",void 0),y(this,"value",void 0),y(this,"children",void 0);var c;this.id=(c=(i=e)===null||i===void 0?void 0:i.id)!==null&&c!==void 0?c:be();var o;this.ruleId=(o=(u=e)===null||u===void 0?void 0:u.ruleId)!==null&&o!==void 0?o:new Date().valueOf();var d;this.level=(d=(r=e)===null||r===void 0?void 0:r.level)!==null&&d!==void 0?d:0;var v;if(this.value=(v=(a=e)===null||a===void 0?void 0:a.value)!==null&&v!==void 0?v:"and",this.children=[],Array.isArray((l=e)===null||l===void 0?void 0:l.children)){var g;(g=e)===null||g===void 0||g.children.map(function(E){if(E.children!==void 0){var I,_=new t(E);(I=n.children)===null||I===void 0||I.push(_)}else{var C,h=new Su(E);(C=n.children)===null||C===void 0||C.push(h)}})}},Su=function t(e){B(this,t);var n,i,u,r,a,l,c;y(this,"id",void 0),y(this,"ruleId",void 0),y(this,"type","condition"),y(this,"symbol",void 0),y(this,"checked",void 0),y(this,"describe",void 0),y(this,"leftVariableBo",void 0),y(this,"rightVariableBo",void 0);var o;this.id=(o=(n=e)===null||n===void 0?void 0:n.id)!==null&&o!==void 0?o:be();var d;this.ruleId=(d=(i=e)===null||i===void 0?void 0:i.ruleId)!==null&&d!==void 0?d:new Date().valueOf();var v;this.symbol=(v=(u=e)===null||u===void 0?void 0:u.symbol)!==null&&v!==void 0?v:"";var g;this.checked=(g=(r=e)===null||r===void 0?void 0:r.checked)!==null&&g!==void 0?g:!1;var E;this.describe=(E=(a=e)===null||a===void 0?void 0:a.describe)!==null&&E!==void 0?E:"",this.leftVariableBo=new Wy((l=e)===null||l===void 0?void 0:l.leftVariableBo),this.rightVariableBo=new Dt((c=e)===null||c===void 0?void 0:c.rightVariableBo)},le=function t(e){B(this,t);var n,i,u,r;y(this,"controlId",void 0),y(this,"fieldCode",void 0),y(this,"fieldType",void 0),y(this,"propName",void 0);var a;this.controlId=(a=(n=e)===null||n===void 0?void 0:n.controlId)!==null&&a!==void 0?a:"";var l;this.fieldCode=(l=(i=e)===null||i===void 0?void 0:i.fieldCode)!==null&&l!==void 0?l:"";var c;this.fieldType=(c=(u=e)===null||u===void 0?void 0:u.fieldType)!==null&&c!==void 0?c:"";var o;this.propName=(o=(r=e)===null||r===void 0?void 0:r.propName)!==null&&o!==void 0?o:""},Au=function t(e){B(this,t);var n,i,u;y(this,"type",void 0),y(this,"value",void 0),y(this,"fieldType",void 0);var r;this.type=(r=(n=e)===null||n===void 0?void 0:n.type)!==null&&r!==void 0?r:"FIELD";var a;this.value=(a=(i=e)===null||i===void 0?void 0:i.value)!==null&&a!==void 0?a:"",this.fieldType=(u=e)===null||u===void 0?void 0:u.fieldType},Ky=function t(e){B(this,t),y(this,"columnName",void 0),y(this,"desc",void 0);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 Tu(t){var e,n,i,u,r;this.filters=(r=(n=t)===null||n===void 0||(e=n.filters)===null||e===void 0?void 0:e.map(function(d){return d.children!==void 0?new ja(d):new Su(d)}))!==null&&r!==void 0?r:[];var a;if(this.viewFilters=(a=(u=t)===null||u===void 0||(i=u.viewFilters)===null||i===void 0?void 0:i.map(function(d){return d.children!==void 0?new ja(d):new Su(d)}))!==null&&a!==void 0?a:[],Va(this,p)||Va(this,Ru)){var l,c,o;this.orders=(o=(c=t)===null||c===void 0||(l=c.orders)===null||l===void 0?void 0:l.map(function(d){return new Ky(d)}))!==null&&o!==void 0?o:[]}}var p=function t(e){var n=this;B(this,t);var i,u,r,a,l,c,o,d;y(this,"dataCode",void 0),y(this,"valueFieldCode",void 0),y(this,"displayBoList",void 0),y(this,"keywordMapping",void 0),y(this,"svcCode",void 0),y(this,"appId",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"isOpenViewFilters",void 0),y(this,"orders",void 0),y(this,"showOrder",void 0);var v;this.dataCode=(v=(i=e)===null||i===void 0?void 0:i.dataCode)!==null&&v!==void 0?v:"";var g;this.appId=(g=(u=e)===null||u===void 0?void 0:u.appId)!==null&&g!==void 0?g:"";var E;this.valueFieldCode=(E=(r=e)===null||r===void 0?void 0:r.valueFieldCode)!==null&&E!==void 0?E:"",this.displayBoList=[];var I;if(this.isOpenViewFilters=(I=(a=e)===null||a===void 0?void 0:a.isOpenViewFilters)!==null&&I!==void 0?I:0,Array.isArray((l=e)===null||l===void 0?void 0:l.displayBoList)){var _;(_=e)===null||_===void 0||_.displayBoList.map(function(A){var T;(T=n.displayBoList)===null||T===void 0||T.push(new Au(A))})}var C;this.keywordMapping=(C=(c=e)===null||c===void 0?void 0:c.keywordMapping)!==null&&C!==void 0?C:"";var h;this.showOrder=(h=(o=e)===null||o===void 0?void 0:o.showOrder)!==null&&h!==void 0?h:!0;var w;this.svcCode=(w=(d=e)===null||d===void 0?void 0:d.svcCode)!==null&&w!==void 0?w:"",Tu.call(this,e)},Bu=function t(e){B(this,t);var n,i;y(this,"dataCode",void 0),y(this,"displayBoList",void 0);var u;this.dataCode=(u=(n=e)===null||n===void 0?void 0:n.dataCode)!==null&&u!==void 0?u:"";var r;this.displayBoList=(r=(i=e)===null||i===void 0?void 0:i.displayBoList)!==null&&r!==void 0?r:[]},He=function t(e){B(this,t);var n,i,u,r,a,l,c,o,d,v;y(this,"code",void 0),y(this,"color",void 0),y(this,"command",void 0),y(this,"confirmMessage",void 0),y(this,"defaultState",void 0),y(this,"formKey",void 0),y(this,"icon",void 0),y(this,"needConfirm",void 0),y(this,"openType",void 0),y(this,"priorityProcess",void 0);var g;this.code=(g=(n=e)===null||n===void 0?void 0:n.code)!==null&&g!==void 0?g:"view";var E;this.color=(E=(i=e)===null||i===void 0?void 0:i.color)!==null&&E!==void 0?E:"primary";var I;this.command=(I=(u=e)===null||u===void 0?void 0:u.command)!==null&&I!==void 0?I:"view";var _;this.confirmMessage=(_=(r=e)===null||r===void 0?void 0:r.confirmMessage)!==null&&_!==void 0?_:void 0;var C;this.defaultState=(C=(a=e)===null||a===void 0?void 0:a.defaultState)!==null&&C!==void 0?C:"default";var h;this.formKey=(h=(l=e)===null||l===void 0?void 0:l.formKey)!==null&&h!==void 0?h:void 0;var w;this.icon=(w=(c=e)===null||c===void 0?void 0:c.icon)!==null&&w!==void 0?w:"iconliulan1";var A;this.needConfirm=(A=(o=e)===null||o===void 0?void 0:o.needConfirm)!==null&&A!==void 0?A:!1;var T;this.openType=(T=(d=e)===null||d===void 0?void 0:d.openType)!==null&&T!==void 0?T:"modal";var R;this.priorityProcess=(R=(v=e)===null||v===void 0?void 0:v.priorityProcess)!==null&&R!==void 0?R:!0},Ua=function t(e){B(this,t);var n,i,u,r;y(this,"name",void 0),y(this,"key",void 0),y(this,"value",void 0);var a;this.name=(a=(n=e)===null||n===void 0?void 0:n.name)!==null&&a!==void 0?a:"";var l;this.key=(l=(i=e)===null||i===void 0?void 0:i.key)!==null&&l!==void 0?l:"";var c;this.value=(c=(r=e)===null||r===void 0||(u=r.value)===null||u===void 0?void 0:u.map(function(o){return new Au(o)}))!==null&&c!==void 0?c:[]},On=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r,a;u=e.call(this,i),y(k(u),"attributes",void 0);var l;return u.attributes=(l=(a=i)===null||a===void 0||(r=a.attributes)===null||r===void 0?void 0:r.map(function(c){return new Ua(c)}))!==null&&l!==void 0?l:[],u}return n}(p),zy=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r,a,l;u=e.call(this,i),y(k(u),"attributes",void 0),y(k(u),"formCode",void 0);var c;u.attributes=(c=(a=i)===null||a===void 0||(r=a.attributes)===null||r===void 0?void 0:r.map(function(d){return new Ua(d)}))!==null&&c!==void 0?c:[];var o;return u.formCode=(o=(l=i)===null||l===void 0?void 0:l.formCode)!==null&&o!==void 0?o:"",u}return n}(p),Wa=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r,a;u=e.call(this,i),y(k(u),"rootNode",void 0),y(k(u),"filterCode",void 0),u.rootNode=new Dt((r=i)===null||r===void 0?void 0:r.rootNode);var l;return u.filterCode=(l=(a=i)===null||a===void 0?void 0:a.filterCode)!==null&&l!==void 0?l:"",u}return n}(On),Ka=function t(e){B(this,t);var n,i,u,r;y(this,"dataCode",void 0),y(this,"appId",void 0),y(this,"fillList",void 0);var a;this.dataCode=(a=(n=e)===null||n===void 0?void 0:n.dataCode)!==null&&a!==void 0?a:"";var l;this.appId=(l=(i=e)===null||i===void 0?void 0:i.appId)!==null&&l!==void 0?l:"";var c;this.fillList=(c=(r=e)===null||r===void 0||(u=r.fillList)===null||u===void 0?void 0:u.map(function(o){return new le(o)}))!==null&&c!==void 0?c:[]},Ru=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u;return u=e.call(this,i),y(k(u),"filters",void 0),y(k(u),"viewFilters",void 0),y(k(u),"orders",void 0),Tu.call(k(u),i),u}return n}(Ka),za=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r,a;u=e.call(this,i),y(k(u),"mode",void 0),y(k(u),"multiple",void 0);var l;u.mode=(l=(r=i)===null||r===void 0?void 0:r.mode)!==null&&l!==void 0?l:"current";var c;return u.multiple=(c=(a=i)===null||a===void 0?void 0:a.multiple)!==null&&c!==void 0?c:!1,u}return n}(Ka),Ga=function t(e){B(this,t);var n,i,u;y(this,"stencilName",void 0),y(this,"expression",void 0),y(this,"errMessage",void 0);var r;this.stencilName=(r=(n=e)===null||n===void 0?void 0:n.stencilName)!==null&&r!==void 0?r:"";var a;this.expression=(a=(i=e)===null||i===void 0?void 0:i.expression)!==null&&a!==void 0?a:"";var l;this.errMessage=(l=(u=e)===null||u===void 0?void 0:u.errMessage)!==null&&l!==void 0?l:""},Gy=function t(e){B(this,t);var n,i,u;y(this,"id",void 0),y(this,"label",void 0),y(this,"value",void 0);var r;this.id=(r=(n=e)===null||n===void 0?void 0:n.id)!==null&&r!==void 0?r:be(8);var a;this.label=(a=(i=e)===null||i===void 0?void 0:i.label)!==null&&a!==void 0?a:"";var l;this.value=(l=(u=e)===null||u===void 0?void 0:u.value)!==null&&l!==void 0?l:this.label};function _e(t){var e,n;return(n=(e=t)===null||e===void 0?void 0:e.map(function(i){return new Gy(i)}))!==null&&n!==void 0?n:[]}var Du=function t(){B(this,t)},Xy=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r,a;return u=e.call(this),y(k(u),"amount",void 0),y(k(u),"currency",void 0),u.amount=new ye((r=i)===null||r===void 0?void 0:r.amount),u.currency=new ye((a=i)===null||a===void 0?void 0:a.currency),u}return n}(Du),Qy=function t(e){B(this,t);var n,i;y(this,"amount",void 0),y(this,"currency",void 0);var u;this.amount=(u=(n=e)===null||n===void 0?void 0:n.amount)!==null&&u!==void 0?u:"";var r;this.currency=(r=(i=e)===null||i===void 0?void 0:i.currency)!==null&&r!==void 0?r:kn.CNY},Jy=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r,a;return u=e.call(this),y(k(u),"min",void 0),y(k(u),"max",void 0),u.min=new ye((r=i)===null||r===void 0?void 0:r.min),u.max=new ye((a=i)===null||a===void 0?void 0:a.max),u}return n}(Du),Zy=function t(e){B(this,t);var n,i;y(this,"min",void 0),y(this,"max",void 0);var u;this.min=(u=(n=e)===null||n===void 0?void 0:n.min)!==null&&u!==void 0?u:"";var r;this.max=(r=(i=e)===null||i===void 0?void 0:i.max)!==null&&r!==void 0?r:""},Yy=function t(e){B(this,t);var n,i,u,r,a,l;y(this,"city",void 0),y(this,"cityDisplay",void 0),y(this,"district",void 0),y(this,"districtDisplay",void 0),y(this,"province",void 0),y(this,"provinceDisplay",void 0);var c;this.city=(c=(n=e)===null||n===void 0?void 0:n.city)!==null&&c!==void 0?c:"";var o;this.cityDisplay=(o=(i=e)===null||i===void 0?void 0:i.cityDisplay)!==null&&o!==void 0?o:"";var d;this.district=(d=(u=e)===null||u===void 0?void 0:u.district)!==null&&d!==void 0?d:"";var v;this.districtDisplay=(v=(r=e)===null||r===void 0?void 0:r.districtDisplay)!==null&&v!==void 0?v:"";var g;this.province=(g=(a=e)===null||a===void 0?void 0:a.province)!==null&&g!==void 0?g:"";var E;this.provinceDisplay=(E=(l=e)===null||l===void 0?void 0:l.provinceDisplay)!==null&&E!==void 0?E:""},py=function(t){fe(n,t);var e=he(n);function n(i){B(this,n);var u,r,a;return u=e.call(this),y(k(u),"result",void 0),y(k(u),"unit",void 0),u.result=new ye((r=i)===null||r===void 0?void 0:r.result),u.unit=new ye((a=i)===null||a===void 0?void 0:a.unit),u}return n}(Du),em=function t(e){B(this,t);var n,i;y(this,"result",void 0),y(this,"unit",void 0);var u;this.result=(u=(n=e)===null||n===void 0?void 0:n.result)!==null&&u!==void 0?u:0;var r;this.unit=(r=(i=e)===null||i===void 0?void 0:i.unit)!==null&&r!==void 0?r:""},kn;(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"})(kn||(kn={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(s||(s={}));var Pu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Pu||(Pu={}));var De=function t(e){B(this,t);var n,i,u,r,a,l;y(this,"isShow",void 0),y(this,"priorityProcess",void 0),y(this,"formKey",void 0),y(this,"content",void 0),y(this,"openType",void 0),y(this,"type",void 0);var c;this.isShow=(c=(n=e)===null||n===void 0?void 0:n.isShow)!==null&&c!==void 0?c:!0;var o;this.content=(o=(i=e)===null||i===void 0?void 0:i.content)!==null&&o!==void 0?o:"";var d;this.formKey=(d=(u=e)===null||u===void 0?void 0:u.formKey)!==null&&d!==void 0?d:"";var v;this.openType=(v=(r=e)===null||r===void 0?void 0:r.openType)!==null&&v!==void 0?v:"modal";var g;this.type=(g=(a=e)===null||a===void 0?void 0:a.type)!==null&&g!==void 0?g:"";var E;this.priorityProcess=(E=(l=e)===null||l===void 0?void 0:l.priorityProcess)!==null&&E!==void 0?E:!1},tm=function t(e){B(this,t);var n,i,u,r;y(this,"id",void 0),y(this,"title",void 0),y(this,"filters",void 0),y(this,"viewFilters",void 0),y(this,"headers",void 0);var a;this.id=(a=(n=e)===null||n===void 0?void 0:n.id)!==null&&a!==void 0?a:be(8);var l;this.title=(l=(i=e)===null||i===void 0?void 0:i.title)!==null&&l!==void 0?l:"";var c;this.headers=(c=(r=e)===null||r===void 0||(u=r.headers)===null||u===void 0?void 0:u.map(function(o){return new qa(o)}))!==null&&c!==void 0?c:[],Tu.call(this,e)},nm=function t(e){B(this,t);var n,i,u,r;y(this,"width",void 0),y(this,"height",void 0),y(this,"widthConfig",void 0),y(this,"heightConfig",void 0);var a;this.width=(a=(n=e)===null||n===void 0?void 0:n.width)!==null&&a!==void 0?a:"";var l;this.height=(l=(i=e)===null||i===void 0?void 0:i.height)!==null&&l!==void 0?l:"";var c;this.widthConfig=(c=(u=e)===null||u===void 0?void 0:u.widthConfig)!==null&&c!==void 0?c:"fill";var o;this.heightConfig=(o=(r=e)===null||r===void 0?void 0:r.heightConfig)!==null&&o!==void 0?o:"fill"};function im(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return Xa()?Mn=Reflect.construct:Mn=function(u,r,a){var l=[null];l.push.apply(l,r);var c=Function.bind.apply(u,l),o=new c;return a&&xt(o,a.prototype),o},Mn.apply(null,arguments)}function qe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pt(t){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pt(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&&xt(t,e)}function rm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function am(t,e){return e&&(lm(e)==="object"||typeof e=="function")?e:im(t)}function xt(t,e){return xt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xt(t,e)}function lm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fu(t){var e=typeof Map=="function"?new Map:void 0;return Fu=function(i){if(i===null||!rm(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 Mn(i,arguments,Pt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),xt(u,i)},Fu(t)}function Xa(){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=Xa();return function(){var i=Pt(t),u;if(e){var r=Pt(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return am(this,u)}}var U=function t(e){xu(this,t),qe(this,"isHide",{type:"boolean"})},je=function(t){um(n,t);var e=om(n);function n(i){return xu(this,n),e.call(this)}return n}(Fu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";xu(this,t);var i,u,r;qe(this,"isHide",void 0),qe(this,"className",void 0),qe(this,"style",void 0),qe(this,"caption",void 0);var a;this.isHide=(a=(i=e)===null||i===void 0?void 0:i.isHide)!==null&&a!==void 0?a:!1,this.style=new nm((u=e)===null||u===void 0?void 0:u.style);var l;this.caption=(l=(r=e)===null||r===void 0?void 0:r.caption)!==null&&l!==void 0?l:n};qe(G,"Rules",U),qe(G,"RuntimeRules",je);function ve(){return ve=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},ve.apply(this,arguments)}function cm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function Ln(t,e){return Ln=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ln(t,e)}function sm(){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 Nn(t,e,n){return sm()?Nn=Reflect.construct:Nn=function(u,r,a){var l=[null];l.push.apply(l,r);var c=Function.bind.apply(u,l),o=new c;return a&&Ln(o,a.prototype),o},Nn.apply(null,arguments)}function dm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ku(t){var e=typeof Map=="function"?new Map:void 0;return ku=function(i){if(i===null||!dm(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 Nn(i,arguments,Ou(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ln(u,i)},ku(t)}var fm=/%[sdj%]/g,Qa=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Qa=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Mu(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 ce(){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(fm,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(c){return"[Circular]"}break;default:return l}});return a}return u}function hm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function W(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||hm(e)&&typeof t=="string"&&!t)}function ym(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 Ja(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 mm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Za=function(t){cm(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}(ku(Error));function vm(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var E=function(C){return i(C),C.length?g(new Za(C,Mu(C))):v()},I=mm(t);Ja(I,n,E)});return u.catch(function(v){return v}),u}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var a=Object.keys(t),l=a.length,c=0,o=[],d=new Promise(function(v,g){var E=function(_){if(o.push.apply(o,_),c++,c===l)return i(o),o.length?g(new Za(o,Mu(o))):v()};a.length||(i(o),v()),a.forEach(function(I){var _=t[I];r.indexOf(I)!==-1?Ja(_,n,E):ym(_,n,E)})});return d.catch(function(v){return v}),d}function Ya(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 pa(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]=ve(ve({},t[n]),i):t[n]=i}}return t}function el(t,e,n,i,u,r){t.required&&(!n.hasOwnProperty(t.field)||W(e,r||t.type))&&i.push(ce(u.messages.required,t.fullField))}function gm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ce(u.messages.whitespace,t.fullField))}var Lu={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},Ft={integer:function(e){return Ft.number(e)&&parseInt(e,10)===e},float:function(e){return Ft.number(e)&&!Ft.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"&&!Ft.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Lu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Lu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Lu.hex)}};function bm(t,e,n,i,u){if(t.required&&e===void 0){el(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?Ft[a](e)||i.push(ce(u.messages.types[a],t.fullField,t.type)):a&&typeof e!==t.type&&i.push(ce(u.messages.types[a],t.fullField,t.type))}function _m(t,e,n,i,u){var r=typeof t.len=="number",a=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",g=typeof e=="string",E=Array.isArray(e);if(v?d="number":g?d="string":E&&(d="array"),!d)return!1;E&&(o=e.length),g&&(o=e.replace(c,"_").length),r?o!==t.len&&i.push(ce(u.messages[d].len,t.fullField,t.len)):a&&!l&&o<t.min?i.push(ce(u.messages[d].min,t.fullField,t.min)):l&&!a&&o>t.max?i.push(ce(u.messages[d].max,t.fullField,t.max)):a&&l&&(o<t.min||o>t.max)&&i.push(ce(u.messages[d].range,t.fullField,t.min,t.max))}var st="enum";function Em(t,e,n,i,u){t[st]=Array.isArray(t[st])?t[st]:[],t[st].indexOf(e)===-1&&i.push(ce(u.messages[st],t.fullField,t[st].join(", ")))}function wm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ce(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(ce(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var D={required:el,whitespace:gm,type:bm,range:_m,enum:Em,pattern:wm};function Cm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();D.required(t,e,i,r,u,"string"),W(e,"string")||(D.type(t,e,i,r,u),D.range(t,e,i,r,u),D.pattern(t,e,i,r,u),t.whitespace===!0&&D.whitespace(t,e,i,r,u))}n(r)}function Im(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();D.required(t,e,i,r,u),e!==void 0&&D.type(t,e,i,r,u)}n(r)}function Sm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(e===""&&(e=void 0),W(e)&&!t.required)return n();D.required(t,e,i,r,u),e!==void 0&&(D.type(t,e,i,r,u),D.range(t,e,i,r,u))}n(r)}function Am(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();D.required(t,e,i,r,u),e!==void 0&&D.type(t,e,i,r,u)}n(r)}function Tm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();D.required(t,e,i,r,u),W(e)||D.type(t,e,i,r,u)}n(r)}function Bm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();D.required(t,e,i,r,u),e!==void 0&&(D.type(t,e,i,r,u),D.range(t,e,i,r,u))}n(r)}function Rm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();D.required(t,e,i,r,u),e!==void 0&&(D.type(t,e,i,r,u),D.range(t,e,i,r,u))}n(r)}function Dm(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();D.required(t,e,i,r,u,"array"),e!=null&&(D.type(t,e,i,r,u),D.range(t,e,i,r,u))}n(r)}function Pm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();D.required(t,e,i,r,u),e!==void 0&&D.type(t,e,i,r,u)}n(r)}var xm="enum";function Fm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();D.required(t,e,i,r,u),e!==void 0&&D[xm](t,e,i,r,u)}n(r)}function Om(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"string")&&!t.required)return n();D.required(t,e,i,r,u),W(e,"string")||D.pattern(t,e,i,r,u)}n(r)}function km(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e,"date")&&!t.required)return n();if(D.required(t,e,i,r,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),D.type(t,l,i,r,u),l&&D.range(t,l.getTime(),i,r,u)}}n(r)}function Mm(t,e,n,i,u){var r=[],a=Array.isArray(e)?"array":typeof e;D.required(t,e,i,r,u,a),n(r)}function Nu(t,e,n,i,u){var r=t.type,a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,r)&&!t.required)return n();D.required(t,e,i,a,u,r),W(e,r)||D.type(t,e,i,a,u)}n(a)}function Lm(t,e,n,i,u){var r=[],a=t.required||!t.required&&i.hasOwnProperty(t.field);if(a){if(W(e)&&!t.required)return n();D.required(t,e,i,r,u)}n(r)}var Ot={string:Cm,method:Im,number:Sm,boolean:Am,regexp:Tm,integer:Bm,float:Rm,array:Dm,object:Pm,enum:Fm,pattern:Om,date:km,url:Nu,hex:Nu,email:Nu,required:Mm,any:Lm};function $u(){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 Vu=$u();function Pe(t){this.rules=null,this._messages=Vu,this.define(t)}Pe.prototype={messages:function(e){return e&&(this._messages=pa($u(),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 c(_){var C,h=[],w={};function A(T){if(Array.isArray(T)){var R;h=(R=h).concat.apply(R,T)}else h.push(T)}for(C=0;C<_.length;C++)A(_[C]);h.length?w=Mu(h):(h=null,w=null),l(h,w)}if(a.messages){var o=this.messages();o===Vu&&(o=$u()),pa(o,a.messages),a.messages=o}else a.messages=this.messages();var d,v,g={},E=a.keys||Object.keys(this.rules);E.forEach(function(_){d=u.rules[_],v=r[_],d.forEach(function(C){var h=C;typeof h.transform=="function"&&(r===e&&(r=ve({},r)),v=r[_]=h.transform(v)),typeof h=="function"?h={validator:h}:h=ve({},h),h.validator=u.getValidationMethod(h),h.field=_,h.fullField=h.fullField||_,h.type=u.getType(h),h.validator&&(g[_]=g[_]||[],g[_].push({rule:h,value:v,source:r,field:_}))})});var I={};return vm(g,a,function(_,C){var h=_.rule,w=(h.type==="object"||h.type==="array")&&(typeof h.fields=="object"||typeof h.defaultField=="object");w=w&&(h.required||!h.required&&_.value),h.field=_.field;function A(Z,x){return ve(ve({},x),{},{fullField:h.fullField+"."+Z})}function T(Z){Z===void 0&&(Z=[]);var x=Z;if(Array.isArray(x)||(x=[x]),!a.suppressWarning&&x.length&&Pe.warning("async-validator:",x),x.length&&h.message!==void 0&&(x=[].concat(h.message)),x=x.map(Ya(h)),a.first&&x.length)return I[h.field]=1,C(x);if(!w)C(x);else{if(h.required&&!_.value)return h.message!==void 0?x=[].concat(h.message).map(Ya(h)):a.error&&(x=[a.error(h,ce(a.messages.required,h.field))]),C(x);var Y={};if(h.defaultField)for(var Ie in _.value)_.value.hasOwnProperty(Ie)&&(Y[Ie]=h.defaultField);Y=ve(ve({},Y),_.rule.fields);for(var Se in Y)if(Y.hasOwnProperty(Se)){var au=Array.isArray(Y[Se])?Y[Se]:[Y[Se]];Y[Se]=au.map(A.bind(null,Se))}var Rn=new Pe(Y);Rn.messages(a.messages),_.rule.options&&(_.rule.options.messages=a.messages,_.rule.options.error=a.error),Rn.validate(_.value,_.rule.options||a,function(It){var Ae=[];x&&x.length&&Ae.push.apply(Ae,x),It&&It.length&&Ae.push.apply(Ae,It),C(Ae.length?Ae:null)})}}var R;h.asyncValidator?R=h.asyncValidator(h,_.value,T,_.source,a):h.validator&&(R=h.validator(h,_.value,T,_.source,a),R===!0?T():R===!1?T(h.message||h.field+" fails"):R instanceof Array?T(R):R instanceof Error&&T(R.message)),R&&R.then&&R.then(function(){return T()},function(Z){return T(Z)})},function(_){c(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ot.hasOwnProperty(e.type))throw new Error(ce("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"?Ot.required:Ot[this.getType(e)]||!1}},Pe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ot[e]=n},Pe.warning=Qa,Pe.messages=Vu,Pe.validators=Ot;var Nm={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 $m(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Pe(t);return n.messages(Object.assign(Nm,e)),n}var Vm=new By;function Hu(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 t}function qm(t){if(Array.isArray(t))return Hu(t)}function tl(t,e,n,i,u,r,a){try{var l=t[r](a),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function nl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(c){tl(r,i,u,a,l,"next",c)}function l(c){tl(r,i,u,a,l,"throw",c)}a(void 0)})}}function jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(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 Um(t,e,n){return e&&il(t.prototype,e),n&&il(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function rl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wm(){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 Km(){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 al(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){M(t,u,n[u])})}return t}function zm(t){return Hm(t)||rl(t)||ll(t)||Wm()}function qu(t){return qm(t)||rl(t)||ll(t)||Km()}function ll(t,e){if(!!t){if(typeof t=="string")return Hu(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 Hu(t,e)}}function ol(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(d){return c([o,d])}}function c(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(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var L=function(){function e(n){var i=this;jm(this,e);var u,r,a,l,c;M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",sl),M(this,"removeSetting",cl),this._callControlHooks("preInstance",n);var o=ul(this,e)?this.constructor:void 0,d=o.controlName,v=o.controlIcon,g=o.controlType,E=o.controlFieldType,I=o.controlEventKeys,_=o.controlCustomEvents,C=o.name,h=o.setting;d&&v&&g||Da("The ".concat(C," controlName,controlIcon,controlType is not define"));var w;this.id=(w=(u=n)===null||u===void 0?void 0:u.id)!==null&&w!==void 0?w:be(10),this.name=d,this.icon=v;var A;this.type=(A=(r=n)===null||r===void 0?void 0:r.type)!==null&&A!==void 0?A:g,this.props=new G((a=n)===null||a===void 0?void 0:a.props,(ul(this,e)?this.constructor:void 0).controlName);var T;this.controlType=(T=(l=n)===null||l===void 0?void 0:l.controlType)!==null&&T!==void 0?T:"base",this.setting=Re(h);var R;this.fieldType=(R=(c=n)===null||c===void 0?void 0:c.fieldType)!==null&&R!==void 0?R:E,this.eventKeys=Re(I),this.customEvents=Re(_),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Um(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),r=0;r<i;r++)u[r]=arguments[r];var a,l=zm(u),c=l[0],o=l.slice(1);return(a=Vm).emit.apply(a,[c,this].concat(qu(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),hy(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return nl(function(){var u,r,a;return ol(this,function(l){switch(l.label){case 0:return u=al({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return r=l.sent(),a=r[r.length-1],[2,a===!1?void 0:a]}})})()}},{key:"validate",value:function(i,u){var r=this;return nl(function(){var a,l,c,o;return ol(this,function(d){switch(d.label){case 0:return[4,r.preValidate()];case 1:a=d.sent(),l=a!==void 0?a:al({},r.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),c=$m(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,c.validate(r.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=r),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,r=this.id,a=this.type,l=this.props,c=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,g=l.required,E=l.maxLength,I=l.options,_=l.encrypted,C=l.encryptedMode;if(!(!u&&!c&&!o)){var h={parentId:i,fieldType:u,controlId:r,caption:v,type:a,props:{}};switch(c&&(h.dataBind=c),d){case"datasource":case void 0:o&&(h.datasourceBind=o);break;case"custom":h.props.options=I;break}return g!==void 0&&(h.required=g),E!==void 0&&(h.maxLength=E),_!==void 0&&(h.encrypted=_),C!==void 0&&(h.encryptedMode=C),h}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Re(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var r;(r=this.setting).push.apply(r,qu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",cl),M(L,"updateSettingItem",sl);function cl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",r=e.setting.findIndex(function(c){return c.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(c){return!i.hideItems.includes(c)}):e.setting.splice(r,1),u&&!(!((l=e.setting[r].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(r,1)}})}function sl(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 c;(c=r.showItems).push.apply(c,qu(e.showItems))}}}})}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dl(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 Xm(t,e,n){return e&&dl(t.prototype,e),n&&dl(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Gm(this,e);var i,u,r,a,l,c;de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var o=Qm(this,e)?this.constructor:void 0,d=o.controlType,v=o.controlFieldType,g=o.name,E=o.controlCustomEvents;d||Da("The ".concat(g," controlType is not define"));var I;this.id=(I=(i=n)===null||i===void 0?void 0:i.id)!==null&&I!==void 0?I:be(10);var _;this.type=(_=(u=n)===null||u===void 0?void 0:u.type)!==null&&_!==void 0?_:d,this.props=new G((r=n)===null||r===void 0?void 0:r.props),this.customEvents=E;var C;this.controlType=(C=(a=n)===null||a===void 0?void 0:a.controlType)!==null&&C!==void 0?C:"base";var h;this.fieldType=(h=(l=n)===null||l===void 0?void 0:l.fieldType)!==null&&h!==void 0?h:v;var w;this.pageStatus=(w=(c=n)===null||c===void 0?void 0:c.pageStatus)!==null&&w!==void 0?w:Pu.UNKNOWN}return Xm(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}();de(X,"controlType","control"),de(X,"controlFieldType",void 0),de(X,"__is_control__",!0),de(X,"controlCustomEvents",[]);function ju(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,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var r=i.map(function(l){return l.value}),a=by(r);r.length!==a.length?u(f.getMessage("optionIdIsRepeat")):u()},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,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},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 $n(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(u,r,a){r.length===0&&a(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),a()},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 N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function qn(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 Jm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Zm(t,e){return e&&(Ym(e)==="object"||typeof e=="function")?e:N(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}function Ym(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pm(){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 jn(t){var e=pm();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 Zm(this,u)}}var ee=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;u=e.call(this,i),$(N(u),"dataBind",{}),$(N(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),$(N(u),"isHideCaption",{type:"boolean"}),$(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),$(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),$(N(u),"required",{type:"boolean"}),$(N(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Jm(i.dataBind,ye))u.dataBind={type:"object",required:!0,fields:Re(r),message:f.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:Re(r),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=a}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){qn(n,t);var e=jn(n);function n(i){Vn(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:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(je),P=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u,r,a,l,c,o,d,v,g,E,I,_;u=e.call(this,i),$(N(u),"caption",void 0),$(N(u),"isHideCaption",void 0),$(N(u),"isShowCaptionTip",void 0),$(N(u),"captionTip",void 0),$(N(u),"labelPosition",void 0),$(N(u),"dataBind",void 0),$(N(u),"defaultValue",void 0),$(N(u),"placeholder",void 0),$(N(u),"defaultState",void 0),$(N(u),"required",void 0),$(N(u),"requiredMessage",void 0);var C;u.caption=(C=(r=i)===null||r===void 0?void 0:r.caption)!==null&&C!==void 0?C:"";var h;u.isHideCaption=(h=(a=i)===null||a===void 0?void 0:a.isHideCaption)!==null&&h!==void 0?h:!1;var w;u.isShowCaptionTip=(w=(l=i)===null||l===void 0?void 0:l.isShowCaptionTip)!==null&&w!==void 0?w:!1;var A;u.captionTip=(A=(c=i)===null||c===void 0?void 0:c.captionTip)!==null&&A!==void 0?A:"";var T;u.defaultState=(T=(o=i)===null||o===void 0?void 0:o.defaultState)!==null&&T!==void 0?T:"default";var R;u.labelPosition=(R=(d=i)===null||d===void 0?void 0:d.labelPosition)!==null&&R!==void 0?R:"top";var Z;u.placeholder=(Z=(v=i)===null||v===void 0?void 0:v.placeholder)!==null&&Z!==void 0?Z:"";var x;u.required=(x=(g=i)===null||g===void 0?void 0:g.required)!==null&&x!==void 0?x:!1;var Y;u.requiredMessage=(Y=(E=i)===null||E===void 0?void 0:E.requiredMessage)!==null&&Y!==void 0?Y:"",u.dataBind=new ye((I=i)===null||I===void 0?void 0:I.dataBind);var Ie;return u.defaultValue=(Ie=(_=i)===null||_===void 0?void 0:_.defaultValue)!==null&&Ie!==void 0?Ie:"",u}return n}(G);$(P,"Rules",ee),$(P,"RuntimeRules",V);var dt=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;return u=e.call(this,i),$(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),$(N(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),$(N(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(N(u),i),u}return n}(ee);function Wu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ev(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function tv(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&&Ku(t,e)}function nv(t,e){return e&&(iv(e)==="object"||typeof e=="function")?e:Wu(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}function iv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uv(){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 rv(t){var e=uv();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 nv(this,u)}}var F=function(t){tv(n,t);var e=rv(n);function n(i){ev(this,n);var u,r;return u=e.call(this,i),Un(Wu(u),"controlType","form"),Un(Wu(u),"props",void 0),u.props=new P((r=i)===null||r===void 0?void 0:r.props),u}return n}(L);Un(F,"controlEventKeys",["on_change","on_focus","on_blur"]),Un(F,"controlCustomAttributes",void 0);function Kn(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 zu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(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&&Gu(t,e)}function ov(t,e){return e&&(cv(e)==="object"||typeof e=="function")?e:Kn(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}function cv(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 i=zn(t),u;if(e){var r=zn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return ov(this,u)}}var O=function(t){lv(n,t);var e=dv(n);function n(i){av(this,n);var u,r;return u=e.call(this,i),zu(Kn(u),"controlType","form"),zu(Kn(u),"props",void 0),zu(Kn(u),"value",void 0),u.props=new P((r=i)===null||r===void 0?void 0:r.props),u}return n}(X);function fv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hv(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 yv(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&&Xu(t,e)}function mv(t,e){return e&&(vv(e)==="object"||typeof e=="function")?e:fv(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function vv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gv(){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 bv(t){var e=gv();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 mv(this,u)}}var q=function(t){yv(n,t);var e=bv(n);function n(i){return hv(this,n),e.call(this,i)}return n}(G);function Qu(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 _v(t){if(Array.isArray(t))return Qu(t)}function Ev(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wv(){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 fl(t){return _v(t)||Ev(t)||Cv(t)||wv()}function Cv(t,e){if(!!t){if(typeof t=="string")return Qu(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 Qu(t,e)}}function Iv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function hl(t,e){t.parent=e,Iv(t,"parent")}function Sv(t,e){t.forEach(function(n){hl(n,e)})}var yl=Symbol("targetKey");function ml(t){var e;return(e=t[yl])!==null&&e!==void 0?e:t}function vl(t,e){return Sv(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 c;return u===yl?i:(c=Reflect).get.apply(c,[i,u].concat(fl(a)))},set:function(i,u,r){for(var a=arguments.length,l=new Array(a>3?a-3:0),c=3;c<a;c++)l[c-3]=arguments[c];var o;if(vu(t)&&u==="length"&&r===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,r].concat(fl(l)));return gy(r)&&hl(r,e),d}})}function Ee(t,e,n,i){var u=i!=null?i:t,r=vl(ml(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return r},set:function(l){r=vl(ml(l),u)},enumerable:!0})}function Ju(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 Av(t){if(Array.isArray(t))return Ju(t)}function Ue(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gl(t,e,n,i,u,r,a){try{var l=t[r](a),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Tv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(c){gl(r,i,u,a,l,"next",c)}function l(c){gl(r,i,u,a,l,"throw",c)}a(void 0)})}}function Bv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(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 Rv(t,e,n){return e&&bl(t.prototype,e),n&&bl(t,n),t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ft(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ft=Reflect.get:ft=function(u,r,a){var l=Nv(u,r);if(!!l){var c=Object.getOwnPropertyDescriptor(l,r);return c.get?c.get.call(a||u):c.value}},ft(t,e,n||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(t)}function Dv(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&&Zu(t,e)}function Pv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function xv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fv(){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 Ov(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){xe(t,u,n[u])})}return t}function kv(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 Mv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):kv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Lv(t,e){return e&&($v(e)==="object"||typeof e=="function")?e:Ue(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function Nv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function _l(t){return Av(t)||xv(t)||Vv(t)||Fv()}function $v(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vv(t,e){if(!!t){if(typeof t=="string")return Ju(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 Ju(t,e)}}function Hv(){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=Hv();return function(){var i=Fe(t),u;if(e){var r=Fe(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Lv(this,u)}}function jv(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(d){return c([o,d])}}function c(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(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Uv=1e4,K=function(e){Dv(i,e);var n=qv(i);function i(u){Bv(this,i);var r,a,l;r=n.call(this,u),xe(Ue(r),"controlType","layout"),xe(Ue(r),"children",void 0),xe(Ue(r),"excludes",void 0),xe(Ue(r),"childrenMaxLength",void 0),xe(Ue(r),"props",void 0);var c=Pv(this,i)?this.constructor:void 0,o=c.excludes,d=c.childrenMaxLength;return r.props=new q((a=u)===null||a===void 0?void 0:a.props),Ee(Ue(r),"children",(l=u)===null||l===void 0?void 0:l.children),r.excludes=Re(o),r.childrenMaxLength=d,r}return Rv(i,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var a=this.judgeExcludesChildren(r);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,a){var l=this,c=this,o=function(){return ft(Fe(i.prototype),"validate",l)};return Tv(function(){return jv(this,function(d){switch(d.label){case 0:return[4,o().call(c,r,a)];case 1:return d.sent(),[4,Promise.all(c.children.map(function(v){return v.validate(r,a)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=ft(Fe(i.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(c,o){var d=o.toDataBindModel(r);if(Array.isArray(d)){var v=d.filter(function(g){return!!g});return _l(c).concat(_l(v))}return d&&c.push(d),c},l)}},{key:"toSchema",value:function(){var r=ft(Fe(i.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var c=l.toSchema();return c});return Mv(Ov({},r),{children:a})}}]),i}(L);xe(K,"excludes",!1),xe(K,"childrenMaxLength",Uv);function kt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function Kv(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&&pu(t,e)}function zv(t,e){return e&&(Gv(e)==="object"||typeof e=="function")?e:kt(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function Gv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xv(){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=Xv();return function(){var i=Xn(t),u;if(e){var r=Xn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return zv(this,u)}}var Q=function(t){Kv(n,t);var e=Qv(n);function n(i){Wv(this,n);var u,r,a;return u=e.call(this,i),Yu(kt(u),"controlType","layout"),Yu(kt(u),"children",void 0),Yu(kt(u),"props",void 0),u.props=new q((r=i)===null||r===void 0?void 0:r.props),Ee(kt(u),"children",(a=i)===null||a===void 0?void 0:a.children),u}return n}(X);function er(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function Yv(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&&tr(t,e)}function pv(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:er(t)}function tr(t,e){return tr=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},tr(t,e)}function eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tg(){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=tg();return function(){var i=Qn(t),u;if(e){var r=Qn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return pv(this,u)}}var Jn=function(t){Yv(n,t);var e=ng(n);function n(i,u){Jv(this,n);var r,a;return r=e.call(this,u),Zv(er(r),"headers",void 0),Ee(er(r),"headers",(a=u)===null||a===void 0?void 0:a.headers,i),r}return n}(G);function nr(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 ig(t){if(Array.isArray(t))return nr(t)}function Zn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function El(t,e,n,i,u,r,a){try{var l=t[r](a),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function ug(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var r=t.apply(e,n);function a(c){El(r,i,u,a,l,"next",c)}function l(c){El(r,i,u,a,l,"throw",c)}a(void 0)})}}function rg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wl(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&&wl(t.prototype,e),n&&wl(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ht(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ht=Reflect.get:ht=function(u,r,a){var l=fg(u,r);if(!!l){var c=Object.getOwnPropertyDescriptor(l,r);return c.get?c.get.call(a||u):c.value}},ht(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(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&&ir(t,e)}function og(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cg(){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 Cl(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){Yn(t,u,n[u])})}return t}function sg(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 Il(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function dg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:Zn(t)}function ir(t,e){return ir=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ir(t,e)}function fg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function Sl(t){return ig(t)||og(t)||yg(t)||cg()}function hg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yg(t,e){if(!!t){if(typeof t=="string")return nr(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 nr(t,e)}}function mg(){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 vg(t){var e=mg();return function(){var i=Oe(t),u;if(e){var r=Oe(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return dg(this,u)}}function gg(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(d){return c([o,d])}}function c(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(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var ur=function(t){lg(n,t);var e=vg(n);function n(i){rg(this,n);var u,r;return u=e.call(this,i),Yn(Zn(u),"controlType","list"),Yn(Zn(u),"props",void 0),u.props=new Jn(Zn(u),(r=i)===null||r===void 0?void 0:r.props),u}return ag(n,[{key:"validate",value:function(u,r){var a=this,l=this,c=function(){return ht(Oe(n.prototype),"validate",a)};return ug(function(){return gg(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,r)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=ht(Oe(n.prototype),"toDataBindModel",this).call(this),r=u?[u]:[],a=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(a);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Sl(l).concat(Sl(d))}return o&&l.push(o),l},r)}},{key:"toSchema",value:function(){var u=ht(Oe(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(a){return a.toSchema()});return Il(Cl({},u),{props:Il(Cl({},this.props),{headers:r})})}}]),n}(L);Yn(ur,"controlFieldType",b.LIST);function yt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Al(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 _g(t,e,n){return e&&Al(t.prototype,e),n&&Al(t,n),t}function rr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function Eg(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&&ar(t,e)}function wg(t,e){return e&&(Cg(e)==="object"||typeof e=="function")?e:yt(t)}function ar(t,e){return ar=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ar(t,e)}function Cg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ig(){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 Sg(t){var e=Ig();return function(){var i=pn(t),u;if(e){var r=pn(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return wg(this,u)}}var Tl=function(t){Eg(n,t);var e=Sg(n);function n(i){bg(this,n);var u,r,a;return u=e.call(this,i),rr(yt(u),"controlType","list"),rr(yt(u),"children",void 0),rr(yt(u),"props",void 0),u.props=new Jn(yt(u),(r=i)===null||r===void 0?void 0:r.props),Ee(yt(u),"children",(a=i)===null||a===void 0?void 0:a.children),u}return _g(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function or(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&&cr(t,e)}function Ag(t,e){return e&&(Tg(e)==="object"||typeof e=="function")?e:J(t)}function cr(t,e){return cr=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},cr(t,e)}function Tg(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 sr(t){var e=Bg();return function(){var i=ei(t),u;if(e){var r=ei(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ag(this,u)}}var we=function(t){or(n,t);var e=sr(n);function n(i){lr(this,n);var u;return u=e.call(this,i),te(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),te(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){or(n,t);var e=sr(n);function n(i){lr(this,n);var u,r,a,l,c,o,d,v,g,E,I;u=e.call(this,i),te(J(u),"widthType",void 0),te(J(u),"width",void 0),te(J(u),"caption",void 0),te(J(u),"dataBind",void 0),te(J(u),"autoWidth",void 0),te(J(u),"fixed",void 0),te(J(u),"sort",void 0),te(J(u),"align",void 0),te(J(u),"colSpan",void 0),te(J(u),"autoHeight",void 0);var _;u.width=(_=(r=i)===null||r===void 0?void 0:r.width)!==null&&_!==void 0?_:150,u.widthType=((a=i)===null||a===void 0?void 0:a.widthType)||"auto";var C;u.caption=(C=(l=i)===null||l===void 0?void 0:l.caption)!==null&&C!==void 0?C:"";var h;u.fixed=(h=(c=i)===null||c===void 0?void 0:c.fixed)!==null&&h!==void 0?h:"none",u.autoWidth=new Ha((o=i)===null||o===void 0?void 0:o.autoWidth),u.dataBind=new ye((d=i)===null||d===void 0?void 0:d.dataBind);var w;u.sort=(w=(v=i)===null||v===void 0?void 0:v.sort)!==null&&w!==void 0?w:!0,u.align=(g=i)===null||g===void 0?void 0:g.align,u.colSpan=(E=i)===null||E===void 0?void 0:E.colSpan;var A;return u.autoHeight=(A=(I=i)===null||I===void 0?void 0:I.autoHeight)!==null&&A!==void 0?A:!1,u}return n}(G);te(z,"Rules",we);var Bl=function(t){or(n,t);var e=sr(n);function n(i){lr(this,n);var u;return u=e.call(this,i),te(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),te(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(J(u),i),u}return n}(we);function dr(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 Rl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(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&&fr(t,e)}function Pg(t,e){return e&&(xg(e)==="object"||typeof e=="function")?e:dr(t)}function fr(t,e){return fr=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fr(t,e)}function xg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fg(){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 Og(t){var e=Fg();return function(){var i=ti(t),u;if(e){var r=ti(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Pg(this,u)}}var ne=function(t){Dg(n,t);var e=Og(n);function n(i){Rg(this,n);var u,r;return u=e.call(this,i),Rl(dr(u),"controlType","column"),Rl(dr(u),"props",void 0),u.props=new z((r=i)===null||r===void 0?void 0:r.props),u}return n}(L);function hr(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 Dl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function Mg(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&&yr(t,e)}function Lg(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:hr(t)}function yr(t,e){return yr=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yr(t,e)}function Ng(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $g(){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 Vg(t){var e=$g();return function(){var i=ni(t),u;if(e){var r=ni(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Lg(this,u)}}var ie=function(t){Mg(n,t);var e=Vg(n);function n(i){kg(this,n);var u,r;return u=e.call(this,i),Dl(hr(u),"controlType","column"),Dl(hr(u),"props",void 0),u.props=new z((r=i)===null||r===void 0?void 0:r.props),u}return n}(X);function Pl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function jg(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&&mr(t,e)}function Ug(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:Pl(t)}function mr(t,e){return mr=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},mr(t,e)}function Wg(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 zg(t){var e=Kg();return function(){var i=ii(t),u;if(e){var r=ii(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Ug(this,u)}}var vr=function(t){jg(n,t);var e=zg(n);function n(i){Hg(this,n);var u,r;return u=e.call(this,i),qg(Pl(u),"dataBind",void 0),u.dataBind=new ye((r=i)===null||r===void 0?void 0:r.dataBind),u}return n}(q);function gr(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 xl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function Xg(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&&br(t,e)}function Qg(t,e){return e&&(Jg(e)==="object"||typeof e=="function")?e:gr(t)}function br(t,e){return br=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},br(t,e)}function Jg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zg(){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 Yg(t){var e=Zg();return function(){var i=ui(t),u;if(e){var r=ui(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return Qg(this,u)}}var pg=function(t){Xg(n,t);var e=Yg(n);function n(i){Gg(this,n);var u,r;return u=e.call(this,i),xl(gr(u),"controlType","search"),xl(gr(u),"props",void 0),u.props=new vr((r=i)===null||r===void 0?void 0:r.props),u}return n}(K);function _r(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(t)}function t0(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&&Er(t,e)}function n0(t,e){return e&&(i0(e)==="object"||typeof e=="function")?e:_r(t)}function Er(t,e){return Er=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Er(t,e)}function i0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function r0(t){var e=u0();return function(){var i=ri(t),u;if(e){var r=ri(this).constructor;u=Reflect.construct(i,arguments,r)}else u=i.apply(this,arguments);return n0(this,u)}}var a0=function(t){t0(n,t);var e=r0(n);function n(i){e0(this,n);var u,r;return u=e.call(this,i),Fl(_r(u),"controlType","search"),Fl(_r(u),"props",void 0),u.props=new vr((r=i)===null||r===void 0?void 0:r.props),u}return n}(Q);function We(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class wr extends G{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 Ol extends L{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Ol.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class l0 extends X{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlType(){return"text"}}var kl={Designer:Ol,Runtime:l0,Property:wr};class Cr extends G{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 Ir extends L{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ir.controlEventKeys=["on_click"],Ir.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class o0 extends X{constructor(e){super(e),this.props=new Cr(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ml={Designer:Ir,Runtime:o0,Property:Cr};class re extends G{constructor(e){var n,i,u,r,a,l,c,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=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class ae extends L{constructor(e){super(e),this.props=new re(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ae.controlEventKeys=["on_click"],ae.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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class se extends X{constructor(e){super(e),this.props=new re(e==null?void 0:e.props)}static get controlType(){return"button"}}var Ll={Designer:ae,Runtime:se,Property:re},ke=(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.ShowTitle="is_show_title",t))(ke||{}),Nl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Nl||{}),$l=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))($l||{});class ai{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Sr=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Sr||{});class li{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Ar=(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))(Ar||{});class Tr{constructor(e){var n,i,u,r,a,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Dt((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 Dt((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new Dt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Vl{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(c=>new Tr(c)))!=null?u:[new Tr],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 Br{constructor(e){var n,i,u,r,a,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:be(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=(c=e==null?void 0:e.active)!=null?c:!1}}class Rr{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 Hl{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 Rr(e==null?void 0:e.watermark),this.autoRename=new Rr(e==null?void 0:e.autoRename)}}const ql=480;function Mt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class jl{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 Ul{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 Wl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Wl||{}),Dr=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Dr||{}),oi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(oi||{}),Me=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Me||{}),Pr=(t=>(t.ALL="all",t.ADMIN="admin",t))(Pr||{});class xr extends G{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:Ar.SOLID}}class Kl extends L{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Kl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class c0 extends X{constructor(e){super(e),this.props=new xr(e==null?void 0:e.props)}static get controlType(){return"divider"}}var zl={Designer:Kl,Runtime:c0,Property:xr};class s0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(ke.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")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class ci extends G{constructor(e){var n,i,u,r;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[ke.ShowSubmitUser,ke.ShowSubmitDept,ke.ShowSubmitTime,ke.ShowCurrentApprovar,ke.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:mt==null?void 0:mt.controlName)!=null?u:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}ci.Rules=s0;class mt extends L{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}mt.controlFieldType=b.AUTO_NUMBER,mt.setting=[{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class d0 extends X{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"title"}}var Gl={Designer:mt,Runtime:d0,Property:ci};class f0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class si extends re{constructor(e){var n,i,u,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Lt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Lt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}si.Rules=f0;class Lt extends ae{constructor(e){super(e),this.props=new si(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"}}Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 h0 extends se{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Xl={Designer:Lt,Runtime:h0,Property:si};class y0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class di extends re{constructor(e){var n,i,u,r,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Nt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Nt.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:""}}di.Rules=y0;class Nt extends ae{constructor(e){super(e),this.props=new di(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"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 m0 extends se{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Ql={Designer:Nt,Runtime:m0,Property:di};class Fr extends re{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 ae{constructor(e){super(e),this.props=new Fr(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"}}$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 v0 extends se{constructor(e){super(e),this.props=new Fr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Jl={Designer:$t,Runtime:v0,Property:Fr};class Or extends re{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 Br(a)))!=null?r:[new Br({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Vt extends ae{constructor(e){super(e),this.props=new Or(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 g0 extends se{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Zl={Designer:Vt,Runtime:g0,Property:Or};class kr extends re{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ht.controlIcon}}class Ht extends ae{constructor(e){super(e),this.props=new kr(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"}}Ht.controlEventKeys=["on_click"],Ht.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 b0 extends se{constructor(e){super(e),this.props=new kr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Yl={Designer:Ht,Runtime:b0,Property:kr};class _0{constructor(e){this.dataCode=e.dataCode}}class Mr extends re{constructor(e){var n,i,u,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.canImportList=(r=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(a=>new _0(a)))!=null?r:[]}}class qt extends ae{constructor(e){super(e),this.props=new Mr(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 E0 extends se{constructor(e){super(e),this.props=new Mr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var pl={Designer:qt,Runtime:E0,Property:Mr};function fi(){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 w0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},fi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Te({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class hi extends re{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Ru(e==null?void 0:e.fillPayload),this.formBind=new Hy(e==null?void 0:e.formBind),this.fillBack=new za(e==null?void 0:e.fillBack)}}hi.Rules=w0;class jt extends ae{constructor(e){super(e),this.props=new hi(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"}}jt.controlEventKeys=["on_click","on_click_finish"],jt.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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class C0 extends se{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var eo={Designer:jt,Runtime:C0,Property:hi};class I0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Te({},fi())},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:Te({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())}}}class yi extends re{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ut.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ut.controlIcon,this.fillPayload=new Ru(e==null?void 0:e.fillPayload),this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.fillBack=new za(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig)}}yi.Rules=I0;class Ut extends ae{constructor(e){super(e),this.props=new yi(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"}}Ut.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Ut.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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class S0 extends se{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var to={Designer:Ut,Runtime:S0,Property:yi};class A0 extends U{constructor(e){super(e)}}class T0 extends je{constructor(e){super(e)}}class Wt extends G{constructor(e){super(e)}}Wt.Rules=A0,Wt.RuntimeRules=T0;class no extends L{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"}}no.setting=[];class B0 extends X{constructor(e){super(e),this.props=new Wt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var io={Designer:no,Runtime:B0,Property:Wt};class R0 extends U{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 mi extends G{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"}}mi.Rules=R0;class uo extends L{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}uo.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class D0 extends X{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ro={Designer:uo,Runtime:D0,Property:mi};class P0 extends U{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 vi extends G{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 tm(r)))!=null?u:[]}}vi.Rules=P0;class ao extends L{constructor(e){super(e),this.props=new vi(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"}}ao.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class x0 extends X{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var lo={Designer:ao,Runtime:x0,Property:vi};class F0 extends U{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,i,u){if(i.every(a=>!a.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class gi extends re{constructor(e){var n,i,u,r,a,l,c,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vt.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:vt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:vt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new le(g)))!=null?v:[]}}gi.Rules=F0;class vt extends ae{constructor(e){super(e),this.props=new gi(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"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class O0 extends se{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var oo={Designer:vt,Runtime:O0,Property:gi};class k0 extends U{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,i,u){if(i.every(a=>!a.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class bi extends re{constructor(e){var n,i,u,r,a,l,c,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gt.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:gt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:gt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new le(g)))!=null?v:[]}}bi.Rules=k0;class gt extends ae{constructor(e){super(e),this.props=new bi(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"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"caption",showItems:[s.CAPTION,s.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:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class M0 extends se{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var co={Designer:gt,Runtime:M0,Property:bi};class L0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class _i extends re{constructor(e){var n,i,u,r,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Kt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Kt.controlName,this.printTemplates=(r=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new jl(l)))!=null?r:[],this.autoSelectTemplate=(a=e==null?void 0:e.autoSelectTemplate)!=null?a:!1}}_i.Rules=L0;class Kt extends ae{constructor(e){super(e),this.props=new _i(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"}}Kt.controlEventKeys=["on_click","on_click_finish"],Kt.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 N0 extends se{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var so={Designer:Kt,Runtime:N0,Property:_i};class Lr extends re{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon}}class zt extends ae{constructor(e){super(e),this.props=new Lr(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"}}zt.controlEventKeys=["on_click"],zt.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 $0 extends se{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var fo={Designer:zt,Runtime:$0,Property:Lr};class V0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Ei extends G{constructor(e){var n,i,u,r,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(a=e==null?void 0:e.isLoading)!=null?a:!1}}Ei.Rules=V0;class wi extends L{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}wi.controlEventKeys=["on_click"],wi.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:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class H0 extends X{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ho={Designer:wi,Runtime:H0,Property:Ei};class Nr extends G{constructor(e){var n,i,u,r,a,l,c,o,d;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,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(a=e==null?void 0:e.color)!=null?a:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(c=e==null?void 0:e.defaultState)!=null?c:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Gt extends L{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class q0 extends X{constructor(e){super(e),this.props=new Nr(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var yo={Designer:Gt,Runtime:q0,Property:Nr},j0=Object.freeze({__proto__:null,Text:kl,Link:Ml,Button:Ll,Divider:zl,Title:Gl,CreateFormListButton:Xl,BatchSubmissionListButton:Ql,SubmissionRecordListButton:Jl,ExportListButton:Zl,ExportRecordListButton:Yl,ImportRecordListButton:pl,FormSelectButton:eo,ListSelectButton:to,Pagination:io,Dashboard:ro,ListViewSelect:lo,TextOcrButton:oo,InvoiceCheckButton:co,BatchPrintListButton:so,BatchPrintRecordListButton:fo,OperationButton:ho,BatchDeleteButton:yo});class U0 extends ee{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 W0 extends V{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 bt extends P{constructor(e){var n,i,u,r,a,l,c;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 Ga(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:_t.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=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}bt.Rules=U0,bt.RuntimeRules=W0;class _t extends F{constructor(e){super(e),this.props=new bt(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"}}_t.controlEventKeys=["on_change","on_input","on_focus","on_blur"],_t.controlFieldType=b.VARCHAR,_t.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.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 mo extends O{constructor(e){super(e),this.props=new bt(e==null?void 0:e.props)}static get controlType(){return"input"}}mo.controlFieldType=b.VARCHAR;var vo={Designer:_t,Runtime:mo,Property:bt};class K0 extends dt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class z0 extends V{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 Xt extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g,E,I;super(e),this.options=_e((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=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Qt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var C;(C=this.multistageFilling)==null||C.push(new le(_))}))}}Xt.Rules=K0,Xt.RuntimeRules=z0;class Qt extends F{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=b.ARRAY,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 go extends O{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}go.controlFieldType=b.ARRAY;var bo={Designer:Qt,Runtime:go,Property:Xt};class G0 extends dt{constructor(e){super(e)}}class Ci extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g;super(e),this.options=_e((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=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Jt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var I;(I=this.multistageFilling)==null||I.push(new le(E))}))}}Ci.Rules=G0;class Jt extends F{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=b.VARCHAR,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class _o extends O{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"radio"}}_o.controlFieldType=b.VARCHAR;var Eo={Designer:Jt,Runtime:_o,Property:Ci};class X0 extends ee{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,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Mt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Q0 extends V{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:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Mt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Zt extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g,E,I;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=(c=e==null?void 0:e.showUpperCase)!=null?c:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Yt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new Ga(e==null?void 0:e.regularRules)}}Zt.Rules=X0,Zt.RuntimeRules=Q0;class Yt extends F{constructor(e){super(e),this.props=new Zt(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}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=b.DECIMAL,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_UNIT,s.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:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class wo extends O{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"number"}}wo.controlFieldType=b.DECIMAL;var Co={Designer:Yt,Runtime:wo,Property:Zt};class $r extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.caption=(a=e==null?void 0:e.caption)!=null?a:Ii.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(c=e==null?void 0:e.defaultValue)!=null?c:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(E=>new ai(E)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ii extends F{constructor(e){super(e),this.props=new $r(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}}Ii.controlFieldType=b.TIMESTAMP,Ii.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Io extends O{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Io.controlFieldType=b.TIMESTAMP;var So={Designer:Ii,Runtime:Io,Property:$r};class J0 extends V{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 Si extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g;super(e),this.dataBind=new Jy(e==null?void 0:e.dataBind),this.defaultValue=new Zy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],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=(c=e==null?void 0:e.placeholderStart)!=null?c:"\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=(d=e==null?void 0:e.caption)!=null?d:Ai.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(E=>new ai(E)))!=null?g:[]}}Si.RuntimeRules=J0;class Ai extends F{constructor(e){super(e),this.props=new Si(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}}Ai.controlFieldType=b.TIMESCOPE,Ai.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ao extends O{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Ao.controlFieldType=b.TIMESCOPE;var To={Designer:Ai,Runtime:Ao,Property:Si};class Z0 extends ee{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 Y0 extends V{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 pt extends P{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:en.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}}pt.Rules=Z0,pt.RuntimeRules=Y0;class en extends F{constructor(e){super(e),this.props=new pt(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"}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=b.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 Bo extends O{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Bo.controlFieldType=b.TEXT;var Ro={Designer:en,Runtime:Bo,Property:pt};class p0 extends ee{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 eb extends V{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 tn extends P{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:nn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165"}}tn.Rules=p0,tn.RuntimeRules=eb;class nn extends F{constructor(e){super(e),this.props=new tn(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"}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.TEXT,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 Do extends O{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Do.controlFieldType=b.TEXT;var Po={Designer:nn,Runtime:Do,Property:tn};class tb extends dt{constructor(e){super(e)}}class Ti extends P{constructor(e){var n,i,u,r,a,l,c,o;super(e),this.options=_e((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 p(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Bi.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=(c=e==null?void 0:e.allowCopyOptions)!=null?c:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var v;(v=this.multistageFilling)==null||v.push(new le(d))}))}}Ti.Rules=tb;class Bi extends F{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Bi.controlFieldType=b.VARCHAR,Bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class xo extends O{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"select"}}xo.controlFieldType=b.VARCHAR;var Fo={Designer:Bi,Runtime:xo,Property:Ti};class nb extends dt{constructor(e){super(e)}}class ib extends V{constructor(e){super(e),this[0].type="array"}}class un extends P{constructor(e){var n,i,u,r,a,l,c;super(e),this.options=_e((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 p(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Ri.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.openMultistageFilling=(c=e==null?void 0:e.openMultistageFilling)!=null?c:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var d;(d=this.multistageFilling)==null||d.push(new le(o))}))}}un.Rules=nb,un.RuntimeRules=ib;class Ri extends F{constructor(e){super(e),this.props=new un(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"}}Ri.controlFieldType=b.ARRAY,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Oo extends O{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Oo.controlFieldType=b.ARRAY;var ko={Designer:Ri,Runtime:Oo,Property:un};class ub extends V{constructor(e){super(e),this[0].type="array"}}class Di extends P{constructor(e){var n,i,u,r,a,l,c,o,d;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=(c=e==null?void 0:e.caption)!=null?c:Pi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new le(v))}))}}Di.RuntimeRules=ub;class Pi extends F{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Pi.controlFieldType=b.EMPLOYEES,Pi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 Mo extends O{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"employee"}}Mo.controlFieldType=b.EMPLOYEES;var Lo={Designer:Pi,Runtime:Mo,Property:Di};const rb=10485760,ab=104857600,lb=1048576e3;class ob extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:lb,message:f.getMessage("attachmentMaxSize")}}}class cb extends V{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 P{constructor(e){var n,i,u,r,a,l,c,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:ab,this.caption=(c=e==null?void 0:e.caption)!=null?c:wt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Et.Rules=ob,Et.RuntimeRules=cb;class wt extends F{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"}}wt.controlEventKeys=["on_change"],wt.controlFieldType=b.FILE,wt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 Vr extends O{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Vr.controlFieldType=b.FILE;var No={Designer:wt,Runtime:Vr,Property:Et};const $o=class extends wt{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:$o.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Hr=$o;Hr.controlFieldType=b.IMAGE,Hr.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class sb extends Vr{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 db extends Et{constructor(e){super(e)}}var Vo={Designer:Hr,Runtime:sb,Property:db};class fb extends dt{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,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=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class hb extends V{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:[Dn(Te({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class rn extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g;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 Xy(e==null?void 0:e.dataBind),this.datasourceBind=new p((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Au({value:"name"})]}),this.defaultValue=new Qy((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:kn.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:an.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}rn.Rules=fb,rn.RuntimeRules=hb;class an extends F{constructor(e){super(e),this.props=new rn(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}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=b.MONEY,an.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.SUBMIT_SELECT_CURRENCY,s.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Ho extends O{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"amount"}}Ho.controlFieldType=b.MONEY;var qo={Designer:an,Runtime:Ho,Property:rn};class yb extends ee{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 mb extends V{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 ln extends P{constructor(e){var n,i,u,r,a,l,c;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:Sr.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 li(o)))!=null?a:Array(this.totalScore).fill(void 0).map(()=>new li),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:on.controlName}}ln.Rules=yb,ln.RuntimeRules=mb;class on extends F{constructor(e){super(e),this.props=new ln(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 li);this.props.explain.push(...u)}}super.postUpdate(e,n)}}on.controlEventKeys=["on_change","on_click"],on.controlFieldType=b.DECIMAL,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.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 jo extends O{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"score"}}jo.controlFieldType=b.DECIMAL;var Uo={Designer:on,Runtime:jo,Property:ln};class vb extends V{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 xi extends P{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fi.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 Yy((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"}}xi.RuntimeRules=vb;class Fi extends F{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Fi.controlFieldType=b.ADDRESS,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Wo extends O{constructor(e){super(e),this.props=new xi(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"}}Wo.controlFieldType=b.ADDRESS;var Ko={Designer:Fi,Runtime:Wo,Property:xi};class gb extends V{constructor(e){super(e),this[0].type="array"}}class Oi extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g;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=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:cn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var I;(I=this.multistageFilling)==null||I.push(new le(E))}))}}Oi.RuntimeRules=gb;class cn extends F{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}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}}cn.controlName="\u90E8\u95E8",cn.controlFieldType=b.DEPARTMENTS,cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 zo extends O{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"department"}}zo.controlFieldType=b.DEPARTMENTS;var Go={Designer:cn,Runtime:zo,Property:Oi};class qr extends P{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:sn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class sn extends F{constructor(e){super(e),this.props=new qr(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"}}sn.controlEventKeys=["on_change"],sn.controlFieldType=b.AUTO_NUMBER,sn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Xo extends O{constructor(e){super(e),this.props=new qr(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Xo.controlFieldType=b.AUTO_NUMBER;var Qo={Designer:sn,Runtime:Xo,Property:qr};class bb extends ee{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 _b extends V{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 dn extends P{constructor(e){var n,i,u,r,a,l,c;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 py(e==null?void 0:e.dataBind),this.defaultValue=new em(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:fn.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=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}dn.Rules=bb,dn.RuntimeRules=_b;class fn extends F{constructor(e){super(e),this.props=new dn(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}}fn.controlEventKeys=["on_change"],fn.controlFieldType=b.CALC,fn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[s.SHOW_UPPER_CASE,s.MICROMETER,s.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Jo extends O{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Jo.controlFieldType=b.CALC;var Zo={Designer:fn,Runtime:Jo,Property:dn};class Eb extends V{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ki extends P{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:Mi.controlName}}ki.RuntimeRules=Eb;class Mi extends F{constructor(e){super(e),this.props=new ki(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"}}Mi.controlFieldType=b.DECIMAL_RANGE,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Yo extends O{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Yo.controlFieldType=b.DECIMAL_RANGE;var po={Designer:Mi,Runtime:Yo,Property:ki};class wb extends V{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 Li extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g,E;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Be.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(c=e==null?void 0:e.rangeMax)!=null?c:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Ni.controlName,this.limitDateList=(E=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(I=>new ai(I)))!=null?E:[]}}Li.RuntimeRules=wb;class Ni extends F{constructor(e){super(e),this.props=new Li(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"}}Ni.controlFieldType=b.ARRAY,Ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ec extends O{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}ec.controlFieldType=b.ARRAY;var tc={Designer:Ni,Runtime:ec,Property:Li};class Cb extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class Ib extends V{constructor(e){super(e),this[0].type="any"}}class hn extends P{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:yn.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}}hn.Rules=Cb,hn.RuntimeRules=Ib;class yn extends F{constructor(e){super(e),this.props=new hn(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"}}yn.controlFieldType=b.ANY,yn.controlEventKeys=[],yn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_HIDE_CAPTION,s.REQUIRED,s.IS_SHOW_CAPTION_TIP,s.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class nc extends O{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}nc.controlFieldType=b.ANY;var ic={Designer:yn,Runtime:nc,Property:hn};class Sb extends dt{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 $i extends P{constructor(e){var n,i,u,r,a,l,c,o,d;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:mn.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.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new le(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window"}}$i.Rules=Sb;class mn extends F{constructor(e){super(e),this.props=new $i(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"}}mn.controlFieldType=b.VARCHAR,mn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],mn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class uc extends O{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}uc.controlFieldType=b.VARCHAR;var rc={Designer:mn,Runtime:uc,Property:$i};class jr extends bt{constructor(e){super(e)}}class ac extends _t{constructor(e){super(e),this.props=new jr(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}ac.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED]},{key:"super-setting",visible:!0}];class lc extends O{constructor(e){super(e),this.props=new jr(e==null?void 0:e.props)}static get controlType(){return"search-input"}}lc.controlFieldType=b.VARCHAR;var oc={Designer:ac,Runtime:lc,Property:jr};class Ab extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],$n.call(this,e,Le.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","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Tb extends V{constructor(e){super(e),this[0].type="array"}}class vn extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g,E,I,_,C,h,w,A,T;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.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=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new Wa((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:Le.controlCustomAttributes}),this.filterItemDatasourceBind=new Wa((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:Le.controlCustomAttributes}),this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.defaultDisplay=(h=e==null?void 0:e.defaultDisplay)!=null?h:!1,this.multistageFilling=(A=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(R=>new le(R)))!=null?A:[],this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:[]}}vn.Rules=Ab,vn.RuntimeRules=Tb;class Le extends F{constructor(e){super(e),this.props=new vn(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}]}}Le.controlEventKeys=["on_change","on_click"],Le.controlFieldType=b.ARRAY,Le.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.CAN_SEARCH,s.DEFAULT_DISPLAY,s.CONTAINS_SUB_NODE,s.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 cc extends O{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"tree"}}cc.controlFieldType=b.ARRAY;var sc={Designer:Le,Runtime:cc,Property:vn};class Bb extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},$n.call(this,e,Ct.controlCustomAttributes),e.externalType===Me.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Rb extends V{constructor(e){super(e),this[0].type="array"}}class gn extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g,E,I,_;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=(c=e==null?void 0:e.caption)!=null?c:Ct.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 On((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Ct.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Dr.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Pr.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Me.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var h;(h=this.multistageFilling)==null||h.push(new le(C))}))}}gn.Rules=Bb,gn.RuntimeRules=Rb;class Ct extends F{constructor(e){super(e),this.props=new gn(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}]}}Ct.controlFieldType=b.EMPLOYEES,Ct.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.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 dc extends O{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}dc.controlFieldType=b.EMPLOYEES;var fc={Designer:Ct,Runtime:dc,Property:gn};class Db extends ee{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"&&vu(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")&&vu(a.value)&&a.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Vi extends P{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:bn.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 Vl(e==null?void 0:e.signatureConfig)}}Vi.Rules=Db;class bn extends F{constructor(e){super(e),this.props=new Vi(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"}}bn.controlEventKeys=["on_click","on_click_finish"],bn.controlFieldType=b.VARCHAR,bn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.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 hc extends O{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}hc.controlFieldType=b.VARCHAR;var yc={Designer:bn,Runtime:hc,Property:Vi};class Pb extends ee{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class xb extends V{constructor(e){super(e),this[0].type="array"}}class _n extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.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=(c=e==null?void 0:e.canDownload)!=null?c:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:rb,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Hl(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}_n.Rules=Pb,_n.RuntimeRules=xb;class En extends F{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}En.controlEventKeys=["on_change","on_wps_open"],En.controlFieldType=b.FILE,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.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 mc extends O{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"wps"}}mc.controlFieldType=b.FILE;var vc={Designer:En,Runtime:mc,Property:_n};class Fb extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,Ke.controlCustomAttributes),e.businessType===Me.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Ob extends V{constructor(e){super(e),this[0].type="array"}}class wn extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g,E,I,_,C;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=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new On((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Me.ALL,this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(h=>{var w;(w=this.multistageFilling)==null||w.push(new le(h))}))}}wn.Rules=Fb,wn.RuntimeRules=Ob;class Ke extends F{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}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}}Ke.controlName="\u90E8\u95E8",Ke.controlFieldType=b.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.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 gc extends O{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"department2"}}gc.controlFieldType=b.DEPARTMENTS;var bc={Designer:Ke,Runtime:gc,Property:wn};class kb extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,ze.controlCustomAttributes),e.businessType===Me.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Mb extends V{constructor(e){super(e),this[0].type="array"}}class Cn extends P{constructor(e){var n,i,u,r,a,l,c,o,d,v,g,E,I,_,C,h,w,A;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.listPageBind=new Iu(e==null?void 0:e.listPageBind),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=(c=e==null?void 0:e.displayLevel)!=null?c:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ze.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new zy((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:ze.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Me.ALL,this.organizingFunction=(C=e==null?void 0:e.organizingFunction)!=null?C:void 0,this.organizationView=(h=e==null?void 0:e.organizationView)!=null?h:void 0,this.showSelectedDetail=(w=e==null?void 0:e.showSelectedDetail)!=null?w:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(T=>{var R;(R=this.multistageFilling)==null||R.push(new le(T))}))}}Cn.Rules=kb,Cn.RuntimeRules=Mb;class ze extends F{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}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}}ze.controlName="\u4E1A\u52A1\u7EC4\u7EC7",ze.controlFieldType=b.DEPARTMENTS,ze.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.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:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class _c extends O{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}_c.controlFieldType=b.DEPARTMENTS;var Ec={Designer:ze,Runtime:_c,Property:Cn},Lb=Object.freeze({__proto__:null,Input:vo,Checkbox:bo,Radio:Eo,Number:Co,DatePicker:So,DateRange:To,Textarea:Ro,RichText:Po,Select:Fo,SelectMultiple:ko,Employee:Lo,Image:Vo,Attachment:No,Amount:qo,Score:Uo,Address:Ko,Department:Go,AutoNumber:Qo,Calc:Zo,SearchNumberRange:po,SearchDateRange:tc,VueFormItem:ic,SelectRelation:rc,SearchInput:oc,Tree:sc,Employee2:fc,ElectronicSignature:yc,WPS:vc,Department2:bc,OrganizationSelection:Ec});class wc extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}wc.excludes=[S.GRID];class Nb extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var Cc={Designer:wc,Runtime:Nb,Property:q};const $b=24;class Ge extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:$b,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class In extends K{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}In.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.DIVIDER],In.childrenMaxLength=1;class Ur extends Q{constructor(e){super(e),this.props=new Ge(e==null?void 0:e.props)}static get controlType(){return"col"}}var Ic={Designer:In,Runtime:Ur,Property:Ge};class Hi extends q{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 qi extends K{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}qi.excludes=[S.ROW],qi.setting=[{key:"col-setting",visible:!0}];class Sc extends Q{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ac={Designer:qi,Runtime:Sc,Property:Hi};const Vb=4;class ji extends qi{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)}}ji.excludes=[S.GRID_ROW],ji.setting=[],ji.childrenMaxLength=Vb;class Hb extends Sc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class qb extends Hi{constructor(e){super(e)}}var Tc={Designer:ji,Runtime:Hb,Property:qb};class jb extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ui extends q{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"}}Ui.Rules=jb;class Wr extends K{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Wr.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Wr.excludes=[S.CARD_GROUP];class Ub extends Q{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Bc={Designer:Wr,Runtime:Ub,Property:Ui};class Wb extends U{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")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wi extends q{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=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.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.metaAutoWidth=new $y(e==null?void 0:e.metaAutoWidth)}}Wi.Rules=Wb;class me extends K{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}me.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",me.controlType="subtable-column",me.controlIcon="subtable-column",me.childrenMaxLength=1,me.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Rc extends Q{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}Rc.controlType="subtable-column";var Dc={Designer:me,Runtime:Rc,Property:Wi};class Kr extends q{constructor(e){super(e)}}class Xe extends K{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}}Xe.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Xe.controlType="subtable-row",Xe.controlIcon="subtable-row",Xe.childrenMaxLength=1,Xe.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Xe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class Kb extends Q{constructor(e){super(e),this.props=new Kr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Pc={Designer:Xe,Runtime:Kb,Property:Kr};class zr extends q{constructor(e){var n,i,u,r,a,l,c,o,d,v;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:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Be.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Qe extends K{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}}Qe.controlName="\u5217\u8868\u5355\u5143\u683C",Qe.controlType="gridtable-column",Qe.controlIcon="gridtable-column",Qe.childrenMaxLength=1,Qe.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Qe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class xc extends Q{constructor(e){super(e),this.props=new zr(e==null?void 0:e.props)}}xc.controlType="gridtable-column";var Fc={Designer:Qe,Runtime:xc,Property:zr};class Gr extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class zb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ki extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:An.controlName}}Ki.Rules=zb;class Sn extends K{constructor(e){super(e),this.props=new Ki(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"}}Sn.excludes=[S.TAB],Sn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Gb extends Q{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Oc={Designer:Sn,Runtime:Gb,Property:Ki};class An extends K{constructor(e){var n;super(e),this.props=new Gr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Sn,new Sn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}An.excludes=[S.TAB],An.controlEventKeys=["on_change_tab"],An.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Xb extends Q{constructor(e){super(e),this.props=new Gr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var kc={Designer:An,Runtime:Xb,Property:Gr};class Mc extends q{constructor(e){super(e)}}class Lc extends K{constructor(e){super(e),this.props=new Mc({}),this.children=(e==null?void 0:e.children)||[new In({props:new Ge({span:12})}),new In({props:new Ge({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Lc.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class Qb extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ur({props:new Ge({span:12})}),new Ur({props:new Ge({span:12})})]}}var Nc={Designer:Lc,Runtime:Qb,Property:Mc};class Jb extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Zb extends U{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")}),ju.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 Tn extends q{constructor(e){var n,i,u,r,a,l,c,o,d,v;super(e),this.datasourceBind=new p(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 Uy(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.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(d=e==null?void 0:e.isShowSelection)!=null?d:!1,this.isAllLoaded=(v=e==null?void 0:e.isAllLoaded)!=null?v:!0,this.countType=e==null?void 0:e.countType}}Tn.Rules=Zb,Tn.RuntimeRules=Jb;class zi extends K{constructor(e){super(e),this.props=new Tn(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"}}zi.excludes=[S.ROW],zi.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"],zi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class Yb extends Q{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var $c={Designer:zi,Runtime:Yb,Property:Tn};class pb extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Gi extends q{constructor(e){var n,i,u,r,a,l;super(e),this.save=new De((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new De((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new De((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new De((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(c=>new De(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new p(e==null?void 0:e.datasourceBind)}}Gi.RuntimeRules=pb;class Vc extends K{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Vc.excludes=[];class e_ extends Q{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Hc={Designer:Vc,Runtime:e_,Property:Gi};class t_ extends K{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class n_ extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class i_ extends q{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 qc={Designer:t_,Runtime:n_,Property:i_};class u_ extends K{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class r_ extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class a_ extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ul(e==null?void 0:e.flexConfig)}}var jc={Designer:u_,Runtime:r_,Property:a_};class l_ extends K{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class o_ extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class c_ extends q{constructor(e){super(e)}}var Uc={Designer:l_,Runtime:o_,Property:c_};class s_ extends K{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class d_ extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class f_ extends q{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 Wc={Designer:s_,Runtime:d_,Property:f_},h_=Object.freeze({__proto__:null,Grid:Cc,Col:Ic,Row:Ac,GridRow:Tc,CardGroup:Bc,SubTableColumn:Dc,SubTableRow:Pc,GridTableColumn:Fc,Tab:kc,TabPane:Oc,Toolbox:Nc,ListView:$c,DataView:Hc,Page:qc,AdvancedContainer:jc,PositioningContainer:Uc,Position:Wc});class y_ extends U{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")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class m_ extends je{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,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class Bn extends Jn{constructor(e,n){var i,u,r,a,l,c,o,d,v,g,E,I,_,C,h,w,A,T,R,Z,x,Y,Ie,Se,au,Rn,It,Ae,fs;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Xi.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=(c=n==null?void 0:n.formKey)!=null?c:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:ql,this.printMode=(v=n==null?void 0:n.printMode)!=null?v:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(E=n==null?void 0:n.maxRows)!=null?E:null,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new p(n==null?void 0:n.datasourceBind),this.canAdd=(_=n==null?void 0:n.canAdd)!=null?_:!0,this.canDelete=(C=n==null?void 0:n.canDelete)!=null?C:!0,this.canCheck=(h=n==null?void 0:n.canCheck)!=null?h:!1,this.canEdit=(w=n==null?void 0:n.canEdit)!=null?w:!1,this.canImport=(A=n==null?void 0:n.canImport)!=null?A:!1,this.canExport=(T=n==null?void 0:n.canExport)!=null?T:!1,this.canClear=(R=n==null?void 0:n.canClear)!=null?R:!0,this.serverPagination=(Z=n==null?void 0:n.serverPagination)!=null?Z:!1,this.isShowCaptionTip=(x=n==null?void 0:n.isShowCaptionTip)!=null?x:!1,this.captionTip=(Y=n==null?void 0:n.captionTip)!=null?Y:"",this.mobileShowType=(Ie=n==null?void 0:n.mobileShowType)!=null?Ie:"list",this.mobileDefaultNum=(Se=n==null?void 0:n.mobileDefaultNum)!=null?Se:10,this.dataStorageDoc=(au=n==null?void 0:n.dataStorageDoc)!=null?au:new Vy,this.fixedColumn=(Rn=n==null?void 0:n.fixedColumn)!=null?Rn:[],this.mobileRowCaption=(It=n==null?void 0:n.mobileRowCaption)!=null?It:"\u660E\u7EC6",this.mobileIsTile=(Ae=n==null?void 0:n.mobileIsTile)!=null?Ae:!1,this.isPaste=(fs=n==null?void 0:n.isPaste)!=null?fs:!1}}Bn.Rules=y_,Bn.RuntimeRules=m_;class Xi extends ur{constructor(e){var n;super(e),this.props=new Bn(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 me,new me,new me])}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 me,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Xi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Xi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class v_ extends Tl{constructor(e){super(e),this.props=new Bn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Rt("Method not implemented.")}getChildrenFormControl(){return[]}}var Kc={Designer:Xi,Runtime:v_,Property:Bn};class Xr extends Jn{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 g_ extends we{constructor(e){super(e),this.caption.required=!1}}class Qi extends z{constructor(e){var n,i,u,r,a,l,c,o;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:Je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(a=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?a:60,this.autoWidth.flex=(c=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?c:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Qi.Rules=g_;class Je extends ne{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Je.controlType="order-column",Je.controlName="\u5E8F\u53F7",Je.controlIcon="order-column",Je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Qr extends ie{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Qr.controlType="order-column",Qr.controlFieldType=b.DECIMAL;var zc={Designer:Je,Runtime:Qr,Property:Qi};class Jr extends z{constructor(e){var n,i,u,r,a,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Ce.controlName,this.showType=(a=e==null?void 0:e.showType)!=null?a:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends ne{constructor(e){super(e),this.props=new Jr(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===wi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Dn(Te({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return _a(this,null,function*(){return yield ba(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Zr extends ie{constructor(e){super(e),this.props=new Jr(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}Zr.controlType="operation-column",Zr.controlFieldType=b.FILE;var Gc={Designer:Ce,Runtime:Zr,Property:Jr};class Ji extends ur{constructor(e){super(e),this.props=new Xr(this,e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Je,new Ce])}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 Dn(Te({},e),{children:n})}validate(e,n){return _a(this,null,function*(){return yield ba(Ji.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ji.setting=[{key:"list-fixed-header",visible:!0}];class b_ extends Tl{constructor(e){super(e),this.props=new Xr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Rt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Xc={Designer:Ji,Runtime:b_,Property:Xr},__=Object.freeze({__proto__:null,SubTable:Kc,GridTable:Xc});class E_ extends Bl{constructor(e){super(e),We.call(this,e)}}class Zi extends z{constructor(e){var n,i,u,r,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new He(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}Zi.Rules=E_;class Ze extends ne{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Ze.controlType="varchar-column",Ze.controlName="\u77ED\u6587\u672C",Ze.controlIcon="varchar-column",Ze.controlFieldType=b.VARCHAR,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",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 Yr extends ie{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Yr.controlType="varchar-column",Yr.controlFieldType=b.VARCHAR;var Qc={Designer:Ze,Runtime:Yr,Property:Zi};class w_ extends we{constructor(e){super(e),We.call(this,e)}}class Yi extends z{constructor(e){var n,i,u,r;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:Ye.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new He(e==null?void 0:e.linkOperationOption)}}Yi.Rules=w_;class Ye extends ne{constructor(e){super(e),this.props=new Yi(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}}Ye.controlType="text-column",Ye.controlName="\u957F\u6587\u672C",Ye.controlIcon="text-column",Ye.controlFieldType=b.TEXT,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",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 pr extends ie{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}pr.controlType="text-column",pr.controlFieldType=b.TEXT;var Jc={Designer:Ye,Runtime:pr,Property:Yi};class C_ extends we{constructor(e){super(e),We.call(this,e)}}class pi extends z{constructor(e){var n,i,u,r,a,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.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 p(e==null?void 0:e.datasourceBind),this.options=_e((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new He(e==null?void 0:e.linkOperationOption)}}pi.Rules=C_;class pe extends ne{constructor(e){super(e),this.props=new pi(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}}pe.controlType="decimal-column",pe.controlName="\u6570\u503C",pe.controlIcon="decimal-column",pe.controlFieldType=b.DECIMAL,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class ea extends ie{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}ea.controlType="decimal-column",ea.controlFieldType=b.DECIMAL;var Zc={Designer:pe,Runtime:ea,Property:pi};class I_ extends we{constructor(e){super(e),We.call(this,e)}}class eu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new He(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}eu.Rules=I_;class et extends ne{constructor(e){super(e),this.props=new eu(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}}et.controlType="timescope-column",et.controlName="\u65E5\u671F\u533A\u95F4",et.controlIcon="timescope-column",et.controlFieldType=b.TIMESCOPE,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class ta extends ie{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}ta.controlType="timescope-column",ta.controlFieldType=b.TIMESCOPE;var Yc={Designer:et,Runtime:ta,Property:eu};class S_ extends we{constructor(e){super(e),We.call(this,e)}}class tu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new He(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:tt.controlName}}tu.Rules=S_;class tt extends ne{constructor(e){super(e),this.props=new tu(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}}tt.controlType="timestamp-column",tt.controlName="\u65E5\u671F",tt.controlIcon="timestamp-column",tt.controlFieldType=b.TIMESTAMP,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class na extends ie{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}na.controlType="timestamp-column",na.controlFieldType=b.TIMESTAMP;var pc={Designer:tt,Runtime:na,Property:tu};class A_ extends Bl{constructor(e){super(e)}}class nu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new p(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}])}}nu.Rules=A_;class nt extends ne{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}nt.controlType="array-column",nt.controlName="\u6570\u7EC4",nt.controlIcon="array-column",nt.controlFieldType=b.ARRAY,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ia extends ie{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ia.controlType="array-column",ia.controlFieldType=b.ARRAY;var es={Designer:nt,Runtime:ia,Property:nu};class ua extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class it extends ne{constructor(e){super(e),this.props=new ua(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}}it.controlType="department-column",it.controlName="\u90E8\u95E8",it.controlIcon="department-column",it.controlFieldType=b.DEPARTMENTS,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ra extends ie{constructor(e){super(e),this.props=new ua(e==null?void 0:e.props)}}ra.controlType="department-column",ra.controlFieldType=b.DEPARTMENTS;var ts={Designer:it,Runtime:ra,Property:ua};class T_ extends we{constructor(e){super(e),We.call(this,e)}}class iu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new He(e==null?void 0:e.linkOperationOption)}}iu.Rules=T_;class ut extends ne{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}ut.controlType="auto-number-column",ut.controlName="\u81EA\u52A8\u7F16\u53F7",ut.controlIcon="auto-number-column",ut.controlFieldType=b.AUTO_NUMBER,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class aa extends ie{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}aa.controlType="auto-number-column",aa.controlFieldType=b.AUTO_NUMBER;var ns={Designer:ut,Runtime:aa,Property:iu};class la extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends ne{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}rt.controlType="file-column",rt.controlName="\u9644\u4EF6",rt.controlIcon="file-column",rt.controlFieldType=b.FILE,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class oa extends ie{constructor(e){super(e),this.props=new la(e==null?void 0:e.props)}}oa.controlType="file-column",oa.controlFieldType=b.FILE;var is={Designer:rt,Runtime:oa,Property:la};class ca extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends ne{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}}at.controlType="image-column",at.controlName="\u56FE\u7247",at.controlIcon="image-column",at.controlFieldType=b.IMAGE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class sa extends ie{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}}sa.controlType="image-column",sa.controlFieldType=b.IMAGE;var us={Designer:at,Runtime:sa,Property:ca};class da extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName}}class lt extends ne{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}}lt.controlType="people-column",lt.controlName="\u4EBA\u5458",lt.controlIcon="people-column",lt.controlFieldType=b.EMPLOYEES,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class fa extends ie{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}}fa.controlType="people-column",fa.controlFieldType=b.EMPLOYEES;var rs={Designer:lt,Runtime:fa,Property:da};class B_ extends we{constructor(e){super(e),We.call(this,e)}}class uu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ot.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new He(e==null?void 0:e.linkOperationOption)}}uu.Rules=B_;class ot extends ne{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}ot.controlType="location-column",ot.controlName="\u5730\u5740",ot.controlIcon="location-column",ot.controlFieldType=b.ADDRESS,ot.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ha extends ie{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}ha.controlType="location-column",ha.controlFieldType=b.ADDRESS;var as={Designer:ot,Runtime:ha,Property:uu};class ya extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const R_=1;class Ne extends ne{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new ya(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),this.excludes=Re(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 Dn(Te({},e),{children:this.children.map(n=>n.toSchema())})}}Ne.controlType="custom-column",Ne.controlName="\u81EA\u5B9A\u4E49",Ne.controlIcon="custom-column",Ne.excludes=[],Ne.childrenMaxLength=R_,Ne.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ls extends ie{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}ls.controlType="custom-column";var os={Designer:Ne,Runtime:ls,Property:ya};class ma extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.datasourceBind=new On((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:$e.controlCustomAttributes})}}class $e extends ne{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}$e.controlType="employee-column",$e.controlName="\u4EBA\u5458",$e.controlIcon="employee-column",$e.controlFieldType=b.EMPLOYEES,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class va extends ie{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}}va.controlType="employee-column",va.controlFieldType=b.EMPLOYEES;var cs={Designer:$e,Runtime:va,Property:ma},D_=Object.freeze({__proto__:null,VarcharColumn:Qc,TextColumn:Jc,DecimalColumn:Zc,TimescopeColumn:Yc,TimestampColumn:pc,ArrayColumn:es,DepartmentColumn:ts,AutoNumberColumn:ns,FileColumn:is,ImageColumn:us,PeopleColumn:rs,LocationColumn:as,CustomColumn:os,OrderColumn:zc,OperationColumn:Gc,EmployeeColumn:cs});class P_ extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ru extends vr{constructor(e){var n,i,u,r,a,l,c,o;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new De((r=e==null?void 0:e.search)!=null?r:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new De((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=((c=e==null?void 0:e.custom)!=null?c:[]).map(d=>new De(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}ru.RuntimeRules=P_;class ga extends pg{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}ga.controlType="simple-search",ga.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"search-view-type",visible:!0}];class ss extends a0{constructor(e){var n;super(e),this.props=new ru(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ss.controlType="simple-search";var ds={Designer:ga,Runtime:ss,Property:ru},x_=Object.freeze({__proto__:null,SimpleSearch:ds});m.Address=Ko,m.AdvancedContainer=jc,m.Amount=qo,m.ArrayColumn=es,m.AssignType=Me,m.Attachment=No,m.AutoNumber=Qo,m.AutoNumberColumn=ns,m.BatchDeleteButton=yo,m.BatchPrintListButton=so,m.BatchPrintRecordListButton=fo,m.BatchSubmissionListButton=Ql,m.Button=Ll,m.Calc=Zo,m.CardGroup=Bc,m.Checkbox=bo,m.Col=Ic,m.CreateFormListButton=Xl,m.CustomColumn=os,m.DATE_CONFIG_TYPE=Nl,m.DATE_LIMIT_TYPE=$l,m.Dashboard=ro,m.DataView=Hc,m.DatePicker=So,m.DateRange=To,m.DecimalColumn=Zc,m.Department=Go,m.Department2=bc,m.DepartmentColumn=ts,m.DepartmentType=oi,m.Divider=zl,m.ElectronicSignature=yc,m.ElectronicSignatureConfig=Vl,m.Employee=Lo,m.Employee2=fc,m.EmployeeColumn=cs,m.EncryptTypeEnum=Wl,m.Explain=li,m.ExportListButton=Zl,m.ExportRecordListButton=Yl,m.ExportTemplate=Br,m.FileColumn=is,m.FlexStyleConfig=Ul,m.FormSelectButton=eo,m.Grid=Cc,m.GridRow=Tc,m.GridTable=Xc,m.GridTableColumn=Fc,m.Image=Vo,m.ImageColumn=us,m.ImportRecordListButton=pl,m.Input=vo,m.InternalType=Pr,m.InvoiceCheckButton=co,m.LINE_STYLE=Ar,m.LimitDate=ai,m.Link=Ml,m.ListSelectButton=to,m.ListView=$c,m.ListViewSelect=lo,m.LocationColumn=as,m.Number=Co,m.OperationButton=ho,m.OperationColumn=Gc,m.OrderColumn=zc,m.OrganizationSelection=Ec,m.OrganizeType=Dr,m.Page=qc,m.Pagination=io,m.PeopleColumn=rs,m.Position=Wc,m.PositioningContainer=Uc,m.PrintTemplate=jl,m.Radio=Eo,m.RichText=Po,m.Row=Ac,m.SCORE_TYPE=Sr,m.SUBTABLE_DEFAULT_MAX_HEIGHT=ql,m.Score=Uo,m.SearchDateRange=tc,m.SearchInput=oc,m.SearchNumberRange=po,m.Select=Fo,m.SelectMultiple=ko,m.SelectRelation=rc,m.SimpleSearch=ds,m.SubTable=Kc,m.SubTableColumn=Dc,m.SubTableRow=Pc,m.SubmissionRecordListButton=Jl,m.Tab=kc,m.TabPane=Oc,m.Text=kl,m.TextColumn=Jc,m.TextOcrButton=oo,m.Textarea=Ro,m.TimescopeColumn=Yc,m.TimestampColumn=pc,m.Title=Gl,m.TitleConfigEnum=ke,m.Toolbox=Nc,m.Tree=sc,m.UndersignedPerson=Tr,m.VarcharColumn=Qc,m.VueFormItem=ic,m.WPS=vc,m.WPSSetting=Hl,m.WpsOperationItem=Rr,m.baseControls=j0,m.columnControls=D_,m.formControls=Lb,m.initExpression=Mt,m.layoutControls=h_,m.listControls=__,m.searchControls=x_,Object.defineProperty(m,"__esModule",{value:!0})});
|
|
1
|
+
var F_=Object.defineProperty,k_=Object.defineProperties;var O_=Object.getOwnPropertyDescriptors;var hs=Object.getOwnPropertySymbols,M_=Object.getPrototypeOf,L_=Object.prototype.hasOwnProperty,N_=Object.prototype.propertyIsEnumerable,$_=Reflect.get;var ys=(y,H,j)=>H in y?F_(y,H,{enumerable:!0,configurable:!0,writable:!0,value:j}):y[H]=j,Ae=(y,H)=>{for(var j in H||(H={}))L_.call(H,j)&&ys(y,j,H[j]);if(hs)for(var j of hs(H))N_.call(H,j)&&ys(y,j,H[j]);return y},Dn=(y,H)=>k_(y,O_(H));var br=(y,H,j)=>$_(M_(y),j,H);var _r=(y,H,j)=>new Promise((lu,xn)=>{var ou=ge=>{try{It(j.next(ge))}catch(St){xn(St)}},cu=ge=>{try{It(j.throw(ge))}catch(St){xn(St)}},It=ge=>ge.done?lu(ge.value):Promise.resolve(ge.value).then(ou,cu);It((j=j.apply(y,H)).next())});(function(y,H){typeof exports=="object"&&typeof module!="undefined"?H(exports):typeof define=="function"&&define.amd?define(["exports"],H):(y=typeof globalThis!="undefined"?globalThis:y||self,H(y.modelDrivenControls={}))})(this,function(y){"use strict";var H="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ou="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",cu="{caption}\u5FC5\u586B",It="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",St="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ms="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",vs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",gs="\u8BF7\u7ED1\u5B9A\u8868\u5355",bs="\u8BF7\u7ED1\u5B9A\u5217\u8868",_s="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Es="\u8BF7\u8F93\u5165\u663E\u793A\u503C",ws="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Cs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Is="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ss="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",As="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ts="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Bs="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Rs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Ds="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",xs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ps="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Fs="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ks="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Os="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Ms="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Ls="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ns="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",$s="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Vs="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Hs="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",qs="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",js="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Us="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ws="\u8BF7\u9009\u62E9\u7701",Ks="\u8BF7\u9009\u62E9\u5E02",zs="\u8BF7\u9009\u62E9\u533A",Gs="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Xs="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Qs="\u8BF7\u8F93\u5165\u5217\u5BBD",Js="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Zs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ys="\u8BF7\u9009\u62E9\u63A7\u4EF6",ps="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",ed="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",td="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",nd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",id="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ud="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ad="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ld="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",od="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",sd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",hd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",yd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",md="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",vd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",bd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",_d="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ed={isNotNumber:H,isNotString:j,isNotObject:lu,isNotArray:xn,isNotBoolean:ou,runtimeRequired:cu,pleaseEnterCaption:It,pleaseEnterCaptionTip:ge,pleaseEnterRowCaption:St,pleaseEnterPlaceholder:ms,pleaseEnterFieldCode:vs,pleaseEnterForm:gs,pleaseEnterList:bs,pleaseEnterProcess:_s,pleaseEnterLabel:Es,pleaseEnterValue:ws,bizKeyNotBindFiled:Cs,pleaseSelectOneField:Is,pleaseEnterNumberRange:Ss,pleaseEnterAValueGreaterThanMin:As,pleaseEnterAValueLessThanMax:Ts,numberRangeSetError:Bs,stringRangeError:Rs,attachmentMaxSize:Ds,pleaseEnterTotalScoreSetting:xs,theTotalScoreMustNotBeLessThan1:Ps,scoreDefaultValueRange:Fs,attachmentLimitError:ks,PleaseReselectTheOptionalQuantity:Os,TheMaximumLengthIsGreaterThanTheMinimumLength:Ms,TheMinimumLengthIsGreaterThanTheMaximumLength:Ls,PleaseSelectTheCorrectOptionSettings:Ns,optionIdIsRepeat:$s,optionIsRequired:Vs,pleaseEnterDataCode:Hs,pleaseEnterValueFieldCode:qs,pleaseEnterSvcCode:js,pleaseBindAtLeastOneDisplayValue:Us,pleaseSelectProvince:Ws,pleaseSelectCity:Ks,pleaseSelectDistrict:zs,limitRowsCannotBeLessThan0:Gs,TheNumberOfRowsCannotBeLessThanMinRows:Xs,pleaseEnterColumnWidth:Qs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Js,pleaseCompleteAllRulesAndConditions:Zs,pleaseSelectControl:Ys,pleaseSelectAtLeastOneColumn:ps,pleaseSelectFillBackMode:ed,pleaseSelectDashboard:td,rootNodeIsRequired:nd,theViewNameCannotBeEmpty:id,pleaseSelectOcrType:ud,pleaseSelectAtLeastOneFieldToFillIn:ad,pleaseChooseAtLeastOne:rd,pleaseEnterButtonContent:ld,pleaseEnterDataCodeInDataSetting:od,pleaseEnterValueFieldCodeInDataSetting:cd,pleaseEnterSvcCodeInDataSetting:sd,pleaseBindAtLeastOneDisplayValueInDataSetting:dd,rootNodeIsRequiredInDataSetting:fd,pleaseEnterMaxHeight:hd,pleaseEnter:yd,pleaseEnterWatermark:md,pleaseEnterFileName:vd,pleaseUploadAtLeastOnePrintTemplate:gd,pleaseAssignBusiness:bd,pleaseAssignExternal:_d},wd="Please enter a number",Cd="Please enter a string",Id="Please enter an object",Sd="Please enter an array",Ad="Please enter a boolean",Td="{caption} Required",Bd="Please enter the title",Rd="Please enter the bubble prompt",Dd="Please enter the row title",xd="Please enter the prompt text",Pd="Please bind data items",Fd="Please bind the form",kd="Please bind the list",Od="Please bind the process",Md="Please enter the displayed value",Ld="Please enter the stored value",Nd="The document number is not bound to the data item",$d="Please select at least one display field",Vd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Hd="Please enter a value greater than or equal to {min}",qd="Please enter a value less than or equal to {max}",jd="The value range is set incorrectly",Ud="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Wd="The attachment size must be between 0MB and 1000MB",Kd="Please fill in the total score setting",zd="The total score cannot be less than 1",Gd="The default value must be between {min} and {max}",Xd="The number of attachments uploaded must be between {min} and {max}",Qd="Please re-select the optional quantity",Jd="The maximum length of the control must be greater than the minimum length",Zd="The minimum length of the control must be less than the maximum length",Yd="Please select the correct option setting",pd="Option ID cannot be repeated",ef="Please enter at least one option",tf="Please bind the data source",nf="Please bind the stored value",uf="Please bind the service",af="At least one display value must be bound",rf="Please select a province",lf="Please select a city",of="Please select a district",cf="The minimum number of lines to fill in cannot be less than 0",sf="The number of rows cannot be less than {min} rows",df="Please enter the column width",ff="Please set the logical relationship of all rule conditions",hf="Please complete all rules and conditions",yf="please select control",mf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",vf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",gf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",bf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",_f="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ef="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Cf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",If="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Sf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Tf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Bf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Rf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Df="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",xf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Pf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Ff="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",kf={isNotNumber:wd,isNotString:Cd,isNotObject:Id,isNotArray:Sd,isNotBoolean:Ad,runtimeRequired:Td,pleaseEnterCaption:Bd,pleaseEnterCaptionTip:Rd,pleaseEnterRowCaption:Dd,pleaseEnterPlaceholder:xd,pleaseEnterFieldCode:Pd,pleaseEnterForm:Fd,pleaseEnterList:kd,pleaseEnterProcess:Od,pleaseEnterLabel:Md,pleaseEnterValue:Ld,bizKeyNotBindFiled:Nd,pleaseSelectOneField:$d,pleaseEnterNumberRange:Vd,pleaseEnterAValueGreaterThanMin:Hd,pleaseEnterAValueLessThanMax:qd,numberRangeSetError:jd,stringRangeError:Ud,attachmentMaxSize:Wd,pleaseEnterTotalScoreSetting:Kd,theTotalScoreMustNotBeLessThan1:zd,scoreDefaultValueRange:Gd,attachmentLimitError:Xd,PleaseReselectTheOptionalQuantity:Qd,TheMaximumLengthIsGreaterThanTheMinimumLength:Jd,TheMinimumLengthIsGreaterThanTheMaximumLength:Zd,PleaseSelectTheCorrectOptionSettings:Yd,optionIdIsRepeat:pd,optionIsRequired:ef,pleaseEnterDataCode:tf,pleaseEnterValueFieldCode:nf,pleaseEnterSvcCode:uf,pleaseBindAtLeastOneDisplayValue:af,pleaseSelectProvince:rf,pleaseSelectCity:lf,pleaseSelectDistrict:of,limitRowsCannotBeLessThan0:cf,TheNumberOfRowsCannotBeLessThanMinRows:sf,pleaseEnterColumnWidth:df,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ff,pleaseCompleteAllRulesAndConditions:hf,pleaseSelectControl:yf,pleaseSelectDashboard:mf,theViewNameCannotBeEmpty:vf,pleaseSelectOcrType:gf,pleaseSelectAtLeastOneFieldToFillIn:bf,pleaseChooseAtLeastOne:_f,pleaseEnterButtonContent:Ef,pleaseEnterDataCodeInDataSetting:wf,pleaseEnterValueFieldCodeInDataSetting:Cf,pleaseEnterSvcCodeInDataSetting:If,pleaseBindAtLeastOneDisplayValueInDataSetting:Sf,rootNodeIsRequiredInDataSetting:Af,pleaseEnterMaxHeight:Tf,pleaseEnter:Bf,pleaseEnterWatermark:Rf,pleaseEnterFileName:Df,pleaseUploadAtLeastOnePrintTemplate:xf,pleaseAssignBusiness:Pf,pleaseAssignExternal:Ff},Of="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Lf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nf="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vf="{caption}\u5FC5\u9808",Hf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jf="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",zf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Gf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Xf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Qf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Jf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Zf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Yf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",pf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",eh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",th="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",nh="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ih="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",uh="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ah="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",rh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",lh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",oh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ch="\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",sh="\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",dh="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",fh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",hh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",yh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",gh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",bh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",_h="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Eh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ch="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ih="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ah="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Th="please select control",Bh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Rh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Dh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",xh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ph="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Fh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",kh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Oh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Mh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Lh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",$h="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Vh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Hh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",qh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",jh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Uh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Wh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Kh={isNotNumber:Of,isNotString:Mf,isNotObject:Lf,isNotArray:Nf,isNotBoolean:$f,runtimeRequired:Vf,pleaseEnterCaption:Hf,pleaseEnterCaptionTip:qf,pleaseEnterRowCaption:jf,pleaseEnterPlaceholder:Uf,pleaseEnterFieldCode:Wf,pleaseEnterForm:Kf,pleaseEnterList:zf,pleaseEnterProcess:Gf,pleaseEnterLabel:Xf,pleaseEnterValue:Qf,bizKeyNotBindFiled:Jf,pleaseSelectOneField:Zf,pleaseEnterNumberRange:Yf,pleaseEnterAValueGreaterThanMin:pf,pleaseEnterAValueLessThanMax:eh,numberRangeSetError:th,stringRangeError:nh,attachmentMaxSize:ih,pleaseEnterTotalScoreSetting:uh,theTotalScoreMustNotBeLessThan1:ah,scoreDefaultValueRange:rh,attachmentLimitError:lh,PleaseReselectTheOptionalQuantity:oh,TheMaximumLengthIsGreaterThanTheMinimumLength:ch,TheMinimumLengthIsGreaterThanTheMaximumLength:sh,PleaseSelectTheCorrectOptionSettings:dh,optionIdIsRepeat:fh,optionIsRequired:hh,pleaseEnterDataCode:yh,pleaseEnterValueFieldCode:mh,pleaseEnterSvcCode:vh,pleaseBindAtLeastOneDisplayValue:gh,pleaseSelectProvince:bh,pleaseSelectCity:_h,pleaseSelectDistrict:Eh,limitRowsCannotBeLessThan0:wh,TheNumberOfRowsCannotBeLessThanMinRows:Ch,pleaseEnterColumnWidth:Ih,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Sh,pleaseCompleteAllRulesAndConditions:Ah,pleaseSelectControl:Th,pleaseSelectDashboard:Bh,theViewNameCannotBeEmpty:Rh,pleaseSelectOcrType:Dh,pleaseSelectAtLeastOneFieldToFillIn:xh,pleaseChooseAtLeastOne:Ph,pleaseEnterButtonContent:Fh,pleaseEnterDataCodeInDataSetting:kh,pleaseEnterValueFieldCodeInDataSetting:Oh,pleaseEnterSvcCodeInDataSetting:Mh,pleaseBindAtLeastOneDisplayValueInDataSetting:Lh,rootNodeIsRequiredInDataSetting:Nh,pleaseEnterMaxHeight:$h,pleaseEnter:Vh,pleaseEnterWatermark:Hh,pleaseEnterFileName:qh,pleaseUploadAtLeastOnePrintTemplate:jh,pleaseAssignBusiness:Uh,pleaseAssignExternal:Wh},zh={zhCN:Ed,enUS:kf,jaJP:Kh},Er;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Er||(Er={}));var wr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(wr||(wr={}));var Gh="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ot;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ot||(ot={}));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.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.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 ne;ne={},re(ne,g.ARRAY,C.ARRAY_COLUMN),re(ne,g.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),re(ne,g.DECIMAL,C.DECIMAL_COLUMN),re(ne,g.DEPARTMENTS,C.DEPARTMENT_COLUMN),re(ne,g.FILE,C.FILE_COLUMN),re(ne,g.IMAGE,C.IMAGE_COLUMN),re(ne,g.ADDRESS,C.LOCATION_COLUMN),re(ne,g.EMPLOYEES,C.EMPLOYEE_COLUMN),re(ne,g.TEXT,C.TEXT_COLUMN),re(ne,g.TIMESCOPE,C.TIMESCOPE_COLUMN),re(ne,g.TIMESTAMP,C.TIMESTAMP_COLUMN),re(ne,g.VARCHAR,C.VARCHAR_COLUMN),re(ne,g.RELATION,C.VARCHAR_COLUMN);var Te;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Te||(Te={}));var Cr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Xh=Cr+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Cr:Xh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function su(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 Qh(t){if(Array.isArray(t))return su(t)}function Jh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ir(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e,n){return Tr()?Pn=Reflect.construct:Pn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Tt(o,r.prototype),o},Pn.apply(null,arguments)}function At(t){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(t)}function Sr(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&&Tt(t,e)}function Zh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Yh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ph(){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 ey(t,e){return e&&(ty(e)==="object"||typeof e=="function")?e:Jh(t)}function Tt(t,e){return Tt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tt(t,e)}function Ar(t){return Qh(t)||Yh(t)||ny(t)||ph()}function ty(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ny(t,e){if(!!t){if(typeof t=="string")return su(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 su(t,e)}}function du(t){var e=typeof Map=="function"?new Map:void 0;return du=function(i){if(i===null||!Zh(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 Pn(i,arguments,At(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Tt(u,i)},du(t)}function Tr(){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 Br(t){var e=Tr();return function(){var i=At(t),u;if(e){var a=At(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ey(this,u)}}var fu=console;function hu(){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=fu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ar(u)))}function Rr(){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=fu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ar(u)))}function iy(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var yu=function(t){Sr(n,t);var e=Br(n);function n(i){Ir(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?iy(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(du(Error)),uy=function(t){Sr(n,t);var e=Br(n);function n(i){Ir(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(yu);function Bt(t){throw new yu(t)}function Dr(t){throw new uy(t)}function ay(t){fu.error(new yu(t))}var ry=Object.prototype.toString;function xr(t,e){return ry.call(t)==="[object "+e+"]"}function ly(t){return xr(t,"String")}function oy(t){return xr(t,"Promise")}var cy=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();oy(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,a,r,l){if(u!==void 0){var s=u[a];if(!(r===l.length-1&&!ly(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 a=n[u];return a!==void 0?String(a):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 sy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(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 dy(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(t,n),t}function fy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){sy(this,t)}return dy(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Gh;return new cy({locale:n,messages:zh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();fy(f,"$i18n",f.resetI18n());function hy(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){hu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===s.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var yy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},my={exports:{}};(function(t){(function(e){var n=function(m,w,B){if(!o(w)||v(w)||b(w)||E(w)||s(w))return w;var x,F=0,ce=0;if(d(w))for(x=[],ce=w.length;F<ce;F++)x.push(n(m,w[F],B));else{x={};for(var k in w)Object.prototype.hasOwnProperty.call(w,k)&&(x[m(k,B)]=n(m,w[k],B))}return x},i=function(m,w){w=w||{};var B=w.separator||"_",x=w.split||/(?=[A-Z])/;return m.split(x).join(B)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,B){return B?B.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var w=u(m);return w.substr(0,1).toUpperCase()+w.substr(1)},r=function(m,w){return i(m,w).toLowerCase()},l=Object.prototype.toString,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},b=function(m){return l.call(m)=="[object RegExp]"},E=function(m){return l.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},_=function(m,w){var B=w&&"process"in w?w.process:w;return typeof B!="function"?m:function(x,F){return B(x,m,F)}},S={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,w){return n(_(u,w),m)},decamelizeKeys:function(m,w){return n(_(r,w),m,w)},pascalizeKeys:function(m,w){return n(_(a,w),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(yy)})(my);var Fr={};Object.defineProperty(Fr,"__esModule",{value:!0});function mu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:mu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:mu(i)}return e}}var vy=Fr.default=mu;function Be(t){if(t!==void 0)return typeof t=="object"?vy(t):t}function gy(t){return Object.prototype.toString.call(t)==="[object Object]"}function vu(t){return Array.isArray(t)}function by(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function gu(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 _y(t){if(Array.isArray(t))return gu(t)}function kr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Ey(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){kr(a,i,u,r,l,"next",s)}function l(s){kr(a,i,u,r,l,"throw",s)}r(void 0)})}}function wy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Or(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 Cy(t,e,n){return e&&Or(t.prototype,e),n&&Or(t,n),t}function Mr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Iy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Sy(){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 bu(t){return _y(t)||Iy(t)||Ay(t)||Sy()}function Ay(t,e){if(!!t){if(typeof t=="string")return gu(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 gu(t,e)}}function Ty(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var By=function(){function t(){wy(this,t),Mr(this,"_events",new Map),Mr(this,"debug",!1)}return Cy(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return Ey(function(){var l,s,o,d,v,b,E,I,_,S,m,w;return Ty(this,function(B){switch(B.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,b=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),E=o[Symbol.iterator](),B.label=2;case 2:if(d=(I=E.next()).done)return[3,7];if(_=I.value,!l.includes(_))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),r.debug&&Rr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(bu(u))),[4,_.apply(null,bu(u))];case 4:return S=B.sent(),r.debug&&Rr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bu(u),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return m=B.sent(),ay(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=B.sent(),v=!0,b=w,[3,10];case 9:try{!d&&E.return!=null&&E.return()}finally{if(v)throw b}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Ry(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Lr(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 Dy(t,e,n){return e&&Lr(t.prototype,e),n&&Lr(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}var Py=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Fy=function(){function t(){Ry(this,t)}return Dy(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();xy(Fy,"events",Py);function ky(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(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 Oy(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(t,n),t}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var $r=[],_u=function(){function t(e){ky(this,t),$e(this,"registeredControlTypes",new Set),$e(this,"controlConfigMap",new Map),$e(this,"_controls",[]),$e(this,"_type",void 0),this._type=e,this._initControls(e)}return Oy(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Bt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(hu("The ".concat(n.controlType," is repeat register, So it overwrites the one that was registered before.")),this._controls.splice(i,1)),this.registeredControlTypes.add(n.controlType),this._controls.push(n),this}},{key:"isLayoutControl",value:function(n){return n.controlType===ot.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ot.FORM}},{key:"isListControl",value:function(n){return n.controlType===ot.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ot.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var a=this.getControlFormType(n.type);if(a){var r=n;if(typeof i=="function"){var l=i(r);l&&(r=l)}var s=new a(r);return s}else Bt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&Bt("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(hu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();$e(_u,"staticControls",$r),$e(_u,"staticRegisteredTypes",new Set($r.map(function(t){return t.Designer.controlType}))),$e(_u,"staticRegisteredConfigs",new Map);function O(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(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&&Eu(t,e)}function Vr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function My(t,e){return e&&(Ly(e)==="object"||typeof e=="function")?e:O(t)}function Eu(t,e){return Eu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Eu(t,e)}function Ly(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ny(){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=Ny();return function(){var i=Fn(t),u;if(e){var a=Fn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return My(this,u)}}var ye=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);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:""},Hr=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},wu=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"width",void 0),h(O(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(Hr),$y=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new wu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new wu(e==null?void 0:e.mobile):new wu({width:130,minWidth:180})},Vy=function t(e){A(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},Cu=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);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:""},Hy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Cu),qr=function t(e){A(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Iu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var 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 a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new qr(r)}))!==null&&a!==void 0?a:[]},qy=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);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},jy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"title",void 0),h(O(u),"svcCode",void 0),h(O(u),"isOpenFilter",void 0),h(O(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";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}(Cu),Uy=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new Cu(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(r){return new qy(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new jy(r)}))!==null&&a!==void 0?a:[]},Wy=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Rt=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);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:[]},jr=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"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 d,v=new Su(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Su=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be();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 a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Wy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Rt(e==null?void 0:e.rightVariableBo)},ae=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);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 a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Au=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);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},Ky=function t(e){A(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);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 Tu(t){var e,n,i;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new jr(l):new Su(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new jr(l):new Su(l)}))!==null&&u!==void 0?u:[],Vr(this,Z)||Vr(this,Ru)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new Ky(l)}))!==null&&r!==void 0?r:[]}}var Z=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);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 a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Au(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Tu.call(this,e)},Bu=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},Ve=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},Ur=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var 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 a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Au(r)}))!==null&&a!==void 0?a:[]},kn=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new Ur(l)}))!==null&&r!==void 0?r:[],u}return n}(Z),zy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(O(u),"attributes",void 0),h(O(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(s){return new Ur(s)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(Z),Wr=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"rootNode",void 0),h(O(u),"filterCode",void 0),u.rootNode=new Rt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(kn),Kr=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);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 a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new ae(r)}))!==null&&a!==void 0?a:[]},Ru=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(O(u),"filters",void 0),h(O(u),"viewFilters",void 0),h(O(u),"orders",void 0),Tu.call(O(u),i),u}return n}(Kr),zr=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(O(u),"mode",void 0),h(O(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(Kr),Gr=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);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:""},Gy=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be(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 _e(t){var e;return(e=t==null?void 0:t.map(function(n){return new Gy(n)}))!==null&&e!==void 0?e:[]}var Du=function t(){A(this,t)},Xy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"amount",void 0),h(O(u),"currency",void 0),u.amount=new ye(i==null?void 0:i.amount),u.currency=new ye(i==null?void 0:i.currency),u}return n}(Du),Qy=function t(e){A(this,t),h(this,"amount",void 0),h(this,"currency",void 0);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:On.CNY},Jy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"min",void 0),h(O(u),"max",void 0),u.min=new ye(i==null?void 0:i.min),u.max=new ye(i==null?void 0:i.max),u}return n}(Du),Zy=function t(e){A(this,t),h(this,"min",void 0),h(this,"max",void 0);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:""},Yy=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);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 a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},py=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(O(u),"result",void 0),h(O(u),"unit",void 0),u.result=new ye(i==null?void 0:i.result),u.unit=new ye(i==null?void 0:i.unit),u}return n}(Du),em=function t(e){A(this,t),h(this,"result",void 0),h(this,"unit",void 0);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:""},On;(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"})(On||(On={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste"})(c||(c={}));var xu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(xu||(xu={}));var Re=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},tm=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new qr(r)}))!==null&&a!==void 0?a:[],Tu.call(this,e)},nm=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);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 a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"};function im(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mn(t,e,n){return Xr()?Mn=Reflect.construct:Mn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&xt(o,r.prototype),o},Mn.apply(null,arguments)}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Dt(t){return Dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dt(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&&xt(t,e)}function am(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function rm(t,e){return e&&(lm(e)==="object"||typeof e=="function")?e:im(t)}function xt(t,e){return xt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xt(t,e)}function lm(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fu(t){var e=typeof Map=="function"?new Map:void 0;return Fu=function(i){if(i===null||!am(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 Mn(i,arguments,Dt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),xt(u,i)},Fu(t)}function Xr(){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=Xr();return function(){var i=Dt(t),u;if(e){var a=Dt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rm(this,u)}}var U=function t(e){Pu(this,t),He(this,"isHide",{type:"boolean"})},qe=function(t){um(n,t);var e=om(n);function n(i){return Pu(this,n),e.call(this)}return n}(Fu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Pu(this,t),He(this,"isHide",void 0),He(this,"className",void 0),He(this,"style",void 0),He(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new nm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};He(G,"Rules",U),He(G,"RuntimeRules",qe);function ve(){return ve=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},ve.apply(this,arguments)}function cm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ku(t){return ku=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ku(t)}function Ln(t,e){return Ln=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ln(t,e)}function sm(){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 Nn(t,e,n){return sm()?Nn=Reflect.construct:Nn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Ln(o,r.prototype),o},Nn.apply(null,arguments)}function dm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ou(t){var e=typeof Map=="function"?new Map:void 0;return Ou=function(i){if(i===null||!dm(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 Nn(i,arguments,ku(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ln(u,i)},Ou(t)}var fm=/%[sdj%]/g,Qr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Qr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Mu(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 le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(fm,function(l){if(l==="%%")return"%";if(i>=a)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 r}return u}function hm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function W(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||hm(e)&&typeof t=="string"&&!t)}function ym(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function Jr(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function mm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Zr=function(t){cm(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}(Ou(Error));function vm(t,e,n,i){if(e.first){var u=new Promise(function(v,b){var E=function(S){return i(S),S.length?b(new Zr(S,Mu(S))):v()},I=mm(t);Jr(I,n,E)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,s=0,o=[],d=new Promise(function(v,b){var E=function(_){if(o.push.apply(o,_),s++,s===l)return i(o),o.length?b(new Zr(o,Mu(o))):v()};r.length||(i(o),v()),r.forEach(function(I){var _=t[I];a.indexOf(I)!==-1?Jr(_,n,E):ym(_,n,E)})});return d.catch(function(v){return v}),d}function Yr(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 pr(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]=ve(ve({},t[n]),i):t[n]=i}}return t}function el(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||W(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function gm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Lu={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},Pt={integer:function(e){return Pt.number(e)&&parseInt(e,10)===e},float:function(e){return Pt.number(e)&&!Pt.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"&&!Pt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Lu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Lu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Lu.hex)}};function bm(t,e,n,i,u){if(t.required&&e===void 0){el(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?Pt[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function _m(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",b=typeof e=="string",E=Array.isArray(e);if(v?d="number":b?d="string":E&&(d="array"),!d)return!1;E&&(o=e.length),b&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var ct="enum";function Em(t,e,n,i,u){t[ct]=Array.isArray(t[ct])?t[ct]:[],t[ct].indexOf(e)===-1&&i.push(le(u.messages[ct],t.fullField,t[ct].join(", ")))}function wm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:el,whitespace:gm,type:bm,range:_m,enum:Em,pattern:wm};function Cm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),W(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Im(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Sm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Am(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Tm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),W(e)||T.type(t,e,i,a,u)}n(a)}function Bm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Rm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Dm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function xm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Pm="enum";function Fm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Pm](t,e,i,a,u)}n(a)}function km(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),W(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Om(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function Mm(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function Nu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),W(e,a)||T.type(t,e,i,r,u)}n(r)}function Lm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Ft={string:Cm,method:Im,number:Sm,boolean:Am,regexp:Tm,integer:Bm,float:Rm,array:Dm,object:xm,enum:Fm,pattern:km,date:Om,url:Nu,hex:Nu,email:Nu,required:Mm,any:Lm};function $u(){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 Vu=$u();function De(t){this.rules=null,this._messages=Vu,this.define(t)}De.prototype={messages:function(e){return e&&(this._messages=pr($u(),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 a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(_){var S,m=[],w={};function B(x){if(Array.isArray(x)){var F;m=(F=m).concat.apply(F,x)}else m.push(x)}for(S=0;S<_.length;S++)B(_[S]);m.length?w=Mu(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===Vu&&(o=$u()),pr(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,b={},E=r.keys||Object.keys(this.rules);E.forEach(function(_){d=u.rules[_],v=a[_],d.forEach(function(S){var m=S;typeof m.transform=="function"&&(a===e&&(a=ve({},a)),v=a[_]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ve({},m),m.validator=u.getValidationMethod(m),m.field=_,m.fullField=m.fullField||_,m.type=u.getType(m),m.validator&&(b[_]=b[_]||[],b[_].push({rule:m,value:v,source:a,field:_}))})});var I={};return vm(b,r,function(_,S){var m=_.rule,w=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");w=w&&(m.required||!m.required&&_.value),m.field=_.field;function B(ce,k){return ve(ve({},k),{},{fullField:m.fullField+"."+ce})}function x(ce){ce===void 0&&(ce=[]);var k=ce;if(Array.isArray(k)||(k=[k]),!r.suppressWarning&&k.length&&De.warning("async-validator:",k),k.length&&m.message!==void 0&&(k=[].concat(m.message)),k=k.map(Yr(m)),r.first&&k.length)return I[m.field]=1,S(k);if(!w)S(k);else{if(m.required&&!_.value)return m.message!==void 0?k=[].concat(m.message).map(Yr(m)):r.error&&(k=[r.error(m,le(r.messages.required,m.field))]),S(k);var se={};if(m.defaultField)for(var Bn in _.value)_.value.hasOwnProperty(Bn)&&(se[Bn]=m.defaultField);se=ve(ve({},se),_.rule.fields);for(var Ie in se)if(se.hasOwnProperty(Ie)){var ru=Array.isArray(se[Ie])?se[Ie]:[se[Ie]];se[Ie]=ru.map(B.bind(null,Ie))}var Rn=new De(se);Rn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Rn.validate(_.value,_.rule.options||r,function(Ct){var Se=[];k&&k.length&&Se.push.apply(Se,k),Ct&&Ct.length&&Se.push.apply(Se,Ct),S(Se.length?Se:null)})}}var F;m.asyncValidator?F=m.asyncValidator(m,_.value,x,_.source,r):m.validator&&(F=m.validator(m,_.value,x,_.source,r),F===!0?x():F===!1?x(m.message||m.field+" fails"):F instanceof Array?x(F):F instanceof Error&&x(F.message)),F&&F.then&&F.then(function(){return x()},function(ce){return x(ce)})},function(_){s(_)})},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(le("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}},De.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},De.warning=Qr,De.messages=Vu,De.validators=Ft;var Nm={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 $m(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new De(t);return n.messages(Object.assign(Nm,e)),n}var Vm=new By;function Hu(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 t}function qm(t){if(Array.isArray(t))return Hu(t)}function tl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function nl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){tl(a,i,u,r,l,"next",s)}function l(s){tl(a,i,u,r,l,"throw",s)}r(void 0)})}}function jm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function il(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 Um(t,e,n){return e&&il(t.prototype,e),n&&il(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ul(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function al(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Wm(){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 Km(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function rl(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){M(t,u,n[u])})}return t}function zm(t){return Hm(t)||al(t)||ll(t)||Wm()}function qu(t){return qm(t)||al(t)||ll(t)||Km()}function ll(t,e){if(!!t){if(typeof t=="string")return Hu(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 Hu(t,e)}}function ol(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var L=function(){function e(n){var i=this;jm(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",sl),M(this,"removeSetting",cl),this._callControlHooks("preInstance",n);var u=ul(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,b=u.setting;a&&r&&l||Dr("The ".concat(v," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:be(10),this.name=a,this.icon=r;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new G(n==null?void 0:n.props,(ul(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Be(b);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:s,this.eventKeys=Be(o),this.customEvents=Be(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return Um(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=zm(u),s=l[0],o=l.slice(1);return(r=Vm).emit.apply(r,[s,this].concat(qu(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),hy(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return nl(function(){var u,a,r;return ol(this,function(l){switch(l.label){case 0:return u=rl({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return nl(function(){var r,l,s,o;return ol(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:rl({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),s=$m(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,b=l.required,E=l.maxLength,I=l.options,_=l.encrypted,S=l.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=I;break}return b!==void 0&&(m.required=b),E!==void 0&&(m.maxLength=E),_!==void 0&&(m.encrypted=_),S!==void 0&&(m.encryptedMode=S),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Be(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,qu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(L,"controlName","\u63A7\u4EF6"),M(L,"controlIcon","icon"),M(L,"controlType","control"),M(L,"controlFieldType",void 0),M(L,"controlEventKeys",[]),M(L,"controlCustomEvents",[]),M(L,"setting",[]),M(L,"__is_control__",!0),M(L,"removeSettingItem",cl),M(L,"updateSettingItem",sl);function cl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function sl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,qu(e.showItems))}}}})}function Gm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function dl(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 Xm(t,e,n){return e&&dl(t.prototype,e),n&&dl(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Gm(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=Qm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Dr("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:be(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:xu.UNKNOWN}return Xm(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}();de(X,"controlType","control"),de(X,"controlFieldType",void 0),de(X,"__is_control__",!0),de(X,"controlCustomEvents",[]);function ju(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,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=by(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},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,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},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 $n(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(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},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 N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function qn(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 Jm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Zm(t,e){return e&&(Ym(e)==="object"||typeof e=="function")?e:N(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}function Ym(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pm(){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 jn(t){var e=pm();return function(){var i=Hn(t),u;if(e){var a=Hn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zm(this,u)}}var Y=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;u=e.call(this,i),$(N(u),"dataBind",{}),$(N(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),$(N(u),"isHideCaption",{type:"boolean"}),$(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),$(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),$(N(u),"required",{type:"boolean"}),$(N(u),"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(Jm(i.dataBind,ye))u.dataBind={type:"object",required:!0,fields:Be(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Be(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){qn(n,t);var e=jn(n);function n(i){Vn(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:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(qe),R=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;u=e.call(this,i),$(N(u),"caption",void 0),$(N(u),"isHideCaption",void 0),$(N(u),"isShowCaptionTip",void 0),$(N(u),"captionTip",void 0),$(N(u),"labelPosition",void 0),$(N(u),"dataBind",void 0),$(N(u),"defaultValue",void 0),$(N(u),"placeholder",void 0),$(N(u),"defaultState",void 0),$(N(u),"required",void 0),$(N(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!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 d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var E;u.requiredMessage=(E=i==null?void 0:i.requiredMessage)!==null&&E!==void 0?E:"",u.dataBind=new ye(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(G);$(R,"Rules",Y),$(R,"RuntimeRules",V);var st=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;return u=e.call(this,i),$(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),$(N(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),$(N(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(N(u),i),u}return n}(Y);function Wu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ev(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function tv(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&&Ku(t,e)}function nv(t,e){return e&&(iv(e)==="object"||typeof e=="function")?e:Wu(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}function iv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uv(){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 av(t){var e=uv();return function(){var i=Wn(t),u;if(e){var a=Wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return nv(this,u)}}var D=function(t){tv(n,t);var e=av(n);function n(i){ev(this,n);var u;return u=e.call(this,i),Un(Wu(u),"controlType","form"),Un(Wu(u),"props",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(L);Un(D,"controlEventKeys",["on_change","on_focus","on_blur"]),Un(D,"controlCustomAttributes",void 0);function Kn(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 zu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zn(t){return zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},zn(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&&Gu(t,e)}function ov(t,e){return e&&(cv(e)==="object"||typeof e=="function")?e:Kn(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}function cv(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 i=zn(t),u;if(e){var a=zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ov(this,u)}}var P=function(t){lv(n,t);var e=dv(n);function n(i){rv(this,n);var u;return u=e.call(this,i),zu(Kn(u),"controlType","form"),zu(Kn(u),"props",void 0),zu(Kn(u),"value",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(X);function fv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hv(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 yv(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&&Xu(t,e)}function mv(t,e){return e&&(vv(e)==="object"||typeof e=="function")?e:fv(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}function vv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function gv(){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 bv(t){var e=gv();return function(){var i=Gn(t),u;if(e){var a=Gn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mv(this,u)}}var q=function(t){yv(n,t);var e=bv(n);function n(i){return hv(this,n),e.call(this,i)}return n}(G);function Qu(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 _v(t){if(Array.isArray(t))return Qu(t)}function Ev(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wv(){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 fl(t){return _v(t)||Ev(t)||Cv(t)||wv()}function Cv(t,e){if(!!t){if(typeof t=="string")return Qu(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 Qu(t,e)}}function Iv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function hl(t,e){t.parent=e,Iv(t,"parent")}function Sv(t,e){t.forEach(function(n){hl(n,e)})}var yl=Symbol("targetKey");function ml(t){var e;return(e=t[yl])!==null&&e!==void 0?e:t}function vl(t,e){return Sv(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var s;return u===yl?i:(s=Reflect).get.apply(s,[i,u].concat(fl(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var o;if(vu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(fl(l)));return gy(a)&&hl(a,e),d}})}function Ee(t,e,n,i){var u=i!=null?i:t,a=vl(ml(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=vl(ml(l),u)},enumerable:!0})}function Ju(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 Av(t){if(Array.isArray(t))return Ju(t)}function je(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Tv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){gl(a,i,u,r,l,"next",s)}function l(s){gl(a,i,u,r,l,"throw",s)}r(void 0)})}}function Bv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(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 Rv(t,e,n){return e&&bl(t.prototype,e),n&&bl(t,n),t}function xe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,a,r){var l=Nv(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},dt(t,e,n||t)}function Pe(t){return Pe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pe(t)}function Dv(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&&Zu(t,e)}function xv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Pv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Fv(){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 kv(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){xe(t,u,n[u])})}return t}function Ov(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 Mv(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Ov(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Lv(t,e){return e&&($v(e)==="object"||typeof e=="function")?e:je(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function Nv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Pe(t),t!==null););return t}function _l(t){return Av(t)||Pv(t)||Vv(t)||Fv()}function $v(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vv(t,e){if(!!t){if(typeof t=="string")return Ju(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 Ju(t,e)}}function Hv(){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=Hv();return function(){var i=Pe(t),u;if(e){var a=Pe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lv(this,u)}}function jv(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var Uv=1e4,K=function(e){Dv(i,e);var n=qv(i);function i(u){Bv(this,i);var a;a=n.call(this,u),xe(je(a),"controlType","layout"),xe(je(a),"children",void 0),xe(je(a),"excludes",void 0),xe(je(a),"childrenMaxLength",void 0),xe(je(a),"props",void 0);var r=xv(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new q(u==null?void 0:u.props),Ee(je(a),"children",u==null?void 0:u.children),a.excludes=Be(l),a.childrenMaxLength=s,a}return Rv(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,s=this,o=function(){return dt(Pe(i.prototype),"validate",l)};return Tv(function(){return jv(this,function(d){switch(d.label){case 0:return[4,o().call(s,a,r)];case 1:return d.sent(),[4,Promise.all(s.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=dt(Pe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(s,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(b){return!!b});return _l(s).concat(_l(v))}return d&&s.push(d),s},l)}},{key:"toSchema",value:function(){var a=dt(Pe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return Mv(kv({},a),{children:r})}}]),i}(L);xe(K,"excludes",!1),xe(K,"childrenMaxLength",Uv);function kt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function Kv(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&&pu(t,e)}function zv(t,e){return e&&(Gv(e)==="object"||typeof e=="function")?e:kt(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function Gv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xv(){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=Xv();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zv(this,u)}}var Q=function(t){Kv(n,t);var e=Qv(n);function n(i){Wv(this,n);var u;return u=e.call(this,i),Yu(kt(u),"controlType","layout"),Yu(kt(u),"children",void 0),Yu(kt(u),"props",void 0),u.props=new q(i==null?void 0:i.props),Ee(kt(u),"children",i==null?void 0:i.children),u}return n}(X);function ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function Yv(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&&ta(t,e)}function pv(t,e){return e&&(eg(e)==="object"||typeof e=="function")?e:ea(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function eg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tg(){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=tg();return function(){var i=Qn(t),u;if(e){var a=Qn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return pv(this,u)}}var Jn=function(t){Yv(n,t);var e=ng(n);function n(i,u){Jv(this,n);var a;return a=e.call(this,u),Zv(ea(a),"headers",void 0),Ee(ea(a),"headers",u==null?void 0:u.headers,i),a}return n}(G);function na(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 ig(t){if(Array.isArray(t))return na(t)}function Zn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function El(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ug(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){El(a,i,u,r,l,"next",s)}function l(s){El(a,i,u,r,l,"throw",s)}r(void 0)})}}function ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wl(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 rg(t,e,n){return e&&wl(t.prototype,e),n&&wl(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ft(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ft=Reflect.get:ft=function(u,a,r){var l=fg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r||u):s.value}},ft(t,e,n||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(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&&ia(t,e)}function og(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cg(){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 Cl(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){Yn(t,u,n[u])})}return t}function sg(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 Il(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function dg(t,e){return e&&(hg(e)==="object"||typeof e=="function")?e:Zn(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function fg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function Sl(t){return ig(t)||og(t)||yg(t)||cg()}function hg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yg(t,e){if(!!t){if(typeof t=="string")return na(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 na(t,e)}}function mg(){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 vg(t){var e=mg();return function(){var i=Fe(t),u;if(e){var a=Fe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dg(this,u)}}function gg(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)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 r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}}var ua=function(t){lg(n,t);var e=vg(n);function n(i){ag(this,n);var u;return u=e.call(this,i),Yn(Zn(u),"controlType","list"),Yn(Zn(u),"props",void 0),u.props=new Jn(Zn(u),i==null?void 0:i.props),u}return rg(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return ft(Fe(n.prototype),"validate",r)};return ug(function(){return gg(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=ft(Fe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Sl(l).concat(Sl(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=ft(Fe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Il(Cl({},u),{props:Il(Cl({},this.props),{headers:a})})}}]),n}(L);Yn(ua,"controlFieldType",g.LIST);function ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Al(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 _g(t,e,n){return e&&Al(t.prototype,e),n&&Al(t,n),t}function aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function Eg(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&&ra(t,e)}function wg(t,e){return e&&(Cg(e)==="object"||typeof e=="function")?e:ht(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function Cg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ig(){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 Sg(t){var e=Ig();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return wg(this,u)}}var Tl=function(t){Eg(n,t);var e=Sg(n);function n(i){bg(this,n);var u;return u=e.call(this,i),aa(ht(u),"controlType","list"),aa(ht(u),"children",void 0),aa(ht(u),"props",void 0),u.props=new Jn(ht(u),i==null?void 0:i.props),Ee(ht(u),"children",i==null?void 0:i.children),u}return _g(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function la(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function oa(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&&ca(t,e)}function Ag(t,e){return e&&(Tg(e)==="object"||typeof e=="function")?e:J(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function Tg(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 sa(t){var e=Bg();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ag(this,u)}}var we=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;return u=e.call(this,i),p(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),p(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;u=e.call(this,i),p(J(u),"widthType",void 0),p(J(u),"width",void 0),p(J(u),"caption",void 0),p(J(u),"dataBind",void 0),p(J(u),"autoWidth",void 0),p(J(u),"fixed",void 0),p(J(u),"sort",void 0),p(J(u),"align",void 0),p(J(u),"colSpan",void 0),p(J(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new Hr(i==null?void 0:i.autoWidth),u.dataBind=new ye(i==null?void 0:i.dataBind);var s;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;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);p(z,"Rules",we);var Bl=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;return u=e.call(this,i),p(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),p(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),p(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(J(u),i),u}return n}(we);function da(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 Rl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(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&&fa(t,e)}function xg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:da(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function Pg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fg(){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 kg(t){var e=Fg();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xg(this,u)}}var ee=function(t){Dg(n,t);var e=kg(n);function n(i){Rg(this,n);var u;return u=e.call(this,i),Rl(da(u),"controlType","column"),Rl(da(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(L);function ha(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Og(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function Mg(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&&ya(t,e)}function Lg(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:ha(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function Ng(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $g(){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 Vg(t){var e=$g();return function(){var i=ni(t),u;if(e){var a=ni(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lg(this,u)}}var te=function(t){Mg(n,t);var e=Vg(n);function n(i){Og(this,n);var u;return u=e.call(this,i),Dl(ha(u),"controlType","column"),Dl(ha(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function xl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function jg(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&&ma(t,e)}function Ug(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:xl(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function Wg(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 zg(t){var e=Kg();return function(){var i=ii(t),u;if(e){var a=ii(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ug(this,u)}}var va=function(t){jg(n,t);var e=zg(n);function n(i){Hg(this,n);var u;return u=e.call(this,i),qg(xl(u),"dataBind",void 0),u.dataBind=new ye(i==null?void 0:i.dataBind),u}return n}(q);function ga(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 Pl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function Xg(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&&ba(t,e)}function Qg(t,e){return e&&(Jg(e)==="object"||typeof e=="function")?e:ga(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function Jg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zg(){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 Yg(t){var e=Zg();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qg(this,u)}}var pg=function(t){Xg(n,t);var e=Yg(n);function n(i){Gg(this,n);var u;return u=e.call(this,i),Pl(ga(u),"controlType","search"),Pl(ga(u),"props",void 0),u.props=new va(i==null?void 0:i.props),u}return n}(K);function _a(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function t0(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&&Ea(t,e)}function n0(t,e){return e&&(i0(e)==="object"||typeof e=="function")?e:_a(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function i0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function a0(t){var e=u0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return n0(this,u)}}var r0=function(t){t0(n,t);var e=a0(n);function n(i){e0(this,n);var u;return u=e.call(this,i),Fl(_a(u),"controlType","search"),Fl(_a(u),"props",void 0),u.props=new va(i==null?void 0:i.props),u}return n}(Q);function Ue(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class wa extends G{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class kl extends L{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}kl.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 l0 extends X{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"text"}}var Ol={Designer:kl,Runtime:l0,Property:wa};class Ca extends G{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 Ia extends L{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ia.controlEventKeys=["on_click"],Ia.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 o0 extends X{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ml={Designer:Ia,Runtime:o0,Property:Ca};class ie extends G{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"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 ue extends L{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.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 oe extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var Ll={Designer:ue,Runtime:oe,Property:ie},ke=(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.ShowTitle="is_show_title",t))(ke||{}),Nl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Nl||{}),$l=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))($l||{});class ri{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Sa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Sa||{});class li{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Aa=(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))(Aa||{});class Ta{constructor(e){var n,i,u,a,r,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Rt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Rt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Rt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Vl{constructor(e){var n,i,u,a,r,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 Ta(s)))!=null?u:[new Ta],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Ba{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:be(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=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ra{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 Hl{constructor(e){var n,i,u,a;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=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ra(e==null?void 0:e.watermark),this.autoRename=new Ra(e==null?void 0:e.autoRename)}}const ql=480;function Ot(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class jl{constructor(e){var n,i,u,a,r;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=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class Ul{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 Wl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Wl||{}),Da=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Da||{}),oi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(oi||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),xa=(t=>(t.ALL="all",t.ADMIN="admin",t))(xa||{});class Pa extends G{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:Aa.SOLID}}class Kl extends L{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Kl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class c0 extends X{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var zl={Designer:Kl,Runtime:c0,Property:Pa};class s0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(ke.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")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class ci extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[ke.ShowSubmitUser,ke.ShowSubmitDept,ke.ShowSubmitTime,ke.ShowCurrentApprovar,ke.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}ci.Rules=s0;class yt extends L{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}yt.controlFieldType=g.AUTO_NUMBER,yt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class d0 extends X{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"title"}}var Gl={Designer:yt,Runtime:d0,Property:ci};class f0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class si extends ie{constructor(e){var n,i,u,a;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.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}si.Rules=f0;class Mt extends ue{constructor(e){super(e),this.props=new si(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"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.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 h0 extends oe{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Xl={Designer:Mt,Runtime:h0,Property:si};class y0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class di extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Lt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Lt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}di.Rules=y0;class Lt extends ue{constructor(e){super(e),this.props=new di(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"}}Lt.controlEventKeys=["on_click","on_click_finish"],Lt.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 m0 extends oe{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Ql={Designer:Lt,Runtime:m0,Property:di};class Fa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Nt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Nt.controlIcon}}class Nt extends ue{constructor(e){super(e),this.props=new Fa(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"}}Nt.controlEventKeys=["on_click"],Nt.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 v0 extends oe{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Jl={Designer:Nt,Runtime:v0,Property:Fa};class ka extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:$t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:$t.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Ba(r)))!=null?a:[new Ba({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class $t extends ue{constructor(e){super(e),this.props=new ka(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"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.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 g0 extends oe{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Zl={Designer:$t,Runtime:g0,Property:ka};class Oa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Vt.controlIcon}}class Vt extends ue{constructor(e){super(e),this.props=new Oa(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"}}Vt.controlEventKeys=["on_click"],Vt.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 b0 extends oe{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Yl={Designer:Vt,Runtime:b0,Property:Oa};class _0{constructor(e){this.dataCode=e.dataCode}}class Ma extends ie{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ht.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new _0(r)))!=null?a:[]}}class Ht extends ue{constructor(e){super(e),this.props=new Ma(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"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 E0 extends oe{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var pl={Designer:Ht,Runtime:E0,Property:Ma};function fi(){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 w0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},fi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ae({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class hi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Ru(e==null?void 0:e.fillPayload),this.formBind=new Hy(e==null?void 0:e.formBind),this.fillBack=new zr(e==null?void 0:e.fillBack)}}hi.Rules=w0;class qt extends ue{constructor(e){super(e),this.props=new hi(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"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.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 C0 extends oe{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var eo={Designer:qt,Runtime:C0,Property:hi};class I0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},fi())},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:Ae({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())}}}class yi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon,this.fillPayload=new Ru(e==null?void 0:e.fillPayload),this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.fillBack=new zr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig)}}yi.Rules=I0;class jt extends ue{constructor(e){super(e),this.props=new yi(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"}}jt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],jt.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 S0 extends oe{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var to={Designer:jt,Runtime:S0,Property:yi};class A0 extends U{constructor(e){super(e)}}class T0 extends qe{constructor(e){super(e)}}class Ut extends G{constructor(e){super(e)}}Ut.Rules=A0,Ut.RuntimeRules=T0;class no extends L{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}no.setting=[];class B0 extends X{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var io={Designer:no,Runtime:B0,Property:Ut};class R0 extends U{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 mi extends G{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}mi.Rules=R0;class uo extends L{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}uo.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 D0 extends X{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var ao={Designer:uo,Runtime:D0,Property:mi};class x0 extends U{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 vi extends G{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(a=>new tm(a)))!=null?u:[]}}vi.Rules=x0;class ro extends L{constructor(e){super(e),this.props=new vi(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"}}ro.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class P0 extends X{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var lo={Designer:ro,Runtime:P0,Property:vi};class F0 extends U{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,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class gi extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mt.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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:mt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:mt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(b=>new ae(b)))!=null?v:[]}}gi.Rules=F0;class mt extends ue{constructor(e){super(e),this.props=new gi(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"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 k0 extends oe{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var oo={Designer:mt,Runtime:k0,Property:gi};class O0 extends U{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,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class bi extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vt.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=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:vt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:vt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(b=>new ae(b)))!=null?v:[]}}bi.Rules=O0;class vt extends ue{constructor(e){super(e),this.props=new bi(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"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.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 M0 extends oe{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var co={Designer:vt,Runtime:M0,Property:bi};class L0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class _i extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Wt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new jl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}_i.Rules=L0;class Wt extends ue{constructor(e){super(e),this.props=new _i(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"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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 N0 extends oe{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var so={Designer:Wt,Runtime:N0,Property:_i};class La extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Kt.controlIcon}}class Kt extends ue{constructor(e){super(e),this.props=new La(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"}}Kt.controlEventKeys=["on_click"],Kt.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 $0 extends oe{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var fo={Designer:Kt,Runtime:$0,Property:La};class V0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class Ei extends G{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Ei.Rules=V0;class wi extends L{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}wi.controlEventKeys=["on_click"],wi.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 H0 extends X{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ho={Designer:wi,Runtime:H0,Property:Ei};class Na extends G{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class zt extends L{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}zt.controlEventKeys=["on_click"],zt.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 q0 extends X{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var yo={Designer:zt,Runtime:q0,Property:Na},j0=Object.freeze({__proto__:null,Text:Ol,Link:Ml,Button:Ll,Divider:zl,Title:Gl,CreateFormListButton:Xl,BatchSubmissionListButton:Ql,SubmissionRecordListButton:Jl,ExportListButton:Zl,ExportRecordListButton:Yl,ImportRecordListButton:pl,FormSelectButton:eo,ListSelectButton:to,Pagination:io,Dashboard:ao,ListViewSelect:lo,TextOcrButton:oo,InvoiceCheckButton:co,BatchPrintListButton:so,BatchPrintRecordListButton:fo,OperationButton:ho,BatchDeleteButton:yo});class U0 extends Y{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=Ot(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class W0 extends V{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:Ot(e.regularRules.expression),message:e.regularRules.errMessage})}}class gt extends R{constructor(e){var n,i,u,a,r,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 Gr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:bt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\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:""}}gt.Rules=U0,gt.RuntimeRules=W0;class bt extends D{constructor(e){super(e),this.props=new gt(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"}}bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],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:"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 mo extends P{constructor(e){super(e),this.props=new gt(e==null?void 0:e.props)}static get controlType(){return"input"}}mo.controlFieldType=g.VARCHAR;var vo={Designer:bt,Runtime:mo,Property:gt};class K0 extends st{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class z0 extends V{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 Gt extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I;super(e),this.options=_e((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=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!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 Z(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Xt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(E=e==null?void 0:e.defaultShowOptions)!=null?E:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var S;(S=this.multistageFilling)==null||S.push(new ae(_))}))}}Gt.Rules=K0,Gt.RuntimeRules=z0;class Xt extends D{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=g.ARRAY,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:"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 go extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}go.controlFieldType=g.ARRAY;var bo={Designer:Xt,Runtime:go,Property:Gt};class G0 extends st{constructor(e){super(e)}}class Ci extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.options=_e((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=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!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 Z(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Qt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var I;(I=this.multistageFilling)==null||I.push(new ae(E))}))}}Ci.Rules=G0;class Qt extends D{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=g.VARCHAR,Qt.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 _o extends P{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"radio"}}_o.controlFieldType=g.VARCHAR;var Eo={Designer:Qt,Runtime:_o,Property:Ci};class X0 extends Y{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,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Ot(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Q0 extends V{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:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ot(e.regularRules.expression),message:e.regularRules.errMessage})}}class Jt extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I;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=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!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=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Zt.controlName,this.placeholder=(E=e==null?void 0:e.placeholder)!=null?E:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new Gr(e==null?void 0:e.regularRules)}}Jt.Rules=X0,Jt.RuntimeRules=Q0;class Zt extends D{constructor(e){super(e),this.props=new Jt(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}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=g.DECIMAL,Zt.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 wo extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"number"}}wo.controlFieldType=g.DECIMAL;var Co={Designer:Zt,Runtime:wo,Property:Jt};class $a extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ii.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(E=>new ri(E)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class Ii extends D{constructor(e){super(e),this.props=new $a(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}}Ii.controlFieldType=g.TIMESTAMP,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:"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 Io extends P{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Io.controlFieldType=g.TIMESTAMP;var So={Designer:Ii,Runtime:Io,Property:$a};class J0 extends V{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 Si extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.dataBind=new Jy(e==null?void 0:e.dataBind),this.defaultValue=new Zy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\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=(d=e==null?void 0:e.caption)!=null?d:Ai.controlName,this.limitDateList=(b=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(E=>new ri(E)))!=null?b:[]}}Si.RuntimeRules=J0;class Ai extends D{constructor(e){super(e),this.props=new Si(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}}Ai.controlFieldType=g.TIMESCOPE,Ai.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 Ao extends P{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Ao.controlFieldType=g.TIMESCOPE;var To={Designer:Ai,Runtime:Ao,Property:Si};class Z0 extends Y{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 Y0 extends V{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 Yt extends R{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Yt.Rules=Z0,Yt.RuntimeRules=Y0;class pt extends D{constructor(e){super(e),this.props=new Yt(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"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=g.TEXT,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:"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 Bo extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Bo.controlFieldType=g.TEXT;var Ro={Designer:pt,Runtime:Bo,Property:Yt};class p0 extends Y{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 eb extends V{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 en extends R{constructor(e){var n,i,u,a,r;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=(a=e==null?void 0:e.caption)!=null?a:tn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}en.Rules=p0,en.RuntimeRules=eb;class tn extends D{constructor(e){super(e),this.props=new en(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"}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=g.TEXT,tn.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 Do extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Do.controlFieldType=g.TEXT;var xo={Designer:tn,Runtime:Do,Property:en};class tb extends st{constructor(e){super(e)}}class Ti extends R{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.options=_e((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 Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Bi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\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.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var v;(v=this.multistageFilling)==null||v.push(new ae(d))}))}}Ti.Rules=tb;class Bi extends D{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Bi.controlFieldType=g.VARCHAR,Bi.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 Po extends P{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"select"}}Po.controlFieldType=g.VARCHAR;var Fo={Designer:Bi,Runtime:Po,Property:Ti};class nb extends st{constructor(e){super(e)}}class ib extends V{constructor(e){super(e),this[0].type="array"}}class nn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.options=_e((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 Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ri.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var d;(d=this.multistageFilling)==null||d.push(new ae(o))}))}}nn.Rules=nb,nn.RuntimeRules=ib;class Ri extends D{constructor(e){super(e),this.props=new nn(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"}}Ri.controlFieldType=g.ARRAY,Ri.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 ko extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}ko.controlFieldType=g.ARRAY;var Oo={Designer:Ri,Runtime:ko,Property:nn};class ub extends V{constructor(e){super(e),this[0].type="array"}}class Di extends R{constructor(e){var n,i,u,a,r,l,s,o,d;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=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:xi.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(v))}))}}Di.RuntimeRules=ub;class xi extends D{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}xi.controlFieldType=g.EMPLOYEES,xi.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 Mo extends P{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"employee"}}Mo.controlFieldType=g.EMPLOYEES;var Lo={Designer:xi,Runtime:Mo,Property:Di};const ab=10485760,rb=104857600,lb=1048576e3;class ob extends Y{constructor(e){super(e),this.maxSize={type:"number",min:0,max:lb,message:f.getMessage("attachmentMaxSize")}}}class cb extends V{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 _t extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v;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=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:rb,this.caption=(s=e==null?void 0:e.caption)!=null?s:Et.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(d=e==null?void 0:e.isShowWatermark)!=null?d:!1,this.watermarkFx=(v=e==null?void 0:e.watermarkFx)!=null?v:{}}}_t.Rules=ob,_t.RuntimeRules=cb;class Et extends D{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Et.controlEventKeys=["on_change"],Et.controlFieldType=g.FILE,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:!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 Va extends P{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Va.controlFieldType=g.FILE;var No={Designer:Et,Runtime:Va,Property:_t};const $o=class extends Et{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:$o.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ha=$o;Ha.controlFieldType=g.IMAGE,Ha.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,c.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class sb extends Va{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,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=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class db extends _t{constructor(e){super(e)}}var Vo={Designer:Ha,Runtime:sb,Property:db};class fb extends st{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,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=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class hb extends V{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:[Dn(Ae({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class un extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;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=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Xy(e==null?void 0:e.dataBind),this.datasourceBind=new Z((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Au({value:"name"})]}),this.defaultValue=new Qy((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:On.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:an.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}un.Rules=fb,un.RuntimeRules=hb;class an extends D{constructor(e){super(e),this.props=new un(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}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=g.MONEY,an.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 Ho extends P{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"amount"}}Ho.controlFieldType=g.MONEY;var qo={Designer:an,Runtime:Ho,Property:un};class yb extends Y{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 mb extends V{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 rn extends R{constructor(e){var n,i,u,a,r,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:Sa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new li(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new li),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ln.controlName}}rn.Rules=yb,rn.RuntimeRules=mb;class ln extends D{constructor(e){super(e),this.props=new rn(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 li);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=g.DECIMAL,ln.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 jo extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"score"}}jo.controlFieldType=g.DECIMAL;var Uo={Designer:ln,Runtime:jo,Property:rn};class vb extends V{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 Pi extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fi.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 Yy((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}Pi.RuntimeRules=vb;class Fi extends D{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Fi.controlFieldType=g.ADDRESS,Fi.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 Wo extends P{constructor(e){super(e),this.props=new Pi(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"}}Wo.controlFieldType=g.ADDRESS;var Ko={Designer:Fi,Runtime:Wo,Property:Pi};class gb extends V{constructor(e){super(e),this[0].type="array"}}class ki extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,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=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],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=(d=e==null?void 0:e.caption)!=null?d:on.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var I;(I=this.multistageFilling)==null||I.push(new ae(E))}))}}ki.RuntimeRules=gb;class on extends D{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}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}}on.controlName="\u90E8\u95E8",on.controlFieldType=g.DEPARTMENTS,on.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 zo extends P{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"department"}}zo.controlFieldType=g.DEPARTMENTS;var Go={Designer:on,Runtime:zo,Property:ki};class qa extends R{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:cn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class cn extends D{constructor(e){super(e),this.props=new qa(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"}}cn.controlEventKeys=["on_change"],cn.controlFieldType=g.AUTO_NUMBER,cn.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 Xo extends P{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Xo.controlFieldType=g.AUTO_NUMBER;var Qo={Designer:cn,Runtime:Xo,Property:qa};class bb extends Y{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 _b extends V{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 sn extends R{constructor(e){var n,i,u,a,r,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 py(e==null?void 0:e.dataBind),this.defaultValue=new em(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:dn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\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:""}}sn.Rules=bb,sn.RuntimeRules=_b;class dn extends D{constructor(e){super(e),this.props=new sn(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}}dn.controlEventKeys=["on_change"],dn.controlFieldType=g.CALC,dn.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 Jo extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Jo.controlFieldType=g.CALC;var Zo={Designer:dn,Runtime:Jo,Property:sn};class Eb extends V{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Oi extends R{constructor(e){var n,i,u,a,r,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=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Mi.controlName}}Oi.RuntimeRules=Eb;class Mi extends D{constructor(e){super(e),this.props=new Oi(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"}}Mi.controlFieldType=g.DECIMAL_RANGE,Mi.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 Yo extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Yo.controlFieldType=g.DECIMAL_RANGE;var po={Designer:Mi,Runtime:Yo,Property:Oi};class wb extends V{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 Li extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Te.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:Ni.controlName,this.limitDateList=(E=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(I=>new ri(I)))!=null?E:[]}}Li.RuntimeRules=wb;class Ni extends D{constructor(e){super(e),this.props=new Li(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"}}Ni.controlFieldType=g.ARRAY,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:"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 ec extends P{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}ec.controlFieldType=g.ARRAY;var tc={Designer:Ni,Runtime:ec,Property:Li};class Cb extends Y{constructor(e){super(e),this.dataBind={type:"any"}}}class Ib extends V{constructor(e){super(e),this[0].type="any"}}class fn extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hn.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=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}fn.Rules=Cb,fn.RuntimeRules=Ib;class hn extends D{constructor(e){super(e),this.props=new fn(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"}}hn.controlFieldType=g.ANY,hn.controlEventKeys=[],hn.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 nc extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}nc.controlFieldType=g.ANY;var ic={Designer:hn,Runtime:nc,Property:fn};class Sb extends st{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 $i extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=_e((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:yn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window"}}$i.Rules=Sb;class yn extends D{constructor(e){super(e),this.props=new $i(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"}}yn.controlFieldType=g.VARCHAR,yn.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.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],yn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class uc extends P{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}uc.controlFieldType=g.VARCHAR;var ac={Designer:yn,Runtime:uc,Property:$i};class ja extends gt{constructor(e){super(e)}}class rc extends bt{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}rc.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 lc extends P{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"search-input"}}lc.controlFieldType=g.VARCHAR;var oc={Designer:rc,Runtime:lc,Property:ja};class Ab extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],$n.call(this,e,Me.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","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Tb extends V{constructor(e){super(e),this[0].type="array"}}class mn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_,S,m,w,B,x;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.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=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"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.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(b=e==null?void 0:e.defaultCollapse)!=null?b:"all",this.defaultCollapseLevel=(E=e==null?void 0:e.defaultCollapseLevel)!=null?E:1,this.datasourceBind=new Wr((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new Wr((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(B=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(F=>new ae(F)))!=null?B:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}mn.Rules=Ab,mn.RuntimeRules=Tb;class Me extends D{constructor(e){super(e),this.props=new mn(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}]}}Me.controlEventKeys=["on_change","on_click"],Me.controlFieldType=g.ARRAY,Me.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.DEFAULT_DISPLAY,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 cc extends P{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"tree"}}cc.controlFieldType=g.ARRAY;var sc={Designer:Me,Runtime:cc,Property:mn};class Bb extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},$n.call(this,e,wt.controlCustomAttributes),e.externalType===Oe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Rb extends V{constructor(e){super(e),this[0].type="array"}}class vn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_;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=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:wt.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 kn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:wt.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Da.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:xa.ADMIN,this.externalType=(E=e==null?void 0:e.externalType)!=null?E:Oe.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(S=>{var m;(m=this.multistageFilling)==null||m.push(new ae(S))}))}}vn.Rules=Bb,vn.RuntimeRules=Rb;class wt extends D{constructor(e){super(e),this.props=new vn(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}]}}wt.controlFieldType=g.EMPLOYEES,wt.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 dc extends P{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}dc.controlFieldType=g.EMPLOYEES;var fc={Designer:wt,Runtime:dc,Property:vn};class Db extends Y{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(a,r,l){if(i.type==="public"&&vu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&vu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Vi extends R{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.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=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Vl(e==null?void 0:e.signatureConfig)}}Vi.Rules=Db;class gn extends D{constructor(e){super(e),this.props=new Vi(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"}}gn.controlEventKeys=["on_click","on_click_finish"],gn.controlFieldType=g.VARCHAR,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:"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 hc extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}hc.controlFieldType=g.VARCHAR;var yc={Designer:gn,Runtime:hc,Property:Vi};class xb extends Y{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Pb extends V{constructor(e){super(e),this[0].type="array"}}class bn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.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=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!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=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:ab,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new Hl(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}bn.Rules=xb,bn.RuntimeRules=Pb;class _n extends D{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}_n.controlEventKeys=["on_change","on_wps_open"],_n.controlFieldType=g.FILE,_n.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 mc extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"wps"}}mc.controlFieldType=g.FILE;var vc={Designer:_n,Runtime:mc,Property:bn};class Fb extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,We.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class kb extends V{constructor(e){super(e),this[0].type="array"}}class En extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_,S;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=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],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=(d=e==null?void 0:e.caption)!=null?d:We.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new kn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:We.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Oe.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var w;(w=this.multistageFilling)==null||w.push(new ae(m))}))}}En.Rules=Fb,En.RuntimeRules=kb;class We extends D{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}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}}We.controlName="\u90E8\u95E8",We.controlFieldType=g.DEPARTMENTS,We.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.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 gc extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"department2"}}gc.controlFieldType=g.DEPARTMENTS;var bc={Designer:We,Runtime:gc,Property:En};class Ob extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,Ke.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Mb extends V{constructor(e){super(e),this[0].type="array"}}class wn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_,S,m,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.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],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=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new zy((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(_=e==null?void 0:e.businessType)!=null?_:Oe.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(w=e==null?void 0:e.showSelectedDetail)!=null?w:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var F;(F=this.multistageFilling)==null||F.push(new ae(x))}))}}wn.Rules=Ob,wn.RuntimeRules=Mb;class Ke extends D{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}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}}Ke.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ke.controlFieldType=g.DEPARTMENTS,Ke.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.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class _c extends P{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}_c.controlFieldType=g.DEPARTMENTS;var Ec={Designer:Ke,Runtime:_c,Property:wn},Lb=Object.freeze({__proto__:null,Input:vo,Checkbox:bo,Radio:Eo,Number:Co,DatePicker:So,DateRange:To,Textarea:Ro,RichText:xo,Select:Fo,SelectMultiple:Oo,Employee:Lo,Image:Vo,Attachment:No,Amount:qo,Score:Uo,Address:Ko,Department:Go,AutoNumber:Qo,Calc:Zo,SearchNumberRange:po,SearchDateRange:tc,VueFormItem:ic,SelectRelation:ac,SearchInput:oc,Tree:sc,Employee2:fc,ElectronicSignature:yc,WPS:vc,Department2:bc,OrganizationSelection:Ec});class wc extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}wc.excludes=[C.GRID];class Nb extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var Cc={Designer:wc,Runtime:Nb,Property:q};const $b=24;class ze extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:$b,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Cn extends K{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Cn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Cn.childrenMaxLength=1;class Ua extends Q{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"col"}}var Ic={Designer:Cn,Runtime:Ua,Property:ze};class Hi extends q{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 qi extends K{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}qi.excludes=[C.ROW],qi.setting=[{key:"col-setting",visible:!0}];class Sc extends Q{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ac={Designer:qi,Runtime:Sc,Property:Hi};const Vb=4;class ji extends qi{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)}}ji.excludes=[C.GRID_ROW],ji.setting=[],ji.childrenMaxLength=Vb;class Hb extends Sc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class qb extends Hi{constructor(e){super(e)}}var Tc={Designer:ji,Runtime:Hb,Property:qb};class jb extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ui extends q{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"}}Ui.Rules=jb;class Wa extends K{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Wa.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}],Wa.excludes=[C.CARD_GROUP];class Ub extends Q{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Bc={Designer:Wa,Runtime:Ub,Property:Ui};class Wb extends U{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")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wi extends q{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new $y(e==null?void 0:e.metaAutoWidth)}}Wi.Rules=Wb;class me extends K{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}me.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",me.controlType="subtable-column",me.controlIcon="subtable-column",me.childrenMaxLength=1,me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],me.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Rc extends Q{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}Rc.controlType="subtable-column";var Dc={Designer:me,Runtime:Rc,Property:Wi};class Ka extends q{constructor(e){super(e)}}class Ge extends K{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}}Ge.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ge.controlType="subtable-row",Ge.controlIcon="subtable-row",Ge.childrenMaxLength=1,Ge.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ge.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Kb extends Q{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var xc={Designer:Ge,Runtime:Kb,Property:Ka};class za extends q{constructor(e){var n,i,u,a,r,l,s,o,d,v;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=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new Z(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=(d=e==null?void 0:e.timestampDateType)!=null?d:Te.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Xe extends K{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Pc extends Q{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Pc.controlType="gridtable-column";var Fc={Designer:Xe,Runtime:Pc,Property:za};class Ga extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class zb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ki extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName}}Ki.Rules=zb;class In extends K{constructor(e){super(e),this.props=new Ki(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"}}In.excludes=[C.TAB],In.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Gb extends Q{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var kc={Designer:In,Runtime:Gb,Property:Ki};class Sn extends K{constructor(e){var n;super(e),this.props=new Ga(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new In,new In]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Sn.excludes=[C.TAB],Sn.controlEventKeys=["on_change_tab"],Sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Xb extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Oc={Designer:Sn,Runtime:Xb,Property:Ga};class Mc extends q{constructor(e){super(e)}}class Lc extends K{constructor(e){super(e),this.props=new Mc({}),this.children=(e==null?void 0:e.children)||[new Cn({props:new ze({span:12})}),new Cn({props:new ze({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Lc.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class Qb extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ua({props:new ze({span:12})}),new Ua({props:new ze({span:12})})]}}var Nc={Designer:Lc,Runtime:Qb,Property:Mc};class Jb extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Zb extends U{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")}),ju.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 An extends q{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.datasourceBind=new Z(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=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new Uy(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(d=e==null?void 0:e.isShowSelection)!=null?d:!1,this.isAllLoaded=(v=e==null?void 0:e.isAllLoaded)!=null?v:!0,this.countType=e==null?void 0:e.countType}}An.Rules=Zb,An.RuntimeRules=Jb;class zi extends K{constructor(e){super(e),this.props=new An(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"}}zi.excludes=[C.ROW],zi.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"],zi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class Yb extends Q{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var $c={Designer:zi,Runtime:Yb,Property:An};class pb extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Gi extends q{constructor(e){var n,i,u,a,r,l;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((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Re((u=e==null?void 0:e.saveAs)!=null?u:{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=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new Re(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}Gi.RuntimeRules=pb;class Vc extends K{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Vc.excludes=[];class e_ extends Q{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Hc={Designer:Vc,Runtime:e_,Property:Gi};class t_ extends K{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class n_ extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class i_ extends q{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 qc={Designer:t_,Runtime:n_,Property:i_};class u_ extends K{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class a_ extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class r_ extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ul(e==null?void 0:e.flexConfig)}}var jc={Designer:u_,Runtime:a_,Property:r_};class l_ extends K{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class o_ extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class c_ extends q{constructor(e){super(e)}}var Uc={Designer:l_,Runtime:o_,Property:c_};class s_ extends K{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class d_ extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class f_ extends q{constructor(e){var n,i,u,a;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=(a=e==null?void 0:e.top)!=null?a:0}}var Wc={Designer:s_,Runtime:d_,Property:f_},h_=Object.freeze({__proto__:null,Grid:Cc,Col:Ic,Row:Ac,GridRow:Tc,CardGroup:Bc,SubTableColumn:Dc,SubTableRow:xc,GridTableColumn:Fc,Tab:Oc,TabPane:kc,Toolbox:Nc,ListView:$c,DataView:Hc,Page:qc,AdvancedContainer:jc,PositioningContainer:Uc,Position:Wc});class y_ extends U{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")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class m_ extends qe{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,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class Tn extends Jn{constructor(e,n){var i,u,a,r,l,s,o,d,v,b,E,I,_,S,m,w,B,x,F,ce,k,se,Bn,Ie,ru,Rn,Ct,Se,fs;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Xi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"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=(d=n==null?void 0:n.maxHeight)!=null?d:ql,this.printMode=(v=n==null?void 0:n.printMode)!=null?v:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(E=n==null?void 0:n.maxRows)!=null?E:null,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new Z(n==null?void 0:n.datasourceBind),this.canAdd=(_=n==null?void 0:n.canAdd)!=null?_:!0,this.canDelete=(S=n==null?void 0:n.canDelete)!=null?S:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(w=n==null?void 0:n.canEdit)!=null?w:!1,this.canImport=(B=n==null?void 0:n.canImport)!=null?B:!1,this.canExport=(x=n==null?void 0:n.canExport)!=null?x:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(k=n==null?void 0:n.isShowCaptionTip)!=null?k:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(Bn=n==null?void 0:n.mobileShowType)!=null?Bn:"list",this.mobileDefaultNum=(Ie=n==null?void 0:n.mobileDefaultNum)!=null?Ie:10,this.dataStorageDoc=(ru=n==null?void 0:n.dataStorageDoc)!=null?ru:new Vy,this.fixedColumn=(Rn=n==null?void 0:n.fixedColumn)!=null?Rn:[],this.mobileRowCaption=(Ct=n==null?void 0:n.mobileRowCaption)!=null?Ct:"\u660E\u7EC6",this.mobileIsTile=(Se=n==null?void 0:n.mobileIsTile)!=null?Se:!1,this.isPaste=(fs=n==null?void 0:n.isPaste)!=null?fs:!1}}Tn.Rules=y_,Tn.RuntimeRules=m_;class Xi extends ua{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 me,new me,new me])}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 me,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Xi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Xi.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,c.IS_PASTE]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class v_ extends Tl{constructor(e){super(e),this.props=new Tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Bt("Method not implemented.")}getChildrenFormControl(){return[]}}var Kc={Designer:Xi,Runtime:v_,Property:Tn};class Xa extends Jn{constructor(e,n){var i,u,a,r;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=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class g_ extends we{constructor(e){super(e),this.caption.required=!1}}class Qi extends z{constructor(e){var n,i,u,a,r,l,s,o;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:Qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Qi.Rules=g_;class Qe extends ee{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Qe.controlType="order-column",Qe.controlName="\u5E8F\u53F7",Qe.controlIcon="order-column",Qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Qa extends te{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Qa.controlType="order-column",Qa.controlFieldType=g.DECIMAL;var zc={Designer:Qe,Runtime:Qa,Property:Qi};class Ja extends z{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends ee{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===wi.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Dn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return _r(this,null,function*(){return yield br(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName="\u64CD\u4F5C",Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Za extends te{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}Za.controlType="operation-column",Za.controlFieldType=g.FILE;var Gc={Designer:Ce,Runtime:Za,Property:Ja};class Ji extends ua{constructor(e){super(e),this.props=new Xa(this,e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Qe,new Ce])}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 Dn(Ae({},e),{children:n})}validate(e,n){return _r(this,null,function*(){return yield br(Ji.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ji.setting=[{key:"list-fixed-header",visible:!0}];class b_ extends Tl{constructor(e){super(e),this.props=new Xa(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Bt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Xc={Designer:Ji,Runtime:b_,Property:Xa},__=Object.freeze({__proto__:null,SubTable:Kc,GridTable:Xc});class E_ extends Bl{constructor(e){super(e),Ue.call(this,e)}}class Zi extends z{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Zi.Rules=E_;class Je extends ee{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Je.controlType="varchar-column",Je.controlName="\u77ED\u6587\u672C",Je.controlIcon="varchar-column",Je.controlFieldType=g.VARCHAR,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",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 Ya extends te{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Ya.controlType="varchar-column",Ya.controlFieldType=g.VARCHAR;var Qc={Designer:Je,Runtime:Ya,Property:Zi};class w_ extends we{constructor(e){super(e),Ue.call(this,e)}}class Yi extends z{constructor(e){var n,i,u,a;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:Ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}Yi.Rules=w_;class Ze extends ee{constructor(e){super(e),this.props=new Yi(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}}Ze.controlType="text-column",Ze.controlName="\u957F\u6587\u672C",Ze.controlIcon="text-column",Ze.controlFieldType=g.TEXT,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",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 pa extends te{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}pa.controlType="text-column",pa.controlFieldType=g.TEXT;var Jc={Designer:Ze,Runtime:pa,Property:Yi};class C_ extends we{constructor(e){super(e),Ue.call(this,e)}}class pi extends z{constructor(e){var n,i,u,a,r,l,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.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=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=_e((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}pi.Rules=C_;class Ye extends ee{constructor(e){super(e),this.props=new pi(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}}Ye.controlType="decimal-column",Ye.controlName="\u6570\u503C",Ye.controlIcon="decimal-column",Ye.controlFieldType=g.DECIMAL,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",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 er extends te{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}er.controlType="decimal-column",er.controlFieldType=g.DECIMAL;var Zc={Designer:Ye,Runtime:er,Property:pi};class I_ extends we{constructor(e){super(e),Ue.call(this,e)}}class eu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}eu.Rules=I_;class pe extends ee{constructor(e){super(e),this.props=new eu(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}}pe.controlType="timescope-column",pe.controlName="\u65E5\u671F\u533A\u95F4",pe.controlIcon="timescope-column",pe.controlFieldType=g.TIMESCOPE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class tr extends te{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}tr.controlType="timescope-column",tr.controlFieldType=g.TIMESCOPE;var Yc={Designer:pe,Runtime:tr,Property:eu};class S_ extends we{constructor(e){super(e),Ue.call(this,e)}}class tu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}tu.Rules=S_;class et extends ee{constructor(e){super(e),this.props=new tu(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}}et.controlType="timestamp-column",et.controlName="\u65E5\u671F",et.controlIcon="timestamp-column",et.controlFieldType=g.TIMESTAMP,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class nr extends te{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}nr.controlType="timestamp-column",nr.controlFieldType=g.TIMESTAMP;var pc={Designer:et,Runtime:nr,Property:tu};class A_ extends Bl{constructor(e){super(e)}}class nu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}])}}nu.Rules=A_;class tt extends ee{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}tt.controlType="array-column",tt.controlName="\u6570\u7EC4",tt.controlIcon="array-column",tt.controlFieldType=g.ARRAY,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ir extends te{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ir.controlType="array-column",ir.controlFieldType=g.ARRAY;var es={Designer:tt,Runtime:ir,Property:nu};class ur extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class nt extends ee{constructor(e){super(e),this.props=new ur(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}}nt.controlType="department-column",nt.controlName="\u90E8\u95E8",nt.controlIcon="department-column",nt.controlFieldType=g.DEPARTMENTS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ar extends te{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}ar.controlType="department-column",ar.controlFieldType=g.DEPARTMENTS;var ts={Designer:nt,Runtime:ar,Property:ur};class T_ extends we{constructor(e){super(e),Ue.call(this,e)}}class iu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}iu.Rules=T_;class it extends ee{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}it.controlType="auto-number-column",it.controlName="\u81EA\u52A8\u7F16\u53F7",it.controlIcon="auto-number-column",it.controlFieldType=g.AUTO_NUMBER,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class rr extends te{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}rr.controlType="auto-number-column",rr.controlFieldType=g.AUTO_NUMBER;var ns={Designer:it,Runtime:rr,Property:iu};class lr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends ee{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}ut.controlType="file-column",ut.controlName="\u9644\u4EF6",ut.controlIcon="file-column",ut.controlFieldType=g.FILE,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class or extends te{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}or.controlType="file-column",or.controlFieldType=g.FILE;var is={Designer:ut,Runtime:or,Property:lr};class cr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends ee{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}at.controlType="image-column",at.controlName="\u56FE\u7247",at.controlIcon="image-column",at.controlFieldType=g.IMAGE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class sr extends te{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}sr.controlType="image-column",sr.controlFieldType=g.IMAGE;var us={Designer:at,Runtime:sr,Property:cr};class dr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends ee{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}rt.controlType="people-column",rt.controlName="\u4EBA\u5458",rt.controlIcon="people-column",rt.controlFieldType=g.EMPLOYEES,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class fr extends te{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="people-column",fr.controlFieldType=g.EMPLOYEES;var as={Designer:rt,Runtime:fr,Property:dr};class B_ extends we{constructor(e){super(e),Ue.call(this,e)}}class uu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}uu.Rules=B_;class lt extends ee{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}lt.controlType="location-column",lt.controlName="\u5730\u5740",lt.controlIcon="location-column",lt.controlFieldType=g.ADDRESS,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class hr extends te{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}hr.controlType="location-column",hr.controlFieldType=g.ADDRESS;var rs={Designer:lt,Runtime:hr,Property:uu};class yr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const R_=1;class Le extends ee{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yr(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children),this.excludes=Be(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 Dn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}}Le.controlType="custom-column",Le.controlName="\u81EA\u5B9A\u4E49",Le.controlIcon="custom-column",Le.excludes=[],Le.childrenMaxLength=R_,Le.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class ls extends te{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}ls.controlType="custom-column";var os={Designer:Le,Runtime:ls,Property:yr};class mr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.datasourceBind=new kn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ne.controlCustomAttributes})}}class Ne extends ee{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ne.controlType="employee-column",Ne.controlName="\u4EBA\u5458",Ne.controlIcon="employee-column",Ne.controlFieldType=g.EMPLOYEES,Ne.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vr extends te{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="employee-column",vr.controlFieldType=g.EMPLOYEES;var cs={Designer:Ne,Runtime:vr,Property:mr},D_=Object.freeze({__proto__:null,VarcharColumn:Qc,TextColumn:Jc,DecimalColumn:Zc,TimescopeColumn:Yc,TimestampColumn:pc,ArrayColumn:es,DepartmentColumn:ts,AutoNumberColumn:ns,FileColumn:is,ImageColumn:us,PeopleColumn:as,LocationColumn:rs,CustomColumn:os,OrderColumn:zc,OperationColumn:Gc,EmployeeColumn:cs});class x_ extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class au extends va{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Re((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Re((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(d=>new Re(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}au.RuntimeRules=x_;class gr extends pg{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}gr.controlType="simple-search",gr.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 ss extends r0{constructor(e){var n;super(e),this.props=new au(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ss.controlType="simple-search";var ds={Designer:gr,Runtime:ss,Property:au},P_=Object.freeze({__proto__:null,SimpleSearch:ds});y.Address=Ko,y.AdvancedContainer=jc,y.Amount=qo,y.ArrayColumn=es,y.AssignType=Oe,y.Attachment=No,y.AutoNumber=Qo,y.AutoNumberColumn=ns,y.BatchDeleteButton=yo,y.BatchPrintListButton=so,y.BatchPrintRecordListButton=fo,y.BatchSubmissionListButton=Ql,y.Button=Ll,y.Calc=Zo,y.CardGroup=Bc,y.Checkbox=bo,y.Col=Ic,y.CreateFormListButton=Xl,y.CustomColumn=os,y.DATE_CONFIG_TYPE=Nl,y.DATE_LIMIT_TYPE=$l,y.Dashboard=ao,y.DataView=Hc,y.DatePicker=So,y.DateRange=To,y.DecimalColumn=Zc,y.Department=Go,y.Department2=bc,y.DepartmentColumn=ts,y.DepartmentType=oi,y.Divider=zl,y.ElectronicSignature=yc,y.ElectronicSignatureConfig=Vl,y.Employee=Lo,y.Employee2=fc,y.EmployeeColumn=cs,y.EncryptTypeEnum=Wl,y.Explain=li,y.ExportListButton=Zl,y.ExportRecordListButton=Yl,y.ExportTemplate=Ba,y.FileColumn=is,y.FlexStyleConfig=Ul,y.FormSelectButton=eo,y.Grid=Cc,y.GridRow=Tc,y.GridTable=Xc,y.GridTableColumn=Fc,y.Image=Vo,y.ImageColumn=us,y.ImportRecordListButton=pl,y.Input=vo,y.InternalType=xa,y.InvoiceCheckButton=co,y.LINE_STYLE=Aa,y.LimitDate=ri,y.Link=Ml,y.ListSelectButton=to,y.ListView=$c,y.ListViewSelect=lo,y.LocationColumn=rs,y.Number=Co,y.OperationButton=ho,y.OperationColumn=Gc,y.OrderColumn=zc,y.OrganizationSelection=Ec,y.OrganizeType=Da,y.Page=qc,y.Pagination=io,y.PeopleColumn=as,y.Position=Wc,y.PositioningContainer=Uc,y.PrintTemplate=jl,y.Radio=Eo,y.RichText=xo,y.Row=Ac,y.SCORE_TYPE=Sa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=ql,y.Score=Uo,y.SearchDateRange=tc,y.SearchInput=oc,y.SearchNumberRange=po,y.Select=Fo,y.SelectMultiple=Oo,y.SelectRelation=ac,y.SimpleSearch=ds,y.SubTable=Kc,y.SubTableColumn=Dc,y.SubTableRow=xc,y.SubmissionRecordListButton=Jl,y.Tab=Oc,y.TabPane=kc,y.Text=Ol,y.TextColumn=Jc,y.TextOcrButton=oo,y.Textarea=Ro,y.TimescopeColumn=Yc,y.TimestampColumn=pc,y.Title=Gl,y.TitleConfigEnum=ke,y.Toolbox=Nc,y.Tree=sc,y.UndersignedPerson=Ta,y.VarcharColumn=Qc,y.VueFormItem=ic,y.WPS=vc,y.WPSSetting=Hl,y.WpsOperationItem=Ra,y.baseControls=j0,y.columnControls=D_,y.formControls=Lb,y.initExpression=Ot,y.layoutControls=h_,y.listControls=__,y.searchControls=P_,Object.defineProperty(y,"__esModule",{value:!0})});
|