@byteluck-fe/model-driven-controls 2.23.1-beta.4 → 2.23.2
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/README.md +99 -99
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +7 -7
- package/dist/esm/baseControls/Button/property.js +32 -32
- package/dist/esm/baseControls/ImportRecordListButton/property.js +2 -2
- package/dist/esm/baseControls/ListSelectButton/property.js +15 -15
- package/dist/esm/baseControls/ReferenceList/property.js +3 -3
- package/dist/esm/columnControls/ApprovalStatusColumn/property.js +11 -11
- package/dist/esm/columnControls/ArrayColumn/property.js +25 -25
- package/dist/esm/columnControls/AutoNumberColumn/property.js +9 -9
- package/dist/esm/columnControls/CustomColumn/property.js +3 -3
- package/dist/esm/columnControls/DecimalColumn/property.js +32 -32
- package/dist/esm/columnControls/DepartmentColumn/property.js +7 -7
- package/dist/esm/columnControls/EmployeeColumn/property.js +6 -6
- package/dist/esm/columnControls/FileColumn/property.js +2 -2
- package/dist/esm/columnControls/ImageColumn/property.js +2 -2
- package/dist/esm/columnControls/LocationColumn/property.js +9 -9
- package/dist/esm/columnControls/OperationColumn/property.js +11 -11
- package/dist/esm/columnControls/OrderColumn/property.js +3 -3
- package/dist/esm/columnControls/PeopleColumn/property.js +2 -2
- package/dist/esm/columnControls/TextColumn/property.js +17 -17
- package/dist/esm/columnControls/TimescopeColumn/property.js +13 -13
- package/dist/esm/columnControls/TimestampColumn/property.js +13 -13
- package/dist/esm/columnControls/VarcharColumn/property.js +24 -24
- package/dist/esm/formControls/Address/property.js +11 -11
- package/dist/esm/formControls/Amount/property.js +34 -34
- package/dist/esm/formControls/Attachment/property.js +8 -8
- package/dist/esm/formControls/Calc/property.js +25 -25
- package/dist/esm/formControls/DateRange/property.js +45 -45
- package/dist/esm/formControls/Department/property.js +18 -18
- package/dist/esm/formControls/Department2/property.js +22 -22
- package/dist/esm/formControls/Employee/property.js +2 -2
- package/dist/esm/formControls/Employee2/designer.js +6 -0
- package/dist/esm/formControls/Employee2/property.js +2 -2
- package/dist/esm/formControls/Image/designer.js +6 -6
- package/dist/esm/formControls/Image/property.js +6 -6
- package/dist/esm/formControls/Input/property.js +26 -26
- package/dist/esm/formControls/Number/property.js +50 -50
- package/dist/esm/formControls/OrganizationSelection/property.js +25 -25
- package/dist/esm/formControls/Select/property.js +12 -12
- package/dist/esm/formControls/SelectMultiple/property.js +12 -12
- package/dist/esm/formControls/SelectRelation/property.js +41 -41
- package/dist/esm/formControls/Textarea/property.js +19 -19
- package/dist/esm/formControls/WPS/designer.js +7 -7
- package/dist/esm/framework.js +36 -36
- package/dist/esm/index.js +6 -6
- package/dist/esm/layoutControls/CardGroup/property.js +5 -5
- package/dist/esm/layoutControls/DataView/property.js +12 -12
- package/dist/esm/layoutControls/ListView/property.js +66 -66
- package/dist/esm/layoutControls/Page/property.js +4 -4
- package/dist/esm/layoutControls/SubTableColumn/property.js +13 -13
- package/dist/esm/listControls/GridTable/property.js +29 -29
- package/dist/esm/listControls/SubTable/property.js +113 -113
- package/dist/esm/searchControls/SimpleSearch/property.js +45 -45
- package/dist/esm/wrapControls/GridLayoutWrap/Setting.js +6 -6
- package/dist/esm/wrapControls/GridLayoutWrap/designer.js +6 -6
- package/dist/esm/wrapControls/GridLayoutWrap/index.js +6 -6
- package/dist/esm/wrapControls/GridLayoutWrap/runtime.js +6 -6
- package/dist/index.umd.js +1 -1
- package/dist/types/api-doc-index.d.ts +90 -90
- package/dist/types/baseControls/BatchDeleteButton/designer.d.ts +14 -14
- package/dist/types/baseControls/BatchDeleteButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchDeleteButton/property.d.ts +14 -14
- package/dist/types/baseControls/BatchDeleteButton/runtime.d.ts +9 -9
- package/dist/types/baseControls/BatchPrintListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/BatchPrintListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchPrintListButton/property.d.ts +15 -15
- package/dist/types/baseControls/BatchPrintListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/BatchPrintRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/BatchPrintRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchPrintRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/BatchPrintRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/BatchSubmissionListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/BatchSubmissionListButton/index.d.ts +12 -12
- package/dist/types/baseControls/BatchSubmissionListButton/property.d.ts +27 -27
- package/dist/types/baseControls/BatchSubmissionListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Button/designer.d.ts +14 -14
- package/dist/types/baseControls/Button/index.d.ts +12 -12
- package/dist/types/baseControls/Button/property.d.ts +55 -55
- package/dist/types/baseControls/Button/runtime.d.ts +9 -9
- package/dist/types/baseControls/CreateFormListButton/designer.d.ts +15 -15
- package/dist/types/baseControls/CreateFormListButton/index.d.ts +12 -12
- package/dist/types/baseControls/CreateFormListButton/property.d.ts +15 -15
- package/dist/types/baseControls/CreateFormListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Dashboard/designer.d.ts +12 -12
- package/dist/types/baseControls/Dashboard/index.d.ts +12 -12
- package/dist/types/baseControls/Dashboard/property.d.ts +22 -22
- package/dist/types/baseControls/Dashboard/runtime.d.ts +10 -10
- package/dist/types/baseControls/Divider/designer.d.ts +12 -12
- package/dist/types/baseControls/Divider/index.d.ts +12 -12
- package/dist/types/baseControls/Divider/property.d.ts +9 -9
- package/dist/types/baseControls/Divider/runtime.d.ts +10 -10
- package/dist/types/baseControls/ExportListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/ExportListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ExportListButton/property.d.ts +9 -9
- package/dist/types/baseControls/ExportListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ExportRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/ExportRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ExportRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/ExportRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/FormSelectButton/designer.d.ts +15 -15
- package/dist/types/baseControls/FormSelectButton/index.d.ts +12 -12
- package/dist/types/baseControls/FormSelectButton/property.d.ts +19 -19
- package/dist/types/baseControls/FormSelectButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ImportRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/ImportRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/ImportRecordListButton/property.d.ts +12 -12
- package/dist/types/baseControls/ImportRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/InvoiceCheckButton/designer.d.ts +15 -15
- package/dist/types/baseControls/InvoiceCheckButton/index.d.ts +12 -12
- package/dist/types/baseControls/InvoiceCheckButton/property.d.ts +25 -25
- package/dist/types/baseControls/InvoiceCheckButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Link/designer.d.ts +13 -13
- package/dist/types/baseControls/Link/index.d.ts +12 -12
- package/dist/types/baseControls/Link/property.d.ts +9 -9
- package/dist/types/baseControls/Link/runtime.d.ts +10 -10
- package/dist/types/baseControls/ListSelectButton/designer.d.ts +15 -15
- package/dist/types/baseControls/ListSelectButton/index.d.ts +12 -12
- package/dist/types/baseControls/ListSelectButton/property.d.ts +42 -42
- package/dist/types/baseControls/ListSelectButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/ListViewSelect/designer.d.ts +12 -12
- package/dist/types/baseControls/ListViewSelect/index.d.ts +12 -12
- package/dist/types/baseControls/ListViewSelect/property.d.ts +15 -15
- package/dist/types/baseControls/ListViewSelect/runtime.d.ts +9 -9
- package/dist/types/baseControls/OperationButton/designer.d.ts +13 -13
- package/dist/types/baseControls/OperationButton/index.d.ts +12 -12
- package/dist/types/baseControls/OperationButton/property.d.ts +25 -25
- package/dist/types/baseControls/OperationButton/runtime.d.ts +9 -9
- package/dist/types/baseControls/Pagination/designer.d.ts +13 -13
- package/dist/types/baseControls/Pagination/index.d.ts +12 -12
- package/dist/types/baseControls/Pagination/property.d.ts +14 -14
- package/dist/types/baseControls/Pagination/runtime.d.ts +10 -10
- package/dist/types/baseControls/ReferenceList/designer.d.ts +14 -14
- package/dist/types/baseControls/ReferenceList/index.d.ts +12 -12
- package/dist/types/baseControls/ReferenceList/property.d.ts +22 -22
- package/dist/types/baseControls/ReferenceList/runtime.d.ts +9 -9
- package/dist/types/baseControls/SubmissionRecordListButton/designer.d.ts +16 -16
- package/dist/types/baseControls/SubmissionRecordListButton/index.d.ts +12 -12
- package/dist/types/baseControls/SubmissionRecordListButton/property.d.ts +6 -6
- package/dist/types/baseControls/SubmissionRecordListButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Text/designer.d.ts +12 -12
- package/dist/types/baseControls/Text/index.d.ts +12 -12
- package/dist/types/baseControls/Text/property.d.ts +12 -12
- package/dist/types/baseControls/Text/runtime.d.ts +10 -10
- package/dist/types/baseControls/TextOcrButton/designer.d.ts +15 -15
- package/dist/types/baseControls/TextOcrButton/index.d.ts +12 -12
- package/dist/types/baseControls/TextOcrButton/property.d.ts +25 -25
- package/dist/types/baseControls/TextOcrButton/runtime.d.ts +10 -10
- package/dist/types/baseControls/Title/designer.d.ts +14 -14
- package/dist/types/baseControls/Title/index.d.ts +12 -12
- package/dist/types/baseControls/Title/property.d.ts +19 -19
- package/dist/types/baseControls/Title/runtime.d.ts +10 -10
- package/dist/types/baseControls/index.d.ts +23 -23
- package/dist/types/baseControls/utils.d.ts +2 -2
- package/dist/types/columnControls/ApprovalStatusColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ApprovalStatusColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ApprovalStatusColumn/property.d.ts +28 -28
- package/dist/types/columnControls/ApprovalStatusColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/ArrayColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ArrayColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ArrayColumn/property.d.ts +48 -48
- package/dist/types/columnControls/ArrayColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/AutoNumberColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/AutoNumberColumn/index.d.ts +12 -12
- package/dist/types/columnControls/AutoNumberColumn/property.d.ts +24 -24
- package/dist/types/columnControls/AutoNumberColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/CustomColumn/designer.d.ts +20 -20
- package/dist/types/columnControls/CustomColumn/index.d.ts +12 -12
- package/dist/types/columnControls/CustomColumn/property.d.ts +18 -18
- package/dist/types/columnControls/CustomColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/DecimalColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/DecimalColumn/index.d.ts +12 -12
- package/dist/types/columnControls/DecimalColumn/property.d.ts +59 -59
- package/dist/types/columnControls/DecimalColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/DepartmentColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/DepartmentColumn/index.d.ts +12 -12
- package/dist/types/columnControls/DepartmentColumn/property.d.ts +16 -16
- package/dist/types/columnControls/DepartmentColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/EmployeeColumn/designer.d.ts +19 -19
- package/dist/types/columnControls/EmployeeColumn/index.d.ts +12 -12
- package/dist/types/columnControls/EmployeeColumn/property.d.ts +15 -15
- package/dist/types/columnControls/EmployeeColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/FileColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/FileColumn/index.d.ts +12 -12
- package/dist/types/columnControls/FileColumn/property.d.ts +10 -10
- package/dist/types/columnControls/FileColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/ImageColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/ImageColumn/index.d.ts +12 -12
- package/dist/types/columnControls/ImageColumn/property.d.ts +9 -9
- package/dist/types/columnControls/ImageColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/LocationColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/LocationColumn/index.d.ts +12 -12
- package/dist/types/columnControls/LocationColumn/property.d.ts +24 -24
- package/dist/types/columnControls/LocationColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/OperationColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/OperationColumn/index.d.ts +12 -12
- package/dist/types/columnControls/OperationColumn/property.d.ts +22 -22
- package/dist/types/columnControls/OperationColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/designer.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/index.d.ts +12 -12
- package/dist/types/columnControls/OrderColumn/property.d.ts +14 -14
- package/dist/types/columnControls/OrderColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/PeopleColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/PeopleColumn/index.d.ts +12 -12
- package/dist/types/columnControls/PeopleColumn/property.d.ts +9 -9
- package/dist/types/columnControls/PeopleColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TextColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TextColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TextColumn/property.d.ts +36 -36
- package/dist/types/columnControls/TextColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TimescopeColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TimescopeColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TimescopeColumn/property.d.ts +31 -31
- package/dist/types/columnControls/TimescopeColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/TimestampColumn/designer.d.ts +15 -15
- package/dist/types/columnControls/TimestampColumn/index.d.ts +12 -12
- package/dist/types/columnControls/TimestampColumn/property.d.ts +31 -31
- package/dist/types/columnControls/TimestampColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/VarcharColumn/designer.d.ts +14 -14
- package/dist/types/columnControls/VarcharColumn/index.d.ts +12 -12
- package/dist/types/columnControls/VarcharColumn/property.d.ts +52 -52
- package/dist/types/columnControls/VarcharColumn/runtime.d.ts +12 -12
- package/dist/types/columnControls/index.d.ts +17 -17
- package/dist/types/formControls/Address/designer.d.ts +14 -14
- package/dist/types/formControls/Address/index.d.ts +12 -12
- package/dist/types/formControls/Address/property.d.ts +28 -28
- package/dist/types/formControls/Address/runtime.d.ts +14 -14
- package/dist/types/formControls/Amount/designer.d.ts +16 -16
- package/dist/types/formControls/Amount/index.d.ts +12 -12
- package/dist/types/formControls/Amount/property.d.ts +76 -76
- package/dist/types/formControls/Amount/runtime.d.ts +12 -12
- package/dist/types/formControls/Attachment/designer.d.ts +15 -15
- package/dist/types/formControls/Attachment/index.d.ts +12 -12
- package/dist/types/formControls/Attachment/property.d.ts +32 -32
- package/dist/types/formControls/Attachment/runtime.d.ts +12 -12
- package/dist/types/formControls/AutoNumber/designer.d.ts +15 -15
- package/dist/types/formControls/AutoNumber/index.d.ts +12 -12
- package/dist/types/formControls/AutoNumber/property.d.ts +7 -7
- package/dist/types/formControls/AutoNumber/runtime.d.ts +12 -12
- package/dist/types/formControls/Calc/designer.d.ts +16 -16
- package/dist/types/formControls/Calc/index.d.ts +12 -12
- package/dist/types/formControls/Calc/property.d.ts +58 -58
- package/dist/types/formControls/Calc/runtime.d.ts +12 -12
- package/dist/types/formControls/Checkbox/designer.d.ts +15 -15
- package/dist/types/formControls/Checkbox/index.d.ts +12 -12
- package/dist/types/formControls/Checkbox/property.d.ts +30 -30
- package/dist/types/formControls/Checkbox/runtime.d.ts +12 -12
- package/dist/types/formControls/DatePicker/designer.d.ts +15 -15
- package/dist/types/formControls/DatePicker/index.d.ts +12 -12
- package/dist/types/formControls/DatePicker/property.d.ts +16 -16
- package/dist/types/formControls/DatePicker/runtime.d.ts +12 -12
- package/dist/types/formControls/DateRange/designer.d.ts +15 -15
- package/dist/types/formControls/DateRange/index.d.ts +12 -12
- package/dist/types/formControls/DateRange/property.d.ts +80 -80
- package/dist/types/formControls/DateRange/runtime.d.ts +12 -12
- package/dist/types/formControls/Department/designer.d.ts +15 -15
- package/dist/types/formControls/Department/index.d.ts +12 -12
- package/dist/types/formControls/Department/property.d.ts +47 -47
- package/dist/types/formControls/Department/runtime.d.ts +12 -12
- package/dist/types/formControls/Department2/designer.d.ts +20 -20
- package/dist/types/formControls/Department2/index.d.ts +12 -12
- package/dist/types/formControls/Department2/property.d.ts +64 -64
- package/dist/types/formControls/Department2/runtime.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/designer.d.ts +15 -15
- package/dist/types/formControls/ElectronicSignature/index.d.ts +12 -12
- package/dist/types/formControls/ElectronicSignature/property.d.ts +22 -22
- package/dist/types/formControls/ElectronicSignature/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee/designer.d.ts +14 -14
- package/dist/types/formControls/Employee/index.d.ts +12 -12
- package/dist/types/formControls/Employee/property.d.ts +21 -21
- package/dist/types/formControls/Employee/runtime.d.ts +12 -12
- package/dist/types/formControls/Employee2/designer.d.ts +20 -19
- package/dist/types/formControls/Employee2/index.d.ts +12 -12
- package/dist/types/formControls/Employee2/property.d.ts +34 -34
- package/dist/types/formControls/Employee2/runtime.d.ts +12 -12
- package/dist/types/formControls/Image/designer.d.ts +13 -13
- package/dist/types/formControls/Image/index.d.ts +12 -12
- package/dist/types/formControls/Image/property.d.ts +6 -6
- package/dist/types/formControls/Image/runtime.d.ts +8 -8
- package/dist/types/formControls/Input/designer.d.ts +15 -15
- package/dist/types/formControls/Input/index.d.ts +12 -12
- package/dist/types/formControls/Input/property.d.ts +57 -57
- package/dist/types/formControls/Input/runtime.d.ts +12 -12
- package/dist/types/formControls/Number/designer.d.ts +16 -16
- package/dist/types/formControls/Number/index.d.ts +12 -12
- package/dist/types/formControls/Number/property.d.ts +92 -92
- package/dist/types/formControls/Number/runtime.d.ts +12 -12
- package/dist/types/formControls/OrganizationSelection/designer.d.ts +20 -20
- package/dist/types/formControls/OrganizationSelection/index.d.ts +12 -12
- package/dist/types/formControls/OrganizationSelection/property.d.ts +73 -73
- package/dist/types/formControls/OrganizationSelection/runtime.d.ts +12 -12
- package/dist/types/formControls/Radio/designer.d.ts +15 -15
- package/dist/types/formControls/Radio/index.d.ts +12 -12
- package/dist/types/formControls/Radio/property.d.ts +22 -22
- package/dist/types/formControls/Radio/runtime.d.ts +12 -12
- package/dist/types/formControls/RichText/designer.d.ts +15 -15
- package/dist/types/formControls/RichText/index.d.ts +12 -12
- package/dist/types/formControls/RichText/property.d.ts +21 -21
- package/dist/types/formControls/RichText/runtime.d.ts +12 -12
- package/dist/types/formControls/Score/designer.d.ts +16 -16
- package/dist/types/formControls/Score/index.d.ts +12 -12
- package/dist/types/formControls/Score/property.d.ts +23 -23
- package/dist/types/formControls/Score/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/designer.d.ts +14 -14
- package/dist/types/formControls/SearchDateRange/index.d.ts +12 -12
- package/dist/types/formControls/SearchDateRange/property.d.ts +22 -22
- package/dist/types/formControls/SearchDateRange/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchInput/designer.d.ts +12 -12
- package/dist/types/formControls/SearchInput/index.d.ts +12 -12
- package/dist/types/formControls/SearchInput/property.d.ts +10 -10
- package/dist/types/formControls/SearchInput/runtime.d.ts +12 -12
- package/dist/types/formControls/SearchNumberRange/designer.d.ts +14 -14
- package/dist/types/formControls/SearchNumberRange/index.d.ts +12 -12
- package/dist/types/formControls/SearchNumberRange/property.d.ts +15 -15
- package/dist/types/formControls/SearchNumberRange/runtime.d.ts +12 -12
- package/dist/types/formControls/Select/designer.d.ts +14 -14
- package/dist/types/formControls/Select/index.d.ts +12 -12
- package/dist/types/formControls/Select/property.d.ts +37 -37
- package/dist/types/formControls/Select/runtime.d.ts +12 -12
- package/dist/types/formControls/SelectMultiple/designer.d.ts +14 -14
- package/dist/types/formControls/SelectMultiple/index.d.ts +12 -12
- package/dist/types/formControls/SelectMultiple/property.d.ts +40 -40
- package/dist/types/formControls/SelectMultiple/runtime.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/designer.d.ts +16 -16
- package/dist/types/formControls/SelectRelation/index.d.ts +12 -12
- package/dist/types/formControls/SelectRelation/property.d.ts +79 -79
- package/dist/types/formControls/SelectRelation/runtime.d.ts +12 -12
- package/dist/types/formControls/Textarea/designer.d.ts +15 -15
- package/dist/types/formControls/Textarea/index.d.ts +12 -12
- package/dist/types/formControls/Textarea/property.d.ts +46 -46
- package/dist/types/formControls/Textarea/runtime.d.ts +12 -12
- package/dist/types/formControls/Tree/designer.d.ts +20 -20
- package/dist/types/formControls/Tree/index.d.ts +12 -12
- package/dist/types/formControls/Tree/property.d.ts +34 -34
- package/dist/types/formControls/Tree/runtime.d.ts +11 -11
- package/dist/types/formControls/VueFormItem/designer.d.ts +16 -16
- package/dist/types/formControls/VueFormItem/index.d.ts +12 -12
- package/dist/types/formControls/VueFormItem/property.d.ts +18 -18
- package/dist/types/formControls/VueFormItem/runtime.d.ts +12 -12
- package/dist/types/formControls/VuePage/designer.d.ts +15 -15
- package/dist/types/formControls/VuePage/index.d.ts +12 -12
- package/dist/types/formControls/VuePage/property.d.ts +18 -18
- package/dist/types/formControls/VuePage/runtime.d.ts +12 -12
- package/dist/types/formControls/WPS/designer.d.ts +15 -15
- package/dist/types/formControls/WPS/index.d.ts +12 -12
- package/dist/types/formControls/WPS/property.d.ts +32 -32
- package/dist/types/formControls/WPS/runtime.d.ts +12 -12
- package/dist/types/formControls/index.d.ts +31 -31
- package/dist/types/framework.d.ts +245 -245
- package/dist/types/index.d.ts +17 -17
- package/dist/types/layoutControls/ActionBar/designer.d.ts +16 -16
- package/dist/types/layoutControls/ActionBar/index.d.ts +12 -12
- package/dist/types/layoutControls/ActionBar/property.d.ts +9 -9
- package/dist/types/layoutControls/ActionBar/runtime.d.ts +10 -10
- package/dist/types/layoutControls/AdvancedContainer/Setting.d.ts +2 -2
- package/dist/types/layoutControls/AdvancedContainer/designer.d.ts +10 -10
- package/dist/types/layoutControls/AdvancedContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/AdvancedContainer/property.d.ts +8 -8
- package/dist/types/layoutControls/AdvancedContainer/runtime.d.ts +9 -9
- package/dist/types/layoutControls/CardGroup/designer.d.ts +14 -14
- package/dist/types/layoutControls/CardGroup/index.d.ts +12 -12
- package/dist/types/layoutControls/CardGroup/property.d.ts +14 -14
- package/dist/types/layoutControls/CardGroup/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Col/designer.d.ts +14 -14
- package/dist/types/layoutControls/Col/index.d.ts +12 -12
- package/dist/types/layoutControls/Col/property.d.ts +8 -8
- package/dist/types/layoutControls/Col/runtime.d.ts +10 -10
- package/dist/types/layoutControls/DataView/designer.d.ts +11 -11
- package/dist/types/layoutControls/DataView/index.d.ts +12 -12
- package/dist/types/layoutControls/DataView/property.d.ts +33 -33
- package/dist/types/layoutControls/DataView/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Grid/designer.d.ts +11 -11
- package/dist/types/layoutControls/Grid/index.d.ts +12 -12
- package/dist/types/layoutControls/Grid/property.d.ts +2 -2
- package/dist/types/layoutControls/Grid/runtime.d.ts +9 -9
- package/dist/types/layoutControls/GridLayoutContainer/designer.d.ts +14 -14
- package/dist/types/layoutControls/GridLayoutContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/GridLayoutContainer/property.d.ts +8 -8
- package/dist/types/layoutControls/GridLayoutContainer/runtime.d.ts +10 -10
- package/dist/types/layoutControls/GridRow/designer.d.ts +16 -16
- package/dist/types/layoutControls/GridRow/index.d.ts +12 -12
- package/dist/types/layoutControls/GridRow/property.d.ts +6 -6
- package/dist/types/layoutControls/GridRow/runtime.d.ts +10 -10
- package/dist/types/layoutControls/GridTableColumn/designer.d.ts +23 -23
- package/dist/types/layoutControls/GridTableColumn/index.d.ts +12 -12
- package/dist/types/layoutControls/GridTableColumn/property.d.ts +19 -19
- package/dist/types/layoutControls/GridTableColumn/runtime.d.ts +10 -10
- package/dist/types/layoutControls/ListView/designer.d.ts +20 -20
- package/dist/types/layoutControls/ListView/index.d.ts +12 -12
- package/dist/types/layoutControls/ListView/property.d.ts +128 -128
- package/dist/types/layoutControls/ListView/runtime.d.ts +12 -12
- package/dist/types/layoutControls/Page/Setting.d.ts +2 -2
- package/dist/types/layoutControls/Page/designer.d.ts +10 -10
- package/dist/types/layoutControls/Page/index.d.ts +12 -12
- package/dist/types/layoutControls/Page/property.d.ts +15 -15
- package/dist/types/layoutControls/Page/runtime.d.ts +9 -9
- package/dist/types/layoutControls/Position/Setting.d.ts +2 -2
- package/dist/types/layoutControls/Position/designer.d.ts +10 -10
- package/dist/types/layoutControls/Position/index.d.ts +12 -12
- package/dist/types/layoutControls/Position/property.d.ts +9 -9
- package/dist/types/layoutControls/Position/runtime.d.ts +9 -9
- package/dist/types/layoutControls/PositioningContainer/Setting.d.ts +2 -2
- package/dist/types/layoutControls/PositioningContainer/designer.d.ts +10 -10
- package/dist/types/layoutControls/PositioningContainer/index.d.ts +12 -12
- package/dist/types/layoutControls/PositioningContainer/property.d.ts +5 -5
- package/dist/types/layoutControls/PositioningContainer/runtime.d.ts +9 -9
- package/dist/types/layoutControls/Row/designer.d.ts +15 -15
- package/dist/types/layoutControls/Row/index.d.ts +12 -12
- package/dist/types/layoutControls/Row/property.d.ts +8 -8
- package/dist/types/layoutControls/Row/runtime.d.ts +11 -11
- package/dist/types/layoutControls/SubTableColumn/designer.d.ts +23 -23
- package/dist/types/layoutControls/SubTableColumn/index.d.ts +12 -12
- package/dist/types/layoutControls/SubTableColumn/property.d.ts +39 -39
- package/dist/types/layoutControls/SubTableColumn/runtime.d.ts +10 -10
- package/dist/types/layoutControls/SubTableRow/designer.d.ts +20 -20
- package/dist/types/layoutControls/SubTableRow/index.d.ts +12 -12
- package/dist/types/layoutControls/SubTableRow/property.d.ts +6 -6
- package/dist/types/layoutControls/SubTableRow/runtime.d.ts +11 -11
- package/dist/types/layoutControls/Tab/designer.d.ts +16 -16
- package/dist/types/layoutControls/Tab/index.d.ts +12 -12
- package/dist/types/layoutControls/Tab/property.d.ts +7 -7
- package/dist/types/layoutControls/Tab/runtime.d.ts +11 -11
- package/dist/types/layoutControls/TabPane/designer.d.ts +14 -14
- package/dist/types/layoutControls/TabPane/index.d.ts +12 -12
- package/dist/types/layoutControls/TabPane/property.d.ts +13 -13
- package/dist/types/layoutControls/TabPane/runtime.d.ts +10 -10
- package/dist/types/layoutControls/Toolbox/designer.d.ts +14 -14
- package/dist/types/layoutControls/Toolbox/index.d.ts +12 -12
- package/dist/types/layoutControls/Toolbox/property.d.ts +6 -6
- package/dist/types/layoutControls/Toolbox/runtime.d.ts +10 -10
- package/dist/types/layoutControls/index.d.ts +19 -19
- package/dist/types/listControls/GridTable/designer.d.ts +26 -26
- package/dist/types/listControls/GridTable/index.d.ts +12 -12
- package/dist/types/listControls/GridTable/property.d.ts +45 -45
- package/dist/types/listControls/GridTable/runtime.d.ts +13 -13
- package/dist/types/listControls/SubTable/designer.d.ts +27 -27
- package/dist/types/listControls/SubTable/index.d.ts +12 -12
- package/dist/types/listControls/SubTable/property.d.ts +211 -211
- package/dist/types/listControls/SubTable/runtime.d.ts +13 -13
- package/dist/types/listControls/index.d.ts +2 -2
- package/dist/types/searchControls/SimpleSearch/designer.d.ts +13 -13
- package/dist/types/searchControls/SimpleSearch/index.d.ts +12 -12
- package/dist/types/searchControls/SimpleSearch/property.d.ts +84 -84
- package/dist/types/searchControls/SimpleSearch/runtime.d.ts +11 -11
- package/dist/types/searchControls/index.d.ts +1 -1
- package/dist/types/type.d.ts +116 -116
- package/dist/types/wrapControls/GridLayoutWrap/Setting.d.ts +2 -2
- package/dist/types/wrapControls/GridLayoutWrap/designer.d.ts +11 -11
- package/dist/types/wrapControls/GridLayoutWrap/index.d.ts +14 -14
- package/dist/types/wrapControls/GridLayoutWrap/property.d.ts +6 -6
- package/dist/types/wrapControls/GridLayoutWrap/runtime.d.ts +9 -9
- package/dist/types/wrapControls/index.d.ts +1 -1
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var LD=Object.defineProperty,ND=Object.defineProperties;var VD=Object.getOwnPropertyDescriptors;var rd=Object.getOwnPropertySymbols,HD=Object.getPrototypeOf,jD=Object.prototype.hasOwnProperty,qD=Object.prototype.propertyIsEnumerable,UD=Reflect.get;var od=(y,V,K)=>V in y?LD(y,V,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[V]=K,it=(y,V)=>{for(var K in V||(V={}))jD.call(V,K)&&od(y,K,V[K]);if(rd)for(var K of rd(V))qD.call(V,K)&&od(y,K,V[K]);return y},xl=(y,V)=>ND(y,VD(V));var Pl=(y,V,K)=>UD(HD(y),K,V);var kl=(y,V,K)=>new Promise((yu,xn)=>{var vu=ve=>{try{Pt(K.next(ve))}catch(kt){xn(kt)}},mu=ve=>{try{Pt(K.throw(ve))}catch(kt){xn(kt)}},Pt=ve=>ve.done?yu(ve.value):Promise.resolve(ve.value).then(vu,mu);Pt((K=K.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",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",mu="{caption}\u5FC5\u586B",Pt="\u8BF7\u8F93\u5165\u6807\u9898",ve="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",kt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",cd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",sd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",dd="\u8BF7\u7ED1\u5B9A\u8868\u5355",hd="\u8BF7\u7ED1\u5B9A\u5217\u8868",fd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",yd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",vd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",md="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",gd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",bd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Cd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ed="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",_d="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Bd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",wd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Dd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Fd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Ad="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Sd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Id="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Td="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Rd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",xd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Pd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",kd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Od="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Md="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$d="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ld="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Nd="\u8BF7\u9009\u62E9\u7701",Vd="\u8BF7\u9009\u62E9\u5E02",Hd="\u8BF7\u9009\u62E9\u533A",jd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",qd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ud="\u8BF7\u8F93\u5165\u5217\u5BBD",Wd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",zd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Kd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Gd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Xd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Qd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Jd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Zd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Yd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",eh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",th="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",uh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",lh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",rh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",oh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ch="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",sh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",dh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",hh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",fh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",yh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",vh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",mh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",gh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",bh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Ch="\u6279\u91CF\u5220\u9664",Eh="\u6279\u91CF\u6253\u5370",_h="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Bh="\u6309\u94AE",wh="\u521B\u5EFA\u5355\u636E",Dh="\u4EEA\u8868\u76D8",Fh="\u5206\u5272\u7EBF",Ah="\u5BFC\u51FA",Sh="\u8868\u5355\u64CD\u4F5C",Ih="\u5BFC\u5165",Th="\u53D1\u7968\u8BC6\u522B",Rh="\u94FE\u63A5",xh="\u5217\u8868\u9009\u62E9",Ph="\u5217\u8868\u89C6\u56FE",kh="\u64CD\u4F5C\u6309\u94AE",Oh="\u5206\u9875",Mh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",$h="\u8BF4\u660E\u6587\u5B57",Lh="\u6587\u5B57\u8BC6\u522B",Nh="\u6807\u9898\u7EC4\u4EF6",Vh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Hh="\u6570\u7EC4",jh="\u81EA\u52A8\u7F16\u53F7",qh="\u81EA\u5B9A\u4E49",Uh="\u6570\u503C",Wh="\u90E8\u95E8",zh="\u4EBA\u5458",Kh="\u9644\u4EF6",Gh="\u56FE\u7247",Xh="\u5730\u5740",Qh="\u64CD\u4F5C",Jh="\u5E8F\u53F7",Zh="\u4EBA\u5458",Yh="\u957F\u6587\u672C",ph="\u65E5\u671F\u533A\u95F4",ef="\u65E5\u671F",tf="\u77ED\u6587\u672C",nf="\u6362\u884C\u5BB9\u5668Wrap",uf="\u8868\u683C",af="\u660E\u7EC6\u5B50\u8868",lf="\u5730\u5740",rf="\u91D1\u989D",of="\u8BA1\u7B97\u516C\u5F0F",cf="\u591A\u9009",sf="\u7535\u5B50\u7B7E\u7AE0",df="\u5355\u884C\u6587\u672C",hf="\u6570\u5B57",ff="\u4E1A\u52A1\u7EC4\u7EC7",yf="\u5355\u9009",vf="\u5BCC\u6587\u672C",mf="\u8BC4\u5206",gf="\u6570\u5B57\u533A\u95F4",bf="\u4E0B\u62C9\u5355\u9009",Cf="\u4E0B\u62C9\u591A\u9009",Ef="\u5173\u8054\u5355\u9009",_f="\u591A\u884C\u6587\u672C",Bf="\u6811",wf="Vue\u5BB9\u5668",Df="Vue\u9875\u9762",Ff="\u5728\u7EBF\u6587\u6863",Af="\u6309\u94AE\u64CD\u4F5C\u680F",Sf="\u9AD8\u7EA7\u5BB9\u5668",If="\u5206\u7EC4",Tf="\u6805\u683C\u5217",Rf="\u6570\u636E\u5BB9\u5668",xf="\u753B\u5E03",Pf="\u6362\u884C\u5BB9\u5668",kf="\u6805\u683C\u7B49\u5206\u884C",Of="\u5217\u8868\u5BB9\u5668",Mf="\u81EA\u7531\u9875\u9762",$f="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Lf="\u5B9A\u4F4D\u5BB9\u5668",Nf="\u6805\u683C\u5E03\u5C40",Vf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Hf="\u660E\u7EC6\u5B50\u8868\u884C",jf="\u6807\u7B7E\u9875",qf="\u6807\u7B7E\u5355\u5143",Uf="\u5DE5\u5177\u680F",Wf="\u6279\u91CF\u63D0\u4EA4",zf="\u5BFC\u51FA\u8BB0\u5F55",Kf="\u5217\u8868\u89C6\u56FE",Gf="\u7ED3\u675F\u65F6\u95F4",Xf="\u5F00\u59CB\u65F6\u95F4",Qf="\u5355\u4F4D",Jf="\u7ED3\u679C",Zf="\u5E01\u79CD",Yf="\u7ED3\u675F\u65E5\u671F",pf="\u5F00\u59CB\u65E5\u671F",ey="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",ty="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",ny="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",iy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",uy="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",ay="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ly="\u8BF7\u9009\u62E9",ry="\u8BF7\u9009\u62E9\u7EC4\u7EC7",oy="\u8BF7\u9009\u62E9\u90E8\u95E8",cy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",sy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",dy="\u8BF7\u9009\u62E9\u5730\u5740",hy="\u5F39\u7A97\u786E\u8BA4\u65F6",fy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",yy="\u884C\u9009\u4E2D\u65F6",vy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",my="\u884C\u5220\u9664\u524D",gy="\u884C\u70B9\u51FB\u65F6",by="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Cy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Ey="\u91CD\u547D\u540D\u65F6",_y="\u4FDD\u5B58\u6587\u4EF6\u65F6",By="\u6253\u5F00\u6587\u4EF6\u65F6",wy="\u83B7\u53D6\u7126\u70B9\u65F6",Dy="\u5931\u53BB\u7126\u70B9\u65F6",Fy="\u7528\u6237\u8F93\u5165\u65F6",Ay="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Sy="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Iy="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ty="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ry="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",xy="\u641C\u7D22\u65F6",Py="\u503C\u53D1\u751F\u53D8\u5316\u65F6",ky="\u6267\u884C\u5B8C\u6210\u65F6",Oy="\u70B9\u51FB\u65F6",My="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",$y="\u8BF7\u8F93\u5165\u65E5\u671F",Ly="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Ny="\u8BF7\u8F93\u5165",Vy="\u9ED8\u8BA4\u6A21\u7248",Hy="\u5DE6\u53F3\u5E03\u5C40",jy="\u4E0A\u4E0B\u5E03\u5C40",qy="\u53EA\u8BFB",Uy="\u5FC5\u586B",Wy="\u63D0\u793A\u6587\u5B57",zy="\u9690\u85CF\u6807\u9898",Ky="\u6807\u9898\u5FC5\u586B",Gy="\u7EC4\u7EC7\u5F62\u6001",Xy="\u4E1A\u52A1\u7C7B\u578B",Qy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Jy="\u9690\u85CF",Zy="\u6D41\u7A0B\u72B6\u6001",Yy="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",py="\u5220\u9664",ev="\u7F16\u8F91",tv="\u67E5\u770B",nv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",iv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",uv="\u5145\u6EE1\u6574\u884C",av="\u6700\u5C0F\u503C",lv="\u6700\u5927\u503C",rv="\u65B0\u5EFA\u6587\u6863",ov="\u91CD\u7F6E",cv="\u67E5\u8BE2",sv="\u660E\u7EC6",dv="\u6253\u5370",hv="\u4FDD\u5B58\u8349\u7A3F",fv="\u4FDD\u5B58",yv="\u53D6\u6D88",vv="\u4E0A\u4F20\u56FE\u7247",mv="\u53D1\u8D77\u7B7E\u7F72",gv="\u4E0A\u4F20\u9644\u4EF6",bv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Cv="\u5F15\u7528\u5217\u8868",Ev="\u9009\u9879\u4E00",_v="\u9009\u9879\u4E8C",Bv="\u9009\u9879\u4E09",wv={isNotNumber:V,isNotString:K,isNotObject:yu,isNotArray:xn,isNotBoolean:vu,runtimeRequired:mu,pleaseEnterCaption:Pt,pleaseEnterCaptionTip:ve,pleaseEnterRowCaption:kt,pleaseEnterPlaceholder:cd,pleaseEnterFieldCode:sd,pleaseEnterForm:dd,pleaseEnterList:hd,pleaseEnterProcess:fd,pleaseEnterLabel:yd,pleaseEnterValue:vd,bizKeyNotBindFiled:md,pleaseSelectOneField:gd,pleaseEnterNumberRange:bd,pleaseEnterAValueGreaterThanMin:Cd,pleaseEnterAValueLessThanMax:Ed,numberRangeSetError:_d,stringRangeError:Bd,attachmentMaxSize:wd,pleaseEnterTotalScoreSetting:Dd,theTotalScoreMustNotBeLessThan1:Fd,scoreDefaultValueRange:Ad,attachmentLimitError:Sd,PleaseReselectTheOptionalQuantity:Id,TheMaximumLengthIsGreaterThanTheMinimumLength:Td,TheMinimumLengthIsGreaterThanTheMaximumLength:Rd,PleaseSelectTheCorrectOptionSettings:xd,optionIdIsRepeat:Pd,optionIsRequired:kd,pleaseEnterDataCode:Od,pleaseEnterValueFieldCode:Md,pleaseEnterSvcCode:$d,pleaseBindAtLeastOneDisplayValue:Ld,pleaseSelectProvince:Nd,pleaseSelectCity:Vd,pleaseSelectDistrict:Hd,limitRowsCannotBeLessThan0:jd,TheNumberOfRowsCannotBeLessThanMinRows:qd,pleaseEnterColumnWidth:Ud,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Wd,pleaseCompleteAllRulesAndConditions:zd,pleaseSelectControl:Kd,pleaseSelectAtLeastOneColumn:Gd,pleaseSelectFillBackMode:Xd,pleaseSelectDashboard:Qd,rootNodeIsRequired:Jd,theViewNameCannotBeEmpty:Zd,pleaseSelectOcrType:Yd,pleaseSelectAtLeastOneFieldToFillIn:pd,pleaseChooseAtLeastOne:eh,pleaseEnterButtonContent:th,pleaseEnterDataCodeInDataSetting:nh,pleaseEnterValueFieldCodeInDataSetting:ih,pleaseEnterSvcCodeInDataSetting:uh,pleaseBindAtLeastOneDisplayValueInDataSetting:ah,rootNodeIsRequiredInDataSetting:lh,pleaseEnterMaxHeight:rh,pleaseEnterWatermark:oh,pleaseEnterFileName:ch,pleaseUploadAtLeastOnePrintTemplate:sh,pleaseAssignBusiness:dh,pleaseAssignExternal:hh,pleaseEnterAliasCode:fh,pleaseSelectDataCode:yh,pleaseSelectSvcCode:vh,pleaseSelectJoinFieldCode:mh,pleaseSelectMainFieldCode:gh,pleaseSelectSortFieldCode:bh,batchDeleteButton:Ch,batchPrintListButton:Eh,batchPrintRecordList:_h,button:Bh,createFormListButton:wh,dashboard:Dh,divider:Fh,exportListButton:Ah,formSelectButton:Sh,importRecordListButton:Ih,invoiceCheckButton:Th,link:Rh,listSelectButton:xh,ListViewSelect:Ph,operationButton:kh,pagination:Oh,submissionRecordListButton:Mh,text:$h,textOcrButton:Lh,title:Nh,approvalStatusColumn:Vh,array:Hh,autoNumber:jh,custom:qh,decimal:Uh,department:Wh,employee:zh,file:Kh,image:Gh,location:Xh,operation:Qh,order:Jh,people:Zh,long:Yh,timescope:ph,timestamp:ef,varchar:tf,gridLayoutWrap:nf,gridTable:uf,subTable:af,address:lf,amount:rf,calc:of,checkBox:cf,electronicSignature:sf,input:df,number:hf,organizationSelection:ff,radio:yf,richText:vf,score:mf,searchNumberRange:gf,select:bf,selectMultiple:Cf,selectRelation:Ef,textarea:_f,tree:Bf,vueFormItem:wf,vuePage:Df,WPS:Ff,actionBar:Af,advancedContainer:Sf,cardGroup:If,col:Tf,dataView:Rf,grid:xf,gridLayoutContainer:Pf,gridRow:kf,listView:Of,page:Mf,position:$f,positioningContainer:Lf,row:Nf,subtableColumn:Vf,subtableRow:Hf,tab:jf,tabPane:qf,toolbox:Uf,batchSubmissionListButton:Wf,exportRecordListButton:zf,listViewSelect:Kf,endTime:Gf,startTime:Xf,unit:Qf,result:Jf,currency:Zf,endDate:Yf,startDate:pf,pleaseSelectCompanyName:ey,pleaseSelectPhoneOrEmail:ty,pleaseSelectSignType:ny,pleaseSelectSigner:iy,pleaseSelectOnlyOne:uy,pleaseSelectSignFile:ay,pleaseSelect:ly,pleaseSelectOrg:ry,pleaseSelectDept:oy,pleaseSelectEndDate:cy,pleaseSelectStartDate:sy,pleaseChooseAddress:dy,modalConfirm:hy,tabChange:fy,rowSelected:yy,listDataImport:vy,rowDelete:my,rowClick:gy,cellRender:by,onClickBtn:Cy,rename:Ey,onSaveFile:_y,onOpenFile:By,onFocus:wy,onBlur:Dy,onInput:Fy,listDataAdd:Ay,listDataDelete:Sy,listDataBack:Iy,listDataCreate:Ty,listDataChange:Ry,search:xy,valueChange:Py,finished:ky,click:Oy,pleaseEnterNameorEmail:My,pleaseEnterDate:$y,pleaseEnterAutonumber:Ly,pleaseEnter:Ny,defaultTemplate:Vy,left:Hy,top:jy,default:"\u666E\u901A",readonly:qy,required:Uy,textTip:Wy,hideCaption:zy,titleRequired:Ky,organizationalForm:Gy,businessType:Xy,deleteConfirm:Qy,hide:Jy,processStatus:Zy,approvedDocuments:Yy,delete:py,edit:ev,view:tv,loadCtrlErrorTip:nv,loadCtrlError:iv,fullLine:uv,min:av,max:lv,createWPS:rv,reset:ov,query:cv,detailed:sv,print:dv,draft:hv,save:fv,cancel:yv,uploadImg:vv,signature:mv,uploadFile:gv,linkContent:bv,referenceList:Cv,optionOne:Ev,optionTwo:_v,optionThird:Bv},Dv="Please enter a number",Fv="Please enter a string",Av="Please enter an object",Sv="Please enter an array",Iv="Please enter a boolean",Tv="{caption} Required",Rv="Please enter the title",xv="Please enter the bubble prompt",Pv="Please enter the row title",kv="Please enter the prompt text",Ov="Please bind data items",Mv="Please bind the form",$v="Please bind the list",Lv="Please bind the process",Nv="Please enter the displayed value",Vv="Please enter the stored value",Hv="The document number is not bound to the data item",jv="Please select at least one display field",qv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Uv="Please enter a value greater than or equal to {min}",Wv="Please enter a value less than or equal to {max}",zv="The value range is set incorrectly",Kv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Gv="The attachment size must be between 0MB and 1000MB",Xv="Please fill in the total score setting",Qv="The total score cannot be less than 1",Jv="The default value must be between {min} and {max}",Zv="The number of attachment uploads exceeds the limit",Yv="Please re-select the optional quantity",pv="The maximum length of the control must be greater than the minimum length",em="The minimum length of the control must be less than the maximum length",tm="Please select the correct option setting",nm="Option ID cannot be repeated",im="Please enter at least one option",um="Please bind the data source",am="Please bind the stored value",lm="Please bind the service",rm="At least one display value must be bound",om="Please select a province",cm="Please select a city",sm="Please select a district",dm="The minimum number of lines to fill in cannot be less than 0",hm="The number of rows cannot be less than {min} rows",fm="Please enter the column width",ym="Please set the logical relationship of all rule conditions",vm="Please complete all rules and conditions",mm="please select control",gm="Please select the dashboard",bm="View name cannot be empty",Cm="Please select recognition type",Em="Please select at least one field to fill in",_m="Please select at least one",Bm="Please enter the button title",wm="Please bind the business model in the data settings",Dm="Please bind storage values in data settings",Fm="Please bind the service in the data settings",Am="Please bind at least one display value in the data settings",Sm="Please select the root node in the data settings",Im="Please enter the maximum height",Tm="The input content cannot be empty",Rm="Watermark cannot be empty",xm="File name cannot be empty",Pm="Please upload at least one printing template!\uFF01",km="Please select a specific business department",Om="Please select a specified external organization",Mm="Please enter a sub table alias",$m="Please select the associated table to set the business model",Lm="Please select the association table to set the binding service",Nm="Select associated sub table fields",Vm="Please select the associated main table field",Hm="Please select the sort field",jm="\u6279\u91CF\u5220\u9664",qm="\u6279\u91CF\u6253\u5370",Um="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Wm="\u6309\u94AE",zm="\u521B\u5EFA\u5355\u636E",Km="\u4EEA\u8868\u76D8",Gm="\u5206\u5272\u7EBF",Xm="\u5BFC\u51FA",Qm="\u8868\u5355\u64CD\u4F5C",Jm="\u5BFC\u5165",Zm="\u53D1\u7968\u8BC6\u522B",Ym="\u94FE\u63A5",pm="\u5217\u8868\u9009\u62E9",e0="\u5217\u8868\u89C6\u56FE",t0="\u64CD\u4F5C\u6309\u94AE",n0="\u5206\u9875",i0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",u0="\u8BF4\u660E\u6587\u5B57",a0="\u6587\u5B57\u8BC6\u522B",l0="\u6807\u9898\u7EC4\u4EF6",r0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",o0="\u6570\u7EC4",c0="\u81EA\u52A8\u7F16\u53F7",s0="\u81EA\u5B9A\u4E49",d0="\u6570\u503C",h0="\u90E8\u95E8",f0="\u4EBA\u5458",y0="\u9644\u4EF6",v0="\u56FE\u7247",m0="\u5730\u5740",g0="\u64CD\u4F5C",b0="\u5E8F\u53F7",C0="\u4EBA\u5458",E0="\u957F\u6587\u672C",_0="\u65E5\u671F\u533A\u95F4",B0="\u65E5\u671F",w0="\u77ED\u6587\u672C",D0="\u6362\u884C\u5BB9\u5668Wrap",F0="\u8868\u683C",A0="\u660E\u7EC6\u5B50\u8868",S0="\u5730\u5740",I0="\u91D1\u989D",T0="\u8BA1\u7B97\u516C\u5F0F",R0="\u591A\u9009",x0="\u7535\u5B50\u7B7E\u7AE0",P0="\u5355\u884C\u6587\u672C",k0="\u6570\u5B57",O0="\u4E1A\u52A1\u7EC4\u7EC7",M0="\u5355\u9009",$0="\u5BCC\u6587\u672C",L0="\u8BC4\u5206",N0="\u6570\u5B57\u533A\u95F4",V0="\u4E0B\u62C9\u5355\u9009",H0="\u4E0B\u62C9\u591A\u9009",j0="\u5173\u8054\u5355\u9009",q0="\u591A\u884C\u6587\u672C",U0="\u6811",W0="Vue\u5BB9\u5668",z0="Vue\u9875\u9762",K0="\u5728\u7EBF\u6587\u6863",G0="\u6309\u94AE\u64CD\u4F5C\u680F",X0="\u9AD8\u7EA7\u5BB9\u5668",Q0="\u5206\u7EC4",J0="\u6805\u683C\u5217",Z0="\u6570\u636E\u5BB9\u5668",Y0="\u753B\u5E03",p0="\u6362\u884C\u5BB9\u5668",eg="\u6805\u683C\u7B49\u5206\u884C",tg="\u5217\u8868\u5BB9\u5668",ng="\u81EA\u7531\u9875\u9762",ig="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ug="\u5B9A\u4F4D\u5BB9\u5668",ag="\u6805\u683C\u5E03\u5C40",lg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",rg="\u660E\u7EC6\u5B50\u8868\u884C",og="\u6807\u7B7E\u9875",cg="\u6807\u7B7E\u5355\u5143",sg="\u5DE5\u5177\u680F",dg="\u6279\u91CF\u63D0\u4EA4",hg="\u5BFC\u51FA\u8BB0\u5F55",fg="\u5217\u8868\u89C6\u56FE",yg="\u5F15\u7528\u5217\u8868",vg="\u9009\u9879\u4E00",mg="\u9009\u9879\u4E8C",gg="\u9009\u9879\u4E09",bg={isNotNumber:Dv,isNotString:Fv,isNotObject:Av,isNotArray:Sv,isNotBoolean:Iv,runtimeRequired:Tv,pleaseEnterCaption:Rv,pleaseEnterCaptionTip:xv,pleaseEnterRowCaption:Pv,pleaseEnterPlaceholder:kv,pleaseEnterFieldCode:Ov,pleaseEnterForm:Mv,pleaseEnterList:$v,pleaseEnterProcess:Lv,pleaseEnterLabel:Nv,pleaseEnterValue:Vv,bizKeyNotBindFiled:Hv,pleaseSelectOneField:jv,pleaseEnterNumberRange:qv,pleaseEnterAValueGreaterThanMin:Uv,pleaseEnterAValueLessThanMax:Wv,numberRangeSetError:zv,stringRangeError:Kv,attachmentMaxSize:Gv,pleaseEnterTotalScoreSetting:Xv,theTotalScoreMustNotBeLessThan1:Qv,scoreDefaultValueRange:Jv,attachmentLimitError:Zv,PleaseReselectTheOptionalQuantity:Yv,TheMaximumLengthIsGreaterThanTheMinimumLength:pv,TheMinimumLengthIsGreaterThanTheMaximumLength:em,PleaseSelectTheCorrectOptionSettings:tm,optionIdIsRepeat:nm,optionIsRequired:im,pleaseEnterDataCode:um,pleaseEnterValueFieldCode:am,pleaseEnterSvcCode:lm,pleaseBindAtLeastOneDisplayValue:rm,pleaseSelectProvince:om,pleaseSelectCity:cm,pleaseSelectDistrict:sm,limitRowsCannotBeLessThan0:dm,TheNumberOfRowsCannotBeLessThanMinRows:hm,pleaseEnterColumnWidth:fm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ym,pleaseCompleteAllRulesAndConditions:vm,pleaseSelectControl:mm,pleaseSelectDashboard:gm,theViewNameCannotBeEmpty:bm,pleaseSelectOcrType:Cm,pleaseSelectAtLeastOneFieldToFillIn:Em,pleaseChooseAtLeastOne:_m,pleaseEnterButtonContent:Bm,pleaseEnterDataCodeInDataSetting:wm,pleaseEnterValueFieldCodeInDataSetting:Dm,pleaseEnterSvcCodeInDataSetting:Fm,pleaseBindAtLeastOneDisplayValueInDataSetting:Am,rootNodeIsRequiredInDataSetting:Sm,pleaseEnterMaxHeight:Im,pleaseEnter:Tm,pleaseEnterWatermark:Rm,pleaseEnterFileName:xm,pleaseUploadAtLeastOnePrintTemplate:Pm,pleaseAssignBusiness:km,pleaseAssignExternal:Om,pleaseEnterAliasCode:Mm,pleaseSelectDataCode:$m,pleaseSelectSvcCode:Lm,pleaseSelectJoinFieldCode:Nm,pleaseSelectMainFieldCode:Vm,pleaseSelectSortFieldCode:Hm,batchDeleteButton:jm,batchPrintListButton:qm,batchPrintRecordList:Um,button:Wm,createFormListButton:zm,dashboard:Km,divider:Gm,exportListButton:Xm,formSelectButton:Qm,importRecordListButton:Jm,invoiceCheckButton:Zm,link:Ym,listSelectButton:pm,ListViewSelect:e0,operationButton:t0,pagination:n0,submissionRecordListButton:i0,text:u0,textOcrButton:a0,title:l0,approvalStatusColumn:r0,array:o0,autoNumber:c0,custom:s0,decimal:d0,department:h0,employee:f0,file:y0,image:v0,location:m0,operation:g0,order:b0,people:C0,long:E0,timescope:_0,timestamp:B0,varchar:w0,gridLayoutWrap:D0,gridTable:F0,subTable:A0,address:S0,amount:I0,calc:T0,checkBox:R0,electronicSignature:x0,input:P0,number:k0,organizationSelection:O0,radio:M0,richText:$0,score:L0,searchNumberRange:N0,select:V0,selectMultiple:H0,selectRelation:j0,textarea:q0,tree:U0,vueFormItem:W0,vuePage:z0,WPS:K0,actionBar:G0,advancedContainer:X0,cardGroup:Q0,col:J0,dataView:Z0,grid:Y0,gridLayoutContainer:p0,gridRow:eg,listView:tg,page:ng,position:ig,positioningContainer:ug,row:ag,subtableColumn:lg,subtableRow:rg,tab:og,tabPane:cg,toolbox:sg,batchSubmissionListButton:dg,exportRecordListButton:hg,listViewSelect:fg,referenceList:yg,optionOne:vg,optionTwo:mg,optionThird:gg},Cg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eg="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_g="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dg="{caption}\u5FC5\u9808",Fg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ag="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ig="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rg="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Og="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$g="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ng="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",jg="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ug="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Wg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Gg="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xg="\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",Qg="\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",Jg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zg="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Yg="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pg="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nb="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ib="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ub="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ab="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ob="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",db="please select control",hb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",yb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vb="\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",mb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_b="\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",Bb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Db="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Fb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ab="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sb="\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",Ib="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Tb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\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",kb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ob="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$b="\u6279\u91CF\u5220\u9664",Lb="\u6279\u91CF\u6253\u5370",Nb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Vb="\u6309\u94AE",Hb="\u521B\u5EFA\u5355\u636E",jb="\u4EEA\u8868\u76D8",qb="\u5206\u5272\u7EBF",Ub="\u5BFC\u51FA",Wb="\u8868\u5355\u64CD\u4F5C",zb="\u5BFC\u5165",Kb="\u53D1\u7968\u8BC6\u522B",Gb="\u94FE\u63A5",Xb="\u5217\u8868\u9009\u62E9",Qb="\u5217\u8868\u89C6\u56FE",Jb="\u64CD\u4F5C\u6309\u94AE",Zb="\u5206\u9875",Yb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",pb="\u8BF4\u660E\u6587\u5B57",e5="\u6587\u5B57\u8BC6\u522B",t5="\u6807\u9898\u7EC4\u4EF6",n5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",i5="\u6570\u7EC4",u5="\u81EA\u52A8\u7F16\u53F7",a5="\u81EA\u5B9A\u4E49",l5="\u6570\u503C",r5="\u90E8\u95E8",o5="\u4EBA\u5458",c5="\u9644\u4EF6",s5="\u56FE\u7247",d5="\u5730\u5740",h5="\u64CD\u4F5C",f5="\u5E8F\u53F7",y5="\u4EBA\u5458",v5="\u957F\u6587\u672C",m5="\u65E5\u671F\u533A\u95F4",g5="\u65E5\u671F",b5="\u77ED\u6587\u672C",C5="\u6362\u884C\u5BB9\u5668Wrap",E5="\u8868\u683C",_5="\u660E\u7EC6\u5B50\u8868",B5="\u5730\u5740",w5="\u91D1\u989D",D5="\u8BA1\u7B97\u516C\u5F0F",F5="\u591A\u9009",A5="\u7535\u5B50\u7B7E\u7AE0",S5="\u5355\u884C\u6587\u672C",I5="\u6570\u5B57",T5="\u4E1A\u52A1\u7EC4\u7EC7",R5="\u5355\u9009",x5="\u5BCC\u6587\u672C",P5="\u8BC4\u5206",k5="\u6570\u5B57\u533A\u95F4",O5="\u4E0B\u62C9\u5355\u9009",M5="\u4E0B\u62C9\u591A\u9009",$5="\u5173\u8054\u5355\u9009",L5="\u591A\u884C\u6587\u672C",N5="\u6811",V5="Vue\u5BB9\u5668",H5="Vue\u9875\u9762",j5="\u5728\u7EBF\u6587\u6863",q5="\u6309\u94AE\u64CD\u4F5C\u680F",U5="\u9AD8\u7EA7\u5BB9\u5668",W5="\u5206\u7EC4",z5="\u6805\u683C\u5217",K5="\u6570\u636E\u5BB9\u5668",G5="\u753B\u5E03",X5="\u6362\u884C\u5BB9\u5668",Q5="\u6805\u683C\u7B49\u5206\u884C",J5="\u5217\u8868\u5BB9\u5668",Z5="\u81EA\u7531\u9875\u9762",Y5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",p5="\u5B9A\u4F4D\u5BB9\u5668",eC="\u6805\u683C\u5E03\u5C40",tC="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",nC="\u660E\u7EC6\u5B50\u8868\u884C",iC="\u6807\u7B7E\u9875",uC="\u6807\u7B7E\u5355\u5143",aC="\u5DE5\u5177\u680F",lC="\u6279\u91CF\u63D0\u4EA4",rC="\u5BFC\u51FA\u8BB0\u5F55",oC="\u5217\u8868\u89C6\u56FE",cC="\u5F15\u7528\u5217\u8868",sC="\u9009\u9879\u4E00",dC="\u9009\u9879\u4E8C",hC="\u9009\u9879\u4E09",fC={isNotNumber:Cg,isNotString:Eg,isNotObject:_g,isNotArray:Bg,isNotBoolean:wg,runtimeRequired:Dg,pleaseEnterCaption:Fg,pleaseEnterCaptionTip:Ag,pleaseEnterRowCaption:Sg,pleaseEnterPlaceholder:Ig,pleaseEnterFieldCode:Tg,pleaseEnterForm:Rg,pleaseEnterList:xg,pleaseEnterProcess:Pg,pleaseEnterLabel:kg,pleaseEnterValue:Og,bizKeyNotBindFiled:Mg,pleaseSelectOneField:$g,pleaseEnterNumberRange:Lg,pleaseEnterAValueGreaterThanMin:Ng,pleaseEnterAValueLessThanMax:Vg,numberRangeSetError:Hg,stringRangeError:jg,attachmentMaxSize:qg,pleaseEnterTotalScoreSetting:Ug,theTotalScoreMustNotBeLessThan1:Wg,scoreDefaultValueRange:zg,attachmentLimitError:Kg,PleaseReselectTheOptionalQuantity:Gg,TheMaximumLengthIsGreaterThanTheMinimumLength:Xg,TheMinimumLengthIsGreaterThanTheMaximumLength:Qg,PleaseSelectTheCorrectOptionSettings:Jg,optionIdIsRepeat:Zg,optionIsRequired:Yg,pleaseEnterDataCode:pg,pleaseEnterValueFieldCode:eb,pleaseEnterSvcCode:tb,pleaseBindAtLeastOneDisplayValue:nb,pleaseSelectProvince:ib,pleaseSelectCity:ub,pleaseSelectDistrict:ab,limitRowsCannotBeLessThan0:lb,TheNumberOfRowsCannotBeLessThanMinRows:rb,pleaseEnterColumnWidth:ob,pleaseSetTheLogicalRelationshipOfAllRuleConditions:cb,pleaseCompleteAllRulesAndConditions:sb,pleaseSelectControl:db,pleaseSelectDashboard:hb,theViewNameCannotBeEmpty:fb,pleaseSelectOcrType:yb,pleaseSelectAtLeastOneFieldToFillIn:vb,pleaseChooseAtLeastOne:mb,pleaseEnterButtonContent:gb,pleaseEnterDataCodeInDataSetting:bb,pleaseEnterValueFieldCodeInDataSetting:Cb,pleaseEnterSvcCodeInDataSetting:Eb,pleaseBindAtLeastOneDisplayValueInDataSetting:_b,rootNodeIsRequiredInDataSetting:Bb,pleaseEnterMaxHeight:wb,pleaseEnter:Db,pleaseEnterWatermark:Fb,pleaseEnterFileName:Ab,pleaseUploadAtLeastOnePrintTemplate:Sb,pleaseAssignBusiness:Ib,pleaseAssignExternal:Tb,pleaseEnterAliasCode:Rb,pleaseSelectDataCode:xb,pleaseSelectSvcCode:Pb,pleaseSelectJoinFieldCode:kb,pleaseSelectMainFieldCode:Ob,pleaseSelectSortFieldCode:Mb,batchDeleteButton:$b,batchPrintListButton:Lb,batchPrintRecordList:Nb,button:Vb,createFormListButton:Hb,dashboard:jb,divider:qb,exportListButton:Ub,formSelectButton:Wb,importRecordListButton:zb,invoiceCheckButton:Kb,link:Gb,listSelectButton:Xb,ListViewSelect:Qb,operationButton:Jb,pagination:Zb,submissionRecordListButton:Yb,text:pb,textOcrButton:e5,title:t5,approvalStatusColumn:n5,array:i5,autoNumber:u5,custom:a5,decimal:l5,department:r5,employee:o5,file:c5,image:s5,location:d5,operation:h5,order:f5,people:y5,long:v5,timescope:m5,timestamp:g5,varchar:b5,gridLayoutWrap:C5,gridTable:E5,subTable:_5,address:B5,amount:w5,calc:D5,checkBox:F5,electronicSignature:A5,input:S5,number:I5,organizationSelection:T5,radio:R5,richText:x5,score:P5,searchNumberRange:k5,select:O5,selectMultiple:M5,selectRelation:$5,textarea:L5,tree:N5,vueFormItem:V5,vuePage:H5,WPS:j5,actionBar:q5,advancedContainer:U5,cardGroup:W5,col:z5,dataView:K5,grid:G5,gridLayoutContainer:X5,gridRow:Q5,listView:J5,page:Z5,position:Y5,positioningContainer:p5,row:eC,subtableColumn:tC,subtableRow:nC,tab:iC,tabPane:uC,toolbox:aC,batchSubmissionListButton:lC,exportRecordListButton:rC,listViewSelect:oC,referenceList:cC,optionOne:sC,optionTwo:dC,optionThird:hC},gu={zhCN:wv,enUS:bg,jaJP:fC},Ol;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Ol||(Ol={}));var Ml;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ml||(Ml={}));var bu,yC=(bu=window.localStorage.getItem("locale"))!==null&&bu!==void 0?bu:"zh-CN",ut;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ut||(ut={}));var $l;(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"})($l||($l={}));var F;(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",t.REFERENCE_LIST="reference-list"})(F||(F={}));var Ll;(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"})(Ll||(Ll={}));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 De;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(De||(De={}));var Nl={DEFAULT:"default"},Vl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",vC=Vl+"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?Vl:vC,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Cu(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 mC(t){if(Array.isArray(t))return Cu(t)}function gC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hl(t,e,n){return e=Ot(e),_C(t,_u()?Reflect.construct(e,n||[],Ot(t).constructor):e.apply(t,n))}function jl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e,n){return _u()?Pn=Reflect.construct:Pn=function(u,a,l){var r=[null];r.push.apply(r,a);var d=Function.bind.apply(u,r),c=new d;return l&&Mt(c,l.prototype),c},Pn.apply(null,arguments)}function Ot(t){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ot(t)}function ql(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&&Mt(t,e)}function bC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function CC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function EC(){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 _C(t,e){return e&&(BC(e)==="object"||typeof e=="function")?e:gC(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function Ul(t){return mC(t)||CC(t)||wC(t)||EC()}function BC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wC(t,e){if(!!t){if(typeof t=="string")return Cu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cu(t,e)}}function Eu(t){var e=typeof Map=="function"?new Map:void 0;return Eu=function(i){if(i===null||!bC(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,Ot(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Eu(t)}function _u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_u=function(){return!!t})()}var Bu=console;function wu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ul(u)))}function Wl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ul(u)))}function DC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Du=function(t){ql(e,t);function e(n){jl(this,e);var i;return i=Hl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?DC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Eu(Error)),FC=function(t){ql(e,t);function e(n){jl(this,e);var i;return i=Hl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Du);function $t(t){throw new Du(t)}function zl(t){throw new FC(t)}function AC(t){Bu.error(new Du(t))}const o=(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((r,d)=>{d===0?u=a[r]:u&&(u=u[r])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(r=>{const d=e[r];l=l.replace(new RegExp(`\\{\\s*${r}\\s*\\}`,"g"),d)}),l||(n?l=n:l=t),l};function SC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function IC(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function TC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gl=function(){function t(){SC(this,t)}return IC(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return o("CMD."+n,i,gu==null||(u=gu[yC.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();TC(Gl,"$i18n",Gl.resetI18n());function RC(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,r,d){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){wu("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return r===d.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var xC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},PC={exports:{}};(function(t){(function(e){var n=function(v,_,S){if(!c(_)||m(_)||g(_)||C(_)||d(_))return _;var x,O=0,ae=0;if(h(_))for(x=[],ae=_.length;O<ae;O++)x.push(n(v,_[O],S));else{x={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(x[v(M,S)]=n(v,_[M],S))}return x},i=function(v,_){_=_||{};var S=_.separator||"_",x=_.split||/(?=[A-Z])/;return v.split(x).join(S)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,S){return S?S.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var _=u(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return i(v,_).toLowerCase()},r=Object.prototype.toString,d=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},h=function(v){return r.call(v)=="[object Array]"},m=function(v){return r.call(v)=="[object Date]"},g=function(v){return r.call(v)=="[object RegExp]"},C=function(v){return r.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},E=function(v,_){var S=_&&"process"in _?_.process:_;return typeof S!="function"?v:function(x,O){return S(x,v,O)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,_){return n(E(u,_),v)},decamelizeKeys:function(v,_){return n(E(l,_),v,_)},pascalizeKeys:function(v,_){return n(E(a,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(xC)})(PC);var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});function Fu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Fu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Fu(i)}return e}}var kC=Xl.default=Fu;function OC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function re(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":OC(t))==="object"?kC(t):t}function MC(t){return Object.prototype.toString.call(t)==="[object Object]"}function kn(t){return Array.isArray(t)}function $C(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function LC(t){if(Array.isArray(t))return Au(t)}function Ql(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function NC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Ql(a,i,u,l,r,"next",d)}function r(d){Ql(a,i,u,l,r,"throw",d)}l(void 0)})}}function VC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(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&&Jl(t.prototype,e),n&&Jl(t,n),t}function Zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Su(t){return LC(t)||jC(t)||UC(t)||qC()}function UC(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 WC(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(h){return d([c,h])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)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 l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var zC=function(){function t(){VC(this,t),Zl(this,"_events",new Map),Zl(this,"debug",!1)}return HC(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 l=this;return NC(function(){var r,d,c,h,m,g,C,B,E,w,v,_;return WC(this,function(S){switch(S.label){case 0:if(r=l._events.get(n),d=[],!r)return[3,10];c=r.slice(),h=!0,m=!1,g=void 0,S.label=1;case 1:S.trys.push([1,8,9,10]),C=c[Symbol.iterator](),S.label=2;case 2:if(h=(B=C.next()).done)return[3,7];if(E=B.value,!r.includes(E))return[3,6];S.label=3;case 3:return S.trys.push([3,5,,6]),l.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Su(u))),[4,E.apply(null,Su(u))];case 4:return w=S.sent(),l.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Su(u),[w])),d.push(w),w===!1?[3,7]:[3,6];case 5:return v=S.sent(),AC(String(v)+":"+String(v.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return _=S.sent(),m=!0,g=_,[3,10];case 9:try{!h&&C.return!=null&&C.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 KC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function GC(t,e,n){return e&&Yl(t.prototype,e),n&&Yl(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 QC=[{key:"on_click",name:o("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:o("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:o("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:o("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:o("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:o("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:o("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:o("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:o("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:o("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:o("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:o("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:o("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:o("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:o("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:o("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:o("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:o("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:o("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:o("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:o("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:o("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:o("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"}],JC=function(){function t(){KC(this,t)}return GC(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(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var r=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(r=l.namespace+":"+l.key),{key:r,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();XC(JC,"events",QC);function Iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ZC(t){if(Array.isArray(t))return Iu(t)}function YC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pC(){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 pl(t){return ZC(t)||YC(t)||eE(t)||pC()}function eE(t,e){if(!!t){if(typeof t=="string")return Iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iu(t,e)}}function Tu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function er(t,e,n){n!=="Runtime"&&(t.parent=e,Tu(t,"parent"))}function tE(t,e,n){t.forEach(function(i){er(i,e,n)})}var tr=Symbol("targetKey");function nr(t){var e;return(e=t[tr])!==null&&e!==void 0?e:t}function ir(t,e,n){return tE(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),d=2;d<l;d++)r[d-2]=arguments[d];var c;return a===tr?u:(c=Reflect).get.apply(c,[u,a].concat(pl(r)))},set:function(u,a,l){for(var r=arguments.length,d=new Array(r>3?r-3:0),c=3;c<r;c++)d[c-3]=arguments[c];var h;if(kn(t)&&a==="length"&&l===t.length)return!0;var m=(h=Reflect).set.apply(h,[u,a,l].concat(pl(d)));return MC(l)&&er(l,e,n),m}})}function he(t,e,n,i,u){var a=i!=null?i:t,l=ir(nr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(d){l=ir(nr(d),a,u)},enumerable:!0})}function nE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ur(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 iE(t,e,n){return e&&ur(t.prototype,e),n&&ur(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}var ar=[],On=function(){function t(e){nE(this,t),Fe(this,"registeredControlTypes",new Set),Fe(this,"controlConfigMap",new Map),Fe(this,"_controls",[]),Fe(this,"_type",void 0),this._type=e,this._initControls(e)}return iE(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__||$t("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(wu("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===ut.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ut.FORM}},{key:"isListControl",value:function(n){return n.controlType===ut.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ut.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(h){return u.createControl(h,i)});if(n.children&&(n.children=n.children.map(function(h){return u.createControl(h,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(h){return u.createControl(h,i)}))}var l=this.getControlFormType(n.type);if(l){var r=n;if(typeof i=="function"){var d=i(r);d&&(r=d)}var c;return l.mode==="Runtime"?(c=r,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(r),c}else $t("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,l=i._controlParentIdMap,r=i.instanceMap;if(!(!l||!r)){var d=l[a],c=r[a];if(!(!d&&!c)){var h=c.findIndex(function(C){return C==n}),m=r[d]||[],g;return m.length!==c.length?g=m[0]:g=m[h],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 l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&$t("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return r>-1&&(wu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();Fe(On,"staticControlsRuntimeRules",new Map),Fe(On,"staticControls",ar),Fe(On,"staticRegisteredTypes",new Set(ar.map(function(t){return t.Designer.controlType}))),Fe(On,"staticRegisteredConfigs",new Map);function uE(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=Mn(e),aE(t,lr()?Reflect.construct(e,n||[],Mn(t).constructor):e.apply(t,n))}function D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(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&&Ru(t,e)}function aE(t,e){return e&&(lE(e)==="object"||typeof e=="function")?e:uE(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}function lE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lr=function(){return!!t})()}var fe=function t(e){D(this,t),f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},rr=function t(e){D(this,t),f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},or=function t(e){D(this,t),f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},rE=function t(e){D(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new or(e==null?void 0:e.pc),this.mobile=new or(e==null?void 0:e.mobile)},xu=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"width",void 0),f(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}(rr),oE=function t(e){D(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new xu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new xu(e==null?void 0:e.mobile):new xu({width:130,minWidth:180})},cE=function t(e){D(this,t),f(this,"type",void 0),f(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},at=function t(e){D(this,t),f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},sE=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(at),cr=function t(e){D(this,t),f(this,"fieldCode",void 0),f(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Pu=function t(e){D(this,t);var n;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new cr(l)}))!==null&&a!==void 0?a:[]},dE=function t(e){D(this,t),f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},hE=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(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 l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var r;return i.filters=(r=n==null?void 0:n.filters)!==null&&r!==void 0?r:[],i}return e}(at),fE=function t(e){D(this,t);var n,i;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new at(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(l){return new dE(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new hE(l)}))!==null&&a!==void 0?a:[]},yE=function t(e){D(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Ae=function t(e){D(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},ku=function t(e){var n=this;D(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i: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 l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(r){if(r.children!==void 0){var d,c=new t(r);(d=n.children)===null||d===void 0||d.push(c)}else{var h,m=new $n(r);(h=n.children)===null||h===void 0||h.push(m)}}))},$n=function t(e){D(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n: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 l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new yE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ae(e==null?void 0:e.rightVariableBo)},vE=function t(e){D(this,t),f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new 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){D(this,t),f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Ou=function t(e){D(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},mE=function t(e){D(this,t),f(this,"columnName",void 0),f(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Mu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new ku(r):new $n(r)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new ku(r):new $n(r)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new mE(r)}))!==null&&l!==void 0?l:[]}var Y=function t(e){var n=this;D(this,t),f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0),f(this,"assignDepartment",void 0),f(this,"openAssignDepartment",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 l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(m){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Ou(m))}));var r;this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!==null&&r!==void 0?r:"";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:"",this.assignDepartment=new Ae(e==null?void 0:e.assignDepartment);var h;this.openAssignDepartment=(h=e==null?void 0:e.openAssignDepartment)!==null&&h!==void 0?h:!1,Mu.call(this,e)},$u=function t(e){D(this,t),f(this,"dataCode",void 0),f(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},me=function t(e){D(this,t),f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r: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 h;this.openType=(h=e==null?void 0:e.openType)!==null&&h!==void 0?h:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},sr=function t(e){D(this,t);var n;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Ou(l)}))!==null&&a!==void 0?a:[]},Ln=function(t){ce(e,t);function e(n){D(this,e);var i,u;i=oe(this,e,[n]),f(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new sr(l)}))!==null&&a!==void 0?a:[],i}return e}(Y),gE=function(t){ce(e,t);function e(n){D(this,e);var i,u;i=oe(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new sr(r)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Y),dr=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new Ae(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}(Ln),hr=function t(e){D(this,t);var n;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new te(l)}))!==null&&a!==void 0?a:[]},fr=function(t){ce(e,t);function e(n){D(this,e);var i;return i=oe(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Mu.call(i,n),i}return e}(hr),yr=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"mode",void 0),f(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}(hr),vr=function t(e){D(this,t),f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},bE=function t(e){D(this,t),f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n: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 ge(t){var e;return(e=t==null?void 0:t.map(function(n){return new bE(n)}))!==null&&e!==void 0?e:[]}var Lu=function t(){D(this,t)},CE=function(t){ce(e,t);function e(n){D(this,e);var i;return i=oe(this,e),f(i,"amount",void 0),f(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}(Lu),EE=function t(e){D(this,t),f(this,"amount",void 0),f(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},_E=function(t){ce(e,t);function e(n){D(this,e);var i;return i=oe(this,e),f(i,"min",void 0),f(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}(Lu),BE=function t(e){D(this,t),f(this,"min",void 0),f(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},wE=function t(e){D(this,t),f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var r;this.provinceDisplay=(r=e==null?void 0:e.provinceDisplay)!==null&&r!==void 0?r:""},DE=function(t){ce(e,t);function e(n){D(this,e);var i;return i=oe(this,e),f(i,"result",void 0),f(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}(Lu),FE=function t(e){D(this,t),f(this,"result",void 0),f(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Nu;(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"})(Nu||(Nu={}));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",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag"})(s||(s={}));var Vu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vu||(Vu={}));var Se=function t(e){D(this,t),f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var r;this.priorityProcess=(r=e==null?void 0:e.priorityProcess)!==null&&r!==void 0?r:!1},AE=function t(e){D(this,t);var n;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i: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(l){return new cr(l)}))!==null&&a!==void 0?a:[],Mu.call(this,e)},SE=function t(e){D(this,t),f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},IE=function t(e){D(this,t),f(this,"optCode",void 0),f(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},TE=function t(e){D(this,t);var n,i;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:de();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new ku(d):new $n(d)}))!==null&&l!==void 0?l:[];var r;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(r=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new RE(d)}))!==null&&r!==void 0?r:[]:[],this.script=e==null?void 0:e.script},RE=function t(e){D(this,t),f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},xE=function t(e){D(this,t);var n;f(this,"type",void 0),f(this,"interval",void 0),f(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new TE(l)}))!==null&&a!==void 0?a:[]:[]};function PE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kE(t,e,n){return e=Lt(e),$E(t,qu()?Reflect.construct(e,n||[],Lt(t).constructor):e.apply(t,n))}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,n){return qu()?Nn=Reflect.construct:Nn=function(u,a,l){var r=[null];r.push.apply(r,a);var d=Function.bind.apply(u,r),c=new d;return l&&Nt(c,l.prototype),c},Nn.apply(null,arguments)}function be(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 OE(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 ME(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $E(t,e){return e&&(LE(e)==="object"||typeof e=="function")?e:PE(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function LE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!ME(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Nn(i,arguments,Lt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},ju(t)}function qu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qu=function(){return!!t})()}var j=function t(e){Hu(this,t),be(this,"isHide",{type:"boolean"})},Le=function(t){OE(e,t);function e(n){return Hu(this,e),kE(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),be(this,"isHide",void 0),be(this,"className",void 0),be(this,"style",void 0),be(this,"caption",void 0),be(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};be(q,"mode",void 0),be(q,"Rules",j),be(q,"RuntimeRules",Le);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 NE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function Vn(t,e){return Vn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vn(t,e)}function VE(){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 Hn(t,e,n){return VE()?Hn=Reflect.construct:Hn=function(u,a,l){var r=[null];r.push.apply(r,a);var d=Function.bind.apply(u,r),c=new d;return l&&Vn(c,l.prototype),c},Hn.apply(null,arguments)}function HE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wu(t){var e=typeof Map=="function"?new Map:void 0;return Wu=function(i){if(i===null||!HE(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 Hn(i,arguments,Uu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vn(u,i)},Wu(t)}var jE=/%[sdj%]/g,mr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(mr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zu(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 l=String(u).replace(jE,function(r){if(r==="%%")return"%";if(i>=a)return r;switch(r){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 r}});return l}return u}function qE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||qE(e)&&typeof t=="string"&&!t)}function UE(t,e,n){var i=[],u=0,a=t.length;function l(r){i.push.apply(i,r),u++,u===a&&n(i)}t.forEach(function(r){e(r,l)})}function gr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var r=i;i=i+1,r<u?e(t[r],a):n([])}a([])}function WE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var br=function(t){NE(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}(Wu(Error));function zE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var C=function(w){return i(w),w.length?g(new br(w,zu(w))):m()},B=WE(t);gr(B,n,C)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),r=l.length,d=0,c=[],h=new Promise(function(m,g){var C=function(E){if(c.push.apply(c,E),d++,d===r)return i(c),c.length?g(new br(c,zu(c))):m()};l.length||(i(c),m()),l.forEach(function(B){var E=t[B];a.indexOf(B)!==-1?gr(E,n,C):UE(E,n,C)})});return h.catch(function(m){return m}),h}function Cr(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 Er(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 _r(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||G(e,a||t.type))&&i.push(ne(u.messages.required,t.fullField))}function KE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var Ku={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(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function GE(t,e,n,i,u){if(t.required&&e===void 0){_r(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Vt[l](e)||i.push(ne(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(ne(u.messages.types[l],t.fullField,t.type))}function XE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",r=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,h=null,m=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(m?h="number":g?h="string":C&&(h="array"),!h)return!1;C&&(c=e.length),g&&(c=e.replace(d,"_").length),a?c!==t.len&&i.push(ne(u.messages[h].len,t.fullField,t.len)):l&&!r&&c<t.min?i.push(ne(u.messages[h].min,t.fullField,t.min)):r&&!l&&c>t.max?i.push(ne(u.messages[h].max,t.fullField,t.max)):l&&r&&(c<t.min||c>t.max)&&i.push(ne(u.messages[h].range,t.fullField,t.min,t.max))}var lt="enum";function QE(t,e,n,i,u){t[lt]=Array.isArray(t[lt])?t[lt]:[],t[lt].indexOf(e)===-1&&i.push(ne(u.messages[lt],t.fullField,t[lt].join(", ")))}function JE(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:_r,whitespace:KE,type:GE,range:XE,enum:QE,pattern:JE};function ZE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),G(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 YE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 pE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),G(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 e_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 t_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),G(e)||A.type(t,e,i,a,u)}n(a)}function n_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 i_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 u_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){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 a_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 l_="enum";function r_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[l_](t,e,i,a,u)}n(a)}function o_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),G(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function c_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!G(e,"date")){var r;e instanceof Date?r=e:r=new Date(e),A.type(t,r,i,a,u),r&&A.range(t,r.getTime(),i,a,u)}}n(a)}function s_(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function Gu(t,e,n,i,u){var a=t.type,l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),G(e,a)||A.type(t,e,i,l,u)}n(l)}function d_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Ht={string:ZE,method:YE,number:pE,boolean:e_,regexp:t_,integer:n_,float:i_,array:u_,object:a_,enum:r_,pattern:o_,date:c_,url:Gu,hex:Gu,email:Gu,required:s_,any:d_};function Xu(){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 Qu=Xu();function Ie(t){this.rules=null,this._messages=Qu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=Er(Xu(),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,l=n,r=i;if(typeof l=="function"&&(r=l,l={}),!this.rules||Object.keys(this.rules).length===0)return r&&r(),Promise.resolve();function d(E){var w,v=[],_={};function S(x){if(Array.isArray(x)){var O;v=(O=v).concat.apply(O,x)}else v.push(x)}for(w=0;w<E.length;w++)S(E[w]);v.length?_=zu(v):(v=null,_=null),r(v,_)}if(l.messages){var c=this.messages();c===Qu&&(c=Xu()),Er(c,l.messages),l.messages=c}else l.messages=this.messages();var h,m,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){h=u.rules[E],m=a[E],h.forEach(function(w){var v=w;typeof v.transform=="function"&&(a===e&&(a=ye({},a)),m=a[E]=v.transform(m)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=E,v.fullField=v.fullField||E,v.type=u.getType(v),v.validator&&(g[E]=g[E]||[],g[E].push({rule:v,value:m,source:a,field:E}))})});var B={};return zE(g,l,function(E,w){var v=E.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&E.value),v.field=E.field;function S(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]),!l.suppressWarning&&M.length&&Ie.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(Cr(v)),l.first&&M.length)return B[v.field]=1,w(M);if(!_)w(M);else{if(v.required&&!E.value)return v.message!==void 0?M=[].concat(v.message).map(Cr(v)):l.error&&(M=[l.error(v,ne(l.messages.required,v.field))]),w(M);var le={};if(v.defaultField)for(var Tn in E.value)E.value.hasOwnProperty(Tn)&&(le[Tn]=v.defaultField);le=ye(ye({},le),E.rule.fields);for(var Be in le)if(le.hasOwnProperty(Be)){var fu=Array.isArray(le[Be])?le[Be]:[le[Be]];le[Be]=fu.map(S.bind(null,Be))}var Rn=new Ie(le);Rn.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),Rn.validate(E.value,E.rule.options||l,function(xt){var we=[];M&&M.length&&we.push.apply(we,M),xt&&xt.length&&we.push.apply(we,xt),w(we.length?we:null)})}}var O;v.asyncValidator?O=v.asyncValidator(v,E.value,x,E.source,l):v.validator&&(O=v.validator(v,E.value,x,E.source,l),O===!0?x():O===!1?x(v.message||v.field+" fails"):O instanceof Array?x(O):O instanceof Error&&x(O.message)),O&&O.then&&O.then(function(){return x()},function(ae){return x(ae)})},function(E){d(E)})},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}},Ie.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},Ie.warning=mr,Ie.messages=Qu,Ie.validators=Ht;var h_={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 f_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(h_,e)),n}var y_=new zC;function Ju(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function v_(t){if(Array.isArray(t))return t}function m_(t){if(Array.isArray(t))return Ju(t)}function Br(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function wr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Br(a,i,u,l,r,"next",d)}function r(d){Br(a,i,u,l,r,"throw",d)}l(void 0)})}}function g_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(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 b_(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(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 Fr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ar(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function C_(){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 E_(){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 Sr(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 __(t){return v_(t)||Ar(t)||Ir(t)||C_()}function Zu(t){return m_(t)||Ar(t)||Ir(t)||E_()}function B_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ir(t,e){if(!!t){if(typeof t=="string")return Ju(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ju(t,e)}}function Tr(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(h){return d([c,h])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)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 l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;g_(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",xr),P(this,"removeSetting",Rr),this._callControlHooks("preInstance",n);var u=Fr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,r=u.controlType,d=u.controlFieldType,c=u.controlEventKeys,h=u.controlCustomEvents,m=u.name,g=u.setting,C=u.slots,B=u.slotPosition;a&&l&&r||zl("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:de(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:r,this.props=new q(n==null?void 0:n.props,(Fr(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=re(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:d,this.eventKeys=re(c),this.customEvents=re(h),this.slots=re(C),this.slotPosition=re(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return b_(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 l,r=__(u),d=r[0],c=r.slice(1);return(l=y_).emit.apply(l,[d,this].concat(Zu(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),RC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return wr(function(){var u,a,l;return Tr(this,function(r){switch(r.label){case 0:return u=Sr({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=r.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()}},{key:"validate",value:function(i,u){var a=this;return wr(function(){var l,r,d,c;return Tr(this,function(h){switch(h.label){case 0:return[4,a.preValidate()];case 1:l=h.sent(),r=l!==void 0?l:Sr({},a.rules),Array.isArray(u)&&u.forEach(function(m){r.hasOwnProperty(m)&&delete r[m]}),d=f_(r,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,d.validate(a.props)];case 3:return h.sent(),[2,!0];case 4:throw c=h.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,l=this.type,r=this.props,d=r.dataBind,c=r.datasourceBind,h=r.optionConfig,m=r.caption,g=r.required,C=r.maxLength,B=r.options,E=r.encrypted,w=r.encryptedMode;if(!(!u&&!d&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(d&&(v.dataBind=d),h){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),C!==void 0&&(v.maxLength=C),E!==void 0&&(v.encrypted=E),w!==void 0&&(v.encryptedMode=w),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:re(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Zu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(k,"mode","Designer"),P(k,"slots",void 0),P(k,"slotPosition",void 0),P(k,"controlName","\u63A7\u4EF6"),P(k,"controlIcon","icon"),P(k,"controlType","control"),P(k,"controlFieldType",void 0),P(k,"controlEventKeys",[]),P(k,"controlCustomEvents",[]),P(k,"setting",[]),P(k,"__is_control__",!0),P(k,"removeSettingItem",Rr),P(k,"updateSettingItem",xr);function Rr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var r,d;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((d=e.setting[l].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(l,1)}})}function xr(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":B_(e))==="object"){var l,r=(l=e.type)!==null&&l!==void 0?l:"replace";if(r==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Zu(e.showItems))}}}})}function w_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function D_(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(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 F_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){w_(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=F_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,r=i.controlCustomEvents;u||zl("The ".concat(l," 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 q(n==null?void 0:n.props),this.customEvents=r;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vu.UNKNOWN}return D_(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(U,"mode","Runtime"),ie(U,"controlType","control"),ie(U,"controlFieldType",void 0),ie(U,"__is_control__",!0),ie(U,"controlCustomEvents",[]);function Yu(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("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:o("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:o("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(o("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(r){return r.value}),l=$C(a);a.length!==l.length?u(o("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:o("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function jn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B":"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C":"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1":"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},attributes:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),l()},message:o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}]}}}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function A_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function S_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qn(t,e,n){return e=Wn(e),I_(t,kr()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function Un(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 Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function zn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function I_(t,e){return e&&(T_(e)==="object"||typeof e=="function")?e:S_(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function T_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kr=function(){return!!t})()}var X=function(t){zn(e,t);function e(n){Un(this,e);var i;i=qn(this,e,[n]),L(i,"dataBind",{}),L(i,"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),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("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(A_(n.dataBind))i.dataBind={type:"object",required:!0,fields:re(u),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:re(u),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),$=function(t){zn(e,t);function e(n){Un(this,e);var i;i=qn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:o("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Le),I=function(t){zn(e,t);function e(n){Un(this,e);var i;i=qn(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 l;i.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var r;i.captionTip=(r=n==null?void 0:n.captionTip)!==null&&r!==void 0?r:"";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 h;i.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"";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 C;return i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(q);L(I,"Rules",X),L(I,"RuntimeRules",$);var rt=function(t){zn(e,t);function e(n){Un(this,e);var i;return i=qn(this,e,[n]),L(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),L(i,"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),L(i,"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(X);function R_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x_(t,e,n){return e=Gn(e),O_(t,Or()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function P_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(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 k_(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 O_(t,e){return e&&(M_(e)==="object"||typeof e=="function")?e:R_(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function M_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Or(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Or=function(){return!!t})()}var T=function(t){k_(e,t);function e(n){P_(this,e);var i;return i=x_(this,e,[n]),Kn(i,"controlType","form"),Kn(i,"props",void 0),i.props=new I(n==null?void 0:n.props),i}return e}(k);Kn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),Kn(T,"controlCustomAttributes",void 0);function $_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L_(t,e,n){return e=Xn(e),H_(t,Mr()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function N_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(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 V_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function H_(t,e){return e&&(j_(e)==="object"||typeof e=="function")?e:$_(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function j_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mr=function(){return!!t})()}var R=function(t){V_(e,t);function e(n){N_(this,e);var i;return i=L_(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new I(n==null?void 0:n.props),i}return e}(U);function q_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U_(t,e,n){return e=Qn(e),K_(t,$r()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function W_(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 z_(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 K_(t,e){return e&&(G_(e)==="object"||typeof e=="function")?e:q_(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function G_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($r=function(){return!!t})()}var N=function(t){z_(e,t);function e(n){return W_(this,e),U_(this,e,[n])}return e}(q);function ua(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 X_(t){if(Array.isArray(t))return ua(t)}function Q_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lr(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function J_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Lr(a,i,u,l,r,"next",d)}function r(d){Lr(a,i,u,l,r,"throw",d)}l(void 0)})}}function Z_(t,e,n){return e=Re(e),r6(t,Hr()?Reflect.construct(e,n||[],Re(t).constructor):e.apply(t,n))}function Y_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p_(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(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 ot(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ot=Reflect.get:ot=function(u,a,l){var r=o6(u,a);if(!!r){var d=Object.getOwnPropertyDescriptor(r,a);return d.get?d.get.call(l||u):d.value}},ot(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function e6(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 t6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function n6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function i6(){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 u6(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){Te(t,u,n[u])})}return t}function a6(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 l6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):a6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function r6(t,e){return e&&(c6(e)==="object"||typeof e=="function")?e:Q_(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function o6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function Vr(t){return X_(t)||n6(t)||s6(t)||i6()}function c6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function s6(t,e){if(!!t){if(typeof t=="string")return ua(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 ua(t,e)}}function Hr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hr=function(){return!!t})()}function d6(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(h){return d([c,h])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)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 l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var h6=1e4,H=function(e){e6(n,e);function n(i){Y_(this,n);var u;u=Z_(this,n,[i]),Te(u,"controlType","layout"),Te(u,"children",void 0),Te(u,"excludes",void 0),Te(u,"childrenMaxLength",void 0),Te(u,"props",void 0);var a=t6(this,n)?this.constructor:void 0,l=a.excludes,r=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=re(l),u.childrenMaxLength=r,u}return p_(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 l=this,r=this,d=function(){return ot(Re(n.prototype),"validate",l)};return J_(function(){return d6(this,function(c){switch(c.label){case 0:return[4,d().call(r,u,a)];case 1:return c.sent(),[4,Promise.all(r.children.map(function(h){return h.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=ot(Re(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(r,d){var c=d.toDataBindModel(u);if(Array.isArray(c)){var h=c.filter(function(m){return!!m});return Vr(r).concat(Vr(h))}return c&&r.push(c),r},l)}},{key:"toSchema",value:function(){var u=ot(Re(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var r=l.toSchema();return r});return l6(u6({},u),{children:a})}}]),n}(k);Te(H,"excludes",!1),Te(H,"childrenMaxLength",h6);function f6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y6(t,e,n){return e=Jn(e),g6(t,jr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function v6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function m6(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 g6(t,e){return e&&(b6(e)==="object"||typeof e=="function")?e:f6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function b6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jr=function(){return!!t})()}var W=function(t){m6(e,t);function e(n){v6(this,e);var i;return i=y6(this,e,[n]),la(i,"controlType","layout"),la(i,"children",void 0),la(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}(U);function C6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E6(t,e,n){return e=Zn(e),w6(t,qr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function _6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ct(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function B6(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 w6(t,e){return e&&(D6(e)==="object"||typeof e=="function")?e:C6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function D6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qr=function(){return!!t})()}var Yn=function(t){B6(e,t);function e(n,i,u){_6(this,e);var a;a=E6(this,e,[i]),ct(a,"headers",void 0),ct(a,"footers",void 0),ct(a,"pageIndex",void 0),ct(a,"pageSize",void 0),ct(a,"pageSizeOptions",void 0),ct(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 l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var r;a.pageSize=(r=i==null?void 0:i.pageSize)!==null&&r!==void 0?r: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}(q);function ca(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 F6(t){if(Array.isArray(t))return ca(t)}function A6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ur(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function S6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Ur(a,i,u,l,r,"next",d)}function r(d){Ur(a,i,u,l,r,"throw",d)}l(void 0)})}}function I6(t,e,n){return e=xe(e),M6(t,Xr()?Reflect.construct(e,n||[],xe(t).constructor):e.apply(t,n))}function T6(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 R6(t,e,n){return e&&Wr(t.prototype,e),n&&Wr(t,n),t}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function st(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?st=Reflect.get:st=function(u,a,l){var r=$6(u,a);if(!!r){var d=Object.getOwnPropertyDescriptor(r,a);return d.get?d.get.call(l||u):d.value}},st(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(t)}function x6(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 P6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function k6(){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 zr(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){pn(t,u,n[u])})}return t}function O6(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 Kr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):O6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function M6(t,e){return e&&(L6(e)==="object"||typeof e=="function")?e:A6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function $6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function Gr(t){return F6(t)||P6(t)||N6(t)||k6()}function L6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function N6(t,e){if(!!t){if(typeof t=="string")return ca(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 ca(t,e)}}function Xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xr=function(){return!!t})()}function V6(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(h){return d([c,h])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)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 l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var da=function(t){x6(e,t);function e(n){T6(this,e);var i;return i=I6(this,e,[n]),pn(i,"controlType","list"),pn(i,"props",void 0),i.props=new Yn(i,n==null?void 0:n.props,"Designer"),i}return R6(e,[{key:"validate",value:function(i,u){var a=this,l=this,r=function(){return st(xe(e.prototype),"validate",a)};return S6(function(){return V6(this,function(d){switch(d.label){case 0:return[4,r().call(l,i)];case 1:return d.sent(),[4,Promise.all(l.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=st(xe(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,r){var d=r.toDataBindModel(a);if(Array.isArray(d)){var c=d.filter(function(h){return!!h});return Gr(l).concat(Gr(c))}return d&&l.push(d),l},u)}},{key:"toSchema",value:function(){var i=st(xe(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return Kr(zr({},i),{props:Kr(zr({},this.props),{headers:u})})}}]),e}(k);pn(da,"controlFieldType",b.LIST);function H6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j6(t,e,n){return e=ei(e),z6(t,Jr()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function q6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function U6(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}function ha(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 W6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function z6(t,e){return e&&(K6(e)==="object"||typeof e=="function")?e:H6(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function K6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var Zr=function(t){W6(e,t);function e(n){q6(this,e);var i;return i=j6(this,e,[n]),ha(i,"controlType","list"),ha(i,"children",void 0),ha(i,"props",void 0),i.props=new Yn(i,n==null?void 0:n.props,"Runtime"),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return U6(e,[{key:"length",get:function(){return this.children.length}}]),e}(U);function G6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e,n){return e=ti(e),X6(t,Yr()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function ma(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&&ga(t,e)}function X6(t,e){return e&&(Q6(e)==="object"||typeof e=="function")?e:G6(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function Q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yr=function(){return!!t})()}var Ce=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),Q(i,"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Q(i,"width",{type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),z=function(t){ma(e,t);function e(n){va(this,e);var i;i=ya(this,e,[n]),Q(i,"widthType",void 0),Q(i,"width",void 0),Q(i,"caption",void 0),Q(i,"dataBind",void 0),Q(i,"autoWidth",void 0),Q(i,"fixed",void 0),Q(i,"sort",void 0),Q(i,"align",void 0),Q(i,"colSpan",void 0),Q(i,"autoHeight",void 0),Q(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 l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new rr(n==null?void 0:n.autoWidth),i.dataBind=new fe(n==null?void 0:n.dataBind);var r;i.sort=(r=n==null?void 0:n.sort)!==null&&r!==void 0?r:!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}(q);Q(z,"Rules",Ce);var ba=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),Q(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Q(i,"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Q(i,"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(Ce);function J6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z6(t,e,n){return e=dt(e),uB(t,eo()?Reflect.construct(e,n||[],dt(t).constructor):e.apply(t,n))}function Y6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p6(t,e,n){return e&&pr(t.prototype,e),n&&pr(t,n),t}function ni(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?ii=Reflect.get:ii=function(u,a,l){var r=aB(u,a);if(!!r){var d=Object.getOwnPropertyDescriptor(r,a);return d.get?d.get.call(l||u):d.value}},ii(t,e,n||t)}function dt(t){return dt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},dt(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&&Ca(t,e)}function tB(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){ni(t,u,n[u])})}return t}function nB(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 iB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):nB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function uB(t,e){return e&&(lB(e)==="object"||typeof e=="function")?e:J6(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function aB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=dt(t),t!==null););return t}function lB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eo=function(){return!!t})()}var J=function(t){eB(e,t);function e(n){Y6(this,e);var i;return i=Z6(this,e,[n]),ni(i,"controlType","column"),ni(i,"props",void 0),ni(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return p6(e,[{key:"toSchema",value:function(){var i=ii(dt(e.prototype),"toSchema",this).call(this);return iB(tB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function rB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oB(t,e,n){return e=ui(e),dB(t,to()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function cB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ea(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 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&&_a(t,e)}function dB(t,e){return e&&(hB(e)==="object"||typeof e=="function")?e:rB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function hB(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 Z=function(t){sB(e,t);function e(n){cB(this,e);var i;return i=oB(this,e,[n]),Ea(i,"controlType","column"),Ea(i,"props",void 0),Ea(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(U);function fB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e,n){return e=ai(e),bB(t,no()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function vB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mB(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 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&&Ba(t,e)}function bB(t,e){return e&&(CB(e)==="object"||typeof e=="function")?e:fB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function CB(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 wa=function(t){gB(e,t);function e(n){vB(this,e);var i;return i=yB(this,e,[n]),mB(i,"dataBind",void 0),i.dataBind=new fe(n==null?void 0:n.dataBind),i}return e}(N);function EB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _B(t,e,n){return e=li(e),DB(t,uo()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function BB(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 li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function wB(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 DB(t,e){return e&&(FB(e)==="object"||typeof e=="function")?e:EB(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(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 AB=function(t){wB(e,t);function e(n){BB(this,e);var i;return i=_B(this,e,[n]),io(i,"controlType","search"),io(i,"props",void 0),i.props=new wa(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 IB(t,e,n){return e=ri(e),xB(t,lo()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function TB(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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&&Fa(t,e)}function xB(t,e){return e&&(PB(e)==="object"||typeof e=="function")?e:SB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function PB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lo=function(){return!!t})()}var kB=function(t){RB(e,t);function e(n){TB(this,e);var i;return i=IB(this,e,[n]),ao(i,"controlType","search"),ao(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(W);function OB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MB(t,e,n){return e=oi(e),NB(t,ro()?Reflect.construct(e,n||[],oi(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 oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(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&&Aa(t,e)}function NB(t,e){return e&&(VB(e)==="object"||typeof e=="function")?e:OB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function VB(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 Sa=function(t){LB(e,t);function e(n){return $B(this,e),MB(this,e,[n])}return e}(N);function HB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jB(t,e,n){return e=ci(e),WB(t,co()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function qB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oo(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 UB(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 WB(t,e){return e&&(zB(e)==="object"||typeof e=="function")?e:HB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function zB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(co=function(){return!!t})()}var KB=function(t){UB(e,t);function e(n){qB(this,e);var i;return i=jB(this,e,[n]),oo(i,"controlType","wrap"),oo(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(H);function GB(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=si(e),ZB(t,ho()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function QB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function so(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function JB(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 ZB(t,e){return e&&(YB(e)==="object"||typeof e=="function")?e:GB(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function YB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ho=function(){return!!t})()}var pB=function(t){JB(e,t);function e(n){QB(this,e);var i;return i=XB(this,e,[n]),so(i,"controlType","wrap"),so(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(W);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ra extends q{constructor(e){var n,i,u,a,l,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(r=e==null?void 0:e.align)!=null?r:""}}class fo extends k{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}fo.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 ew extends U{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"text"}}var yo={Designer:fo,Runtime:ew,Property:Ra};class xa extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Pa extends k{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return o("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Pa.controlEventKeys=["on_click"],Pa.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 tw extends U{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"link"}}var vo={Designer:Pa,Runtime:tw,Property:xa};class ee extends q{constructor(e){var n,i,u,a,l,r,d,c,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"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 IE((h=e==null?void 0:e.optObj)!=null?h:{})}}class p extends k{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return o("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Nl.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 U{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var mo={Designer:p,Runtime:ue,Property:ee},ke=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(ke||{}),go=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(go||{}),bo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(bo||{});class di{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 ka=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ka||{});class hi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:de(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Oa=(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))(Oa||{});class Ma{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Ae((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new Ae((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new Ae((r=e==null?void 0:e.company)!=null?r:{type:"form"}),this.indexSignature=(h=e==null?void 0:e.indexSignature)!=null?h:new Ae((c=e==null?void 0:e.indexSignature)!=null?c:{type:"form"}),this.signaturePosition=(m=e==null?void 0:e.signaturePosition)!=null?m:"free",this.seal=new Ae((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(C=e==null?void 0:e.platformAutoSign)!=null?C:!1,this.posX=(B=e==null?void 0:e.posX)!=null?B:0,this.posY=(E=e==null?void 0:e.posY)!=null?E:0,this.remark=(w=e==null?void 0:e.remark)!=null?w:""}}class Co{constructor(e){var n,i,u,a,l,r;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 Ma(d)))!=null?u:[new Ma],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(r=e==null?void 0:e.completeTimeControl)!=null?r:""}}class jt{constructor(e){var n,i,u,a,l,r,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=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(r=e==null?void 0:e.fieldList)!=null?r:[],this.active=(d=e==null?void 0:e.active)!=null?d:!1}}class $a{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class Eo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new $a(e==null?void 0:e.watermark),this.autoRename=new $a(e==null?void 0:e.autoRename)}}class La{constructor(e){var n,i,u,a,l,r,d;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(r=e==null?void 0:e.isRelation)!=null?r:!1,this.relationBindCode=(d=e==null?void 0:e.relationBindCode)!=null?d:""}}class Na{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"auto",this.row=(i=e==null?void 0:e.row)!=null?i:20,this.height=e==null?void 0:e.height}}class _o{constructor(e){this.dataCode=e.dataCode}}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 _o(a)))!=null?u:[]}}class wo{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("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Do=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Fo{constructor(e){var n,i,u,a,l;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=(l=e.rules)!=null?l:[]}}class Ao{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 So=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(So||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),fi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(fi||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{});class ja extends q{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:Oa.SOLID}}class Io extends k{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return o("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Io.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class nw extends U{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"divider"}}var To={Designer:Io,Runtime:nw,Property:ja};class iw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(ke.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:o("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class yi extends q{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:[ke.ShowSubmitUser,ke.ShowSubmitDept,ke.ShowSubmitTime,ke.ShowCurrentApprovar,ke.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ht==null?void 0:ht.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}yi.Rules=iw;class ht extends k{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return o("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ht.controlFieldType=b.AUTO_NUMBER,ht.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 uw extends U{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Ro={Designer:ht,Runtime:uw,Property:yi};class aw extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class vi extends ee{constructor(e){var n,i,u,a;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.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}vi.Rules=aw;class ft extends p{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return o("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click","on_click_finish"],ft.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 lw extends ue{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var xo={Designer:ft,Runtime:lw,Property:vi};class rw extends j{constructor(e){super(e),this.processKey=[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class mi extends ee{constructor(e){var n,i,u,a,l,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(r=e==null?void 0:e.employeeId)!=null?r:""}}mi.Rules=rw;class yt extends p{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.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 ow extends ue{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Po={Designer:yt,Runtime:ow,Property:mi};class qa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:vt.controlIcon}}class vt extends p{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return o("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class cw extends ue{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var ko={Designer:vt,Runtime:cw,Property:qa};class Ua extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:mt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(r=>new jt(r)))!=null?l:[new jt({id:"default",name:o("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class mt extends p{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click","on_click_finish"],mt.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 sw extends ue{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Oo={Designer:mt,Runtime:sw,Property:Ua};class Wa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon}}class gt extends p{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class dw extends ue{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Mo={Designer:gt,Runtime:dw,Property:Wa};class hw{constructor(e){this.dataCode=e.dataCode}}class za extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new hw(r)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class bt extends p{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return o("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class fw extends ue{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var $o={Designer:bt,Runtime:fw,Property:za};function gi(){return{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class yw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},gi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},gi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class bi 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 fr(e==null?void 0:e.fillPayload),this.formBind=new sE(e==null?void 0:e.formBind),this.fillBack=new yr(e==null?void 0:e.fillBack)}}bi.Rules=yw;class Ut extends p{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return o("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class vw extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Lo={Designer:Ut,Runtime:vw,Property:bi};class mw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:it({},gi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:o("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:it({mode:{type:"string",required:!0,message:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},gi())}}}class Ci extends ee{constructor(e){var n,i,u,a,l;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 fr(e==null?void 0:e.fillPayload),this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.fillBack=new yr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}Ci.Rules=mw;class Wt extends p{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return o("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class gw extends ue{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var No={Designer:Wt,Runtime:gw,Property:Ci};class bw extends j{constructor(e){super(e)}}class Cw extends Le{constructor(e){super(e)}}class zt extends q{constructor(e){super(e)}}zt.Rules=bw,zt.RuntimeRules=Cw;class Vo extends k{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return o("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Vo.setting=[];class Ew extends U{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Ho={Designer:Vo,Runtime:Ew,Property:zt};class _w extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:o("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ei extends q{constructor(e){var n,i,u,a,l,r;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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top"}}Ei.Rules=_w;class jo extends k{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return o("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}jo.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 Bw extends U{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var qo={Designer:jo,Runtime:Bw,Property:Ei};class ww extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:o("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class _i extends q{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 AE(a)))!=null?u:[]}}_i.Rules=ww;class Uo extends k{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return o("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Uo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Dw extends U{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Wo={Designer:Uo,Runtime:Dw,Property:_i};class Fw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:o("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(o("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends ee{constructor(e){var n,i,u,a,l,r,d,c,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ct.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=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:Ct.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Ct.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new te(g)))!=null?m:[]}}Bi.Rules=Fw;class Ct extends p{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return o("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.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 Aw extends ue{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var zo={Designer:Ct,Runtime:Aw,Property:Bi};class Sw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},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(l=>!l.controlId)){u(o("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends ee{constructor(e){var n,i,u,a,l,r,d,c,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.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=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:Et.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Et.controlIcon,this.invoiceCheck=(c=e==null?void 0:e.invoiceCheck)!=null?c:!0,this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new te(g)))!=null?m:[]}}wi.Rules=Sw;class Et extends p{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return o("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 Iw extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Ko={Designer:Et,Runtime:Iw,Property:wi};class Tw extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:o("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Di extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:_t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:_t.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(r=>new Fo(r)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Di.Rules=Tw;class _t extends p{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}_t.slots=["grid-table-toolbar-slot"],_t.controlEventKeys=["on_click","on_click_finish"],_t.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Rw extends ue{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Go={Designer:_t,Runtime:Rw,Property:Di};class Ka extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Bt.controlIcon}}class Bt extends p{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class xw extends ue{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Xo={Designer:Bt,Runtime:xw,Property:Ka};class Pw extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Fi extends q{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Fi.Rules=Pw;class Ai extends k{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return o("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ai.controlEventKeys=["on_click"],Ai.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 kw extends U{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Qo={Designer:Ai,Runtime:kw,Property:Fi};class Ga extends q{constructor(e){var n,i,u,a,l,r,d,c,h;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=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(r=e==null?void 0:e.isHide)!=null?r:!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=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class wt extends k{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}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 Ow extends U{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Jo={Designer:wt,Runtime:Ow,Property:Ga};class Mw extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Si extends q{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ii.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new La(e==null?void 0:e.actionSetting))!=null?l:new La,this.listHeightSetting=(r=new Na(e==null?void 0:e.listHeightSetting))!=null?r:new Na}}Si.Rules=Mw;class Ii extends k{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return o("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Ii.controlEventKeys=["on_list_rowclick"],Ii.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_SIMPLE_SEARCH,s.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class $w extends U{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Zo={Designer:Ii,Runtime:$w,Property:Si},Lw=Object.freeze({__proto__:null,Text:yo,Link:vo,Button:mo,Divider:To,Title:Ro,CreateFormListButton:xo,BatchSubmissionListButton:Po,SubmissionRecordListButton:ko,ExportListButton:Oo,ExportRecordListButton:Mo,ImportRecordListButton:$o,FormSelectButton:Lo,ListSelectButton:No,Pagination:Ho,Dashboard:qo,ListViewSelect:Wo,TextOcrButton:zo,InvoiceCheckButton:Ko,BatchPrintListButton:Go,BatchPrintRecordListButton:Xo,OperationButton:Qo,BatchDeleteButton:Jo,ReferenceList:Zo});class Nw extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{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("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Vw extends ${constructor(e){super(e),this.push({type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Dt extends I{constructor(e){var n,i,u,a,l,r,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 vr(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:Ft.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:""}}Dt.Rules=Nw,Dt.RuntimeRules=Vw;class Ft extends T{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Ft.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Ft.controlFieldType=b.VARCHAR,Ft.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 Yo extends R{constructor(e){super(e),this.props=new Dt(e==null?void 0:e.props)}static get controlType(){return"input"}}Yo.controlFieldType=b.VARCHAR;var po={Designer:Ft,Runtime:Yo,Property:Dt};class Hw extends rt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:o("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class jw 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 I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("CMD.optionThird",null,"\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=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(r=e==null?void 0:e.limitMin)!=null?r:"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=(h=e==null?void 0:e.caption)!=null?h: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=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var w;(w=this.multistageFilling)==null||w.push(new te(E))}))}}Kt.Rules=Hw,Kt.RuntimeRules=jw;class Gt extends T{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return o("CMD.checkBox",null,"\u591A\u9009")}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 ec extends R{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ec.controlFieldType=b.ARRAY;var tc={Designer:Gt,Runtime:ec,Property:Kt};class qw extends rt{constructor(e){super(e)}}class Ti extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("CMD.optionThird",null,"\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=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(r=e==null?void 0:e.defaultShowOptions)!=null?r:!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=(h=e==null?void 0:e.caption)!=null?h:Xt.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(C=>{var B;(B=this.multistageFilling)==null||B.push(new te(C))}))}}Ti.Rules=qw;class Xt extends T{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return o("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=b.VARCHAR,Xt.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 nc extends R{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"radio"}}nc.controlFieldType=b.VARCHAR;var ic={Designer:Xt,Runtime:nc,Property:Ti};class Uw extends X{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:o("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{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("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Ww 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(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Qt extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,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.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=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r: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=(h=e==null?void 0:e.unitPosition)!=null?h:"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=(C=e==null?void 0:e.placeholder)!=null?C:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new vr(e==null?void 0:e.regularRules)}}Qt.Rules=Uw,Qt.RuntimeRules=Ww;class Jt extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return o("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}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 uc extends R{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"number"}}uc.controlFieldType=b.DECIMAL;var ac={Designer:Jt,Runtime:uc,Property:Qt};class Xa extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.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=(l=e==null?void 0:e.caption)!=null?l:Ri.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(h=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(C=>new di(C)))!=null?h:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ri extends T{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return o("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ri.controlFieldType=b.TIMESTAMP,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 lc extends R{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}lc.controlFieldType=b.TIMESTAMP;var rc={Designer:Ri,Runtime:lc,Property:Xa};class zw 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 xi extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g;super(e),this.dataBind=new _E(e==null?void 0:e.dataBind),this.defaultValue=new BE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.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=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:o("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:o("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(h=e==null?void 0:e.caption)!=null?h:Pi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(C=>new di(C)))!=null?g:[]}}xi.RuntimeRules=zw;class Pi extends T{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Pi.controlFieldType=b.TIMESCOPE,Pi.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 oc extends R{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}oc.controlFieldType=b.TIMESCOPE;var cc={Designer:Pi,Runtime:oc,Property:xi};class Kw extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Gw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Zt extends I{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new rE(e==null?void 0:e.rowHeightSetting)}}Zt.Rules=Kw,Zt.RuntimeRules=Gw;class Yt extends T{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return o("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}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 sc extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}sc.controlFieldType=b.TEXT;var dc={Designer:Yt,Runtime:sc,Property:Zt};class Xw extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Qw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class pt extends I{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165")}}pt.Rules=Xw,pt.RuntimeRules=Qw;class en extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return o("CMD.richText",null,"\u5BCC\u6587\u672C")}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 hc extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}hc.controlFieldType=b.TEXT;var fc={Designer:en,Runtime:hc,Property:pt};class Jw extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ki extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("CMD.optionThird",null,"\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:Oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",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 C;(C=this.multistageFilling)==null||C.push(new te(g))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new at(e==null?void 0:e.formBind)}}ki.Rules=Jw;class Oi extends T{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return o("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Oi.controlFieldType=b.VARCHAR,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 yc extends R{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"select"}}yc.controlFieldType=b.VARCHAR;var vc={Designer:Oi,Runtime:yc,Property:ki};class Zw extends rt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Yw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends I{constructor(e){var n,i,u,a,l,r,d,c,h;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("CMD.optionThird",null,"\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:Mi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new at(e==null?void 0:e.formBind)}}tn.Rules=Zw,tn.RuntimeRules=Yw;class Mi extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return o("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Mi.controlFieldType=b.ARRAY,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 mc extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}mc.controlFieldType=b.ARRAY;var gc={Designer:Mi,Runtime:mc,Property:tn};class pw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class $i extends I{constructor(e){var n,i,u,a,l,r,d,c,h;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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Li.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!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))}))}}$i.RuntimeRules=pw;class Li extends T{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Li.controlFieldType=b.EMPLOYEES,Li.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 bc extends R{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"employee"}}bc.controlFieldType=b.EMPLOYEES;var Cc={Designer:Li,Runtime:bc,Property:$i};const e8=10485760,t8=104857600,n8=1048576e3;class i8 extends X{constructor(e){super(e),this.maxSize={type:"number",min:0,max:n8,message:o("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class u8 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("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:t8,this.caption=(c=e==null?void 0:e.caption)!=null?c:St.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:o("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(C=e==null?void 0:e.operation)!=null?C:["info","preview","download"]}}At.Rules=i8,At.RuntimeRules=u8;class St extends T{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return o("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}St.controlEventKeys=["on_change"],St.controlFieldType=b.FILE,St.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-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Qa extends R{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Qa.controlFieldType=b.FILE;var Ec={Designer:St,Runtime:Qa,Property:At};const _c=class extends St{static get controlName(){return o("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:_c.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}};let Ja=_c;Ja.controlFieldType=b.IMAGE,Ja.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 a8 extends Qa{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,r;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("CMD.image",null,"\u56FE\u7247"),this.props.placeholder=(r=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?r:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}}class l8 extends At{constructor(e){super(e)}}var Bc={Designer:Ja,Runtime:a8,Property:l8};class r8 extends rt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:o("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},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("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class o8 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:[xl(it({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:o(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],currency:{type:"string"}}})}}class nn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new CE(e==null?void 0:e.dataBind),this.datasourceBind=new Y((r=e==null?void 0:e.datasourceBind)!=null?r:{displayBoList:[new Ou({value:"name"})]}),this.defaultValue=new EE((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:Nu.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=ge(e==null?void 0:e.options),this.caption=(h=e==null?void 0:e.caption)!=null?h:un.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}nn.Rules=r8,nn.RuntimeRules=o8;class un extends T{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return o("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}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 wc extends R{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}wc.controlFieldType=b.MONEY;var Dc={Designer:un,Runtime:wc,Property:nn};class c8 extends X{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:o("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:o("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:o("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=o("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class s8 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("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class an extends I{constructor(e){var n,i,u,a,l,r,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:ka.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new hi(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new hi),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ln.controlName}}an.Rules=c8,an.RuntimeRules=s8;class ln extends T{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return o("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new hi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=b.DECIMAL,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:"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 Fc extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}Fc.controlFieldType=b.DECIMAL;var Ac={Designer:ln,Runtime:Fc,Property:an};class d8 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("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:o("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:o("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Ni extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vi.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 wE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Ni.RuntimeRules=d8;class Vi extends T{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return o("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Vi.controlFieldType=b.ADDRESS,Vi.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 Sc extends R{constructor(e){super(e),this.props=new Ni(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"}}Sc.controlFieldType=b.ADDRESS;var Ic={Designer:Vi,Runtime:Sc,Property:Ni};class h8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Hi extends I{constructor(e){var n,i,u,a,l,r,d,c,h,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=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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=(h=e==null?void 0:e.caption)!=null?h:rn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new te(C))}))}}Hi.RuntimeRules=h8;class rn extends T{constructor(e){super(e),this.props=new Hi(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}}rn.controlName=o("CMD.department",null,"\u90E8\u95E8"),rn.controlFieldType=b.DEPARTMENTS,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:"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 Tc extends R{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"department"}}Tc.controlFieldType=b.DEPARTMENTS;var Rc={Designer:rn,Runtime:Tc,Property:Hi};class Za extends I{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("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class on extends T{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return o("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}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 xc extends R{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}xc.controlFieldType=b.AUTO_NUMBER;var Pc={Designer:on,Runtime:xc,Property:Za};class f8 extends X{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class y8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class cn extends I{constructor(e){var n,i,u,a,l,r,d,c,h;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 DE(e==null?void 0:e.dataBind),this.defaultValue=new FE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(h=e==null?void 0:e.calcOnMounted)!=null?h:!1}}cn.Rules=f8,cn.RuntimeRules=y8;class sn extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return o("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}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 kc extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}kc.controlFieldType=b.CALC;var Oc={Designer:sn,Runtime:kc,Property:cn};class v8 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("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class ji extends I{constructor(e){var n,i,u,a,l,r;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("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:o("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(r=e==null?void 0:e.caption)!=null?r:qi.controlName}}ji.RuntimeRules=v8;class qi extends T{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return o("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}qi.controlFieldType=b.DECIMAL_RANGE,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Mc extends R{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Mc.controlFieldType=b.DECIMAL_RANGE;var $c={Designer:qi,Runtime:Mc,Property:ji};class m8 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 Ui extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:De.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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:o("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:o("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Wi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new di(B)))!=null?C:[]}}Ui.RuntimeRules=m8;class Wi extends T{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Wi.controlFieldType=b.ARRAY,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lc extends R{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Lc.controlFieldType=b.ARRAY;var Nc={Designer:Wi,Runtime:Lc,Property:Ui};class g8 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class b8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:It.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=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}dn.Rules=g8,dn.RuntimeRules=b8;class It extends T{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return o("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}It.controlFieldType=b.ANY,It.controlEventKeys=[],It.slots=["grid-table-toolbar-slot",Nl.DEFAULT],It.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 Vc extends R{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Vc.controlFieldType=b.ANY;var Hc={Designer:It,Runtime:Vc,Property:dn};class C8 extends rt{constructor(e){super(e),this.listPageBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class zi extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Pu(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("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(r=e==null?void 0:e.openMultistageFilling)!=null?r:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new te(C))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new at(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}}zi.Rules=C8;class hn extends T{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return o("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}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 jc extends R{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}jc.controlFieldType=b.VARCHAR;var qc={Designer:hn,Runtime:jc,Property:zi};class Ya extends Dt{constructor(e){super(e)}}class Uc extends Ft{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Uc.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 Wc extends R{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Wc.controlFieldType=b.VARCHAR;var zc={Designer:Uc,Runtime:Wc,Property:Ya};class E8 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],jn.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:o("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class _8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w,v,_,S,x;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(r=e==null?void 0:e.optionalLevel)!=null?r: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=(h=e==null?void 0:e.isShowIncludeSub)!=null?h:!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=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new dr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new dr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(S=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(O=>new te(O)))!=null?S:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}fn.Rules=E8,fn.RuntimeRules=_8;class Me extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return o("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Me.controlEventKeys=["on_change","on_click"],Me.controlFieldType=b.ARRAY,Me.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 Kc extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Kc.controlFieldType=b.ARRAY;var Gc={Designer:Me,Runtime:Kc,Property:fn};class B8 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},jn.call(this,e,Tt.controlCustomAttributes),e.externalType===Oe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:o("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class w8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Tt.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Ln((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Tt.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Va.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ha.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Oe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.mainDeptFlag=(w=e==null?void 0:e.mainDeptFlag)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new te(v))}))}}yn.Rules=B8,yn.RuntimeRules=w8;class Tt extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Tt.controlFieldType=b.EMPLOYEES,Tt.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,s.MAIN_DEPT_FLAG]},{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 Xc extends R{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Xc.controlFieldType=b.EMPLOYEES;var Qc={Designer:Tt,Runtime:Xc,Property:yn};class D8 extends X{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:o("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&kn(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}r()}},indexSignature:{type:"object",required:!0,validator(a,l,r){if((i==null?void 0:i.signaturePosition)==="index"&&kn(l.value)&&l.value.length===0){r(o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}r()}},company:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&i.signatureType.includes("company")&&kn(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}r()}}}},n),{})}}}}}class Ki extends I{constructor(e){var n,i,u,a,l,r;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("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.signatureConfig=new Co(e==null?void 0:e.signatureConfig)}}Ki.Rules=D8;class vn extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return o("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}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 Jc extends R{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Jc.controlFieldType=b.VARCHAR;var Zc={Designer:vn,Runtime:Jc,Property:Ki};class F8 extends X{constructor(e){super(e),this.content={type:"string",required:!0,message:o("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(o("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class A8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(r=e==null?void 0:e.canEdit)!=null?r:!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=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:e8,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Eo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}mn.Rules=F8,mn.RuntimeRules=A8;class gn extends T{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return o("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}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 Yc extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Yc.controlFieldType=b.FILE;var pc={Designer:gn,Runtime:Yc,Property:mn};class S8 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,Ne.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class I8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w;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=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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=(h=e==null?void 0:e.caption)!=null?h:Ne.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Ln((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:fi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Oe.ALL,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(v=>{var _;(_=this.multistageFilling)==null||_.push(new te(v))}))}}bn.Rules=S8,bn.RuntimeRules=I8;class Ne extends T{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}}Ne.controlName=o("CMD.department",null,"\u90E8\u95E8"),Ne.controlFieldType=b.DEPARTMENTS,Ne.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 es extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}es.controlFieldType=b.DEPARTMENTS;var ts={Designer:Ne,Runtime:es,Property:bn};class T8 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,Rt.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class R8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w,v,_,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.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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=(h=e==null?void 0:e.caption)!=null?h:Rt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new gE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:fi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Oe.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),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(x=>{var O;(O=this.multistageFilling)==null||O.push(new te(x))}))}}Cn.Rules=T8,Cn.RuntimeRules=R8;class Rt extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return o("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}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 ns extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}ns.controlFieldType=b.DEPARTMENTS;var is={Designer:Rt,Runtime:ns,Property:Cn};class x8 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class P8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.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=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}En.Rules=x8,En.RuntimeRules=P8;class _n extends T{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return o("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}_n.controlFieldType=b.ANY,_n.controlEventKeys=[],_n.setting=[];class us extends R{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}us.controlFieldType=b.ANY;var as={Designer:_n,Runtime:us,Property:En},k8=Object.freeze({__proto__:null,Input:po,Checkbox:tc,Radio:ic,Number:ac,DatePicker:rc,DateRange:cc,Textarea:dc,RichText:fc,Select:vc,SelectMultiple:gc,Employee:Cc,Image:Bc,Attachment:Ec,Amount:Dc,Score:Ac,Address:Ic,Department:Rc,AutoNumber:Pc,Calc:Oc,SearchNumberRange:$c,SearchDateRange:Nc,VueFormItem:Hc,SelectRelation:qc,SearchInput:zc,Tree:Gc,Employee2:Qc,ElectronicSignature:Zc,WPS:pc,Department2:ts,OrganizationSelection:is,VuePage:as});class ls extends H{static get controlName(){return o("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}ls.excludes=[F.GRID];class O8 extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var rs={Designer:ls,Runtime:O8,Property:N};const M8=24;class Ve extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:M8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Bn extends H{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlName(){return o("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Bn.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],Bn.childrenMaxLength=1;class pa extends W{constructor(e){super(e),this.props=new Ve(e==null?void 0:e.props)}static get controlType(){return"col"}}var os={Designer:Bn,Runtime:pa,Property:Ve};class Gi 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 Xi extends H{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return o("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Xi.excludes=[F.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class cs extends W{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"row"}}var ss={Designer:Xi,Runtime:cs,Property:Gi};const $8=4;class Qi extends Xi{static get controlName(){return o("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Qi.excludes=[F.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=$8;class L8 extends cs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class N8 extends Gi{constructor(e){super(e)}}var ds={Designer:Qi,Runtime:L8,Property:N8};class V8 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Ji extends N{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:o("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Ji.Rules=V8;class el extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return o("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}el.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}],el.excludes=[F.CARD_GROUP];class H8 extends W{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var hs={Designer:el,Runtime:H8,Property:Ji};class j8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zi extends N{constructor(e){var n,i,u,a,l;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=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new oE(e==null?void 0:e.metaAutoWidth)}}Zi.Rules=j8;class se extends H{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}se.controlName=o("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),se.controlType="subtable-column",se.controlIcon="subtable-column",se.childrenMaxLength=1,se.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT,F.GRID_LAYOUT_CONTAINER],se.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class fs extends W{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}fs.controlType="subtable-column";var ys={Designer:se,Runtime:fs,Property:Zi};class tl extends N{constructor(e){super(e)}}class He extends H{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}}He.controlName=o("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),He.controlType="subtable-row",He.controlIcon="subtable-row",He.childrenMaxLength=1,He.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],He.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class q8 extends W{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var vs={Designer:He,Runtime:q8,Property:tl};class nl extends N{constructor(e){var n,i,u,a,l,r,d,c,h,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(r=e==null?void 0:e.fieldName)!=null?r:"",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=(h=e==null?void 0:e.timestampDateType)!=null?h:De.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class je extends H{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}je.controlName="\u5217\u8868\u5355\u5143\u683C",je.controlType="gridtable-column",je.controlIcon="gridtable-column",je.childrenMaxLength=1,je.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],je.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ms extends W{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}ms.controlType="gridtable-column";var gs={Designer:je,Runtime:ms,Property:nl};class il 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 ul extends H{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ul.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],ul.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class U8 extends W{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var bs={Designer:ul,Runtime:U8,Property:il};class al extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class W8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Yi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName}}Yi.Rules=W8;class wn extends H{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return o("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}wn.excludes=[F.TAB],wn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class z8 extends W{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Cs={Designer:wn,Runtime:z8,Property:Yi};class Dn extends H{constructor(e){var n;super(e),this.props=new al(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new wn,new wn]}static get controlName(){return o("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Dn.excludes=[F.TAB],Dn.controlEventKeys=["on_change_tab"],Dn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class K8 extends W{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Es={Designer:Dn,Runtime:K8,Property:al};class _s extends N{constructor(e){super(e)}}class Bs extends H{constructor(e){super(e),this.props=new _s({}),this.children=(e==null?void 0:e.children)||[new Bn({props:new Ve({span:12})}),new Bn({props:new Ve({span:12})})]}static get controlName(){return o("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Bs.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class G8 extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new pa({props:new Ve({span:12})}),new pa({props:new Ve({span:12})})]}}var ws={Designer:Bs,Runtime:G8,Property:_s};class X8 extends Le{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Q8 extends j{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("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:o("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Yu.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 Fn extends N{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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 fE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new vE(e==null?void 0:e.joinRelation),this.showType=(r=e==null?void 0:e.showType)!=null?r:"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=(h=e==null?void 0:e.isFixedHeader)!=null?h:!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=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new xE(e==null?void 0:e.rowStyle)}}Fn.Rules=Q8,Fn.RuntimeRules=X8;class An extends H{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlName(){return o("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[F.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 J8 extends W{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ds={Designer:An,Runtime:J8,Property:Fn};class Z8 extends Le{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pi extends N{constructor(e){var n,i,u,a,l,r;super(e),this.save=new Se((n=e==null?void 0:e.save)!=null?n:{content:o("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Se((i=e==null?void 0:e.cancel)!=null?i:{content:o("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Se((u=e==null?void 0:e.saveAs)!=null?u:{content:o("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Se((a=e==null?void 0:e.print)!=null?a:{content:o("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(d=>new Se(d)),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}pi.RuntimeRules=Z8;class Fs extends H{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return o("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Fs.excludes=[];class Y8 extends W{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var As={Designer:Fs,Runtime:Y8,Property:pi};class p8 extends H{static get controlName(){return o("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class eD extends W{static get controlType(){return"page"}constructor(e){super(e)}}class tD 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 Ss={Designer:p8,Runtime:eD,Property:tD};class nD extends H{static get controlName(){return o("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class iD extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class uD extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ao(e==null?void 0:e.flexConfig)}}var Is={Designer:nD,Runtime:iD,Property:uD};class aD extends H{static get controlName(){return o("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class lD extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class rD extends N{constructor(e){super(e)}}var Ts={Designer:aD,Runtime:lD,Property:rD};class oD extends H{static get controlName(){return o("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class cD extends W{static get controlType(){return"position"}constructor(e){super(e)}}class sD 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 Rs={Designer:oD,Runtime:cD,Property:sD};class ll 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 eu extends H{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return o("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}eu.slotPosition={default:"action-bar-slot"},eu.excludes=[],eu.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 dD extends W{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var xs={Designer:eu,Runtime:dD,Property:ll},hD=Object.freeze({__proto__:null,Grid:rs,Col:os,Row:ss,GridRow:ds,CardGroup:hs,SubTableColumn:ys,SubTableRow:vs,GridTableColumn:gs,GridLayoutContainer:bs,Tab:Es,TabPane:Cs,Toolbox:ws,ListView:Ds,DataView:As,Page:Ss,AdvancedContainer:Is,PositioningContainer:Ts,Position:Rs,ActionBar:xs});class fD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:o("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:o("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:o("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class yD extends Le{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:o("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ps=class extends Yn{constructor(t,e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w,v,_,S,x,O,ae,M,le,Tn,Be,fu,Rn,xt,we,id,ud,ad,ld;super(t,e,Ps.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:In.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=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Do,this.printMode=(h=e==null?void 0:e.printMode)!=null?h:"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=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(x=e==null?void 0:e.canClear)!=null?x:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!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=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Tn=e==null?void 0:e.mobileDefaultNum)!=null?Tn:10,this.dataStorageDoc=(Be=e==null?void 0:e.dataStorageDoc)!=null?Be:new cE,this.fixedColumn=(fu=e==null?void 0:e.fixedColumn)!=null?fu:[],this.mobileRowCaption=(Rn=e==null?void 0:e.mobileRowCaption)!=null?Rn:o("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(xt=e==null?void 0:e.mobileIsTile)!=null?xt:!1,this.isPaste=(we=e==null?void 0:e.isPaste)!=null?we:!1,this.pageSize=(id=e==null?void 0:e.pageSize)!=null?id:10,this.pageSizeOptions=(ud=e==null?void 0:e.pageSizeOptions)!=null?ud:[10,20,50,100],this.importConfig=new Bo(e==null?void 0:e.importConfig),this.exportConfig=new wo(e==null?void 0:e.exportConfig),this.sortable=(ad=e==null?void 0:e.sortable)!=null?ad:!1,this.sortKey=(ld=e==null?void 0:e.sortKey)!=null?ld:{}}};let Sn=Ps;Sn.Rules=fD,Sn.RuntimeRules=yD;class In extends da{constructor(e){var n;super(e),this.props=new Sn(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("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new se,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}In.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],In.slotPosition={toolbar:"subtable-toolbar-slot"},In.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 vD extends Zr{constructor(e){super(e),this.props=new Sn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){$t("Method not implemented.")}getChildrenFormControl(){return[]}}var ks={Designer:In,Runtime:vD,Property:Sn};class rl extends Yn{constructor(e,n){var i,u,a,l,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(r=n==null?void 0:n.pageSizeOptions)!=null?r:[10,20,50,100,500]}}class mD extends Ce{constructor(e){super(e),this.caption.required=!1}}class tu extends z{constructor(e){var n,i,u,a,l,r,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:qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(d=(r=e==null?void 0:e.autoWidth)==null?void 0:r.flex)!=null?d:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}tu.Rules=mD;class qe extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}qe.controlType="order-column",qe.controlName=o("CMD.order",null,"\u5E8F\u53F7"),qe.controlIcon="order-column",qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class ol extends Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}ol.controlType="order-column",ol.controlFieldType=b.DECIMAL;var Os={Designer:qe,Runtime:ol,Property:tu};class cl extends z{constructor(e){var n,i,u,a,l,r;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:Ee.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(r=e==null?void 0:e.limit)!=null?r:3}}class Ee extends J{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ai.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return kl(this,null,function*(){return yield Pl(Ee.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ee.controlType="operation-column",Ee.controlName=o("CMD.operation",null,"\u64CD\u4F5C"),Ee.controlIcon="operation-column",Ee.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},{key:"super-setting",visible:!0}];class sl extends Z{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}}sl.controlType="operation-column",sl.controlFieldType=b.FILE;var Ms={Designer:Ee,Runtime:sl,Property:cl};const gD=1e4;class Ue extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new rl(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 qe,new Ee]),this.excludes=re(n),this.childrenMaxLength=i}static get controlName(){return o("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return xl(it({},e),{children:n})}validate(e,n){return kl(this,null,function*(){return yield Pl(Ue.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ue.slotPosition={toolbar:"grid-table-toolbar-slot"},Ue.setting=[{key:"list-fixed-header",visible:!0}],Ue.excludes=[],Ue.childrenMaxLength=gD;class bD extends Zr{constructor(e){super(e),this.props=new rl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){$t("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var $s={Designer:Ue,Runtime:bD,Property:rl},CD=Object.freeze({__proto__:null,SubTable:ks,GridTable:$s});class ED extends ba{constructor(e){super(e),Pe.call(this,e)}}class nu extends z{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:We.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=ge((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(r=e==null?void 0:e.dictionaryTagConfig)!=null?r:{isTag:!1}}}nu.Rules=ED;class We extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName=o("CMD.varchar",null,"\u77ED\u6587\u672C"),We.controlIcon="varchar-column",We.controlFieldType=b.VARCHAR,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-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},{key:"super-setting",visible:!0}];class dl extends Z{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}dl.controlType="varchar-column",dl.controlFieldType=b.VARCHAR;var Ls={Designer:We,Runtime:dl,Property:nu};class _D extends Ce{constructor(e){super(e),Pe.call(this,e)}}class iu extends z{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:ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}iu.Rules=_D;class ze 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{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}ze.controlType="text-column",ze.controlName=o("CMD.long",null,"\u957F\u6587\u672C"),ze.controlIcon="text-column",ze.controlFieldType=b.TEXT,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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},{key:"super-setting",visible:!0}];class hl extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}hl.controlType="text-column",hl.controlFieldType=b.TEXT;var Ns={Designer:ze,Runtime:hl,Property:iu};class BD extends ba{constructor(e){super(e),Pe.call(this,e)}}class uu extends z{constructor(e){var n,i,u,a,l,r,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.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=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=ge((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}uu.Rules=BD;class Ke extends J{constructor(e){super(e),this.props=new uu(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}}Ke.controlType="decimal-column",Ke.controlName=o("CMD.decimal",null,"\u6570\u503C"),Ke.controlIcon="decimal-column",Ke.controlFieldType=b.DECIMAL,Ke.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},{key:"super-setting",visible:!0}];class fl extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}fl.controlType="decimal-column",fl.controlFieldType=b.DECIMAL;var Vs={Designer:Ke,Runtime:fl,Property:uu};class wD extends Ce{constructor(e){super(e),Pe.call(this,e)}}class au extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName}}au.Rules=wD;class Ge extends J{constructor(e){super(e),this.props=new au(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="timescope-column",Ge.controlName=o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ge.controlIcon="timescope-column",Ge.controlFieldType=b.TIMESCOPE,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},{key:"super-setting",visible:!0}];class yl extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}yl.controlType="timescope-column",yl.controlFieldType=b.TIMESCOPE;var Hs={Designer:Ge,Runtime:yl,Property:au};class DD extends Ce{constructor(e){super(e),Pe.call(this,e)}}class lu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName}}lu.Rules=DD;class Xe extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Xe.controlType="timestamp-column",Xe.controlName=o("CMD.timestamp",null,"\u65E5\u671F"),Xe.controlIcon="timestamp-column",Xe.controlFieldType=b.TIMESTAMP,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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class vl extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}vl.controlType="timestamp-column",vl.controlFieldType=b.TIMESTAMP;var js={Designer:Xe,Runtime:vl,Property:lu};class FD extends ba{constructor(e){super(e),Pe.call(this,e)}}class ru extends z{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 me(e==null?void 0:e.linkOperationOption),this.options=ge((a=e==null?void 0:e.options)!=null?a:[{}])}}ru.Rules=FD;class Qe extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Qe.controlType="array-column",Qe.controlName=o("CMD.array",null,"\u6570\u7EC4"),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},{key:"super-setting",visible:!0}];class ml extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}ml.controlType="array-column",ml.controlFieldType=b.ARRAY;var qs={Designer:Qe,Runtime:ml,Property:ru};class gl extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Je extends J{constructor(e){super(e),this.props=new gl(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}}Je.controlType="department-column",Je.controlName=o("CMD.department",null,"\u90E8\u95E8"),Je.controlIcon="department-column",Je.controlFieldType=b.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class bl extends Z{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}bl.controlType="department-column",bl.controlFieldType=b.DEPARTMENTS;var Us={Designer:Je,Runtime:bl,Property:gl};class AD extends Ce{constructor(e){super(e),Pe.call(this,e)}}class ou extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}ou.Rules=AD;class Ze extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Ze.controlType="auto-number-column",Ze.controlName=o("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Ze.controlIcon="auto-number-column",Ze.controlFieldType=b.AUTO_NUMBER,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-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Cl extends Z{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Cl.controlType="auto-number-column",Cl.controlFieldType=b.AUTO_NUMBER;var Ws={Designer:Ze,Runtime:Cl,Property:ou};class El extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Ye extends J{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Ye.controlType="file-column",Ye.controlName=o("CMD.file",null,"\u9644\u4EF6"),Ye.controlIcon="file-column",Ye.controlFieldType=b.FILE,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:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class _l extends Z{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}_l.controlType="file-column",_l.controlFieldType=b.FILE;var zs={Designer:Ye,Runtime:_l,Property:El};class Bl extends z{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 Bl(e==null?void 0:e.props)}}pe.controlType="image-column",pe.controlName=o("CMD.image",null,"\u56FE\u7247"),pe.controlIcon="image-column",pe.controlFieldType=b.IMAGE,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},{key:"super-setting",visible:!0}];class wl extends Z{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}wl.controlType="image-column",wl.controlFieldType=b.IMAGE;var Ks={Designer:pe,Runtime:wl,Property:Bl};class Dl extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends J{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}et.controlType="people-column",et.controlName=o("CMD.people",null,"\u4EBA\u5458"),et.controlIcon="people-column",et.controlFieldType=b.EMPLOYEES,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-sort",visible:!0},{key:"super-setting",visible:!0}];class Fl extends Z{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Fl.controlType="people-column",Fl.controlFieldType=b.EMPLOYEES;var Gs={Designer:et,Runtime:Fl,Property:Dl};class SD extends Ce{constructor(e){super(e),Pe.call(this,e)}}class cu extends z{constructor(e){var n,i;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 me(e==null?void 0:e.linkOperationOption)}}cu.Rules=SD;class tt extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}tt.controlType="location-column",tt.controlName=o("CMD.location",null,"\u5730\u5740"),tt.controlIcon="location-column",tt.controlFieldType=b.ADDRESS,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Al extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Al.controlType="location-column",Al.controlFieldType=b.ADDRESS;var Xs={Designer:tt,Runtime:Al,Property:cu};class ID extends Ce{constructor(e){super(e),this.sortFieldCode={type:"string",message:o("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class su extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}su.Rules=ID;const TD=1;class _e extends J{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new su(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=re(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}_e.controlType="custom-column",_e.controlName=o("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=TD,_e.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},{key:"super-setting",visible:!0}];class Qs extends Z{constructor(e){super(e),this.props=new su(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Qs.controlType="custom-column";var Js={Designer:_e,Runtime:Qs,Property:su};class Sl extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.datasourceBind=new Ln((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:$e.controlCustomAttributes})}}class $e extends J{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}$e.controlType="employee-column",$e.controlName=o("CMD.employee",null,"\u4EBA\u5458"),$e.controlIcon="employee-column",$e.controlFieldType=b.EMPLOYEES,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Il extends Z{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}Il.controlType="employee-column",Il.controlFieldType=b.EMPLOYEES;var Zs={Designer:$e,Runtime:Il,Property:Sl};class Tl extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class nt extends J{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}nt.controlType="approval-status-column",nt.controlName=o("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),nt.controlIcon="approval-status-column",nt.excludes=[],nt.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},{key:"super-setting",visible:!0}];class Ys extends Z{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}Ys.controlType="approval-status-column";var ps={Designer:nt,Runtime:Ys,Property:Tl},RD=Object.freeze({__proto__:null,VarcharColumn:Ls,TextColumn:Ns,DecimalColumn:Vs,TimescopeColumn:Hs,TimestampColumn:js,ArrayColumn:qs,DepartmentColumn:Us,AutoNumberColumn:Ws,FileColumn:zs,ImageColumn:Ks,PeopleColumn:Gs,LocationColumn:Xs,CustomColumn:Js,OrderColumn:Os,OperationColumn:Ms,EmployeeColumn:Zs,ApprovalStatusColumn:ps});class xD extends Le{constructor(e){super(e),this.push({type:"object",fields:{}})}}class du extends wa{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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 Se((a=e==null?void 0:e.search)!=null?a:{content:o("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Se((l=e==null?void 0:e.cancel)!=null?l:{content:o("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(B=>new Se(B)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(h=e==null?void 0:e.childMinWidth)!=null?h: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=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}du.RuntimeRules=xD;class hu extends AB{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}hu.controlType="simple-search",hu.slotPosition={default:"search"},hu.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 ed extends kB{constructor(e){var n;super(e),this.props=new du(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ed.controlType="simple-search";var td={Designer:hu,Runtime:ed,Property:du},PD=Object.freeze({__proto__:null,SimpleSearch:td});class Rl extends Sa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class kD extends KB{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class OD extends pB{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function WD(t){return t}var MD={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:o("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},nd={Designer:kD,Runtime:OD,Property:Rl,Setting:MD},$D=Object.freeze({__proto__:null,GridLayoutWrap:nd});y.ActionBar=xs,y.ActionSetting=La,y.Address=Ic,y.AdvancedContainer=Is,y.Amount=Dc,y.ApprovalStatusColumn=ps,y.ArrayColumn=qs,y.AssignType=Oe,y.Attachment=Ec,y.AutoNumber=Pc,y.AutoNumberColumn=Ws,y.BatchDeleteButton=Jo,y.BatchPrintListButton=Go,y.BatchPrintRecordListButton=Xo,y.BatchSubmissionListButton=Po,y.Button=mo,y.Calc=Oc,y.CardGroup=hs,y.Checkbox=tc,y.Col=os,y.CreateFormListButton=xo,y.CustomColumn=Js,y.DATE_CONFIG_TYPE=go,y.DATE_LIMIT_TYPE=bo,y.Dashboard=qo,y.DataView=As,y.DatePicker=rc,y.DateRange=cc,y.DecimalColumn=Vs,y.Department=Rc,y.Department2=ts,y.DepartmentColumn=Us,y.DepartmentType=fi,y.Divider=To,y.ElectronicSignature=Zc,y.ElectronicSignatureConfig=Co,y.Employee=Cc,y.Employee2=Qc,y.EmployeeColumn=Zs,y.EncryptTypeEnum=So,y.Explain=hi,y.ExportConfig=wo,y.ExportListButton=Oo,y.ExportRecordListButton=Mo,y.ExportTemplate=jt,y.FileColumn=zs,y.FlexStyleConfig=Ao,y.FormSelectButton=Lo,y.Grid=rs,y.GridLayoutContainer=bs,y.GridLayoutWrap=nd,y.GridRow=ds,y.GridTable=$s,y.GridTableColumn=gs,y.Image=Bc,y.ImageColumn=Ks,y.ImportConfig=Bo,y.ImportListBind=_o,y.ImportRecordListButton=$o,y.Input=po,y.InternalType=Ha,y.InvoiceCheckButton=Ko,y.LINE_STYLE=Oa,y.LimitDate=di,y.Link=vo,y.ListHeightSetting=Na,y.ListSelectButton=No,y.ListView=Ds,y.ListViewSelect=Wo,y.LocationColumn=Xs,y.Number=ac,y.OperationButton=Qo,y.OperationColumn=Ms,y.OrderColumn=Os,y.OrganizationSelection=is,y.OrganizeType=Va,y.Page=Ss,y.Pagination=Ho,y.PeopleColumn=Gs,y.Position=Rs,y.PositioningContainer=Ts,y.PrintTemplate=Fo,y.Radio=ic,y.ReferenceList=Zo,y.RichText=fc,y.Row=ss,y.SCORE_TYPE=ka,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Do,y.Score=Ac,y.SearchDateRange=Nc,y.SearchInput=zc,y.SearchNumberRange=$c,y.Select=vc,y.SelectMultiple=gc,y.SelectRelation=qc,y.SimpleSearch=td,y.SubTable=ks,y.SubTableColumn=ys,y.SubTableRow=vs,y.SubmissionRecordListButton=ko,y.Tab=Es,y.TabPane=Cs,y.Text=yo,y.TextColumn=Ns,y.TextOcrButton=zo,y.Textarea=dc,y.TimescopeColumn=Hs,y.TimestampColumn=js,y.Title=Ro,y.TitleConfigEnum=ke,y.Toolbox=ws,y.Tree=Gc,y.UndersignedPerson=Ma,y.VarcharColumn=Ls,y.VueFormItem=Hc,y.VuePage=as,y.WPS=pc,y.WPSSetting=Eo,y.WpsOperationItem=$a,y.baseControls=Lw,y.columnControls=RD,y.formControls=k8,y.initExpression=qt,y.layoutControls=hD,y.listControls=CD,y.searchControls=PD,y.wrapControls=$D,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var LD=Object.defineProperty,ND=Object.defineProperties;var VD=Object.getOwnPropertyDescriptors;var rd=Object.getOwnPropertySymbols,HD=Object.getPrototypeOf,jD=Object.prototype.hasOwnProperty,qD=Object.prototype.propertyIsEnumerable,UD=Reflect.get;var od=(y,V,K)=>V in y?LD(y,V,{enumerable:!0,configurable:!0,writable:!0,value:K}):y[V]=K,ut=(y,V)=>{for(var K in V||(V={}))jD.call(V,K)&&od(y,K,V[K]);if(rd)for(var K of rd(V))qD.call(V,K)&&od(y,K,V[K]);return y},xl=(y,V)=>ND(y,VD(V));var Pl=(y,V,K)=>UD(HD(y),K,V);var kl=(y,V,K)=>new Promise((yu,xn)=>{var vu=ve=>{try{Pt(K.next(ve))}catch(kt){xn(kt)}},mu=ve=>{try{Pt(K.throw(ve))}catch(kt){xn(kt)}},Pt=ve=>ve.done?yu(ve.value):Promise.resolve(ve.value).then(vu,mu);Pt((K=K.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",K="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",yu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",xn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",vu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",mu="{caption}\u5FC5\u586B",Pt="\u8BF7\u8F93\u5165\u6807\u9898",ve="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",kt="\u8BF7\u8F93\u5165\u884C\u6807\u9898",cd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",sd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",dd="\u8BF7\u7ED1\u5B9A\u8868\u5355",hd="\u8BF7\u7ED1\u5B9A\u5217\u8868",fd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",yd="\u8BF7\u8F93\u5165\u663E\u793A\u503C",vd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",md="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",gd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",bd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Cd="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Ed="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",_d="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Bd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",wd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Dd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Fd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Ad="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Sd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Id="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Td="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Rd="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",xd="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",Pd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",kd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Od="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Md="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$d="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Ld="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Nd="\u8BF7\u9009\u62E9\u7701",Vd="\u8BF7\u9009\u62E9\u5E02",Hd="\u8BF7\u9009\u62E9\u533A",jd="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",qd="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ud="\u8BF7\u8F93\u5165\u5217\u5BBD",Wd="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",zd="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Kd="\u8BF7\u9009\u62E9\u63A7\u4EF6",Gd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Xd="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Qd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Jd="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",Zd="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Yd="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",pd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",eh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",th="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",uh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",lh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",rh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",oh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ch="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",sh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",dh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",hh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",fh="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",yh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",vh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",mh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",gh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",bh="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Ch="\u6279\u91CF\u5220\u9664",Eh="\u6279\u91CF\u6253\u5370",_h="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Bh="\u6309\u94AE",wh="\u521B\u5EFA\u5355\u636E",Dh="\u4EEA\u8868\u76D8",Fh="\u5206\u5272\u7EBF",Ah="\u5BFC\u51FA",Sh="\u8868\u5355\u64CD\u4F5C",Ih="\u5BFC\u5165",Th="\u53D1\u7968\u8BC6\u522B",Rh="\u94FE\u63A5",xh="\u5217\u8868\u9009\u62E9",Ph="\u5217\u8868\u89C6\u56FE",kh="\u64CD\u4F5C\u6309\u94AE",Oh="\u5206\u9875",Mh="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",$h="\u8BF4\u660E\u6587\u5B57",Lh="\u6587\u5B57\u8BC6\u522B",Nh="\u6807\u9898\u7EC4\u4EF6",Vh="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",Hh="\u6570\u7EC4",jh="\u81EA\u52A8\u7F16\u53F7",qh="\u81EA\u5B9A\u4E49",Uh="\u6570\u503C",Wh="\u90E8\u95E8",zh="\u4EBA\u5458",Kh="\u9644\u4EF6",Gh="\u56FE\u7247",Xh="\u5730\u5740",Qh="\u64CD\u4F5C",Jh="\u5E8F\u53F7",Zh="\u4EBA\u5458",Yh="\u957F\u6587\u672C",ph="\u65E5\u671F\u533A\u95F4",ef="\u65E5\u671F",tf="\u77ED\u6587\u672C",nf="\u6362\u884C\u5BB9\u5668Wrap",uf="\u8868\u683C",af="\u660E\u7EC6\u5B50\u8868",lf="\u5730\u5740",rf="\u91D1\u989D",of="\u8BA1\u7B97\u516C\u5F0F",cf="\u591A\u9009",sf="\u7535\u5B50\u7B7E\u7AE0",df="\u5355\u884C\u6587\u672C",hf="\u6570\u5B57",ff="\u4E1A\u52A1\u7EC4\u7EC7",yf="\u5355\u9009",vf="\u5BCC\u6587\u672C",mf="\u8BC4\u5206",gf="\u6570\u5B57\u533A\u95F4",bf="\u4E0B\u62C9\u5355\u9009",Cf="\u4E0B\u62C9\u591A\u9009",Ef="\u5173\u8054\u5355\u9009",_f="\u591A\u884C\u6587\u672C",Bf="\u6811",wf="Vue\u5BB9\u5668",Df="Vue\u9875\u9762",Ff="\u5728\u7EBF\u6587\u6863",Af="\u6309\u94AE\u64CD\u4F5C\u680F",Sf="\u9AD8\u7EA7\u5BB9\u5668",If="\u5206\u7EC4",Tf="\u6805\u683C\u5217",Rf="\u6570\u636E\u5BB9\u5668",xf="\u753B\u5E03",Pf="\u6362\u884C\u5BB9\u5668",kf="\u6805\u683C\u7B49\u5206\u884C",Of="\u5217\u8868\u5BB9\u5668",Mf="\u81EA\u7531\u9875\u9762",$f="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Lf="\u5B9A\u4F4D\u5BB9\u5668",Nf="\u6805\u683C\u5E03\u5C40",Vf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Hf="\u660E\u7EC6\u5B50\u8868\u884C",jf="\u6807\u7B7E\u9875",qf="\u6807\u7B7E\u5355\u5143",Uf="\u5DE5\u5177\u680F",Wf="\u6279\u91CF\u63D0\u4EA4",zf="\u5BFC\u51FA\u8BB0\u5F55",Kf="\u5217\u8868\u89C6\u56FE",Gf="\u7ED3\u675F\u65F6\u95F4",Xf="\u5F00\u59CB\u65F6\u95F4",Qf="\u5355\u4F4D",Jf="\u7ED3\u679C",Zf="\u5E01\u79CD",Yf="\u7ED3\u675F\u65E5\u671F",pf="\u5F00\u59CB\u65E5\u671F",ey="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",ty="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",ny="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",iy="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",uy="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",ay="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",ly="\u8BF7\u9009\u62E9",ry="\u8BF7\u9009\u62E9\u7EC4\u7EC7",oy="\u8BF7\u9009\u62E9\u90E8\u95E8",cy="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",sy="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",dy="\u8BF7\u9009\u62E9\u5730\u5740",hy="\u5F39\u7A97\u786E\u8BA4\u65F6",fy="\u6807\u7B7E\u9875\u5207\u6362\u65F6",yy="\u884C\u9009\u4E2D\u65F6",vy="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",my="\u884C\u5220\u9664\u524D",gy="\u884C\u70B9\u51FB\u65F6",by="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Cy="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Ey="\u91CD\u547D\u540D\u65F6",_y="\u4FDD\u5B58\u6587\u4EF6\u65F6",By="\u6253\u5F00\u6587\u4EF6\u65F6",wy="\u83B7\u53D6\u7126\u70B9\u65F6",Dy="\u5931\u53BB\u7126\u70B9\u65F6",Fy="\u7528\u6237\u8F93\u5165\u65F6",Ay="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",Sy="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Iy="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Ty="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Ry="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",xy="\u641C\u7D22\u65F6",Py="\u503C\u53D1\u751F\u53D8\u5316\u65F6",ky="\u6267\u884C\u5B8C\u6210\u65F6",Oy="\u70B9\u51FB\u65F6",My="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",$y="\u8BF7\u8F93\u5165\u65E5\u671F",Ly="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",Ny="\u8BF7\u8F93\u5165",Vy="\u9ED8\u8BA4\u6A21\u7248",Hy="\u5DE6\u53F3\u5E03\u5C40",jy="\u4E0A\u4E0B\u5E03\u5C40",qy="\u53EA\u8BFB",Uy="\u5FC5\u586B",Wy="\u63D0\u793A\u6587\u5B57",zy="\u9690\u85CF\u6807\u9898",Ky="\u6807\u9898\u5FC5\u586B",Gy="\u7EC4\u7EC7\u5F62\u6001",Xy="\u4E1A\u52A1\u7C7B\u578B",Qy="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",Jy="\u9690\u85CF",Zy="\u6D41\u7A0B\u72B6\u6001",Yy="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",py="\u5220\u9664",ev="\u7F16\u8F91",tv="\u67E5\u770B",nv="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",iv="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",uv="\u5145\u6EE1\u6574\u884C",av="\u6700\u5C0F\u503C",lv="\u6700\u5927\u503C",rv="\u65B0\u5EFA\u6587\u6863",ov="\u91CD\u7F6E",cv="\u67E5\u8BE2",sv="\u660E\u7EC6",dv="\u6253\u5370",hv="\u4FDD\u5B58\u8349\u7A3F",fv="\u4FDD\u5B58",yv="\u53D6\u6D88",vv="\u4E0A\u4F20\u56FE\u7247",mv="\u53D1\u8D77\u7B7E\u7F72",gv="\u4E0A\u4F20\u9644\u4EF6",bv="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Cv="\u5F15\u7528\u5217\u8868",Ev="\u9009\u9879\u4E00",_v="\u9009\u9879\u4E8C",Bv="\u9009\u9879\u4E09",wv={isNotNumber:V,isNotString:K,isNotObject:yu,isNotArray:xn,isNotBoolean:vu,runtimeRequired:mu,pleaseEnterCaption:Pt,pleaseEnterCaptionTip:ve,pleaseEnterRowCaption:kt,pleaseEnterPlaceholder:cd,pleaseEnterFieldCode:sd,pleaseEnterForm:dd,pleaseEnterList:hd,pleaseEnterProcess:fd,pleaseEnterLabel:yd,pleaseEnterValue:vd,bizKeyNotBindFiled:md,pleaseSelectOneField:gd,pleaseEnterNumberRange:bd,pleaseEnterAValueGreaterThanMin:Cd,pleaseEnterAValueLessThanMax:Ed,numberRangeSetError:_d,stringRangeError:Bd,attachmentMaxSize:wd,pleaseEnterTotalScoreSetting:Dd,theTotalScoreMustNotBeLessThan1:Fd,scoreDefaultValueRange:Ad,attachmentLimitError:Sd,PleaseReselectTheOptionalQuantity:Id,TheMaximumLengthIsGreaterThanTheMinimumLength:Td,TheMinimumLengthIsGreaterThanTheMaximumLength:Rd,PleaseSelectTheCorrectOptionSettings:xd,optionIdIsRepeat:Pd,optionIsRequired:kd,pleaseEnterDataCode:Od,pleaseEnterValueFieldCode:Md,pleaseEnterSvcCode:$d,pleaseBindAtLeastOneDisplayValue:Ld,pleaseSelectProvince:Nd,pleaseSelectCity:Vd,pleaseSelectDistrict:Hd,limitRowsCannotBeLessThan0:jd,TheNumberOfRowsCannotBeLessThanMinRows:qd,pleaseEnterColumnWidth:Ud,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Wd,pleaseCompleteAllRulesAndConditions:zd,pleaseSelectControl:Kd,pleaseSelectAtLeastOneColumn:Gd,pleaseSelectFillBackMode:Xd,pleaseSelectDashboard:Qd,rootNodeIsRequired:Jd,theViewNameCannotBeEmpty:Zd,pleaseSelectOcrType:Yd,pleaseSelectAtLeastOneFieldToFillIn:pd,pleaseChooseAtLeastOne:eh,pleaseEnterButtonContent:th,pleaseEnterDataCodeInDataSetting:nh,pleaseEnterValueFieldCodeInDataSetting:ih,pleaseEnterSvcCodeInDataSetting:uh,pleaseBindAtLeastOneDisplayValueInDataSetting:ah,rootNodeIsRequiredInDataSetting:lh,pleaseEnterMaxHeight:rh,pleaseEnterWatermark:oh,pleaseEnterFileName:ch,pleaseUploadAtLeastOnePrintTemplate:sh,pleaseAssignBusiness:dh,pleaseAssignExternal:hh,pleaseEnterAliasCode:fh,pleaseSelectDataCode:yh,pleaseSelectSvcCode:vh,pleaseSelectJoinFieldCode:mh,pleaseSelectMainFieldCode:gh,pleaseSelectSortFieldCode:bh,batchDeleteButton:Ch,batchPrintListButton:Eh,batchPrintRecordList:_h,button:Bh,createFormListButton:wh,dashboard:Dh,divider:Fh,exportListButton:Ah,formSelectButton:Sh,importRecordListButton:Ih,invoiceCheckButton:Th,link:Rh,listSelectButton:xh,ListViewSelect:Ph,operationButton:kh,pagination:Oh,submissionRecordListButton:Mh,text:$h,textOcrButton:Lh,title:Nh,approvalStatusColumn:Vh,array:Hh,autoNumber:jh,custom:qh,decimal:Uh,department:Wh,employee:zh,file:Kh,image:Gh,location:Xh,operation:Qh,order:Jh,people:Zh,long:Yh,timescope:ph,timestamp:ef,varchar:tf,gridLayoutWrap:nf,gridTable:uf,subTable:af,address:lf,amount:rf,calc:of,checkBox:cf,electronicSignature:sf,input:df,number:hf,organizationSelection:ff,radio:yf,richText:vf,score:mf,searchNumberRange:gf,select:bf,selectMultiple:Cf,selectRelation:Ef,textarea:_f,tree:Bf,vueFormItem:wf,vuePage:Df,WPS:Ff,actionBar:Af,advancedContainer:Sf,cardGroup:If,col:Tf,dataView:Rf,grid:xf,gridLayoutContainer:Pf,gridRow:kf,listView:Of,page:Mf,position:$f,positioningContainer:Lf,row:Nf,subtableColumn:Vf,subtableRow:Hf,tab:jf,tabPane:qf,toolbox:Uf,batchSubmissionListButton:Wf,exportRecordListButton:zf,listViewSelect:Kf,endTime:Gf,startTime:Xf,unit:Qf,result:Jf,currency:Zf,endDate:Yf,startDate:pf,pleaseSelectCompanyName:ey,pleaseSelectPhoneOrEmail:ty,pleaseSelectSignType:ny,pleaseSelectSigner:iy,pleaseSelectOnlyOne:uy,pleaseSelectSignFile:ay,pleaseSelect:ly,pleaseSelectOrg:ry,pleaseSelectDept:oy,pleaseSelectEndDate:cy,pleaseSelectStartDate:sy,pleaseChooseAddress:dy,modalConfirm:hy,tabChange:fy,rowSelected:yy,listDataImport:vy,rowDelete:my,rowClick:gy,cellRender:by,onClickBtn:Cy,rename:Ey,onSaveFile:_y,onOpenFile:By,onFocus:wy,onBlur:Dy,onInput:Fy,listDataAdd:Ay,listDataDelete:Sy,listDataBack:Iy,listDataCreate:Ty,listDataChange:Ry,search:xy,valueChange:Py,finished:ky,click:Oy,pleaseEnterNameorEmail:My,pleaseEnterDate:$y,pleaseEnterAutonumber:Ly,pleaseEnter:Ny,defaultTemplate:Vy,left:Hy,top:jy,default:"\u666E\u901A",readonly:qy,required:Uy,textTip:Wy,hideCaption:zy,titleRequired:Ky,organizationalForm:Gy,businessType:Xy,deleteConfirm:Qy,hide:Jy,processStatus:Zy,approvedDocuments:Yy,delete:py,edit:ev,view:tv,loadCtrlErrorTip:nv,loadCtrlError:iv,fullLine:uv,min:av,max:lv,createWPS:rv,reset:ov,query:cv,detailed:sv,print:dv,draft:hv,save:fv,cancel:yv,uploadImg:vv,signature:mv,uploadFile:gv,linkContent:bv,referenceList:Cv,optionOne:Ev,optionTwo:_v,optionThird:Bv},Dv="Please enter a number",Fv="Please enter a string",Av="Please enter an object",Sv="Please enter an array",Iv="Please enter a boolean",Tv="{caption} Required",Rv="Please enter the title",xv="Please enter the bubble prompt",Pv="Please enter the row title",kv="Please enter the prompt text",Ov="Please bind data items",Mv="Please bind the form",$v="Please bind the list",Lv="Please bind the process",Nv="Please enter the displayed value",Vv="Please enter the stored value",Hv="The document number is not bound to the data item",jv="Please select at least one display field",qv="Please enter a value greater than or equal to {min} and less than or equal to {max}",Uv="Please enter a value greater than or equal to {min}",Wv="Please enter a value less than or equal to {max}",zv="The value range is set incorrectly",Kv="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Gv="The attachment size must be between 0MB and 1000MB",Xv="Please fill in the total score setting",Qv="The total score cannot be less than 1",Jv="The default value must be between {min} and {max}",Zv="The number of attachment uploads exceeds the limit",Yv="Please re-select the optional quantity",pv="The maximum length of the control must be greater than the minimum length",em="The minimum length of the control must be less than the maximum length",tm="Please select the correct option setting",nm="Option ID cannot be repeated",im="Please enter at least one option",um="Please bind the data source",am="Please bind the stored value",lm="Please bind the service",rm="At least one display value must be bound",om="Please select a province",cm="Please select a city",sm="Please select a district",dm="The minimum number of lines to fill in cannot be less than 0",hm="The number of rows cannot be less than {min} rows",fm="Please enter the column width",ym="Please set the logical relationship of all rule conditions",vm="Please complete all rules and conditions",mm="please select control",gm="Please select the dashboard",bm="View name cannot be empty",Cm="Please select recognition type",Em="Please select at least one field to fill in",_m="Please select at least one",Bm="Please enter the button title",wm="Please bind the business model in the data settings",Dm="Please bind storage values in data settings",Fm="Please bind the service in the data settings",Am="Please bind at least one display value in the data settings",Sm="Please select the root node in the data settings",Im="Please enter the maximum height",Tm="The input content cannot be empty",Rm="Watermark cannot be empty",xm="File name cannot be empty",Pm="Please upload at least one printing template!\uFF01",km="Please select a specific business department",Om="Please select a specified external organization",Mm="Please enter a sub table alias",$m="Please select the associated table to set the business model",Lm="Please select the association table to set the binding service",Nm="Select associated sub table fields",Vm="Please select the associated main table field",Hm="Please select the sort field",jm="\u6279\u91CF\u5220\u9664",qm="\u6279\u91CF\u6253\u5370",Um="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Wm="\u6309\u94AE",zm="\u521B\u5EFA\u5355\u636E",Km="\u4EEA\u8868\u76D8",Gm="\u5206\u5272\u7EBF",Xm="\u5BFC\u51FA",Qm="\u8868\u5355\u64CD\u4F5C",Jm="\u5BFC\u5165",Zm="\u53D1\u7968\u8BC6\u522B",Ym="\u94FE\u63A5",pm="\u5217\u8868\u9009\u62E9",e0="\u5217\u8868\u89C6\u56FE",t0="\u64CD\u4F5C\u6309\u94AE",n0="\u5206\u9875",i0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",u0="\u8BF4\u660E\u6587\u5B57",a0="\u6587\u5B57\u8BC6\u522B",l0="\u6807\u9898\u7EC4\u4EF6",r0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",o0="\u6570\u7EC4",c0="\u81EA\u52A8\u7F16\u53F7",s0="\u81EA\u5B9A\u4E49",d0="\u6570\u503C",h0="\u90E8\u95E8",f0="\u4EBA\u5458",y0="\u9644\u4EF6",v0="\u56FE\u7247",m0="\u5730\u5740",g0="\u64CD\u4F5C",b0="\u5E8F\u53F7",C0="\u4EBA\u5458",E0="\u957F\u6587\u672C",_0="\u65E5\u671F\u533A\u95F4",B0="\u65E5\u671F",w0="\u77ED\u6587\u672C",D0="\u6362\u884C\u5BB9\u5668Wrap",F0="\u8868\u683C",A0="\u660E\u7EC6\u5B50\u8868",S0="\u5730\u5740",I0="\u91D1\u989D",T0="\u8BA1\u7B97\u516C\u5F0F",R0="\u591A\u9009",x0="\u7535\u5B50\u7B7E\u7AE0",P0="\u5355\u884C\u6587\u672C",k0="\u6570\u5B57",O0="\u4E1A\u52A1\u7EC4\u7EC7",M0="\u5355\u9009",$0="\u5BCC\u6587\u672C",L0="\u8BC4\u5206",N0="\u6570\u5B57\u533A\u95F4",V0="\u4E0B\u62C9\u5355\u9009",H0="\u4E0B\u62C9\u591A\u9009",j0="\u5173\u8054\u5355\u9009",q0="\u591A\u884C\u6587\u672C",U0="\u6811",W0="Vue\u5BB9\u5668",z0="Vue\u9875\u9762",K0="\u5728\u7EBF\u6587\u6863",G0="\u6309\u94AE\u64CD\u4F5C\u680F",X0="\u9AD8\u7EA7\u5BB9\u5668",Q0="\u5206\u7EC4",J0="\u6805\u683C\u5217",Z0="\u6570\u636E\u5BB9\u5668",Y0="\u753B\u5E03",p0="\u6362\u884C\u5BB9\u5668",eg="\u6805\u683C\u7B49\u5206\u884C",tg="\u5217\u8868\u5BB9\u5668",ng="\u81EA\u7531\u9875\u9762",ig="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ug="\u5B9A\u4F4D\u5BB9\u5668",ag="\u6805\u683C\u5E03\u5C40",lg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",rg="\u660E\u7EC6\u5B50\u8868\u884C",og="\u6807\u7B7E\u9875",cg="\u6807\u7B7E\u5355\u5143",sg="\u5DE5\u5177\u680F",dg="\u6279\u91CF\u63D0\u4EA4",hg="\u5BFC\u51FA\u8BB0\u5F55",fg="\u5217\u8868\u89C6\u56FE",yg="\u5F15\u7528\u5217\u8868",vg="\u9009\u9879\u4E00",mg="\u9009\u9879\u4E8C",gg="\u9009\u9879\u4E09",bg={isNotNumber:Dv,isNotString:Fv,isNotObject:Av,isNotArray:Sv,isNotBoolean:Iv,runtimeRequired:Tv,pleaseEnterCaption:Rv,pleaseEnterCaptionTip:xv,pleaseEnterRowCaption:Pv,pleaseEnterPlaceholder:kv,pleaseEnterFieldCode:Ov,pleaseEnterForm:Mv,pleaseEnterList:$v,pleaseEnterProcess:Lv,pleaseEnterLabel:Nv,pleaseEnterValue:Vv,bizKeyNotBindFiled:Hv,pleaseSelectOneField:jv,pleaseEnterNumberRange:qv,pleaseEnterAValueGreaterThanMin:Uv,pleaseEnterAValueLessThanMax:Wv,numberRangeSetError:zv,stringRangeError:Kv,attachmentMaxSize:Gv,pleaseEnterTotalScoreSetting:Xv,theTotalScoreMustNotBeLessThan1:Qv,scoreDefaultValueRange:Jv,attachmentLimitError:Zv,PleaseReselectTheOptionalQuantity:Yv,TheMaximumLengthIsGreaterThanTheMinimumLength:pv,TheMinimumLengthIsGreaterThanTheMaximumLength:em,PleaseSelectTheCorrectOptionSettings:tm,optionIdIsRepeat:nm,optionIsRequired:im,pleaseEnterDataCode:um,pleaseEnterValueFieldCode:am,pleaseEnterSvcCode:lm,pleaseBindAtLeastOneDisplayValue:rm,pleaseSelectProvince:om,pleaseSelectCity:cm,pleaseSelectDistrict:sm,limitRowsCannotBeLessThan0:dm,TheNumberOfRowsCannotBeLessThanMinRows:hm,pleaseEnterColumnWidth:fm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:ym,pleaseCompleteAllRulesAndConditions:vm,pleaseSelectControl:mm,pleaseSelectDashboard:gm,theViewNameCannotBeEmpty:bm,pleaseSelectOcrType:Cm,pleaseSelectAtLeastOneFieldToFillIn:Em,pleaseChooseAtLeastOne:_m,pleaseEnterButtonContent:Bm,pleaseEnterDataCodeInDataSetting:wm,pleaseEnterValueFieldCodeInDataSetting:Dm,pleaseEnterSvcCodeInDataSetting:Fm,pleaseBindAtLeastOneDisplayValueInDataSetting:Am,rootNodeIsRequiredInDataSetting:Sm,pleaseEnterMaxHeight:Im,pleaseEnter:Tm,pleaseEnterWatermark:Rm,pleaseEnterFileName:xm,pleaseUploadAtLeastOnePrintTemplate:Pm,pleaseAssignBusiness:km,pleaseAssignExternal:Om,pleaseEnterAliasCode:Mm,pleaseSelectDataCode:$m,pleaseSelectSvcCode:Lm,pleaseSelectJoinFieldCode:Nm,pleaseSelectMainFieldCode:Vm,pleaseSelectSortFieldCode:Hm,batchDeleteButton:jm,batchPrintListButton:qm,batchPrintRecordList:Um,button:Wm,createFormListButton:zm,dashboard:Km,divider:Gm,exportListButton:Xm,formSelectButton:Qm,importRecordListButton:Jm,invoiceCheckButton:Zm,link:Ym,listSelectButton:pm,ListViewSelect:e0,operationButton:t0,pagination:n0,submissionRecordListButton:i0,text:u0,textOcrButton:a0,title:l0,approvalStatusColumn:r0,array:o0,autoNumber:c0,custom:s0,decimal:d0,department:h0,employee:f0,file:y0,image:v0,location:m0,operation:g0,order:b0,people:C0,long:E0,timescope:_0,timestamp:B0,varchar:w0,gridLayoutWrap:D0,gridTable:F0,subTable:A0,address:S0,amount:I0,calc:T0,checkBox:R0,electronicSignature:x0,input:P0,number:k0,organizationSelection:O0,radio:M0,richText:$0,score:L0,searchNumberRange:N0,select:V0,selectMultiple:H0,selectRelation:j0,textarea:q0,tree:U0,vueFormItem:W0,vuePage:z0,WPS:K0,actionBar:G0,advancedContainer:X0,cardGroup:Q0,col:J0,dataView:Z0,grid:Y0,gridLayoutContainer:p0,gridRow:eg,listView:tg,page:ng,position:ig,positioningContainer:ug,row:ag,subtableColumn:lg,subtableRow:rg,tab:og,tabPane:cg,toolbox:sg,batchSubmissionListButton:dg,exportRecordListButton:hg,listViewSelect:fg,referenceList:yg,optionOne:vg,optionTwo:mg,optionThird:gg},Cg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Eg="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",_g="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Bg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",wg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Dg="{caption}\u5FC5\u9808",Fg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ag="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ig="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Tg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Rg="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",xg="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Pg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",kg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Og="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Mg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",$g="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Lg="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Ng="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Vg="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Hg="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",jg="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Ug="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Wg="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",zg="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Kg="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",Gg="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Xg="\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",Qg="\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",Jg="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Zg="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Yg="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",pg="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",eb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",tb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",nb="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",ib="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ub="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ab="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",lb="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",rb="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",ob="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cb="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",sb="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",db="please select control",hb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",fb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",yb="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",vb="\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",mb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",gb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",bb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Cb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Eb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",_b="\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",Bb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",wb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Db="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Fb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ab="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Sb="\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",Ib="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Tb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Rb="\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u5225\u540D\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",xb="\u95A2\u9023\u8868\u3092\u9078\u629E\u3057\u3066\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u8A2D\u5B9A\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\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",kb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Ob="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",$b="\u6279\u91CF\u5220\u9664",Lb="\u6279\u91CF\u6253\u5370",Nb="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Vb="\u6309\u94AE",Hb="\u521B\u5EFA\u5355\u636E",jb="\u4EEA\u8868\u76D8",qb="\u5206\u5272\u7EBF",Ub="\u5BFC\u51FA",Wb="\u8868\u5355\u64CD\u4F5C",zb="\u5BFC\u5165",Kb="\u53D1\u7968\u8BC6\u522B",Gb="\u94FE\u63A5",Xb="\u5217\u8868\u9009\u62E9",Qb="\u5217\u8868\u89C6\u56FE",Jb="\u64CD\u4F5C\u6309\u94AE",Zb="\u5206\u9875",Yb="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",pb="\u8BF4\u660E\u6587\u5B57",e5="\u6587\u5B57\u8BC6\u522B",t5="\u6807\u9898\u7EC4\u4EF6",n5="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",i5="\u6570\u7EC4",u5="\u81EA\u52A8\u7F16\u53F7",a5="\u81EA\u5B9A\u4E49",l5="\u6570\u503C",r5="\u90E8\u95E8",o5="\u4EBA\u5458",c5="\u9644\u4EF6",s5="\u56FE\u7247",d5="\u5730\u5740",h5="\u64CD\u4F5C",f5="\u5E8F\u53F7",y5="\u4EBA\u5458",v5="\u957F\u6587\u672C",m5="\u65E5\u671F\u533A\u95F4",g5="\u65E5\u671F",b5="\u77ED\u6587\u672C",C5="\u6362\u884C\u5BB9\u5668Wrap",E5="\u8868\u683C",_5="\u660E\u7EC6\u5B50\u8868",B5="\u5730\u5740",w5="\u91D1\u989D",D5="\u8BA1\u7B97\u516C\u5F0F",F5="\u591A\u9009",A5="\u7535\u5B50\u7B7E\u7AE0",S5="\u5355\u884C\u6587\u672C",I5="\u6570\u5B57",T5="\u4E1A\u52A1\u7EC4\u7EC7",R5="\u5355\u9009",x5="\u5BCC\u6587\u672C",P5="\u8BC4\u5206",k5="\u6570\u5B57\u533A\u95F4",O5="\u4E0B\u62C9\u5355\u9009",M5="\u4E0B\u62C9\u591A\u9009",$5="\u5173\u8054\u5355\u9009",L5="\u591A\u884C\u6587\u672C",N5="\u6811",V5="Vue\u5BB9\u5668",H5="Vue\u9875\u9762",j5="\u5728\u7EBF\u6587\u6863",q5="\u6309\u94AE\u64CD\u4F5C\u680F",U5="\u9AD8\u7EA7\u5BB9\u5668",W5="\u5206\u7EC4",z5="\u6805\u683C\u5217",K5="\u6570\u636E\u5BB9\u5668",G5="\u753B\u5E03",X5="\u6362\u884C\u5BB9\u5668",Q5="\u6805\u683C\u7B49\u5206\u884C",J5="\u5217\u8868\u5BB9\u5668",Z5="\u81EA\u7531\u9875\u9762",Y5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",p5="\u5B9A\u4F4D\u5BB9\u5668",eC="\u6805\u683C\u5E03\u5C40",tC="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",nC="\u660E\u7EC6\u5B50\u8868\u884C",iC="\u6807\u7B7E\u9875",uC="\u6807\u7B7E\u5355\u5143",aC="\u5DE5\u5177\u680F",lC="\u6279\u91CF\u63D0\u4EA4",rC="\u5BFC\u51FA\u8BB0\u5F55",oC="\u5217\u8868\u89C6\u56FE",cC="\u5F15\u7528\u5217\u8868",sC="\u9009\u9879\u4E00",dC="\u9009\u9879\u4E8C",hC="\u9009\u9879\u4E09",fC={isNotNumber:Cg,isNotString:Eg,isNotObject:_g,isNotArray:Bg,isNotBoolean:wg,runtimeRequired:Dg,pleaseEnterCaption:Fg,pleaseEnterCaptionTip:Ag,pleaseEnterRowCaption:Sg,pleaseEnterPlaceholder:Ig,pleaseEnterFieldCode:Tg,pleaseEnterForm:Rg,pleaseEnterList:xg,pleaseEnterProcess:Pg,pleaseEnterLabel:kg,pleaseEnterValue:Og,bizKeyNotBindFiled:Mg,pleaseSelectOneField:$g,pleaseEnterNumberRange:Lg,pleaseEnterAValueGreaterThanMin:Ng,pleaseEnterAValueLessThanMax:Vg,numberRangeSetError:Hg,stringRangeError:jg,attachmentMaxSize:qg,pleaseEnterTotalScoreSetting:Ug,theTotalScoreMustNotBeLessThan1:Wg,scoreDefaultValueRange:zg,attachmentLimitError:Kg,PleaseReselectTheOptionalQuantity:Gg,TheMaximumLengthIsGreaterThanTheMinimumLength:Xg,TheMinimumLengthIsGreaterThanTheMaximumLength:Qg,PleaseSelectTheCorrectOptionSettings:Jg,optionIdIsRepeat:Zg,optionIsRequired:Yg,pleaseEnterDataCode:pg,pleaseEnterValueFieldCode:eb,pleaseEnterSvcCode:tb,pleaseBindAtLeastOneDisplayValue:nb,pleaseSelectProvince:ib,pleaseSelectCity:ub,pleaseSelectDistrict:ab,limitRowsCannotBeLessThan0:lb,TheNumberOfRowsCannotBeLessThanMinRows:rb,pleaseEnterColumnWidth:ob,pleaseSetTheLogicalRelationshipOfAllRuleConditions:cb,pleaseCompleteAllRulesAndConditions:sb,pleaseSelectControl:db,pleaseSelectDashboard:hb,theViewNameCannotBeEmpty:fb,pleaseSelectOcrType:yb,pleaseSelectAtLeastOneFieldToFillIn:vb,pleaseChooseAtLeastOne:mb,pleaseEnterButtonContent:gb,pleaseEnterDataCodeInDataSetting:bb,pleaseEnterValueFieldCodeInDataSetting:Cb,pleaseEnterSvcCodeInDataSetting:Eb,pleaseBindAtLeastOneDisplayValueInDataSetting:_b,rootNodeIsRequiredInDataSetting:Bb,pleaseEnterMaxHeight:wb,pleaseEnter:Db,pleaseEnterWatermark:Fb,pleaseEnterFileName:Ab,pleaseUploadAtLeastOnePrintTemplate:Sb,pleaseAssignBusiness:Ib,pleaseAssignExternal:Tb,pleaseEnterAliasCode:Rb,pleaseSelectDataCode:xb,pleaseSelectSvcCode:Pb,pleaseSelectJoinFieldCode:kb,pleaseSelectMainFieldCode:Ob,pleaseSelectSortFieldCode:Mb,batchDeleteButton:$b,batchPrintListButton:Lb,batchPrintRecordList:Nb,button:Vb,createFormListButton:Hb,dashboard:jb,divider:qb,exportListButton:Ub,formSelectButton:Wb,importRecordListButton:zb,invoiceCheckButton:Kb,link:Gb,listSelectButton:Xb,ListViewSelect:Qb,operationButton:Jb,pagination:Zb,submissionRecordListButton:Yb,text:pb,textOcrButton:e5,title:t5,approvalStatusColumn:n5,array:i5,autoNumber:u5,custom:a5,decimal:l5,department:r5,employee:o5,file:c5,image:s5,location:d5,operation:h5,order:f5,people:y5,long:v5,timescope:m5,timestamp:g5,varchar:b5,gridLayoutWrap:C5,gridTable:E5,subTable:_5,address:B5,amount:w5,calc:D5,checkBox:F5,electronicSignature:A5,input:S5,number:I5,organizationSelection:T5,radio:R5,richText:x5,score:P5,searchNumberRange:k5,select:O5,selectMultiple:M5,selectRelation:$5,textarea:L5,tree:N5,vueFormItem:V5,vuePage:H5,WPS:j5,actionBar:q5,advancedContainer:U5,cardGroup:W5,col:z5,dataView:K5,grid:G5,gridLayoutContainer:X5,gridRow:Q5,listView:J5,page:Z5,position:Y5,positioningContainer:p5,row:eC,subtableColumn:tC,subtableRow:nC,tab:iC,tabPane:uC,toolbox:aC,batchSubmissionListButton:lC,exportRecordListButton:rC,listViewSelect:oC,referenceList:cC,optionOne:sC,optionTwo:dC,optionThird:hC},gu={zhCN:wv,enUS:bg,jaJP:fC},Ol;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Ol||(Ol={}));var Ml;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Ml||(Ml={}));var bu,yC=(bu=window.localStorage.getItem("locale"))!==null&&bu!==void 0?bu:"zh-CN",at;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(at||(at={}));var $l;(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"})($l||($l={}));var F;(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",t.REFERENCE_LIST="reference-list"})(F||(F={}));var Ll;(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"})(Ll||(Ll={}));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 De;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(De||(De={}));var Nl={DEFAULT:"default"},Vl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",vC=Vl+"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?Vl:vC,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Cu(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 mC(t){if(Array.isArray(t))return Cu(t)}function gC(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Hl(t,e,n){return e=Ot(e),_C(t,_u()?Reflect.construct(e,n||[],Ot(t).constructor):e.apply(t,n))}function jl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t,e,n){return _u()?Pn=Reflect.construct:Pn=function(u,a,l){var r=[null];r.push.apply(r,a);var d=Function.bind.apply(u,r),c=new d;return l&&Mt(c,l.prototype),c},Pn.apply(null,arguments)}function Ot(t){return Ot=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ot(t)}function ql(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&&Mt(t,e)}function bC(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function CC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function EC(){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 _C(t,e){return e&&(BC(e)==="object"||typeof e=="function")?e:gC(t)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Mt(t,e)}function Ul(t){return mC(t)||CC(t)||wC(t)||EC()}function BC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function wC(t,e){if(!!t){if(typeof t=="string")return Cu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Cu(t,e)}}function Eu(t){var e=typeof Map=="function"?new Map:void 0;return Eu=function(i){if(i===null||!bC(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,Ot(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Mt(u,i)},Eu(t)}function _u(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_u=function(){return!!t})()}var Bu=console;function wu(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ul(u)))}function Wl(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i,u=e.slice(1);(i=Bu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ul(u)))}function DC(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Du=function(t){ql(e,t);function e(n){jl(this,e);var i;return i=Hl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?DC(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Eu(Error)),FC=function(t){ql(e,t);function e(n){jl(this,e);var i;return i=Hl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Du);function $t(t){throw new Du(t)}function zl(t){throw new FC(t)}function AC(t){Bu.error(new Du(t))}const o=(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((r,d)=>{d===0?u=a[r]:u&&(u=u[r])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(r=>{const d=e[r];l=l.replace(new RegExp(`\\{\\s*${r}\\s*\\}`,"g"),d)}),l||(n?l=n:l=t),l};function SC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function IC(t,e,n){return e&&Kl(t.prototype,e),n&&Kl(t,n),t}function TC(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Gl=function(){function t(){SC(this,t)}return IC(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return o("CMD."+n,i,gu==null||(u=gu[yC.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();TC(Gl,"$i18n",Gl.resetI18n());function RC(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,r,d){var c=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){wu("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),a,a);return}return r===d.length-1&&!Object.is(c[l],n)&&(c[l]=n,u=!0),c[l]}},t),u}var xC=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},PC={exports:{}};(function(t){(function(e){var n=function(v,_,S){if(!c(_)||m(_)||g(_)||C(_)||d(_))return _;var x,O=0,ae=0;if(h(_))for(x=[],ae=_.length;O<ae;O++)x.push(n(v,_[O],S));else{x={};for(var M in _)Object.prototype.hasOwnProperty.call(_,M)&&(x[v(M,S)]=n(v,_[M],S))}return x},i=function(v,_){_=_||{};var S=_.separator||"_",x=_.split||/(?=[A-Z])/;return v.split(x).join(S)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(_,S){return S?S.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var _=u(v);return _.substr(0,1).toUpperCase()+_.substr(1)},l=function(v,_){return i(v,_).toLowerCase()},r=Object.prototype.toString,d=function(v){return typeof v=="function"},c=function(v){return v===Object(v)},h=function(v){return r.call(v)=="[object Array]"},m=function(v){return r.call(v)=="[object Date]"},g=function(v){return r.call(v)=="[object RegExp]"},C=function(v){return r.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},E=function(v,_){var S=_&&"process"in _?_.process:_;return typeof S!="function"?v:function(x,O){return S(x,v,O)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,_){return n(E(u,_),v)},decamelizeKeys:function(v,_){return n(E(l,_),v,_)},pascalizeKeys:function(v,_){return n(E(a,_),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(xC)})(PC);var Xl={};Object.defineProperty(Xl,"__esModule",{value:!0});function Fu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Fu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:Fu(i)}return e}}var kC=Xl.default=Fu;function OC(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function re(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":OC(t))==="object"?kC(t):t}function MC(t){return Object.prototype.toString.call(t)==="[object Object]"}function kn(t){return Array.isArray(t)}function $C(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Au(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function LC(t){if(Array.isArray(t))return Au(t)}function Ql(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function NC(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Ql(a,i,u,l,r,"next",d)}function r(d){Ql(a,i,u,l,r,"throw",d)}l(void 0)})}}function VC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Jl(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&&Jl(t.prototype,e),n&&Jl(t,n),t}function Zl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function jC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function qC(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Su(t){return LC(t)||jC(t)||UC(t)||qC()}function UC(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 WC(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(h){return d([c,h])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)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 l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var zC=function(){function t(){VC(this,t),Zl(this,"_events",new Map),Zl(this,"debug",!1)}return HC(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 l=this;return NC(function(){var r,d,c,h,m,g,C,B,E,w,v,_;return WC(this,function(S){switch(S.label){case 0:if(r=l._events.get(n),d=[],!r)return[3,10];c=r.slice(),h=!0,m=!1,g=void 0,S.label=1;case 1:S.trys.push([1,8,9,10]),C=c[Symbol.iterator](),S.label=2;case 2:if(h=(B=C.next()).done)return[3,7];if(E=B.value,!r.includes(E))return[3,6];S.label=3;case 3:return S.trys.push([3,5,,6]),l.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Su(u))),[4,E.apply(null,Su(u))];case 4:return w=S.sent(),l.debug&&Wl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Su(u),[w])),d.push(w),w===!1?[3,7]:[3,6];case 5:return v=S.sent(),AC(String(v)+":"+String(v.stack)),[3,6];case 6:return h=!0,[3,2];case 7:return[3,10];case 8:return _=S.sent(),m=!0,g=_,[3,10];case 9:try{!h&&C.return!=null&&C.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 KC(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function GC(t,e,n){return e&&Yl(t.prototype,e),n&&Yl(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 QC=[{key:"on_click",name:o("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:o("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:o("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:o("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_list_change",name:o("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:o("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:o("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:o("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:o("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:o("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:o("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:o("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:o("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:o("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:o("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:o("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:o("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:o("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:o("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:o("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:o("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:o("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:o("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_option_selected",name:o("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],JC=function(){function t(){KC(this,t)}return GC(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(l){return u.includes(l.key)}));var a=n.customEvents.map(function(l){var r=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(r=l.namespace+":"+l.key),{key:r,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();XC(JC,"events",QC);function Iu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ZC(t){if(Array.isArray(t))return Iu(t)}function YC(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function pC(){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 pl(t){return ZC(t)||YC(t)||eE(t)||pC()}function eE(t,e){if(!!t){if(typeof t=="string")return Iu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Iu(t,e)}}function Tu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function er(t,e,n){n!=="Runtime"&&(t.parent=e,Tu(t,"parent"))}function tE(t,e,n){t.forEach(function(i){er(i,e,n)})}var tr=Symbol("targetKey");function nr(t){var e;return(e=t[tr])!==null&&e!==void 0?e:t}function ir(t,e,n){return tE(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,r=new Array(l>2?l-2:0),d=2;d<l;d++)r[d-2]=arguments[d];var c;return a===tr?u:(c=Reflect).get.apply(c,[u,a].concat(pl(r)))},set:function(u,a,l){for(var r=arguments.length,d=new Array(r>3?r-3:0),c=3;c<r;c++)d[c-3]=arguments[c];var h;if(kn(t)&&a==="length"&&l===t.length)return!0;var m=(h=Reflect).set.apply(h,[u,a,l].concat(pl(d)));return MC(l)&&er(l,e,n),m}})}function he(t,e,n,i,u){var a=i!=null?i:t,l=ir(nr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(d){l=ir(nr(d),a,u)},enumerable:!0})}function nE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ur(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 iE(t,e,n){return e&&ur(t.prototype,e),n&&ur(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}var ar=[],On=function(){function t(e){nE(this,t),Fe(this,"registeredControlTypes",new Set),Fe(this,"controlConfigMap",new Map),Fe(this,"_controls",[]),Fe(this,"_type",void 0),this._type=e,this._initControls(e)}return iE(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__||$t("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(wu("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===at.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===at.FORM}},{key:"isListControl",value:function(n){return n.controlType===at.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===at.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(h){return u.createControl(h,i)});if(n.children&&(n.children=n.children.map(function(h){return u.createControl(h,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(h){return u.createControl(h,i)}))}var l=this.getControlFormType(n.type);if(l){var r=n;if(typeof i=="function"){var d=i(r);d&&(r=d)}var c;return l.mode==="Runtime"?(c=r,c.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(c,this)):c=new l(r),c}else $t("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,l=i._controlParentIdMap,r=i.instanceMap;if(!(!l||!r)){var d=l[a],c=r[a];if(!(!d&&!c)){var h=c.findIndex(function(C){return C==n}),m=r[d]||[],g;return m.length!==c.length?g=m[0]:g=m[h],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 l=new u(i);a=Array.from(l)}return a}},{key:"register",value:function(n,i){var u=n.Designer,a=n.Runtime,l=n.Property;(!u||!a||!u.__is_control__||!a.__is_control__)&&$t("".concat(n," is can't register as a Control"));var r=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return r>-1&&(wu("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(r,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();Fe(On,"staticControlsRuntimeRules",new Map),Fe(On,"staticControls",ar),Fe(On,"staticRegisteredTypes",new Set(ar.map(function(t){return t.Designer.controlType}))),Fe(On,"staticRegisteredConfigs",new Map);function uE(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=Mn(e),aE(t,lr()?Reflect.construct(e,n||[],Mn(t).constructor):e.apply(t,n))}function D(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function f(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(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&&Ru(t,e)}function aE(t,e){return e&&(lE(e)==="object"||typeof e=="function")?e:uE(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ru(t,e)}function lE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lr=function(){return!!t})()}var fe=function t(e){D(this,t),f(this,"dataCode",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},rr=function t(e){D(this,t),f(this,"minWidth",void 0),f(this,"maxWidth",void 0),f(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},or=function t(e){D(this,t),f(this,"rowHeightType",void 0),f(this,"minRows",void 0),f(this,"maxRows",void 0),f(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},rE=function t(e){D(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new or(e==null?void 0:e.pc),this.mobile=new or(e==null?void 0:e.mobile)},xu=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"width",void 0),f(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}(rr),oE=function t(e){D(this,t),f(this,"pc",void 0),f(this,"mobile",void 0),this.pc=new xu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new xu(e==null?void 0:e.mobile):new xu({width:130,minWidth:180})},cE=function t(e){D(this,t),f(this,"type",void 0),f(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},lt=function t(e){D(this,t),f(this,"dataCode",void 0),f(this,"formKey",void 0),f(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},sE=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(lt),cr=function t(e){D(this,t),f(this,"fieldCode",void 0),f(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},Pu=function t(e){D(this,t);var n;f(this,"appId",void 0),f(this,"formKey",void 0),f(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new cr(l)}))!==null&&a!==void 0?a:[]},dE=function t(e){D(this,t),f(this,"fieldName",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},hE=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"title",void 0),f(i,"svcCode",void 0),f(i,"isOpenFilter",void 0),f(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 l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var r;return i.filters=(r=n==null?void 0:n.filters)!==null&&r!==void 0?r:[],i}return e}(lt),fE=function t(e){D(this,t);var n,i;f(this,"type","sublist-page"),f(this,"formBind",void 0),f(this,"displayFields",void 0),f(this,"sublists",void 0),this.formBind=new lt(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(l){return new dE(l)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(l){return new hE(l)}))!==null&&a!==void 0?a:[]},yE=function t(e){D(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},Ae=function t(e){D(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},ku=function t(e){var n=this;D(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","conditions"),f(this,"level",void 0),f(this,"value",void 0),f(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i: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 l;this.value=(l=e==null?void 0:e.value)!==null&&l!==void 0?l:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(r){if(r.children!==void 0){var d,c=new t(r);(d=n.children)===null||d===void 0||d.push(c)}else{var h,m=new $n(r);(h=n.children)===null||h===void 0||h.push(m)}}))},$n=function t(e){D(this,t),f(this,"id",void 0),f(this,"ruleId",void 0),f(this,"type","condition"),f(this,"symbol",void 0),f(this,"checked",void 0),f(this,"describe",void 0),f(this,"leftVariableBo",void 0),f(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n: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 l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new yE(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Ae(e==null?void 0:e.rightVariableBo)},vE=function t(e){D(this,t),f(this,"aliasCode",void 0),f(this,"datasourceBind",void 0),f(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new 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){D(this,t),f(this,"controlId",void 0),f(this,"fieldCode",void 0),f(this,"fieldType",void 0),f(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Ou=function t(e){D(this,t),f(this,"type",void 0),f(this,"value",void 0),f(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},mE=function t(e){D(this,t),f(this,"columnName",void 0),f(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Mu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(r){return r.children!==void 0?new ku(r):new $n(r)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(r){return r.children!==void 0?new ku(r):new $n(r)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(r){return new mE(r)}))!==null&&l!==void 0?l:[]}var Y=function t(e){var n=this;D(this,t),f(this,"dataCode",void 0),f(this,"valueFieldCode",void 0),f(this,"displayBoList",void 0),f(this,"keywordMapping",void 0),f(this,"svcCode",void 0),f(this,"appId",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"isOpenViewFilters",void 0),f(this,"orders",void 0),f(this,"showOrder",void 0),f(this,"assignDepartment",void 0),f(this,"openAssignDepartment",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 l;this.isOpenViewFilters=(l=e==null?void 0:e.isOpenViewFilters)!==null&&l!==void 0?l:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(m){var g;(g=n.displayBoList)===null||g===void 0||g.push(new Ou(m))}));var r;this.keywordMapping=(r=e==null?void 0:e.keywordMapping)!==null&&r!==void 0?r:"";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:"",this.assignDepartment=new Ae(e==null?void 0:e.assignDepartment);var h;this.openAssignDepartment=(h=e==null?void 0:e.openAssignDepartment)!==null&&h!==void 0?h:!1,Mu.call(this,e)},$u=function t(e){D(this,t),f(this,"dataCode",void 0),f(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},me=function t(e){D(this,t),f(this,"code",void 0),f(this,"color",void 0),f(this,"command",void 0),f(this,"confirmMessage",void 0),f(this,"defaultState",void 0),f(this,"formKey",void 0),f(this,"formType",void 0),f(this,"icon",void 0),f(this,"needConfirm",void 0),f(this,"openType",void 0),f(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var r;this.formKey=(r=e==null?void 0:e.formKey)!==null&&r!==void 0?r: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 h;this.openType=(h=e==null?void 0:e.openType)!==null&&h!==void 0?h:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},sr=function t(e){D(this,t);var n;f(this,"name",void 0),f(this,"key",void 0),f(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new Ou(l)}))!==null&&a!==void 0?a:[]},Ln=function(t){ce(e,t);function e(n){D(this,e);var i,u;i=oe(this,e,[n]),f(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new sr(l)}))!==null&&a!==void 0?a:[],i}return e}(Y),gE=function(t){ce(e,t);function e(n){D(this,e);var i,u;i=oe(this,e,[n]),f(i,"attributes",void 0),f(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(r){return new sr(r)}))!==null&&a!==void 0?a:[];var l;return i.formCode=(l=n==null?void 0:n.formCode)!==null&&l!==void 0?l:"",i}return e}(Y),dr=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"rootNode",void 0),f(i,"filterCode",void 0),i.rootNode=new Ae(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}(Ln),hr=function t(e){D(this,t);var n;f(this,"dataCode",void 0),f(this,"appId",void 0),f(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new te(l)}))!==null&&a!==void 0?a:[]},fr=function(t){ce(e,t);function e(n){D(this,e);var i;return i=oe(this,e,[n]),f(i,"filters",void 0),f(i,"viewFilters",void 0),f(i,"orders",void 0),Mu.call(i,n),i}return e}(hr),yr=function(t){ce(e,t);function e(n){D(this,e);var i;i=oe(this,e,[n]),f(i,"mode",void 0),f(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}(hr),vr=function t(e){D(this,t),f(this,"stencilName",void 0),f(this,"expression",void 0),f(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},bE=function t(e){D(this,t),f(this,"id",void 0),f(this,"label",void 0),f(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n: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 ge(t){var e;return(e=t==null?void 0:t.map(function(n){return new bE(n)}))!==null&&e!==void 0?e:[]}var Lu=function t(){D(this,t)},CE=function(t){ce(e,t);function e(n){D(this,e);var i;return i=oe(this,e),f(i,"amount",void 0),f(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}(Lu),EE=function t(e){D(this,t),f(this,"amount",void 0),f(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},_E=function(t){ce(e,t);function e(n){D(this,e);var i;return i=oe(this,e),f(i,"min",void 0),f(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}(Lu),BE=function t(e){D(this,t),f(this,"min",void 0),f(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},wE=function t(e){D(this,t),f(this,"city",void 0),f(this,"cityDisplay",void 0),f(this,"district",void 0),f(this,"districtDisplay",void 0),f(this,"province",void 0),f(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var r;this.provinceDisplay=(r=e==null?void 0:e.provinceDisplay)!==null&&r!==void 0?r:""},DE=function(t){ce(e,t);function e(n){D(this,e);var i;return i=oe(this,e),f(i,"result",void 0),f(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}(Lu),FE=function t(e){D(this,t),f(this,"result",void 0),f(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},Nu;(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"})(Nu||(Nu={}));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",t.IS_SHOW_SIMPLE_SEARCH="isShowSimpleSearch",t.IS_SHOW_TOOL_BAE="isShowToolbar",t.MAIN_DEPT_FLAG="mainDeptFlag"})(s||(s={}));var Vu;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Vu||(Vu={}));var Se=function t(e){D(this,t),f(this,"isShow",void 0),f(this,"priorityProcess",void 0),f(this,"formKey",void 0),f(this,"content",void 0),f(this,"openType",void 0),f(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var r;this.priorityProcess=(r=e==null?void 0:e.priorityProcess)!==null&&r!==void 0?r:!1},AE=function t(e){D(this,t);var n;f(this,"id",void 0),f(this,"title",void 0),f(this,"filters",void 0),f(this,"viewFilters",void 0),f(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i: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(l){return new cr(l)}))!==null&&a!==void 0?a:[],Mu.call(this,e)},SE=function t(e){D(this,t),f(this,"width",void 0),f(this,"height",void 0),f(this,"widthConfig",void 0),f(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},IE=function t(e){D(this,t),f(this,"optCode",void 0),f(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},TE=function t(e){D(this,t);var n,i;f(this,"id",void 0),f(this,"name",void 0),f(this,"settings",void 0),f(this,"filters",void 0),f(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:de();var a;this.name=(a=e==null?void 0:e.name)!==null&&a!==void 0?a:"";var l;this.filters=(l=e==null||(n=e.filters)===null||n===void 0?void 0:n.map(function(d){return d.children!==void 0?new ku(d):new $n(d)}))!==null&&l!==void 0?l:[];var r;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(r=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new RE(d)}))!==null&&r!==void 0?r:[]:[],this.script=e==null?void 0:e.script},RE=function t(e){D(this,t),f(this,"color",void 0),f(this,"fieldCodes",void 0),f(this,"type",void 0),f(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},xE=function t(e){D(this,t);var n;f(this,"type",void 0),f(this,"interval",void 0),f(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new TE(l)}))!==null&&a!==void 0?a:[]:[]};function PE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kE(t,e,n){return e=Lt(e),$E(t,qu()?Reflect.construct(e,n||[],Lt(t).constructor):e.apply(t,n))}function Hu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t,e,n){return qu()?Nn=Reflect.construct:Nn=function(u,a,l){var r=[null];r.push.apply(r,a);var d=Function.bind.apply(u,r),c=new d;return l&&Nt(c,l.prototype),c},Nn.apply(null,arguments)}function be(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 OE(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 ME(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function $E(t,e){return e&&(LE(e)==="object"||typeof e=="function")?e:PE(t)}function Nt(t,e){return Nt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nt(t,e)}function LE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ju(t){var e=typeof Map=="function"?new Map:void 0;return ju=function(i){if(i===null||!ME(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Nn(i,arguments,Lt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nt(u,i)},ju(t)}function qu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qu=function(){return!!t})()}var j=function t(e){Hu(this,t),be(this,"isHide",{type:"boolean"})},Le=function(t){OE(e,t);function e(n){return Hu(this,e),kE(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),be(this,"isHide",void 0),be(this,"className",void 0),be(this,"style",void 0),be(this,"caption",void 0),be(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};be(q,"mode",void 0),be(q,"Rules",j),be(q,"RuntimeRules",Le);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 NE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Uu(t){return Uu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Uu(t)}function Vn(t,e){return Vn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vn(t,e)}function VE(){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 Hn(t,e,n){return VE()?Hn=Reflect.construct:Hn=function(u,a,l){var r=[null];r.push.apply(r,a);var d=Function.bind.apply(u,r),c=new d;return l&&Vn(c,l.prototype),c},Hn.apply(null,arguments)}function HE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Wu(t){var e=typeof Map=="function"?new Map:void 0;return Wu=function(i){if(i===null||!HE(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 Hn(i,arguments,Uu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vn(u,i)},Wu(t)}var jE=/%[sdj%]/g,mr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(mr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function zu(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 l=String(u).replace(jE,function(r){if(r==="%%")return"%";if(i>=a)return r;switch(r){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 r}});return l}return u}function qE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function G(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||qE(e)&&typeof t=="string"&&!t)}function UE(t,e,n){var i=[],u=0,a=t.length;function l(r){i.push.apply(i,r),u++,u===a&&n(i)}t.forEach(function(r){e(r,l)})}function gr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var r=i;i=i+1,r<u?e(t[r],a):n([])}a([])}function WE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var br=function(t){NE(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}(Wu(Error));function zE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var C=function(w){return i(w),w.length?g(new br(w,zu(w))):m()},B=WE(t);gr(B,n,C)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),r=l.length,d=0,c=[],h=new Promise(function(m,g){var C=function(E){if(c.push.apply(c,E),d++,d===r)return i(c),c.length?g(new br(c,zu(c))):m()};l.length||(i(c),m()),l.forEach(function(B){var E=t[B];a.indexOf(B)!==-1?gr(E,n,C):UE(E,n,C)})});return h.catch(function(m){return m}),h}function Cr(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 Er(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 _r(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||G(e,a||t.type))&&i.push(ne(u.messages.required,t.fullField))}function KE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(ne(u.messages.whitespace,t.fullField))}var Ku={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(Ku.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Ku.url)},hex:function(e){return typeof e=="string"&&!!e.match(Ku.hex)}};function GE(t,e,n,i,u){if(t.required&&e===void 0){_r(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;a.indexOf(l)>-1?Vt[l](e)||i.push(ne(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(ne(u.messages.types[l],t.fullField,t.type))}function XE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",r=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,c=e,h=null,m=typeof e=="number",g=typeof e=="string",C=Array.isArray(e);if(m?h="number":g?h="string":C&&(h="array"),!h)return!1;C&&(c=e.length),g&&(c=e.replace(d,"_").length),a?c!==t.len&&i.push(ne(u.messages[h].len,t.fullField,t.len)):l&&!r&&c<t.min?i.push(ne(u.messages[h].min,t.fullField,t.min)):r&&!l&&c>t.max?i.push(ne(u.messages[h].max,t.fullField,t.max)):l&&r&&(c<t.min||c>t.max)&&i.push(ne(u.messages[h].range,t.fullField,t.min,t.max))}var rt="enum";function QE(t,e,n,i,u){t[rt]=Array.isArray(t[rt])?t[rt]:[],t[rt].indexOf(e)===-1&&i.push(ne(u.messages[rt],t.fullField,t[rt].join(", ")))}function JE(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:_r,whitespace:KE,type:GE,range:XE,enum:QE,pattern:JE};function ZE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u,"string"),G(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 YE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 pE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),G(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 e_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 t_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),G(e)||A.type(t,e,i,a,u)}n(a)}function n_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 i_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 u_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){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 a_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(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 l_="enum";function r_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u),e!==void 0&&A[l_](t,e,i,a,u)}n(a)}function o_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,"string")&&!t.required)return n();A.required(t,e,i,a,u),G(e,"string")||A.pattern(t,e,i,a,u)}n(a)}function c_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e,"date")&&!t.required)return n();if(A.required(t,e,i,a,u),!G(e,"date")){var r;e instanceof Date?r=e:r=new Date(e),A.type(t,r,i,a,u),r&&A.range(t,r.getTime(),i,a,u)}}n(a)}function s_(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;A.required(t,e,i,a,u,l),n(a)}function Gu(t,e,n,i,u){var a=t.type,l=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(G(e,a)&&!t.required)return n();A.required(t,e,i,l,u,a),G(e,a)||A.type(t,e,i,l,u)}n(l)}function d_(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(G(e)&&!t.required)return n();A.required(t,e,i,a,u)}n(a)}var Ht={string:ZE,method:YE,number:pE,boolean:e_,regexp:t_,integer:n_,float:i_,array:u_,object:a_,enum:r_,pattern:o_,date:c_,url:Gu,hex:Gu,email:Gu,required:s_,any:d_};function Xu(){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 Qu=Xu();function Ie(t){this.rules=null,this._messages=Qu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=Er(Xu(),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,l=n,r=i;if(typeof l=="function"&&(r=l,l={}),!this.rules||Object.keys(this.rules).length===0)return r&&r(),Promise.resolve();function d(E){var w,v=[],_={};function S(x){if(Array.isArray(x)){var O;v=(O=v).concat.apply(O,x)}else v.push(x)}for(w=0;w<E.length;w++)S(E[w]);v.length?_=zu(v):(v=null,_=null),r(v,_)}if(l.messages){var c=this.messages();c===Qu&&(c=Xu()),Er(c,l.messages),l.messages=c}else l.messages=this.messages();var h,m,g={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){h=u.rules[E],m=a[E],h.forEach(function(w){var v=w;typeof v.transform=="function"&&(a===e&&(a=ye({},a)),m=a[E]=v.transform(m)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=E,v.fullField=v.fullField||E,v.type=u.getType(v),v.validator&&(g[E]=g[E]||[],g[E].push({rule:v,value:m,source:a,field:E}))})});var B={};return zE(g,l,function(E,w){var v=E.rule,_=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");_=_&&(v.required||!v.required&&E.value),v.field=E.field;function S(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]),!l.suppressWarning&&M.length&&Ie.warning("async-validator:",M),M.length&&v.message!==void 0&&(M=[].concat(v.message)),M=M.map(Cr(v)),l.first&&M.length)return B[v.field]=1,w(M);if(!_)w(M);else{if(v.required&&!E.value)return v.message!==void 0?M=[].concat(v.message).map(Cr(v)):l.error&&(M=[l.error(v,ne(l.messages.required,v.field))]),w(M);var le={};if(v.defaultField)for(var Tn in E.value)E.value.hasOwnProperty(Tn)&&(le[Tn]=v.defaultField);le=ye(ye({},le),E.rule.fields);for(var Be in le)if(le.hasOwnProperty(Be)){var fu=Array.isArray(le[Be])?le[Be]:[le[Be]];le[Be]=fu.map(S.bind(null,Be))}var Rn=new Ie(le);Rn.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),Rn.validate(E.value,E.rule.options||l,function(xt){var we=[];M&&M.length&&we.push.apply(we,M),xt&&xt.length&&we.push.apply(we,xt),w(we.length?we:null)})}}var O;v.asyncValidator?O=v.asyncValidator(v,E.value,x,E.source,l):v.validator&&(O=v.validator(v,E.value,x,E.source,l),O===!0?x():O===!1?x(v.message||v.field+" fails"):O instanceof Array?x(O):O instanceof Error&&x(O.message)),O&&O.then&&O.then(function(){return x()},function(ae){return x(ae)})},function(E){d(E)})},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}},Ie.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},Ie.warning=mr,Ie.messages=Qu,Ie.validators=Ht;var h_={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 f_(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(h_,e)),n}var y_=new zC;function Ju(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function v_(t){if(Array.isArray(t))return t}function m_(t){if(Array.isArray(t))return Ju(t)}function Br(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function wr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Br(a,i,u,l,r,"next",d)}function r(d){Br(a,i,u,l,r,"throw",d)}l(void 0)})}}function g_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(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 b_(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(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 Fr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Ar(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function C_(){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 E_(){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 Sr(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 __(t){return v_(t)||Ar(t)||Ir(t)||C_()}function Zu(t){return m_(t)||Ar(t)||Ir(t)||E_()}function B_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ir(t,e){if(!!t){if(typeof t=="string")return Ju(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ju(t,e)}}function Tr(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(h){return d([c,h])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)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 l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var k=function(){function e(n){var i=this;g_(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",xr),P(this,"removeSetting",Rr),this._callControlHooks("preInstance",n);var u=Fr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,r=u.controlType,d=u.controlFieldType,c=u.controlEventKeys,h=u.controlCustomEvents,m=u.name,g=u.setting,C=u.slots,B=u.slotPosition;a&&l&&r||zl("The ".concat(m," controlName,controlIcon,controlType is not define"));var E;this.id=(E=n==null?void 0:n.id)!==null&&E!==void 0?E:de(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:r,this.props=new q(n==null?void 0:n.props,(Fr(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=re(g);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:d,this.eventKeys=re(c),this.customEvents=re(h),this.slots=re(C),this.slotPosition=re(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return b_(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 l,r=__(u),d=r[0],c=r.slice(1);return(l=y_).emit.apply(l,[d,this].concat(Zu(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),RC(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return wr(function(){var u,a,l;return Tr(this,function(r){switch(r.label){case 0:return u=Sr({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=r.sent(),l=a[a.length-1],[2,l===!1?void 0:l]}})})()}},{key:"validate",value:function(i,u){var a=this;return wr(function(){var l,r,d,c;return Tr(this,function(h){switch(h.label){case 0:return[4,a.preValidate()];case 1:l=h.sent(),r=l!==void 0?l:Sr({},a.rules),Array.isArray(u)&&u.forEach(function(m){r.hasOwnProperty(m)&&delete r[m]}),d=f_(r,i),h.label=2;case 2:return h.trys.push([2,4,,5]),[4,d.validate(a.props)];case 3:return h.sent(),[2,!0];case 4:throw c=h.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,l=this.type,r=this.props,d=r.dataBind,c=r.datasourceBind,h=r.optionConfig,m=r.caption,g=r.required,C=r.maxLength,B=r.options,E=r.encrypted,w=r.encryptedMode;if(!(!u&&!d&&!c)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(d&&(v.dataBind=d),h){case"datasource":case void 0:c&&(v.datasourceBind=c);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),C!==void 0&&(v.maxLength=C),E!==void 0&&(v.encrypted=E),w!==void 0&&(v.encryptedMode=w),v}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:re(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(i,u){if(i==="setting"){if(u.add){var a;(a=this.setting).push.apply(a,Zu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(k,"mode","Designer"),P(k,"slots",void 0),P(k,"slotPosition",void 0),P(k,"controlName","\u63A7\u4EF6"),P(k,"controlIcon","icon"),P(k,"controlType","control"),P(k,"controlFieldType",void 0),P(k,"controlEventKeys",[]),P(k,"controlCustomEvents",[]),P(k,"setting",[]),P(k,"__is_control__",!0),P(k,"removeSettingItem",Rr),P(k,"updateSettingItem",xr);function Rr(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u,a=typeof i!="string",l=(u=e.setting)===null||u===void 0?void 0:u.findIndex(function(c){return c.key===(a?i.key:i)});if(l!==-1){var r,d;a?e.setting[l].showItems=(r=e.setting[l].showItems)===null||r===void 0?void 0:r.filter(function(c){return!i.hideItems.includes(c)}):e.setting.splice(l,1),a&&!(!((d=e.setting[l].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(l,1)}})}function xr(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":B_(e))==="object"){var l,r=(l=e.type)!==null&&l!==void 0?l:"replace";if(r==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Zu(e.showItems))}}}})}function w_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function D_(t,e,n){return e&&Pr(t.prototype,e),n&&Pr(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 F_(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var U=function(){function e(n){w_(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=F_(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,r=i.controlCustomEvents;u||zl("The ".concat(l," 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 q(n==null?void 0:n.props),this.customEvents=r;var h;this.controlType=(h=n==null?void 0:n.controlType)!==null&&h!==void 0?h:"base";var m;this.fieldType=(m=n==null?void 0:n.fieldType)!==null&&m!==void 0?m:a;var g;this.pageStatus=(g=n==null?void 0:n.pageStatus)!==null&&g!==void 0?g:Vu.UNKNOWN}return D_(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(U,"mode","Runtime"),ie(U,"controlType","control"),ie(U,"controlFieldType",void 0),ie(U,"__is_control__",!0),ie(U,"controlCustomEvents",[]);function Yu(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("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:o("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:o("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(o("CMD.optionIsRequired",null,"\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(r){return r.value}),l=$C(a);a.length!==l.length?u(o("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:o("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:o("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}])}function jn(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B":"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C":"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:o(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1":"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},attributes:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),l()},message:o(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,n?"\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C":"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}]}}}],orders:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:o("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function A_(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function S_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function qn(t,e,n){return e=Wn(e),I_(t,kr()?Reflect.construct(e,n||[],Wn(t).constructor):e.apply(t,n))}function Un(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 Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function zn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function I_(t,e){return e&&(T_(e)==="object"||typeof e=="function")?e:S_(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function T_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function kr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(kr=function(){return!!t})()}var X=function(t){zn(e,t);function e(n){Un(this,e);var i;i=qn(this,e,[n]),L(i,"dataBind",{}),L(i,"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),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("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(A_(n.dataBind))i.dataBind={type:"object",required:!0,fields:re(u),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:re(u),message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),$=function(t){zn(e,t);function e(n){Un(this,e);var i;i=qn(this,e,[n]);var u=n.isHide?!1:n.required;return u&&i.push({type:"string",required:u,message:n.requiredMessage!==""?n.requiredMessage:o("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Le),I=function(t){zn(e,t);function e(n){Un(this,e);var i;i=qn(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 l;i.isShowCaptionTip=(l=n==null?void 0:n.isShowCaptionTip)!==null&&l!==void 0?l:!1;var r;i.captionTip=(r=n==null?void 0:n.captionTip)!==null&&r!==void 0?r:"";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 h;i.placeholder=(h=n==null?void 0:n.placeholder)!==null&&h!==void 0?h:"";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 C;return i.defaultValue=(C=n==null?void 0:n.defaultValue)!==null&&C!==void 0?C:"",i}return e}(q);L(I,"Rules",X),L(I,"RuntimeRules",$);var ot=function(t){zn(e,t);function e(n){Un(this,e);var i;return i=qn(this,e,[n]),L(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),L(i,"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),L(i,"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(X);function R_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function x_(t,e,n){return e=Gn(e),O_(t,Or()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function P_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kn(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 k_(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 O_(t,e){return e&&(M_(e)==="object"||typeof e=="function")?e:R_(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function M_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Or(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Or=function(){return!!t})()}var T=function(t){k_(e,t);function e(n){P_(this,e);var i;return i=x_(this,e,[n]),Kn(i,"controlType","form"),Kn(i,"props",void 0),i.props=new I(n==null?void 0:n.props),i}return e}(k);Kn(T,"controlEventKeys",["on_change","on_focus","on_blur"]),Kn(T,"controlCustomAttributes",void 0);function $_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function L_(t,e,n){return e=Xn(e),H_(t,Mr()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function N_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ta(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 V_(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&na(t,e)}function H_(t,e){return e&&(j_(e)==="object"||typeof e=="function")?e:$_(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function j_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Mr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Mr=function(){return!!t})()}var R=function(t){V_(e,t);function e(n){N_(this,e);var i;return i=L_(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new I(n==null?void 0:n.props),i}return e}(U);function q_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function U_(t,e,n){return e=Qn(e),K_(t,$r()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function W_(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 z_(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 K_(t,e){return e&&(G_(e)==="object"||typeof e=="function")?e:q_(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function G_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function $r(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return($r=function(){return!!t})()}var N=function(t){z_(e,t);function e(n){return W_(this,e),U_(this,e,[n])}return e}(q);function ua(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 X_(t){if(Array.isArray(t))return ua(t)}function Q_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Lr(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function J_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Lr(a,i,u,l,r,"next",d)}function r(d){Lr(a,i,u,l,r,"throw",d)}l(void 0)})}}function Z_(t,e,n){return e=Re(e),r6(t,Hr()?Reflect.construct(e,n||[],Re(t).constructor):e.apply(t,n))}function Y_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p_(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(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 ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,l){var r=o6(u,a);if(!!r){var d=Object.getOwnPropertyDescriptor(r,a);return d.get?d.get.call(l||u):d.value}},ct(t,e,n||t)}function Re(t){return Re=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Re(t)}function e6(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 t6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function n6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function i6(){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 u6(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){Te(t,u,n[u])})}return t}function a6(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 l6(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):a6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function r6(t,e){return e&&(c6(e)==="object"||typeof e=="function")?e:Q_(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function o6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Re(t),t!==null););return t}function Vr(t){return X_(t)||n6(t)||s6(t)||i6()}function c6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function s6(t,e){if(!!t){if(typeof t=="string")return ua(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 ua(t,e)}}function Hr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Hr=function(){return!!t})()}function d6(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(h){return d([c,h])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)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 l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var h6=1e4,H=function(e){e6(n,e);function n(i){Y_(this,n);var u;u=Z_(this,n,[i]),Te(u,"controlType","layout"),Te(u,"children",void 0),Te(u,"excludes",void 0),Te(u,"childrenMaxLength",void 0),Te(u,"props",void 0);var a=t6(this,n)?this.constructor:void 0,l=a.excludes,r=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=re(l),u.childrenMaxLength=r,u}return p_(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 l=this,r=this,d=function(){return ct(Re(n.prototype),"validate",l)};return J_(function(){return d6(this,function(c){switch(c.label){case 0:return[4,d().call(r,u,a)];case 1:return c.sent(),[4,Promise.all(r.children.map(function(h){return h.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=ct(Re(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(r,d){var c=d.toDataBindModel(u);if(Array.isArray(c)){var h=c.filter(function(m){return!!m});return Vr(r).concat(Vr(h))}return c&&r.push(c),r},l)}},{key:"toSchema",value:function(){var u=ct(Re(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var r=l.toSchema();return r});return l6(u6({},u),{children:a})}}]),n}(k);Te(H,"excludes",!1),Te(H,"childrenMaxLength",h6);function f6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function y6(t,e,n){return e=Jn(e),g6(t,jr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function v6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function la(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function m6(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 g6(t,e){return e&&(b6(e)==="object"||typeof e=="function")?e:f6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function b6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(jr=function(){return!!t})()}var W=function(t){m6(e,t);function e(n){v6(this,e);var i;return i=y6(this,e,[n]),la(i,"controlType","layout"),la(i,"children",void 0),la(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}(U);function C6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function E6(t,e,n){return e=Zn(e),w6(t,qr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function _6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function st(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function B6(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 w6(t,e){return e&&(D6(e)==="object"||typeof e=="function")?e:C6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function D6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(qr=function(){return!!t})()}var Yn=function(t){B6(e,t);function e(n,i,u){_6(this,e);var a;a=E6(this,e,[i]),st(a,"headers",void 0),st(a,"footers",void 0),st(a,"pageIndex",void 0),st(a,"pageSize",void 0),st(a,"pageSizeOptions",void 0),st(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 l;a.pageIndex=(l=i==null?void 0:i.pageIndex)!==null&&l!==void 0?l:1;var r;a.pageSize=(r=i==null?void 0:i.pageSize)!==null&&r!==void 0?r: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}(q);function ca(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 F6(t){if(Array.isArray(t))return ca(t)}function A6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ur(t,e,n,i,u,a,l){try{var r=t[a](l),d=r.value}catch(c){n(c);return}r.done?e(d):Promise.resolve(d).then(i,u)}function S6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Ur(a,i,u,l,r,"next",d)}function r(d){Ur(a,i,u,l,r,"throw",d)}l(void 0)})}}function I6(t,e,n){return e=xe(e),M6(t,Xr()?Reflect.construct(e,n||[],xe(t).constructor):e.apply(t,n))}function T6(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 R6(t,e,n){return e&&Wr(t.prototype,e),n&&Wr(t,n),t}function pn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,a,l){var r=$6(u,a);if(!!r){var d=Object.getOwnPropertyDescriptor(r,a);return d.get?d.get.call(l||u):d.value}},dt(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(t)}function x6(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 P6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function k6(){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 zr(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){pn(t,u,n[u])})}return t}function O6(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 Kr(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):O6(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function M6(t,e){return e&&(L6(e)==="object"||typeof e=="function")?e:A6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function $6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function Gr(t){return F6(t)||P6(t)||N6(t)||k6()}function L6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function N6(t,e){if(!!t){if(typeof t=="string")return ca(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 ca(t,e)}}function Xr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Xr=function(){return!!t})()}function V6(t,e){var n,i,u,a,l={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:r(0),throw:r(1),return:r(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function r(c){return function(h){return d([c,h])}}function d(c){if(n)throw new TypeError("Generator is already executing.");for(;l;)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 l.label++,{value:c[1],done:!1};case 5:l.label++,i=c[1],c=[0];continue;case 7:c=l.ops.pop(),l.trys.pop();continue;default:if(u=l.trys,!(u=u.length>0&&u[u.length-1])&&(c[0]===6||c[0]===2)){l=0;continue}if(c[0]===3&&(!u||c[1]>u[0]&&c[1]<u[3])){l.label=c[1];break}if(c[0]===6&&l.label<u[1]){l.label=u[1],u=c;break}if(u&&l.label<u[2]){l.label=u[2],l.ops.push(c);break}u[2]&&l.ops.pop(),l.trys.pop();continue}c=e.call(t,l)}catch(h){c=[6,h],i=0}finally{n=u=0}if(c[0]&5)throw c[1];return{value:c[0]?c[1]:void 0,done:!0}}}var da=function(t){x6(e,t);function e(n){T6(this,e);var i;return i=I6(this,e,[n]),pn(i,"controlType","list"),pn(i,"props",void 0),i.props=new Yn(i,n==null?void 0:n.props,"Designer"),i}return R6(e,[{key:"validate",value:function(i,u){var a=this,l=this,r=function(){return dt(xe(e.prototype),"validate",a)};return S6(function(){return V6(this,function(d){switch(d.label){case 0:return[4,r().call(l,i)];case 1:return d.sent(),[4,Promise.all(l.props.headers.map(function(c){return c.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var i=dt(xe(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,r){var d=r.toDataBindModel(a);if(Array.isArray(d)){var c=d.filter(function(h){return!!h});return Gr(l).concat(Gr(c))}return d&&l.push(d),l},u)}},{key:"toSchema",value:function(){var i=dt(xe(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return Kr(zr({},i),{props:Kr(zr({},this.props),{headers:u})})}}]),e}(k);pn(da,"controlFieldType",b.LIST);function H6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function j6(t,e,n){return e=ei(e),z6(t,Jr()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function q6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function U6(t,e,n){return e&&Qr(t.prototype,e),n&&Qr(t,n),t}function ha(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 W6(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function z6(t,e){return e&&(K6(e)==="object"||typeof e=="function")?e:H6(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}function K6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Jr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Jr=function(){return!!t})()}var Zr=function(t){W6(e,t);function e(n){q6(this,e);var i;return i=j6(this,e,[n]),ha(i,"controlType","list"),ha(i,"children",void 0),ha(i,"props",void 0),i.props=new Yn(i,n==null?void 0:n.props,"Runtime"),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return U6(e,[{key:"length",get:function(){return this.children.length}}]),e}(U);function G6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ya(t,e,n){return e=ti(e),X6(t,Yr()?Reflect.construct(e,n||[],ti(t).constructor):e.apply(t,n))}function va(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Q(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ti(t){return ti=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ti(t)}function ma(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&&ga(t,e)}function X6(t,e){return e&&(Q6(e)==="object"||typeof e=="function")?e:G6(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function Q6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Yr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Yr=function(){return!!t})()}var Ce=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),Q(i,"caption",{type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Q(i,"width",{type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),z=function(t){ma(e,t);function e(n){va(this,e);var i;i=ya(this,e,[n]),Q(i,"widthType",void 0),Q(i,"width",void 0),Q(i,"caption",void 0),Q(i,"dataBind",void 0),Q(i,"autoWidth",void 0),Q(i,"fixed",void 0),Q(i,"sort",void 0),Q(i,"align",void 0),Q(i,"colSpan",void 0),Q(i,"autoHeight",void 0),Q(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 l;i.fixed=(l=n==null?void 0:n.fixed)!==null&&l!==void 0?l:"none",i.autoWidth=new rr(n==null?void 0:n.autoWidth),i.dataBind=new fe(n==null?void 0:n.dataBind);var r;i.sort=(r=n==null?void 0:n.sort)!==null&&r!==void 0?r:!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}(q);Q(z,"Rules",Ce);var ba=function(t){ma(e,t);function e(n){va(this,e);var i;return i=ya(this,e,[n]),Q(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:o("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Q(i,"options",[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Q(i,"datasourceBind",[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(Ce);function J6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Z6(t,e,n){return e=ht(e),uB(t,eo()?Reflect.construct(e,n||[],ht(t).constructor):e.apply(t,n))}function Y6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function pr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function p6(t,e,n){return e&&pr(t.prototype,e),n&&pr(t,n),t}function ni(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,e,n){return typeof Reflect!="undefined"&&Reflect.get?ii=Reflect.get:ii=function(u,a,l){var r=aB(u,a);if(!!r){var d=Object.getOwnPropertyDescriptor(r,a);return d.get?d.get.call(l||u):d.value}},ii(t,e,n||t)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(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&&Ca(t,e)}function tB(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){ni(t,u,n[u])})}return t}function nB(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 iB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):nB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function uB(t,e){return e&&(lB(e)==="object"||typeof e=="function")?e:J6(t)}function Ca(t,e){return Ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ca(t,e)}function aB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=ht(t),t!==null););return t}function lB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function eo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(eo=function(){return!!t})()}var J=function(t){eB(e,t);function e(n){Y6(this,e);var i;return i=Z6(this,e,[n]),ni(i,"controlType","column"),ni(i,"props",void 0),ni(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return p6(e,[{key:"toSchema",value:function(){var i=ii(ht(e.prototype),"toSchema",this).call(this);return iB(tB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(k);function rB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function oB(t,e,n){return e=ui(e),dB(t,to()?Reflect.construct(e,n||[],ui(t).constructor):e.apply(t,n))}function cB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ea(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 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&&_a(t,e)}function dB(t,e){return e&&(hB(e)==="object"||typeof e=="function")?e:rB(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}function hB(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 Z=function(t){sB(e,t);function e(n){cB(this,e);var i;return i=oB(this,e,[n]),Ea(i,"controlType","column"),Ea(i,"props",void 0),Ea(i,"children",void 0),i.props=new z(n==null?void 0:n.props),he(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(U);function fB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yB(t,e,n){return e=ai(e),bB(t,no()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function vB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mB(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 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&&Ba(t,e)}function bB(t,e){return e&&(CB(e)==="object"||typeof e=="function")?e:fB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function CB(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 wa=function(t){gB(e,t);function e(n){vB(this,e);var i;return i=yB(this,e,[n]),mB(i,"dataBind",void 0),i.dataBind=new fe(n==null?void 0:n.dataBind),i}return e}(N);function EB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _B(t,e,n){return e=li(e),DB(t,uo()?Reflect.construct(e,n||[],li(t).constructor):e.apply(t,n))}function BB(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 li(t){return li=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},li(t)}function wB(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 DB(t,e){return e&&(FB(e)==="object"||typeof e=="function")?e:EB(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(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 AB=function(t){wB(e,t);function e(n){BB(this,e);var i;return i=_B(this,e,[n]),io(i,"controlType","search"),io(i,"props",void 0),i.props=new wa(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 IB(t,e,n){return e=ri(e),xB(t,lo()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function TB(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 ri(t){return ri=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ri(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&&Fa(t,e)}function xB(t,e){return e&&(PB(e)==="object"||typeof e=="function")?e:SB(t)}function Fa(t,e){return Fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Fa(t,e)}function PB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function lo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(lo=function(){return!!t})()}var kB=function(t){RB(e,t);function e(n){TB(this,e);var i;return i=IB(this,e,[n]),ao(i,"controlType","search"),ao(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(W);function OB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function MB(t,e,n){return e=oi(e),NB(t,ro()?Reflect.construct(e,n||[],oi(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 oi(t){return oi=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},oi(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&&Aa(t,e)}function NB(t,e){return e&&(VB(e)==="object"||typeof e=="function")?e:OB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function VB(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 Sa=function(t){LB(e,t);function e(n){return $B(this,e),MB(this,e,[n])}return e}(N);function HB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jB(t,e,n){return e=ci(e),WB(t,co()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function qB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function oo(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 UB(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 WB(t,e){return e&&(zB(e)==="object"||typeof e=="function")?e:HB(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function zB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function co(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(co=function(){return!!t})()}var KB=function(t){UB(e,t);function e(n){qB(this,e);var i;return i=jB(this,e,[n]),oo(i,"controlType","wrap"),oo(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(H);function GB(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=si(e),ZB(t,ho()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function QB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function so(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function JB(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 ZB(t,e){return e&&(YB(e)==="object"||typeof e=="function")?e:GB(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function YB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ho=function(){return!!t})()}var pB=function(t){JB(e,t);function e(n){QB(this,e);var i;return i=XB(this,e,[n]),so(i,"controlType","wrap"),so(i,"props",void 0),i.props=new Sa(n==null?void 0:n.props),i}return e}(W);function Pe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ra extends q{constructor(e){var n,i,u,a,l,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(l=e==null?void 0:e.content)!=null?l:o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(r=e==null?void 0:e.align)!=null?r:""}}class fo extends k{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return o("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}fo.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 ew extends U{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"text"}}var yo={Designer:fo,Runtime:ew,Property:Ra};class xa extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.linkContent",null,"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5"),this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Pa extends k{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return o("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Pa.controlEventKeys=["on_click"],Pa.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 tw extends U{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"link"}}var vo={Designer:Pa,Runtime:tw,Property:xa};class ee extends q{constructor(e){var n,i,u,a,l,r,d,c,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.button",null,"\u6309\u94AE"),this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"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 IE((h=e==null?void 0:e.optObj)!=null?h:{})}}class p extends k{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlName(){return o("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}p.slots=["grid-table-toolbar-slot","action-bar-slot",Nl.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 U{constructor(e){super(e),this.props=new ee(e==null?void 0:e.props)}static get controlType(){return"button"}}var mo={Designer:p,Runtime:ue,Property:ee},ke=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(ke||{}),go=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(go||{}),bo=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(bo||{});class di{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 ka=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(ka||{});class hi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:de(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Oa=(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))(Oa||{});class Ma{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Ae((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new Ae((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new Ae((r=e==null?void 0:e.company)!=null?r:{type:"form"}),this.indexSignature=(h=e==null?void 0:e.indexSignature)!=null?h:new Ae((c=e==null?void 0:e.indexSignature)!=null?c:{type:"form"}),this.signaturePosition=(m=e==null?void 0:e.signaturePosition)!=null?m:"free",this.seal=new Ae((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(C=e==null?void 0:e.platformAutoSign)!=null?C:!1,this.posX=(B=e==null?void 0:e.posX)!=null?B:0,this.posY=(E=e==null?void 0:e.posY)!=null?E:0,this.remark=(w=e==null?void 0:e.remark)!=null?w:""}}class Co{constructor(e){var n,i,u,a,l,r;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 Ma(d)))!=null?u:[new Ma],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(r=e==null?void 0:e.completeTimeControl)!=null?r:""}}class jt{constructor(e){var n,i,u,a,l,r,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=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(r=e==null?void 0:e.fieldList)!=null?r:[],this.active=(d=e==null?void 0:e.active)!=null?d:!1}}class $a{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class Eo{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new $a(e==null?void 0:e.watermark),this.autoRename=new $a(e==null?void 0:e.autoRename)}}class La{constructor(e){var n,i,u,a,l,r,d;this.appId=(n=e==null?void 0:e.appId)!=null?n:"",this.dataCode=(i=e==null?void 0:e.dataCode)!=null?i:"",this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.orders=(a=e==null?void 0:e.orders)!=null?a:[],this.filters=(l=e==null?void 0:e.filters)!=null?l:[],this.isRelation=(r=e==null?void 0:e.isRelation)!=null?r:!1,this.relationBindCode=(d=e==null?void 0:e.relationBindCode)!=null?d:""}}class Na{constructor(e){var n,i;this.type=(n=e==null?void 0:e.type)!=null?n:"auto",this.row=(i=e==null?void 0:e.row)!=null?i:20,this.height=e==null?void 0:e.height}}class _o{constructor(e){this.dataCode=e.dataCode}}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 _o(a)))!=null?u:[]}}class wo{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("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const Do=480;function qt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Fo{constructor(e){var n,i,u,a,l;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=(l=e.rules)!=null?l:[]}}class Ao{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 So=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(So||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),fi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(fi||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{});class ja extends q{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:Oa.SOLID}}class Io extends k{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return o("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Io.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]}];class nw extends U{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"divider"}}var To={Designer:Io,Runtime:nw,Property:ja};class iw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(ke.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:o("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:o("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class yi extends q{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:[ke.ShowSubmitUser,ke.ShowSubmitDept,ke.ShowSubmitTime,ke.ShowCurrentApprovar,ke.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:ft==null?void 0:ft.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}yi.Rules=iw;class ft extends k{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return o("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}ft.controlFieldType=b.AUTO_NUMBER,ft.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 uw extends U{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Ro={Designer:ft,Runtime:uw,Property:yi};class aw extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class vi extends ee{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:yt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:yt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}vi.Rules=aw;class yt extends p{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return o("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}yt.slots=["grid-table-toolbar-slot"],yt.controlEventKeys=["on_click","on_click_finish"],yt.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class lw extends ue{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var xo={Designer:yt,Runtime:lw,Property:vi};class rw extends j{constructor(e){super(e),this.processKey=[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class mi extends ee{constructor(e){var n,i,u,a,l,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.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(r=e==null?void 0:e.employeeId)!=null?r:""}}mi.Rules=rw;class vt extends p{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchSubmissionListButton",null,"\u6279\u91CF\u63D0\u4EA4")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.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 ow extends ue{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Po={Designer:vt,Runtime:ow,Property:mi};class qa 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 qa(e==null?void 0:e.props)}static get controlName(){return o("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-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 cw extends ue{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var ko={Designer:mt,Runtime:cw,Property:qa};class Ua extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:gt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:gt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(r=>new jt(r)))!=null?l:[new jt({id:"default",name:o("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class gt extends p{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}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:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class sw extends ue{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Oo={Designer:gt,Runtime:sw,Property:Ua};class Wa extends ee{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:bt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:bt.controlIcon}}class bt extends p{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return o("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}bt.slots=["grid-table-toolbar-slot"],bt.controlEventKeys=["on_click"],bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class dw extends ue{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Mo={Designer:bt,Runtime:dw,Property:Wa};class hw{constructor(e){this.dataCode=e.dataCode}}class za extends ee{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ct.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ct.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new hw(r)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class Ct extends p{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return o("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ct.slots=["grid-table-toolbar-slot"],Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class fw extends ue{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var $o={Designer:Ct,Runtime:fw,Property:za};function gi(){return{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:o("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class yw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},gi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},gi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:o("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class bi 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 fr(e==null?void 0:e.fillPayload),this.formBind=new sE(e==null?void 0:e.formBind),this.fillBack=new yr(e==null?void 0:e.fillBack)}}bi.Rules=yw;class Ut extends p{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return o("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}Ut.controlEventKeys=["on_click","on_click_finish"],Ut.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class vw extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Lo={Designer:Ut,Runtime:vw,Property:bi};class mw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:ut({},gi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:o("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:ut({mode:{type:"string",required:!0,message:o("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},gi())}}}class Ci extends ee{constructor(e){var n,i,u,a,l;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 fr(e==null?void 0:e.fillPayload),this.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.fillBack=new yr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.isSelectedRowFill=(a=e==null?void 0:e.isSelectedRowFill)!=null?a:!1,this.disableFilling=(l=e==null?void 0:e.disableFilling)!=null?l:!0}}Ci.Rules=mw;class Wt extends p{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return o("CMD.listSelectButton",null,"\u5217\u8868\u9009\u62E9")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}Wt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Wt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class gw extends ue{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var No={Designer:Wt,Runtime:gw,Property:Ci};class bw extends j{constructor(e){super(e)}}class Cw extends Le{constructor(e){super(e)}}class zt extends q{constructor(e){super(e)}}zt.Rules=bw,zt.RuntimeRules=Cw;class Vo extends k{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return o("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Vo.setting=[];class Ew extends U{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Ho={Designer:Vo,Runtime:Ew,Property:zt};class _w extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:o("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ei extends q{constructor(e){var n,i,u,a,l,r;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=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top"}}Ei.Rules=_w;class jo extends k{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return o("CMD.dashboard",null,"\u4EEA\u8868\u76D8")}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}jo.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 Bw extends U{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var qo={Designer:jo,Runtime:Bw,Property:Ei};class ww extends j{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:o("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class _i extends q{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 AE(a)))!=null?u:[]}}_i.Rules=ww;class Uo extends k{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return o("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}Uo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Dw extends U{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var Wo={Designer:Uo,Runtime:Dw,Property:_i};class Fw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:o("CMD.pleaseSelectOcrType",null,"\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B")},this.fillList={type:"array",validator(n,i,u){if(i.every(l=>!l.controlId)){u(o("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends ee{constructor(e){var n,i,u,a,l,r,d,c,h,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Et.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=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:Et.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Et.controlIcon,this.ocrType=(c=e==null?void 0:e.ocrType)!=null?c:"",this.fillList=(m=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new te(g)))!=null?m:[]}}Bi.Rules=Fw;class Et extends p{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return o("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}Et.controlEventKeys=["on_click","on_click_finish"],Et.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 Aw extends ue{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var zo={Designer:Et,Runtime:Aw,Property:Bi};class Sw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},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(l=>!l.controlId)){u(o("CMD.pleaseSelectAtLeastOneFieldToFillIn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145"));return}u()}},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends ee{constructor(e){var n,i,u,a,l,r,d,c,h,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=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(r=e==null?void 0:e.content)!=null?r:_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=(h=e==null?void 0:e.fillList)==null?void 0:h.map(g=>new te(g)))!=null?m:[]}}wi.Rules=Sw;class _t extends p{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return o("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}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 Iw extends ue{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var Ko={Designer:_t,Runtime:Iw,Property:wi};class Tw extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:o("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Di extends ee{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Bt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Bt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(r=>new Fo(r)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Di.Rules=Tw;class Bt extends p{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchPrintListButton",null,"\u6279\u91CF\u6253\u5370")}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Bt.slots=["grid-table-toolbar-slot"],Bt.controlEventKeys=["on_click","on_click_finish"],Bt.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 Rw extends ue{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var Go={Designer:Bt,Runtime:Rw,Property:Di};class Ka extends ee{constructor(e){var n,i;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}}class wt extends p{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchPrintRecordList",null,"\u6279\u91CF\u6253\u5370\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}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:"super-setting",visible:!0}];class xw extends ue{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var Xo={Designer:wt,Runtime:xw,Property:Ka};class Pw extends j{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Fi extends q{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:o("CMD.button",null,"\u6309\u94AE"),this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}Fi.Rules=Pw;class Ai extends k{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return o("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ai.controlEventKeys=["on_click"],Ai.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 kw extends U{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var Qo={Designer:Ai,Runtime:kw,Property:Fi};class Ga extends q{constructor(e){var n,i,u,a,l,r,d,c,h;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Dt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Dt.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=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(r=e==null?void 0:e.isHide)!=null?r:!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=(h=e==null?void 0:e.isLoading)!=null?h:!1}}class Dt extends k{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return o("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}Dt.slots=["grid-table-toolbar-slot"],Dt.controlEventKeys=["on_click"],Dt.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 Ow extends U{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var Jo={Designer:Dt,Runtime:Ow,Property:Ga};class Mw extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Si extends q{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ii.controlName,this.isShowSimpleSearch=(i=e==null?void 0:e.isShowSimpleSearch)!=null?i:!0,this.isShowToolbar=(u=e==null?void 0:e.isShowToolbar)!=null?u:!0,this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.actionSetting=(l=new La(e==null?void 0:e.actionSetting))!=null?l:new La,this.listHeightSetting=(r=new Na(e==null?void 0:e.listHeightSetting))!=null?r:new Na}}Si.Rules=Mw;class Ii extends k{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return o("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Ii.controlEventKeys=["on_list_rowclick"],Ii.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE,s.IS_SHOW_SIMPLE_SEARCH,s.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class $w extends U{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var Zo={Designer:Ii,Runtime:$w,Property:Si},Lw=Object.freeze({__proto__:null,Text:yo,Link:vo,Button:mo,Divider:To,Title:Ro,CreateFormListButton:xo,BatchSubmissionListButton:Po,SubmissionRecordListButton:ko,ExportListButton:Oo,ExportRecordListButton:Mo,ImportRecordListButton:$o,FormSelectButton:Lo,ListSelectButton:No,Pagination:Ho,Dashboard:qo,ListViewSelect:Wo,TextOcrButton:zo,InvoiceCheckButton:Ko,BatchPrintListButton:Go,BatchPrintRecordListButton:Xo,OperationButton:Qo,BatchDeleteButton:Jo,ReferenceList:Zo});class Nw extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue=[{type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},{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("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C"),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Vw extends ${constructor(e){super(e),this.push({type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Ft extends I{constructor(e){var n,i,u,a,l,r,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 vr(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:At.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(r=e==null?void 0:e.encrypted)!=null?r:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:""}}Ft.Rules=Nw,Ft.RuntimeRules=Vw;class At extends T{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}At.controlEventKeys=["on_change","on_input","on_focus","on_blur"],At.controlFieldType=b.VARCHAR,At.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 Yo extends R{constructor(e){super(e),this.props=new Ft(e==null?void 0:e.props)}static get controlType(){return"input"}}Yo.controlFieldType=b.VARCHAR;var po={Designer:At,Runtime:Yo,Property:Ft};class Hw extends ot{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:o("CMD.PleaseReselectTheOptionalQuantity",null,"\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class jw 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 I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("CMD.optionThird",null,"\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=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(r=e==null?void 0:e.limitMin)!=null?r:"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=(h=e==null?void 0:e.caption)!=null?h: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=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(B=e==null?void 0:e.openMultistageFilling)!=null?B:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var w;(w=this.multistageFilling)==null||w.push(new te(E))}))}}Kt.Rules=Hw,Kt.RuntimeRules=jw;class Gt extends T{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlName(){return o("CMD.checkBox",null,"\u591A\u9009")}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 ec extends R{constructor(e){super(e),this.props=new Kt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}ec.controlFieldType=b.ARRAY;var tc={Designer:Gt,Runtime:ec,Property:Kt};class qw extends ot{constructor(e){super(e)}}class Ti extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("CMD.optionThird",null,"\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=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(r=e==null?void 0:e.defaultShowOptions)!=null?r:!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=(h=e==null?void 0:e.caption)!=null?h:Xt.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(C=>{var B;(B=this.multistageFilling)==null||B.push(new te(C))}))}}Ti.Rules=qw;class Xt extends T{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return o("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=b.VARCHAR,Xt.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 nc extends R{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"radio"}}nc.controlFieldType=b.VARCHAR;var ic={Designer:Xt,Runtime:nc,Property:Ti};class Uw extends X{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:o("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")},{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("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=qt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class Ww 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(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:qt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Qt extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,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.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=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r: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=(h=e==null?void 0:e.unitPosition)!=null?h:"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=(C=e==null?void 0:e.placeholder)!=null?C:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new vr(e==null?void 0:e.regularRules)}}Qt.Rules=Uw,Qt.RuntimeRules=Ww;class Jt extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return o("CMD.number",null,"\u6570\u5B57")}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}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 uc extends R{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"number"}}uc.controlFieldType=b.DECIMAL;var ac={Designer:Jt,Runtime:uc,Property:Qt};class Xa extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.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=(l=e==null?void 0:e.caption)!=null?l:Ri.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(h=(c=e==null?void 0:e.limitDateList)==null?void 0:c.map(C=>new di(C)))!=null?h:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1}}class Ri extends T{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return o("CMD.timestamp",null,"\u65E5\u671F")}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ri.controlFieldType=b.TIMESTAMP,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 lc extends R{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}lc.controlFieldType=b.TIMESTAMP;var rc={Designer:Ri,Runtime:lc,Property:Xa};class zw 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 xi extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g;super(e),this.dataBind=new _E(e==null?void 0:e.dataBind),this.defaultValue=new BE(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.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=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:o("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(c=e==null?void 0:e.placeholderEnd)!=null?c:o("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(h=e==null?void 0:e.caption)!=null?h:Pi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(C=>new di(C)))!=null?g:[]}}xi.RuntimeRules=zw;class Pi extends T{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Pi.controlFieldType=b.TIMESCOPE,Pi.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 oc extends R{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}oc.controlFieldType=b.TIMESCOPE;var cc={Designer:Pi,Runtime:oc,Property:xi};class Kw extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Gw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class Zt extends I{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Yt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new rE(e==null?void 0:e.rowHeightSetting)}}Zt.Rules=Kw,Zt.RuntimeRules=Gw;class Yt extends T{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return o("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}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 sc extends R{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}sc.controlFieldType=b.TEXT;var dc={Designer:Yt,Runtime:sc,Property:Zt};class Xw extends X{constructor(e){super(e),this.maxLength={type:"number",min:0,message:o("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:o("CMD.TheMinimumLengthIsGreaterThanTheMaximumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6")},this.defaultValue={type:"string",max:200,min:0,message:o("CMD.stringRangeError",null,"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")}}class Qw extends ${constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:o("CMD.stringRangeError",{max:e.maxLength,min:e.minLength},"\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C")})}}class pt extends I{constructor(e){var n,i,u,a,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:en.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165")}}pt.Rules=Xw,pt.RuntimeRules=Qw;class en extends T{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlName(){return o("CMD.richText",null,"\u5BCC\u6587\u672C")}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 hc extends R{constructor(e){super(e),this.props=new pt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}hc.controlFieldType=b.TEXT;var fc={Designer:en,Runtime:hc,Property:pt};class Jw extends ot{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class ki extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("CMD.optionThird",null,"\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:Oi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",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 C;(C=this.multistageFilling)==null||C.push(new te(g))})),this.canViewForm=(h=e==null?void 0:e.canViewForm)!=null?h:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new lt(e==null?void 0:e.formBind)}}ki.Rules=Jw;class Oi extends T{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return o("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Oi.controlFieldType=b.VARCHAR,Oi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"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 yc extends R{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"select"}}yc.controlFieldType=b.VARCHAR;var vc={Designer:Oi,Runtime:yc,Property:ki};class Zw extends ot{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Yw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class tn extends I{constructor(e){var n,i,u,a,l,r,d,c,h;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[{label:o("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:o("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:o("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:o("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:o("CMD.optionThird",null,"\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:Mi.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new lt(e==null?void 0:e.formBind)}}tn.Rules=Zw,tn.RuntimeRules=Yw;class Mi extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return o("CMD.selectMultiple",null,"\u4E0B\u62C9\u591A\u9009")}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Mi.controlFieldType=b.ARRAY,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 mc extends R{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}mc.controlFieldType=b.ARRAY;var gc={Designer:Mi,Runtime:mc,Property:tn};class pw extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class $i extends I{constructor(e){var n,i,u,a,l,r,d,c,h;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=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Li.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(h=e==null?void 0:e.openMultistageFilling)!=null?h:!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))}))}}$i.RuntimeRules=pw;class Li extends T{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Li.controlFieldType=b.EMPLOYEES,Li.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 bc extends R{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"employee"}}bc.controlFieldType=b.EMPLOYEES;var Cc={Designer:Li,Runtime:bc,Property:$i};const e8=10485760,t8=104857600,n8=1048576e3;class i8 extends X{constructor(e){super(e),this.maxSize={type:"number",min:0,max:n8,message:o("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class u8 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("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class St extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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=(l=e==null?void 0:e.maxLimit)!=null?l:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:t8,this.caption=(c=e==null?void 0:e.caption)!=null?c:It.controlName,this.placeholder=(h=e==null?void 0:e.placeholder)!=null?h:o("CMD.uploadFile",null,"\u4E0A\u4F20\u9644\u4EF6"),this.isShowWatermark=(m=e==null?void 0:e.isShowWatermark)!=null?m:!1,this.watermarkFx=(g=e==null?void 0:e.watermarkFx)!=null?g:{},this.operation=(C=e==null?void 0:e.operation)!=null?C:["info","preview","download"]}}St.Rules=i8,St.RuntimeRules=u8;class It extends T{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlName(){return o("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}It.controlEventKeys=["on_change"],It.controlFieldType=b.FILE,It.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-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Qa extends R{constructor(e){super(e),this.props=new St(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Qa.controlFieldType=b.FILE;var Ec={Designer:It,Runtime:Qa,Property:St};const _c=class extends It{static get controlName(){return o("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:_c.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}};let Ja=_c;Ja.controlFieldType=b.IMAGE,Ja.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 a8 extends Qa{static get controlType(){return"image"}constructor(e){var n,i,u,a,l,r;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("CMD.image",null,"\u56FE\u7247"),this.props.placeholder=(r=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?r:o("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247")}}class l8 extends St{constructor(e){super(e)}}var Bc={Designer:Ja,Runtime:a8,Property:l8};class r8 extends ot{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:o("CMD.pleaseEnterNumberRange",null,"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}]}},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("CMD.pleaseEnterNumberRange",{max:n,min:i},"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C"),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:o("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class o8 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:[xl(ut({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:o(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},n===void 0?"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C":i===void 0?"\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C":"\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C")}],currency:{type:"string"}}})}}class nn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new CE(e==null?void 0:e.dataBind),this.datasourceBind=new Y((r=e==null?void 0:e.datasourceBind)!=null?r:{displayBoList:[new Ou({value:"name"})]}),this.defaultValue=new EE((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:Nu.CNY}),this.unitPosition=(c=e==null?void 0:e.unitPosition)!=null?c:"right",this.options=ge(e==null?void 0:e.options),this.caption=(h=e==null?void 0:e.caption)!=null?h:un.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(C=e==null?void 0:e.showUpperCase)!=null?C:!1}}nn.Rules=r8,nn.RuntimeRules=o8;class un extends T{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return o("CMD.amount",null,"\u91D1\u989D")}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}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 wc extends R{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"amount"}}wc.controlFieldType=b.MONEY;var Dc={Designer:un,Runtime:wc,Property:nn};class c8 extends X{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:o("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:o("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:o("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=o("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class s8 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("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class an extends I{constructor(e){var n,i,u,a,l,r,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:ka.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(l=(a=e==null?void 0:e.explain)==null?void 0:a.map(c=>new hi(c)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new hi),this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:ln.controlName}}an.Rules=c8,an.RuntimeRules=s8;class ln extends T{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlName(){return o("CMD.score",null,"\u8BC4\u5206")}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new hi);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=b.DECIMAL,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:"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 Fc extends R{constructor(e){super(e),this.props=new an(e==null?void 0:e.props)}static get controlType(){return"score"}}Fc.controlFieldType=b.DECIMAL;var Ac={Designer:ln,Runtime:Fc,Property:an};class d8 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("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:o("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:o("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Ni extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Vi.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 wE((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:o("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Ni.RuntimeRules=d8;class Vi extends T{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return o("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Vi.controlFieldType=b.ADDRESS,Vi.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 Sc extends R{constructor(e){super(e),this.props=new Ni(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"}}Sc.controlFieldType=b.ADDRESS;var Ic={Designer:Vi,Runtime:Sc,Property:Ni};class h8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Hi extends I{constructor(e){var n,i,u,a,l,r,d,c,h,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=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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=(h=e==null?void 0:e.caption)!=null?h:rn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.openMultistageFilling=(g=e==null?void 0:e.openMultistageFilling)!=null?g:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new te(C))}))}}Hi.RuntimeRules=h8;class rn extends T{constructor(e){super(e),this.props=new Hi(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}}rn.controlName=o("CMD.department",null,"\u90E8\u95E8"),rn.controlFieldType=b.DEPARTMENTS,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:"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 Tc extends R{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"department"}}Tc.controlFieldType=b.DEPARTMENTS;var Rc={Designer:rn,Runtime:Tc,Property:Hi};class Za extends I{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("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class on extends T{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return o("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}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 xc extends R{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}xc.controlFieldType=b.AUTO_NUMBER;var Pc={Designer:on,Runtime:xc,Property:Za};class f8 extends X{constructor(e){super(e),this.dataBind.fields.result.required=!1,this.dataBind.fields.result.fields.fieldCode.required=!1,this.dataBind.fields.result.fields.dataCode.required=!1,this.dataBind.fields.unit.required=!1,this.dataBind.fields.unit.fields.fieldCode.required=!1,this.dataBind.fields.unit.fields.dataCode.required=!1}}class y8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class cn extends I{constructor(e){var n,i,u,a,l,r,d,c,h;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 DE(e==null?void 0:e.dataBind),this.defaultValue=new FE(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:sn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:o("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(c=e==null?void 0:e.scriptSrc)!=null?c:"",this.calcOnMounted=(h=e==null?void 0:e.calcOnMounted)!=null?h:!1}}cn.Rules=f8,cn.RuntimeRules=y8;class sn extends T{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlName(){return o("CMD.calc",null,"\u8BA1\u7B97\u516C\u5F0F")}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}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 kc extends R{constructor(e){super(e),this.props=new cn(e==null?void 0:e.props)}static get controlType(){return"calc"}}kc.controlFieldType=b.CALC;var Oc={Designer:sn,Runtime:kc,Property:cn};class v8 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("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class ji extends I{constructor(e){var n,i,u,a,l,r;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("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:o("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(r=e==null?void 0:e.caption)!=null?r:qi.controlName}}ji.RuntimeRules=v8;class qi extends T{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlName(){return o("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}qi.controlFieldType=b.DECIMAL_RANGE,qi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"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 Mc extends R{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Mc.controlFieldType=b.DECIMAL_RANGE;var $c={Designer:qi,Runtime:Mc,Property:ji};class m8 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 Ui extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:De.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=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(r=e==null?void 0:e.rangeMin)!=null?r:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(c=e==null?void 0:e.placeholderStart)!=null?c:o("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(h=e==null?void 0:e.placeholderEnd)!=null?h:o("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:Wi.controlName,this.limitDateList=(C=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new di(B)))!=null?C:[]}}Ui.RuntimeRules=m8;class Wi extends T{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Wi.controlFieldType=b.ARRAY,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.IS_HIDE_CAPTION,s.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Lc extends R{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Lc.controlFieldType=b.ARRAY;var Nc={Designer:Wi,Runtime:Lc,Property:Ui};class g8 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class b8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class dn extends I{constructor(e){var n,i,u,a,l;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=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}dn.Rules=g8,dn.RuntimeRules=b8;class Tt extends T{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlName(){return o("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Tt.controlFieldType=b.ANY,Tt.controlEventKeys=[],Tt.slots=["grid-table-toolbar-slot",Nl.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 Vc extends R{constructor(e){super(e),this.props=new dn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Vc.controlFieldType=b.ANY;var Hc={Designer:Tt,Runtime:Vc,Property:dn};class C8 extends ot{constructor(e){super(e),this.listPageBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:o("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:o("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class zi extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g;super(e),this.options=ge((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Pu(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("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(r=e==null?void 0:e.openMultistageFilling)!=null?r:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var B;(B=this.multistageFilling)==null||B.push(new te(C))})),this.canViewForm=(c=e==null?void 0:e.canViewForm)!=null?c:!1,this.viewFormModelType=(h=e==null?void 0:e.viewFormModelType)!=null?h:"window",this.formBind=new lt(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}}zi.Rules=C8;class hn extends T{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlName(){return o("CMD.selectRelation",null,"\u5173\u8054\u5355\u9009")}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{optionDisplayConfig:i}=this.props;n.props.optionDisplayConfig=i}return n}}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 jc extends R{constructor(e){super(e),this.props=new zi(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}jc.controlFieldType=b.VARCHAR;var qc={Designer:hn,Runtime:jc,Property:zi};class Ya extends Ft{constructor(e){super(e)}}class Uc extends At{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return o("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}Uc.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 Wc extends R{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"search-input"}}Wc.controlFieldType=b.VARCHAR;var zc={Designer:Uc,Runtime:Wc,Property:Ya};class E8 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],jn.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:o("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class _8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class fn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w,v,_,S,x;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(r=e==null?void 0:e.optionalLevel)!=null?r: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=(h=e==null?void 0:e.isShowIncludeSub)!=null?h:!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=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new dr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new dr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(w=e==null?void 0:e.openMultistageFilling)!=null?w:!1,this.defaultDisplay=(v=e==null?void 0:e.defaultDisplay)!=null?v:!1,this.multistageFilling=(S=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(O=>new te(O)))!=null?S:[],this.defaultValue=(x=e==null?void 0:e.defaultValue)!=null?x:[]}}fn.Rules=E8,fn.RuntimeRules=_8;class Me extends T{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return o("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Me.controlEventKeys=["on_change","on_click"],Me.controlFieldType=b.ARRAY,Me.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 Kc extends R{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"tree"}}Kc.controlFieldType=b.ARRAY;var Gc={Designer:Me,Runtime:Kc,Property:fn};class B8 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},jn.call(this,e,Ne.controlCustomAttributes),e.externalType===Oe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:o("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class w8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Ne.controlName,this.placeholder=(c=e==null?void 0:e.placeholder)!=null?c:o("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Ln((h=e==null?void 0:e.datasourceBind)!=null?h:{attributes:Ne.controlCustomAttributes}),this.datasourceType=(m=e==null?void 0:e.datasourceType)!=null?m:Va.INTERNAL,this.insideType=(g=e==null?void 0:e.insideType)!=null?g:Ha.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Oe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.mainDeptFlag=(w=e==null?void 0:e.mainDeptFlag)!=null?w:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var _;(_=this.multistageFilling)==null||_.push(new te(v))}))}}yn.Rules=B8,yn.RuntimeRules=w8;class Ne extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return o("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ne.controlFieldType=b.EMPLOYEES,Ne.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],Ne.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION,s.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[s.REQUIRED,s.IS_HIDE,s.MULTIPLE,s.IS_SHOW_CAPTION_TIP,s.MAIN_DEPT_FLAG]},{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 Xc extends R{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}Xc.controlFieldType=b.EMPLOYEES;var Qc={Designer:Ne,Runtime:Xc,Property:yn};class D8 extends X{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:o("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectOnlyOne",null,"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA"),fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:o("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&kn(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}r()}},indexSignature:{type:"object",required:!0,validator(a,l,r){if((i==null?void 0:i.signaturePosition)==="index"&&kn(l.value)&&l.value.length===0){r(o("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}r()}},company:{type:"object",required:!0,validator(a,l,r){if(i.type==="public"&&i.signatureType.includes("company")&&kn(l.value)&&l.value.length===0){r(o("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}r()}}}},n),{})}}}}}class Ki extends I{constructor(e){var n,i,u,a,l,r;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("CMD.signature",null,"\u53D1\u8D77\u7B7E\u7F72"),this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(l=e==null?void 0:e.color)!=null?l:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.signatureConfig=new Co(e==null?void 0:e.signatureConfig)}}Ki.Rules=D8;class vn extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return o("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}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 Jc extends R{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}Jc.controlFieldType=b.VARCHAR;var Zc={Designer:vn,Runtime:Jc,Property:Ki};class F8 extends X{constructor(e){super(e),this.content={type:"string",required:!0,message:o("CMD.pleaseEnterButtonContent",null,"\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(o("CMD.pleaseEnterFileName",null,"\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(o("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class A8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class mn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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("CMD.createWPS",null,"\u65B0\u5EFA\u6587\u6863"),this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(r=e==null?void 0:e.canEdit)!=null?r:!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=(h=e==null?void 0:e.canDelete)!=null?h:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:e8,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Eo(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}mn.Rules=F8,mn.RuntimeRules=A8;class gn extends T{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return o("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}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 Yc extends R{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"wps"}}Yc.controlFieldType=b.FILE;var pc={Designer:gn,Runtime:Yc,Property:mn};class S8 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,Ve.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class I8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w;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=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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=(h=e==null?void 0:e.caption)!=null?h:Ve.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Ln((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Ve.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:fi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Oe.ALL,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(v=>{var _;(_=this.multistageFilling)==null||_.push(new te(v))}))}}bn.Rules=S8,bn.RuntimeRules=I8;class Ve extends T{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}}Ve.controlName=o("CMD.department",null,"\u90E8\u95E8"),Ve.controlFieldType=b.DEPARTMENTS,Ve.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 es extends R{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"department2"}}es.controlFieldType=b.DEPARTMENTS;var ts={Designer:Ve,Runtime:es,Property:bn};class T8 extends X{constructor(e){super(e),this.datasourceBind=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,Rt.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:o("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class R8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class Cn extends I{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w,v,_,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.listPageBind=new Pu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:[],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=(h=e==null?void 0:e.caption)!=null?h:Rt.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:o("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new gE((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Rt.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:fi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Oe.ALL,this.organizingFunction=(w=e==null?void 0:e.organizingFunction)!=null?w:void 0,this.organizationView=(v=e==null?void 0:e.organizationView)!=null?v:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new $u(e==null?void 0:e.selectedContentConfig),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(x=>{var O;(O=this.multistageFilling)==null||O.push(new te(x))}))}}Cn.Rules=T8,Cn.RuntimeRules=R8;class Rt extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return o("CMD.organizationSelection",null,"\u4E1A\u52A1\u7EC4\u7EC7")}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 ns extends R{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}ns.controlFieldType=b.DEPARTMENTS;var is={Designer:Rt,Runtime:ns,Property:Cn};class x8 extends X{constructor(e){super(e),this.dataBind={type:"any"}}}class P8 extends ${constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class En extends I{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_n.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=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}En.Rules=x8,En.RuntimeRules=P8;class _n extends T{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlName(){return o("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return F.VUE_PAGE}}_n.controlFieldType=b.ANY,_n.controlEventKeys=[],_n.setting=[];class us extends R{constructor(e){super(e),this.props=new En(e==null?void 0:e.props)}static get controlType(){return F.VUE_PAGE}}us.controlFieldType=b.ANY;var as={Designer:_n,Runtime:us,Property:En},k8=Object.freeze({__proto__:null,Input:po,Checkbox:tc,Radio:ic,Number:ac,DatePicker:rc,DateRange:cc,Textarea:dc,RichText:fc,Select:vc,SelectMultiple:gc,Employee:Cc,Image:Bc,Attachment:Ec,Amount:Dc,Score:Ac,Address:Ic,Department:Rc,AutoNumber:Pc,Calc:Oc,SearchNumberRange:$c,SearchDateRange:Nc,VueFormItem:Hc,SelectRelation:qc,SearchInput:zc,Tree:Gc,Employee2:Qc,ElectronicSignature:Zc,WPS:pc,Department2:ts,OrganizationSelection:is,VuePage:as});class ls extends H{static get controlName(){return o("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}ls.excludes=[F.GRID];class O8 extends W{static get controlType(){return"grid"}constructor(e){super(e)}}var rs={Designer:ls,Runtime:O8,Property:N};const M8=24;class He extends N{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:M8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class Bn extends H{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlName(){return o("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}Bn.excludes=[F.COL,F.SUBTABLE,F.SUBTABLE_COLUMN,F.GRID_LAYOUT_CONTAINER,F.DIVIDER],Bn.childrenMaxLength=1;class pa extends W{constructor(e){super(e),this.props=new He(e==null?void 0:e.props)}static get controlType(){return"col"}}var os={Designer:Bn,Runtime:pa,Property:He};class Gi 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 Xi extends H{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return o("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Xi.excludes=[F.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class cs extends W{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"row"}}var ss={Designer:Xi,Runtime:cs,Property:Gi};const $8=4;class Qi extends Xi{static get controlName(){return o("CMD.gridRow",null,"\u6805\u683C\u7B49\u5206\u884C")}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Qi.excludes=[F.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=$8;class L8 extends cs{static get controlType(){return"grid-row"}constructor(e){super(e)}}class N8 extends Gi{constructor(e){super(e)}}var ds={Designer:Qi,Runtime:L8,Property:N8};class V8 extends N.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Ji extends N{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:o("CMD.cardGroup",null,"\u5206\u7EC4"),this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}Ji.Rules=V8;class el extends H{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return o("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}el.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}],el.excludes=[F.CARD_GROUP];class H8 extends W{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var hs={Designer:el,Runtime:H8,Property:Ji};class j8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:o("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zi extends N{constructor(e){var n,i,u,a,l;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=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new oE(e==null?void 0:e.metaAutoWidth)}}Zi.Rules=j8;class se extends H{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}se.controlName=o("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),se.controlType="subtable-column",se.controlIcon="subtable-column",se.childrenMaxLength=1,se.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT,F.GRID_LAYOUT_CONTAINER],se.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",showItems:[s.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class fs extends W{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}fs.controlType="subtable-column";var ys={Designer:se,Runtime:fs,Property:Zi};class tl extends N{constructor(e){super(e)}}class je extends H{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}}je.controlName=o("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),je.controlType="subtable-row",je.controlIcon="subtable-row",je.childrenMaxLength=1,je.excludes=[F.SUBTABLE,F.SUBTABLE_COLUMN,F.SUBTABLE_ROW,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],je.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0}];class q8 extends W{constructor(e){super(e),this.props=new tl(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var vs={Designer:je,Runtime:q8,Property:tl};class nl extends N{constructor(e){var n,i,u,a,l,r,d,c,h,m;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:b.VARCHAR,this.fieldName=(r=e==null?void 0:e.fieldName)!=null?r:"",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=(h=e==null?void 0:e.timestampDateType)!=null?h:De.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class qe extends H{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}qe.controlName="\u5217\u8868\u5355\u5143\u683C",qe.controlType="gridtable-column",qe.controlIcon="gridtable-column",qe.childrenMaxLength=1,qe.excludes=[F.GRID_TABLE,F.GRID_TABLE_COLUMN,F.ROW,F.COL,F.CARD_GROUP,F.DIVIDER,F.TEXT],qe.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class ms extends W{constructor(e){super(e),this.props=new nl(e==null?void 0:e.props)}}ms.controlType="gridtable-column";var gs={Designer:qe,Runtime:ms,Property:nl};class il 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 ul extends H{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ul.excludes=[F.GRID_LAYOUT_CONTAINER,F.CARD_GROUP,F.TAB],ul.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class U8 extends W{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var bs={Designer:ul,Runtime:U8,Property:il};class al extends N{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class W8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Yi extends N{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Dn.controlName}}Yi.Rules=W8;class wn extends H{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlName(){return o("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}wn.excludes=[F.TAB],wn.setting=[{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[s.IS_HIDE]},{key:"super-setting",visible:!0}];class z8 extends W{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Cs={Designer:wn,Runtime:z8,Property:Yi};class Dn extends H{constructor(e){var n;super(e),this.props=new al(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new wn,new wn]}static get controlName(){return o("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Dn.excludes=[F.TAB],Dn.controlEventKeys=["on_change_tab"],Dn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class K8 extends W{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Es={Designer:Dn,Runtime:K8,Property:al};class _s extends N{constructor(e){super(e)}}class Bs extends H{constructor(e){super(e),this.props=new _s({}),this.children=(e==null?void 0:e.children)||[new Bn({props:new He({span:12})}),new Bn({props:new He({span:12})})]}static get controlName(){return o("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}Bs.excludes=[F.GRID_ROW,F.ROW,F.GRID,F.SUBTABLE,F.TAB,F.TOOLBOX];class G8 extends W{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new pa({props:new He({span:12})}),new pa({props:new He({span:12})})]}}var ws={Designer:Bs,Runtime:G8,Property:_s};class X8 extends Le{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Q8 extends j{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("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:o("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:o("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:o("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:o("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:o("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:o("CMD.pleaseSelectMainFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5")}}}}]}}]),Yu.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 Fn extends N{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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 fE(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new vE(e==null?void 0:e.joinRelation),this.showType=(r=e==null?void 0:e.showType)!=null?r:"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=(h=e==null?void 0:e.isFixedHeader)!=null?h:!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=(C=e==null?void 0:e.countLimit)!=null?C:1e5,this.rowStyle=new xE(e==null?void 0:e.rowStyle)}}Fn.Rules=Q8,Fn.RuntimeRules=X8;class An extends H{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlName(){return o("CMD.listView",null,"\u5217\u8868\u5BB9\u5668")}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}An.slotPosition={left:"list-view-left-slot"},An.excludes=[F.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 J8 extends W{constructor(e){super(e),this.props=new Fn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ds={Designer:An,Runtime:J8,Property:Fn};class Z8 extends Le{constructor(e){super(e),this.push({type:"object",fields:{}})}}class pi extends N{constructor(e){var n,i,u,a,l,r;super(e),this.save=new Se((n=e==null?void 0:e.save)!=null?n:{content:o("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Se((i=e==null?void 0:e.cancel)!=null?i:{content:o("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Se((u=e==null?void 0:e.saveAs)!=null?u:{content:o("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Se((a=e==null?void 0:e.print)!=null?a:{content:o("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(d=>new Se(d)),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind)}}pi.RuntimeRules=Z8;class Fs extends H{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return o("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}Fs.excludes=[];class Y8 extends W{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var As={Designer:Fs,Runtime:Y8,Property:pi};class p8 extends H{static get controlName(){return o("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class eD extends W{static get controlType(){return"page"}constructor(e){super(e)}}class tD 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 Ss={Designer:p8,Runtime:eD,Property:tD};class nD extends H{static get controlName(){return o("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class iD extends W{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class uD extends N{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new Ao(e==null?void 0:e.flexConfig)}}var Is={Designer:nD,Runtime:iD,Property:uD};class aD extends H{static get controlName(){return o("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class lD extends W{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class rD extends N{constructor(e){super(e)}}var Ts={Designer:aD,Runtime:lD,Property:rD};class oD extends H{static get controlName(){return o("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class cD extends W{static get controlType(){return"position"}constructor(e){super(e)}}class sD 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 Rs={Designer:oD,Runtime:cD,Property:sD};class ll 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 eu extends H{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return o("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}eu.slotPosition={default:"action-bar-slot"},eu.excludes=[],eu.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 dD extends W{constructor(e){var n;super(e),this.props=new ll((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var xs={Designer:eu,Runtime:dD,Property:ll},hD=Object.freeze({__proto__:null,Grid:rs,Col:os,Row:ss,GridRow:ds,CardGroup:hs,SubTableColumn:ys,SubTableRow:vs,GridTableColumn:gs,GridLayoutContainer:bs,Tab:Es,TabPane:Cs,Toolbox:ws,ListView:Ds,DataView:As,Page:Ss,AdvancedContainer:Is,PositioningContainer:Ts,Position:Rs,ActionBar:xs});class fD extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:o("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:o("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:o("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:o("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:o("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:o("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:o("CMD.pleaseEnterRowCaption",null,"\u8BF7\u8F93\u5165\u884C\u6807\u9898")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class yD extends Le{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:o("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:o("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Ps=class extends Yn{constructor(t,e){var n,i,u,a,l,r,d,c,h,m,g,C,B,E,w,v,_,S,x,O,ae,M,le,Tn,Be,fu,Rn,xt,we,id,ud,ad,ld;super(t,e,Ps.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:In.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=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(r=e==null?void 0:e.formKey)!=null?r:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(c=e==null?void 0:e.maxHeight)!=null?c:Do,this.printMode=(h=e==null?void 0:e.printMode)!=null?h:"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=(C=e==null?void 0:e.defaultRows)!=null?C:1,this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(E=e==null?void 0:e.canDelete)!=null?E:!0,this.canCheck=(w=e==null?void 0:e.canCheck)!=null?w:!1,this.canEdit=(v=e==null?void 0:e.canEdit)!=null?v:!1,this.canImport=(_=e==null?void 0:e.canImport)!=null?_:!1,this.canExport=(S=e==null?void 0:e.canExport)!=null?S:!1,this.canClear=(x=e==null?void 0:e.canClear)!=null?x:!0,this.serverPagination=(O=e==null?void 0:e.serverPagination)!=null?O:!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=(le=e==null?void 0:e.mobileShowType)!=null?le:"list",this.mobileDefaultNum=(Tn=e==null?void 0:e.mobileDefaultNum)!=null?Tn:10,this.dataStorageDoc=(Be=e==null?void 0:e.dataStorageDoc)!=null?Be:new cE,this.fixedColumn=(fu=e==null?void 0:e.fixedColumn)!=null?fu:[],this.mobileRowCaption=(Rn=e==null?void 0:e.mobileRowCaption)!=null?Rn:o("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(xt=e==null?void 0:e.mobileIsTile)!=null?xt:!1,this.isPaste=(we=e==null?void 0:e.isPaste)!=null?we:!1,this.pageSize=(id=e==null?void 0:e.pageSize)!=null?id:10,this.pageSizeOptions=(ud=e==null?void 0:e.pageSizeOptions)!=null?ud:[10,20,50,100],this.importConfig=new Bo(e==null?void 0:e.importConfig),this.exportConfig=new wo(e==null?void 0:e.exportConfig),this.sortable=(ad=e==null?void 0:e.sortable)!=null?ad:!1,this.sortKey=(ld=e==null?void 0:e.sortKey)!=null?ld:{}}};let Sn=Ps;Sn.Rules=fD,Sn.RuntimeRules=yD;class In extends da{constructor(e){var n;super(e),this.props=new Sn(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("CMD.subTable",null,"\u660E\u7EC6\u5B50\u8868")}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new se,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}In.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],In.slotPosition={toolbar:"subtable-toolbar-slot"},In.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 vD extends Zr{constructor(e){super(e),this.props=new Sn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){$t("Method not implemented.")}getChildrenFormControl(){return[]}}var ks={Designer:In,Runtime:vD,Property:Sn};class rl extends Yn{constructor(e,n){var i,u,a,l,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0,this.pageSizeOptions=(r=n==null?void 0:n.pageSizeOptions)!=null?r:[10,20,50,100,500]}}class mD extends Ce{constructor(e){super(e),this.caption.required=!1}}class tu extends z{constructor(e){var n,i,u,a,l,r,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:Ue.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(l=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?l:60,this.autoWidth.flex=(d=(r=e==null?void 0:e.autoWidth)==null?void 0:r.flex)!=null?d:.4,this.widthType=(c=e==null?void 0:e.widthType)!=null?c:"px"}}tu.Rules=mD;class Ue extends J{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}Ue.controlType="order-column",Ue.controlName=o("CMD.order",null,"\u5E8F\u53F7"),Ue.controlIcon="order-column",Ue.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class ol extends Z{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}ol.controlType="order-column",ol.controlFieldType=b.DECIMAL;var Os={Designer:Ue,Runtime:ol,Property:tu};class cl extends z{constructor(e){var n,i,u,a,l,r;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:Ee.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(r=e==null?void 0:e.limit)!=null?r:3}}class Ee extends J{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ai.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return kl(this,null,function*(){return yield Pl(Ee.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ee.controlType="operation-column",Ee.controlName=o("CMD.operation",null,"\u64CD\u4F5C"),Ee.controlIcon="operation-column",Ee.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},{key:"super-setting",visible:!0}];class sl extends Z{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}}sl.controlType="operation-column",sl.controlFieldType=b.FILE;var Ms={Designer:Ee,Runtime:sl,Property:cl};const gD=1e4;class We extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new rl(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 Ue,new Ee]),this.excludes=re(n),this.childrenMaxLength=i}static get controlName(){return o("CMD.gridTable",null,"\u8868\u683C")}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return xl(ut({},e),{children:n})}validate(e,n){return kl(this,null,function*(){return yield Pl(We.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}We.slotPosition={toolbar:"grid-table-toolbar-slot"},We.setting=[{key:"list-fixed-header",visible:!0}],We.excludes=[],We.childrenMaxLength=gD;class bD extends Zr{constructor(e){super(e),this.props=new rl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){$t("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var $s={Designer:We,Runtime:bD,Property:rl},CD=Object.freeze({__proto__:null,SubTable:ks,GridTable:$s});class ED extends ba{constructor(e){super(e),Pe.call(this,e)}}class nu extends z{constructor(e){var n,i,u,a,l,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=ge((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(r=e==null?void 0:e.dictionaryTagConfig)!=null?r:{isTag:!1}}}nu.Rules=ED;class ze extends J{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ze.controlType="varchar-column",ze.controlName=o("CMD.varchar",null,"\u77ED\u6587\u672C"),ze.controlIcon="varchar-column",ze.controlFieldType=b.VARCHAR,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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},{key:"super-setting",visible:!0}];class dl extends Z{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}dl.controlType="varchar-column",dl.controlFieldType=b.VARCHAR;var Ls={Designer:ze,Runtime:dl,Property:nu};class _D extends Ce{constructor(e){super(e),Pe.call(this,e)}}class iu extends z{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:Ke.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 me(e==null?void 0:e.linkOperationOption)}}iu.Rules=_D;class Ke 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{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ke.controlType="text-column",Ke.controlName=o("CMD.long",null,"\u957F\u6587\u672C"),Ke.controlIcon="text-column",Ke.controlFieldType=b.TEXT,Ke.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},{key:"super-setting",visible:!0}];class hl extends Z{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}hl.controlType="text-column",hl.controlFieldType=b.TEXT;var Ns={Designer:Ke,Runtime:hl,Property:iu};class BD extends ba{constructor(e){super(e),Pe.call(this,e)}}class uu extends z{constructor(e){var n,i,u,a,l,r,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.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=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.options=ge((r=e==null?void 0:e.options)!=null?r:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}uu.Rules=BD;class Ge extends J{constructor(e){super(e),this.props=new uu(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}}Ge.controlType="decimal-column",Ge.controlName=o("CMD.decimal",null,"\u6570\u503C"),Ge.controlIcon="decimal-column",Ge.controlFieldType=b.DECIMAL,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-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},{key:"super-setting",visible:!0}];class fl extends Z{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}fl.controlType="decimal-column",fl.controlFieldType=b.DECIMAL;var Vs={Designer:Ge,Runtime:fl,Property:uu};class wD extends Ce{constructor(e){super(e),Pe.call(this,e)}}class au extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Xe.controlName}}au.Rules=wD;class Xe extends J{constructor(e){super(e),this.props=new au(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}}Xe.controlType="timescope-column",Xe.controlName=o("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Xe.controlIcon="timescope-column",Xe.controlFieldType=b.TIMESCOPE,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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class yl extends Z{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}yl.controlType="timescope-column",yl.controlFieldType=b.TIMESCOPE;var Hs={Designer:Xe,Runtime:yl,Property:au};class DD extends Ce{constructor(e){super(e),Pe.call(this,e)}}class lu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:De.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Qe.controlName}}lu.Rules=DD;class Qe extends J{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}Qe.controlType="timestamp-column",Qe.controlName=o("CMD.timestamp",null,"\u65E5\u671F"),Qe.controlIcon="timestamp-column",Qe.controlFieldType=b.TIMESTAMP,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-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class vl extends Z{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}vl.controlType="timestamp-column",vl.controlFieldType=b.TIMESTAMP;var js={Designer:Qe,Runtime:vl,Property:lu};class FD extends ba{constructor(e){super(e),Pe.call(this,e)}}class ru extends z{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Y(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.options=ge((a=e==null?void 0:e.options)!=null?a:[{}])}}ru.Rules=FD;class Je extends J{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Je.controlType="array-column",Je.controlName=o("CMD.array",null,"\u6570\u7EC4"),Je.controlIcon="array-column",Je.controlFieldType=b.ARRAY,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-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class ml extends Z{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}ml.controlType="array-column",ml.controlFieldType=b.ARRAY;var qs={Designer:Je,Runtime:ml,Property:ru};class gl extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Ze extends J{constructor(e){super(e),this.props=new gl(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}}Ze.controlType="department-column",Ze.controlName=o("CMD.department",null,"\u90E8\u95E8"),Ze.controlIcon="department-column",Ze.controlFieldType=b.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class bl extends Z{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}}bl.controlType="department-column",bl.controlFieldType=b.DEPARTMENTS;var Us={Designer:Ze,Runtime:bl,Property:gl};class AD extends Ce{constructor(e){super(e),Pe.call(this,e)}}class ou extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}ou.Rules=AD;class Ye extends J{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Ye.controlType="auto-number-column",Ye.controlName=o("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Ye.controlIcon="auto-number-column",Ye.controlFieldType=b.AUTO_NUMBER,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-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Cl extends Z{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Cl.controlType="auto-number-column",Cl.controlFieldType=b.AUTO_NUMBER;var Ws={Designer:Ye,Runtime:Cl,Property:ou};class El extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class pe extends J{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}pe.controlType="file-column",pe.controlName=o("CMD.file",null,"\u9644\u4EF6"),pe.controlIcon="file-column",pe.controlFieldType=b.FILE,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:"attachment-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class _l extends Z{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}_l.controlType="file-column",_l.controlFieldType=b.FILE;var zs={Designer:pe,Runtime:_l,Property:El};class Bl extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName}}class et extends J{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}et.controlType="image-column",et.controlName=o("CMD.image",null,"\u56FE\u7247"),et.controlIcon="image-column",et.controlFieldType=b.IMAGE,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-sort",visible:!0},{key:"super-setting",visible:!0}];class wl extends Z{constructor(e){super(e),this.props=new Bl(e==null?void 0:e.props)}}wl.controlType="image-column",wl.controlFieldType=b.IMAGE;var Ks={Designer:et,Runtime:wl,Property:Bl};class Dl extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName}}class tt extends J{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}tt.controlType="people-column",tt.controlName=o("CMD.people",null,"\u4EBA\u5458"),tt.controlIcon="people-column",tt.controlFieldType=b.EMPLOYEES,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Fl extends Z{constructor(e){super(e),this.props=new Dl(e==null?void 0:e.props)}}Fl.controlType="people-column",Fl.controlFieldType=b.EMPLOYEES;var Gs={Designer:tt,Runtime:Fl,Property:Dl};class SD extends Ce{constructor(e){super(e),Pe.call(this,e)}}class cu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption)}}cu.Rules=SD;class nt extends J{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}nt.controlType="location-column",nt.controlName=o("CMD.location",null,"\u5730\u5740"),nt.controlIcon="location-column",nt.controlFieldType=b.ADDRESS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Al extends Z{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Al.controlType="location-column",Al.controlFieldType=b.ADDRESS;var Xs={Designer:nt,Runtime:Al,Property:cu};class ID extends Ce{constructor(e){super(e),this.sortFieldCode={type:"string",message:o("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class su extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:_e.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[],this.sortFieldCode=(u=e==null?void 0:e.sortFieldCode)!=null?u:""}}su.Rules=ID;const TD=1;class _e extends J{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new su(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=re(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}}_e.controlType="custom-column",_e.controlName=o("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=TD,_e.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},{key:"super-setting",visible:!0}];class Qs extends Z{constructor(e){super(e),this.props=new su(e==null?void 0:e.props),he(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}Qs.controlType="custom-column";var Js={Designer:_e,Runtime:Qs,Property:su};class Sl extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:$e.controlName,this.datasourceBind=new Ln((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:$e.controlCustomAttributes})}}class $e extends J{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}$e.controlType="employee-column",$e.controlName=o("CMD.employee",null,"\u4EBA\u5458"),$e.controlIcon="employee-column",$e.controlFieldType=b.EMPLOYEES,$e.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[s.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Il extends Z{constructor(e){super(e),this.props=new Sl(e==null?void 0:e.props)}}Il.controlType="employee-column",Il.controlFieldType=b.EMPLOYEES;var Zs={Designer:$e,Runtime:Il,Property:Sl};class Tl extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new me(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class it extends J{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}it.controlType="approval-status-column",it.controlName=o("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),it.controlIcon="approval-status-column",it.excludes=[],it.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},{key:"super-setting",visible:!0}];class Ys extends Z{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}Ys.controlType="approval-status-column";var ps={Designer:it,Runtime:Ys,Property:Tl},RD=Object.freeze({__proto__:null,VarcharColumn:Ls,TextColumn:Ns,DecimalColumn:Vs,TimescopeColumn:Hs,TimestampColumn:js,ArrayColumn:qs,DepartmentColumn:Us,AutoNumberColumn:Ws,FileColumn:zs,ImageColumn:Ks,PeopleColumn:Gs,LocationColumn:Xs,CustomColumn:Js,OrderColumn:Os,OperationColumn:Ms,EmployeeColumn:Zs,ApprovalStatusColumn:ps});class xD extends Le{constructor(e){super(e),this.push({type:"object",fields:{}})}}class du extends wa{constructor(e){var n,i,u,a,l,r,d,c,h,m,g,C;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 Se((a=e==null?void 0:e.search)!=null?a:{content:o("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Se((l=e==null?void 0:e.cancel)!=null?l:{content:o("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(B=>new Se(B)),this.queryTypeMap=(c=e==null?void 0:e.queryTypeMap)!=null?c:[],this.childMinWidth=(h=e==null?void 0:e.childMinWidth)!=null?h: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=(C=e==null?void 0:e.simpleConfig)!=null?C:[]}}du.RuntimeRules=xD;class hu extends AB{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}hu.controlType="simple-search",hu.slotPosition={default:"search"},hu.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 ed extends kB{constructor(e){var n;super(e),this.props=new du(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}ed.controlType="simple-search";var td={Designer:hu,Runtime:ed,Property:du},PD=Object.freeze({__proto__:null,SimpleSearch:td});class Rl extends Sa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class kD extends KB{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlName(){return o("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class OD extends pB{constructor(e){super(e),this.props=new Rl(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function WD(t){return t}var MD={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:o("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},nd={Designer:kD,Runtime:OD,Property:Rl,Setting:MD},$D=Object.freeze({__proto__:null,GridLayoutWrap:nd});y.ActionBar=xs,y.ActionSetting=La,y.Address=Ic,y.AdvancedContainer=Is,y.Amount=Dc,y.ApprovalStatusColumn=ps,y.ArrayColumn=qs,y.AssignType=Oe,y.Attachment=Ec,y.AutoNumber=Pc,y.AutoNumberColumn=Ws,y.BatchDeleteButton=Jo,y.BatchPrintListButton=Go,y.BatchPrintRecordListButton=Xo,y.BatchSubmissionListButton=Po,y.Button=mo,y.Calc=Oc,y.CardGroup=hs,y.Checkbox=tc,y.Col=os,y.CreateFormListButton=xo,y.CustomColumn=Js,y.DATE_CONFIG_TYPE=go,y.DATE_LIMIT_TYPE=bo,y.Dashboard=qo,y.DataView=As,y.DatePicker=rc,y.DateRange=cc,y.DecimalColumn=Vs,y.Department=Rc,y.Department2=ts,y.DepartmentColumn=Us,y.DepartmentType=fi,y.Divider=To,y.ElectronicSignature=Zc,y.ElectronicSignatureConfig=Co,y.Employee=Cc,y.Employee2=Qc,y.EmployeeColumn=Zs,y.EncryptTypeEnum=So,y.Explain=hi,y.ExportConfig=wo,y.ExportListButton=Oo,y.ExportRecordListButton=Mo,y.ExportTemplate=jt,y.FileColumn=zs,y.FlexStyleConfig=Ao,y.FormSelectButton=Lo,y.Grid=rs,y.GridLayoutContainer=bs,y.GridLayoutWrap=nd,y.GridRow=ds,y.GridTable=$s,y.GridTableColumn=gs,y.Image=Bc,y.ImageColumn=Ks,y.ImportConfig=Bo,y.ImportListBind=_o,y.ImportRecordListButton=$o,y.Input=po,y.InternalType=Ha,y.InvoiceCheckButton=Ko,y.LINE_STYLE=Oa,y.LimitDate=di,y.Link=vo,y.ListHeightSetting=Na,y.ListSelectButton=No,y.ListView=Ds,y.ListViewSelect=Wo,y.LocationColumn=Xs,y.Number=ac,y.OperationButton=Qo,y.OperationColumn=Ms,y.OrderColumn=Os,y.OrganizationSelection=is,y.OrganizeType=Va,y.Page=Ss,y.Pagination=Ho,y.PeopleColumn=Gs,y.Position=Rs,y.PositioningContainer=Ts,y.PrintTemplate=Fo,y.Radio=ic,y.ReferenceList=Zo,y.RichText=fc,y.Row=ss,y.SCORE_TYPE=ka,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Do,y.Score=Ac,y.SearchDateRange=Nc,y.SearchInput=zc,y.SearchNumberRange=$c,y.Select=vc,y.SelectMultiple=gc,y.SelectRelation=qc,y.SimpleSearch=td,y.SubTable=ks,y.SubTableColumn=ys,y.SubTableRow=vs,y.SubmissionRecordListButton=ko,y.Tab=Es,y.TabPane=Cs,y.Text=yo,y.TextColumn=Ns,y.TextOcrButton=zo,y.Textarea=dc,y.TimescopeColumn=Hs,y.TimestampColumn=js,y.Title=Ro,y.TitleConfigEnum=ke,y.Toolbox=ws,y.Tree=Gc,y.UndersignedPerson=Ma,y.VarcharColumn=Ls,y.VueFormItem=Hc,y.VuePage=as,y.WPS=pc,y.WPSSetting=Eo,y.WpsOperationItem=$a,y.baseControls=Lw,y.columnControls=RD,y.formControls=k8,y.initExpression=qt,y.layoutControls=hD,y.listControls=CD,y.searchControls=PD,y.wrapControls=$D,Object.defineProperty(y,"__esModule",{value:!0})});
|