@byteluck-fe/model-driven-controls 2.7.0-alpha.2 → 2.7.0-alpha.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 +18 -4
- package/dist/esm/baseControls/BatchDeleteButton/property.js +22 -0
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +14 -0
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchPrintListButton/property.js +19 -3
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +14 -0
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +18 -4
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +28 -3
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +14 -0
- package/dist/esm/baseControls/Button/designer.js +18 -4
- package/dist/esm/baseControls/Button/property.js +23 -0
- package/dist/esm/baseControls/Button/runtime.js +14 -0
- package/dist/esm/baseControls/CreateFormListButton/designer.js +18 -4
- package/dist/esm/baseControls/CreateFormListButton/property.js +18 -3
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +14 -0
- package/dist/esm/baseControls/Dashboard/designer.js +16 -2
- package/dist/esm/baseControls/Dashboard/property.js +30 -11
- package/dist/esm/baseControls/Dashboard/runtime.js +14 -0
- package/dist/esm/baseControls/Divider/designer.js +16 -2
- package/dist/esm/baseControls/Divider/property.js +15 -0
- package/dist/esm/baseControls/Divider/runtime.js +14 -0
- package/dist/esm/baseControls/ExportListButton/designer.js +18 -4
- package/dist/esm/baseControls/ExportListButton/property.js +14 -0
- package/dist/esm/baseControls/ExportListButton/runtime.js +14 -0
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/FormSelectButton/designer.js +18 -4
- package/dist/esm/baseControls/FormSelectButton/property.js +11 -7
- package/dist/esm/baseControls/FormSelectButton/runtime.js +14 -0
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/ImportRecordListButton/property.js +17 -0
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +18 -4
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +33 -13
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +14 -0
- package/dist/esm/baseControls/Link/designer.js +18 -4
- package/dist/esm/baseControls/Link/property.js +16 -0
- package/dist/esm/baseControls/Link/runtime.js +14 -0
- package/dist/esm/baseControls/ListSelectButton/designer.js +18 -4
- package/dist/esm/baseControls/ListSelectButton/property.js +23 -7
- package/dist/esm/baseControls/ListSelectButton/runtime.js +14 -0
- package/dist/esm/baseControls/ListViewSelect/designer.js +16 -2
- package/dist/esm/baseControls/ListViewSelect/property.js +20 -5
- package/dist/esm/baseControls/ListViewSelect/runtime.js +14 -0
- package/dist/esm/baseControls/OperationButton/designer.js +18 -4
- package/dist/esm/baseControls/OperationButton/property.js +29 -3
- package/dist/esm/baseControls/OperationButton/runtime.js +14 -0
- package/dist/esm/baseControls/Pagination/designer.js +15 -1
- package/dist/esm/baseControls/Pagination/property.js +15 -2
- package/dist/esm/baseControls/Pagination/runtime.js +14 -0
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +18 -4
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +14 -0
- package/dist/esm/baseControls/Text/designer.js +16 -2
- package/dist/esm/baseControls/Text/property.js +19 -0
- package/dist/esm/baseControls/Text/runtime.js +14 -0
- package/dist/esm/baseControls/TextOcrButton/designer.js +18 -4
- package/dist/esm/baseControls/TextOcrButton/property.js +33 -13
- package/dist/esm/baseControls/TextOcrButton/runtime.js +14 -0
- package/dist/esm/baseControls/Title/designer.js +17 -3
- package/dist/esm/baseControls/Title/property.js +24 -7
- package/dist/esm/baseControls/Title/runtime.js +14 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +21 -6
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +24 -0
- package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +16 -1
- package/dist/esm/columnControls/ArrayColumn/designer.js +20 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +36 -1
- package/dist/esm/columnControls/ArrayColumn/runtime.js +16 -2
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +20 -6
- package/dist/esm/columnControls/AutoNumberColumn/property.js +22 -1
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +16 -2
- package/dist/esm/columnControls/CustomColumn/designer.js +58 -30
- package/dist/esm/columnControls/CustomColumn/property.js +14 -0
- package/dist/esm/columnControls/CustomColumn/runtime.js +16 -1
- package/dist/esm/columnControls/DecimalColumn/designer.js +47 -15
- package/dist/esm/columnControls/DecimalColumn/property.js +51 -1
- package/dist/esm/columnControls/DecimalColumn/runtime.js +16 -2
- package/dist/esm/columnControls/DepartmentColumn/designer.js +46 -14
- package/dist/esm/columnControls/DepartmentColumn/property.js +18 -0
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +16 -2
- package/dist/esm/columnControls/EmployeeColumn/designer.js +20 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +17 -0
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +16 -2
- package/dist/esm/columnControls/FileColumn/designer.js +20 -6
- package/dist/esm/columnControls/FileColumn/runtime.js +16 -2
- package/dist/esm/columnControls/ImageColumn/designer.js +20 -6
- package/dist/esm/columnControls/ImageColumn/runtime.js +16 -2
- package/dist/esm/columnControls/LocationColumn/designer.js +20 -6
- package/dist/esm/columnControls/LocationColumn/property.js +22 -1
- package/dist/esm/columnControls/LocationColumn/runtime.js +16 -2
- package/dist/esm/columnControls/OperationColumn/designer.js +84 -58
- package/dist/esm/columnControls/OperationColumn/property.js +28 -0
- package/dist/esm/columnControls/OperationColumn/runtime.js +17 -2
- package/dist/esm/columnControls/OrderColumn/designer.js +19 -5
- package/dist/esm/columnControls/OrderColumn/property.js +14 -1
- package/dist/esm/columnControls/OrderColumn/runtime.js +16 -2
- package/dist/esm/columnControls/PeopleColumn/designer.js +20 -6
- package/dist/esm/columnControls/PeopleColumn/runtime.js +16 -2
- package/dist/esm/columnControls/TextColumn/designer.js +46 -14
- package/dist/esm/columnControls/TextColumn/property.js +32 -1
- package/dist/esm/columnControls/TextColumn/runtime.js +16 -2
- package/dist/esm/columnControls/TimescopeColumn/designer.js +46 -14
- package/dist/esm/columnControls/TimescopeColumn/property.js +27 -1
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +16 -2
- package/dist/esm/columnControls/TimestampColumn/designer.js +46 -14
- package/dist/esm/columnControls/TimestampColumn/property.js +27 -1
- package/dist/esm/columnControls/TimestampColumn/runtime.js +16 -2
- package/dist/esm/columnControls/VarcharColumn/designer.js +20 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +39 -1
- package/dist/esm/columnControls/VarcharColumn/runtime.js +16 -2
- package/dist/esm/formControls/Address/designer.js +17 -3
- package/dist/esm/formControls/Address/property.js +25 -1
- package/dist/esm/formControls/Address/runtime.js +15 -1
- package/dist/esm/formControls/Amount/designer.js +32 -15
- package/dist/esm/formControls/Amount/property.js +45 -6
- package/dist/esm/formControls/Amount/runtime.js +15 -1
- package/dist/esm/formControls/Attachment/designer.js +19 -5
- package/dist/esm/formControls/Attachment/property.js +26 -4
- package/dist/esm/formControls/Attachment/runtime.js +15 -1
- package/dist/esm/formControls/AutoNumber/designer.js +19 -5
- package/dist/esm/formControls/AutoNumber/property.js +14 -0
- package/dist/esm/formControls/AutoNumber/runtime.js +15 -1
- package/dist/esm/formControls/Calc/designer.js +32 -15
- package/dist/esm/formControls/Calc/property.js +41 -2
- package/dist/esm/formControls/Calc/runtime.js +15 -1
- package/dist/esm/formControls/Checkbox/designer.js +19 -5
- package/dist/esm/formControls/Checkbox/property.js +40 -4
- package/dist/esm/formControls/Checkbox/runtime.js +15 -1
- package/dist/esm/formControls/DatePicker/designer.js +29 -12
- package/dist/esm/formControls/DatePicker/property.js +29 -0
- package/dist/esm/formControls/DatePicker/runtime.js +15 -1
- package/dist/esm/formControls/DateRange/designer.js +29 -12
- package/dist/esm/formControls/DateRange/property.js +67 -1
- package/dist/esm/formControls/DateRange/runtime.js +15 -1
- package/dist/esm/formControls/Department/designer.js +31 -14
- package/dist/esm/formControls/Department/property.js +43 -1
- package/dist/esm/formControls/Department/runtime.js +15 -1
- package/dist/esm/formControls/Department2/designer.js +31 -14
- package/dist/esm/formControls/Department2/property.js +59 -6
- package/dist/esm/formControls/Department2/runtime.js +15 -1
- package/dist/esm/formControls/ElectronicSignature/designer.js +19 -5
- package/dist/esm/formControls/ElectronicSignature/property.js +23 -3
- package/dist/esm/formControls/ElectronicSignature/runtime.js +15 -1
- package/dist/esm/formControls/Employee/designer.js +17 -3
- package/dist/esm/formControls/Employee/property.js +29 -1
- package/dist/esm/formControls/Employee/runtime.js +15 -1
- package/dist/esm/formControls/Employee2/designer.js +17 -3
- package/dist/esm/formControls/Employee2/property.js +43 -6
- package/dist/esm/formControls/Employee2/runtime.js +15 -1
- package/dist/esm/formControls/Image/designer.js +16 -3
- package/dist/esm/formControls/Input/designer.js +19 -5
- package/dist/esm/formControls/Input/property.js +50 -8
- package/dist/esm/formControls/Input/runtime.js +15 -1
- package/dist/esm/formControls/Number/designer.js +32 -15
- package/dist/esm/formControls/Number/property.js +78 -6
- package/dist/esm/formControls/Number/runtime.js +15 -1
- package/dist/esm/formControls/OrganizationSelection/designer.js +31 -14
- package/dist/esm/formControls/OrganizationSelection/property.js +71 -6
- package/dist/esm/formControls/OrganizationSelection/runtime.js +15 -1
- package/dist/esm/formControls/Radio/designer.js +19 -5
- package/dist/esm/formControls/Radio/property.js +33 -1
- package/dist/esm/formControls/Radio/runtime.js +15 -1
- package/dist/esm/formControls/RichText/designer.js +19 -5
- package/dist/esm/formControls/RichText/property.js +24 -8
- package/dist/esm/formControls/RichText/runtime.js +15 -1
- package/dist/esm/formControls/Score/designer.js +38 -21
- package/dist/esm/formControls/Score/property.js +24 -6
- package/dist/esm/formControls/Score/runtime.js +15 -1
- package/dist/esm/formControls/SearchDateRange/designer.js +17 -3
- package/dist/esm/formControls/SearchDateRange/property.js +30 -1
- package/dist/esm/formControls/SearchDateRange/runtime.js +15 -1
- package/dist/esm/formControls/SearchInput/designer.js +16 -2
- package/dist/esm/formControls/SearchInput/runtime.js +15 -1
- package/dist/esm/formControls/SearchNumberRange/designer.js +17 -3
- package/dist/esm/formControls/SearchNumberRange/property.js +21 -1
- package/dist/esm/formControls/SearchNumberRange/runtime.js +15 -1
- package/dist/esm/formControls/Select/designer.js +17 -3
- package/dist/esm/formControls/Select/property.js +41 -1
- package/dist/esm/formControls/Select/runtime.js +15 -1
- package/dist/esm/formControls/SelectMultiple/designer.js +17 -3
- package/dist/esm/formControls/SelectMultiple/property.js +40 -2
- package/dist/esm/formControls/SelectMultiple/runtime.js +15 -1
- package/dist/esm/formControls/SelectRelation/designer.js +19 -5
- package/dist/esm/formControls/SelectRelation/property.js +71 -3
- package/dist/esm/formControls/SelectRelation/runtime.js +15 -1
- package/dist/esm/formControls/Textarea/designer.js +19 -5
- package/dist/esm/formControls/Textarea/property.js +41 -8
- package/dist/esm/formControls/Textarea/runtime.js +15 -1
- package/dist/esm/formControls/Tree/designer.js +19 -5
- package/dist/esm/formControls/Tree/property.js +41 -6
- package/dist/esm/formControls/Tree/runtime.js +15 -1
- package/dist/esm/formControls/VueFormItem/designer.js +18 -4
- package/dist/esm/formControls/VueFormItem/property.js +19 -2
- package/dist/esm/formControls/VueFormItem/runtime.js +15 -1
- package/dist/esm/formControls/WPS/designer.js +19 -5
- package/dist/esm/formControls/WPS/property.js +32 -6
- package/dist/esm/formControls/WPS/runtime.js +15 -1
- package/dist/esm/framework.js +80 -0
- package/dist/esm/layoutControls/ActionBar/designer.js +17 -3
- package/dist/esm/layoutControls/ActionBar/property.js +19 -0
- package/dist/esm/layoutControls/ActionBar/runtime.js +14 -0
- package/dist/esm/layoutControls/AdvancedContainer/property.js +15 -0
- package/dist/esm/layoutControls/CardGroup/designer.js +18 -4
- package/dist/esm/layoutControls/CardGroup/property.js +23 -3
- package/dist/esm/layoutControls/CardGroup/runtime.js +14 -0
- package/dist/esm/layoutControls/Col/designer.js +17 -3
- package/dist/esm/layoutControls/Col/property.js +15 -0
- package/dist/esm/layoutControls/Col/runtime.js +14 -0
- package/dist/esm/layoutControls/DataView/designer.js +15 -1
- package/dist/esm/layoutControls/DataView/property.js +28 -1
- package/dist/esm/layoutControls/DataView/runtime.js +14 -0
- package/dist/esm/layoutControls/Grid/designer.js +15 -2
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +18 -4
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +21 -4
- package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +15 -1
- package/dist/esm/layoutControls/GridRow/designer.js +17 -4
- package/dist/esm/layoutControls/GridTableColumn/designer.js +22 -8
- package/dist/esm/layoutControls/GridTableColumn/property.js +26 -0
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +15 -1
- package/dist/esm/layoutControls/ListView/designer.js +20 -6
- package/dist/esm/layoutControls/ListView/property.js +89 -6
- package/dist/esm/layoutControls/ListView/runtime.js +14 -0
- package/dist/esm/layoutControls/Page/property.js +18 -4
- package/dist/esm/layoutControls/Position/property.js +17 -0
- package/dist/esm/layoutControls/Row/designer.js +18 -4
- package/dist/esm/layoutControls/Row/property.js +15 -0
- package/dist/esm/layoutControls/Row/runtime.js +14 -0
- package/dist/esm/layoutControls/SubTableColumn/designer.js +22 -8
- package/dist/esm/layoutControls/SubTableColumn/property.js +39 -7
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +15 -1
- package/dist/esm/layoutControls/SubTableRow/designer.js +22 -8
- package/dist/esm/layoutControls/SubTableRow/runtime.js +14 -0
- package/dist/esm/layoutControls/Tab/designer.js +20 -6
- package/dist/esm/layoutControls/Tab/property.js +14 -0
- package/dist/esm/layoutControls/Tab/runtime.js +14 -0
- package/dist/esm/layoutControls/TabPane/designer.js +18 -4
- package/dist/esm/layoutControls/TabPane/property.js +17 -3
- package/dist/esm/layoutControls/TabPane/runtime.js +14 -0
- package/dist/esm/layoutControls/Toolbox/designer.js +16 -2
- package/dist/esm/listControls/GridTable/designer.js +52 -44
- package/dist/esm/listControls/GridTable/property.js +37 -0
- package/dist/esm/listControls/GridTable/runtime.js +35 -12
- package/dist/esm/listControls/SubTable/designer.js +32 -15
- package/dist/esm/listControls/SubTable/property.js +154 -14
- package/dist/esm/listControls/SubTable/runtime.js +29 -9
- package/dist/esm/searchControls/SimpleSearch/designer.js +17 -3
- package/dist/esm/searchControls/SimpleSearch/property.js +48 -1
- package/dist/esm/searchControls/SimpleSearch/runtime.js +16 -1
- package/dist/esm/wrapControls/{GridWrap/setting.js → GridLayoutWrap/Setting.js} +2 -2
- package/dist/esm/wrapControls/{GridWrap → GridLayoutWrap}/designer.js +30 -16
- package/dist/esm/wrapControls/{GridWrap → GridLayoutWrap}/index.js +1 -1
- package/dist/esm/wrapControls/{GridWrap → GridLayoutWrap}/property.js +21 -7
- package/dist/esm/wrapControls/{GridWrap → GridLayoutWrap}/runtime.js +11 -11
- package/dist/esm/wrapControls/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +2 -2
- package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +1 -1
- package/dist/types/type.d.ts +2 -2
- package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +12 -0
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -0
- package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +8 -0
- package/dist/types/wrapControls/index.d.ts +1 -1
- package/package.json +5 -5
- package/dist/types/wrapControls/GridWrap/designer.d.ts +0 -12
- package/dist/types/wrapControls/GridWrap/property.d.ts +0 -6
- package/dist/types/wrapControls/GridWrap/runtime.d.ts +0 -8
- /package/dist/types/wrapControls/{GridWrap/setting.d.ts → GridLayoutWrap/Setting.d.ts} +0 -0
- /package/dist/types/wrapControls/{GridWrap → GridLayoutWrap}/index.d.ts +0 -0
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var GE=Object.defineProperty,XE=Object.defineProperties;var QE=Object.getOwnPropertyDescriptors;var Jc=Object.getOwnPropertySymbols,JE=Object.getPrototypeOf,ZE=Object.prototype.hasOwnProperty,YE=Object.prototype.propertyIsEnumerable,pE=Reflect.get;var Zc=(h,N,j)=>N in h?GE(h,N,{enumerable:!0,configurable:!0,writable:!0,value:j}):h[N]=j,ge=(h,N)=>{for(var j in N||(N={}))ZE.call(N,j)&&Zc(h,j,N[j]);if(Jc)for(var j of Jc(N))YE.call(N,j)&&Zc(h,j,N[j]);return h},mn=(h,N)=>XE(h,QE(N));var er=(h,N,j)=>pE(JE(h),j,N);var tr=(h,N,j)=>new Promise((zi,vn)=>{var Gi=ce=>{try{dt(j.next(ce))}catch(ft){vn(ft)}},Xi=ce=>{try{dt(j.throw(ce))}catch(ft){vn(ft)}},dt=ce=>ce.done?zi(ce.value):Promise.resolve(ce.value).then(Gi,Xi);dt((j=j.apply(h,N)).next())});(function(h,N){typeof exports=="object"&&typeof module!="undefined"?N(exports):typeof define=="function"&&define.amd?define(["exports"],N):(h=typeof globalThis!="undefined"?globalThis:h||self,N(h.modelDrivenControls={}))})(this,function(h){"use strict";var N="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",zi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Gi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Xi="{caption}\u5FC5\u586B",dt="\u8BF7\u8F93\u5165\u6807\u9898",ce="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",ft="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Yc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",pc="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",es="\u8BF7\u7ED1\u5B9A\u8868\u5355",ts="\u8BF7\u7ED1\u5B9A\u5217\u8868",ns="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",is="\u8BF7\u8F93\u5165\u663E\u793A\u503C",us="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",as="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",rs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",ls="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",os="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",cs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ss="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",ds="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",fs="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",hs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",ys="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ms="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",vs="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",gs="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",bs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Es="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",_s="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Cs="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ws="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Is="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ss="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",As="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Rs="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Ts="\u8BF7\u9009\u62E9\u7701",Bs="\u8BF7\u9009\u62E9\u5E02",Ps="\u8BF7\u9009\u62E9\u533A",Ds="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",xs="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Os="\u8BF7\u8F93\u5165\u5217\u5BBD",Fs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ks="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ms="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ns="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Ls="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",$s="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Vs="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",js="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Hs="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",qs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Us="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ws="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ks="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",zs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Gs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Xs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Qs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Js="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Zs="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ys="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ps="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ed="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",td="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",nd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",id={isNotNumber:N,isNotString:j,isNotObject:zi,isNotArray:vn,isNotBoolean:Gi,runtimeRequired:Xi,pleaseEnterCaption:dt,pleaseEnterCaptionTip:ce,pleaseEnterRowCaption:ft,pleaseEnterPlaceholder:Yc,pleaseEnterFieldCode:pc,pleaseEnterForm:es,pleaseEnterList:ts,pleaseEnterProcess:ns,pleaseEnterLabel:is,pleaseEnterValue:us,bizKeyNotBindFiled:as,pleaseSelectOneField:rs,pleaseEnterNumberRange:ls,pleaseEnterAValueGreaterThanMin:os,pleaseEnterAValueLessThanMax:cs,numberRangeSetError:ss,stringRangeError:ds,attachmentMaxSize:fs,pleaseEnterTotalScoreSetting:hs,theTotalScoreMustNotBeLessThan1:ys,scoreDefaultValueRange:ms,attachmentLimitError:vs,PleaseReselectTheOptionalQuantity:gs,TheMaximumLengthIsGreaterThanTheMinimumLength:bs,TheMinimumLengthIsGreaterThanTheMaximumLength:Es,PleaseSelectTheCorrectOptionSettings:_s,optionIdIsRepeat:Cs,optionIsRequired:ws,pleaseEnterDataCode:Is,pleaseEnterValueFieldCode:Ss,pleaseEnterSvcCode:As,pleaseBindAtLeastOneDisplayValue:Rs,pleaseSelectProvince:Ts,pleaseSelectCity:Bs,pleaseSelectDistrict:Ps,limitRowsCannotBeLessThan0:Ds,TheNumberOfRowsCannotBeLessThanMinRows:xs,pleaseEnterColumnWidth:Os,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Fs,pleaseCompleteAllRulesAndConditions:ks,pleaseSelectControl:Ms,pleaseSelectAtLeastOneColumn:Ns,pleaseSelectFillBackMode:Ls,pleaseSelectDashboard:$s,rootNodeIsRequired:Vs,theViewNameCannotBeEmpty:js,pleaseSelectOcrType:Hs,pleaseSelectAtLeastOneFieldToFillIn:qs,pleaseChooseAtLeastOne:Us,pleaseEnterButtonContent:Ws,pleaseEnterDataCodeInDataSetting:Ks,pleaseEnterValueFieldCodeInDataSetting:zs,pleaseEnterSvcCodeInDataSetting:Gs,pleaseBindAtLeastOneDisplayValueInDataSetting:Xs,rootNodeIsRequiredInDataSetting:Qs,pleaseEnterMaxHeight:Js,pleaseEnter:Zs,pleaseEnterWatermark:Ys,pleaseEnterFileName:ps,pleaseUploadAtLeastOnePrintTemplate:ed,pleaseAssignBusiness:td,pleaseAssignExternal:nd},ud="Please enter a number",ad="Please enter a string",rd="Please enter an object",ld="Please enter an array",od="Please enter a boolean",cd="{caption} Required",sd="Please enter the title",dd="Please enter the bubble prompt",fd="Please enter the row title",hd="Please enter the prompt text",yd="Please bind data items",md="Please bind the form",vd="Please bind the list",gd="Please bind the process",bd="Please enter the displayed value",Ed="Please enter the stored value",_d="The document number is not bound to the data item",Cd="Please select at least one display field",wd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Id="Please enter a value greater than or equal to {min}",Sd="Please enter a value less than or equal to {max}",Ad="The value range is set incorrectly",Rd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Td="The attachment size must be between 0MB and 1000MB",Bd="Please fill in the total score setting",Pd="The total score cannot be less than 1",Dd="The default value must be between {min} and {max}",xd="The number of attachments uploaded must be between {min} and {max}",Od="Please re-select the optional quantity",Fd="The maximum length of the control must be greater than the minimum length",kd="The minimum length of the control must be less than the maximum length",Md="Please select the correct option setting",Nd="Option ID cannot be repeated",Ld="Please enter at least one option",$d="Please bind the data source",Vd="Please bind the stored value",jd="Please bind the service",Hd="At least one display value must be bound",qd="Please select a province",Ud="Please select a city",Wd="Please select a district",Kd="The minimum number of lines to fill in cannot be less than 0",zd="The number of rows cannot be less than {min} rows",Gd="Please enter the column width",Xd="Please set the logical relationship of all rule conditions",Qd="Please complete all rules and conditions",Jd="please select control",Zd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Yd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",pd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",ef="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",tf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",nf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",af="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",rf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",lf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",of="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",cf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",sf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",df="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ff="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",yf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",mf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",vf={isNotNumber:ud,isNotString:ad,isNotObject:rd,isNotArray:ld,isNotBoolean:od,runtimeRequired:cd,pleaseEnterCaption:sd,pleaseEnterCaptionTip:dd,pleaseEnterRowCaption:fd,pleaseEnterPlaceholder:hd,pleaseEnterFieldCode:yd,pleaseEnterForm:md,pleaseEnterList:vd,pleaseEnterProcess:gd,pleaseEnterLabel:bd,pleaseEnterValue:Ed,bizKeyNotBindFiled:_d,pleaseSelectOneField:Cd,pleaseEnterNumberRange:wd,pleaseEnterAValueGreaterThanMin:Id,pleaseEnterAValueLessThanMax:Sd,numberRangeSetError:Ad,stringRangeError:Rd,attachmentMaxSize:Td,pleaseEnterTotalScoreSetting:Bd,theTotalScoreMustNotBeLessThan1:Pd,scoreDefaultValueRange:Dd,attachmentLimitError:xd,PleaseReselectTheOptionalQuantity:Od,TheMaximumLengthIsGreaterThanTheMinimumLength:Fd,TheMinimumLengthIsGreaterThanTheMaximumLength:kd,PleaseSelectTheCorrectOptionSettings:Md,optionIdIsRepeat:Nd,optionIsRequired:Ld,pleaseEnterDataCode:$d,pleaseEnterValueFieldCode:Vd,pleaseEnterSvcCode:jd,pleaseBindAtLeastOneDisplayValue:Hd,pleaseSelectProvince:qd,pleaseSelectCity:Ud,pleaseSelectDistrict:Wd,limitRowsCannotBeLessThan0:Kd,TheNumberOfRowsCannotBeLessThanMinRows:zd,pleaseEnterColumnWidth:Gd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Xd,pleaseCompleteAllRulesAndConditions:Qd,pleaseSelectControl:Jd,pleaseSelectDashboard:Zd,theViewNameCannotBeEmpty:Yd,pleaseSelectOcrType:pd,pleaseSelectAtLeastOneFieldToFillIn:ef,pleaseChooseAtLeastOne:tf,pleaseEnterButtonContent:nf,pleaseEnterDataCodeInDataSetting:uf,pleaseEnterValueFieldCodeInDataSetting:af,pleaseEnterSvcCodeInDataSetting:rf,pleaseBindAtLeastOneDisplayValueInDataSetting:lf,rootNodeIsRequiredInDataSetting:of,pleaseEnterMaxHeight:cf,pleaseEnter:sf,pleaseEnterWatermark:df,pleaseEnterFileName:ff,pleaseUploadAtLeastOnePrintTemplate:hf,pleaseAssignBusiness:yf,pleaseAssignExternal:mf},gf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ef="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_f="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wf="{caption}\u5FC5\u9808",If="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Sf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Af="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Rf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tf="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Bf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Df="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Of="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",kf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Nf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$f="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Vf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",jf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Hf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",qf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Uf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Wf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Kf="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",zf="\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",Gf="\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",Xf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Qf="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Jf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Zf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Yf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",pf="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",th="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ih="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",uh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ah="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",rh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",oh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",ch="please select control",sh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",dh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",fh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",hh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",yh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",mh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",vh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",gh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ch="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",wh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ih="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ah="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Rh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Th="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Bh={isNotNumber:gf,isNotString:bf,isNotObject:Ef,isNotArray:_f,isNotBoolean:Cf,runtimeRequired:wf,pleaseEnterCaption:If,pleaseEnterCaptionTip:Sf,pleaseEnterRowCaption:Af,pleaseEnterPlaceholder:Rf,pleaseEnterFieldCode:Tf,pleaseEnterForm:Bf,pleaseEnterList:Pf,pleaseEnterProcess:Df,pleaseEnterLabel:xf,pleaseEnterValue:Of,bizKeyNotBindFiled:Ff,pleaseSelectOneField:kf,pleaseEnterNumberRange:Mf,pleaseEnterAValueGreaterThanMin:Nf,pleaseEnterAValueLessThanMax:Lf,numberRangeSetError:$f,stringRangeError:Vf,attachmentMaxSize:jf,pleaseEnterTotalScoreSetting:Hf,theTotalScoreMustNotBeLessThan1:qf,scoreDefaultValueRange:Uf,attachmentLimitError:Wf,PleaseReselectTheOptionalQuantity:Kf,TheMaximumLengthIsGreaterThanTheMinimumLength:zf,TheMinimumLengthIsGreaterThanTheMaximumLength:Gf,PleaseSelectTheCorrectOptionSettings:Xf,optionIdIsRepeat:Qf,optionIsRequired:Jf,pleaseEnterDataCode:Zf,pleaseEnterValueFieldCode:Yf,pleaseEnterSvcCode:pf,pleaseBindAtLeastOneDisplayValue:eh,pleaseSelectProvince:th,pleaseSelectCity:nh,pleaseSelectDistrict:ih,limitRowsCannotBeLessThan0:uh,TheNumberOfRowsCannotBeLessThanMinRows:ah,pleaseEnterColumnWidth:rh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lh,pleaseCompleteAllRulesAndConditions:oh,pleaseSelectControl:ch,pleaseSelectDashboard:sh,theViewNameCannotBeEmpty:dh,pleaseSelectOcrType:fh,pleaseSelectAtLeastOneFieldToFillIn:hh,pleaseChooseAtLeastOne:yh,pleaseEnterButtonContent:mh,pleaseEnterDataCodeInDataSetting:vh,pleaseEnterValueFieldCodeInDataSetting:gh,pleaseEnterSvcCodeInDataSetting:bh,pleaseBindAtLeastOneDisplayValueInDataSetting:Eh,rootNodeIsRequiredInDataSetting:_h,pleaseEnterMaxHeight:Ch,pleaseEnter:wh,pleaseEnterWatermark:Ih,pleaseEnterFileName:Sh,pleaseUploadAtLeastOnePrintTemplate:Ah,pleaseAssignBusiness:Rh,pleaseAssignExternal:Th},Ph={zhCN:id,enUS:vf,jaJP:Bh},nr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(nr||(nr={}));var ir;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(ir||(ir={}));var Dh="zh-CN";function p(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ur;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ur||(ur={}));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.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var v;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(v||(v={}));var Q;Q={},p(Q,v.ARRAY,C.ARRAY_COLUMN),p(Q,v.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),p(Q,v.DECIMAL,C.DECIMAL_COLUMN),p(Q,v.DEPARTMENTS,C.DEPARTMENT_COLUMN),p(Q,v.FILE,C.FILE_COLUMN),p(Q,v.IMAGE,C.IMAGE_COLUMN),p(Q,v.ADDRESS,C.LOCATION_COLUMN),p(Q,v.EMPLOYEES,C.EMPLOYEE_COLUMN),p(Q,v.TEXT,C.TEXT_COLUMN),p(Q,v.TIMESCOPE,C.TIMESCOPE_COLUMN),p(Q,v.TIMESTAMP,C.TIMESTAMP_COLUMN),p(Q,v.VARCHAR,C.VARCHAR_COLUMN),p(Q,v.RELATION,C.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 ar="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",xh=ar+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?ar:xh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Qi(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 Oh(t){if(Array.isArray(t))return Qi(t)}function Fh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kh(){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 gn(t,e,n){return kh()?gn=Reflect.construct:gn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&yt(o,r.prototype),o},gn.apply(null,arguments)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(t)}function lr(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&&yt(t,e)}function Mh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Nh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lh(){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 $h(t,e){return e&&(Vh(e)==="object"||typeof e=="function")?e:Fh(t)}function yt(t,e){return yt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},yt(t,e)}function or(t){return Oh(t)||Nh(t)||jh(t)||Lh()}var Vh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jh(t,e){if(!!t){if(typeof t=="string")return Qi(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 Qi(t,e)}}function Ji(t){var e=typeof Map=="function"?new Map:void 0;return Ji=function(i){if(i===null||!Mh(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 gn(i,arguments,ht(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),yt(u,i)},Ji(t)}function Hh(){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 cr(t){var e=Hh();return function(){var i=ht(t),u;if(e){var a=ht(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return $h(this,u)}}var Zi=console;function qh(){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=Zi).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(or(u)))}function sr(){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=Zi).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(or(u)))}function Uh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Yi=function(t){lr(n,t);var e=cr(n);function n(i){rr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Uh(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ji(Error)),Wh=function(t){lr(n,t);var e=cr(n);function n(i){rr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Yi);function dr(t){throw new Yi(t)}function fr(t){throw new Wh(t)}function Kh(t){Zi.error(new Yi(t))}var zh=Object.prototype.toString;function hr(t,e){return zh.call(t)==="[object "+e+"]"}function Gh(t){return hr(t,"String")}function Xh(t){return hr(t,"Promise")}var Qh=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();Xh(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 c=u[a];if(!(r===l.length-1&&!Gh(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 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 Jh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var f=function(){function t(){Jh(this,t)}return t.getMessage=function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)},t.resetI18n=function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Dh;return new Qh({locale:n,messages:Ph})},t.setLocale=function(n){return this.$i18n.setLocale(n)},t}();f.$i18n=f.resetI18n();function Zh(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,c){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){qh("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===c.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var Yh=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},ph={exports:{}};(function(t){(function(e){var n=function(m,E,x){if(!o(E)||y(E)||g(E)||_(E)||c(E))return E;var A,D=0,ne=0;if(d(E))for(A=[],ne=E.length;D<ne;D++)A.push(n(m,E[D],x));else{A={};for(var O in E)Object.prototype.hasOwnProperty.call(E,O)&&(A[m(O,x)]=n(m,E[O],x))}return A},i=function(m,E){E=E||{};var x=E.separator||"_",A=E.split||/(?=[A-Z])/;return m.split(A).join(x)},u=function(m){return w(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(E,x){return x?x.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var E=u(m);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(m,E){return i(m,E).toLowerCase()},l=Object.prototype.toString,c=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},y=function(m){return l.call(m)=="[object Date]"},g=function(m){return l.call(m)=="[object RegExp]"},_=function(m){return l.call(m)=="[object Boolean]"},w=function(m){return m=m-0,m===m},b=function(m,E){var x=E&&"process"in E?E.process:E;return typeof x!="function"?m:function(A,D){return x(A,m,D)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,E){return n(b(u,E),m)},decamelizeKeys:function(m,E){return n(b(r,E),m,E)},pascalizeKeys:function(m,E){return n(b(a,E),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(Yh)})(ph);var yr={};Object.defineProperty(yr,"__esModule",{value:!0});function pi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:pi(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:pi(i)}return e}}var ey=yr.default=pi;function Ee(t){if(t!==void 0)return typeof t=="object"?ey(t):t}function ty(t){return Object.prototype.toString.call(t)==="[object Object]"}function eu(t){return Array.isArray(t)}function ny(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function iy(t){if(Array.isArray(t))return tu(t)}function mr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function uy(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){mr(a,i,u,r,l,"next",c)}function l(c){mr(a,i,u,r,l,"throw",c)}r(void 0)})}}function ay(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ry(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ly(){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 nu(t){return iy(t)||ry(t)||oy(t)||ly()}function oy(t,e){if(!!t){if(typeof t=="string")return tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tu(t,e)}}var cy=function(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 c([o,d])}}function c(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}}},sy=function(){function t(){ay(this,t),this._events=new Map,this.debug=!1}var e=t.prototype;return e.emit=function(i){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return uy(function(){var c,o,d,y,g,_,w,b,I,m,E,x;return cy(this,function(A){switch(A.label){case 0:if(c=l._events.get(i),o=[],!c)return[3,10];d=c.slice(),y=!0,g=!1,_=void 0,A.label=1;case 1:A.trys.push([1,8,9,10]),w=d[Symbol.iterator](),A.label=2;case 2:if(y=(b=w.next()).done)return[3,7];if(I=b.value,!c.includes(I))return[3,6];A.label=3;case 3:return A.trys.push([3,5,,6]),l.debug&&sr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(nu(a))),[4,I.apply(null,nu(a))];case 4:return m=A.sent(),l.debug&&sr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(i," \u4E8B\u4EF6: ").concat(I.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+I.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(nu(a),[m])),o.push(m),m===!1?[3,7]:[3,6];case 5:return E=A.sent(),Kh(String(E)+":"+String(E.stack)),[3,6];case 6:return y=!0,[3,2];case 7:return[3,10];case 8:return x=A.sent(),g=!0,_=x,[3,10];case 9:try{!y&&w.return!=null&&w.return()}finally{if(g)throw _}return[7];case 10:return[2,o]}})})()},e.on=function(i,u){if(this._events.has(i)){var a;(a=this._events.get(i))===null||a===void 0||a.push(u)}else this._events.set(i,[u])},e.off=function(i,u){if(this._events.has(i)){var a=this._events.get(i),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}},e.delete=function(i){this._events.has(i)&&this._events.delete(i)},e.clear=function(){this._events=new Map},t}(),dy=[];new Set(dy.map(function(t){return t.Designer.controlType}));function vr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function ue(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&iu(t,e)}function gr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function fy(t,e){return e&&(hy(e)==="object"||typeof e=="function")?e:vr(t)}function iu(t,e){return iu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},iu(t,e)}var hy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ae(t){var e=yy();return function(){var i=bn(t),u;if(e){var a=bn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return fy(this,u)}}var re=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},br=function t(e){S(this,t);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},uu=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);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}(br),my=function t(e){S(this,t),this.pc=new uu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new uu(e==null?void 0:e.mobile):new uu({width:130,minWidth:180})},vy=function t(e){S(this,t);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:[]},Ze=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},gy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(Ze),Er=function t(e){S(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},au=function t(e){S(this,t);var n,i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Er(r)}))!==null&&a!==void 0?a:[]},by=function t(e){S(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:v.VARCHAR},Ey=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);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 c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(Ze),_y=function t(e){S(this,t);var n,i;this.type="sublist-page",this.formBind=new Ze(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 by(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 Ey(r)}))!==null&&a!==void 0?a:[]},Cy=function t(e){S(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},mt=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},_r=function t(e){var n=this;S(this,t),this.type="conditions";var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();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 c,o=new t(l);(c=n.children)===null||c===void 0||c.push(o)}else{var d,y=new ru(l);(d=n.children)===null||d===void 0||d.push(y)}}))},ru=function t(e){S(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();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 Cy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new mt(e==null?void 0:e.rightVariableBo)},wy=function t(e){S(this,t);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new W(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Y=function t(e){S(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},lu=function t(e){S(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},Iy=function t(e){S(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function ou(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 _r(l):new ru(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 _r(l):new ru(l)}))!==null&&u!==void 0?u:[],gr(this,W)||gr(this,su)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new Iy(l)}))!==null&&r!==void 0?r:[]}}var W=function t(e){var n=this;S(this,t);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var 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 y;(y=n.displayBoList)===null||y===void 0||y.push(new lu(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var c;this.showOrder=(c=e==null?void 0:e.showOrder)!==null&&c!==void 0?c:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",ou.call(this,e)},cu=function t(e){S(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},_e=function t(e){S(this,t);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 c;this.icon=(c=e==null?void 0:e.icon)!==null&&c!==void 0?c:"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 y;this.priorityProcess=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},Cr=function t(e){S(this,t);var n,i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new lu(r)}))!==null&&a!==void 0?a:[]},En=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new Cr(l)}))!==null&&r!==void 0?r:[],u}return n}(W),Sy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u,a;u=e.call(this,i);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new Cr(c)}))!==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}(W),wr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i),u.rootNode=new mt(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}(En),Ir=function t(e){S(this,t);var n,i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new Y(r)}))!==null&&a!==void 0?a:[]},su=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this,i),ou.call(vr(u),i),u}return n}(Ir),Sr=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;u=e.call(this,i);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}(Ir),Ar=function t(e){S(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Ay=function t(e){S(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function de(t){var e;return(e=t==null?void 0:t.map(function(n){return new Ay(n)}))!==null&&e!==void 0?e:[]}var du=function t(){S(this,t)},Ry=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.amount=new re(i==null?void 0:i.amount),u.currency=new re(i==null?void 0:i.currency),u}return n}(du),Ty=function t(e){S(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:_n.CNY},By=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.min=new re(i==null?void 0:i.min),u.max=new re(i==null?void 0:i.max),u}return n}(du),Py=function t(e){S(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},Dy=function t(e){S(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var 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:""},xy=function(t){ue(n,t);var e=ae(n);function n(i){S(this,n);var u;return u=e.call(this),u.result=new re(i==null?void 0:i.result),u.unit=new re(i==null?void 0:i.unit),u}return n}(du),Oy=function t(e){S(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},_n;(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"})(_n||(_n={}));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.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(s||(s={}));var fu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(fu||(fu={}));var Ce=function t(e){S(this,t);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},Fy=function t(e){S(this,t);var n,i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(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 Er(r)}))!==null&&a!==void 0?a:[],ou.call(this,e)},ky=function t(e){S(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},My=function t(e){S(this,t);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""};function Ny(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ly(){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 Cn(t,e,n){return Ly()?Cn=Reflect.construct:Cn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&>(o,r.prototype),o},Cn.apply(null,arguments)}function vt(t){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vt(t)}function $y(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&>(t,e)}function Vy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function jy(t,e){return e&&(Hy(e)==="object"||typeof e=="function")?e:Ny(t)}function gt(t,e){return gt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},gt(t,e)}var Hy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yu(t){var e=typeof Map=="function"?new Map:void 0;return yu=function(i){if(i===null||!Vy(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 Cn(i,arguments,vt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),gt(u,i)},yu(t)}function qy(){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 Uy(t){var e=qy();return function(){var i=vt(t),u;if(e){var a=vt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return jy(this,u)}}var H=function t(e){hu(this,t),this.isHide={type:"boolean"}},De=function(t){$y(n,t);var e=Uy(n);function n(i){return hu(this,n),e.call(this)}return n}(yu(Array)),U=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";hu(this,t);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new ky(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};U.Rules=H,U.RuntimeRules=De;function oe(){return oe=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},oe.apply(this,arguments)}function Wy(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function mu(t){return mu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mu(t)}function wn(t,e){return wn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wn(t,e)}function Ky(){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 In(t,e,n){return Ky()?In=Reflect.construct:In=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&wn(o,r.prototype),o},In.apply(null,arguments)}function zy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function vu(t){var e=typeof Map=="function"?new Map:void 0;return vu=function(i){if(i===null||!zy(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 In(i,arguments,mu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),wn(u,i)},vu(t)}var Gy=/%[sdj%]/g,Rr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Rr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function gu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function ee(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(Gy,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(c){return"[Circular]"}break;default:return l}});return r}return u}function Xy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function q(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Xy(e)&&typeof t=="string"&&!t)}function Qy(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 Tr(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 Jy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Br=function(t){Wy(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}(vu(Error));function Zy(t,e,n,i){if(e.first){var u=new Promise(function(y,g){var _=function(I){return i(I),I.length?g(new Br(I,gu(I))):y()},w=Jy(t);Tr(w,n,_)});return u.catch(function(y){return y}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,c=0,o=[],d=new Promise(function(y,g){var _=function(b){if(o.push.apply(o,b),c++,c===l)return i(o),o.length?g(new Br(o,gu(o))):y()};r.length||(i(o),y()),r.forEach(function(w){var b=t[w];a.indexOf(w)!==-1?Tr(b,n,_):Qy(b,n,_)})});return d.catch(function(y){return y}),d}function Pr(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 Dr(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]=oe(oe({},t[n]),i):t[n]=i}}return t}function xr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||q(e,a||t.type))&&i.push(ee(u.messages.required,t.fullField))}function Yy(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ee(u.messages.whitespace,t.fullField))}var bu={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},bt={integer:function(e){return bt.number(e)&&parseInt(e,10)===e},float:function(e){return bt.number(e)&&!bt.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"&&!bt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(bu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(bu.url)},hex:function(e){return typeof e=="string"&&!!e.match(bu.hex)}};function py(t,e,n,i,u){if(t.required&&e===void 0){xr(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?bt[r](e)||i.push(ee(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ee(u.messages.types[r],t.fullField,t.type))}function em(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",c=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,y=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(y?d="number":g?d="string":_&&(d="array"),!d)return!1;_&&(o=e.length),g&&(o=e.replace(c,"_").length),a?o!==t.len&&i.push(ee(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ee(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ee(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ee(u.messages[d].range,t.fullField,t.min,t.max))}var Ye="enum";function tm(t,e,n,i,u){t[Ye]=Array.isArray(t[Ye])?t[Ye]:[],t[Ye].indexOf(e)===-1&&i.push(ee(u.messages[Ye],t.fullField,t[Ye].join(", ")))}function nm(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(ee(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:xr,whitespace:Yy,type:py,range:em,enum:tm,pattern:nm};function im(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e,"string")&&!t.required)return n();R.required(t,e,i,a,u,"string"),q(e,"string")||(R.type(t,e,i,a,u),R.range(t,e,i,a,u),R.pattern(t,e,i,a,u),t.whitespace===!0&&R.whitespace(t,e,i,a,u))}n(a)}function um(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(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(e===""&&(e=void 0),q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.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(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}function lm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),q(e)||R.type(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(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(t,e,i,a,u))}n(a)}function cm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&(R.type(t,e,i,a,u),R.range(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==null&&!t.required)return n();R.required(t,e,i,a,u,"array"),e!=null&&(R.type(t,e,i,a,u),R.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(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R.type(t,e,i,a,u)}n(a)}var fm="enum";function hm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u),e!==void 0&&R[fm](t,e,i,a,u)}n(a)}function ym(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e,"string")&&!t.required)return n();R.required(t,e,i,a,u),q(e,"string")||R.pattern(t,e,i,a,u)}n(a)}function mm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e,"date")&&!t.required)return n();if(R.required(t,e,i,a,u),!q(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),R.type(t,l,i,a,u),l&&R.range(t,l.getTime(),i,a,u)}}n(a)}function vm(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;R.required(t,e,i,a,u,r),n(a)}function Eu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(q(e,a)&&!t.required)return n();R.required(t,e,i,r,u,a),q(e,a)||R.type(t,e,i,r,u)}n(r)}function gm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(q(e)&&!t.required)return n();R.required(t,e,i,a,u)}n(a)}var Et={string:im,method:um,number:am,boolean:rm,regexp:lm,integer:om,float:cm,array:sm,object:dm,enum:hm,pattern:ym,date:mm,url:Eu,hex:Eu,email:Eu,required:vm,any:gm};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 Cu=_u();function we(t){this.rules=null,this._messages=Cu,this.define(t)}we.prototype={messages:function(e){return e&&(this._messages=Dr(_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 c(b){var I,m=[],E={};function x(A){if(Array.isArray(A)){var D;m=(D=m).concat.apply(D,A)}else m.push(A)}for(I=0;I<b.length;I++)x(b[I]);m.length?E=gu(m):(m=null,E=null),l(m,E)}if(r.messages){var o=this.messages();o===Cu&&(o=_u()),Dr(o,r.messages),r.messages=o}else r.messages=this.messages();var d,y,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(b){d=u.rules[b],y=a[b],d.forEach(function(I){var m=I;typeof m.transform=="function"&&(a===e&&(a=oe({},a)),y=a[b]=m.transform(y)),typeof m=="function"?m={validator:m}:m=oe({},m),m.validator=u.getValidationMethod(m),m.field=b,m.fullField=m.fullField||b,m.type=u.getType(m),m.validator&&(g[b]=g[b]||[],g[b].push({rule:m,value:y,source:a,field:b}))})});var w={};return Zy(g,r,function(b,I){var m=b.rule,E=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");E=E&&(m.required||!m.required&&b.value),m.field=b.field;function x(ne,O){return oe(oe({},O),{},{fullField:m.fullField+"."+ne})}function A(ne){ne===void 0&&(ne=[]);var O=ne;if(Array.isArray(O)||(O=[O]),!r.suppressWarning&&O.length&&we.warning("async-validator:",O),O.length&&m.message!==void 0&&(O=[].concat(m.message)),O=O.map(Pr(m)),r.first&&O.length)return w[m.field]=1,I(O);if(!E)I(O);else{if(m.required&&!b.value)return m.message!==void 0?O=[].concat(m.message).map(Pr(m)):r.error&&(O=[r.error(m,ee(r.messages.required,m.field))]),I(O);var ie={};if(m.defaultField)for(var hn in b.value)b.value.hasOwnProperty(hn)&&(ie[hn]=m.defaultField);ie=oe(oe({},ie),b.rule.fields);for(var me in ie)if(ie.hasOwnProperty(me)){var Ki=Array.isArray(ie[me])?ie[me]:[ie[me]];ie[me]=Ki.map(x.bind(null,me))}var yn=new we(ie);yn.messages(r.messages),b.rule.options&&(b.rule.options.messages=r.messages,b.rule.options.error=r.error),yn.validate(b.value,b.rule.options||r,function(st){var ve=[];O&&O.length&&ve.push.apply(ve,O),st&&st.length&&ve.push.apply(ve,st),I(ve.length?ve:null)})}}var D;m.asyncValidator?D=m.asyncValidator(m,b.value,A,b.source,r):m.validator&&(D=m.validator(m,b.value,A,b.source,r),D===!0?A():D===!1?A(m.message||m.field+" fails"):D instanceof Array?A(D):D instanceof Error&&A(D.message)),D&&D.then&&D.then(function(){return A()},function(ne){return A(ne)})},function(b){c(b)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Et.hasOwnProperty(e.type))throw new Error(ee("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Et.required:Et[this.getType(e)]||!1}},we.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Et[e]=n},we.warning=Rr,we.messages=Cu,we.validators=Et;var bm={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 Em(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new we(t);return n.messages(Object.assign(bm,e)),n}var _m=new sy;function wu(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 Cm(t){if(Array.isArray(t))return t}function wm(t){if(Array.isArray(t))return wu(t)}function Or(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Fr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Or(a,i,u,r,l,"next",c)}function l(c){Or(a,i,u,r,l,"throw",c)}r(void 0)})}}function Im(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(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 Sm(t,e,n){return e&&kr(t.prototype,e),n&&kr(t,n),t}function Am(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Nr(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Rm(){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 Tm(){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 Lr(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){Am(t,u,n[u])})}return t}function Bm(t){return Cm(t)||Nr(t)||$r(t)||Rm()}function Iu(t){return wm(t)||Nr(t)||$r(t)||Tm()}function $r(t,e){if(!!t){if(typeof t=="string")return wu(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 wu(t,e)}}var Vr=function(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 c([o,d])}}function c(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}}},F=function(){function e(i){var u=this;Im(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Hr,this.removeSetting=jr,this._callControlHooks("preInstance",i);var a=Mr(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,c=a.controlType,o=a.controlFieldType,d=a.controlEventKeys,y=a.controlCustomEvents,g=a.name,_=a.setting;r&&l&&c||fr("The ".concat(g," controlName,controlIcon,controlType is not define"));var w;this.id=(w=i==null?void 0:i.id)!==null&&w!==void 0?w:se(10),this.name=r,this.icon=l;var b;this.type=(b=i==null?void 0:i.type)!==null&&b!==void 0?b:c,this.props=new U(i==null?void 0:i.props,(Mr(this,e)?this.constructor:void 0).controlName);var I;this.controlType=(I=i==null?void 0:i.controlType)!==null&&I!==void 0?I:"base",this.setting=Ee(_);var m;this.fieldType=(m=i==null?void 0:i.fieldType)!==null&&m!==void 0?m:o,this.eventKeys=Ee(d),this.customEvents=Ee(y),Promise.resolve().then(function(){u._callControlHooks("postInstance",i)})}var n=e.prototype;return n._callControlHooks=function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,c=Bm(a),o=c[0],d=c.slice(1);return(l=_m).emit.apply(l,[o,this].concat(Iu(d)))},n.preUpdate=function(u,a){this._callControlHooks("preUpdateProps",u,a)},n.postUpdate=function(u,a){this._callControlHooks("postUpdateProps",u,a)},n.updateProps=function(u,a){this.preUpdate(u,a),Zh(this.props,u,a),this.postUpdate(u,a)},n.preValidate=function(){var u=this;return Fr(function(){var a,r,l;return Vr(this,function(c){switch(c.label){case 0:return a=Lr({},u.rules),[4,u._callControlHooks("preValidate",a)];case 1:return r=c.sent(),l=r[r.length-1],[2,l===!1?void 0:l]}})})()},n.validate=function(u,a){var r=this;return Fr(function(){var l,c,o,d;return Vr(this,function(y){switch(y.label){case 0:return[4,r.preValidate()];case 1:l=y.sent(),c=l!==void 0?l:Lr({},r.rules),Array.isArray(a)&&a.forEach(function(g){c.hasOwnProperty(g)&&delete c[g]}),o=Em(c,u),y.label=2;case 2:return y.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return y.sent(),[2,!0];case 4:throw d=y.sent(),d.control||(d.control=r),d;case 5:return[2]}})})()},n.toDataBindModel=function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,c=this.props,o=c.dataBind,d=c.datasourceBind,y=c.optionConfig,g=c.caption,_=c.required,w=c.maxLength,b=c.options,I=c.encrypted,m=c.encryptedMode;if(!(!a&&!o&&!d)){var E={parentId:u,fieldType:a,controlId:r,caption:g,type:l,props:{}};switch(o&&(E.dataBind=o),y){case"datasource":case void 0:d&&(E.datasourceBind=d);break;case"custom":E.props.options=b;break}return _!==void 0&&(E.required=_),w!==void 0&&(E.maxLength=w),I!==void 0&&(E.encrypted=I),m!==void 0&&(E.encryptedMode=m),E}},n.preToSchema=function(){this._callControlHooks("preToSchema",this)},n.toSchema=function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ee(this.props),fieldType:this.fieldType,controlType:this.controlType}},e.updateBasicControl=function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Iu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}},Sm(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}}]),e}();F.controlName="\u63A7\u4EF6",F.controlIcon="icon",F.controlType="control",F.controlEventKeys=[],F.controlCustomEvents=[],F.setting=[],F.__is_control__=!0,F.removeSettingItem=jr,F.updateSettingItem=Hr;function jr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string";if(!!Array.isArray(e.setting)){var r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,c;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((c=e.setting[r].showItems)===null||c===void 0)&&c.length)&&e.setting.splice(r,1)}}})}function Hr(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 c;(c=a.showItems).push.apply(c,Iu(e.showItems))}}}})}function Pm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qr(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 Dm(t,e,n){return e&&qr(t.prototype,e),n&&qr(t,n),t}function xm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var K=function(){function e(n){Pm(this,e),this.customEvents=[],this.parent=null;var i=xm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||fr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:se(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new U(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:fu.UNKNOWN}return Dm(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}();K.controlType="control",K.__is_control__=!0,K.controlCustomEvents=[];function Su(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=ny(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 Sn(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 Ur(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function An(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rn(t){return Rn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rn(t)}function Tn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Au(t,e)}function Om(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Fm(t,e){return e&&(km(e)==="object"||typeof e=="function")?e:Ur(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Au(t,e)}var km=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Mm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bn(t){var e=Mm();return function(){var i=Rn(t),u;if(e){var a=Rn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Fm(this,u)}}var X=function(t){Tn(n,t);var e=Bn(n);function n(i){An(this,n);var u;u=e.call(this,i),u.dataBind={},u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.isHideCaption={type:"boolean"},u.labelPosition={type:"enum",enum:["top","left"]},u.defaultState={type:"enum",enum:["default","readonly"]},u.required={type:"boolean"},u.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Om(i.dataBind,re))u.dataBind={type:"object",required:!0,fields:Ee(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:Ee(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(H),k=function(t){Tn(n,t);var e=Bn(n);function n(i){An(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}(De),T=function(t){Tn(n,t);var e=Bn(n);function n(i){An(this,n);var u;u=e.call(this,i);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 c;u.captionTip=(c=i==null?void 0:i.captionTip)!==null&&c!==void 0?c:"";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 y;u.placeholder=(y=i==null?void 0:i.placeholder)!==null&&y!==void 0?y:"";var g;u.required=(g=i==null?void 0:i.required)!==null&&g!==void 0?g:!1;var _;u.requiredMessage=(_=i==null?void 0:i.requiredMessage)!==null&&_!==void 0?_:"",u.dataBind=new re(i==null?void 0:i.dataBind);var w;return u.defaultValue=(w=i==null?void 0:i.defaultValue)!==null&&w!==void 0?w:"",u}return n}(U);T.Rules=X,T.RuntimeRules=k;var pe=function(t){Tn(n,t);var e=Bn(n);function n(i){An(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Su.call(Ur(u),i),u}return n}(X);function Nm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function $m(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function Vm(t,e){return e&&(jm(e)==="object"||typeof e=="function")?e:Nm(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}var jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Hm(){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 qm(t){var e=Hm();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 Vm(this,u)}}var B=function(t){$m(n,t);var e=qm(n);function n(i){Lm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(F);B.controlEventKeys=["on_change","on_focus","on_blur"];function Um(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function Km(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Tu(t,e)}function zm(t,e){return e&&(Gm(e)==="object"||typeof e=="function")?e:Um(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tu(t,e)}var Gm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Xm(){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 Qm(t){var e=Xm();return function(){var i=Dn(t),u;if(e){var a=Dn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zm(this,u)}}var P=function(t){Km(n,t);var e=Qm(n);function n(i){Wm(this,n);var u;return u=e.call(this,i),u.controlType="form",u.props=new T(i==null?void 0:i.props),u}return n}(K);function Jm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function xn(t){return xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xn(t)}function Ym(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bu(t,e)}function pm(t,e){return e&&(ev(e)==="object"||typeof e=="function")?e:Jm(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bu(t,e)}var ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function tv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function nv(t){var e=tv();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 pm(this,u)}}var M=function(t){Ym(n,t);var e=nv(n);function n(i){return Zm(this,n),e.call(this,i)}return n}(U);function Pu(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 iv(t){if(Array.isArray(t))return Pu(t)}function uv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function av(){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 Wr(t){return iv(t)||uv(t)||rv(t)||av()}function rv(t,e){if(!!t){if(typeof t=="string")return Pu(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 Pu(t,e)}}function lv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Kr(t,e){t.parent=e,lv(t,"parent")}function ov(t,e){t.forEach(function(n){Kr(n,e)})}var zr=Symbol("targetKey");function Gr(t){var e;return(e=t[zr])!==null&&e!==void 0?e:t}function Xr(t,e){return ov(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 c;return u===zr?i:(c=Reflect).get.apply(c,[i,u].concat(Wr(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),c=3;c<r;c++)l[c-3]=arguments[c];var o;if(eu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Wr(l)));return ty(a)&&Kr(a,e),d}})}function fe(t,e,n,i){var u=i!=null?i:t,a=Xr(Gr(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Xr(Gr(l),u)},enumerable:!0})}function Du(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 cv(t){if(Array.isArray(t))return Du(t)}function Qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jr(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function sv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Jr(a,i,u,r,l,"next",c)}function l(c){Jr(a,i,u,r,l,"throw",c)}r(void 0)})}}function dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function et(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(u,a,r){var l=Cv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},et(t,e,n||t)}function Ie(t){return Ie=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ie(t)}function hv(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 yv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function mv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function vv(){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 gv(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){fv(t,u,n[u])})}return t}function bv(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 Ev(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):bv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function _v(t,e){return e&&(wv(e)==="object"||typeof e=="function")?e:Qr(t)}function xu(t,e){return xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xu(t,e)}function Cv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ie(t),t!==null););return t}function Zr(t){return cv(t)||mv(t)||Iv(t)||vv()}var wv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Iv(t,e){if(!!t){if(typeof t=="string")return Du(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 Du(t,e)}}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 Av(t){var e=Sv();return function(){var i=Ie(t),u;if(e){var a=Ie(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return _v(this,u)}}var Rv=function(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 c([o,d])}}function c(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}}},Tv=1e4,L=function(e){hv(i,e);var n=Av(i);function i(a){dv(this,i);var r;r=n.call(this,a),r.controlType="layout";var l=yv(this,i)?this.constructor:void 0,c=l.excludes,o=l.childrenMaxLength;return r.props=new M(a==null?void 0:a.props),fe(Qr(r),"children",a==null?void 0:a.children),r.excludes=Ee(c),r.childrenMaxLength=o,r}var u=i.prototype;return u.judgeExcludesChildren=function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)},u.judgeJoinChildren=function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length},u.validate=function(r,l){var c=this,o=this,d=function(){return et(Ie(i.prototype),"validate",c)};return sv(function(){return Rv(this,function(y){switch(y.label){case 0:return[4,d().call(o,r,l)];case 1:return y.sent(),[4,Promise.all(o.children.map(function(g){return g.validate(r,l)}))];case 2:return y.sent(),[2,!0]}})})()},u.toDataBindModel=function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=et(Ie(i.prototype),"toDataBindModel",this).call(this),c=l?[l]:[];return this.children.reduce(function(o,d){var y=d.toDataBindModel(r);if(Array.isArray(y)){var g=y.filter(function(_){return!!_});return Zr(o).concat(Zr(g))}return y&&o.push(y),o},c)},u.toSchema=function(){var r=et(Ie(i.prototype),"toSchema",this).call(this),l=this.children.map(function(c){var o=c.toSchema();return o});return Ev(gv({},r),{children:l})},i}(F);L.excludes=!1,L.childrenMaxLength=Tv;function Yr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function Pv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function Dv(t,e){return e&&(xv(e)==="object"||typeof e=="function")?e:Yr(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}var xv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ov(){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 Fv(t){var e=Ov();return function(){var i=On(t),u;if(e){var a=On(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Dv(this,u)}}var $=function(t){Pv(n,t);var e=Fv(n);function n(i){Bv(this,n);var u;return u=e.call(this,i),u.controlType="layout",u.props=new M(i==null?void 0:i.props),fe(Yr(u),"children",i==null?void 0:i.children),u}return n}(K);function pr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function Mv(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&&Fu(t,e)}function Nv(t,e){return e&&(Lv(e)==="object"||typeof e=="function")?e:pr(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fu(t,e)}var Lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $v(){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 Vv(t){var e=$v();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 Nv(this,u)}}var kn=function(t){Mv(n,t);var e=Vv(n);function n(i,u){kv(this,n);var a;return a=e.call(this,u),fe(pr(a),"headers",u==null?void 0:u.headers,i),a}return n}(U);function ku(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 jv(t){if(Array.isArray(t))return ku(t)}function el(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tl(t,e,n,i,u,a,r){try{var l=t[a](r),c=l.value}catch(o){n(o);return}l.done?e(c):Promise.resolve(c).then(i,u)}function Hv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){tl(a,i,u,r,l,"next",c)}function l(c){tl(a,i,u,r,l,"throw",c)}r(void 0)})}}function qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Uv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(u,a,r){var l=Qv(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r):c.value}},tt(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function Wv(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&&Mu(t,e)}function Kv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function zv(){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 nl(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){Uv(t,u,n[u])})}return t}function Gv(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)):Gv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Xv(t,e){return e&&(Jv(e)==="object"||typeof e=="function")?e:el(t)}function Mu(t,e){return Mu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mu(t,e)}function Qv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function ul(t){return jv(t)||Kv(t)||Zv(t)||zv()}var Jv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zv(t,e){if(!!t){if(typeof t=="string")return ku(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 ku(t,e)}}function Yv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pv(t){var e=Yv();return function(){var i=Se(t),u;if(e){var a=Se(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Xv(this,u)}}var eg=function(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 c([o,d])}}function c(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}}},Nu=function(t){Wv(n,t);var e=pv(n);function n(u){qv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new kn(el(a),u==null?void 0:u.props),a}var i=n.prototype;return i.validate=function(a,r){var l=this,c=this,o=function(){return tt(Se(n.prototype),"validate",l)};return Hv(function(){return eg(this,function(d){switch(d.label){case 0:return[4,o().call(c,a)];case 1:return d.sent(),[4,Promise.all(c.props.headers.map(function(y){return y.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()},i.toDataBindModel=function(){var a=tt(Se(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(c,o){var d=o.toDataBindModel(l);if(Array.isArray(d)){var y=d.filter(function(g){return!!g});return ul(c).concat(ul(y))}return d&&c.push(d),c},r)},i.toSchema=function(){var a=tt(Se(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return il(nl({},a),{props:il(nl({},this.props),{headers:r})})},n}(F);Nu.controlFieldType=v.LIST;function Lu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tg(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 ng(t,e,n){return e&&al(t.prototype,e),n&&al(t,n),t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function ig(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&&$u(t,e)}function ug(t,e){return e&&(ag(e)==="object"||typeof e=="function")?e:Lu(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$u(t,e)}var ag=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rg(){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 lg(t){var e=rg();return function(){var i=Mn(t),u;if(e){var a=Mn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ug(this,u)}}var rl=function(t){ig(n,t);var e=lg(n);function n(i){tg(this,n);var u;return u=e.call(this,i),u.controlType="list",u.props=new kn(Lu(u),i==null?void 0:i.props),fe(Lu(u),"children",i==null?void 0:i.children),u}return ng(n,[{key:"length",get:function(){return this.children.length}}]),n}(K);function ll(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function ju(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function og(t,e){return e&&(cg(e)==="object"||typeof e=="function")?e:ll(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Hu(t,e)}var cg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function sg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qu(t){var e=sg();return function(){var i=Nn(t),u;if(e){var a=Nn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return og(this,u)}}var he=function(t){ju(n,t);var e=qu(n);function n(i){Vu(this,n);var u;return u=e.call(this,i),u.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},u.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},u.width.required=i.widthType==="px",u}return n}(H),V=function(t){ju(n,t);var e=qu(n);function n(i){Vu(this,n);var u;u=e.call(this,i);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 br(i==null?void 0:i.autoWidth),u.dataBind=new re(i==null?void 0:i.dataBind);var c;u.sort=(c=i==null?void 0:i.sort)!==null&&c!==void 0?c:!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}(U);V.Rules=he;var ol=function(t){ju(n,t);var e=qu(n);function n(i){Vu(this,n);var u;return u=e.call(this,i),u.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},u.options=[{type:"array",message:f.getMessage("isNotArray")}],u.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Su.call(ll(u),i),u}return n}(he);function dg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function hg(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 yg(t,e){return e&&(mg(e)==="object"||typeof e=="function")?e:dg(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function vg(){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 gg(t){var e=vg();return function(){var i=Ln(t),u;if(e){var a=Ln(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return yg(this,u)}}var z=function(t){hg(n,t);var e=gg(n);function n(i){fg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new V(i==null?void 0:i.props),u}return n}(F);function bg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function _g(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wu(t,e)}function Cg(t,e){return e&&(wg(e)==="object"||typeof e=="function")?e:bg(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wu(t,e)}var wg=function(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=$n(t),u;if(e){var a=$n(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cg(this,u)}}var G=function(t){_g(n,t);var e=Sg(n);function n(i){Eg(this,n);var u;return u=e.call(this,i),u.controlType="column",u.props=new V(i==null?void 0:i.props),u}return n}(K);function Ag(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 Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function Tg(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 Bg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:Ag(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}var Pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){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 xg(t){var e=Dg();return function(){var i=Vn(t),u;if(e){var a=Vn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Bg(this,u)}}var zu=function(t){Tg(n,t);var e=xg(n);function n(i){Rg(this,n);var u;return u=e.call(this,i),u.dataBind=new re(i==null?void 0:i.dataBind),u}return n}(M);function Og(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function kg(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 Mg(t,e){return e&&(Ng(e)==="object"||typeof e=="function")?e:Og(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}var Ng=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Lg(){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 $g(t){var e=Lg();return function(){var i=jn(t),u;if(e){var a=jn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Mg(this,u)}}var Vg=function(t){kg(n,t);var e=$g(n);function n(i){Fg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new zu(i==null?void 0:i.props),u}return n}(L);function jg(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 Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function qg(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 Ug(t,e){return e&&(Wg(e)==="object"||typeof e=="function")?e:jg(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}var Wg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function zg(t){var e=Kg();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 Ug(this,u)}}var Gg=function(t){qg(n,t);var e=zg(n);function n(i){Hg(this,n);var u;return u=e.call(this,i),u.controlType="search",u.props=new zu(i==null?void 0:i.props),u}return n}($);function Xg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Qg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function qn(t){return qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qn(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&&Qu(t,e)}function Zg(t,e){return e&&(Yg(e)==="object"||typeof e=="function")?e:Xg(t)}function Qu(t,e){return Qu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qu(t,e)}var Yg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pg(){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 eb(t){var e=pg();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 Zg(this,u)}}var Ju=function(t){Jg(n,t);var e=eb(n);function n(i){return Qg(this,n),e.call(this,i)}return n}(M);function tb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function nb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function ib(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 ub(t,e){return e&&(ab(e)==="object"||typeof e=="function")?e:tb(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}var ab=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rb(){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 lb(t){var e=rb();return function(){var i=Un(t),u;if(e){var a=Un(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ub(this,u)}}var ob=function(t){ib(n,t);var e=lb(n);function n(i){nb(this,n);var u;return u=e.call(this,i),u.controlType="wrap",u.props=new Ju(i==null?void 0:i.props),u}return n}(L);function cb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function db(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&&Yu(t,e)}function fb(t,e){return e&&(hb(e)==="object"||typeof e=="function")?e:cb(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}var hb=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yb(){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 mb(t){var e=yb();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 fb(this,u)}}var vb=function(t){db(n,t);var e=mb(n);function n(i){sb(this,n);var u;return u=e.call(this,i),u.controlType="wrap",u.props=new Ju(i==null?void 0:i.props),u}return n}($);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class pu extends U{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 cl extends F{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}cl.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 gb extends K{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"text"}}var sl={Designer:cl,Runtime:gb,Property:pu};class ea extends U{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class ta extends F{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}ta.controlEventKeys=["on_click"],ta.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 bb extends K{constructor(e){super(e),this.props=new ea(e==null?void 0:e.props)}static get controlType(){return"link"}}var dl={Designer:ta,Runtime:bb,Property:ea};class J extends U{constructor(e){var n,i,u,a,r,l,c,o,d;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=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.optObj=new My((d=e==null?void 0:e.optObj)!=null?d:{})}}class Z extends F{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Z.controlEventKeys=["on_click","on_click_finish"],Z.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class te extends K{constructor(e){super(e),this.props=new J(e==null?void 0:e.props)}static get controlType(){return"button"}}var fl={Designer:Z,Runtime:te,Property:J},Ae=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Ae||{}),hl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(hl||{}),yl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(yl||{});class Kn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var na=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(na||{});class zn{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ia=(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))(ia||{});class ua{constructor(e){var n,i,u,a,r,l,c,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new mt((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 mt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new mt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class ml{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(c=>new ua(c)))!=null?u:[new ua],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 aa{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:se(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=(c=e==null?void 0:e.active)!=null?c:!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 vl{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 gl=480;function _t(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class bl{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 El{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 _l=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(_l||{}),la=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(la||{}),Gn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Gn||{}),Re=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Re||{}),oa=(t=>(t.ALL="all",t.ADMIN="admin",t))(oa||{});class ca extends U{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:ia.SOLID}}class Cl extends F{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Cl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Eb extends K{constructor(e){super(e),this.props=new ca(e==null?void 0:e.props)}static get controlType(){return"divider"}}var wl={Designer:Cl,Runtime:Eb,Property:ca};class _b extends H{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(Ae.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 Xn extends U{constructor(e){var n,i,u,a;super(e),this.dataBind=new re(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Ae.ShowSubmitUser,Ae.ShowSubmitDept,Ae.ShowSubmitTime,Ae.ShowCurrentApprovar,Ae.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:nt==null?void 0:nt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Xn.Rules=_b;class nt extends F{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}nt.controlFieldType=v.AUTO_NUMBER,nt.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 Cb extends K{constructor(e){super(e),this.props=new Xn(e==null?void 0:e.props)}static get controlType(){return"title"}}var Il={Designer:nt,Runtime:Cb,Property:Xn};class wb extends H{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class Qn extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ct.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ct.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}Qn.Rules=wb;class Ct extends Z{constructor(e){super(e),this.props=new Qn(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"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 Ib extends te{constructor(e){super(e),this.props=new Qn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Sl={Designer:Ct,Runtime:Ib,Property:Qn};class Sb extends H{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Jn extends J{constructor(e){var n,i,u,a,r,l;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.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:""}}Jn.Rules=Sb;class wt extends Z{constructor(e){super(e),this.props=new Jn(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"}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Ab extends te{constructor(e){super(e),this.props=new Jn(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Al={Designer:wt,Runtime:Ab,Property:Jn};class sa extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:It.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:It.controlIcon}}class It extends Z{constructor(e){super(e),this.props=new sa(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"}}It.controlEventKeys=["on_click"],It.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Rb extends te{constructor(e){super(e),this.props=new sa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Rl={Designer:It,Runtime:Rb,Property:sa};class da extends J{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:St.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:St.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new aa(r)))!=null?a:[new aa({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class St extends Z{constructor(e){super(e),this.props=new da(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"}}St.controlEventKeys=["on_click","on_click_finish"],St.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 Tb extends te{constructor(e){super(e),this.props=new da(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Tl={Designer:St,Runtime:Tb,Property:da};class fa extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:At.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:At.controlIcon}}class At extends Z{constructor(e){super(e),this.props=new fa(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"}}At.controlEventKeys=["on_click"],At.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Bb extends te{constructor(e){super(e),this.props=new fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Bl={Designer:At,Runtime:Bb,Property:fa};class Pb{constructor(e){this.dataCode=e.dataCode}}class ha extends J{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Rt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new Pb(r)))!=null?a:[]}}class Rt extends Z{constructor(e){super(e),this.props=new ha(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"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class Db extends te{constructor(e){super(e),this.props=new ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Pl={Designer:Rt,Runtime:Db,Property:ha};function Zn(){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 xb extends H{constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},Zn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Zn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Yn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Tt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new su(e==null?void 0:e.fillPayload),this.formBind=new gy(e==null?void 0:e.formBind),this.fillBack=new Sr(e==null?void 0:e.fillBack)}}Yn.Rules=xb;class Tt extends Z{constructor(e){super(e),this.props=new Yn(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"}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Ob extends te{constructor(e){super(e),this.props=new Yn(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Dl={Designer:Tt,Runtime:Ob,Property:Yn};class Fb extends H{constructor(e){super(e),this.fillPayload={type:"object",fields:ge({},Zn())},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:ge({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Zn())}}}class pn extends J{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon,this.fillPayload=new su(e==null?void 0:e.fillPayload),this.listPageBind=new au(e==null?void 0:e.listPageBind),this.fillBack=new Sr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new cu(e==null?void 0:e.selectedContentConfig)}}pn.Rules=Fb;class Bt extends Z{constructor(e){super(e),this.props=new pn(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"}}Bt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class kb extends te{constructor(e){super(e),this.props=new pn(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var xl={Designer:Bt,Runtime:kb,Property:pn};class Mb extends H{constructor(e){super(e)}}class Nb extends De{constructor(e){super(e)}}class Pt extends U{constructor(e){super(e)}}Pt.Rules=Mb,Pt.RuntimeRules=Nb;class Ol extends F{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Ol.setting=[];class Lb extends K{constructor(e){super(e),this.props=new Pt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Fl={Designer:Ol,Runtime:Lb,Property:Pt};class $b extends H{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 ei extends U{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"}}ei.Rules=$b;class kl extends F{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}kl.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 Vb extends K{constructor(e){super(e),this.props=new ei(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Ml={Designer:kl,Runtime:Vb,Property:ei};class jb extends H{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 ti extends U{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new Fy(a)))!=null?u:[]}}ti.Rules=jb;class Nl extends F{constructor(e){super(e),this.props=new ti(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"}}Nl.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Hb extends K{constructor(e){super(e),this.props=new ti(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Ll={Designer:Nl,Runtime:Hb,Property:ti};class qb extends H{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 ni extends J{constructor(e){var n,i,u,a,r,l,c,o,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.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:it.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:it.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?y:[]}}ni.Rules=qb;class it extends Z{constructor(e){super(e),this.props=new ni(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"}}it.controlEventKeys=["on_click","on_click_finish"],it.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 Ub extends te{constructor(e){super(e),this.props=new ni(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var $l={Designer:it,Runtime:Ub,Property:ni};class Wb extends H{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 ii extends J{constructor(e){var n,i,u,a,r,l,c,o,d,y;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.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:ut.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:ut.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(y=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new Y(g)))!=null?y:[]}}ii.Rules=Wb;class ut extends Z{constructor(e){super(e),this.props=new ii(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"}}ut.controlEventKeys=["on_click","on_click_finish"],ut.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 Kb extends te{constructor(e){super(e),this.props=new ii(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Vl={Designer:ut,Runtime:Kb,Property:ii};class zb extends H{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ui extends J{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Dt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new bl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}ui.Rules=zb;class Dt extends Z{constructor(e){super(e),this.props=new ui(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"}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.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 Gb extends te{constructor(e){super(e),this.props=new ui(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var jl={Designer:Dt,Runtime:Gb,Property:ui};class ya extends J{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:xt.controlIcon}}class xt extends Z{constructor(e){super(e),this.props=new ya(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"}}xt.controlEventKeys=["on_click"],xt.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 Xb extends te{constructor(e){super(e),this.props=new ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Hl={Designer:xt,Runtime:Xb,Property:ya};class Qb extends H{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 ai extends U{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}}ai.Rules=Qb;class ri extends F{constructor(e){super(e),this.props=new ai(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"}}ri.controlEventKeys=["on_click"],ri.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 Jb extends K{constructor(e){super(e),this.props=new ai(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ql={Designer:ri,Runtime:Jb,Property:ai};class ma extends U{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ot.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ot.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=(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 Ot extends F{constructor(e){super(e),this.props=new ma(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"}}Ot.controlEventKeys=["on_click"],Ot.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 Zb extends K{constructor(e){super(e),this.props=new ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Ul={Designer:Ot,Runtime:Zb,Property:ma},Yb=Object.freeze({__proto__:null,Text:sl,Link:dl,Button:fl,Divider:wl,Title:Il,CreateFormListButton:Sl,BatchSubmissionListButton:Al,SubmissionRecordListButton:Rl,ExportListButton:Tl,ExportRecordListButton:Bl,ImportRecordListButton:Pl,FormSelectButton:Dl,ListSelectButton:xl,Pagination:Fl,Dashboard:Ml,ListViewSelect:Ll,TextOcrButton:$l,InvoiceCheckButton:Vl,BatchPrintListButton:jl,BatchPrintRecordListButton:Hl,OperationButton:ql,BatchDeleteButton:Ul});class pb extends X{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=_t(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class e0 extends k{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:_t(e.regularRules.expression),message:e.regularRules.errMessage})}}class at extends T{constructor(e){var n,i,u,a,r,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 Ar(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:rt.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=(c=e==null?void 0:e.encryptedMode)!=null?c:""}}at.Rules=pb,at.RuntimeRules=e0;class rt extends B{constructor(e){super(e),this.props=new at(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"}}rt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rt.controlFieldType=v.VARCHAR,rt.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 Wl extends P{constructor(e){super(e),this.props=new at(e==null?void 0:e.props)}static get controlType(){return"input"}}Wl.controlFieldType=v.VARCHAR;var Kl={Designer:rt,Runtime:Wl,Property:at};class t0 extends pe{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 n0 extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Ft extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(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=(c=e==null?void 0:e.limitMax)!=null?c:"unlimited",this.datasourceBind=new W(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:kt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var I;(I=this.multistageFilling)==null||I.push(new Y(b))}))}}Ft.Rules=t0,Ft.RuntimeRules=n0;class kt extends B{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}kt.controlEventKeys=["on_change","on_click"],kt.controlFieldType=v.ARRAY,kt.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 zl extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}zl.controlFieldType=v.ARRAY;var Gl={Designer:kt,Runtime:zl,Property:Ft};class i0 extends pe{constructor(e){super(e)}}class li extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(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=(c=e==null?void 0:e.optionsFormat)!=null?c:"horizontal",this.datasourceBind=new W(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:Mt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:"",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(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}li.Rules=i0;class Mt extends B{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Mt.controlEventKeys=["on_change","on_click"],Mt.controlFieldType=v.VARCHAR,Mt.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 Xl extends P{constructor(e){super(e),this.props=new li(e==null?void 0:e.props)}static get controlType(){return"radio"}}Xl.controlFieldType=v.VARCHAR;var Ql={Designer:Mt,Runtime:Xl,Property:li};class u0 extends X{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=_t(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class a0 extends k{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:_t(e.regularRules.expression),message:e.regularRules.errMessage})}}class Nt extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(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=(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=(y=e==null?void 0:e.unit)!=null?y:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Lt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new Ar(e==null?void 0:e.regularRules)}}Nt.Rules=u0,Nt.RuntimeRules=a0;class Lt extends B{constructor(e){super(e),this.props=new Nt(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}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=v.DECIMAL,Lt.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 Jl extends P{constructor(e){super(e),this.props=new Nt(e==null?void 0:e.props)}static get controlType(){return"number"}}Jl.controlFieldType=v.DECIMAL;var Zl={Designer:Lt,Runtime:Jl,Property:Nt};class va extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,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=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:oi.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(_=>new Kn(_)))!=null?d:[],this.allowDateRange=(y=e==null?void 0:e.allowDateRange)!=null?y:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class oi extends B{constructor(e){super(e),this.props=new va(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}}oi.controlFieldType=v.TIMESTAMP,oi.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:"date-common-time-setting",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 Yl extends P{constructor(e){super(e),this.props=new va(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Yl.controlFieldType=v.TIMESTAMP;var pl={Designer:oi,Runtime:Yl,Property:va};class r0 extends k{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class ci extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.dataBind=new By(e==null?void 0:e.dataBind),this.defaultValue=new Py(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=(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=(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:si.controlName,this.limitDateList=(g=(y=e==null?void 0:e.limitDateList)==null?void 0:y.map(_=>new Kn(_)))!=null?g:[]}}ci.RuntimeRules=r0;class si extends B{constructor(e){super(e),this.props=new ci(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}}si.controlFieldType=v.TIMESCOPE,si.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:"date-common-time-setting",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 eo extends P{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"date-range"}}eo.controlFieldType=v.TIMESCOPE;var to={Designer:si,Runtime:eo,Property:ci};class l0 extends X{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 o0 extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class $t extends T{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:Vt.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}}$t.Rules=l0,$t.RuntimeRules=o0;class Vt extends B{constructor(e){super(e),this.props=new $t(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"}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=v.TEXT,Vt.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 no extends P{constructor(e){super(e),this.props=new $t(e==null?void 0:e.props)}static get controlType(){return"textarea"}}no.controlFieldType=v.TEXT;var io={Designer:Vt,Runtime:no,Property:$t};class c0 extends X{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 s0 extends k{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class jt extends T{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:Ht.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}jt.Rules=c0,jt.RuntimeRules=s0;class Ht extends B{constructor(e){super(e),this.props=new jt(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"}}Ht.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ht.controlFieldType=v.TEXT,Ht.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 uo extends P{constructor(e){super(e),this.props=new jt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}uo.controlFieldType=v.TEXT;var ao={Designer:Ht,Runtime:uo,Property:jt};class d0 extends pe{constructor(e){super(e)}}class di extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:fi.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=(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(g=>{var _;(_=this.multistageFilling)==null||_.push(new Y(g))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new Ze(e==null?void 0:e.formBind)}}di.Rules=d0;class fi extends B{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}fi.controlFieldType=v.VARCHAR,fi.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.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class ro extends P{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"select"}}ro.controlFieldType=v.VARCHAR;var lo={Designer:fi,Runtime:ro,Property:di};class f0 extends pe{constructor(e){super(e)}}class h0 extends k{constructor(e){super(e),this[0].type="array"}}class qt extends T{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:hi.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=(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(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new Ze(e==null?void 0:e.formBind)}}qt.Rules=f0,qt.RuntimeRules=h0;class hi extends B{constructor(e){super(e),this.props=new qt(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"}}hi.controlFieldType=v.ARRAY,hi.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.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class oo extends P{constructor(e){super(e),this.props=new qt(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}oo.controlFieldType=v.ARRAY;var co={Designer:hi,Runtime:oo,Property:qt};class y0 extends k{constructor(e){super(e),this[0].type="array"}}class yi extends T{constructor(e){var n,i,u,a,r,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=(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=(c=e==null?void 0:e.caption)!=null?c:mi.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(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))}))}}yi.RuntimeRules=y0;class mi extends B{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}mi.controlFieldType=v.EMPLOYEES,mi.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 so extends P{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"employee"}}so.controlFieldType=v.EMPLOYEES;var fo={Designer:mi,Runtime:so,Property:yi};const m0=10485760,v0=104857600,g0=1048576e3;class b0 extends X{constructor(e){super(e),this.maxSize={type:"number",min:0,max:g0,message:f.getMessage("attachmentMaxSize")}}}class E0 extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class lt extends T{constructor(e){var n,i,u,a,r,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=(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:v0,this.caption=(c=e==null?void 0:e.caption)!=null?c:ot.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}lt.Rules=b0,lt.RuntimeRules=E0;class ot extends B{constructor(e){super(e),this.props=new lt(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}ot.controlEventKeys=["on_change"],ot.controlFieldType=v.FILE,ot.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 ga extends P{constructor(e){super(e),this.props=new lt(e==null?void 0:e.props)}static get controlType(){return"attachment"}}ga.controlFieldType=v.FILE;var ho={Designer:ot,Runtime:ga,Property:lt};const yo=class extends ot{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:yo.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let ba=yo;ba.controlFieldType=v.IMAGE,ba.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-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class _0 extends ga{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 C0 extends lt{constructor(e){super(e)}}var mo={Designer:ba,Runtime:_0,Property:C0};class w0 extends pe{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 I0 extends k{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:[mn(ge({},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 Ut extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,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=(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 Ry(e==null?void 0:e.dataBind),this.datasourceBind=new W((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new lu({value:"name"})]}),this.defaultValue=new Ty((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:_n.CNY}),this.options=de(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:Wt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(y=e==null?void 0:e.submitSelectCurrency)!=null?y:!1,this.showUpperCase=(g=e==null?void 0:e.showUpperCase)!=null?g:!1}}Ut.Rules=w0,Ut.RuntimeRules=I0;class Wt extends B{constructor(e){super(e),this.props=new Ut(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}}Wt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Wt.controlFieldType=v.MONEY,Wt.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 vo extends P{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"amount"}}vo.controlFieldType=v.MONEY;var go={Designer:Wt,Runtime:vo,Property:Ut};class S0 extends X{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 A0 extends k{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Kt extends T{constructor(e){var n,i,u,a,r,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:na.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 zn(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new zn),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:zt.controlName}}Kt.Rules=S0,Kt.RuntimeRules=A0;class zt extends B{constructor(e){super(e),this.props=new Kt(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 zn);this.props.explain.push(...u)}}super.postUpdate(e,n)}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=v.DECIMAL,zt.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 bo extends P{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"score"}}bo.controlFieldType=v.DECIMAL;var Eo={Designer:zt,Runtime:bo,Property:Kt};class R0 extends k{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class vi extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gi.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 Dy((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"}}vi.RuntimeRules=R0;class gi extends B{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}gi.controlFieldType=v.ADDRESS,gi.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 _o extends P{constructor(e){super(e),this.props=new vi(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"}}_o.controlFieldType=v.ADDRESS;var Co={Designer:gi,Runtime:_o,Property:vi};class T0 extends k{constructor(e){super(e),this[0].type="array"}}class bi extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,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=(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=(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:Gt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\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(_=>{var w;(w=this.multistageFilling)==null||w.push(new Y(_))}))}}bi.RuntimeRules=T0;class Gt extends B{constructor(e){super(e),this.props=new bi(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}}Gt.controlName="\u90E8\u95E8",Gt.controlFieldType=v.DEPARTMENTS,Gt.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 wo extends P{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"department"}}wo.controlFieldType=v.DEPARTMENTS;var Io={Designer:Gt,Runtime:wo,Property:bi};class Ea extends T{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:Xt.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Xt extends B{constructor(e){super(e),this.props=new Ea(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"}}Xt.controlEventKeys=["on_change"],Xt.controlFieldType=v.AUTO_NUMBER,Xt.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 So extends P{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}So.controlFieldType=v.AUTO_NUMBER;var Ao={Designer:Xt,Runtime:So,Property:Ea};class B0 extends X{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 P0 extends k{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class Qt extends T{constructor(e){var n,i,u,a,r,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 xy(e==null?void 0:e.dataBind),this.defaultValue=new Oy(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:Jt.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=(c=e==null?void 0:e.scriptSrc)!=null?c:""}}Qt.Rules=B0,Qt.RuntimeRules=P0;class Jt extends B{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Jt.controlEventKeys=["on_change"],Jt.controlFieldType=v.CALC,Jt.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 Ro extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"calc"}}Ro.controlFieldType=v.CALC;var To={Designer:Jt,Runtime:Ro,Property:Qt};class D0 extends k{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 Ei extends T{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:_i.controlName}}Ei.RuntimeRules=D0;class _i extends B{constructor(e){super(e),this.props=new Ei(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"}}_i.controlFieldType=v.DECIMAL_RANGE,_i.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 Bo extends P{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Bo.controlFieldType=v.DECIMAL_RANGE;var Po={Designer:_i,Runtime:Bo,Property:Ei};class x0 extends k{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Ci extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_;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=(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=(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=(y=e==null?void 0:e.caption)!=null?y:wi.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(w=>new Kn(w)))!=null?_:[]}}Ci.RuntimeRules=x0;class wi extends B{constructor(e){super(e),this.props=new Ci(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"}}wi.controlFieldType=v.ARRAY,wi.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:"date-common-time-setting",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 Do extends P{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Do.controlFieldType=v.ARRAY;var xo={Designer:wi,Runtime:Do,Property:Ci};class O0 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class F0 extends k{constructor(e){super(e),this[0].type="any"}}class Zt extends T{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Yt.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}}Zt.Rules=O0,Zt.RuntimeRules=F0;class Yt extends B{constructor(e){super(e),this.props=new Zt(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"}}Yt.controlFieldType=v.ANY,Yt.controlEventKeys=[],Yt.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 Oo extends P{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Oo.controlFieldType=v.ANY;var Fo={Designer:Yt,Runtime:Oo,Property:Zt};class k0 extends pe{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 Ii extends T{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=de((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new au(e==null?void 0:e.listPageBind),this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:pt.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=(c=e==null?void 0:e.showSelectedDetail)!=null?c:!1,this.selectedContentConfig=new cu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var g;(g=this.multistageFilling)==null||g.push(new Y(y))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new Ze(e==null?void 0:e.formBind)}}Ii.Rules=k0;class pt extends B{constructor(e){super(e),this.props=new Ii(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"}}pt.controlFieldType=v.VARCHAR,pt.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}],pt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class ko extends P{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}ko.controlFieldType=v.VARCHAR;var Mo={Designer:pt,Runtime:ko,Property:Ii};class _a extends at{constructor(e){super(e)}}class No extends rt{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}No.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 Lo extends P{constructor(e){super(e),this.props=new _a(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Lo.controlFieldType=v.VARCHAR;var $o={Designer:No,Runtime:Lo,Property:_a};class M0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Sn.call(this,e,Te.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 N0 extends k{constructor(e){super(e),this[0].type="array"}}class en extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b,I,m,E,x,A;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Te.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=(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=(y=e==null?void 0:e.isDefaultCheckSub)!=null?y:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new wr((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Te.controlCustomAttributes}),this.filterItemDatasourceBind=new wr((b=e==null?void 0:e.filterItemDatasourceBind)!=null?b:{attributes:Te.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(x=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(D=>new Y(D)))!=null?x:[],this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:[]}}en.Rules=M0,en.RuntimeRules=N0;class Te extends B{constructor(e){super(e),this.props=new en(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}]}}Te.controlEventKeys=["on_change","on_click"],Te.controlFieldType=v.ARRAY,Te.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 Vo extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"tree"}}Vo.controlFieldType=v.ARRAY;var jo={Designer:Te,Runtime:Vo,Property:en};class L0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},Sn.call(this,e,ct.controlCustomAttributes),e.externalType===Re.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class $0 extends k{constructor(e){super(e),this[0].type="array"}}class tn extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b;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=(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 En((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:ct.controlCustomAttributes}),this.datasourceType=(y=e==null?void 0:e.datasourceType)!=null?y:la.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:oa.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Re.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],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(I=>{var m;(m=this.multistageFilling)==null||m.push(new Y(I))}))}}tn.Rules=L0,tn.RuntimeRules=$0;class ct extends B{constructor(e){super(e),this.props=new tn(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=v.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 Ho extends P{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Ho.controlFieldType=v.EMPLOYEES;var qo={Designer:ct,Runtime:Ho,Property:tn};class V0 extends X{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"&&eu(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")&&eu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Si extends T{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:nn.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 ml(e==null?void 0:e.signatureConfig)}}Si.Rules=V0;class nn extends B{constructor(e){super(e),this.props=new Si(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"}}nn.controlEventKeys=["on_click","on_click_finish"],nn.controlFieldType=v.VARCHAR,nn.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 Uo extends P{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Uo.controlFieldType=v.VARCHAR;var Wo={Designer:nn,Runtime:Uo,Property:Si};class j0 extends X{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 H0 extends k{constructor(e){super(e),this[0].type="array"}}class un extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:an.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=(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=(y=e==null?void 0:e.maxSize)!=null?y:m0,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new vl(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}un.Rules=j0,un.RuntimeRules=H0;class an extends B{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}an.controlEventKeys=["on_change","on_wps_open"],an.controlFieldType=v.FILE,an.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 Ko extends P{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"wps"}}Ko.controlFieldType=v.FILE;var zo={Designer:an,Runtime:Ko,Property:un};class q0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Sn.call(this,e,Oe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class U0 extends k{constructor(e){super(e),this[0].type="array"}}class rn extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b,I;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=(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:Oe.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new En((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Gn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,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(m=>{var E;(E=this.multistageFilling)==null||E.push(new Y(m))}))}}rn.Rules=q0,rn.RuntimeRules=U0;class Oe extends B{constructor(e){super(e),this.props=new rn(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}}Oe.controlName="\u90E8\u95E8",Oe.controlFieldType=v.DEPARTMENTS,Oe.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 Go extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Go.controlFieldType=v.DEPARTMENTS;var Xo={Designer:Oe,Runtime:Go,Property:rn};class W0 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},Sn.call(this,e,Fe.controlCustomAttributes),e.businessType===Re.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class K0 extends k{constructor(e){super(e),this[0].type="array"}}class ln extends T{constructor(e){var n,i,u,a,r,l,c,o,d,y,g,_,w,b,I,m,E,x;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 au(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=(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:Fe.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new Sy((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Fe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Gn.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(b=e==null?void 0:e.businessType)!=null?b:Re.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(E=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new cu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(x=e==null?void 0:e.openMultistageFilling)!=null?x:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(A=>{var D;(D=this.multistageFilling)==null||D.push(new Y(A))}))}}ln.Rules=W0,ln.RuntimeRules=K0;class Fe extends B{constructor(e){super(e),this.props=new ln(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}}Fe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Fe.controlFieldType=v.DEPARTMENTS,Fe.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 Qo extends P{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Qo.controlFieldType=v.DEPARTMENTS;var Jo={Designer:Fe,Runtime:Qo,Property:ln},z0=Object.freeze({__proto__:null,Input:Kl,Checkbox:Gl,Radio:Ql,Number:Zl,DatePicker:pl,DateRange:to,Textarea:io,RichText:ao,Select:lo,SelectMultiple:co,Employee:fo,Image:mo,Attachment:ho,Amount:go,Score:Eo,Address:Co,Department:Io,AutoNumber:Ao,Calc:To,SearchNumberRange:Po,SearchDateRange:xo,VueFormItem:Fo,SelectRelation:Mo,SearchInput:$o,Tree:jo,Employee2:qo,ElectronicSignature:Wo,WPS:zo,Department2:Xo,OrganizationSelection:Jo});class Zo extends L{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Zo.excludes=[C.GRID];class G0 extends ${static get controlType(){return"grid"}constructor(e){super(e)}}var Yo={Designer:Zo,Runtime:G0,Property:M};const X0=24;class ke extends M{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:X0,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class on extends L{constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}on.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],on.childrenMaxLength=1;class Ca extends ${constructor(e){super(e),this.props=new ke(e==null?void 0:e.props)}static get controlType(){return"col"}}var po={Designer:on,Runtime:Ca,Property:ke};class Ai extends M{constructor(e){var n,i;super(e),this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(i=e==null?void 0:e.gutter)!=null?i:0}}class Ri extends L{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Ri.excludes=[C.ROW],Ri.setting=[{key:"col-setting",visible:!0}];class ec extends ${constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"row"}}var tc={Designer:Ri,Runtime:ec,Property:Ai};const Q0=4;class Ti extends Ri{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)}}Ti.excludes=[C.GRID_ROW],Ti.setting=[],Ti.childrenMaxLength=Q0;class J0 extends ec{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Z0 extends Ai{constructor(e){super(e)}}var nc={Designer:Ti,Runtime:J0,Property:Z0};class Y0 extends M.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Bi extends M{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Bi.Rules=Y0;class wa extends L{constructor(e){super(e),this.props=new Bi(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:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],wa.excludes=[C.CARD_GROUP];class p0 extends ${constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ic={Designer:wa,Runtime:p0,Property:Bi};class eE extends H{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 Pi extends M{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 my(e==null?void 0:e.metaAutoWidth)}}Pi.Rules=eE;class le extends L{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}}le.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",le.controlType="subtable-column",le.controlIcon="subtable-column",le.childrenMaxLength=1,le.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],le.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 uc extends ${constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}}uc.controlType="subtable-column";var ac={Designer:le,Runtime:uc,Property:Pi};class Ia extends M{constructor(e){super(e)}}class Me extends L{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}}Me.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Me.controlType="subtable-row",Me.controlIcon="subtable-row",Me.childrenMaxLength=1,Me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Me.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class tE extends ${constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var rc={Designer:Me,Runtime:tE,Property:Ia};class Sa extends M{constructor(e){var n,i,u,a,r,l,c,o,d,y;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:v.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new W(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=(y=e==null?void 0:e.departmentDisplayLevel)!=null?y:1}}class Ne extends L{constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}Ne.controlName="\u5217\u8868\u5355\u5143\u683C",Ne.controlType="gridtable-column",Ne.controlIcon="gridtable-column",Ne.childrenMaxLength=1,Ne.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ne.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class lc extends ${constructor(e){super(e),this.props=new Sa(e==null?void 0:e.props)}}lc.controlType="gridtable-column";var oc={Designer:Ne,Runtime:lc,Property:Sa};class Aa extends M{constructor(e){var n,i;super(e),this.minWidth=(n=e==null?void 0:e.minWidth)!=null?n:30,this.gap=(i=e==null?void 0:e.gap)!=null?i:10}}class cc extends L{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u9002\u5E94\u6362\u884C\u5E03\u5C40"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"AdvancedContainer"}}cc.excludes=[C.GRID_LAYOUT_CONTAINER,C.CARD_GROUP,C.TAB];class nE extends ${constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var sc={Designer:cc,Runtime:nE,Property:Aa};class Ra extends M{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class iE extends H{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Di extends M{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName}}Di.Rules=iE;class cn extends L{constructor(e){super(e),this.props=new Di(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"}}cn.excludes=[C.TAB],cn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class uE extends ${constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var dc={Designer:cn,Runtime:uE,Property:Di};class sn extends L{constructor(e){var n;super(e),this.props=new Ra(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new cn,new cn]}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 aE extends ${constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"tab"}}var fc={Designer:sn,Runtime:aE,Property:Ra};class hc extends M{constructor(e){super(e)}}class yc extends L{constructor(e){super(e),this.props=new hc({}),this.children=(e==null?void 0:e.children)||[new on({props:new ke({span:12})}),new on({props:new ke({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}yc.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class rE extends ${static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ca({props:new ke({span:12})}),new Ca({props:new ke({span:12})})]}}var mc={Designer:yc,Runtime:rE,Property:hc};class lE extends De{constructor(e){super(e),this.push({type:"object",fields:{}})}}class oE extends H{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")}),Su.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 dn extends M{constructor(e){var n,i,u,a,r,l,c,o,d,y,g;super(e),this.datasourceBind=new W(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 _y(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new wy(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(c=e==null?void 0:e.showFullScreen)!=null?c:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(y=e==null?void 0:e.isShowSelection)!=null?y:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType}}dn.Rules=oE,dn.RuntimeRules=lE;class xi extends L{constructor(e){super(e),this.props=new dn(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"}}xi.excludes=[C.ROW],xi.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"],xi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class cE extends ${constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var vc={Designer:xi,Runtime:cE,Property:dn};class sE extends De{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Oi extends M{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ce((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Ce((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Ce((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Ce((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(c=>new Ce(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new W(e==null?void 0:e.datasourceBind)}}Oi.RuntimeRules=sE;class gc extends L{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}gc.excludes=[];class dE extends ${constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var bc={Designer:gc,Runtime:dE,Property:Oi};class fE extends L{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class hE extends ${static get controlType(){return"page"}constructor(e){super(e)}}class yE extends M{constructor(e){var n;super(e),this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var Ec={Designer:fE,Runtime:hE,Property:yE};class mE extends L{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class vE extends ${static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class gE extends M{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new El(e==null?void 0:e.flexConfig)}}var _c={Designer:mE,Runtime:vE,Property:gE};class bE extends L{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class EE extends ${static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class _E extends M{constructor(e){super(e)}}var Cc={Designer:bE,Runtime:EE,Property:_E};class CE extends L{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class wE extends ${static get controlType(){return"position"}constructor(e){super(e)}}class IE extends M{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:CE,Runtime:wE,Property:IE};class Ta extends M{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class Ba extends L{constructor(e){var n;super(e),this.props=new Ta((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}Ba.excludes=[],Ba.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class SE extends ${constructor(e){var n;super(e),this.props=new Ta((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Ic={Designer:Ba,Runtime:SE,Property:Ta},AE=Object.freeze({__proto__:null,Grid:Yo,Col:po,Row:tc,GridRow:nc,CardGroup:ic,SubTableColumn:ac,SubTableRow:rc,GridTableColumn:oc,GridLayoutContainer:sc,Tab:fc,TabPane:dc,Toolbox:mc,ListView:vc,DataView:bc,Page:Ec,AdvancedContainer:_c,PositioningContainer:Cc,Position:wc,ActionBar:Ic});class RE extends H{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 TE extends De{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 fn extends kn{constructor(e,n){var i,u,a,r,l,c,o,d,y,g,_,w,b,I,m,E,x,A,D,ne,O,ie,hn,me,Ki,yn,st,ve;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Fi.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=(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:gl,this.printMode=(y=n==null?void 0:n.printMode)!=null?y:"row",this.limitRows=(g=n==null?void 0:n.limitRows)!=null?g:1,this.maxRows=(_=n==null?void 0:n.maxRows)!=null?_:null,this.defaultRows=(w=n==null?void 0:n.defaultRows)!=null?w:1,this.datasourceBind=new W(n==null?void 0:n.datasourceBind),this.canAdd=(b=n==null?void 0:n.canAdd)!=null?b:!0,this.canDelete=(I=n==null?void 0:n.canDelete)!=null?I:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(E=n==null?void 0:n.canEdit)!=null?E:!1,this.canImport=(x=n==null?void 0:n.canImport)!=null?x:!1,this.canExport=(A=n==null?void 0:n.canExport)!=null?A:!1,this.canClear=(D=n==null?void 0:n.canClear)!=null?D:!0,this.serverPagination=(ne=n==null?void 0:n.serverPagination)!=null?ne:!1,this.isShowCaptionTip=(O=n==null?void 0:n.isShowCaptionTip)!=null?O:!1,this.captionTip=(ie=n==null?void 0:n.captionTip)!=null?ie:"",this.mobileShowType=(hn=n==null?void 0:n.mobileShowType)!=null?hn:"list",this.mobileDefaultNum=(me=n==null?void 0:n.mobileDefaultNum)!=null?me:10,this.dataStorageDoc=(Ki=n==null?void 0:n.dataStorageDoc)!=null?Ki:new vy,this.fixedColumn=(yn=n==null?void 0:n.fixedColumn)!=null?yn:[],this.mobileRowCaption=(st=n==null?void 0:n.mobileRowCaption)!=null?st:"\u660E\u7EC6",this.mobileIsTile=(ve=n==null?void 0:n.mobileIsTile)!=null?ve:!1}}fn.Rules=RE,fn.RuntimeRules=TE;class Fi extends Nu{constructor(e){var n;super(e),this.props=new fn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new le,new le,new le])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new le,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Fi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Fi.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]},{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 BE extends rl{constructor(e){super(e),this.props=new fn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){dr("Method not implemented.")}getChildrenFormControl(){return[]}}var Sc={Designer:Fi,Runtime:BE,Property:fn};class Pa extends kn{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 PE extends he{constructor(e){super(e),this.caption.required=!1}}class ki extends V{constructor(e){var n,i,u,a,r,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:Le.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=(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"}}ki.Rules=PE;class Le extends z{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}Le.controlType="order-column",Le.controlName="\u5E8F\u53F7",Le.controlIcon="order-column",Le.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Da extends G{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}}Da.controlType="order-column",Da.controlFieldType=v.DECIMAL;var Ac={Designer:Le,Runtime:Da,Property:ki};class xa extends V{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:ye.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 ye extends z{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===ri.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return tr(this,null,function*(){return yield er(ye.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}ye.controlType="operation-column",ye.controlName="\u64CD\u4F5C",ye.controlIcon="operation-column",ye.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 Oa extends G{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}Oa.controlType="operation-column",Oa.controlFieldType=v.FILE;var Rc={Designer:ye,Runtime:Oa,Property:xa};class Mi extends Nu{constructor(e){super(e),this.props=new Pa(this,e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Le,new ye])}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 mn(ge({},e),{children:n})}validate(e,n){return tr(this,null,function*(){return yield er(Mi.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Mi.setting=[{key:"list-fixed-header",visible:!0}];class DE extends rl{constructor(e){super(e),this.props=new Pa(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){dr("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Tc={Designer:Mi,Runtime:DE,Property:Pa},xE=Object.freeze({__proto__:null,SubTable:Sc,GridTable:Tc});class OE extends ol{constructor(e){super(e),xe.call(this,e)}}class Ni extends V{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Ni.Rules=OE;class $e extends z{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}$e.controlType="varchar-column",$e.controlName="\u77ED\u6587\u672C",$e.controlIcon="varchar-column",$e.controlFieldType=v.VARCHAR,$e.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 Fa extends G{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}}Fa.controlType="varchar-column",Fa.controlFieldType=v.VARCHAR;var Bc={Designer:$e,Runtime:Fa,Property:Ni};class FE extends he{constructor(e){super(e),xe.call(this,e)}}class Li extends V{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:Ve.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 _e(e==null?void 0:e.linkOperationOption)}}Li.Rules=FE;class Ve extends z{constructor(e){super(e),this.props=new Li(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}}Ve.controlType="text-column",Ve.controlName="\u957F\u6587\u672C",Ve.controlIcon="text-column",Ve.controlFieldType=v.TEXT,Ve.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 ka extends G{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}}ka.controlType="text-column",ka.controlFieldType=v.TEXT;var Pc={Designer:Ve,Runtime:ka,Property:Li};class kE extends he{constructor(e){super(e),xe.call(this,e)}}class $i extends V{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:je.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 W(e==null?void 0:e.datasourceBind),this.options=de((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption)}}$i.Rules=kE;class je extends z{constructor(e){super(e),this.props=new $i(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}}je.controlType="decimal-column",je.controlName="\u6570\u503C",je.controlIcon="decimal-column",je.controlFieldType=v.DECIMAL,je.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 Ma extends G{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}}Ma.controlType="decimal-column",Ma.controlFieldType=v.DECIMAL;var Dc={Designer:je,Runtime:Ma,Property:$i};class ME extends he{constructor(e){super(e),xe.call(this,e)}}class Vi extends V{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 _e(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:He.controlName}}Vi.Rules=ME;class He extends z{constructor(e){super(e),this.props=new Vi(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}}He.controlType="timescope-column",He.controlName="\u65E5\u671F\u533A\u95F4",He.controlIcon="timescope-column",He.controlFieldType=v.TIMESCOPE,He.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 G{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}}Na.controlType="timescope-column",Na.controlFieldType=v.TIMESCOPE;var xc={Designer:He,Runtime:Na,Property:Vi};class NE extends he{constructor(e){super(e),xe.call(this,e)}}class ji extends V{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 _e(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:qe.controlName}}ji.Rules=NE;class qe extends z{constructor(e){super(e),this.props=new ji(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}}qe.controlType="timestamp-column",qe.controlName="\u65E5\u671F",qe.controlIcon="timestamp-column",qe.controlFieldType=v.TIMESTAMP,qe.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 La extends G{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}}La.controlType="timestamp-column",La.controlFieldType=v.TIMESTAMP;var Oc={Designer:qe,Runtime:La,Property:ji};class LE extends ol{constructor(e){super(e)}}class Hi extends V{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ue.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new W(e==null?void 0:e.datasourceBind),this.options=de((u=e==null?void 0:e.options)!=null?u:[{}])}}Hi.Rules=LE;class Ue extends z{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}Ue.controlType="array-column",Ue.controlName="\u6570\u7EC4",Ue.controlIcon="array-column",Ue.controlFieldType=v.ARRAY,Ue.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 $a extends G{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}}$a.controlType="array-column",$a.controlFieldType=v.ARRAY;var Fc={Designer:Ue,Runtime:$a,Property:Hi};class Va extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class We extends z{constructor(e){super(e),this.props=new Va(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}}We.controlType="department-column",We.controlName="\u90E8\u95E8",We.controlIcon="department-column",We.controlFieldType=v.DEPARTMENTS,We.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 ja extends G{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}}ja.controlType="department-column",ja.controlFieldType=v.DEPARTMENTS;var kc={Designer:We,Runtime:ja,Property:Va};class $E extends he{constructor(e){super(e),xe.call(this,e)}}class qi extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption)}}qi.Rules=$E;class Ke extends z{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}Ke.controlType="auto-number-column",Ke.controlName="\u81EA\u52A8\u7F16\u53F7",Ke.controlIcon="auto-number-column",Ke.controlFieldType=v.AUTO_NUMBER,Ke.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 G{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}}Ha.controlType="auto-number-column",Ha.controlFieldType=v.AUTO_NUMBER;var Mc={Designer:Ke,Runtime:Ha,Property:qi};class qa extends V{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName}}class ze extends z{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}}ze.controlType="file-column",ze.controlName="\u9644\u4EF6",ze.controlIcon="file-column",ze.controlFieldType=v.FILE,ze.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 Ua extends G{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}}Ua.controlType="file-column",Ua.controlFieldType=v.FILE;var Nc={Designer:ze,Runtime:Ua,Property:qa};class Wa extends V{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName}}class Ge extends z{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}}Ge.controlType="image-column",Ge.controlName="\u56FE\u7247",Ge.controlIcon="image-column",Ge.controlFieldType=v.IMAGE,Ge.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 Ka extends G{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}}Ka.controlType="image-column",Ka.controlFieldType=v.IMAGE;var Lc={Designer:Ge,Runtime:Ka,Property:Wa};class za extends V{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends z{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Xe.controlType="people-column",Xe.controlName="\u4EBA\u5458",Xe.controlIcon="people-column",Xe.controlFieldType=v.EMPLOYEES,Xe.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 Ga extends G{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Ga.controlType="people-column",Ga.controlFieldType=v.EMPLOYEES;var $c={Designer:Xe,Runtime:Ga,Property:za};class VE extends he{constructor(e){super(e),xe.call(this,e)}}class Ui extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption)}}Ui.Rules=VE;class Qe extends z{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}Qe.controlType="location-column",Qe.controlName="\u5730\u5740",Qe.controlIcon="location-column",Qe.controlFieldType=v.ADDRESS,Qe.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 Xa extends G{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}}Xa.controlType="location-column",Xa.controlFieldType=v.ADDRESS;var Vc={Designer:Qe,Runtime:Xa,Property:Ui};class Qa extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const jE=1;class Be extends z{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Qa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children),this.excludes=Ee(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 mn(ge({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=jE,Be.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 jc extends G{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props),fe(this,"children",e==null?void 0:e.children)}}jc.controlType="custom-column";var Hc={Designer:Be,Runtime:jc,Property:Qa};class Ja extends V{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Pe.controlName,this.datasourceBind=new En((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Pe.controlCustomAttributes})}}class Pe extends z{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=v.EMPLOYEES,Pe.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 Za extends G{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}}Za.controlType="employee-column",Za.controlFieldType=v.EMPLOYEES;var qc={Designer:Pe,Runtime:Za,Property:Ja};class Ya extends V{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new _e(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class Je extends z{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}Je.controlType="approval-status-column",Je.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Je.controlIcon="approval-status-column",Je.excludes=[],Je.setting=[{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-line-ellipsis",visible:!0}];class Uc extends G{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}}Uc.controlType="approval-status-column";var Wc={Designer:Je,Runtime:Uc,Property:Ya},HE=Object.freeze({__proto__:null,VarcharColumn:Bc,TextColumn:Pc,DecimalColumn:Dc,TimescopeColumn:xc,TimestampColumn:Oc,ArrayColumn:Fc,DepartmentColumn:kc,AutoNumberColumn:Mc,FileColumn:Nc,ImageColumn:Lc,PeopleColumn:$c,LocationColumn:Vc,CustomColumn:Hc,OrderColumn:Ac,OperationColumn:Rc,EmployeeColumn:qc,ApprovalStatusColumn:Wc});class qE extends De{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Wi extends zu{constructor(e){var n,i,u,a,r,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 Ce((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Ce((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=((c=e==null?void 0:e.custom)!=null?c:[]).map(d=>new Ce(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}Wi.RuntimeRules=qE;class pa extends Vg{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}pa.controlType="simple-search",pa.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 Kc extends Gg{constructor(e){var n;super(e),this.props=new Wi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Kc.controlType="simple-search";var zc={Designer:pa,Runtime:Kc,Property:Wi},UE=Object.freeze({__proto__:null,SimpleSearch:zc});class Gc extends Ju{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}function e_(t){return t}var WE={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C"}],groups:[{type:"tab",title:"\u5C5E\u6027",items:[{items:["wholeRow"]}]}]};class Xc extends ob{constructor(e){super(e),this.props=new Gc(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlIcon(){return"page"}static get controlType(){return"grid-wrap"}}Xc.setting=WE;class KE extends vb{static get controlType(){return"grid-wrap"}constructor(e){super(e)}}var Qc={Designer:Xc,Runtime:KE,Property:Gc},zE=Object.freeze({__proto__:null,GridWrap:Qc});h.ActionBar=Ic,h.Address=Co,h.AdvancedContainer=_c,h.Amount=go,h.ApprovalStatusColumn=Wc,h.ArrayColumn=Fc,h.AssignType=Re,h.Attachment=ho,h.AutoNumber=Ao,h.AutoNumberColumn=Mc,h.BatchDeleteButton=Ul,h.BatchPrintListButton=jl,h.BatchPrintRecordListButton=Hl,h.BatchSubmissionListButton=Al,h.Button=fl,h.Calc=To,h.CardGroup=ic,h.Checkbox=Gl,h.Col=po,h.CreateFormListButton=Sl,h.CustomColumn=Hc,h.DATE_CONFIG_TYPE=hl,h.DATE_LIMIT_TYPE=yl,h.Dashboard=Ml,h.DataView=bc,h.DatePicker=pl,h.DateRange=to,h.DecimalColumn=Dc,h.Department=Io,h.Department2=Xo,h.DepartmentColumn=kc,h.DepartmentType=Gn,h.Divider=wl,h.ElectronicSignature=Wo,h.ElectronicSignatureConfig=ml,h.Employee=fo,h.Employee2=qo,h.EmployeeColumn=qc,h.EncryptTypeEnum=_l,h.Explain=zn,h.ExportListButton=Tl,h.ExportRecordListButton=Bl,h.ExportTemplate=aa,h.FileColumn=Nc,h.FlexStyleConfig=El,h.FormSelectButton=Dl,h.Grid=Yo,h.GridLayoutContainer=sc,h.GridRow=nc,h.GridTable=Tc,h.GridTableColumn=oc,h.GridWrap=Qc,h.Image=mo,h.ImageColumn=Lc,h.ImportRecordListButton=Pl,h.Input=Kl,h.InternalType=oa,h.InvoiceCheckButton=Vl,h.LINE_STYLE=ia,h.LimitDate=Kn,h.Link=dl,h.ListSelectButton=xl,h.ListView=vc,h.ListViewSelect=Ll,h.LocationColumn=Vc,h.Number=Zl,h.OperationButton=ql,h.OperationColumn=Rc,h.OrderColumn=Ac,h.OrganizationSelection=Jo,h.OrganizeType=la,h.Page=Ec,h.Pagination=Fl,h.PeopleColumn=$c,h.Position=wc,h.PositioningContainer=Cc,h.PrintTemplate=bl,h.Radio=Ql,h.RichText=ao,h.Row=tc,h.SCORE_TYPE=na,h.SUBTABLE_DEFAULT_MAX_HEIGHT=gl,h.Score=Eo,h.SearchDateRange=xo,h.SearchInput=$o,h.SearchNumberRange=Po,h.Select=lo,h.SelectMultiple=co,h.SelectRelation=Mo,h.SimpleSearch=zc,h.SubTable=Sc,h.SubTableColumn=ac,h.SubTableRow=rc,h.SubmissionRecordListButton=Rl,h.Tab=fc,h.TabPane=dc,h.Text=sl,h.TextColumn=Pc,h.TextOcrButton=$l,h.Textarea=io,h.TimescopeColumn=xc,h.TimestampColumn=Oc,h.Title=Il,h.TitleConfigEnum=Ae,h.Toolbox=mc,h.Tree=jo,h.UndersignedPerson=ua,h.VarcharColumn=Bc,h.VueFormItem=Fo,h.WPS=zo,h.WPSSetting=vl,h.WpsOperationItem=ra,h.baseControls=Yb,h.columnControls=HE,h.formControls=z0,h.initExpression=_t,h.layoutControls=AE,h.listControls=xE,h.searchControls=UE,h.wrapControls=zE,Object.defineProperty(h,"__esModule",{value:!0})});
|
|
1
|
+
var FE=Object.defineProperty,kE=Object.defineProperties;var ME=Object.getOwnPropertyDescriptors;var ks=Object.getOwnPropertySymbols,NE=Object.getPrototypeOf,$E=Object.prototype.hasOwnProperty,LE=Object.prototype.propertyIsEnumerable,VE=Reflect.get;var Ms=(y,j,K)=>j in y?FE(y,j,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[j]=K,Ae=(y,j)=>{for(var K in j||(j={}))$E.call(j,K)&&Ms(y,K,j[K]);if(ks)for(var K of ks(j))LE.call(j,K)&&Ms(y,K,j[K]);return y},xn=(y,j)=>kE(y,ME(j));var Or=(y,j,K)=>VE(NE(y),K,j);var Fr=(y,j,K)=>new Promise((hu,On)=>{var yu=ge=>{try{At(K.next(ge))}catch(Tt){On(Tt)}},mu=ge=>{try{At(K.throw(ge))}catch(Tt){On(Tt)}},At=ge=>ge.done?hu(ge.value):Promise.resolve(ge.value).then(yu,mu);At((K=K.apply(y,j)).next())});(function(y,j){typeof exports=="object"&&typeof module!="undefined"?j(exports):typeof define=="function"&&define.amd?define(["exports"],j):(y=typeof globalThis!="undefined"?globalThis:y||self,j(y.modelDrivenControls={}))})(this,function(y){"use strict";var j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",hu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",On="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",mu="{caption}\u5FC5\u586B",At="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Tt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Ns="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",$s="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ls="\u8BF7\u7ED1\u5B9A\u8868\u5355",Vs="\u8BF7\u7ED1\u5B9A\u5217\u8868",Hs="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",js="\u8BF7\u8F93\u5165\u663E\u793A\u503C",qs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Us="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Ws="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Ks="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",zs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Gs="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Xs="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Qs="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Js="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Zs="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Ys="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",ps="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ed="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",td="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",nd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",id="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",ud="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ad="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",rd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",ld="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",od="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",cd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",sd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",dd="\u8BF7\u9009\u62E9\u7701",fd="\u8BF7\u9009\u62E9\u5E02",hd="\u8BF7\u9009\u62E9\u533A",yd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",md="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",vd="\u8BF7\u8F93\u5165\u5217\u5BBD",gd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",bd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",_d="\u8BF7\u9009\u62E9\u63A7\u4EF6",Ed="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Cd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",wd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Id="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Sd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ad="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Td="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Rd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Bd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Dd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Od="\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",kd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Md="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Nd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",$d="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ld="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Vd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Hd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",jd={isNotNumber:j,isNotString:K,isNotObject:hu,isNotArray:On,isNotBoolean:yu,runtimeRequired:mu,pleaseEnterCaption:At,pleaseEnterCaptionTip:ge,pleaseEnterRowCaption:Tt,pleaseEnterPlaceholder:Ns,pleaseEnterFieldCode:$s,pleaseEnterForm:Ls,pleaseEnterList:Vs,pleaseEnterProcess:Hs,pleaseEnterLabel:js,pleaseEnterValue:qs,bizKeyNotBindFiled:Us,pleaseSelectOneField:Ws,pleaseEnterNumberRange:Ks,pleaseEnterAValueGreaterThanMin:zs,pleaseEnterAValueLessThanMax:Gs,numberRangeSetError:Xs,stringRangeError:Qs,attachmentMaxSize:Js,pleaseEnterTotalScoreSetting:Zs,theTotalScoreMustNotBeLessThan1:Ys,scoreDefaultValueRange:ps,attachmentLimitError:ed,PleaseReselectTheOptionalQuantity:td,TheMaximumLengthIsGreaterThanTheMinimumLength:nd,TheMinimumLengthIsGreaterThanTheMaximumLength:id,PleaseSelectTheCorrectOptionSettings:ud,optionIdIsRepeat:ad,optionIsRequired:rd,pleaseEnterDataCode:ld,pleaseEnterValueFieldCode:od,pleaseEnterSvcCode:cd,pleaseBindAtLeastOneDisplayValue:sd,pleaseSelectProvince:dd,pleaseSelectCity:fd,pleaseSelectDistrict:hd,limitRowsCannotBeLessThan0:yd,TheNumberOfRowsCannotBeLessThanMinRows:md,pleaseEnterColumnWidth:vd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:gd,pleaseCompleteAllRulesAndConditions:bd,pleaseSelectControl:_d,pleaseSelectAtLeastOneColumn:Ed,pleaseSelectFillBackMode:Cd,pleaseSelectDashboard:wd,rootNodeIsRequired:Id,theViewNameCannotBeEmpty:Sd,pleaseSelectOcrType:Ad,pleaseSelectAtLeastOneFieldToFillIn:Td,pleaseChooseAtLeastOne:Rd,pleaseEnterButtonContent:Bd,pleaseEnterDataCodeInDataSetting:Pd,pleaseEnterValueFieldCodeInDataSetting:Dd,pleaseEnterSvcCodeInDataSetting:xd,pleaseBindAtLeastOneDisplayValueInDataSetting:Od,rootNodeIsRequiredInDataSetting:Fd,pleaseEnterMaxHeight:kd,pleaseEnter:Md,pleaseEnterWatermark:Nd,pleaseEnterFileName:$d,pleaseUploadAtLeastOnePrintTemplate:Ld,pleaseAssignBusiness:Vd,pleaseAssignExternal:Hd},qd="Please enter a number",Ud="Please enter a string",Wd="Please enter an object",Kd="Please enter an array",zd="Please enter a boolean",Gd="{caption} Required",Xd="Please enter the title",Qd="Please enter the bubble prompt",Jd="Please enter the row title",Zd="Please enter the prompt text",Yd="Please bind data items",pd="Please bind the form",ef="Please bind the list",tf="Please bind the process",nf="Please enter the displayed value",uf="Please enter the stored value",af="The document number is not bound to the data item",rf="Please select at least one display field",lf="Please enter a value greater than or equal to {min} and less than or equal to {max}",of="Please enter a value greater than or equal to {min}",cf="Please enter a value less than or equal to {max}",sf="The value range is set incorrectly",df="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",ff="The attachment size must be between 0MB and 1000MB",hf="Please fill in the total score setting",yf="The total score cannot be less than 1",mf="The default value must be between {min} and {max}",vf="The number of attachments uploaded must be between {min} and {max}",gf="Please re-select the optional quantity",bf="The maximum length of the control must be greater than the minimum length",_f="The minimum length of the control must be less than the maximum length",Ef="Please select the correct option setting",Cf="Option ID cannot be repeated",wf="Please enter at least one option",If="Please bind the data source",Sf="Please bind the stored value",Af="Please bind the service",Tf="At least one display value must be bound",Rf="Please select a province",Bf="Please select a city",Pf="Please select a district",Df="The minimum number of lines to fill in cannot be less than 0",xf="The number of rows cannot be less than {min} rows",Of="Please enter the column width",Ff="Please set the logical relationship of all rule conditions",kf="Please complete all rules and conditions",Mf="please select control",Nf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",$f="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Lf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Vf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Hf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",jf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",qf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Uf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Wf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Kf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",zf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Gf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Xf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Qf="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Jf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Yf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",pf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",eh={isNotNumber:qd,isNotString:Ud,isNotObject:Wd,isNotArray:Kd,isNotBoolean:zd,runtimeRequired:Gd,pleaseEnterCaption:Xd,pleaseEnterCaptionTip:Qd,pleaseEnterRowCaption:Jd,pleaseEnterPlaceholder:Zd,pleaseEnterFieldCode:Yd,pleaseEnterForm:pd,pleaseEnterList:ef,pleaseEnterProcess:tf,pleaseEnterLabel:nf,pleaseEnterValue:uf,bizKeyNotBindFiled:af,pleaseSelectOneField:rf,pleaseEnterNumberRange:lf,pleaseEnterAValueGreaterThanMin:of,pleaseEnterAValueLessThanMax:cf,numberRangeSetError:sf,stringRangeError:df,attachmentMaxSize:ff,pleaseEnterTotalScoreSetting:hf,theTotalScoreMustNotBeLessThan1:yf,scoreDefaultValueRange:mf,attachmentLimitError:vf,PleaseReselectTheOptionalQuantity:gf,TheMaximumLengthIsGreaterThanTheMinimumLength:bf,TheMinimumLengthIsGreaterThanTheMaximumLength:_f,PleaseSelectTheCorrectOptionSettings:Ef,optionIdIsRepeat:Cf,optionIsRequired:wf,pleaseEnterDataCode:If,pleaseEnterValueFieldCode:Sf,pleaseEnterSvcCode:Af,pleaseBindAtLeastOneDisplayValue:Tf,pleaseSelectProvince:Rf,pleaseSelectCity:Bf,pleaseSelectDistrict:Pf,limitRowsCannotBeLessThan0:Df,TheNumberOfRowsCannotBeLessThanMinRows:xf,pleaseEnterColumnWidth:Of,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Ff,pleaseCompleteAllRulesAndConditions:kf,pleaseSelectControl:Mf,pleaseSelectDashboard:Nf,theViewNameCannotBeEmpty:$f,pleaseSelectOcrType:Lf,pleaseSelectAtLeastOneFieldToFillIn:Vf,pleaseChooseAtLeastOne:Hf,pleaseEnterButtonContent:jf,pleaseEnterDataCodeInDataSetting:qf,pleaseEnterValueFieldCodeInDataSetting:Uf,pleaseEnterSvcCodeInDataSetting:Wf,pleaseBindAtLeastOneDisplayValueInDataSetting:Kf,rootNodeIsRequiredInDataSetting:zf,pleaseEnterMaxHeight:Gf,pleaseEnter:Xf,pleaseEnterWatermark:Qf,pleaseEnterFileName:Jf,pleaseUploadAtLeastOnePrintTemplate:Zf,pleaseAssignBusiness:Yf,pleaseAssignExternal:pf},th="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ih="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ah="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rh="{caption}\u5FC5\u9808",lh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",oh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ch="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",dh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",vh="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gh="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",bh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_h="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Eh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ch="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Ih="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sh="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ah="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Th="\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",Bh="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ph="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Dh="\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",xh="\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",Oh="\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",kh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Mh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Nh="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$h="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Vh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Hh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Uh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Wh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Kh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",zh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Gh="please select control",Xh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Qh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Jh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Zh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Yh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",ph="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ey="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ty="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ny="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",iy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",uy="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",ay="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",ry="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ly="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",oy="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",cy="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",sy="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",dy="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",fy={isNotNumber:th,isNotString:nh,isNotObject:ih,isNotArray:uh,isNotBoolean:ah,runtimeRequired:rh,pleaseEnterCaption:lh,pleaseEnterCaptionTip:oh,pleaseEnterRowCaption:ch,pleaseEnterPlaceholder:sh,pleaseEnterFieldCode:dh,pleaseEnterForm:fh,pleaseEnterList:hh,pleaseEnterProcess:yh,pleaseEnterLabel:mh,pleaseEnterValue:vh,bizKeyNotBindFiled:gh,pleaseSelectOneField:bh,pleaseEnterNumberRange:_h,pleaseEnterAValueGreaterThanMin:Eh,pleaseEnterAValueLessThanMax:Ch,numberRangeSetError:wh,stringRangeError:Ih,attachmentMaxSize:Sh,pleaseEnterTotalScoreSetting:Ah,theTotalScoreMustNotBeLessThan1:Th,scoreDefaultValueRange:Rh,attachmentLimitError:Bh,PleaseReselectTheOptionalQuantity:Ph,TheMaximumLengthIsGreaterThanTheMinimumLength:Dh,TheMinimumLengthIsGreaterThanTheMaximumLength:xh,PleaseSelectTheCorrectOptionSettings:Oh,optionIdIsRepeat:Fh,optionIsRequired:kh,pleaseEnterDataCode:Mh,pleaseEnterValueFieldCode:Nh,pleaseEnterSvcCode:$h,pleaseBindAtLeastOneDisplayValue:Lh,pleaseSelectProvince:Vh,pleaseSelectCity:Hh,pleaseSelectDistrict:jh,limitRowsCannotBeLessThan0:qh,TheNumberOfRowsCannotBeLessThanMinRows:Uh,pleaseEnterColumnWidth:Wh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Kh,pleaseCompleteAllRulesAndConditions:zh,pleaseSelectControl:Gh,pleaseSelectDashboard:Xh,theViewNameCannotBeEmpty:Qh,pleaseSelectOcrType:Jh,pleaseSelectAtLeastOneFieldToFillIn:Zh,pleaseChooseAtLeastOne:Yh,pleaseEnterButtonContent:ph,pleaseEnterDataCodeInDataSetting:ey,pleaseEnterValueFieldCodeInDataSetting:ty,pleaseEnterSvcCodeInDataSetting:ny,pleaseBindAtLeastOneDisplayValueInDataSetting:iy,rootNodeIsRequiredInDataSetting:uy,pleaseEnterMaxHeight:ay,pleaseEnter:ry,pleaseEnterWatermark:ly,pleaseEnterFileName:oy,pleaseUploadAtLeastOnePrintTemplate:cy,pleaseAssignBusiness:sy,pleaseAssignExternal:dy},hy={zhCN:jd,enUS:eh,jaJP:fy},kr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(kr||(kr={}));var Mr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Mr||(Mr={}));var yy="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 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 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.Approval_Status_Column="approval-status-column",t.ADDRESS="address",t.AMOUNT="amount",t.ATTACHMENT="attachment",t.AUTO_NUMBER="auto-number",t.CALC="calc",t.CHECKBOX="checkbox",t.DATE_PICKER="date-picker",t.DATE_RANGE="date-range",t.DEPARTMENT="department",t.EMPLOYEE="employee",t.IMAGE="image",t.INPUT="input",t.NUMBER="number",t.RADIO="radio",t.RICH_TEXT="rich-text",t.SCORE="score",t.SEARCH_DATE_RANGE="search-date-range",t.SEARCH_NUMBER_RANGE="search-number-range",t.SEARCH_INPUT="search-input",t.SELECT="select",t.SELECT_MULTIPLE="select-multiple",t.SELECT_RELATION="select-relation",t.VUE_FORM_ITEM="vue-form-item",t.TEXTAREA="textarea",t.EMAIL="email",t.FOOTER="footer",t.HEADER="header",t.ID_CARD="id-card",t.MOBILE="mobile",t.PHONE="phone",t.RADIO_IMAGE="radio-image",t.ELECTRONIC_SIGNATURE="electronic-signature",t.WPS="wps",t.CARD_GROUP="card-group",t.COL="col",t.GRID="grid",t.GRID_ROW="grid-row",t.GRID_TABLE_COLUMN="grid-table-column",t.GRID_LAYOUT_CONTAINER="grid-layout-container",t.ROW="row",t.TWO_COLUMNS="two-columns",t.SUBTABLE_COLUMN="subtable-column",t.SUBTABLE_ROW="subtable-row",t.TAB="tab",t.TAB_PANE="tab-pane",t.TOOLBOX="toolbox",t.DATA_VIEW="data-view",t.LIST_VIEW="list-view",t.ACTION_BAR="action-bar",t.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2",t.GRID_LAYOUT_WRAP="grid-layout-wrap"})(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 Nr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",my=Nr+"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?Nr:my,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function vu(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 vy(t){if(Array.isArray(t))return vu(t)}function gy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function by(){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 Fn(t,e,n){return by()?Fn=Reflect.construct:Fn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Bt(o,r.prototype),o},Fn.apply(null,arguments)}function Rt(t){return Rt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Rt(t)}function Lr(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 _y(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ey(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Cy(){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 wy(t,e){return e&&(Iy(e)==="object"||typeof e=="function")?e:gy(t)}function Bt(t,e){return Bt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Bt(t,e)}function Vr(t){return vy(t)||Ey(t)||Sy(t)||Cy()}var Iy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Sy(t,e){if(!!t){if(typeof t=="string")return vu(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 vu(t,e)}}function gu(t){var e=typeof Map=="function"?new Map:void 0;return gu=function(i){if(i===null||!_y(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 Fn(i,arguments,Rt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Bt(u,i)},gu(t)}function Ay(){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 Hr(t){var e=Ay();return function(){var i=Rt(t),u;if(e){var a=Rt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return wy(this,u)}}var bu=console;function _u(){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=bu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Vr(u)))}function jr(){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=bu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Vr(u)))}function Ty(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Eu=function(t){Lr(n,t);var e=Hr(n);function n(i){$r(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?Ty(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(gu(Error)),Ry=function(t){Lr(n,t);var e=Hr(n);function n(i){$r(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Eu);function Pt(t){throw new Eu(t)}function qr(t){throw new Ry(t)}function By(t){bu.error(new Eu(t))}var Py=Object.prototype.toString;function Ur(t,e){return Py.call(t)==="[object "+e+"]"}function Dy(t){return Ur(t,"String")}function xy(t){return Ur(t,"Promise")}var Oy=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();xy(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&&!Dy(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 Fy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wr(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&&Wr(t.prototype,e),n&&Wr(t,n),t}function My(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(){Fy(this,t)}return ky(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]:yy;return new Oy({locale:n,messages:hy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();My(f,"$i18n",f.resetI18n());function Ny(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)){_u("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 $y=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Ly={exports:{}};(function(t){(function(e){var n=function(m,w,R){if(!o(w)||v(w)||b(w)||E(w)||s(w))return w;var D,O=0,ce=0;if(d(w))for(D=[],ce=w.length;O<ce;O++)D.push(n(m,w[O],R));else{D={};for(var F in w)Object.prototype.hasOwnProperty.call(w,F)&&(D[m(F,R)]=n(m,w[F],R))}return D},i=function(m,w){w=w||{};var R=w.separator||"_",D=w.split||/(?=[A-Z])/;return m.split(D).join(R)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(w,R){return R?R.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 R=w&&"process"in w?w.process:w;return typeof R!="function"?m:function(D,O){return R(D,m,O)}},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})($y)})(Ly);var Kr={};Object.defineProperty(Kr,"__esModule",{value:!0});function Cu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Cu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Cu(i)}return e}}var Vy=Kr.default=Cu;function Re(t){if(t!==void 0)return typeof t=="object"?Vy(t):t}function Hy(t){return Object.prototype.toString.call(t)==="[object Object]"}function wu(t){return Array.isArray(t)}function jy(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Iu(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 qy(t){if(Array.isArray(t))return Iu(t)}function zr(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 Uy(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){zr(a,i,u,r,l,"next",s)}function l(s){zr(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 Gr(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&&Gr(t.prototype,e),n&&Gr(t,n),t}function Xr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zy(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Gy(){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 Su(t){return qy(t)||zy(t)||Xy(t)||Gy()}function Xy(t,e){if(!!t){if(typeof t=="string")return Iu(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 Iu(t,e)}}var Qy=function(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}}},Jy=function(){function t(){Wy(this,t),Xr(this,"_events",new Map),Xr(this,"debug",!1)}return Ky(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 Uy(function(){var l,s,o,d,v,b,E,I,_,S,m,w;return Qy(this,function(R){switch(R.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,b=void 0,R.label=1;case 1:R.trys.push([1,8,9,10]),E=o[Symbol.iterator](),R.label=2;case 2:if(d=(I=E.next()).done)return[3,7];if(_=I.value,!l.includes(_))return[3,6];R.label=3;case 3:return R.trys.push([3,5,,6]),r.debug&&jr.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(Su(u))),[4,_.apply(null,Su(u))];case 4:return S=R.sent(),r.debug&&jr.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(Su(u),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return m=R.sent(),By(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return w=R.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 Zy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(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 Yy(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(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 em=[{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"}],tm=function(){function t(){Zy(this,t)}return Yy(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(tm,"events",em);function nm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jr(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 im(t,e,n){return e&&Jr(t.prototype,e),n&&Jr(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 Zr=[],Au=function(){function t(e){nm(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 im(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__||Pt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(_u("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 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 Pt("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__)&&Pt("".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&&(_u("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}();Ve(Au,"staticControls",Zr),Ve(Au,"staticRegisteredTypes",new Set(Zr.map(function(t){return t.Designer.controlType}))),Ve(Au,"staticRegisteredConfigs",new Map);function M(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 kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(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&&Tu(t,e)}function Yr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function um(t,e){return e&&(am(e)==="object"||typeof e=="function")?e:M(t)}function Tu(t,e){return Tu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tu(t,e)}var am=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function he(t){var e=rm();return function(){var i=kn(t),u;if(e){var a=kn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return um(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),h(this,"aliasCode",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:"",this.aliasCode=e==null?void 0:e.aliasCode},pr=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},Ru=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(M(u),"width",void 0),h(M(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}(pr),lm=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Ru(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ru(e==null?void 0:e.mobile):new Ru({width:130,minWidth:180})},om=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:[]},st=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:""},cm=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(M(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(st),el=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:""},Bu=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 el(r)}))!==null&&a!==void 0?a:[]},sm=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},dm=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(M(u),"title",void 0),h(M(u),"svcCode",void 0),h(M(u),"isOpenFilter",void 0),h(M(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}(st),fm=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 st(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 sm(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 dm(r)}))!==null&&a!==void 0?a:[]},hm=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},Dt=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:[]},tl=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 Pu(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Pu=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 hm(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Dt(e==null?void 0:e.rightVariableBo)},ym=function t(e){A(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new J(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},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:""},Du=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},mm=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 xu(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 tl(l):new Pu(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 tl(l):new Pu(l)}))!==null&&u!==void 0?u:[],Yr(this,J)||Yr(this,Fu)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new mm(l)}))!==null&&r!==void 0?r:[]}}var J=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 Du(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:"",xu.call(this,e)},Ou=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:[]},Be=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},nl=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 Du(r)}))!==null&&a!==void 0?a:[]},Mn=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(M(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 nl(l)}))!==null&&r!==void 0?r:[],u}return n}(J),vm=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(M(u),"attributes",void 0),h(M(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 nl(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}(J),il=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(M(u),"rootNode",void 0),h(M(u),"filterCode",void 0),u.rootNode=new Dt(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}(Mn),ul=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:[]},Fu=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(M(u),"filters",void 0),h(M(u),"viewFilters",void 0),h(M(u),"orders",void 0),xu.call(M(u),i),u}return n}(ul),al=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(M(u),"mode",void 0),h(M(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}(ul),rl=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:""},gm=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 gm(n)}))!==null&&e!==void 0?e:[]}var ku=function t(){A(this,t)},bm=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(M(u),"amount",void 0),h(M(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}(ku),_m=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:Nn.CNY},Em=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(M(u),"min",void 0),h(M(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}(ku),Cm=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:""},wm=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:""},Im=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(M(u),"result",void 0),h(M(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}(ku),Sm=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:""},Nn;(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"})(Nn||(Nn={}));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.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var Mu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Mu||(Mu={}));var Pe=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},Am=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 el(r)}))!==null&&a!==void 0?a:[],xu.call(this,e)},Tm=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"},Rm=function t(e){A(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""};function Bm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pm(){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 $n(t,e,n){return Pm()?$n=Reflect.construct:$n=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Ot(o,r.prototype),o},$n.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 xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(t)}function Dm(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&&Ot(t,e)}function xm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Om(t,e){return e&&(Fm(e)==="object"||typeof e=="function")?e:Bm(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}var Fm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function $u(t){var e=typeof Map=="function"?new Map:void 0;return $u=function(i){if(i===null||!xm(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 $n(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},$u(t)}function km(){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 Mm(t){var e=km();return function(){var i=xt(t),u;if(e){var a=xt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Om(this,u)}}var z=function t(e){Nu(this,t),He(this,"isHide",{type:"boolean"})},je=function(t){Dm(n,t);var e=Mm(n);function n(i){return Nu(this,n),e.call(this)}return n}($u(Array)),X=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Nu(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 Tm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};He(X,"Rules",z),He(X,"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 Nm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Lu(t){return Lu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lu(t)}function Ln(t,e){return Ln=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ln(t,e)}function $m(){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 Vn(t,e,n){return $m()?Vn=Reflect.construct:Vn=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},Vn.apply(null,arguments)}function Lm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Vu(t){var e=typeof Map=="function"?new Map:void 0;return Vu=function(i){if(i===null||!Lm(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 Vn(i,arguments,Lu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ln(u,i)},Vu(t)}var Vm=/%[sdj%]/g,ll=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(ll=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Hu(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(Vm,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 G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||Hm(e)&&typeof t=="string"&&!t)}function jm(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 ol(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 qm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var cl=function(t){Nm(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}(Vu(Error));function Um(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 cl(S,Hu(S))):v()},I=qm(t);ol(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 cl(o,Hu(o))):v()};r.length||(i(o),v()),r.forEach(function(I){var _=t[I];a.indexOf(I)!==-1?ol(_,n,E):jm(_,n,E)})});return d.catch(function(v){return v}),d}function sl(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 dl(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 fl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||G(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function Wm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var ju={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(ju.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(ju.url)},hex:function(e){return typeof e=="string"&&!!e.match(ju.hex)}};function Km(t,e,n,i,u){if(t.required&&e===void 0){fl(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?Ft[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 zm(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 dt="enum";function Gm(t,e,n,i,u){t[dt]=Array.isArray(t[dt])?t[dt]:[],t[dt].indexOf(e)===-1&&i.push(le(u.messages[dt],t.fullField,t[dt].join(", ")))}function Xm(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:fl,whitespace:Wm,type:Km,range:zm,enum:Gm,pattern:Xm};function Qm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),G(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 Jm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(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 Zm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),G(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 Ym(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(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 pm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u),G(e)||T.type(t,e,i,a,u)}n(a)}function ev(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(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 tv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(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 nv(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 iv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(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 uv="enum";function av(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[uv](t,e,i,a,u)}n(a)}function rv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),G(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function lv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!G(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 ov(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 qu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),G(e,a)||T.type(t,e,i,r,u)}n(r)}function cv(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var kt={string:Qm,method:Jm,number:Zm,boolean:Ym,regexp:pm,integer:ev,float:tv,array:nv,object:iv,enum:av,pattern:rv,date:lv,url:qu,hex:qu,email:qu,required:ov,any:cv};function Uu(){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 Wu=Uu();function De(t){this.rules=null,this._messages=Wu,this.define(t)}De.prototype={messages:function(e){return e&&(this._messages=dl(Uu(),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 R(D){if(Array.isArray(D)){var O;m=(O=m).concat.apply(O,D)}else m.push(D)}for(S=0;S<_.length;S++)R(_[S]);m.length?w=Hu(m):(m=null,w=null),l(m,w)}if(r.messages){var o=this.messages();o===Wu&&(o=Uu()),dl(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 Um(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 R(ce,F){return ve(ve({},F),{},{fullField:m.fullField+"."+ce})}function D(ce){ce===void 0&&(ce=[]);var F=ce;if(Array.isArray(F)||(F=[F]),!r.suppressWarning&&F.length&&De.warning("async-validator:",F),F.length&&m.message!==void 0&&(F=[].concat(m.message)),F=F.map(sl(m)),r.first&&F.length)return I[m.field]=1,S(F);if(!w)S(F);else{if(m.required&&!_.value)return m.message!==void 0?F=[].concat(m.message).map(sl(m)):r.error&&(F=[r.error(m,le(r.messages.required,m.field))]),S(F);var se={};if(m.defaultField)for(var Pn in _.value)_.value.hasOwnProperty(Pn)&&(se[Pn]=m.defaultField);se=ve(ve({},se),_.rule.fields);for(var Ie in se)if(se.hasOwnProperty(Ie)){var fu=Array.isArray(se[Ie])?se[Ie]:[se[Ie]];se[Ie]=fu.map(R.bind(null,Ie))}var Dn=new De(se);Dn.messages(r.messages),_.rule.options&&(_.rule.options.messages=r.messages,_.rule.options.error=r.error),Dn.validate(_.value,_.rule.options||r,function(St){var Se=[];F&&F.length&&Se.push.apply(Se,F),St&&St.length&&Se.push.apply(Se,St),S(Se.length?Se:null)})}}var O;m.asyncValidator?O=m.asyncValidator(m,_.value,D,_.source,r):m.validator&&(O=m.validator(m,_.value,D,_.source,r),O===!0?D():O===!1?D(m.message||m.field+" fails"):O instanceof Array?D(O):O instanceof Error&&D(O.message)),O&&O.then&&O.then(function(){return D()},function(ce){return D(ce)})},function(_){s(_)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!kt.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"?kt.required:kt[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");kt[e]=n},De.warning=ll,De.messages=Wu,De.validators=kt;var sv={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 dv(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new De(t);return n.messages(Object.assign(sv,e)),n}var fv=new Jy;function Ku(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 hv(t){if(Array.isArray(t))return t}function yv(t){if(Array.isArray(t))return Ku(t)}function hl(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 yl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){hl(a,i,u,r,l,"next",s)}function l(s){hl(a,i,u,r,l,"throw",s)}r(void 0)})}}function mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ml(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 vv(t,e,n){return e&&ml(t.prototype,e),n&&ml(t,n),t}function k(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function gl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function gv(){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 bv(){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 bl(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){k(t,u,n[u])})}return t}function _v(t){return hv(t)||gl(t)||_l(t)||gv()}function Hn(t){return yv(t)||gl(t)||_l(t)||bv()}function _l(t,e){if(!!t){if(typeof t=="string")return Ku(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 Ku(t,e)}}var El=function(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}}},N=function(){function e(n){var i=this;mv(this,e),k(this,"id",void 0),k(this,"name",void 0),k(this,"icon",void 0),k(this,"type",void 0),k(this,"controlType",void 0),k(this,"props",void 0),k(this,"setting",[]),k(this,"fieldType",void 0),k(this,"eventKeys",[]),k(this,"customEvents",[]),k(this,"parent",null),k(this,"updateSetting",wl),k(this,"removeSetting",Cl),k(this,"addSetting",Ev),k(this,"replaceSetting",Cv),this._callControlHooks("preInstance",n);var u=vl(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||qr("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 X(n==null?void 0:n.props,(vl(this,e)?this.constructor:void 0).controlName);var _;this.controlType=(_=n==null?void 0:n.controlType)!==null&&_!==void 0?_:"base",this.setting=Re(b);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:s,this.eventKeys=Re(o),this.customEvents=Re(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return vv(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=_v(u),s=l[0],o=l.slice(1);return(r=fv).emit.apply(r,[s,this].concat(Hn(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),Ny(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return yl(function(){var u,a,r;return El(this,function(l){switch(l.label){case 0:return u=bl({},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 yl(function(){var r,l,s,o;return El(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:bl({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),s=dv(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:Re(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,Hn(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();k(N,"controlName","\u63A7\u4EF6"),k(N,"controlIcon","icon"),k(N,"controlType","control"),k(N,"controlFieldType",void 0),k(N,"controlEventKeys",[]),k(N,"controlCustomEvents",[]),k(N,"setting",[]),k(N,"__is_control__",!0),k(N,"removeSettingItem",Cl),k(N,"updateSettingItem",wl);function Cl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string";if(!!Array.isArray(e.setting)){var r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(o){return o.key===(a?i.key:i)});if(r!==-1){var l,s;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(o){return!i.hideItems.includes(o)}):e.setting.splice(r,1),a&&!(!((s=e.setting[r].showItems)===null||s===void 0)&&s.length)&&e.setting.splice(r,1)}}})}function wl(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){if(!!Array.isArray(n.setting)){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,Hn(e.showItems))}}}}})}function Ev(t){var e,n=Object.prototype.toString.call(t)==="[object Object]"?[t]:t;(e=this.setting).push.apply(e,Hn(n))}function Cv(t){this.setting=t}function wv(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 Iv(t,e,n){return e&&Il(t.prototype,e),n&&Il(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 Sv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Q=function(){function e(n){wv(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=Sv(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||qr("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 X(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:Mu.UNKNOWN}return Iv(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(Q,"controlType","control"),de(Q,"controlFieldType",void 0),de(Q,"__is_control__",!0),de(Q,"controlCustomEvents",[]);function zu(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=jy(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 jn(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 $(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function L(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function Wn(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 Av(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Tv(t,e){return e&&(Rv(e)==="object"||typeof e=="function")?e:$(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}var Rv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Bv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Kn(t){var e=Bv();return function(){var i=Un(t),u;if(e){var a=Un(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Tv(this,u)}}var ee=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;u=e.call(this,i),L($(u),"dataBind",{}),L($(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),L($(u),"isHideCaption",{type:"boolean"}),L($(u),"labelPosition",{type:"enum",enum:["top","left"]}),L($(u),"defaultState",{type:"enum",enum:["default","readonly"]}),L($(u),"required",{type:"boolean"}),L($(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(Av(i.dataBind,ye))u.dataBind={type:"object",required:!0,fields:Re(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:Re(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),V=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(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),B=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;u=e.call(this,i),L($(u),"caption",void 0),L($(u),"isHideCaption",void 0),L($(u),"isShowCaptionTip",void 0),L($(u),"captionTip",void 0),L($(u),"labelPosition",void 0),L($(u),"dataBind",void 0),L($(u),"defaultValue",void 0),L($(u),"placeholder",void 0),L($(u),"defaultState",void 0),L($(u),"required",void 0),L($(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}(X);L(B,"Rules",ee),L(B,"RuntimeRules",V);var ft=function(t){Wn(n,t);var e=Kn(n);function n(i){qn(this,n);var u;return u=e.call(this,i),L($(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),L($(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),L($(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),zu.call($(u),i),u}return n}(ee);function Xu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(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&&Qu(t,e)}function xv(t,e){return e&&(Ov(e)==="object"||typeof e=="function")?e:Xu(t)}function Qu(t,e){return Qu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Qu(t,e)}var Ov=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Fv(){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 kv(t){var e=Fv();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 xv(this,u)}}var P=function(t){Dv(n,t);var e=kv(n);function n(i){Pv(this,n);var u;return u=e.call(this,i),zn(Xu(u),"controlType","form"),zn(Xu(u),"props",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(N);zn(P,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(P,"controlCustomAttributes",void 0);function Xn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ju(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 Nv(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 $v(t,e){return e&&(Lv(e)==="object"||typeof e=="function")?e:Xn(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}var Lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vv(){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 Hv(t){var e=Vv();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 $v(this,u)}}var x=function(t){Nv(n,t);var e=Hv(n);function n(i){Mv(this,n);var u;return u=e.call(this,i),Ju(Xn(u),"controlType","form"),Ju(Xn(u),"props",void 0),Ju(Xn(u),"value",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(Q);function jv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function Uv(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&&Yu(t,e)}function Wv(t,e){return e&&(Kv(e)==="object"||typeof e=="function")?e:jv(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}var Kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function zv(){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 Gv(t){var e=zv();return function(){var i=Jn(t),u;if(e){var a=Jn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Wv(this,u)}}var H=function(t){Uv(n,t);var e=Gv(n);function n(i){return qv(this,n),e.call(this,i)}return n}(X);function pu(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 Xv(t){if(Array.isArray(t))return pu(t)}function Qv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Jv(){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 Sl(t){return Xv(t)||Qv(t)||Zv(t)||Jv()}function Zv(t,e){if(!!t){if(typeof t=="string")return pu(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 pu(t,e)}}function Yv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Al(t,e){t.parent=e,Yv(t,"parent")}function pv(t,e){t.forEach(function(n){Al(n,e)})}var Tl=Symbol("targetKey");function Rl(t){var e;return(e=t[Tl])!==null&&e!==void 0?e:t}function Bl(t,e){return pv(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===Tl?i:(s=Reflect).get.apply(s,[i,u].concat(Sl(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(wu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(Sl(l)));return Hy(a)&&Al(a,e),d}})}function Ee(t,e,n,i){var u=i!=null?i:t,a=Bl(Rl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=Bl(Rl(l),u)},enumerable:!0})}function ea(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 eg(t){if(Array.isArray(t))return ea(t)}function qe(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pl(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 tg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Pl(a,i,u,r,l,"next",s)}function l(s){Pl(a,i,u,r,l,"throw",s)}r(void 0)})}}function ng(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 ig(t,e,n){return e&&Dl(t.prototype,e),n&&Dl(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 ht(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ht=Reflect.get:ht=function(u,a,r){var l=fg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.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 ug(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 ag(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function rg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function lg(){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 og(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 cg(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 sg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):cg(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:qe(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function fg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function xl(t){return eg(t)||rg(t)||yg(t)||lg()}var hg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yg(t,e){if(!!t){if(typeof t=="string")return ea(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 ea(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 a=Oe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return dg(this,u)}}var gg=function(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}}},bg=1e4,q=function(e){ug(i,e);var n=vg(i);function i(u){ng(this,i);var a;a=n.call(this,u),xe(qe(a),"controlType","layout"),xe(qe(a),"children",void 0),xe(qe(a),"excludes",void 0),xe(qe(a),"childrenMaxLength",void 0),xe(qe(a),"props",void 0);var r=ag(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),Ee(qe(a),"children",u==null?void 0:u.children),a.excludes=Re(l),a.childrenMaxLength=s,a}return ig(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 ht(Oe(i.prototype),"validate",l)};return tg(function(){return gg(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=ht(Oe(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 xl(s).concat(xl(v))}return d&&s.push(d),s},l)}},{key:"toSchema",value:function(){var a=ht(Oe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return sg(og({},a),{children:r})}}]),i}(N);xe(q,"excludes",!1),xe(q,"childrenMaxLength",bg);function Mt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function na(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 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&&ia(t,e)}function Cg(t,e){return e&&(wg(e)==="object"||typeof e=="function")?e:Mt(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}var wg=function(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=Zn(t),u;if(e){var a=Zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cg(this,u)}}var U=function(t){Eg(n,t);var e=Sg(n);function n(i){_g(this,n);var u;return u=e.call(this,i),na(Mt(u),"controlType","layout"),na(Mt(u),"children",void 0),na(Mt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),Ee(Mt(u),"children",i==null?void 0:i.children),u}return n}(Q);function ua(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ag(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Yn(t){return Yn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Yn(t)}function Rg(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&&aa(t,e)}function Bg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:ua(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}var Pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){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 xg(t){var e=Dg();return function(){var i=Yn(t),u;if(e){var a=Yn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Bg(this,u)}}var pn=function(t){Rg(n,t);var e=xg(n);function n(i,u){Ag(this,n);var a;return a=e.call(this,u),Tg(ua(a),"headers",void 0),Ee(ua(a),"headers",u==null?void 0:u.headers,i),a}return n}(X);function ra(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 Og(t){if(Array.isArray(t))return ra(t)}function ei(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ol(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 Fg(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Ol(a,i,u,r,l,"next",s)}function l(s){Ol(a,i,u,r,l,"throw",s)}r(void 0)})}}function kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fl(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 Mg(t,e,n){return e&&Fl(t.prototype,e),n&&Fl(t,n),t}function ti(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?yt=Reflect.get:yt=function(u,a,r){var l=jg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},yt(t,e,n||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(t)}function Ng(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&&la(t,e)}function $g(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Lg(){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 kl(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){ti(t,u,n[u])})}return t}function Vg(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 Ml(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Vg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Hg(t,e){return e&&(qg(e)==="object"||typeof e=="function")?e:ei(t)}function la(t,e){return la=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},la(t,e)}function jg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function Nl(t){return Og(t)||$g(t)||Ug(t)||Lg()}var qg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ug(t,e){if(!!t){if(typeof t=="string")return ra(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 ra(t,e)}}function Wg(){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=Wg();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 Hg(this,u)}}var zg=function(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}}},oa=function(t){Ng(n,t);var e=Kg(n);function n(i){kg(this,n);var u;return u=e.call(this,i),ti(ei(u),"controlType","list"),ti(ei(u),"props",void 0),u.props=new pn(ei(u),i==null?void 0:i.props),u}return Mg(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return yt(Fe(n.prototype),"validate",r)};return Fg(function(){return zg(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=yt(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 Nl(l).concat(Nl(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=yt(Fe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Ml(kl({},u),{props:Ml(kl({},this.props),{headers:a})})}}]),n}(N);ti(oa,"controlFieldType",g.LIST);function mt(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 $l(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 Xg(t,e,n){return e&&$l(t.prototype,e),n&&$l(t,n),t}function ca(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 Qg(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&&sa(t,e)}function Jg(t,e){return e&&(Zg(e)==="object"||typeof e=="function")?e:mt(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}var Zg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Yg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function pg(t){var e=Yg();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 Jg(this,u)}}var Ll=function(t){Qg(n,t);var e=pg(n);function n(i){Gg(this,n);var u;return u=e.call(this,i),ca(mt(u),"controlType","list"),ca(mt(u),"children",void 0),ca(mt(u),"props",void 0),u.props=new pn(mt(u),i==null?void 0:i.props),Ee(mt(u),"children",i==null?void 0:i.children),u}return Xg(n,[{key:"length",get:function(){return this.children.length}}]),n}(Q);function Z(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function da(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 ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function fa(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&&ha(t,e)}function e0(t,e){return e&&(t0(e)==="object"||typeof e=="function")?e:Z(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}var t0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function n0(){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 ya(t){var e=n0();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 e0(this,u)}}var Ce=function(t){fa(n,t);var e=ya(n);function n(i){da(this,n);var u;return u=e.call(this,i),te(Z(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),te(Z(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){fa(n,t);var e=ya(n);function n(i){da(this,n);var u;u=e.call(this,i),te(Z(u),"widthType",void 0),te(Z(u),"width",void 0),te(Z(u),"caption",void 0),te(Z(u),"dataBind",void 0),te(Z(u),"autoWidth",void 0),te(Z(u),"fixed",void 0),te(Z(u),"sort",void 0),te(Z(u),"align",void 0),te(Z(u),"colSpan",void 0),te(Z(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 pr(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}(X);te(W,"Rules",Ce);var Vl=function(t){fa(n,t);var e=ya(n);function n(i){da(this,n);var u;return u=e.call(this,i),te(Z(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),te(Z(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),te(Z(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),zu.call(Z(u),i),u}return n}(Ce);function ma(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hl(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 u0(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&&va(t,e)}function a0(t,e){return e&&(r0(e)==="object"||typeof e=="function")?e:ma(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}var r0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function l0(){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 o0(t){var e=l0();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 a0(this,u)}}var Y=function(t){u0(n,t);var e=o0(n);function n(i){i0(this,n);var u;return u=e.call(this,i),Hl(ma(u),"controlType","column"),Hl(ma(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}(N);function ga(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jl(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 s0(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 d0(t,e){return e&&(f0(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)}var f0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function h0(){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 y0(t){var e=h0();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 d0(this,u)}}var p=function(t){s0(n,t);var e=y0(n);function n(i){c0(this,n);var u;return u=e.call(this,i),jl(ga(u),"controlType","column"),jl(ga(u),"props",void 0),u.props=new W(i==null?void 0:i.props),u}return n}(Q);function ql(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function m0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function v0(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 g0(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&&_a(t,e)}function b0(t,e){return e&&(_0(e)==="object"||typeof e=="function")?e:ql(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}var _0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function E0(){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 C0(t){var e=E0();return function(){var i=ri(t),u;if(e){var a=ri(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return b0(this,u)}}var Ea=function(t){g0(n,t);var e=C0(n);function n(i){m0(this,n);var u;return u=e.call(this,i),v0(ql(u),"dataBind",void 0),u.dataBind=new ye(i==null?void 0:i.dataBind),u}return n}(H);function Ca(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function w0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function I0(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&&wa(t,e)}function S0(t,e){return e&&(A0(e)==="object"||typeof e=="function")?e:Ca(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}var A0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function T0(){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=T0();return function(){var i=li(t),u;if(e){var a=li(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return S0(this,u)}}var B0=function(t){I0(n,t);var e=R0(n);function n(i){w0(this,n);var u;return u=e.call(this,i),Ul(Ca(u),"controlType","search"),Ul(Ca(u),"props",void 0),u.props=new Ea(i==null?void 0:i.props),u}return n}(q);function Ia(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function P0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Wl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(t)}function D0(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&&Sa(t,e)}function x0(t,e){return e&&(O0(e)==="object"||typeof e=="function")?e:Ia(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}var O0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function F0(){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 k0(t){var e=F0();return function(){var i=oi(t),u;if(e){var a=oi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return x0(this,u)}}var M0=function(t){D0(n,t);var e=k0(n);function n(i){P0(this,n);var u;return u=e.call(this,i),Wl(Ia(u),"controlType","search"),Wl(Ia(u),"props",void 0),u.props=new Ea(i==null?void 0:i.props),u}return n}(U);function N0(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function L0(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&&Aa(t,e)}function V0(t,e){return e&&(H0(e)==="object"||typeof e=="function")?e:N0(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}var H0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function j0(){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 q0(t){var e=j0();return function(){var i=ci(t),u;if(e){var a=ci(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return V0(this,u)}}var Ta=function(t){L0(n,t);var e=q0(n);function n(i){return $0(this,n),e.call(this,i)}return n}(H);function Ra(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function W0(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 K0(t,e){return e&&(z0(e)==="object"||typeof e=="function")?e:Ra(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}var z0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function G0(){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 X0(t){var e=G0();return function(){var i=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return K0(this,u)}}var Q0=function(t){W0(n,t);var e=X0(n);function n(i){U0(this,n);var u;return u=e.call(this,i),Kl(Ra(u),"controlType","wrap"),Kl(Ra(u),"props",void 0),u.props=new Ta(i==null?void 0:i.props),u}return n}(q);function Pa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function J0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Z0(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&&Da(t,e)}function Y0(t,e){return e&&(p0(e)==="object"||typeof e=="function")?e:Pa(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(t,e)}var p0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function eb(){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 tb(t){var e=eb();return function(){var i=di(t),u;if(e){var a=di(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Y0(this,u)}}var nb=function(t){Z0(n,t);var e=tb(n);function n(i){J0(this,n);var u;return u=e.call(this,i),zl(Pa(u),"controlType","wrap"),zl(Pa(u),"props",void 0),u.props=new Ta(i==null?void 0:i.props),u}return n}(U);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 xa extends X{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 Gl extends N{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Gl.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 ib extends Q{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"text"}}var Xl={Designer:Gl,Runtime:ib,Property:xa};class Oa extends X{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 Fa extends N{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Fa.controlEventKeys=["on_click"],Fa.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 ub extends Q{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ql={Designer:Fa,Runtime:ub,Property:Oa};class ie extends X{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:"\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,this.optObj=new Rm((d=e==null?void 0:e.optObj)!=null?d:{})}}class ue extends N{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","on_click_finish"],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 Q{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var Jl={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||{}),Zl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Zl||{}),Yl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Yl||{});class fi{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 ka=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ka||{});class hi{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 Ma=(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))(Ma||{});class Na{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 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=(r=e==null?void 0:e.telephone)!=null?r:new Dt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s: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 pl{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 Na(s)))!=null?u:[new Na],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 $a{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 La{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 eo{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 La(e==null?void 0:e.watermark),this.autoRename=new La(e==null?void 0:e.autoRename)}}const to=480;function Nt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class no{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 io{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 uo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(uo||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),yi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(yi||{}),Me=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Me||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{});class ja extends X{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:Ma.SOLID}}class ao extends N{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}ao.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class ab extends Q{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"divider"}}var ro={Designer:ao,Runtime:ab,Property:ja};class rb extends z{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 mi extends X{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:vt==null?void 0:vt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}mi.Rules=rb;class vt extends N{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}vt.controlFieldType=g.AUTO_NUMBER,vt.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 lb extends Q{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"title"}}var lo={Designer:vt,Runtime:lb,Property:mi};class ob extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class vi 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.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}vi.Rules=ob;class $t extends ue{constructor(e){super(e),this.props=new vi(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"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.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 cb extends oe{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var oo={Designer:$t,Runtime:cb,Property:vi};class sb extends z{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class gi 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:""}}gi.Rules=sb;class Lt extends ue{constructor(e){super(e),this.props=new gi(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 db extends oe{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var co={Designer:Lt,Runtime:db,Property:gi};class qa 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 qa(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"}}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 fb extends oe{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var so={Designer:Vt,Runtime:fb,Property:qa};class Ua extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ht.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new $a(r)))!=null?a:[new $a({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ht extends ue{constructor(e){super(e),this.props=new Ua(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"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.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 hb extends oe{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var fo={Designer:Ht,Runtime:hb,Property:Ua};class Wa extends ie{constructor(e){var n,i;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}}class jt extends ue{constructor(e){super(e),this.props=new Wa(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"}}jt.controlEventKeys=["on_click"],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:"super-setting",visible:!0}];class yb extends oe{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var ho={Designer:jt,Runtime:yb,Property:Wa};class mb{constructor(e){this.dataCode=e.dataCode}}class Ka extends ie{constructor(e){var n,i,u,a;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=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new mb(r)))!=null?a:[]}}class qt extends ue{constructor(e){super(e),this.props=new Ka(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 vb extends oe{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var yo={Designer:qt,Runtime:vb,Property:Ka};function bi(){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 gb extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},bi())},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")}},bi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class _i extends ie{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.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Fu(e==null?void 0:e.fillPayload),this.formBind=new cm(e==null?void 0:e.formBind),this.fillBack=new al(e==null?void 0:e.fillBack)}}_i.Rules=gb;class Ut extends ue{constructor(e){super(e),this.props=new _i(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"}}Ut.controlEventKeys=["on_click","on_click_finish"],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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class bb extends oe{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var mo={Designer:Ut,Runtime:bb,Property:_i};class _b extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},bi())},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")}},bi())}}}class Ei extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Wt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Wt.controlIcon,this.fillPayload=new Fu(e==null?void 0:e.fillPayload),this.listPageBind=new Bu(e==null?void 0:e.listPageBind),this.fillBack=new al(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Ou(e==null?void 0:e.selectedContentConfig)}}Ei.Rules=_b;class Wt extends ue{constructor(e){super(e),this.props=new Ei(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"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Eb extends oe{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var vo={Designer:Wt,Runtime:Eb,Property:Ei};class Cb extends z{constructor(e){super(e)}}class wb extends je{constructor(e){super(e)}}class Kt extends X{constructor(e){super(e)}}Kt.Rules=Cb,Kt.RuntimeRules=wb;class go extends N{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}go.setting=[];class Ib extends Q{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var bo={Designer:go,Runtime:Ib,Property:Kt};class Sb extends z{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 Ci extends X{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"}}Ci.Rules=Sb;class _o extends N{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}_o.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 Ab extends Q{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Eo={Designer:_o,Runtime:Ab,Property:Ci};class Tb extends z{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 wi extends X{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 Am(a)))!=null?u:[]}}wi.Rules=Tb;class Co extends N{constructor(e){super(e),this.props=new wi(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"}}Co.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Rb extends Q{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var wo={Designer:Co,Runtime:Rb,Property:wi};class Bb extends z{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 Ii 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: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=(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:gt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:gt.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:[]}}Ii.Rules=Bb;class gt extends ue{constructor(e){super(e),this.props=new Ii(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"}}gt.controlEventKeys=["on_click","on_click_finish"],gt.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 Pb extends oe{constructor(e){super(e),this.props=new Ii(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Io={Designer:gt,Runtime:Pb,Property:Ii};class Db extends z{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 Si 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:bt.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:bt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:bt.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:[]}}Si.Rules=Db;class bt extends ue{constructor(e){super(e),this.props=new Si(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"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.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 xb extends oe{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var So={Designer:bt,Runtime:xb,Property:Si};class Ob extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ai extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:zt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:zt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new no(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Ai.Rules=Ob;class zt extends ue{constructor(e){super(e),this.props=new Ai(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"}}zt.controlEventKeys=["on_click","on_click_finish"],zt.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 Fb extends oe{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Ao={Designer:zt,Runtime:Fb,Property:Ai};class za extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Gt.controlIcon}}class Gt extends ue{constructor(e){super(e),this.props=new za(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"}}Gt.controlEventKeys=["on_click"],Gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class kb extends oe{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var To={Designer:Gt,Runtime:kb,Property:za};class Mb extends z{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 Ti extends X{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}}Ti.Rules=Mb;class Ri extends N{constructor(e){super(e),this.props=new Ti(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"}}Ri.controlEventKeys=["on_click"],Ri.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 Nb extends Q{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Ro={Designer:Ri,Runtime:Nb,Property:Ti};class Ga extends X{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:Xt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Xt.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 Xt extends N{constructor(e){super(e),this.props=new Ga(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"}}Xt.controlEventKeys=["on_click"],Xt.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 $b extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Bo={Designer:Xt,Runtime:$b,Property:Ga},Lb=Object.freeze({__proto__:null,Text:Xl,Link:Ql,Button:Jl,Divider:ro,Title:lo,CreateFormListButton:oo,BatchSubmissionListButton:co,SubmissionRecordListButton:so,ExportListButton:fo,ExportRecordListButton:ho,ImportRecordListButton:yo,FormSelectButton:mo,ListSelectButton:vo,Pagination:bo,Dashboard:Eo,ListViewSelect:wo,TextOcrButton:Io,InvoiceCheckButton:So,BatchPrintListButton:Ao,BatchPrintRecordListButton:To,OperationButton:Ro,BatchDeleteButton:Bo});class Vb 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=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Hb 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:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class _t extends B{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 rl(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:Et.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:""}}_t.Rules=Vb,_t.RuntimeRules=Hb;class Et extends P{constructor(e){super(e),this.props=new _t(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"}}Et.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Et.controlFieldType=g.VARCHAR,Et.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 Po extends x{constructor(e){super(e),this.props=new _t(e==null?void 0:e.props)}static get controlType(){return"input"}}Po.controlFieldType=g.VARCHAR;var Do={Designer:Et,Runtime:Po,Property:_t};class jb extends ft{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 qb 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 Qt extends B{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 J(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.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(_))}))}}Qt.Rules=jb,Qt.RuntimeRules=qb;class Jt extends P{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Jt.controlEventKeys=["on_change","on_click"],Jt.controlFieldType=g.ARRAY,Jt.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 xo extends x{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}xo.controlFieldType=g.ARRAY;var Oo={Designer:Jt,Runtime:xo,Property:Qt};class Ub extends ft{constructor(e){super(e)}}class Bi extends B{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 J(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:Zt.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))}))}}Bi.Rules=Ub;class Zt extends P{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Zt.controlEventKeys=["on_change","on_click"],Zt.controlFieldType=g.VARCHAR,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:"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 Fo extends x{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"radio"}}Fo.controlFieldType=g.VARCHAR;var ko={Designer:Zt,Runtime:Fo,Property:Bi};class Wb 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=Nt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Kb 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:Nt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Yt extends B{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:pt.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 rl(e==null?void 0:e.regularRules)}}Yt.Rules=Wb,Yt.RuntimeRules=Kb;class pt extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=g.DECIMAL,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Mo extends x{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"number"}}Mo.controlFieldType=g.DECIMAL;var No={Designer:pt,Runtime:Mo,Property:Yt};class Xa extends B{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:Pi.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 fi(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 Pi extends P{constructor(e){super(e),this.props=new Xa(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}}Pi.controlFieldType=g.TIMESTAMP,Pi.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:"date-common-time-setting",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 $o extends x{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}$o.controlFieldType=g.TIMESTAMP;var Lo={Designer:Pi,Runtime:$o,Property:Xa};class zb 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 Di extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.dataBind=new Em(e==null?void 0:e.dataBind),this.defaultValue=new Cm(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:xi.controlName,this.limitDateList=(b=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(E=>new fi(E)))!=null?b:[]}}Di.RuntimeRules=zb;class xi extends P{constructor(e){super(e),this.props=new Di(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}}xi.controlFieldType=g.TIMESCOPE,xi.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:"date-common-time-setting",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 Vo extends x{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Vo.controlFieldType=g.TIMESCOPE;var Ho={Designer:xi,Runtime:Vo,Property:Di};class Gb 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 Xb 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 B{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:tn.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}}en.Rules=Gb,en.RuntimeRules=Xb;class tn extends P{constructor(e){super(e),this.props=new en(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"}}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:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class jo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"textarea"}}jo.controlFieldType=g.TEXT;var qo={Designer:tn,Runtime:jo,Property:en};class Qb 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 Jb 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 nn extends B{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:un.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}nn.Rules=Qb,nn.RuntimeRules=Jb;class un extends P{constructor(e){super(e),this.props=new nn(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"}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=g.TEXT,un.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 Uo extends x{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Uo.controlFieldType=g.TEXT;var Wo={Designer:un,Runtime:Uo,Property:nn};class Zb extends ft{constructor(e){super(e)}}class Oi extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v;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 J(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Fi.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(b=>{var E;(E=this.multistageFilling)==null||E.push(new ae(b))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window",this.formBind=new st(e==null?void 0:e.formBind)}}Oi.Rules=Zb;class Fi extends P{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Fi.controlFieldType=g.VARCHAR,Fi.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.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Ko extends x{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"select"}}Ko.controlFieldType=g.VARCHAR;var zo={Designer:Fi,Runtime:Ko,Property:Oi};class Yb extends ft{constructor(e){super(e)}}class pb extends V{constructor(e){super(e),this[0].type="array"}}class an extends B{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:[{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 J(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.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(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",this.formBind=new st(e==null?void 0:e.formBind)}}an.Rules=Yb,an.RuntimeRules=pb;class ki extends P{constructor(e){super(e),this.props=new an(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"}}ki.controlFieldType=g.ARRAY,ki.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.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Go extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Go.controlFieldType=g.ARRAY;var Xo={Designer:ki,Runtime:Go,Property:an};class e_ extends V{constructor(e){super(e),this[0].type="array"}}class Mi extends B{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:Ni.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))}))}}Mi.RuntimeRules=e_;class Ni extends P{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ni.controlFieldType=g.EMPLOYEES,Ni.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 Qo extends x{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"employee"}}Qo.controlFieldType=g.EMPLOYEES;var Jo={Designer:Ni,Runtime:Qo,Property:Mi};const t_=10485760,n_=104857600,i_=1048576e3;class u_ extends ee{constructor(e){super(e),this.maxSize={type:"number",min:0,max:i_,message:f.getMessage("attachmentMaxSize")}}}class a_ 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 Ct extends B{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(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:n_,this.caption=(s=e==null?void 0:e.caption)!=null?s:wt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Ct.Rules=u_,Ct.RuntimeRules=a_;class wt extends P{constructor(e){super(e),this.props=new Ct(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=g.FILE,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:!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 Qa extends x{constructor(e){super(e),this.props=new Ct(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Qa.controlFieldType=g.FILE;var Zo={Designer:wt,Runtime:Qa,Property:Ct};const Yo=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:Yo.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ja=Yo;Ja.controlFieldType=g.IMAGE,Ja.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class r_ extends Qa{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 l_ extends Ct{constructor(e){super(e)}}var po={Designer:Ja,Runtime:r_,Property:l_};class o_ extends ft{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 c_ 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:[xn(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 rn extends B{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 bm(e==null?void 0:e.dataBind),this.datasourceBind=new J((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Du({value:"name"})]}),this.defaultValue=new _m((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Nn.CNY}),this.options=_e(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:ln.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}}rn.Rules=o_,rn.RuntimeRules=c_;class ln extends P{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}}ln.controlEventKeys=["on_change","on_input","on_focus","on_blur"],ln.controlFieldType=g.MONEY,ln.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 ec extends x{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"amount"}}ec.controlFieldType=g.MONEY;var tc={Designer:ln,Runtime:ec,Property:rn};class s_ 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 d_ 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 on extends B{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:ka.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 hi(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new hi),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:cn.controlName}}on.Rules=s_,on.RuntimeRules=d_;class cn extends P{constructor(e){super(e),this.props=new on(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 hi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}cn.controlEventKeys=["on_change","on_click"],cn.controlFieldType=g.DECIMAL,cn.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 nc extends x{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"score"}}nc.controlFieldType=g.DECIMAL;var ic={Designer:cn,Runtime:nc,Property:on};class f_ 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 $i extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Li.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 wm((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"}}$i.RuntimeRules=f_;class Li extends P{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Li.controlFieldType=g.ADDRESS,Li.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 uc extends x{constructor(e){super(e),this.props=new $i(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"}}uc.controlFieldType=g.ADDRESS;var ac={Designer:Li,Runtime:uc,Property:$i};class h_ extends V{constructor(e){super(e),this[0].type="array"}}class Vi extends B{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:sn.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))}))}}Vi.RuntimeRules=h_;class sn extends P{constructor(e){super(e),this.props=new Vi(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}}sn.controlName="\u90E8\u95E8",sn.controlFieldType=g.DEPARTMENTS,sn.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 rc extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"department"}}rc.controlFieldType=g.DEPARTMENTS;var lc={Designer:sn,Runtime:rc,Property:Vi};class Za extends B{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:dn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class dn extends P{constructor(e){super(e),this.props=new Za(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"}}dn.controlEventKeys=["on_change"],dn.controlFieldType=g.AUTO_NUMBER,dn.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 oc extends x{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}oc.controlFieldType=g.AUTO_NUMBER;var cc={Designer:dn,Runtime:oc,Property:Za};class y_ 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 m_ 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 fn extends B{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 Im(e==null?void 0:e.dataBind),this.defaultValue=new Sm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:hn.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:""}}fn.Rules=y_,fn.RuntimeRules=m_;class hn extends P{constructor(e){super(e),this.props=new fn(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}}hn.controlEventKeys=["on_change"],hn.controlFieldType=g.CALC,hn.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 sc extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"calc"}}sc.controlFieldType=g.CALC;var dc={Designer:hn,Runtime:sc,Property:fn};class v_ 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 Hi extends B{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:ji.controlName}}Hi.RuntimeRules=v_;class ji extends P{constructor(e){super(e),this.props=new Hi(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"}}ji.controlFieldType=g.DECIMAL_RANGE,ji.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 fc extends x{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}fc.controlFieldType=g.DECIMAL_RANGE;var hc={Designer:ji,Runtime:fc,Property:Hi};class g_ 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 qi extends B{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:Ui.controlName,this.limitDateList=(E=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(I=>new fi(I)))!=null?E:[]}}qi.RuntimeRules=g_;class Ui extends P{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Ui.controlFieldType=g.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",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 yc extends x{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}yc.controlFieldType=g.ARRAY;var mc={Designer:Ui,Runtime:yc,Property:qi};class b_ extends ee{constructor(e){super(e),this.dataBind={type:"any"}}}class __ extends V{constructor(e){super(e),this[0].type="any"}}class yn extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.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}}yn.Rules=b_,yn.RuntimeRules=__;class mn extends P{constructor(e){super(e),this.props=new yn(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"}}mn.controlFieldType=g.ANY,mn.controlEventKeys=[],mn.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 vc extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}vc.controlFieldType=g.ANY;var gc={Designer:mn,Runtime:vc,Property:yn};class E_ extends ft{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 Wi extends B{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 Bu(e==null?void 0:e.listPageBind),this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:vn.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 Ou(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",this.formBind=new st(e==null?void 0:e.formBind)}}Wi.Rules=E_;class vn extends P{constructor(e){super(e),this.props=new Wi(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"}}vn.controlFieldType=g.VARCHAR,vn.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}],vn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class bc extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}bc.controlFieldType=g.VARCHAR;var _c={Designer:vn,Runtime:bc,Property:Wi};class Ya extends _t{constructor(e){super(e)}}class Ec extends Et{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Ec.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 Cc extends x{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Cc.controlFieldType=g.VARCHAR;var wc={Designer:Ec,Runtime:Cc,Property:Ya};class C_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],jn.call(this,e,Ne.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 w_ extends V{constructor(e){super(e),this[0].type="array"}}class gn extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_,S,m,w,R,D;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.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 il((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:Ne.controlCustomAttributes}),this.filterItemDatasourceBind=new il((_=e==null?void 0:e.filterItemDatasourceBind)!=null?_:{attributes:Ne.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=(R=(w=e==null?void 0:e.multistageFilling)==null?void 0:w.map(O=>new ae(O)))!=null?R:[],this.defaultValue=(D=e==null?void 0:e.defaultValue)!=null?D:[]}}gn.Rules=C_,gn.RuntimeRules=w_;class Ne extends P{constructor(e){super(e),this.props=new gn(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}]}}Ne.controlEventKeys=["on_change","on_click"],Ne.controlFieldType=g.ARRAY,Ne.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 Ic extends x{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Ic.controlFieldType=g.ARRAY;var Sc={Designer:Ne,Runtime:Ic,Property:gn};class I_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},jn.call(this,e,It.controlCustomAttributes),e.externalType===Me.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class S_ extends V{constructor(e){super(e),this[0].type="array"}}class bn extends B{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:It.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 Mn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:It.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Va.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Ha.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(S=>{var m;(m=this.multistageFilling)==null||m.push(new ae(S))}))}}bn.Rules=I_,bn.RuntimeRules=S_;class It extends P{constructor(e){super(e),this.props=new bn(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}]}}It.controlFieldType=g.EMPLOYEES,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.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 Ac extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Ac.controlFieldType=g.EMPLOYEES;var Tc={Designer:It,Runtime:Ac,Property:bn};class A_ 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(a,r,l){if(i.type==="public"&&wu(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")&&wu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Ki extends B{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:_n.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 pl(e==null?void 0:e.signatureConfig)}}Ki.Rules=A_;class _n extends P{constructor(e){super(e),this.props=new Ki(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"}}_n.controlEventKeys=["on_click","on_click_finish"],_n.controlFieldType=g.VARCHAR,_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.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 Rc extends x{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Rc.controlFieldType=g.VARCHAR;var Bc={Designer:_n,Runtime:Rc,Property:Ki};class T_ 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 R_ extends V{constructor(e){super(e),this[0].type="array"}}class En extends B{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:Cn.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:t_,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new eo(e==null?void 0:e.wpsSetting),this.revisionsMode=(E=e==null?void 0:e.revisionsMode)!=null?E:!1}}En.Rules=T_,En.RuntimeRules=R_;class Cn extends P{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Cn.controlEventKeys=["on_change","on_wps_open"],Cn.controlFieldType=g.FILE,Cn.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 Pc extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"wps"}}Pc.controlFieldType=g.FILE;var Dc={Designer:Cn,Runtime:Pc,Property:En};class B_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,We.controlCustomAttributes),e.businessType===Me.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class P_ extends V{constructor(e){super(e),this[0].type="array"}}class wn extends B{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 Mn((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:We.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:yi.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=(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))}))}}wn.Rules=B_,wn.RuntimeRules=P_;class We extends P{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}}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 xc extends x{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"department2"}}xc.controlFieldType=g.DEPARTMENTS;var Oc={Designer:We,Runtime:xc,Property:wn};class D_ extends ee{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},jn.call(this,e,Ke.controlCustomAttributes),e.businessType===Me.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class x_ extends V{constructor(e){super(e),this[0].type="array"}}class In extends B{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,E,I,_,S,m,w,R;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 Bu(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 vm((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(E=e==null?void 0:e.datasourceType)!=null?E:yi.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=(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 Ou(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(R=e==null?void 0:e.openMultistageFilling)!=null?R:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var O;(O=this.multistageFilling)==null||O.push(new ae(D))}))}}In.Rules=D_,In.RuntimeRules=x_;class Ke extends P{constructor(e){super(e),this.props=new In(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 Fc extends x{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Fc.controlFieldType=g.DEPARTMENTS;var kc={Designer:Ke,Runtime:Fc,Property:In},O_=Object.freeze({__proto__:null,Input:Do,Checkbox:Oo,Radio:ko,Number:No,DatePicker:Lo,DateRange:Ho,Textarea:qo,RichText:Wo,Select:zo,SelectMultiple:Xo,Employee:Jo,Image:po,Attachment:Zo,Amount:tc,Score:ic,Address:ac,Department:lc,AutoNumber:cc,Calc:dc,SearchNumberRange:hc,SearchDateRange:mc,VueFormItem:gc,SelectRelation:_c,SearchInput:wc,Tree:Sc,Employee2:Tc,ElectronicSignature:Bc,WPS:Dc,Department2:Oc,OrganizationSelection:kc});class Mc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Mc.excludes=[C.GRID];class F_ extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Nc={Designer:Mc,Runtime:F_,Property:H};const k_=24;class ze extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:k_,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Sn extends q{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"}}Sn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],Sn.childrenMaxLength=1;class pa extends U{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"col"}}var $c={Designer:Sn,Runtime:pa,Property:ze};class zi extends H{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 Gi extends q{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Gi.excludes=[C.ROW],Gi.setting=[{key:"col-setting",visible:!0}];class Lc extends U{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Vc={Designer:Gi,Runtime:Lc,Property:zi};const M_=4;class Xi extends Gi{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)}}Xi.excludes=[C.GRID_ROW],Xi.setting=[],Xi.childrenMaxLength=M_;class N_ extends Lc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class $_ extends zi{constructor(e){super(e)}}var Hc={Designer:Xi,Runtime:N_,Property:$_};class L_ extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Qi extends H{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"}}Qi.Rules=L_;class er extends q{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}er.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}],er.excludes=[C.CARD_GROUP];class V_ extends U{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var jc={Designer:er,Runtime:V_,Property:Qi};class H_ extends z{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 Ji extends H{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 lm(e==null?void 0:e.metaAutoWidth)}}Ji.Rules=H_;class me extends q{constructor(e){super(e),this.props=new Ji(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 qc extends U{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}}qc.controlType="subtable-column";var Uc={Designer:me,Runtime:qc,Property:Ji};class tr extends H{constructor(e){super(e)}}class Ge extends q{constructor(e){super(e),this.props=new tr(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 j_ extends U{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Wc={Designer:Ge,Runtime:j_,Property:tr};class nr extends H{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 J(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 q{constructor(e){super(e),this.props=new nr(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 Kc extends U{constructor(e){super(e),this.props=new nr(e==null?void 0:e.props)}}Kc.controlType="gridtable-column";var zc={Designer:Xe,Runtime:Kc,Property:nr};class ir extends H{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.rowGap=(i=e==null?void 0:e.rowGap)!=null?i:24}}class Gc extends q{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668"}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"iconfenzu6"}}Gc.excludes=[C.GRID_LAYOUT_CONTAINER,C.CARD_GROUP,C.TAB];class q_ extends U{constructor(e){super(e),this.props=new ir(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Xc={Designer:Gc,Runtime:q_,Property:ir};class ur extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class U_ extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Zi extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tn.controlName}}Zi.Rules=U_;class An extends q{constructor(e){super(e),this.props=new Zi(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"}}An.excludes=[C.TAB],An.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class W_ extends U{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Qc={Designer:An,Runtime:W_,Property:Zi};class Tn extends q{constructor(e){var n;super(e),this.props=new ur(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new An,new An]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Tn.excludes=[C.TAB],Tn.controlEventKeys=["on_change_tab"],Tn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class K_ extends U{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Jc={Designer:Tn,Runtime:K_,Property:ur};class Zc extends H{constructor(e){super(e)}}class Yc extends q{constructor(e){super(e),this.props=new Zc({}),this.children=(e==null?void 0:e.children)||[new Sn({props:new ze({span:12})}),new Sn({props:new ze({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Yc.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class z_ extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new pa({props:new ze({span:12})}),new pa({props:new ze({span:12})})]}}var pc={Designer:Yc,Runtime:z_,Property:Zc};class G_ extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class X_ extends z{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")}),zu.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 Rn extends H{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.datasourceBind=new J(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 fm(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new ym(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(s=e==null?void 0:e.showFullScreen)!=null?s:!1,this.selectionType=(o=e==null?void 0:e.selectionType)!=null?o:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(b=e==null?void 0:e.isAllLoaded)!=null?b:!0,this.countType=e==null?void 0:e.countType}}Rn.Rules=X_,Rn.RuntimeRules=G_;class Yi extends q{constructor(e){super(e),this.props=new Rn(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"}}Yi.excludes=[C.ROW],Yi.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"],Yi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-join-relation",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class Q_ extends U{constructor(e){super(e),this.props=new Rn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var es={Designer:Yi,Runtime:Q_,Property:Rn};class J_ extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pi extends H{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Pe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Pe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Pe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Pe((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 Pe(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new J(e==null?void 0:e.datasourceBind)}}pi.RuntimeRules=J_;class ts extends q{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ts.excludes=[];class Z_ extends U{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var ns={Designer:ts,Runtime:Z_,Property:pi};class Y_ extends q{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class p_ extends U{static get controlType(){return"page"}constructor(e){super(e)}}class eE extends H{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 is={Designer:Y_,Runtime:p_,Property:eE};class tE extends q{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class nE extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class iE extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new io(e==null?void 0:e.flexConfig)}}var us={Designer:tE,Runtime:nE,Property:iE};class uE extends q{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class aE extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class rE extends H{constructor(e){super(e)}}var as={Designer:uE,Runtime:aE,Property:rE};class lE extends q{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class oE extends U{static get controlType(){return"position"}constructor(e){super(e)}}class cE extends H{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 rs={Designer:lE,Runtime:oE,Property:cE};class ar extends H{constructor(e){var n,i,u;super(e),this.position=(n=e==null?void 0:e.position)!=null?n:"bottom",this.opacity=(i=e==null?void 0:e.opacity)!=null?i:!0,this.align=(u=e==null?void 0:e.align)!=null?u:"right"}}class rr extends q{constructor(e){var n;super(e),this.props=new ar((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return"\u6309\u94AE\u64CD\u4F5C\u680F"}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}rr.excludes=[],rr.setting=[{key:"action-buttons",visible:!0},{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0}];class sE extends U{constructor(e){var n;super(e),this.props=new ar((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var ls={Designer:rr,Runtime:sE,Property:ar},dE=Object.freeze({__proto__:null,Grid:Nc,Col:$c,Row:Vc,GridRow:Hc,CardGroup:jc,SubTableColumn:Uc,SubTableRow:Wc,GridTableColumn:zc,GridLayoutContainer:Xc,Tab:Jc,TabPane:Qc,Toolbox:pc,ListView:es,DataView:ns,Page:is,AdvancedContainer:us,PositioningContainer:as,Position:rs,ActionBar:ls});class fE extends z{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 hE 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 pn{constructor(e,n){var i,u,a,r,l,s,o,d,v,b,E,I,_,S,m,w,R,D,O,ce,F,se,Pn,Ie,fu,Dn,St,Se;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:eu.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:to,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 J(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=(R=n==null?void 0:n.canImport)!=null?R:!1,this.canExport=(D=n==null?void 0:n.canExport)!=null?D:!1,this.canClear=(O=n==null?void 0:n.canClear)!=null?O:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(F=n==null?void 0:n.isShowCaptionTip)!=null?F:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(Pn=n==null?void 0:n.mobileShowType)!=null?Pn:"list",this.mobileDefaultNum=(Ie=n==null?void 0:n.mobileDefaultNum)!=null?Ie:10,this.dataStorageDoc=(fu=n==null?void 0:n.dataStorageDoc)!=null?fu:new om,this.fixedColumn=(Dn=n==null?void 0:n.fixedColumn)!=null?Dn:[],this.mobileRowCaption=(St=n==null?void 0:n.mobileRowCaption)!=null?St:"\u660E\u7EC6",this.mobileIsTile=(Se=n==null?void 0:n.mobileIsTile)!=null?Se:!1}}Bn.Rules=fE,Bn.RuntimeRules=hE;class eu extends oa{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}}eu.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],eu.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"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 yE extends Ll{constructor(e){super(e),this.props=new Bn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Pt("Method not implemented.")}getChildrenFormControl(){return[]}}var os={Designer:eu,Runtime:yE,Property:Bn};class lr extends pn{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 mE extends Ce{constructor(e){super(e),this.caption.required=!1}}class tu extends W{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"}}tu.Rules=mE;class Qe extends Y{constructor(e){super(e),this.props=new tu(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 or extends p{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}or.controlType="order-column",or.controlFieldType=g.DECIMAL;var cs={Designer:Qe,Runtime:or,Property:tu};class cr extends W{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:we.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 we extends Y{constructor(e){super(e),this.props=new cr(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===Ri.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return xn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Fr(this,null,function*(){return yield Or(we.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}we.controlType="operation-column",we.controlName="\u64CD\u4F5C",we.controlIcon="operation-column",we.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 sr extends p{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}sr.controlType="operation-column",sr.controlFieldType=g.FILE;var ss={Designer:we,Runtime:sr,Property:cr};class nu extends oa{constructor(e){super(e),this.props=new lr(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 we])}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 xn(Ae({},e),{children:n})}validate(e,n){return Fr(this,null,function*(){return yield Or(nu.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}nu.setting=[{key:"list-fixed-header",visible:!0}];class vE extends Ll{constructor(e){super(e),this.props=new lr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Pt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ds={Designer:nu,Runtime:vE,Property:lr},gE=Object.freeze({__proto__:null,SubTable:os,GridTable:ds});class bE extends Vl{constructor(e){super(e),Ue.call(this,e)}}class iu extends W{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 J(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 Be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}iu.Rules=bE;class Je extends Y{constructor(e){super(e),this.props=new iu(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 dr extends p{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}dr.controlType="varchar-column",dr.controlFieldType=g.VARCHAR;var fs={Designer:Je,Runtime:dr,Property:iu};class _E extends Ce{constructor(e){super(e),Ue.call(this,e)}}class uu extends W{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 Be(e==null?void 0:e.linkOperationOption)}}uu.Rules=_E;class Ze extends Y{constructor(e){super(e),this.props=new uu(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 fr extends p{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}fr.controlType="text-column",fr.controlFieldType=g.TEXT;var hs={Designer:Ze,Runtime:fr,Property:uu};class EE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class au extends W{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 J(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 Be(e==null?void 0:e.linkOperationOption)}}au.Rules=EE;class Ye extends Y{constructor(e){super(e),this.props=new au(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 hr extends p{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}hr.controlType="decimal-column",hr.controlFieldType=g.DECIMAL;var ys={Designer:Ye,Runtime:hr,Property:au};class CE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class ru extends W{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 Be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}ru.Rules=CE;class pe extends Y{constructor(e){super(e),this.props=new ru(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 yr extends p{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}yr.controlType="timescope-column",yr.controlFieldType=g.TIMESCOPE;var ms={Designer:pe,Runtime:yr,Property:ru};class wE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class lu extends W{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 Be(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}lu.Rules=wE;class et extends Y{constructor(e){super(e),this.props=new lu(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 mr extends p{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}mr.controlType="timestamp-column",mr.controlFieldType=g.TIMESTAMP;var vs={Designer:et,Runtime:mr,Property:lu};class IE extends Vl{constructor(e){super(e)}}class ou extends W{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 J(e==null?void 0:e.datasourceBind),this.options=_e((u=e==null?void 0:e.options)!=null?u:[{}])}}ou.Rules=IE;class tt extends Y{constructor(e){super(e),this.props=new ou(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 vr extends p{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}vr.controlType="array-column",vr.controlFieldType=g.ARRAY;var gs={Designer:tt,Runtime:vr,Property:ou};class gr extends W{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 Y{constructor(e){super(e),this.props=new gr(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 br extends p{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="department-column",br.controlFieldType=g.DEPARTMENTS;var bs={Designer:nt,Runtime:br,Property:gr};class SE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class cu extends W{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 Be(e==null?void 0:e.linkOperationOption)}}cu.Rules=SE;class it extends Y{constructor(e){super(e),this.props=new cu(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 _r extends p{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}_r.controlType="auto-number-column",_r.controlFieldType=g.AUTO_NUMBER;var _s={Designer:it,Runtime:_r,Property:cu};class Er extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends Y{constructor(e){super(e),this.props=new Er(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 Cr extends p{constructor(e){super(e),this.props=new Er(e==null?void 0:e.props)}}Cr.controlType="file-column",Cr.controlFieldType=g.FILE;var Es={Designer:ut,Runtime:Cr,Property:Er};class wr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends Y{constructor(e){super(e),this.props=new wr(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 Ir extends p{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Ir.controlType="image-column",Ir.controlFieldType=g.IMAGE;var Cs={Designer:at,Runtime:Ir,Property:wr};class Sr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends Y{constructor(e){super(e),this.props=new Sr(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 Ar extends p{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ar.controlType="people-column",Ar.controlFieldType=g.EMPLOYEES;var ws={Designer:rt,Runtime:Ar,Property:Sr};class AE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class su extends W{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 Be(e==null?void 0:e.linkOperationOption)}}su.Rules=AE;class lt extends Y{constructor(e){super(e),this.props=new su(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 Tr extends p{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Tr.controlType="location-column",Tr.controlFieldType=g.ADDRESS;var Is={Designer:lt,Runtime:Tr,Property:su};class Rr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const TE=1;class $e extends Y{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Rr(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 xn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}}$e.controlType="custom-column",$e.controlName="\u81EA\u5B9A\u4E49",$e.controlIcon="custom-column",$e.excludes=[],$e.childrenMaxLength=TE,$e.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 Ss extends p{constructor(e){super(e),this.props=new Rr(e==null?void 0:e.props),Ee(this,"children",e==null?void 0:e.children)}}Ss.controlType="custom-column";var As={Designer:$e,Runtime:Ss,Property:Rr};class Br extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.datasourceBind=new Mn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Le.controlCustomAttributes})}}class Le extends Y{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Le.controlType="employee-column",Le.controlName="\u4EBA\u5458",Le.controlIcon="employee-column",Le.controlFieldType=g.EMPLOYEES,Le.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 Pr extends p{constructor(e){super(e),this.props=new Br(e==null?void 0:e.props)}}Pr.controlType="employee-column",Pr.controlFieldType=g.EMPLOYEES;var Ts={Designer:Le,Runtime:Pr,Property:Br};class Dr extends W{constructor(e){var n,i,u;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 Be(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class ot extends Y{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}ot.controlType="approval-status-column",ot.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",ot.controlIcon="approval-status-column",ot.excludes=[],ot.setting=[{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-line-ellipsis",visible:!0}];class Rs extends p{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}Rs.controlType="approval-status-column";var Bs={Designer:ot,Runtime:Rs,Property:Dr},RE=Object.freeze({__proto__:null,VarcharColumn:fs,TextColumn:hs,DecimalColumn:ys,TimescopeColumn:ms,TimestampColumn:vs,ArrayColumn:gs,DepartmentColumn:bs,AutoNumberColumn:_s,FileColumn:Es,ImageColumn:Cs,PeopleColumn:ws,LocationColumn:Is,CustomColumn:As,OrderColumn:cs,OperationColumn:ss,EmployeeColumn:Ts,ApprovalStatusColumn:Bs});class BE extends je{constructor(e){super(e),this.push({type:"object",fields:{}})}}class du extends Ea{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 Pe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Pe((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 Pe(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}du.RuntimeRules=BE;class xr extends B0{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}xr.controlType="simple-search",xr.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 Ps extends M0{constructor(e){var n;super(e),this.props=new du(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ps.controlType="simple-search";var Ds={Designer:xr,Runtime:Ps,Property:du},PE=Object.freeze({__proto__:null,SimpleSearch:Ds});class xs extends Ta{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}function HE(t){return t}var DE={fields:[{key:"wholeRow",type:"boolean",component:"whole-row",label:"\u5145\u6EE1\u6574\u884C"}],groups:[{type:"tab",title:"\u5C5E\u6027",items:[{items:["wholeRow"]}]}]};class Os extends Q0{constructor(e){super(e),this.props=new xs(e==null?void 0:e.props)}static get controlName(){return"\u6362\u884C\u5BB9\u5668Wrap"}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}Os.setting=DE;class xE extends nb{static get controlType(){return"grid-layout-wrap"}constructor(e){super(e)}}var Fs={Designer:Os,Runtime:xE,Property:xs},OE=Object.freeze({__proto__:null,GridLayoutWrap:Fs});y.ActionBar=ls,y.Address=ac,y.AdvancedContainer=us,y.Amount=tc,y.ApprovalStatusColumn=Bs,y.ArrayColumn=gs,y.AssignType=Me,y.Attachment=Zo,y.AutoNumber=cc,y.AutoNumberColumn=_s,y.BatchDeleteButton=Bo,y.BatchPrintListButton=Ao,y.BatchPrintRecordListButton=To,y.BatchSubmissionListButton=co,y.Button=Jl,y.Calc=dc,y.CardGroup=jc,y.Checkbox=Oo,y.Col=$c,y.CreateFormListButton=oo,y.CustomColumn=As,y.DATE_CONFIG_TYPE=Zl,y.DATE_LIMIT_TYPE=Yl,y.Dashboard=Eo,y.DataView=ns,y.DatePicker=Lo,y.DateRange=Ho,y.DecimalColumn=ys,y.Department=lc,y.Department2=Oc,y.DepartmentColumn=bs,y.DepartmentType=yi,y.Divider=ro,y.ElectronicSignature=Bc,y.ElectronicSignatureConfig=pl,y.Employee=Jo,y.Employee2=Tc,y.EmployeeColumn=Ts,y.EncryptTypeEnum=uo,y.Explain=hi,y.ExportListButton=fo,y.ExportRecordListButton=ho,y.ExportTemplate=$a,y.FileColumn=Es,y.FlexStyleConfig=io,y.FormSelectButton=mo,y.Grid=Nc,y.GridLayoutContainer=Xc,y.GridLayoutWrap=Fs,y.GridRow=Hc,y.GridTable=ds,y.GridTableColumn=zc,y.Image=po,y.ImageColumn=Cs,y.ImportRecordListButton=yo,y.Input=Do,y.InternalType=Ha,y.InvoiceCheckButton=So,y.LINE_STYLE=Ma,y.LimitDate=fi,y.Link=Ql,y.ListSelectButton=vo,y.ListView=es,y.ListViewSelect=wo,y.LocationColumn=Is,y.Number=No,y.OperationButton=Ro,y.OperationColumn=ss,y.OrderColumn=cs,y.OrganizationSelection=kc,y.OrganizeType=Va,y.Page=is,y.Pagination=bo,y.PeopleColumn=ws,y.Position=rs,y.PositioningContainer=as,y.PrintTemplate=no,y.Radio=ko,y.RichText=Wo,y.Row=Vc,y.SCORE_TYPE=ka,y.SUBTABLE_DEFAULT_MAX_HEIGHT=to,y.Score=ic,y.SearchDateRange=mc,y.SearchInput=wc,y.SearchNumberRange=hc,y.Select=zo,y.SelectMultiple=Xo,y.SelectRelation=_c,y.SimpleSearch=Ds,y.SubTable=os,y.SubTableColumn=Uc,y.SubTableRow=Wc,y.SubmissionRecordListButton=so,y.Tab=Jc,y.TabPane=Qc,y.Text=Xl,y.TextColumn=hs,y.TextOcrButton=Io,y.Textarea=qo,y.TimescopeColumn=ms,y.TimestampColumn=vs,y.Title=lo,y.TitleConfigEnum=ke,y.Toolbox=pc,y.Tree=Sc,y.UndersignedPerson=Na,y.VarcharColumn=fs,y.VueFormItem=gc,y.WPS=Dc,y.WPSSetting=eo,y.WpsOperationItem=La,y.baseControls=Lb,y.columnControls=RE,y.formControls=O_,y.initExpression=Nt,y.layoutControls=dE,y.listControls=gE,y.searchControls=PE,y.wrapControls=OE,Object.defineProperty(y,"__esModule",{value:!0})});
|