@byteluck-fe/model-driven-controls 2.22.2-beta.14 → 2.22.2-beta.16
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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- package/dist/esm/baseControls/Button/property.js +45 -65
- package/dist/esm/baseControls/Button/runtime.js +12 -24
- package/dist/esm/baseControls/CreateFormListButton/designer.js +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- package/dist/esm/baseControls/Link/property.js +12 -26
- package/dist/esm/baseControls/Link/runtime.js +12 -24
- package/dist/esm/baseControls/ListSelectButton/designer.js +12 -24
- 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 +12 -24
- 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 +12 -24
- package/dist/esm/baseControls/OperationButton/property.js +15 -39
- package/dist/esm/baseControls/OperationButton/runtime.js +12 -24
- package/dist/esm/baseControls/Pagination/designer.js +12 -24
- 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 +12 -24
- 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 +12 -24
- package/dist/esm/baseControls/Text/property.js +13 -30
- package/dist/esm/baseControls/Text/runtime.js +12 -24
- package/dist/esm/baseControls/TextOcrButton/designer.js +12 -24
- 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 +12 -24
- 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 +12 -25
- 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 +12 -24
- 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 +12 -24
- 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 +13 -28
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- package/dist/esm/formControls/Address/property.js +18 -31
- package/dist/esm/formControls/Address/runtime.js +12 -24
- package/dist/esm/formControls/Amount/designer.js +12 -24
- package/dist/esm/formControls/Amount/property.js +31 -54
- package/dist/esm/formControls/Amount/runtime.js +12 -24
- package/dist/esm/formControls/Attachment/designer.js +12 -24
- package/dist/esm/formControls/Attachment/property.js +28 -47
- package/dist/esm/formControls/Attachment/runtime.js +12 -24
- package/dist/esm/formControls/AutoNumber/designer.js +12 -24
- package/dist/esm/formControls/AutoNumber/property.js +12 -24
- package/dist/esm/formControls/AutoNumber/runtime.js +12 -24
- package/dist/esm/formControls/Calc/designer.js +12 -24
- package/dist/esm/formControls/Calc/property.js +27 -45
- package/dist/esm/formControls/Calc/runtime.js +12 -24
- package/dist/esm/formControls/Checkbox/designer.js +12 -24
- 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 +12 -24
- package/dist/esm/formControls/DatePicker/property.js +18 -37
- package/dist/esm/formControls/DatePicker/runtime.js +12 -24
- package/dist/esm/formControls/DateRange/designer.js +12 -24
- package/dist/esm/formControls/DateRange/property.js +26 -47
- package/dist/esm/formControls/DateRange/runtime.js +12 -24
- package/dist/esm/formControls/Department/designer.js +12 -24
- package/dist/esm/formControls/Department/property.js +24 -44
- package/dist/esm/formControls/Department/runtime.js +12 -24
- package/dist/esm/formControls/Department2/designer.js +12 -24
- package/dist/esm/formControls/Department2/property.js +34 -59
- package/dist/esm/formControls/Department2/runtime.js +12 -24
- package/dist/esm/formControls/ElectronicSignature/designer.js +12 -24
- package/dist/esm/formControls/ElectronicSignature/property.js +15 -34
- package/dist/esm/formControls/ElectronicSignature/runtime.js +12 -24
- package/dist/esm/formControls/Employee/designer.js +12 -24
- package/dist/esm/formControls/Employee/property.js +20 -38
- package/dist/esm/formControls/Employee/runtime.js +12 -24
- package/dist/esm/formControls/Employee2/designer.js +12 -24
- package/dist/esm/formControls/Employee2/property.js +29 -53
- package/dist/esm/formControls/Employee2/runtime.js +12 -24
- package/dist/esm/formControls/Image/designer.js +18 -29
- package/dist/esm/formControls/Image/property.js +12 -23
- package/dist/esm/formControls/Image/runtime.js +12 -23
- package/dist/esm/formControls/Input/designer.js +12 -24
- package/dist/esm/formControls/Input/property.js +26 -44
- package/dist/esm/formControls/Input/runtime.js +12 -24
- package/dist/esm/formControls/Number/designer.js +12 -24
- package/dist/esm/formControls/Number/property.js +31 -54
- package/dist/esm/formControls/Number/runtime.js +12 -24
- package/dist/esm/formControls/OrganizationSelection/designer.js +12 -24
- package/dist/esm/formControls/OrganizationSelection/property.js +40 -70
- package/dist/esm/formControls/OrganizationSelection/runtime.js +12 -24
- package/dist/esm/formControls/Radio/designer.js +12 -24
- 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 +12 -24
- package/dist/esm/formControls/RichText/property.js +20 -35
- package/dist/esm/formControls/RichText/runtime.js +12 -24
- package/dist/esm/formControls/Score/designer.js +12 -24
- 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 +12 -24
- package/dist/esm/formControls/SearchDateRange/property.js +21 -41
- package/dist/esm/formControls/SearchDateRange/runtime.js +12 -24
- package/dist/esm/formControls/SearchInput/designer.js +12 -24
- 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 +12 -24
- package/dist/esm/formControls/SearchNumberRange/property.js +17 -32
- package/dist/esm/formControls/SearchNumberRange/runtime.js +12 -24
- package/dist/esm/formControls/Select/designer.js +12 -24
- package/dist/esm/formControls/Select/property.js +22 -44
- package/dist/esm/formControls/Select/runtime.js +12 -24
- package/dist/esm/formControls/SelectMultiple/designer.js +12 -24
- package/dist/esm/formControls/SelectMultiple/property.js +24 -44
- package/dist/esm/formControls/SelectMultiple/runtime.js +12 -24
- package/dist/esm/formControls/SelectRelation/designer.js +12 -24
- package/dist/esm/formControls/SelectRelation/property.js +32 -57
- package/dist/esm/formControls/SelectRelation/runtime.js +12 -24
- package/dist/esm/formControls/Textarea/designer.js +12 -24
- package/dist/esm/formControls/Textarea/property.js +24 -40
- package/dist/esm/formControls/Textarea/runtime.js +12 -24
- package/dist/esm/formControls/Tree/designer.js +12 -24
- package/dist/esm/formControls/Tree/property.js +24 -52
- package/dist/esm/formControls/Tree/runtime.js +12 -24
- package/dist/esm/formControls/VueFormItem/designer.js +12 -24
- 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 +12 -24
- 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 +12 -24
- package/dist/esm/formControls/WPS/property.js +19 -43
- package/dist/esm/formControls/WPS/runtime.js +12 -24
- package/dist/esm/layoutControls/ActionBar/designer.js +12 -24
- 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 +12 -23
- 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 +12 -24
- package/dist/esm/layoutControls/CardGroup/property.js +18 -34
- package/dist/esm/layoutControls/CardGroup/runtime.js +12 -24
- package/dist/esm/layoutControls/Col/designer.js +12 -24
- 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 +12 -24
- package/dist/esm/layoutControls/DataView/property.js +27 -44
- package/dist/esm/layoutControls/DataView/runtime.js +12 -24
- package/dist/esm/layoutControls/Grid/designer.js +12 -23
- package/dist/esm/layoutControls/Grid/runtime.js +12 -23
- package/dist/esm/layoutControls/GridLayoutContainer/designer.js +12 -24
- 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 +12 -23
- 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 +12 -24
- 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 +12 -23
- 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 +12 -23
- 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 +12 -23
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +12 -24
- 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 +14 -29
- 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 +13 -25
- package/dist/esm/listControls/SubTable/property.js +139 -186
- 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 +60 -82
- package/dist/esm/searchControls/SimpleSearch/runtime.js +12 -25
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +13 -25
- package/dist/esm/wrapControls/GridLayoutWrap/property.js +12 -24
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +12 -24
- package/dist/index.umd.js +1 -45
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1,45 +1 @@
|
|
|
1
|
-
var K1=Object.defineProperty,z1=Object.defineProperties;var X1=Object.getOwnPropertyDescriptors;var Cy=Object.getOwnPropertySymbols,J1=Object.getPrototypeOf,Q1=Object.prototype.hasOwnProperty,Z1=Object.prototype.propertyIsEnumerable,Y1=Reflect.get;var wy=(I,ye,Se)=>ye in I?K1(I,ye,{enumerable:!0,configurable:!0,writable:!0,value:Se}):I[ye]=Se,$t=(I,ye)=>{for(var Se in ye||(ye={}))Q1.call(ye,Se)&&wy(I,Se,ye[Se]);if(Cy)for(var Se of Cy(ye))Z1.call(ye,Se)&&wy(I,Se,ye[Se]);return I},mr=(I,ye)=>z1(I,X1(ye));var Xc=(I,ye,Se)=>Y1(J1(I),Se,ye);var Jn=(I,ye,Se)=>new Promise((Rl,vr)=>{var Dl=Ot=>{try{ji(Se.next(Ot))}catch(Wi){vr(Wi)}},Nl=Ot=>{try{ji(Se.throw(Ot))}catch(Wi){vr(Wi)}},ji=Ot=>Ot.done?Rl(Ot.value):Promise.resolve(Ot.value).then(Dl,Nl);ji((Se=Se.apply(I,ye)).next())});(function(I,ye){typeof exports=="object"&&typeof module!="undefined"?ye(exports):typeof define=="function"&&define.amd?define(["exports"],ye):(I=typeof globalThis!="undefined"?globalThis:I||self,ye(I.modelDrivenControls={}))})(this,function(I){"use strict";var ye="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",Se="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Rl="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",vr="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",Dl="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Nl="{caption}\u5FC5\u586B",ji="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Wi="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Iy="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Sy="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Ty="\u8BF7\u7ED1\u5B9A\u8868\u5355",Oy="\u8BF7\u7ED1\u5B9A\u5217\u8868",Ay="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Ry="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Dy="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Ny="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Py="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",Fy="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",By="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ly="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",ky="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",xy="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",My="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",$y="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Vy="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Uy="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Hy="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",jy="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Wy="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",qy="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Gy="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Ky="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",zy="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Xy="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Jy="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",Qy="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Zy="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Yy="\u8BF7\u9009\u62E9\u7701",py="\u8BF7\u9009\u62E9\u5E02",e_="\u8BF7\u9009\u62E9\u533A",t_="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",n_="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",i_="\u8BF7\u8F93\u5165\u5217\u5BBD",a_="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",r_="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",u_="\u8BF7\u9009\u62E9\u63A7\u4EF6",l_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",o_="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",s_="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",c_="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",d_="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",f_="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",h_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",m_="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",v_="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",g_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",y_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",__="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",b_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",E_="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",C_="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",w_="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",I_="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",S_="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",T_="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",O_="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",A_="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",R_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",D_="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",N_="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",P_="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",F_="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",B_="\u6279\u91CF\u5220\u9664",L_="\u6279\u91CF\u6253\u5370",k_="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",x_="\u6309\u94AE",M_="\u521B\u5EFA\u5355\u636E",$_="\u4EEA\u8868\u76D8",V_="\u5206\u5272\u7EBF",U_="\u5BFC\u51FA",H_="\u8868\u5355\u64CD\u4F5C",j_="\u5BFC\u5165",W_="\u53D1\u7968\u8BC6\u522B",q_="\u94FE\u63A5",G_="\u5217\u8868\u9009\u62E9",K_="\u5217\u8868\u89C6\u56FE",z_="\u64CD\u4F5C\u6309\u94AE",X_="\u5206\u9875",J_="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",Q_="\u8BF4\u660E\u6587\u5B57",Z_="\u6587\u5B57\u8BC6\u522B",Y_="\u6807\u9898\u7EC4\u4EF6",p_="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",e0="\u6570\u7EC4",t0="\u81EA\u52A8\u7F16\u53F7",n0="\u81EA\u5B9A\u4E49",i0="\u6570\u503C",a0="\u90E8\u95E8",r0="\u4EBA\u5458",u0="\u9644\u4EF6",l0="\u56FE\u7247",o0="\u5730\u5740",s0="\u64CD\u4F5C",c0="\u5E8F\u53F7",d0="\u4EBA\u5458",f0="\u957F\u6587\u672C",h0="\u65E5\u671F\u533A\u95F4",m0="\u65E5\u671F",v0="\u77ED\u6587\u672C",g0="\u6362\u884C\u5BB9\u5668Wrap",y0="\u8868\u683C",_0="\u660E\u7EC6\u5B50\u8868",b0="\u5730\u5740",E0="\u91D1\u989D",C0="\u8BA1\u7B97\u516C\u5F0F",w0="\u591A\u9009",I0="\u7535\u5B50\u7B7E\u7AE0",S0="\u5355\u884C\u6587\u672C",T0="\u6570\u5B57",O0="\u4E1A\u52A1\u7EC4\u7EC7",A0="\u5355\u9009",R0="\u5BCC\u6587\u672C",D0="\u8BC4\u5206",N0="\u6570\u5B57\u533A\u95F4",P0="\u4E0B\u62C9\u5355\u9009",F0="\u4E0B\u62C9\u591A\u9009",B0="\u5173\u8054\u5355\u9009",L0="\u591A\u884C\u6587\u672C",k0="\u6811",x0="Vue\u5BB9\u5668",M0="Vue\u9875\u9762",$0="\u5728\u7EBF\u6587\u6863",V0="\u6309\u94AE\u64CD\u4F5C\u680F",U0="\u9AD8\u7EA7\u5BB9\u5668",H0="\u5206\u7EC4",j0="\u6805\u683C\u5217",W0="\u6570\u636E\u5BB9\u5668",q0="\u753B\u5E03",G0="\u6362\u884C\u5BB9\u5668",K0="\u6805\u683C\u7B49\u5206\u884C",z0="\u5217\u8868\u5BB9\u5668",X0="\u81EA\u7531\u9875\u9762",J0="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Q0="\u5B9A\u4F4D\u5BB9\u5668",Z0="\u6805\u683C\u5E03\u5C40",Y0="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",p0="\u660E\u7EC6\u5B50\u8868\u884C",eb="\u6807\u7B7E\u9875",tb="\u6807\u7B7E\u5355\u5143",nb="\u5DE5\u5177\u680F",ib="\u6279\u91CF\u63D0\u4EA4",ab="\u5BFC\u51FA\u8BB0\u5F55",rb="\u5217\u8868\u89C6\u56FE",ub="\u7ED3\u675F\u65F6\u95F4",lb="\u5F00\u59CB\u65F6\u95F4",ob="\u5355\u4F4D",sb="\u7ED3\u679C",cb="\u5E01\u79CD",db="\u7ED3\u675F\u65E5\u671F",fb="\u5F00\u59CB\u65E5\u671F",hb="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",mb="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",vb="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",gb="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",yb="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",_b="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",bb="\u8BF7\u9009\u62E9",Eb="\u8BF7\u9009\u62E9\u7EC4\u7EC7",Cb="\u8BF7\u9009\u62E9\u90E8\u95E8",wb="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Ib="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Sb="\u8BF7\u9009\u62E9\u5730\u5740",Tb="\u5F39\u7A97\u786E\u8BA4\u65F6",Ob="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Ab="\u884C\u9009\u4E2D\u65F6",Rb="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",Db="\u884C\u5220\u9664\u524D",Nb="\u884C\u70B9\u51FB\u65F6",Pb="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Fb="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Bb="\u91CD\u547D\u540D\u65F6",Lb="\u4FDD\u5B58\u6587\u4EF6\u65F6",kb="\u6253\u5F00\u6587\u4EF6\u65F6",xb="\u83B7\u53D6\u7126\u70B9\u65F6",Mb="\u5931\u53BB\u7126\u70B9\u65F6",$b="\u7528\u6237\u8F93\u5165\u65F6",Vb="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Ub="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Hb="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",jb="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Wb="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",qb="\u641C\u7D22\u65F6",Gb="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Kb="\u6267\u884C\u5B8C\u6210\u65F6",zb="\u70B9\u51FB\u65F6",Xb="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",Jb="\u8BF7\u8F93\u5165\u65E5\u671F",Qb="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Zb="\u8BF7\u8F93\u5165",Yb="\u9ED8\u8BA4\u6A21\u7248",pb="\u5DE6\u53F3\u5E03\u5C40",eE="\u4E0A\u4E0B\u5E03\u5C40",tE="\u53EA\u8BFB",nE="\u5FC5\u586B",iE="\u63D0\u793A\u6587\u5B57",aE="\u9690\u85CF\u6807\u9898",rE="\u6807\u9898\u5FC5\u586B",uE="\u7EC4\u7EC7\u5F62\u6001",lE="\u4E1A\u52A1\u7C7B\u578B",oE="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",sE="\u9690\u85CF",cE="\u6D41\u7A0B\u72B6\u6001",dE="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",fE="\u5220\u9664",hE="\u7F16\u8F91",mE="\u67E5\u770B",vE="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",gE="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",yE="\u5145\u6EE1\u6574\u884C",_E="\u6700\u5C0F\u503C",bE="\u6700\u5927\u503C",EE="\u65B0\u5EFA\u6587\u6863",CE="\u91CD\u7F6E",wE="\u67E5\u8BE2",IE="\u660E\u7EC6",SE="\u6253\u5370",TE="\u4FDD\u5B58\u8349\u7A3F",OE="\u4FDD\u5B58",AE="\u53D6\u6D88",RE="\u4E0A\u4F20\u56FE\u7247",DE="\u53D1\u8D77\u7B7E\u7F72",NE="\u4E0A\u4F20\u9644\u4EF6",PE="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",FE={isNotNumber:ye,isNotString:Se,isNotObject:Rl,isNotArray:vr,isNotBoolean:Dl,runtimeRequired:Nl,pleaseEnterCaption:ji,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:Wi,pleaseEnterPlaceholder:Iy,pleaseEnterFieldCode:Sy,pleaseEnterForm:Ty,pleaseEnterList:Oy,pleaseEnterProcess:Ay,pleaseEnterLabel:Ry,pleaseEnterValue:Dy,bizKeyNotBindFiled:Ny,pleaseSelectOneField:Py,pleaseEnterNumberRange:Fy,pleaseEnterAValueGreaterThanMin:By,pleaseEnterAValueLessThanMax:Ly,numberRangeSetError:ky,stringRangeError:xy,attachmentMaxSize:My,pleaseEnterTotalScoreSetting:$y,theTotalScoreMustNotBeLessThan1:Vy,scoreDefaultValueRange:Uy,attachmentLimitError:Hy,PleaseReselectTheOptionalQuantity:jy,TheMaximumLengthIsGreaterThanTheMinimumLength:Wy,TheMinimumLengthIsGreaterThanTheMaximumLength:qy,PleaseSelectTheCorrectOptionSettings:Gy,optionIdIsRepeat:Ky,optionIsRequired:zy,pleaseEnterDataCode:Xy,pleaseEnterValueFieldCode:Jy,pleaseEnterSvcCode:Qy,pleaseBindAtLeastOneDisplayValue:Zy,pleaseSelectProvince:Yy,pleaseSelectCity:py,pleaseSelectDistrict:e_,limitRowsCannotBeLessThan0:t_,TheNumberOfRowsCannotBeLessThanMinRows:n_,pleaseEnterColumnWidth:i_,pleaseSetTheLogicalRelationshipOfAllRuleConditions:a_,pleaseCompleteAllRulesAndConditions:r_,pleaseSelectControl:u_,pleaseSelectAtLeastOneColumn:l_,pleaseSelectFillBackMode:o_,pleaseSelectDashboard:s_,rootNodeIsRequired:c_,theViewNameCannotBeEmpty:d_,pleaseSelectOcrType:f_,pleaseSelectAtLeastOneFieldToFillIn:h_,pleaseChooseAtLeastOne:m_,pleaseEnterButtonContent:v_,pleaseEnterDataCodeInDataSetting:g_,pleaseEnterValueFieldCodeInDataSetting:y_,pleaseEnterSvcCodeInDataSetting:__,pleaseBindAtLeastOneDisplayValueInDataSetting:b_,rootNodeIsRequiredInDataSetting:E_,pleaseEnterMaxHeight:C_,pleaseEnterWatermark:w_,pleaseEnterFileName:I_,pleaseUploadAtLeastOnePrintTemplate:S_,pleaseAssignBusiness:T_,pleaseAssignExternal:O_,pleaseEnterAliasCode:A_,pleaseSelectDataCode:R_,pleaseSelectSvcCode:D_,pleaseSelectJoinFieldCode:N_,pleaseSelectMainFieldCode:P_,pleaseSelectSortFieldCode:F_,batchDeleteButton:B_,batchPrintListButton:L_,batchPrintRecordList:k_,button:x_,createFormListButton:M_,dashboard:$_,divider:V_,exportListButton:U_,formSelectButton:H_,importRecordListButton:j_,invoiceCheckButton:W_,link:q_,listSelectButton:G_,ListViewSelect:K_,operationButton:z_,pagination:X_,submissionRecordListButton:J_,text:Q_,textOcrButton:Z_,title:Y_,approvalStatusColumn:p_,array:e0,autoNumber:t0,custom:n0,decimal:i0,department:a0,employee:r0,file:u0,image:l0,location:o0,operation:s0,order:c0,people:d0,long:f0,timescope:h0,timestamp:m0,varchar:v0,gridLayoutWrap:g0,gridTable:y0,subTable:_0,address:b0,amount:E0,calc:C0,checkBox:w0,electronicSignature:I0,input:S0,number:T0,organizationSelection:O0,radio:A0,richText:R0,score:D0,searchNumberRange:N0,select:P0,selectMultiple:F0,selectRelation:B0,textarea:L0,tree:k0,vueFormItem:x0,vuePage:M0,WPS:$0,actionBar:V0,advancedContainer:U0,cardGroup:H0,col:j0,dataView:W0,grid:q0,gridLayoutContainer:G0,gridRow:K0,listView:z0,page:X0,position:J0,positioningContainer:Q0,row:Z0,subtableColumn:Y0,subtableRow:p0,tab:eb,tabPane:tb,toolbox:nb,batchSubmissionListButton:ib,exportRecordListButton:ab,listViewSelect:rb,endTime:ub,startTime:lb,unit:ob,result:sb,currency:cb,endDate:db,startDate:fb,pleaseSelectCompanyName:hb,pleaseSelectPhoneOrEmail:mb,pleaseSelectSignType:vb,pleaseSelectSigner:gb,pleaseSelectOnlyOne:yb,pleaseSelectSignFile:_b,pleaseSelect:bb,pleaseSelectOrg:Eb,pleaseSelectDept:Cb,pleaseSelectEndDate:wb,pleaseSelectStartDate:Ib,pleaseChooseAddress:Sb,modalConfirm:Tb,tabChange:Ob,rowSelected:Ab,listDataImport:Rb,rowDelete:Db,rowClick:Nb,cellRender:Pb,onClickBtn:Fb,rename:Bb,onSaveFile:Lb,onOpenFile:kb,onFocus:xb,onBlur:Mb,onInput:$b,listDataAdd:Vb,listDataDelete:Ub,listDataBack:Hb,listDataCreate:jb,listDataChange:Wb,search:qb,valueChange:Gb,finished:Kb,click:zb,pleaseEnterNameorEmail:Xb,pleaseEnterDate:Jb,pleaseEnterAutonumber:Qb,pleaseEnter:Zb,defaultTemplate:Yb,left:pb,top:eE,default:"\u666E\u901A",readonly:tE,required:nE,textTip:iE,hideCaption:aE,titleRequired:rE,organizationalForm:uE,businessType:lE,deleteConfirm:oE,hide:sE,processStatus:cE,approvedDocuments:dE,delete:fE,edit:hE,view:mE,loadCtrlErrorTip:vE,loadCtrlError:gE,fullLine:yE,min:_E,max:bE,createWPS:EE,reset:CE,query:wE,detailed:IE,print:SE,draft:TE,save:OE,cancel:AE,uploadImg:RE,signature:DE,uploadFile:NE,linkContent:PE},BE="Please enter a number",LE="Please enter a string",kE="Please enter an object",xE="Please enter an array",ME="Please enter a boolean",$E="{caption} Required",VE="Please enter the title",UE="Please enter the bubble prompt",HE="Please enter the row title",jE="Please enter the prompt text",WE="Please bind data items",qE="Please bind the form",GE="Please bind the list",KE="Please bind the process",zE="Please enter the displayed value",XE="Please enter the stored value",JE="The document number is not bound to the data item",QE="Please select at least one display field",ZE="Please enter a value greater than or equal to {min} and less than or equal to {max}",YE="Please enter a value greater than or equal to {min}",pE="Please enter a value less than or equal to {max}",eC="The value range is set incorrectly",tC="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",nC="The attachment size must be between 0MB and 1000MB",iC="Please fill in the total score setting",aC="The total score cannot be less than 1",rC="The default value must be between {min} and {max}",uC="The number of attachment uploads exceeds the limit",lC="Please re-select the optional quantity",oC="The maximum length of the control must be greater than the minimum length",sC="The minimum length of the control must be less than the maximum length",cC="Please select the correct option setting",dC="Option ID cannot be repeated",fC="Please enter at least one option",hC="Please bind the data source",mC="Please bind the stored value",vC="Please bind the service",gC="At least one display value must be bound",yC="Please select a province",_C="Please select a city",bC="Please select a district",EC="The minimum number of lines to fill in cannot be less than 0",CC="The number of rows cannot be less than {min} rows",wC="Please enter the column width",IC="Please set the logical relationship of all rule conditions",SC="Please complete all rules and conditions",TC="please select control",OC="Please select the dashboard",AC="View name cannot be empty",RC="Please select recognition type",DC="Please select at least one field to fill in",NC="Please select at least one",PC="Please enter the button title",FC="Please bind the business model in the data settings",BC="Please bind storage values in data settings",LC="Please bind the service in the data settings",kC="Please bind at least one display value in the data settings",xC="Please select the root node in the data settings",MC="Please enter the maximum height",$C="The input content cannot be empty",VC="Watermark cannot be empty",UC="File name cannot be empty",HC="Please upload at least one printing template!\uFF01",jC="Please select a specific business department",WC="Please select a specified external organization",qC="Please enter a sub table alias",GC="Please select the associated table to set the business model",KC="Please select the association table to set the binding service",zC="Select associated sub table fields",XC="Please select the associated main table field",JC="Please select the sort field",QC="\u6279\u91CF\u5220\u9664",ZC="\u6279\u91CF\u6253\u5370",YC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",pC="\u6309\u94AE",ew="\u521B\u5EFA\u5355\u636E",tw="\u4EEA\u8868\u76D8",nw="\u5206\u5272\u7EBF",iw="\u5BFC\u51FA",aw="\u8868\u5355\u64CD\u4F5C",rw="\u5BFC\u5165",uw="\u53D1\u7968\u8BC6\u522B",lw="\u94FE\u63A5",ow="\u5217\u8868\u9009\u62E9",sw="\u5217\u8868\u89C6\u56FE",cw="\u64CD\u4F5C\u6309\u94AE",dw="\u5206\u9875",fw="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",hw="\u8BF4\u660E\u6587\u5B57",mw="\u6587\u5B57\u8BC6\u522B",vw="\u6807\u9898\u7EC4\u4EF6",gw="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",yw="\u6570\u7EC4",_w="\u81EA\u52A8\u7F16\u53F7",bw="\u81EA\u5B9A\u4E49",Ew="\u6570\u503C",Cw="\u90E8\u95E8",ww="\u4EBA\u5458",Iw="\u9644\u4EF6",Sw="\u56FE\u7247",Tw="\u5730\u5740",Ow="\u64CD\u4F5C",Aw="\u5E8F\u53F7",Rw="\u4EBA\u5458",Dw="\u957F\u6587\u672C",Nw="\u65E5\u671F\u533A\u95F4",Pw="\u65E5\u671F",Fw="\u77ED\u6587\u672C",Bw="\u6362\u884C\u5BB9\u5668Wrap",Lw="\u8868\u683C",kw="\u660E\u7EC6\u5B50\u8868",xw="\u5730\u5740",Mw="\u91D1\u989D",$w="\u8BA1\u7B97\u516C\u5F0F",Vw="\u591A\u9009",Uw="\u7535\u5B50\u7B7E\u7AE0",Hw="\u5355\u884C\u6587\u672C",jw="\u6570\u5B57",Ww="\u4E1A\u52A1\u7EC4\u7EC7",qw="\u5355\u9009",Gw="\u5BCC\u6587\u672C",Kw="\u8BC4\u5206",zw="\u6570\u5B57\u533A\u95F4",Xw="\u4E0B\u62C9\u5355\u9009",Jw="\u4E0B\u62C9\u591A\u9009",Qw="\u5173\u8054\u5355\u9009",Zw="\u591A\u884C\u6587\u672C",Yw="\u6811",pw="Vue\u5BB9\u5668",eI="Vue\u9875\u9762",tI="\u5728\u7EBF\u6587\u6863",nI="\u6309\u94AE\u64CD\u4F5C\u680F",iI="\u9AD8\u7EA7\u5BB9\u5668",aI="\u5206\u7EC4",rI="\u6805\u683C\u5217",uI="\u6570\u636E\u5BB9\u5668",lI="\u753B\u5E03",oI="\u6362\u884C\u5BB9\u5668",sI="\u6805\u683C\u7B49\u5206\u884C",cI="\u5217\u8868\u5BB9\u5668",dI="\u81EA\u7531\u9875\u9762",fI="\u5B9A\u4F4D\u5B50\u5BB9\u5668",hI="\u5B9A\u4F4D\u5BB9\u5668",mI="\u6805\u683C\u5E03\u5C40",vI="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",gI="\u660E\u7EC6\u5B50\u8868\u884C",yI="\u6807\u7B7E\u9875",_I="\u6807\u7B7E\u5355\u5143",bI="\u5DE5\u5177\u680F",EI="\u6279\u91CF\u63D0\u4EA4",CI="\u5BFC\u51FA\u8BB0\u5F55",wI="\u5217\u8868\u89C6\u56FE",II={isNotNumber:BE,isNotString:LE,isNotObject:kE,isNotArray:xE,isNotBoolean:ME,runtimeRequired:$E,pleaseEnterCaption:VE,pleaseEnterCaptionTip:UE,pleaseEnterRowCaption:HE,pleaseEnterPlaceholder:jE,pleaseEnterFieldCode:WE,pleaseEnterForm:qE,pleaseEnterList:GE,pleaseEnterProcess:KE,pleaseEnterLabel:zE,pleaseEnterValue:XE,bizKeyNotBindFiled:JE,pleaseSelectOneField:QE,pleaseEnterNumberRange:ZE,pleaseEnterAValueGreaterThanMin:YE,pleaseEnterAValueLessThanMax:pE,numberRangeSetError:eC,stringRangeError:tC,attachmentMaxSize:nC,pleaseEnterTotalScoreSetting:iC,theTotalScoreMustNotBeLessThan1:aC,scoreDefaultValueRange:rC,attachmentLimitError:uC,PleaseReselectTheOptionalQuantity:lC,TheMaximumLengthIsGreaterThanTheMinimumLength:oC,TheMinimumLengthIsGreaterThanTheMaximumLength:sC,PleaseSelectTheCorrectOptionSettings:cC,optionIdIsRepeat:dC,optionIsRequired:fC,pleaseEnterDataCode:hC,pleaseEnterValueFieldCode:mC,pleaseEnterSvcCode:vC,pleaseBindAtLeastOneDisplayValue:gC,pleaseSelectProvince:yC,pleaseSelectCity:_C,pleaseSelectDistrict:bC,limitRowsCannotBeLessThan0:EC,TheNumberOfRowsCannotBeLessThanMinRows:CC,pleaseEnterColumnWidth:wC,pleaseSetTheLogicalRelationshipOfAllRuleConditions:IC,pleaseCompleteAllRulesAndConditions:SC,pleaseSelectControl:TC,pleaseSelectDashboard:OC,theViewNameCannotBeEmpty:AC,pleaseSelectOcrType:RC,pleaseSelectAtLeastOneFieldToFillIn:DC,pleaseChooseAtLeastOne:NC,pleaseEnterButtonContent:PC,pleaseEnterDataCodeInDataSetting:FC,pleaseEnterValueFieldCodeInDataSetting:BC,pleaseEnterSvcCodeInDataSetting:LC,pleaseBindAtLeastOneDisplayValueInDataSetting:kC,rootNodeIsRequiredInDataSetting:xC,pleaseEnterMaxHeight:MC,pleaseEnter:$C,pleaseEnterWatermark:VC,pleaseEnterFileName:UC,pleaseUploadAtLeastOnePrintTemplate:HC,pleaseAssignBusiness:jC,pleaseAssignExternal:WC,pleaseEnterAliasCode:qC,pleaseSelectDataCode:GC,pleaseSelectSvcCode:KC,pleaseSelectJoinFieldCode:zC,pleaseSelectMainFieldCode:XC,pleaseSelectSortFieldCode:JC,batchDeleteButton:QC,batchPrintListButton:ZC,batchPrintRecordList:YC,button:pC,createFormListButton:ew,dashboard:tw,divider:nw,exportListButton:iw,formSelectButton:aw,importRecordListButton:rw,invoiceCheckButton:uw,link:lw,listSelectButton:ow,ListViewSelect:sw,operationButton:cw,pagination:dw,submissionRecordListButton:fw,text:hw,textOcrButton:mw,title:vw,approvalStatusColumn:gw,array:yw,autoNumber:_w,custom:bw,decimal:Ew,department:Cw,employee:ww,file:Iw,image:Sw,location:Tw,operation:Ow,order:Aw,people:Rw,long:Dw,timescope:Nw,timestamp:Pw,varchar:Fw,gridLayoutWrap:Bw,gridTable:Lw,subTable:kw,address:xw,amount:Mw,calc:$w,checkBox:Vw,electronicSignature:Uw,input:Hw,number:jw,organizationSelection:Ww,radio:qw,richText:Gw,score:Kw,searchNumberRange:zw,select:Xw,selectMultiple:Jw,selectRelation:Qw,textarea:Zw,tree:Yw,vueFormItem:pw,vuePage:eI,WPS:tI,actionBar:nI,advancedContainer:iI,cardGroup:aI,col:rI,dataView:uI,grid:lI,gridLayoutContainer:oI,gridRow:sI,listView:cI,page:dI,position:fI,positioningContainer:hI,row:mI,subtableColumn:vI,subtableRow:gI,tab:yI,tabPane:_I,toolbox:bI,batchSubmissionListButton:EI,exportRecordListButton:CI,listViewSelect:wI},SI="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",TI="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",OI="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",AI="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",RI="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",DI="{caption}\u5FC5\u9808",NI="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",PI="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",FI="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",BI="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",LI="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kI="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xI="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",MI="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$I="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",VI="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",UI="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",HI="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jI="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",WI="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qI="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",GI="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",KI="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",XI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",JI="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",QI="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",ZI="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",YI="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",pI="\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",eS="\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",tS="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",nS="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",iS="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",aS="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",rS="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",uS="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",lS="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",oS="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",sS="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",cS="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",dS="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",fS="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",hS="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",mS="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vS="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",gS="please select control",yS="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",_S="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",bS="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",ES="\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",CS="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wS="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",IS="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",SS="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",TS="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",OS="\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",AS="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",RS="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",DS="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",NS="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",PS="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",FS="\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",BS="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",LS="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",kS="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xS="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",MS="\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",$S="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",VS="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",US="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",HS="\u6279\u91CF\u5220\u9664",jS="\u6279\u91CF\u6253\u5370",WS="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",qS="\u6309\u94AE",GS="\u521B\u5EFA\u5355\u636E",KS="\u4EEA\u8868\u76D8",zS="\u5206\u5272\u7EBF",XS="\u5BFC\u51FA",JS="\u8868\u5355\u64CD\u4F5C",QS="\u5BFC\u5165",ZS="\u53D1\u7968\u8BC6\u522B",YS="\u94FE\u63A5",pS="\u5217\u8868\u9009\u62E9",eT="\u5217\u8868\u89C6\u56FE",tT="\u64CD\u4F5C\u6309\u94AE",nT="\u5206\u9875",iT="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",aT="\u8BF4\u660E\u6587\u5B57",rT="\u6587\u5B57\u8BC6\u522B",uT="\u6807\u9898\u7EC4\u4EF6",lT="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",oT="\u6570\u7EC4",sT="\u81EA\u52A8\u7F16\u53F7",cT="\u81EA\u5B9A\u4E49",dT="\u6570\u503C",fT="\u90E8\u95E8",hT="\u4EBA\u5458",mT="\u9644\u4EF6",vT="\u56FE\u7247",gT="\u5730\u5740",yT="\u64CD\u4F5C",_T="\u5E8F\u53F7",bT="\u4EBA\u5458",ET="\u957F\u6587\u672C",CT="\u65E5\u671F\u533A\u95F4",wT="\u65E5\u671F",IT="\u77ED\u6587\u672C",ST="\u6362\u884C\u5BB9\u5668Wrap",TT="\u8868\u683C",OT="\u660E\u7EC6\u5B50\u8868",AT="\u5730\u5740",RT="\u91D1\u989D",DT="\u8BA1\u7B97\u516C\u5F0F",NT="\u591A\u9009",PT="\u7535\u5B50\u7B7E\u7AE0",FT="\u5355\u884C\u6587\u672C",BT="\u6570\u5B57",LT="\u4E1A\u52A1\u7EC4\u7EC7",kT="\u5355\u9009",xT="\u5BCC\u6587\u672C",MT="\u8BC4\u5206",$T="\u6570\u5B57\u533A\u95F4",VT="\u4E0B\u62C9\u5355\u9009",UT="\u4E0B\u62C9\u591A\u9009",HT="\u5173\u8054\u5355\u9009",jT="\u591A\u884C\u6587\u672C",WT="\u6811",qT="Vue\u5BB9\u5668",GT="Vue\u9875\u9762",KT="\u5728\u7EBF\u6587\u6863",zT="\u6309\u94AE\u64CD\u4F5C\u680F",XT="\u9AD8\u7EA7\u5BB9\u5668",JT="\u5206\u7EC4",QT="\u6805\u683C\u5217",ZT="\u6570\u636E\u5BB9\u5668",YT="\u753B\u5E03",pT="\u6362\u884C\u5BB9\u5668",eO="\u6805\u683C\u7B49\u5206\u884C",tO="\u5217\u8868\u5BB9\u5668",nO="\u81EA\u7531\u9875\u9762",iO="\u5B9A\u4F4D\u5B50\u5BB9\u5668",aO="\u5B9A\u4F4D\u5BB9\u5668",rO="\u6805\u683C\u5E03\u5C40",uO="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",lO="\u660E\u7EC6\u5B50\u8868\u884C",oO="\u6807\u7B7E\u9875",sO="\u6807\u7B7E\u5355\u5143",cO="\u5DE5\u5177\u680F",dO="\u6279\u91CF\u63D0\u4EA4",fO="\u5BFC\u51FA\u8BB0\u5F55",hO="\u5217\u8868\u89C6\u56FE",mO={isNotNumber:SI,isNotString:TI,isNotObject:OI,isNotArray:AI,isNotBoolean:RI,runtimeRequired:DI,pleaseEnterCaption:NI,pleaseEnterCaptionTip:PI,pleaseEnterRowCaption:FI,pleaseEnterPlaceholder:BI,pleaseEnterFieldCode:LI,pleaseEnterForm:kI,pleaseEnterList:xI,pleaseEnterProcess:MI,pleaseEnterLabel:$I,pleaseEnterValue:VI,bizKeyNotBindFiled:UI,pleaseSelectOneField:HI,pleaseEnterNumberRange:jI,pleaseEnterAValueGreaterThanMin:WI,pleaseEnterAValueLessThanMax:qI,numberRangeSetError:GI,stringRangeError:KI,attachmentMaxSize:zI,pleaseEnterTotalScoreSetting:XI,theTotalScoreMustNotBeLessThan1:JI,scoreDefaultValueRange:QI,attachmentLimitError:ZI,PleaseReselectTheOptionalQuantity:YI,TheMaximumLengthIsGreaterThanTheMinimumLength:pI,TheMinimumLengthIsGreaterThanTheMaximumLength:eS,PleaseSelectTheCorrectOptionSettings:tS,optionIdIsRepeat:nS,optionIsRequired:iS,pleaseEnterDataCode:aS,pleaseEnterValueFieldCode:rS,pleaseEnterSvcCode:uS,pleaseBindAtLeastOneDisplayValue:lS,pleaseSelectProvince:oS,pleaseSelectCity:sS,pleaseSelectDistrict:cS,limitRowsCannotBeLessThan0:dS,TheNumberOfRowsCannotBeLessThanMinRows:fS,pleaseEnterColumnWidth:hS,pleaseSetTheLogicalRelationshipOfAllRuleConditions:mS,pleaseCompleteAllRulesAndConditions:vS,pleaseSelectControl:gS,pleaseSelectDashboard:yS,theViewNameCannotBeEmpty:_S,pleaseSelectOcrType:bS,pleaseSelectAtLeastOneFieldToFillIn:ES,pleaseChooseAtLeastOne:CS,pleaseEnterButtonContent:wS,pleaseEnterDataCodeInDataSetting:IS,pleaseEnterValueFieldCodeInDataSetting:SS,pleaseEnterSvcCodeInDataSetting:TS,pleaseBindAtLeastOneDisplayValueInDataSetting:OS,rootNodeIsRequiredInDataSetting:AS,pleaseEnterMaxHeight:RS,pleaseEnter:DS,pleaseEnterWatermark:NS,pleaseEnterFileName:PS,pleaseUploadAtLeastOnePrintTemplate:FS,pleaseAssignBusiness:BS,pleaseAssignExternal:LS,pleaseEnterAliasCode:kS,pleaseSelectDataCode:xS,pleaseSelectSvcCode:MS,pleaseSelectJoinFieldCode:$S,pleaseSelectMainFieldCode:VS,pleaseSelectSortFieldCode:US,batchDeleteButton:HS,batchPrintListButton:jS,batchPrintRecordList:WS,button:qS,createFormListButton:GS,dashboard:KS,divider:zS,exportListButton:XS,formSelectButton:JS,importRecordListButton:QS,invoiceCheckButton:ZS,link:YS,listSelectButton:pS,ListViewSelect:eT,operationButton:tT,pagination:nT,submissionRecordListButton:iT,text:aT,textOcrButton:rT,title:uT,approvalStatusColumn:lT,array:oT,autoNumber:sT,custom:cT,decimal:dT,department:fT,employee:hT,file:mT,image:vT,location:gT,operation:yT,order:_T,people:bT,long:ET,timescope:CT,timestamp:wT,varchar:IT,gridLayoutWrap:ST,gridTable:TT,subTable:OT,address:AT,amount:RT,calc:DT,checkBox:NT,electronicSignature:PT,input:FT,number:BT,organizationSelection:LT,radio:kT,richText:xT,score:MT,searchNumberRange:$T,select:VT,selectMultiple:UT,selectRelation:HT,textarea:jT,tree:WT,vueFormItem:qT,vuePage:GT,WPS:KT,actionBar:zT,advancedContainer:XT,cardGroup:JT,col:QT,dataView:ZT,grid:YT,gridLayoutContainer:pT,gridRow:eO,listView:tO,page:nO,position:iO,positioningContainer:aO,row:rO,subtableColumn:uO,subtableRow:lO,tab:oO,tabPane:sO,toolbox:cO,batchSubmissionListButton:dO,exportRecordListButton:fO,listViewSelect:hO},vO={zhCN:FE,enUS:II,jaJP:mO},Jc;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Jc||(Jc={}));var Qc;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Qc||(Qc={}));var Pl,gO=(Pl=window.localStorage.getItem("locale"))!==null&&Pl!==void 0?Pl:"zh-CN",Qn;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Qn||(Qn={}));var Zc;(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"})(Zc||(Zc={}));var H;(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"})(H||(H={}));var Yc;(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"})(Yc||(Yc={}));var F;(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"})(F||(F={}));var Vt;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Vt||(Vt={}));var pc={DEFAULT:"default"},ed="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",yO=ed+"0123456789";function yt(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?ed:yO,a=Math.random()*i.length;e+=i[parseInt(String(a),10)]}return e}function Fl(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 _O(t){if(Array.isArray(t))return Fl(t)}function bO(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function td(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gr(t,e,n){return ad()?gr=Reflect.construct:gr=function(a,r,u){var l=[null];l.push.apply(l,r);var o=Function.bind.apply(a,l),s=new o;return u&&Gi(s,u.prototype),s},gr.apply(null,arguments)}function qi(t){return qi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},qi(t)}function nd(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&&Gi(t,e)}function EO(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function CO(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function wO(){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 IO(t,e){return e&&(SO(e)==="object"||typeof e=="function")?e:bO(t)}function Gi(t,e){return Gi=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Gi(t,e)}function id(t){return _O(t)||CO(t)||TO(t)||wO()}function SO(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function TO(t,e){if(!!t){if(typeof t=="string")return Fl(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 Fl(t,e)}}function Bl(t){var e=typeof Map=="function"?new Map:void 0;return Bl=function(i){if(i===null||!EO(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,a)}function a(){return gr(i,arguments,qi(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Gi(a,i)},Bl(t)}function ad(){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 rd(t){var e=ad();return function(){var i=qi(t),a;if(e){var r=qi(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return IO(this,a)}}var Ll=console;function kl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=Ll).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(id(a)))}function ud(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,a=e.slice(1);(i=Ll).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(id(a)))}function OO(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var xl=function(t){nd(n,t);var e=rd(n);function n(i){td(this,n);var a;return a=e.call(this,i),a.name="\u{1F4A5} Driven Error",a.message=i?OO(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Bl(Error)),AO=function(t){nd(n,t);var e=rd(n);function n(i){td(this,n);var a;return a=e.call(this,i),a.name="\u{1F6A8} Driven Reference Error",a}return n}(xl);function Ki(t){throw new xl(t)}function ld(t){throw new AO(t)}function RO(t){Ll.error(new xl(t))}/*!
|
|
2
|
-
* shared v9.14.0
|
|
3
|
-
* (c) 2024 kazuya kawaguchi
|
|
4
|
-
* Released under the MIT License.
|
|
5
|
-
*/const lt=typeof window!="undefined";let pe,mn;if(process.env.NODE_ENV!=="production"){const t=lt&&window.performance;t&&t.mark&&t.measure&&t.clearMarks&&t.clearMeasures&&(pe=e=>{t.mark(e)},mn=(e,n,i)=>{t.measure(e,n,i),t.clearMarks(n),t.clearMarks(i)})}const DO=/\{([0-9a-zA-Z]+)\}/g;function zi(t,...e){return e.length===1&&J(e[0])&&(e=e[0]),(!e||!e.hasOwnProperty)&&(e={}),t.replace(DO,(n,i)=>e.hasOwnProperty(i)?e[i]:"")}const ot=(t,e=!1)=>e?Symbol.for(t):Symbol(t),NO=(t,e,n)=>PO({l:t,k:e,s:n}),PO=t=>JSON.stringify(t).replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029").replace(/\u0027/g,"\\u0027"),Te=t=>typeof t=="number"&&isFinite(t),FO=t=>dd(t)==="[object Date]",Ut=t=>dd(t)==="[object RegExp]",yr=t=>j(t)&&Object.keys(t).length===0,Oe=Object.assign;let od;const At=()=>od||(od=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function sd(t){return t.replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")}const BO=Object.prototype.hasOwnProperty;function _r(t,e){return BO.call(t,e)}const ue=Array.isArray,ie=t=>typeof t=="function",M=t=>typeof t=="string",q=t=>typeof t=="boolean",J=t=>t!==null&&typeof t=="object",LO=t=>J(t)&&ie(t.then)&&ie(t.catch),cd=Object.prototype.toString,dd=t=>cd.call(t),j=t=>{if(!J(t))return!1;const e=Object.getPrototypeOf(t);return e===null||e.constructor===Object},kO=t=>t==null?"":ue(t)||j(t)&&t.toString===cd?JSON.stringify(t,null,2):String(t);function Ml(t,e=""){return t.reduce((n,i,a)=>a===0?n+i:n+e+i,"")}const fd=2;function xO(t,e=0,n=t.length){const i=t.split(/\r?\n/);let a=0;const r=[];for(let u=0;u<i.length;u++)if(a+=i[u].length+1,a>=e){for(let l=u-fd;l<=u+fd||n>a;l++){if(l<0||l>=i.length)continue;const o=l+1;r.push(`${o}${" ".repeat(3-String(o).length)}| ${i[l]}`);const s=i[l].length;if(l===u){const f=e-(a-s)+1,d=Math.max(1,n>a?s-f:n-e);r.push(" | "+" ".repeat(f)+"^".repeat(d))}else if(l>u){if(n>a){const f=Math.max(Math.min(n-a,s),1);r.push(" | "+"^".repeat(f))}a+=s+1}}break}return r.join(`
|
|
6
|
-
`)}function br(t){let e=t;return()=>++e}function Ae(t,e){typeof console!="undefined"&&(console.warn("[intlify] "+t),e&&console.warn(e.stack))}const hd={};function md(t){hd[t]||(hd[t]=!0,Ae(t))}function $l(){const t=new Map;return{events:t,on(n,i){const a=t.get(n);a&&a.push(i)||t.set(n,[i])},off(n,i){const a=t.get(n);a&&a.splice(a.indexOf(i)>>>0,1)},emit(n,i){(t.get(n)||[]).slice().map(a=>a(i)),(t.get("*")||[]).slice().map(a=>a(n,i))}}}const Er=t=>!J(t)||ue(t);function Cr(t,e){if(Er(t)||Er(e))throw new Error("Invalid value");const n=[{src:t,des:e}];for(;n.length;){const{src:i,des:a}=n.pop();Object.keys(i).forEach(r=>{Er(i[r])||Er(a[r])?a[r]=i[r]:n.push({src:i[r],des:a[r]})})}}/*!
|
|
7
|
-
* message-compiler v9.14.0
|
|
8
|
-
* (c) 2024 kazuya kawaguchi
|
|
9
|
-
* Released under the MIT License.
|
|
10
|
-
*/function MO(t,e,n){return{line:t,column:e,offset:n}}function wr(t,e,n){const i={start:t,end:e};return n!=null&&(i.source=n),i}const Ir={USE_MODULO_SYNTAX:1,__EXTEND_POINT__:2},$O={[Ir.USE_MODULO_SYNTAX]:"Use modulo before '{{0}}'."};function VO(t,e,...n){const i=process.env.NODE_ENV!=="production"?zi($O[t]||"",...n||[]):t,a={message:String(i),code:t};return e&&(a.location=e),a}const V={EXPECTED_TOKEN:1,INVALID_TOKEN_IN_PLACEHOLDER:2,UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER:3,UNKNOWN_ESCAPE_SEQUENCE:4,INVALID_UNICODE_ESCAPE_SEQUENCE:5,UNBALANCED_CLOSING_BRACE:6,UNTERMINATED_CLOSING_BRACE:7,EMPTY_PLACEHOLDER:8,NOT_ALLOW_NEST_PLACEHOLDER:9,INVALID_LINKED_FORMAT:10,MUST_HAVE_MESSAGES_IN_PLURAL:11,UNEXPECTED_EMPTY_LINKED_MODIFIER:12,UNEXPECTED_EMPTY_LINKED_KEY:13,UNEXPECTED_LEXICAL_ANALYSIS:14,UNHANDLED_CODEGEN_NODE_TYPE:15,UNHANDLED_MINIFIER_NODE_TYPE:16,__EXTEND_POINT__:17},UO={[V.EXPECTED_TOKEN]:"Expected token: '{0}'",[V.INVALID_TOKEN_IN_PLACEHOLDER]:"Invalid token in placeholder: '{0}'",[V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER]:"Unterminated single quote in placeholder",[V.UNKNOWN_ESCAPE_SEQUENCE]:"Unknown escape sequence: \\{0}",[V.INVALID_UNICODE_ESCAPE_SEQUENCE]:"Invalid unicode escape sequence: {0}",[V.UNBALANCED_CLOSING_BRACE]:"Unbalanced closing brace",[V.UNTERMINATED_CLOSING_BRACE]:"Unterminated closing brace",[V.EMPTY_PLACEHOLDER]:"Empty placeholder",[V.NOT_ALLOW_NEST_PLACEHOLDER]:"Not allowed nest placeholder",[V.INVALID_LINKED_FORMAT]:"Invalid linked format",[V.MUST_HAVE_MESSAGES_IN_PLURAL]:"Plural must have messages",[V.UNEXPECTED_EMPTY_LINKED_MODIFIER]:"Unexpected empty linked modifier",[V.UNEXPECTED_EMPTY_LINKED_KEY]:"Unexpected empty linked key",[V.UNEXPECTED_LEXICAL_ANALYSIS]:"Unexpected lexical analysis in token: '{0}'",[V.UNHANDLED_CODEGEN_NODE_TYPE]:"unhandled codegen node type: '{0}'",[V.UNHANDLED_MINIFIER_NODE_TYPE]:"unhandled mimifier node type: '{0}'"};function Zn(t,e,n={}){const{domain:i,messages:a,args:r}=n,u=process.env.NODE_ENV!=="production"?zi((a||UO)[t]||"",...r||[]):t,l=new SyntaxError(String(u));return l.code=t,e&&(l.location=e),l.domain=i,l}function HO(t){throw t}const jO=/<\/?[\w\s="/.':;#-\/]+>/,WO=t=>jO.test(t),Rt=" ",qO="\r",We=`
|
|
11
|
-
`,GO=String.fromCharCode(8232),KO=String.fromCharCode(8233);function zO(t){const e=t;let n=0,i=1,a=1,r=0;const u=S=>e[S]===qO&&e[S+1]===We,l=S=>e[S]===We,o=S=>e[S]===KO,s=S=>e[S]===GO,f=S=>u(S)||l(S)||o(S)||s(S),d=()=>n,m=()=>i,b=()=>a,T=()=>r,w=S=>u(S)||o(S)||s(S)?We:e[S],D=()=>w(n),y=()=>w(n+r);function O(){return r=0,f(n)&&(i++,a=0),u(n)&&n++,n++,a++,e[n]}function _(){return u(n+r)&&r++,r++,e[n+r]}function E(){n=0,i=1,a=1,r=0}function N(S=0){r=S}function R(){const S=n+r;for(;S!==n;)O();r=0}return{index:d,line:m,column:b,peekOffset:T,charAt:w,currentChar:D,currentPeek:y,next:O,peek:_,reset:E,resetPeek:N,skipToPeek:R}}const Ht=void 0,XO=".",vd="'",JO="tokenizer";function QO(t,e={}){const n=e.location!==!1,i=zO(t),a=()=>i.index(),r=()=>MO(i.line(),i.column(),i.index()),u=r(),l=a(),o={currentType:14,offset:l,startLoc:u,endLoc:u,lastType:14,lastOffset:l,lastStartLoc:u,lastEndLoc:u,braceNest:0,inLinked:!1,text:""},s=()=>o,{onError:f}=e;function d(v,g,P,...$){const fe=s();if(g.column+=P,g.offset+=P,f){const re=n?wr(fe.startLoc,g):null,ne=Zn(v,re,{domain:JO,args:$});f(ne)}}function m(v,g,P){v.endLoc=r(),v.currentType=g;const $={type:g};return n&&($.loc=wr(v.startLoc,v.endLoc)),P!=null&&($.value=P),$}const b=v=>m(v,14);function T(v,g){return v.currentChar()===g?(v.next(),g):(d(V.EXPECTED_TOKEN,r(),0,g),"")}function w(v){let g="";for(;v.currentPeek()===Rt||v.currentPeek()===We;)g+=v.currentPeek(),v.peek();return g}function D(v){const g=w(v);return v.skipToPeek(),g}function y(v){if(v===Ht)return!1;const g=v.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g===95}function O(v){if(v===Ht)return!1;const g=v.charCodeAt(0);return g>=48&&g<=57}function _(v,g){const{currentType:P}=g;if(P!==2)return!1;w(v);const $=y(v.currentPeek());return v.resetPeek(),$}function E(v,g){const{currentType:P}=g;if(P!==2)return!1;w(v);const $=v.currentPeek()==="-"?v.peek():v.currentPeek(),fe=O($);return v.resetPeek(),fe}function N(v,g){const{currentType:P}=g;if(P!==2)return!1;w(v);const $=v.currentPeek()===vd;return v.resetPeek(),$}function R(v,g){const{currentType:P}=g;if(P!==8)return!1;w(v);const $=v.currentPeek()===".";return v.resetPeek(),$}function S(v,g){const{currentType:P}=g;if(P!==9)return!1;w(v);const $=y(v.currentPeek());return v.resetPeek(),$}function B(v,g){const{currentType:P}=g;if(!(P===8||P===12))return!1;w(v);const $=v.currentPeek()===":";return v.resetPeek(),$}function L(v,g){const{currentType:P}=g;if(P!==10)return!1;const $=()=>{const re=v.currentPeek();return re==="{"?y(v.peek()):re==="@"||re==="%"||re==="|"||re===":"||re==="."||re===Rt||!re?!1:re===We?(v.peek(),$()):W(v,!1)},fe=$();return v.resetPeek(),fe}function z(v){w(v);const g=v.currentPeek()==="|";return v.resetPeek(),g}function ke(v){const g=w(v),P=v.currentPeek()==="%"&&v.peek()==="{";return v.resetPeek(),{isModulo:P,hasSpace:g.length>0}}function W(v,g=!0){const P=(fe=!1,re="",ne=!1)=>{const A=v.currentPeek();return A==="{"?re==="%"?!1:fe:A==="@"||!A?re==="%"?!0:fe:A==="%"?(v.peek(),P(fe,"%",!0)):A==="|"?re==="%"||ne?!0:!(re===Rt||re===We):A===Rt?(v.peek(),P(!0,Rt,ne)):A===We?(v.peek(),P(!0,We,ne)):!0},$=P();return g&&v.resetPeek(),$}function ge(v,g){const P=v.currentChar();return P===Ht?Ht:g(P)?(v.next(),P):null}function Xe(v){const g=v.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36}function cn(v){return ge(v,Xe)}function it(v){const g=v.charCodeAt(0);return g>=97&&g<=122||g>=65&&g<=90||g>=48&&g<=57||g===95||g===36||g===45}function dn(v){return ge(v,it)}function fn(v){const g=v.charCodeAt(0);return g>=48&&g<=57}function nr(v){return ge(v,fn)}function ir(v){const g=v.charCodeAt(0);return g>=48&&g<=57||g>=65&&g<=70||g>=97&&g<=102}function ar(v){return ge(v,ir)}function ut(v){let g="",P="";for(;g=nr(v);)P+=g;return P}function $i(v){D(v);const g=v.currentChar();return g!=="%"&&d(V.EXPECTED_TOKEN,r(),0,g),v.next(),"%"}function Vi(v){let g="";for(;;){const P=v.currentChar();if(P==="{"||P==="}"||P==="@"||P==="|"||!P)break;if(P==="%")if(W(v))g+=P,v.next();else break;else if(P===Rt||P===We)if(W(v))g+=P,v.next();else{if(z(v))break;g+=P,v.next()}else g+=P,v.next()}return g}function rr(v){D(v);let g="",P="";for(;g=dn(v);)P+=g;return v.currentChar()===Ht&&d(V.UNTERMINATED_CLOSING_BRACE,r(),0),P}function ur(v){D(v);let g="";return v.currentChar()==="-"?(v.next(),g+=`-${ut(v)}`):g+=ut(v),v.currentChar()===Ht&&d(V.UNTERMINATED_CLOSING_BRACE,r(),0),g}function lr(v){return v!==vd&&v!==We}function Ol(v){D(v),T(v,"'");let g="",P="";for(;g=ge(v,lr);)g==="\\"?P+=or(v):P+=g;const $=v.currentChar();return $===We||$===Ht?(d(V.UNTERMINATED_SINGLE_QUOTE_IN_PLACEHOLDER,r(),0),$===We&&(v.next(),T(v,"'")),P):(T(v,"'"),P)}function or(v){const g=v.currentChar();switch(g){case"\\":case"'":return v.next(),`\\${g}`;case"u":return Ui(v,g,4);case"U":return Ui(v,g,6);default:return d(V.UNKNOWN_ESCAPE_SEQUENCE,r(),0,g),""}}function Ui(v,g,P){T(v,g);let $="";for(let fe=0;fe<P;fe++){const re=ar(v);if(!re){d(V.INVALID_UNICODE_ESCAPE_SEQUENCE,r(),0,`\\${g}${$}${v.currentChar()}`);break}$+=re}return`\\${g}${$}`}function sr(v){return v!=="{"&&v!=="}"&&v!==Rt&&v!==We}function cr(v){D(v);let g="",P="";for(;g=ge(v,sr);)P+=g;return P}function dr(v){let g="",P="";for(;g=cn(v);)P+=g;return P}function x(v){const g=P=>{const $=v.currentChar();return $==="{"||$==="%"||$==="@"||$==="|"||$==="("||$===")"||!$||$===Rt?P:(P+=$,v.next(),g(P))};return g("")}function Y(v){D(v);const g=T(v,"|");return D(v),g}function fr(v,g){let P=null;switch(v.currentChar()){case"{":return g.braceNest>=1&&d(V.NOT_ALLOW_NEST_PLACEHOLDER,r(),0),v.next(),P=m(g,2,"{"),D(v),g.braceNest++,P;case"}":return g.braceNest>0&&g.currentType===2&&d(V.EMPTY_PLACEHOLDER,r(),0),v.next(),P=m(g,3,"}"),g.braceNest--,g.braceNest>0&&D(v),g.inLinked&&g.braceNest===0&&(g.inLinked=!1),P;case"@":return g.braceNest>0&&d(V.UNTERMINATED_CLOSING_BRACE,r(),0),P=zn(v,g)||b(g),g.braceNest=0,P;default:{let fe=!0,re=!0,ne=!0;if(z(v))return g.braceNest>0&&d(V.UNTERMINATED_CLOSING_BRACE,r(),0),P=m(g,1,Y(v)),g.braceNest=0,g.inLinked=!1,P;if(g.braceNest>0&&(g.currentType===5||g.currentType===6||g.currentType===7))return d(V.UNTERMINATED_CLOSING_BRACE,r(),0),g.braceNest=0,hr(v,g);if(fe=_(v,g))return P=m(g,5,rr(v)),D(v),P;if(re=E(v,g))return P=m(g,6,ur(v)),D(v),P;if(ne=N(v,g))return P=m(g,7,Ol(v)),D(v),P;if(!fe&&!re&&!ne)return P=m(g,13,cr(v)),d(V.INVALID_TOKEN_IN_PLACEHOLDER,r(),0,P.value),D(v),P;break}}return P}function zn(v,g){const{currentType:P}=g;let $=null;const fe=v.currentChar();switch((P===8||P===9||P===12||P===10)&&(fe===We||fe===Rt)&&d(V.INVALID_LINKED_FORMAT,r(),0),fe){case"@":return v.next(),$=m(g,8,"@"),g.inLinked=!0,$;case".":return D(v),v.next(),m(g,9,".");case":":return D(v),v.next(),m(g,10,":");default:return z(v)?($=m(g,1,Y(v)),g.braceNest=0,g.inLinked=!1,$):R(v,g)||B(v,g)?(D(v),zn(v,g)):S(v,g)?(D(v),m(g,12,dr(v))):L(v,g)?(D(v),fe==="{"?fr(v,g)||$:m(g,11,x(v))):(P===8&&d(V.INVALID_LINKED_FORMAT,r(),0),g.braceNest=0,g.inLinked=!1,hr(v,g))}}function hr(v,g){let P={type:14};if(g.braceNest>0)return fr(v,g)||b(g);if(g.inLinked)return zn(v,g)||b(g);switch(v.currentChar()){case"{":return fr(v,g)||b(g);case"}":return d(V.UNBALANCED_CLOSING_BRACE,r(),0),v.next(),m(g,3,"}");case"@":return zn(v,g)||b(g);default:{if(z(v))return P=m(g,1,Y(v)),g.braceNest=0,g.inLinked=!1,P;const{isModulo:fe,hasSpace:re}=ke(v);if(fe)return re?m(g,0,Vi(v)):m(g,4,$i(v));if(W(v))return m(g,0,Vi(v));break}}return P}function zc(){const{currentType:v,offset:g,startLoc:P,endLoc:$}=o;return o.lastType=v,o.lastOffset=g,o.lastStartLoc=P,o.lastEndLoc=$,o.offset=a(),o.startLoc=r(),i.currentChar()===Ht?m(o,14):hr(i,o)}return{nextToken:zc,currentOffset:a,currentPosition:r,context:s}}const ZO="parser",YO=/(?:\\\\|\\'|\\u([0-9a-fA-F]{4})|\\U([0-9a-fA-F]{6}))/g;function pO(t,e,n){switch(t){case"\\\\":return"\\";case"\\'":return"'";default:{const i=parseInt(e||n,16);return i<=55295||i>=57344?String.fromCodePoint(i):"\uFFFD"}}}function eA(t={}){const e=t.location!==!1,{onError:n,onWarn:i}=t;function a(_,E,N,R,...S){const B=_.currentPosition();if(B.offset+=R,B.column+=R,n){const L=e?wr(N,B):null,z=Zn(E,L,{domain:ZO,args:S});n(z)}}function r(_,E,N,R,...S){const B=_.currentPosition();if(B.offset+=R,B.column+=R,i){const L=e?wr(N,B):null;i(VO(E,L,S))}}function u(_,E,N){const R={type:_};return e&&(R.start=E,R.end=E,R.loc={start:N,end:N}),R}function l(_,E,N,R){R&&(_.type=R),e&&(_.end=E,_.loc&&(_.loc.end=N))}function o(_,E){const N=_.context(),R=u(3,N.offset,N.startLoc);return R.value=E,l(R,_.currentOffset(),_.currentPosition()),R}function s(_,E){const N=_.context(),{lastOffset:R,lastStartLoc:S}=N,B=u(5,R,S);return B.index=parseInt(E,10),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function f(_,E,N){const R=_.context(),{lastOffset:S,lastStartLoc:B}=R,L=u(4,S,B);return L.key=E,N===!0&&(L.modulo=!0),_.nextToken(),l(L,_.currentOffset(),_.currentPosition()),L}function d(_,E){const N=_.context(),{lastOffset:R,lastStartLoc:S}=N,B=u(9,R,S);return B.value=E.replace(YO,pO),_.nextToken(),l(B,_.currentOffset(),_.currentPosition()),B}function m(_){const E=_.nextToken(),N=_.context(),{lastOffset:R,lastStartLoc:S}=N,B=u(8,R,S);return E.type!==12?(a(_,V.UNEXPECTED_EMPTY_LINKED_MODIFIER,N.lastStartLoc,0),B.value="",l(B,R,S),{nextConsumeToken:E,node:B}):(E.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,st(E)),B.value=E.value||"",l(B,_.currentOffset(),_.currentPosition()),{node:B})}function b(_,E){const N=_.context(),R=u(7,N.offset,N.startLoc);return R.value=E,l(R,_.currentOffset(),_.currentPosition()),R}function T(_){const E=_.context(),N=u(6,E.offset,E.startLoc);let R=_.nextToken();if(R.type===9){const S=m(_);N.modifier=S.node,R=S.nextConsumeToken||_.nextToken()}switch(R.type!==10&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),R=_.nextToken(),R.type===2&&(R=_.nextToken()),R.type){case 11:R.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),N.key=b(_,R.value||"");break;case 5:R.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),N.key=f(_,R.value||"");break;case 6:R.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),N.key=s(_,R.value||"");break;case 7:R.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(R)),N.key=d(_,R.value||"");break;default:{a(_,V.UNEXPECTED_EMPTY_LINKED_KEY,E.lastStartLoc,0);const S=_.context(),B=u(7,S.offset,S.startLoc);return B.value="",l(B,S.offset,S.startLoc),N.key=B,l(N,S.offset,S.startLoc),{nextConsumeToken:R,node:N}}}return l(N,_.currentOffset(),_.currentPosition()),{node:N}}function w(_){const E=_.context(),N=E.currentType===1?_.currentOffset():E.offset,R=E.currentType===1?E.endLoc:E.startLoc,S=u(2,N,R);S.items=[];let B=null,L=null;do{const W=B||_.nextToken();switch(B=null,W.type){case 0:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),S.items.push(o(_,W.value||""));break;case 6:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),S.items.push(s(_,W.value||""));break;case 4:L=!0;break;case 5:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),S.items.push(f(_,W.value||"",!!L)),L&&(r(_,Ir.USE_MODULO_SYNTAX,E.lastStartLoc,0,st(W)),L=null);break;case 7:W.value==null&&a(_,V.UNEXPECTED_LEXICAL_ANALYSIS,E.lastStartLoc,0,st(W)),S.items.push(d(_,W.value||""));break;case 8:{const ge=T(_);S.items.push(ge.node),B=ge.nextConsumeToken||null;break}}}while(E.currentType!==14&&E.currentType!==1);const z=E.currentType===1?E.lastOffset:_.currentOffset(),ke=E.currentType===1?E.lastEndLoc:_.currentPosition();return l(S,z,ke),S}function D(_,E,N,R){const S=_.context();let B=R.items.length===0;const L=u(1,E,N);L.cases=[],L.cases.push(R);do{const z=w(_);B||(B=z.items.length===0),L.cases.push(z)}while(S.currentType!==14);return B&&a(_,V.MUST_HAVE_MESSAGES_IN_PLURAL,N,0),l(L,_.currentOffset(),_.currentPosition()),L}function y(_){const E=_.context(),{offset:N,startLoc:R}=E,S=w(_);return E.currentType===14?S:D(_,N,R,S)}function O(_){const E=QO(_,Oe({},t)),N=E.context(),R=u(0,N.offset,N.startLoc);return e&&R.loc&&(R.loc.source=_),R.body=y(E),t.onCacheKey&&(R.cacheKey=t.onCacheKey(_)),N.currentType!==14&&a(E,V.UNEXPECTED_LEXICAL_ANALYSIS,N.lastStartLoc,0,_[N.offset]||""),l(R,E.currentOffset(),E.currentPosition()),R}return{parse:O}}function st(t){if(t.type===14)return"EOF";const e=(t.value||"").replace(/\r?\n/gu,"\\n");return e.length>10?e.slice(0,9)+"\u2026":e}function tA(t,e={}){const n={ast:t,helpers:new Set};return{context:()=>n,helper:r=>(n.helpers.add(r),r)}}function gd(t,e){for(let n=0;n<t.length;n++)Vl(t[n],e)}function Vl(t,e){switch(t.type){case 1:gd(t.cases,e),e.helper("plural");break;case 2:gd(t.items,e);break;case 6:{Vl(t.key,e),e.helper("linked"),e.helper("type");break}case 5:e.helper("interpolate"),e.helper("list");break;case 4:e.helper("interpolate"),e.helper("named");break}}function nA(t,e={}){const n=tA(t);n.helper("normalize"),t.body&&Vl(t.body,n);const i=n.context();t.helpers=Array.from(i.helpers)}function iA(t){const e=t.body;return e.type===2?yd(e):e.cases.forEach(n=>yd(n)),t}function yd(t){if(t.items.length===1){const e=t.items[0];(e.type===3||e.type===9)&&(t.static=e.value,delete e.value)}else{const e=[];for(let n=0;n<t.items.length;n++){const i=t.items[n];if(!(i.type===3||i.type===9)||i.value==null)break;e.push(i.value)}if(e.length===t.items.length){t.static=Ml(e);for(let n=0;n<t.items.length;n++){const i=t.items[n];(i.type===3||i.type===9)&&delete i.value}}}}const aA="minifier";function Yn(t){switch(t.t=t.type,t.type){case 0:{const e=t;Yn(e.body),e.b=e.body,delete e.body;break}case 1:{const e=t,n=e.cases;for(let i=0;i<n.length;i++)Yn(n[i]);e.c=n,delete e.cases;break}case 2:{const e=t,n=e.items;for(let i=0;i<n.length;i++)Yn(n[i]);e.i=n,delete e.items,e.static&&(e.s=e.static,delete e.static);break}case 3:case 9:case 8:case 7:{const e=t;e.value&&(e.v=e.value,delete e.value);break}case 6:{const e=t;Yn(e.key),e.k=e.key,delete e.key,e.modifier&&(Yn(e.modifier),e.m=e.modifier,delete e.modifier);break}case 5:{const e=t;e.i=e.index,delete e.index;break}case 4:{const e=t;e.k=e.key,delete e.key;break}default:if(process.env.NODE_ENV!=="production")throw Zn(V.UNHANDLED_MINIFIER_NODE_TYPE,null,{domain:aA,args:[t.type]})}delete t.type}const rA="parser";function uA(t,e){const{sourceMap:n,filename:i,breakLineCode:a,needIndent:r}=e,u=e.location!==!1,l={filename:i,code:"",column:1,line:1,offset:0,map:void 0,breakLineCode:a,needIndent:r,indentLevel:0};u&&t.loc&&(l.source=t.loc.source);const o=()=>l;function s(D,y){l.code+=D}function f(D,y=!0){const O=y?a:"";s(r?O+" ".repeat(D):O)}function d(D=!0){const y=++l.indentLevel;D&&f(y)}function m(D=!0){const y=--l.indentLevel;D&&f(y)}function b(){f(l.indentLevel)}return{context:o,push:s,indent:d,deindent:m,newline:b,helper:D=>`_${D}`,needIndent:()=>l.needIndent}}function lA(t,e){const{helper:n}=t;t.push(`${n("linked")}(`),pn(t,e.key),e.modifier?(t.push(", "),pn(t,e.modifier),t.push(", _type")):t.push(", undefined, _type"),t.push(")")}function oA(t,e){const{helper:n,needIndent:i}=t;t.push(`${n("normalize")}([`),t.indent(i());const a=e.items.length;for(let r=0;r<a&&(pn(t,e.items[r]),r!==a-1);r++)t.push(", ");t.deindent(i()),t.push("])")}function sA(t,e){const{helper:n,needIndent:i}=t;if(e.cases.length>1){t.push(`${n("plural")}([`),t.indent(i());const a=e.cases.length;for(let r=0;r<a&&(pn(t,e.cases[r]),r!==a-1);r++)t.push(", ");t.deindent(i()),t.push("])")}}function cA(t,e){e.body?pn(t,e.body):t.push("null")}function pn(t,e){const{helper:n}=t;switch(e.type){case 0:cA(t,e);break;case 1:sA(t,e);break;case 2:oA(t,e);break;case 6:lA(t,e);break;case 8:t.push(JSON.stringify(e.value),e);break;case 7:t.push(JSON.stringify(e.value),e);break;case 5:t.push(`${n("interpolate")}(${n("list")}(${e.index}))`,e);break;case 4:t.push(`${n("interpolate")}(${n("named")}(${JSON.stringify(e.key)}))`,e);break;case 9:t.push(JSON.stringify(e.value),e);break;case 3:t.push(JSON.stringify(e.value),e);break;default:if(process.env.NODE_ENV!=="production")throw Zn(V.UNHANDLED_CODEGEN_NODE_TYPE,null,{domain:rA,args:[e.type]})}}const dA=(t,e={})=>{const n=M(e.mode)?e.mode:"normal",i=M(e.filename)?e.filename:"message.intl",a=!!e.sourceMap,r=e.breakLineCode!=null?e.breakLineCode:n==="arrow"?";":`
|
|
12
|
-
`,u=e.needIndent?e.needIndent:n!=="arrow",l=t.helpers||[],o=uA(t,{mode:n,filename:i,sourceMap:a,breakLineCode:r,needIndent:u});o.push(n==="normal"?"function __msg__ (ctx) {":"(ctx) => {"),o.indent(u),l.length>0&&(o.push(`const { ${Ml(l.map(d=>`${d}: _${d}`),", ")} } = ctx`),o.newline()),o.push("return "),pn(o,t),o.deindent(u),o.push("}"),delete t.helpers;const{code:s,map:f}=o.context();return{ast:t,code:s,map:f?f.toJSON():void 0}};function fA(t,e={}){const n=Oe({},e),i=!!n.jit,a=!!n.minify,r=n.optimize==null?!0:n.optimize,l=eA(n).parse(t);return i?(r&&iA(l),a&&Yn(l),{ast:l,code:""}):(nA(l,n),dA(l,n))}/*!
|
|
13
|
-
* core-base v9.14.0
|
|
14
|
-
* (c) 2024 kazuya kawaguchi
|
|
15
|
-
* Released under the MIT License.
|
|
16
|
-
*/function hA(){typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(At().__INTLIFY_PROD_DEVTOOLS__=!1),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(At().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(At().__INTLIFY_DROP_MESSAGE_COMPILER__=!1)}const jt=[];jt[0]={w:[0],i:[3,0],["["]:[4],o:[7]},jt[1]={w:[1],["."]:[2],["["]:[4],o:[7]},jt[2]={w:[2],i:[3,0],[0]:[3,0]},jt[3]={i:[3,0],[0]:[3,0],w:[1,1],["."]:[2,1],["["]:[4,1],o:[7,1]},jt[4]={["'"]:[5,0],['"']:[6,0],["["]:[4,2],["]"]:[1,3],o:8,l:[4,0]},jt[5]={["'"]:[4,0],o:8,l:[5,0]},jt[6]={['"']:[4,0],o:8,l:[6,0]};const mA=/^\s?(?:true|false|-?[\d.]+|'[^']*'|"[^"]*")\s?$/;function vA(t){return mA.test(t)}function gA(t){const e=t.charCodeAt(0),n=t.charCodeAt(t.length-1);return e===n&&(e===34||e===39)?t.slice(1,-1):t}function yA(t){if(t==null)return"o";switch(t.charCodeAt(0)){case 91:case 93:case 46:case 34:case 39:return t;case 95:case 36:case 45:return"i";case 9:case 10:case 13:case 160:case 65279:case 8232:case 8233:return"w"}return"i"}function _A(t){const e=t.trim();return t.charAt(0)==="0"&&isNaN(parseInt(t))?!1:vA(e)?gA(e):"*"+e}function bA(t){const e=[];let n=-1,i=0,a=0,r,u,l,o,s,f,d;const m=[];m[0]=()=>{u===void 0?u=l:u+=l},m[1]=()=>{u!==void 0&&(e.push(u),u=void 0)},m[2]=()=>{m[0](),a++},m[3]=()=>{if(a>0)a--,i=4,m[0]();else{if(a=0,u===void 0||(u=_A(u),u===!1))return!1;m[1]()}};function b(){const T=t[n+1];if(i===5&&T==="'"||i===6&&T==='"')return n++,l="\\"+T,m[0](),!0}for(;i!==null;)if(n++,r=t[n],!(r==="\\"&&b())){if(o=yA(r),d=jt[i],s=d[o]||d.l||8,s===8||(i=s[0],s[1]!==void 0&&(f=m[s[1]],f&&(l=r,f()===!1))))return;if(i===7)return e}}const _d=new Map;function EA(t,e){return J(t)?t[e]:null}function CA(t,e){if(!J(t))return null;let n=_d.get(e);if(n||(n=bA(e),n&&_d.set(e,n)),!n)return null;const i=n.length;let a=t,r=0;for(;r<i;){const u=a[n[r]];if(u===void 0||ie(a))return null;a=u,r++}return a}const wA=t=>t,IA=t=>"",SA="text",TA=t=>t.length===0?"":Ml(t),OA=kO;function bd(t,e){return t=Math.abs(t),e===2?t?t>1?1:0:1:t?Math.min(t,2):0}function AA(t){const e=Te(t.pluralIndex)?t.pluralIndex:-1;return t.named&&(Te(t.named.count)||Te(t.named.n))?Te(t.named.count)?t.named.count:Te(t.named.n)?t.named.n:e:e}function RA(t,e){e.count||(e.count=t),e.n||(e.n=t)}function DA(t={}){const e=t.locale,n=AA(t),i=J(t.pluralRules)&&M(e)&&ie(t.pluralRules[e])?t.pluralRules[e]:bd,a=J(t.pluralRules)&&M(e)&&ie(t.pluralRules[e])?bd:void 0,r=y=>y[i(n,y.length,a)],u=t.list||[],l=y=>u[y],o=t.named||{};Te(t.pluralIndex)&&RA(n,o);const s=y=>o[y];function f(y){const O=ie(t.messages)?t.messages(y):J(t.messages)?t.messages[y]:!1;return O||(t.parent?t.parent.message(y):IA)}const d=y=>t.modifiers?t.modifiers[y]:wA,m=j(t.processor)&&ie(t.processor.normalize)?t.processor.normalize:TA,b=j(t.processor)&&ie(t.processor.interpolate)?t.processor.interpolate:OA,T=j(t.processor)&&M(t.processor.type)?t.processor.type:SA,D={list:l,named:s,plural:r,linked:(y,...O)=>{const[_,E]=O;let N="text",R="";O.length===1?J(_)?(R=_.modifier||R,N=_.type||N):M(_)&&(R=_||R):O.length===2&&(M(_)&&(R=_||R),M(E)&&(N=E||N));const S=f(y)(D),B=N==="vnode"&&ue(S)&&R?S[0]:S;return R?d(R)(B,N):B},message:f,type:T,interpolate:b,normalize:m,values:Oe({},u,o)};return D}let Xi=null;function NA(t){Xi=t}function PA(t,e,n){Xi&&Xi.emit("i18n:init",{timestamp:Date.now(),i18n:t,version:e,meta:n})}const FA=BA("function:translate");function BA(t){return e=>Xi&&Xi.emit(t,e)}const Ed=Ir.__EXTEND_POINT__,vn=br(Ed),qe={NOT_FOUND_KEY:Ed,FALLBACK_TO_TRANSLATE:vn(),CANNOT_FORMAT_NUMBER:vn(),FALLBACK_TO_NUMBER_FORMAT:vn(),CANNOT_FORMAT_DATE:vn(),FALLBACK_TO_DATE_FORMAT:vn(),EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER:vn(),__EXTEND_POINT__:vn()},LA={[qe.NOT_FOUND_KEY]:"Not found '{key}' key in '{locale}' locale messages.",[qe.FALLBACK_TO_TRANSLATE]:"Fall back to translate '{key}' key with '{target}' locale.",[qe.CANNOT_FORMAT_NUMBER]:"Cannot format a number value due to not supported Intl.NumberFormat.",[qe.FALLBACK_TO_NUMBER_FORMAT]:"Fall back to number format '{key}' key with '{target}' locale.",[qe.CANNOT_FORMAT_DATE]:"Cannot format a date value due to not supported Intl.DateTimeFormat.",[qe.FALLBACK_TO_DATE_FORMAT]:"Fall back to datetime format '{key}' key with '{target}' locale.",[qe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER]:"This project is using Custom Message Compiler, which is an experimental feature. It may receive breaking changes or be removed in the future."};function gn(t,...e){return zi(LA[t],...e)}const Cd=V.__EXTEND_POINT__,yn=br(Cd),Be={INVALID_ARGUMENT:Cd,INVALID_DATE_ARGUMENT:yn(),INVALID_ISO_DATE_ARGUMENT:yn(),NOT_SUPPORT_NON_STRING_MESSAGE:yn(),NOT_SUPPORT_LOCALE_PROMISE_VALUE:yn(),NOT_SUPPORT_LOCALE_ASYNC_FUNCTION:yn(),NOT_SUPPORT_LOCALE_TYPE:yn(),__EXTEND_POINT__:yn()};function _t(t){return Zn(t,null,process.env.NODE_ENV!=="production"?{messages:kA}:void 0)}const kA={[Be.INVALID_ARGUMENT]:"Invalid arguments",[Be.INVALID_DATE_ARGUMENT]:"The date provided is an invalid Date object.Make sure your Date represents a valid date.",[Be.INVALID_ISO_DATE_ARGUMENT]:"The argument provided is not a valid ISO date string",[Be.NOT_SUPPORT_NON_STRING_MESSAGE]:"Not support non-string message",[Be.NOT_SUPPORT_LOCALE_PROMISE_VALUE]:"cannot support promise value",[Be.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION]:"cannot support async function",[Be.NOT_SUPPORT_LOCALE_TYPE]:"cannot support locale type"};function Ul(t,e){return e.locale!=null?wd(e.locale):wd(t.locale)}let Hl;function wd(t){if(M(t))return t;if(ie(t)){if(t.resolvedOnce&&Hl!=null)return Hl;if(t.constructor.name==="Function"){const e=t();if(LO(e))throw _t(Be.NOT_SUPPORT_LOCALE_PROMISE_VALUE);return Hl=e}else throw _t(Be.NOT_SUPPORT_LOCALE_ASYNC_FUNCTION)}else throw _t(Be.NOT_SUPPORT_LOCALE_TYPE)}function xA(t,e,n){return[...new Set([n,...ue(e)?e:J(e)?Object.keys(e):M(e)?[e]:[n]])]}function Id(t,e,n){const i=M(n)?n:ei,a=t;a.__localeChainCache||(a.__localeChainCache=new Map);let r=a.__localeChainCache.get(i);if(!r){r=[];let u=[n];for(;ue(u);)u=Sd(r,u,e);const l=ue(e)||!j(e)?e:e.default?e.default:null;u=M(l)?[l]:l,ue(u)&&Sd(r,u,!1),a.__localeChainCache.set(i,r)}return r}function Sd(t,e,n){let i=!0;for(let a=0;a<e.length&&q(i);a++){const r=e[a];M(r)&&(i=MA(t,e[a],n))}return i}function MA(t,e,n){let i;const a=e.split("-");do{const r=a.join("-");i=$A(t,r,n),a.splice(-1,1)}while(a.length&&i===!0);return i}function $A(t,e,n){let i=!1;if(!t.includes(e)&&(i=!0,e)){i=e[e.length-1]!=="!";const a=e.replace(/!/g,"");t.push(a),(ue(n)||j(n))&&n[a]&&(i=n[a])}return i}const VA="9.14.0",Sr=-1,ei="en-US",Tr="",Td=t=>`${t.charAt(0).toLocaleUpperCase()}${t.substr(1)}`;function UA(){return{upper:(t,e)=>e==="text"&&M(t)?t.toUpperCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toUpperCase():t,lower:(t,e)=>e==="text"&&M(t)?t.toLowerCase():e==="vnode"&&J(t)&&"__v_isVNode"in t?t.children.toLowerCase():t,capitalize:(t,e)=>e==="text"&&M(t)?Td(t):e==="vnode"&&J(t)&&"__v_isVNode"in t?Td(t.children):t}}let Od;function Ad(t){Od=t}let Rd;function HA(t){Rd=t}let Dd;function jA(t){Dd=t}let Nd=null;const Pd=t=>{Nd=t},WA=()=>Nd;let Fd=null;const Bd=t=>{Fd=t},qA=()=>Fd;let Ld=0;function GA(t={}){const e=ie(t.onWarn)?t.onWarn:Ae,n=M(t.version)?t.version:VA,i=M(t.locale)||ie(t.locale)?t.locale:ei,a=ie(i)?ei:i,r=ue(t.fallbackLocale)||j(t.fallbackLocale)||M(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:a,u=j(t.messages)?t.messages:{[a]:{}},l=j(t.datetimeFormats)?t.datetimeFormats:{[a]:{}},o=j(t.numberFormats)?t.numberFormats:{[a]:{}},s=Oe({},t.modifiers||{},UA()),f=t.pluralRules||{},d=ie(t.missing)?t.missing:null,m=q(t.missingWarn)||Ut(t.missingWarn)?t.missingWarn:!0,b=q(t.fallbackWarn)||Ut(t.fallbackWarn)?t.fallbackWarn:!0,T=!!t.fallbackFormat,w=!!t.unresolving,D=ie(t.postTranslation)?t.postTranslation:null,y=j(t.processor)?t.processor:null,O=q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,_=!!t.escapeParameter,E=ie(t.messageCompiler)?t.messageCompiler:Od;process.env.NODE_ENV!=="production"&&!0&&!0&&ie(t.messageCompiler)&&md(gn(qe.EXPERIMENTAL_CUSTOM_MESSAGE_COMPILER));const N=ie(t.messageResolver)?t.messageResolver:Rd||EA,R=ie(t.localeFallbacker)?t.localeFallbacker:Dd||xA,S=J(t.fallbackContext)?t.fallbackContext:void 0,B=t,L=J(B.__datetimeFormatters)?B.__datetimeFormatters:new Map,z=J(B.__numberFormatters)?B.__numberFormatters:new Map,ke=J(B.__meta)?B.__meta:{};Ld++;const W={version:n,cid:Ld,locale:i,fallbackLocale:r,messages:u,modifiers:s,pluralRules:f,missing:d,missingWarn:m,fallbackWarn:b,fallbackFormat:T,unresolving:w,postTranslation:D,processor:y,warnHtmlMessage:O,escapeParameter:_,messageCompiler:E,messageResolver:N,localeFallbacker:R,fallbackContext:S,onWarn:e,__meta:ke};return W.datetimeFormats=l,W.numberFormats=o,W.__datetimeFormatters=L,W.__numberFormatters=z,process.env.NODE_ENV!=="production"&&(W.__v_emitter=B.__v_emitter!=null?B.__v_emitter:void 0),(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&PA(W,n,ke),W}function Or(t,e){return t instanceof RegExp?t.test(e):t}function kd(t,e){return t instanceof RegExp?t.test(e):t}function jl(t,e,n,i,a){const{missing:r,onWarn:u}=t;if(process.env.NODE_ENV!=="production"){const l=t.__v_emitter;l&&l.emit("missing",{locale:n,key:e,type:a,groupId:`${a}:${e}`})}if(r!==null){const l=r(t,n,e,a);return M(l)?l:e}else return process.env.NODE_ENV!=="production"&&kd(i,e)&&u(gn(qe.NOT_FOUND_KEY,{key:e,locale:n})),e}function Ji(t,e,n){const i=t;i.__localeChainCache=new Map,t.localeFallbacker(t,n,e)}function xd(t,e){return t===e?!1:t.split("-")[0]===e.split("-")[0]}function KA(t,e){const n=e.indexOf(t);if(n===-1)return!1;for(let i=n+1;i<e.length;i++)if(xd(t,e[i]))return!0;return!1}function Wl(t){return n=>zA(n,t)}function zA(t,e){const n=e.b||e.body;if((n.t||n.type)===1){const i=n,a=i.c||i.cases;return t.plural(a.reduce((r,u)=>[...r,Md(t,u)],[]))}else return Md(t,n)}function Md(t,e){const n=e.s||e.static;if(n)return t.type==="text"?n:t.normalize([n]);{const i=(e.i||e.items).reduce((a,r)=>[...a,ql(t,r)],[]);return t.normalize(i)}}function ql(t,e){const n=e.t||e.type;switch(n){case 3:{const i=e;return i.v||i.value}case 9:{const i=e;return i.v||i.value}case 4:{const i=e;return t.interpolate(t.named(i.k||i.key))}case 5:{const i=e;return t.interpolate(t.list(i.i!=null?i.i:i.index))}case 6:{const i=e,a=i.m||i.modifier;return t.linked(ql(t,i.k||i.key),a?ql(t,a):void 0,t.type)}case 7:{const i=e;return i.v||i.value}case 8:{const i=e;return i.v||i.value}default:throw new Error(`unhandled node type on format message part: ${n}`)}}const XA="Detected HTML in '{source}' message. Recommend not using HTML messages to avoid XSS.";function $d(t,e){e&&WO(t)&&Ae(zi(XA,{source:t}))}const Vd=t=>t;let ti=Object.create(null);function Ud(t){t.code===Ir.USE_MODULO_SYNTAX&&Ae(`The use of named interpolation with modulo syntax is deprecated. It will be removed in v10.
|
|
17
|
-
reference: https://vue-i18n.intlify.dev/guide/essentials/syntax#rails-i18n-format
|
|
18
|
-
(message compiler warning message: ${t.message})`)}const Wt=t=>J(t)&&(t.t===0||t.type===0)&&("b"in t||"body"in t);function Hd(t,e={}){let n=!1;const i=e.onError||HO;return e.onError=a=>{n=!0,i(a)},mr($t({},fA(t,e)),{detectError:n})}const JA=(t,e)=>{if(!M(t))throw _t(Be.NOT_SUPPORT_NON_STRING_MESSAGE);process.env.NODE_ENV!=="production"&&(e.onWarn=Ud);{const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$d(t,n);const a=(e.onCacheKey||Vd)(t),r=ti[a];if(r)return r;const{code:u,detectError:l}=Hd(t,e),o=new Function(`return ${u}`)();return l?o:ti[a]=o}};function QA(t,e){if(process.env.NODE_ENV!=="production"&&(e.onWarn=Ud),__INTLIFY_JIT_COMPILATION__&&!__INTLIFY_DROP_MESSAGE_COMPILER__&&M(t)){const n=q(e.warnHtmlMessage)?e.warnHtmlMessage:!0;process.env.NODE_ENV!=="production"&&$d(t,n);const a=(e.onCacheKey||Vd)(t),r=ti[a];if(r)return r;const{ast:u,detectError:l}=Hd(t,mr($t({},e),{location:process.env.NODE_ENV!=="production",jit:!0})),o=Wl(u);return l?o:ti[a]=o}else{if(process.env.NODE_ENV!=="production"&&!Wt(t))return Ae(`the message that is resolve with key '${e.key}' is not supported for jit compilation`),()=>t;const n=t.cacheKey;if(n){const i=ti[n];return i||(ti[n]=Wl(t))}else return Wl(t)}}const jd=()=>"",at=t=>ie(t);function Wd(t,...e){const{fallbackFormat:n,postTranslation:i,unresolving:a,messageCompiler:r,fallbackLocale:u,messages:l}=t,[o,s]=Gl(...e),f=q(s.missingWarn)?s.missingWarn:t.missingWarn,d=q(s.fallbackWarn)?s.fallbackWarn:t.fallbackWarn,m=q(s.escapeParameter)?s.escapeParameter:t.escapeParameter,b=!!s.resolvedMessage,T=M(s.default)||q(s.default)?q(s.default)?r?o:()=>o:s.default:n?r?o:()=>o:"",w=n||T!=="",D=Ul(t,s);m&&ZA(s);let[y,O,_]=b?[o,D,l[D]||{}]:qd(t,o,D,u,d,f),E=y,N=o;if(!b&&!(M(E)||Wt(E)||at(E))&&w&&(E=T,N=E),!b&&(!(M(E)||Wt(E)||at(E))||!M(O)))return a?Sr:o;if(process.env.NODE_ENV!=="production"&&M(E)&&t.messageCompiler==null)return Ae(`The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return '${o}'.`),o;let R=!1;const S=()=>{R=!0},B=at(E)?E:Gd(t,o,O,E,N,S);if(R)return E;const L=tR(t,O,_,s),z=DA(L),ke=YA(t,B,z),W=i?i(ke,o):ke;if(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const ge={timestamp:Date.now(),key:M(o)?o:at(E)?E.key:"",locale:O||(at(E)?E.locale:""),format:M(E)?E:at(E)?E.source:"",message:W};ge.meta=Oe({},t.__meta,WA()||{}),FA(ge)}return W}function ZA(t){ue(t.list)?t.list=t.list.map(e=>M(e)?sd(e):e):J(t.named)&&Object.keys(t.named).forEach(e=>{M(t.named[e])&&(t.named[e]=sd(t.named[e]))})}function qd(t,e,n,i,a,r){const{messages:u,onWarn:l,messageResolver:o,localeFallbacker:s}=t,f=s(t,i,n);let d={},m,b=null,T=n,w=null;const D="translate";for(let y=0;y<f.length;y++){if(m=w=f[y],process.env.NODE_ENV!=="production"&&n!==m&&!xd(n,m)&&Or(a,e)&&l(gn(qe.FALLBACK_TO_TRANSLATE,{key:e,target:m})),process.env.NODE_ENV!=="production"&&n!==m){const N=t.__v_emitter;N&&N.emit("fallback",{type:D,key:e,from:T,to:w,groupId:`${D}:${e}`})}d=u[m]||{};let O=null,_,E;if(process.env.NODE_ENV!=="production"&<&&(O=window.performance.now(),_="intlify-message-resolve-start",E="intlify-message-resolve-end",pe&&pe(_)),(b=o(d,e))===null&&(b=d[e]),process.env.NODE_ENV!=="production"&<){const N=window.performance.now(),R=t.__v_emitter;R&&O&&b&&R.emit("message-resolve",{type:"message-resolve",key:e,message:b,time:N-O,groupId:`${D}:${e}`}),_&&E&&pe&&mn&&(pe(E),mn("intlify message resolve",_,E))}if(M(b)||Wt(b)||at(b))break;if(!KA(m,f)){const N=jl(t,e,m,r,D);N!==e&&(b=N)}T=w}return[b,m,d]}function Gd(t,e,n,i,a,r){const{messageCompiler:u,warnHtmlMessage:l}=t;if(at(i)){const m=i;return m.locale=m.locale||n,m.key=m.key||e,m}if(u==null){const m=()=>i;return m.locale=n,m.key=e,m}let o=null,s,f;process.env.NODE_ENV!=="production"&<&&(o=window.performance.now(),s="intlify-message-compilation-start",f="intlify-message-compilation-end",pe&&pe(s));const d=u(i,pA(t,n,a,i,l,r));if(process.env.NODE_ENV!=="production"&<){const m=window.performance.now(),b=t.__v_emitter;b&&o&&b.emit("message-compilation",{type:"message-compilation",message:i,time:m-o,groupId:`translate:${e}`}),s&&f&&pe&&mn&&(pe(f),mn("intlify message compilation",s,f))}return d.locale=n,d.key=e,d.source=i,d}function YA(t,e,n){let i=null,a,r;process.env.NODE_ENV!=="production"&<&&(i=window.performance.now(),a="intlify-message-evaluation-start",r="intlify-message-evaluation-end",pe&&pe(a));const u=e(n);if(process.env.NODE_ENV!=="production"&<){const l=window.performance.now(),o=t.__v_emitter;o&&i&&o.emit("message-evaluation",{type:"message-evaluation",value:u,time:l-i,groupId:`translate:${e.key}`}),a&&r&&pe&&mn&&(pe(r),mn("intlify message evaluation",a,r))}return u}function Gl(...t){const[e,n,i]=t,a={};if(!M(e)&&!Te(e)&&!at(e)&&!Wt(e))throw _t(Be.INVALID_ARGUMENT);const r=Te(e)?String(e):(at(e),e);return Te(n)?a.plural=n:M(n)?a.default=n:j(n)&&!yr(n)?a.named=n:ue(n)&&(a.list=n),Te(i)?a.plural=i:M(i)?a.default=i:j(i)&&Oe(a,i),[r,a]}function pA(t,e,n,i,a,r){return{locale:e,key:n,warnHtmlMessage:a,onError:u=>{if(r&&r(u),process.env.NODE_ENV!=="production"){const l=eR(i),o=`Message compilation error: ${u.message}`,s=u.location&&l&&xO(l,u.location.start.offset,u.location.end.offset),f=t.__v_emitter;f&&l&&f.emit("compile-error",{message:l,error:u.message,start:u.location&&u.location.start.offset,end:u.location&&u.location.end.offset,groupId:`translate:${n}`}),console.error(s?`${o}
|
|
19
|
-
${s}`:o)}else throw u},onCacheKey:u=>NO(e,n,u)}}function eR(t){if(M(t))return t;if(t.loc&&t.loc.source)return t.loc.source}function tR(t,e,n,i){const{modifiers:a,pluralRules:r,messageResolver:u,fallbackLocale:l,fallbackWarn:o,missingWarn:s,fallbackContext:f}=t,m={locale:e,modifiers:a,pluralRules:r,messages:b=>{let T=u(n,b);if(T==null&&f){const[,,w]=qd(f,b,e,l,o,s);T=u(w,b)}if(M(T)||Wt(T)){let w=!1;const y=Gd(t,b,e,T,b,()=>{w=!0});return w?jd:y}else return at(T)?T:jd}};return t.processor&&(m.processor=t.processor),i.list&&(m.list=i.list),i.named&&(m.named=i.named),Te(i.plural)&&(m.pluralIndex=i.plural),m}const Kd=typeof Intl!="undefined",zd={dateTimeFormat:Kd&&typeof Intl.DateTimeFormat!="undefined",numberFormat:Kd&&typeof Intl.NumberFormat!="undefined"};function Xd(t,...e){const{datetimeFormats:n,unresolving:i,fallbackLocale:a,onWarn:r,localeFallbacker:u}=t,{__datetimeFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!zd.dateTimeFormat)return r(gn(qe.CANNOT_FORMAT_DATE)),Tr;const[o,s,f,d]=Kl(...e),m=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,T=!!f.part,w=Ul(t,f),D=u(t,a,w);if(!M(o)||o==="")return new Intl.DateTimeFormat(w,d).format(s);let y={},O,_=null,E=w,N=null;const R="datetime format";for(let L=0;L<D.length;L++){if(O=N=D[L],process.env.NODE_ENV!=="production"&&w!==O&&Or(b,o)&&r(gn(qe.FALLBACK_TO_DATE_FORMAT,{key:o,target:O})),process.env.NODE_ENV!=="production"&&w!==O){const z=t.__v_emitter;z&&z.emit("fallback",{type:R,key:o,from:E,to:N,groupId:`${R}:${o}`})}if(y=n[O]||{},_=y[o],j(_))break;jl(t,o,O,m,R),E=N}if(!j(_)||!M(O))return i?Sr:o;let S=`${O}__${o}`;yr(d)||(S=`${S}__${JSON.stringify(d)}`);let B=l.get(S);return B||(B=new Intl.DateTimeFormat(O,Oe({},_,d)),l.set(S,B)),T?B.formatToParts(s):B.format(s)}const Jd=["localeMatcher","weekday","era","year","month","day","hour","minute","second","timeZoneName","formatMatcher","hour12","timeZone","dateStyle","timeStyle","calendar","dayPeriod","numberingSystem","hourCycle","fractionalSecondDigits"];function Kl(...t){const[e,n,i,a]=t,r={};let u={},l;if(M(e)){const o=e.match(/(\d{4}-\d{2}-\d{2})(T|\s)?(.*)/);if(!o)throw _t(Be.INVALID_ISO_DATE_ARGUMENT);const s=o[3]?o[3].trim().startsWith("T")?`${o[1].trim()}${o[3].trim()}`:`${o[1].trim()}T${o[3].trim()}`:o[1].trim();l=new Date(s);try{l.toISOString()}catch(f){throw _t(Be.INVALID_ISO_DATE_ARGUMENT)}}else if(FO(e)){if(isNaN(e.getTime()))throw _t(Be.INVALID_DATE_ARGUMENT);l=e}else if(Te(e))l=e;else throw _t(Be.INVALID_ARGUMENT);return M(n)?r.key=n:j(n)&&Object.keys(n).forEach(o=>{Jd.includes(o)?u[o]=n[o]:r[o]=n[o]}),M(i)?r.locale=i:j(i)&&(u=i),j(a)&&(u=a),[r.key||"",l,r,u]}function Qd(t,e,n){const i=t;for(const a in n){const r=`${e}__${a}`;!i.__datetimeFormatters.has(r)||i.__datetimeFormatters.delete(r)}}function Zd(t,...e){const{numberFormats:n,unresolving:i,fallbackLocale:a,onWarn:r,localeFallbacker:u}=t,{__numberFormatters:l}=t;if(process.env.NODE_ENV!=="production"&&!zd.numberFormat)return r(gn(qe.CANNOT_FORMAT_NUMBER)),Tr;const[o,s,f,d]=zl(...e),m=q(f.missingWarn)?f.missingWarn:t.missingWarn,b=q(f.fallbackWarn)?f.fallbackWarn:t.fallbackWarn,T=!!f.part,w=Ul(t,f),D=u(t,a,w);if(!M(o)||o==="")return new Intl.NumberFormat(w,d).format(s);let y={},O,_=null,E=w,N=null;const R="number format";for(let L=0;L<D.length;L++){if(O=N=D[L],process.env.NODE_ENV!=="production"&&w!==O&&Or(b,o)&&r(gn(qe.FALLBACK_TO_NUMBER_FORMAT,{key:o,target:O})),process.env.NODE_ENV!=="production"&&w!==O){const z=t.__v_emitter;z&&z.emit("fallback",{type:R,key:o,from:E,to:N,groupId:`${R}:${o}`})}if(y=n[O]||{},_=y[o],j(_))break;jl(t,o,O,m,R),E=N}if(!j(_)||!M(O))return i?Sr:o;let S=`${O}__${o}`;yr(d)||(S=`${S}__${JSON.stringify(d)}`);let B=l.get(S);return B||(B=new Intl.NumberFormat(O,Oe({},_,d)),l.set(S,B)),T?B.formatToParts(s):B.format(s)}const Yd=["localeMatcher","style","currency","currencyDisplay","currencySign","useGrouping","minimumIntegerDigits","minimumFractionDigits","maximumFractionDigits","minimumSignificantDigits","maximumSignificantDigits","compactDisplay","notation","signDisplay","unit","unitDisplay","roundingMode","roundingPriority","roundingIncrement","trailingZeroDisplay"];function zl(...t){const[e,n,i,a]=t,r={};let u={};if(!Te(e))throw _t(Be.INVALID_ARGUMENT);const l=e;return M(n)?r.key=n:j(n)&&Object.keys(n).forEach(o=>{Yd.includes(o)?u[o]=n[o]:r[o]=n[o]}),M(i)?r.locale=i:j(i)&&(u=i),j(a)&&(u=a),[r.key||"",l,r,u]}function pd(t,e,n){const i=t;for(const a in n){const r=`${e}__${a}`;!i.__numberFormatters.has(r)||i.__numberFormatters.delete(r)}}hA();/**
|
|
20
|
-
* @vue/shared v3.4.38
|
|
21
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
22
|
-
* @license MIT
|
|
23
|
-
**//*! #__NO_SIDE_EFFECTS__ */function nR(t,e){const n=new Set(t.split(","));return e?i=>n.has(i.toLowerCase()):i=>n.has(i)}const bt=process.env.NODE_ENV!=="production"?Object.freeze({}):{};process.env.NODE_ENV!=="production"&&Object.freeze([]);const qt=()=>{},iR=()=>!1,aR=t=>t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&(t.charCodeAt(2)>122||t.charCodeAt(2)<97),rt=Object.assign,rR=(t,e)=>{const n=t.indexOf(e);n>-1&&t.splice(n,1)},uR=Object.prototype.hasOwnProperty,Ee=(t,e)=>uR.call(t,e),le=Array.isArray,ni=t=>Ar(t)==="[object Map]",lR=t=>Ar(t)==="[object Set]",Ce=t=>typeof t=="function",ct=t=>typeof t=="string",Qi=t=>typeof t=="symbol",Ge=t=>t!==null&&typeof t=="object",oR=t=>(Ge(t)||Ce(t))&&Ce(t.then)&&Ce(t.catch),sR=Object.prototype.toString,Ar=t=>sR.call(t),ef=t=>Ar(t).slice(8,-1),cR=t=>Ar(t)==="[object Object]",Xl=t=>ct(t)&&t!=="NaN"&&t[0]!=="-"&&""+parseInt(t,10)===t,tf=t=>{const e=Object.create(null);return n=>e[n]||(e[n]=t(n))},nf=tf(t=>t.charAt(0).toUpperCase()+t.slice(1)),dR=tf(t=>t?`on${nf(t)}`:""),Gt=(t,e)=>!Object.is(t,e),fR=(t,e,n,i=!1)=>{Object.defineProperty(t,e,{configurable:!0,enumerable:!1,writable:i,value:n})};let af;const rf=()=>af||(af=typeof globalThis!="undefined"?globalThis:typeof self!="undefined"?self:typeof window!="undefined"?window:typeof global!="undefined"?global:{});function Jl(t){if(le(t)){const e={};for(let n=0;n<t.length;n++){const i=t[n],a=ct(i)?gR(i):Jl(i);if(a)for(const r in a)e[r]=a[r]}return e}else if(ct(t)||Ge(t))return t}const hR=/;(?![^(]*\))/g,mR=/:([^]+)/,vR=/\/\*[^]*?\*\//g;function gR(t){const e={};return t.replace(vR,"").split(hR).forEach(n=>{if(n){const i=n.split(mR);i.length>1&&(e[i[0].trim()]=i[1].trim())}}),e}function Ql(t){let e="";if(ct(t))e=t;else if(le(t))for(let n=0;n<t.length;n++){const i=Ql(t[n]);i&&(e+=i+" ")}else if(Ge(t))for(const n in t)t[n]&&(e+=n+" ");return e.trim()}/**
|
|
24
|
-
* @vue/reactivity v3.4.38
|
|
25
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
26
|
-
* @license MIT
|
|
27
|
-
**/function Kt(t,...e){console.warn(`[Vue warn] ${t}`,...e)}let dt;class yR{constructor(e=!1){this.detached=e,this._active=!0,this.effects=[],this.cleanups=[],this.parent=dt,!e&&dt&&(this.index=(dt.scopes||(dt.scopes=[])).push(this)-1)}get active(){return this._active}run(e){if(this._active){const n=dt;try{return dt=this,e()}finally{dt=n}}else process.env.NODE_ENV!=="production"&&Kt("cannot run an inactive effect scope.")}on(){dt=this}off(){dt=this.parent}stop(e){if(this._active){let n,i;for(n=0,i=this.effects.length;n<i;n++)this.effects[n].stop();for(n=0,i=this.cleanups.length;n<i;n++)this.cleanups[n]();if(this.scopes)for(n=0,i=this.scopes.length;n<i;n++)this.scopes[n].stop(!0);if(!this.detached&&this.parent&&!e){const a=this.parent.scopes.pop();a&&a!==this&&(this.parent.scopes[this.index]=a,a.index=this.index)}this.parent=void 0,this._active=!1}}}function _R(t){return new yR(t)}function bR(t,e=dt){e&&e.active&&e.effects.push(t)}function ER(){return dt}let _n;class uf{constructor(e,n,i,a){this.fn=e,this.trigger=n,this.scheduler=i,this.active=!0,this.deps=[],this._dirtyLevel=4,this._trackId=0,this._runnings=0,this._shouldSchedule=!1,this._depsLength=0,bR(this,a)}get dirty(){if(this._dirtyLevel===2||this._dirtyLevel===3){this._dirtyLevel=1,Zi();for(let e=0;e<this._depsLength;e++){const n=this.deps[e];if(n.computed&&(CR(n.computed),this._dirtyLevel>=4))break}this._dirtyLevel===1&&(this._dirtyLevel=0),Yi()}return this._dirtyLevel>=4}set dirty(e){this._dirtyLevel=e?4:0}run(){if(this._dirtyLevel=0,!this.active)return this.fn();let e=zt,n=_n;try{return zt=!0,_n=this,this._runnings++,lf(this),this.fn()}finally{of(this),this._runnings--,_n=n,zt=e}}stop(){this.active&&(lf(this),of(this),this.onStop&&this.onStop(),this.active=!1)}}function CR(t){return t.value}function lf(t){t._trackId++,t._depsLength=0}function of(t){if(t.deps.length>t._depsLength){for(let e=t._depsLength;e<t.deps.length;e++)sf(t.deps[e],t);t.deps.length=t._depsLength}}function sf(t,e){const n=t.get(e);n!==void 0&&e._trackId!==n&&(t.delete(e),t.size===0&&t.cleanup())}let zt=!0,Zl=0;const cf=[];function Zi(){cf.push(zt),zt=!1}function Yi(){const t=cf.pop();zt=t===void 0?!0:t}function Yl(){Zl++}function pl(){for(Zl--;!Zl&&eo.length;)eo.shift()()}function df(t,e,n){var i;if(e.get(t)!==t._trackId){e.set(t,t._trackId);const a=t.deps[t._depsLength];a!==e?(a&&sf(a,t),t.deps[t._depsLength++]=e):t._depsLength++,process.env.NODE_ENV!=="production"&&((i=t.onTrack)==null||i.call(t,rt({effect:t},n)))}}const eo=[];function ff(t,e,n){var i;Yl();for(const a of t.keys()){let r;a._dirtyLevel<e&&(r!=null?r:r=t.get(a)===a._trackId)&&(a._shouldSchedule||(a._shouldSchedule=a._dirtyLevel===0),a._dirtyLevel=e),a._shouldSchedule&&(r!=null?r:r=t.get(a)===a._trackId)&&(process.env.NODE_ENV!=="production"&&((i=a.onTrigger)==null||i.call(a,rt({effect:a},n))),a.trigger(),(!a._runnings||a.allowRecurse)&&a._dirtyLevel!==2&&(a._shouldSchedule=!1,a.scheduler&&eo.push(a.scheduler)))}pl()}const hf=(t,e)=>{const n=new Map;return n.cleanup=t,n.computed=e,n},to=new WeakMap,bn=Symbol(process.env.NODE_ENV!=="production"?"iterate":""),no=Symbol(process.env.NODE_ENV!=="production"?"Map key iterate":"");function Ue(t,e,n){if(zt&&_n){let i=to.get(t);i||to.set(t,i=new Map);let a=i.get(n);a||i.set(n,a=hf(()=>i.delete(n))),df(_n,a,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n}:void 0)}}function Xt(t,e,n,i,a,r){const u=to.get(t);if(!u)return;let l=[];if(e==="clear")l=[...u.values()];else if(n==="length"&&le(t)){const o=Number(i);u.forEach((s,f)=>{(f==="length"||!Qi(f)&&f>=o)&&l.push(s)})}else switch(n!==void 0&&l.push(u.get(n)),e){case"add":le(t)?Xl(n)&&l.push(u.get("length")):(l.push(u.get(bn)),ni(t)&&l.push(u.get(no)));break;case"delete":le(t)||(l.push(u.get(bn)),ni(t)&&l.push(u.get(no)));break;case"set":ni(t)&&l.push(u.get(bn));break}Yl();for(const o of l)o&&ff(o,4,process.env.NODE_ENV!=="production"?{target:t,type:e,key:n,newValue:i,oldValue:a,oldTarget:r}:void 0);pl()}const wR=nR("__proto__,__v_isRef,__isVue"),mf=new Set(Object.getOwnPropertyNames(Symbol).filter(t=>t!=="arguments"&&t!=="caller").map(t=>Symbol[t]).filter(Qi)),vf=IR();function IR(){const t={};return["includes","indexOf","lastIndexOf"].forEach(e=>{t[e]=function(...n){const i=G(this);for(let r=0,u=this.length;r<u;r++)Ue(i,"get",r+"");const a=i[e](...n);return a===-1||a===!1?i[e](...n.map(G)):a}}),["push","pop","shift","unshift","splice"].forEach(e=>{t[e]=function(...n){Zi(),Yl();const i=G(this)[e].apply(this,n);return pl(),Yi(),i}}),t}function SR(t){Qi(t)||(t=String(t));const e=G(this);return Ue(e,"has",t),e.hasOwnProperty(t)}class gf{constructor(e=!1,n=!1){this._isReadonly=e,this._isShallow=n}get(e,n,i){const a=this._isReadonly,r=this._isShallow;if(n==="__v_isReactive")return!a;if(n==="__v_isReadonly")return a;if(n==="__v_isShallow")return r;if(n==="__v_raw")return i===(a?r?Tf:Sf:r?MR:If).get(e)||Object.getPrototypeOf(e)===Object.getPrototypeOf(i)?e:void 0;const u=le(e);if(!a){if(u&&Ee(vf,n))return Reflect.get(vf,n,i);if(n==="hasOwnProperty")return SR}const l=Reflect.get(e,n,i);return(Qi(n)?mf.has(n):wR(n))||(a||Ue(e,"get",n),r)?l:Je(l)?u&&Xl(n)?l:l.value:Ge(l)?a?Af(l):Of(l):l}}class TR extends gf{constructor(e=!1){super(!1,e)}set(e,n,i,a){let r=e[n];if(!this._isShallow){const o=Dt(r);if(!Nt(i)&&!Dt(i)&&(r=G(r),i=G(i)),!le(e)&&Je(r)&&!Je(i))return o?!1:(r.value=i,!0)}const u=le(e)&&Xl(n)?Number(n)<e.length:Ee(e,n),l=Reflect.set(e,n,i,a);return e===G(a)&&(u?Gt(i,r)&&Xt(e,"set",n,i,r):Xt(e,"add",n,i)),l}deleteProperty(e,n){const i=Ee(e,n),a=e[n],r=Reflect.deleteProperty(e,n);return r&&i&&Xt(e,"delete",n,void 0,a),r}has(e,n){const i=Reflect.has(e,n);return(!Qi(n)||!mf.has(n))&&Ue(e,"has",n),i}ownKeys(e){return Ue(e,"iterate",le(e)?"length":bn),Reflect.ownKeys(e)}}class yf extends gf{constructor(e=!1){super(!0,e)}set(e,n){return process.env.NODE_ENV!=="production"&&Kt(`Set operation on key "${String(n)}" failed: target is readonly.`,e),!0}deleteProperty(e,n){return process.env.NODE_ENV!=="production"&&Kt(`Delete operation on key "${String(n)}" failed: target is readonly.`,e),!0}}const OR=new TR,AR=new yf,RR=new yf(!0),io=t=>t,Rr=t=>Reflect.getPrototypeOf(t);function Dr(t,e,n=!1,i=!1){t=t.__v_raw;const a=G(t),r=G(e);n||(Gt(e,r)&&Ue(a,"get",e),Ue(a,"get",r));const{has:u}=Rr(a),l=i?io:n?lo:pi;if(u.call(a,e))return l(t.get(e));if(u.call(a,r))return l(t.get(r));t!==a&&t.get(e)}function Nr(t,e=!1){const n=this.__v_raw,i=G(n),a=G(t);return e||(Gt(t,a)&&Ue(i,"has",t),Ue(i,"has",a)),t===a?n.has(t):n.has(t)||n.has(a)}function Pr(t,e=!1){return t=t.__v_raw,!e&&Ue(G(t),"iterate",bn),Reflect.get(t,"size",t)}function _f(t,e=!1){!e&&!Nt(t)&&!Dt(t)&&(t=G(t));const n=G(this);return Rr(n).has.call(n,t)||(n.add(t),Xt(n,"add",t,t)),this}function bf(t,e,n=!1){!n&&!Nt(e)&&!Dt(e)&&(e=G(e));const i=G(this),{has:a,get:r}=Rr(i);let u=a.call(i,t);u?process.env.NODE_ENV!=="production"&&wf(i,a,t):(t=G(t),u=a.call(i,t));const l=r.call(i,t);return i.set(t,e),u?Gt(e,l)&&Xt(i,"set",t,e,l):Xt(i,"add",t,e),this}function Ef(t){const e=G(this),{has:n,get:i}=Rr(e);let a=n.call(e,t);a?process.env.NODE_ENV!=="production"&&wf(e,n,t):(t=G(t),a=n.call(e,t));const r=i?i.call(e,t):void 0,u=e.delete(t);return a&&Xt(e,"delete",t,void 0,r),u}function Cf(){const t=G(this),e=t.size!==0,n=process.env.NODE_ENV!=="production"?ni(t)?new Map(t):new Set(t):void 0,i=t.clear();return e&&Xt(t,"clear",void 0,void 0,n),i}function Fr(t,e){return function(i,a){const r=this,u=r.__v_raw,l=G(u),o=e?io:t?lo:pi;return!t&&Ue(l,"iterate",bn),u.forEach((s,f)=>i.call(a,o(s),o(f),r))}}function Br(t,e,n){return function(...i){const a=this.__v_raw,r=G(a),u=ni(r),l=t==="entries"||t===Symbol.iterator&&u,o=t==="keys"&&u,s=a[t](...i),f=n?io:e?lo:pi;return!e&&Ue(r,"iterate",o?no:bn),{next(){const{value:d,done:m}=s.next();return m?{value:d,done:m}:{value:l?[f(d[0]),f(d[1])]:f(d),done:m}},[Symbol.iterator](){return this}}}}function Jt(t){return function(...e){if(process.env.NODE_ENV!=="production"){const n=e[0]?`on key "${e[0]}" `:"";Kt(`${nf(t)} operation ${n}failed: target is readonly.`,G(this))}return t==="delete"?!1:t==="clear"?void 0:this}}function DR(){const t={get(r){return Dr(this,r)},get size(){return Pr(this)},has:Nr,add:_f,set:bf,delete:Ef,clear:Cf,forEach:Fr(!1,!1)},e={get(r){return Dr(this,r,!1,!0)},get size(){return Pr(this)},has:Nr,add(r){return _f.call(this,r,!0)},set(r,u){return bf.call(this,r,u,!0)},delete:Ef,clear:Cf,forEach:Fr(!1,!0)},n={get(r){return Dr(this,r,!0)},get size(){return Pr(this,!0)},has(r){return Nr.call(this,r,!0)},add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear"),forEach:Fr(!0,!1)},i={get(r){return Dr(this,r,!0,!0)},get size(){return Pr(this,!0)},has(r){return Nr.call(this,r,!0)},add:Jt("add"),set:Jt("set"),delete:Jt("delete"),clear:Jt("clear"),forEach:Fr(!0,!0)};return["keys","values","entries",Symbol.iterator].forEach(r=>{t[r]=Br(r,!1,!1),n[r]=Br(r,!0,!1),e[r]=Br(r,!1,!0),i[r]=Br(r,!0,!0)}),[t,n,e,i]}const[NR,PR,FR,BR]=DR();function ao(t,e){const n=e?t?BR:FR:t?PR:NR;return(i,a,r)=>a==="__v_isReactive"?!t:a==="__v_isReadonly"?t:a==="__v_raw"?i:Reflect.get(Ee(n,a)&&a in i?n:i,a,r)}const LR={get:ao(!1,!1)},kR={get:ao(!0,!1)},xR={get:ao(!0,!0)};function wf(t,e,n){const i=G(n);if(i!==n&&e.call(t,i)){const a=ef(t);Kt(`Reactive ${a} contains both the raw and reactive versions of the same object${a==="Map"?" as keys":""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`)}}const If=new WeakMap,MR=new WeakMap,Sf=new WeakMap,Tf=new WeakMap;function $R(t){switch(t){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function VR(t){return t.__v_skip||!Object.isExtensible(t)?0:$R(ef(t))}function Of(t){return Dt(t)?t:ro(t,!1,OR,LR,If)}function Af(t){return ro(t,!0,AR,kR,Sf)}function Lr(t){return ro(t,!0,RR,xR,Tf)}function ro(t,e,n,i,a){if(!Ge(t))return process.env.NODE_ENV!=="production"&&Kt(`value cannot be made ${e?"readonly":"reactive"}: ${String(t)}`),t;if(t.__v_raw&&!(e&&t.__v_isReactive))return t;const r=a.get(t);if(r)return r;const u=VR(t);if(u===0)return t;const l=new Proxy(t,u===2?i:n);return a.set(t,l),l}function ii(t){return Dt(t)?ii(t.__v_raw):!!(t&&t.__v_isReactive)}function Dt(t){return!!(t&&t.__v_isReadonly)}function Nt(t){return!!(t&&t.__v_isShallow)}function uo(t){return t?!!t.__v_raw:!1}function G(t){const e=t&&t.__v_raw;return e?G(e):t}function UR(t){return Object.isExtensible(t)&&fR(t,"__v_skip",!0),t}const pi=t=>Ge(t)?Of(t):t,lo=t=>Ge(t)?Af(t):t,HR="Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided. Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free";class Rf{constructor(e,n,i,a){this.getter=e,this._setter=n,this.dep=void 0,this.__v_isRef=!0,this.__v_isReadonly=!1,this.effect=new uf(()=>e(this._value),()=>kr(this,this.effect._dirtyLevel===2?2:3)),this.effect.computed=this,this.effect.active=this._cacheable=!a,this.__v_isReadonly=i}get value(){const e=G(this);return(!e._cacheable||e.effect.dirty)&&Gt(e._value,e._value=e.effect.run())&&kr(e,4),Df(e),e.effect._dirtyLevel>=2&&(process.env.NODE_ENV!=="production"&&this._warnRecursive&&Kt(HR,`
|
|
28
|
-
|
|
29
|
-
getter: `,this.getter),kr(e,2)),e._value}set value(e){this._setter(e)}get _dirty(){return this.effect.dirty}set _dirty(e){this.effect.dirty=e}}function jR(t,e,n=!1){let i,a;const r=Ce(t);r?(i=t,a=process.env.NODE_ENV!=="production"?()=>{Kt("Write operation failed: computed value is readonly")}:qt):(i=t.get,a=t.set);const u=new Rf(i,a,r||!a,n);return process.env.NODE_ENV!=="production"&&e&&!n&&(u.effect.onTrack=e.onTrack,u.effect.onTrigger=e.onTrigger),u}function Df(t){var e;zt&&_n&&(t=G(t),df(_n,(e=t.dep)!=null?e:t.dep=hf(()=>t.dep=void 0,t instanceof Rf?t:void 0),process.env.NODE_ENV!=="production"?{target:t,type:"get",key:"value"}:void 0))}function kr(t,e=4,n,i){t=G(t);const a=t.dep;a&&ff(a,e,process.env.NODE_ENV!=="production"?{target:t,type:"set",key:"value",newValue:n,oldValue:i}:void 0)}function Je(t){return!!(t&&t.__v_isRef===!0)}function ai(t){return Pf(t,!1)}function Nf(t){return Pf(t,!0)}function Pf(t,e){return Je(t)?t:new WR(t,e)}class WR{constructor(e,n){this.__v_isShallow=n,this.dep=void 0,this.__v_isRef=!0,this._rawValue=n?e:G(e),this._value=n?e:pi(e)}get value(){return Df(this),this._value}set value(e){const n=this.__v_isShallow||Nt(e)||Dt(e);if(e=n?e:G(e),Gt(e,this._rawValue)){const i=this._rawValue;this._rawValue=e,this._value=n?e:pi(e),kr(this,4,e,i)}}}function qR(t){return Je(t)?t.value:t}const GR={get:(t,e,n)=>qR(Reflect.get(t,e,n)),set:(t,e,n,i)=>{const a=t[e];return Je(a)&&!Je(n)?(a.value=n,!0):Reflect.set(t,e,n,i)}};function KR(t){return ii(t)?t:new Proxy(t,GR)}/**
|
|
30
|
-
* @vue/runtime-core v3.4.38
|
|
31
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
32
|
-
* @license MIT
|
|
33
|
-
**/const En=[];function zR(t){En.push(t)}function XR(){En.pop()}let oo=!1;function oe(t,...e){if(oo)return;oo=!0,Zi();const n=En.length?En[En.length-1].component:null,i=n&&n.appContext.config.warnHandler,a=JR();if(i)Cn(i,n,11,[t+e.map(r=>{var u,l;return(l=(u=r.toString)==null?void 0:u.call(r))!=null?l:JSON.stringify(r)}).join(""),n&&n.proxy,a.map(({vnode:r})=>`at <${th(n,r.type)}>`).join(`
|
|
34
|
-
`),a]);else{const r=[`[Vue warn]: ${t}`,...e];a.length&&r.push(`
|
|
35
|
-
`,...QR(a)),console.warn(...r)}Yi(),oo=!1}function JR(){let t=En[En.length-1];if(!t)return[];const e=[];for(;t;){const n=e[0];n&&n.vnode===t?n.recurseCount++:e.push({vnode:t,recurseCount:0});const i=t.component&&t.component.parent;t=i&&i.vnode}return e}function QR(t){const e=[];return t.forEach((n,i)=>{e.push(...i===0?[]:[`
|
|
36
|
-
`],...ZR(n))}),e}function ZR({vnode:t,recurseCount:e}){const n=e>0?`... (${e} recursive calls)`:"",i=t.component?t.component.parent==null:!1,a=` at <${th(t.component,t.type,i)}`,r=">"+n;return t.props?[a,...YR(t.props),r]:[a+r]}function YR(t){const e=[],n=Object.keys(t);return n.slice(0,3).forEach(i=>{e.push(...Ff(i,t[i]))}),n.length>3&&e.push(" ..."),e}function Ff(t,e,n){return ct(e)?(e=JSON.stringify(e),n?e:[`${t}=${e}`]):typeof e=="number"||typeof e=="boolean"||e==null?n?e:[`${t}=${e}`]:Je(e)?(e=Ff(t,G(e.value),!0),n?e:[`${t}=Ref<`,e,">"]):Ce(e)?[`${t}=fn${e.name?`<${e.name}>`:""}`]:(e=G(e),n?e:[`${t}=`,e])}const so={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",[0]:"setup function",[1]:"render function",[2]:"watcher getter",[3]:"watcher callback",[4]:"watcher cleanup function",[5]:"native event handler",[6]:"component event handler",[7]:"vnode hook",[8]:"directive hook",[9]:"transition hook",[10]:"app errorHandler",[11]:"app warnHandler",[12]:"ref function",[13]:"async component loader",[14]:"scheduler flush",[15]:"component update"};function Cn(t,e,n,i){try{return i?t(...i):t()}catch(a){co(a,e,n)}}function ea(t,e,n,i){if(Ce(t)){const a=Cn(t,e,n,i);return a&&oR(a)&&a.catch(r=>{co(r,e,n)}),a}if(le(t)){const a=[];for(let r=0;r<t.length;r++)a.push(ea(t[r],e,n,i));return a}else process.env.NODE_ENV!=="production"&&oe(`Invalid value type passed to callWithAsyncErrorHandling(): ${typeof t}`)}function co(t,e,n,i=!0){const a=e?e.vnode:null;if(e){let r=e.parent;const u=e.proxy,l=process.env.NODE_ENV!=="production"?so[n]:`https://vuejs.org/error-reference/#runtime-${n}`;for(;r;){const s=r.ec;if(s){for(let f=0;f<s.length;f++)if(s[f](t,u,l)===!1)return}r=r.parent}const o=e.appContext.config.errorHandler;if(o){Zi(),Cn(o,null,10,[t,u,l]),Yi();return}}pR(t,n,a,i)}function pR(t,e,n,i=!0){if(process.env.NODE_ENV!=="production"){const a=so[e];if(n&&zR(n),oe(`Unhandled error${a?` during execution of ${a}`:""}`),n&&XR(),i)throw t;console.error(t)}else console.error(t)}let xr=!1,fo=!1;const ft=[];let Qt=0;const ri=[];let Zt=null,wn=0;const Bf=Promise.resolve();let ho=null;const eD=100;function tD(t){const e=ho||Bf;return t?e.then(this?t.bind(this):t):e}function nD(t){let e=Qt+1,n=ft.length;for(;e<n;){const i=e+n>>>1,a=ft[i],r=ta(a);r<t||r===t&&a.pre?e=i+1:n=i}return e}function mo(t){(!ft.length||!ft.includes(t,xr&&t.allowRecurse?Qt+1:Qt))&&(t.id==null?ft.push(t):ft.splice(nD(t.id),0,t),Lf())}function Lf(){!xr&&!fo&&(fo=!0,ho=Bf.then(xf))}function kf(t){le(t)?ri.push(...t):(!Zt||!Zt.includes(t,t.allowRecurse?wn+1:wn))&&ri.push(t),Lf()}function iD(t){if(ri.length){const e=[...new Set(ri)].sort((n,i)=>ta(n)-ta(i));if(ri.length=0,Zt){Zt.push(...e);return}for(Zt=e,process.env.NODE_ENV!=="production"&&(t=t||new Map),wn=0;wn<Zt.length;wn++){const n=Zt[wn];process.env.NODE_ENV!=="production"&&Mf(t,n)||n.active!==!1&&n()}Zt=null,wn=0}}const ta=t=>t.id==null?1/0:t.id,aD=(t,e)=>{const n=ta(t)-ta(e);if(n===0){if(t.pre&&!e.pre)return-1;if(e.pre&&!t.pre)return 1}return n};function xf(t){fo=!1,xr=!0,process.env.NODE_ENV!=="production"&&(t=t||new Map),ft.sort(aD);const e=process.env.NODE_ENV!=="production"?n=>Mf(t,n):qt;try{for(Qt=0;Qt<ft.length;Qt++){const n=ft[Qt];if(n&&n.active!==!1){if(process.env.NODE_ENV!=="production"&&e(n))continue;Cn(n,n.i,n.i?15:14)}}}finally{Qt=0,ft.length=0,iD(t),xr=!1,ho=null,(ft.length||ri.length)&&xf(t)}}function Mf(t,e){if(!t.has(e))t.set(e,1);else{const n=t.get(e);if(n>eD){const i=e.i,a=i&&eh(i.type);return co(`Maximum recursive updates exceeded${a?` in component <${a}>`:""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,null,10),!0}else t.set(e,n+1)}}const vo=new Map;process.env.NODE_ENV!=="production"&&(rf().__VUE_HMR_RUNTIME__={createRecord:go(rD),rerender:go(uD),reload:go(lD)});const Mr=new Map;function rD(t,e){return Mr.has(t)?!1:(Mr.set(t,{initialDef:$r(e),instances:new Set}),!0)}function $r(t){return nh(t)?t.__vccOpts:t}function uD(t,e){const n=Mr.get(t);!n||(n.initialDef.render=e,[...n.instances].forEach(i=>{e&&(i.render=e,$r(i.type).render=e),i.renderCache=[],i.effect.dirty=!0,i.update()}))}function lD(t,e){const n=Mr.get(t);if(!n)return;e=$r(e),$f(n.initialDef,e);const i=[...n.instances];for(let a=0;a<i.length;a++){const r=i[a],u=$r(r.type);let l=vo.get(u);l||(u!==n.initialDef&&$f(u,e),vo.set(u,l=new Set)),l.add(r),r.appContext.propsCache.delete(r.type),r.appContext.emitsCache.delete(r.type),r.appContext.optionsCache.delete(r.type),r.ceReload?(l.add(r),r.ceReload(e.styles),l.delete(r)):r.parent?(r.parent.effect.dirty=!0,mo(()=>{r.parent.update(),l.delete(r)})):r.appContext.reload?r.appContext.reload():typeof window!="undefined"?window.location.reload():console.warn("[HMR] Root or manually mounted instance modified. Full reload required.")}kf(()=>{vo.clear()})}function $f(t,e){rt(t,e);for(const n in t)n!=="__file"&&!(n in e)&&delete t[n]}function go(t){return(e,n)=>{try{return t(e,n)}catch(i){console.error(i),console.warn("[HMR] Something went wrong during Vue component hot-reload. Full reload required.")}}}let ui,Vr=[];function Vf(t,e){var n,i;ui=t,ui?(ui.enabled=!0,Vr.forEach(({event:a,args:r})=>ui.emit(a,...r)),Vr=[]):typeof window!="undefined"&&window.HTMLElement&&!((i=(n=window.navigator)==null?void 0:n.userAgent)!=null&&i.includes("jsdom"))?((e.__VUE_DEVTOOLS_HOOK_REPLAY__=e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(r=>{Vf(r,e)}),setTimeout(()=>{ui||(e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,Vr=[])},3e3)):Vr=[]}let Et=null,oD=null;function Uf(t,e){t.shapeFlag&6&&t.component?Uf(t.component.subTree,e):t.shapeFlag&128?(t.ssContent.transition=e.clone(t.ssContent),t.ssFallback.transition=e.clone(t.ssFallback)):t.transition=e}/*! #__NO_SIDE_EFFECTS__ */function yo(t,e){return Ce(t)?(()=>rt({name:t.name},e,{setup:t}))():t}function sD(t,e,n=Sn,i=!1){if(n){const a=n[t]||(n[t]=[]),r=e.__weh||(e.__weh=(...u)=>{Zi();const l=pf(n),o=ea(e,n,t,u);return l(),Yi(),o});return i?a.unshift(r):a.push(r),r}else if(process.env.NODE_ENV!=="production"){const a=dR(so[t].replace(/ hook$/,""));oe(`${a} is called when there is no active component instance to be associated with. Lifecycle injection APIs can only be used during execution of setup(). If you are using async setup(), make sure to register lifecycle hooks before the first await statement.`)}}const _o=t=>(e,n=Sn)=>{(!Gr||t==="sp")&&sD(t,(...i)=>e(...i),n)},cD=_o("bm"),dD=_o("m"),fD=_o("um"),hD=Symbol.for("v-ndc"),bo=t=>t?xD(t)?MD(t):bo(t.parent):null,na=rt(Object.create(null),{$:t=>t,$el:t=>t.vnode.el,$data:t=>t.data,$props:t=>process.env.NODE_ENV!=="production"?Lr(t.props):t.props,$attrs:t=>process.env.NODE_ENV!=="production"?Lr(t.attrs):t.attrs,$slots:t=>process.env.NODE_ENV!=="production"?Lr(t.slots):t.slots,$refs:t=>process.env.NODE_ENV!=="production"?Lr(t.refs):t.refs,$parent:t=>bo(t.parent),$root:t=>bo(t.root),$emit:t=>t.emit,$options:t=>__VUE_OPTIONS_API__?yD(t):t.type,$forceUpdate:t=>t.f||(t.f=()=>{t.effect.dirty=!0,mo(t.update)}),$nextTick:t=>t.n||(t.n=tD.bind(t.proxy)),$watch:t=>__VUE_OPTIONS_API__?OD.bind(t):qt}),mD=t=>t==="_"||t==="$",Eo=(t,e)=>t!==bt&&!t.__isScriptSetup&&Ee(t,e),vD={get({_:t},e){if(e==="__v_skip")return!0;const{ctx:n,setupState:i,data:a,props:r,accessCache:u,type:l,appContext:o}=t;if(process.env.NODE_ENV!=="production"&&e==="__isVue")return!0;let s;if(e[0]!=="$"){const b=u[e];if(b!==void 0)switch(b){case 1:return i[e];case 2:return a[e];case 4:return n[e];case 3:return r[e]}else{if(Eo(i,e))return u[e]=1,i[e];if(a!==bt&&Ee(a,e))return u[e]=2,a[e];if((s=t.propsOptions[0])&&Ee(s,e))return u[e]=3,r[e];if(n!==bt&&Ee(n,e))return u[e]=4,n[e];(!__VUE_OPTIONS_API__||gD)&&(u[e]=0)}}const f=na[e];let d,m;if(f)return e==="$attrs"?(Ue(t.attrs,"get",""),process.env.NODE_ENV!=="production"&&void 0):process.env.NODE_ENV!=="production"&&e==="$slots"&&Ue(t,"get",e),f(t);if((d=l.__cssModules)&&(d=d[e]))return d;if(n!==bt&&Ee(n,e))return u[e]=4,n[e];if(m=o.config.globalProperties,Ee(m,e))return m[e];process.env.NODE_ENV!=="production"&&Et&&(!ct(e)||e.indexOf("__v")!==0)&&(a!==bt&&mD(e[0])&&Ee(a,e)?oe(`Property ${JSON.stringify(e)} must be accessed via $data because it starts with a reserved character ("$" or "_") and is not proxied on the render context.`):t===Et&&oe(`Property ${JSON.stringify(e)} was accessed during render but is not defined on instance.`))},set({_:t},e,n){const{data:i,setupState:a,ctx:r}=t;return Eo(a,e)?(a[e]=n,!0):process.env.NODE_ENV!=="production"&&a.__isScriptSetup&&Ee(a,e)?(oe(`Cannot mutate <script setup> binding "${e}" from Options API.`),!1):i!==bt&&Ee(i,e)?(i[e]=n,!0):Ee(t.props,e)?(process.env.NODE_ENV!=="production"&&oe(`Attempting to mutate prop "${e}". Props are readonly.`),!1):e[0]==="$"&&e.slice(1)in t?(process.env.NODE_ENV!=="production"&&oe(`Attempting to mutate public property "${e}". Properties starting with $ are reserved and readonly.`),!1):(process.env.NODE_ENV!=="production"&&e in t.appContext.config.globalProperties?Object.defineProperty(r,e,{enumerable:!0,configurable:!0,value:n}):r[e]=n,!0)},has({_:{data:t,setupState:e,accessCache:n,ctx:i,appContext:a,propsOptions:r}},u){let l;return!!n[u]||t!==bt&&Ee(t,u)||Eo(e,u)||(l=r[0])&&Ee(l,u)||Ee(i,u)||Ee(na,u)||Ee(a.config.globalProperties,u)},defineProperty(t,e,n){return n.get!=null?t._.accessCache[e]=0:Ee(n,"value")&&this.set(t,e,n.value,null),Reflect.defineProperty(t,e,n)}};process.env.NODE_ENV!=="production"&&(vD.ownKeys=t=>(oe("Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead."),Reflect.ownKeys(t)));function Hf(t){return le(t)?t.reduce((e,n)=>(e[n]=null,e),{}):t}let gD=!0;function yD(t){const e=t.type,{mixins:n,extends:i}=e,{mixins:a,optionsCache:r,config:{optionMergeStrategies:u}}=t.appContext,l=r.get(e);let o;return l?o=l:!a.length&&!n&&!i?o=e:(o={},a.length&&a.forEach(s=>Ur(o,s,u,!0)),Ur(o,e,u)),Ge(e)&&r.set(e,o),o}function Ur(t,e,n,i=!1){const{mixins:a,extends:r}=e;r&&Ur(t,r,n,!0),a&&a.forEach(u=>Ur(t,u,n,!0));for(const u in e)if(i&&u==="expose")process.env.NODE_ENV!=="production"&&oe('"expose" option is ignored when declared in mixins or extends. It should only be declared in the base component itself.');else{const l=_D[u]||n&&n[u];t[u]=l?l(t[u],e[u]):e[u]}return t}const _D={data:jf,props:qf,emits:qf,methods:ia,computed:ia,beforeCreate:Ke,created:Ke,beforeMount:Ke,mounted:Ke,beforeUpdate:Ke,updated:Ke,beforeDestroy:Ke,beforeUnmount:Ke,destroyed:Ke,unmounted:Ke,activated:Ke,deactivated:Ke,errorCaptured:Ke,serverPrefetch:Ke,components:ia,directives:ia,watch:ED,provide:jf,inject:bD};function jf(t,e){return e?t?function(){return rt(Ce(t)?t.call(this,this):t,Ce(e)?e.call(this,this):e)}:e:t}function bD(t,e){return ia(Wf(t),Wf(e))}function Wf(t){if(le(t)){const e={};for(let n=0;n<t.length;n++)e[t[n]]=t[n];return e}return t}function Ke(t,e){return t?[...new Set([].concat(t,e))]:e}function ia(t,e){return t?rt(Object.create(null),t,e):e}function qf(t,e){return t?le(t)&&le(e)?[...new Set([...t,...e])]:rt(Object.create(null),Hf(t),Hf(e!=null?e:{})):e}function ED(t,e){if(!t)return e;if(!e)return t;const n=rt(Object.create(null),t);for(const i in e)n[i]=Ke(t[i],e[i]);return n}function CD(){return{app:null,config:{isNativeTag:iR,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Co=null;function Gf(t,e,n=!1){const i=Sn||Et;if(i||Co){const a=Co?Co._context.provides:i?i.parent==null?i.vnode.appContext&&i.vnode.appContext.provides:i.parent.provides:void 0;if(a&&t in a)return a[t];if(arguments.length>1)return n&&Ce(e)?e.call(i&&i.proxy):e;process.env.NODE_ENV!=="production"&&oe(`injection "${String(t)}" not found.`)}else process.env.NODE_ENV!=="production"&&oe("inject() can only be used inside setup() or functional components.")}const wD={},Kf=t=>Object.getPrototypeOf(t)===wD,ID=t=>t.__isTeleport,zf=DD,SD=Symbol.for("v-scx"),TD=()=>{{const t=Gf(SD);return t||process.env.NODE_ENV!=="production"&&oe("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),t}},Hr={};function wo(t,e,n){return process.env.NODE_ENV!=="production"&&!Ce(e)&&oe("`watch(fn, options?)` signature has been moved to a separate API. Use `watchEffect(fn, options?)` instead. `watch` now only supports `watch(source, cb, options?) signature."),Xf(t,e,n)}function Xf(t,e,{immediate:n,deep:i,flush:a,once:r,onTrack:u,onTrigger:l}=bt){if(e&&r){const S=e;e=(...B)=>{S(...B),R()}}process.env.NODE_ENV!=="production"&&i!==void 0&&typeof i=="number"&&oe('watch() "deep" option with number value will be used as watch depth in future versions. Please use a boolean instead to avoid potential breakage.'),process.env.NODE_ENV!=="production"&&!e&&(n!==void 0&&oe('watch() "immediate" option is only respected when using the watch(source, callback, options?) signature.'),i!==void 0&&oe('watch() "deep" option is only respected when using the watch(source, callback, options?) signature.'),r!==void 0&&oe('watch() "once" option is only respected when using the watch(source, callback, options?) signature.'));const o=S=>{oe("Invalid watch source: ",S,"A watch source can only be a getter/effect function, a ref, a reactive object, or an array of these types.")},s=Sn,f=S=>i===!0?S:In(S,i===!1?1:void 0);let d,m=!1,b=!1;if(Je(t)?(d=()=>t.value,m=Nt(t)):ii(t)?(d=()=>f(t),m=!0):le(t)?(b=!0,m=t.some(S=>ii(S)||Nt(S)),d=()=>t.map(S=>{if(Je(S))return S.value;if(ii(S))return f(S);if(Ce(S))return Cn(S,s,2);process.env.NODE_ENV!=="production"&&o(S)})):Ce(t)?e?d=()=>Cn(t,s,2):d=()=>(T&&T(),ea(t,s,3,[w])):(d=qt,process.env.NODE_ENV!=="production"&&o(t)),e&&i){const S=d;d=()=>In(S())}let T,w=S=>{T=E.onStop=()=>{Cn(S,s,4),T=E.onStop=void 0}},D;if(Gr)if(w=qt,e?n&&ea(e,s,3,[d(),b?[]:void 0,w]):d(),a==="sync"){const S=TD();D=S.__watcherHandles||(S.__watcherHandles=[])}else return qt;let y=b?new Array(t.length).fill(Hr):Hr;const O=()=>{if(!(!E.active||!E.dirty))if(e){const S=E.run();(i||m||(b?S.some((B,L)=>Gt(B,y[L])):Gt(S,y)))&&(T&&T(),ea(e,s,3,[S,y===Hr?void 0:b&&y[0]===Hr?[]:y,w]),y=S)}else E.run()};O.allowRecurse=!!e;let _;a==="sync"?_=O:a==="post"?_=()=>zf(O,s&&s.suspense):(O.pre=!0,s&&(O.id=s.uid),_=()=>mo(O));const E=new uf(d,qt,_),N=ER(),R=()=>{E.stop(),N&&rR(N.effects,E)};return process.env.NODE_ENV!=="production"&&(E.onTrack=u,E.onTrigger=l),e?n?O():y=E.run():a==="post"?zf(E.run.bind(E),s&&s.suspense):E.run(),D&&D.push(R),R}function OD(t,e,n){const i=this.proxy,a=ct(t)?t.includes(".")?AD(i,t):()=>i[t]:t.bind(i,i);let r;Ce(e)?r=e:(r=e.handler,n=e);const u=pf(this),l=Xf(a,r.bind(i),n);return u(),l}function AD(t,e){const n=e.split(".");return()=>{let i=t;for(let a=0;a<n.length&&i;a++)i=i[n[a]];return i}}function In(t,e=1/0,n){if(e<=0||!Ge(t)||t.__v_skip||(n=n||new Set,n.has(t)))return t;if(n.add(t),e--,Je(t))In(t.value,e,n);else if(le(t))for(let i=0;i<t.length;i++)In(t[i],e,n);else if(lR(t)||ni(t))t.forEach(i=>{In(i,e,n)});else if(cR(t)){for(const i in t)In(t[i],e,n);for(const i of Object.getOwnPropertySymbols(t))Object.prototype.propertyIsEnumerable.call(t,i)&&In(t[i],e,n)}return t}function p1(){}const RD=t=>t.__isSuspense;function DD(t,e){e&&e.pendingBranch?le(t)?e.effects.push(...t):e.effects.push(t):kf(t)}const jr=Symbol.for("v-fgt"),Jf=Symbol.for("v-txt"),ND=Symbol.for("v-cmt");let li=null;function Io(t){return t?t.__v_isVNode===!0:!1}const PD=(...t)=>Zf(...t),Qf=({key:t})=>t!=null?t:null,Wr=({ref:t,ref_key:e,ref_for:n})=>(typeof t=="number"&&(t=""+t),t!=null?ct(t)||Je(t)||Ce(t)?{i:Et,r:t,k:e,f:!!n}:t:null);function FD(t,e=null,n=null,i=0,a=null,r=t===jr?0:1,u=!1,l=!1){const o={__v_isVNode:!0,__v_skip:!0,type:t,props:e,key:e&&Qf(e),ref:e&&Wr(e),scopeId:oD,slotScopeIds:null,children:n,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:r,patchFlag:i,dynamicProps:a,dynamicChildren:null,appContext:null,ctx:Et};return l?(So(o,n),r&128&&t.normalize(o)):n&&(o.shapeFlag|=ct(n)?8:16),process.env.NODE_ENV!=="production"&&o.key!==o.key&&oe("VNode created with invalid key (NaN). VNode type:",o.type),!u&&li&&(o.patchFlag>0||r&6)&&o.patchFlag!==32&&li.push(o),o}const oi=process.env.NODE_ENV!=="production"?PD:Zf;function Zf(t,e=null,n=null,i=0,a=null,r=!1){if((!t||t===hD)&&(process.env.NODE_ENV!=="production"&&!t&&oe(`Invalid vnode type when creating vnode: ${t}.`),t=ND),Io(t)){const l=qr(t,e,!0);return n&&So(l,n),!r&&li&&(l.shapeFlag&6?li[li.indexOf(t)]=l:li.push(l)),l.patchFlag=-2,l}if(nh(t)&&(t=t.__vccOpts),e){e=BD(e);let{class:l,style:o}=e;l&&!ct(l)&&(e.class=Ql(l)),Ge(o)&&(uo(o)&&!le(o)&&(o=rt({},o)),e.style=Jl(o))}const u=ct(t)?1:RD(t)?128:ID(t)?64:Ge(t)?4:Ce(t)?2:0;return process.env.NODE_ENV!=="production"&&u&4&&uo(t)&&(t=G(t),oe("Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",`
|
|
37
|
-
Component that was made reactive: `,t)),FD(t,e,n,i,a,u,r,!0)}function BD(t){return t?uo(t)||Kf(t)?rt({},t):t:null}function qr(t,e,n=!1,i=!1){const{props:a,ref:r,patchFlag:u,children:l,transition:o}=t,s=e?kD(a||{},e):a,f={__v_isVNode:!0,__v_skip:!0,type:t.type,props:s,key:s&&Qf(s),ref:e&&e.ref?n&&r?le(r)?r.concat(Wr(e)):[r,Wr(e)]:Wr(e):r,scopeId:t.scopeId,slotScopeIds:t.slotScopeIds,children:process.env.NODE_ENV!=="production"&&u===-1&&le(l)?l.map(Yf):l,target:t.target,targetStart:t.targetStart,targetAnchor:t.targetAnchor,staticCount:t.staticCount,shapeFlag:t.shapeFlag,patchFlag:e&&t.type!==jr?u===-1?16:u|16:u,dynamicProps:t.dynamicProps,dynamicChildren:t.dynamicChildren,appContext:t.appContext,dirs:t.dirs,transition:o,component:t.component,suspense:t.suspense,ssContent:t.ssContent&&qr(t.ssContent),ssFallback:t.ssFallback&&qr(t.ssFallback),el:t.el,anchor:t.anchor,ctx:t.ctx,ce:t.ce};return o&&i&&Uf(f,o.clone(f)),f}function Yf(t){const e=qr(t);return le(t.children)&&(e.children=t.children.map(Yf)),e}function LD(t=" ",e=0){return oi(Jf,null,t,e)}function So(t,e){let n=0;const{shapeFlag:i}=t;if(e==null)e=null;else if(le(e))n=16;else if(typeof e=="object")if(i&65){const a=e.default;a&&(a._c&&(a._d=!1),So(t,a()),a._c&&(a._d=!0));return}else{n=32;const a=e._;!a&&!Kf(e)?e._ctx=Et:a===3&&Et&&(Et.slots._===1?e._=1:(e._=2,t.patchFlag|=1024))}else Ce(e)?(e={default:e,_ctx:Et},n=32):(e=String(e),i&64?(n=16,e=[LD(e)]):n=8);t.children=e,t.shapeFlag|=n}function kD(...t){const e={};for(let n=0;n<t.length;n++){const i=t[n];for(const a in i)if(a==="class")e.class!==i.class&&(e.class=Ql([e.class,i.class]));else if(a==="style")e.style=Jl([e.style,i.style]);else if(aR(a)){const r=e[a],u=i[a];u&&r!==u&&!(le(r)&&r.includes(u))&&(e[a]=r?[].concat(r,u):u)}else a!==""&&(e[a]=i[a])}return e}CD();let Sn=null;const si=()=>Sn||Et;let To;{const t=rf(),e=(n,i)=>{let a;return(a=t[n])||(a=t[n]=[]),a.push(i),r=>{a.length>1?a.forEach(u=>u(r)):a[0](r)}};To=e("__VUE_INSTANCE_SETTERS__",n=>Sn=n),e("__VUE_SSR_SETTERS__",n=>Gr=n)}const pf=t=>{const e=Sn;return To(t),t.scope.on(),()=>{t.scope.off(),To(e)}};function xD(t){return t.vnode.shapeFlag&4}let Gr=!1;process.env.NODE_ENV;function MD(t){return t.exposed?t.exposeProxy||(t.exposeProxy=new Proxy(KR(UR(t.exposed)),{get(e,n){if(n in e)return e[n];if(n in na)return na[n](t)},has(e,n){return n in e||n in na}})):t.proxy}const $D=/(?:^|[-_])(\w)/g,VD=t=>t.replace($D,e=>e.toUpperCase()).replace(/[-_]/g,"");function eh(t,e=!0){return Ce(t)?t.displayName||t.name:t.name||e&&t.__name}function th(t,e,n=!1){let i=eh(e);if(!i&&e.__file){const a=e.__file.match(/([^/\\]+)\.\w+$/);a&&(i=a[1])}if(!i&&t&&t.parent){const a=r=>{for(const u in r)if(r[u]===e)return u};i=a(t.components||t.parent.type.components)||a(t.appContext.components)}return i?VD(i):n?"App":"Anonymous"}function nh(t){return Ce(t)&&"__vccOpts"in t}const Ct=(t,e)=>{const n=jR(t,e,Gr);if(process.env.NODE_ENV!=="production"){const i=si();i&&i.appContext.config.warnRecursiveComputed&&(n._warnRecursive=!0)}return n};function ih(t,e,n){const i=arguments.length;return i===2?Ge(e)&&!le(e)?Io(e)?oi(t,null,[e]):oi(t,e):oi(t,null,e):(i>3?n=Array.prototype.slice.call(arguments,2):i===3&&Io(n)&&(n=[n]),oi(t,e,n))}function UD(){if(process.env.NODE_ENV==="production"||typeof window=="undefined")return;const t={style:"color:#3ba776"},e={style:"color:#1677ff"},n={style:"color:#f5222d"},i={style:"color:#eb2f96"},a={__vue_custom_formatter:!0,header(d){return Ge(d)?d.__isVue?["div",t,"VueInstance"]:Je(d)?["div",{},["span",t,f(d)],"<",l(d.value),">"]:ii(d)?["div",{},["span",t,Nt(d)?"ShallowReactive":"Reactive"],"<",l(d),`>${Dt(d)?" (readonly)":""}`]:Dt(d)?["div",{},["span",t,Nt(d)?"ShallowReadonly":"Readonly"],"<",l(d),">"]:null:null},hasBody(d){return d&&d.__isVue},body(d){if(d&&d.__isVue)return["div",{},...r(d.$)]}};function r(d){const m=[];d.type.props&&d.props&&m.push(u("props",G(d.props))),d.setupState!==bt&&m.push(u("setup",d.setupState)),d.data!==bt&&m.push(u("data",G(d.data)));const b=o(d,"computed");b&&m.push(u("computed",b));const T=o(d,"inject");return T&&m.push(u("injected",T)),m.push(["div",{},["span",{style:i.style+";opacity:0.66"},"$ (internal): "],["object",{object:d}]]),m}function u(d,m){return m=rt({},m),Object.keys(m).length?["div",{style:"line-height:1.25em;margin-bottom:0.6em"},["div",{style:"color:#476582"},d],["div",{style:"padding-left:1.25em"},...Object.keys(m).map(b=>["div",{},["span",i,b+": "],l(m[b],!1)])]]:["span",{}]}function l(d,m=!0){return typeof d=="number"?["span",e,d]:typeof d=="string"?["span",n,JSON.stringify(d)]:typeof d=="boolean"?["span",i,d]:Ge(d)?["object",{object:m?G(d):d}]:["span",n,String(d)]}function o(d,m){const b=d.type;if(Ce(b))return;const T={};for(const w in d.ctx)s(b,w,m)&&(T[w]=d.ctx[w]);return T}function s(d,m,b){const T=d[b];if(le(T)&&T.includes(m)||Ge(T)&&m in T||d.extends&&s(d.extends,m,b)||d.mixins&&d.mixins.some(w=>s(w,m,b)))return!0}function f(d){return Nt(d)?"ShallowRef":d.effect?"ComputedRef":"Ref"}window.devtoolsFormatters?window.devtoolsFormatters.push(a):window.devtoolsFormatters=[a]}process.env.NODE_ENV,process.env.NODE_ENV,process.env.NODE_ENV;/**
|
|
38
|
-
* vue v3.4.38
|
|
39
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
40
|
-
* @license MIT
|
|
41
|
-
**/function HD(){UD()}process.env.NODE_ENV!=="production"&&HD();function jD(){return ah().__VUE_DEVTOOLS_GLOBAL_HOOK__}function ah(){return typeof navigator!="undefined"&&typeof window!="undefined"?window:typeof globalThis!="undefined"?globalThis:{}}const WD=typeof Proxy=="function",qD="devtools-plugin:setup",GD="plugin:settings:set";let ci,Oo;function KD(){var t;return ci!==void 0||(typeof window!="undefined"&&window.performance?(ci=!0,Oo=window.performance):typeof globalThis!="undefined"&&((t=globalThis.perf_hooks)===null||t===void 0?void 0:t.performance)?(ci=!0,Oo=globalThis.perf_hooks.performance):ci=!1),ci}function zD(){return KD()?Oo.now():Date.now()}class XD{constructor(e,n){this.target=null,this.targetQueue=[],this.onQueue=[],this.plugin=e,this.hook=n;const i={};if(e.settings)for(const u in e.settings){const l=e.settings[u];i[u]=l.defaultValue}const a=`__vue-devtools-plugin-settings__${e.id}`;let r=Object.assign({},i);try{const u=localStorage.getItem(a),l=JSON.parse(u);Object.assign(r,l)}catch(u){}this.fallbacks={getSettings(){return r},setSettings(u){try{localStorage.setItem(a,JSON.stringify(u))}catch(l){}r=u},now(){return zD()}},n&&n.on(GD,(u,l)=>{u===this.plugin.id&&this.fallbacks.setSettings(l)}),this.proxiedOn=new Proxy({},{get:(u,l)=>this.target?this.target.on[l]:(...o)=>{this.onQueue.push({method:l,args:o})}}),this.proxiedTarget=new Proxy({},{get:(u,l)=>this.target?this.target[l]:l==="on"?this.proxiedOn:Object.keys(this.fallbacks).includes(l)?(...o)=>(this.targetQueue.push({method:l,args:o,resolve:()=>{}}),this.fallbacks[l](...o)):(...o)=>new Promise(s=>{this.targetQueue.push({method:l,args:o,resolve:s})})})}setRealTarget(e){return Jn(this,null,function*(){this.target=e;for(const n of this.onQueue)this.target.on[n.method](...n.args);for(const n of this.targetQueue)n.resolve(yield this.target[n.method](...n.args))})}}function JD(t,e){const n=t,i=ah(),a=jD(),r=WD&&n.enableEarlyProxy;if(a&&(i.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__||!r))a.emit(qD,t,e);else{const u=r?new XD(n,a):null;(i.__VUE_DEVTOOLS_PLUGINS__=i.__VUE_DEVTOOLS_PLUGINS__||[]).push({pluginDescriptor:n,setupFn:e,proxy:u}),u&&e(u.proxiedTarget)}}/*!
|
|
42
|
-
* vue-i18n v9.14.0
|
|
43
|
-
* (c) 2024 kazuya kawaguchi
|
|
44
|
-
* Released under the MIT License.
|
|
45
|
-
*/const QD="9.14.0";function ZD(){typeof __VUE_I18N_FULL_INSTALL__!="boolean"&&(At().__VUE_I18N_FULL_INSTALL__=!0),typeof __VUE_I18N_LEGACY_API__!="boolean"&&(At().__VUE_I18N_LEGACY_API__=!0),typeof __INTLIFY_JIT_COMPILATION__!="boolean"&&(At().__INTLIFY_JIT_COMPILATION__=!1),typeof __INTLIFY_DROP_MESSAGE_COMPILER__!="boolean"&&(At().__INTLIFY_DROP_MESSAGE_COMPILER__=!1),typeof __INTLIFY_PROD_DEVTOOLS__!="boolean"&&(At().__INTLIFY_PROD_DEVTOOLS__=!1)}const rh=qe.__EXTEND_POINT__,Pt=br(rh),ce={FALLBACK_TO_ROOT:rh,NOT_SUPPORTED_PRESERVE:Pt(),NOT_SUPPORTED_FORMATTER:Pt(),NOT_SUPPORTED_PRESERVE_DIRECTIVE:Pt(),NOT_SUPPORTED_GET_CHOICE_INDEX:Pt(),COMPONENT_NAME_LEGACY_COMPATIBLE:Pt(),NOT_FOUND_PARENT_SCOPE:Pt(),IGNORE_OBJ_FLATTEN:Pt(),NOTICE_DROP_ALLOW_COMPOSITION:Pt(),NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG:Pt()},YD={[ce.FALLBACK_TO_ROOT]:"Fall back to {type} '{key}' with root locale.",[ce.NOT_SUPPORTED_PRESERVE]:"Not supported 'preserve'.",[ce.NOT_SUPPORTED_FORMATTER]:"Not supported 'formatter'.",[ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE]:"Not supported 'preserveDirectiveContent'.",[ce.NOT_SUPPORTED_GET_CHOICE_INDEX]:"Not supported 'getChoiceIndex'.",[ce.COMPONENT_NAME_LEGACY_COMPATIBLE]:"Component name legacy compatible: '{name}' -> 'i18n'",[ce.NOT_FOUND_PARENT_SCOPE]:"Not found parent scope. use the global scope.",[ce.IGNORE_OBJ_FLATTEN]:"Ignore object flatten: '{key}' key has an string value",[ce.NOTICE_DROP_ALLOW_COMPOSITION]:"'allowComposition' option will be dropped in the next major version. For more information, please see \u{1F449} https://tinyurl.com/2p97mcze",[ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG]:"'translateExistCompatible' option will be dropped in the next major version."};function Qe(t,...e){return zi(YD[t],...e)}const uh=Be.__EXTEND_POINT__,Ze=br(uh),X={UNEXPECTED_RETURN_TYPE:uh,INVALID_ARGUMENT:Ze(),MUST_BE_CALL_SETUP_TOP:Ze(),NOT_INSTALLED:Ze(),NOT_AVAILABLE_IN_LEGACY_MODE:Ze(),REQUIRED_VALUE:Ze(),INVALID_VALUE:Ze(),CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN:Ze(),NOT_INSTALLED_WITH_PROVIDE:Ze(),UNEXPECTED_ERROR:Ze(),NOT_COMPATIBLE_LEGACY_VUE_I18N:Ze(),BRIDGE_SUPPORT_VUE_2_ONLY:Ze(),MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION:Ze(),NOT_AVAILABLE_COMPOSITION_IN_LEGACY:Ze(),__EXTEND_POINT__:Ze()};function Re(t,...e){return Zn(t,null,process.env.NODE_ENV!=="production"?{messages:pD,args:e}:void 0)}const pD={[X.UNEXPECTED_RETURN_TYPE]:"Unexpected return type in composer",[X.INVALID_ARGUMENT]:"Invalid argument",[X.MUST_BE_CALL_SETUP_TOP]:"Must be called at the top of a `setup` function",[X.NOT_INSTALLED]:"Need to install with `app.use` function",[X.UNEXPECTED_ERROR]:"Unexpected error",[X.NOT_AVAILABLE_IN_LEGACY_MODE]:"Not available in legacy mode",[X.REQUIRED_VALUE]:"Required in value: {0}",[X.INVALID_VALUE]:"Invalid value",[X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN]:"Cannot setup vue-devtools plugin",[X.NOT_INSTALLED_WITH_PROVIDE]:"Need to install with `provide` function",[X.NOT_COMPATIBLE_LEGACY_VUE_I18N]:"Not compatible legacy VueI18n.",[X.BRIDGE_SUPPORT_VUE_2_ONLY]:"vue-i18n-bridge support Vue 2.x only",[X.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION]:"Must define \u2018i18n\u2019 option or custom block in Composition API with using local scope in Legacy API mode",[X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY]:"Not available Compostion API in Legacy API mode. Please make sure that the legacy API mode is working properly"},Ao=ot("__translateVNode"),Ro=ot("__datetimeParts"),Do=ot("__numberParts"),Tn=ot("__enableEmitter"),aa=ot("__disableEmitter"),lh=ot("__setPluralRules");ot("__intlifyMeta");const oh=ot("__injectWithOption"),No=ot("__dispose");function ra(t){if(!J(t))return t;for(const e in t)if(!!_r(t,e))if(!e.includes("."))J(t[e])&&ra(t[e]);else{const n=e.split("."),i=n.length-1;let a=t,r=!1;for(let u=0;u<i;u++){if(n[u]in a||(a[n[u]]={}),!J(a[n[u]])){process.env.NODE_ENV!=="production"&&Ae(Qe(ce.IGNORE_OBJ_FLATTEN,{key:n[u]})),r=!0;break}a=a[n[u]]}r||(a[n[i]]=t[e],delete t[e]),J(a[n[i]])&&ra(a[n[i]])}return t}function Kr(t,e){const{messages:n,__i18n:i,messageResolver:a,flatJson:r}=e,u=j(n)?n:ue(i)?{}:{[t]:{}};if(ue(i)&&i.forEach(l=>{if("locale"in l&&"resource"in l){const{locale:o,resource:s}=l;o?(u[o]=u[o]||{},Cr(s,u[o])):Cr(s,u)}else M(l)&&Cr(JSON.parse(l),u)}),a==null&&r)for(const l in u)_r(u,l)&&ra(u[l]);return u}function sh(t){return t.type}function ch(t,e,n){let i=J(e.messages)?e.messages:{};"__i18nGlobal"in n&&(i=Kr(t.locale.value,{messages:i,__i18n:n.__i18nGlobal}));const a=Object.keys(i);a.length&&a.forEach(r=>{t.mergeLocaleMessage(r,i[r])});{if(J(e.datetimeFormats)){const r=Object.keys(e.datetimeFormats);r.length&&r.forEach(u=>{t.mergeDateTimeFormat(u,e.datetimeFormats[u])})}if(J(e.numberFormats)){const r=Object.keys(e.numberFormats);r.length&&r.forEach(u=>{t.mergeNumberFormat(u,e.numberFormats[u])})}}}function dh(t){return oi(Jf,null,t,0)}const fh="__INTLIFY_META__",hh=()=>[],eN=()=>!1;let mh=0;function vh(t){return(e,n,i,a)=>t(n,i,si()||void 0,a)}const tN=()=>{const t=si();let e=null;return t&&(e=sh(t)[fh])?{[fh]:e}:null};function Po(t={},e){const{__root:n,__injectWithOption:i}=t,a=n===void 0,r=t.flatJson,u=lt?ai:Nf,l=!!t.translateExistCompatible;process.env.NODE_ENV!=="production"&&l&&md(Qe(ce.NOTICE_DROP_TRANSLATE_EXIST_COMPATIBLE_FLAG));let o=q(t.inheritLocale)?t.inheritLocale:!0;const s=u(n&&o?n.locale.value:M(t.locale)?t.locale:ei),f=u(n&&o?n.fallbackLocale.value:M(t.fallbackLocale)||ue(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:s.value),d=u(Kr(s.value,t)),m=u(j(t.datetimeFormats)?t.datetimeFormats:{[s.value]:{}}),b=u(j(t.numberFormats)?t.numberFormats:{[s.value]:{}});let T=n?n.missingWarn:q(t.missingWarn)||Ut(t.missingWarn)?t.missingWarn:!0,w=n?n.fallbackWarn:q(t.fallbackWarn)||Ut(t.fallbackWarn)?t.fallbackWarn:!0,D=n?n.fallbackRoot:q(t.fallbackRoot)?t.fallbackRoot:!0,y=!!t.fallbackFormat,O=ie(t.missing)?t.missing:null,_=ie(t.missing)?vh(t.missing):null,E=ie(t.postTranslation)?t.postTranslation:null,N=n?n.warnHtmlMessage:q(t.warnHtmlMessage)?t.warnHtmlMessage:!0,R=!!t.escapeParameter;const S=n?n.modifiers:j(t.modifiers)?t.modifiers:{};let B=t.pluralRules||n&&n.pluralRules,L;L=(()=>{a&&Bd(null);const A={version:QD,locale:s.value,fallbackLocale:f.value,messages:d.value,modifiers:S,pluralRules:B,missing:_===null?void 0:_,missingWarn:T,fallbackWarn:w,fallbackFormat:y,unresolving:!0,postTranslation:E===null?void 0:E,warnHtmlMessage:N,escapeParameter:R,messageResolver:t.messageResolver,messageCompiler:t.messageCompiler,__meta:{framework:"vue"}};A.datetimeFormats=m.value,A.numberFormats=b.value,A.__datetimeFormatters=j(L)?L.__datetimeFormatters:void 0,A.__numberFormatters=j(L)?L.__numberFormatters:void 0,process.env.NODE_ENV!=="production"&&(A.__v_emitter=j(L)?L.__v_emitter:void 0);const k=GA(A);return a&&Bd(k),k})(),Ji(L,s.value,f.value);function ke(){return[s.value,f.value,d.value,m.value,b.value]}const W=Ct({get:()=>s.value,set:A=>{s.value=A,L.locale=s.value}}),ge=Ct({get:()=>f.value,set:A=>{f.value=A,L.fallbackLocale=f.value,Ji(L,s.value,A)}}),Xe=Ct(()=>d.value),cn=Ct(()=>m.value),it=Ct(()=>b.value);function dn(){return ie(E)?E:null}function fn(A){E=A,L.postTranslation=A}function nr(){return O}function ir(A){A!==null&&(_=vh(A)),O=A,L.missing=_}function ar(A,k){return A!=="translate"||!k.resolvedMessage}const ut=(A,k,p,be,hn,Al)=>{ke();let Hi;try{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Pd(tN()),a||(L.fallbackContext=n?qA():void 0),Hi=A(L)}finally{(process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__)&&Pd(null),a||(L.fallbackContext=void 0)}if(p!=="translate exists"&&Te(Hi)&&Hi===Sr||p==="translate exists"&&!Hi){const[Xn,G1]=k();if(process.env.NODE_ENV!=="production"&&n&&M(Xn)&&ar(p,G1)&&(D&&(Or(w,Xn)||kd(T,Xn))&&Ae(Qe(ce.FALLBACK_TO_ROOT,{key:Xn,type:p})),process.env.NODE_ENV!=="production")){const{__v_emitter:Ey}=L;Ey&&D&&Ey.emit("fallback",{type:p,key:Xn,to:"global",groupId:`${p}:${Xn}`})}return n&&D?be(n):hn(Xn)}else{if(Al(Hi))return Hi;throw Re(X.UNEXPECTED_RETURN_TYPE)}};function $i(...A){return ut(k=>Reflect.apply(Wd,null,[k,...A]),()=>Gl(...A),"translate",k=>Reflect.apply(k.t,k,[...A]),k=>k,k=>M(k))}function Vi(...A){const[k,p,be]=A;if(be&&!J(be))throw Re(X.INVALID_ARGUMENT);return $i(k,p,Oe({resolvedMessage:!0},be||{}))}function rr(...A){return ut(k=>Reflect.apply(Xd,null,[k,...A]),()=>Kl(...A),"datetime format",k=>Reflect.apply(k.d,k,[...A]),()=>Tr,k=>M(k))}function ur(...A){return ut(k=>Reflect.apply(Zd,null,[k,...A]),()=>zl(...A),"number format",k=>Reflect.apply(k.n,k,[...A]),()=>Tr,k=>M(k))}function lr(A){return A.map(k=>M(k)||Te(k)||q(k)?dh(String(k)):k)}const or={normalize:lr,interpolate:A=>A,type:"vnode"};function Ui(...A){return ut(k=>{let p;const be=k;try{be.processor=or,p=Reflect.apply(Wd,null,[be,...A])}finally{be.processor=null}return p},()=>Gl(...A),"translate",k=>k[Ao](...A),k=>[dh(k)],k=>ue(k))}function sr(...A){return ut(k=>Reflect.apply(Zd,null,[k,...A]),()=>zl(...A),"number format",k=>k[Do](...A),hh,k=>M(k)||ue(k))}function cr(...A){return ut(k=>Reflect.apply(Xd,null,[k,...A]),()=>Kl(...A),"datetime format",k=>k[Ro](...A),hh,k=>M(k)||ue(k))}function dr(A){B=A,L.pluralRules=B}function x(A,k){return ut(()=>{if(!A)return!1;const p=M(k)?k:s.value,be=zn(p),hn=L.messageResolver(be,A);return l?hn!=null:Wt(hn)||at(hn)||M(hn)},()=>[A],"translate exists",p=>Reflect.apply(p.te,p,[A,k]),eN,p=>q(p))}function Y(A){let k=null;const p=Id(L,f.value,s.value);for(let be=0;be<p.length;be++){const hn=d.value[p[be]]||{},Al=L.messageResolver(hn,A);if(Al!=null){k=Al;break}}return k}function fr(A){const k=Y(A);return k!=null?k:n?n.tm(A)||{}:{}}function zn(A){return d.value[A]||{}}function hr(A,k){if(r){const p={[A]:k};for(const be in p)_r(p,be)&&ra(p[be]);k=p[A]}d.value[A]=k,L.messages=d.value}function zc(A,k){d.value[A]=d.value[A]||{};const p={[A]:k};if(r)for(const be in p)_r(p,be)&&ra(p[be]);k=p[A],Cr(k,d.value[A]),L.messages=d.value}function v(A){return m.value[A]||{}}function g(A,k){m.value[A]=k,L.datetimeFormats=m.value,Qd(L,A,k)}function P(A,k){m.value[A]=Oe(m.value[A]||{},k),L.datetimeFormats=m.value,Qd(L,A,k)}function $(A){return b.value[A]||{}}function fe(A,k){b.value[A]=k,L.numberFormats=b.value,pd(L,A,k)}function re(A,k){b.value[A]=Oe(b.value[A]||{},k),L.numberFormats=b.value,pd(L,A,k)}mh++,n&<&&(wo(n.locale,A=>{o&&(s.value=A,L.locale=A,Ji(L,s.value,f.value))}),wo(n.fallbackLocale,A=>{o&&(f.value=A,L.fallbackLocale=A,Ji(L,s.value,f.value))}));const ne={id:mh,locale:W,fallbackLocale:ge,get inheritLocale(){return o},set inheritLocale(A){o=A,A&&n&&(s.value=n.locale.value,f.value=n.fallbackLocale.value,Ji(L,s.value,f.value))},get availableLocales(){return Object.keys(d.value).sort()},messages:Xe,get modifiers(){return S},get pluralRules(){return B||{}},get isGlobal(){return a},get missingWarn(){return T},set missingWarn(A){T=A,L.missingWarn=T},get fallbackWarn(){return w},set fallbackWarn(A){w=A,L.fallbackWarn=w},get fallbackRoot(){return D},set fallbackRoot(A){D=A},get fallbackFormat(){return y},set fallbackFormat(A){y=A,L.fallbackFormat=y},get warnHtmlMessage(){return N},set warnHtmlMessage(A){N=A,L.warnHtmlMessage=A},get escapeParameter(){return R},set escapeParameter(A){R=A,L.escapeParameter=A},t:$i,getLocaleMessage:zn,setLocaleMessage:hr,mergeLocaleMessage:zc,getPostTranslationHandler:dn,setPostTranslationHandler:fn,getMissingHandler:nr,setMissingHandler:ir,[lh]:dr};return ne.datetimeFormats=cn,ne.numberFormats=it,ne.rt=Vi,ne.te=x,ne.tm=fr,ne.d=rr,ne.n=ur,ne.getDateTimeFormat=v,ne.setDateTimeFormat=g,ne.mergeDateTimeFormat=P,ne.getNumberFormat=$,ne.setNumberFormat=fe,ne.mergeNumberFormat=re,ne[oh]=i,ne[Ao]=Ui,ne[Ro]=cr,ne[Do]=sr,process.env.NODE_ENV!=="production"&&(ne[Tn]=A=>{L.__v_emitter=A},ne[aa]=()=>{L.__v_emitter=void 0}),ne}function nN(t){const e=M(t.locale)?t.locale:ei,n=M(t.fallbackLocale)||ue(t.fallbackLocale)||j(t.fallbackLocale)||t.fallbackLocale===!1?t.fallbackLocale:e,i=ie(t.missing)?t.missing:void 0,a=q(t.silentTranslationWarn)||Ut(t.silentTranslationWarn)?!t.silentTranslationWarn:!0,r=q(t.silentFallbackWarn)||Ut(t.silentFallbackWarn)?!t.silentFallbackWarn:!0,u=q(t.fallbackRoot)?t.fallbackRoot:!0,l=!!t.formatFallbackMessages,o=j(t.modifiers)?t.modifiers:{},s=t.pluralizationRules,f=ie(t.postTranslation)?t.postTranslation:void 0,d=M(t.warnHtmlInMessage)?t.warnHtmlInMessage!=="off":!0,m=!!t.escapeParameterHtml,b=q(t.sync)?t.sync:!0;process.env.NODE_ENV!=="production"&&t.formatter&&Ae(Qe(ce.NOT_SUPPORTED_FORMATTER)),process.env.NODE_ENV!=="production"&&t.preserveDirectiveContent&&Ae(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE));let T=t.messages;if(j(t.sharedMessages)){const R=t.sharedMessages;T=Object.keys(R).reduce((B,L)=>{const z=B[L]||(B[L]={});return Oe(z,R[L]),B},T||{})}const{__i18n:w,__root:D,__injectWithOption:y}=t,O=t.datetimeFormats,_=t.numberFormats,E=t.flatJson,N=t.translateExistCompatible;return{locale:e,fallbackLocale:n,messages:T,flatJson:E,datetimeFormats:O,numberFormats:_,missing:i,missingWarn:a,fallbackWarn:r,fallbackRoot:u,fallbackFormat:l,modifiers:o,pluralRules:s,postTranslation:f,warnHtmlMessage:d,escapeParameter:m,messageResolver:t.messageResolver,inheritLocale:b,translateExistCompatible:N,__i18n:w,__root:D,__injectWithOption:y}}function Fo(t={},e){{const n=Po(nN(t)),{__extender:i}=t,a={id:n.id,get locale(){return n.locale.value},set locale(r){n.locale.value=r},get fallbackLocale(){return n.fallbackLocale.value},set fallbackLocale(r){n.fallbackLocale.value=r},get messages(){return n.messages.value},get datetimeFormats(){return n.datetimeFormats.value},get numberFormats(){return n.numberFormats.value},get availableLocales(){return n.availableLocales},get formatter(){return process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_FORMATTER)),{interpolate(){return[]}}},set formatter(r){process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_FORMATTER))},get missing(){return n.getMissingHandler()},set missing(r){n.setMissingHandler(r)},get silentTranslationWarn(){return q(n.missingWarn)?!n.missingWarn:n.missingWarn},set silentTranslationWarn(r){n.missingWarn=q(r)?!r:r},get silentFallbackWarn(){return q(n.fallbackWarn)?!n.fallbackWarn:n.fallbackWarn},set silentFallbackWarn(r){n.fallbackWarn=q(r)?!r:r},get modifiers(){return n.modifiers},get formatFallbackMessages(){return n.fallbackFormat},set formatFallbackMessages(r){n.fallbackFormat=r},get postTranslation(){return n.getPostTranslationHandler()},set postTranslation(r){n.setPostTranslationHandler(r)},get sync(){return n.inheritLocale},set sync(r){n.inheritLocale=r},get warnHtmlInMessage(){return n.warnHtmlMessage?"warn":"off"},set warnHtmlInMessage(r){n.warnHtmlMessage=r!=="off"},get escapeParameterHtml(){return n.escapeParameter},set escapeParameterHtml(r){n.escapeParameter=r},get preserveDirectiveContent(){return process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE)),!0},set preserveDirectiveContent(r){process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_PRESERVE_DIRECTIVE))},get pluralizationRules(){return n.pluralRules||{}},__composer:n,t(...r){const[u,l,o]=r,s={};let f=null,d=null;if(!M(u))throw Re(X.INVALID_ARGUMENT);const m=u;return M(l)?s.locale=l:ue(l)?f=l:j(l)&&(d=l),ue(o)?f=o:j(o)&&(d=o),Reflect.apply(n.t,n,[m,f||d||{},s])},rt(...r){return Reflect.apply(n.rt,n,[...r])},tc(...r){const[u,l,o]=r,s={plural:1};let f=null,d=null;if(!M(u))throw Re(X.INVALID_ARGUMENT);const m=u;return M(l)?s.locale=l:Te(l)?s.plural=l:ue(l)?f=l:j(l)&&(d=l),M(o)?s.locale=o:ue(o)?f=o:j(o)&&(d=o),Reflect.apply(n.t,n,[m,f||d||{},s])},te(r,u){return n.te(r,u)},tm(r){return n.tm(r)},getLocaleMessage(r){return n.getLocaleMessage(r)},setLocaleMessage(r,u){n.setLocaleMessage(r,u)},mergeLocaleMessage(r,u){n.mergeLocaleMessage(r,u)},d(...r){return Reflect.apply(n.d,n,[...r])},getDateTimeFormat(r){return n.getDateTimeFormat(r)},setDateTimeFormat(r,u){n.setDateTimeFormat(r,u)},mergeDateTimeFormat(r,u){n.mergeDateTimeFormat(r,u)},n(...r){return Reflect.apply(n.n,n,[...r])},getNumberFormat(r){return n.getNumberFormat(r)},setNumberFormat(r,u){n.setNumberFormat(r,u)},mergeNumberFormat(r,u){n.mergeNumberFormat(r,u)},getChoiceIndex(r,u){return process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_SUPPORTED_GET_CHOICE_INDEX)),-1}};return a.__extender=i,process.env.NODE_ENV!=="production"&&(a.__enableEmitter=r=>{const u=n;u[Tn]&&u[Tn](r)},a.__disableEmitter=()=>{const r=n;r[aa]&&r[aa]()}),a}}const Bo={tag:{type:[String,Object]},locale:{type:String},scope:{type:String,validator:t=>t==="parent"||t==="global",default:"parent"},i18n:{type:Object}};function iN({slots:t},e){return e.length===1&&e[0]==="default"?(t.default?t.default():[]).reduce((i,a)=>[...i,...a.type===jr?a.children:[a]],[]):e.reduce((n,i)=>{const a=t[i];return a&&(n[i]=a()),n},{})}function gh(t){return jr}const Lo=yo({name:"i18n-t",props:Oe({keypath:{type:String,required:!0},plural:{type:[Number,String],validator:t=>Te(t)||!isNaN(t)}},Bo),setup(t,e){const{slots:n,attrs:i}=e,a=t.i18n||$o({useScope:t.scope,__useComponent:!0});return()=>{const r=Object.keys(n).filter(d=>d!=="_"),u={};t.locale&&(u.locale=t.locale),t.plural!==void 0&&(u.plural=M(t.plural)?+t.plural:t.plural);const l=iN(e,r),o=a[Ao](t.keypath,l,u),s=Oe({},i),f=M(t.tag)||J(t.tag)?t.tag:gh();return ih(f,s,o)}}});function aN(t){return ue(t)&&!M(t[0])}function yh(t,e,n,i){const{slots:a,attrs:r}=e;return()=>{const u={part:!0};let l={};t.locale&&(u.locale=t.locale),M(t.format)?u.key=t.format:J(t.format)&&(M(t.format.key)&&(u.key=t.format.key),l=Object.keys(t.format).reduce((m,b)=>n.includes(b)?Oe({},m,{[b]:t.format[b]}):m,{}));const o=i(t.value,u,l);let s=[u.key];ue(o)?s=o.map((m,b)=>{const T=a[m.type],w=T?T({[m.type]:m.value,index:b,parts:o}):[m.value];return aN(w)&&(w[0].key=`${m.type}-${b}`),w}):M(o)&&(s=[o]);const f=Oe({},r),d=M(t.tag)||J(t.tag)?t.tag:gh();return ih(d,f,s)}}const _h=yo({name:"i18n-n",props:Oe({value:{type:Number,required:!0},format:{type:[String,Object]}},Bo),setup(t,e){const n=t.i18n||$o({useScope:t.scope,__useComponent:!0});return yh(t,e,Yd,(...i)=>n[Do](...i))}}),bh=yo({name:"i18n-d",props:Oe({value:{type:[Number,Date],required:!0},format:{type:[String,Object]}},Bo),setup(t,e){const n=t.i18n||$o({useScope:t.scope,__useComponent:!0});return yh(t,e,Jd,(...i)=>n[Ro](...i))}});function rN(t,e){const n=t;if(t.mode==="composition")return n.__getInstance(e)||t.global;{const i=n.__getInstance(e);return i!=null?i.__composer:t.global.__composer}}function uN(t){const e=u=>{const{instance:l,modifiers:o,value:s}=u;if(!l||!l.$)throw Re(X.UNEXPECTED_ERROR);const f=rN(t,l.$);process.env.NODE_ENV!=="production"&&o.preserve&&Ae(Qe(ce.NOT_SUPPORTED_PRESERVE));const d=Eh(s);return[Reflect.apply(f.t,f,[...Ch(d)]),f]};return{created:(u,l)=>{const[o,s]=e(l);lt&&t.global===s&&(u.__i18nWatcher=wo(s.locale,()=>{l.instance&&l.instance.$forceUpdate()})),u.__composer=s,u.textContent=o},unmounted:u=>{lt&&u.__i18nWatcher&&(u.__i18nWatcher(),u.__i18nWatcher=void 0,delete u.__i18nWatcher),u.__composer&&(u.__composer=void 0,delete u.__composer)},beforeUpdate:(u,{value:l})=>{if(u.__composer){const o=u.__composer,s=Eh(l);u.textContent=Reflect.apply(o.t,o,[...Ch(s)])}},getSSRProps:u=>{const[l]=e(u);return{textContent:l}}}}function Eh(t){if(M(t))return{path:t};if(j(t)){if(!("path"in t))throw Re(X.REQUIRED_VALUE,"path");return t}else throw Re(X.INVALID_VALUE)}function Ch(t){const{path:e,locale:n,args:i,choice:a,plural:r}=t,u={},l=i||{};return M(n)&&(u.locale=n),Te(a)&&(u.plural=a),Te(r)&&(u.plural=r),[e,l,u]}function lN(t,e,...n){const i=j(n[0])?n[0]:{},a=!!i.useI18nComponentName,r=q(i.globalInstall)?i.globalInstall:!0;process.env.NODE_ENV!=="production"&&r&&a&&Ae(Qe(ce.COMPONENT_NAME_LEGACY_COMPATIBLE,{name:Lo.name})),r&&([a?"i18n":Lo.name,"I18nT"].forEach(u=>t.component(u,Lo)),[_h.name,"I18nN"].forEach(u=>t.component(u,_h)),[bh.name,"I18nD"].forEach(u=>t.component(u,bh))),t.directive("t",uN(e))}const ko={["vue-devtools-plugin-vue-i18n"]:"Vue I18n devtools",["vue-i18n-resource-inspector"]:"I18n Resources",["vue-i18n-timeline"]:"Vue I18n"},oN={["vue-i18n-resource-inspector"]:"Search for scopes ..."},sN={["vue-i18n-timeline"]:16764185},wh="vue-i18n: composer properties";let xo;function cN(t,e){return Jn(this,null,function*(){return new Promise((n,i)=>{try{JD({id:"vue-devtools-plugin-vue-i18n",label:ko["vue-devtools-plugin-vue-i18n"],packageName:"vue-i18n",homepage:"https://vue-i18n.intlify.dev",logo:"https://vue-i18n.intlify.dev/vue-i18n-devtools-logo.png",componentStateTypes:[wh],app:t},a=>{xo=a,a.on.visitComponentTree(({componentInstance:u,treeNode:l})=>{dN(u,l,e)}),a.on.inspectComponent(({componentInstance:u,instanceData:l})=>{u.vnode.el&&u.vnode.el.__VUE_I18N__&&l&&(e.mode==="legacy"?u.vnode.el.__VUE_I18N__!==e.global.__composer&&Sh(l,u.vnode.el.__VUE_I18N__):Sh(l,u.vnode.el.__VUE_I18N__))}),a.addInspector({id:"vue-i18n-resource-inspector",label:ko["vue-i18n-resource-inspector"],icon:"language",treeFilterPlaceholder:oN["vue-i18n-resource-inspector"]}),a.on.getInspectorTree(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&gN(u,e)});const r=new Map;a.on.getInspectorState(u=>Jn(this,null,function*(){if(u.app===t&&u.inspectorId==="vue-i18n-resource-inspector")if(a.unhighlightElement(),_N(u,e),u.nodeId==="global"){if(!r.has(u.app)){const[l]=yield a.getComponentInstances(u.app);r.set(u.app,l)}a.highlightElement(r.get(u.app))}else{const l=yN(u.nodeId,e);l&&a.highlightElement(l)}})),a.on.editInspectorState(u=>{u.app===t&&u.inspectorId==="vue-i18n-resource-inspector"&&EN(u,e)}),a.addTimelineLayer({id:"vue-i18n-timeline",label:ko["vue-i18n-timeline"],color:sN["vue-i18n-timeline"]}),n(!0)})}catch(a){console.error(a),i(!1)}})})}function Ih(t){return t.type.name||t.type.displayName||t.type.__file||"Anonymous"}function dN(t,e,n){const i=n.mode==="composition"?n.global:n.global.__composer;if(t&&t.vnode.el&&t.vnode.el.__VUE_I18N__&&t.vnode.el.__VUE_I18N__!==i){const a={label:`i18n (${Ih(t)} Scope)`,textColor:0,backgroundColor:16764185};e.tags.push(a)}}function Sh(t,e){const n=wh;t.state.push({type:n,key:"locale",editable:!0,value:e.locale.value}),t.state.push({type:n,key:"availableLocales",editable:!1,value:e.availableLocales}),t.state.push({type:n,key:"fallbackLocale",editable:!0,value:e.fallbackLocale.value}),t.state.push({type:n,key:"inheritLocale",editable:!0,value:e.inheritLocale}),t.state.push({type:n,key:"messages",editable:!1,value:Mo(e.messages.value)}),t.state.push({type:n,key:"datetimeFormats",editable:!1,value:e.datetimeFormats.value}),t.state.push({type:n,key:"numberFormats",editable:!1,value:e.numberFormats.value})}function Mo(t){const e={};return Object.keys(t).forEach(n=>{const i=t[n];ie(i)&&"source"in i?e[n]=vN(i):Wt(i)&&i.loc&&i.loc.source?e[n]=i.loc.source:J(i)?e[n]=Mo(i):e[n]=i}),e}const fN={"<":"<",">":">",'"':""","&":"&"};function hN(t){return t.replace(/[<>"&]/g,mN)}function mN(t){return fN[t]||t}function vN(t){const e=t.source?`("${hN(t.source)}")`:"(?)";return{_custom:{type:"function",display:`<span>\u0192</span> ${e}`}}}function gN(t,e){t.rootNodes.push({id:"global",label:"Global Scope"});const n=e.mode==="composition"?e.global:e.global.__composer;for(const[i,a]of e.__instances){const r=e.mode==="composition"?a:a.__composer;n!==r&&t.rootNodes.push({id:r.id.toString(),label:`${Ih(i)} Scope`})}}function yN(t,e){let n=null;if(t!=="global"){for(const[i,a]of e.__instances.entries())if(a.id.toString()===t){n=i;break}}return n}function Th(t,e){if(t==="global")return e.mode==="composition"?e.global:e.global.__composer;{const n=Array.from(e.__instances.values()).find(i=>i.id.toString()===t);return n?e.mode==="composition"?n:n.__composer:null}}function _N(t,e){const n=Th(t.nodeId,e);return n&&(t.state=bN(n)),null}function bN(t){const e={},n="Locale related info",i=[{type:n,key:"locale",editable:!0,value:t.locale.value},{type:n,key:"fallbackLocale",editable:!0,value:t.fallbackLocale.value},{type:n,key:"availableLocales",editable:!1,value:t.availableLocales},{type:n,key:"inheritLocale",editable:!0,value:t.inheritLocale}];e[n]=i;const a="Locale messages info",r=[{type:a,key:"messages",editable:!1,value:Mo(t.messages.value)}];e[a]=r;{const u="Datetime formats info",l=[{type:u,key:"datetimeFormats",editable:!1,value:t.datetimeFormats.value}];e[u]=l;const o="Datetime formats info",s=[{type:o,key:"numberFormats",editable:!1,value:t.numberFormats.value}];e[o]=s}return e}function ua(t,e){if(xo){let n;e&&"groupId"in e&&(n=e.groupId,delete e.groupId),xo.addTimelineEvent({layerId:"vue-i18n-timeline",event:{title:t,groupId:n,time:Date.now(),meta:{},data:e||{},logType:t==="compile-error"?"error":t==="fallback"||t==="missing"?"warning":"default"}})}}function EN(t,e){const n=Th(t.nodeId,e);if(n){const[i]=t.path;i==="locale"&&M(t.state.value)?n.locale.value=t.state.value:i==="fallbackLocale"&&(M(t.state.value)||ue(t.state.value)||J(t.state.value))?n.fallbackLocale.value=t.state.value:i==="inheritLocale"&&q(t.state.value)&&(n.inheritLocale=t.state.value)}}function CN(t,e,n){return{beforeCreate(){const i=si();if(!i)throw Re(X.UNEXPECTED_ERROR);const a=this.$options;if(a.i18n){const r=a.i18n;if(a.__i18n&&(r.__i18n=a.__i18n),r.__root=e,this===this.$root)this.$i18n=Oh(t,r);else{r.__injectWithOption=!0,r.__extender=n.__vueI18nExtend,this.$i18n=Fo(r);const u=this.$i18n;u.__extender&&(u.__disposer=u.__extender(this.$i18n))}}else if(a.__i18n)if(this===this.$root)this.$i18n=Oh(t,a);else{this.$i18n=Fo({__i18n:a.__i18n,__injectWithOption:!0,__extender:n.__vueI18nExtend,__root:e});const r=this.$i18n;r.__extender&&(r.__disposer=r.__extender(this.$i18n))}else this.$i18n=t;a.__i18nGlobal&&ch(e,a,a),this.$t=(...r)=>this.$i18n.t(...r),this.$rt=(...r)=>this.$i18n.rt(...r),this.$tc=(...r)=>this.$i18n.tc(...r),this.$te=(r,u)=>this.$i18n.te(r,u),this.$d=(...r)=>this.$i18n.d(...r),this.$n=(...r)=>this.$i18n.n(...r),this.$tm=r=>this.$i18n.tm(r),n.__setInstance(i,this.$i18n)},mounted(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$i18n){const i=this.$i18n;this.$el.__VUE_I18N__=i.__composer;const a=this.__v_emitter=$l();i.__enableEmitter&&i.__enableEmitter(a),a.on("*",ua)}},unmounted(){const i=si();if(!i)throw Re(X.UNEXPECTED_ERROR);const a=this.$i18n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&this.$el&&this.$el.__VUE_I18N__&&(this.__v_emitter&&(this.__v_emitter.off("*",ua),delete this.__v_emitter),this.$i18n&&(a.__disableEmitter&&a.__disableEmitter(),delete this.$el.__VUE_I18N__)),delete this.$t,delete this.$rt,delete this.$tc,delete this.$te,delete this.$d,delete this.$n,delete this.$tm,a.__disposer&&(a.__disposer(),delete a.__disposer,delete a.__extender),n.__deleteInstance(i),delete this.$i18n}}}function Oh(t,e){t.locale=e.locale||t.locale,t.fallbackLocale=e.fallbackLocale||t.fallbackLocale,t.missing=e.missing||t.missing,t.silentTranslationWarn=e.silentTranslationWarn||t.silentFallbackWarn,t.silentFallbackWarn=e.silentFallbackWarn||t.silentFallbackWarn,t.formatFallbackMessages=e.formatFallbackMessages||t.formatFallbackMessages,t.postTranslation=e.postTranslation||t.postTranslation,t.warnHtmlInMessage=e.warnHtmlInMessage||t.warnHtmlInMessage,t.escapeParameterHtml=e.escapeParameterHtml||t.escapeParameterHtml,t.sync=e.sync||t.sync,t.__composer[lh](e.pluralizationRules||t.pluralizationRules);const n=Kr(t.locale,{messages:e.messages,__i18n:e.__i18n});return Object.keys(n).forEach(i=>t.mergeLocaleMessage(i,n[i])),e.datetimeFormats&&Object.keys(e.datetimeFormats).forEach(i=>t.mergeDateTimeFormat(i,e.datetimeFormats[i])),e.numberFormats&&Object.keys(e.numberFormats).forEach(i=>t.mergeNumberFormat(i,e.numberFormats[i])),t}const wN=ot("global-vue-i18n");function IN(t={},e){const n=__VUE_I18N_LEGACY_API__&&q(t.legacy)?t.legacy:__VUE_I18N_LEGACY_API__,i=q(t.globalInjection)?t.globalInjection:!0,a=__VUE_I18N_LEGACY_API__&&n?!!t.allowComposition:!0,r=new Map,[u,l]=SN(t,n),o=ot(process.env.NODE_ENV!=="production"?"vue-i18n":"");process.env.NODE_ENV!=="production"&&n&&a&&Ae(Qe(ce.NOTICE_DROP_ALLOW_COMPOSITION));function s(m){return r.get(m)||null}function f(m,b){r.set(m,b)}function d(m){r.delete(m)}{let b;const m={get mode(){return __VUE_I18N_LEGACY_API__&&n?"legacy":"composition"},get allowComposition(){return a},install(T,...w){return Jn(this,null,function*(){if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&(T.__VUE_I18N__=m),T.__VUE_I18N_SYMBOL__=o,T.provide(T.__VUE_I18N_SYMBOL__,m),j(w[0])){const O=w[0];m.__composerExtend=O.__composerExtend,m.__vueI18nExtend=O.__vueI18nExtend}let D=null;!n&&i&&(D=BN(T,m.global)),__VUE_I18N_FULL_INSTALL__&&lN(T,m,...w),__VUE_I18N_LEGACY_API__&&n&&T.mixin(CN(l,l.__composer,m));const y=T.unmount;if(T.unmount=()=>{D&&D(),m.dispose(),y()},process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__){if(!(yield cN(T,m)))throw Re(X.CANNOT_SETUP_VUE_DEVTOOLS_PLUGIN);const _=$l();if(n){const E=l;E.__enableEmitter&&E.__enableEmitter(_)}else{const E=l;E[Tn]&&E[Tn](_)}_.on("*",ua)}})},get global(){return l},dispose(){u.stop()},__instances:r,__getInstance:s,__setInstance:f,__deleteInstance:d};return m}}function $o(t={}){const e=si();if(e==null)throw Re(X.MUST_BE_CALL_SETUP_TOP);if(!e.isCE&&e.appContext.app!=null&&!e.appContext.app.__VUE_I18N_SYMBOL__)throw Re(X.NOT_INSTALLED);const n=TN(e),i=AN(n),a=sh(e),r=ON(t,a);if(__VUE_I18N_LEGACY_API__&&n.mode==="legacy"&&!t.__useComponent){if(!n.allowComposition)throw Re(X.NOT_AVAILABLE_IN_LEGACY_MODE);return PN(e,r,i,t)}if(r==="global")return ch(i,t,a),i;if(r==="parent"){let o=RN(n,e,t.__useComponent);return o==null&&(process.env.NODE_ENV!=="production"&&Ae(Qe(ce.NOT_FOUND_PARENT_SCOPE)),o=i),o}const u=n;let l=u.__getInstance(e);if(l==null){const o=Oe({},t);"__i18n"in a&&(o.__i18n=a.__i18n),i&&(o.__root=i),l=Po(o),u.__composerExtend&&(l[No]=u.__composerExtend(l)),NN(u,e,l),u.__setInstance(e,l)}return l}function SN(t,e,n){const i=_R();{const a=__VUE_I18N_LEGACY_API__&&e?i.run(()=>Fo(t)):i.run(()=>Po(t));if(a==null)throw Re(X.UNEXPECTED_ERROR);return[i,a]}}function TN(t){{const e=Gf(t.isCE?wN:t.appContext.app.__VUE_I18N_SYMBOL__);if(!e)throw Re(t.isCE?X.NOT_INSTALLED_WITH_PROVIDE:X.UNEXPECTED_ERROR);return e}}function ON(t,e){return yr(t)?"__i18n"in e?"local":"global":t.useScope?t.useScope:"local"}function AN(t){return t.mode==="composition"?t.global:t.global.__composer}function RN(t,e,n=!1){let i=null;const a=e.root;let r=DN(e,n);for(;r!=null;){const u=t;if(t.mode==="composition")i=u.__getInstance(r);else if(__VUE_I18N_LEGACY_API__){const l=u.__getInstance(r);l!=null&&(i=l.__composer,n&&i&&!i[oh]&&(i=null))}if(i!=null||a===r)break;r=r.parent}return i}function DN(t,e=!1){return t==null?null:e&&t.vnode.ctx||t.parent}function NN(t,e,n){let i=null;dD(()=>{if((process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el){e.vnode.el.__VUE_I18N__=n,i=$l();const a=n;a[Tn]&&a[Tn](i),i.on("*",ua)}},e),fD(()=>{const a=n;(process.env.NODE_ENV!=="production"||__VUE_PROD_DEVTOOLS__)&&!0&&e.vnode.el&&e.vnode.el.__VUE_I18N__&&(i&&i.off("*",ua),a[aa]&&a[aa](),delete e.vnode.el.__VUE_I18N__),t.__deleteInstance(e);const r=a[No];r&&(r(),delete a[No])},e)}function PN(t,e,n,i={}){const a=e==="local",r=Nf(null);if(a&&t.proxy&&!(t.proxy.$options.i18n||t.proxy.$options.__i18n))throw Re(X.MUST_DEFINE_I18N_OPTION_IN_ALLOW_COMPOSITION);const u=q(i.inheritLocale)?i.inheritLocale:!M(i.locale),l=ai(!a||u?n.locale.value:M(i.locale)?i.locale:ei),o=ai(!a||u?n.fallbackLocale.value:M(i.fallbackLocale)||ue(i.fallbackLocale)||j(i.fallbackLocale)||i.fallbackLocale===!1?i.fallbackLocale:l.value),s=ai(Kr(l.value,i)),f=ai(j(i.datetimeFormats)?i.datetimeFormats:{[l.value]:{}}),d=ai(j(i.numberFormats)?i.numberFormats:{[l.value]:{}}),m=a?n.missingWarn:q(i.missingWarn)||Ut(i.missingWarn)?i.missingWarn:!0,b=a?n.fallbackWarn:q(i.fallbackWarn)||Ut(i.fallbackWarn)?i.fallbackWarn:!0,T=a?n.fallbackRoot:q(i.fallbackRoot)?i.fallbackRoot:!0,w=!!i.fallbackFormat,D=ie(i.missing)?i.missing:null,y=ie(i.postTranslation)?i.postTranslation:null,O=a?n.warnHtmlMessage:q(i.warnHtmlMessage)?i.warnHtmlMessage:!0,_=!!i.escapeParameter,E=a?n.modifiers:j(i.modifiers)?i.modifiers:{},N=i.pluralRules||a&&n.pluralRules;function R(){return[l.value,o.value,s.value,f.value,d.value]}const S=Ct({get:()=>r.value?r.value.locale.value:l.value,set:x=>{r.value&&(r.value.locale.value=x),l.value=x}}),B=Ct({get:()=>r.value?r.value.fallbackLocale.value:o.value,set:x=>{r.value&&(r.value.fallbackLocale.value=x),o.value=x}}),L=Ct(()=>r.value?r.value.messages.value:s.value),z=Ct(()=>f.value),ke=Ct(()=>d.value);function W(){return r.value?r.value.getPostTranslationHandler():y}function ge(x){r.value&&r.value.setPostTranslationHandler(x)}function Xe(){return r.value?r.value.getMissingHandler():D}function cn(x){r.value&&r.value.setMissingHandler(x)}function it(x){return R(),x()}function dn(...x){return r.value?it(()=>Reflect.apply(r.value.t,null,[...x])):it(()=>"")}function fn(...x){return r.value?Reflect.apply(r.value.rt,null,[...x]):""}function nr(...x){return r.value?it(()=>Reflect.apply(r.value.d,null,[...x])):it(()=>"")}function ir(...x){return r.value?it(()=>Reflect.apply(r.value.n,null,[...x])):it(()=>"")}function ar(x){return r.value?r.value.tm(x):{}}function ut(x,Y){return r.value?r.value.te(x,Y):!1}function $i(x){return r.value?r.value.getLocaleMessage(x):{}}function Vi(x,Y){r.value&&(r.value.setLocaleMessage(x,Y),s.value[x]=Y)}function rr(x,Y){r.value&&r.value.mergeLocaleMessage(x,Y)}function ur(x){return r.value?r.value.getDateTimeFormat(x):{}}function lr(x,Y){r.value&&(r.value.setDateTimeFormat(x,Y),f.value[x]=Y)}function Ol(x,Y){r.value&&r.value.mergeDateTimeFormat(x,Y)}function or(x){return r.value?r.value.getNumberFormat(x):{}}function Ui(x,Y){r.value&&(r.value.setNumberFormat(x,Y),d.value[x]=Y)}function sr(x,Y){r.value&&r.value.mergeNumberFormat(x,Y)}const cr={get id(){return r.value?r.value.id:-1},locale:S,fallbackLocale:B,messages:L,datetimeFormats:z,numberFormats:ke,get inheritLocale(){return r.value?r.value.inheritLocale:u},set inheritLocale(x){r.value&&(r.value.inheritLocale=x)},get availableLocales(){return r.value?r.value.availableLocales:Object.keys(s.value)},get modifiers(){return r.value?r.value.modifiers:E},get pluralRules(){return r.value?r.value.pluralRules:N},get isGlobal(){return r.value?r.value.isGlobal:!1},get missingWarn(){return r.value?r.value.missingWarn:m},set missingWarn(x){r.value&&(r.value.missingWarn=x)},get fallbackWarn(){return r.value?r.value.fallbackWarn:b},set fallbackWarn(x){r.value&&(r.value.missingWarn=x)},get fallbackRoot(){return r.value?r.value.fallbackRoot:T},set fallbackRoot(x){r.value&&(r.value.fallbackRoot=x)},get fallbackFormat(){return r.value?r.value.fallbackFormat:w},set fallbackFormat(x){r.value&&(r.value.fallbackFormat=x)},get warnHtmlMessage(){return r.value?r.value.warnHtmlMessage:O},set warnHtmlMessage(x){r.value&&(r.value.warnHtmlMessage=x)},get escapeParameter(){return r.value?r.value.escapeParameter:_},set escapeParameter(x){r.value&&(r.value.escapeParameter=x)},t:dn,getPostTranslationHandler:W,setPostTranslationHandler:ge,getMissingHandler:Xe,setMissingHandler:cn,rt:fn,d:nr,n:ir,tm:ar,te:ut,getLocaleMessage:$i,setLocaleMessage:Vi,mergeLocaleMessage:rr,getDateTimeFormat:ur,setDateTimeFormat:lr,mergeDateTimeFormat:Ol,getNumberFormat:or,setNumberFormat:Ui,mergeNumberFormat:sr};function dr(x){x.locale.value=l.value,x.fallbackLocale.value=o.value,Object.keys(s.value).forEach(Y=>{x.mergeLocaleMessage(Y,s.value[Y])}),Object.keys(f.value).forEach(Y=>{x.mergeDateTimeFormat(Y,f.value[Y])}),Object.keys(d.value).forEach(Y=>{x.mergeNumberFormat(Y,d.value[Y])}),x.escapeParameter=_,x.fallbackFormat=w,x.fallbackRoot=T,x.fallbackWarn=b,x.missingWarn=m,x.warnHtmlMessage=O}return cD(()=>{if(t.proxy==null||t.proxy.$i18n==null)throw Re(X.NOT_AVAILABLE_COMPOSITION_IN_LEGACY);const x=r.value=t.proxy.$i18n.__composer;e==="global"?(l.value=x.locale.value,o.value=x.fallbackLocale.value,s.value=x.messages.value,f.value=x.datetimeFormats.value,d.value=x.numberFormats.value):a&&dr(x)}),cr}const FN=["locale","fallbackLocale","availableLocales"],Ah=["t","rt","d","n","tm","te"];function BN(t,e){const n=Object.create(null);return FN.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r)throw Re(X.UNEXPECTED_ERROR);const u=Je(r.value)?{get(){return r.value.value},set(l){r.value.value=l}}:{get(){return r.get&&r.get()}};Object.defineProperty(n,a,u)}),t.config.globalProperties.$i18n=n,Ah.forEach(a=>{const r=Object.getOwnPropertyDescriptor(e,a);if(!r||!r.value)throw Re(X.UNEXPECTED_ERROR);Object.defineProperty(t.config.globalProperties,`$${a}`,r)}),()=>{delete t.config.globalProperties.$i18n,Ah.forEach(a=>{delete t.config.globalProperties[`$${a}`]})}}if(ZD(),__INTLIFY_JIT_COMPILATION__?Ad(QA):Ad(JA),HA(CA),jA(Id),process.env.NODE_ENV!=="production"||__INTLIFY_PROD_DEVTOOLS__){const t=At();t.__INTLIFY__=!0,NA(t.__INTLIFY_DEVTOOLS_GLOBAL_HOOK__)}process.env.NODE_ENV;const LN=(t,e)=>{var u;const n=t.split(".");let i;const a=((u=window.baitedaWorkers)==null?void 0:u.languageMessages)||{};n.forEach((l,o)=>{o===0?i=a[l]:i&&(i=i[l])});let r="";return i&&(r=i),e&&Object.keys(e).forEach(l=>{const o=e[l];r=r.replace(new RegExp(`\\{\\s*${l}\\s*\\}`),o)}),r||(r=t),r};function kN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rh(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 xN(t,e,n){return e&&Rh(t.prototype,e),n&&Rh(t,n),t}function MN(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var c=function(){function t(){kN(this,t)}return xN(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},a;return(a=LN("engine."+n))!==null&&a!==void 0?a:this.$i18n.global.t(n,i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:gO;return IN({locale:n,globalInjection:!0,silentFallbackWarn:!0,missingWarn:!1,fallbackWarn:!1,silentTranslationWarn:!0})}},{key:"setLocale",value:function(n,i){var a=i;i||(a=vO.zhCN),this.$i18n.global.setLocaleMessage(n,a)}}]),t}();MN(c,"$i18n",c.resetI18n());function $N(t,e,n){var i=e.replace(/\[(\d)]/g,function(r,u){return"."+u}).split("."),a=!1;return i.reduce(function(r,u,l,o){var s=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,u)){kl("Can not set ".concat(e,"'s ").concat(u," property in current %o, Because there is no ").concat(u," property on the %o"),r,r);return}return l===o.length-1&&!Object.is(s[u],n)&&(s[u]=n,a=!0),s[u]}},t),a}var VN=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},UN={exports:{}};(function(t){(function(e){var n=function(y,O,_){if(!s(O)||d(O)||m(O)||b(O)||o(O))return O;var E,N=0,R=0;if(f(O))for(E=[],R=O.length;N<R;N++)E.push(n(y,O[N],_));else{E={};for(var S in O)Object.prototype.hasOwnProperty.call(O,S)&&(E[y(S,_)]=n(y,O[S],_))}return E},i=function(y,O){O=O||{};var _=O.separator||"_",E=O.split||/(?=[A-Z])/;return y.split(E).join(_)},a=function(y){return T(y)?y:(y=y.replace(/[\-_\s]+(.)?/g,function(O,_){return _?_.toUpperCase():""}),y.substr(0,1).toLowerCase()+y.substr(1))},r=function(y){var O=a(y);return O.substr(0,1).toUpperCase()+O.substr(1)},u=function(y,O){return i(y,O).toLowerCase()},l=Object.prototype.toString,o=function(y){return typeof y=="function"},s=function(y){return y===Object(y)},f=function(y){return l.call(y)=="[object Array]"},d=function(y){return l.call(y)=="[object Date]"},m=function(y){return l.call(y)=="[object RegExp]"},b=function(y){return l.call(y)=="[object Boolean]"},T=function(y){return y=y-0,y===y},w=function(y,O){var _=O&&"process"in O?O.process:O;return typeof _!="function"?y:function(E,N){return _(E,y,N)}},D={camelize:a,decamelize:u,pascalize:r,depascalize:u,camelizeKeys:function(y,O){return n(w(a,O),y)},decamelizeKeys:function(y,O){return n(w(u,O),y,O)},pascalizeKeys:function(y,O){return n(w(r,O),y)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=D:e.humps=D})(VN)})(UN);var Dh={};Object.defineProperty(Dh,"__esModule",{value:!0});function Vo(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Vo(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Vo(i)}return e}}var HN=Dh.default=Vo;function jN(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ht(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":jN(t))==="object"?HN(t):t}function WN(t){return Object.prototype.toString.call(t)==="[object Object]"}function Uo(t){return Array.isArray(t)}function qN(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ho(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 GN(t){if(Array.isArray(t))return Ho(t)}function Nh(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function KN(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){Nh(r,i,a,u,l,"next",o)}function l(o){Nh(r,i,a,u,l,"throw",o)}u(void 0)})}}function zN(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ph(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 XN(t,e,n){return e&&Ph(t.prototype,e),n&&Ph(t,n),t}function Fh(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){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function QN(){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 jo(t){return GN(t)||JN(t)||ZN(t)||QN()}function ZN(t,e){if(!!t){if(typeof t=="string")return Ho(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 Ho(t,e)}}function YN(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var pN=function(){function t(){zN(this,t),Fh(this,"_events",new Map),Fh(this,"debug",!1)}return XN(t,[{key:"emit",value:function(n){for(var i=arguments.length,a=new Array(i>1?i-1:0),r=1;r<i;r++)a[r-1]=arguments[r];var u=this;return KN(function(){var l,o,s,f,d,m,b,T,w,D,y,O;return YN(this,function(_){switch(_.label){case 0:if(l=u._events.get(n),o=[],!l)return[3,10];s=l.slice(),f=!0,d=!1,m=void 0,_.label=1;case 1:_.trys.push([1,8,9,10]),b=s[Symbol.iterator](),_.label=2;case 2:if(f=(T=b.next()).done)return[3,7];if(w=T.value,!l.includes(w))return[3,6];_.label=3;case 3:return _.trys.push([3,5,,6]),u.debug&&ud.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(a.map(function(){return"%o"}).join(","),"\u3002")].concat(jo(a))),[4,w.apply(null,jo(a))];case 4:return D=_.sent(),u.debug&&ud.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(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(jo(a),[D])),o.push(D),D===!1?[3,7]:[3,6];case 5:return y=_.sent(),RO(String(y)+":"+String(y.stack)),[3,6];case 6:return f=!0,[3,2];case 7:return[3,10];case 8:return O=_.sent(),d=!0,m=O,[3,10];case 9:try{!f&&b.return!=null&&b.return()}finally{if(d)throw m}return[7];case 10:return[2,o]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(i);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function eP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bh(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 tP(t,e,n){return e&&Bh(t.prototype,e),n&&Bh(t,n),t}function nP(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var iP=[{key:"on_click",name:c.getMessage("click"),code:"click"},{key:"on_click_finish",name:c.getMessage("finished"),code:"click-finish"},{key:"on_change",name:c.getMessage("valueChange"),code:"change"},{key:"on_search",name:c.getMessage("search"),code:"search"},{key:"on_list_change",name:c.getMessage("listDataChange"),code:"list-change"},{key:"on_list_search",name:c.getMessage("listDataCreate"),code:"list-search"},{key:"on_list_mounted",name:c.getMessage("listDataBack"),code:"list-mounted"},{key:"on_list_delete",name:c.getMessage("listDataDelete"),code:"list-delete"},{key:"on_list_before_insert",name:c.getMessage("listDataAdd"),code:"list-before-insert"},{key:"on_input",name:c.getMessage("onInput"),code:"input"},{key:"on_blur",name:c.getMessage("onBlur"),code:"blur"},{key:"on_focus",name:c.getMessage("onFocus"),code:"focus"},{key:"on_wps_open",name:c.getMessage("onOpenFile"),code:"wps-open"},{key:"on_wps_save",name:c.getMessage("onSaveFile"),code:"wps-save"},{key:"on_wps_rename",name:c.getMessage("rename"),code:"wps-rename"},{key:"on_list_actions",name:c.getMessage("onClickBtn"),code:"list-actions"},{key:"on_list_render_operation",name:c.getMessage("cellRender"),code:"list-render-operation"},{key:"on_list_rowclick",name:c.getMessage("rowClick"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:c.getMessage("rowDelete"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:c.getMessage("listDataImport"),code:"list-before-import"},{key:"on_list_rows_checked",name:c.getMessage("rowSelected"),code:"list-rows-checked"},{key:"on_change_tab",name:c.getMessage("tabChange"),code:"change-tab"},{key:"on_modal_ok",name:c.getMessage("modalConfirm"),code:"modal-ok"}],aP=function(){function t(){eP(this,t)}return tP(t,null,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(a){return i.includes(a.key)})}},{key:"getEventsFromControl",value:function(n){var i=[],a=n.eventKeys;i=i.concat(t.events.filter(function(u){return a.includes(u.key)}));var r=n.customEvents.map(function(u){var l=u.key;return u.namespace!==void 0&&u.namespace!==null&&u.namespace!==""&&(l=u.namespace+":"+u.key),{key:l,code:u.key,name:u.name}});return i=i.concat(r),i}}]),t}();nP(aP,"events",iP);function Wo(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 rP(t){if(Array.isArray(t))return Wo(t)}function uP(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function lP(){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 Lh(t){return rP(t)||uP(t)||oP(t)||lP()}function oP(t,e){if(!!t){if(typeof t=="string")return Wo(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 Wo(t,e)}}function qo(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function kh(t,e,n){n!=="Runtime"&&(t.parent=e,qo(t,"parent"))}function sP(t,e,n){t.forEach(function(i){kh(i,e,n)})}var xh=Symbol("targetKey");function Mh(t){var e;return(e=t[xh])!==null&&e!==void 0?e:t}function $h(t,e,n){return sP(t,e,n),new Proxy(t,{get:function(a,r){for(var u=arguments.length,l=new Array(u>2?u-2:0),o=2;o<u;o++)l[o-2]=arguments[o];var s;return r===xh?a:(s=Reflect).get.apply(s,[a,r].concat(Lh(l)))},set:function(a,r,u){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var f;if(Uo(t)&&r==="length"&&u===t.length)return!0;var d=(f=Reflect).set.apply(f,[a,r,u].concat(Lh(o)));return WN(u)&&kh(u,e,n),d}})}function wt(t,e,n,i,a){var r=i!=null?i:t,u=$h(Mh(n!=null?n:[]),r,a);Object.defineProperty(t,e,{get:function(){return u},set:function(o){u=$h(Mh(o),r,a)},enumerable:!0})}function cP(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vh(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 dP(t,e,n){return e&&Vh(t.prototype,e),n&&Vh(t,n),t}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}var Uh=[],zr=function(){function t(e){cP(this,t),Yt(this,"registeredControlTypes",new Set),Yt(this,"controlConfigMap",new Map),Yt(this,"_controls",[]),Yt(this,"_type",void 0),this._type=e,this._initControls(e)}return dP(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__||Ki("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(a){return a.controlType===n.controlType});return i>-1&&(kl("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===Qn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Qn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Qn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Qn.COLUMN}},{key:"createControl",value:function(n,i){var a=this;if(Array.isArray(n))return n.map(function(f){return a.createControl(f,i)});if(n.children&&(n.children=n.children.map(function(f){return a.createControl(f,i)})),this.isListControl(n)){var r=n.props;r.headers&&(r.headers=r.headers.map(function(f){return a.createControl(f,i)}))}var u=this.getControlFormType(n.type);if(u){var l=n;if(typeof i=="function"){var o=i(l);o&&(l=o)}var s;return u.mode==="Runtime"?(s=l,s.fieldType=u.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new u(l),s}else Ki("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}}),qo(n,"parent")}},{key:"_setParentPrototypeToSchema",value:function(n,i){i._type==="Runtime"&&(Object.defineProperty(n,"parent",{configurable:!0,get:function(){var r=n.id,u=i._controlParentIdMap,l=i.instanceMap;if(!(!u||!l)){var o=u[r],s=l[r];if(!(!o&&!s)){var f=s.findIndex(function(b){return b==n}),d=l[o]||[],m;return d.length!==s.length?m=d[0]:m=d[f],m}}}}),qo(n,"parent"))}},{key:"createControlInstance",value:function(n,i){var a=this.getControlFormType(n);if(a)return new a(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(a){i.register(a[n]),t.staticControlsRuntimeRules.set(a.Runtime.controlType,a.Property.RuntimeRules),a.Property.mode=n})}}],[{key:"staticGetRules",value:function(n,i){var a=t.staticControlsRuntimeRules.get(n),r=[];if(a){var u=new a(i);r=Array.from(u)}return r}},{key:"register",value:function(n,i){var a=n.Designer,r=n.Runtime,u=n.Property;(!a||!r||!a.__is_control__||!r.__is_control__)&&Ki("".concat(n," is can't register as a Control"));var l=this.staticControls.findIndex(function(o){return o.Designer.controlType===a.controlType});return l>-1&&(kl("The ".concat(a.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(l,1)),this.staticRegisteredTypes.add(a.controlType),this.staticControls.push(n),u.mode=i,this}}]),t}();Yt(zr,"staticControlsRuntimeRules",new Map),Yt(zr,"staticControls",Uh),Yt(zr,"staticRegisteredTypes",new Set(Uh.map(function(t){return t.Designer.controlType}))),Yt(zr,"staticRegisteredConfigs",new Map);function se(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function C(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xr(t){return Xr=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xr(t)}function mt(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&&Go(t,e)}function fP(t,e){return e&&(hP(e)==="object"||typeof e=="function")?e:se(t)}function Go(t,e){return Go=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Go(t,e)}function hP(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mP(){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 vt(t){var e=mP();return function(){var i=Xr(t),a;if(e){var r=Xr(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return fP(this,a)}}var It=function t(e){U(this,t),C(this,"dataCode",void 0),C(this,"fieldCode",void 0),C(this,"fieldType",void 0),C(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 a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"",this.aliasCode=e==null?void 0:e.aliasCode},Hh=function t(e){U(this,t),C(this,"minWidth",void 0),C(this,"maxWidth",void 0),C(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},jh=function t(e){U(this,t),C(this,"rowHeightType",void 0),C(this,"minRows",void 0),C(this,"maxRows",void 0),C(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 a;this.maxRows=(a=e==null?void 0:e.maxRows)!==null&&a!==void 0?a:20;var r;this.fiexdRow=(r=e==null?void 0:e.fiexdRow)!==null&&r!==void 0?r:4},vP=function t(e){U(this,t),C(this,"pc",void 0),C(this,"mobile",void 0),this.pc=new jh(e==null?void 0:e.pc),this.mobile=new jh(e==null?void 0:e.mobile)},Ko=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a;a=e.call(this,i),C(se(a),"width",void 0),C(se(a),"widthType",void 0);var r;a.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:240;var u;return a.widthType=(u=i==null?void 0:i.widthType)!==null&&u!==void 0?u:"auto",a}return n}(Hh),gP=function t(e){U(this,t),C(this,"pc",void 0),C(this,"mobile",void 0),this.pc=new Ko(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Ko(e==null?void 0:e.mobile):new Ko({width:130,minWidth:180})},yP=function t(e){U(this,t),C(this,"type",void 0),C(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:[]},di=function t(e){U(this,t),C(this,"dataCode",void 0),C(this,"formKey",void 0),C(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 a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},_P=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a;a=e.call(this,i),C(se(a),"primaryControlId",void 0);var r;return a.primaryControlId=(r=i==null?void 0:i.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(di),Wh=function t(e){U(this,t),C(this,"fieldCode",void 0),C(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:""},zo=function t(e){U(this,t);var n;C(this,"appId",void 0),C(this,"formKey",void 0),C(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new Wh(u)}))!==null&&r!==void 0?r:[]},bP=function t(e){U(this,t),C(this,"fieldName",void 0),C(this,"fieldCode",void 0),C(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 a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:F.VARCHAR},EP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a;a=e.call(this,i),C(se(a),"title",void 0),C(se(a),"svcCode",void 0),C(se(a),"isOpenFilter",void 0),C(se(a),"filters",void 0);var r;a.title=(r=i==null?void 0:i.title)!==null&&r!==void 0?r:"";var u;a.svcCode=(u=i==null?void 0:i.svcCode)!==null&&u!==void 0?u:"";var l;a.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return a.filters=(o=i==null?void 0:i.filters)!==null&&o!==void 0?o:[],a}return n}(di),CP=function t(e){U(this,t);var n,i;C(this,"type","sublist-page"),C(this,"formBind",void 0),C(this,"displayFields",void 0),C(this,"sublists",void 0),this.formBind=new di(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(u){return new bP(u)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(u){return new EP(u)}))!==null&&r!==void 0?r:[]},wP=function t(e){U(this,t),C(this,"type",void 0),C(this,"value",void 0),C(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},la=function t(e){U(this,t),C(this,"type",void 0),C(this,"value",void 0),C(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 a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},Xo=function t(e){var n=this;U(this,t),C(this,"id",void 0),C(this,"ruleId",void 0),C(this,"type","conditions"),C(this,"level",void 0),C(this,"value",void 0),C(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:yt();var a;this.ruleId=(a=e==null?void 0:e.ruleId)!==null&&a!==void 0?a:new Date().valueOf();var r;this.level=(r=e==null?void 0:e.level)!==null&&r!==void 0?r:0;var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var o,s=new t(l);(o=n.children)===null||o===void 0||o.push(s)}else{var f,d=new Jr(l);(f=n.children)===null||f===void 0||f.push(d)}}))},Jr=function t(e){U(this,t),C(this,"id",void 0),C(this,"ruleId",void 0),C(this,"type","condition"),C(this,"symbol",void 0),C(this,"checked",void 0),C(this,"describe",void 0),C(this,"leftVariableBo",void 0),C(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:yt();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var u;this.describe=(u=e==null?void 0:e.describe)!==null&&u!==void 0?u:"",this.leftVariableBo=new wP(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new la(e==null?void 0:e.rightVariableBo)},IP=function t(e){U(this,t),C(this,"aliasCode",void 0),C(this,"datasourceBind",void 0),C(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new He(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},Ye=function t(e){U(this,t),C(this,"controlId",void 0),C(this,"fieldCode",void 0),C(this,"fieldType",void 0),C(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 a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},Jo=function t(e){U(this,t),C(this,"type",void 0),C(this,"value",void 0),C(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},SP=function t(e){U(this,t),C(this,"columnName",void 0),C(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 Qo(t){var e,n,i,a;this.filters=(a=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new Xo(l):new Jr(l)}))!==null&&a!==void 0?a:[];var r;this.viewFilters=(r=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new Xo(l):new Jr(l)}))!==null&&r!==void 0?r:[];var u;this.orders=(u=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(l){return new SP(l)}))!==null&&u!==void 0?u:[]}var He=function t(e){var n=this;U(this,t),C(this,"dataCode",void 0),C(this,"valueFieldCode",void 0),C(this,"displayBoList",void 0),C(this,"keywordMapping",void 0),C(this,"svcCode",void 0),C(this,"appId",void 0),C(this,"filters",void 0),C(this,"viewFilters",void 0),C(this,"isOpenViewFilters",void 0),C(this,"orders",void 0),C(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.valueFieldCode=(r=e==null?void 0:e.valueFieldCode)!==null&&r!==void 0?r:"",this.displayBoList=[];var u;this.isOpenViewFilters=(u=e==null?void 0:e.isOpenViewFilters)!==null&&u!==void 0?u:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(f){var d;(d=n.displayBoList)===null||d===void 0||d.push(new Jo(f))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var o;this.showOrder=(o=e==null?void 0:e.showOrder)!==null&&o!==void 0?o:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",Qo.call(this,e)},Zo=function t(e){U(this,t),C(this,"dataCode",void 0),C(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:[]},Ft=function t(e){U(this,t),C(this,"code",void 0),C(this,"color",void 0),C(this,"command",void 0),C(this,"confirmMessage",void 0),C(this,"defaultState",void 0),C(this,"formKey",void 0),C(this,"formType",void 0),C(this,"icon",void 0),C(this,"needConfirm",void 0),C(this,"openType",void 0),C(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 a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var r;this.confirmMessage=(r=e==null?void 0:e.confirmMessage)!==null&&r!==void 0?r:void 0;var u;this.defaultState=(u=e==null?void 0:e.defaultState)!==null&&u!==void 0?u:"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 o;this.icon=(o=e==null?void 0:e.icon)!==null&&o!==void 0?o:"iconliulan1";var s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var f;this.openType=(f=e==null?void 0:e.openType)!==null&&f!==void 0?f:"modal";var d;this.priorityProcess=(d=e==null?void 0:e.priorityProcess)!==null&&d!==void 0?d:!0},qh=function t(e){U(this,t);var n;C(this,"name",void 0),C(this,"key",void 0),C(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(u){return new Jo(u)}))!==null&&r!==void 0?r:[]},Qr=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a,r;a=e.call(this,i),C(se(a),"attributes",void 0);var u;return a.attributes=(u=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(l){return new qh(l)}))!==null&&u!==void 0?u:[],a}return n}(He),TP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a,r;a=e.call(this,i),C(se(a),"attributes",void 0),C(se(a),"formCode",void 0);var u;a.attributes=(u=i==null||(r=i.attributes)===null||r===void 0?void 0:r.map(function(o){return new qh(o)}))!==null&&u!==void 0?u:[];var l;return a.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",a}return n}(He),Gh=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a;a=e.call(this,i),C(se(a),"rootNode",void 0),C(se(a),"filterCode",void 0),a.rootNode=new la(i==null?void 0:i.rootNode);var r;return a.filterCode=(r=i==null?void 0:i.filterCode)!==null&&r!==void 0?r:"",a}return n}(Qr),Kh=function t(e){U(this,t);var n;C(this,"dataCode",void 0),C(this,"appId",void 0),C(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(u){return new Ye(u)}))!==null&&r!==void 0?r:[]},zh=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a;return a=e.call(this,i),C(se(a),"filters",void 0),C(se(a),"viewFilters",void 0),C(se(a),"orders",void 0),Qo.call(se(a),i),a}return n}(Kh),Xh=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a;a=e.call(this,i),C(se(a),"mode",void 0),C(se(a),"multiple",void 0);var r;a.mode=(r=i==null?void 0:i.mode)!==null&&r!==void 0?r:"current";var u;return a.multiple=(u=i==null?void 0:i.multiple)!==null&&u!==void 0?u:!1,a}return n}(Kh),Jh=function t(e){U(this,t),C(this,"stencilName",void 0),C(this,"expression",void 0),C(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 a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},OP=function t(e){U(this,t),C(this,"id",void 0),C(this,"label",void 0),C(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:yt(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function Bt(t){var e;return(e=t==null?void 0:t.map(function(n){return new OP(n)}))!==null&&e!==void 0?e:[]}var Yo=function t(){U(this,t)},AP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a;return a=e.call(this),C(se(a),"amount",void 0),C(se(a),"currency",void 0),a.amount=new It(i==null?void 0:i.amount),a.currency=new It(i==null?void 0:i.currency),a}return n}(Yo),RP=function t(e){U(this,t),C(this,"amount",void 0),C(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"},DP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a;return a=e.call(this),C(se(a),"min",void 0),C(se(a),"max",void 0),a.min=new It(i==null?void 0:i.min),a.max=new It(i==null?void 0:i.max),a}return n}(Yo),NP=function t(e){U(this,t),C(this,"min",void 0),C(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:""},PP=function t(e){U(this,t),C(this,"city",void 0),C(this,"cityDisplay",void 0),C(this,"district",void 0),C(this,"districtDisplay",void 0),C(this,"province",void 0),C(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 a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var u;this.province=(u=e==null?void 0:e.province)!==null&&u!==void 0?u:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},FP=function(t){mt(n,t);var e=vt(n);function n(i){U(this,n);var a;return a=e.call(this),C(se(a),"result",void 0),C(se(a),"unit",void 0),a.result=new It(i==null?void 0:i.result),a.unit=new It(i==null?void 0:i.unit),a}return n}(Yo),BP=function t(e){U(this,t),C(this,"result",void 0),C(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:""},po;(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"})(po||(po={}));var h;(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"})(h||(h={}));var es;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(es||(es={}));var pt=function t(e){U(this,t),C(this,"isShow",void 0),C(this,"priorityProcess",void 0),C(this,"formKey",void 0),C(this,"content",void 0),C(this,"openType",void 0),C(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 a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var u;this.type=(u=e==null?void 0:e.type)!==null&&u!==void 0?u:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},LP=function t(e){U(this,t);var n;C(this,"id",void 0),C(this,"title",void 0),C(this,"filters",void 0),C(this,"viewFilters",void 0),C(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:yt(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(u){return new Wh(u)}))!==null&&r!==void 0?r:[],Qo.call(this,e)},kP=function t(e){U(this,t),C(this,"width",void 0),C(this,"height",void 0),C(this,"widthConfig",void 0),C(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 a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"},xP=function t(e){U(this,t),C(this,"optCode",void 0),C(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:""},MP=function t(e){U(this,t);var n,i;C(this,"id",void 0),C(this,"name",void 0),C(this,"settings",void 0),C(this,"filters",void 0),C(this,"script",void 0);var a;this.id=(a=e==null?void 0:e.id)!==null&&a!==void 0?a:yt();var r;this.name=(r=e==null?void 0:e.name)!==null&&r!==void 0?r:"";var u;this.filters=(u=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Xo(o):new Jr(o)}))!==null&&u!==void 0?u:[];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(o){return new $P(o)}))!==null&&l!==void 0?l:[]:[],this.script=e==null?void 0:e.script},$P=function t(e){U(this,t),C(this,"color",void 0),C(this,"fieldCodes",void 0),C(this,"type",void 0),C(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 a;this.color=(a=e.color)!==null&&a!==void 0?a:"theme";var r;this.scope=(r=e.scope)!==null&&r!==void 0?r:"row"},VP=function t(e){U(this,t);var n;C(this,"type",void 0),C(this,"interval",void 0),C(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var a;this.interval=(a=e==null?void 0:e.interval)!==null&&a!==void 0?a:{color:""};var r;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(r=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(u){return new MP(u)}))!==null&&r!==void 0?r:[]:[]};function UP(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ts(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(t,e,n){return Qh()?Zr=Reflect.construct:Zr=function(a,r,u){var l=[null];l.push.apply(l,r);var o=Function.bind.apply(a,l),s=new o;return u&&sa(s,u.prototype),s},Zr.apply(null,arguments)}function Lt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function oa(t){return oa=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oa(t)}function HP(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 jP(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function WP(t,e){return e&&(qP(e)==="object"||typeof e=="function")?e:UP(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},sa(t,e)}function qP(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ns(t){var e=typeof Map=="function"?new Map:void 0;return ns=function(i){if(i===null||!jP(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,a)}function a(){return Zr(i,arguments,oa(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),sa(a,i)},ns(t)}function Qh(){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 GP(t){var e=Qh();return function(){var i=oa(t),a;if(e){var r=oa(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return WP(this,a)}}var De=function t(e){ts(this,t),Lt(this,"isHide",{type:"boolean"})},On=function(t){HP(n,t);var e=GP(n);function n(i){return ts(this,n),e.call(this)}return n}(ns(Array)),Ne=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";ts(this,t),Lt(this,"isHide",void 0),Lt(this,"className",void 0),Lt(this,"style",void 0),Lt(this,"caption",void 0),Lt(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new kP(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};Lt(Ne,"mode",void 0),Lt(Ne,"Rules",De),Lt(Ne,"RuntimeRules",On);function St(){return St=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},St.apply(this,arguments)}function KP(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function is(t){return is=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},is(t)}function Yr(t,e){return Yr=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Yr(t,e)}function zP(){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 pr(t,e,n){return zP()?pr=Reflect.construct:pr=function(a,r,u){var l=[null];l.push.apply(l,r);var o=Function.bind.apply(a,l),s=new o;return u&&Yr(s,u.prototype),s},pr.apply(null,arguments)}function XP(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function as(t){var e=typeof Map=="function"?new Map:void 0;return as=function(i){if(i===null||!XP(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,a)}function a(){return pr(i,arguments,is(this).constructor)}return a.prototype=Object.create(i.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),Yr(a,i)},as(t)}var JP=/%[sdj%]/g,Zh=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Zh=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function rs(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 et(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var u=String(a).replace(JP,function(l){if(l==="%%")return"%";if(i>=r)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(o){return"[Circular]"}break;default:return l}});return u}return a}function QP(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function Pe(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||QP(e)&&typeof t=="string"&&!t)}function ZP(t,e,n){var i=[],a=0,r=t.length;function u(l){i.push.apply(i,l),a++,a===r&&n(i)}t.forEach(function(l){e(l,u)})}function Yh(t,e,n){var i=0,a=t.length;function r(u){if(u&&u.length){n(u);return}var l=i;i=i+1,l<a?e(t[l],r):n([])}r([])}function YP(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var ph=function(t){KP(e,t);function e(n,i){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=i,a}return e}(as(Error));function pP(t,e,n,i){if(e.first){var a=new Promise(function(d,m){var b=function(D){return i(D),D.length?m(new ph(D,rs(D))):d()},T=YP(t);Yh(T,n,b)});return a.catch(function(d){return d}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var u=Object.keys(t),l=u.length,o=0,s=[],f=new Promise(function(d,m){var b=function(w){if(s.push.apply(s,w),o++,o===l)return i(s),s.length?m(new ph(s,rs(s))):d()};u.length||(i(s),d()),u.forEach(function(T){var w=t[T];r.indexOf(T)!==-1?Yh(w,n,b):ZP(w,n,b)})});return f.catch(function(d){return d}),f}function em(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 tm(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]=St(St({},t[n]),i):t[n]=i}}return t}function nm(t,e,n,i,a,r){t.required&&(!n.hasOwnProperty(t.field)||Pe(e,r||t.type))&&i.push(et(a.messages.required,t.fullField))}function e5(t,e,n,i,a){(/^\s+$/.test(e)||e==="")&&i.push(et(a.messages.whitespace,t.fullField))}var us={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},ca={integer:function(e){return ca.number(e)&&parseInt(e,10)===e},float:function(e){return ca.number(e)&&!ca.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"&&!ca.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(us.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(us.url)},hex:function(e){return typeof e=="string"&&!!e.match(us.hex)}};function t5(t,e,n,i,a){if(t.required&&e===void 0){nm(t,e,n,i,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],u=t.type;r.indexOf(u)>-1?ca[u](e)||i.push(et(a.messages.types[u],t.fullField,t.type)):u&&typeof e!==t.type&&i.push(et(a.messages.types[u],t.fullField,t.type))}function n5(t,e,n,i,a){var r=typeof t.len=="number",u=typeof t.min=="number",l=typeof t.max=="number",o=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,f=null,d=typeof e=="number",m=typeof e=="string",b=Array.isArray(e);if(d?f="number":m?f="string":b&&(f="array"),!f)return!1;b&&(s=e.length),m&&(s=e.replace(o,"_").length),r?s!==t.len&&i.push(et(a.messages[f].len,t.fullField,t.len)):u&&!l&&s<t.min?i.push(et(a.messages[f].min,t.fullField,t.min)):l&&!u&&s>t.max?i.push(et(a.messages[f].max,t.fullField,t.max)):u&&l&&(s<t.min||s>t.max)&&i.push(et(a.messages[f].range,t.fullField,t.min,t.max))}var fi="enum";function i5(t,e,n,i,a){t[fi]=Array.isArray(t[fi])?t[fi]:[],t[fi].indexOf(e)===-1&&i.push(et(a.messages[fi],t.fullField,t[fi].join(", ")))}function a5(t,e,n,i,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(et(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||i.push(et(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var K={required:nm,whitespace:e5,type:t5,range:n5,enum:i5,pattern:a5};function r5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e,"string")&&!t.required)return n();K.required(t,e,i,r,a,"string"),Pe(e,"string")||(K.type(t,e,i,r,a),K.range(t,e,i,r,a),K.pattern(t,e,i,r,a),t.whitespace===!0&&K.whitespace(t,e,i,r,a))}n(r)}function u5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,r,a),e!==void 0&&K.type(t,e,i,r,a)}n(r)}function l5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e===""&&(e=void 0),Pe(e)&&!t.required)return n();K.required(t,e,i,r,a),e!==void 0&&(K.type(t,e,i,r,a),K.range(t,e,i,r,a))}n(r)}function o5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,r,a),e!==void 0&&K.type(t,e,i,r,a)}n(r)}function s5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,r,a),Pe(e)||K.type(t,e,i,r,a)}n(r)}function c5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,r,a),e!==void 0&&(K.type(t,e,i,r,a),K.range(t,e,i,r,a))}n(r)}function d5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,r,a),e!==void 0&&(K.type(t,e,i,r,a),K.range(t,e,i,r,a))}n(r)}function f5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(e==null&&!t.required)return n();K.required(t,e,i,r,a,"array"),e!=null&&(K.type(t,e,i,r,a),K.range(t,e,i,r,a))}n(r)}function h5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,r,a),e!==void 0&&K.type(t,e,i,r,a)}n(r)}var m5="enum";function v5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,r,a),e!==void 0&&K[m5](t,e,i,r,a)}n(r)}function g5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e,"string")&&!t.required)return n();K.required(t,e,i,r,a),Pe(e,"string")||K.pattern(t,e,i,r,a)}n(r)}function y5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e,"date")&&!t.required)return n();if(K.required(t,e,i,r,a),!Pe(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),K.type(t,l,i,r,a),l&&K.range(t,l.getTime(),i,r,a)}}n(r)}function _5(t,e,n,i,a){var r=[],u=Array.isArray(e)?"array":typeof e;K.required(t,e,i,r,a,u),n(r)}function ls(t,e,n,i,a){var r=t.type,u=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(Pe(e,r)&&!t.required)return n();K.required(t,e,i,u,a,r),Pe(e,r)||K.type(t,e,i,u,a)}n(u)}function b5(t,e,n,i,a){var r=[],u=t.required||!t.required&&i.hasOwnProperty(t.field);if(u){if(Pe(e)&&!t.required)return n();K.required(t,e,i,r,a)}n(r)}var da={string:r5,method:u5,number:l5,boolean:o5,regexp:s5,integer:c5,float:d5,array:f5,object:h5,enum:v5,pattern:g5,date:y5,url:ls,hex:ls,email:ls,required:_5,any:b5};function os(){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 ss=os();function en(t){this.rules=null,this._messages=ss,this.define(t)}en.prototype={messages:function(e){return e&&(this._messages=tm(os(),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 a=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var r=e,u=n,l=i;if(typeof u=="function"&&(l=u,u={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function o(w){var D,y=[],O={};function _(E){if(Array.isArray(E)){var N;y=(N=y).concat.apply(N,E)}else y.push(E)}for(D=0;D<w.length;D++)_(w[D]);y.length?O=rs(y):(y=null,O=null),l(y,O)}if(u.messages){var s=this.messages();s===ss&&(s=os()),tm(s,u.messages),u.messages=s}else u.messages=this.messages();var f,d,m={},b=u.keys||Object.keys(this.rules);b.forEach(function(w){f=a.rules[w],d=r[w],f.forEach(function(D){var y=D;typeof y.transform=="function"&&(r===e&&(r=St({},r)),d=r[w]=y.transform(d)),typeof y=="function"?y={validator:y}:y=St({},y),y.validator=a.getValidationMethod(y),y.field=w,y.fullField=y.fullField||w,y.type=a.getType(y),y.validator&&(m[w]=m[w]||[],m[w].push({rule:y,value:d,source:r,field:w}))})});var T={};return pP(m,u,function(w,D){var y=w.rule,O=(y.type==="object"||y.type==="array")&&(typeof y.fields=="object"||typeof y.defaultField=="object");O=O&&(y.required||!y.required&&w.value),y.field=w.field;function _(R,S){return St(St({},S),{},{fullField:y.fullField+"."+R})}function E(R){R===void 0&&(R=[]);var S=R;if(Array.isArray(S)||(S=[S]),!u.suppressWarning&&S.length&&en.warning("async-validator:",S),S.length&&y.message!==void 0&&(S=[].concat(y.message)),S=S.map(em(y)),u.first&&S.length)return T[y.field]=1,D(S);if(!O)D(S);else{if(y.required&&!w.value)return y.message!==void 0?S=[].concat(y.message).map(em(y)):u.error&&(S=[u.error(y,et(u.messages.required,y.field))]),D(S);var B={};if(y.defaultField)for(var L in w.value)w.value.hasOwnProperty(L)&&(B[L]=y.defaultField);B=St(St({},B),w.rule.fields);for(var z in B)if(B.hasOwnProperty(z)){var ke=Array.isArray(B[z])?B[z]:[B[z]];B[z]=ke.map(_.bind(null,z))}var W=new en(B);W.messages(u.messages),w.rule.options&&(w.rule.options.messages=u.messages,w.rule.options.error=u.error),W.validate(w.value,w.rule.options||u,function(ge){var Xe=[];S&&S.length&&Xe.push.apply(Xe,S),ge&&ge.length&&Xe.push.apply(Xe,ge),D(Xe.length?Xe:null)})}}var N;y.asyncValidator?N=y.asyncValidator(y,w.value,E,w.source,u):y.validator&&(N=y.validator(y,w.value,E,w.source,u),N===!0?E():N===!1?E(y.message||y.field+" fails"):N instanceof Array?E(N):N instanceof Error&&E(N.message)),N&&N.then&&N.then(function(){return E()},function(R){return E(R)})},function(w){o(w)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!da.hasOwnProperty(e.type))throw new Error(et("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"?da.required:da[this.getType(e)]||!1}},en.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");da[e]=n},en.warning=Zh,en.messages=ss,en.validators=da;var E5={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 C5(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new en(t);return n.messages(Object.assign(E5,e)),n}var w5=new pN;function cs(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 I5(t){if(Array.isArray(t))return t}function S5(t){if(Array.isArray(t))return cs(t)}function im(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function am(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){im(r,i,a,u,l,"next",o)}function l(o){im(r,i,a,u,l,"throw",o)}u(void 0)})}}function T5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function rm(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 O5(t,e,n){return e&&rm(t.prototype,e),n&&rm(t,n),t}function te(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function um(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function lm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function A5(){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 R5(){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 om(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){te(t,a,n[a])})}return t}function D5(t){return I5(t)||lm(t)||sm(t)||A5()}function ds(t){return S5(t)||lm(t)||sm(t)||R5()}function N5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function sm(t,e){if(!!t){if(typeof t=="string")return cs(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 cs(t,e)}}function cm(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var ae=function(){function e(n){var i=this;T5(this,e),te(this,"id",void 0),te(this,"name",void 0),te(this,"icon",void 0),te(this,"type",void 0),te(this,"controlType",void 0),te(this,"props",void 0),te(this,"setting",[]),te(this,"fieldType",void 0),te(this,"eventKeys",[]),te(this,"customEvents",[]),te(this,"parent",null),te(this,"slots",void 0),te(this,"slotPosition",void 0),te(this,"updateSetting",fm),te(this,"removeSetting",dm),this._callControlHooks("preInstance",n);var a=um(this,e)?this.constructor:void 0,r=a.controlName,u=a.controlIcon,l=a.controlType,o=a.controlFieldType,s=a.controlEventKeys,f=a.controlCustomEvents,d=a.name,m=a.setting,b=a.slots,T=a.slotPosition;r&&u&&l||ld("The ".concat(d," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:yt(10),this.name=r,this.icon=u;var D;this.type=(D=n==null?void 0:n.type)!==null&&D!==void 0?D:l,this.props=new Ne(n==null?void 0:n.props,(um(this,e)?this.constructor:void 0).controlName);var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"base",this.setting=ht(m);var O;this.fieldType=(O=n==null?void 0:n.fieldType)!==null&&O!==void 0?O:o,this.eventKeys=ht(s),this.customEvents=ht(f),this.slots=ht(b),this.slotPosition=ht(T),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return O5(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,a=new Array(i),r=0;r<i;r++)a[r]=arguments[r];var u,l=D5(a),o=l[0],s=l.slice(1);return(u=w5).emit.apply(u,[o,this].concat(ds(s)))}},{key:"preUpdate",value:function(i,a){this._callControlHooks("preUpdateProps",i,a)}},{key:"postUpdate",value:function(i,a){this._callControlHooks("postUpdateProps",i,a)}},{key:"updateProps",value:function(i,a){this.preUpdate(i,a),$N(this.props,i,a),this.postUpdate(i,a)}},{key:"preValidate",value:function(){var i=this;return am(function(){var a,r,u;return cm(this,function(l){switch(l.label){case 0:return a=om({},i.rules),[4,i._callControlHooks("preValidate",a)];case 1:return r=l.sent(),u=r[r.length-1],[2,u===!1?void 0:u]}})})()}},{key:"validate",value:function(i,a){var r=this;return am(function(){var u,l,o,s;return cm(this,function(f){switch(f.label){case 0:return[4,r.preValidate()];case 1:u=f.sent(),l=u!==void 0?u:om({},r.rules),Array.isArray(a)&&a.forEach(function(d){l.hasOwnProperty(d)&&delete l[d]}),o=C5(l,i),f.label=2;case 2:return f.trys.push([2,4,,5]),[4,o.validate(r.props)];case 3:return f.sent(),[2,!0];case 4:throw s=f.sent(),s.control||(s.control=r),s;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,u=this.type,l=this.props,o=l.dataBind,s=l.datasourceBind,f=l.optionConfig,d=l.caption,m=l.required,b=l.maxLength,T=l.options,w=l.encrypted,D=l.encryptedMode;if(!(!a&&!o&&!s)){var y={parentId:i,fieldType:a,controlId:r,caption:d,type:u,props:{}};switch(o&&(y.dataBind=o),f){case"datasource":case void 0:s&&(y.datasourceBind=s);break;case"custom":y.props.options=T;break}return m!==void 0&&(y.required=m),b!==void 0&&(y.maxLength=b),w!==void 0&&(y.encrypted=w),D!==void 0&&(y.encryptedMode=D),y}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:ht(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,a){if(i==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,ds(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();te(ae,"mode","Designer"),te(ae,"slots",void 0),te(ae,"slotPosition",void 0),te(ae,"controlName","\u63A7\u4EF6"),te(ae,"controlIcon","icon"),te(ae,"controlType","control"),te(ae,"controlFieldType",void 0),te(ae,"controlEventKeys",[]),te(ae,"controlCustomEvents",[]),te(ae,"setting",[]),te(ae,"__is_control__",!0),te(ae,"removeSettingItem",dm),te(ae,"updateSettingItem",fm);function dm(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var a,r=typeof i!="string",u=(a=e.setting)===null||a===void 0?void 0:a.findIndex(function(s){return s.key===(r?i.key:i)});if(u!==-1){var l,o;r?e.setting[u].showItems=(l=e.setting[u].showItems)===null||l===void 0?void 0:l.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(u,1),r&&!(!((o=e.setting[u].showItems)===null||o===void 0)&&o.length)&&e.setting.splice(u,1)}})}function fm(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(a){var r=n.setting.find(function(s){return s.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if((typeof e=="undefined"?"undefined":N5(e))==="object"){var u,l=(u=e.type)!==null&&u!==void 0?u:"replace";if(l==="replace")r.showItems=e.showItems;else{var o;(o=r.showItems).push.apply(o,ds(e.showItems))}}}})}function P5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hm(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&&hm(t.prototype,e),n&&hm(t,n),t}function tt(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function B5(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var Fe=function(){function e(n){P5(this,e),tt(this,"id",void 0),tt(this,"type",void 0),tt(this,"controlType",void 0),tt(this,"props",void 0),tt(this,"fieldType",void 0),tt(this,"customEvents",[]),tt(this,"pageStatus",void 0),tt(this,"parent",null);var i=B5(this,e)?this.constructor:void 0,a=i.controlType,r=i.controlFieldType,u=i.name,l=i.controlCustomEvents;a||ld("The ".concat(u," controlType is not define"));var o;this.id=(o=n==null?void 0:n.id)!==null&&o!==void 0?o:yt(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:a,this.props=new Ne(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 d;this.fieldType=(d=n==null?void 0:n.fieldType)!==null&&d!==void 0?d:r;var m;this.pageStatus=(m=n==null?void 0:n.pageStatus)!==null&&m!==void 0?m:es.UNKNOWN}return F5(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var a=new i(this.props);return Array.from(a)}return[]}}]),e}();tt(Fe,"mode","Runtime"),tt(Fe,"controlType","control"),tt(Fe,"controlFieldType",void 0),tt(Fe,"__is_control__",!0),tt(Fe,"controlCustomEvents",[]);function fs(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:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:c.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:c.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,a){i.length===0&&a(c.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,i,a){var r=i.map(function(l){return l.value}),u=qN(r);r.length!==u.length?a(c.getMessage("optionIdIsRepeat")):a()},message:c.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",validator:function(n,i,a){i.length===0&&a(c.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:c.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:c.getMessage("isNotBoolean")}}}}]}}])}function eu(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:c.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:c.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:c.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:c.getMessage("isNotString")},key:{type:"string",required:!0,message:c.getMessage("isNotString")},value:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",validator:function(a,r,u){r.length===0&&u(c.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),u()},message:c.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:c.getMessage("isNotBoolean")}}}}]}}]}function L5(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function he(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nu(t){return nu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nu(t)}function iu(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&&hs(t,e)}function k5(t,e){return e&&(x5(e)==="object"||typeof e=="function")?e:he(t)}function hs(t,e){return hs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},hs(t,e)}function x5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function M5(){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 au(t){var e=M5();return function(){var i=nu(t),a;if(e){var r=nu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return k5(this,a)}}var xe=function(t){iu(n,t);var e=au(n);function n(i){tu(this,n);var a;a=e.call(this,i),me(he(a),"dataBind",{}),me(he(a),"caption",{type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}),me(he(a),"isHideCaption",{type:"boolean"}),me(he(a),"labelPosition",{type:"enum",enum:["top","left"]}),me(he(a),"defaultState",{type:"enum",enum:["default","readonly"]}),me(he(a),"required",{type:"boolean"}),me(he(a),"captionTip",{type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")});var r={fieldCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")}};if(L5(i.dataBind))a.dataBind={type:"object",required:!0,fields:ht(r),message:c.getMessage("pleaseEnterFieldCode")};else{var u={type:"object",required:!0,fields:{},message:c.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){u.fields[l]={type:"object",required:!0,fields:ht(r),message:c.getMessage("pleaseEnterFieldCode")}}),a.dataBind=u}return i.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}(De),de=function(t){iu(n,t);var e=au(n);function n(i){tu(this,n);var a;a=e.call(this,i);var r=i.isHide?!1:i.required;return r&&a.push({type:"string",required:r,message:i.requiredMessage!==""?i.requiredMessage:c.getMessage("runtimeRequired",{caption:i.caption})}),a}return n}(On),Q=function(t){iu(n,t);var e=au(n);function n(i){tu(this,n);var a;a=e.call(this,i),me(he(a),"caption",void 0),me(he(a),"isHideCaption",void 0),me(he(a),"isShowCaptionTip",void 0),me(he(a),"captionTip",void 0),me(he(a),"labelPosition",void 0),me(he(a),"dataBind",void 0),me(he(a),"defaultValue",void 0),me(he(a),"placeholder",void 0),me(he(a),"defaultState",void 0),me(he(a),"required",void 0),me(he(a),"requiredMessage",void 0);var r;a.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var u;a.isHideCaption=(u=i==null?void 0:i.isHideCaption)!==null&&u!==void 0?u:!1;var l;a.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var o;a.captionTip=(o=i==null?void 0:i.captionTip)!==null&&o!==void 0?o:"";var s;a.defaultState=(s=i==null?void 0:i.defaultState)!==null&&s!==void 0?s:"default";var f;a.labelPosition=(f=i==null?void 0:i.labelPosition)!==null&&f!==void 0?f:"top";var d;a.placeholder=(d=i==null?void 0:i.placeholder)!==null&&d!==void 0?d:"";var m;a.required=(m=i==null?void 0:i.required)!==null&&m!==void 0?m:!1;var b;a.requiredMessage=(b=i==null?void 0:i.requiredMessage)!==null&&b!==void 0?b:"",a.dataBind=new It(i==null?void 0:i.dataBind);var T;return a.defaultValue=(T=i==null?void 0:i.defaultValue)!==null&&T!==void 0?T:"",a}return n}(Ne);me(Q,"Rules",xe),me(Q,"RuntimeRules",de);var hi=function(t){iu(n,t);var e=au(n);function n(i){tu(this,n);var a;return a=e.call(this,i),me(he(a),"optionConfig",{type:"enum",enum:["custom","datasource"],message:c.getMessage("PleaseSelectTheCorrectOptionSettings")}),me(he(a),"options",[{type:"array",message:c.getMessage("isNotArray")}]),me(he(a),"datasourceBind",[{type:"object",message:c.getMessage("isNotObject")}]),fs.call(he(a),i),a}return n}(xe);function ms(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ru(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function uu(t){return uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},uu(t)}function V5(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&&vs(t,e)}function U5(t,e){return e&&(H5(e)==="object"||typeof e=="function")?e:ms(t)}function vs(t,e){return vs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},vs(t,e)}function H5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j5(){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 W5(t){var e=j5();return function(){var i=uu(t),a;if(e){var r=uu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return U5(this,a)}}var Z=function(t){V5(n,t);var e=W5(n);function n(i){$5(this,n);var a;return a=e.call(this,i),ru(ms(a),"controlType","form"),ru(ms(a),"props",void 0),a.props=new Q(i==null?void 0:i.props),a}return n}(ae);ru(Z,"controlEventKeys",["on_change","on_focus","on_blur"]),ru(Z,"controlCustomAttributes",void 0);function lu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function q5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function gs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ou(t){return ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ou(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&&ys(t,e)}function K5(t,e){return e&&(z5(e)==="object"||typeof e=="function")?e:lu(t)}function ys(t,e){return ys=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ys(t,e)}function z5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function X5(){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 J5(t){var e=X5();return function(){var i=ou(t),a;if(e){var r=ou(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return K5(this,a)}}var ee=function(t){G5(n,t);var e=J5(n);function n(i){q5(this,n);var a;return a=e.call(this,i),gs(lu(a),"controlType","form"),gs(lu(a),"props",void 0),gs(lu(a),"value",void 0),a.props=new Q(i==null?void 0:i.props),a}return n}(Fe);function Q5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function su(t){return su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},su(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&&_s(t,e)}function p5(t,e){return e&&(eF(e)==="object"||typeof e=="function")?e:Q5(t)}function _s(t,e){return _s=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},_s(t,e)}function eF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function tF(){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 nF(t){var e=tF();return function(){var i=su(t),a;if(e){var r=su(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return p5(this,a)}}var ve=function(t){Y5(n,t);var e=nF(n);function n(i){return Z5(this,n),e.call(this,i)}return n}(Ne);function bs(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 iF(t){if(Array.isArray(t))return bs(t)}function An(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function mm(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function aF(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){mm(r,i,a,u,l,"next",o)}function l(o){mm(r,i,a,u,l,"throw",o)}u(void 0)})}}function rF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vm(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 uF(t,e,n){return e&&vm(t.prototype,e),n&&vm(t,n),t}function tn(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?mi=Reflect.get:mi=function(a,r,u){var l=vF(a,r);if(!!l){var o=Object.getOwnPropertyDescriptor(l,r);return o.get?o.get.call(u||a):o.value}},mi(t,e,n||t)}function nn(t){return nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},nn(t)}function lF(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&&Es(t,e)}function oF(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function sF(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function cF(){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 dF(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){tn(t,a,n[a])})}return t}function fF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function hF(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):fF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function mF(t,e){return e&&(gF(e)==="object"||typeof e=="function")?e:An(t)}function Es(t,e){return Es=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Es(t,e)}function vF(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=nn(t),t!==null););return t}function gm(t){return iF(t)||sF(t)||yF(t)||cF()}function gF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yF(t,e){if(!!t){if(typeof t=="string")return bs(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 bs(t,e)}}function _F(){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 bF(t){var e=_F();return function(){var i=nn(t),a;if(e){var r=nn(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return mF(this,a)}}function EF(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var CF=1e4,_e=function(e){lF(i,e);var n=bF(i);function i(a){rF(this,i);var r;r=n.call(this,a),tn(An(r),"controlType","layout"),tn(An(r),"children",void 0),tn(An(r),"excludes",void 0),tn(An(r),"childrenMaxLength",void 0),tn(An(r),"props",void 0);var u=oF(this,i)?this.constructor:void 0,l=u.excludes,o=u.childrenMaxLength;return r.props=new ve(a==null?void 0:a.props),wt(An(r),"children",a==null?void 0:a.children,void 0,"Designer"),r.excludes=ht(l),r.childrenMaxLength=o,r}return uF(i,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var u=this.judgeExcludesChildren(r);return u&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,u){var l=this,o=this,s=function(){return mi(nn(i.prototype),"validate",l)};return aF(function(){return EF(this,function(f){switch(f.label){case 0:return[4,s().call(o,r,u)];case 1:return f.sent(),[4,Promise.all(o.children.map(function(d){return d.validate(r,u)}))];case 2:return f.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=mi(nn(i.prototype),"toDataBindModel",this).call(this),l=u?[u]:[];return this.children.reduce(function(o,s){var f=s.toDataBindModel(r);if(Array.isArray(f)){var d=f.filter(function(m){return!!m});return gm(o).concat(gm(d))}return f&&o.push(f),o},l)}},{key:"toSchema",value:function(){var r=mi(nn(i.prototype),"toSchema",this).call(this),u=this.children.map(function(l){var o=l.toSchema();return o});return hF(dF({},r),{children:u})}}]),i}(ae);tn(_e,"excludes",!1),tn(_e,"childrenMaxLength",CF);function fa(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Cs(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function cu(t){return cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},cu(t)}function IF(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&&ws(t,e)}function SF(t,e){return e&&(TF(e)==="object"||typeof e=="function")?e:fa(t)}function ws(t,e){return ws=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ws(t,e)}function TF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function OF(){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 AF(t){var e=OF();return function(){var i=cu(t),a;if(e){var r=cu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return SF(this,a)}}var we=function(t){IF(n,t);var e=AF(n);function n(i){wF(this,n);var a;return a=e.call(this,i),Cs(fa(a),"controlType","layout"),Cs(fa(a),"children",void 0),Cs(fa(a),"props",void 0),a.props=new ve(i==null?void 0:i.props),wt(fa(a),"children",i==null?void 0:i.children,void 0,"Runtime"),a}return n}(Fe);function kt(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function RF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vi(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function du(t){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(t)}function DF(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&&Is(t,e)}function NF(t,e){return e&&(PF(e)==="object"||typeof e=="function")?e:kt(t)}function Is(t,e){return Is=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Is(t,e)}function PF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function FF(){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 BF(t){var e=FF();return function(){var i=du(t),a;if(e){var r=du(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return NF(this,a)}}var fu=function(t){DF(n,t);var e=BF(n);function n(i,a,r){RF(this,n);var u;u=e.call(this,a),vi(kt(u),"headers",void 0),vi(kt(u),"footers",void 0),vi(kt(u),"pageIndex",void 0),vi(kt(u),"pageSize",void 0),vi(kt(u),"pageSizeOptions",void 0),vi(kt(u),"totalCount",void 0),wt(kt(u),"headers",a==null?void 0:a.headers,i,r),wt(kt(u),"footers",a==null?void 0:a.footers,i);var l;u.pageIndex=(l=a==null?void 0:a.pageIndex)!==null&&l!==void 0?l:1;var o;u.pageSize=(o=a==null?void 0:a.pageSize)!==null&&o!==void 0?o:20;var s;u.pageSizeOptions=(s=a==null?void 0:a.pageSizeOptions)!==null&&s!==void 0?s:[20];var f;return u.totalCount=(f=a==null?void 0:a.totalCount)!==null&&f!==void 0?f:0,u}return n}(Ne);function Ss(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 LF(t){if(Array.isArray(t))return Ss(t)}function hu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ym(t,e,n,i,a,r,u){try{var l=t[r](u),o=l.value}catch(s){n(s);return}l.done?e(o):Promise.resolve(o).then(i,a)}function kF(t){return function(){var e=this,n=arguments;return new Promise(function(i,a){var r=t.apply(e,n);function u(o){ym(r,i,a,u,l,"next",o)}function l(o){ym(r,i,a,u,l,"throw",o)}u(void 0)})}}function xF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _m(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 MF(t,e,n){return e&&_m(t.prototype,e),n&&_m(t,n),t}function mu(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?gi=Reflect.get:gi=function(a,r,u){var l=WF(a,r);if(!!l){var o=Object.getOwnPropertyDescriptor(l,r);return o.get?o.get.call(u||a):o.value}},gi(t,e,n||t)}function an(t){return an=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},an(t)}function $F(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&&Ts(t,e)}function VF(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function UF(){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 bm(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){mu(t,a,n[a])})}return t}function HF(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function Em(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):HF(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function jF(t,e){return e&&(qF(e)==="object"||typeof e=="function")?e:hu(t)}function Ts(t,e){return Ts=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ts(t,e)}function WF(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=an(t),t!==null););return t}function Cm(t){return LF(t)||VF(t)||GF(t)||UF()}function qF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function GF(t,e){if(!!t){if(typeof t=="string")return Ss(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 Ss(t,e)}}function KF(){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 zF(t){var e=KF();return function(){var i=an(t),a;if(e){var r=an(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return jF(this,a)}}function XF(t,e){var n,i,a,r,u={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]};return r={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(r[Symbol.iterator]=function(){return this}),r;function l(s){return function(f){return o([s,f])}}function o(s){if(n)throw new TypeError("Generator is already executing.");for(;u;)try{if(n=1,i&&(a=s[0]&2?i.return:s[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,s[1])).done)return a;switch(i=0,a&&(s=[s[0]&2,a.value]),s[0]){case 0:case 1:a=s;break;case 4:return u.label++,{value:s[1],done:!1};case 5:u.label++,i=s[1],s=[0];continue;case 7:s=u.ops.pop(),u.trys.pop();continue;default:if(a=u.trys,!(a=a.length>0&&a[a.length-1])&&(s[0]===6||s[0]===2)){u=0;continue}if(s[0]===3&&(!a||s[1]>a[0]&&s[1]<a[3])){u.label=s[1];break}if(s[0]===6&&u.label<a[1]){u.label=a[1],a=s;break}if(a&&u.label<a[2]){u.label=a[2],u.ops.push(s);break}a[2]&&u.ops.pop(),u.trys.pop();continue}s=e.call(t,u)}catch(f){s=[6,f],i=0}finally{n=a=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var Os=function(t){$F(n,t);var e=zF(n);function n(i){xF(this,n);var a;return a=e.call(this,i),mu(hu(a),"controlType","list"),mu(hu(a),"props",void 0),a.props=new fu(hu(a),i==null?void 0:i.props,"Designer"),a}return MF(n,[{key:"validate",value:function(a,r){var u=this,l=this,o=function(){return gi(an(n.prototype),"validate",u)};return kF(function(){return XF(this,function(s){switch(s.label){case 0:return[4,o().call(l,a)];case 1:return s.sent(),[4,Promise.all(l.props.headers.map(function(f){return f.validate(a,r)}))];case 2:return s.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=gi(an(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],u=this.id;return this.props.headers.reduce(function(l,o){var s=o.toDataBindModel(u);if(Array.isArray(s)){var f=s.filter(function(d){return!!d});return Cm(l).concat(Cm(f))}return s&&l.push(s),l},r)}},{key:"toSchema",value:function(){var a=gi(an(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(u){return u.toSchema()});return Em(bm({},a),{props:Em(bm({},this.props),{headers:r})})}}]),n}(ae);mu(Os,"controlFieldType",F.LIST);function yi(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JF(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wm(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 QF(t,e,n){return e&&wm(t.prototype,e),n&&wm(t,n),t}function As(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function vu(t){return vu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vu(t)}function ZF(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&&Rs(t,e)}function YF(t,e){return e&&(pF(e)==="object"||typeof e=="function")?e:yi(t)}function Rs(t,e){return Rs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Rs(t,e)}function pF(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function tB(t){var e=eB();return function(){var i=vu(t),a;if(e){var r=vu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return YF(this,a)}}var Im=function(t){ZF(n,t);var e=tB(n);function n(i){JF(this,n);var a;return a=e.call(this,i),As(yi(a),"controlType","list"),As(yi(a),"children",void 0),As(yi(a),"props",void 0),a.props=new fu(yi(a),i==null?void 0:i.props,"Runtime"),wt(yi(a),"children",i==null?void 0:i.children,void 0,"Runtime"),a}return QF(n,[{key:"length",get:function(){return this.children.length}}]),n}(Fe);function Le(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ds(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Me(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function gu(t){return gu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},gu(t)}function Ns(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&&Ps(t,e)}function nB(t,e){return e&&(iB(e)==="object"||typeof e=="function")?e:Le(t)}function Ps(t,e){return Ps=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Ps(t,e)}function iB(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 Fs(t){var e=aB();return function(){var i=gu(t),a;if(e){var r=gu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return nB(this,a)}}var Tt=function(t){Ns(n,t);var e=Fs(n);function n(i){Ds(this,n);var a;return a=e.call(this,i),Me(Le(a),"caption",{type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}),Me(Le(a),"width",{type:"number",required:!1,message:c.getMessage("pleaseEnterColumnWidth")}),a.width.required=i.widthType==="px",a}return n}(De),Ie=function(t){Ns(n,t);var e=Fs(n);function n(i){Ds(this,n);var a;a=e.call(this,i),Me(Le(a),"widthType",void 0),Me(Le(a),"width",void 0),Me(Le(a),"caption",void 0),Me(Le(a),"dataBind",void 0),Me(Le(a),"autoWidth",void 0),Me(Le(a),"fixed",void 0),Me(Le(a),"sort",void 0),Me(Le(a),"align",void 0),Me(Le(a),"colSpan",void 0),Me(Le(a),"autoHeight",void 0),Me(Le(a),"children",void 0);var r;a.width=(r=i==null?void 0:i.width)!==null&&r!==void 0?r:150,a.widthType=(i==null?void 0:i.widthType)||"auto";var u;a.caption=(u=i==null?void 0:i.caption)!==null&&u!==void 0?u:"";var l;a.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",a.autoWidth=new Hh(i==null?void 0:i.autoWidth),a.dataBind=new It(i==null?void 0:i.dataBind);var o;a.sort=(o=i==null?void 0:i.sort)!==null&&o!==void 0?o:!0,a.align=i==null?void 0:i.align,a.colSpan=i==null?void 0:i.colSpan;var s;return a.autoHeight=(s=i==null?void 0:i.autoHeight)!==null&&s!==void 0?s:!1,a}return n}(Ne);Me(Ie,"Rules",Tt);var Sm=function(t){Ns(n,t);var e=Fs(n);function n(i){Ds(this,n);var a;return a=e.call(this,i),Me(Le(a),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:c.getMessage("PleaseSelectTheCorrectOptionSettings")}),Me(Le(a),"options",[{type:"array",message:c.getMessage("isNotArray")}]),Me(Le(a),"datasourceBind",[{type:"object",message:c.getMessage("isNotObject")}]),fs.call(Le(a),i),a}return n}(Tt);function ha(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tm(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 uB(t,e,n){return e&&Tm(t.prototype,e),n&&Tm(t,n),t}function yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function _u(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?_u=Reflect.get:_u=function(a,r,u){var l=fB(a,r);if(!!l){var o=Object.getOwnPropertyDescriptor(l,r);return o.get?o.get.call(u||a):o.value}},_u(t,e,n||t)}function _i(t){return _i=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},_i(t)}function lB(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&&Bs(t,e)}function oB(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(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),i.forEach(function(a){yu(t,a,n[a])})}return t}function sB(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(a){return Object.getOwnPropertyDescriptor(t,a).enumerable})),n.push.apply(n,i)}return n}function cB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):sB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function dB(t,e){return e&&(hB(e)==="object"||typeof e=="function")?e:ha(t)}function Bs(t,e){return Bs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Bs(t,e)}function fB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=_i(t),t!==null););return t}function hB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function mB(){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 vB(t){var e=mB();return function(){var i=_i(t),a;if(e){var r=_i(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return dB(this,a)}}var $e=function(t){lB(n,t);var e=vB(n);function n(i){rB(this,n);var a;return a=e.call(this,i),yu(ha(a),"controlType","column"),yu(ha(a),"props",void 0),yu(ha(a),"children",void 0),a.props=new Ie(i==null?void 0:i.props),wt(ha(a),"children",i==null?void 0:i.children,void 0,"Designer"),a}return uB(n,[{key:"toSchema",value:function(){var a=_u(_i(n.prototype),"toSchema",this).call(this);return cB(oB({},a),{children:this.children?this.children.map(function(r){return r.toSchema()}):[]})}}]),n}(ae);function ma(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ls(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function bu(t){return bu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bu(t)}function yB(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&&ks(t,e)}function _B(t,e){return e&&(bB(e)==="object"||typeof e=="function")?e:ma(t)}function ks(t,e){return ks=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},ks(t,e)}function bB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function EB(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function CB(t){var e=EB();return function(){var i=bu(t),a;if(e){var r=bu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return _B(this,a)}}var Ve=function(t){yB(n,t);var e=CB(n);function n(i){gB(this,n);var a;return a=e.call(this,i),Ls(ma(a),"controlType","column"),Ls(ma(a),"props",void 0),Ls(ma(a),"children",void 0),a.props=new Ie(i==null?void 0:i.props),wt(ma(a),"children",i==null?void 0:i.children,void 0,"Runtime"),a}return n}(Fe);function Om(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function IB(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Eu(t){return Eu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Eu(t)}function SB(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&&xs(t,e)}function TB(t,e){return e&&(OB(e)==="object"||typeof e=="function")?e:Om(t)}function xs(t,e){return xs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},xs(t,e)}function OB(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=Eu(t),a;if(e){var r=Eu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return TB(this,a)}}var Ms=function(t){SB(n,t);var e=RB(n);function n(i){wB(this,n);var a;return a=e.call(this,i),IB(Om(a),"dataBind",void 0),a.dataBind=new It(i==null?void 0:i.dataBind),a}return n}(ve);function $s(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function DB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Am(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Cu(t){return Cu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Cu(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&&Vs(t,e)}function PB(t,e){return e&&(FB(e)==="object"||typeof e=="function")?e:$s(t)}function Vs(t,e){return Vs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Vs(t,e)}function FB(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 LB(t){var e=BB();return function(){var i=Cu(t),a;if(e){var r=Cu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return PB(this,a)}}var kB=function(t){NB(n,t);var e=LB(n);function n(i){DB(this,n);var a;return a=e.call(this,i),Am($s(a),"controlType","search"),Am($s(a),"props",void 0),a.props=new Ms(i==null?void 0:i.props),a}return n}(_e);function Us(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Rm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function wu(t){return wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},wu(t)}function MB(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&&Hs(t,e)}function $B(t,e){return e&&(VB(e)==="object"||typeof e=="function")?e:Us(t)}function Hs(t,e){return Hs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Hs(t,e)}function VB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function UB(){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=UB();return function(){var i=wu(t),a;if(e){var r=wu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return $B(this,a)}}var jB=function(t){MB(n,t);var e=HB(n);function n(i){xB(this,n);var a;return a=e.call(this,i),Rm(Us(a),"controlType","search"),Rm(Us(a),"props",void 0),a.props=new Ms(i==null?void 0:i.props),a}return n}(we);function WB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Iu(t){return Iu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Iu(t)}function GB(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&&js(t,e)}function KB(t,e){return e&&(zB(e)==="object"||typeof e=="function")?e:WB(t)}function js(t,e){return js=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},js(t,e)}function zB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function XB(){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 JB(t){var e=XB();return function(){var i=Iu(t),a;if(e){var r=Iu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return KB(this,a)}}var Ws=function(t){GB(n,t);var e=JB(n);function n(i){return qB(this,n),e.call(this,i)}return n}(ve);function qs(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function QB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Su(t){return Su=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Su(t)}function ZB(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&&Gs(t,e)}function YB(t,e){return e&&(pB(e)==="object"||typeof e=="function")?e:qs(t)}function Gs(t,e){return Gs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},Gs(t,e)}function pB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eL(){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 tL(t){var e=eL();return function(){var i=Su(t),a;if(e){var r=Su(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return YB(this,a)}}var nL=function(t){ZB(n,t);var e=tL(n);function n(i){QB(this,n);var a;return a=e.call(this,i),Dm(qs(a),"controlType","wrap"),Dm(qs(a),"props",void 0),a.props=new Ws(i==null?void 0:i.props),a}return n}(_e);function Ks(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function iL(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Tu(t){return Tu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tu(t)}function aL(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&&zs(t,e)}function rL(t,e){return e&&(uL(e)==="object"||typeof e=="function")?e:Ks(t)}function zs(t,e){return zs=Object.setPrototypeOf||function(i,a){return i.__proto__=a,i},zs(t,e)}function uL(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lL(){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 oL(t){var e=lL();return function(){var i=Tu(t),a;if(e){var r=Tu(this).constructor;a=Reflect.construct(i,arguments,r)}else a=i.apply(this,arguments);return rL(this,a)}}var sL=function(t){aL(n,t);var e=oL(n);function n(i){iL(this,n);var a;return a=e.call(this,i),Nm(Ks(a),"controlType","wrap"),Nm(Ks(a),"props",void 0),a.props=new Ws(i==null?void 0:i.props),a}return n}(we);function rn(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:c.getMessage("pleaseEnterForm")}}}])}class Xs extends Ne{constructor(e){var n,i,a,r,u,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=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(u=e==null?void 0:e.content)!=null?u:c.getMessage("text"),this.align=(l=e==null?void 0:e.align)!=null?l:""}}class Pm extends ae{constructor(e){super(e),this.props=new Xs(e==null?void 0:e.props)}static get controlName(){return c.getMessage("text")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}Pm.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class cL extends Fe{constructor(e){super(e),this.props=new Xs(e==null?void 0:e.props)}static get controlType(){return"text"}}var Fm={Designer:Pm,Runtime:cL,Property:Xs};class Js extends Ne{constructor(e){var n,i,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:c.getMessage("linkContent"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Qs extends ae{constructor(e){super(e),this.props=new Js(e==null?void 0:e.props)}static get controlName(){return c.getMessage("link")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Qs.controlEventKeys=["on_click"],Qs.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class dL extends Fe{constructor(e){super(e),this.props=new Js(e==null?void 0:e.props)}static get controlType(){return"link"}}var Bm={Designer:Qs,Runtime:dL,Property:Js};class ze extends Ne{constructor(e){var n,i,a,r,u,l,o,s,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:c.getMessage("button"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"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=(u=e==null?void 0:e.icon)!=null?u:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new xP((f=e==null?void 0:e.optObj)!=null?f:{})}}class je extends ae{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return c.getMessage("button")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}je.slots=["grid-table-toolbar-slot","action-bar-slot",pc.DEFAULT],je.controlEventKeys=["on_click"],je.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:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class nt extends Fe{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"button"}}var Lm={Designer:je,Runtime:nt,Property:ze},un=(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))(un||{}),km=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(km||{}),xm=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(xm||{});class Ou{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:yt(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Zs=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Zs||{});class Au{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:yt(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Ys=(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))(Ys||{});class ps{constructor(e){var n,i,a,r,u,l,o,s;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new la((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(u=e==null?void 0:e.telephone)!=null?u:new la((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(o=e==null?void 0:e.company)!=null?o:new la((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(s=e==null?void 0:e.remark)!=null?s:""}}class Mm{constructor(e){var n,i,a,r,u,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(o=>new ps(o)))!=null?a:[new ps],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(u=e==null?void 0:e.completeControl)!=null?u:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class va{constructor(e){var n,i,a,r,u,l,o;this.id=(n=e==null?void 0:e.id)!=null?n:yt(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(u=e==null?void 0:e.name)!=null?u:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(o=e==null?void 0:e.active)!=null?o:!1}}class ec{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 $m{constructor(e){var n,i,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new ec(e==null?void 0:e.watermark),this.autoRename=new ec(e==null?void 0:e.autoRename)}}class Vm{constructor(e){this.dataCode=e.dataCode}}class Um{constructor(e){var n,i,a;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(a=(i=e==null?void 0:e.templateList)==null?void 0:i.map(r=>new Vm(r)))!=null?a:[]}}class Hm{constructor(e){var n,i,a;this.templateType=(n=e==null?void 0:e.templateType)!=null?n:"system",this.templateList=(a=(i=e==null?void 0:e.templateList)==null?void 0:i.map(r=>new va(r)))!=null?a:[new va({id:"default",name:c.getMessage("defaultTemplate"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const jm=480;function ga(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Wm{constructor(e){var n,i,a,r,u;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(u=e.rules)!=null?u:[]}}class qm{constructor(e){var n,i,a;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=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var Gm=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Gm||{}),tc=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(tc||{}),Ru=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Ru||{}),ln=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ln||{}),nc=(t=>(t.ALL="all",t.ADMIN="admin",t))(nc||{});class ic extends Ne{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:Ys.SOLID}}class Km extends ae{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlName(){return c.getMessage("divider")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Km.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]}];class fL extends Fe{constructor(e){super(e),this.props=new ic(e==null?void 0:e.props)}static get controlType(){return"divider"}}var zm={Designer:Km,Runtime:fL,Property:ic};class hL extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(un.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:c.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:c.getMessage("bizKeyNotBindFiled")}},message:c.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:c.getMessage("pleaseSelectOneField")})}}class Du extends Ne{constructor(e){var n,i,a,r;super(e),this.dataBind=new It(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[un.ShowSubmitUser,un.ShowSubmitDept,un.ShowSubmitTime,un.ShowCurrentApprovar,un.ShowTitle],this.caption=(a=(i=e==null?void 0:e.caption)!=null?i:bi==null?void 0:bi.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Du.Rules=hL;class bi extends ae{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlName(){return c.getMessage("title")}static get controlIcon(){return"title"}static get controlType(){return"title"}}bi.controlFieldType=F.AUTO_NUMBER,bi.setting=[{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class mL extends Fe{constructor(e){super(e),this.props=new Du(e==null?void 0:e.props)}static get controlType(){return"title"}}var Xm={Designer:bi,Runtime:mL,Property:Du};class vL extends De{constructor(e){super(e),this.formKey={type:"string",required:!0,message:c.getMessage("pleaseEnterForm")}}}class Nu extends ze{constructor(e){var n,i,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ei.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ei.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}Nu.Rules=vL;class Ei extends je{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("createFormListButton")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Ei.slots=["grid-table-toolbar-slot"],Ei.controlEventKeys=["on_click","on_click_finish"],Ei.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 gL extends nt{constructor(e){super(e),this.props=new Nu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var Jm={Designer:Ei,Runtime:gL,Property:Nu};class yL extends De{constructor(e){super(e),this.processKey=[{type:"string",message:c.getMessage("isNotString")},{type:"string",required:!0,message:c.getMessage("pleaseEnterProcess")}]}}class Pu extends ze{constructor(e){var n,i,a,r,u,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ci.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ci.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(u=e==null?void 0:e.fieldCode)!=null?u:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}Pu.Rules=yL;class Ci extends je{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchSubmissionListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Ci.slots=["grid-table-toolbar-slot"],Ci.controlEventKeys=["on_click","on_click_finish"],Ci.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 _L extends nt{constructor(e){super(e),this.props=new Pu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Qm={Designer:Ci,Runtime:_L,Property:Pu};class ac extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:wi.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:wi.controlIcon}}class wi extends je{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlName(){return c.getMessage("submissionRecordListButton")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}wi.slots=["grid-table-toolbar-slot"],wi.controlEventKeys=["on_click"],wi.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class bL extends nt{constructor(e){super(e),this.props=new ac(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Zm={Designer:wi,Runtime:bL,Property:ac};class rc extends ze{constructor(e){var n,i,a,r,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ii.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ii.controlName,this.templateType=(a=e==null?void 0:e.templateType)!=null?a:"system",this.templateList=(u=(r=e==null?void 0:e.templateList)==null?void 0:r.map(l=>new va(l)))!=null?u:[new va({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class Ii extends je{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("exportListButton")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}Ii.slots=["grid-table-toolbar-slot"],Ii.controlEventKeys=["on_click","on_click_finish"],Ii.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 EL extends nt{constructor(e){super(e),this.props=new rc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ym={Designer:Ii,Runtime:EL,Property:rc};class uc extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Si.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Si.controlIcon}}class Si extends je{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("exportRecordListButton")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Si.slots=["grid-table-toolbar-slot"],Si.controlEventKeys=["on_click"],Si.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 CL extends nt{constructor(e){super(e),this.props=new uc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var pm={Designer:Si,Runtime:CL,Property:uc};class wL{constructor(e){this.dataCode=e.dataCode}}class lc extends ze{constructor(e){var n,i,a,r,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ti.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ti.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new wL(l)))!=null?r:[],this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system"}}class Ti extends je{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("importRecordListButton")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ti.slots=["grid-table-toolbar-slot"],Ti.controlEventKeys=["on_click","on_click_finish"],Ti.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 IL extends nt{constructor(e){super(e),this.props=new lc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var ev={Designer:Ti,Runtime:IL,Property:lc};function Fu(){return{dataCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:c.getMessage("pleaseSelectControl")}}}}}}class SL extends De{constructor(e){super(e),this.fillPayload={type:"object",fields:$t({},Fu())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:c.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:$t({mode:{type:"string",required:!0,message:c.getMessage("pleaseSelectFillBackMode")}},Fu())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:c.getMessage("pleaseSelectControl")})}}class Bu extends ze{constructor(e){var n,i,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ya.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ya.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new zh(e==null?void 0:e.fillPayload),this.formBind=new _P(e==null?void 0:e.formBind),this.fillBack=new Xh(e==null?void 0:e.fillBack)}}Bu.Rules=SL;class ya extends je{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("formSelectButton")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}ya.controlEventKeys=["on_click","on_click_finish"],ya.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:[h.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class TL extends nt{constructor(e){super(e),this.props=new Bu(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var tv={Designer:ya,Runtime:TL,Property:Bu};class OL extends De{constructor(e){super(e),this.fillPayload={type:"object",fields:$t({},Fu())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:c.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:c.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:$t({mode:{type:"string",required:!0,message:c.getMessage("pleaseSelectFillBackMode")}},Fu())}}}class Lu extends ze{constructor(e){var n,i,a,r,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:_a.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:_a.controlIcon,this.fillPayload=new zh(e==null?void 0:e.fillPayload),this.listPageBind=new zo(e==null?void 0:e.listPageBind),this.fillBack=new Xh(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new Zo(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(r=e==null?void 0:e.isSelectedRowFill)!=null?r:!1,this.disableFilling=(u=e==null?void 0:e.disableFilling)!=null?u:!0}}Lu.Rules=OL;class _a extends je{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("listSelectButton")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}_a.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],_a.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:[h.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class AL extends nt{constructor(e){super(e),this.props=new Lu(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var nv={Designer:_a,Runtime:AL,Property:Lu};class RL extends De{constructor(e){super(e)}}class DL extends On{constructor(e){super(e)}}class ba extends Ne{constructor(e){super(e)}}ba.Rules=RL,ba.RuntimeRules=DL;class iv extends ae{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlName(){return c.getMessage("pagination")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}iv.setting=[];class NL extends Fe{constructor(e){super(e),this.props=new ba(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var av={Designer:iv,Runtime:NL,Property:ba};class PL extends De{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:c.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ku extends Ne{constructor(e){var n,i,a,r,u,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=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(u=e==null?void 0:e.captionTip)!=null?u:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}ku.Rules=PL;class rv extends ae{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlName(){return c.getMessage("dashboard")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}rv.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class FL extends Fe{constructor(e){super(e),this.props=new ku(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var uv={Designer:rv,Runtime:FL,Property:ku};class BL extends De{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:c.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class xu extends Ne{constructor(e){var n,i,a;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(i=e==null?void 0:e.viewList)==null?void 0:i.map(r=>new LP(r)))!=null?a:[]}}xu.Rules=BL;class lv extends ae{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("listViewSelect")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}lv.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class LL extends Fe{constructor(e){super(e),this.props=new xu(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ov={Designer:lv,Runtime:LL,Property:xu};class kL extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:c.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,a){if(i.every(u=>!u.controlId)){a(c.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Mu extends ze{constructor(e){var n,i,a,r,u,l,o,s,f,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Oi.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!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=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Oi.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Oi.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(d=(f=e==null?void 0:e.fillList)==null?void 0:f.map(m=>new Ye(m)))!=null?d:[]}}Mu.Rules=kL;class Oi extends je{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("textOcrButton")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Oi.controlEventKeys=["on_click","on_click_finish"],Oi.setting=[{key:"caption",showItems:[h.CAPTION,h.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:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class xL extends nt{constructor(e){super(e),this.props=new Mu(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var sv={Designer:Oi,Runtime:xL,Property:Mu};class ML extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,a){if(i.every(u=>!u.controlId)){a(c.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class $u extends ze{constructor(e){var n,i,a,r,u,l,o,s,f,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ai.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!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=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.content=(l=e==null?void 0:e.content)!=null?l:Ai.controlName,this.icon=(o=e==null?void 0:e.icon)!=null?o:Ai.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(d=(f=e==null?void 0:e.fillList)==null?void 0:f.map(m=>new Ye(m)))!=null?d:[]}}$u.Rules=ML;class Ai extends je{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlName(){return c.getMessage("invoiceCheckButton")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ai.controlEventKeys=["on_click","on_click_finish"],Ai.setting=[{key:"caption",showItems:[h.CAPTION,h.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:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class $L extends nt{constructor(e){super(e),this.props=new $u(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var cv={Designer:Ai,Runtime:$L,Property:$u};class VL extends De{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:c.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Vu extends ze{constructor(e){var n,i,a,r,u;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Ri.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Ri.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(l=>new Wm(l)))!=null?r:[],this.autoSelectTemplate=(u=e==null?void 0:e.autoSelectTemplate)!=null?u:!1}}Vu.Rules=VL;class Ri extends je{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchPrintListButton")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Ri.slots=["grid-table-toolbar-slot"],Ri.controlEventKeys=["on_click","on_click_finish"],Ri.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 UL extends nt{constructor(e){super(e),this.props=new Vu(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var dv={Designer:Ri,Runtime:UL,Property:Vu};class oc extends ze{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Di.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Di.controlIcon}}class Di extends je{constructor(e){super(e),this.props=new oc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchPrintRecordList")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Di.slots=["grid-table-toolbar-slot"],Di.controlEventKeys=["on_click"],Di.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 HL extends nt{constructor(e){super(e),this.props=new oc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var fv={Designer:Di,Runtime:HL,Property:oc};class jL extends De{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:c.getMessage("pleaseEnterForm")})}}class Uu extends Ne{constructor(e){var n,i,a,r,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:c.getMessage("button"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(u=e==null?void 0:e.isLoading)!=null?u:!1}}Uu.Rules=jL;class Hu extends ae{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("operationButton")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Hu.controlEventKeys=["on_click"],Hu.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:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class WL extends Fe{constructor(e){super(e),this.props=new Uu(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var hv={Designer:Hu,Runtime:WL,Property:Uu};class sc extends Ne{constructor(e){var n,i,a,r,u,l,o,s,f;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ni.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ni.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(u=e==null?void 0:e.color)!=null?u:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(f=e==null?void 0:e.isLoading)!=null?f:!1}}class Ni extends ae{constructor(e){super(e),this.props=new sc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("batchDeleteButton")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Ni.slots=["grid-table-toolbar-slot"],Ni.controlEventKeys=["on_click"],Ni.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:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class qL extends Fe{constructor(e){super(e),this.props=new sc(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var mv={Designer:Ni,Runtime:qL,Property:sc},GL=Object.freeze({__proto__:null,Text:Fm,Link:Bm,Button:Lm,Divider:zm,Title:Xm,CreateFormListButton:Jm,BatchSubmissionListButton:Qm,SubmissionRecordListButton:Zm,ExportListButton:Ym,ExportRecordListButton:pm,ImportRecordListButton:ev,FormSelectButton:tv,ListSelectButton:nv,Pagination:av,Dashboard:uv,ListViewSelect:ov,TextOcrButton:sv,InvoiceCheckButton:cv,BatchPrintListButton:dv,BatchPrintRecordListButton:fv,OperationButton:hv,BatchDeleteButton:mv});class KL extends xe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:c.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:c.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:c.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=c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=ga(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class zL extends de{constructor(e){super(e),this.push({type:"string",message:c.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ga(e.regularRules.expression),message:e.regularRules.errMessage})}}class Pi extends Q{constructor(e){var n,i,a,r,u,l,o;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 Jh(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Fi.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseEnter"),this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(o=e==null?void 0:e.encryptedMode)!=null?o:""}}Pi.Rules=KL,Pi.RuntimeRules=zL;class Fi extends Z{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("input")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Fi.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Fi.controlFieldType=F.VARCHAR,Fi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP,h.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 vv extends ee{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"input"}}vv.controlFieldType=F.VARCHAR;var gv={Designer:Fi,Runtime:vv,Property:Pi};class XL extends hi{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:c.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=a=>a==="unlimited"?void 0:a;this.limitMax.min=i(e.limitMin)}}class JL extends de{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 Ea extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b,T;super(e),this.options=Bt((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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(u=e==null?void 0:e.otherOption)!=null?u:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(o=e==null?void 0:e.limitMax)!=null?o:"unlimited",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:Ca.controlName,this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:[],this.optionsFormat=(m=e==null?void 0:e.optionsFormat)!=null?m:"horizontal",this.defaultShowOptions=(b=e==null?void 0:e.defaultShowOptions)!=null?b:!0,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(w=>{var D;(D=this.multistageFilling)==null||D.push(new Ye(w))}))}}Ea.Rules=XL,Ea.RuntimeRules=JL;class Ca extends Z{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlName(){return c.getMessage("checkBox")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Ca.controlEventKeys=["on_change","on_click"],Ca.controlFieldType=F.ARRAY,Ca.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 yv extends ee{constructor(e){super(e),this.props=new Ea(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}yv.controlFieldType=F.ARRAY;var _v={Designer:Ca,Runtime:yv,Property:Ea};class QL extends hi{constructor(e){super(e)}}class ju extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m;super(e),this.options=Bt((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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(u=e==null?void 0:e.optionsOrder)!=null?u:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(o=e==null?void 0:e.optionsFormat)!=null?o:"horizontal",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(f=e==null?void 0:e.caption)!=null?f:wa.controlName,this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.openMultistageFilling=(m=e==null?void 0:e.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var T;(T=this.multistageFilling)==null||T.push(new Ye(b))}))}}ju.Rules=QL;class wa extends Z{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlName(){return c.getMessage("radio")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}wa.controlEventKeys=["on_change","on_click"],wa.controlFieldType=F.VARCHAR,wa.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 bv extends ee{constructor(e){super(e),this.props=new ju(e==null?void 0:e.props)}static get controlType(){return"radio"}}bv.controlFieldType=F.VARCHAR;var Ev={Designer:wa,Runtime:bv,Property:ju};class ZL extends xe{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:c.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=c.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:c.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=ga(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class YL extends de{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:c.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:ga(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ia extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b,T;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=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(o=e==null?void 0:e.showUpperCase)!=null?o:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(f=e==null?void 0:e.unitPosition)!=null?f:"right",this.unit=(d=e==null?void 0:e.unit)!=null?d:"",this.caption=(m=e==null?void 0:e.caption)!=null?m:Sa.controlName,this.placeholder=(b=e==null?void 0:e.placeholder)!=null?b:c.getMessage("pleaseEnter"),this.defaultValue=(T=e==null?void 0:e.defaultValue)!=null?T:"",this.regularRules=new Jh(e==null?void 0:e.regularRules)}}Ia.Rules=ZL,Ia.RuntimeRules=YL;class Sa extends Z{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlName(){return c.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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Sa.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Sa.controlFieldType=F.DECIMAL,Sa.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_UNIT,h.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:[h.SHOW_UPPER_CASE,h.MICROMETER,h.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Cv extends ee{constructor(e){super(e),this.props=new Ia(e==null?void 0:e.props)}static get controlType(){return"number"}}Cv.controlFieldType=F.DECIMAL;var wv={Designer:Sa,Runtime:Cv,Property:Ia};class cc extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Vt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Wu.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseEnterDate"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.limitDateList=(f=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(b=>new Ou(b)))!=null?f:[],this.allowDateRange=(d=e==null?void 0:e.allowDateRange)!=null?d:["",""],this.filterWeekend=(m=e==null?void 0:e.filterWeekend)!=null?m:!1}}class Wu extends Z{constructor(e){super(e),this.props=new cc(e==null?void 0:e.props)}static get controlName(){return c.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}}Wu.controlFieldType=F.TIMESTAMP,Wu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Iv extends ee{constructor(e){super(e),this.props=new cc(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Iv.controlFieldType=F.TIMESTAMP;var Sv={Designer:Wu,Runtime:Iv,Property:cc};class pL extends de{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 qu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m;super(e),this.dataBind=new DP(e==null?void 0:e.dataBind),this.defaultValue=new NP(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Vt.DATE,this.dateFormat=(i=e==null?void 0:e.dateFormat)!=null?i:"",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=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(l=e==null?void 0:e.rangeMax)!=null?l:"",this.placeholderStart=(o=e==null?void 0:e.placeholderStart)!=null?o:c.getMessage("pleaseSelectStartDate"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:c.getMessage("pleaseSelectEndDate"),this.caption=(f=e==null?void 0:e.caption)!=null?f:Gu.controlName,this.limitDateList=(m=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(b=>new Ou(b)))!=null?m:[]}}qu.RuntimeRules=pL;class Gu extends Z{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlName(){return c.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}}Gu.controlFieldType=F.TIMESCOPE,Gu.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Tv extends ee{constructor(e){super(e),this.props=new qu(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Tv.controlFieldType=F.TIMESCOPE;var Ov={Designer:Gu,Runtime:Tv,Property:qu};class e3 extends xe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:c.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:c.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:c.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=c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class t3 extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ta extends Q{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Oa.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseEnter"),this.rowHeightSetting=new vP(e==null?void 0:e.rowHeightSetting)}}Ta.Rules=e3,Ta.RuntimeRules=t3;class Oa extends Z{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlName(){return c.getMessage("textarea")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Oa.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Oa.controlFieldType=F.TEXT,Oa.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 Av extends ee{constructor(e){super(e),this.props=new Ta(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Av.controlFieldType=F.TEXT;var Rv={Designer:Oa,Runtime:Av,Property:Ta};class n3 extends xe{constructor(e){super(e),this.maxLength={type:"number",min:0,message:c.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:c.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:c.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=c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class i3 extends de{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:c.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Aa extends Q{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Ra.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseEnter")}}Aa.Rules=n3,Aa.RuntimeRules=i3;class Ra extends Z{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlName(){return c.getMessage("richText")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}Ra.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ra.controlFieldType=F.TEXT,Ra.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 Dv extends ee{constructor(e){super(e),this.props=new Aa(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Dv.controlFieldType=F.TEXT;var Nv={Designer:Ra,Runtime:Dv,Property:Aa};class a3 extends hi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:c.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ku extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d;super(e),this.options=Bt((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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:zu.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(o=e==null?void 0:e.allowCopyOptions)!=null?o:!1,this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var b;(b=this.multistageFilling)==null||b.push(new Ye(m))})),this.canViewForm=(f=e==null?void 0:e.canViewForm)!=null?f:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window",this.formBind=new di(e==null?void 0:e.formBind)}}Ku.Rules=a3;class zu extends Z{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlName(){return c.getMessage("select")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}zu.controlFieldType=F.VARCHAR,zu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.DEFAULT_SHOW_OPTIONS,h.IS_SHOW_CAPTION_TIP,h.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0,showItems:[h.CAN_VIEW_FORM,h.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Pv extends ee{constructor(e){super(e),this.props=new Ku(e==null?void 0:e.props)}static get controlType(){return"select"}}Pv.controlFieldType=F.VARCHAR;var Fv={Designer:zu,Runtime:Pv,Property:Ku};class r3 extends hi{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:c.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class u3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Da extends Q{constructor(e){var n,i,a,r,u,l,o,s,f;super(e),this.options=Bt((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=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:Xu.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseSelect"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var m;(m=this.multistageFilling)==null||m.push(new Ye(d))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new di(e==null?void 0:e.formBind)}}Da.Rules=r3,Da.RuntimeRules=u3;class Xu extends Z{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlName(){return c.getMessage("selectMultiple")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Xu.controlFieldType=F.ARRAY,Xu.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.DEFAULT_SHOW_OPTIONS,h.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0,showItems:[h.CAN_VIEW_FORM,h.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Bv extends ee{constructor(e){super(e),this.props=new Da(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Bv.controlFieldType=F.ARRAY;var Lv={Designer:Xu,Runtime:Bv,Property:Da};class l3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ju extends Q{constructor(e){var n,i,a,r,u,l,o,s,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=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:Qu.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:c.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(d=>{var m;(m=this.multistageFilling)==null||m.push(new Ye(d))}))}}Ju.RuntimeRules=l3;class Qu extends Z{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlName(){return c.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Qu.controlFieldType=F.EMPLOYEES,Qu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.MULTIPLE,h.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 kv extends ee{constructor(e){super(e),this.props=new Ju(e==null?void 0:e.props)}static get controlType(){return"employee"}}kv.controlFieldType=F.EMPLOYEES;var xv={Designer:Qu,Runtime:kv,Property:Ju};const o3=10485760,s3=104857600,c3=1048576e3;class d3 extends xe{constructor(e){super(e),this.maxSize={type:"number",min:0,max:c3,message:c.getMessage("attachmentMaxSize")}}}class f3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:c.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Bi extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m;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=(a=e==null?void 0:e.resultShowType)!=null?a:"simple",this.attachmentAccept=(r=e==null?void 0:e.attachmentAccept)!=null?r:[],this.maxLimit=(u=e==null?void 0:e.maxLimit)!=null?u:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:s3,this.caption=(s=e==null?void 0:e.caption)!=null?s:Li.controlName,this.placeholder=(f=e==null?void 0:e.placeholder)!=null?f:c.getMessage("uploadFile"),this.isShowWatermark=(d=e==null?void 0:e.isShowWatermark)!=null?d:!1,this.watermarkFx=(m=e==null?void 0:e.watermarkFx)!=null?m:{}}}Bi.Rules=d3,Bi.RuntimeRules=f3;class Li extends Z{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return c.getMessage("file")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}Li.controlEventKeys=["on_change"],Li.controlFieldType=F.FILE,Li.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 dc extends ee{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"attachment"}}dc.controlFieldType=F.FILE;var Mv={Designer:Li,Runtime:dc,Property:Bi};const $v=class extends Li{static get controlName(){return c.getMessage("image")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,a;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:$v.controlName,this.props.placeholder=(a=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?a:c.getMessage("uploadImg")}};let fc=$v;fc.controlFieldType=F.IMAGE,fc.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP,h.IS_SHOW_WATERMARK]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class h3 extends dc{static get controlType(){return"image"}constructor(e){var n,i,a,r,u,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:c.getMessage("image"),this.props.placeholder=(l=(u=e==null?void 0:e.props)==null?void 0:u.placeholder)!=null?l:c.getMessage("uploadImg")}}class m3 extends Bi{constructor(e){super(e)}}var Vv={Designer:fc,Runtime:h3,Property:m3};class v3 extends hi{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:c.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=c.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:c.getMessage("numberRangeSetError")})}}class g3 extends de{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:[mr($t({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:c.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class Na extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(u=e==null?void 0:e.precision)!=null?u:2,this.dataBind=new AP(e==null?void 0:e.dataBind),this.datasourceBind=new He((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Jo({value:"name"})]}),this.defaultValue=new RP((o=e==null?void 0:e.defaultValue)!=null?o:{amount:"",currency:po.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=Bt(e==null?void 0:e.options),this.caption=(f=e==null?void 0:e.caption)!=null?f:Pa.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:c.getMessage("pleaseEnter"),this.submitSelectCurrency=(m=e==null?void 0:e.submitSelectCurrency)!=null?m:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Na.Rules=v3,Na.RuntimeRules=g3;class Pa extends Z{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return c.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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Pa.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Pa.controlFieldType=F.MONEY,Pa.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.SUBMIT_SELECT_CURRENCY,h.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:[h.SHOW_UPPER_CASE,h.MICROMETER,h.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Uv extends ee{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"amount"}}Uv.controlFieldType=F.MONEY;var Hv={Designer:Pa,Runtime:Uv,Property:Na};class y3 extends xe{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:c.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:c.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:c.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=c.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class _3 extends de{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:c.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Fa extends Q{constructor(e){var n,i,a,r,u,l,o;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:Zs.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(u=(r=e==null?void 0:e.explain)==null?void 0:r.map(s=>new Au(s)))!=null?u:Array(this.totalScore).fill(void 0).map(()=>new Au),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(o=e==null?void 0:e.caption)!=null?o:Ba.controlName}}Fa.Rules=y3,Fa.RuntimeRules=_3;class Ba extends Z{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return c.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,a=Array(i).fill(void 0).map(()=>new Au);this.props.explain.push(...a)}}super.postUpdate(e,n)}}Ba.controlEventKeys=["on_change","on_click"],Ba.controlFieldType=F.DECIMAL,Ba.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.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 jv extends ee{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"score"}}jv.controlFieldType=F.DECIMAL;var Wv={Designer:Ba,Runtime:jv,Property:Fa};class b3 extends de{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:c.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:c.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:c.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class Zu extends Q{constructor(e){var n,i,a,r,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Yu.controlName,this.defaultValueType=(i=e==null?void 0:e.defaultValueType)!=null?i:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new PP((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:c.getMessage("pleaseChooseAddress")}}Zu.RuntimeRules=b3;class Yu extends Z{constructor(e){super(e),this.props=new Zu(e==null?void 0:e.props)}static get controlName(){return c.getMessage("address")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Yu.controlFieldType=F.ADDRESS,Yu.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class qv extends ee{constructor(e){super(e),this.props=new Zu(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"}}qv.controlFieldType=F.ADDRESS;var Gv={Designer:Yu,Runtime:qv,Property:Zu};class E3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class pu extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:La.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:c.getMessage("pleaseSelectDept"),this.openMultistageFilling=(m=e==null?void 0:e.openMultistageFilling)!=null?m:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var T;(T=this.multistageFilling)==null||T.push(new Ye(b))}))}}pu.RuntimeRules=E3;class La extends Z{constructor(e){super(e),this.props=new pu(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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}La.controlName=c.getMessage("department"),La.controlFieldType=F.DEPARTMENTS,La.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.MULTIPLE,h.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 Kv extends ee{constructor(e){super(e),this.props=new pu(e==null?void 0:e.props)}static get controlType(){return"department"}}Kv.controlFieldType=F.DEPARTMENTS;var zv={Designer:La,Runtime:Kv,Property:pu};class hc extends Q{constructor(e){var n,i,a;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:ka.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:c.getMessage("pleaseEnterAutonumber")}}class ka extends Z{constructor(e){super(e),this.props=new hc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("autoNumber")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}ka.controlEventKeys=["on_change"],ka.controlFieldType=F.AUTO_NUMBER,ka.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Xv extends ee{constructor(e){super(e),this.props=new hc(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}Xv.controlFieldType=F.AUTO_NUMBER;var Jv={Designer:ka,Runtime:Xv,Property:hc};class C3 extends xe{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 w3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:c.getMessage("isNotObject"),fields:{result:[{type:"number",message:c.getMessage("isNotNumber")}],unit:{type:"string",message:c.getMessage("isNotString")}}})}}class xa extends Q{constructor(e){var n,i,a,r,u,l,o,s,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=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new FP(e==null?void 0:e.dataBind),this.defaultValue=new BP(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Ma.controlName,this.unitPosition=(u=e==null?void 0:e.unitPosition)!=null?u:"right",this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:c.getMessage("pleaseEnter"),this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(f=e==null?void 0:e.calcOnMounted)!=null?f:!1}}xa.Rules=C3,xa.RuntimeRules=w3;class Ma extends Z{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return c.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:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}Ma.controlEventKeys=["on_change"],Ma.controlFieldType=F.CALC,Ma.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[h.SHOW_UPPER_CASE,h.MICROMETER,h.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Qv extends ee{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"calc"}}Qv.controlFieldType=F.CALC;var Zv={Designer:Ma,Runtime:Qv,Property:xa};class I3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({validator(n,i){return e.required&&i.every(r=>!r)?Promise.reject(c.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class el extends Q{constructor(e){var n,i,a,r,u,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=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:c.getMessage("min"),this.placeholderEnd=(u=e==null?void 0:e.placeholderEnd)!=null?u:c.getMessage("max"),this.caption=(l=e==null?void 0:e.caption)!=null?l:tl.controlName}}el.RuntimeRules=I3;class tl extends Z{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return c.getMessage("searchNumberRange")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}tl.controlFieldType=F.DECIMAL_RANGE,tl.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Yv extends ee{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Yv.controlFieldType=F.DECIMAL_RANGE;var pv={Designer:tl,Runtime:Yv,Property:el};class S3 extends de{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 nl extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Vt.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:c.getMessage("startDate"),this.placeholderEnd=(f=e==null?void 0:e.placeholderEnd)!=null?f:c.getMessage("endDate"),this.caption=(d=e==null?void 0:e.caption)!=null?d:il.controlName,this.limitDateList=(b=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(T=>new Ou(T)))!=null?b:[]}}nl.RuntimeRules=S3;class il extends Z{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("timescope")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}il.controlFieldType=F.ARRAY,il.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class eg extends ee{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}eg.controlFieldType=F.ARRAY;var tg={Designer:il,Runtime:eg,Property:nl};class T3 extends xe{constructor(e){super(e),this.dataBind={type:"any"}}}class O3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class $a extends Q{constructor(e){var n,i,a,r,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ki.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}$a.Rules=T3,$a.RuntimeRules=O3;class ki extends Z{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return c.getMessage("vueFormItem")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}ki.controlFieldType=F.ANY,ki.controlEventKeys=[],ki.slots=["grid-table-toolbar-slot",pc.DEFAULT],ki.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_HIDE_CAPTION,h.REQUIRED,h.IS_SHOW_CAPTION_TIP,h.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ng extends ee{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ng.controlFieldType=F.ANY;var ig={Designer:ki,Runtime:ng,Property:$a};class A3 extends hi{constructor(e){super(e),this.listPageBind=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:c.getMessage("isNotString")},{type:"string",required:!0,message:c.getMessage("pleaseEnterList")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:c.getMessage("pleaseEnterForm")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class al extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m;super(e),this.options=Bt((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new zo(e==null?void 0:e.listPageBind),this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Va.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:c.getMessage("pleaseSelect"),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(o=e==null?void 0:e.showSelectedDetail)!=null?o:!1,this.selectedContentConfig=new Zo(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(b=>{var T;(T=this.multistageFilling)==null||T.push(new Ye(b))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(f=e==null?void 0:e.viewFormModelType)!=null?f:"window",this.formBind=new di(e==null?void 0:e.formBind),this.optionDisplayConfig=(d=e==null?void 0:e.optionDisplayConfig)!=null?d:[],this.canSearch=(m=e==null?void 0:e.canSearch)!=null?m:!1}}al.Rules=A3;class Va extends Z{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlName(){return c.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}}Va.controlFieldType=F.VARCHAR,Va.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_SHOW_CAPTION_TIP,h.CAN_SEARCH]},{key:"relation-setting",visible:!0,showItems:[h.CAN_VIEW_FORM,h.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],Va.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class ag extends ee{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}ag.controlFieldType=F.VARCHAR;var rg={Designer:Va,Runtime:ag,Property:al};class mc extends Pi{constructor(e){super(e)}}class ug extends Fi{constructor(e){super(e),this.props=new mc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("input")}static get controlType(){return"search-input"}}ug.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED]},{key:"super-setting",visible:!0}];class lg extends ee{constructor(e){super(e),this.props=new mc(e==null?void 0:e.props)}static get controlType(){return"search-input"}}lg.controlFieldType=F.VARCHAR;var og={Designer:ug,Runtime:lg,Property:mc};class R3 extends xe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],eu.call(this,e,on.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:c.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:c.getMessage("rootNodeIsRequired")}}}])}}class D3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ua extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b,T,w,D,y,O,_,E;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:on.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:c.getMessage("pleaseSelect"),this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(u=e==null?void 0:e.levelType)!=null?u:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(o=e==null?void 0:e.containsSubNode)!=null?o:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(f=e==null?void 0:e.isShowIncludeSub)!=null?f:!1,this.isDefaultCheckSub=(d=e==null?void 0:e.isDefaultCheckSub)!=null?d:!1,this.defaultCollapse=(m=e==null?void 0:e.defaultCollapse)!=null?m:"all",this.defaultCollapseLevel=(b=e==null?void 0:e.defaultCollapseLevel)!=null?b:1,this.datasourceBind=new Gh((T=e==null?void 0:e.datasourceBind)!=null?T:{attributes:on.controlCustomAttributes}),this.filterItemDatasourceBind=new Gh((w=e==null?void 0:e.filterItemDatasourceBind)!=null?w:{attributes:on.controlCustomAttributes}),this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.defaultDisplay=(y=e==null?void 0:e.defaultDisplay)!=null?y:!1,this.multistageFilling=(_=(O=e==null?void 0:e.multistageFilling)==null?void 0:O.map(N=>new Ye(N)))!=null?_:[],this.defaultValue=(E=e==null?void 0:e.defaultValue)!=null?E:[]}}Ua.Rules=R3,Ua.RuntimeRules=D3;class on extends Z{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return c.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}]}}on.controlEventKeys=["on_change","on_click"],on.controlFieldType=F.ARRAY,on.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.MULTIPLE,h.CAN_SEARCH,h.DEFAULT_DISPLAY,h.CONTAINS_SUB_NODE,h.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 sg extends ee{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"tree"}}sg.controlFieldType=F.ARRAY;var cg={Designer:on,Runtime:sg,Property:Ua};class N3 extends xe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],this.externalScope={type:"any"},eu.call(this,e,xi.controlCustomAttributes),e.externalType===ln.ASSIGN&&(this.externalScope={type:"array",required:!0,message:c.getMessage("pleaseAssignExternal")})}}class P3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ha extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b,T,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=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(o=e==null?void 0:e.caption)!=null?o:xi.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:c.getMessage("pleaseEnterNameorEmail"),this.datasourceBind=new Qr((f=e==null?void 0:e.datasourceBind)!=null?f:{attributes:xi.controlCustomAttributes}),this.datasourceType=(d=e==null?void 0:e.datasourceType)!=null?d:tc.INTERNAL,this.insideType=(m=e==null?void 0:e.insideType)!=null?m:nc.ADMIN,this.externalType=(b=e==null?void 0:e.externalType)!=null?b:ln.ALL,this.externalScope=(T=e==null?void 0:e.externalScope)!=null?T:[],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(D=>{var y;(y=this.multistageFilling)==null||y.push(new Ye(D))}))}}Ha.Rules=N3,Ha.RuntimeRules=P3;class xi extends Z{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlName(){return c.getMessage("people")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}xi.controlFieldType=F.EMPLOYEES,xi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.MULTIPLE,h.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 dg extends ee{constructor(e){super(e),this.props=new Ha(e==null?void 0:e.props)}static get controlType(){return"employee2"}}dg.controlFieldType=F.EMPLOYEES;var fg={Designer:xi,Runtime:dg,Property:Ha};class F3 extends xe{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:c.getMessage("pleaseSelectSignFile")},undersignedList:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectOnlyOne"),fields:e.signatureConfig.undersignedList.reduce((n,i,a)=>(n[a]={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:c.getMessage("pleaseSelectSigner")}}},signatureType:{type:"array",required:!0,min:1,message:c.getMessage("pleaseSelectSignType")},telephone:{type:"object",required:!0,validator(r,u,l){if(i.type==="public"&&Uo(u.value)&&u.value.length===0){l(c.getMessage("pleaseSelectPhoneOrEmail"));return}l()}},company:{type:"object",required:!0,validator(r,u,l){if(i.type==="public"&&i.signatureType.includes("company")&&Uo(u.value)&&u.value.length===0){l(c.getMessage("pleaseSelectCompanyName"));return}l()}}}},n),{})}}}}}class rl extends Q{constructor(e){var n,i,a,r,u,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:ja.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:c.getMessage("signature"),this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Mm(e==null?void 0:e.signatureConfig)}}rl.Rules=F3;class ja extends Z{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("electronicSignature")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}ja.controlEventKeys=["on_click","on_click_finish"],ja.controlFieldType=F.VARCHAR,ja.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.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 hg extends ee{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}hg.controlFieldType=F.VARCHAR;var mg={Designer:ja,Runtime:hg,Property:rl};class B3 extends xe{constructor(e){super(e),this.content={type:"string",required:!0,message:c.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,a){if(i.active&&!i.text){a(c.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,i,a){if(i.active&&!i.text){a(c.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,i,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(c.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class L3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Wa extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qa.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:c.getMessage("createWPS"),this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(u=e==null?void 0:e.addOnline)!=null?u:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(o=e==null?void 0:e.canDownload)!=null?o:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(f=e==null?void 0:e.canDelete)!=null?f:!1,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:o3,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.wpsSetting=new $m(e==null?void 0:e.wpsSetting),this.revisionsMode=(b=e==null?void 0:e.revisionsMode)!=null?b:!1}}Wa.Rules=B3,Wa.RuntimeRules=L3;class qa extends Z{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return c.getMessage("WPS")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}qa.controlEventKeys=["on_change","on_wps_open"],qa.controlFieldType=F.FILE,qa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[h.REQUIRED,h.IS_HIDE,h.IS_SHOW_CAPTION_TIP,h.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 vg extends ee{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"wps"}}vg.controlFieldType=F.FILE;var gg={Designer:qa,Runtime:vg,Property:Wa};class k3 extends xe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],this.businessScope={type:"any"},eu.call(this,e,Rn.controlCustomAttributes),e.businessType===ln.ASSIGN&&(this.businessScope={type:"array",required:!0,message:c.getMessage("pleaseAssignBusiness")})}}class x3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ga extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b,T,w,D;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=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Rn.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:c.getMessage("pleaseSelectDept"),this.datasourceBind=new Qr((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Rn.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Ru.INTERNAL,this.businessScope=(T=e==null?void 0:e.businessScope)!=null?T:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:ln.ALL,this.openMultistageFilling=(D=e==null?void 0:e.openMultistageFilling)!=null?D:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var O;(O=this.multistageFilling)==null||O.push(new Ye(y))}))}}Ga.Rules=k3,Ga.RuntimeRules=x3;class Rn extends Z{constructor(e){super(e),this.props=new Ga(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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}Rn.controlName=c.getMessage("department"),Rn.controlFieldType=F.DEPARTMENTS,Rn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.MULTIPLE,h.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 yg extends ee{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"department2"}}yg.controlFieldType=F.DEPARTMENTS;var _g={Designer:Rn,Runtime:yg,Property:Ga};class M3 extends xe{constructor(e){super(e),this.datasourceBind=[{type:"object",message:c.getMessage("isNotObject")}],this.businessScope={type:"any"},eu.call(this,e,Mi.controlCustomAttributes),e.businessType===ln.ASSIGN&&(this.businessScope={type:"array",required:!0,message:c.getMessage("pleaseAssignBusiness")})}}class $3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Ka extends Q{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b,T,w,D,y,O,_;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=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new zo(e==null?void 0:e.listPageBind),this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(o=e==null?void 0:e.displayLevel)!=null?o:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(f=e==null?void 0:e.caption)!=null?f:Mi.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:c.getMessage("pleaseSelectOrg"),this.datasourceBind=new TP((m=e==null?void 0:e.datasourceBind)!=null?m:{attributes:Mi.controlCustomAttributes}),this.datasourceType=(b=e==null?void 0:e.datasourceType)!=null?b:Ru.INTERNAL,this.businessScope=(T=e==null?void 0:e.businessScope)!=null?T:[],this.businessType=(w=e==null?void 0:e.businessType)!=null?w:ln.ALL,this.organizingFunction=(D=e==null?void 0:e.organizingFunction)!=null?D:void 0,this.organizationView=(y=e==null?void 0:e.organizationView)!=null?y:void 0,this.showSelectedDetail=(O=e==null?void 0:e.showSelectedDetail)!=null?O:!1,this.selectedContentConfig=new Zo(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var N;(N=this.multistageFilling)==null||N.push(new Ye(E))}))}}Ka.Rules=M3,Ka.RuntimeRules=$3;class Mi extends Z{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return c.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:a}=this.props;n.props.displayLevel=i,n.props.showSubDept=a}return n}}Mi.controlFieldType=F.DEPARTMENTS,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[h.CAPTION,h.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:[h.REQUIRED,h.IS_HIDE,h.IS_HIDE_CAPTION,h.MULTIPLE,h.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 bg extends ee{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}bg.controlFieldType=F.DEPARTMENTS;var Eg={Designer:Mi,Runtime:bg,Property:Ka};class V3 extends xe{constructor(e){super(e),this.dataBind={type:"any"}}}class U3 extends de{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class za extends Q{constructor(e){var n,i,a,r,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xa.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(u=e==null?void 0:e.isInlineEdit)!=null?u:!1}}za.Rules=V3,za.RuntimeRules=U3;class Xa extends Z{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return c.getMessage("vuePage")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return H.VUE_PAGE}}Xa.controlFieldType=F.ANY,Xa.controlEventKeys=[],Xa.setting=[];class Cg extends ee{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return H.VUE_PAGE}}Cg.controlFieldType=F.ANY;var wg={Designer:Xa,Runtime:Cg,Property:za},H3=Object.freeze({__proto__:null,Input:gv,Checkbox:_v,Radio:Ev,Number:wv,DatePicker:Sv,DateRange:Ov,Textarea:Rv,RichText:Nv,Select:Fv,SelectMultiple:Lv,Employee:xv,Image:Vv,Attachment:Mv,Amount:Hv,Score:Wv,Address:Gv,Department:zv,AutoNumber:Jv,Calc:Zv,SearchNumberRange:pv,SearchDateRange:tg,VueFormItem:ig,SelectRelation:rg,SearchInput:og,Tree:cg,Employee2:fg,ElectronicSignature:mg,WPS:gg,Department2:_g,OrganizationSelection:Eg,VuePage:wg});class Ig extends _e{static get controlName(){return c.getMessage("grid")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ig.excludes=[H.GRID];class j3 extends we{static get controlType(){return"grid"}constructor(e){super(e)}}var Sg={Designer:Ig,Runtime:j3,Property:ve};const W3=24;class Dn extends ve{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:W3,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Ja extends _e{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return c.getMessage("col")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Ja.excludes=[H.COL,H.SUBTABLE,H.SUBTABLE_COLUMN,H.GRID_LAYOUT_CONTAINER,H.DIVIDER],Ja.childrenMaxLength=1;class vc extends we{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"col"}}var Tg={Designer:Ja,Runtime:vc,Property:Dn};class ul extends ve{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 ll extends _e{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlName(){return c.getMessage("row")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}ll.excludes=[H.ROW],ll.setting=[{key:"col-setting",visible:!0}];class Og extends we{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ag={Designer:ll,Runtime:Og,Property:ul};const q3=4;class ol extends ll{static get controlName(){return c.getMessage("gridRow")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}ol.excludes=[H.GRID_ROW],ol.setting=[],ol.childrenMaxLength=q3;class G3 extends Og{static get controlType(){return"grid-row"}constructor(e){super(e)}}class K3 extends ul{constructor(e){super(e)}}var Rg={Designer:ol,Runtime:G3,Property:K3};class z3 extends ve.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}}}class sl extends ve{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:c.getMessage("cardGroup"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(a=e==null?void 0:e.collapse)!=null?a:"none"}}sl.Rules=z3;class gc extends _e{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("cardGroup")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}gc.setting=[{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],gc.excludes=[H.CARD_GROUP];class X3 extends we{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Dg={Designer:gc,Runtime:X3,Property:sl};class J3 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:c.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class cl extends ve{constructor(e){var n,i,a,r,u;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=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.metaAutoWidth=new gP(e==null?void 0:e.metaAutoWidth)}}cl.Rules=J3;class gt extends _e{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}}gt.controlName=c.getMessage("subtableColumn"),gt.controlType="subtable-column",gt.controlIcon="subtable-column",gt.childrenMaxLength=1,gt.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],gt.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"common-setting",showItems:[h.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Ng extends we{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}}Ng.controlType="subtable-column";var Pg={Designer:gt,Runtime:Ng,Property:cl};class yc extends ve{constructor(e){super(e)}}class Nn extends _e{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}}Nn.controlName=c.getMessage("subtableRow"),Nn.controlType="subtable-row",Nn.controlIcon="subtable-row",Nn.childrenMaxLength=1,Nn.excludes=[H.SUBTABLE,H.SUBTABLE_COLUMN,H.SUBTABLE_ROW,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],Nn.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0}];class Q3 extends we{constructor(e){super(e),this.props=new yc(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Fg={Designer:Nn,Runtime:Q3,Property:yc};class _c extends ve{constructor(e){var n,i,a,r,u,l,o,s,f,d;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=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(u=e==null?void 0:e.fieldType)!=null?u:F.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.textCleanFormart=(o=e==null?void 0:e.textCleanFormart)!=null?o:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(f=e==null?void 0:e.timestampDateType)!=null?f:Vt.DATE,this.departmentDisplayLevel=(d=e==null?void 0:e.departmentDisplayLevel)!=null?d:1}}class Pn extends _e{constructor(e){super(e),this.props=new _c(e==null?void 0:e.props)}}Pn.controlName="\u5217\u8868\u5355\u5143\u683C",Pn.controlType="gridtable-column",Pn.controlIcon="gridtable-column",Pn.childrenMaxLength=1,Pn.excludes=[H.GRID_TABLE,H.GRID_TABLE_COLUMN,H.ROW,H.COL,H.CARD_GROUP,H.DIVIDER,H.TEXT],Pn.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Bg extends we{constructor(e){super(e),this.props=new _c(e==null?void 0:e.props)}}Bg.controlType="gridtable-column";var Lg={Designer:Pn,Runtime:Bg,Property:_c};class bc extends ve{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 Ec extends _e{constructor(e){super(e),this.props=new bc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("gridLayoutContainer")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}Ec.excludes=[H.GRID_LAYOUT_CONTAINER,H.CARD_GROUP,H.TAB],Ec.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class Z3 extends we{constructor(e){super(e),this.props=new bc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var kg={Designer:Ec,Runtime:Z3,Property:bc};class Cc extends ve{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class Y3 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")}}}class dl extends ve{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Za.controlName}}dl.Rules=Y3;class Qa extends _e{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("tabPane")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Qa.excludes=[H.TAB],Qa.setting=[{key:"caption",showItems:[h.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class p3 extends we{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var xg={Designer:Qa,Runtime:p3,Property:dl};class Za extends _e{constructor(e){var n;super(e),this.props=new Cc(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Qa,new Qa]}static get controlName(){return c.getMessage("tab")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Za.excludes=[H.TAB],Za.controlEventKeys=["on_change_tab"],Za.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class e1 extends we{constructor(e){super(e),this.props=new Cc(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Mg={Designer:Za,Runtime:e1,Property:Cc};class $g extends ve{constructor(e){super(e)}}class Vg extends _e{constructor(e){super(e),this.props=new $g({}),this.children=(e==null?void 0:e.children)||[new Ja({props:new Dn({span:12})}),new Ja({props:new Dn({span:12})})]}static get controlName(){return c.getMessage("toolbox")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Vg.excludes=[H.GRID_ROW,H.ROW,H.GRID,H.SUBTABLE,H.TAB,H.TOOLBOX];class t1 extends we{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new vc({props:new Dn({span:12})}),new vc({props:new Dn({span:12})})]}}var Ug={Designer:Vg,Runtime:t1,Property:$g};class n1 extends On{constructor(e){super(e),this.push({type:"object",fields:{}})}}class i1 extends De{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:c.getMessage("pleaseEnterFieldCode")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:c.getMessage("pleaseEnterAliasCode")},datasourceBind:[{type:"object",message:c.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectDataCode")},svcCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectSvcCode")}}}],relationFields:[{type:"array",message:c.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectJoinFieldCode")},mainFieldCode:{type:"string",required:!0,message:c.getMessage("pleaseSelectMainFieldCode")}}}}]}}]),fs.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 Ya extends ve{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b;super(e),this.datasourceBind=new He(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=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new CP(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(u=e==null?void 0:e.isShowJoinRelation)!=null?u:!1,this.joinRelation=new IP(e==null?void 0:e.joinRelation),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(f=e==null?void 0:e.isFixedHeader)!=null?f:!1,this.isShowSelection=(d=e==null?void 0:e.isShowSelection)!=null?d:!1,this.isAllLoaded=(m=e==null?void 0:e.isAllLoaded)!=null?m:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(b=e==null?void 0:e.countLimit)!=null?b:1e5,this.rowStyle=new VP(e==null?void 0:e.rowStyle)}}Ya.Rules=i1,Ya.RuntimeRules=n1;class pa extends _e{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return c.getMessage("listView")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}pa.slotPosition={left:"list-view-left-slot"},pa.excludes=[H.ROW],pa.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"],pa.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 a1 extends we{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Hg={Designer:pa,Runtime:a1,Property:Ya};class r1 extends On{constructor(e){super(e),this.push({type:"object",fields:{}})}}class fl extends ve{constructor(e){var n,i,a,r,u,l;super(e),this.save=new pt((n=e==null?void 0:e.save)!=null?n:{content:c.getMessage("save"),type:"save",isShow:!1}),this.cancel=new pt((i=e==null?void 0:e.cancel)!=null?i:{content:c.getMessage("cancel"),type:"cancel",isShow:!1}),this.saveAs=new pt((a=e==null?void 0:e.saveAs)!=null?a:{content:c.getMessage("draft"),type:"saveAs",isShow:!1}),this.print=new pt((r=e==null?void 0:e.print)!=null?r:{content:c.getMessage("print"),type:"print",isShow:!1}),this.custom=((u=e==null?void 0:e.custom)!=null?u:[]).map(o=>new pt(o)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new He(e==null?void 0:e.datasourceBind)}}fl.RuntimeRules=r1;class jg extends _e{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlName(){return c.getMessage("dataView")}static get controlType(){return"data-view"}}jg.excludes=[];class u1 extends we{constructor(e){super(e),this.props=new fl(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Wg={Designer:jg,Runtime:u1,Property:fl};class l1 extends _e{static get controlName(){return c.getMessage("page")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class o1 extends we{static get controlType(){return"page"}constructor(e){super(e)}}class s1 extends ve{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 qg={Designer:l1,Runtime:o1,Property:s1};class c1 extends _e{static get controlName(){return c.getMessage("advancedContainer")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class d1 extends we{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class f1 extends ve{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new qm(e==null?void 0:e.flexConfig)}}var Gg={Designer:c1,Runtime:d1,Property:f1};class h1 extends _e{static get controlName(){return c.getMessage("positioningContainer")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class m1 extends we{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class v1 extends ve{constructor(e){super(e)}}var Kg={Designer:h1,Runtime:m1,Property:v1};class g1 extends _e{static get controlName(){return c.getMessage("position")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class y1 extends we{static get controlType(){return"position"}constructor(e){super(e)}}class _1 extends ve{constructor(e){var n,i,a,r;super(e),this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(i=e==null?void 0:e.heightSpan)!=null?i:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var zg={Designer:g1,Runtime:y1,Property:_1};class wc extends ve{constructor(e){var n,i,a;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=(a=e==null?void 0:e.align)!=null?a:"right"}}class hl extends _e{constructor(e){var n;super(e),this.props=new wc((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return c.getMessage("actionBar")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}hl.slotPosition={default:"action-bar-slot"},hl.excludes=[],hl.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE]},{key:"super-setting",visible:!0}];class b1 extends we{constructor(e){var n;super(e),this.props=new wc((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var Xg={Designer:hl,Runtime:b1,Property:wc},E1=Object.freeze({__proto__:null,Grid:Sg,Col:Tg,Row:Ag,GridRow:Rg,CardGroup:Dg,SubTableColumn:Pg,SubTableRow:Fg,GridTableColumn:Lg,GridLayoutContainer:kg,Tab:Mg,TabPane:xg,Toolbox:Ug,ListView:Hg,DataView:Wg,Page:qg,AdvancedContainer:Gg,PositioningContainer:Kg,Position:zg,ActionBar:Xg});class C1 extends De{constructor(e){super(e),this.caption={type:"string",required:!0,message:c.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:c.getMessage("isNotNumber")},{type:"number",min:0,message:c.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:c.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:c.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:c.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:c.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class w1 extends On{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:c.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,a){i.length<e.limitRows&&a(c.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:c.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}const Jg=class extends fu{constructor(t,e){var n,i,a,r,u,l,o,s,f,d,m,b,T,w,D,y,O,_,E,N,R,S,B,L,z,ke,W,ge,Xe,cn,it,dn,fn;super(t,e,Jg.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:tr.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.openType=(u=e==null?void 0:e.openType)!=null?u:"default",this.formKey=(l=e==null?void 0:e.formKey)!=null?l:"",this.useCustomHeight=(o=e==null?void 0:e.useCustomHeight)!=null?o:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:jm,this.printMode=(f=e==null?void 0:e.printMode)!=null?f:"row",this.limitRows=(d=e==null?void 0:e.limitRows)!=null?d:1,this.maxRows=(m=e==null?void 0:e.maxRows)!=null?m:null,this.defaultRows=(b=e==null?void 0:e.defaultRows)!=null?b:1,this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.canAdd=(T=e==null?void 0:e.canAdd)!=null?T:!0,this.canDelete=(w=e==null?void 0:e.canDelete)!=null?w:!0,this.canCheck=(D=e==null?void 0:e.canCheck)!=null?D:!1,this.canEdit=(y=e==null?void 0:e.canEdit)!=null?y:!1,this.canImport=(O=e==null?void 0:e.canImport)!=null?O:!1,this.canExport=(_=e==null?void 0:e.canExport)!=null?_:!1,this.canClear=(E=e==null?void 0:e.canClear)!=null?E:!0,this.serverPagination=(N=e==null?void 0:e.serverPagination)!=null?N:!1,this.isShowCaptionTip=(R=e==null?void 0:e.isShowCaptionTip)!=null?R:!1,this.captionTip=(S=e==null?void 0:e.captionTip)!=null?S:"",this.mobileShowType=(B=e==null?void 0:e.mobileShowType)!=null?B:"list",this.mobileDefaultNum=(L=e==null?void 0:e.mobileDefaultNum)!=null?L:10,this.dataStorageDoc=(z=e==null?void 0:e.dataStorageDoc)!=null?z:new yP,this.fixedColumn=(ke=e==null?void 0:e.fixedColumn)!=null?ke:[],this.mobileRowCaption=(W=e==null?void 0:e.mobileRowCaption)!=null?W:c.getMessage("detailed"),this.mobileIsTile=(ge=e==null?void 0:e.mobileIsTile)!=null?ge:!1,this.isPaste=(Xe=e==null?void 0:e.isPaste)!=null?Xe:!1,this.pageSize=(cn=e==null?void 0:e.pageSize)!=null?cn:10,this.pageSizeOptions=(it=e==null?void 0:e.pageSizeOptions)!=null?it:[10,20,50,100],this.importConfig=new Um(e==null?void 0:e.importConfig),this.exportConfig=new Hm(e==null?void 0:e.exportConfig),this.sortable=(dn=e==null?void 0:e.sortable)!=null?dn:!1,this.sortKey=(fn=e==null?void 0:e.sortKey)!=null?fn:{}}};let er=Jg;er.Rules=C1,er.RuntimeRules=w1;class tr extends Os{constructor(e){var n;super(e),this.props=new er(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 gt,new gt,new gt])}static get controlName(){return c.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 gt,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(i):this.props.headers.splice(a,0,i),i}}tr.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],tr.slotPosition={toolbar:"subtable-toolbar-slot"},tr.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[h.CAPTION,h.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[h.IS_HIDE,h.IS_SHOW_CAPTION_TIP,h.IS_PASTE,h.SERVER_PAGINATION,h.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 I1 extends Im{constructor(e){super(e),this.props=new er(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Ki("Method not implemented.")}getChildrenFormControl(){return[]}}var Qg={Designer:tr,Runtime:I1,Property:er};class Ic extends fu{constructor(e,n){var i,a,r,u,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=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(u=n==null?void 0:n.isShowCustomColumns)!=null?u:!0,this.pageSizeOptions=(l=n==null?void 0:n.pageSizeOptions)!=null?l:[10,20,50,100,500]}}class S1 extends Tt{constructor(e){super(e),this.caption.required=!1}}class ml extends Ie{constructor(e){var n,i,a,r,u,l,o,s;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:Fn.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(u=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?u:60,this.autoWidth.flex=(o=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?o:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}ml.Rules=S1;class Fn extends $e{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}Fn.controlType="order-column",Fn.controlName=c.getMessage("order"),Fn.controlIcon="order-column",Fn.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0}];class Sc extends Ve{constructor(e){super(e),this.props=new ml(e==null?void 0:e.props)}}Sc.controlType="order-column",Sc.controlFieldType=F.DECIMAL;var Zg={Designer:Fn,Runtime:Sc,Property:ml};class Tc extends Ie{constructor(e){var n,i,a,r,u,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:xt.controlName,this.showType=(u=e==null?void 0:e.showType)!=null?u:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class xt extends $e{constructor(e){super(e),this.props=new Tc(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Hu.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return Jn(this,null,function*(){return yield Xc(xt.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}xt.controlType="operation-column",xt.controlName=c.getMessage("operation"),xt.controlIcon="operation-column",xt.setting=[{key:"caption",showItems:[h.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 Oc extends Ve{constructor(e){super(e),this.props=new Tc(e==null?void 0:e.props)}}Oc.controlType="operation-column",Oc.controlFieldType=F.FILE;var Yg={Designer:xt,Runtime:Oc,Property:Tc};const T1=1e4;class Bn extends Os{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Ic(this,e==null?void 0:e.props),wt(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Fn,new xt]),this.excludes=ht(n),this.childrenMaxLength=i}static get controlName(){return c.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 mr($t({},e),{children:n})}validate(e,n){return Jn(this,null,function*(){return yield Xc(Bn.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Bn.slotPosition={toolbar:"grid-table-toolbar-slot"},Bn.setting=[{key:"list-fixed-header",visible:!0}],Bn.excludes=[],Bn.childrenMaxLength=T1;class O1 extends Im{constructor(e){super(e),this.props=new Ic(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Ki("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var pg={Designer:Bn,Runtime:O1,Property:Ic},A1=Object.freeze({__proto__:null,SubTable:Qg,GridTable:pg});class R1 extends Sm{constructor(e){super(e),rn.call(this,e)}}class vl extends Ie{constructor(e){var n,i,a,r,u,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ln.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.options=Bt((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.dictionaryTagConfig=(l=e==null?void 0:e.dictionaryTagConfig)!=null?l:{isTag:!1}}}vl.Rules=R1;class Ln extends $e{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}Ln.controlType="varchar-column",Ln.controlName=c.getMessage("varchar"),Ln.controlIcon="varchar-column",Ln.controlFieldType=F.VARCHAR,Ln.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 Ac extends Ve{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}}Ac.controlType="varchar-column",Ac.controlFieldType=F.VARCHAR;var ey={Designer:Ln,Runtime:Ac,Property:vl};class D1 extends Tt{constructor(e){super(e),rn.call(this,e)}}class gl extends Ie{constructor(e){var n,i,a,r;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:kn.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption)}}gl.Rules=D1;class kn extends $e{constructor(e){super(e),this.props=new gl(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}}kn.controlType="text-column",kn.controlName=c.getMessage("long"),kn.controlIcon="text-column",kn.controlFieldType=F.TEXT,kn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 Rc extends Ve{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}Rc.controlType="text-column",Rc.controlFieldType=F.TEXT;var ty={Designer:kn,Runtime:Rc,Property:gl};class N1 extends Tt{constructor(e){super(e),rn.call(this,e)}}class yl extends Ie{constructor(e){var n,i,a,r,u,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:xn.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.options=Bt((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(o=e==null?void 0:e.showLinkOperation)!=null?o:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption)}}yl.Rules=N1;class xn extends $e{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:a}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=a}return n}}xn.controlType="decimal-column",xn.controlName=c.getMessage("decimal"),xn.controlIcon="decimal-column",xn.controlFieldType=F.DECIMAL,xn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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:[h.MICROMETER,h.PRECISION,h.PERCENTAGE],visible:!0},{key:"column-align-content",visible:!0},{key:"column-sort",visible:!0},{key:"column-statistics",visible:!0}];class Dc extends Ve{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}}Dc.controlType="decimal-column",Dc.controlFieldType=F.DECIMAL;var ny={Designer:xn,Runtime:Dc,Property:yl};class P1 extends Tt{constructor(e){super(e),rn.call(this,e)}}class _l extends Ie{constructor(e){var n,i,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Vt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Mn.controlName}}_l.Rules=P1;class Mn extends $e{constructor(e){super(e),this.props=new _l(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}}Mn.controlType="timescope-column",Mn.controlName=c.getMessage("timescope"),Mn.controlIcon="timescope-column",Mn.controlFieldType=F.TIMESCOPE,Mn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 Nc extends Ve{constructor(e){super(e),this.props=new _l(e==null?void 0:e.props)}}Nc.controlType="timescope-column",Nc.controlFieldType=F.TIMESCOPE;var iy={Designer:Mn,Runtime:Nc,Property:_l};class F1 extends Tt{constructor(e){super(e),rn.call(this,e)}}class bl extends Ie{constructor(e){var n,i,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Vt.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:$n.controlName}}bl.Rules=F1;class $n extends $e{constructor(e){super(e),this.props=new bl(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}}$n.controlType="timestamp-column",$n.controlName=c.getMessage("timestamp"),$n.controlIcon="timestamp-column",$n.controlFieldType=F.TIMESTAMP,$n.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 Pc extends Ve{constructor(e){super(e),this.props=new bl(e==null?void 0:e.props)}}Pc.controlType="timestamp-column",Pc.controlFieldType=F.TIMESTAMP;var ay={Designer:$n,Runtime:Pc,Property:bl};class B1 extends Sm{constructor(e){super(e),rn.call(this,e)}}class El extends Ie{constructor(e){var n,i,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vn.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new He(e==null?void 0:e.datasourceBind),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.options=Bt((r=e==null?void 0:e.options)!=null?r:[{}])}}El.Rules=B1;class Vn extends $e{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Vn.controlType="array-column",Vn.controlName=c.getMessage("array"),Vn.controlIcon="array-column",Vn.controlFieldType=F.ARRAY,Vn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 Fc extends Ve{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Fc.controlType="array-column",Fc.controlFieldType=F.ARRAY;var ry={Designer:Vn,Runtime:Fc,Property:El};class Bc extends Ie{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Un.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Un extends $e{constructor(e){super(e),this.props=new Bc(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}}Un.controlType="department-column",Un.controlName=c.getMessage("department"),Un.controlIcon="department-column",Un.controlFieldType=F.DEPARTMENTS,Un.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 Lc extends Ve{constructor(e){super(e),this.props=new Bc(e==null?void 0:e.props)}}Lc.controlType="department-column",Lc.controlFieldType=F.DEPARTMENTS;var uy={Designer:Un,Runtime:Lc,Property:Bc};class L1 extends Tt{constructor(e){super(e),rn.call(this,e)}}class Cl extends Ie{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption)}}Cl.Rules=L1;class Hn extends $e{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}Hn.controlType="auto-number-column",Hn.controlName=c.getMessage("autoNumber"),Hn.controlIcon="auto-number-column",Hn.controlFieldType=F.AUTO_NUMBER,Hn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 kc extends Ve{constructor(e){super(e),this.props=new Cl(e==null?void 0:e.props)}}kc.controlType="auto-number-column",kc.controlFieldType=F.AUTO_NUMBER;var ly={Designer:Hn,Runtime:kc,Property:Cl};class xc extends Ie{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:jn.controlName}}class jn extends $e{constructor(e){super(e),this.props=new xc(e==null?void 0:e.props)}}jn.controlType="file-column",jn.controlName=c.getMessage("file"),jn.controlIcon="file-column",jn.controlFieldType=F.FILE,jn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 Mc extends Ve{constructor(e){super(e),this.props=new xc(e==null?void 0:e.props)}}Mc.controlType="file-column",Mc.controlFieldType=F.FILE;var oy={Designer:jn,Runtime:Mc,Property:xc};class $c extends Ie{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Wn.controlName}}class Wn extends $e{constructor(e){super(e),this.props=new $c(e==null?void 0:e.props)}}Wn.controlType="image-column",Wn.controlName=c.getMessage("image"),Wn.controlIcon="image-column",Wn.controlFieldType=F.IMAGE,Wn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 Vc extends Ve{constructor(e){super(e),this.props=new $c(e==null?void 0:e.props)}}Vc.controlType="image-column",Vc.controlFieldType=F.IMAGE;var sy={Designer:Wn,Runtime:Vc,Property:$c};class Uc extends Ie{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:qn.controlName}}class qn extends $e{constructor(e){super(e),this.props=new Uc(e==null?void 0:e.props)}}qn.controlType="people-column",qn.controlName=c.getMessage("people"),qn.controlIcon="people-column",qn.controlFieldType=F.EMPLOYEES,qn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 Hc extends Ve{constructor(e){super(e),this.props=new Uc(e==null?void 0:e.props)}}Hc.controlType="people-column",Hc.controlFieldType=F.EMPLOYEES;var cy={Designer:qn,Runtime:Hc,Property:Uc};class k1 extends Tt{constructor(e){super(e),rn.call(this,e)}}class wl extends Ie{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Gn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption)}}wl.Rules=k1;class Gn extends $e{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}Gn.controlType="location-column",Gn.controlName=c.getMessage("location"),Gn.controlIcon="location-column",Gn.controlFieldType=F.ADDRESS,Gn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 jc extends Ve{constructor(e){super(e),this.props=new wl(e==null?void 0:e.props)}}jc.controlType="location-column",jc.controlFieldType=F.ADDRESS;var dy={Designer:Gn,Runtime:jc,Property:wl};class x1 extends Tt{constructor(e){super(e),this.sortFieldCode={type:"string",message:c.getMessage("pleaseSelectSortFieldCode")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class Il extends Ie{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Mt.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(a=e==null?void 0:e.sortFieldCode)!=null?a:""}}Il.Rules=x1;const M1=1;class Mt extends $e{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Il(e==null?void 0:e.props),wt(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=ht(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}}Mt.controlType="custom-column",Mt.controlName=c.getMessage("custom"),Mt.controlIcon="custom-column",Mt.slots=["column-column-slot"],Mt.excludes=[],Mt.childrenMaxLength=M1,Mt.setting=[{key:"caption",showItems:[h.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 fy extends Ve{constructor(e){super(e),this.props=new Il(e==null?void 0:e.props),wt(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}fy.controlType="custom-column";var hy={Designer:Mt,Runtime:fy,Property:Il};class Wc extends Ie{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName,this.datasourceBind=new Qr((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:sn.controlCustomAttributes})}}class sn extends $e{constructor(e){super(e),this.props=new Wc(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}sn.controlType="employee-column",sn.controlName=c.getMessage("employee"),sn.controlIcon="employee-column",sn.controlFieldType=F.EMPLOYEES,sn.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[h.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 qc extends Ve{constructor(e){super(e),this.props=new Wc(e==null?void 0:e.props)}}qc.controlType="employee-column",qc.controlFieldType=F.EMPLOYEES;var my={Designer:sn,Runtime:qc,Property:Wc};class Gc extends Ie{constructor(e){var n,i,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Kn.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ft(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1}}class Kn extends $e{constructor(e){super(e),this.props=new Gc(e==null?void 0:e.props)}}Kn.controlType="approval-status-column",Kn.controlName=c.getMessage("approvalStatusColumn"),Kn.controlIcon="approval-status-column",Kn.excludes=[],Kn.setting=[{key:"caption",showItems:[h.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 vy extends Ve{constructor(e){super(e),this.props=new Gc(e==null?void 0:e.props)}}vy.controlType="approval-status-column";var gy={Designer:Kn,Runtime:vy,Property:Gc},$1=Object.freeze({__proto__:null,VarcharColumn:ey,TextColumn:ty,DecimalColumn:ny,TimescopeColumn:iy,TimestampColumn:ay,ArrayColumn:ry,DepartmentColumn:uy,AutoNumberColumn:ly,FileColumn:oy,ImageColumn:sy,PeopleColumn:cy,LocationColumn:dy,CustomColumn:hy,OrderColumn:Zg,OperationColumn:Yg,EmployeeColumn:my,ApprovalStatusColumn:gy});class V1 extends On{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Sl extends Ms{constructor(e){var n,i,a,r,u,l,o,s,f,d,m,b;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=(a=e==null?void 0:e.viewType)!=null?a:"mini",this.search=new pt((r=e==null?void 0:e.search)!=null?r:{content:c.getMessage("query"),isShow:!0}),this.cancel=new pt((u=e==null?void 0:e.cancel)!=null?u:{content:c.getMessage("reset"),isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((o=e==null?void 0:e.custom)!=null?o:[]).map(T=>new pt(T)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(f=e==null?void 0:e.childMinWidth)!=null?f:230,this.colGap=(d=e==null?void 0:e.colGap)!=null?d:24,this.viewConfig=(m=e==null?void 0:e.viewConfig)!=null?m:[],this.simpleConfig=(b=e==null?void 0:e.simpleConfig)!=null?b:[]}}Sl.RuntimeRules=V1;class Tl extends kB{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}Tl.controlType="simple-search",Tl.slotPosition={default:"search"},Tl.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:[h.IS_HIDE]},{key:"search-view-type",visible:!0}];class yy extends jB{constructor(e){var n;super(e),this.props=new Sl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}yy.controlType="simple-search";var _y={Designer:Tl,Runtime:yy,Property:Sl},U1=Object.freeze({__proto__:null,SimpleSearch:_y});class Kc extends Ws{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class H1 extends nL{constructor(e){super(e),this.props=new Kc(e==null?void 0:e.props)}static get controlName(){return c.getMessage("gridLayoutWrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class j1 extends sL{constructor(e){super(e),this.props=new Kc(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function ik(t){return t}var W1={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:c.getMessage("fullLine"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},by={Designer:H1,Runtime:j1,Property:Kc,Setting:W1},q1=Object.freeze({__proto__:null,GridLayoutWrap:by});I.ActionBar=Xg,I.Address=Gv,I.AdvancedContainer=Gg,I.Amount=Hv,I.ApprovalStatusColumn=gy,I.ArrayColumn=ry,I.AssignType=ln,I.Attachment=Mv,I.AutoNumber=Jv,I.AutoNumberColumn=ly,I.BatchDeleteButton=mv,I.BatchPrintListButton=dv,I.BatchPrintRecordListButton=fv,I.BatchSubmissionListButton=Qm,I.Button=Lm,I.Calc=Zv,I.CardGroup=Dg,I.Checkbox=_v,I.Col=Tg,I.CreateFormListButton=Jm,I.CustomColumn=hy,I.DATE_CONFIG_TYPE=km,I.DATE_LIMIT_TYPE=xm,I.Dashboard=uv,I.DataView=Wg,I.DatePicker=Sv,I.DateRange=Ov,I.DecimalColumn=ny,I.Department=zv,I.Department2=_g,I.DepartmentColumn=uy,I.DepartmentType=Ru,I.Divider=zm,I.ElectronicSignature=mg,I.ElectronicSignatureConfig=Mm,I.Employee=xv,I.Employee2=fg,I.EmployeeColumn=my,I.EncryptTypeEnum=Gm,I.Explain=Au,I.ExportConfig=Hm,I.ExportListButton=Ym,I.ExportRecordListButton=pm,I.ExportTemplate=va,I.FileColumn=oy,I.FlexStyleConfig=qm,I.FormSelectButton=tv,I.Grid=Sg,I.GridLayoutContainer=kg,I.GridLayoutWrap=by,I.GridRow=Rg,I.GridTable=pg,I.GridTableColumn=Lg,I.Image=Vv,I.ImageColumn=sy,I.ImportConfig=Um,I.ImportListBind=Vm,I.ImportRecordListButton=ev,I.Input=gv,I.InternalType=nc,I.InvoiceCheckButton=cv,I.LINE_STYLE=Ys,I.LimitDate=Ou,I.Link=Bm,I.ListSelectButton=nv,I.ListView=Hg,I.ListViewSelect=ov,I.LocationColumn=dy,I.Number=wv,I.OperationButton=hv,I.OperationColumn=Yg,I.OrderColumn=Zg,I.OrganizationSelection=Eg,I.OrganizeType=tc,I.Page=qg,I.Pagination=av,I.PeopleColumn=cy,I.Position=zg,I.PositioningContainer=Kg,I.PrintTemplate=Wm,I.Radio=Ev,I.RichText=Nv,I.Row=Ag,I.SCORE_TYPE=Zs,I.SUBTABLE_DEFAULT_MAX_HEIGHT=jm,I.Score=Wv,I.SearchDateRange=tg,I.SearchInput=og,I.SearchNumberRange=pv,I.Select=Fv,I.SelectMultiple=Lv,I.SelectRelation=rg,I.SimpleSearch=_y,I.SubTable=Qg,I.SubTableColumn=Pg,I.SubTableRow=Fg,I.SubmissionRecordListButton=Zm,I.Tab=Mg,I.TabPane=xg,I.Text=Fm,I.TextColumn=ty,I.TextOcrButton=sv,I.Textarea=Rv,I.TimescopeColumn=iy,I.TimestampColumn=ay,I.Title=Xm,I.TitleConfigEnum=un,I.Toolbox=Ug,I.Tree=cg,I.UndersignedPerson=ps,I.VarcharColumn=ey,I.VueFormItem=ig,I.VuePage=wg,I.WPS=gg,I.WPSSetting=$m,I.WpsOperationItem=ec,I.baseControls=GL,I.columnControls=$1,I.formControls=H3,I.initExpression=ga,I.layoutControls=E1,I.listControls=A1,I.searchControls=U1,I.wrapControls=q1,Object.defineProperty(I,"__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 I;(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"})(I||(I={}));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)}},S={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=S:e.humps=S})(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,S,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 S=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),[S])),d.push(S),S===!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(S){return i(S),S.length?g(new hl(S,Uu(S))):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 S,v=[],E={};function T(x){if(Array.isArray(x)){var k;v=(k=v).concat.apply(k,x)}else v.push(x)}for(S=0;S<C.length;S++)T(C[S]);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(S){var v=S;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,S){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,S(M);if(!E)S(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))]),S(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),S(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 S;this.type=(S=n==null?void 0:n.type)!==null&&S!==void 0?S: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,S=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),S!==void 0&&(v.encryptedMode=S),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 S;(S=this.multistageFilling)==null||S.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,S,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=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!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(S=>{var v;(v=this.multistageFilling)==null||v.push(new te(S))}))}}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,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(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=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var 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,S,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=(S=e==null?void 0:e.organizingFunction)!=null?S: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 I.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 I.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=[I.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=[I.COL,I.SUBTABLE,I.SUBTABLE_COLUMN,I.GRID_LAYOUT_CONTAINER,I.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=[I.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=[I.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=[I.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=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.TEXT],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=[I.SUBTABLE,I.SUBTABLE_COLUMN,I.SUBTABLE_ROW,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.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=[I.GRID_TABLE,I.GRID_TABLE_COLUMN,I.ROW,I.COL,I.CARD_GROUP,I.DIVIDER,I.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=[I.GRID_LAYOUT_CONTAINER,I.CARD_GROUP,I.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=[I.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=[I.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=[I.GRID_ROW,I.ROW,I.GRID,I.SUBTABLE,I.TAB,I.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=[I.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,S,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=(S=e==null?void 0:e.canCheck)!=null?S:!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})});
|