@byteluck-fe/model-driven-controls 2.23.0-beta.1 → 2.23.0-beta.10
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 +14 -25
- package/dist/esm/baseControls/BatchDeleteButton/property.js +13 -32
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +12 -24
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +14 -25
- package/dist/esm/baseControls/BatchPrintListButton/property.js +13 -28
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +12 -24
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +14 -25
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +12 -23
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +12 -24
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +14 -25
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +19 -34
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +12 -24
- package/dist/esm/baseControls/Button/designer.js +14 -26
- package/dist/esm/baseControls/Button/property.js +22 -41
- package/dist/esm/baseControls/Button/runtime.js +12 -24
- package/dist/esm/baseControls/CreateFormListButton/designer.js +14 -25
- package/dist/esm/baseControls/CreateFormListButton/property.js +15 -28
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +12 -24
- package/dist/esm/baseControls/Dashboard/designer.js +14 -25
- package/dist/esm/baseControls/Dashboard/property.js +19 -40
- package/dist/esm/baseControls/Dashboard/runtime.js +12 -24
- package/dist/esm/baseControls/Divider/designer.js +14 -25
- package/dist/esm/baseControls/Divider/property.js +12 -25
- package/dist/esm/baseControls/Divider/runtime.js +12 -24
- package/dist/esm/baseControls/ExportListButton/designer.js +14 -25
- package/dist/esm/baseControls/ExportListButton/property.js +14 -26
- package/dist/esm/baseControls/ExportListButton/runtime.js +12 -24
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +14 -25
- package/dist/esm/baseControls/ExportRecordListButton/property.js +12 -23
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +12 -24
- package/dist/esm/baseControls/FormSelectButton/designer.js +14 -25
- package/dist/esm/baseControls/FormSelectButton/property.js +17 -34
- package/dist/esm/baseControls/FormSelectButton/runtime.js +12 -24
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +14 -25
- package/dist/esm/baseControls/ImportRecordListButton/property.js +13 -26
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +12 -24
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +14 -25
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +20 -43
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +12 -24
- package/dist/esm/baseControls/Link/designer.js +14 -25
- package/dist/esm/baseControls/Link/property.js +14 -27
- package/dist/esm/baseControls/Link/runtime.js +12 -24
- package/dist/esm/baseControls/ListSelectButton/designer.js +14 -25
- package/dist/esm/baseControls/ListSelectButton/property.js +24 -44
- package/dist/esm/baseControls/ListSelectButton/runtime.js +12 -24
- package/dist/esm/baseControls/ListViewSelect/designer.js +14 -25
- package/dist/esm/baseControls/ListViewSelect/property.js +16 -30
- package/dist/esm/baseControls/ListViewSelect/runtime.js +12 -24
- package/dist/esm/baseControls/OperationButton/designer.js +14 -25
- package/dist/esm/baseControls/OperationButton/property.js +16 -40
- package/dist/esm/baseControls/OperationButton/runtime.js +12 -24
- package/dist/esm/baseControls/Pagination/designer.js +14 -25
- package/dist/esm/baseControls/Pagination/property.js +18 -27
- package/dist/esm/baseControls/Pagination/runtime.js +12 -24
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +14 -25
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +12 -23
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +12 -24
- package/dist/esm/baseControls/Text/designer.js +14 -25
- package/dist/esm/baseControls/Text/property.js +15 -31
- package/dist/esm/baseControls/Text/runtime.js +12 -24
- package/dist/esm/baseControls/TextOcrButton/designer.js +14 -25
- package/dist/esm/baseControls/TextOcrButton/property.js +20 -43
- package/dist/esm/baseControls/TextOcrButton/runtime.js +12 -24
- package/dist/esm/baseControls/Title/designer.js +14 -25
- package/dist/esm/baseControls/Title/property.js +17 -34
- package/dist/esm/baseControls/Title/runtime.js +12 -24
- package/dist/esm/columnControls/ApprovalStatusColumn/designer.js +14 -26
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +15 -29
- package/dist/esm/columnControls/ApprovalStatusColumn/runtime.js +12 -25
- package/dist/esm/columnControls/ArrayColumn/designer.js +14 -26
- package/dist/esm/columnControls/ArrayColumn/property.js +21 -36
- package/dist/esm/columnControls/ArrayColumn/runtime.js +12 -24
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +14 -26
- package/dist/esm/columnControls/AutoNumberColumn/property.js +18 -30
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +12 -24
- package/dist/esm/columnControls/CustomColumn/designer.js +15 -30
- package/dist/esm/columnControls/CustomColumn/property.js +15 -28
- package/dist/esm/columnControls/CustomColumn/runtime.js +13 -26
- package/dist/esm/columnControls/DecimalColumn/designer.js +14 -26
- package/dist/esm/columnControls/DecimalColumn/property.js +24 -42
- package/dist/esm/columnControls/DecimalColumn/runtime.js +12 -24
- package/dist/esm/columnControls/DepartmentColumn/designer.js +14 -26
- package/dist/esm/columnControls/DepartmentColumn/property.js +13 -25
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +12 -24
- package/dist/esm/columnControls/EmployeeColumn/designer.js +14 -26
- package/dist/esm/columnControls/EmployeeColumn/property.js +13 -25
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +12 -24
- package/dist/esm/columnControls/FileColumn/designer.js +15 -27
- package/dist/esm/columnControls/FileColumn/property.js +12 -23
- package/dist/esm/columnControls/FileColumn/runtime.js +12 -24
- package/dist/esm/columnControls/ImageColumn/designer.js +14 -26
- package/dist/esm/columnControls/ImageColumn/property.js +12 -23
- package/dist/esm/columnControls/ImageColumn/runtime.js +12 -24
- package/dist/esm/columnControls/LocationColumn/designer.js +14 -26
- package/dist/esm/columnControls/LocationColumn/property.js +18 -30
- package/dist/esm/columnControls/LocationColumn/runtime.js +12 -24
- package/dist/esm/columnControls/OperationColumn/designer.js +14 -25
- package/dist/esm/columnControls/OperationColumn/property.js +14 -27
- package/dist/esm/columnControls/OperationColumn/runtime.js +12 -24
- package/dist/esm/columnControls/OrderColumn/designer.js +14 -25
- package/dist/esm/columnControls/OrderColumn/property.js +15 -25
- package/dist/esm/columnControls/OrderColumn/runtime.js +12 -24
- package/dist/esm/columnControls/PeopleColumn/designer.js +14 -26
- package/dist/esm/columnControls/PeopleColumn/property.js +12 -23
- package/dist/esm/columnControls/PeopleColumn/runtime.js +12 -24
- package/dist/esm/columnControls/TextColumn/designer.js +14 -26
- package/dist/esm/columnControls/TextColumn/property.js +19 -33
- package/dist/esm/columnControls/TextColumn/runtime.js +12 -24
- package/dist/esm/columnControls/TimescopeColumn/designer.js +14 -26
- package/dist/esm/columnControls/TimescopeColumn/property.js +19 -32
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +12 -24
- package/dist/esm/columnControls/TimestampColumn/designer.js +14 -26
- package/dist/esm/columnControls/TimestampColumn/property.js +19 -32
- package/dist/esm/columnControls/TimestampColumn/runtime.js +12 -24
- package/dist/esm/columnControls/VarcharColumn/designer.js +14 -26
- package/dist/esm/columnControls/VarcharColumn/property.js +23 -40
- package/dist/esm/columnControls/VarcharColumn/runtime.js +12 -24
- package/dist/esm/formControls/Address/designer.js +14 -26
- package/dist/esm/formControls/Address/property.js +19 -32
- package/dist/esm/formControls/Address/runtime.js +12 -24
- package/dist/esm/formControls/Amount/designer.js +14 -26
- package/dist/esm/formControls/Amount/property.js +32 -55
- package/dist/esm/formControls/Amount/runtime.js +12 -24
- package/dist/esm/formControls/Attachment/designer.js +14 -26
- package/dist/esm/formControls/Attachment/property.js +24 -46
- package/dist/esm/formControls/Attachment/runtime.js +12 -24
- package/dist/esm/formControls/AutoNumber/designer.js +14 -26
- package/dist/esm/formControls/AutoNumber/property.js +14 -25
- package/dist/esm/formControls/AutoNumber/runtime.js +12 -24
- package/dist/esm/formControls/Calc/designer.js +14 -26
- package/dist/esm/formControls/Calc/property.js +28 -46
- package/dist/esm/formControls/Calc/runtime.js +12 -24
- package/dist/esm/formControls/Checkbox/designer.js +14 -26
- package/dist/esm/formControls/Checkbox/property.js +26 -50
- package/dist/esm/formControls/Checkbox/runtime.js +12 -24
- package/dist/esm/formControls/DatePicker/designer.js +14 -26
- package/dist/esm/formControls/DatePicker/property.js +20 -39
- package/dist/esm/formControls/DatePicker/runtime.js +12 -24
- package/dist/esm/formControls/DateRange/designer.js +14 -26
- package/dist/esm/formControls/DateRange/property.js +29 -50
- package/dist/esm/formControls/DateRange/runtime.js +12 -24
- package/dist/esm/formControls/Department/designer.js +14 -26
- package/dist/esm/formControls/Department/property.js +26 -45
- package/dist/esm/formControls/Department/runtime.js +12 -24
- package/dist/esm/formControls/Department2/designer.js +14 -26
- package/dist/esm/formControls/Department2/property.js +35 -60
- package/dist/esm/formControls/Department2/runtime.js +12 -24
- package/dist/esm/formControls/ElectronicSignature/designer.js +14 -26
- package/dist/esm/formControls/ElectronicSignature/property.js +23 -42
- package/dist/esm/formControls/ElectronicSignature/runtime.js +12 -24
- package/dist/esm/formControls/Employee/designer.js +14 -26
- package/dist/esm/formControls/Employee/property.js +22 -39
- package/dist/esm/formControls/Employee/runtime.js +12 -24
- package/dist/esm/formControls/Employee2/designer.js +14 -26
- package/dist/esm/formControls/Employee2/property.js +30 -54
- package/dist/esm/formControls/Employee2/runtime.js +12 -24
- package/dist/esm/formControls/Image/designer.js +15 -26
- package/dist/esm/formControls/Image/property.js +12 -23
- package/dist/esm/formControls/Image/runtime.js +15 -25
- package/dist/esm/formControls/Input/designer.js +14 -26
- package/dist/esm/formControls/Input/property.js +28 -46
- package/dist/esm/formControls/Input/runtime.js +12 -24
- package/dist/esm/formControls/Number/designer.js +14 -26
- package/dist/esm/formControls/Number/property.js +32 -55
- package/dist/esm/formControls/Number/runtime.js +12 -24
- package/dist/esm/formControls/OrganizationSelection/designer.js +19 -26
- package/dist/esm/formControls/OrganizationSelection/property.js +41 -71
- package/dist/esm/formControls/OrganizationSelection/runtime.js +12 -24
- package/dist/esm/formControls/Radio/designer.js +14 -26
- package/dist/esm/formControls/Radio/property.js +21 -43
- package/dist/esm/formControls/Radio/runtime.js +12 -24
- package/dist/esm/formControls/RichText/designer.js +14 -26
- package/dist/esm/formControls/RichText/property.js +21 -36
- package/dist/esm/formControls/RichText/runtime.js +12 -24
- package/dist/esm/formControls/Score/designer.js +14 -26
- package/dist/esm/formControls/Score/property.js +19 -35
- package/dist/esm/formControls/Score/runtime.js +12 -24
- package/dist/esm/formControls/SearchDateRange/designer.js +14 -26
- package/dist/esm/formControls/SearchDateRange/property.js +24 -44
- package/dist/esm/formControls/SearchDateRange/runtime.js +12 -24
- package/dist/esm/formControls/SearchInput/designer.js +14 -25
- package/dist/esm/formControls/SearchInput/property.js +15 -25
- package/dist/esm/formControls/SearchInput/runtime.js +12 -24
- package/dist/esm/formControls/SearchNumberRange/designer.js +14 -26
- package/dist/esm/formControls/SearchNumberRange/property.js +19 -34
- package/dist/esm/formControls/SearchNumberRange/runtime.js +12 -24
- package/dist/esm/formControls/Select/designer.js +14 -26
- package/dist/esm/formControls/Select/property.js +23 -45
- package/dist/esm/formControls/Select/runtime.js +12 -24
- package/dist/esm/formControls/SelectMultiple/designer.js +14 -26
- package/dist/esm/formControls/SelectMultiple/property.js +25 -45
- package/dist/esm/formControls/SelectMultiple/runtime.js +12 -24
- package/dist/esm/formControls/SelectRelation/designer.js +14 -26
- package/dist/esm/formControls/SelectRelation/property.js +33 -58
- package/dist/esm/formControls/SelectRelation/runtime.js +12 -24
- package/dist/esm/formControls/Textarea/designer.js +14 -26
- package/dist/esm/formControls/Textarea/property.js +25 -41
- package/dist/esm/formControls/Textarea/runtime.js +12 -24
- package/dist/esm/formControls/Tree/designer.js +14 -26
- package/dist/esm/formControls/Tree/property.js +25 -53
- package/dist/esm/formControls/Tree/runtime.js +12 -24
- package/dist/esm/formControls/VueFormItem/designer.js +14 -26
- package/dist/esm/formControls/VueFormItem/property.js +18 -31
- package/dist/esm/formControls/VueFormItem/runtime.js +12 -24
- package/dist/esm/formControls/VuePage/designer.js +14 -26
- package/dist/esm/formControls/VuePage/property.js +18 -31
- package/dist/esm/formControls/VuePage/runtime.js +12 -24
- package/dist/esm/formControls/WPS/designer.js +14 -26
- package/dist/esm/formControls/WPS/property.js +20 -44
- package/dist/esm/formControls/WPS/runtime.js +12 -24
- package/dist/esm/framework.js +2 -2
- package/dist/esm/layoutControls/ActionBar/designer.js +14 -25
- package/dist/esm/layoutControls/ActionBar/property.js +14 -28
- package/dist/esm/layoutControls/ActionBar/runtime.js +12 -24
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +14 -24
- package/dist/esm/layoutControls/AdvancedContainer/property.js +12 -25
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +12 -23
- package/dist/esm/layoutControls/CardGroup/designer.js +14 -26
- package/dist/esm/layoutControls/CardGroup/property.js +16 -32
- package/dist/esm/layoutControls/CardGroup/runtime.js +12 -24
- package/dist/esm/layoutControls/Col/designer.js +14 -26
- package/dist/esm/layoutControls/Col/property.js +12 -25
- package/dist/esm/layoutControls/Col/runtime.js +12 -24
- package/dist/esm/layoutControls/DataView/designer.js +14 -25
- package/dist/esm/layoutControls/DataView/property.js +22 -38
- package/dist/esm/layoutControls/DataView/runtime.js +12 -24
- package/dist/esm/layoutControls/Grid/designer.js +14 -25
- package/dist/esm/layoutControls/Grid/runtime.js +12 -23
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +14 -26
- package/dist/esm/layoutControls/GridLayoutContainer/property.js +13 -26
- package/dist/esm/layoutControls/GridLayoutContainer/runtime.js +12 -24
- package/dist/esm/layoutControls/GridRow/designer.js +14 -25
- package/dist/esm/layoutControls/GridRow/property.js +12 -23
- package/dist/esm/layoutControls/GridRow/runtime.js +12 -23
- package/dist/esm/layoutControls/GridTableColumn/designer.js +12 -24
- package/dist/esm/layoutControls/GridTableColumn/property.js +13 -36
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +12 -24
- package/dist/esm/layoutControls/ListView/designer.js +14 -26
- package/dist/esm/layoutControls/ListView/property.js +41 -70
- package/dist/esm/layoutControls/ListView/runtime.js +12 -24
- package/dist/esm/layoutControls/Page/designer.js +14 -24
- package/dist/esm/layoutControls/Page/property.js +13 -29
- package/dist/esm/layoutControls/Page/runtime.js +12 -23
- package/dist/esm/layoutControls/Position/designer.js +14 -24
- package/dist/esm/layoutControls/Position/property.js +12 -27
- package/dist/esm/layoutControls/Position/runtime.js +12 -23
- package/dist/esm/layoutControls/PositioningContainer/designer.js +14 -24
- package/dist/esm/layoutControls/PositioningContainer/property.js +12 -23
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +12 -23
- package/dist/esm/layoutControls/Row/designer.js +14 -26
- package/dist/esm/layoutControls/Row/property.js +12 -25
- package/dist/esm/layoutControls/Row/runtime.js +12 -24
- package/dist/esm/layoutControls/SubTableColumn/designer.js +14 -26
- package/dist/esm/layoutControls/SubTableColumn/property.js +23 -42
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +12 -24
- package/dist/esm/layoutControls/SubTableRow/designer.js +14 -26
- package/dist/esm/layoutControls/SubTableRow/property.js +12 -23
- package/dist/esm/layoutControls/SubTableRow/runtime.js +12 -24
- package/dist/esm/layoutControls/Tab/designer.js +14 -26
- package/dist/esm/layoutControls/Tab/property.js +12 -24
- package/dist/esm/layoutControls/Tab/runtime.js +12 -24
- package/dist/esm/layoutControls/TabPane/designer.js +14 -26
- package/dist/esm/layoutControls/TabPane/property.js +15 -27
- package/dist/esm/layoutControls/TabPane/runtime.js +12 -24
- package/dist/esm/layoutControls/Toolbox/designer.js +14 -26
- package/dist/esm/layoutControls/Toolbox/property.js +12 -23
- package/dist/esm/layoutControls/Toolbox/runtime.js +12 -23
- package/dist/esm/listControls/GridTable/designer.js +16 -31
- package/dist/esm/listControls/GridTable/property.js +18 -33
- package/dist/esm/listControls/GridTable/runtime.js +13 -25
- package/dist/esm/listControls/SubTable/designer.js +15 -26
- package/dist/esm/listControls/SubTable/property.js +61 -108
- package/dist/esm/listControls/SubTable/runtime.js +13 -25
- package/dist/esm/searchControls/SimpleSearch/designer.js +12 -24
- package/dist/esm/searchControls/SimpleSearch/property.js +29 -50
- package/dist/esm/searchControls/SimpleSearch/runtime.js +12 -25
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +2 -1
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +15 -26
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +12 -24
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +12 -24
- package/dist/index.umd.js +1 -1
- package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/ArrayColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/CustomColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/DecimalColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/DepartmentColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/EmployeeColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/FileColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/ImageColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/LocationColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/OperationColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/OrderColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/PeopleColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/TextColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/TimescopeColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/TimestampColumn/designer.d.ts +1 -1
- package/dist/types/columnControls/VarcharColumn/designer.d.ts +1 -1
- package/dist/types/formControls/Attachment/property.d.ts +0 -1
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +1 -1
- package/dist/types/layoutControls/SubTableColumn/designer.d.ts +1 -1
- package/dist/types/layoutControls/SubTableRow/designer.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var IC=Object.defineProperty,SC=Object.defineProperties;var AC=Object.getOwnPropertyDescriptors;var Ys=Object.getOwnPropertySymbols,RC=Object.getPrototypeOf,TC=Object.prototype.hasOwnProperty,BC=Object.prototype.propertyIsEnumerable,PC=Reflect.get;var ps=(y,j,K)=>j in y?IC(y,j,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[j]=K,ot=(y,j)=>{for(var K in j||(j={}))TC.call(j,K)&&ps(y,K,j[K]);if(Ys)for(var K of Ys(j))BC.call(j,K)&&ps(y,K,j[K]);return y},Nr=(y,j)=>SC(y,AC(j));var Vr=(y,j,K)=>PC(RC(y),K,j);var Hr=(y,j,K)=>new Promise((Eu,Hn)=>{var Iu=_e=>{try{Lt(K.next(_e))}catch(Nt){Hn(Nt)}},Su=_e=>{try{Lt(K.throw(_e))}catch(Nt){Hn(Nt)}},Lt=_e=>_e.done?Eu(_e.value):Promise.resolve(_e.value).then(Iu,Su);Lt((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",Eu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Hn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Iu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Su="{caption}\u5FC5\u586B",Lt="\u8BF7\u8F93\u5165\u6807\u9898",_e="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Nt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",ed="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",td="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",nd="\u8BF7\u7ED1\u5B9A\u8868\u5355",id="\u8BF7\u7ED1\u5B9A\u5217\u8868",ud="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",ad="\u8BF7\u8F93\u5165\u663E\u793A\u503C",rd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",ld="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",od="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",cd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",sd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",dd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",hd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",yd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",vd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",md="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",gd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",bd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",_d="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",wd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Cd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Ed="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Id="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Sd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ad="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Rd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Td="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Bd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Pd="\u8BF7\u9009\u62E9\u7701",xd="\u8BF7\u9009\u62E9\u5E02",Dd="\u8BF7\u9009\u62E9\u533A",Fd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",kd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Od="\u8BF7\u8F93\u5165\u5217\u5BBD",Md="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",$d="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Ld="\u8BF7\u9009\u62E9\u63A7\u4EF6",Nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Vd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Hd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",jd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",qd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ud="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Wd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Kd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",zd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Gd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Xd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Zd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Yd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",pd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",ef="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",tf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",nf="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",uf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",af="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",rf="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",lf="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",of="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",cf="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",sf="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",df="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",ff={isNotNumber:j,isNotString:K,isNotObject:Eu,isNotArray:Hn,isNotBoolean:Iu,runtimeRequired:Su,pleaseEnterCaption:Lt,pleaseEnterCaptionTip:_e,pleaseEnterRowCaption:Nt,pleaseEnterPlaceholder:ed,pleaseEnterFieldCode:td,pleaseEnterForm:nd,pleaseEnterList:id,pleaseEnterProcess:ud,pleaseEnterLabel:ad,pleaseEnterValue:rd,bizKeyNotBindFiled:ld,pleaseSelectOneField:od,pleaseEnterNumberRange:cd,pleaseEnterAValueGreaterThanMin:sd,pleaseEnterAValueLessThanMax:dd,numberRangeSetError:fd,stringRangeError:hd,attachmentMaxSize:yd,pleaseEnterTotalScoreSetting:vd,theTotalScoreMustNotBeLessThan1:md,scoreDefaultValueRange:gd,attachmentLimitError:bd,PleaseReselectTheOptionalQuantity:_d,TheMaximumLengthIsGreaterThanTheMinimumLength:wd,TheMinimumLengthIsGreaterThanTheMaximumLength:Cd,PleaseSelectTheCorrectOptionSettings:Ed,optionIdIsRepeat:Id,optionIsRequired:Sd,pleaseEnterDataCode:Ad,pleaseEnterValueFieldCode:Rd,pleaseEnterSvcCode:Td,pleaseBindAtLeastOneDisplayValue:Bd,pleaseSelectProvince:Pd,pleaseSelectCity:xd,pleaseSelectDistrict:Dd,limitRowsCannotBeLessThan0:Fd,TheNumberOfRowsCannotBeLessThanMinRows:kd,pleaseEnterColumnWidth:Od,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Md,pleaseCompleteAllRulesAndConditions:$d,pleaseSelectControl:Ld,pleaseSelectAtLeastOneColumn:Nd,pleaseSelectFillBackMode:Vd,pleaseSelectDashboard:Hd,rootNodeIsRequired:jd,theViewNameCannotBeEmpty:qd,pleaseSelectOcrType:Ud,pleaseSelectAtLeastOneFieldToFillIn:Wd,pleaseChooseAtLeastOne:Kd,pleaseEnterButtonContent:zd,pleaseEnterDataCodeInDataSetting:Gd,pleaseEnterValueFieldCodeInDataSetting:Qd,pleaseEnterSvcCodeInDataSetting:Xd,pleaseBindAtLeastOneDisplayValueInDataSetting:Jd,rootNodeIsRequiredInDataSetting:Zd,pleaseEnterMaxHeight:Yd,pleaseEnter:pd,pleaseEnterWatermark:ef,pleaseEnterFileName:tf,pleaseUploadAtLeastOnePrintTemplate:nf,pleaseAssignBusiness:uf,pleaseAssignExternal:af,pleaseEnterAliasCode:rf,pleaseSelectDataCode:lf,pleaseSelectSvcCode:of,pleaseSelectJoinFieldCode:cf,pleaseSelectMainFieldCode:sf,pleaseSelectSortFieldCode:df},hf="Please enter a number",yf="Please enter a string",vf="Please enter an object",mf="Please enter an array",gf="Please enter a boolean",bf="{caption} Required",_f="Please enter the title",wf="Please enter the bubble prompt",Cf="Please enter the row title",Ef="Please enter the prompt text",If="Please bind data items",Sf="Please bind the form",Af="Please bind the list",Rf="Please bind the process",Tf="Please enter the displayed value",Bf="Please enter the stored value",Pf="The document number is not bound to the data item",xf="Please select at least one display field",Df="Please enter a value greater than or equal to {min} and less than or equal to {max}",Ff="Please enter a value greater than or equal to {min}",kf="Please enter a value less than or equal to {max}",Of="The value range is set incorrectly",Mf="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",$f="The attachment size must be between 0MB and 1000MB",Lf="Please fill in the total score setting",Nf="The total score cannot be less than 1",Vf="The default value must be between {min} and {max}",Hf="The number of attachment uploads exceeds the limit",jf="Please re-select the optional quantity",qf="The maximum length of the control must be greater than the minimum length",Uf="The minimum length of the control must be less than the maximum length",Wf="Please select the correct option setting",Kf="Option ID cannot be repeated",zf="Please enter at least one option",Gf="Please bind the data source",Qf="Please bind the stored value",Xf="Please bind the service",Jf="At least one display value must be bound",Zf="Please select a province",Yf="Please select a city",pf="Please select a district",eh="The minimum number of lines to fill in cannot be less than 0",th="The number of rows cannot be less than {min} rows",nh="Please enter the column width",ih="Please set the logical relationship of all rule conditions",uh="Please complete all rules and conditions",ah="please select control",rh="Please select the dashboard",lh="View name cannot be empty",oh="Please select recognition type",ch="Please select at least one field to fill in",sh="Please select at least one",dh="Please enter the button title",fh="Please bind the business model in the data settings",hh="Please bind storage values in data settings",yh="Please bind the service in the data settings",vh="Please bind at least one display value in the data settings",mh="Please select the root node in the data settings",gh="Please enter the maximum height",bh="The input content cannot be empty",_h="Watermark cannot be empty",wh="File name cannot be empty",Ch="Please upload at least one printing template!\uFF01",Eh="Please select a specific business department",Ih="Please select a specified external organization",Sh="Please enter a sub table alias",Ah="Please select the associated table to set the business model",Rh="Please select the association table to set the binding service",Th="Select associated sub table fields",Bh="Please select the associated main table field",Ph="Please select the sort field",xh={isNotNumber:hf,isNotString:yf,isNotObject:vf,isNotArray:mf,isNotBoolean:gf,runtimeRequired:bf,pleaseEnterCaption:_f,pleaseEnterCaptionTip:wf,pleaseEnterRowCaption:Cf,pleaseEnterPlaceholder:Ef,pleaseEnterFieldCode:If,pleaseEnterForm:Sf,pleaseEnterList:Af,pleaseEnterProcess:Rf,pleaseEnterLabel:Tf,pleaseEnterValue:Bf,bizKeyNotBindFiled:Pf,pleaseSelectOneField:xf,pleaseEnterNumberRange:Df,pleaseEnterAValueGreaterThanMin:Ff,pleaseEnterAValueLessThanMax:kf,numberRangeSetError:Of,stringRangeError:Mf,attachmentMaxSize:$f,pleaseEnterTotalScoreSetting:Lf,theTotalScoreMustNotBeLessThan1:Nf,scoreDefaultValueRange:Vf,attachmentLimitError:Hf,PleaseReselectTheOptionalQuantity:jf,TheMaximumLengthIsGreaterThanTheMinimumLength:qf,TheMinimumLengthIsGreaterThanTheMaximumLength:Uf,PleaseSelectTheCorrectOptionSettings:Wf,optionIdIsRepeat:Kf,optionIsRequired:zf,pleaseEnterDataCode:Gf,pleaseEnterValueFieldCode:Qf,pleaseEnterSvcCode:Xf,pleaseBindAtLeastOneDisplayValue:Jf,pleaseSelectProvince:Zf,pleaseSelectCity:Yf,pleaseSelectDistrict:pf,limitRowsCannotBeLessThan0:eh,TheNumberOfRowsCannotBeLessThanMinRows:th,pleaseEnterColumnWidth:nh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ih,pleaseCompleteAllRulesAndConditions:uh,pleaseSelectControl:ah,pleaseSelectDashboard:rh,theViewNameCannotBeEmpty:lh,pleaseSelectOcrType:oh,pleaseSelectAtLeastOneFieldToFillIn:ch,pleaseChooseAtLeastOne:sh,pleaseEnterButtonContent:dh,pleaseEnterDataCodeInDataSetting:fh,pleaseEnterValueFieldCodeInDataSetting:hh,pleaseEnterSvcCodeInDataSetting:yh,pleaseBindAtLeastOneDisplayValueInDataSetting:vh,rootNodeIsRequiredInDataSetting:mh,pleaseEnterMaxHeight:gh,pleaseEnter:bh,pleaseEnterWatermark:_h,pleaseEnterFileName:wh,pleaseUploadAtLeastOnePrintTemplate:Ch,pleaseAssignBusiness:Eh,pleaseAssignExternal:Ih,pleaseEnterAliasCode:Sh,pleaseSelectDataCode:Ah,pleaseSelectSvcCode:Rh,pleaseSelectJoinFieldCode:Th,pleaseSelectMainFieldCode:Bh,pleaseSelectSortFieldCode:Ph},Dh="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fh="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kh="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Oh="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mh="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$h="{caption}\u5FC5\u9808",Lh="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nh="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vh="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hh="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jh="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qh="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Uh="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Wh="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Kh="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zh="\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",Qh="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Xh="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Jh="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zh="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Yh="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ph="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ey="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ty="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ny="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",iy="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",uy="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",ay="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ry="\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",ly="\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",oy="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cy="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",sy="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",dy="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",fy="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hy="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yy="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",vy="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",my="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",gy="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",by="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",_y="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",wy="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Cy="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ey="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Iy="please select control",Sy="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ay="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ry="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ty="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",By="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Py="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Dy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Fy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ky="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Oy="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",My="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$y="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ly="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ny="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Vy="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",Hy="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jy="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",qy="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Uy="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Wy="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Ky="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",zy="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Gy="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Qy={isNotNumber:Dh,isNotString:Fh,isNotObject:kh,isNotArray:Oh,isNotBoolean:Mh,runtimeRequired:$h,pleaseEnterCaption:Lh,pleaseEnterCaptionTip:Nh,pleaseEnterRowCaption:Vh,pleaseEnterPlaceholder:Hh,pleaseEnterFieldCode:jh,pleaseEnterForm:qh,pleaseEnterList:Uh,pleaseEnterProcess:Wh,pleaseEnterLabel:Kh,pleaseEnterValue:zh,bizKeyNotBindFiled:Gh,pleaseSelectOneField:Qh,pleaseEnterNumberRange:Xh,pleaseEnterAValueGreaterThanMin:Jh,pleaseEnterAValueLessThanMax:Zh,numberRangeSetError:Yh,stringRangeError:ph,attachmentMaxSize:ey,pleaseEnterTotalScoreSetting:ty,theTotalScoreMustNotBeLessThan1:ny,scoreDefaultValueRange:iy,attachmentLimitError:uy,PleaseReselectTheOptionalQuantity:ay,TheMaximumLengthIsGreaterThanTheMinimumLength:ry,TheMinimumLengthIsGreaterThanTheMaximumLength:ly,PleaseSelectTheCorrectOptionSettings:oy,optionIdIsRepeat:cy,optionIsRequired:sy,pleaseEnterDataCode:dy,pleaseEnterValueFieldCode:fy,pleaseEnterSvcCode:hy,pleaseBindAtLeastOneDisplayValue:yy,pleaseSelectProvince:vy,pleaseSelectCity:my,pleaseSelectDistrict:gy,limitRowsCannotBeLessThan0:by,TheNumberOfRowsCannotBeLessThanMinRows:_y,pleaseEnterColumnWidth:wy,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Cy,pleaseCompleteAllRulesAndConditions:Ey,pleaseSelectControl:Iy,pleaseSelectDashboard:Sy,theViewNameCannotBeEmpty:Ay,pleaseSelectOcrType:Ry,pleaseSelectAtLeastOneFieldToFillIn:Ty,pleaseChooseAtLeastOne:By,pleaseEnterButtonContent:Py,pleaseEnterDataCodeInDataSetting:xy,pleaseEnterValueFieldCodeInDataSetting:Dy,pleaseEnterSvcCodeInDataSetting:Fy,pleaseBindAtLeastOneDisplayValueInDataSetting:ky,rootNodeIsRequiredInDataSetting:Oy,pleaseEnterMaxHeight:My,pleaseEnter:$y,pleaseEnterWatermark:Ly,pleaseEnterFileName:Ny,pleaseUploadAtLeastOnePrintTemplate:Vy,pleaseAssignBusiness:Hy,pleaseAssignExternal:jy,pleaseEnterAliasCode:qy,pleaseSelectDataCode:Uy,pleaseSelectSvcCode:Wy,pleaseSelectJoinFieldCode:Ky,pleaseSelectMainFieldCode:zy,pleaseSelectSortFieldCode:Gy},Xy={zhCN:ff,enUS:xh,jaJP:Qy},jr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(jr||(jr={}));var qr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(qr||(qr={}));var Jy="zh-CN",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 Ur;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(Ur||(Ur={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",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.OPERATION_BUTTON="operation-button",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",t.VUE_PAGE="vue-page"})(S||(S={}));var Wr;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Wr||(Wr={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(b||(b={}));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 Kr={DEFAULT:"default"},zr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Zy=zr+"0123456789";function ye(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?zr:Zy,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Yy(t){if(Array.isArray(t))return Au(t)}function py(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gr(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t,e,n){return Jr()?jn=Reflect.construct:jn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Ht(o,r.prototype),o},jn.apply(null,arguments)}function Vt(t){return Vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vt(t)}function Qr(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&&Ht(t,e)}function ev(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function tv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nv(){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 iv(t,e){return e&&(uv(e)==="object"||typeof e=="function")?e:py(t)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ht(t,e)}function Xr(t){return Yy(t)||tv(t)||av(t)||nv()}function uv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function av(t,e){if(!!t){if(typeof t=="string")return Au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Au(t,e)}}function Ru(t){var e=typeof Map=="function"?new Map:void 0;return Ru=function(i){if(i===null||!ev(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 jn(i,arguments,Vt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ht(u,i)},Ru(t)}function Jr(){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 Zr(t){var e=Jr();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 iv(this,u)}}var Tu=console;function Bu(){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=Tu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Xr(u)))}function Yr(){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=Tu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Xr(u)))}function rv(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Pu=function(t){Qr(n,t);var e=Zr(n);function n(i){Gr(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?rv(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(Ru(Error)),lv=function(t){Qr(n,t);var e=Zr(n);function n(i){Gr(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(Pu);function jt(t){throw new Pu(t)}function pr(t){throw new lv(t)}function ov(t){Tu.error(new Pu(t))}var cv=Object.prototype.toString;function el(t,e){return cv.call(t)==="[object "+e+"]"}function sv(t){return el(t,"String")}function dv(t){return el(t,"Promise")}var fv=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();dv(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&&!sv(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 hv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tl(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 yv(t,e,n){return e&&tl(t.prototype,e),n&&tl(t,n),t}function vv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var h=function(){function t(){hv(this,t)}return yv(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]:Jy;return new fv({locale:n,messages:Xy})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();vv(h,"$i18n",h.resetI18n());function mv(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)){Bu("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 gv=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},bv={exports:{}};(function(t){(function(e){var n=function(m,C,T){if(!o(C)||v(C)||g(C)||_(C)||c(C))return C;var D,k=0,oe=0;if(d(C))for(D=[],oe=C.length;k<oe;k++)D.push(n(m,C[k],T));else{D={};for(var M in C)Object.prototype.hasOwnProperty.call(C,M)&&(D[m(M,T)]=n(m,C[M],T))}return D},i=function(m,C){C=C||{};var T=C.separator||"_",D=C.split||/(?=[A-Z])/;return m.split(D).join(T)},u=function(m){return E(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(C,T){return T?T.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var C=u(m);return C.substr(0,1).toUpperCase()+C.substr(1)},r=function(m,C){return i(m,C).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]"},v=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]"},E=function(m){return m=m-0,m===m},w=function(m,C){var T=C&&"process"in C?C.process:C;return typeof T!="function"?m:function(D,k){return T(D,m,k)}},A={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,C){return n(w(u,C),m)},decamelizeKeys:function(m,C){return n(w(r,C),m,C)},pascalizeKeys:function(m,C){return n(w(a,C),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=A:e.humps=A})(gv)})(bv);var nl={};Object.defineProperty(nl,"__esModule",{value:!0});function xu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:xu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:xu(i)}return e}}var _v=nl.default=xu;function wv(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function se(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":wv(t))==="object"?_v(t):t}function Cv(t){return Object.prototype.toString.call(t)==="[object Object]"}function Du(t){return Array.isArray(t)}function Ev(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Fu(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 Fu(t)}function il(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){il(a,i,u,r,l,"next",c)}function l(c){il(a,i,u,r,l,"throw",c)}r(void 0)})}}function Av(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ul(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Rv(t,e,n){return e&&ul(t.prototype,e),n&&ul(t,n),t}function al(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}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 ku(t){return Iv(t)||Tv(t)||Pv(t)||Bv()}function Pv(t,e){if(!!t){if(typeof t=="string")return Fu(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 Fu(t,e)}}function xv(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}}}var Dv=function(){function t(){Av(this,t),al(this,"_events",new Map),al(this,"debug",!1)}return Rv(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 Sv(function(){var l,c,o,d,v,g,_,E,w,A,m,C;return xv(this,function(T){switch(T.label){case 0:if(l=r._events.get(n),c=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,g=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),_=o[Symbol.iterator](),T.label=2;case 2:if(d=(E=_.next()).done)return[3,7];if(w=E.value,!l.includes(w))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),r.debug&&Yr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(ku(u))),[4,w.apply(null,ku(u))];case 4:return A=T.sent(),r.debug&&Yr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(w.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+w.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(ku(u),[A])),c.push(A),A===!1?[3,7]:[3,6];case 5:return m=T.sent(),ov(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return C=T.sent(),v=!0,g=C,[3,10];case 9:try{!d&&_.return!=null&&_.return()}finally{if(v)throw g}return[7];case 10:return[2,c]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=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 Fv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rl(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 kv(t,e,n){return e&&rl(t.prototype,e),n&&rl(t,n),t}function Ov(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Mv=[{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"}],$v=function(){function t(){Fv(this,t)}return kv(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(l=r.namespace+":"+r.key),{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();Ov($v,"events",Mv);function Ou(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 Lv(t){if(Array.isArray(t))return Ou(t)}function Nv(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 ll(t){return Lv(t)||Nv(t)||Hv(t)||Vv()}function Hv(t,e){if(!!t){if(typeof t=="string")return Ou(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 Ou(t,e)}}function Mu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function ol(t,e,n){n!=="Runtime"&&(t.parent=e,Mu(t,"parent"))}function jv(t,e,n){t.forEach(function(i){ol(i,e,n)})}var cl=Symbol("targetKey");function sl(t){var e;return(e=t[cl])!==null&&e!==void 0?e:t}function dl(t,e,n){return jv(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),c=2;c<r;c++)l[c-2]=arguments[c];var o;return a===cl?u:(o=Reflect).get.apply(o,[u,a].concat(ll(l)))},set:function(u,a,r){for(var l=arguments.length,c=new Array(l>3?l-3:0),o=3;o<l;o++)c[o-3]=arguments[o];var d;if(Du(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(ll(c)));return Cv(r)&&ol(r,e,n),v}})}function ve(t,e,n,i,u){var a=i!=null?i:t,r=dl(sl(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(c){r=dl(sl(c),a,u)},enumerable:!0})}function qv(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 Uv(t,e,n){return e&&fl(t.prototype,e),n&&fl(t,n),t}function Pe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var hl=[],qn=function(){function t(e){qv(this,t),Pe(this,"registeredControlTypes",new Set),Pe(this,"controlConfigMap",new Map),Pe(this,"_controls",[]),Pe(this,"_type",void 0),this._type=e,this._initControls(e)}return Uv(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__||jt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Bu("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(d){return u.createControl(d,i)});if(n.children&&(n.children=n.children.map(function(d){return u.createControl(d,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(d){return u.createControl(d,i)}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var c=i(l);c&&(l=c)}var o;return r.mode==="Runtime"?(o=l,o.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(o,this)):o=new r(l),o}else jt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Mu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var c=r[a],o=l[a];if(!(!c&&!o)){var d=o.findIndex(function(_){return _==n}),v=l[c]||[],g;return v.length!==o.length?g=v[0]:g=v[d],g}}}}),Mu(n,"parent"))}},{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]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&jt("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(c){return c.Designer.controlType===u.controlType});return l>-1&&(Bu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Pe(qn,"staticControlsRuntimeRules",new Map),Pe(qn,"staticControls",hl),Pe(qn,"staticRegisteredTypes",new Set(hl.map(function(t){return t.Designer.controlType}))),Pe(qn,"staticRegisteredConfigs",new Map);function $(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function I(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(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 de(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 Wv(t,e){return e&&(Kv(e)==="object"||typeof e=="function")?e:$(t)}function $u(t,e){return $u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$u(t,e)}function Kv(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 fe(t){var e=zv();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 Wv(this,u)}}var me=function t(e){I(this,t),f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(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},yl=function t(e){I(this,t),f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(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},vl=function t(e){I(this,t),f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},Gv=function t(e){I(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new vl(e==null?void 0:e.pc),this.mobile=new vl(e==null?void 0:e.mobile)},Lu=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(u),"width",void 0),f($(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}(yl),Qv=function t(e){I(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new Lu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Lu(e==null?void 0:e.mobile):new Lu({width:130,minWidth:180})},Xv=function t(e){I(this,t),f(this,"type",void 0),f(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){I(this,t),f(this,"dataCode",void 0),f(this,"formKey",void 0),f(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:""},Jv=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(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),ml=function t(e){I(this,t),f(this,"fieldCode",void 0),f(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Nu=function t(e){I(this,t);var n;f(this,"appId",void 0),f(this,"formKey",void 0),f(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 ml(r)}))!==null&&a!==void 0?a:[]},Zv=function t(e){I(this,t),f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(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:b.VARCHAR},Yv=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(u),"title",void 0),f($(u),"svcCode",void 0),f($(u),"isOpenFilter",void 0),f($(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 c;return u.filters=(c=i==null?void 0:i.filters)!==null&&c!==void 0?c:[],u}return n}(st),pv=function t(e){I(this,t);var n,i;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(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 Zv(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 Yv(r)}))!==null&&a!==void 0?a:[]},em=function t(e){I(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},qt=function t(e){I(this,t),f(this,"type",void 0),f(this,"value",void 0),f(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:[]},Vu=function t(e){var n=this;I(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ye();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,v=new Wn(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Wn=function t(e){I(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ye();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 em(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new qt(e==null?void 0:e.rightVariableBo)},tm=function t(e){I(this,t),f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ue=function t(e){I(this,t),f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(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:""},Hu=function t(e){I(this,t),f(this,"type",void 0),f(this,"value",void 0),f(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},nm=function t(e){I(this,t),f(this,"columnName",void 0),f(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 ju(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Vu(l):new Wn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Vu(l):new Wn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new nm(l)}))!==null&&r!==void 0?r:[]}var te=function t(e){var n=this;I(this,t),f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(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 Hu(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:"",ju.call(this,e)},qu=function t(e){I(this,t),f(this,"dataCode",void 0),f(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:[]},we=function t(e){I(this,t),f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(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,this.formType=e==null?void 0:e.formType;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 v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},gl=function t(e){I(this,t);var n;f(this,"name",void 0),f(this,"key",void 0),f(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 Hu(r)}))!==null&&a!==void 0?a:[]},Kn=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u,a;u=e.call(this,i),f($(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 gl(l)}))!==null&&r!==void 0?r:[],u}return n}(te),im=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u,a;u=e.call(this,i),f($(u),"attributes",void 0),f($(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(c){return new gl(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}(te),bl=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(u),"rootNode",void 0),f($(u),"filterCode",void 0),u.rootNode=new qt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(Kn),_l=function t(e){I(this,t);var n;f(this,"dataCode",void 0),f(this,"appId",void 0),f(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 ue(r)}))!==null&&a!==void 0?a:[]},wl=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;return u=e.call(this,i),f($(u),"filters",void 0),f($(u),"viewFilters",void 0),f($(u),"orders",void 0),ju.call($(u),i),u}return n}(_l),Cl=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;u=e.call(this,i),f($(u),"mode",void 0),f($(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}(_l),El=function t(e){I(this,t),f(this,"stencilName",void 0),f(this,"expression",void 0),f(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:""},um=function t(e){I(this,t),f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:ye(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 Ce(t){var e;return(e=t==null?void 0:t.map(function(n){return new um(n)}))!==null&&e!==void 0?e:[]}var Uu=function t(){I(this,t)},am=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;return u=e.call(this),f($(u),"amount",void 0),f($(u),"currency",void 0),u.amount=new me(i==null?void 0:i.amount),u.currency=new me(i==null?void 0:i.currency),u}return n}(Uu),rm=function t(e){I(this,t),f(this,"amount",void 0),f(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:"CNY"},lm=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;return u=e.call(this),f($(u),"min",void 0),f($(u),"max",void 0),u.min=new me(i==null?void 0:i.min),u.max=new me(i==null?void 0:i.max),u}return n}(Uu),om=function t(e){I(this,t),f(this,"min",void 0),f(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:""},cm=function t(e){I(this,t),f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(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:""},sm=function(t){de(n,t);var e=fe(n);function n(i){I(this,n);var u;return u=e.call(this),f($(u),"result",void 0),f($(u),"unit",void 0),u.result=new me(i==null?void 0:i.result),u.unit=new me(i==null?void 0:i.unit),u}return n}(Uu),dm=function t(e){I(this,t),f(this,"result",void 0),f(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:""},Wu;(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"})(Wu||(Wu={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable"})(s||(s={}));var Ku;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Ku||(Ku={}));var xe=function t(e){I(this,t),f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(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},fm=function t(e){I(this,t);var n;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:ye(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 ml(r)}))!==null&&a!==void 0?a:[],ju.call(this,e)},hm=function t(e){I(this,t),f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(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"},ym=function t(e){I(this,t),f(this,"optCode",void 0),f(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:""},vm=function t(e){I(this,t);var n,i;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:ye();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(c){return c.children!==void 0?new Vu(c):new Wn(c)}))!==null&&r!==void 0?r:[];var l;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(c){return new mm(c)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},mm=function t(e){I(this,t),f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},gm=function t(e){I(this,t);var n;f(this,"type",void 0),f(this,"interval",void 0),f(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(r){return new vm(r)}))!==null&&a!==void 0?a:[]:[]};function bm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zn(t,e,n){return Il()?zn=Reflect.construct:zn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Wt(o,r.prototype),o},zn.apply(null,arguments)}function Ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ut(t){return Ut=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ut(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&&Wt(t,e)}function wm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Cm(t,e){return e&&(Em(e)==="object"||typeof e=="function")?e:bm(t)}function Wt(t,e){return Wt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Wt(t,e)}function Em(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gu(t){var e=typeof Map=="function"?new Map:void 0;return Gu=function(i){if(i===null||!wm(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 zn(i,arguments,Ut(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Wt(u,i)},Gu(t)}function Il(){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 Im(t){var e=Il();return function(){var i=Ut(t),u;if(e){var a=Ut(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Cm(this,u)}}var z=function t(e){zu(this,t),Ee(this,"isHide",{type:"boolean"})},He=function(t){_m(n,t);var e=Im(n);function n(i){return zu(this,n),e.call(this)}return n}(Gu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";zu(this,t),Ee(this,"isHide",void 0),Ee(this,"className",void 0),Ee(this,"style",void 0),Ee(this,"caption",void 0),Ee(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new hm(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};Ee(G,"mode",void 0),Ee(G,"Rules",z),Ee(G,"RuntimeRules",He);function ge(){return ge=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},ge.apply(this,arguments)}function Sm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Qu(t){return Qu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qu(t)}function Gn(t,e){return Gn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gn(t,e)}function Am(){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 Qn(t,e,n){return Am()?Qn=Reflect.construct:Qn=function(u,a,r){var l=[null];l.push.apply(l,a);var c=Function.bind.apply(u,l),o=new c;return r&&Gn(o,r.prototype),o},Qn.apply(null,arguments)}function Rm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Xu(t){var e=typeof Map=="function"?new Map:void 0;return Xu=function(i){if(i===null||!Rm(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Qn(i,arguments,Qu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Gn(u,i)},Xu(t)}var Tm=/%[sdj%]/g,Sl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Sl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Ju(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 ae(){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(Tm,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 Bm(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||Bm(e)&&typeof t=="string"&&!t)}function Pm(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 Al(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 xm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Rl=function(t){Sm(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}(Xu(Error));function Dm(t,e,n,i){if(e.first){var u=new Promise(function(v,g){var _=function(A){return i(A),A.length?g(new Rl(A,Ju(A))):v()},E=xm(t);Al(E,n,_)});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,c=0,o=[],d=new Promise(function(v,g){var _=function(w){if(o.push.apply(o,w),c++,c===l)return i(o),o.length?g(new Rl(o,Ju(o))):v()};r.length||(i(o),v()),r.forEach(function(E){var w=t[E];a.indexOf(E)!==-1?Al(w,n,_):Pm(w,n,_)})});return d.catch(function(v){return v}),d}function Tl(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 Bl(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]=ge(ge({},t[n]),i):t[n]=i}}return t}function Pl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||Q(e,a||t.type))&&i.push(ae(u.messages.required,t.fullField))}function Fm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ae(u.messages.whitespace,t.fullField))}var Zu={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},Kt={integer:function(e){return Kt.number(e)&&parseInt(e,10)===e},float:function(e){return Kt.number(e)&&!Kt.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"&&!Kt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Zu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Zu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Zu.hex)}};function km(t,e,n,i,u){if(t.required&&e===void 0){Pl(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?Kt[r](e)||i.push(ae(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ae(u.messages.types[r],t.fullField,t.type))}function Om(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,v=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(v?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(ae(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(ae(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(ae(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(ae(u.messages[d].range,t.fullField,t.min,t.max))}var dt="enum";function Mm(t,e,n,i,u){t[dt]=Array.isArray(t[dt])?t[dt]:[],t[dt].indexOf(e)===-1&&i.push(ae(u.messages[dt],t.fullField,t[dt].join(", ")))}function $m(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ae(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(ae(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:Pl,whitespace:Fm,type:km,range:Om,enum:Mm,pattern:$m};function Lm(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 Nm(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 Vm(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 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.type(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(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 qm(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 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),R.range(t,e,i,a,u))}n(a)}function Wm(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 Km(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 zm="enum";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),e!==void 0&&R[zm](t,e,i,a,u)}n(a)}function Qm(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 Xm(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 Jm(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 Yu(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 Zm(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 zt={string:Lm,method:Nm,number:Vm,boolean:Hm,regexp:jm,integer:qm,float:Um,array:Wm,object:Km,enum:Gm,pattern:Qm,date:Xm,url:Yu,hex:Yu,email:Yu,required:Jm,any:Zm};function pu(){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 ea=pu();function De(t){this.rules=null,this._messages=ea,this.define(t)}De.prototype={messages:function(e){return e&&(this._messages=Bl(pu(),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(w){var A,m=[],C={};function T(D){if(Array.isArray(D)){var k;m=(k=m).concat.apply(k,D)}else m.push(D)}for(A=0;A<w.length;A++)T(w[A]);m.length?C=Ju(m):(m=null,C=null),l(m,C)}if(r.messages){var o=this.messages();o===ea&&(o=pu()),Bl(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(w){d=u.rules[w],v=a[w],d.forEach(function(A){var m=A;typeof m.transform=="function"&&(a===e&&(a=ge({},a)),v=a[w]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ge({},m),m.validator=u.getValidationMethod(m),m.field=w,m.fullField=m.fullField||w,m.type=u.getType(m),m.validator&&(g[w]=g[w]||[],g[w].push({rule:m,value:v,source:a,field:w}))})});var E={};return Dm(g,r,function(w,A){var m=w.rule,C=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");C=C&&(m.required||!m.required&&w.value),m.field=w.field;function T(oe,M){return ge(ge({},M),{},{fullField:m.fullField+"."+oe})}function D(oe){oe===void 0&&(oe=[]);var M=oe;if(Array.isArray(M)||(M=[M]),!r.suppressWarning&&M.length&&De.warning("async-validator:",M),M.length&&m.message!==void 0&&(M=[].concat(m.message)),M=M.map(Tl(m)),r.first&&M.length)return E[m.field]=1,A(M);if(!C)A(M);else{if(m.required&&!w.value)return m.message!==void 0?M=[].concat(m.message).map(Tl(m)):r.error&&(M=[r.error(m,ae(r.messages.required,m.field))]),A(M);var ce={};if(m.defaultField)for(var Nn in w.value)w.value.hasOwnProperty(Nn)&&(ce[Nn]=m.defaultField);ce=ge(ge({},ce),w.rule.fields);for(var Re in ce)if(ce.hasOwnProperty(Re)){var Cu=Array.isArray(ce[Re])?ce[Re]:[ce[Re]];ce[Re]=Cu.map(T.bind(null,Re))}var Vn=new De(ce);Vn.messages(r.messages),w.rule.options&&(w.rule.options.messages=r.messages,w.rule.options.error=r.error),Vn.validate(w.value,w.rule.options||r,function($t){var Te=[];M&&M.length&&Te.push.apply(Te,M),$t&&$t.length&&Te.push.apply(Te,$t),A(Te.length?Te:null)})}}var k;m.asyncValidator?k=m.asyncValidator(m,w.value,D,w.source,r):m.validator&&(k=m.validator(m,w.value,D,w.source,r),k===!0?D():k===!1?D(m.message||m.field+" fails"):k instanceof Array?D(k):k instanceof Error&&D(k.message)),k&&k.then&&k.then(function(){return D()},function(oe){return D(oe)})},function(w){c(w)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!zt.hasOwnProperty(e.type))throw new Error(ae("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"?zt.required:zt[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");zt[e]=n},De.warning=Sl,De.messages=ea,De.validators=zt;var Ym={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 pm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new De(t);return n.messages(Object.assign(Ym,e)),n}var eg=new Dv;function ta(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 tg(t){if(Array.isArray(t))return t}function ng(t){if(Array.isArray(t))return ta(t)}function xl(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 Dl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){xl(a,i,u,r,l,"next",c)}function l(c){xl(a,i,u,r,l,"throw",c)}r(void 0)})}}function ig(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 ug(t,e,n){return e&&Fl(t.prototype,e),n&&Fl(t,n),t}function F(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function kl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ol(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function ag(){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 rg(){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 Ml(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){F(t,u,n[u])})}return t}function lg(t){return tg(t)||Ol(t)||$l(t)||ag()}function na(t){return ng(t)||Ol(t)||$l(t)||rg()}function og(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $l(t,e){if(!!t){if(typeof t=="string")return ta(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 ta(t,e)}}function Ll(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}}}var O=function(){function e(n){var i=this;ig(this,e),F(this,"id",void 0),F(this,"name",void 0),F(this,"icon",void 0),F(this,"type",void 0),F(this,"controlType",void 0),F(this,"props",void 0),F(this,"setting",[]),F(this,"fieldType",void 0),F(this,"eventKeys",[]),F(this,"customEvents",[]),F(this,"parent",null),F(this,"slots",void 0),F(this,"slotPosition",void 0),F(this,"updateSetting",Vl),F(this,"removeSetting",Nl),this._callControlHooks("preInstance",n);var u=kl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,c=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,g=u.setting,_=u.slots,E=u.slotPosition;a&&r&&l||pr("The ".concat(v," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:ye(10),this.name=a,this.icon=r;var A;this.type=(A=n==null?void 0:n.type)!==null&&A!==void 0?A:l,this.props=new G(n==null?void 0:n.props,(kl(this,e)?this.constructor:void 0).controlName);var m;this.controlType=(m=n==null?void 0:n.controlType)!==null&&m!==void 0?m:"base",this.setting=se(g);var C;this.fieldType=(C=n==null?void 0:n.fieldType)!==null&&C!==void 0?C:c,this.eventKeys=se(o),this.customEvents=se(d),this.slots=se(_),this.slotPosition=se(E),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return ug(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=lg(u),c=l[0],o=l.slice(1);return(r=eg).emit.apply(r,[c,this].concat(na(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),mv(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return Dl(function(){var u,a,r;return Ll(this,function(l){switch(l.label){case 0:return u=Ml({},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 Dl(function(){var r,l,c,o;return Ll(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:Ml({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),c=pm(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,c.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,c=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,g=l.required,_=l.maxLength,E=l.options,w=l.encrypted,A=l.encryptedMode;if(!(!u&&!c&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(c&&(m.dataBind=c),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=E;break}return g!==void 0&&(m.required=g),_!==void 0&&(m.maxLength=_),w!==void 0&&(m.encrypted=w),A!==void 0&&(m.encryptedMode=A),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:se(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,na(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();F(O,"mode","Designer"),F(O,"slots",void 0),F(O,"slotPosition",void 0),F(O,"controlName","\u63A7\u4EF6"),F(O,"controlIcon","icon"),F(O,"controlType","control"),F(O,"controlFieldType",void 0),F(O,"controlEventKeys",[]),F(O,"controlCustomEvents",[]),F(O,"setting",[]),F(O,"__is_control__",!0),F(O,"removeSettingItem",Nl),F(O,"updateSettingItem",Vl);function Nl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",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 Vl(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=="undefined"?"undefined":og(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,na(e.showItems))}}}})}function cg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hl(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 sg(t,e,n){return e&&Hl(t.prototype,e),n&&Hl(t,n),t}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}function dg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){cg(this,e),re(this,"id",void 0),re(this,"type",void 0),re(this,"controlType",void 0),re(this,"props",void 0),re(this,"fieldType",void 0),re(this,"customEvents",[]),re(this,"pageStatus",void 0),re(this,"parent",null);var i=dg(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||pr("The ".concat(r," controlType is not define"));var c;this.id=(c=n==null?void 0:n.id)!==null&&c!==void 0?c:ye(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Ku.UNKNOWN}return sg(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}();re(X,"mode","Runtime"),re(X,"controlType","control"),re(X,"controlFieldType",void 0),re(X,"__is_control__",!0),re(X,"controlCustomEvents",[]);function ia(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:h.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:h.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(h.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=Ev(a);a.length!==r.length?u(h.getMessage("optionIdIsRepeat")):u()},message:h.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(h.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:h.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}])}function Xn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:h.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:h.getMessage("isNotString")},key:{type:"string",required:!0,message:h.getMessage("isNotString")},value:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(h.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:h.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:h.getMessage("isNotBoolean")}}}}]}}]}function fg(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function N(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Jn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function V(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 Yn(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&&ua(t,e)}function hg(t,e){return e&&(yg(e)==="object"||typeof e=="function")?e:N(t)}function ua(t,e){return ua=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ua(t,e)}function yg(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 pn(t){var e=vg();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 hg(this,u)}}var Z=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;u=e.call(this,i),V(N(u),"dataBind",{}),V(N(u),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),V(N(u),"isHideCaption",{type:"boolean"}),V(N(u),"labelPosition",{type:"enum",enum:["top","left"]}),V(N(u),"defaultState",{type:"enum",enum:["default","readonly"]}),V(N(u),"required",{type:"boolean"}),V(N(u),"captionTip",{type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}};if(fg(i.dataBind))u.dataBind={type:"object",required:!0,fields:se(a),message:h.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:h.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:se(a),message:h.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(z),L=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;u=e.call(this,i);var a=i.isHide?!1:i.required;return a&&u.push({type:"string",required:a,message:i.requiredMessage!==""?i.requiredMessage:h.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(He),B=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;u=e.call(this,i),V(N(u),"caption",void 0),V(N(u),"isHideCaption",void 0),V(N(u),"isShowCaptionTip",void 0),V(N(u),"captionTip",void 0),V(N(u),"labelPosition",void 0),V(N(u),"dataBind",void 0),V(N(u),"defaultValue",void 0),V(N(u),"placeholder",void 0),V(N(u),"defaultState",void 0),V(N(u),"required",void 0),V(N(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var 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 v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";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 me(i==null?void 0:i.dataBind);var E;return u.defaultValue=(E=i==null?void 0:i.defaultValue)!==null&&E!==void 0?E:"",u}return n}(G);V(B,"Rules",Z),V(B,"RuntimeRules",L);var ft=function(t){Yn(n,t);var e=pn(n);function n(i){Jn(this,n);var u;return u=e.call(this,i),V(N(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),V(N(u),"options",[{type:"array",message:h.getMessage("isNotArray")}]),V(N(u),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ia.call(N(u),i),u}return n}(Z);function aa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ei(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function gg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function bg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:aa(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function _g(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}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 Cg(t){var e=wg();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return bg(this,u)}}var P=function(t){gg(n,t);var e=Cg(n);function n(i){mg(this,n);var u;return u=e.call(this,i),ei(aa(u),"controlType","form"),ei(aa(u),"props",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(O);ei(P,"controlEventKeys",["on_change","on_focus","on_blur"]),ei(P,"controlCustomAttributes",void 0);function ni(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 la(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 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&&oa(t,e)}function Sg(t,e){return e&&(Ag(e)==="object"||typeof e=="function")?e:ni(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function Ag(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 Tg(t){var e=Rg();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 Sg(this,u)}}var x=function(t){Ig(n,t);var e=Tg(n);function n(i){Eg(this,n);var u;return u=e.call(this,i),la(ni(u),"controlType","form"),la(ni(u),"props",void 0),la(ni(u),"value",void 0),u.props=new B(i==null?void 0:i.props),u}return n}(X);function Bg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Pg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ui(t){return ui=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ui(t)}function xg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ca(t,e)}function Dg(t,e){return e&&(Fg(e)==="object"||typeof e=="function")?e:Bg(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}function Fg(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 Og(t){var e=kg();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 Dg(this,u)}}var H=function(t){xg(n,t);var e=Og(n);function n(i){return Pg(this,n),e.call(this,i)}return n}(G);function sa(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 Mg(t){if(Array.isArray(t))return sa(t)}function je(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jl(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 $g(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){jl(a,i,u,r,l,"next",c)}function l(c){jl(a,i,u,r,l,"throw",c)}r(void 0)})}}function Lg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ql(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&&ql(t.prototype,e),n&&ql(t,n),t}function Fe(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=Gg(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},ht(t,e,n||t)}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ke(t)}function Vg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&da(t,e)}function Hg(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function jg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qg(){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 Ug(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){Fe(t,u,n[u])})}return t}function Wg(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 Kg(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Wg(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function zg(t,e){return e&&(Qg(e)==="object"||typeof e=="function")?e:je(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function Gg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ke(t),t!==null););return t}function Ul(t){return Mg(t)||jg(t)||Xg(t)||qg()}function Qg(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xg(t,e){if(!!t){if(typeof t=="string")return sa(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 sa(t,e)}}function Jg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Zg(t){var e=Jg();return function(){var i=ke(t),u;if(e){var a=ke(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return zg(this,u)}}function Yg(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}}}var pg=1e4,q=function(e){Vg(i,e);var n=Zg(i);function i(u){Lg(this,i);var a;a=n.call(this,u),Fe(je(a),"controlType","layout"),Fe(je(a),"children",void 0),Fe(je(a),"excludes",void 0),Fe(je(a),"childrenMaxLength",void 0),Fe(je(a),"props",void 0);var r=Hg(this,i)?this.constructor:void 0,l=r.excludes,c=r.childrenMaxLength;return a.props=new H(u==null?void 0:u.props),ve(je(a),"children",u==null?void 0:u.children,void 0,"Designer"),a.excludes=se(l),a.childrenMaxLength=c,a}return Ng(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,c=this,o=function(){return ht(ke(i.prototype),"validate",l)};return $g(function(){return Yg(this,function(d){switch(d.label){case 0:return[4,o().call(c,a,r)];case 1:return d.sent(),[4,Promise.all(c.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(ke(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(c,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(g){return!!g});return Ul(c).concat(Ul(v))}return d&&c.push(d),c},l)}},{key:"toSchema",value:function(){var a=ht(ke(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var c=l.toSchema();return c});return Kg(Ug({},a),{children:r})}}]),i}(O);Fe(q,"excludes",!1),Fe(q,"childrenMaxLength",pg);function Gt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function e0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function fa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ai(t){return ai=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ai(t)}function t0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ha(t,e)}function n0(t,e){return e&&(i0(e)==="object"||typeof e=="function")?e:Gt(t)}function ha(t,e){return ha=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ha(t,e)}function i0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function u0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function a0(t){var e=u0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return n0(this,u)}}var U=function(t){t0(n,t);var e=a0(n);function n(i){e0(this,n);var u;return u=e.call(this,i),fa(Gt(u),"controlType","layout"),fa(Gt(u),"children",void 0),fa(Gt(u),"props",void 0),u.props=new H(i==null?void 0:i.props),ve(Gt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(X);function Ie(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function r0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function yt(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 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&&ya(t,e)}function o0(t,e){return e&&(c0(e)==="object"||typeof e=="function")?e:Ie(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function c0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function s0(){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 d0(t){var e=s0();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 o0(this,u)}}var li=function(t){l0(n,t);var e=d0(n);function n(i,u,a){r0(this,n);var r;r=e.call(this,u),yt(Ie(r),"headers",void 0),yt(Ie(r),"footers",void 0),yt(Ie(r),"pageIndex",void 0),yt(Ie(r),"pageSize",void 0),yt(Ie(r),"pageSizeOptions",void 0),yt(Ie(r),"totalCount",void 0),ve(Ie(r),"headers",u==null?void 0:u.headers,i,a),ve(Ie(r),"footers",u==null?void 0:u.footers,i);var l;r.pageIndex=(l=u==null?void 0:u.pageIndex)!==null&&l!==void 0?l:1;var c;r.pageSize=(c=u==null?void 0:u.pageSize)!==null&&c!==void 0?c:20;var o;r.pageSizeOptions=(o=u==null?void 0:u.pageSizeOptions)!==null&&o!==void 0?o:[20];var d;return r.totalCount=(d=u==null?void 0:u.totalCount)!==null&&d!==void 0?d:0,r}return n}(G);function va(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 f0(t){if(Array.isArray(t))return va(t)}function oi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wl(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 h0(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(c){Wl(a,i,u,r,l,"next",c)}function l(c){Wl(a,i,u,r,l,"throw",c)}r(void 0)})}}function y0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(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 v0(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function ci(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?vt=Reflect.get:vt=function(u,a,r){var l=C0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},vt(t,e,n||t)}function Oe(t){return Oe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Oe(t)}function m0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function g0(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function b0(){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 zl(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){ci(t,u,n[u])})}return t}function _0(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 Gl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):_0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function w0(t,e){return e&&(E0(e)==="object"||typeof e=="function")?e:oi(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function C0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Oe(t),t!==null););return t}function Ql(t){return f0(t)||g0(t)||I0(t)||b0()}function E0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function I0(t,e){if(!!t){if(typeof t=="string")return va(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 va(t,e)}}function S0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function A0(t){var e=S0();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 w0(this,u)}}function R0(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}}}var ga=function(t){m0(n,t);var e=A0(n);function n(i){y0(this,n);var u;return u=e.call(this,i),ci(oi(u),"controlType","list"),ci(oi(u),"props",void 0),u.props=new li(oi(u),i==null?void 0:i.props,"Designer"),u}return v0(n,[{key:"validate",value:function(u,a){var r=this,l=this,c=function(){return vt(Oe(n.prototype),"validate",r)};return h0(function(){return R0(this,function(o){switch(o.label){case 0:return[4,c().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=vt(Oe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,c){var o=c.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return Ql(l).concat(Ql(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=vt(Oe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Gl(zl({},u),{props:Gl(zl({},this.props),{headers:a})})}}]),n}(O);ci(ga,"controlFieldType",b.LIST);function mt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xl(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 B0(t,e,n){return e&&Xl(t.prototype,e),n&&Xl(t,n),t}function ba(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 P0(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 x0(t,e){return e&&(D0(e)==="object"||typeof e=="function")?e:mt(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function D0(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=si(t),u;if(e){var a=si(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return x0(this,u)}}var Jl=function(t){P0(n,t);var e=k0(n);function n(i){T0(this,n);var u;return u=e.call(this,i),ba(mt(u),"controlType","list"),ba(mt(u),"children",void 0),ba(mt(u),"props",void 0),u.props=new li(mt(u),i==null?void 0:i.props,"Runtime"),ve(mt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return B0(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Y(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function di(t){return di=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},di(t)}function Ca(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function O0(t,e){return e&&(M0(e)==="object"||typeof e=="function")?e:J(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function M0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $0(){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 Ia(t){var e=$0();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 O0(this,u)}}var be=function(t){Ca(n,t);var e=Ia(n);function n(i){wa(this,n);var u;return u=e.call(this,i),Y(J(u),"caption",{type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}),Y(J(u),"width",{type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(z),W=function(t){Ca(n,t);var e=Ia(n);function n(i){wa(this,n);var u;u=e.call(this,i),Y(J(u),"widthType",void 0),Y(J(u),"width",void 0),Y(J(u),"caption",void 0),Y(J(u),"dataBind",void 0),Y(J(u),"autoWidth",void 0),Y(J(u),"fixed",void 0),Y(J(u),"sort",void 0),Y(J(u),"align",void 0),Y(J(u),"colSpan",void 0),Y(J(u),"autoHeight",void 0),Y(J(u),"children",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 yl(i==null?void 0:i.autoWidth),u.dataBind=new me(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}(G);Y(W,"Rules",be);var Zl=function(t){Ca(n,t);var e=Ia(n);function n(i){wa(this,n);var u;return u=e.call(this,i),Y(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:h.getMessage("PleaseSelectTheCorrectOptionSettings")}),Y(J(u),"options",[{type:"array",message:h.getMessage("isNotArray")}]),Y(J(u),"datasourceBind",[{type:"object",message:h.getMessage("isNotObject")}]),ia.call(J(u),i),u}return n}(be);function Qt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(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 N0(t,e,n){return e&&Yl(t.prototype,e),n&&Yl(t,n),t}function fi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function hi(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?hi=Reflect.get:hi=function(u,a,r){var l=W0(u,a);if(!!l){var c=Object.getOwnPropertyDescriptor(l,a);return c.get?c.get.call(r||u):c.value}},hi(t,e,n||t)}function gt(t){return gt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gt(t)}function V0(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 H0(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){fi(t,u,n[u])})}return t}function j0(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 q0(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):j0(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function U0(t,e){return e&&(K0(e)==="object"||typeof e=="function")?e:Qt(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function W0(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=gt(t),t!==null););return t}function K0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function z0(){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 G0(t){var e=z0();return function(){var i=gt(t),u;if(e){var a=gt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return U0(this,u)}}var p=function(t){V0(n,t);var e=G0(n);function n(i){L0(this,n);var u;return u=e.call(this,i),fi(Qt(u),"controlType","column"),fi(Qt(u),"props",void 0),fi(Qt(u),"children",void 0),u.props=new W(i==null?void 0:i.props),ve(Qt(u),"children",i==null?void 0:i.children,void 0,"Designer"),u}return N0(n,[{key:"toSchema",value:function(){var u=hi(gt(n.prototype),"toSchema",this).call(this);return q0(H0({},u),{children:this.children?this.children.map(function(a){return a.toSchema()}):[]})}}]),n}(O);function Xt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Q0(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function yi(t){return yi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},yi(t)}function X0(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ra(t,e)}function J0(t,e){return e&&(Z0(e)==="object"||typeof e=="function")?e:Xt(t)}function Ra(t,e){return Ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ra(t,e)}function Z0(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Y0(){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 p0(t){var e=Y0();return function(){var i=yi(t),u;if(e){var a=yi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return J0(this,u)}}var ee=function(t){X0(n,t);var e=p0(n);function n(i){Q0(this,n);var u;return u=e.call(this,i),Aa(Xt(u),"controlType","column"),Aa(Xt(u),"props",void 0),Aa(Xt(u),"children",void 0),u.props=new W(i==null?void 0:i.props),ve(Xt(u),"children",i==null?void 0:i.children,void 0,"Runtime"),u}return n}(X);function pl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tb(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vi(t){return vi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vi(t)}function nb(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 ib(t,e){return e&&(ub(e)==="object"||typeof e=="function")?e:pl(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function ub(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ab(){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 rb(t){var e=ab();return function(){var i=vi(t),u;if(e){var a=vi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ib(this,u)}}var Ba=function(t){nb(n,t);var e=rb(n);function n(i){eb(this,n);var u;return u=e.call(this,i),tb(pl(u),"dataBind",void 0),u.dataBind=new me(i==null?void 0:i.dataBind),u}return n}(H);function Pa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function mi(t){return mi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},mi(t)}function ob(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&&xa(t,e)}function cb(t,e){return e&&(sb(e)==="object"||typeof e=="function")?e:Pa(t)}function xa(t,e){return xa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},xa(t,e)}function sb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function db(){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 fb(t){var e=db();return function(){var i=mi(t),u;if(e){var a=mi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cb(this,u)}}var hb=function(t){ob(n,t);var e=fb(n);function n(i){lb(this,n);var u;return u=e.call(this,i),eo(Pa(u),"controlType","search"),eo(Pa(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(q);function Da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function to(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gi(t){return gi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gi(t)}function vb(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fa(t,e)}function mb(t,e){return e&&(gb(e)==="object"||typeof e=="function")?e:Da(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function gb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bb(){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 _b(t){var e=bb();return function(){var i=gi(t),u;if(e){var a=gi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return mb(this,u)}}var wb=function(t){vb(n,t);var e=_b(n);function n(i){yb(this,n);var u;return u=e.call(this,i),to(Da(u),"controlType","search"),to(Da(u),"props",void 0),u.props=new Ba(i==null?void 0:i.props),u}return n}(U);function Cb(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Eb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bi(t){return bi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bi(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&&ka(t,e)}function Sb(t,e){return e&&(Ab(e)==="object"||typeof e=="function")?e:Cb(t)}function ka(t,e){return ka=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ka(t,e)}function Ab(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 Tb(t){var e=Rb();return function(){var i=bi(t),u;if(e){var a=bi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Sb(this,u)}}var Oa=function(t){Ib(n,t);var e=Tb(n);function n(i){return Eb(this,n),e.call(this,i)}return n}(H);function Ma(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function no(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function Pb(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 xb(t,e){return e&&(Db(e)==="object"||typeof e=="function")?e:Ma(t)}function $a(t,e){return $a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},$a(t,e)}function Db(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fb(){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 kb(t){var e=Fb();return function(){var i=_i(t),u;if(e){var a=_i(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xb(this,u)}}var Ob=function(t){Pb(n,t);var e=kb(n);function n(i){Bb(this,n);var u;return u=e.call(this,i),no(Ma(u),"controlType","wrap"),no(Ma(u),"props",void 0),u.props=new Oa(i==null?void 0:i.props),u}return n}(q);function La(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mb(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wi(t){return wi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wi(t)}function $b(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&&Na(t,e)}function Lb(t,e){return e&&(Nb(e)==="object"||typeof e=="function")?e:La(t)}function Na(t,e){return Na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Na(t,e)}function Nb(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vb(){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 Hb(t){var e=Vb();return function(){var i=wi(t),u;if(e){var a=wi(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Lb(this,u)}}var jb=function(t){$b(n,t);var e=Hb(n);function n(i){Mb(this,n);var u;return u=e.call(this,i),io(La(u),"controlType","wrap"),io(La(u),"props",void 0),u.props=new Oa(i==null?void 0:i.props),u}return n}(U);function Me(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}])}class Va extends G{constructor(e){var n,i,u,a,r,l;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",this.align=(l=e==null?void 0:e.align)!=null?l:""}}class uo extends O{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}uo.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 qb extends X{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"text"}}var ao={Designer:uo,Runtime:qb,Property:Va};class Ha extends G{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class ja extends O{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}ja.controlEventKeys=["on_click"],ja.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 Ub extends X{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"link"}}var ro={Designer:ja,Runtime:Ub,Property:Ha};class ie extends G{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 ym((d=e==null?void 0:e.optObj)!=null?d:{})}}class ne extends O{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"}}ne.slots=["grid-table-toolbar-slot","action-bar-slot",Kr.DEFAULT],ne.controlEventKeys=["on_click"],ne.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",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 le extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var lo={Designer:ne,Runtime:le,Property:ie},$e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))($e||{}),oo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(oo||{}),co=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(co||{});class Ci{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:ye(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var qa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(qa||{});class Ei{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:ye(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Ua=(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))(Ua||{});class Wa{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 qt((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 qt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(c=e==null?void 0:e.company)!=null?c:new qt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class so{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 Wa(c)))!=null?u:[new Wa],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 Jt{constructor(e){var n,i,u,a,r,l,c;this.id=(n=e==null?void 0:e.id)!=null?n:ye(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 Ka{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 fo{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 Ka(e==null?void 0:e.watermark),this.autoRename=new Ka(e==null?void 0:e.autoRename)}}class ho{constructor(e){this.dataCode=e.dataCode}}class yo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new ho(a)))!=null?u:[]}}class vo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new Jt(a)))!=null?u:[new Jt({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const mo=480;function Zt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class go{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 bo{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 _o=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(_o||{}),za=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(za||{}),Ii=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ii||{}),Le=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Le||{}),Ga=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ga||{});class Qa extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Ua.SOLID}}class wo extends O{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}wo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class Wb extends X{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Co={Designer:wo,Runtime:Wb,Property:Qa};class Kb extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes($e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:h.getMessage("bizKeyNotBindFiled")}},message:h.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:h.getMessage("pleaseSelectOneField")})}}class Si extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new me(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[$e.ShowSubmitUser,$e.ShowSubmitDept,$e.ShowSubmitTime,$e.ShowCurrentApprovar,$e.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:bt==null?void 0:bt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}Si.Rules=Kb;class bt extends O{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}bt.controlFieldType=b.AUTO_NUMBER,bt.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 zb extends X{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"title"}}var Eo={Designer:bt,Runtime:zb,Property:Si};class Gb extends z{constructor(e){super(e),this.formKey={type:"string",required:!0,message:h.getMessage("pleaseEnterForm")}}}class Ai 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"}}Ai.Rules=Gb;class _t extends ne{constructor(e){super(e),this.props=new Ai(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.slots=["grid-table-toolbar-slot"],_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 Qb extends le{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Io={Designer:_t,Runtime:Qb,Property:Ai};class Xb extends z{constructor(e){super(e),this.processKey=[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterProcess")}]}}class Ri extends ie{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:""}}Ri.Rules=Xb;class wt extends ne{constructor(e){super(e),this.props=new Ri(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.slots=["grid-table-toolbar-slot"],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 Jb extends le{constructor(e){super(e),this.props=new Ri(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var So={Designer:wt,Runtime:Jb,Property:Ri};class Xa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon}}class Ct extends ne{constructor(e){super(e),this.props=new Xa(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"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Zb extends le{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Ao={Designer:Ct,Runtime:Zb,Property:Xa};class Ja extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Et.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Et.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Jt(l)))!=null?r:[new Jt({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Et extends ne{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click","on_click_finish"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Yb extends le{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ro={Designer:Et,Runtime:Yb,Property:Ja};class Za extends ie{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 ne{constructor(e){super(e),this.props=new Za(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"}}It.slots=["grid-table-toolbar-slot"],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 pb extends le{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var To={Designer:It,Runtime:pb,Property:Za};class e_{constructor(e){this.dataCode=e.dataCode}}class Ya extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:St.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new e_(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class St extends ne{constructor(e){super(e),this.props=new Ya(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"}}St.slots=["grid-table-toolbar-slot"],St.controlEventKeys=["on_click","on_click_finish"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class t_ extends le{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Bo={Designer:St,Runtime:t_,Property:Ya};function Ti(){return{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:h.getMessage("pleaseSelectControl")}}}}}}class n_ extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ot({},Ti())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:ot({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Ti())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:h.getMessage("pleaseSelectControl")})}}class Bi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Yt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new wl(e==null?void 0:e.fillPayload),this.formBind=new Jv(e==null?void 0:e.formBind),this.fillBack=new Cl(e==null?void 0:e.fillBack)}}Bi.Rules=n_;class Yt extends ne{constructor(e){super(e),this.props=new Bi(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"}}Yt.controlEventKeys=["on_click","on_click_finish"],Yt.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 i_ extends le{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Po={Designer:Yt,Runtime:i_,Property:Bi};class u_ extends z{constructor(e){super(e),this.fillPayload={type:"object",fields:ot({},Ti())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:h.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:ot({mode:{type:"string",required:!0,message:h.getMessage("pleaseSelectFillBackMode")}},Ti())}}}class Pi extends ie{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:pt.controlIcon,this.fillPayload=new wl(e==null?void 0:e.fillPayload),this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.fillBack=new Cl(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}Pi.Rules=u_;class pt extends ne{constructor(e){super(e),this.props=new Pi(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"}}pt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],pt.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 a_ extends le{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var xo={Designer:pt,Runtime:a_,Property:Pi};class r_ extends z{constructor(e){super(e)}}class l_ extends He{constructor(e){super(e)}}class en extends G{constructor(e){super(e)}}en.Rules=r_,en.RuntimeRules=l_;class Do extends O{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Do.setting=[];class o_ extends X{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Fo={Designer:Do,Runtime:o_,Property:en};class c_ extends z{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:h.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class xi extends G{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}xi.Rules=c_;class ko extends O{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}ko.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 s_ extends X{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Oo={Designer:ko,Runtime:s_,Property:xi};class d_ 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:h.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:h.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Di extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new fm(a)))!=null?u:[]}}Di.Rules=d_;class Mo extends O{constructor(e){super(e),this.props=new Di(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"}}Mo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class f_ extends X{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var $o={Designer:Mo,Runtime:f_,Property:Di};class h_ extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:h.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Fi extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:At.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:At.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:At.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ue(g)))!=null?v:[]}}Fi.Rules=h_;class At extends ne{constructor(e){super(e),this.props=new Fi(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"}}At.controlEventKeys=["on_click","on_click_finish"],At.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 y_ extends le{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Lo={Designer:At,Runtime:y_,Property:Fi};class v_ extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.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(h.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ki extends ie{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rt.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:Rt.controlName,this.icon=(c=e==null?void 0:e.icon)!=null?c:Rt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(g=>new ue(g)))!=null?v:[]}}ki.Rules=v_;class Rt extends ne{constructor(e){super(e),this.props=new ki(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"}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.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 m_ extends le{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var No={Designer:Rt,Runtime:m_,Property:ki};class g_ extends z{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:h.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Oi extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Tt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Tt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new go(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Oi.Rules=g_;class Tt extends ne{constructor(e){super(e),this.props=new Oi(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"}}Tt.slots=["grid-table-toolbar-slot"],Tt.controlEventKeys=["on_click","on_click_finish"],Tt.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 b_ extends le{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Vo={Designer:Tt,Runtime:b_,Property:Oi};class pa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon}}class Bt extends ne{constructor(e){super(e),this.props=new pa(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"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class __ extends le{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Ho={Designer:Bt,Runtime:__,Property:pa};class w_ 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:h.getMessage("pleaseEnterForm")})}}class Mi extends G{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}Mi.Rules=w_;class $i extends O{constructor(e){super(e),this.props=new Mi(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"}}$i.controlEventKeys=["on_click"],$i.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 C_ extends X{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var jo={Designer:$i,Runtime:C_,Property:Mi};class er extends G{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:Pt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Pt.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 Pt extends O{constructor(e){super(e),this.props=new er(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"}}Pt.slots=["grid-table-toolbar-slot"],Pt.controlEventKeys=["on_click"],Pt.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 E_ extends X{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var qo={Designer:Pt,Runtime:E_,Property:er},I_=Object.freeze({__proto__:null,Text:ao,Link:ro,Button:lo,Divider:Co,Title:Eo,CreateFormListButton:Io,BatchSubmissionListButton:So,SubmissionRecordListButton:Ao,ExportListButton:Ro,ExportRecordListButton:To,ImportRecordListButton:Bo,FormSelectButton:Po,ListSelectButton:xo,Pagination:Fo,Dashboard:Oo,ListViewSelect:$o,TextOcrButton:Lo,InvoiceCheckButton:No,BatchPrintListButton:Vo,BatchPrintRecordListButton:Ho,OperationButton:jo,BatchDeleteButton:qo});class S_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class A_ extends L{constructor(e){super(e),this.push({type:"string",message:h.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class xt extends B{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 El(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:Dt.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:""}}xt.Rules=S_,xt.RuntimeRules=A_;class Dt extends P{constructor(e){super(e),this.props=new xt(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"}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=b.VARCHAR,Dt.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 Uo extends x{constructor(e){super(e),this.props=new xt(e==null?void 0:e.props)}static get controlType(){return"input"}}Uo.controlFieldType=b.VARCHAR;var Wo={Designer:Dt,Runtime:Uo,Property:xt};class R_ extends ft{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:h.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class T_ extends L{constructor(e){super(e),this[0]!==void 0&&(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 tn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E;super(e),this.options=Ce((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 te(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:nn.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var A;(A=this.multistageFilling)==null||A.push(new ue(w))}))}}tn.Rules=R_,tn.RuntimeRules=T_;class nn extends P{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}nn.controlEventKeys=["on_change","on_click"],nn.controlFieldType=b.ARRAY,nn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ko extends x{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Ko.controlFieldType=b.ARRAY;var zo={Designer:nn,Runtime:Ko,Property:tn};class B_ extends ft{constructor(e){super(e)}}class Li extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.options=Ce((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 te(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:un.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new ue(_))}))}}Li.Rules=B_;class un extends P{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"}}un.controlEventKeys=["on_change","on_click"],un.controlFieldType=b.VARCHAR,un.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:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Go extends x{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"radio"}}Go.controlFieldType=b.VARCHAR;var Qo={Designer:un,Runtime:Go,Property:Li};class P_ extends Z{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:h.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=h.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:h.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Zt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class x_ extends L{constructor(e){super(e),this[0]!==void 0&&(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:h.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Zt(e.regularRules.expression),message:e.regularRules.errMessage})}}class an extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E;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=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:rn.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:"\u8BF7\u8F93\u5165",this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:"",this.regularRules=new El(e==null?void 0:e.regularRules)}}an.Rules=P_,an.RuntimeRules=x_;class rn extends P{constructor(e){super(e),this.props=new an(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}}rn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rn.controlFieldType=b.DECIMAL,rn.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 Xo extends x{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"number"}}Xo.controlFieldType=b.DECIMAL;var Jo={Designer:rn,Runtime:Xo,Property:an};class tr extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Be.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(u=e==null?void 0:e.commonTimeSetting)!=null?u:[],this.setValueType=(a=e==null?void 0:e.setValueType)!=null?a:"custom",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ni.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 Ci(_)))!=null?d:[],this.allowDateRange=(v=e==null?void 0:e.allowDateRange)!=null?v:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ni extends P{constructor(e){super(e),this.props=new tr(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}}Ni.controlFieldType=b.TIMESTAMP,Ni.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"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 Zo extends x{constructor(e){super(e),this.props=new tr(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Zo.controlFieldType=b.TIMESTAMP;var Yo={Designer:Ni,Runtime:Zo,Property:tr};class D_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!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 Vi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.dataBind=new lm(e==null?void 0:e.dataBind),this.defaultValue=new om(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:Hi.controlName,this.limitDateList=(g=(v=e==null?void 0:e.limitDateList)==null?void 0:v.map(_=>new Ci(_)))!=null?g:[]}}Vi.RuntimeRules=D_;class Hi extends P{constructor(e){super(e),this.props=new Vi(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}}Hi.controlFieldType=b.TIMESCOPE,Hi.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 po extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}po.controlFieldType=b.TIMESCOPE;var ec={Designer:Hi,Runtime:po,Property:Vi};class F_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class k_ extends L{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class ln 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:on.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.rowHeightSetting=new Gv(e==null?void 0:e.rowHeightSetting)}}ln.Rules=F_,ln.RuntimeRules=k_;class on extends P{constructor(e){super(e),this.props=new ln(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"}}on.controlEventKeys=["on_change","on_input","on_focus","on_blur"],on.controlFieldType=b.TEXT,on.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:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class tc extends x{constructor(e){super(e),this.props=new ln(e==null?void 0:e.props)}static get controlType(){return"textarea"}}tc.controlFieldType=b.TEXT;var nc={Designer:on,Runtime:tc,Property:ln};class O_ extends Z{constructor(e){super(e),this.maxLength={type:"number",min:0,message:h.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:h.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:h.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=h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class M_ extends L{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:h.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class cn 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:sn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}cn.Rules=O_,cn.RuntimeRules=M_;class sn extends P{constructor(e){super(e),this.props=new cn(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"}}sn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],sn.controlFieldType=b.TEXT,sn.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 ic extends x{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}ic.controlFieldType=b.TEXT;var uc={Designer:sn,Runtime:ic,Property:cn};class $_ extends ft{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ji extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.options=Ce((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 te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:qi.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 ue(g))})),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)}}ji.Rules=$_;class qi extends P{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}qi.controlFieldType=b.VARCHAR,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ac extends x{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"select"}}ac.controlFieldType=b.VARCHAR;var rc={Designer:qi,Runtime:ac,Property:ji};class L_ extends ft{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class N_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class dn extends B{constructor(e){var n,i,u,a,r,l,c,o,d;super(e),this.options=Ce((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 te(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ui.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(v=>{var g;(g=this.multistageFilling)==null||g.push(new ue(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)}}dn.Rules=L_,dn.RuntimeRules=N_;class Ui extends P{constructor(e){super(e),this.props=new dn(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"}}Ui.controlFieldType=b.ARRAY,Ui.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class lc extends x{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}lc.controlFieldType=b.ARRAY;var oc={Designer:Ui,Runtime:lc,Property:dn};class V_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wi extends B{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:Ki.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var g;(g=this.multistageFilling)==null||g.push(new ue(v))}))}}Wi.RuntimeRules=V_;class Ki extends P{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Ki.controlFieldType=b.EMPLOYEES,Ki.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 cc extends x{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"employee"}}cc.controlFieldType=b.EMPLOYEES;var sc={Designer:Ki,Runtime:cc,Property:Wi};const H_=10485760,j_=104857600,q_=1048576e3;class U_ extends Z{constructor(e){super(e),this.maxSize={type:"number",min:0,max:q_,message:h.getMessage("attachmentMaxSize")}}}class W_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:h.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Ft extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;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.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(c=e==null?void 0:e.maxSize)!=null?c:j_,this.caption=(o=e==null?void 0:e.caption)!=null?o:kt.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6",this.isShowWatermark=(v=e==null?void 0:e.isShowWatermark)!=null?v:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(_=e==null?void 0:e.operation)!=null?_:[]}}Ft.Rules=U_,Ft.RuntimeRules=W_;class kt extends P{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}kt.controlEventKeys=["on_change"],kt.controlFieldType=b.FILE,kt.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 nr extends x{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"attachment"}}nr.controlFieldType=b.FILE;var dc={Designer:kt,Runtime:nr,Property:Ft};const fc=class extends kt{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:fc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let ir=fc;ir.controlFieldType=b.IMAGE,ir.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class K_ extends nr{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 z_ extends Ft{constructor(e){super(e)}}var hc={Designer:ir,Runtime:K_,Property:z_};class G_ extends ft{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:h.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=h.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:h.getMessage("numberRangeSetError")})}}class Q_ extends L{constructor(e){super(e),this[0]!==void 0&&(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:[Nr(ot({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:h.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class fn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(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 am(e==null?void 0:e.dataBind),this.datasourceBind=new te((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Hu({value:"name"})]}),this.defaultValue=new rm((c=e==null?void 0:e.defaultValue)!=null?c:{amount:"",currency:Wu.CNY}),this.unitPosition=(o=e==null?void 0:e.unitPosition)!=null?o:"right",this.options=Ce(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:hn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}fn.Rules=G_,fn.RuntimeRules=Q_;class hn extends P{constructor(e){super(e),this.props=new fn(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}}hn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],hn.controlFieldType=b.MONEY,hn.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:"unit-position",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 yc extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"amount"}}yc.controlFieldType=b.MONEY;var vc={Designer:hn,Runtime:yc,Property:fn};class X_ extends Z{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:h.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:h.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:h.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=h.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class J_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:h.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class yn extends B{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:qa.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 Ei(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new Ei),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(c=e==null?void 0:e.caption)!=null?c:vn.controlName}}yn.Rules=X_,yn.RuntimeRules=J_;class vn extends P{constructor(e){super(e),this.props=new yn(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 Ei);this.props.explain.push(...u)}}super.postUpdate(e,n)}}vn.controlEventKeys=["on_change","on_click"],vn.controlFieldType=b.DECIMAL,vn.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 mc extends x{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"score"}}mc.controlFieldType=b.DECIMAL;var gc={Designer:vn,Runtime:mc,Property:yn};class Z_ extends L{constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:h.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:h.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:h.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class zi extends B{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 cm((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"}}zi.RuntimeRules=Z_;class Gi extends P{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Gi.controlFieldType=b.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 bc extends x{constructor(e){super(e),this.props=new zi(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"}}bc.controlFieldType=b.ADDRESS;var _c={Designer:Gi,Runtime:bc,Property:zi};class Y_ extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Qi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(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:mn.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new ue(_))}))}}Qi.RuntimeRules=Y_;class mn extends P{constructor(e){super(e),this.props=new Qi(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}}mn.controlName="\u90E8\u95E8",mn.controlFieldType=b.DEPARTMENTS,mn.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 wc extends x{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}static get controlType(){return"department"}}wc.controlFieldType=b.DEPARTMENTS;var Cc={Designer:mn,Runtime:wc,Property:Qi};class ur 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:gn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class gn extends P{constructor(e){super(e),this.props=new ur(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"}}gn.controlEventKeys=["on_change"],gn.controlFieldType=b.AUTO_NUMBER,gn.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 Ec extends x{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ec.controlFieldType=b.AUTO_NUMBER;var Ic={Designer:gn,Runtime:Ec,Property:ur};class p_ extends Z{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 ew extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:h.getMessage("isNotObject"),fields:{result:[{type:"number",message:h.getMessage("isNotNumber")}],unit:{type:"string",message:h.getMessage("isNotString")}}})}}class bn extends B{constructor(e){var n,i,u,a,r,l,c,o,d;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 sm(e==null?void 0:e.dataBind),this.defaultValue=new dm(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:_n.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(c=e==null?void 0:e.scriptEcho)!=null?c:[],this.scriptSrc=(o=e==null?void 0:e.scriptSrc)!=null?o:"",this.calcOnMounted=(d=e==null?void 0:e.calcOnMounted)!=null?d:!1}}bn.Rules=p_,bn.RuntimeRules=ew;class _n extends P{constructor(e){super(e),this.props=new bn(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}}_n.controlEventKeys=["on_change"],_n.controlFieldType=b.CALC,_n.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:"calc-on-mounted",visible:!0},{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:"unit-position",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 Sc extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Sc.controlFieldType=b.CALC;var Ac={Designer:_n,Runtime:Sc,Property:bn};class tw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(h.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Xi 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}}Xi.RuntimeRules=tw;class Ji extends P{constructor(e){super(e),this.props=new Xi(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=b.DECIMAL_RANGE,Ji.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 Rc extends x{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Rc.controlFieldType=b.DECIMAL_RANGE;var Tc={Designer:Ji,Runtime:Rc,Property:Xi};class nw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&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 Zi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,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=(v=e==null?void 0:e.caption)!=null?v:Yi.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(E=>new Ci(E)))!=null?_:[]}}Zi.RuntimeRules=nw;class Yi extends P{constructor(e){super(e),this.props=new Zi(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"}}Yi.controlFieldType=b.ARRAY,Yi.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 Bc extends x{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Bc.controlFieldType=b.ARRAY;var Pc={Designer:Yi,Runtime:Bc,Property:Zi};class iw extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class uw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class wn extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ot.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}}wn.Rules=iw,wn.RuntimeRules=uw;class Ot extends P{constructor(e){super(e),this.props=new wn(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"}}Ot.controlFieldType=b.ANY,Ot.controlEventKeys=[],Ot.slots=["grid-table-toolbar-slot",Kr.DEFAULT],Ot.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 xc extends x{constructor(e){super(e),this.props=new wn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}xc.controlFieldType=b.ANY;var Dc={Designer:Ot,Runtime:xc,Property:wn};class aw extends ft{constructor(e){super(e),this.listPageBind=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:h.getMessage("isNotString")},{type:"string",required:!0,message:h.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:h.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class pi extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g;super(e),this.options=Ce((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Nu(e==null?void 0:e.listPageBind),this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:Cn.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 qu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var E;(E=this.multistageFilling)==null||E.push(new ue(_))})),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),this.optionDisplayConfig=(v=e==null?void 0:e.optionDisplayConfig)!=null?v:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1}}pi.Rules=aw;class Cn extends P{constructor(e){super(e),this.props=new pi(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"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}Cn.controlFieldType=b.VARCHAR,Cn.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_SHOW_CAPTION_TIP,s.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Cn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Fc extends x{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Fc.controlFieldType=b.VARCHAR;var kc={Designer:Cn,Runtime:Fc,Property:pi};class ar extends xt{constructor(e){super(e)}}class Oc extends Dt{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}Oc.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 Mc extends x{constructor(e){super(e),this.props=new ar(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Mc.controlFieldType=b.VARCHAR;var $c={Designer:Oc,Runtime:Mc,Property:ar};class rw extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],Xn.call(this,e,Ne.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:h.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:h.getMessage("rootNodeIsRequired")}}}])}}class lw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class En extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w,A,m,C,T,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=(c=e==null?void 0:e.containsSubNode)!=null?c:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new bl((E=e==null?void 0:e.datasourceBind)!=null?E:{attributes:Ne.controlCustomAttributes}),this.filterItemDatasourceBind=new bl((w=e==null?void 0:e.filterItemDatasourceBind)!=null?w:{attributes:Ne.controlCustomAttributes}),this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(T=(C=e==null?void 0:e.multistageFilling)==null?void 0:C.map(k=>new ue(k)))!=null?T:[],this.defaultValue=(D=e==null?void 0:e.defaultValue)!=null?D:[]}}En.Rules=rw,En.RuntimeRules=lw;class Ne extends P{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}]}}Ne.controlEventKeys=["on_change","on_click"],Ne.controlFieldType=b.ARRAY,Ne.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:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lc extends x{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return"tree"}}Lc.controlFieldType=b.ARRAY;var Nc={Designer:Ne,Runtime:Lc,Property:En};class ow extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],this.externalScope={type:"any"},Xn.call(this,e,Mt.controlCustomAttributes),e.externalType===Le.ASSIGN&&(this.externalScope={type:"array",required:!0,message:h.getMessage("pleaseAssignExternal")})}}class cw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class In extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(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:Mt.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new Kn((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Mt.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:za.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ga.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:Le.ALL,this.externalScope=(E=e==null?void 0:e.externalScope)!=null?E:[],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(A=>{var m;(m=this.multistageFilling)==null||m.push(new ue(A))}))}}In.Rules=ow,In.RuntimeRules=cw;class Mt extends P{constructor(e){super(e),this.props=new In(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}]}}Mt.controlFieldType=b.EMPLOYEES,Mt.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 Vc extends x{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Vc.controlFieldType=b.EMPLOYEES;var Hc={Designer:Mt,Runtime:Vc,Property:In};class sw extends Z{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"&&Du(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")&&Du(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class eu 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:Sn.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 so(e==null?void 0:e.signatureConfig)}}eu.Rules=sw;class Sn extends P{constructor(e){super(e),this.props=new eu(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"}}Sn.controlEventKeys=["on_click","on_click_finish"],Sn.controlFieldType=b.VARCHAR,Sn.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 jc extends x{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}jc.controlFieldType=b.VARCHAR;var qc={Designer:Sn,Runtime:jc,Property:eu};class dw extends Z{constructor(e){super(e),this.content={type:"string",required:!0,message:h.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(h.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(h.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(h.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class fw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class An extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Rn.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=(v=e==null?void 0:e.maxSize)!=null?v:H_,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new fo(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}An.Rules=dw,An.RuntimeRules=fw;class Rn extends P{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}Rn.controlEventKeys=["on_change","on_wps_open"],Rn.controlFieldType=b.FILE,Rn.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 Uc extends x{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"wps"}}Uc.controlFieldType=b.FILE;var Wc={Designer:Rn,Runtime:Uc,Property:An};class hw extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],this.businessScope={type:"any"},Xn.call(this,e,qe.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")})}}class yw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Tn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w,A;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.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:qe.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new Kn((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:qe.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Ii.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:Le.ALL,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var C;(C=this.multistageFilling)==null||C.push(new ue(m))}))}}Tn.Rules=hw,Tn.RuntimeRules=yw;class qe extends P{constructor(e){super(e),this.props=new Tn(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}}qe.controlName="\u90E8\u95E8",qe.controlFieldType=b.DEPARTMENTS,qe.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 Kc extends x{constructor(e){super(e),this.props=new Tn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Kc.controlFieldType=b.DEPARTMENTS;var zc={Designer:qe,Runtime:Kc,Property:Tn};class vw extends Z{constructor(e){super(e),this.datasourceBind=[{type:"object",message:h.getMessage("isNotObject")}],this.businessScope={type:"any"},Xn.call(this,e,Ue.controlCustomAttributes),e.businessType===Le.ASSIGN&&(this.businessScope={type:"array",required:!0,message:h.getMessage("pleaseAssignBusiness")})}}class mw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Bn extends B{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w,A,m,C,T;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 Nu(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:Ue.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new im((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ue.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:Ii.INTERNAL,this.businessScope=(E=e==null?void 0:e.businessScope)!=null?E:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:Le.ALL,this.organizingFunction=(A=e==null?void 0:e.organizingFunction)!=null?A:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(C=e==null?void 0:e.showSelectedDetail)!=null?C:!1,this.selectedContentConfig=new qu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(D=>{var k;(k=this.multistageFilling)==null||k.push(new ue(D))}))}}Bn.Rules=vw,Bn.RuntimeRules=mw;class Ue extends P{constructor(e){super(e),this.props=new Bn(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}}Ue.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ue.controlFieldType=b.DEPARTMENTS,Ue.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 Gc extends x{constructor(e){super(e),this.props=new Bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Gc.controlFieldType=b.DEPARTMENTS;var Qc={Designer:Ue,Runtime:Gc,Property:Bn};class gw extends Z{constructor(e){super(e),this.dataBind={type:"any"}}}class bw extends L{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Pn extends B{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.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}}Pn.Rules=gw,Pn.RuntimeRules=bw;class xn extends P{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlName(){return"Vue\u9875\u9762"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return S.VUE_PAGE}}xn.controlFieldType=b.ANY,xn.controlEventKeys=[],xn.setting=[];class Xc extends x{constructor(e){super(e),this.props=new Pn(e==null?void 0:e.props)}static get controlType(){return S.VUE_PAGE}}Xc.controlFieldType=b.ANY;var Jc={Designer:xn,Runtime:Xc,Property:Pn},_w=Object.freeze({__proto__:null,Input:Wo,Checkbox:zo,Radio:Qo,Number:Jo,DatePicker:Yo,DateRange:ec,Textarea:nc,RichText:uc,Select:rc,SelectMultiple:oc,Employee:sc,Image:hc,Attachment:dc,Amount:vc,Score:gc,Address:_c,Department:Cc,AutoNumber:Ic,Calc:Ac,SearchNumberRange:Tc,SearchDateRange:Pc,VueFormItem:Dc,SelectRelation:kc,SearchInput:$c,Tree:Nc,Employee2:Hc,ElectronicSignature:qc,WPS:Wc,Department2:zc,OrganizationSelection:Qc,VuePage:Jc});class Zc extends q{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Zc.excludes=[S.GRID];class ww extends U{static get controlType(){return"grid"}constructor(e){super(e)}}var Yc={Designer:Zc,Runtime:ww,Property:H};const Cw=24;class We extends H{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Cw,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Dn extends q{constructor(e){super(e),this.props=new We(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}Dn.excludes=[S.COL,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],Dn.childrenMaxLength=1;class rr extends U{constructor(e){super(e),this.props=new We(e==null?void 0:e.props)}static get controlType(){return"col"}}var pc={Designer:Dn,Runtime:rr,Property:We};class tu 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 nu extends q{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}nu.excludes=[S.ROW],nu.setting=[{key:"col-setting",visible:!0}];class es extends U{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}static get controlType(){return"row"}}var ts={Designer:nu,Runtime:es,Property:tu};const Ew=4;class iu extends nu{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)}}iu.excludes=[S.GRID_ROW],iu.setting=[],iu.childrenMaxLength=Ew;class Iw extends es{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Sw extends tu{constructor(e){super(e)}}var ns={Designer:iu,Runtime:Iw,Property:Sw};class Aw extends H.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}}}class uu extends H{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}uu.Rules=Aw;class lr extends q{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}lr.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],lr.excludes=[S.CARD_GROUP];class Rw extends U{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var is={Designer:lr,Runtime:Rw,Property:uu};class Tw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:h.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class au 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 Qv(e==null?void 0:e.metaAutoWidth)}}au.Rules=Tw;class he extends q{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}he.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",he.controlType="subtable-column",he.controlIcon="subtable-column",he.childrenMaxLength=1,he.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT,S.GRID_LAYOUT_CONTAINER],he.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 us extends U{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}us.controlType="subtable-column";var as={Designer:he,Runtime:us,Property:au};class or extends H{constructor(e){super(e)}}class Ke extends q{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}}Ke.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ke.controlType="subtable-row",Ke.controlIcon="subtable-row",Ke.childrenMaxLength=1,Ke.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Ke.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class Bw extends U{constructor(e){super(e),this.props=new or(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var rs={Designer:Ke,Runtime:Bw,Property:or};class cr extends H{constructor(e){var n,i,u,a,r,l,c,o,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.textCleanFormart=(c=e==null?void 0:e.textCleanFormart)!=null?c:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Be.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class ze extends q{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}ze.controlName="\u5217\u8868\u5355\u5143\u683C",ze.controlType="gridtable-column",ze.controlIcon="gridtable-column",ze.childrenMaxLength=1,ze.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],ze.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ls extends U{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}ls.controlType="gridtable-column";var os={Designer:ze,Runtime:ls,Property:cr};class sr extends H{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class dr extends q{constructor(e){super(e),this.props=new sr(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"icona-huanhangrongqi1"}}dr.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],dr.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class Pw extends U{constructor(e){super(e),this.props=new sr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var cs={Designer:dr,Runtime:Pw,Property:sr};class fr extends H{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class xw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")}}}class ru extends H{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:kn.controlName}}ru.Rules=xw;class Fn extends q{constructor(e){super(e),this.props=new ru(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"}}Fn.excludes=[S.TAB],Fn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Dw extends U{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var ss={Designer:Fn,Runtime:Dw,Property:ru};class kn extends q{constructor(e){var n;super(e),this.props=new fr(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Fn,new Fn]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}kn.excludes=[S.TAB],kn.controlEventKeys=["on_change_tab"],kn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class Fw extends U{constructor(e){super(e),this.props=new fr(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ds={Designer:kn,Runtime:Fw,Property:fr};class fs extends H{constructor(e){super(e)}}class hs extends q{constructor(e){super(e),this.props=new fs({}),this.children=(e==null?void 0:e.children)||[new Dn({props:new We({span:12})}),new Dn({props:new We({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}hs.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class kw extends U{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new rr({props:new We({span:12})}),new rr({props:new We({span:12})})]}}var ys={Designer:hs,Runtime:kw,Property:fs};class Ow extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Mw extends z{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:h.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:h.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:h.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:h.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:h.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),ia.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 On extends H{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;super(e),this.datasourceBind=new te(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 pv(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new tm(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=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new gm(e==null?void 0:e.rowStyle)}}On.Rules=Mw,On.RuntimeRules=Ow;class Mn extends q{constructor(e){super(e),this.props=new On(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"}}Mn.slotPosition={left:"list-view-left-slot"},Mn.excludes=[S.ROW],Mn.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"],Mn.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:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class $w extends U{constructor(e){super(e),this.props=new On(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var vs={Designer:Mn,Runtime:$w,Property:On};class Lw extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class lu extends H{constructor(e){var n,i,u,a,r,l;super(e),this.save=new xe((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new xe((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new xe((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new xe((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 xe(c)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind)}}lu.RuntimeRules=Lw;class ms extends q{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}ms.excludes=[];class Nw extends U{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var gs={Designer:ms,Runtime:Nw,Property:lu};class Vw 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 Hw extends U{static get controlType(){return"page"}constructor(e){super(e)}}class jw 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 bs={Designer:Vw,Runtime:Hw,Property:jw};class qw 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 Uw extends U{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class Ww extends H{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new bo(e==null?void 0:e.flexConfig)}}var _s={Designer:qw,Runtime:Uw,Property:Ww};class Kw 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 zw extends U{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class Gw extends H{constructor(e){super(e)}}var ws={Designer:Kw,Runtime:zw,Property:Gw};class Qw 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 Xw extends U{static get controlType(){return"position"}constructor(e){super(e)}}class Jw 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 Cs={Designer:Qw,Runtime:Xw,Property:Jw};class hr 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 ou extends q{constructor(e){var n;super(e),this.props=new hr((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"}}ou.slotPosition={default:"action-bar-slot"},ou.excludes=[],ou.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class Zw extends U{constructor(e){var n;super(e),this.props=new hr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Es={Designer:ou,Runtime:Zw,Property:hr},Yw=Object.freeze({__proto__:null,Grid:Yc,Col:pc,Row:ts,GridRow:ns,CardGroup:is,SubTableColumn:as,SubTableRow:rs,GridTableColumn:os,GridLayoutContainer:cs,Tab:ds,TabPane:ss,Toolbox:ys,ListView:vs,DataView:gs,Page:bs,AdvancedContainer:_s,PositioningContainer:ws,Position:Cs,ActionBar:Es});class pw extends z{constructor(e){super(e),this.caption={type:"string",required:!0,message:h.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:h.getMessage("isNotNumber")},{type:"number",min:0,message:h.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:h.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:h.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:h.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:h.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class eC extends He{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:h.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:h.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const Is=class extends li{constructor(t,e){var n,i,u,a,r,l,c,o,d,v,g,_,E,w,A,m,C,T,D,k,oe,M,ce,Nn,Re,Cu,Vn,$t,Te,Qs,Xs,Js,Zs;super(t,e,Is.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ln.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(c=e==null?void 0:e.useCustomHeight)!=null?c:!1,this.maxHeight=(o=e==null?void 0:e.maxHeight)!=null?o:mo,this.printMode=(d=e==null?void 0:e.printMode)!=null?d:"row",this.limitRows=(v=e==null?void 0:e.limitRows)!=null?v:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.canAdd=(E=e==null?void 0:e.canAdd)!=null?E:!0,this.canDelete=(w=e==null?void 0:e.canDelete)!=null?w:!0,this.canCheck=(A=e==null?void 0:e.canCheck)!=null?A:!1,this.canEdit=(m=e==null?void 0:e.canEdit)!=null?m:!1,this.canImport=(C=e==null?void 0:e.canImport)!=null?C:!1,this.canExport=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(D=e==null?void 0:e.canClear)!=null?D:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(oe=e==null?void 0:e.isShowCaptionTip)!=null?oe:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(ce=e==null?void 0:e.mobileShowType)!=null?ce:"list",this.mobileDefaultNum=(Nn=e==null?void 0:e.mobileDefaultNum)!=null?Nn:10,this.dataStorageDoc=(Re=e==null?void 0:e.dataStorageDoc)!=null?Re:new Xv,this.fixedColumn=(Cu=e==null?void 0:e.fixedColumn)!=null?Cu:[],this.mobileRowCaption=(Vn=e==null?void 0:e.mobileRowCaption)!=null?Vn:"\u660E\u7EC6",this.mobileIsTile=($t=e==null?void 0:e.mobileIsTile)!=null?$t:!1,this.isPaste=(Te=e==null?void 0:e.isPaste)!=null?Te:!1,this.pageSize=(Qs=e==null?void 0:e.pageSize)!=null?Qs:10,this.pageSizeOptions=(Xs=e==null?void 0:e.pageSizeOptions)!=null?Xs:[10,20,50,100],this.importConfig=new yo(e==null?void 0:e.importConfig),this.exportConfig=new vo(e==null?void 0:e.exportConfig),this.sortable=(Js=e==null?void 0:e.sortable)!=null?Js:!1,this.sortKey=(Zs=e==null?void 0:e.sortKey)!=null?Zs:{}}};let $n=Is;$n.Rules=pw,$n.RuntimeRules=eC;class Ln extends ga{constructor(e){var n;super(e),this.props=new $n(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 he,new he,new he])}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 he,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Ln.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Ln.slotPosition={toolbar:"subtable-toolbar-slot"},Ln.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE]},{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:"max-rows",visible:!0},{key:"list-pager",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 tC extends Jl{constructor(e){super(e),this.props=new $n(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){jt("Method not implemented.")}getChildrenFormControl(){return[]}}var Ss={Designer:Ln,Runtime:tC,Property:$n};class yr extends li{constructor(e,n){var i,u,a,r,l;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,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class nC extends be{constructor(e){super(e),this.caption.required=!1}}class cu extends W{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:Ge.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"}}cu.Rules=nC;class Ge extends p{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Ge.controlType="order-column",Ge.controlName="\u5E8F\u53F7",Ge.controlIcon="order-column",Ge.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class vr extends ee{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}vr.controlType="order-column",vr.controlFieldType=b.DECIMAL;var As={Designer:Ge,Runtime:vr,Property:cu};class mr 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:Se.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 Se extends p{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===$i.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Hr(this,null,function*(){return yield Vr(Se.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Se.controlType="operation-column",Se.controlName="\u64CD\u4F5C",Se.controlIcon="operation-column",Se.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 gr extends ee{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}gr.controlType="operation-column",gr.controlFieldType=b.FILE;var Rs={Designer:Se,Runtime:gr,Property:mr};const iC=1e4;class Qe extends ga{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yr(this,e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Ge,new Se]),this.excludes=se(n),this.childrenMaxLength=i}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Nr(ot({},e),{children:n})}validate(e,n){return Hr(this,null,function*(){return yield Vr(Qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Qe.slotPosition={toolbar:"grid-table-toolbar-slot"},Qe.setting=[{key:"list-fixed-header",visible:!0}],Qe.excludes=[],Qe.childrenMaxLength=iC;class uC extends Jl{constructor(e){super(e),this.props=new yr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){jt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Ts={Designer:Qe,Runtime:uC,Property:yr},aC=Object.freeze({__proto__:null,SubTable:Ss,GridTable:Ts});class rC extends Zl{constructor(e){super(e),Me.call(this,e)}}class su extends W{constructor(e){var n,i,u,a,r,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.options=Ce((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}su.Rules=rC;class Xe extends p{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Xe.controlType="varchar-column",Xe.controlName="\u77ED\u6587\u672C",Xe.controlIcon="varchar-column",Xe.controlFieldType=b.VARCHAR,Xe.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-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class br extends ee{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}br.controlType="varchar-column",br.controlFieldType=b.VARCHAR;var Bs={Designer:Xe,Runtime:br,Property:su};class lC extends be{constructor(e){super(e),Me.call(this,e)}}class du extends W{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:Je.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 we(e==null?void 0:e.linkOperationOption)}}du.Rules=lC;class Je extends p{constructor(e){super(e),this.props=new du(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}}Je.controlType="text-column",Je.controlName="\u957F\u6587\u672C",Je.controlIcon="text-column",Je.controlFieldType=b.TEXT,Je.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-align-content",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},{key:"column-statistics",visible:!0}];class _r extends ee{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}_r.controlType="text-column",_r.controlFieldType=b.TEXT;var Ps={Designer:Je,Runtime:_r,Property:du};class oC extends be{constructor(e){super(e),Me.call(this,e)}}class fu extends W{constructor(e){var n,i,u,a,r,l,c;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.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 te(e==null?void 0:e.datasourceBind),this.options=Ce((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(c=e==null?void 0:e.showLinkOperation)!=null?c:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}fu.Rules=oC;class Ze extends p{constructor(e){super(e),this.props=new fu(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}}Ze.controlType="decimal-column",Ze.controlName="\u6570\u503C",Ze.controlIcon="decimal-column",Ze.controlFieldType=b.DECIMAL,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-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class wr extends ee{constructor(e){super(e),this.props=new fu(e==null?void 0:e.props)}}wr.controlType="decimal-column",wr.controlFieldType=b.DECIMAL;var xs={Designer:Ze,Runtime:wr,Property:fu};class cC extends be{constructor(e){super(e),Me.call(this,e)}}class hu extends W{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 we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ye.controlName}}hu.Rules=cC;class Ye extends p{constructor(e){super(e),this.props=new hu(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}}Ye.controlType="timescope-column",Ye.controlName="\u65E5\u671F\u533A\u95F4",Ye.controlIcon="timescope-column",Ye.controlFieldType=b.TIMESCOPE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Cr extends ee{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props)}}Cr.controlType="timescope-column",Cr.controlFieldType=b.TIMESCOPE;var Ds={Designer:Ye,Runtime:Cr,Property:hu};class sC extends be{constructor(e){super(e),Me.call(this,e)}}class yu extends W{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 we(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}yu.Rules=sC;class pe extends p{constructor(e){super(e),this.props=new yu(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="timestamp-column",pe.controlName="\u65E5\u671F",pe.controlIcon="timestamp-column",pe.controlFieldType=b.TIMESTAMP,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Er extends ee{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}Er.controlType="timestamp-column",Er.controlFieldType=b.TIMESTAMP;var Fs={Designer:pe,Runtime:Er,Property:yu};class dC extends Zl{constructor(e){super(e),Me.call(this,e)}}class vu extends W{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new te(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption),this.options=Ce((a=e==null?void 0:e.options)!=null?a:[{}])}}vu.Rules=dC;class et extends p{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}et.controlType="array-column",et.controlName="\u6570\u7EC4",et.controlIcon="array-column",et.controlFieldType=b.ARRAY,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Ir extends ee{constructor(e){super(e),this.props=new vu(e==null?void 0:e.props)}}Ir.controlType="array-column",Ir.controlFieldType=b.ARRAY;var ks={Designer:et,Runtime:Ir,Property:vu};class Sr extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class tt extends p{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}tt.controlType="department-column",tt.controlName="\u90E8\u95E8",tt.controlIcon="department-column",tt.controlFieldType=b.DEPARTMENTS,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Ar extends ee{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ar.controlType="department-column",Ar.controlFieldType=b.DEPARTMENTS;var Os={Designer:tt,Runtime:Ar,Property:Sr};class fC extends be{constructor(e){super(e),Me.call(this,e)}}class mu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}mu.Rules=fC;class nt extends p{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}nt.controlType="auto-number-column",nt.controlName="\u81EA\u52A8\u7F16\u53F7",nt.controlIcon="auto-number-column",nt.controlFieldType=b.AUTO_NUMBER,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Rr extends ee{constructor(e){super(e),this.props=new mu(e==null?void 0:e.props)}}Rr.controlType="auto-number-column",Rr.controlFieldType=b.AUTO_NUMBER;var Ms={Designer:nt,Runtime:Rr,Property:mu};class Tr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName}}class it extends p{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}it.controlType="file-column",it.controlName="\u9644\u4EF6",it.controlIcon="file-column",it.controlFieldType=b.FILE,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Br extends ee{constructor(e){super(e),this.props=new Tr(e==null?void 0:e.props)}}Br.controlType="file-column",Br.controlFieldType=b.FILE;var $s={Designer:it,Runtime:Br,Property:Tr};class Pr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends p{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}}ut.controlType="image-column",ut.controlName="\u56FE\u7247",ut.controlIcon="image-column",ut.controlFieldType=b.IMAGE,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class xr extends ee{constructor(e){super(e),this.props=new Pr(e==null?void 0:e.props)}}xr.controlType="image-column",xr.controlFieldType=b.IMAGE;var Ls={Designer:ut,Runtime:xr,Property:Pr};class Dr extends W{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends p{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}at.controlType="people-column",at.controlName="\u4EBA\u5458",at.controlIcon="people-column",at.controlFieldType=b.EMPLOYEES,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Fr extends ee{constructor(e){super(e),this.props=new Dr(e==null?void 0:e.props)}}Fr.controlType="people-column",Fr.controlFieldType=b.EMPLOYEES;var Ns={Designer:at,Runtime:Fr,Property:Dr};class hC extends be{constructor(e){super(e),Me.call(this,e)}}class gu extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new we(e==null?void 0:e.linkOperationOption)}}gu.Rules=hC;class rt extends p{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}rt.controlType="location-column",rt.controlName="\u5730\u5740",rt.controlIcon="location-column",rt.controlFieldType=b.ADDRESS,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class kr extends ee{constructor(e){super(e),this.props=new gu(e==null?void 0:e.props)}}kr.controlType="location-column",kr.controlFieldType=b.ADDRESS;var Vs={Designer:rt,Runtime:kr,Property:gu};class yC extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:h.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class bu extends W{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ae.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}bu.Rules=yC;const vC=1;class Ae extends p{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new bu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=se(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}}Ae.controlType="custom-column",Ae.controlName="\u81EA\u5B9A\u4E49",Ae.controlIcon="custom-column",Ae.slots=["column-column-slot"],Ae.excludes=[],Ae.childrenMaxLength=vC,Ae.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},{key:"column-sort-field",visible:!0}];class Hs extends ee{constructor(e){super(e),this.props=new bu(e==null?void 0:e.props),ve(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Hs.controlType="custom-column";var js={Designer:Ae,Runtime:Hs,Property:bu};class Or extends W{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ve.controlName,this.datasourceBind=new Kn((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Ve.controlCustomAttributes})}}class Ve extends p{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ve.controlType="employee-column",Ve.controlName="\u4EBA\u5458",Ve.controlIcon="employee-column",Ve.controlFieldType=b.EMPLOYEES,Ve.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Mr extends ee{constructor(e){super(e),this.props=new Or(e==null?void 0:e.props)}}Mr.controlType="employee-column",Mr.controlFieldType=b.EMPLOYEES;var qs={Designer:Ve,Runtime:Mr,Property:Or};class $r extends W{constructor(e){var n,i,u;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 we(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class lt extends p{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}}lt.controlType="approval-status-column",lt.controlName="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",lt.controlIcon="approval-status-column",lt.excludes=[],lt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Us extends ee{constructor(e){super(e),this.props=new $r(e==null?void 0:e.props)}}Us.controlType="approval-status-column";var Ws={Designer:lt,Runtime:Us,Property:$r},mC=Object.freeze({__proto__:null,VarcharColumn:Bs,TextColumn:Ps,DecimalColumn:xs,TimescopeColumn:Ds,TimestampColumn:Fs,ArrayColumn:ks,DepartmentColumn:Os,AutoNumberColumn:Ms,FileColumn:$s,ImageColumn:Ls,PeopleColumn:Ns,LocationColumn:Vs,CustomColumn:js,OrderColumn:As,OperationColumn:Rs,EmployeeColumn:qs,ApprovalStatusColumn:Ws});class gC extends He{constructor(e){super(e),this.push({type:"object",fields:{}})}}class _u extends Ba{constructor(e){var n,i,u,a,r,l,c,o,d,v,g,_;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 xe((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new xe((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(E=>new xe(E)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[],this.childMinWidth=(d=e==null?void 0:e.childMinWidth)!=null?d:230,this.colGap=(v=e==null?void 0:e.colGap)!=null?v:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}_u.RuntimeRules=gC;class wu extends hb{constructor(e){super(e),this.props=new _u(e==null?void 0:e.props)}}wu.controlType="simple-search",wu.slotPosition={default:"search"},wu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{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 Ks extends wb{constructor(e){var n;super(e),this.props=new _u(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Ks.controlType="simple-search";var zs={Designer:wu,Runtime:Ks,Property:_u},bC=Object.freeze({__proto__:null,SimpleSearch:zs});class Lr extends Oa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class _C extends Ob{constructor(e){super(e),this.props=new Lr(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"}}class wC extends jb{constructor(e){super(e),this.props=new Lr(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function xC(t){return t}var CC={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:"\u5145\u6EE1\u6574\u884C",props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Gs={Designer:_C,Runtime:wC,Property:Lr,Setting:CC},EC=Object.freeze({__proto__:null,GridLayoutWrap:Gs});y.ActionBar=Es,y.Address=_c,y.AdvancedContainer=_s,y.Amount=vc,y.ApprovalStatusColumn=Ws,y.ArrayColumn=ks,y.AssignType=Le,y.Attachment=dc,y.AutoNumber=Ic,y.AutoNumberColumn=Ms,y.BatchDeleteButton=qo,y.BatchPrintListButton=Vo,y.BatchPrintRecordListButton=Ho,y.BatchSubmissionListButton=So,y.Button=lo,y.Calc=Ac,y.CardGroup=is,y.Checkbox=zo,y.Col=pc,y.CreateFormListButton=Io,y.CustomColumn=js,y.DATE_CONFIG_TYPE=oo,y.DATE_LIMIT_TYPE=co,y.Dashboard=Oo,y.DataView=gs,y.DatePicker=Yo,y.DateRange=ec,y.DecimalColumn=xs,y.Department=Cc,y.Department2=zc,y.DepartmentColumn=Os,y.DepartmentType=Ii,y.Divider=Co,y.ElectronicSignature=qc,y.ElectronicSignatureConfig=so,y.Employee=sc,y.Employee2=Hc,y.EmployeeColumn=qs,y.EncryptTypeEnum=_o,y.Explain=Ei,y.ExportConfig=vo,y.ExportListButton=Ro,y.ExportRecordListButton=To,y.ExportTemplate=Jt,y.FileColumn=$s,y.FlexStyleConfig=bo,y.FormSelectButton=Po,y.Grid=Yc,y.GridLayoutContainer=cs,y.GridLayoutWrap=Gs,y.GridRow=ns,y.GridTable=Ts,y.GridTableColumn=os,y.Image=hc,y.ImageColumn=Ls,y.ImportConfig=yo,y.ImportListBind=ho,y.ImportRecordListButton=Bo,y.Input=Wo,y.InternalType=Ga,y.InvoiceCheckButton=No,y.LINE_STYLE=Ua,y.LimitDate=Ci,y.Link=ro,y.ListSelectButton=xo,y.ListView=vs,y.ListViewSelect=$o,y.LocationColumn=Vs,y.Number=Jo,y.OperationButton=jo,y.OperationColumn=Rs,y.OrderColumn=As,y.OrganizationSelection=Qc,y.OrganizeType=za,y.Page=bs,y.Pagination=Fo,y.PeopleColumn=Ns,y.Position=Cs,y.PositioningContainer=ws,y.PrintTemplate=go,y.Radio=Qo,y.RichText=uc,y.Row=ts,y.SCORE_TYPE=qa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=mo,y.Score=gc,y.SearchDateRange=Pc,y.SearchInput=$c,y.SearchNumberRange=Tc,y.Select=rc,y.SelectMultiple=oc,y.SelectRelation=kc,y.SimpleSearch=zs,y.SubTable=Ss,y.SubTableColumn=as,y.SubTableRow=rs,y.SubmissionRecordListButton=Ao,y.Tab=ds,y.TabPane=ss,y.Text=ao,y.TextColumn=Ps,y.TextOcrButton=Lo,y.Textarea=nc,y.TimescopeColumn=Ds,y.TimestampColumn=Fs,y.Title=Eo,y.TitleConfigEnum=$e,y.Toolbox=ys,y.Tree=Nc,y.UndersignedPerson=Wa,y.VarcharColumn=Bs,y.VueFormItem=Dc,y.VuePage=Jc,y.WPS=Wc,y.WPSSetting=fo,y.WpsOperationItem=Ka,y.baseControls=I_,y.columnControls=mC,y.formControls=_w,y.initExpression=Zt,y.layoutControls=Yw,y.listControls=aC,y.searchControls=bC,y.wrapControls=EC,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var bI=Object.defineProperty,_I=Object.defineProperties;var CI=Object.getOwnPropertyDescriptors;var td=Object.getOwnPropertySymbols,EI=Object.getPrototypeOf,wI=Object.prototype.hasOwnProperty,BI=Object.prototype.propertyIsEnumerable,SI=Reflect.get;var nd=(y,V,U)=>V in y?bI(y,V,{enumerable:!0,configurable:!0,writable:!0,value:U}):y[V]=U,nt=(y,V)=>{for(var U in V||(V={}))wI.call(V,U)&&nd(y,U,V[U]);if(td)for(var U of td(V))BI.call(V,U)&&nd(y,U,V[U]);return y},Ar=(y,V)=>_I(y,CI(V));var Tr=(y,V,U)=>SI(EI(y),U,V);var Fr=(y,V,U)=>new Promise((du,xn)=>{var hu=me=>{try{xt(U.next(me))}catch(Pt){xn(Pt)}},fu=me=>{try{xt(U.throw(me))}catch(Pt){xn(Pt)}},xt=me=>me.done?du(me.value):Promise.resolve(me.value).then(hu,fu);xt((U=U.apply(y,V)).next())});(function(y,V){typeof exports=="object"&&typeof module!="undefined"?V(exports):typeof define=="function"&&define.amd?define(["exports"],V):(y=typeof globalThis!="undefined"?globalThis:y||self,V(y.modelDrivenControls={}))})(this,function(y){"use strict";var V="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",U="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",du="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",hu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",fu="{caption}\u5FC5\u586B",xt="\u8BF7\u8F93\u5165\u6807\u9898",me="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Pt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",id="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",ud="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",ad="\u8BF7\u7ED1\u5B9A\u8868\u5355",rd="\u8BF7\u7ED1\u5B9A\u5217\u8868",ld="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",od="\u8BF7\u8F93\u5165\u663E\u793A\u503C",cd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",sd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",dd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",hd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",fd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",yd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",vd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",md="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",gd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",bd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",_d="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Cd="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ed="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",wd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Bd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Sd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Id="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ad="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Td="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Fd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Rd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Dd="\u8BF7\u7ED1\u5B9A\u670D\u52A1",xd="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Pd="\u8BF7\u9009\u62E9\u7701",kd="\u8BF7\u9009\u62E9\u5E02",Od="\u8BF7\u9009\u62E9\u533A",Md="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",$d="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ld="\u8BF7\u8F93\u5165\u5217\u5BBD",Nd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Vd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Hd="\u8BF7\u9009\u62E9\u63A7\u4EF6",jd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",qd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ud="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Wd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",zd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Kd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Gd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Qd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Xd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Jd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Zd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Yd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",pd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",th="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",nh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ih="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",uh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",ah="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",rh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",lh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",oh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",ch="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",sh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",dh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",hh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",fh="\u6279\u91CF\u5220\u9664",yh="\u6279\u91CF\u6253\u5370",vh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",mh="\u6309\u94AE",gh="\u521B\u5EFA\u5355\u636E",bh="\u4EEA\u8868\u76D8",_h="\u5206\u5272\u7EBF",Ch="\u5BFC\u51FA",Eh="\u8868\u5355\u64CD\u4F5C",wh="\u5BFC\u5165",Bh="\u53D1\u7968\u8BC6\u522B",Sh="\u94FE\u63A5",Ih="\u5217\u8868\u9009\u62E9",Ah="\u5217\u8868\u89C6\u56FE",Th="\u64CD\u4F5C\u6309\u94AE",Fh="\u5206\u9875",Rh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Dh="\u8BF4\u660E\u6587\u5B57",xh="\u6587\u5B57\u8BC6\u522B",Ph="\u6807\u9898\u7EC4\u4EF6",kh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Oh="\u6570\u7EC4",Mh="\u81EA\u52A8\u7F16\u53F7",$h="\u81EA\u5B9A\u4E49",Lh="\u6570\u503C",Nh="\u90E8\u95E8",Vh="\u4EBA\u5458",Hh="\u9644\u4EF6",jh="\u56FE\u7247",qh="\u5730\u5740",Uh="\u64CD\u4F5C",Wh="\u5E8F\u53F7",zh="\u4EBA\u5458",Kh="\u957F\u6587\u672C",Gh="\u65E5\u671F\u533A\u95F4",Qh="\u65E5\u671F",Xh="\u77ED\u6587\u672C",Jh="\u6362\u884C\u5BB9\u5668Wrap",Zh="\u8868\u683C",Yh="\u660E\u7EC6\u5B50\u8868",ph="\u5730\u5740",ef="\u91D1\u989D",tf="\u8BA1\u7B97\u516C\u5F0F",nf="\u591A\u9009",uf="\u7535\u5B50\u7B7E\u7AE0",af="\u5355\u884C\u6587\u672C",rf="\u6570\u5B57",lf="\u4E1A\u52A1\u7EC4\u7EC7",of="\u5355\u9009",cf="\u5BCC\u6587\u672C",sf="\u8BC4\u5206",df="\u6570\u5B57\u533A\u95F4",hf="\u4E0B\u62C9\u5355\u9009",ff="\u4E0B\u62C9\u591A\u9009",yf="\u5173\u8054\u5355\u9009",vf="\u591A\u884C\u6587\u672C",mf="\u6811",gf="Vue\u5BB9\u5668",bf="Vue\u9875\u9762",_f="\u5728\u7EBF\u6587\u6863",Cf="\u6309\u94AE\u64CD\u4F5C\u680F",Ef="\u9AD8\u7EA7\u5BB9\u5668",wf="\u5206\u7EC4",Bf="\u6805\u683C\u5217",Sf="\u6570\u636E\u5BB9\u5668",If="\u753B\u5E03",Af="\u6362\u884C\u5BB9\u5668",Tf="\u6805\u683C\u7B49\u5206\u884C",Ff="\u5217\u8868\u5BB9\u5668",Rf="\u81EA\u7531\u9875\u9762",Df="\u5B9A\u4F4D\u5B50\u5BB9\u5668",xf="\u5B9A\u4F4D\u5BB9\u5668",Pf="\u6805\u683C\u5E03\u5C40",kf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Of="\u660E\u7EC6\u5B50\u8868\u884C",Mf="\u6807\u7B7E\u9875",$f="\u6807\u7B7E\u5355\u5143",Lf="\u5DE5\u5177\u680F",Nf="\u6279\u91CF\u63D0\u4EA4",Vf="\u5BFC\u51FA\u8BB0\u5F55",Hf="\u5217\u8868\u89C6\u56FE",jf="\u7ED3\u675F\u65F6\u95F4",qf="\u5F00\u59CB\u65F6\u95F4",Uf="\u5355\u4F4D",Wf="\u7ED3\u679C",zf="\u5E01\u79CD",Kf="\u7ED3\u675F\u65E5\u671F",Gf="\u5F00\u59CB\u65E5\u671F",Qf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Xf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",Jf="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Zf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Yf="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",pf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ey="\u8BF7\u9009\u62E9",ty="\u8BF7\u9009\u62E9\u7EC4\u7EC7",ny="\u8BF7\u9009\u62E9\u90E8\u95E8",iy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",uy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",ay="\u8BF7\u9009\u62E9\u5730\u5740",ry="\u5F39\u7A97\u786E\u8BA4\u65F6",ly="\u6807\u7B7E\u9875\u5207\u6362\u65F6",oy="\u884C\u9009\u4E2D\u65F6",cy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",sy="\u884C\u5220\u9664\u524D",dy="\u884C\u70B9\u51FB\u65F6",hy="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",fy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",yy="\u91CD\u547D\u540D\u65F6",vy="\u4FDD\u5B58\u6587\u4EF6\u65F6",my="\u6253\u5F00\u6587\u4EF6\u65F6",gy="\u83B7\u53D6\u7126\u70B9\u65F6",by="\u5931\u53BB\u7126\u70B9\u65F6",_y="\u7528\u6237\u8F93\u5165\u65F6",Cy="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Ey="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",wy="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",By="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Sy="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Iy="\u641C\u7D22\u65F6",Ay="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Ty="\u6267\u884C\u5B8C\u6210\u65F6",Fy="\u70B9\u51FB\u65F6",Ry="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Dy="\u8BF7\u8F93\u5165\u65E5\u671F",xy="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Py="\u8BF7\u8F93\u5165",ky="\u9ED8\u8BA4\u6A21\u7248",Oy="\u5DE6\u53F3\u5E03\u5C40",My="\u4E0A\u4E0B\u5E03\u5C40",$y="\u53EA\u8BFB",Ly="\u5FC5\u586B",Ny="\u63D0\u793A\u6587\u5B57",Vy="\u9690\u85CF\u6807\u9898",Hy="\u6807\u9898\u5FC5\u586B",jy="\u7EC4\u7EC7\u5F62\u6001",qy="\u4E1A\u52A1\u7C7B\u578B",Uy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Wy="\u9690\u85CF",zy="\u6D41\u7A0B\u72B6\u6001",Ky="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",Gy="\u5220\u9664",Qy="\u7F16\u8F91",Xy="\u67E5\u770B",Jy="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Zy="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Yy="\u5145\u6EE1\u6574\u884C",py="\u6700\u5C0F\u503C",ev="\u6700\u5927\u503C",tv="\u65B0\u5EFA\u6587\u6863",nv="\u91CD\u7F6E",iv="\u67E5\u8BE2",uv="\u660E\u7EC6",av="\u6253\u5370",rv="\u4FDD\u5B58\u8349\u7A3F",lv="\u4FDD\u5B58",ov="\u53D6\u6D88",cv="\u4E0A\u4F20\u56FE\u7247",sv="\u53D1\u8D77\u7B7E\u7F72",dv="\u4E0A\u4F20\u9644\u4EF6",hv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",fv={isNotNumber:V,isNotString:U,isNotObject:du,isNotArray:xn,isNotBoolean:hu,runtimeRequired:fu,pleaseEnterCaption:xt,pleaseEnterCaptionTip:me,pleaseEnterRowCaption:Pt,pleaseEnterPlaceholder:id,pleaseEnterFieldCode:ud,pleaseEnterForm:ad,pleaseEnterList:rd,pleaseEnterProcess:ld,pleaseEnterLabel:od,pleaseEnterValue:cd,bizKeyNotBindFiled:sd,pleaseSelectOneField:dd,pleaseEnterNumberRange:hd,pleaseEnterAValueGreaterThanMin:fd,pleaseEnterAValueLessThanMax:yd,numberRangeSetError:vd,stringRangeError:md,attachmentMaxSize:gd,pleaseEnterTotalScoreSetting:bd,theTotalScoreMustNotBeLessThan1:_d,scoreDefaultValueRange:Cd,attachmentLimitError:Ed,PleaseReselectTheOptionalQuantity:wd,TheMaximumLengthIsGreaterThanTheMinimumLength:Bd,TheMinimumLengthIsGreaterThanTheMaximumLength:Sd,PleaseSelectTheCorrectOptionSettings:Id,optionIdIsRepeat:Ad,optionIsRequired:Td,pleaseEnterDataCode:Fd,pleaseEnterValueFieldCode:Rd,pleaseEnterSvcCode:Dd,pleaseBindAtLeastOneDisplayValue:xd,pleaseSelectProvince:Pd,pleaseSelectCity:kd,pleaseSelectDistrict:Od,limitRowsCannotBeLessThan0:Md,TheNumberOfRowsCannotBeLessThanMinRows:$d,pleaseEnterColumnWidth:Ld,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Nd,pleaseCompleteAllRulesAndConditions:Vd,pleaseSelectControl:Hd,pleaseSelectAtLeastOneColumn:jd,pleaseSelectFillBackMode:qd,pleaseSelectDashboard:Ud,rootNodeIsRequired:Wd,theViewNameCannotBeEmpty:zd,pleaseSelectOcrType:Kd,pleaseSelectAtLeastOneFieldToFillIn:Gd,pleaseChooseAtLeastOne:Qd,pleaseEnterButtonContent:Xd,pleaseEnterDataCodeInDataSetting:Jd,pleaseEnterValueFieldCodeInDataSetting:Zd,pleaseEnterSvcCodeInDataSetting:Yd,pleaseBindAtLeastOneDisplayValueInDataSetting:pd,rootNodeIsRequiredInDataSetting:eh,pleaseEnterMaxHeight:th,pleaseEnterWatermark:nh,pleaseEnterFileName:ih,pleaseUploadAtLeastOnePrintTemplate:uh,pleaseAssignBusiness:ah,pleaseAssignExternal:rh,pleaseEnterAliasCode:lh,pleaseSelectDataCode:oh,pleaseSelectSvcCode:ch,pleaseSelectJoinFieldCode:sh,pleaseSelectMainFieldCode:dh,pleaseSelectSortFieldCode:hh,batchDeleteButton:fh,batchPrintListButton:yh,batchPrintRecordList:vh,button:mh,createFormListButton:gh,dashboard:bh,divider:_h,exportListButton:Ch,formSelectButton:Eh,importRecordListButton:wh,invoiceCheckButton:Bh,link:Sh,listSelectButton:Ih,ListViewSelect:Ah,operationButton:Th,pagination:Fh,submissionRecordListButton:Rh,text:Dh,textOcrButton:xh,title:Ph,approvalStatusColumn:kh,array:Oh,autoNumber:Mh,custom:$h,decimal:Lh,department:Nh,employee:Vh,file:Hh,image:jh,location:qh,operation:Uh,order:Wh,people:zh,long:Kh,timescope:Gh,timestamp:Qh,varchar:Xh,gridLayoutWrap:Jh,gridTable:Zh,subTable:Yh,address:ph,amount:ef,calc:tf,checkBox:nf,electronicSignature:uf,input:af,number:rf,organizationSelection:lf,radio:of,richText:cf,score:sf,searchNumberRange:df,select:hf,selectMultiple:ff,selectRelation:yf,textarea:vf,tree:mf,vueFormItem:gf,vuePage:bf,WPS:_f,actionBar:Cf,advancedContainer:Ef,cardGroup:wf,col:Bf,dataView:Sf,grid:If,gridLayoutContainer:Af,gridRow:Tf,listView:Ff,page:Rf,position:Df,positioningContainer:xf,row:Pf,subtableColumn:kf,subtableRow:Of,tab:Mf,tabPane:$f,toolbox:Lf,batchSubmissionListButton:Nf,exportRecordListButton:Vf,listViewSelect:Hf,endTime:jf,startTime:qf,unit:Uf,result:Wf,currency:zf,endDate:Kf,startDate:Gf,pleaseSelectCompanyName:Qf,pleaseSelectPhoneOrEmail:Xf,pleaseSelectSignType:Jf,pleaseSelectSigner:Zf,pleaseSelectOnlyOne:Yf,pleaseSelectSignFile:pf,pleaseSelect:ey,pleaseSelectOrg:ty,pleaseSelectDept:ny,pleaseSelectEndDate:iy,pleaseSelectStartDate:uy,pleaseChooseAddress:ay,modalConfirm:ry,tabChange:ly,rowSelected:oy,listDataImport:cy,rowDelete:sy,rowClick:dy,cellRender:hy,onClickBtn:fy,rename:yy,onSaveFile:vy,onOpenFile:my,onFocus:gy,onBlur:by,onInput:_y,listDataAdd:Cy,listDataDelete:Ey,listDataBack:wy,listDataCreate:By,listDataChange:Sy,search:Iy,valueChange:Ay,finished:Ty,click:Fy,pleaseEnterNameorEmail:Ry,pleaseEnterDate:Dy,pleaseEnterAutonumber:xy,pleaseEnter:Py,defaultTemplate:ky,left:Oy,top:My,default:"\u666E\u901A",readonly:$y,required:Ly,textTip:Ny,hideCaption:Vy,titleRequired:Hy,organizationalForm:jy,businessType:qy,deleteConfirm:Uy,hide:Wy,processStatus:zy,approvedDocuments:Ky,delete:Gy,edit:Qy,view:Xy,loadCtrlErrorTip:Jy,loadCtrlError:Zy,fullLine:Yy,min:py,max:ev,createWPS:tv,reset:nv,query:iv,detailed:uv,print:av,draft:rv,save:lv,cancel:ov,uploadImg:cv,signature:sv,uploadFile:dv,linkContent:hv},yv="Please enter a number",vv="Please enter a string",mv="Please enter an object",gv="Please enter an array",bv="Please enter a boolean",_v="{caption} Required",Cv="Please enter the title",Ev="Please enter the bubble prompt",wv="Please enter the row title",Bv="Please enter the prompt text",Sv="Please bind data items",Iv="Please bind the form",Av="Please bind the list",Tv="Please bind the process",Fv="Please enter the displayed value",Rv="Please enter the stored value",Dv="The document number is not bound to the data item",xv="Please select at least one display field",Pv="Please enter a value greater than or equal to {min} and less than or equal to {max}",kv="Please enter a value greater than or equal to {min}",Ov="Please enter a value less than or equal to {max}",Mv="The value range is set incorrectly",$v="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Lv="The attachment size must be between 0MB and 1000MB",Nv="Please fill in the total score setting",Vv="The total score cannot be less than 1",Hv="The default value must be between {min} and {max}",jv="The number of attachment uploads exceeds the limit",qv="Please re-select the optional quantity",Uv="The maximum length of the control must be greater than the minimum length",Wv="The minimum length of the control must be less than the maximum length",zv="Please select the correct option setting",Kv="Option ID cannot be repeated",Gv="Please enter at least one option",Qv="Please bind the data source",Xv="Please bind the stored value",Jv="Please bind the service",Zv="At least one display value must be bound",Yv="Please select a province",pv="Please select a city",em="Please select a district",tm="The minimum number of lines to fill in cannot be less than 0",nm="The number of rows cannot be less than {min} rows",im="Please enter the column width",um="Please set the logical relationship of all rule conditions",am="Please complete all rules and conditions",rm="please select control",lm="Please select the dashboard",om="View name cannot be empty",cm="Please select recognition type",sm="Please select at least one field to fill in",dm="Please select at least one",hm="Please enter the button title",fm="Please bind the business model in the data settings",ym="Please bind storage values in data settings",vm="Please bind the service in the data settings",mm="Please bind at least one display value in the data settings",gm="Please select the root node in the data settings",bm="Please enter the maximum height",_m="The input content cannot be empty",Cm="Watermark cannot be empty",Em="File name cannot be empty",wm="Please upload at least one printing template!\uFF01",Bm="Please select a specific business department",Sm="Please select a specified external organization",Im="Please enter a sub table alias",Am="Please select the associated table to set the business model",Tm="Please select the association table to set the binding service",Fm="Select associated sub table fields",Rm="Please select the associated main table field",Dm="Please select the sort field",xm="\u6279\u91CF\u5220\u9664",Pm="\u6279\u91CF\u6253\u5370",km="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Om="\u6309\u94AE",Mm="\u521B\u5EFA\u5355\u636E",$m="\u4EEA\u8868\u76D8",Lm="\u5206\u5272\u7EBF",Nm="\u5BFC\u51FA",Vm="\u8868\u5355\u64CD\u4F5C",Hm="\u5BFC\u5165",jm="\u53D1\u7968\u8BC6\u522B",qm="\u94FE\u63A5",Um="\u5217\u8868\u9009\u62E9",Wm="\u5217\u8868\u89C6\u56FE",zm="\u64CD\u4F5C\u6309\u94AE",Km="\u5206\u9875",Gm="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Qm="\u8BF4\u660E\u6587\u5B57",Xm="\u6587\u5B57\u8BC6\u522B",Jm="\u6807\u9898\u7EC4\u4EF6",Zm="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ym="\u6570\u7EC4",pm="\u81EA\u52A8\u7F16\u53F7",eg="\u81EA\u5B9A\u4E49",tg="\u6570\u503C",ng="\u90E8\u95E8",ig="\u4EBA\u5458",ug="\u9644\u4EF6",ag="\u56FE\u7247",rg="\u5730\u5740",lg="\u64CD\u4F5C",og="\u5E8F\u53F7",cg="\u4EBA\u5458",sg="\u957F\u6587\u672C",dg="\u65E5\u671F\u533A\u95F4",hg="\u65E5\u671F",fg="\u77ED\u6587\u672C",yg="\u6362\u884C\u5BB9\u5668Wrap",vg="\u8868\u683C",mg="\u660E\u7EC6\u5B50\u8868",gg="\u5730\u5740",bg="\u91D1\u989D",_g="\u8BA1\u7B97\u516C\u5F0F",Cg="\u591A\u9009",Eg="\u7535\u5B50\u7B7E\u7AE0",wg="\u5355\u884C\u6587\u672C",Bg="\u6570\u5B57",Sg="\u4E1A\u52A1\u7EC4\u7EC7",Ig="\u5355\u9009",Ag="\u5BCC\u6587\u672C",Tg="\u8BC4\u5206",Fg="\u6570\u5B57\u533A\u95F4",Rg="\u4E0B\u62C9\u5355\u9009",Dg="\u4E0B\u62C9\u591A\u9009",xg="\u5173\u8054\u5355\u9009",Pg="\u591A\u884C\u6587\u672C",kg="\u6811",Og="Vue\u5BB9\u5668",Mg="Vue\u9875\u9762",$g="\u5728\u7EBF\u6587\u6863",Lg="\u6309\u94AE\u64CD\u4F5C\u680F",Ng="\u9AD8\u7EA7\u5BB9\u5668",Vg="\u5206\u7EC4",Hg="\u6805\u683C\u5217",jg="\u6570\u636E\u5BB9\u5668",qg="\u753B\u5E03",Ug="\u6362\u884C\u5BB9\u5668",Wg="\u6805\u683C\u7B49\u5206\u884C",zg="\u5217\u8868\u5BB9\u5668",Kg="\u81EA\u7531\u9875\u9762",Gg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Qg="\u5B9A\u4F4D\u5BB9\u5668",Xg="\u6805\u683C\u5E03\u5C40",Jg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Zg="\u660E\u7EC6\u5B50\u8868\u884C",Yg="\u6807\u7B7E\u9875",pg="\u6807\u7B7E\u5355\u5143",e0="\u5DE5\u5177\u680F",t0="\u6279\u91CF\u63D0\u4EA4",n0="\u5BFC\u51FA\u8BB0\u5F55",i0="\u5217\u8868\u89C6\u56FE",u0={isNotNumber:yv,isNotString:vv,isNotObject:mv,isNotArray:gv,isNotBoolean:bv,runtimeRequired:_v,pleaseEnterCaption:Cv,pleaseEnterCaptionTip:Ev,pleaseEnterRowCaption:wv,pleaseEnterPlaceholder:Bv,pleaseEnterFieldCode:Sv,pleaseEnterForm:Iv,pleaseEnterList:Av,pleaseEnterProcess:Tv,pleaseEnterLabel:Fv,pleaseEnterValue:Rv,bizKeyNotBindFiled:Dv,pleaseSelectOneField:xv,pleaseEnterNumberRange:Pv,pleaseEnterAValueGreaterThanMin:kv,pleaseEnterAValueLessThanMax:Ov,numberRangeSetError:Mv,stringRangeError:$v,attachmentMaxSize:Lv,pleaseEnterTotalScoreSetting:Nv,theTotalScoreMustNotBeLessThan1:Vv,scoreDefaultValueRange:Hv,attachmentLimitError:jv,PleaseReselectTheOptionalQuantity:qv,TheMaximumLengthIsGreaterThanTheMinimumLength:Uv,TheMinimumLengthIsGreaterThanTheMaximumLength:Wv,PleaseSelectTheCorrectOptionSettings:zv,optionIdIsRepeat:Kv,optionIsRequired:Gv,pleaseEnterDataCode:Qv,pleaseEnterValueFieldCode:Xv,pleaseEnterSvcCode:Jv,pleaseBindAtLeastOneDisplayValue:Zv,pleaseSelectProvince:Yv,pleaseSelectCity:pv,pleaseSelectDistrict:em,limitRowsCannotBeLessThan0:tm,TheNumberOfRowsCannotBeLessThanMinRows:nm,pleaseEnterColumnWidth:im,pleaseSetTheLogicalRelationshipOfAllRuleConditions:um,pleaseCompleteAllRulesAndConditions:am,pleaseSelectControl:rm,pleaseSelectDashboard:lm,theViewNameCannotBeEmpty:om,pleaseSelectOcrType:cm,pleaseSelectAtLeastOneFieldToFillIn:sm,pleaseChooseAtLeastOne:dm,pleaseEnterButtonContent:hm,pleaseEnterDataCodeInDataSetting:fm,pleaseEnterValueFieldCodeInDataSetting:ym,pleaseEnterSvcCodeInDataSetting:vm,pleaseBindAtLeastOneDisplayValueInDataSetting:mm,rootNodeIsRequiredInDataSetting:gm,pleaseEnterMaxHeight:bm,pleaseEnter:_m,pleaseEnterWatermark:Cm,pleaseEnterFileName:Em,pleaseUploadAtLeastOnePrintTemplate:wm,pleaseAssignBusiness:Bm,pleaseAssignExternal:Sm,pleaseEnterAliasCode:Im,pleaseSelectDataCode:Am,pleaseSelectSvcCode:Tm,pleaseSelectJoinFieldCode:Fm,pleaseSelectMainFieldCode:Rm,pleaseSelectSortFieldCode:Dm,batchDeleteButton:xm,batchPrintListButton:Pm,batchPrintRecordList:km,button:Om,createFormListButton:Mm,dashboard:$m,divider:Lm,exportListButton:Nm,formSelectButton:Vm,importRecordListButton:Hm,invoiceCheckButton:jm,link:qm,listSelectButton:Um,ListViewSelect:Wm,operationButton:zm,pagination:Km,submissionRecordListButton:Gm,text:Qm,textOcrButton:Xm,title:Jm,approvalStatusColumn:Zm,array:Ym,autoNumber:pm,custom:eg,decimal:tg,department:ng,employee:ig,file:ug,image:ag,location:rg,operation:lg,order:og,people:cg,long:sg,timescope:dg,timestamp:hg,varchar:fg,gridLayoutWrap:yg,gridTable:vg,subTable:mg,address:gg,amount:bg,calc:_g,checkBox:Cg,electronicSignature:Eg,input:wg,number:Bg,organizationSelection:Sg,radio:Ig,richText:Ag,score:Tg,searchNumberRange:Fg,select:Rg,selectMultiple:Dg,selectRelation:xg,textarea:Pg,tree:kg,vueFormItem:Og,vuePage:Mg,WPS:$g,actionBar:Lg,advancedContainer:Ng,cardGroup:Vg,col:Hg,dataView:jg,grid:qg,gridLayoutContainer:Ug,gridRow:Wg,listView:zg,page:Kg,position:Gg,positioningContainer:Qg,row:Xg,subtableColumn:Jg,subtableRow:Zg,tab:Yg,tabPane:pg,toolbox:e0,batchSubmissionListButton:t0,exportRecordListButton:n0,listViewSelect:i0},a0="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",r0="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",l0="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",o0="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",c0="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",s0="{caption}\u5FC5\u9808",d0="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",h0="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",f0="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",y0="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",v0="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",m0="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",g0="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",b0="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_0="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",C0="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",E0="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",w0="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",B0="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",S0="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",I0="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",A0="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",T0="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",F0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",R0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",D0="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",x0="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",P0="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",k0="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",O0="\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",M0="\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",$0="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",L0="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",N0="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",V0="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",H0="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",j0="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",q0="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",U0="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",W0="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",z0="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",K0="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",G0="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Q0="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",X0="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",J0="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Z0="please select control",Y0="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",p0="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",eb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ib="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ub="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ab="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",rb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",lb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",ob="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",cb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",db="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",hb="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",fb="\u5370\u5237\u30C6\u30F3\u30D7\u30EC\u30FC\u30C8\u3092\u5C11\u306A\u304F\u3068\u30821\u3064\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u3057\u3066\u304F\u3060\u3055\u3044\uFF01\uFF01",yb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",mb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",gb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",bb="\u95A2\u9023\u30C6\u30FC\u30D6\u30EB\u8A2D\u5B9A\u30D0\u30A4\u30F3\u30C9\u30B5\u30FC\u30D3\u30B9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_b="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Cb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wb="\u6279\u91CF\u5220\u9664",Bb="\u6279\u91CF\u6253\u5370",Sb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Ib="\u6309\u94AE",Ab="\u521B\u5EFA\u5355\u636E",Tb="\u4EEA\u8868\u76D8",Fb="\u5206\u5272\u7EBF",Rb="\u5BFC\u51FA",Db="\u8868\u5355\u64CD\u4F5C",xb="\u5BFC\u5165",Pb="\u53D1\u7968\u8BC6\u522B",kb="\u94FE\u63A5",Ob="\u5217\u8868\u9009\u62E9",Mb="\u5217\u8868\u89C6\u56FE",$b="\u64CD\u4F5C\u6309\u94AE",Lb="\u5206\u9875",Nb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Vb="\u8BF4\u660E\u6587\u5B57",Hb="\u6587\u5B57\u8BC6\u522B",jb="\u6807\u9898\u7EC4\u4EF6",qb="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Ub="\u6570\u7EC4",Wb="\u81EA\u52A8\u7F16\u53F7",zb="\u81EA\u5B9A\u4E49",Kb="\u6570\u503C",Gb="\u90E8\u95E8",Qb="\u4EBA\u5458",Xb="\u9644\u4EF6",Jb="\u56FE\u7247",Zb="\u5730\u5740",Yb="\u64CD\u4F5C",pb="\u5E8F\u53F7",e_="\u4EBA\u5458",t_="\u957F\u6587\u672C",n_="\u65E5\u671F\u533A\u95F4",i_="\u65E5\u671F",u_="\u77ED\u6587\u672C",a_="\u6362\u884C\u5BB9\u5668Wrap",r_="\u8868\u683C",l_="\u660E\u7EC6\u5B50\u8868",o_="\u5730\u5740",c_="\u91D1\u989D",s_="\u8BA1\u7B97\u516C\u5F0F",d_="\u591A\u9009",h_="\u7535\u5B50\u7B7E\u7AE0",f_="\u5355\u884C\u6587\u672C",y_="\u6570\u5B57",v_="\u4E1A\u52A1\u7EC4\u7EC7",m_="\u5355\u9009",g_="\u5BCC\u6587\u672C",b_="\u8BC4\u5206",__="\u6570\u5B57\u533A\u95F4",C_="\u4E0B\u62C9\u5355\u9009",E_="\u4E0B\u62C9\u591A\u9009",w_="\u5173\u8054\u5355\u9009",B_="\u591A\u884C\u6587\u672C",S_="\u6811",I_="Vue\u5BB9\u5668",A_="Vue\u9875\u9762",T_="\u5728\u7EBF\u6587\u6863",F_="\u6309\u94AE\u64CD\u4F5C\u680F",R_="\u9AD8\u7EA7\u5BB9\u5668",D_="\u5206\u7EC4",x_="\u6805\u683C\u5217",P_="\u6570\u636E\u5BB9\u5668",k_="\u753B\u5E03",O_="\u6362\u884C\u5BB9\u5668",M_="\u6805\u683C\u7B49\u5206\u884C",$_="\u5217\u8868\u5BB9\u5668",L_="\u81EA\u7531\u9875\u9762",N_="\u5B9A\u4F4D\u5B50\u5BB9\u5668",V_="\u5B9A\u4F4D\u5BB9\u5668",H_="\u6805\u683C\u5E03\u5C40",j_="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",q_="\u660E\u7EC6\u5B50\u8868\u884C",U_="\u6807\u7B7E\u9875",W_="\u6807\u7B7E\u5355\u5143",z_="\u5DE5\u5177\u680F",K_="\u6279\u91CF\u63D0\u4EA4",G_="\u5BFC\u51FA\u8BB0\u5F55",Q_="\u5217\u8868\u89C6\u56FE",X_={isNotNumber:a0,isNotString:r0,isNotObject:l0,isNotArray:o0,isNotBoolean:c0,runtimeRequired:s0,pleaseEnterCaption:d0,pleaseEnterCaptionTip:h0,pleaseEnterRowCaption:f0,pleaseEnterPlaceholder:y0,pleaseEnterFieldCode:v0,pleaseEnterForm:m0,pleaseEnterList:g0,pleaseEnterProcess:b0,pleaseEnterLabel:_0,pleaseEnterValue:C0,bizKeyNotBindFiled:E0,pleaseSelectOneField:w0,pleaseEnterNumberRange:B0,pleaseEnterAValueGreaterThanMin:S0,pleaseEnterAValueLessThanMax:I0,numberRangeSetError:A0,stringRangeError:T0,attachmentMaxSize:F0,pleaseEnterTotalScoreSetting:R0,theTotalScoreMustNotBeLessThan1:D0,scoreDefaultValueRange:x0,attachmentLimitError:P0,PleaseReselectTheOptionalQuantity:k0,TheMaximumLengthIsGreaterThanTheMinimumLength:O0,TheMinimumLengthIsGreaterThanTheMaximumLength:M0,PleaseSelectTheCorrectOptionSettings:$0,optionIdIsRepeat:L0,optionIsRequired:N0,pleaseEnterDataCode:V0,pleaseEnterValueFieldCode:H0,pleaseEnterSvcCode:j0,pleaseBindAtLeastOneDisplayValue:q0,pleaseSelectProvince:U0,pleaseSelectCity:W0,pleaseSelectDistrict:z0,limitRowsCannotBeLessThan0:K0,TheNumberOfRowsCannotBeLessThanMinRows:G0,pleaseEnterColumnWidth:Q0,pleaseSetTheLogicalRelationshipOfAllRuleConditions:X0,pleaseCompleteAllRulesAndConditions:J0,pleaseSelectControl:Z0,pleaseSelectDashboard:Y0,theViewNameCannotBeEmpty:p0,pleaseSelectOcrType:eb,pleaseSelectAtLeastOneFieldToFillIn:tb,pleaseChooseAtLeastOne:nb,pleaseEnterButtonContent:ib,pleaseEnterDataCodeInDataSetting:ub,pleaseEnterValueFieldCodeInDataSetting:ab,pleaseEnterSvcCodeInDataSetting:rb,pleaseBindAtLeastOneDisplayValueInDataSetting:lb,rootNodeIsRequiredInDataSetting:ob,pleaseEnterMaxHeight:cb,pleaseEnter:sb,pleaseEnterWatermark:db,pleaseEnterFileName:hb,pleaseUploadAtLeastOnePrintTemplate:fb,pleaseAssignBusiness:yb,pleaseAssignExternal:vb,pleaseEnterAliasCode:mb,pleaseSelectDataCode:gb,pleaseSelectSvcCode:bb,pleaseSelectJoinFieldCode:_b,pleaseSelectMainFieldCode:Cb,pleaseSelectSortFieldCode:Eb,batchDeleteButton:wb,batchPrintListButton:Bb,batchPrintRecordList:Sb,button:Ib,createFormListButton:Ab,dashboard:Tb,divider:Fb,exportListButton:Rb,formSelectButton:Db,importRecordListButton:xb,invoiceCheckButton:Pb,link:kb,listSelectButton:Ob,ListViewSelect:Mb,operationButton:$b,pagination:Lb,submissionRecordListButton:Nb,text:Vb,textOcrButton:Hb,title:jb,approvalStatusColumn:qb,array:Ub,autoNumber:Wb,custom:zb,decimal:Kb,department:Gb,employee:Qb,file:Xb,image:Jb,location:Zb,operation:Yb,order:pb,people:e_,long:t_,timescope:n_,timestamp:i_,varchar:u_,gridLayoutWrap:a_,gridTable:r_,subTable:l_,address:o_,amount:c_,calc:s_,checkBox:d_,electronicSignature:h_,input:f_,number:y_,organizationSelection:v_,radio:m_,richText:g_,score:b_,searchNumberRange:__,select:C_,selectMultiple:E_,selectRelation:w_,textarea:B_,tree:S_,vueFormItem:I_,vuePage:A_,WPS:T_,actionBar:F_,advancedContainer:R_,cardGroup:D_,col:x_,dataView:P_,grid:k_,gridLayoutContainer:O_,gridRow:M_,listView:$_,page:L_,position:N_,positioningContainer:V_,row:H_,subtableColumn:j_,subtableRow:q_,tab:U_,tabPane:W_,toolbox:z_,batchSubmissionListButton:K_,exportRecordListButton:G_,listViewSelect:Q_},yu={zhCN:fv,enUS:u0,jaJP:X_},Rr;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Rr||(Rr={}));var Dr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Dr||(Dr={}));var vu,J_=(vu=window.localStorage.getItem("locale"))!==null&&vu!==void 0?vu:"zh-CN",it;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(it||(it={}));var xr;(function(t){t[t.FORM=0]="FORM",t[t.LIST=1]="LIST",t[t.REPORT=2]="REPORT",t[t.DASHBOARD=3]="DASHBOARD",t[t.VUE=4]="VUE",t[t.FREE_PAGE=5]="FREE_PAGE"})(xr||(xr={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.BATCH_DELETE_LIST_BUTTON="list-page-btn-batch-delete",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.OPERATION_BUTTON="operation-button",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",t.VUE_PAGE="vue-page"})(S||(S={}));var Pr;(function(t){t.SAVE="save",t.DRAFT="draft",t.UNSUBMIT="unsubmit",t.AUDIT="audit",t.UNAUDIT="unaudit",t.CANCEL="cancel",t.FORM_SUBMIT="form_submit"})(Pr||(Pr={}));var b;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.LIST="list",t.JSON="json",t.ANY="ANY"})(b||(b={}));var Se;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Se||(Se={}));var kr={DEFAULT:"default"},Or="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",Z_=Or+"0123456789";function de(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Or:Z_,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function mu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Y_(t){if(Array.isArray(t))return mu(t)}function p_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mr(t,e,n){return e=kt(e),iC(t,bu()?Reflect.construct(e,n||[],kt(t).constructor):e.apply(t,n))}function $r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e,n){return bu()?Pn=Reflect.construct:Pn=function(u,a,r){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(u,l),c=new d;return r&&Ot(c,r.prototype),c},Pn.apply(null,arguments)}function kt(t){return kt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kt(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&&Ot(t,e)}function eC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function tC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nC(){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 iC(t,e){return e&&(uC(e)==="object"||typeof e=="function")?e:p_(t)}function Ot(t,e){return Ot=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ot(t,e)}function Nr(t){return Y_(t)||tC(t)||aC(t)||nC()}function uC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function aC(t,e){if(!!t){if(typeof t=="string")return mu(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 mu(t,e)}}function gu(t){var e=typeof Map=="function"?new Map:void 0;return gu=function(i){if(i===null||!eC(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Pn(i,arguments,kt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Ot(u,i)},gu(t)}function bu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bu=function(){return!!t})()}var _u=console;function Cu(){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=_u).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Nr(u)))}function Vr(){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=_u).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Nr(u)))}function rC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Eu=function(t){Lr(e,t);function e(n){$r(this,e);var i;return i=Mr(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?rC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(gu(Error)),lC=function(t){Lr(e,t);function e(n){$r(this,e);var i;return i=Mr(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Eu);function Mt(t){throw new Eu(t)}function Hr(t){throw new lC(t)}function oC(t){_u.error(new Eu(t))}const cC=(t,e,n)=>{if(!t)return console.error("getLocaleText\u7684key\u4E0D\u80FD\u4E3A\u7A7A"),"";const i=t.split(".");let u;const a=(window.baitedaWorkers||{}).languageMessages||{};i.forEach((l,d)=>{d===0?u=a[l]:u&&(u=u[l])});let r="";return u&&(r=u),e&&Object.keys(e).forEach(l=>{const d=e[l];r=r.replace(new RegExp(`\\{\\s*${l}\\s*\\}`,"g"),d)}),r||(n?r=n:r=t),r};function sC(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 dC(t,e,n){return e&&jr(t.prototype,e),n&&jr(t,n),t}function hC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var o=function(){function t(){sC(this,t)}return dC(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return cC("CMD."+n,i,yu==null||(u=yu[J_.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();hC(o,"$i18n",o.resetI18n());function fC(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,d){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){Cu("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===d.length-1&&!Object.is(c[r],n)&&(c[r]=n,u=!0),c[r]}},t),u}var yC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},vC={exports:{}};(function(t){(function(e){var n=function(v,E,T){if(!c(E)||m(E)||g(E)||_(E)||d(E))return E;var x,k=0,ae=0;if(f(E))for(x=[],ae=E.length;k<ae;k++)x.push(n(v,E[k],T));else{x={};for(var M in E)Object.prototype.hasOwnProperty.call(E,M)&&(x[v(M,T)]=n(v,E[M],T))}return x},i=function(v,E){E=E||{};var T=E.separator||"_",x=E.split||/(?=[A-Z])/;return v.split(x).join(T)},u=function(v){return w(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(E,T){return T?T.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var E=u(v);return E.substr(0,1).toUpperCase()+E.substr(1)},r=function(v,E){return i(v,E).toLowerCase()},l=Object.prototype.toString,d=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},f=function(v){return l.call(v)=="[object Array]"},m=function(v){return l.call(v)=="[object Date]"},g=function(v){return l.call(v)=="[object RegExp]"},_=function(v){return l.call(v)=="[object Boolean]"},w=function(v){return v=v-0,v===v},C=function(v,E){var T=E&&"process"in E?E.process:E;return typeof T!="function"?v:function(x,k){return T(x,v,k)}},I={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(v,E){return n(C(u,E),v)},decamelizeKeys:function(v,E){return n(C(r,E),v,E)},pascalizeKeys:function(v,E){return n(C(a,E),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=I:e.humps=I})(yC)})(vC);var qr={};Object.defineProperty(qr,"__esModule",{value:!0});function wu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:wu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:wu(i)}return e}}var mC=qr.default=wu;function gC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function le(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":gC(t))==="object"?mC(t):t}function bC(t){return Object.prototype.toString.call(t)==="[object Object]"}function Bu(t){return Array.isArray(t)}function _C(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Su(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function CC(t){if(Array.isArray(t))return Su(t)}function Ur(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function EC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){Ur(a,i,u,r,l,"next",d)}function l(d){Ur(a,i,u,r,l,"throw",d)}r(void 0)})}}function wC(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 BC(t,e,n){return e&&Wr(t.prototype,e),n&&Wr(t,n),t}function zr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function SC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function IC(){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 Iu(t){return CC(t)||SC(t)||AC(t)||IC()}function AC(t,e){if(!!t){if(typeof t=="string")return Su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Su(t,e)}}function TC(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(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var FC=function(){function t(){wC(this,t),zr(this,"_events",new Map),zr(this,"debug",!1)}return BC(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 EC(function(){var l,d,c,f,m,g,_,w,C,I,v,E;return TC(this,function(T){switch(T.label){case 0:if(l=r._events.get(n),d=[],!l)return[3,10];c=l.slice(),f=!0,m=!1,g=void 0,T.label=1;case 1:T.trys.push([1,8,9,10]),_=c[Symbol.iterator](),T.label=2;case 2:if(f=(w=_.next()).done)return[3,7];if(C=w.value,!l.includes(C))return[3,6];T.label=3;case 3:return T.trys.push([3,5,,6]),r.debug&&Vr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Iu(u))),[4,C.apply(null,Iu(u))];case 4:return I=T.sent(),r.debug&&Vr.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(C.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+C.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(Iu(u),[I])),d.push(I),I===!1?[3,7]:[3,6];case 5:return v=T.sent(),oC(String(v)+":"+String(v.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return E=T.sent(),m=!0,g=E,[3,10];case 9:try{!f&&_.return!=null&&_.return()}finally{if(m)throw g}return[7];case 10:return[2,d]}})})()}},{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 RC(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 DC(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function xC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var PC=[{key:"on_click",name:o.getMessage("click"),code:"click"},{key:"on_click_finish",name:o.getMessage("finished"),code:"click-finish"},{key:"on_change",name:o.getMessage("valueChange"),code:"change"},{key:"on_search",name:o.getMessage("search"),code:"search"},{key:"on_list_change",name:o.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:o.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:o.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:o.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:o.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:o.getMessage("onInput"),code:"input"},{key:"on_blur",name:o.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:o.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:o.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:o.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:o.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:o.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:o.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:o.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:o.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:o.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:o.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:o.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:o.getMessage("modalConfirm"),code:"modal-ok"}],kC=function(){function t(){RC(this,t)}return DC(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],u=n.eventKeys;i=i.concat(t.events.filter(function(r){return u.includes(r.key)}));var a=n.customEvents.map(function(r){var l=r.key;return r.namespace!==void 0&&r.namespace!==null&&r.namespace!==""&&(l=r.namespace+":"+r.key),{key:l,code:r.key,name:r.name}});return i=i.concat(a),i}}]),t}();xC(kC,"events",PC);function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function OC(t){if(Array.isArray(t))return Au(t)}function MC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function $C(){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 Gr(t){return OC(t)||MC(t)||LC(t)||$C()}function LC(t,e){if(!!t){if(typeof t=="string")return Au(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Au(t,e)}}function Tu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function Qr(t,e,n){n!=="Runtime"&&(t.parent=e,Tu(t,"parent"))}function NC(t,e,n){t.forEach(function(i){Qr(i,e,n)})}var Xr=Symbol("targetKey");function Jr(t){var e;return(e=t[Xr])!==null&&e!==void 0?e:t}function Zr(t,e,n){return NC(t,e,n),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),d=2;d<r;d++)l[d-2]=arguments[d];var c;return a===Xr?u:(c=Reflect).get.apply(c,[u,a].concat(Gr(l)))},set:function(u,a,r){for(var l=arguments.length,d=new Array(l>3?l-3:0),c=3;c<l;c++)d[c-3]=arguments[c];var f;if(Bu(t)&&a==="length"&&r===t.length)return!0;var m=(f=Reflect).set.apply(f,[u,a,r].concat(Gr(d)));return bC(r)&&Qr(r,e,n),m}})}function he(t,e,n,i,u){var a=i!=null?i:t,r=Zr(Jr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return r},set:function(d){r=Zr(Jr(d),a,u)},enumerable:!0})}function VC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yr(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 HC(t,e,n){return e&&Yr(t.prototype,e),n&&Yr(t,n),t}function Ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var pr=[],kn=function(){function t(e){VC(this,t),Ie(this,"registeredControlTypes",new Set),Ie(this,"controlConfigMap",new Map),Ie(this,"_controls",[]),Ie(this,"_type",void 0),this._type=e,this._initControls(e)}return HC(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__||Mt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Cu("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===it.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===it.FORM}},{key:"isListControl",value:function(n){return n.controlType===it.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===it.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(f){return u.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return u.createControl(f,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(f){return u.createControl(f,i)}))}var r=this.getControlFormType(n.type);if(r){var l=n;if(typeof i=="function"){var d=i(l);d&&(l=d)}var c;return r.mode==="Runtime"?(c=l,c.fieldType=r.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new r(l),c}else Mt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Tu(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var a=n.id,r=i._controlParentIdMap,l=i.instanceMap;if(!(!r||!l)){var d=r[a],c=l[a];if(!(!d&&!c)){var f=c.findIndex(function(_){return _==n}),m=l[d]||[],g;return m.length!==c.length?g=m[0]:g=m[f],g}}}}),Tu(n,"parent"))}},{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]),t.staticControlsRuntimeRules.set(u.Runtime.controlType,u.Property.RuntimeRules),u.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var u=t.staticControlsRuntimeRules.get(n),a=[];if(u){var r=new u(i);a=Array.from(r)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,r=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&Mt("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return l>-1&&(Cu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),r.mode=i,this}}]),t}();Ie(kn,"staticControlsRuntimeRules",new Map),Ie(kn,"staticControls",pr),Ie(kn,"staticRegisteredTypes",new Set(pr.map(function(t){return t.Designer.controlType}))),Ie(kn,"staticRegisteredConfigs",new Map);function jC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oe(t,e,n){return e=On(e),qC(t,el()?Reflect.construct(e,n||[],On(t).constructor):e.apply(t,n))}function B(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 On(t){return On=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},On(t)}function ce(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fu(t,e)}function qC(t,e){return e&&(UC(e)==="object"||typeof e=="function")?e:jC(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fu(t,e)}function UC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function el(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(el=function(){return!!t})()}var fe=function t(e){B(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},tl=function t(e){B(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},nl=function t(e){B(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},WC=function t(e){B(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new nl(e==null?void 0:e.pc),this.mobile=new nl(e==null?void 0:e.mobile)},Ru=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(tl),zC=function t(e){B(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})},KC=function t(e){B(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:[]},ut=function t(e){B(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:""},GC=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),il=function t(e){B(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Du=function t(e){B(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 il(r)}))!==null&&a!==void 0?a:[]},QC=function t(e){B(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:b.VARCHAR},XC=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var r;i.isOpenFilter=(r=n==null?void 0:n.isOpenFilter)!==null&&r!==void 0?r:!1;var l;return i.filters=(l=n==null?void 0:n.filters)!==null&&l!==void 0?l:[],i}return e}(ut),JC=function t(e){B(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 ut(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 QC(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 XC(r)}))!==null&&a!==void 0?a:[]},ZC=function t(e){B(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},$t=function t(e){B(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:[]},xu=function t(e){var n=this;B(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:de();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 d,c=new t(l);(d=n.children)===null||d===void 0||d.push(c)}else{var f,m=new Mn(l);(f=n.children)===null||f===void 0||f.push(m)}}))},Mn=function t(e){B(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:de();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 ZC(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new $t(e==null?void 0:e.rightVariableBo)},YC=function t(e){B(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 Y(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},te=function t(e){B(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:""},Pu=function t(e){B(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},pC=function t(e){B(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 ku(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new xu(l):new Mn(l)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new xu(l):new Mn(l)}))!==null&&a!==void 0?a:[];var r;this.orders=(r=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new pC(l)}))!==null&&r!==void 0?r:[]}var Y=function t(e){var n=this;B(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(f){var m;(m=n.displayBoList)===null||m===void 0||m.push(new Pu(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var c;this.svcCode=(c=e==null?void 0:e.svcCode)!==null&&c!==void 0?c:"",ku.call(this,e)},Ou=function t(e){B(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:[]},ge=function t(e){B(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,"formType",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,this.formType=e==null?void 0:e.formType;var d;this.icon=(d=e==null?void 0:e.icon)!==null&&d!==void 0?d:"iconliulan1";var c;this.needConfirm=(c=e==null?void 0:e.needConfirm)!==null&&c!==void 0?c:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},ul=function t(e){B(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 Pu(r)}))!==null&&a!==void 0?a:[]},$n=function(t){ce(e,t);function e(n){B(this,e);var i,u;i=oe(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new ul(r)}))!==null&&a!==void 0?a:[],i}return e}(Y),eE=function(t){ce(e,t);function e(n){B(this,e);var i,u;i=oe(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new ul(l)}))!==null&&a!==void 0?a:[];var r;return i.formCode=(r=n==null?void 0:n.formCode)!==null&&r!==void 0?r:"",i}return e}(Y),al=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new $t(n==null?void 0:n.rootNode);var u;return i.filterCode=(u=n==null?void 0:n.filterCode)!==null&&u!==void 0?u:"",i}return e}($n),rl=function t(e){B(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 te(r)}))!==null&&a!==void 0?a:[]},ll=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),ku.call(i,n),i}return e}(rl),ol=function(t){ce(e,t);function e(n){B(this,e);var i;i=oe(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(rl),cl=function t(e){B(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:""},tE=function t(e){B(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:de(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 be(t){var e;return(e=t==null?void 0:t.map(function(n){return new tE(n)}))!==null&&e!==void 0?e:[]}var Mu=function t(){B(this,t)},nE=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new fe(n==null?void 0:n.amount),i.currency=new fe(n==null?void 0:n.currency),i}return e}(Mu),iE=function t(e){B(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:"CNY"},uE=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new fe(n==null?void 0:n.min),i.max=new fe(n==null?void 0:n.max),i}return e}(Mu),aE=function t(e){B(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:""},rE=function t(e){B(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:""},lE=function(t){ce(e,t);function e(n){B(this,e);var i;return i=oe(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new fe(n==null?void 0:n.result),i.unit=new fe(n==null?void 0:n.unit),i}return e}(Mu),oE=function t(e){B(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:""},$u;(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"})($u||($u={}));var s;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.IS_SHOW_WATERMARK="isShowWatermark",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions",t.IS_PASTE="isPaste",t.SORTABLE="sortable"})(s||(s={}));var Lu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Lu||(Lu={}));var Ae=function t(e){B(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},cE=function t(e){B(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:de(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 il(r)}))!==null&&a!==void 0?a:[],ku.call(this,e)},sE=function t(e){B(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"},dE=function t(e){B(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:""},hE=function t(e){B(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:de();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var r;this.filters=(r=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new xu(d):new Mn(d)}))!==null&&r!==void 0?r:[];var l;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(l=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new fE(d)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},fE=function t(e){B(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},yE=function t(e){B(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(r){return new hE(r)}))!==null&&a!==void 0?a:[]:[]};function vE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mE(t,e,n){return e=Lt(e),_E(t,Hu()?Reflect.construct(e,n||[],Lt(t).constructor):e.apply(t,n))}function Nu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t,e,n){return Hu()?Ln=Reflect.construct:Ln=function(u,a,r){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(u,l),c=new d;return r&&Nt(c,r.prototype),c},Ln.apply(null,arguments)}function _e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Lt(t){return Lt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Lt(t)}function gE(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&&Nt(t,e)}function bE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function _E(t,e){return e&&(CE(e)==="object"||typeof e=="function")?e:vE(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function CE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Vu(t){var e=typeof Map=="function"?new Map:void 0;return Vu=function(i){if(i===null||!bE(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 Ln(i,arguments,Lt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},Vu(t)}function Hu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hu=function(){return!!t})()}var W=function t(e){Nu(this,t),_e(this,"isHide",{type:"boolean"})},$e=function(t){gE(e,t);function e(n){return Nu(this,e),mE(this,e)}return e}(Vu(Array)),z=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Nu(this,t),_e(this,"isHide",void 0),_e(this,"className",void 0),_e(this,"style",void 0),_e(this,"caption",void 0),_e(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new sE(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};_e(z,"mode",void 0),_e(z,"Rules",W),_e(z,"RuntimeRules",$e);function ye(){return ye=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},ye.apply(this,arguments)}function EE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function ju(t){return ju=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ju(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function wE(){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 wE()?Vn=Reflect.construct:Vn=function(u,a,r){var l=[null];l.push.apply(l,a);var d=Function.bind.apply(u,l),c=new d;return r&&Nn(c,r.prototype),c},Vn.apply(null,arguments)}function BE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function qu(t){var e=typeof Map=="function"?new Map:void 0;return qu=function(i){if(i===null||!BE(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,ju(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},qu(t)}var SE=/%[sdj%]/g,sl=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(sl=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Uu(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 ne(){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(SE,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(d){return"[Circular]"}break;default:return l}});return r}return u}function IE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||IE(e)&&typeof t=="string"&&!t)}function AE(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 dl(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 TE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var hl=function(t){EE(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}(qu(Error));function FE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(I){return i(I),I.length?g(new hl(I,Uu(I))):m()},w=TE(t);dl(w,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,d=0,c=[],f=new Promise(function(m,g){var _=function(C){if(c.push.apply(c,C),d++,d===l)return i(c),c.length?g(new hl(c,Uu(c))):m()};r.length||(i(c),m()),r.forEach(function(w){var C=t[w];a.indexOf(w)!==-1?dl(C,n,_):AE(C,n,_)})});return f.catch(function(m){return m}),f}function fl(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 yl(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]=ye(ye({},t[n]),i):t[n]=i}}return t}function vl(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(ne(u.messages.required,t.fullField))}function RE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var Wu={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},Vt={integer:function(e){return Vt.number(e)&&parseInt(e,10)===e},float:function(e){return Vt.number(e)&&!Vt.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"&&!Vt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Wu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Wu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Wu.hex)}};function DE(t,e,n,i,u){if(t.required&&e===void 0){vl(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?Vt[r](e)||i.push(ne(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(ne(u.messages.types[r],t.fullField,t.type))}function xE(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,f=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?f="number":g?f="string":_&&(f="array"),!f)return!1;_&&(c=e.length),g&&(c=e.replace(d,"_").length),a?c!==t.len&&i.push(ne(u.messages[f].len,t.fullField,t.len)):r&&!l&&c<t.min?i.push(ne(u.messages[f].min,t.fullField,t.min)):l&&!r&&c>t.max?i.push(ne(u.messages[f].max,t.fullField,t.max)):r&&l&&(c<t.min||c>t.max)&&i.push(ne(u.messages[f].range,t.fullField,t.min,t.max))}var at="enum";function PE(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(ne(u.messages[at],t.fullField,t[at].join(", ")))}function kE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(ne(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(ne(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var A={required:vl,whitespace:RE,type:DE,range:xE,enum:PE,pattern:kE};function OE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),K(e,"string")||(A.type(t,e,i,a,u),A.range(t,e,i,a,u),A.pattern(t,e,i,a,u),t.whitespace===!0&&A.whitespace(t,e,i,a,u))}n(a)}function ME(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function $E(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function LE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}function NE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),K(e)||A.type(t,e,i,a,u)}n(a)}function VE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function HE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function jE(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();A.required(t,e,i,a,u,"array"),e!=null&&(A.type(t,e,i,a,u),A.range(t,e,i,a,u))}n(a)}function qE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A.type(t,e,i,a,u)}n(a)}var UE="enum";function WE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[UE](t,e,i,a,u)}n(a)}function zE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),K(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function KE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!K(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),A.type(t,l,i,a,u),l&&A.range(t,l.getTime(),i,a,u)}}n(a)}function GE(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,r),n(a)}function zu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,a)&&!t.required)return n();A.required(t,e,i,r,u,a),K(e,a)||A.type(t,e,i,r,u)}n(r)}function QE(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(K(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Ht={string:OE,method:ME,number:$E,boolean:LE,regexp:NE,integer:VE,float:HE,array:jE,object:qE,enum:WE,pattern:zE,date:KE,url:zu,hex:zu,email:zu,required:GE,any:QE};function Ku(){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 Gu=Ku();function Te(t){this.rules=null,this._messages=Gu,this.define(t)}Te.prototype={messages:function(e){return e&&(this._messages=yl(Ku(),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 d(C){var I,v=[],E={};function T(x){if(Array.isArray(x)){var k;v=(k=v).concat.apply(k,x)}else v.push(x)}for(I=0;I<C.length;I++)T(C[I]);v.length?E=Uu(v):(v=null,E=null),l(v,E)}if(r.messages){var c=this.messages();c===Gu&&(c=Ku()),yl(c,r.messages),r.messages=c}else r.messages=this.messages();var f,m,g={},_=r.keys||Object.keys(this.rules);_.forEach(function(C){f=u.rules[C],m=a[C],f.forEach(function(I){var v=I;typeof v.transform=="function"&&(a===e&&(a=ye({},a)),m=a[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:m,source:a,field:C}))})});var w={};return FE(g,r,function(C,I){var v=C.rule,E=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");E=E&&(v.required||!v.required&&C.value),v.field=C.field;function T(ae,M){return ye(ye({},M),{},{fullField:v.fullField+"."+ae})}function x(ae){ae===void 0&&(ae=[]);var M=ae;if(Array.isArray(M)||(M=[M]),!r.suppressWarning&&M.length&&Te.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(fl(v)),r.first&&M.length)return w[v.field]=1,I(M);if(!E)I(M);else{if(v.required&&!C.value)return v.message!==void 0?M=[].concat(v.message).map(fl(v)):r.error&&(M=[r.error(v,ne(r.messages.required,v.field))]),I(M);var re={};if(v.defaultField)for(var Rn in C.value)C.value.hasOwnProperty(Rn)&&(re[Rn]=v.defaultField);re=ye(ye({},re),C.rule.fields);for(var we in re)if(re.hasOwnProperty(we)){var su=Array.isArray(re[we])?re[we]:[re[we]];re[we]=su.map(T.bind(null,we))}var Dn=new Te(re);Dn.messages(r.messages),C.rule.options&&(C.rule.options.messages=r.messages,C.rule.options.error=r.error),Dn.validate(C.value,C.rule.options||r,function(Dt){var Be=[];M&&M.length&&Be.push.apply(Be,M),Dt&&Dt.length&&Be.push.apply(Be,Dt),I(Be.length?Be:null)})}}var k;v.asyncValidator?k=v.asyncValidator(v,C.value,x,C.source,r):v.validator&&(k=v.validator(v,C.value,x,C.source,r),k===!0?x():k===!1?x(v.message||v.field+" fails"):k instanceof Array?x(k):k instanceof Error&&x(k.message)),k&&k.then&&k.then(function(){return x()},function(ae){return x(ae)})},function(C){d(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ht.hasOwnProperty(e.type))throw new Error(ne("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"?Ht.required:Ht[this.getType(e)]||!1}},Te.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ht[e]=n},Te.warning=sl,Te.messages=Gu,Te.validators=Ht;var XE={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 JE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Te(t);return n.messages(Object.assign(XE,e)),n}var ZE=new FC;function Qu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function YE(t){if(Array.isArray(t))return t}function pE(t){if(Array.isArray(t))return Qu(t)}function ml(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function gl(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){ml(a,i,u,r,l,"next",d)}function l(d){ml(a,i,u,r,l,"throw",d)}r(void 0)})}}function ew(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function tw(t,e,n){return e&&bl(t.prototype,e),n&&bl(t,n),t}function P(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _l(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Cl(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function nw(){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 iw(){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 El(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){P(t,u,n[u])})}return t}function uw(t){return YE(t)||Cl(t)||wl(t)||nw()}function Xu(t){return pE(t)||Cl(t)||wl(t)||iw()}function aw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wl(t,e){if(!!t){if(typeof t=="string")return Qu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qu(t,e)}}function Bl(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(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var O=function(){function e(n){var i=this;ew(this,e),P(this,"id",void 0),P(this,"name",void 0),P(this,"icon",void 0),P(this,"type",void 0),P(this,"controlType",void 0),P(this,"props",void 0),P(this,"setting",[]),P(this,"fieldType",void 0),P(this,"eventKeys",[]),P(this,"customEvents",[]),P(this,"parent",null),P(this,"slots",void 0),P(this,"slotPosition",void 0),P(this,"updateSetting",Il),P(this,"removeSetting",Sl),this._callControlHooks("preInstance",n);var u=_l(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,d=u.controlFieldType,c=u.controlEventKeys,f=u.controlCustomEvents,m=u.name,g=u.setting,_=u.slots,w=u.slotPosition;a&&r&&l||Hr("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:de(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 z(n==null?void 0:n.props,(_l(this,e)?this.constructor:void 0).controlName);var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base",this.setting=le(g);var E;this.fieldType=(E=n==null?void 0:n.fieldType)!==null&&E!==void 0?E:d,this.eventKeys=le(c),this.customEvents=le(f),this.slots=le(_),this.slotPosition=le(w),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return tw(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=uw(u),d=l[0],c=l.slice(1);return(r=ZE).emit.apply(r,[d,this].concat(Xu(c)))}},{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),fC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return gl(function(){var u,a,r;return Bl(this,function(l){switch(l.label){case 0:return u=El({},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 gl(function(){var r,l,d,c;return Bl(this,function(f){switch(f.label){case 0:return[4,a.preValidate()];case 1:r=f.sent(),l=r!==void 0?r:El({},a.rules),Array.isArray(u)&&u.forEach(function(m){l.hasOwnProperty(m)&&delete l[m]}),d=JE(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,d.validate(a.props)];case 3:return f.sent(),[2,!0];case 4:throw c=f.sent(),c.control||(c.control=a),c;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,d=l.dataBind,c=l.datasourceBind,f=l.optionConfig,m=l.caption,g=l.required,_=l.maxLength,w=l.options,C=l.encrypted,I=l.encryptedMode;if(!(!u&&!d&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:r,props:{}};switch(d&&(v.dataBind=d),f){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=w;break}return g!==void 0&&(v.required=g),_!==void 0&&(v.maxLength=_),C!==void 0&&(v.encrypted=C),I!==void 0&&(v.encryptedMode=I),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:le(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,Xu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(O,"mode","Designer"),P(O,"slots",void 0),P(O,"slotPosition",void 0),P(O,"controlName","\u63A7\u4EF6"),P(O,"controlIcon","icon"),P(O,"controlType","control"),P(O,"controlFieldType",void 0),P(O,"controlEventKeys",[]),P(O,"controlCustomEvents",[]),P(O,"setting",[]),P(O,"__is_control__",!0),P(O,"removeSettingItem",Sl),P(O,"updateSettingItem",Il);function Sl(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",r=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(r!==-1){var l,d;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(r,1),a&&!(!((d=e.setting[r].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(r,1)}})}function Il(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(c){return c.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":aw(e))==="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Xu(e.showItems))}}}})}function rw(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 lw(t,e,n){return e&&Al(t.prototype,e),n&&Al(t,n),t}function ie(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ow(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var G=function(){function e(n){rw(this,e),ie(this,"id",void 0),ie(this,"type",void 0),ie(this,"controlType",void 0),ie(this,"props",void 0),ie(this,"fieldType",void 0),ie(this,"customEvents",[]),ie(this,"pageStatus",void 0),ie(this,"parent",null);var i=ow(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Hr("The ".concat(r," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:de(10);var c;this.type=(c=n==null?void 0:n.type)!==null&&c!==void 0?c:u,this.props=new z(n==null?void 0:n.props),this.customEvents=l;var f;this.controlType=(f=n==null?void 0:n.controlType)!==null&&f!==void 0?f:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Lu.UNKNOWN}return lw(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}();ie(G,"mode","Runtime"),ie(G,"controlType","control"),ie(G,"controlFieldType",void 0),ie(G,"__is_control__",!0),ie(G,"controlCustomEvents",[]);function Ju(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:o.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:o.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(o.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=_C(a);a.length!==r.length?u(o.getMessage("optionIdIsRepeat")):u()},message:o.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(o.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:o.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:o.getMessage("isNotBoolean")}}}}]}}])}function Hn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:o.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:o.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:o.getMessage("isNotString")},key:{type:"string",required:!0,message:o.getMessage("isNotString")},value:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(o.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:o.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:o.getMessage("isNotBoolean")}}}}]}}]}function cw(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function sw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jn(t,e,n){return e=Un(e),dw(t,Tl()?Reflect.construct(e,n||[],Un(t).constructor):e.apply(t,n))}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&&Zu(t,e)}function dw(t,e){return e&&(hw(e)==="object"||typeof e=="function")?e:sw(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function hw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Tl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Tl=function(){return!!t})()}var Q=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"dataBind",{}),L(i,"caption",{type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}),L(i,"isHideCaption",{type:"boolean"}),L(i,"labelPosition",{type:"enum",enum:["top","left"]}),L(i,"defaultState",{type:"enum",enum:["default","readonly"]}),L(i,"required",{type:"boolean"}),L(i,"captionTip",{type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")});var u={fieldCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")}};if(cw(n.dataBind))i.dataBind={type:"object",required:!0,fields:le(u),message:o.getMessage("pleaseEnterFieldCode")};else{var a={type:"object",required:!0,fields:{},message:o.getMessage("pleaseEnterFieldCode")};Object.keys(n.dataBind).forEach(function(r){a.fields[r]={type:"object",required:!0,fields:le(u),message:o.getMessage("pleaseEnterFieldCode")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(W),$=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:o.getMessage("runtimeRequired",{caption:n.caption})}),i}return e}($e),F=function(t){Wn(e,t);function e(n){qn(this,e);var i;i=jn(this,e,[n]),L(i,"caption",void 0),L(i,"isHideCaption",void 0),L(i,"isShowCaptionTip",void 0),L(i,"captionTip",void 0),L(i,"labelPosition",void 0),L(i,"dataBind",void 0),L(i,"defaultValue",void 0),L(i,"placeholder",void 0),L(i,"defaultState",void 0),L(i,"required",void 0),L(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.isHideCaption=(a=n==null?void 0:n.isHideCaption)!==null&&a!==void 0?a:!1;var r;i.isShowCaptionTip=(r=n==null?void 0:n.isShowCaptionTip)!==null&&r!==void 0?r:!1;var l;i.captionTip=(l=n==null?void 0:n.captionTip)!==null&&l!==void 0?l:"";var d;i.defaultState=(d=n==null?void 0:n.defaultState)!==null&&d!==void 0?d:"default";var c;i.labelPosition=(c=n==null?void 0:n.labelPosition)!==null&&c!==void 0?c:"top";var f;i.placeholder=(f=n==null?void 0:n.placeholder)!==null&&f!==void 0?f:"";var m;i.required=(m=n==null?void 0:n.required)!==null&&m!==void 0?m:!1;var g;i.requiredMessage=(g=n==null?void 0:n.requiredMessage)!==null&&g!==void 0?g:"",i.dataBind=new fe(n==null?void 0:n.dataBind);var _;return i.defaultValue=(_=n==null?void 0:n.defaultValue)!==null&&_!==void 0?_:"",i}return e}(z);L(F,"Rules",Q),L(F,"RuntimeRules",$);var rt=function(t){Wn(e,t);function e(n){qn(this,e);var i;return i=jn(this,e,[n]),L(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:o.getMessage("PleaseSelectTheCorrectOptionSettings")}),L(i,"options",[{type:"array",message:o.getMessage("isNotArray")}]),L(i,"datasourceBind",[{type:"object",message:o.getMessage("isNotObject")}]),Ju.call(i,n),i}return e}(Q);function fw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yw(t,e,n){return e=Kn(e),gw(t,Fl()?Reflect.construct(e,n||[],Kn(t).constructor):e.apply(t,n))}function vw(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 Kn(t){return Kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Kn(t)}function mw(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 gw(t,e){return e&&(bw(e)==="object"||typeof e=="function")?e:fw(t)}function Yu(t,e){return Yu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Yu(t,e)}function bw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Fl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Fl=function(){return!!t})()}var R=function(t){mw(e,t);function e(n){vw(this,e);var i;return i=yw(this,e,[n]),zn(i,"controlType","form"),zn(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(O);zn(R,"controlEventKeys",["on_change","on_focus","on_blur"]),zn(R,"controlCustomAttributes",void 0);function _w(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Cw(t,e,n){return e=Gn(e),Bw(t,Rl()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function Ew(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pu(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 ww(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ea(t,e)}function Bw(t,e){return e&&(Sw(e)==="object"||typeof e=="function")?e:_w(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function Sw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Rl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Rl=function(){return!!t})()}var D=function(t){ww(e,t);function e(n){Ew(this,e);var i;return i=Cw(this,e,[n]),pu(i,"controlType","form"),pu(i,"props",void 0),pu(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(G);function Iw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Aw(t,e,n){return e=Qn(e),Rw(t,Dl()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function Tw(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 Fw(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 Rw(t,e){return e&&(Dw(e)==="object"||typeof e=="function")?e:Iw(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}function Dw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Dl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Dl=function(){return!!t})()}var N=function(t){Fw(e,t);function e(n){return Tw(this,e),Aw(this,e,[n])}return e}(z);function na(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function xw(t){if(Array.isArray(t))return na(t)}function Pw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xl(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function kw(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){xl(a,i,u,r,l,"next",d)}function l(d){xl(a,i,u,r,l,"throw",d)}r(void 0)})}}function Ow(t,e,n){return e=Re(e),Ww(t,Ol()?Reflect.construct(e,n||[],Re(t).constructor):e.apply(t,n))}function Mw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pl(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 $w(t,e,n){return e&&Pl(t.prototype,e),n&&Pl(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function lt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?lt=Reflect.get:lt=function(u,a,r){var l=zw(u,a);if(!!l){var d=Object.getOwnPropertyDescriptor(l,a);return d.get?d.get.call(r||u):d.value}},lt(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function Lw(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 Nw(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Vw(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Hw(){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 jw(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){Fe(t,u,n[u])})}return t}function qw(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 Uw(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):qw(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function Ww(t,e){return e&&(Kw(e)==="object"||typeof e=="function")?e:Pw(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function zw(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function kl(t){return xw(t)||Vw(t)||Gw(t)||Hw()}function Kw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Gw(t,e){if(!!t){if(typeof t=="string")return na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(t,e)}}function Ol(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ol=function(){return!!t})()}function Qw(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(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var Xw=1e4,H=function(e){Lw(n,e);function n(i){Mw(this,n);var u;u=Ow(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var a=Nw(this,n)?this.constructor:void 0,r=a.excludes,l=a.childrenMaxLength;return u.props=new N(i==null?void 0:i.props),he(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=le(r),u.childrenMaxLength=l,u}return $w(n,[{key:"judgeExcludesChildren",value:function(u){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(u)}},{key:"judgeJoinChildren",value:function(u){var a=this.judgeExcludesChildren(u);return a&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(u,a){var r=this,l=this,d=function(){return lt(Re(n.prototype),"validate",r)};return kw(function(){return Qw(this,function(c){switch(c.label){case 0:return[4,d().call(l,u,a)];case 1:return c.sent(),[4,Promise.all(l.children.map(function(f){return f.validate(u,a)}))];case 2:return c.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=lt(Re(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[];return this.children.reduce(function(l,d){var c=d.toDataBindModel(u);if(Array.isArray(c)){var f=c.filter(function(m){return!!m});return kl(l).concat(kl(f))}return c&&l.push(c),l},r)}},{key:"toSchema",value:function(){var u=lt(Re(n.prototype),"toSchema",this).call(this),a=this.children.map(function(r){var l=r.toSchema();return l});return Uw(jw({},u),{children:a})}}]),n}(O);Fe(H,"excludes",!1),Fe(H,"childrenMaxLength",Xw);function Jw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zw(t,e,n){return e=Xn(e),e5(t,Ml()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function Yw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ua(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function pw(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 e5(t,e){return e&&(t5(e)==="object"||typeof e=="function")?e:Jw(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function t5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ml(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ml=function(){return!!t})()}var j=function(t){pw(e,t);function e(n){Yw(this,e);var i;return i=Zw(this,e,[n]),ua(i,"controlType","layout"),ua(i,"children",void 0),ua(i,"props",void 0),i.props=new N(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(G);function n5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i5(t,e,n){return e=Jn(e),r5(t,$l()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function u5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function a5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ra(t,e)}function r5(t,e){return e&&(l5(e)==="object"||typeof e=="function")?e:n5(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function l5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $l(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($l=function(){return!!t})()}var Zn=function(t){a5(e,t);function e(n,i,u){u5(this,e);var a;a=i5(this,e,[i]),ot(a,"headers",void 0),ot(a,"footers",void 0),ot(a,"pageIndex",void 0),ot(a,"pageSize",void 0),ot(a,"pageSizeOptions",void 0),ot(a,"totalCount",void 0),he(a,"headers",i==null?void 0:i.headers,n,u),he(a,"footers",i==null?void 0:i.footers,n);var r;a.pageIndex=(r=i==null?void 0:i.pageIndex)!==null&&r!==void 0?r:1;var l;a.pageSize=(l=i==null?void 0:i.pageSize)!==null&&l!==void 0?l:20;var d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var c;return a.totalCount=(c=i==null?void 0:i.totalCount)!==null&&c!==void 0?c:0,a}return e}(z);function la(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 o5(t){if(Array.isArray(t))return la(t)}function c5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ll(t,e,n,i,u,a,r){try{var l=t[a](r),d=l.value}catch(c){n(c);return}l.done?e(d):Promise.resolve(d).then(i,u)}function s5(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(d){Ll(a,i,u,r,l,"next",d)}function l(d){Ll(a,i,u,r,l,"throw",d)}r(void 0)})}}function d5(t,e,n){return e=De(e),b5(t,ql()?Reflect.construct(e,n||[],De(t).constructor):e.apply(t,n))}function h5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nl(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 f5(t,e,n){return e&&Nl(t.prototype,e),n&&Nl(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,r){var l=_5(u,a);if(!!l){var d=Object.getOwnPropertyDescriptor(l,a);return d.get?d.get.call(r||u):d.value}},ct(t,e,n||t)}function De(t){return De=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},De(t)}function y5(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&&oa(t,e)}function v5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function m5(){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 Vl(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function g5(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 Hl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):g5(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function b5(t,e){return e&&(C5(e)==="object"||typeof e=="function")?e:c5(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function _5(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=De(t),t!==null););return t}function jl(t){return o5(t)||v5(t)||E5(t)||m5()}function C5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function E5(t,e){if(!!t){if(typeof t=="string")return la(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 la(t,e)}}function ql(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ql=function(){return!!t})()}function w5(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(c){return function(f){return d([c,f])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=c[0]&2?i.return:c[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,c[1])).done)return u;switch(i=0,u&&(c=[c[0]&2,u.value]),c[0]){case 0:case 1:u=c;break;case 4:return r.label++,{value:c[1],done:!1};case 5:r.label++,i=c[1],c=[0];continue;case 7:c=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){r=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){r.label=c[1];break}if(c[0]===6&&r.label<u[1]){r.label=u[1],u=c;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(c);break}u[2]&&r.ops.pop(),r.trys.pop();continue}c=e.call(t,r)}catch(f){c=[6,f],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var ca=function(t){y5(e,t);function e(n){h5(this,e);var i;return i=d5(this,e,[n]),Yn(i,"controlType","list"),Yn(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Designer"),i}return f5(e,[{key:"validate",value:function(i,u){var a=this,r=this,l=function(){return ct(De(e.prototype),"validate",a)};return s5(function(){return w5(this,function(d){switch(d.label){case 0:return[4,l().call(r,i)];case 1:return d.sent(),[4,Promise.all(r.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=ct(De(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(r,l){var d=l.toDataBindModel(a);if(Array.isArray(d)){var c=d.filter(function(f){return!!f});return jl(r).concat(jl(c))}return d&&r.push(d),r},u)}},{key:"toSchema",value:function(){var i=ct(De(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return Hl(Vl({},i),{props:Hl(Vl({},this.props),{headers:u})})}}]),e}(O);Yn(ca,"controlFieldType",b.LIST);function B5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function S5(t,e,n){return e=pn(e),F5(t,Wl()?Reflect.construct(e,n||[],pn(t).constructor):e.apply(t,n))}function I5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ul(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 A5(t,e,n){return e&&Ul(t.prototype,e),n&&Ul(t,n),t}function sa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function T5(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 F5(t,e){return e&&(R5(e)==="object"||typeof e=="function")?e:B5(t)}function da(t,e){return da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},da(t,e)}function R5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wl=function(){return!!t})()}var zl=function(t){T5(e,t);function e(n){I5(this,e);var i;return i=S5(this,e,[n]),sa(i,"controlType","list"),sa(i,"children",void 0),sa(i,"props",void 0),i.props=new Zn(i,n==null?void 0:n.props,"Runtime"),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return A5(e,[{key:"length",get:function(){return this.children.length}}]),e}(G);function D5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ha(t,e,n){return e=ei(e),x5(t,Kl()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function fa(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function X(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function ya(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 x5(t,e){return e&&(P5(e)==="object"||typeof e=="function")?e:D5(t)}function va(t,e){return va=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},va(t,e)}function P5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Kl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Kl=function(){return!!t})()}var ve=function(t){ya(e,t);function e(n){fa(this,e);var i;return i=ha(this,e,[n]),X(i,"caption",{type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}),X(i,"width",{type:"number",required:!1,message:o.getMessage("pleaseEnterColumnWidth")}),i.width.required=n.widthType==="px",i}return e}(W),q=function(t){ya(e,t);function e(n){fa(this,e);var i;i=ha(this,e,[n]),X(i,"widthType",void 0),X(i,"width",void 0),X(i,"caption",void 0),X(i,"dataBind",void 0),X(i,"autoWidth",void 0),X(i,"fixed",void 0),X(i,"sort",void 0),X(i,"align",void 0),X(i,"colSpan",void 0),X(i,"autoHeight",void 0),X(i,"children",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:150,i.widthType=(n==null?void 0:n.widthType)||"auto";var a;i.caption=(a=n==null?void 0:n.caption)!==null&&a!==void 0?a:"";var r;i.fixed=(r=n==null?void 0:n.fixed)!==null&&r!==void 0?r:"none",i.autoWidth=new tl(n==null?void 0:n.autoWidth),i.dataBind=new fe(n==null?void 0:n.dataBind);var l;i.sort=(l=n==null?void 0:n.sort)!==null&&l!==void 0?l:!0,i.align=n==null?void 0:n.align,i.colSpan=n==null?void 0:n.colSpan;var d;return i.autoHeight=(d=n==null?void 0:n.autoHeight)!==null&&d!==void 0?d:!1,i}return e}(z);X(q,"Rules",ve);var Gl=function(t){ya(e,t);function e(n){fa(this,e);var i;return i=ha(this,e,[n]),X(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:o.getMessage("PleaseSelectTheCorrectOptionSettings")}),X(i,"options",[{type:"array",message:o.getMessage("isNotArray")}]),X(i,"datasourceBind",[{type:"object",message:o.getMessage("isNotObject")}]),Ju.call(i,n),i}return e}(ve);function k5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function O5(t,e,n){return e=st(e),j5(t,Xl()?Reflect.construct(e,n||[],st(t).constructor):e.apply(t,n))}function M5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ql(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 $5(t,e,n){return e&&Ql(t.prototype,e),n&&Ql(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 ni(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ni=Reflect.get:ni=function(u,a,r){var l=q5(u,a);if(!!l){var d=Object.getOwnPropertyDescriptor(l,a);return d.get?d.get.call(r||u):d.value}},ni(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function L5(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function N5(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 V5(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 H5(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):V5(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function j5(t,e){return e&&(U5(e)==="object"||typeof e=="function")?e:k5(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}function q5(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=st(t),t!==null););return t}function U5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Xl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xl=function(){return!!t})()}var J=function(t){L5(e,t);function e(n){M5(this,e);var i;return i=O5(this,e,[n]),ti(i,"controlType","column"),ti(i,"props",void 0),ti(i,"children",void 0),i.props=new q(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return $5(e,[{key:"toSchema",value:function(){var i=ni(st(e.prototype),"toSchema",this).call(this);return H5(N5({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(O);function W5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function z5(t,e,n){return e=ii(e),Q5(t,Jl()?Reflect.construct(e,n||[],ii(t).constructor):e.apply(t,n))}function K5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ga(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 G5(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 Q5(t,e){return e&&(X5(e)==="object"||typeof e=="function")?e:W5(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}function X5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jl=function(){return!!t})()}var Z=function(t){G5(e,t);function e(n){K5(this,e);var i;return i=z5(this,e,[n]),ga(i,"controlType","column"),ga(i,"props",void 0),ga(i,"children",void 0),i.props=new q(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(G);function J5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z5(t,e,n){return e=ui(e),tB(t,Zl()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function Y5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function p5(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 eB(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 tB(t,e){return e&&(nB(e)==="object"||typeof e=="function")?e:J5(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function nB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Zl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Zl=function(){return!!t})()}var Ca=function(t){eB(e,t);function e(n){Y5(this,e);var i;return i=Z5(this,e,[n]),p5(i,"dataBind",void 0),i.dataBind=new fe(n==null?void 0:n.dataBind),i}return e}(N);function iB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uB(t,e,n){return e=ai(e),lB(t,pl()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function aB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(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 rB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function lB(t,e){return e&&(oB(e)==="object"||typeof e=="function")?e:iB(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function oB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function pl(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(pl=function(){return!!t})()}var cB=function(t){rB(e,t);function e(n){aB(this,e);var i;return i=uB(this,e,[n]),Yl(i,"controlType","search"),Yl(i,"props",void 0),i.props=new Ca(n==null?void 0:n.props),i}return e}(H);function sB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dB(t,e,n){return e=ri(e),yB(t,to()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function hB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(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 fB(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 yB(t,e){return e&&(vB(e)==="object"||typeof e=="function")?e:sB(t)}function wa(t,e){return wa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},wa(t,e)}function vB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function to(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(to=function(){return!!t})()}var mB=function(t){fB(e,t);function e(n){hB(this,e);var i;return i=dB(this,e,[n]),eo(i,"controlType","search"),eo(i,"props",void 0),i.props=new Ca(n==null?void 0:n.props),i}return e}(j);function gB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bB(t,e,n){return e=li(e),EB(t,no()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function _B(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function CB(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 EB(t,e){return e&&(wB(e)==="object"||typeof e=="function")?e:gB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function wB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function no(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(no=function(){return!!t})()}var Sa=function(t){CB(e,t);function e(n){return _B(this,e),bB(this,e,[n])}return e}(N);function BB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SB(t,e,n){return e=oi(e),TB(t,uo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function IB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function io(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 AB(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 TB(t,e){return e&&(FB(e)==="object"||typeof e=="function")?e:BB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function FB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}var RB=function(t){AB(e,t);function e(n){IB(this,e);var i;return i=SB(this,e,[n]),io(i,"controlType","wrap"),io(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(H);function DB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xB(t,e,n){return e=ci(e),OB(t,ro()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function PB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ci(t){return ci=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ci(t)}function kB(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 OB(t,e){return e&&(MB(e)==="object"||typeof e=="function")?e:DB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function MB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ro(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ro=function(){return!!t})()}var $B=function(t){kB(e,t);function e(n){PB(this,e);var i;return i=xB(this,e,[n]),ao(i,"controlType","wrap"),ao(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(j);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterForm")}}}])}class Ta extends z{constructor(e){var n,i,u,a,r,l;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:o.getMessage("text"),this.align=(l=e==null?void 0:e.align)!=null?l:""}}class lo extends O{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return o.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}lo.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 LB extends G{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"text"}}var oo={Designer:lo,Runtime:LB,Property:Ta};class Fa extends z{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o.getMessage("linkContent"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Ra extends O{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ra.controlEventKeys=["on_click"],Ra.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 NB extends G{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"link"}}var co={Designer:Ra,Runtime:NB,Property:Fa};class ee extends z{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o.getMessage("button"),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=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(c=e==null?void 0:e.isLoading)!=null?c:!1,this.optObj=new dE((f=e==null?void 0:e.optObj)!=null?f:{})}}class p extends O{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return o.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",kr.DEFAULT],p.controlEventKeys=["on_click"],p.setting=[{key:"button-content",visible:!0},{key:"button-opt-type",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 ue extends G{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var so={Designer:p,Runtime:ue,Property:ee},Pe=(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))(Pe||{}),ho=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(ho||{}),fo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(fo||{});class si{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:de(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Da=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Da||{});class di{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:de(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var xa=(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))(xa||{});class Pa{constructor(e){var n,i,u,a,r,l,d,c;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new $t((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 $t((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new $t((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(c=e==null?void 0:e.remark)!=null?c:""}}class yo{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(d=>new Pa(d)))!=null?u:[new Pa],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 jt{constructor(e){var n,i,u,a,r,l,d;this.id=(n=e==null?void 0:e.id)!=null?n:de(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=(d=e==null?void 0:e.active)!=null?d:!1}}class ka{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 vo{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 ka(e==null?void 0:e.watermark),this.autoRename=new ka(e==null?void 0:e.autoRename)}}class mo{constructor(e){this.dataCode=e.dataCode}}class go{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new mo(a)))!=null?u:[]}}class bo{constructor(e){var n,i,u;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(u=(i=e==null?void 0:e.templateList)==null?void 0:i.map(a=>new jt(a)))!=null?u:[new jt({id:"default",name:o.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const _o=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Co{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 Eo{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 wo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(wo||{}),Oa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Oa||{}),hi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(hi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),Ma=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ma||{});class $a extends z{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:xa.SOLID}}class Bo extends O{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return o.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Bo.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class VB extends G{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"divider"}}var So={Designer:Bo,Runtime:VB,Property:$a};class HB extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:o.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:o.getMessage("bizKeyNotBindFiled")}},message:o.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:o.getMessage("pleaseSelectOneField")})}}class fi extends z{constructor(e){var n,i,u,a;super(e),this.dataBind=new fe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=HB;class dt extends O{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}dt.controlFieldType=b.AUTO_NUMBER,dt.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 jB extends G{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Io={Designer:dt,Runtime:jB,Property:fi};class qB extends W{constructor(e){super(e),this.formKey={type:"string",required:!0,message:o.getMessage("pleaseEnterForm")}}}class yi extends ee{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.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}yi.Rules=qB;class ht extends p{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.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 UB extends ue{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Ao={Designer:ht,Runtime:UB,Property:yi};class WB extends W{constructor(e){super(e),this.processKey=[{type:"string",message:o.getMessage("isNotString")},{type:"string",required:!0,message:o.getMessage("pleaseEnterProcess")}]}}class vi extends ee{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ft.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ft.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:""}}vi.Rules=WB;class ft extends p{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 zB extends ue{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var To={Designer:ft,Runtime:zB,Property:vi};class La extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:yt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:yt.controlIcon}}class yt extends p{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return o.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click"],yt.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 ue{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Fo={Designer:yt,Runtime:KB,Property:La};class Na extends ee{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new jt(l)))!=null?r:[new jt({id:"default",name:o.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends p{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return o.getMessage("exportListButton")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class GB extends ue{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ro={Designer:vt,Runtime:GB,Property:Na};class Va extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:mt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:mt.controlIcon}}class mt extends p{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlName(){return o.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.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 QB extends ue{constructor(e){super(e),this.props=new Va(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Do={Designer:mt,Runtime:QB,Property:Va};class XB{constructor(e){this.dataCode=e.dataCode}}class Ha extends ee{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(l=>new XB(l)))!=null?a:[],this.templateType=(r=e==null?void 0:e.templateType)!=null?r:"system"}}class gt extends p{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return o.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],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:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class JB extends ue{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var xo={Designer:gt,Runtime:JB,Property:Ha};function mi(){return{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:o.getMessage("pleaseSelectControl")}}}}}}class ZB extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:o.getMessage("pleaseSelectFillBackMode")}},mi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:o.getMessage("pleaseSelectControl")})}}class gi extends ee{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 ll(e==null?void 0:e.fillPayload),this.formBind=new GC(e==null?void 0:e.formBind),this.fillBack=new ol(e==null?void 0:e.fillBack)}}gi.Rules=ZB;class Ut extends p{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("formSelectButton")}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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class YB extends ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Po={Designer:Ut,Runtime:YB,Property:gi};class pB extends W{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},mi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:o.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:o.getMessage("pleaseSelectFillBackMode")}},mi())}}}class bi extends ee{constructor(e){var n,i,u,a,r;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 ll(e==null?void 0:e.fillPayload),this.listPageBind=new Du(e==null?void 0:e.listPageBind),this.fillBack=new ol(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),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(r=e==null?void 0:e.disableFilling)!=null?r:!0}}bi.Rules=pB;class Wt extends p{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("listSelectButton")}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:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class e3 extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var ko={Designer:Wt,Runtime:e3,Property:bi};class t3 extends W{constructor(e){super(e)}}class n3 extends $e{constructor(e){super(e)}}class zt extends z{constructor(e){super(e)}}zt.Rules=t3,zt.RuntimeRules=n3;class Oo extends O{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Oo.setting=[];class i3 extends G{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Mo={Designer:Oo,Runtime:i3,Property:zt};class u3 extends W{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:o.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends z{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"}}_i.Rules=u3;class $o extends O{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return o.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}$o.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 a3 extends G{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Lo={Designer:$o,Runtime:a3,Property:_i};class r3 extends W{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:o.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:o.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Ci extends z{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 cE(a)))!=null?u:[]}}Ci.Rules=r3;class No extends O{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return o.getMessage("listViewSelect")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}No.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class l3 extends G{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Vo={Designer:No,Runtime:l3,Property:Ci};class o3 extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:o.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(o.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ei extends ee{constructor(e){var n,i,u,a,r,l,d,c,f,m;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=(d=e==null?void 0:e.icon)!=null?d:bt.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}Ei.Rules=o3;class bt extends p{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return o.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.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 c3 extends ue{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var Ho={Designer:bt,Runtime:c3,Property:Ei};class s3 extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.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(o.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends ee{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_t.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:_t.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:_t.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(f=e==null?void 0:e.fillList)==null?void 0:f.map(g=>new te(g)))!=null?m:[]}}wi.Rules=s3;class _t extends p{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}_t.controlEventKeys=["on_click","on_click_finish"],_t.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 d3 extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var jo={Designer:_t,Runtime:d3,Property:wi};class h3 extends W{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:o.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Bi extends ee{constructor(e){var n,i,u,a,r;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.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Co(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Bi.Rules=h3;class Ct extends p{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 f3 extends ue{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var qo={Designer:Ct,Runtime:f3,Property:Bi};class ja extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon}}class Et extends p{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class y3 extends ue{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Uo={Designer:Et,Runtime:y3,Property:ja};class v3 extends W{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:o.getMessage("pleaseEnterForm")})}}class Si extends z{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o.getMessage("button"),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}}Si.Rules=v3;class Ii extends O{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return o.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ii.controlEventKeys=["on_click"],Ii.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 m3 extends G{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Wo={Designer:Ii,Runtime:m3,Property:Si};class qa extends z{constructor(e){var n,i,u,a,r,l,d,c,f;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.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=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(c=e==null?void 0:e.command)!=null?c:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class wt extends O{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return o.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}wt.slots=["grid-table-toolbar-slot"],wt.controlEventKeys=["on_click"],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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class g3 extends G{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var zo={Designer:wt,Runtime:g3,Property:qa},b3=Object.freeze({__proto__:null,Text:oo,Link:co,Button:so,Divider:So,Title:Io,CreateFormListButton:Ao,BatchSubmissionListButton:To,SubmissionRecordListButton:Fo,ExportListButton:Ro,ExportRecordListButton:Do,ImportRecordListButton:xo,FormSelectButton:Po,ListSelectButton:ko,Pagination:Mo,Dashboard:Lo,ListViewSelect:Vo,TextOcrButton:Ho,InvoiceCheckButton:jo,BatchPrintListButton:qo,BatchPrintRecordListButton:Uo,OperationButton:Wo,BatchDeleteButton:zo});class _3 extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:o.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:o.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=o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class C3 extends ${constructor(e){super(e),this.push({type:"string",message:o.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Bt extends F{constructor(e){var n,i,u,a,r,l,d;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 cl(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:St.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseEnter"),this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:""}}Bt.Rules=_3,Bt.RuntimeRules=C3;class St extends R{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}St.controlEventKeys=["on_change","on_input","on_focus","on_blur"],St.controlFieldType=b.VARCHAR,St.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 Ko extends D{constructor(e){super(e),this.props=new Bt(e==null?void 0:e.props)}static get controlType(){return"input"}}Ko.controlFieldType=b.VARCHAR;var Go={Designer:St,Runtime:Ko,Property:Bt};class E3 extends rt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:o.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class w3 extends ${constructor(e){super(e),this[0]!==void 0&&(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 Kt extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w;super(e),this.options=be((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=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Gt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],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(C=>{var I;(I=this.multistageFilling)==null||I.push(new te(C))}))}}Kt.Rules=E3,Kt.RuntimeRules=w3;class Gt extends R{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.ARRAY,Gt.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:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Qo extends D{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}Qo.controlFieldType=b.ARRAY;var Xo={Designer:Gt,Runtime:Qo,Property:Kt};class B3 extends rt{constructor(e){super(e)}}class Ai extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.options=be((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=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.interreaction=(c=e==null?void 0:e.interreaction)!=null?c:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Qt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:"",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 te(_))}))}}Ai.Rules=B3;class Qt extends R{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return o.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=b.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Jo extends D{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"radio"}}Jo.controlFieldType=b.VARCHAR;var Zo={Designer:Qt,Runtime:Jo,Property:Ai};class S3 extends Q{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:o.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=o.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class I3 extends ${constructor(e){super(e),this[0]!==void 0&&(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:o.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Xt extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,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=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(c=e==null?void 0:e.isShowUnit)!=null?c:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Jt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:o.getMessage("pleaseEnter"),this.defaultValue=(w=e==null?void 0:e.defaultValue)!=null?w:"",this.regularRules=new cl(e==null?void 0:e.regularRules)}}Xt.Rules=S3,Xt.RuntimeRules=I3;class Jt extends R{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("number")}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}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=b.DECIMAL,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Yo extends D{constructor(e){super(e),this.props=new Xt(e==null?void 0:e.props)}static get controlType(){return"number"}}Yo.controlFieldType=b.DECIMAL;var po={Designer:Jt,Runtime:Yo,Property:Xt};class Ua extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.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:Ti.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o.getMessage("pleaseEnterDate"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(f=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(_=>new si(_)))!=null?f:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ti extends R{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return o.getMessage("timestamp")}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}}Ti.controlFieldType=b.TIMESTAMP,Ti.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 ec extends D{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}ec.controlFieldType=b.TIMESTAMP;var tc={Designer:Ti,Runtime:ec,Property:Ua};class A3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!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 Fi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.dataBind=new uE(e==null?void 0:e.dataBind),this.defaultValue=new aE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.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=(d=e==null?void 0:e.placeholderStart)!=null?d:o.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:o.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Ri.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(_=>new si(_)))!=null?g:[]}}Fi.RuntimeRules=A3;class Ri extends R{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("timescope")}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}}Ri.controlFieldType=b.TIMESCOPE,Ri.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 nc extends D{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}nc.controlFieldType=b.TIMESCOPE;var ic={Designer:Ri,Runtime:nc,Property:Fi};class T3 extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:o.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:o.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=o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class F3 extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Zt extends F{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:Yt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseEnter"),this.rowHeightSetting=new WC(e==null?void 0:e.rowHeightSetting)}}Zt.Rules=T3,Zt.RuntimeRules=F3;class Yt extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Yt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Yt.controlFieldType=b.TEXT,Yt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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:"row-height-setting",visible:!0},{key:"super-setting",visible:!0}];class uc extends D{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}uc.controlFieldType=b.TEXT;var ac={Designer:Yt,Runtime:uc,Property:Zt};class R3 extends Q{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:o.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:o.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=o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class D3 extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class pt extends F{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:en.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseEnter")}}pt.Rules=R3,pt.RuntimeRules=D3;class en extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return o.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}en.controlEventKeys=["on_change","on_input","on_focus","on_blur"],en.controlFieldType=b.TEXT,en.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class rc extends D{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}rc.controlFieldType=b.TEXT;var lc={Designer:en,Runtime:rc,Property:pt};class x3 extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Di extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.options=be((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 Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:xi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,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(g=>{var _;(_=this.multistageFilling)==null||_.push(new te(g))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new ut(e==null?void 0:e.formBind)}}Di.Rules=x3;class xi extends R{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return o.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}xi.controlFieldType=b.VARCHAR,xi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP,s.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class oc extends D{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"select"}}oc.controlFieldType=b.VARCHAR;var cc={Designer:xi,Runtime:oc,Property:Di};class P3 extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class k3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends F{constructor(e){var n,i,u,a,r,l,d,c,f;super(e),this.options=be((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 Y(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Pi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],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(m=>{var g;(g=this.multistageFilling)==null||g.push(new te(m))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind)}}tn.Rules=P3,tn.RuntimeRules=k3;class Pi extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Pi.controlFieldType=b.ARRAY,Pi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.DEFAULT_SHOW_OPTIONS,s.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class sc extends D{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}sc.controlFieldType=b.ARRAY;var dc={Designer:Pi,Runtime:sc,Property:tn};class O3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ki extends F{constructor(e){var n,i,u,a,r,l,d,c,f;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=(d=e==null?void 0:e.caption)!=null?d:Oi.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o.getMessage("pleaseEnterNameorEmail"),this.openMultistageFilling=(f=e==null?void 0:e.openMultistageFilling)!=null?f:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var g;(g=this.multistageFilling)==null||g.push(new te(m))}))}}ki.RuntimeRules=O3;class Oi extends R{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return o.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Oi.controlFieldType=b.EMPLOYEES,Oi.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 hc extends D{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"employee"}}hc.controlFieldType=b.EMPLOYEES;var fc={Designer:Oi,Runtime:hc,Property:ki};const M3=10485760,$3=104857600,L3=1048576e3;class N3 extends Q{constructor(e){super(e),this.maxSize={type:"number",min:0,max:L3,message:o.getMessage("attachmentMaxSize")}}}class V3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:o.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class It extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;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.resultShowType=(u=e==null?void 0:e.resultShowType)!=null?u:"simple",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:$3,this.caption=(c=e==null?void 0:e.caption)!=null?c:At.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:o.getMessage("uploadFile"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{}}}It.Rules=N3,It.RuntimeRules=V3;class At extends R{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlName(){return o.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}At.controlEventKeys=["on_change"],At.controlFieldType=b.FILE,At.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 Wa extends D{constructor(e){super(e),this.props=new It(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Wa.controlFieldType=b.FILE;var yc={Designer:At,Runtime:Wa,Property:It};const vc=class extends At{static get controlName(){return o.getMessage("image")}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:vc.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:o.getMessage("uploadImg")}};let za=vc;za.controlFieldType=b.IMAGE,za.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP,s.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class H3 extends Wa{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:o.getMessage("image"),this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:o.getMessage("uploadImg")}}class j3 extends It{constructor(e){super(e)}}var mc={Designer:za,Runtime:H3,Property:j3};class q3 extends rt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:o.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=o.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o.getMessage("numberRangeSetError")})}}class U3 extends ${constructor(e){super(e),this[0]!==void 0&&(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:[Ar(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:o.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class nn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,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 nE(e==null?void 0:e.dataBind),this.datasourceBind=new Y((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Pu({value:"name"})]}),this.defaultValue=new iE((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:$u.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=be(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:un.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseEnter"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}nn.Rules=q3,nn.RuntimeRules=U3;class un extends R{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("amount")}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}}un.controlEventKeys=["on_change","on_input","on_focus","on_blur"],un.controlFieldType=b.MONEY,un.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:"unit-position",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 gc extends D{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}gc.controlFieldType=b.MONEY;var bc={Designer:un,Runtime:gc,Property:nn};class W3 extends Q{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:o.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:o.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:o.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=o.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class z3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="number");const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:o.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class an extends F{constructor(e){var n,i,u,a,r,l,d;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:Da.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(c=>new di(c)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new di),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:rn.controlName}}an.Rules=W3,an.RuntimeRules=z3;class rn extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return o.getMessage("score")}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 di);this.props.explain.push(...u)}}super.postUpdate(e,n)}}rn.controlEventKeys=["on_change","on_click"],rn.controlFieldType=b.DECIMAL,rn.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 _c extends D{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}_c.controlFieldType=b.DECIMAL;var Cc={Designer:rn,Runtime:_c,Property:an};class K3 extends ${constructor(e){if(super(e),this[0]!==void 0&&(this[0].type="object"),e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:o.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:o.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:o.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Mi extends F{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$i.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 rE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o.getMessage("pleaseChooseAddress")}}Mi.RuntimeRules=K3;class $i extends R{constructor(e){super(e),this.props=new Mi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}$i.controlFieldType=b.ADDRESS,$i.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 Ec extends D{constructor(e){super(e),this.props=new Mi(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"}}Ec.controlFieldType=b.ADDRESS;var wc={Designer:$i,Runtime:Ec,Property:Mi};class G3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Li extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,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=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:ln.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseSelectDept"),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 te(_))}))}}Li.RuntimeRules=G3;class ln extends R{constructor(e){super(e),this.props=new Li(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}}ln.controlName=o.getMessage("department"),ln.controlFieldType=b.DEPARTMENTS,ln.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 Bc extends D{constructor(e){super(e),this.props=new Li(e==null?void 0:e.props)}static get controlType(){return"department"}}Bc.controlFieldType=b.DEPARTMENTS;var Sc={Designer:ln,Runtime:Bc,Property:Li};class Ka extends F{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:on.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:o.getMessage("pleaseEnterAutonumber")}}class on extends R{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return o.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}on.controlEventKeys=["on_change"],on.controlFieldType=b.AUTO_NUMBER,on.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 Ic extends D{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Ic.controlFieldType=b.AUTO_NUMBER;var Ac={Designer:on,Runtime:Ic,Property:Ka};class Q3 extends Q{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class X3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:o.getMessage("isNotObject"),fields:{result:[{type:"number",message:o.getMessage("isNotNumber")}],unit:{type:"string",message:o.getMessage("isNotString")}}})}}class cn extends F{constructor(e){var n,i,u,a,r,l,d,c,f;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 lE(e==null?void 0:e.dataBind),this.defaultValue=new oE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.unitPosition=(r=e==null?void 0:e.unitPosition)!=null?r:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o.getMessage("pleaseEnter"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}cn.Rules=Q3,cn.RuntimeRules=X3;class sn extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("calc")}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}}sn.controlEventKeys=["on_change"],sn.controlFieldType=b.CALC,sn.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:"calc-on-mounted",visible:!0},{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:"unit-position",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 Tc extends D{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Tc.controlFieldType=b.CALC;var Fc={Designer:sn,Runtime:Tc,Property:cn};class J3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(o.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class Ni extends F{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:o.getMessage("min"),this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:o.getMessage("max"),this.caption=(l=e==null?void 0:e.caption)!=null?l:Vi.controlName}}Ni.RuntimeRules=J3;class Vi extends R{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return o.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Vi.controlFieldType=b.DECIMAL_RANGE,Vi.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 Rc extends D{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Rc.controlFieldType=b.DECIMAL_RANGE;var Dc={Designer:Vi,Runtime:Rc,Property:Ni};class Z3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),e.required&&!e.isHide&&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 Hi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,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:Se.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=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:o.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:o.getMessage("endDate"),this.caption=(m=e==null?void 0:e.caption)!=null?m:ji.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(w=>new si(w)))!=null?_:[]}}Hi.RuntimeRules=Z3;class ji extends R{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}ji.controlFieldType=b.ARRAY,ji.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 xc extends D{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}xc.controlFieldType=b.ARRAY;var Pc={Designer:ji,Runtime:xc,Property:Hi};class Y3 extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class p3 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends F{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Tt.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}}dn.Rules=Y3,dn.RuntimeRules=p3;class Tt extends R{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Tt.controlFieldType=b.ANY,Tt.controlEventKeys=[],Tt.slots=["grid-table-toolbar-slot",kr.DEFAULT],Tt.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 kc extends D{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}kc.controlFieldType=b.ANY;var Oc={Designer:Tt,Runtime:kc,Property:dn};class eS extends rt{constructor(e){super(e),this.listPageBind=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:o.getMessage("isNotString")},{type:"string",required:!0,message:o.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:o.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class qi extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g;super(e),this.options=be((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Du(e==null?void 0:e.listPageBind),this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:hn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:o.getMessage("pleaseSelect"),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=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!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(_=>{var w;(w=this.multistageFilling)==null||w.push(new te(_))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1}}qi.Rules=eS;class hn extends R{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("selectRelation")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}hn.controlFieldType=b.VARCHAR,hn.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_SHOW_CAPTION_TIP,s.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[s.CAN_VIEW_FORM,s.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],hn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Mc extends D{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Mc.controlFieldType=b.VARCHAR;var $c={Designer:hn,Runtime:Mc,Property:qi};class Ga extends Bt{constructor(e){super(e)}}class Lc extends St{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return o.getMessage("input")}static get controlType(){return"search-input"}}Lc.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 Nc extends D{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Nc.controlFieldType=b.VARCHAR;var Vc={Designer:Lc,Runtime:Nc,Property:Ga};class tS extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],Hn.call(this,e,Oe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:o.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:o.getMessage("rootNodeIsRequired")}}}])}}class nS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,I,v,E,T,x;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Oe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:o.getMessage("pleaseSelect"),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=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(c=e==null?void 0:e.isShowFilterItem)!=null?c:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!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 al((w=e==null?void 0:e.datasourceBind)!=null?w:{attributes:Oe.controlCustomAttributes}),this.filterItemDatasourceBind=new al((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:Oe.controlCustomAttributes}),this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(T=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(k=>new te(k)))!=null?T:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}fn.Rules=tS,fn.RuntimeRules=nS;class Oe extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("tree")}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}]}}Oe.controlEventKeys=["on_change","on_click"],Oe.controlFieldType=b.ARRAY,Oe.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:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Hc extends D{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Hc.controlFieldType=b.ARRAY;var jc={Designer:Oe,Runtime:Hc,Property:fn};class iS extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],this.externalScope={type:"any"},Hn.call(this,e,Ft.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:o.getMessage("pleaseAssignExternal")})}}class uS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C;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=(d=e==null?void 0:e.caption)!=null?d:Ft.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new $n((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:Ft.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Oa.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ma.ADMIN,this.externalType=(_=e==null?void 0:e.externalType)!=null?_:ke.ALL,this.externalScope=(w=e==null?void 0:e.externalScope)!=null?w:[],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(I=>{var v;(v=this.multistageFilling)==null||v.push(new te(I))}))}}yn.Rules=iS,yn.RuntimeRules=uS;class Ft extends R{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ft.controlFieldType=b.EMPLOYEES,Ft.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 qc extends D{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}qc.controlFieldType=b.EMPLOYEES;var Uc={Designer:Ft,Runtime:qc,Property:yn};class aS extends Q{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:o.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:o.getMessage("pleaseSelectOnlyOne"),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:o.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:o.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&Bu(r.value)&&r.value.length===0){l(o.getMessage("pleaseSelectPhoneOrEmail"));return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&Bu(r.value)&&r.value.length===0){l(o.getMessage("pleaseSelectCompanyName"));return}l()}}}},n),{})}}}}}class Ui extends F{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:vn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o.getMessage("signature"),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 yo(e==null?void 0:e.signatureConfig)}}Ui.Rules=aS;class vn extends R{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return o.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}vn.controlEventKeys=["on_click","on_click_finish"],vn.controlFieldType=b.VARCHAR,vn.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 Wc extends D{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Wc.controlFieldType=b.VARCHAR;var zc={Designer:vn,Runtime:Wc,Property:Ui};class rS extends Q{constructor(e){super(e),this.content={type:"string",required:!0,message:o.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(o.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class lS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:o.getMessage("createWPS"),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=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(c=e==null?void 0:e.canExport)!=null?c:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:M3,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new vo(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}mn.Rules=rS,mn.RuntimeRules=lS;class gn extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}gn.controlEventKeys=["on_change","on_wps_open"],gn.controlFieldType=b.FILE,gn.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 Kc extends D{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Kc.controlFieldType=b.FILE;var Gc={Designer:gn,Runtime:Kc,Property:mn};class oS extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],this.businessScope={type:"any"},Hn.call(this,e,Le.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o.getMessage("pleaseAssignBusiness")})}}class cS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,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=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Le.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseSelectDept"),this.datasourceBind=new $n((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:hi.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:ke.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(v=>{var E;(E=this.multistageFilling)==null||E.push(new te(v))}))}}bn.Rules=oS,bn.RuntimeRules=cS;class Le extends R{constructor(e){super(e),this.props=new bn(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}}Le.controlName=o.getMessage("department"),Le.controlFieldType=b.DEPARTMENTS,Le.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 Qc extends D{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}Qc.controlFieldType=b.DEPARTMENTS;var Xc={Designer:Le,Runtime:Qc,Property:bn};class sS extends Q{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o.getMessage("isNotObject")}],this.businessScope={type:"any"},Hn.call(this,e,Rt.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o.getMessage("pleaseAssignBusiness")})}}class dS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class _n extends F{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,I,v,E,T;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 Du(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=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(c=e==null?void 0:e.showSubDept)!=null?c:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Rt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o.getMessage("pleaseSelectOrg"),this.datasourceBind=new eE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:hi.INTERNAL,this.businessScope=(w=e==null?void 0:e.businessScope)!=null?w:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C:ke.ALL,this.organizingFunction=(I=e==null?void 0:e.organizingFunction)!=null?I:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(E=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new Ou(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(T=e==null?void 0:e.openMultistageFilling)!=null?T:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(x=>{var k;(k=this.multistageFilling)==null||k.push(new te(x))}))}}_n.Rules=sS,_n.RuntimeRules=dS;class Rt extends R{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlName(){return o.getMessage("organizationSelection")}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}}Rt.controlFieldType=b.DEPARTMENTS,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.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 Jc extends D{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}Jc.controlFieldType=b.DEPARTMENTS;var Zc={Designer:Rt,Runtime:Jc,Property:_n};class hS extends Q{constructor(e){super(e),this.dataBind={type:"any"}}}class fS extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends F{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.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}}Cn.Rules=hS,Cn.RuntimeRules=fS;class En extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return o.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return S.VUE_PAGE}}En.controlFieldType=b.ANY,En.controlEventKeys=[],En.setting=[];class Yc extends D{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return S.VUE_PAGE}}Yc.controlFieldType=b.ANY;var pc={Designer:En,Runtime:Yc,Property:Cn},yS=Object.freeze({__proto__:null,Input:Go,Checkbox:Xo,Radio:Zo,Number:po,DatePicker:tc,DateRange:ic,Textarea:ac,RichText:lc,Select:cc,SelectMultiple:dc,Employee:fc,Image:mc,Attachment:yc,Amount:bc,Score:Cc,Address:wc,Department:Sc,AutoNumber:Ac,Calc:Fc,SearchNumberRange:Dc,SearchDateRange:Pc,VueFormItem:Oc,SelectRelation:$c,SearchInput:Vc,Tree:jc,Employee2:Uc,ElectronicSignature:zc,WPS:Gc,Department2:Xc,OrganizationSelection:Zc,VuePage:pc});class es extends H{static get controlName(){return o.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}es.excludes=[S.GRID];class vS extends j{static get controlType(){return"grid"}constructor(e){super(e)}}var ts={Designer:es,Runtime:vS,Property:N};const mS=24;class Ne extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:mS,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class wn extends H{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return o.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}wn.excludes=[S.COL,S.SUBTABLE,S.SUBTABLE_COLUMN,S.GRID_LAYOUT_CONTAINER,S.DIVIDER],wn.childrenMaxLength=1;class Qa extends j{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var ns={Designer:wn,Runtime:Qa,Property:Ne};class Wi extends N{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 zi extends H{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}zi.excludes=[S.ROW],zi.setting=[{key:"col-setting",visible:!0}];class is extends j{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}static get controlType(){return"row"}}var us={Designer:zi,Runtime:is,Property:Wi};const gS=4;class Ki extends zi{static get controlName(){return o.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Ki.excludes=[S.GRID_ROW],Ki.setting=[],Ki.childrenMaxLength=gS;class bS extends is{static get controlType(){return"grid-row"}constructor(e){super(e)}}class _S extends Wi{constructor(e){super(e)}}var as={Designer:Ki,Runtime:bS,Property:_S};class CS extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}}}class Gi extends N{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:o.getMessage("cardGroup"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Gi.Rules=CS;class Xa extends H{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Xa.setting=[{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Xa.excludes=[S.CARD_GROUP];class ES extends j{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var rs={Designer:Xa,Runtime:ES,Property:Gi};class wS extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:o.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Qi extends N{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 zC(e==null?void 0:e.metaAutoWidth)}}Qi.Rules=wS;class se extends H{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}se.controlName=o.getMessage("subtableColumn"),se.controlType="subtable-column",se.controlIcon="subtable-column",se.childrenMaxLength=1,se.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT,S.GRID_LAYOUT_CONTAINER],se.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 ls extends j{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}ls.controlType="subtable-column";var os={Designer:se,Runtime:ls,Property:Qi};class Ja extends N{constructor(e){super(e)}}class Ve extends H{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}}Ve.controlName=o.getMessage("subtableRow"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Ve.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class BS extends j{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var cs={Designer:Ve,Runtime:BS,Property:Ja};class Za extends N{constructor(e){var n,i,u,a,r,l,d,c,f,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:b.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(c=e==null?void 0:e.decimalKeepPrecision)!=null?c:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Se.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends H{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}He.controlName="\u5217\u8868\u5355\u5143\u683C",He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],He.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ss extends j{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}}ss.controlType="gridtable-column";var ds={Designer:He,Runtime:ss,Property:Za};class Ya extends N{constructor(e){var n,i;super(e),this.childMinWidth=(n=e==null?void 0:e.childMinWidth)!=null?n:230,this.colGap=(i=e==null?void 0:e.colGap)!=null?i:24}}class pa extends H{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return o.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}pa.excludes=[S.GRID_LAYOUT_CONTAINER,S.CARD_GROUP,S.TAB],pa.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class SS extends j{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var hs={Designer:pa,Runtime:SS,Property:Ya};class er extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class IS extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")}}}class Xi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName}}Xi.Rules=IS;class Bn extends H{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlName(){return o.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[S.TAB],Bn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class AS extends j{constructor(e){super(e),this.props=new Xi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var fs={Designer:Bn,Runtime:AS,Property:Xi};class Sn extends H{constructor(e){var n;super(e),this.props=new er(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return o.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Sn.excludes=[S.TAB],Sn.controlEventKeys=["on_change_tab"],Sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class TS extends j{constructor(e){super(e),this.props=new er(e==null?void 0:e.props)}static get controlType(){return"tab"}}var ys={Designer:Sn,Runtime:TS,Property:er};class vs extends N{constructor(e){super(e)}}class ms extends H{constructor(e){super(e),this.props=new vs({}),this.children=(e==null?void 0:e.children)||[new wn({props:new Ne({span:12})}),new wn({props:new Ne({span:12})})]}static get controlName(){return o.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}ms.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class FS extends j{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Qa({props:new Ne({span:12})}),new Qa({props:new Ne({span:12})})]}}var gs={Designer:ms,Runtime:FS,Property:vs};class RS extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class DS extends W{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},this.joinRelation=[{type:"any"}],console.log("--ListViewControlPropertyRules--"),e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:o.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:o.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:o.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:o.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:o.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),Ju.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class In extends N{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;super(e),this.datasourceBind=new Y(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 JC(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(r=e==null?void 0:e.isShowJoinRelation)!=null?r:!1,this.joinRelation=new YC(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(c=e==null?void 0:e.selectionType)!=null?c:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new yE(e==null?void 0:e.rowStyle)}}In.Rules=DS,In.RuntimeRules=RS;class An extends H{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlName(){return o.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[S.ROW],An.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"],An.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:"list-row-style",visible:!0},{key:"super-setting",visible:!0}];class xS extends j{constructor(e){super(e),this.props=new In(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var bs={Designer:An,Runtime:xS,Property:In};class PS extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Ji extends N{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:o.getMessage("save"),type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:o.getMessage("cancel"),type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:o.getMessage("draft"),type:"saveAs",isShow:!1}),this.print=new Ae((a=e==null?void 0:e.print)!=null?a:{content:o.getMessage("print"),type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(d=>new Ae(d)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}Ji.RuntimeRules=PS;class _s extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return o.getMessage("dataView")}static get controlType(){return"data-view"}}_s.excludes=[];class kS extends j{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Cs={Designer:_s,Runtime:kS,Property:Ji};class OS extends H{static get controlName(){return o.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class MS extends j{static get controlType(){return"page"}constructor(e){super(e)}}class $S extends N{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 Es={Designer:OS,Runtime:MS,Property:$S};class LS extends H{static get controlName(){return o.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class NS extends j{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class VS extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Eo(e==null?void 0:e.flexConfig)}}var ws={Designer:LS,Runtime:NS,Property:VS};class HS extends H{static get controlName(){return o.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class jS extends j{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class qS extends N{constructor(e){super(e)}}var Bs={Designer:HS,Runtime:jS,Property:qS};class US extends H{static get controlName(){return o.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class WS extends j{static get controlType(){return"position"}constructor(e){super(e)}}class zS extends N{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 Ss={Designer:US,Runtime:WS,Property:zS};class tr extends N{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 Zi extends H{constructor(e){var n;super(e),this.props=new tr((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return o.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}Zi.slotPosition={default:"action-bar-slot"},Zi.excludes=[],Zi.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class KS extends j{constructor(e){var n;super(e),this.props=new tr((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Is={Designer:Zi,Runtime:KS,Property:tr},GS=Object.freeze({__proto__:null,Grid:ts,Col:ns,Row:us,GridRow:as,CardGroup:rs,SubTableColumn:os,SubTableRow:cs,GridTableColumn:ds,GridLayoutContainer:hs,Tab:ys,TabPane:fs,Toolbox:gs,ListView:bs,DataView:Cs,Page:Es,AdvancedContainer:ws,PositioningContainer:Bs,Position:Ss,ActionBar:Is});class QS extends W{constructor(e){super(e),this.caption={type:"string",required:!0,message:o.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:o.getMessage("isNotNumber")},{type:"number",min:0,message:o.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:o.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:o.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:o.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:o.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class XS extends $e{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:o.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(o.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:o.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const As=class extends Zn{constructor(t,e){var n,i,u,a,r,l,d,c,f,m,g,_,w,C,I,v,E,T,x,k,ae,M,re,Rn,we,su,Dn,Dt,Be,Zs,Ys,ps,ed;super(t,e,As.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(r=e==null?void 0:e.openType)!=null?r:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:_o,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(w=e==null?void 0:e.canAdd)!=null?w:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!0,this.canCheck=(I=e==null?void 0:e.canCheck)!=null?I:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(E=e==null?void 0:e.canImport)!=null?E:!1,this.canExport=(T=e==null?void 0:e.canExport)!=null?T:!1,this.canClear=(x=e==null?void 0:e.canClear)!=null?x:!0,this.serverPagination=(k=e==null?void 0:e.serverPagination)!=null?k:!1,this.isShowCaptionTip=(ae=e==null?void 0:e.isShowCaptionTip)!=null?ae:!1,this.captionTip=(M=e==null?void 0:e.captionTip)!=null?M:"",this.mobileShowType=(re=e==null?void 0:e.mobileShowType)!=null?re:"list",this.mobileDefaultNum=(Rn=e==null?void 0:e.mobileDefaultNum)!=null?Rn:10,this.dataStorageDoc=(we=e==null?void 0:e.dataStorageDoc)!=null?we:new KC,this.fixedColumn=(su=e==null?void 0:e.fixedColumn)!=null?su:[],this.mobileRowCaption=(Dn=e==null?void 0:e.mobileRowCaption)!=null?Dn:o.getMessage("detailed"),this.mobileIsTile=(Dt=e==null?void 0:e.mobileIsTile)!=null?Dt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(Zs=e==null?void 0:e.pageSize)!=null?Zs:10,this.pageSizeOptions=(Ys=e==null?void 0:e.pageSizeOptions)!=null?Ys:[10,20,50,100],this.importConfig=new go(e==null?void 0:e.importConfig),this.exportConfig=new bo(e==null?void 0:e.exportConfig),this.sortable=(ps=e==null?void 0:e.sortable)!=null?ps:!1,this.sortKey=(ed=e==null?void 0:e.sortKey)!=null?ed:{}}};let Tn=As;Tn.Rules=QS,Tn.RuntimeRules=XS;class Fn extends ca{constructor(e){var n;super(e),this.props=new Tn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new se,new se,new se])}static get controlName(){return o.getMessage("subTable")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new se,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Fn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Fn.slotPosition={toolbar:"subtable-toolbar-slot"},Fn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_CAPTION_TIP,s.IS_PASTE,s.SERVER_PAGINATION,s.SORTABLE]},{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:"max-rows",visible:!0},{key:"list-pager",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 JS extends zl{constructor(e){super(e),this.props=new Tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Ts={Designer:Fn,Runtime:JS,Property:Tn};class nr extends Zn{constructor(e,n){var i,u,a,r,l;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,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class ZS extends ve{constructor(e){super(e),this.caption.required=!1}}class Yi extends q{constructor(e){var n,i,u,a,r,l,d,c;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(d=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?d:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}Yi.Rules=ZS;class je extends J{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=o.getMessage("order"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class ir extends Z{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}ir.controlType="order-column",ir.controlFieldType=b.DECIMAL;var Fs={Designer:je,Runtime:ir,Property:Yi};class ur extends q{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class Ce extends J{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Fr(this,null,function*(){return yield Tr(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=o.getMessage("operation"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class ar extends Z{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}ar.controlType="operation-column",ar.controlFieldType=b.FILE;var Rs={Designer:Ce,Runtime:ar,Property:ur};const YS=1e4;class qe extends ca{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new nr(this,e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce]),this.excludes=le(n),this.childrenMaxLength=i}static get controlName(){return o.getMessage("gridTable")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Ar(nt({},e),{children:n})}validate(e,n){return Fr(this,null,function*(){return yield Tr(qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qe.slotPosition={toolbar:"grid-table-toolbar-slot"},qe.setting=[{key:"list-fixed-header",visible:!0}],qe.excludes=[],qe.childrenMaxLength=YS;class pS extends zl{constructor(e){super(e),this.props=new nr(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var Ds={Designer:qe,Runtime:pS,Property:nr},eI=Object.freeze({__proto__:null,SubTable:Ts,GridTable:Ds});class tI extends Gl{constructor(e){super(e),xe.call(this,e)}}class pi extends q{constructor(e){var n,i,u,a,r,l;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 Y(e==null?void 0:e.datasourceBind),this.options=be((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(r=e==null?void 0:e.lineEllipsis)!=null?r:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}pi.Rules=tI;class Ue extends J{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}Ue.controlType="varchar-column",Ue.controlName=o.getMessage("varchar"),Ue.controlIcon="varchar-column",Ue.controlFieldType=b.VARCHAR,Ue.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-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class rr extends Z{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}rr.controlType="varchar-column",rr.controlFieldType=b.VARCHAR;var xs={Designer:Ue,Runtime:rr,Property:pi};class nI extends ve{constructor(e){super(e),xe.call(this,e)}}class eu extends q{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!1,this.caption=(i=e==null?void 0:e.caption)!=null?i:We.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 ge(e==null?void 0:e.linkOperationOption)}}eu.Rules=nI;class We extends J{constructor(e){super(e),this.props=new eu(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}}We.controlType="text-column",We.controlName=o.getMessage("long"),We.controlIcon="text-column",We.controlFieldType=b.TEXT,We.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-align-content",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},{key:"column-statistics",visible:!0}];class lr extends Z{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}lr.controlType="text-column",lr.controlFieldType=b.TEXT;var Ps={Designer:We,Runtime:lr,Property:eu};class iI extends ve{constructor(e){super(e),xe.call(this,e)}}class tu extends q{constructor(e){var n,i,u,a,r,l,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.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 Y(e==null?void 0:e.datasourceBind),this.options=be((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}tu.Rules=iI;class ze extends J{constructor(e){super(e),this.props=new tu(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}}ze.controlType="decimal-column",ze.controlName=o.getMessage("decimal"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,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-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[s.MICROMETER,s.PRECISION,s.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class or extends Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}or.controlType="decimal-column",or.controlFieldType=b.DECIMAL;var ks={Designer:ze,Runtime:or,Property:tu};class uI extends ve{constructor(e){super(e),xe.call(this,e)}}class nu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName}}nu.Rules=uI;class Ke extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ke.controlType="timescope-column",Ke.controlName=o.getMessage("timescope"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class cr extends Z{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}cr.controlType="timescope-column",cr.controlFieldType=b.TIMESCOPE;var Os={Designer:Ke,Runtime:cr,Property:nu};class aI extends ve{constructor(e){super(e),xe.call(this,e)}}class iu extends q{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Se.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName}}iu.Rules=aI;class Ge extends J{constructor(e){super(e),this.props=new iu(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}}Ge.controlType="timestamp-column",Ge.controlName=o.getMessage("timestamp"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class sr extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}sr.controlType="timestamp-column",sr.controlFieldType=b.TIMESTAMP;var Ms={Designer:Ge,Runtime:sr,Property:iu};class rI extends Gl{constructor(e){super(e),xe.call(this,e)}}class uu extends q{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.options=be((a=e==null?void 0:e.options)!=null?a:[{}])}}uu.Rules=rI;class Qe extends J{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=o.getMessage("array"),Qe.controlIcon="array-column",Qe.controlFieldType=b.ARRAY,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class dr extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}dr.controlType="array-column",dr.controlFieldType=b.ARRAY;var $s={Designer:Qe,Runtime:dr,Property:uu};class hr extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends J{constructor(e){super(e),this.props=new hr(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}}Xe.controlType="department-column",Xe.controlName=o.getMessage("department"),Xe.controlIcon="department-column",Xe.controlFieldType=b.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class fr extends Z{constructor(e){super(e),this.props=new hr(e==null?void 0:e.props)}}fr.controlType="department-column",fr.controlFieldType=b.DEPARTMENTS;var Ls={Designer:Xe,Runtime:fr,Property:hr};class lI extends ve{constructor(e){super(e),xe.call(this,e)}}class au extends q{constructor(e){var n,i;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 ge(e==null?void 0:e.linkOperationOption)}}au.Rules=lI;class Je extends J{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Je.controlType="auto-number-column",Je.controlName=o.getMessage("autoNumber"),Je.controlIcon="auto-number-column",Je.controlFieldType=b.AUTO_NUMBER,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class yr extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}yr.controlType="auto-number-column",yr.controlFieldType=b.AUTO_NUMBER;var Ns={Designer:Je,Runtime:yr,Property:au};class vr extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName}}class Ze extends J{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}Ze.controlType="file-column",Ze.controlName=o.getMessage("file"),Ze.controlIcon="file-column",Ze.controlFieldType=b.FILE,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class mr extends Z{constructor(e){super(e),this.props=new vr(e==null?void 0:e.props)}}mr.controlType="file-column",mr.controlFieldType=b.FILE;var Vs={Designer:Ze,Runtime:mr,Property:vr};class gr extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends J{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=o.getMessage("image"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class br extends Z{constructor(e){super(e),this.props=new gr(e==null?void 0:e.props)}}br.controlType="image-column",br.controlFieldType=b.IMAGE;var Hs={Designer:Ye,Runtime:br,Property:gr};class _r extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends J{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=o.getMessage("people"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Cr extends Z{constructor(e){super(e),this.props=new _r(e==null?void 0:e.props)}}Cr.controlType="people-column",Cr.controlFieldType=b.EMPLOYEES;var js={Designer:pe,Runtime:Cr,Property:_r};class oI extends ve{constructor(e){super(e),xe.call(this,e)}}class ru extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption)}}ru.Rules=oI;class et extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=o.getMessage("location"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0}];class Er extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Er.controlType="location-column",Er.controlFieldType=b.ADDRESS;var qs={Designer:et,Runtime:Er,Property:ru};class cI extends ve{constructor(e){super(e),this.sortFieldCode={type:"string",message:o.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class lu extends q{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ee.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}lu.Rules=cI;const sI=1;class Ee extends J{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new lu(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=le(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}}Ee.controlType="custom-column",Ee.controlName=o.getMessage("custom"),Ee.controlIcon="custom-column",Ee.slots=["column-column-slot"],Ee.excludes=[],Ee.childrenMaxLength=sI,Ee.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},{key:"column-sort-field",visible:!0}];class Us extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Us.controlType="custom-column";var Ws={Designer:Ee,Runtime:Us,Property:lu};class wr extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.datasourceBind=new $n((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Me.controlCustomAttributes})}}class Me extends J{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Me.controlType="employee-column",Me.controlName=o.getMessage("employee"),Me.controlIcon="employee-column",Me.controlFieldType=b.EMPLOYEES,Me.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Br extends Z{constructor(e){super(e),this.props=new wr(e==null?void 0:e.props)}}Br.controlType="employee-column",Br.controlFieldType=b.EMPLOYEES;var zs={Designer:Me,Runtime:Br,Property:wr};class Sr extends q{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ge(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends J{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=o.getMessage("approvalStatusColumn"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-line-ellipsis",visible:!0}];class Ks extends Z{constructor(e){super(e),this.props=new Sr(e==null?void 0:e.props)}}Ks.controlType="approval-status-column";var Gs={Designer:tt,Runtime:Ks,Property:Sr},dI=Object.freeze({__proto__:null,VarcharColumn:xs,TextColumn:Ps,DecimalColumn:ks,TimescopeColumn:Os,TimestampColumn:Ms,ArrayColumn:$s,DepartmentColumn:Ls,AutoNumberColumn:Ns,FileColumn:Vs,ImageColumn:Hs,PeopleColumn:js,LocationColumn:qs,CustomColumn:Ws,OrderColumn:Fs,OperationColumn:Rs,EmployeeColumn:zs,ApprovalStatusColumn:Gs});class hI extends $e{constructor(e){super(e),this.push({type:"object",fields:{}})}}class ou extends Ca{constructor(e){var n,i,u,a,r,l,d,c,f,m,g,_;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 Ae((a=e==null?void 0:e.search)!=null?a:{content:o.getMessage("query"),isShow:!0}),this.cancel=new Ae((r=e==null?void 0:e.cancel)!=null?r:{content:o.getMessage("reset"),isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(w=>new Ae(w)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}ou.RuntimeRules=hI;class cu extends cB{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}cu.controlType="simple-search",cu.slotPosition={default:"search"},cu.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0},{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 Qs extends mB{constructor(e){var n;super(e),this.props=new ou(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Qs.controlType="simple-search";var Xs={Designer:cu,Runtime:Qs,Property:ou},fI=Object.freeze({__proto__:null,SimpleSearch:Xs});class Ir extends Sa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class yI extends RB{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlName(){return o.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class vI extends $B{constructor(e){super(e),this.props=new Ir(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function II(t){return t}var mI={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:o.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Js={Designer:yI,Runtime:vI,Property:Ir,Setting:mI},gI=Object.freeze({__proto__:null,GridLayoutWrap:Js});y.ActionBar=Is,y.Address=wc,y.AdvancedContainer=ws,y.Amount=bc,y.ApprovalStatusColumn=Gs,y.ArrayColumn=$s,y.AssignType=ke,y.Attachment=yc,y.AutoNumber=Ac,y.AutoNumberColumn=Ns,y.BatchDeleteButton=zo,y.BatchPrintListButton=qo,y.BatchPrintRecordListButton=Uo,y.BatchSubmissionListButton=To,y.Button=so,y.Calc=Fc,y.CardGroup=rs,y.Checkbox=Xo,y.Col=ns,y.CreateFormListButton=Ao,y.CustomColumn=Ws,y.DATE_CONFIG_TYPE=ho,y.DATE_LIMIT_TYPE=fo,y.Dashboard=Lo,y.DataView=Cs,y.DatePicker=tc,y.DateRange=ic,y.DecimalColumn=ks,y.Department=Sc,y.Department2=Xc,y.DepartmentColumn=Ls,y.DepartmentType=hi,y.Divider=So,y.ElectronicSignature=zc,y.ElectronicSignatureConfig=yo,y.Employee=fc,y.Employee2=Uc,y.EmployeeColumn=zs,y.EncryptTypeEnum=wo,y.Explain=di,y.ExportConfig=bo,y.ExportListButton=Ro,y.ExportRecordListButton=Do,y.ExportTemplate=jt,y.FileColumn=Vs,y.FlexStyleConfig=Eo,y.FormSelectButton=Po,y.Grid=ts,y.GridLayoutContainer=hs,y.GridLayoutWrap=Js,y.GridRow=as,y.GridTable=Ds,y.GridTableColumn=ds,y.Image=mc,y.ImageColumn=Hs,y.ImportConfig=go,y.ImportListBind=mo,y.ImportRecordListButton=xo,y.Input=Go,y.InternalType=Ma,y.InvoiceCheckButton=jo,y.LINE_STYLE=xa,y.LimitDate=si,y.Link=co,y.ListSelectButton=ko,y.ListView=bs,y.ListViewSelect=Vo,y.LocationColumn=qs,y.Number=po,y.OperationButton=Wo,y.OperationColumn=Rs,y.OrderColumn=Fs,y.OrganizationSelection=Zc,y.OrganizeType=Oa,y.Page=Es,y.Pagination=Mo,y.PeopleColumn=js,y.Position=Ss,y.PositioningContainer=Bs,y.PrintTemplate=Co,y.Radio=Zo,y.RichText=lc,y.Row=us,y.SCORE_TYPE=Da,y.SUBTABLE_DEFAULT_MAX_HEIGHT=_o,y.Score=Cc,y.SearchDateRange=Pc,y.SearchInput=Vc,y.SearchNumberRange=Dc,y.Select=cc,y.SelectMultiple=dc,y.SelectRelation=$c,y.SimpleSearch=Xs,y.SubTable=Ts,y.SubTableColumn=os,y.SubTableRow=cs,y.SubmissionRecordListButton=Fo,y.Tab=ys,y.TabPane=fs,y.Text=oo,y.TextColumn=Ps,y.TextOcrButton=Ho,y.Textarea=ac,y.TimescopeColumn=Os,y.TimestampColumn=Ms,y.Title=Io,y.TitleConfigEnum=Pe,y.Toolbox=gs,y.Tree=jc,y.UndersignedPerson=Pa,y.VarcharColumn=xs,y.VueFormItem=Oc,y.VuePage=pc,y.WPS=Gc,y.WPSSetting=vo,y.WpsOperationItem=ka,y.baseControls=b3,y.columnControls=dI,y.formControls=yS,y.initExpression=qt,y.layoutControls=GS,y.listControls=eI,y.searchControls=fI,y.wrapControls=gI,Object.defineProperty(y,"__esModule",{value:!0})});
|