@byteluck-fe/model-driven-controls 6.2.0-1-beta.12 → 6.2.0-1-beta.13
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/baseControls/Text/property.js +4 -4
- 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/Checkbox/property.js +4 -4
- 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/DisplayText/designer.js +1 -1
- package/dist/esm/formControls/DisplayText/property.js +4 -4
- package/dist/esm/formControls/Employee/property.js +2 -2
- package/dist/esm/formControls/Employee2/property.js +4 -3
- package/dist/esm/formControls/Image/designer.js +6 -6
- package/dist/esm/formControls/Image/property.js +12 -9
- package/dist/esm/formControls/Input/property.js +30 -30
- package/dist/esm/formControls/Number/property.js +50 -50
- package/dist/esm/formControls/OrganizationSelection/property.js +25 -25
- package/dist/esm/formControls/Radio/property.js +4 -4
- package/dist/esm/formControls/RichText/property.js +12 -12
- package/dist/esm/formControls/Select/property.js +16 -16
- package/dist/esm/formControls/SelectMultiple/property.js +16 -16
- package/dist/esm/formControls/SelectRelation/property.js +45 -45
- package/dist/esm/formControls/Textarea/property.js +31 -31
- package/dist/esm/formControls/WPS/designer.js +7 -7
- package/dist/esm/framework.js +72 -67
- 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 +68 -68
- 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 +26 -26
- 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 +18 -18
- 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 +32 -32
- 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 +32 -32
- 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 +42 -42
- 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 +36 -36
- 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 +17 -17
- 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 +81 -81
- 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/DisplayText/designer.d.ts +12 -12
- package/dist/types/formControls/DisplayText/index.d.ts +12 -12
- package/dist/types/formControls/DisplayText/property.d.ts +18 -18
- package/dist/types/formControls/DisplayText/runtime.d.ts +10 -10
- 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 -20
- 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 +15 -15
- package/dist/types/formControls/Image/index.d.ts +12 -12
- package/dist/types/formControls/Image/property.d.ts +9 -9
- package/dist/types/formControls/Image/runtime.d.ts +10 -10
- 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 +63 -63
- 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 +28 -28
- 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 +39 -39
- 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 +43 -43
- 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 +46 -46
- 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 +85 -85
- 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 +64 -64
- 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 +32 -32
- package/dist/types/framework.d.ts +273 -273
- 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 +10 -10
- 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/Step/designer.d.ts +14 -14
- package/dist/types/layoutControls/Step/index.d.ts +12 -12
- package/dist/types/layoutControls/Step/property.d.ts +11 -11
- package/dist/types/layoutControls/Step/runtime.d.ts +9 -9
- package/dist/types/layoutControls/StepPane/designer.d.ts +14 -14
- package/dist/types/layoutControls/StepPane/index.d.ts +12 -12
- package/dist/types/layoutControls/StepPane/property.d.ts +14 -14
- package/dist/types/layoutControls/StepPane/runtime.d.ts +9 -9
- 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/TableLayout/designer.d.ts +13 -13
- package/dist/types/layoutControls/TableLayout/index.d.ts +12 -12
- package/dist/types/layoutControls/TableLayout/property.d.ts +50 -50
- package/dist/types/layoutControls/TableLayout/runtime.d.ts +10 -10
- package/dist/types/layoutControls/TableLayoutCol/designer.d.ts +14 -14
- package/dist/types/layoutControls/TableLayoutCol/index.d.ts +12 -12
- package/dist/types/layoutControls/TableLayoutCol/property.d.ts +14 -14
- package/dist/types/layoutControls/TableLayoutCol/runtime.d.ts +10 -10
- package/dist/types/layoutControls/TableLayoutRow/designer.d.ts +15 -15
- package/dist/types/layoutControls/TableLayoutRow/index.d.ts +12 -12
- package/dist/types/layoutControls/TableLayoutRow/property.d.ts +8 -8
- package/dist/types/layoutControls/TableLayoutRow/runtime.d.ts +11 -11
- package/dist/types/layoutControls/TableLayoutWrapper/designer.d.ts +13 -13
- package/dist/types/layoutControls/TableLayoutWrapper/index.d.ts +12 -12
- package/dist/types/layoutControls/TableLayoutWrapper/property.d.ts +8 -8
- package/dist/types/layoutControls/TableLayoutWrapper/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 +25 -25
- 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 +123 -123
- 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 s7=Object.defineProperty,d7=Object.defineProperties;var h7=Object.getOwnPropertyDescriptors;var Dd=Object.getOwnPropertySymbols,y7=Object.getPrototypeOf,f7=Object.prototype.hasOwnProperty,v7=Object.prototype.propertyIsEnumerable,m7=Reflect.get;var Ad=(f,r,z)=>r in f?s7(f,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):f[r]=z,nt=(f,r)=>{for(var z in r||(r={}))f7.call(r,z)&&Ad(f,z,r[z]);if(Dd)for(var z of Dd(r))v7.call(r,z)&&Ad(f,z,r[z]);return f},Wl=(f,r)=>d7(f,h7(r));var Ul=(f,r,z)=>m7(y7(f),z,r);var zl=(f,r,z)=>new Promise((mu,Rn)=>{var gu=fe=>{try{Pt(z.next(fe))}catch(Ot){Rn(Ot)}},bu=fe=>{try{Pt(z.throw(fe))}catch(Ot){Rn(Ot)}},Pt=fe=>fe.done?mu(fe.value):Promise.resolve(fe.value).then(gu,bu);Pt((z=z.apply(f,r)).next())});(function(f,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(f=typeof globalThis!="undefined"?globalThis:f||self,r(f.modelDrivenControls={}))})(this,function(f){"use strict";const r=(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((o,d)=>{d===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const d=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),d)}),l||(n?l=n:l=t),l};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Rn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Pt="{caption}\u5FC5\u586B",fe="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Id="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Fd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Sd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Td="\u8BF7\u7ED1\u5B9A\u8868\u5355",Rd="\u8BF7\u7ED1\u5B9A\u5217\u8868",Pd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Od="\u8BF7\u8F93\u5165\u663E\u793A\u503C",xd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",kd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",$d="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ld="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Nd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Vd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Hd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",jd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",qd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Wd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Ud="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",zd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Kd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Gd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Zd="\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",Qd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Jd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Yd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",pd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",eh="\u8BF7\u7ED1\u5B9A\u670D\u52A1",th="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nh="\u8BF7\u9009\u62E9\u7701",ih="\u8BF7\u9009\u62E9\u5E02",uh="\u8BF7\u9009\u62E9\u533A",ah="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",lh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",rh="\u8BF7\u8F93\u5165\u5217\u5BBD",oh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ch="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",sh="\u8BF7\u9009\u62E9\u63A7\u4EF6",dh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",hh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",yh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",fh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",vh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",gh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",bh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ch="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",wh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Dh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ah="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ih="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Fh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Sh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Th="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Rh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ph="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Oh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",xh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",kh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Mh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",$h="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Lh="\u6279\u91CF\u5220\u9664",Nh="\u6279\u91CF\u6253\u5370",Vh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Hh="\u6309\u94AE",jh="\u521B\u5EFA\u5355\u636E",qh="\u4EEA\u8868\u76D8",Wh="\u5206\u5272\u7EBF",Uh="\u5BFC\u51FA",zh="\u8868\u5355\u64CD\u4F5C",Kh="\u5BFC\u5165",Gh="\u53D1\u7968\u8BC6\u522B",Zh="\u94FE\u63A5",Xh="\u5217\u8868\u9009\u62E9",Qh="\u5217\u8868\u89C6\u56FE",Jh="\u64CD\u4F5C\u6309\u94AE",Yh="\u5206\u9875",ph="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",ey="\u8BF4\u660E\u6587\u5B57",ty="\u6587\u5B57\u8BC6\u522B",ny="\u6807\u9898\u7EC4\u4EF6",iy="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",uy="\u6570\u7EC4",ay="\u81EA\u52A8\u7F16\u53F7",ly="\u81EA\u5B9A\u4E49",ry="\u6570\u503C",oy="\u90E8\u95E8",cy="\u4EBA\u5458",sy="\u9644\u4EF6",dy="\u56FE\u7247",hy="\u5730\u5740",yy="\u64CD\u4F5C",fy="\u5E8F\u53F7",vy="\u4EBA\u5458",my="\u957F\u6587\u672C",gy="\u65E5\u671F\u533A\u95F4",by="\u65E5\u671F",Cy="\u77ED\u6587\u672C",_y="\u6362\u884C\u5BB9\u5668Wrap",Ey="\u8868\u683C",By="\u660E\u7EC6\u5B50\u8868",wy="\u5730\u5740",Dy="\u91D1\u989D",Ay="\u8BA1\u7B97\u516C\u5F0F",Iy="\u591A\u9009",Fy="\u7535\u5B50\u7B7E\u7AE0",Sy="\u5355\u884C\u6587\u672C",Ty="\u6570\u5B57",Ry="\u4E1A\u52A1\u7EC4\u7EC7",Py="\u5355\u9009",Oy="\u5BCC\u6587\u672C",xy="\u8BC4\u5206",ky="\u6570\u5B57\u533A\u95F4",My="\u4E0B\u62C9\u5355\u9009",$y="\u4E0B\u62C9\u591A\u9009",Ly="\u5173\u8054\u5355\u9009",Ny="\u591A\u884C\u6587\u672C",Vy="\u6811",Hy="Vue\u5BB9\u5668",jy="Vue\u9875\u9762",qy="\u5728\u7EBF\u6587\u6863",Wy="\u6309\u94AE\u64CD\u4F5C\u680F",Uy="\u9AD8\u7EA7\u5BB9\u5668",zy="\u5206\u7EC4",Ky="\u6805\u683C\u5217",Gy="\u6570\u636E\u5BB9\u5668",Zy="\u753B\u5E03",Xy="\u6362\u884C\u5BB9\u5668",Qy="\u6805\u683C\u7B49\u5206\u884C",Jy="\u5217\u8868\u5BB9\u5668",Yy="\u81EA\u7531\u9875\u9762",py="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ef="\u5B9A\u4F4D\u5BB9\u5668",tf="\u6805\u683C\u5E03\u5C40",nf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",uf="\u660E\u7EC6\u5B50\u8868\u884C",af="\u6807\u7B7E\u9875",lf="\u6807\u7B7E\u5355\u5143",rf="\u5DE5\u5177\u680F",of="\u6279\u91CF\u63D0\u4EA4",cf="\u5BFC\u51FA\u8BB0\u5F55",sf="\u5217\u8868\u89C6\u56FE",df="\u7ED3\u675F\u65F6\u95F4",hf="\u5F00\u59CB\u65F6\u95F4",yf="\u5355\u4F4D",ff="\u7ED3\u679C",vf="\u5E01\u79CD",mf="\u7ED3\u675F\u65E5\u671F",gf="\u5F00\u59CB\u65E5\u671F",bf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Cf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",_f="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Ef="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Bf="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",wf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Df="\u8BF7\u9009\u62E9",Af="\u8BF7\u9009\u62E9\u7EC4\u7EC7",If="\u8BF7\u9009\u62E9\u90E8\u95E8",Ff="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Sf="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Tf="\u8BF7\u9009\u62E9\u5730\u5740",Rf="\u5F39\u7A97\u786E\u8BA4\u65F6",Pf="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Of="\u884C\u9009\u4E2D\u65F6",xf="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",kf="\u884C\u5220\u9664\u524D",Mf="\u884C\u70B9\u51FB\u65F6",$f="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Lf="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Nf="\u91CD\u547D\u540D\u65F6",Vf="\u4FDD\u5B58\u6587\u4EF6\u65F6",Hf="\u6253\u5F00\u6587\u4EF6\u65F6",jf="\u83B7\u53D6\u7126\u70B9\u65F6",qf="\u5931\u53BB\u7126\u70B9\u65F6",Wf="\u7528\u6237\u8F93\u5165\u65F6",Uf="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",zf="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Kf="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Gf="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Zf="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Xf="\u641C\u7D22\u65F6",Qf="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Jf="\u6267\u884C\u5B8C\u6210\u65F6",Yf="\u70B9\u51FB\u65F6",pf="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",ev="\u8BF7\u8F93\u5165\u65E5\u671F",tv="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",nv="\u8BF7\u8F93\u5165",iv="\u9ED8\u8BA4\u6A21\u7248",uv="\u5DE6\u53F3\u5E03\u5C40",av="\u4E0A\u4E0B\u5E03\u5C40",lv="\u53EA\u8BFB",rv="\u5FC5\u586B",ov="\u63D0\u793A\u6587\u5B57",cv="\u9690\u85CF\u6807\u9898",sv="\u6807\u9898\u5FC5\u586B",dv="\u7EC4\u7EC7\u5F62\u6001",hv="\u4E1A\u52A1\u7C7B\u578B",yv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",fv="\u9690\u85CF",vv="\u6D41\u7A0B\u72B6\u6001",mv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",gv="\u5220\u9664",bv="\u7F16\u8F91",Cv="\u67E5\u770B",_v="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Ev="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Bv="\u5145\u6EE1\u6574\u884C",wv="\u6700\u5C0F\u503C",Dv="\u6700\u5927\u503C",Av="\u65B0\u5EFA\u6587\u6863",Iv="\u91CD\u7F6E",Fv="\u67E5\u8BE2",Sv="\u660E\u7EC6",Tv="\u6253\u5370",Rv="\u4FDD\u5B58\u8349\u7A3F",Pv="\u4FDD\u5B58",Ov="\u53D6\u6D88",xv="\u4E0A\u4F20\u56FE\u7247",kv="\u53D1\u8D77\u7B7E\u7F72",Mv="\u4E0A\u4F20\u9644\u4EF6",$v="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Lv="\u5F15\u7528\u5217\u8868",Nv="\u9009\u9879\u4E00",Vv="\u9009\u9879\u4E8C",Hv="\u9009\u9879\u4E09",jv={isNotNumber:z,isNotString:mu,isNotObject:Rn,isNotArray:gu,isNotBoolean:bu,runtimeRequired:Pt,pleaseEnterCaption:fe,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:Id,pleaseEnterPlaceholder:Fd,pleaseEnterFieldCode:Sd,pleaseEnterForm:Td,pleaseEnterList:Rd,pleaseEnterProcess:Pd,pleaseEnterLabel:Od,pleaseEnterValue:xd,bizKeyNotBindFiled:kd,pleaseSelectOneField:Md,pleaseEnterNumberRange:$d,pleaseEnterAValueGreaterThanMin:Ld,pleaseEnterAValueLessThanMax:Nd,numberRangeSetError:Vd,stringRangeError:Hd,attachmentMaxSize:jd,pleaseEnterTotalScoreSetting:qd,theTotalScoreMustNotBeLessThan1:Wd,scoreDefaultValueRange:Ud,attachmentLimitError:zd,PleaseReselectTheOptionalQuantity:Kd,TheMaximumLengthIsGreaterThanTheMinimumLength:Gd,TheMinimumLengthIsGreaterThanTheMaximumLength:Zd,PleaseSelectTheCorrectOptionSettings:Xd,optionIdIsRepeat:Qd,optionIsRequired:Jd,pleaseEnterDataCode:Yd,pleaseEnterValueFieldCode:pd,pleaseEnterSvcCode:eh,pleaseBindAtLeastOneDisplayValue:th,pleaseSelectProvince:nh,pleaseSelectCity:ih,pleaseSelectDistrict:uh,limitRowsCannotBeLessThan0:ah,TheNumberOfRowsCannotBeLessThanMinRows:lh,pleaseEnterColumnWidth:rh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:oh,pleaseCompleteAllRulesAndConditions:ch,pleaseSelectControl:sh,pleaseSelectAtLeastOneColumn:dh,pleaseSelectFillBackMode:hh,pleaseSelectDashboard:yh,rootNodeIsRequired:fh,theViewNameCannotBeEmpty:vh,pleaseSelectOcrType:mh,pleaseSelectAtLeastOneFieldToFillIn:gh,pleaseChooseAtLeastOne:bh,pleaseEnterButtonContent:Ch,pleaseEnterDataCodeInDataSetting:_h,pleaseEnterValueFieldCodeInDataSetting:Eh,pleaseEnterSvcCodeInDataSetting:Bh,pleaseBindAtLeastOneDisplayValueInDataSetting:wh,rootNodeIsRequiredInDataSetting:Dh,pleaseEnterMaxHeight:Ah,pleaseEnterWatermark:Ih,pleaseEnterFileName:Fh,pleaseUploadAtLeastOnePrintTemplate:Sh,pleaseAssignBusiness:Th,pleaseAssignExternal:Rh,pleaseEnterAliasCode:Ph,pleaseSelectDataCode:Oh,pleaseSelectSvcCode:xh,pleaseSelectJoinFieldCode:kh,pleaseSelectMainFieldCode:Mh,pleaseSelectSortFieldCode:$h,batchDeleteButton:Lh,batchPrintListButton:Nh,batchPrintRecordList:Vh,button:Hh,createFormListButton:jh,dashboard:qh,divider:Wh,exportListButton:Uh,formSelectButton:zh,importRecordListButton:Kh,invoiceCheckButton:Gh,link:Zh,listSelectButton:Xh,ListViewSelect:Qh,operationButton:Jh,pagination:Yh,submissionRecordListButton:ph,text:ey,textOcrButton:ty,title:ny,approvalStatusColumn:iy,array:uy,autoNumber:ay,custom:ly,decimal:ry,department:oy,employee:cy,file:sy,image:dy,location:hy,operation:yy,order:fy,people:vy,long:my,timescope:gy,timestamp:by,varchar:Cy,gridLayoutWrap:_y,gridTable:Ey,subTable:By,address:wy,amount:Dy,calc:Ay,checkBox:Iy,electronicSignature:Fy,input:Sy,number:Ty,organizationSelection:Ry,radio:Py,richText:Oy,score:xy,searchNumberRange:ky,select:My,selectMultiple:$y,selectRelation:Ly,textarea:Ny,tree:Vy,vueFormItem:Hy,vuePage:jy,WPS:qy,actionBar:Wy,advancedContainer:Uy,cardGroup:zy,col:Ky,dataView:Gy,grid:Zy,gridLayoutContainer:Xy,gridRow:Qy,listView:Jy,page:Yy,position:py,positioningContainer:ef,row:tf,subtableColumn:nf,subtableRow:uf,tab:af,tabPane:lf,toolbox:rf,batchSubmissionListButton:of,exportRecordListButton:cf,listViewSelect:sf,endTime:df,startTime:hf,unit:yf,result:ff,currency:vf,endDate:mf,startDate:gf,pleaseSelectCompanyName:bf,pleaseSelectPhoneOrEmail:Cf,pleaseSelectSignType:_f,pleaseSelectSigner:Ef,pleaseSelectOnlyOne:Bf,pleaseSelectSignFile:wf,pleaseSelect:Df,pleaseSelectOrg:Af,pleaseSelectDept:If,pleaseSelectEndDate:Ff,pleaseSelectStartDate:Sf,pleaseChooseAddress:Tf,modalConfirm:Rf,tabChange:Pf,rowSelected:Of,listDataImport:xf,rowDelete:kf,rowClick:Mf,cellRender:$f,onClickBtn:Lf,rename:Nf,onSaveFile:Vf,onOpenFile:Hf,onFocus:jf,onBlur:qf,onInput:Wf,listDataAdd:Uf,listDataDelete:zf,listDataBack:Kf,listDataCreate:Gf,listDataChange:Zf,search:Xf,valueChange:Qf,finished:Jf,click:Yf,pleaseEnterNameorEmail:pf,pleaseEnterDate:ev,pleaseEnterAutonumber:tv,pleaseEnter:nv,defaultTemplate:iv,left:uv,top:av,default:"\u666E\u901A",readonly:lv,required:rv,textTip:ov,hideCaption:cv,titleRequired:sv,organizationalForm:dv,businessType:hv,deleteConfirm:yv,hide:fv,processStatus:vv,approvedDocuments:mv,delete:gv,edit:bv,view:Cv,loadCtrlErrorTip:_v,loadCtrlError:Ev,fullLine:Bv,min:wv,max:Dv,createWPS:Av,reset:Iv,query:Fv,detailed:Sv,print:Tv,draft:Rv,save:Pv,cancel:Ov,uploadImg:xv,signature:kv,uploadFile:Mv,linkContent:$v,referenceList:Lv,optionOne:Nv,optionTwo:Vv,optionThird:Hv},qv="Please enter a number",Wv="Please enter a string",Uv="Please enter an object",zv="Please enter an array",Kv="Please enter a boolean",Gv="{caption} Required",Zv="Please enter the title",Xv="Please enter the bubble prompt",Qv="Please enter the row title",Jv="Please enter the prompt text",Yv="Please bind data items",pv="Please bind the form",em="Please bind the list",tm="Please bind the process",nm="Please enter the displayed value",im="Please enter the stored value",um="The document number is not bound to the data item",am="Please select at least one display field",lm="Please enter a value greater than or equal to {min} and less than or equal to {max}",rm="Please enter a value greater than or equal to {min}",om="Please enter a value less than or equal to {max}",cm="The value range is set incorrectly",sm="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",dm="The attachment size must be between 0MB and 1000MB",hm="Please fill in the total score setting",ym="The total score cannot be less than 1",fm="The default value must be between {min} and {max}",vm="The number of attachment uploads exceeds the limit",mm="Please re-select the optional quantity",gm="The maximum length of the control must be greater than the minimum length",bm="The minimum length of the control must be less than the maximum length",Cm="Please select the correct option setting",_m="Option ID cannot be repeated",Em="Please enter at least one option",Bm="Please bind the data source",wm="Please bind the stored value",Dm="Please bind the service",Am="At least one display value must be bound",Im="Please select a province",Fm="Please select a city",Sm="Please select a district",Tm="The minimum number of lines to fill in cannot be less than 0",Rm="The number of rows cannot be less than {min} rows",Pm="Please enter the column width",Om="Please set the logical relationship of all rule conditions",xm="Please complete all rules and conditions",km="please select control",Mm="Please select the dashboard",$m="View name cannot be empty",Lm="Please select recognition type",Nm="Please select at least one field to fill in",Vm="Please select at least one",Hm="Please enter the button title",jm="Please bind the business model in the data settings",qm="Please bind storage values in data settings",Wm="Please bind the service in the data settings",Um="Please bind at least one display value in the data settings",zm="Please select the root node in the data settings",Km="Please enter the maximum height",Gm="The input content cannot be empty",Zm="Watermark cannot be empty",Xm="File name cannot be empty",Qm="Please upload at least one printing template!\uFF01",Jm="Please select a specific business department",Ym="Please select a specified external organization",pm="Please enter a sub table alias",e0="Please select the associated table to set the business model",t0="Please select the association table to set the binding service",n0="Select associated sub table fields",i0="Please select the associated main table field",u0="Please select the sort field",a0="\u6279\u91CF\u5220\u9664",l0="\u6279\u91CF\u6253\u5370",r0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",o0="\u6309\u94AE",c0="\u521B\u5EFA\u5355\u636E",s0="\u4EEA\u8868\u76D8",d0="\u5206\u5272\u7EBF",h0="\u5BFC\u51FA",y0="\u8868\u5355\u64CD\u4F5C",f0="\u5BFC\u5165",v0="\u53D1\u7968\u8BC6\u522B",m0="\u94FE\u63A5",g0="\u5217\u8868\u9009\u62E9",b0="\u5217\u8868\u89C6\u56FE",C0="\u64CD\u4F5C\u6309\u94AE",_0="\u5206\u9875",E0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",B0="\u8BF4\u660E\u6587\u5B57",w0="\u6587\u5B57\u8BC6\u522B",D0="\u6807\u9898\u7EC4\u4EF6",A0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",I0="\u6570\u7EC4",F0="\u81EA\u52A8\u7F16\u53F7",S0="\u81EA\u5B9A\u4E49",T0="\u6570\u503C",R0="\u90E8\u95E8",P0="\u4EBA\u5458",O0="\u9644\u4EF6",x0="\u56FE\u7247",k0="\u5730\u5740",M0="\u64CD\u4F5C",$0="\u5E8F\u53F7",L0="\u4EBA\u5458",N0="\u957F\u6587\u672C",V0="\u65E5\u671F\u533A\u95F4",H0="\u65E5\u671F",j0="\u77ED\u6587\u672C",q0="\u6362\u884C\u5BB9\u5668Wrap",W0="\u8868\u683C",U0="\u660E\u7EC6\u5B50\u8868",z0="\u5730\u5740",K0="\u91D1\u989D",G0="\u8BA1\u7B97\u516C\u5F0F",Z0="\u591A\u9009",X0="\u7535\u5B50\u7B7E\u7AE0",Q0="\u5355\u884C\u6587\u672C",J0="\u6570\u5B57",Y0="\u4E1A\u52A1\u7EC4\u7EC7",p0="\u5355\u9009",eg="\u5BCC\u6587\u672C",tg="\u8BC4\u5206",ng="\u6570\u5B57\u533A\u95F4",ig="\u4E0B\u62C9\u5355\u9009",ug="\u4E0B\u62C9\u591A\u9009",ag="\u5173\u8054\u5355\u9009",lg="\u591A\u884C\u6587\u672C",rg="\u6811",og="Vue\u5BB9\u5668",cg="Vue\u9875\u9762",sg="\u5728\u7EBF\u6587\u6863",dg="\u6309\u94AE\u64CD\u4F5C\u680F",hg="\u9AD8\u7EA7\u5BB9\u5668",yg="\u5206\u7EC4",fg="\u6805\u683C\u5217",vg="\u6570\u636E\u5BB9\u5668",mg="\u753B\u5E03",gg="\u6362\u884C\u5BB9\u5668",bg="\u6805\u683C\u7B49\u5206\u884C",Cg="\u5217\u8868\u5BB9\u5668",_g="\u81EA\u7531\u9875\u9762",Eg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Bg="\u5B9A\u4F4D\u5BB9\u5668",wg="\u6805\u683C\u5E03\u5C40",Dg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Ag="\u660E\u7EC6\u5B50\u8868\u884C",Ig="\u6807\u7B7E\u9875",Fg="\u6807\u7B7E\u5355\u5143",Sg="\u5DE5\u5177\u680F",Tg="\u6279\u91CF\u63D0\u4EA4",Rg="\u5BFC\u51FA\u8BB0\u5F55",Pg="\u5217\u8868\u89C6\u56FE",Og="\u5F15\u7528\u5217\u8868",xg="\u9009\u9879\u4E00",kg="\u9009\u9879\u4E8C",Mg="\u9009\u9879\u4E09",$g={isNotNumber:qv,isNotString:Wv,isNotObject:Uv,isNotArray:zv,isNotBoolean:Kv,runtimeRequired:Gv,pleaseEnterCaption:Zv,pleaseEnterCaptionTip:Xv,pleaseEnterRowCaption:Qv,pleaseEnterPlaceholder:Jv,pleaseEnterFieldCode:Yv,pleaseEnterForm:pv,pleaseEnterList:em,pleaseEnterProcess:tm,pleaseEnterLabel:nm,pleaseEnterValue:im,bizKeyNotBindFiled:um,pleaseSelectOneField:am,pleaseEnterNumberRange:lm,pleaseEnterAValueGreaterThanMin:rm,pleaseEnterAValueLessThanMax:om,numberRangeSetError:cm,stringRangeError:sm,attachmentMaxSize:dm,pleaseEnterTotalScoreSetting:hm,theTotalScoreMustNotBeLessThan1:ym,scoreDefaultValueRange:fm,attachmentLimitError:vm,PleaseReselectTheOptionalQuantity:mm,TheMaximumLengthIsGreaterThanTheMinimumLength:gm,TheMinimumLengthIsGreaterThanTheMaximumLength:bm,PleaseSelectTheCorrectOptionSettings:Cm,optionIdIsRepeat:_m,optionIsRequired:Em,pleaseEnterDataCode:Bm,pleaseEnterValueFieldCode:wm,pleaseEnterSvcCode:Dm,pleaseBindAtLeastOneDisplayValue:Am,pleaseSelectProvince:Im,pleaseSelectCity:Fm,pleaseSelectDistrict:Sm,limitRowsCannotBeLessThan0:Tm,TheNumberOfRowsCannotBeLessThanMinRows:Rm,pleaseEnterColumnWidth:Pm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Om,pleaseCompleteAllRulesAndConditions:xm,pleaseSelectControl:km,pleaseSelectDashboard:Mm,theViewNameCannotBeEmpty:$m,pleaseSelectOcrType:Lm,pleaseSelectAtLeastOneFieldToFillIn:Nm,pleaseChooseAtLeastOne:Vm,pleaseEnterButtonContent:Hm,pleaseEnterDataCodeInDataSetting:jm,pleaseEnterValueFieldCodeInDataSetting:qm,pleaseEnterSvcCodeInDataSetting:Wm,pleaseBindAtLeastOneDisplayValueInDataSetting:Um,rootNodeIsRequiredInDataSetting:zm,pleaseEnterMaxHeight:Km,pleaseEnter:Gm,pleaseEnterWatermark:Zm,pleaseEnterFileName:Xm,pleaseUploadAtLeastOnePrintTemplate:Qm,pleaseAssignBusiness:Jm,pleaseAssignExternal:Ym,pleaseEnterAliasCode:pm,pleaseSelectDataCode:e0,pleaseSelectSvcCode:t0,pleaseSelectJoinFieldCode:n0,pleaseSelectMainFieldCode:i0,pleaseSelectSortFieldCode:u0,batchDeleteButton:a0,batchPrintListButton:l0,batchPrintRecordList:r0,button:o0,createFormListButton:c0,dashboard:s0,divider:d0,exportListButton:h0,formSelectButton:y0,importRecordListButton:f0,invoiceCheckButton:v0,link:m0,listSelectButton:g0,ListViewSelect:b0,operationButton:C0,pagination:_0,submissionRecordListButton:E0,text:B0,textOcrButton:w0,title:D0,approvalStatusColumn:A0,array:I0,autoNumber:F0,custom:S0,decimal:T0,department:R0,employee:P0,file:O0,image:x0,location:k0,operation:M0,order:$0,people:L0,long:N0,timescope:V0,timestamp:H0,varchar:j0,gridLayoutWrap:q0,gridTable:W0,subTable:U0,address:z0,amount:K0,calc:G0,checkBox:Z0,electronicSignature:X0,input:Q0,number:J0,organizationSelection:Y0,radio:p0,richText:eg,score:tg,searchNumberRange:ng,select:ig,selectMultiple:ug,selectRelation:ag,textarea:lg,tree:rg,vueFormItem:og,vuePage:cg,WPS:sg,actionBar:dg,advancedContainer:hg,cardGroup:yg,col:fg,dataView:vg,grid:mg,gridLayoutContainer:gg,gridRow:bg,listView:Cg,page:_g,position:Eg,positioningContainer:Bg,row:wg,subtableColumn:Dg,subtableRow:Ag,tab:Ig,tabPane:Fg,toolbox:Sg,batchSubmissionListButton:Tg,exportRecordListButton:Rg,listViewSelect:Pg,referenceList:Og,optionOne:xg,optionTwo:kg,optionThird:Mg},Lg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ng="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qg="{caption}\u5FC5\u9808",Wg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ug="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zg="\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",Qg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",eb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ib="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ub="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ab="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",rb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ob="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cb="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",db="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hb="\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",yb="\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",fb="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mb="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",gb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Cb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_b="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Eb="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Db="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ab="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ib="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fb="\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",Tb="please select control",Rb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ob="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xb="\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",kb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$b="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Nb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Vb="\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",Hb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Wb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ub="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",zb="\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",Kb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Gb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Zb="\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",Qb="\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",Jb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Yb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eC="\u6279\u91CF\u5220\u9664",tC="\u6279\u91CF\u6253\u5370",nC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",iC="\u6309\u94AE",uC="\u521B\u5EFA\u5355\u636E",aC="\u4EEA\u8868\u76D8",lC="\u5206\u5272\u7EBF",rC="\u5BFC\u51FA",oC="\u8868\u5355\u64CD\u4F5C",cC="\u5BFC\u5165",sC="\u53D1\u7968\u8BC6\u522B",dC="\u94FE\u63A5",hC="\u5217\u8868\u9009\u62E9",yC="\u5217\u8868\u89C6\u56FE",fC="\u64CD\u4F5C\u6309\u94AE",vC="\u5206\u9875",mC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",gC="\u8BF4\u660E\u6587\u5B57",bC="\u6587\u5B57\u8BC6\u522B",CC="\u6807\u9898\u7EC4\u4EF6",_C="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",EC="\u6570\u7EC4",BC="\u81EA\u52A8\u7F16\u53F7",wC="\u81EA\u5B9A\u4E49",DC="\u6570\u503C",AC="\u90E8\u95E8",IC="\u4EBA\u5458",FC="\u9644\u4EF6",SC="\u56FE\u7247",TC="\u5730\u5740",RC="\u64CD\u4F5C",PC="\u5E8F\u53F7",OC="\u4EBA\u5458",xC="\u957F\u6587\u672C",kC="\u65E5\u671F\u533A\u95F4",MC="\u65E5\u671F",$C="\u77ED\u6587\u672C",LC="\u6362\u884C\u5BB9\u5668Wrap",NC="\u8868\u683C",VC="\u660E\u7EC6\u5B50\u8868",HC="\u5730\u5740",jC="\u91D1\u989D",qC="\u8BA1\u7B97\u516C\u5F0F",WC="\u591A\u9009",UC="\u7535\u5B50\u7B7E\u7AE0",zC="\u5355\u884C\u6587\u672C",KC="\u6570\u5B57",GC="\u4E1A\u52A1\u7EC4\u7EC7",ZC="\u5355\u9009",XC="\u5BCC\u6587\u672C",QC="\u8BC4\u5206",JC="\u6570\u5B57\u533A\u95F4",YC="\u4E0B\u62C9\u5355\u9009",pC="\u4E0B\u62C9\u591A\u9009",e5="\u5173\u8054\u5355\u9009",t5="\u591A\u884C\u6587\u672C",n5="\u6811",i5="Vue\u5BB9\u5668",u5="Vue\u9875\u9762",a5="\u5728\u7EBF\u6587\u6863",l5="\u6309\u94AE\u64CD\u4F5C\u680F",r5="\u9AD8\u7EA7\u5BB9\u5668",o5="\u5206\u7EC4",c5="\u6805\u683C\u5217",s5="\u6570\u636E\u5BB9\u5668",d5="\u753B\u5E03",h5="\u6362\u884C\u5BB9\u5668",y5="\u6805\u683C\u7B49\u5206\u884C",f5="\u5217\u8868\u5BB9\u5668",v5="\u81EA\u7531\u9875\u9762",m5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",g5="\u5B9A\u4F4D\u5BB9\u5668",b5="\u6805\u683C\u5E03\u5C40",C5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",_5="\u660E\u7EC6\u5B50\u8868\u884C",E5="\u6807\u7B7E\u9875",B5="\u6807\u7B7E\u5355\u5143",w5="\u5DE5\u5177\u680F",D5="\u6279\u91CF\u63D0\u4EA4",A5="\u5BFC\u51FA\u8BB0\u5F55",I5="\u5217\u8868\u89C6\u56FE",F5="\u5F15\u7528\u5217\u8868",S5="\u9009\u9879\u4E00",T5="\u9009\u9879\u4E8C",R5="\u9009\u9879\u4E09",P5={isNotNumber:Lg,isNotString:Ng,isNotObject:Vg,isNotArray:Hg,isNotBoolean:jg,runtimeRequired:qg,pleaseEnterCaption:Wg,pleaseEnterCaptionTip:Ug,pleaseEnterRowCaption:zg,pleaseEnterPlaceholder:Kg,pleaseEnterFieldCode:Gg,pleaseEnterForm:Zg,pleaseEnterList:Xg,pleaseEnterProcess:Qg,pleaseEnterLabel:Jg,pleaseEnterValue:Yg,bizKeyNotBindFiled:pg,pleaseSelectOneField:eb,pleaseEnterNumberRange:tb,pleaseEnterAValueGreaterThanMin:nb,pleaseEnterAValueLessThanMax:ib,numberRangeSetError:ub,stringRangeError:ab,attachmentMaxSize:lb,pleaseEnterTotalScoreSetting:rb,theTotalScoreMustNotBeLessThan1:ob,scoreDefaultValueRange:cb,attachmentLimitError:sb,PleaseReselectTheOptionalQuantity:db,TheMaximumLengthIsGreaterThanTheMinimumLength:hb,TheMinimumLengthIsGreaterThanTheMaximumLength:yb,PleaseSelectTheCorrectOptionSettings:fb,optionIdIsRepeat:vb,optionIsRequired:mb,pleaseEnterDataCode:gb,pleaseEnterValueFieldCode:bb,pleaseEnterSvcCode:Cb,pleaseBindAtLeastOneDisplayValue:_b,pleaseSelectProvince:Eb,pleaseSelectCity:Bb,pleaseSelectDistrict:wb,limitRowsCannotBeLessThan0:Db,TheNumberOfRowsCannotBeLessThanMinRows:Ab,pleaseEnterColumnWidth:Ib,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Fb,pleaseCompleteAllRulesAndConditions:Sb,pleaseSelectControl:Tb,pleaseSelectDashboard:Rb,theViewNameCannotBeEmpty:Pb,pleaseSelectOcrType:Ob,pleaseSelectAtLeastOneFieldToFillIn:xb,pleaseChooseAtLeastOne:kb,pleaseEnterButtonContent:Mb,pleaseEnterDataCodeInDataSetting:$b,pleaseEnterValueFieldCodeInDataSetting:Lb,pleaseEnterSvcCodeInDataSetting:Nb,pleaseBindAtLeastOneDisplayValueInDataSetting:Vb,rootNodeIsRequiredInDataSetting:Hb,pleaseEnterMaxHeight:jb,pleaseEnter:qb,pleaseEnterWatermark:Wb,pleaseEnterFileName:Ub,pleaseUploadAtLeastOnePrintTemplate:zb,pleaseAssignBusiness:Kb,pleaseAssignExternal:Gb,pleaseEnterAliasCode:Zb,pleaseSelectDataCode:Xb,pleaseSelectSvcCode:Qb,pleaseSelectJoinFieldCode:Jb,pleaseSelectMainFieldCode:Yb,pleaseSelectSortFieldCode:pb,batchDeleteButton:eC,batchPrintListButton:tC,batchPrintRecordList:nC,button:iC,createFormListButton:uC,dashboard:aC,divider:lC,exportListButton:rC,formSelectButton:oC,importRecordListButton:cC,invoiceCheckButton:sC,link:dC,listSelectButton:hC,ListViewSelect:yC,operationButton:fC,pagination:vC,submissionRecordListButton:mC,text:gC,textOcrButton:bC,title:CC,approvalStatusColumn:_C,array:EC,autoNumber:BC,custom:wC,decimal:DC,department:AC,employee:IC,file:FC,image:SC,location:TC,operation:RC,order:PC,people:OC,long:xC,timescope:kC,timestamp:MC,varchar:$C,gridLayoutWrap:LC,gridTable:NC,subTable:VC,address:HC,amount:jC,calc:qC,checkBox:WC,electronicSignature:UC,input:zC,number:KC,organizationSelection:GC,radio:ZC,richText:XC,score:QC,searchNumberRange:JC,select:YC,selectMultiple:pC,selectRelation:e5,textarea:t5,tree:n5,vueFormItem:i5,vuePage:u5,WPS:a5,actionBar:l5,advancedContainer:r5,cardGroup:o5,col:c5,dataView:s5,grid:d5,gridLayoutContainer:h5,gridRow:y5,listView:f5,page:v5,position:m5,positioningContainer:g5,row:b5,subtableColumn:C5,subtableRow:_5,tab:E5,tabPane:B5,toolbox:w5,batchSubmissionListButton:D5,exportRecordListButton:A5,listViewSelect:I5,referenceList:F5,optionOne:S5,optionTwo:T5,optionThird:R5},Cu={zhCN:jv,enUS:$g,jaJP:P5},_u,O5=(_u=window.localStorage.getItem("locale"))!==null&&_u!==void 0?_u:"zh-CN",Pn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),D=function(t){return 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.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",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",t.STEP="step",t.STEP_PANE="step-pane",t}({}),b=function(t){return 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",t}({}),it=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),Kl={DEFAULT:"default"},Gl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",x5=Gl+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Gl:x5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Eu(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 k5(t){if(Array.isArray(t))return Eu(t)}function M5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zl(t,e,n){return e=xt(e),V5(t,wu()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function Xl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t,e,n){return wu()?On=Reflect.construct:On=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&kt(s,l.prototype),s},On.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(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&&kt(t,e)}function $5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function L5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function N5(){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 V5(t,e){return e&&(H5(e)==="object"||typeof e=="function")?e:M5(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}function Jl(t){return k5(t)||L5(t)||j5(t)||N5()}function H5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j5(t,e){if(!!t){if(typeof t=="string")return Eu(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 Eu(t,e)}}function Bu(t){var e=typeof Map=="function"?new Map:void 0;return Bu=function(i){if(i===null||!$5(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 On(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},Bu(t)}function wu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wu=function(){return!!t})()}var Du=console;function Au(){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=Du).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Jl(u)))}function Yl(){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=Du).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Jl(u)))}function q5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Iu=function(t){Ql(e,t);function e(n){Xl(this,e);var i;return i=Zl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?q5(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Bu(Error)),W5=function(t){Ql(e,t);function e(n){Xl(this,e);var i;return i=Zl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Iu);function Mt(t){throw new Iu(t)}function pl(t){throw new W5(t)}function U5(t){Du.error(new Iu(t))}function z5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function er(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 K5(t,e,n){return e&&er(t.prototype,e),n&&er(t,n),t}function G5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tr=function(){function t(){z5(this,t)}return K5(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,Cu==null||(u=Cu[O5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();G5(tr,"$i18n",tr.resetI18n());function Z5(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,d){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Au("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 o===d.length-1&&!Object.is(s[l],n)&&(s[l]=n,u=!0),s[l]}},t),u}var X5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Q5={exports:{}};(function(t){(function(e){var n=function(v,E,$){if(!s(E)||m(E)||g(E)||_(E)||d(E))return E;var R,M=0,ue=0;if(y(E))for(R=[],ue=E.length;M<ue;M++)R.push(n(v,E[M],$));else{R={};for(var L in E)Object.prototype.hasOwnProperty.call(E,L)&&(R[v(L,$)]=n(v,E[L],$))}return R},i=function(v,E){E=E||{};var $=E.separator||"_",R=E.split||/(?=[A-Z])/;return v.split(R).join($)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(E,$){return $?$.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var E=u(v);return E.substr(0,1).toUpperCase()+E.substr(1)},l=function(v,E){return i(v,E).toLowerCase()},o=Object.prototype.toString,d=function(v){return typeof v=="function"},s=function(v){return v===Object(v)},y=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},_=function(v){return o.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},C=function(v,E){var $=E&&"process"in E?E.process:E;return typeof $!="function"?v:function(R,M){return $(R,v,M)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,E){return n(C(u,E),v)},decamelizeKeys:function(v,E){return n(C(l,E),v,E)},pascalizeKeys:function(v,E){return n(C(a,E),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(X5)})(Q5);var nr={};Object.defineProperty(nr,"__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 J5=nr.default=Fu;function Y5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":Y5(t))==="object"?J5(t):t}function p5(t){return Object.prototype.toString.call(t)==="[object Object]"}function xn(t){return Array.isArray(t)}function e_(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Su(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function t_(t){if(Array.isArray(t))return Su(t)}function ir(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function n_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){ir(a,i,u,l,o,"next",d)}function o(d){ir(a,i,u,l,o,"throw",d)}l(void 0)})}}function i_(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 u_(t,e,n){return e&&ur(t.prototype,e),n&&ur(t,n),t}function ar(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function l_(){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 Tu(t){return t_(t)||a_(t)||r_(t)||l_()}function r_(t,e){if(!!t){if(typeof t=="string")return Su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Su(t,e)}}function o_(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(y){return d([s,y])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(y){s=[6,y],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var c_=function(){function t(){i_(this,t),ar(this,"_events",new Map),ar(this,"debug",!1)}return u_(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];return n_(function(){var l,o,d,s,y,m,g,_,B,C,w,v;return o_(this,function(E){switch(E.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];d=l.slice(),s=!0,y=!1,m=void 0,E.label=1;case 1:E.trys.push([1,8,9,10]),g=d[Symbol.iterator](),E.label=2;case 2:if(s=(_=g.next()).done)return[3,7];if(B=_.value,!l.includes(B))return[3,6];E.label=3;case 3:return E.trys.push([3,5,,6]),this.debug&&Yl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Tu(u))),[4,B.apply(null,Tu(u))];case 4:return C=E.sent(),this.debug&&Yl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.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(Tu(u),[C])),o.push(C),C===!1?[3,7]:[3,6];case 5:return w=E.sent(),U5(String(w)+":"+String(w.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return v=E.sent(),y=!0,m=v,[3,10];case 9:try{!s&&g.return!=null&&g.return()}finally{if(y)throw m}return[7];case 10:return[2,o]}})}).call(this)}},{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 s_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d_(t,e,n){return e&&lr(t.prototype,e),n&&lr(t,n),t}function h_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y_=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],f_=function(){function t(){s_(this,t)}return d_(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 o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();h_(f_,"events",y_);function Ru(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 Ru(t)}function m_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function g_(){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 rr(t){return v_(t)||m_(t)||b_(t)||g_()}function b_(t,e){if(!!t){if(typeof t=="string")return Ru(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 Ru(t,e)}}function Pu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function or(t,e,n){n!=="Runtime"&&(t.parent=e,Pu(t,"parent"))}function C_(t,e,n){t.forEach(function(i){or(i,e,n)})}var cr=Symbol("targetKey");function sr(t){var e;return(e=t[cr])!==null&&e!==void 0?e:t}function dr(t,e,n){return C_(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),d=2;d<l;d++)o[d-2]=arguments[d];var s;return a===cr?u:(s=Reflect).get.apply(s,[u,a].concat(rr(o)))},set:function(u,a,l){for(var o=arguments.length,d=new Array(o>3?o-3:0),s=3;s<o;s++)d[s-3]=arguments[s];var y;if(xn(t)&&a==="length"&&l===t.length)return!0;var m=(y=Reflect).set.apply(y,[u,a,l].concat(rr(d)));return p5(l)&&or(l,e,n),m}})}function de(t,e,n,i,u){var a=i!=null?i:t,l=dr(sr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(d){l=dr(sr(d),a,u)},enumerable:!0})}function __(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hr(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 E_(t,e,n){return e&&hr(t.prototype,e),n&&hr(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var yr=[],kn=function(){function t(e){__(this,t),we(this,"registeredControlTypes",new Set),we(this,"controlConfigMap",new Map),we(this,"_controls",[]),we(this,"_type",void 0),this._type=e,this._initControls(e)}return E_(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Mt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Au("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===Pn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Pn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Pn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Pn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(y){return u.createControl(y,i)});if(n.children&&(n.children=n.children.map(function(y){return u.createControl(y,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(y){return u.createControl(y,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var d=i(o);d&&(o=d)}var s;return l.mode==="Runtime"?(s=o,s.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new l(o),s}else Mt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Pu(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,o=i.instanceMap;if(!(!l||!o)){var d=l[a],s=o[a];if(!(!d&&!s)){var y=s.findIndex(function(_){return _==n}),m=o[d]||[],g;return m.length!==s.length?g=m[0]:g=m[y],g}}}}),Pu(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__)&&Mt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return o>-1&&(Au("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we(kn,"staticControlsRuntimeRules",new Map),we(kn,"staticControls",yr),we(kn,"staticRegisteredTypes",new Set(yr.map(function(t){return t.Designer.controlType}))),we(kn,"staticRegisteredConfigs",new Map);function B_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t,e,n){return e=Mn(e),w_(t,fr()?Reflect.construct(e,n||[],Mn(t).constructor):e.apply(t,n))}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function w_(t,e){return e&&(D_(e)==="object"||typeof e=="function")?e:B_(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}function D_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fr=function(){return!!t})()}var he=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},vr=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},mr=function t(e){A(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},A_=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new mr(e==null?void 0:e.pc),this.mobile=new mr(e==null?void 0:e.mobile)},xu=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(vr),I_=function t(e){A(this,t),h(this,"pc",void 0),h(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})},F_=function t(e){A(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},S_=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),gr=function t(e){A(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},ku=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new gr(l)}))!==null&&a!==void 0?a:[]},T_=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},R_=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),P_=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new T_(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 R_(l)}))!==null&&a!==void 0?a:[]},O_=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},De=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Mu=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var 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(o){if(o.children!==void 0){var d,s=new t(o);(d=n.children)===null||d===void 0||d.push(s)}else{var y,m=new $n(o);(y=n.children)===null||y===void 0||y.push(m)}}))},$n=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new O_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},x_=function t(e){A(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new J(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ee=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},$u=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},k_=function t(e){A(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Lu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Mu(o):new $n(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Mu(o):new $n(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new k_(o)}))!==null&&l!==void 0?l:[]}var J=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0),h(this,"assignDepartment",void 0),h(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 $u(m))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment);var y;this.openAssignDepartment=(y=e==null?void 0:e.openAssignDepartment)!==null&&y!==void 0?y:!1,Lu.call(this,e)},Nu=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o: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 s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var y;this.openType=(y=e==null?void 0:e.openType)!==null&&y!==void 0?y:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},br=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new $u(l)}))!==null&&a!==void 0?a:[]},Ln=function(t){re(e,t);function e(n){A(this,e);var i,u;i=le(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new br(l)}))!==null&&a!==void 0?a:[],i}return e}(J),M_=function(t){re(e,t);function e(n){A(this,e);var i,u;i=le(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(o){return new br(o)}))!==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}(J),Cr=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new De(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),_r=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&a!==void 0?a:[]},Er=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Lu.call(i,n),i}return e}(_r),Br=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(_r),wr=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Dr=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label},$_=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"cueWord",void 0),h(i,"checked",void 0);var u;i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"";var a;return i.checked=(a=n==null?void 0:n.checked)!==null&&a!==void 0?a:!1,i}return e}(Dr);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new Dr(n)}))!==null&&e!==void 0?e:[]}function Ar(t){var e;return(e=t==null?void 0:t.map(function(n){return new $_(n)}))!==null&&e!==void 0?e:[]}var Vu=function t(){A(this,t)},L_=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Vu),N_=function t(e){A(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},V_=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Vu),H_=function t(e){A(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},j_=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},q_=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Vu),W_=function t(e){A(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},U_=function(t){return 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",t}({}),c=function(t){return 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",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t}({}),z_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ae=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},K_=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new gr(l)}))!==null&&a!==void 0?a:[],Lu.call(this,e)},G_=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},Z_=function t(e){A(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},X_=function t(e){A(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:se();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 Mu(d):new $n(d)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new Q_(d)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},Q_=function t(e){A(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},J_=function t(e){A(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new X_(l)}))!==null&&a!==void 0?a:[]:[]};function Y_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p_(t,e,n){return e=$t(e),nE(t,qu()?Reflect.construct(e,n||[],$t(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 o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Lt(s,l.prototype),s},Nn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function eE(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&&Lt(t,e)}function tE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function nE(t,e){return e&&(iE(e)==="object"||typeof e=="function")?e:Y_(t)}function Lt(t,e){return Lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lt(t,e)}function iE(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||!tE(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,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Lt(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),ge(this,"isHide",{type:"boolean"})},Me=function(t){eE(e,t);function e(n){return Hu(this,e),p_(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new G_(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(q,"mode",void 0),ge(q,"Rules",j),ge(q,"RuntimeRules",Me);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 uE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Wu(t){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(t)}function Vn(t,e){return Vn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vn(t,e)}function aE(){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 aE()?Hn=Reflect.construct:Hn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Vn(s,l.prototype),s},Hn.apply(null,arguments)}function lE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!lE(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,Wu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vn(u,i)},Uu(t)}var rE=/%[sdj%]/g,Ir=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Ir=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 te(){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(rE,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){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 o}});return l}return u}function oE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||oE(e)&&typeof t=="string"&&!t)}function cE(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function Fr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function sE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Sr=function(t){uE(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}(Uu(Error));function dE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(w){return i(w),w.length?g(new Sr(w,zu(w))):m()},B=sE(t);Fr(B,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,d=0,s=[],y=new Promise(function(m,g){var _=function(C){if(s.push.apply(s,C),d++,d===o)return i(s),s.length?g(new Sr(s,zu(s))):m()};l.length||(i(s),m()),l.forEach(function(B){var C=t[B];a.indexOf(B)!==-1?Fr(C,n,_):cE(C,n,_)})});return y.catch(function(m){return m}),y}function Tr(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 Rr(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 Pr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function hE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(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},Nt={integer:function(e){return Nt.number(e)&&parseInt(e,10)===e},float:function(e){return Nt.number(e)&&!Nt.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"&&!Nt.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 yE(t,e,n,i,u){if(t.required&&e===void 0){Pr(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?Nt[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function fE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,y=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?y="number":g?y="string":_&&(y="array"),!y)return!1;_&&(s=e.length),g&&(s=e.replace(d,"_").length),a?s!==t.len&&i.push(te(u.messages[y].len,t.fullField,t.len)):l&&!o&&s<t.min?i.push(te(u.messages[y].min,t.fullField,t.min)):o&&!l&&s>t.max?i.push(te(u.messages[y].max,t.fullField,t.max)):l&&o&&(s<t.min||s>t.max)&&i.push(te(u.messages[y].range,t.fullField,t.min,t.max))}var at="enum";function vE(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(te(u.messages[at],t.fullField,t[at].join(", ")))}function mE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(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(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var I={required:Pr,whitespace:hE,type:yE,range:fE,enum:vE,pattern:mE};function gE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();I.required(t,e,i,a,u,"string"),K(e,"string")||(I.type(t,e,i,a,u),I.range(t,e,i,a,u),I.pattern(t,e,i,a,u),t.whitespace===!0&&I.whitespace(t,e,i,a,u))}n(a)}function bE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I.type(t,e,i,a,u)}n(a)}function CE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&(I.type(t,e,i,a,u),I.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(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I.type(t,e,i,a,u)}n(a)}function EE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),K(e)||I.type(t,e,i,a,u)}n(a)}function BE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function wE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function DE(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();I.required(t,e,i,a,u,"array"),e!=null&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function AE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I.type(t,e,i,a,u)}n(a)}var IE="enum";function FE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I[IE](t,e,i,a,u)}n(a)}function SE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();I.required(t,e,i,a,u),K(e,"string")||I.pattern(t,e,i,a,u)}n(a)}function TE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(I.required(t,e,i,a,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),I.type(t,o,i,a,u),o&&I.range(t,o.getTime(),i,a,u)}}n(a)}function RE(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;I.required(t,e,i,a,u,l),n(a)}function Gu(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,a)&&!t.required)return n();I.required(t,e,i,l,u,a),K(e,a)||I.type(t,e,i,l,u)}n(l)}function PE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u)}n(a)}var Vt={string:gE,method:bE,number:CE,boolean:_E,regexp:EE,integer:BE,float:wE,array:DE,object:AE,enum:FE,pattern:SE,date:TE,url:Gu,hex:Gu,email:Gu,required:RE,any:PE};function Zu(){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 Xu=Zu();function Ie(t){this.rules=null,this._messages=Xu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=Rr(Zu(),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,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function d(C){var w,v=[],E={};function $(R){if(Array.isArray(R)){var M;v=(M=v).concat.apply(M,R)}else v.push(R)}for(w=0;w<C.length;w++)$(C[w]);v.length?E=zu(v):(v=null,E=null),o(v,E)}if(l.messages){var s=this.messages();s===Xu&&(s=Zu()),Rr(s,l.messages),l.messages=s}else l.messages=this.messages();var y,m,g={},_=l.keys||Object.keys(this.rules);_.forEach(function(C){y=u.rules[C],m=a[C],y.forEach(function(w){var v=w;typeof v.transform=="function"&&(a===e&&(a=ye({},a)),m=a[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:m,source:a,field:C}))})});var B={};return dE(g,l,function(C,w){var v=C.rule,E=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");E=E&&(v.required||!v.required&&C.value),v.field=C.field;function $(ue,L){return ye(ye({},L),{},{fullField:v.fullField+"."+ue})}function R(ue){ue===void 0&&(ue=[]);var L=ue;if(Array.isArray(L)||(L=[L]),!l.suppressWarning&&L.length&&Ie.warning("async-validator:",L),L.length&&v.message!==void 0&&(L=[].concat(v.message)),L=L.map(Tr(v)),l.first&&L.length)return B[v.field]=1,w(L);if(!E)w(L);else{if(v.required&&!C.value)return v.message!==void 0?L=[].concat(v.message).map(Tr(v)):l.error&&(L=[l.error(v,te(l.messages.required,v.field))]),w(L);var ae={};if(v.defaultField)for(var Sn in C.value)C.value.hasOwnProperty(Sn)&&(ae[Sn]=v.defaultField);ae=ye(ye({},ae),C.rule.fields);for(var Ee in ae)if(ae.hasOwnProperty(Ee)){var vu=Array.isArray(ae[Ee])?ae[Ee]:[ae[Ee]];ae[Ee]=vu.map($.bind(null,Ee))}var Tn=new Ie(ae);Tn.messages(l.messages),C.rule.options&&(C.rule.options.messages=l.messages,C.rule.options.error=l.error),Tn.validate(C.value,C.rule.options||l,function(Rt){var Be=[];L&&L.length&&Be.push.apply(Be,L),Rt&&Rt.length&&Be.push.apply(Be,Rt),w(Be.length?Be:null)})}}var M;v.asyncValidator?M=v.asyncValidator(v,C.value,R,C.source,l):v.validator&&(M=v.validator(v,C.value,R,C.source,l),M===!0?R():M===!1?R(v.message||v.field+" fails"):M instanceof Array?R(M):M instanceof Error&&R(M.message)),M&&M.then&&M.then(function(){return R()},function(ue){return R(ue)})},function(C){d(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("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"?Vt.required:Vt[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");Vt[e]=n},Ie.warning=Ir,Ie.messages=Xu,Ie.validators=Vt;var OE={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function xE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(OE,e)),n}var kE=new c_;function Qu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ME(t){if(Array.isArray(t))return t}function $E(t){if(Array.isArray(t))return Qu(t)}function Or(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function xr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Or(a,i,u,l,o,"next",d)}function o(d){Or(a,i,u,l,o,"throw",d)}l(void 0)})}}function LE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function NE(t,e,n){return e&&kr(t.prototype,e),n&&kr(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 Mr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function $r(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function VE(){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 HE(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){P(t,u,n[u])})}return t}function jE(t){return ME(t)||$r(t)||Nr(t)||VE()}function Ju(t){return $E(t)||$r(t)||Nr(t)||HE()}function qE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nr(t,e){if(!!t){if(typeof t=="string")return Qu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qu(t,e)}}function Vr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(y){return d([s,y])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(y){s=[6,y],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var x=function(){function e(n){var i=this;LE(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",jr),P(this,"removeSetting",Hr),this._callControlHooks("preInstance",n);var u=Mr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,d=u.controlFieldType,s=u.controlEventKeys,y=u.controlCustomEvents,m=u.name,g=u.setting,_=u.slots,B=u.slotPosition;a&&l&&o||pl("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:se(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:o,this.props=new q(n==null?void 0:n.props,(Mr(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=oe(g);var E;this.fieldType=(E=n==null?void 0:n.fieldType)!==null&&E!==void 0?E:d,this.eventKeys=oe(s),this.customEvents=oe(y),this.slots=oe(_),this.slotPosition=oe(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return NE(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,o=jE(u),d=o[0],s=o.slice(1);return(l=kE).emit.apply(l,[d,this].concat(Ju(s)))}},{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),Z5(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return xr(function(){var i,u,a;return Vr(this,function(l){switch(l.label){case 0:return i=Lr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return xr(function(){var a,l,o,d;return Vr(this,function(s){switch(s.label){case 0:return[4,this.preValidate()];case 1:a=s.sent(),l=a!==void 0?a:Lr({},this.rules),Array.isArray(u)&&u.forEach(function(y){l.hasOwnProperty(y)&&delete l[y]}),o=xE(l,i),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return s.sent(),[2,!0];case 4:throw d=s.sent(),d.control||(d.control=this),d;case 5:return[2]}})}).call(this)}},{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,o=this.props,d=o.dataBind,s=o.datasourceBind,y=o.optionConfig,m=o.caption,g=o.required,_=o.maxLength,B=o.options,C=o.encrypted,w=o.encryptedMode;if(!(!u&&!d&&!s)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(d&&(v.dataBind=d),y){case"datasource":case void 0:s&&(v.datasourceBind=s);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),_!==void 0&&(v.maxLength=_),C!==void 0&&(v.encrypted=C),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:oe(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,Ju(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(x,"mode","Designer"),P(x,"slots",void 0),P(x,"slotPosition",void 0),P(x,"controlName",r("CMD.7baf1751712168384")),P(x,"controlIcon","icon"),P(x,"controlType","control"),P(x,"controlFieldType",void 0),P(x,"controlEventKeys",[]),P(x,"controlCustomEvents",[]),P(x,"setting",[]),P(x,"__is_control__",!0),P(x,"removeSettingItem",Hr),P(x,"updateSettingItem",jr);function Hr(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(s){return s.key===(a?i.key:i)});if(l!==-1){var o,d;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(l,1),a&&!(!((d=e.setting[l].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(l,1)}})}function jr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(s){return s.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":qE(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Ju(e.showItems))}}}})}function WE(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 UE(t,e,n){return e&&qr(t.prototype,e),n&&qr(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zE(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){WE(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=zE(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||pl("The ".concat(l," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:se(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:u,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"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:z_.UNKNOWN}return UE(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}();ne(W,"mode","Runtime"),ne(W,"controlType","control"),ne(W,"controlFieldType",void 0),ne(W,"__is_control__",!0),ne(W,"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:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("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(o){return o.value}),l=e_(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("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:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("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:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function KE(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function GE(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=Un(e),ZE(t,Wr()?Reflect.construct(e,n||[],Un(t).constructor):e.apply(t,n))}function Wn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function 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 ZE(t,e){return e&&(XE(e)==="object"||typeof e=="function")?e:GE(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function XE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}var G=function(t){zn(e,t);function e(n){Wn(this,e);var i;i=qn(this,e,[n]),N(i,"dataBind",{}),N(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),N(i,"isHideCaption",{type:"boolean"}),N(i,"labelPosition",{type:"enum",enum:["top","left"]}),N(i,"defaultState",{type:"enum",enum:["default","readonly"]}),N(i,"required",{type:"boolean"}),N(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(KE(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),H=function(t){zn(e,t);function e(n){Wn(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:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),F=function(t){zn(e,t);function e(n){Wn(this,e);var i;i=qn(this,e,[n]),N(i,"caption",void 0),N(i,"captionSize",void 0),N(i,"captionColor",void 0),N(i,"isCaptionItalic",void 0),N(i,"isHideCaption",void 0),N(i,"isShowCaptionTip",void 0),N(i,"captionTip",void 0),N(i,"labelPosition",void 0),N(i,"dataBind",void 0),N(i,"defaultValue",void 0),N(i,"placeholder",void 0),N(i,"defaultState",void 0),N(i,"required",void 0),N(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.captionSize=(a=n==null?void 0:n.captionSize)!==null&&a!==void 0?a:"";var l;i.captionColor=(l=n==null?void 0:n.captionColor)!==null&&l!==void 0?l:"";var o;i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1;var d;i.isHideCaption=(d=n==null?void 0:n.isHideCaption)!==null&&d!==void 0?d:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var y;i.captionTip=(y=n==null?void 0:n.captionTip)!==null&&y!==void 0?y:"";var m;i.defaultState=(m=n==null?void 0:n.defaultState)!==null&&m!==void 0?m:"default";var g;i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top";var _;i.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var B;i.required=(B=n==null?void 0:n.required)!==null&&B!==void 0?B:!1;var C;i.requiredMessage=(C=n==null?void 0:n.requiredMessage)!==null&&C!==void 0?C:"",i.dataBind=new he(n==null?void 0:n.dataBind);var w;return i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return e}(q);N(F,"Rules",G),N(F,"RuntimeRules",H);var lt=function(t){zn(e,t);function e(n){Wn(this,e);var i;return i=qn(this,e,[n]),N(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),N(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),N(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(G);function QE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JE(t,e,n){return e=Gn(e),e6(t,Ur()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function YE(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 pE(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 e6(t,e){return e&&(t6(e)==="object"||typeof e=="function")?e:QE(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function t6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}var S=function(t){pE(e,t);function e(n){YE(this,e);var i;return i=JE(this,e,[n]),Kn(i,"controlType","form"),Kn(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(x);Kn(S,"controlEventKeys",["on_change","on_focus","on_blur"]),Kn(S,"controlCustomAttributes",void 0);function n6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i6(t,e,n){return e=Zn(e),l6(t,zr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function u6(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 Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function a6(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 l6(t,e){return e&&(r6(e)==="object"||typeof e=="function")?e:n6(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function r6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zr=function(){return!!t})()}var T=function(t){a6(e,t);function e(n){u6(this,e);var i;return i=i6(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(W);function o6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c6(t,e,n){return e=Xn(e),h6(t,Kr()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function s6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function d6(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 h6(t,e){return e&&(y6(e)==="object"||typeof e=="function")?e:o6(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function y6(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 O=function(t){d6(e,t);function e(n){return s6(this,e),c6(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 f6(t){if(Array.isArray(t))return ua(t)}function v6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function m6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Gr(a,i,u,l,o,"next",d)}function o(d){Gr(a,i,u,l,o,"throw",d)}l(void 0)})}}function g6(t,e,n){return e=Se(e),F6(t,Qr()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function b6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(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 C6(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,a,l){var o=S6(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},rt(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function _6(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 E6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function B6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function w6(){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 D6(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Fe(t,u,n[u])})}return t}function 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 I6(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 F6(t,e){return e&&(T6(e)==="object"||typeof e=="function")?e:v6(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function S6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Xr(t){return f6(t)||B6(t)||R6(t)||w6()}function T6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function R6(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 Qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qr=function(){return!!t})()}function P6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(y){return d([s,y])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(y){s=[6,y],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var O6=1e4,k=function(e){_6(n,e);function n(i){b6(this,n);var u;u=g6(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var a=E6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new O(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(l),u.childrenMaxLength=o,u}return C6(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,o=this,d=function(){return rt(Se(n.prototype),"validate",l)};return m6(function(){return P6(this,function(s){switch(s.label){case 0:return[4,d().call(o,u,a)];case 1:return s.sent(),[4,Promise.all(this.children.map(function(y){return y.validate(u,a)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=rt(Se(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,d){var s=d.toDataBindModel(u);if(Array.isArray(s)){var y=s.filter(function(m){return!!m});return Xr(o).concat(Xr(y))}return s&&o.push(s),o},l)}},{key:"toSchema",value:function(){var u=rt(Se(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return I6(D6({},u),{children:a})}}]),n}(x);Fe(k,"excludes",!1),Fe(k,"childrenMaxLength",O6);function x6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k6(t,e,n){return e=Qn(e),L6(t,Jr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function M6(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 Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function $6(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 L6(t,e){return e&&(N6(e)==="object"||typeof e=="function")?e:x6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function N6(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 V=function(t){$6(e,t);function e(n){M6(this,e);var i;return i=k6(this,e,[n]),la(i,"controlType","layout"),la(i,"children",void 0),la(i,"props",void 0),i.props=new O(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function V6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H6(t,e,n){return e=Jn(e),W6(t,Yr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function j6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function q6(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&&(U6(e)==="object"||typeof e=="function")?e:V6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function U6(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 Yn=function(t){q6(e,t);function e(n,i,u){j6(this,e);var a;a=H6(this,e,[i]),ot(a,"headers",void 0),ot(a,"footers",void 0),ot(a,"pageIndex",void 0),ot(a,"pageSize",void 0),ot(a,"pageSizeOptions",void 0),ot(a,"totalCount",void 0),de(a,"headers",i==null?void 0:i.headers,n,u),de(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 o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var s;return a.totalCount=(s=i==null?void 0:i.totalCount)!==null&&s!==void 0?s: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 z6(t){if(Array.isArray(t))return ca(t)}function K6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function G6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){pr(a,i,u,l,o,"next",d)}function o(d){pr(a,i,u,l,o,"throw",d)}l(void 0)})}}function Z6(t,e,n){return e=Te(e),tB(t,uo()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function X6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(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 Q6(t,e,n){return e&&eo(t.prototype,e),n&&eo(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 ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,l){var o=nB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ct(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function J6(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 Y6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function p6(){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 to(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 eB(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 no(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):eB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function tB(t,e){return e&&(iB(e)==="object"||typeof e=="function")?e:K6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function nB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function io(t){return z6(t)||Y6(t)||uB(t)||p6()}function iB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uB(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 uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}function aB(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(y){return d([s,y])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(y){s=[6,y],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var da=function(t){J6(e,t);function e(n){X6(this,e);var i;return i=Z6(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 Q6(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return ct(Te(e.prototype),"validate",a)};return G6(function(){return aB(this,function(d){switch(d.label){case 0:return[4,o().call(l,i)];case 1:return d.sent(),[4,Promise.all(this.props.headers.map(function(s){return s.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var s=d.filter(function(y){return!!y});return io(l).concat(io(s))}return d&&l.push(d),l},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return no(to({},i),{props:no(to({},this.props),{headers:u})})}}]),e}(x);pn(da,"controlFieldType",b.LIST);function lB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rB(t,e,n){return e=ei(e),dB(t,lo()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function oB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(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 cB(t,e,n){return e&&ao(t.prototype,e),n&&ao(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 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&&ya(t,e)}function dB(t,e){return e&&(hB(e)==="object"||typeof e=="function")?e:lB(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function hB(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 ro=function(t){sB(e,t);function e(n){oB(this,e);var i;return i=rB(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"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return cB(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function yB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fa(t,e,n){return e=ti(e),fB(t,oo()?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 Z(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 fB(t,e){return e&&(vB(e)==="object"||typeof e=="function")?e:yB(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function vB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oo=function(){return!!t})()}var be=function(t){ma(e,t);function e(n){va(this,e);var i;return i=fa(this,e,[n]),Z(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Z(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),U=function(t){ma(e,t);function e(n){va(this,e);var i;i=fa(this,e,[n]),Z(i,"widthType",void 0),Z(i,"width",void 0),Z(i,"caption",void 0),Z(i,"dataBind",void 0),Z(i,"autoWidth",void 0),Z(i,"fixed",void 0),Z(i,"sort",void 0),Z(i,"align",void 0),Z(i,"colSpan",void 0),Z(i,"autoHeight",void 0),Z(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 vr(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!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);Z(U,"Rules",be);var ba=function(t){ma(e,t);function e(n){va(this,e);var i;return i=fa(this,e,[n]),Z(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Z(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Z(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(be);function mB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gB(t,e,n){return e=st(e),DB(t,so()?Reflect.construct(e,n||[],st(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 co(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 CB(t,e,n){return e&&co(t.prototype,e),n&&co(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 o=AB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ii(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function _B(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ca(t,e)}function EB(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 BB(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 wB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):BB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function DB(t,e){return e&&(IB(e)==="object"||typeof e=="function")?e:mB(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=st(t),t!==null););return t}function IB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function so(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(so=function(){return!!t})()}var X=function(t){_B(e,t);function e(n){bB(this,e);var i;return i=gB(this,e,[n]),ni(i,"controlType","column"),ni(i,"props",void 0),ni(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return CB(e,[{key:"toSchema",value:function(){var i=ii(st(e.prototype),"toSchema",this).call(this);return wB(EB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(x);function FB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SB(t,e,n){return e=ui(e),PB(t,ho()?Reflect.construct(e,n||[],ui(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 _a(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 RB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function PB(t,e){return e&&(OB(e)==="object"||typeof e=="function")?e:FB(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function OB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ho=function(){return!!t})()}var Q=function(t){RB(e,t);function e(n){TB(this,e);var i;return i=SB(this,e,[n]),_a(i,"controlType","column"),_a(i,"props",void 0),_a(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function xB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kB(t,e,n){return e=ai(e),NB(t,yo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function MB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $B(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 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&&Ba(t,e)}function NB(t,e){return e&&(VB(e)==="object"||typeof e=="function")?e:xB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function VB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yo=function(){return!!t})()}var wa=function(t){LB(e,t);function e(n){MB(this,e);var i;return i=kB(this,e,[n]),$B(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(O);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=li(e),UB(t,vo()?Reflect.construct(e,n||[],li(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 fo(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 UB(t,e){return e&&(zB(e)==="object"||typeof e=="function")?e:HB(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(t,e)}function zB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!t})()}var KB=function(t){WB(e,t);function e(n){qB(this,e);var i;return i=jB(this,e,[n]),fo(i,"controlType","search"),fo(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(k);function GB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZB(t,e,n){return e=ri(e),JB(t,go()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function XB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mo(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 QB(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 JB(t,e){return e&&(YB(e)==="object"||typeof e=="function")?e:GB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function YB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(go=function(){return!!t})()}var pB=function(t){QB(e,t);function e(n){XB(this,e);var i;return i=ZB(this,e,[n]),mo(i,"controlType","search"),mo(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(V);function ew(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tw(t,e,n){return e=oi(e),uw(t,bo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function nw(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 iw(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 uw(t,e){return e&&(aw(e)==="object"||typeof e=="function")?e:ew(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function aw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bo=function(){return!!t})()}var Fa=function(t){iw(e,t);function e(n){return nw(this,e),tw(this,e,[n])}return e}(O);function lw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rw(t,e,n){return e=ci(e),sw(t,_o()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function ow(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Co(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 cw(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 sw(t,e){return e&&(dw(e)==="object"||typeof e=="function")?e:lw(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function dw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_o=function(){return!!t})()}var hw=function(t){cw(e,t);function e(n){ow(this,e);var i;return i=rw(this,e,[n]),Co(i,"controlType","wrap"),Co(i,"props",void 0),i.props=new Fa(n==null?void 0:n.props),i}return e}(k);function yw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fw(t,e,n){return e=si(e),gw(t,Bo()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function vw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function mw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function gw(t,e){return e&&(bw(e)==="object"||typeof e=="function")?e:yw(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function bw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bo=function(){return!!t})()}var Cw=function(t){mw(e,t);function e(n){vw(this,e);var i;return i=fw(this,e,[n]),Eo(i,"controlType","wrap"),Eo(i,"props",void 0),i.props=new Fa(n==null?void 0:n.props),i}return e}(V);function Re(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ra extends q{constructor(e){var n,i,u,a,l,o,d;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:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(d=e==null?void 0:e.aiContentSearch)!=null?d:!1}}class wo extends x{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}wo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-align",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class _w extends W{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"text"}}var Do={Designer:wo,Runtime:_w,Property:Ra};class Pa extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("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 Oa extends x{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Oa.controlEventKeys=["on_click"],Oa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Ew extends W{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ao={Designer:Oa,Runtime:Ew,Property:Pa};class p extends q{constructor(e){var n,i,u,a,l,o,d,s,y;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("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=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new Z_((y=e==null?void 0:e.optObj)!=null?y:{})}}class Y extends x{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",Kl.DEFAULT],Y.controlEventKeys=["on_click"],Y.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends W{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var Io={Designer:Y,Runtime:ie,Property:p},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),Fo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Fo||{}),So=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(So||{});class di{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var xa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(xa||{});class hi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ka=(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))(ka||{});class Ma{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v,E,$;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new De((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 De((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(y=e==null?void 0:e.indexSignature)!=null?y:new De((s=e==null?void 0:e.indexSignature)!=null?s:{type:"form"}),this.signaturePosition=(m=e==null?void 0:e.signaturePosition)!=null?m:"free",this.seal=new De((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(_=e==null?void 0:e.platformAutoSign)!=null?_:!1,this.signDateBeanType=(B=e==null?void 0:e.signDateBeanType)!=null?B:0,this.signDateFontSize=(C=e==null?void 0:e.signDateFontSize)!=null?C:12,this.signOrder=(w=e==null?void 0:e.signOrder)!=null?w:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(E=e==null?void 0:e.posY)!=null?E:0,this.remark=($=e==null?void 0:e.remark)!=null?$:""}}class To{constructor(e){var n,i,u,a,l,o;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=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ht{constructor(e){var n,i,u,a,l,o,d;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],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 Ro{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,o,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=(o=e==null?void 0:e.isRelation)!=null?o:!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 Po{constructor(e){this.dataCode=e.dataCode}}class Oo{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 Po(a)))!=null?u:[]}}class xo{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 Ht(a)))!=null?u:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const ko=480;function jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Mo{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 $o{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 Lo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Lo||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),yi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(yi||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{}),ja=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ja||{});class qa 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:ka.SOLID}}class No extends x{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}No.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Bw extends W{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Vo={Designer:No,Runtime:Bw,Property:qa};class ww extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("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:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class fi extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=ww;class dt extends x{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}dt.controlFieldType=b.AUTO_NUMBER,dt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Dw extends W{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Ho={Designer:dt,Runtime:Dw,Property:fi};class Aw extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class vi extends p{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ht.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}vi.Rules=Aw;class ht extends Y{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Iw extends ie{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var jo={Designer:ht,Runtime:Iw,Property:vi};class Fw extends j{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class mi extends p{constructor(e){var n,i,u,a,l,o;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=(o=e==null?void 0:e.employeeId)!=null?o:""}}mi.Rules=Fw;class yt extends Y{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return r("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 Sw extends ie{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var qo={Designer:yt,Runtime:Sw,Property:mi};class Wa extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ft.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ft.controlIcon}}class ft extends Y{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click"],ft.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 Tw extends ie{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Wo={Designer:ft,Runtime:Tw,Property:Wa};class Ua extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new Ht(o)))!=null?l:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Y{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Rw extends ie{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Uo={Designer:vt,Runtime:Rw,Property:Ua};class za extends p{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 Y{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Pw extends ie{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var zo={Designer:mt,Runtime:Pw,Property:za};class Ow{constructor(e){this.dataCode=e.dataCode}}class Ka extends p{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new Ow(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class gt extends Y{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class xw extends ie{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ko={Designer:gt,Runtime:xw,Property:Ka};function gi(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class kw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},gi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("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:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class bi extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Er(e==null?void 0:e.fillPayload),this.formBind=new S_(e==null?void 0:e.formBind),this.fillBack=new Br(e==null?void 0:e.fillBack)}}bi.Rules=kw;class qt extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Mw extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Go={Designer:qt,Runtime:Mw,Property:bi};class $w extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},gi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},gi())}}}class Ci extends p{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 Er(e==null?void 0:e.fillPayload),this.listPageBind=new ku(e==null?void 0:e.listPageBind),this.fillBack=new Br(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Nu(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=$w;class Wt extends Y{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Lw extends ie{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Zo={Designer:Wt,Runtime:Lw,Property:Ci};class Nw extends j{constructor(e){super(e)}}class Vw extends Me{constructor(e){super(e)}}class Ut extends q{constructor(e){super(e)}}Ut.Rules=Nw,Ut.RuntimeRules=Vw;class Xo extends x{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Xo.setting=[];class Hw extends W{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Qo={Designer:Xo,Runtime:Hw,Property:Ut};class jw extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("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:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends q{constructor(e){var n,i,u,a,l,o,d,s;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=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(d=e==null?void 0:e.isShowReportParams)!=null?d:!1,this.reportParams=(s=e==null?void 0:e.reportParams)!=null?s:[]}}_i.Rules=jw;class Jo extends x{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class qw extends W{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Yo={Designer:Jo,Runtime:qw,Property:_i};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:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ei 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 K_(a)))!=null?u:[]}}Ei.Rules=Ww;class po extends x{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}po.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Uw extends W{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ec={Designer:po,Runtime:Uw,Property:Ei};class zw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("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:r("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(r("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:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends p{constructor(e){var n,i,u,a,l,o,d,s,y,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:bt.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(g=>new ee(g)))!=null?m:[]}}Bi.Rules=zw;class bt extends Y{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Kw extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var tc={Designer:bt,Runtime:Kw,Property:Bi};class Gw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("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(r("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:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends p{constructor(e){var n,i,u,a,l,o,d,s,y,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=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Ct.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(g=>new ee(g)))!=null?m:[]}}wi.Rules=Gw;class Ct extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Zw extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var nc={Designer:Ct,Runtime:Zw,Property:wi};class Xw extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Di extends p{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(o=>new Mo(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Di.Rules=Xw;class _t extends Y{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("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 Qw extends ie{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ic={Designer:_t,Runtime:Qw,Property:Di};class Ga extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon}}class Et extends Y{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return r("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"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Jw extends ie{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var uc={Designer:Et,Runtime:Jw,Property:Ga};class Yw 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:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Ai extends q{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("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}}Ai.Rules=Yw;class Ii extends x{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ii.controlEventKeys=["on_click"],Ii.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class pw extends W{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ac={Designer:Ii,Runtime:pw,Property:Ai};class Za extends q{constructor(e){var n,i,u,a,l,o,d,s,y;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.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=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(y=e==null?void 0:e.isLoading)!=null?y:!1}}class Bt extends x{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class eD extends W{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var lc={Designer:Bt,Runtime:eD,Property:Za};class tD extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Fi extends q{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Si.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=(o=new Na(e==null?void 0:e.listHeightSetting))!=null?o:new Na}}Fi.Rules=tD;class Si extends x{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Si.controlEventKeys=["on_list_rowclick"],Si.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class nD extends W{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var rc={Designer:Si,Runtime:nD,Property:Fi},iD=Object.freeze({__proto__:null,Text:Do,Link:Ao,Button:Io,Divider:Vo,Title:Ho,CreateFormListButton:jo,BatchSubmissionListButton:qo,SubmissionRecordListButton:Wo,ExportListButton:Uo,ExportRecordListButton:zo,ImportRecordListButton:Ko,FormSelectButton:Go,ListSelectButton:Zo,Pagination:Qo,Dashboard:Yo,ListViewSelect:ec,TextOcrButton:tc,InvoiceCheckButton:nc,BatchPrintListButton:ic,BatchPrintRecordListButton:uc,OperationButton:ac,BatchDeleteButton:lc,ReferenceList:rc});class uD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("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:r("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=r("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=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class aD extends H{constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("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:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends F{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new wr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Dt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1}}wt.Rules=uD,wt.RuntimeRules=aD;class Dt extends S{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=b.VARCHAR,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{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 oc extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}oc.controlFieldType=b.VARCHAR;var cc={Designer:Dt,Runtime:oc,Property:wt};class lD extends lt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("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 rD extends H{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 zt extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("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=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Kt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(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(w=>{var v;(v=this.multistageFilling)==null||v.push(new ee(w))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}zt.Rules=lD,zt.RuntimeRules=rD;class Kt extends S{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{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 sc extends T{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}sc.controlFieldType=b.ARRAY;var dc={Designer:Kt,Runtime:sc,Property:zt};class oD extends lt{constructor(e){super(e)}}class Ti extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("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=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Gt.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(B=>{var C;(C=this.multistageFilling)==null||C.push(new ee(B))})),this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}Ti.Rules=oD;class Gt extends S{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class hc extends T{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"radio"}}hc.controlFieldType=b.VARCHAR;var yc={Designer:Gt,Runtime:hc,Property:Ti};class cD extends G{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("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=r("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:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class sD extends H{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:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Zt extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,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=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(y=e==null?void 0:e.unitPosition)!=null?y:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Xt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new wr(e==null?void 0:e.regularRules)}}Zt.Rules=cD,Zt.RuntimeRules=sD;class Xt extends S{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return r("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}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class fc extends T{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"number"}}fc.controlFieldType=b.DECIMAL;var vc={Designer:Xt,Runtime:fc,Property:Zt};class Xa extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.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=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(y=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(B=>new di(B)))!=null?y:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}class Ri extends S{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return r("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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ri.controlFieldType=b.TIMESTAMP,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class mc extends T{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}mc.controlFieldType=b.TIMESTAMP;var gc={Designer:Ri,Runtime:mc,Property:Xa};class dD extends H{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 Pi extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.dataBind=new V_(e==null?void 0:e.dataBind),this.defaultValue=new H_(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.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=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(y=e==null?void 0:e.caption)!=null?y:Oi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(B=>new di(B)))!=null?g:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Pi.RuntimeRules=dD;class Oi extends S{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Oi.controlFieldType=b.TIMESCOPE,Oi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bc extends T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}bc.controlFieldType=b.TIMESCOPE;var Cc={Designer:Oi,Runtime:bc,Property:Pi};class hD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("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:r("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=r("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 yD extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("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 Qt extends F{constructor(e){var n,i,u,a,l,o,d,s;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:Jt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new A_(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Ar((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}])}}Qt.Rules=hD,Qt.RuntimeRules=yD;class Jt extends S{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=b.TEXT,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{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 _c extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}_c.controlFieldType=b.TEXT;var Ec={Designer:Jt,Runtime:_c,Property:Qt};class fD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("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:r("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=r("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 vD extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("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 Yt extends F{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Ar((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}])}}Yt.Rules=fD,Yt.RuntimeRules=vD;class pt extends S{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Bc extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Bc.controlFieldType=b.TEXT;var wc={Designer:pt,Runtime:Bc,Property:Yt};class Qa extends F{constructor(e){var n,i,u,a,l,o,d;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:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(d=e==null?void 0:e.aiContentSearch)!=null?d:!1}}class Dc extends S{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u5C55\u793A\u6587\u672C")}static get controlIcon(){return"iconwenben"}static get controlType(){return"display-text"}}Dc.setting=[{key:"data-bind",visible:!0},{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-align",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class mD extends T{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"display-text"}}var Ac={Designer:Dc,Runtime:mD,Property:Qa};class gD extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class xi extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("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 J(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var B;(B=this.multistageFilling)==null||B.push(new ee(_))})),this.canViewForm=(y=e==null?void 0:e.canViewForm)!=null?y:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}xi.Rules=gD;class ki extends S{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ic extends T{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"select"}}Ic.controlFieldType=b.VARCHAR;var Fc={Designer:ki,Runtime:Ic,Property:xi};class bD extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class CD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("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 J(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:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],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(g=>{var _;(_=this.multistageFilling)==null||_.push(new ee(g))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(m=e==null?void 0:e.aiContentSearch)!=null?m:!1}}en.Rules=bD,en.RuntimeRules=CD;class Mi extends S{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sc extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Sc.controlFieldType=b.ARRAY;var Tc={Designer:Mi,Runtime:Sc,Property:en};class _D extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class $i extends F{constructor(e){var n,i,u,a,l,o,d,s,y;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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Li.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(y=e==null?void 0:e.openMultistageFilling)!=null?y:!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 ee(m))}))}}$i.RuntimeRules=_D;class Li extends S{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return r("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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Rc extends T{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"employee"}}Rc.controlFieldType=b.EMPLOYEES;var Pc={Designer:Li,Runtime:Rc,Property:$i};const ED=10485760,BD=104857600,wD=1048576e3;class DD extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:wD,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class AD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.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=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:BD,this.caption=(s=e==null?void 0:e.caption)!=null?s:It.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("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=(_=e==null?void 0:e.operation)!=null?_:["info","preview","download"],this.aiExplanation=(B=e==null?void 0:e.aiExplanation)!=null?B:!1,this.aiExplanationLength=(C=e==null?void 0:e.aiExplanationLength)!=null?C:500,this.storageType=(w=e==null?void 0:e.storageType)!=null?w:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[]}}At.Rules=DD,At.RuntimeRules=AD;class It extends S{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}It.controlEventKeys=["on_change","on_file_actions"],It.controlFieldType=b.FILE,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ja extends T{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ja.controlFieldType=b.FILE;var Oc={Designer:It,Runtime:Ja,Property:At};class Ya extends At{constructor(e){var n,i,u,a,l,o,d;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ni.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(l=e==null?void 0:e.compressTypeCode)!=null?l:ja.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(d=e==null?void 0:e.maxPixel)!=null?d:1080}}class Ni extends It{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Ni.controlFieldType=b.IMAGE,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ID extends Ja{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"image"}}var xc={Designer:Ni,Runtime:ID,Property:Ya};class FD extends lt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("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=r("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:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class SD extends H{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:[Wl(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class tn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new L_(e==null?void 0:e.dataBind),this.datasourceBind=new J((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new $u({value:"name"})]}),this.defaultValue=new N_((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:U_.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=me(e==null?void 0:e.options),this.caption=(y=e==null?void 0:e.caption)!=null?y:nn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}tn.Rules=FD,tn.RuntimeRules=SD;class nn extends S{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("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}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.MONEY,nn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class kc extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}kc.controlFieldType=b.MONEY;var Mc={Designer:nn,Runtime:kc,Property:tn};class TD extends G{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class RD extends H{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:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class un extends F{constructor(e){var n,i,u,a,l,o,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:xa.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(s=>new hi(s)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new hi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:an.controlName}}un.Rules=TD,un.RuntimeRules=RD;class an extends S{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return r("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)}}an.controlEventKeys=["on_change","on_click"],an.controlFieldType=b.DECIMAL,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}$c.controlFieldType=b.DECIMAL;var Lc={Designer:an,Runtime:$c,Property:un};class PD extends H{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:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Vi extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hi.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 j_((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Vi.RuntimeRules=PD;class Hi extends S{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Hi.controlFieldType=b.ADDRESS,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Nc extends T{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Nc.controlFieldType=b.ADDRESS;var Vc={Designer:Hi,Runtime:Nc,Property:Vi};class OD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ji extends F{constructor(e){var n,i,u,a,l,o,d,s,y,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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:ln.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("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(_=>{var B;(B=this.multistageFilling)==null||B.push(new ee(_))}))}}ji.RuntimeRules=OD;class ln extends S{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ln.controlName=r("CMD.department",null,"\u90E8\u95E8"),ln.controlFieldType=b.DEPARTMENTS,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Hc extends T{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"department"}}Hc.controlFieldType=b.DEPARTMENTS;var jc={Designer:ln,Runtime:Hc,Property:ji};class pa extends F{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class rn extends S{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=b.AUTO_NUMBER,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class qc extends T{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}qc.controlFieldType=b.AUTO_NUMBER;var Wc={Designer:rn,Runtime:qc,Property:pa};class xD extends G{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 kD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class on extends F{constructor(e){var n,i,u,a,l,o,d,s,y;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 q_(e==null?void 0:e.dataBind),this.defaultValue=new W_(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:cn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(y=e==null?void 0:e.calcOnMounted)!=null?y:!1}}on.Rules=xD,on.RuntimeRules=kD;class cn extends S{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("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}}cn.controlEventKeys=["on_change"],cn.controlFieldType=b.CALC,cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Uc extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}Uc.controlFieldType=b.CALC;var zc={Designer:cn,Runtime:Uc,Property:on};class MD extends H{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(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class qi extends F{constructor(e){var n,i,u,a,l,o;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:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:Wi.controlName}}qi.RuntimeRules=MD;class Wi extends S{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Wi.controlFieldType=b.DECIMAL_RANGE,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Kc extends T{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Kc.controlFieldType=b.DECIMAL_RANGE;var Gc={Designer:Wi,Runtime:Kc,Property:qi};class $D extends H{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 F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:it.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=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(y=e==null?void 0:e.placeholderEnd)!=null?y:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:zi.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new di(B)))!=null?_:[]}}Ui.RuntimeRules=$D;class zi extends S{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}zi.controlFieldType=b.ARRAY,zi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Zc extends T{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Zc.controlFieldType=b.ARRAY;var Xc={Designer:zi,Runtime:Zc,Property:Ui};class LD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class ND extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ft.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}}sn.Rules=LD,sn.RuntimeRules=ND;class Ft extends S{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ft.controlFieldType=b.ANY,Ft.controlEventKeys=[],Ft.slots=["grid-table-toolbar-slot",Kl.DEFAULT],Ft.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Qc extends T{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Qc.controlFieldType=b.ANY;var Jc={Designer:Ft,Runtime:Qc,Property:sn};class VD extends lt{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ki extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new ku(e==null?void 0:e.listPageBind),this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var C;(C=this.multistageFilling)==null||C.push(new ee(B))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}Ki.Rules=VD;class dn extends S{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("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}}dn.controlFieldType=b.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Yc extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Yc.controlFieldType=b.VARCHAR;var pc={Designer:dn,Runtime:Yc,Property:Ki};class el extends wt{constructor(e){super(e)}}class es extends Dt{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}es.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class ts extends T{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"search-input"}}ts.controlFieldType=b.VARCHAR;var ns={Designer:es,Runtime:ts,Property:el};class HD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],jn.call(this,e,xe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("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:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class jD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v,E,$,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("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=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(y=e==null?void 0:e.isShowIncludeSub)!=null?y:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new Cr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:xe.controlCustomAttributes}),this.filterItemDatasourceBind=new Cr((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:xe.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=($=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(M=>new ee(M)))!=null?$:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}hn.Rules=HD,hn.RuntimeRules=jD;class xe extends S{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}xe.controlEventKeys=["on_change","on_click"],xe.controlFieldType=b.ARRAY,xe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class is extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}is.controlFieldType=b.ARRAY;var us={Designer:xe,Runtime:is,Property:hn};class qD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},jn.call(this,e,$e.controlCustomAttributes),e.externalType===Oe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class WD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:$e.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Ln((y=e==null?void 0:e.datasourceBind)!=null?y:{attributes:$e.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=(_=e==null?void 0:e.externalType)!=null?_:Oe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!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 E;(E=this.multistageFilling)==null||E.push(new ee(v))}))}}yn.Rules=qD,yn.RuntimeRules=WD;class $e extends S{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=b.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.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 as extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}as.controlFieldType=b.EMPLOYEES;var ls={Designer:$e,Runtime:as,Property:yn};class UD extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("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:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&xn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(a,l,o){if((i==null?void 0:i.signaturePosition)==="index"&&xn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&xn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Gi extends F{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:fn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("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=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new To(e==null?void 0:e.signatureConfig)}}Gi.Rules=UD;class fn extends S{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}fn.controlEventKeys=["on_click","on_click_finish"],fn.controlFieldType=b.VARCHAR,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class rs extends T{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}rs.controlFieldType=b.VARCHAR;var os={Designer:fn,Runtime:rs,Property:Gi};class zD extends G{constructor(e){super(e),this.content={type:"string",required:!0,message:r("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(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("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(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class KD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("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=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(y=e==null?void 0:e.canDelete)!=null?y:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:ED,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Ro(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}vn.Rules=zD,vn.RuntimeRules=KD;class mn extends S{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=b.FILE,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class cs extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}cs.controlFieldType=b.FILE;var ss={Designer:mn,Runtime:cs,Property:vn};class GD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,Le.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class ZD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:Le.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Ln((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:yi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C: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 E;(E=this.multistageFilling)==null||E.push(new ee(v))}))}}gn.Rules=GD,gn.RuntimeRules=ZD;class Le extends S{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=r("CMD.department",null,"\u90E8\u95E8"),Le.controlFieldType=b.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ds extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ds.controlFieldType=b.DEPARTMENTS;var hs={Designer:Le,Runtime:ds,Property:gn};class XD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,St.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class QD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v,E,$;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 ku(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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:St.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new M_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:St.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:yi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C: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=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=($=e==null?void 0:e.openMultistageFilling)!=null?$:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(R=>{var M;(M=this.multistageFilling)==null||M.push(new ee(R))}))}}bn.Rules=XD,bn.RuntimeRules=QD;class St extends S{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("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:r("CMD.895a1751712162322"),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}}St.controlFieldType=b.DEPARTMENTS,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ys extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}ys.controlFieldType=b.DEPARTMENTS;var fs={Designer:St,Runtime:ys,Property:bn};class JD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class YD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends F{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}}Cn.Rules=JD,Cn.RuntimeRules=YD;class _n extends S{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return D.VUE_PAGE}}_n.controlFieldType=b.ANY,_n.controlEventKeys=[],_n.setting=[];class vs extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return D.VUE_PAGE}}vs.controlFieldType=b.ANY;var ms={Designer:_n,Runtime:vs,Property:Cn},pD=Object.freeze({__proto__:null,Input:cc,Checkbox:dc,Radio:yc,Number:vc,DatePicker:gc,DateRange:Cc,Textarea:Ec,RichText:wc,DisplayText:Ac,Select:Fc,SelectMultiple:Tc,Employee:Pc,Image:xc,Attachment:Oc,Amount:Mc,Score:Lc,Address:Vc,Department:jc,AutoNumber:Wc,Calc:zc,SearchNumberRange:Gc,SearchDateRange:Xc,VueFormItem:Jc,SelectRelation:pc,SearchInput:ns,Tree:us,Employee2:ls,ElectronicSignature:os,WPS:ss,Department2:hs,OrganizationSelection:fs,VuePage:ms});class gs extends k{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}gs.excludes=[D.GRID];class e8 extends V{static get controlType(){return"grid"}constructor(e){super(e)}}var bs={Designer:gs,Runtime:e8,Property:O};const t8=24;class Ne extends O{constructor(e){var n,i,u,a;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:t8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:""}}class En extends k{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}En.excludes=[D.COL,D.SUBTABLE,D.SUBTABLE_COLUMN,D.GRID_LAYOUT_CONTAINER,D.DIVIDER],En.childrenMaxLength=1;class tl extends V{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var Cs={Designer:En,Runtime:tl,Property:Ne};class Zi extends O{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 k{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Xi.excludes=[D.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class _s extends V{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Es={Designer:Xi,Runtime:_s,Property:Zi};const n8=4;class Qi extends Xi{static get controlName(){return r("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=[D.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=n8;class i8 extends _s{static get controlType(){return"grid-row"}constructor(e){super(e)}}class u8 extends Zi{constructor(e){super(e)}}var Bs={Designer:Qi,Runtime:i8,Property:u8};class a8 extends O.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Ji extends O{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("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=a8;class nl extends k{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}nl.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],nl.excludes=[D.CARD_GROUP];class l8 extends V{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ws={Designer:nl,Runtime:l8,Property:Ji};class r8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Yi extends O{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 I_(e==null?void 0:e.metaAutoWidth)}}Yi.Rules=r8;class ce extends k{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}ce.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[D.SUBTABLE,D.SUBTABLE_COLUMN,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT,D.GRID_LAYOUT_CONTAINER],ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Ds extends V{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}Ds.controlType="subtable-column";var As={Designer:ce,Runtime:Ds,Property:Yi};class il extends O{constructor(e){super(e)}}class Ve extends k{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[D.SUBTABLE,D.SUBTABLE_COLUMN,D.SUBTABLE_ROW,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT],Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class o8 extends V{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Is={Designer:Ve,Runtime:o8,Property:il};class ul extends O{constructor(e){var n,i,u,a,l,o,d,s,y,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=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(y=e==null?void 0:e.timestampDateType)!=null?y:it.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends k{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}}He.controlName=r("CMD.8ba01751712155518"),He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[D.GRID_TABLE,D.GRID_TABLE_COLUMN,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT],He.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Fs extends V{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}}Fs.controlType="gridtable-column";var Ss={Designer:He,Runtime:Fs,Property:ul};class al extends O{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 ll extends k{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ll.excludes=[D.GRID_LAYOUT_CONTAINER,D.CARD_GROUP,D.TAB],ll.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class c8 extends V{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Ts={Designer:ll,Runtime:c8,Property:al};class rl extends O{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class s8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class pi extends O{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName}}pi.Rules=s8;class Bn extends k{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[D.TAB],Bn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class d8 extends V{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Rs={Designer:Bn,Runtime:d8,Property:pi};class wn extends k{constructor(e){var n;super(e),this.props=new rl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}wn.excludes=[D.TAB],wn.controlEventKeys=["on_change_tab"],wn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class h8 extends V{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ps={Designer:wn,Runtime:h8,Property:rl};class Os extends O{constructor(e){super(e)}}class xs extends k{constructor(e){super(e),this.props=new Os({}),this.children=(e==null?void 0:e.children)||[new En({props:new Ne({span:12})}),new En({props:new Ne({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}xs.excludes=[D.GRID_ROW,D.ROW,D.GRID,D.SUBTABLE,D.TAB,D.TOOLBOX];class y8 extends V{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new tl({props:new Ne({span:12})}),new tl({props:new Ne({span:12})})]}}var ks={Designer:xs,Runtime:y8,Property:Os};class f8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class v8 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:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("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 Dn extends O{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new P_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new x_(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(y=e==null?void 0:e.isFixedHeader)!=null?y:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new J_(e==null?void 0:e.rowStyle)}}Dn.Rules=v8,Dn.RuntimeRules=f8;class An extends k{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return r("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=[D.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 m8 extends V{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ms={Designer:An,Runtime:m8,Property:Dn};class g8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class eu extends O{constructor(e){var n,i,u,a,l,o;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ae((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(d=>new Ae(d)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new J(e==null?void 0:e.datasourceBind)}}eu.RuntimeRules=g8;class $s extends k{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}$s.excludes=[];class b8 extends V{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Ls={Designer:$s,Runtime:b8,Property:eu};class C8 extends k{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class _8 extends V{static get controlType(){return"page"}constructor(e){super(e)}}class E8 extends O{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 Ns={Designer:C8,Runtime:_8,Property:E8};class B8 extends k{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class w8 extends V{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class D8 extends O{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new $o(e==null?void 0:e.flexConfig)}}var Vs={Designer:B8,Runtime:w8,Property:D8};class A8 extends k{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class I8 extends V{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class F8 extends O{constructor(e){super(e)}}var Hs={Designer:A8,Runtime:I8,Property:F8};class S8 extends k{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class T8 extends V{static get controlType(){return"position"}constructor(e){super(e)}}class R8 extends O{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 js={Designer:S8,Runtime:T8,Property:R8};class ol extends O{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 tu extends k{constructor(e){var n;super(e),this.props=new ol((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}tu.slotPosition={default:"action-bar-slot"},tu.excludes=[],tu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class P8 extends V{constructor(e){var n;super(e),this.props=new ol((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var qs={Designer:tu,Runtime:P8,Property:ol};class cl extends O{constructor(e){var n,i,u,a,l;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(a=e==null?void 0:e.type)!=null?a:"default",this.isSticky=(l=e==null?void 0:e.isSticky)!=null?l:!1}}class sl extends O{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(a=e==null?void 0:e.icon)!=null?a:"",this.color=(l=e==null?void 0:e.color)!=null?l:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(d=e==null?void 0:e.description)!=null?d:"",this.isDefault=(s=e==null?void 0:e.isDefault)!=null?s:!1}}class Tt extends k{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Tt.excludes=[D.TAB],Tt.setting=[];class O8 extends V{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Ws={Designer:Tt,Runtime:O8,Property:sl};class nu extends k{constructor(e){var n;super(e),this.props=new cl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tt,new Tt,new Tt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}nu.excludes=[],nu.controlEventKeys=["on_change_steps"],nu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class x8 extends V{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlType(){return"step"}}var Us={Designer:nu,Runtime:x8,Property:cl};class dl extends O{constructor(e){var n,i,u,a,l,o,d,s,y,m,g;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(a=e==null?void 0:e.colWidthType)!=null?a:"average",this.colWidth=(l=e==null?void 0:e.colWidth)!=null?l:"12:12",this.labelWidth=(o=e==null?void 0:e.labelWidth)!=null?o:"",this.padding=(d=e==null?void 0:e.padding)!=null?d:{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},this.margin=(s=e==null?void 0:e.margin)!=null?s:{marginTop:0,marginRight:0,marginBottom:0,marginLeft:0},this.border=(y=e==null?void 0:e.border)!=null?y:{borderTop:!1,borderBottom:!1,borderLeft:!1,borderRight:!1,borderWidth:1,borderColor:"#e8eaed",borderType:"solid"},this.borderRadius=(m=e==null?void 0:e.borderRadius)!=null?m:{borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomRightRadius:0,borderBottomLeftRadius:0},this.background=(g=e==null?void 0:e.background)!=null?g:{type:"backgroundColor",backgroundColor:"transparent",backgroundImage:"",placementMode:"contain"}}}class hl extends k{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlName(){return"\u8868\u683C\u5E03\u5C40"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}hl.excludes=[],hl.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"dynamic-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class k8 extends V{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var zs={Designer:hl,Runtime:k8,Property:dl};class yl extends O{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 fl extends k{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}fl.excludes=[D.ROW,D.TABLE_LAYOUT_ROW],fl.setting=[{key:"col-setting",visible:!0}];class M8 extends V{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Ks={Designer:fl,Runtime:M8,Property:yl};const $8=24;class vl extends O{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:$8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:"",this.layout=(l=e==null?void 0:e.layout)!=null?l:"block",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"row",this.alignItems=(d=e==null?void 0:e.alignItems)!=null?d:"flex-start",this.justifyContent=(s=e==null?void 0:e.justifyContent)!=null?s:"flex-start"}}class ml extends k{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}ml.excludes=[D.COL,D.SUBTABLE,D.SUBTABLE_COLUMN,D.GRID_LAYOUT_CONTAINER,D.DIVIDER,D.TABLE_LAYOUT_COL],ml.setting=[{key:"col-span",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0}];class L8 extends V{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var Gs={Designer:ml,Runtime:L8,Property:vl};class gl extends O{constructor(e){var n,i;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px"}}class bl extends k{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}bl.excludes=[],bl.setting=[{key:"dynamic-size",visible:!0}];class N8 extends V{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var Zs={Designer:bl,Runtime:N8,Property:gl},V8=Object.freeze({__proto__:null,Grid:bs,Col:Cs,Row:Es,GridRow:Bs,CardGroup:ws,SubTableColumn:As,SubTableRow:Is,GridTableColumn:Ss,GridLayoutContainer:Ts,Tab:Ps,TabPane:Rs,Toolbox:ks,ListView:Ms,DataView:Ls,Page:Ns,AdvancedContainer:Vs,PositioningContainer:Hs,Position:js,ActionBar:qs,Step:Us,StepPane:Ws,TableLayout:zs,TableLayoutRow:Ks,TableLayoutCol:Gs,TableLayoutWrapper:Zs});class H8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("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 j8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Xs=class extends Yn{constructor(t,e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v,E,$,R,M,ue,L,ae,Sn,Ee,vu,Tn,Rt,Be,_d,Ed,Bd,wd;super(t,e,Xs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:ko,this.printMode=(y=e==null?void 0:e.printMode)!=null?y:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!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=e==null?void 0:e.canImport)!=null?E:!1,this.canExport=($=e==null?void 0:e.canExport)!=null?$:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(M=e==null?void 0:e.serverPagination)!=null?M:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(L=e==null?void 0:e.captionTip)!=null?L:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(Sn=e==null?void 0:e.mobileDefaultNum)!=null?Sn:10,this.dataStorageDoc=(Ee=e==null?void 0:e.dataStorageDoc)!=null?Ee:new F_,this.fixedColumn=(vu=e==null?void 0:e.fixedColumn)!=null?vu:[],this.mobileRowCaption=(Tn=e==null?void 0:e.mobileRowCaption)!=null?Tn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(_d=e==null?void 0:e.pageSize)!=null?_d:10,this.pageSizeOptions=(Ed=e==null?void 0:e.pageSizeOptions)!=null?Ed:[10,20,50,100],this.importConfig=new Oo(e==null?void 0:e.importConfig),this.exportConfig=new xo(e==null?void 0:e.exportConfig),this.sortable=(Bd=e==null?void 0:e.sortable)!=null?Bd:!1,this.sortKey=(wd=e==null?void 0:e.sortKey)!=null?wd:{}}};let In=Xs;In.Rules=H8,In.RuntimeRules=j8;class Fn extends da{constructor(e){var n;super(e),this.props=new In(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 ce,new ce,new ce])}static get controlName(){return r("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 ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Fn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Fn.slotPosition={toolbar:"subtable-toolbar-slot"},Fn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.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 q8 extends ro{constructor(e){super(e),this.props=new In(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Qs={Designer:Fn,Runtime:q8,Property:In};class Cl extends Yn{constructor(e,n){var i,u,a,l,o;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=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class W8 extends be{constructor(e){super(e),this.caption.required=!1}}class iu extends U{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.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=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?d:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}iu.Rules=W8;class je extends X{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=r("CMD.order",null,"\u5E8F\u53F7"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class _l extends Q{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}_l.controlType="order-column",_l.controlFieldType=b.DECIMAL;var Js={Designer:je,Runtime:_l,Property:iu};class El extends U{constructor(e){var n,i,u,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends X{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return zl(this,null,function*(){return yield Ul(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Bl extends Q{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Bl.controlType="operation-column",Bl.controlFieldType=b.FILE;var Ys={Designer:Ce,Runtime:Bl,Property:El};const U8=1e4;class qe extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Cl(this,e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce]),this.excludes=oe(n),this.childrenMaxLength=i}static get controlName(){return r("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 Wl(nt({},e),{children:n})}validate(e,n){return zl(this,null,function*(){return yield Ul(qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qe.slotPosition={toolbar:"grid-table-toolbar-slot"},qe.setting=[{key:"list-fixed-header",visible:!0}],qe.excludes=[],qe.childrenMaxLength=U8;class z8 extends ro{constructor(e){super(e),this.props=new Cl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ps={Designer:qe,Runtime:z8,Property:Cl},K8=Object.freeze({__proto__:null,SubTable:Qs,GridTable:ps});class G8 extends ba{constructor(e){super(e),Re.call(this,e)}}class uu extends U{constructor(e){var n,i,u,a,l,o;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 J(e==null?void 0:e.datasourceBind),this.options=me((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}uu.Rules=G8;class We extends X{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName=r("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:[c.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 wl extends Q{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}wl.controlType="varchar-column",wl.controlFieldType=b.VARCHAR;var ed={Designer:We,Runtime:wl,Property:uu};class Z8 extends be{constructor(e){super(e),Re.call(this,e)}}class au extends U{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:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}au.Rules=Z8;class Ue extends X{constructor(e){super(e),this.props=new au(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}}Ue.controlType="text-column",Ue.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Ue.controlIcon="text-column",Ue.controlFieldType=b.TEXT,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 Dl extends Q{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Dl.controlType="text-column",Dl.controlFieldType=b.TEXT;var td={Designer:Ue,Runtime:Dl,Property:au};class X8 extends ba{constructor(e){super(e),Re.call(this,e)}}class lu extends U{constructor(e){var n,i,u,a,l,o,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}lu.Rules=X8;class ze extends X{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ze.controlType="decimal-column",ze.controlName=r("CMD.decimal",null,"\u6570\u503C"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.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 Al extends Q{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}Al.controlType="decimal-column",Al.controlFieldType=b.DECIMAL;var nd={Designer:ze,Runtime:Al,Property:lu};class Q8 extends be{constructor(e){super(e),Re.call(this,e)}}class ru extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}ru.Rules=Q8;class Ke extends X{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ke.controlType="timescope-column",Ke.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Il extends Q{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Il.controlType="timescope-column",Il.controlFieldType=b.TIMESCOPE;var id={Designer:Ke,Runtime:Il,Property:ru};class J8 extends be{constructor(e){super(e),Re.call(this,e)}}class ou extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}ou.Rules=J8;class Ge extends X{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timestamp-column",Ge.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Fl extends Q{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Fl.controlType="timestamp-column",Fl.controlFieldType=b.TIMESTAMP;var ud={Designer:Ge,Runtime:Fl,Property:ou};class Y8 extends ba{constructor(e){super(e),Re.call(this,e)}}class cu extends U{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((a=e==null?void 0:e.options)!=null?a:[{}])}}cu.Rules=Y8;class Ze extends X{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Ze.controlType="array-column",Ze.controlName=r("CMD.array",null,"\u6570\u7EC4"),Ze.controlIcon="array-column",Ze.controlFieldType=b.ARRAY,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Sl extends Q{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Sl.controlType="array-column",Sl.controlFieldType=b.ARRAY;var ad={Designer:Ze,Runtime:Sl,Property:cu};class Tl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends X{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Xe.controlType="department-column",Xe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=b.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Rl extends Q{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}Rl.controlType="department-column",Rl.controlFieldType=b.DEPARTMENTS;var ld={Designer:Xe,Runtime:Rl,Property:Tl};class p8 extends be{constructor(e){super(e),Re.call(this,e)}}class su extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}su.Rules=p8;class Qe extends X{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Qe.controlType="auto-number-column",Qe.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Qe.controlIcon="auto-number-column",Qe.controlFieldType=b.AUTO_NUMBER,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Pl extends Q{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Pl.controlType="auto-number-column",Pl.controlFieldType=b.AUTO_NUMBER;var rd={Designer:Qe,Runtime:Pl,Property:su};class Ol extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Je extends X{constructor(e){super(e),this.props=new Ol(e==null?void 0:e.props)}}Je.controlType="file-column",Je.controlName=r("CMD.file",null,"\u9644\u4EF6"),Je.controlIcon="file-column",Je.controlFieldType=b.FILE,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 xl extends Q{constructor(e){super(e),this.props=new Ol(e==null?void 0:e.props)}}xl.controlType="file-column",xl.controlFieldType=b.FILE;var od={Designer:Je,Runtime:xl,Property:Ol};class kl extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends X{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=r("CMD.image",null,"\u56FE\u7247"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Ml extends Q{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}Ml.controlType="image-column",Ml.controlFieldType=b.IMAGE;var cd={Designer:Ye,Runtime:Ml,Property:kl};class $l extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends X{constructor(e){super(e),this.props=new $l(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=r("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Ll extends Q{constructor(e){super(e),this.props=new $l(e==null?void 0:e.props)}}Ll.controlType="people-column",Ll.controlFieldType=b.EMPLOYEES;var sd={Designer:pe,Runtime:Ll,Property:$l};class e7 extends be{constructor(e){super(e),Re.call(this,e)}}class du extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}du.Rules=e7;class et extends X{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=r("CMD.location",null,"\u5730\u5740"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Nl extends Q{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Nl.controlType="location-column",Nl.controlFieldType=b.ADDRESS;var dd={Designer:et,Runtime:Nl,Property:du};class t7 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class hu extends U{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:""}}hu.Rules=t7;const n7=1;class _e extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new hu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=oe(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=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=n7,_e.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class hd extends Q{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}hd.controlType="custom-column";var yd={Designer:_e,Runtime:hd,Property:hu};class Vl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.datasourceBind=new Ln((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:ke.controlCustomAttributes})}}class ke extends X{constructor(e){super(e),this.props=new Vl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}ke.controlType="employee-column",ke.controlName=r("CMD.employee",null,"\u4EBA\u5458"),ke.controlIcon="employee-column",ke.controlFieldType=b.EMPLOYEES,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Hl extends Q{constructor(e){super(e),this.props=new Vl(e==null?void 0:e.props)}}Hl.controlType="employee-column",Hl.controlFieldType=b.EMPLOYEES;var fd={Designer:ke,Runtime:Hl,Property:Vl};class jl extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends X{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[c.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 vd extends Q{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}}vd.controlType="approval-status-column";var md={Designer:tt,Runtime:vd,Property:jl},i7=Object.freeze({__proto__:null,VarcharColumn:ed,TextColumn:td,DecimalColumn:nd,TimescopeColumn:id,TimestampColumn:ud,ArrayColumn:ad,DepartmentColumn:ld,AutoNumberColumn:rd,FileColumn:od,ImageColumn:cd,PeopleColumn:sd,LocationColumn:dd,CustomColumn:yd,OrderColumn:Js,OperationColumn:Ys,EmployeeColumn:fd,ApprovalStatusColumn:md});class u7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class yu extends wa{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ae((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ae((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(B=>new Ae(B)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(y=e==null?void 0:e.childMinWidth)!=null?y:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}yu.RuntimeRules=u7;class fu extends KB{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}fu.controlType="simple-search",fu.slotPosition={default:"search"},fu.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:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class gd extends pB{constructor(e){var n;super(e),this.props=new yu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}gd.controlType="simple-search";var bd={Designer:fu,Runtime:gd,Property:yu},a7=Object.freeze({__proto__:null,SimpleSearch:bd});class ql extends Fa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class l7 extends hw{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class r7 extends Cw{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function g7(t){return t}var o7={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Cd={Designer:l7,Runtime:r7,Property:ql,Setting:o7},c7=Object.freeze({__proto__:null,GridLayoutWrap:Cd});f.ActionBar=qs,f.ActionSetting=La,f.Address=Vc,f.AdvancedContainer=Vs,f.Amount=Mc,f.ApprovalStatusColumn=md,f.ArrayColumn=ad,f.AssignType=Oe,f.Attachment=Oc,f.AutoNumber=Wc,f.AutoNumberColumn=rd,f.BatchDeleteButton=lc,f.BatchPrintListButton=ic,f.BatchPrintRecordListButton=uc,f.BatchSubmissionListButton=qo,f.Button=Io,f.Calc=zc,f.CardGroup=ws,f.Checkbox=dc,f.Col=Cs,f.CreateFormListButton=jo,f.CustomColumn=yd,f.DATE_CONFIG_TYPE=Fo,f.DATE_LIMIT_TYPE=So,f.Dashboard=Yo,f.DataView=Ls,f.DatePicker=gc,f.DateRange=Cc,f.DecimalColumn=nd,f.Department=jc,f.Department2=hs,f.DepartmentColumn=ld,f.DepartmentType=yi,f.DisplayText=Ac,f.Divider=Vo,f.ElectronicSignature=os,f.ElectronicSignatureConfig=To,f.Employee=Pc,f.Employee2=ls,f.EmployeeColumn=fd,f.EncryptTypeEnum=Lo,f.Explain=hi,f.ExportConfig=xo,f.ExportListButton=Uo,f.ExportRecordListButton=zo,f.ExportTemplate=Ht,f.FileColumn=od,f.FlexStyleConfig=$o,f.FormSelectButton=Go,f.Grid=bs,f.GridLayoutContainer=Ts,f.GridLayoutWrap=Cd,f.GridRow=Bs,f.GridTable=ps,f.GridTableColumn=Ss,f.Image=xc,f.ImageColumn=cd,f.ImageCompressType=ja,f.ImportConfig=Oo,f.ImportListBind=Po,f.ImportRecordListButton=Ko,f.Input=cc,f.InternalType=Ha,f.InvoiceCheckButton=nc,f.LINE_STYLE=ka,f.LimitDate=di,f.Link=Ao,f.ListHeightSetting=Na,f.ListSelectButton=Zo,f.ListView=Ms,f.ListViewSelect=ec,f.LocationColumn=dd,f.Number=vc,f.OperationButton=ac,f.OperationColumn=Ys,f.OrderColumn=Js,f.OrganizationSelection=fs,f.OrganizeType=Va,f.Page=Ns,f.Pagination=Qo,f.PeopleColumn=sd,f.Position=js,f.PositioningContainer=Hs,f.PrintTemplate=Mo,f.Radio=yc,f.ReferenceList=rc,f.RichText=wc,f.Row=Es,f.SCORE_TYPE=xa,f.SUBTABLE_DEFAULT_MAX_HEIGHT=ko,f.Score=Lc,f.SearchDateRange=Xc,f.SearchInput=ns,f.SearchNumberRange=Gc,f.Select=Fc,f.SelectMultiple=Tc,f.SelectRelation=pc,f.SimpleSearch=bd,f.Step=Us,f.StepPane=Ws,f.SubTable=Qs,f.SubTableColumn=As,f.SubTableRow=Is,f.SubmissionRecordListButton=Wo,f.Tab=Ps,f.TabPane=Rs,f.TableLayout=zs,f.TableLayoutCol=Gs,f.TableLayoutRow=Ks,f.TableLayoutWrapper=Zs,f.Text=Do,f.TextColumn=td,f.TextOcrButton=tc,f.Textarea=Ec,f.TimescopeColumn=id,f.TimestampColumn=ud,f.Title=Ho,f.TitleConfigEnum=Pe,f.Toolbox=ks,f.Tree=us,f.UndersignedPerson=Ma,f.VarcharColumn=ed,f.VueFormItem=Jc,f.VuePage=ms,f.WPS=ss,f.WPSSetting=Ro,f.WpsOperationItem=$a,f.baseControls=iD,f.columnControls=i7,f.formControls=pD,f.initExpression=jt,f.layoutControls=V8,f.listControls=K8,f.searchControls=a7,f.wrapControls=c7,Object.defineProperty(f,"__esModule",{value:!0})});
|
|
1
|
+
var s7=Object.defineProperty,d7=Object.defineProperties;var h7=Object.getOwnPropertyDescriptors;var Dd=Object.getOwnPropertySymbols,y7=Object.getPrototypeOf,f7=Object.prototype.hasOwnProperty,v7=Object.prototype.propertyIsEnumerable,m7=Reflect.get;var Ad=(f,r,z)=>r in f?s7(f,r,{enumerable:!0,configurable:!0,writable:!0,value:z}):f[r]=z,nt=(f,r)=>{for(var z in r||(r={}))f7.call(r,z)&&Ad(f,z,r[z]);if(Dd)for(var z of Dd(r))v7.call(r,z)&&Ad(f,z,r[z]);return f},Wl=(f,r)=>d7(f,h7(r));var Ul=(f,r,z)=>m7(y7(f),z,r);var zl=(f,r,z)=>new Promise((mu,Rn)=>{var gu=fe=>{try{Pt(z.next(fe))}catch(Ot){Rn(Ot)}},bu=fe=>{try{Pt(z.throw(fe))}catch(Ot){Rn(Ot)}},Pt=fe=>fe.done?mu(fe.value):Promise.resolve(fe.value).then(gu,bu);Pt((z=z.apply(f,r)).next())});(function(f,r){typeof exports=="object"&&typeof module!="undefined"?r(exports):typeof define=="function"&&define.amd?define(["exports"],r):(f=typeof globalThis!="undefined"?globalThis:f||self,r(f.modelDrivenControls={}))})(this,function(f){"use strict";const r=(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((o,d)=>{d===0?u=a[o]:u&&(u=u[o])});let l="";return u&&(l=u),e&&Object.keys(e).forEach(o=>{const d=e[o];l=l.replace(new RegExp(`\\{\\s*${o}\\s*\\}`,"g"),d)}),l||(n?l=n:l=t),l};var z="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",mu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Rn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",gu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",bu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",Pt="{caption}\u5FC5\u586B",fe="\u8BF7\u8F93\u5165\u6807\u9898",Ot="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Id="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Fd="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",Sd="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Td="\u8BF7\u7ED1\u5B9A\u8868\u5355",Rd="\u8BF7\u7ED1\u5B9A\u5217\u8868",Pd="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",Od="\u8BF7\u8F93\u5165\u663E\u793A\u503C",xd="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",kd="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Md="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",$d="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Ld="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Nd="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Vd="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Hd="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",jd="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",qd="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Wd="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Ud="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",zd="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236",Kd="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",Gd="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Zd="\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",Qd="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Jd="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Yd="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",pd="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",eh="\u8BF7\u7ED1\u5B9A\u670D\u52A1",th="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",nh="\u8BF7\u9009\u62E9\u7701",ih="\u8BF7\u9009\u62E9\u5E02",uh="\u8BF7\u9009\u62E9\u533A",ah="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",lh="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",rh="\u8BF7\u8F93\u5165\u5217\u5BBD",oh="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",ch="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",sh="\u8BF7\u9009\u62E9\u63A7\u4EF6",dh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",hh="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",yh="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",fh="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",vh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",mh="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",gh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",bh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ch="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",_h="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Eh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",wh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Dh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ah="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ih="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Fh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Sh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Th="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Rh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Ph="\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D",Oh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B",xh="\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1",kh="\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5",Mh="\u8BF7\u9009\u62E9\u5173\u8054\u4E3B\u8868\u5B57\u6BB5",$h="\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5",Lh="\u6279\u91CF\u5220\u9664",Nh="\u6279\u91CF\u6253\u5370",Vh="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",Hh="\u6309\u94AE",jh="\u521B\u5EFA\u5355\u636E",qh="\u4EEA\u8868\u76D8",Wh="\u5206\u5272\u7EBF",Uh="\u5BFC\u51FA",zh="\u8868\u5355\u64CD\u4F5C",Kh="\u5BFC\u5165",Gh="\u53D1\u7968\u8BC6\u522B",Zh="\u94FE\u63A5",Xh="\u5217\u8868\u9009\u62E9",Qh="\u5217\u8868\u89C6\u56FE",Jh="\u64CD\u4F5C\u6309\u94AE",Yh="\u5206\u9875",ph="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",ey="\u8BF4\u660E\u6587\u5B57",ty="\u6587\u5B57\u8BC6\u522B",ny="\u6807\u9898\u7EC4\u4EF6",iy="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",uy="\u6570\u7EC4",ay="\u81EA\u52A8\u7F16\u53F7",ly="\u81EA\u5B9A\u4E49",ry="\u6570\u503C",oy="\u90E8\u95E8",cy="\u4EBA\u5458",sy="\u9644\u4EF6",dy="\u56FE\u7247",hy="\u5730\u5740",yy="\u64CD\u4F5C",fy="\u5E8F\u53F7",vy="\u4EBA\u5458",my="\u957F\u6587\u672C",gy="\u65E5\u671F\u533A\u95F4",by="\u65E5\u671F",Cy="\u77ED\u6587\u672C",_y="\u6362\u884C\u5BB9\u5668Wrap",Ey="\u8868\u683C",By="\u660E\u7EC6\u5B50\u8868",wy="\u5730\u5740",Dy="\u91D1\u989D",Ay="\u8BA1\u7B97\u516C\u5F0F",Iy="\u591A\u9009",Fy="\u7535\u5B50\u7B7E\u7AE0",Sy="\u5355\u884C\u6587\u672C",Ty="\u6570\u5B57",Ry="\u4E1A\u52A1\u7EC4\u7EC7",Py="\u5355\u9009",Oy="\u5BCC\u6587\u672C",xy="\u8BC4\u5206",ky="\u6570\u5B57\u533A\u95F4",My="\u4E0B\u62C9\u5355\u9009",$y="\u4E0B\u62C9\u591A\u9009",Ly="\u5173\u8054\u5355\u9009",Ny="\u591A\u884C\u6587\u672C",Vy="\u6811",Hy="Vue\u5BB9\u5668",jy="Vue\u9875\u9762",qy="\u5728\u7EBF\u6587\u6863",Wy="\u6309\u94AE\u64CD\u4F5C\u680F",Uy="\u9AD8\u7EA7\u5BB9\u5668",zy="\u5206\u7EC4",Ky="\u6805\u683C\u5217",Gy="\u6570\u636E\u5BB9\u5668",Zy="\u753B\u5E03",Xy="\u6362\u884C\u5BB9\u5668",Qy="\u6805\u683C\u7B49\u5206\u884C",Jy="\u5217\u8868\u5BB9\u5668",Yy="\u81EA\u7531\u9875\u9762",py="\u5B9A\u4F4D\u5B50\u5BB9\u5668",ef="\u5B9A\u4F4D\u5BB9\u5668",tf="\u6805\u683C\u5E03\u5C40",nf="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",uf="\u660E\u7EC6\u5B50\u8868\u884C",af="\u6807\u7B7E\u9875",lf="\u6807\u7B7E\u5355\u5143",rf="\u5DE5\u5177\u680F",of="\u6279\u91CF\u63D0\u4EA4",cf="\u5BFC\u51FA\u8BB0\u5F55",sf="\u5217\u8868\u89C6\u56FE",df="\u7ED3\u675F\u65F6\u95F4",hf="\u5F00\u59CB\u65F6\u95F4",yf="\u5355\u4F4D",ff="\u7ED3\u679C",vf="\u5E01\u79CD",mf="\u7ED3\u675F\u65E5\u671F",gf="\u5F00\u59CB\u65E5\u671F",bf="\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0",Cf="\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1",_f="\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B",Ef="\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA",Bf="\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",wf="\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6",Df="\u8BF7\u9009\u62E9",Af="\u8BF7\u9009\u62E9\u7EC4\u7EC7",If="\u8BF7\u9009\u62E9\u90E8\u95E8",Ff="\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",Sf="\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",Tf="\u8BF7\u9009\u62E9\u5730\u5740",Rf="\u5F39\u7A97\u786E\u8BA4\u65F6",Pf="\u6807\u7B7E\u9875\u5207\u6362\u65F6",Of="\u884C\u9009\u4E2D\u65F6",xf="\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",kf="\u884C\u5220\u9664\u524D",Mf="\u884C\u70B9\u51FB\u65F6",$f="\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",Lf="\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",Nf="\u91CD\u547D\u540D\u65F6",Vf="\u4FDD\u5B58\u6587\u4EF6\u65F6",Hf="\u6253\u5F00\u6587\u4EF6\u65F6",jf="\u83B7\u53D6\u7126\u70B9\u65F6",qf="\u5931\u53BB\u7126\u70B9\u65F6",Wf="\u7528\u6237\u8F93\u5165\u65F6",Uf="\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",zf="\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",Kf="\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",Gf="\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",Zf="\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",Xf="\u641C\u7D22\u65F6",Qf="\u503C\u53D1\u751F\u53D8\u5316\u65F6",Jf="\u6267\u884C\u5B8C\u6210\u65F6",Yf="\u70B9\u51FB\u65F6",pf="\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",ev="\u8BF7\u8F93\u5165\u65E5\u671F",tv="\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7",nv="\u8BF7\u8F93\u5165",iv="\u9ED8\u8BA4\u6A21\u7248",uv="\u5DE6\u53F3\u5E03\u5C40",av="\u4E0A\u4E0B\u5E03\u5C40",lv="\u53EA\u8BFB",rv="\u5FC5\u586B",ov="\u63D0\u793A\u6587\u5B57",cv="\u9690\u85CF\u6807\u9898",sv="\u6807\u9898\u5FC5\u586B",dv="\u7EC4\u7EC7\u5F62\u6001",hv="\u4E1A\u52A1\u7C7B\u578B",yv="\u786E\u5B9A\u8981\u5220\u9664\u6B64\u6761\u6570\u636E\u5417\uFF1F",fv="\u9690\u85CF",vv="\u6D41\u7A0B\u72B6\u6001",mv="\u5BA1\u6279\u901A\u8FC7\u5355\u636E",gv="\u5220\u9664",bv="\u7F16\u8F91",Cv="\u67E5\u770B",_v="\u52A0\u8F7D\u81EA\u5B9A\u4E49\u63A7\u4EF6\u5F02\u5E38\uFF0C\u4F1A\u5F71\u54CD\u5230\u7684\u63A7\u4EF6\uFF1A{id}",Ev="\u5185\u7F6E\u7EC4\u4EF6\u52A0\u8F7D\u9519\u8BEF",Bv="\u5145\u6EE1\u6574\u884C",wv="\u6700\u5C0F\u503C",Dv="\u6700\u5927\u503C",Av="\u65B0\u5EFA\u6587\u6863",Iv="\u91CD\u7F6E",Fv="\u67E5\u8BE2",Sv="\u660E\u7EC6",Tv="\u6253\u5370",Rv="\u4FDD\u5B58\u8349\u7A3F",Pv="\u4FDD\u5B58",Ov="\u53D6\u6D88",xv="\u4E0A\u4F20\u56FE\u7247",kv="\u53D1\u8D77\u7B7E\u7F72",Mv="\u4E0A\u4F20\u9644\u4EF6",$v="\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",Lv="\u5F15\u7528\u5217\u8868",Nv="\u9009\u9879\u4E00",Vv="\u9009\u9879\u4E8C",Hv="\u9009\u9879\u4E09",jv={isNotNumber:z,isNotString:mu,isNotObject:Rn,isNotArray:gu,isNotBoolean:bu,runtimeRequired:Pt,pleaseEnterCaption:fe,pleaseEnterCaptionTip:Ot,pleaseEnterRowCaption:Id,pleaseEnterPlaceholder:Fd,pleaseEnterFieldCode:Sd,pleaseEnterForm:Td,pleaseEnterList:Rd,pleaseEnterProcess:Pd,pleaseEnterLabel:Od,pleaseEnterValue:xd,bizKeyNotBindFiled:kd,pleaseSelectOneField:Md,pleaseEnterNumberRange:$d,pleaseEnterAValueGreaterThanMin:Ld,pleaseEnterAValueLessThanMax:Nd,numberRangeSetError:Vd,stringRangeError:Hd,attachmentMaxSize:jd,pleaseEnterTotalScoreSetting:qd,theTotalScoreMustNotBeLessThan1:Wd,scoreDefaultValueRange:Ud,attachmentLimitError:zd,PleaseReselectTheOptionalQuantity:Kd,TheMaximumLengthIsGreaterThanTheMinimumLength:Gd,TheMinimumLengthIsGreaterThanTheMaximumLength:Zd,PleaseSelectTheCorrectOptionSettings:Xd,optionIdIsRepeat:Qd,optionIsRequired:Jd,pleaseEnterDataCode:Yd,pleaseEnterValueFieldCode:pd,pleaseEnterSvcCode:eh,pleaseBindAtLeastOneDisplayValue:th,pleaseSelectProvince:nh,pleaseSelectCity:ih,pleaseSelectDistrict:uh,limitRowsCannotBeLessThan0:ah,TheNumberOfRowsCannotBeLessThanMinRows:lh,pleaseEnterColumnWidth:rh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:oh,pleaseCompleteAllRulesAndConditions:ch,pleaseSelectControl:sh,pleaseSelectAtLeastOneColumn:dh,pleaseSelectFillBackMode:hh,pleaseSelectDashboard:yh,rootNodeIsRequired:fh,theViewNameCannotBeEmpty:vh,pleaseSelectOcrType:mh,pleaseSelectAtLeastOneFieldToFillIn:gh,pleaseChooseAtLeastOne:bh,pleaseEnterButtonContent:Ch,pleaseEnterDataCodeInDataSetting:_h,pleaseEnterValueFieldCodeInDataSetting:Eh,pleaseEnterSvcCodeInDataSetting:Bh,pleaseBindAtLeastOneDisplayValueInDataSetting:wh,rootNodeIsRequiredInDataSetting:Dh,pleaseEnterMaxHeight:Ah,pleaseEnterWatermark:Ih,pleaseEnterFileName:Fh,pleaseUploadAtLeastOnePrintTemplate:Sh,pleaseAssignBusiness:Th,pleaseAssignExternal:Rh,pleaseEnterAliasCode:Ph,pleaseSelectDataCode:Oh,pleaseSelectSvcCode:xh,pleaseSelectJoinFieldCode:kh,pleaseSelectMainFieldCode:Mh,pleaseSelectSortFieldCode:$h,batchDeleteButton:Lh,batchPrintListButton:Nh,batchPrintRecordList:Vh,button:Hh,createFormListButton:jh,dashboard:qh,divider:Wh,exportListButton:Uh,formSelectButton:zh,importRecordListButton:Kh,invoiceCheckButton:Gh,link:Zh,listSelectButton:Xh,ListViewSelect:Qh,operationButton:Jh,pagination:Yh,submissionRecordListButton:ph,text:ey,textOcrButton:ty,title:ny,approvalStatusColumn:iy,array:uy,autoNumber:ay,custom:ly,decimal:ry,department:oy,employee:cy,file:sy,image:dy,location:hy,operation:yy,order:fy,people:vy,long:my,timescope:gy,timestamp:by,varchar:Cy,gridLayoutWrap:_y,gridTable:Ey,subTable:By,address:wy,amount:Dy,calc:Ay,checkBox:Iy,electronicSignature:Fy,input:Sy,number:Ty,organizationSelection:Ry,radio:Py,richText:Oy,score:xy,searchNumberRange:ky,select:My,selectMultiple:$y,selectRelation:Ly,textarea:Ny,tree:Vy,vueFormItem:Hy,vuePage:jy,WPS:qy,actionBar:Wy,advancedContainer:Uy,cardGroup:zy,col:Ky,dataView:Gy,grid:Zy,gridLayoutContainer:Xy,gridRow:Qy,listView:Jy,page:Yy,position:py,positioningContainer:ef,row:tf,subtableColumn:nf,subtableRow:uf,tab:af,tabPane:lf,toolbox:rf,batchSubmissionListButton:of,exportRecordListButton:cf,listViewSelect:sf,endTime:df,startTime:hf,unit:yf,result:ff,currency:vf,endDate:mf,startDate:gf,pleaseSelectCompanyName:bf,pleaseSelectPhoneOrEmail:Cf,pleaseSelectSignType:_f,pleaseSelectSigner:Ef,pleaseSelectOnlyOne:Bf,pleaseSelectSignFile:wf,pleaseSelect:Df,pleaseSelectOrg:Af,pleaseSelectDept:If,pleaseSelectEndDate:Ff,pleaseSelectStartDate:Sf,pleaseChooseAddress:Tf,modalConfirm:Rf,tabChange:Pf,rowSelected:Of,listDataImport:xf,rowDelete:kf,rowClick:Mf,cellRender:$f,onClickBtn:Lf,rename:Nf,onSaveFile:Vf,onOpenFile:Hf,onFocus:jf,onBlur:qf,onInput:Wf,listDataAdd:Uf,listDataDelete:zf,listDataBack:Kf,listDataCreate:Gf,listDataChange:Zf,search:Xf,valueChange:Qf,finished:Jf,click:Yf,pleaseEnterNameorEmail:pf,pleaseEnterDate:ev,pleaseEnterAutonumber:tv,pleaseEnter:nv,defaultTemplate:iv,left:uv,top:av,default:"\u666E\u901A",readonly:lv,required:rv,textTip:ov,hideCaption:cv,titleRequired:sv,organizationalForm:dv,businessType:hv,deleteConfirm:yv,hide:fv,processStatus:vv,approvedDocuments:mv,delete:gv,edit:bv,view:Cv,loadCtrlErrorTip:_v,loadCtrlError:Ev,fullLine:Bv,min:wv,max:Dv,createWPS:Av,reset:Iv,query:Fv,detailed:Sv,print:Tv,draft:Rv,save:Pv,cancel:Ov,uploadImg:xv,signature:kv,uploadFile:Mv,linkContent:$v,referenceList:Lv,optionOne:Nv,optionTwo:Vv,optionThird:Hv},qv="Please enter a number",Wv="Please enter a string",Uv="Please enter an object",zv="Please enter an array",Kv="Please enter a boolean",Gv="{caption} Required",Zv="Please enter the title",Xv="Please enter the bubble prompt",Qv="Please enter the row title",Jv="Please enter the prompt text",Yv="Please bind data items",pv="Please bind the form",em="Please bind the list",tm="Please bind the process",nm="Please enter the displayed value",im="Please enter the stored value",um="The document number is not bound to the data item",am="Please select at least one display field",lm="Please enter a value greater than or equal to {min} and less than or equal to {max}",rm="Please enter a value greater than or equal to {min}",om="Please enter a value less than or equal to {max}",cm="The value range is set incorrectly",sm="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",dm="The attachment size must be between 0MB and 1000MB",hm="Please fill in the total score setting",ym="The total score cannot be less than 1",fm="The default value must be between {min} and {max}",vm="The number of attachment uploads exceeds the limit",mm="Please re-select the optional quantity",gm="The maximum length of the control must be greater than the minimum length",bm="The minimum length of the control must be less than the maximum length",Cm="Please select the correct option setting",_m="Option ID cannot be repeated",Em="Please enter at least one option",Bm="Please bind the data source",wm="Please bind the stored value",Dm="Please bind the service",Am="At least one display value must be bound",Im="Please select a province",Fm="Please select a city",Sm="Please select a district",Tm="The minimum number of lines to fill in cannot be less than 0",Rm="The number of rows cannot be less than {min} rows",Pm="Please enter the column width",Om="Please set the logical relationship of all rule conditions",xm="Please complete all rules and conditions",km="please select control",Mm="Please select the dashboard",$m="View name cannot be empty",Lm="Please select recognition type",Nm="Please select at least one field to fill in",Vm="Please select at least one",Hm="Please enter the button title",jm="Please bind the business model in the data settings",qm="Please bind storage values in data settings",Wm="Please bind the service in the data settings",Um="Please bind at least one display value in the data settings",zm="Please select the root node in the data settings",Km="Please enter the maximum height",Gm="The input content cannot be empty",Zm="Watermark cannot be empty",Xm="File name cannot be empty",Qm="Please upload at least one printing template!\uFF01",Jm="Please select a specific business department",Ym="Please select a specified external organization",pm="Please enter a sub table alias",e0="Please select the associated table to set the business model",t0="Please select the association table to set the binding service",n0="Select associated sub table fields",i0="Please select the associated main table field",u0="Please select the sort field",a0="\u6279\u91CF\u5220\u9664",l0="\u6279\u91CF\u6253\u5370",r0="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",o0="\u6309\u94AE",c0="\u521B\u5EFA\u5355\u636E",s0="\u4EEA\u8868\u76D8",d0="\u5206\u5272\u7EBF",h0="\u5BFC\u51FA",y0="\u8868\u5355\u64CD\u4F5C",f0="\u5BFC\u5165",v0="\u53D1\u7968\u8BC6\u522B",m0="\u94FE\u63A5",g0="\u5217\u8868\u9009\u62E9",b0="\u5217\u8868\u89C6\u56FE",C0="\u64CD\u4F5C\u6309\u94AE",_0="\u5206\u9875",E0="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",B0="\u8BF4\u660E\u6587\u5B57",w0="\u6587\u5B57\u8BC6\u522B",D0="\u6807\u9898\u7EC4\u4EF6",A0="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",I0="\u6570\u7EC4",F0="\u81EA\u52A8\u7F16\u53F7",S0="\u81EA\u5B9A\u4E49",T0="\u6570\u503C",R0="\u90E8\u95E8",P0="\u4EBA\u5458",O0="\u9644\u4EF6",x0="\u56FE\u7247",k0="\u5730\u5740",M0="\u64CD\u4F5C",$0="\u5E8F\u53F7",L0="\u4EBA\u5458",N0="\u957F\u6587\u672C",V0="\u65E5\u671F\u533A\u95F4",H0="\u65E5\u671F",j0="\u77ED\u6587\u672C",q0="\u6362\u884C\u5BB9\u5668Wrap",W0="\u8868\u683C",U0="\u660E\u7EC6\u5B50\u8868",z0="\u5730\u5740",K0="\u91D1\u989D",G0="\u8BA1\u7B97\u516C\u5F0F",Z0="\u591A\u9009",X0="\u7535\u5B50\u7B7E\u7AE0",Q0="\u5355\u884C\u6587\u672C",J0="\u6570\u5B57",Y0="\u4E1A\u52A1\u7EC4\u7EC7",p0="\u5355\u9009",eg="\u5BCC\u6587\u672C",tg="\u8BC4\u5206",ng="\u6570\u5B57\u533A\u95F4",ig="\u4E0B\u62C9\u5355\u9009",ug="\u4E0B\u62C9\u591A\u9009",ag="\u5173\u8054\u5355\u9009",lg="\u591A\u884C\u6587\u672C",rg="\u6811",og="Vue\u5BB9\u5668",cg="Vue\u9875\u9762",sg="\u5728\u7EBF\u6587\u6863",dg="\u6309\u94AE\u64CD\u4F5C\u680F",hg="\u9AD8\u7EA7\u5BB9\u5668",yg="\u5206\u7EC4",fg="\u6805\u683C\u5217",vg="\u6570\u636E\u5BB9\u5668",mg="\u753B\u5E03",gg="\u6362\u884C\u5BB9\u5668",bg="\u6805\u683C\u7B49\u5206\u884C",Cg="\u5217\u8868\u5BB9\u5668",_g="\u81EA\u7531\u9875\u9762",Eg="\u5B9A\u4F4D\u5B50\u5BB9\u5668",Bg="\u5B9A\u4F4D\u5BB9\u5668",wg="\u6805\u683C\u5E03\u5C40",Dg="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",Ag="\u660E\u7EC6\u5B50\u8868\u884C",Ig="\u6807\u7B7E\u9875",Fg="\u6807\u7B7E\u5355\u5143",Sg="\u5DE5\u5177\u680F",Tg="\u6279\u91CF\u63D0\u4EA4",Rg="\u5BFC\u51FA\u8BB0\u5F55",Pg="\u5217\u8868\u89C6\u56FE",Og="\u5F15\u7528\u5217\u8868",xg="\u9009\u9879\u4E00",kg="\u9009\u9879\u4E8C",Mg="\u9009\u9879\u4E09",$g={isNotNumber:qv,isNotString:Wv,isNotObject:Uv,isNotArray:zv,isNotBoolean:Kv,runtimeRequired:Gv,pleaseEnterCaption:Zv,pleaseEnterCaptionTip:Xv,pleaseEnterRowCaption:Qv,pleaseEnterPlaceholder:Jv,pleaseEnterFieldCode:Yv,pleaseEnterForm:pv,pleaseEnterList:em,pleaseEnterProcess:tm,pleaseEnterLabel:nm,pleaseEnterValue:im,bizKeyNotBindFiled:um,pleaseSelectOneField:am,pleaseEnterNumberRange:lm,pleaseEnterAValueGreaterThanMin:rm,pleaseEnterAValueLessThanMax:om,numberRangeSetError:cm,stringRangeError:sm,attachmentMaxSize:dm,pleaseEnterTotalScoreSetting:hm,theTotalScoreMustNotBeLessThan1:ym,scoreDefaultValueRange:fm,attachmentLimitError:vm,PleaseReselectTheOptionalQuantity:mm,TheMaximumLengthIsGreaterThanTheMinimumLength:gm,TheMinimumLengthIsGreaterThanTheMaximumLength:bm,PleaseSelectTheCorrectOptionSettings:Cm,optionIdIsRepeat:_m,optionIsRequired:Em,pleaseEnterDataCode:Bm,pleaseEnterValueFieldCode:wm,pleaseEnterSvcCode:Dm,pleaseBindAtLeastOneDisplayValue:Am,pleaseSelectProvince:Im,pleaseSelectCity:Fm,pleaseSelectDistrict:Sm,limitRowsCannotBeLessThan0:Tm,TheNumberOfRowsCannotBeLessThanMinRows:Rm,pleaseEnterColumnWidth:Pm,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Om,pleaseCompleteAllRulesAndConditions:xm,pleaseSelectControl:km,pleaseSelectDashboard:Mm,theViewNameCannotBeEmpty:$m,pleaseSelectOcrType:Lm,pleaseSelectAtLeastOneFieldToFillIn:Nm,pleaseChooseAtLeastOne:Vm,pleaseEnterButtonContent:Hm,pleaseEnterDataCodeInDataSetting:jm,pleaseEnterValueFieldCodeInDataSetting:qm,pleaseEnterSvcCodeInDataSetting:Wm,pleaseBindAtLeastOneDisplayValueInDataSetting:Um,rootNodeIsRequiredInDataSetting:zm,pleaseEnterMaxHeight:Km,pleaseEnter:Gm,pleaseEnterWatermark:Zm,pleaseEnterFileName:Xm,pleaseUploadAtLeastOnePrintTemplate:Qm,pleaseAssignBusiness:Jm,pleaseAssignExternal:Ym,pleaseEnterAliasCode:pm,pleaseSelectDataCode:e0,pleaseSelectSvcCode:t0,pleaseSelectJoinFieldCode:n0,pleaseSelectMainFieldCode:i0,pleaseSelectSortFieldCode:u0,batchDeleteButton:a0,batchPrintListButton:l0,batchPrintRecordList:r0,button:o0,createFormListButton:c0,dashboard:s0,divider:d0,exportListButton:h0,formSelectButton:y0,importRecordListButton:f0,invoiceCheckButton:v0,link:m0,listSelectButton:g0,ListViewSelect:b0,operationButton:C0,pagination:_0,submissionRecordListButton:E0,text:B0,textOcrButton:w0,title:D0,approvalStatusColumn:A0,array:I0,autoNumber:F0,custom:S0,decimal:T0,department:R0,employee:P0,file:O0,image:x0,location:k0,operation:M0,order:$0,people:L0,long:N0,timescope:V0,timestamp:H0,varchar:j0,gridLayoutWrap:q0,gridTable:W0,subTable:U0,address:z0,amount:K0,calc:G0,checkBox:Z0,electronicSignature:X0,input:Q0,number:J0,organizationSelection:Y0,radio:p0,richText:eg,score:tg,searchNumberRange:ng,select:ig,selectMultiple:ug,selectRelation:ag,textarea:lg,tree:rg,vueFormItem:og,vuePage:cg,WPS:sg,actionBar:dg,advancedContainer:hg,cardGroup:yg,col:fg,dataView:vg,grid:mg,gridLayoutContainer:gg,gridRow:bg,listView:Cg,page:_g,position:Eg,positioningContainer:Bg,row:wg,subtableColumn:Dg,subtableRow:Ag,tab:Ig,tabPane:Fg,toolbox:Sg,batchSubmissionListButton:Tg,exportRecordListButton:Rg,listViewSelect:Pg,referenceList:Og,optionOne:xg,optionTwo:kg,optionThird:Mg},Lg="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ng="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Vg="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Hg="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",jg="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",qg="{caption}\u5FC5\u9808",Wg="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ug="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",zg="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Kg="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Gg="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Zg="\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",Qg="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Jg="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Yg="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",pg="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",eb="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",tb="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",nb="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ib="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",ub="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",ab="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",lb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",rb="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",ob="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",cb="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",sb="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306E\u30A2\u30C3\u30D7\u30ED\u30FC\u30C9\u6570\u304C\u5236\u9650\u3092\u8D85\u3048\u3066\u3044\u307E\u3059",db="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hb="\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",yb="\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",fb="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",vb="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",mb="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",gb="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",bb="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Cb="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",_b="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Eb="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Bb="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",wb="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Db="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Ab="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Ib="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Fb="\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",Tb="please select control",Rb="\u30C0\u30C3\u30B7\u30E5\u30DC\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Pb="\u30D3\u30E5\u30FC\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ob="\u8B58\u5225\u30BF\u30A4\u30D7\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",xb="\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",kb="\u5C11\u306A\u304F\u3068\u30821\u3064\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Mb="\u30DC\u30BF\u30F3\u306E\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",$b="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30D3\u30B8\u30CD\u30B9\u30E2\u30C7\u30EB\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Lb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u306B\u683C\u7D0D\u5024\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Nb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30B5\u30FC\u30D3\u30B9\u3092\u30D0\u30A4\u30F3\u30C9\u3057\u3066\u304F\u3060\u3055\u3044",Vb="\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",Hb="\u30C7\u30FC\u30BF\u8A2D\u5B9A\u3067\u30EB\u30FC\u30C8\u30CE\u30FC\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",jb="\u6700\u5927\u9AD8\u3055\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",qb="\u5165\u529B\u5185\u5BB9\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Wb="\u900F\u304B\u3057\u3092\u7A7A\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",Ub="\u30D5\u30A1\u30A4\u30EB\u540D\u3092\u7A7A\u767D\u306B\u3059\u308B\u3053\u3068\u306F\u3067\u304D\u307E\u305B\u3093",zb="\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",Kb="\u6307\u5B9A\u3055\u308C\u305F\u30D3\u30B8\u30CD\u30B9\u90E8\u9580\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Gb="\u5916\u90E8\u7D44\u7E54\u306E\u6307\u5B9A\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Zb="\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",Qb="\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",Jb="\u95A2\u9023\u30B5\u30D6\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u306E\u9078\u629E",Yb="\u95A2\u9023\u30DE\u30B9\u30BF\u30FC\u30C6\u30FC\u30D6\u30EB\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",pb="\u30BD\u30FC\u30C8\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",eC="\u6279\u91CF\u5220\u9664",tC="\u6279\u91CF\u6253\u5370",nC="\u6279\u91CF\u6253\u5370\u8BB0\u5F55",iC="\u6309\u94AE",uC="\u521B\u5EFA\u5355\u636E",aC="\u4EEA\u8868\u76D8",lC="\u5206\u5272\u7EBF",rC="\u5BFC\u51FA",oC="\u8868\u5355\u64CD\u4F5C",cC="\u5BFC\u5165",sC="\u53D1\u7968\u8BC6\u522B",dC="\u94FE\u63A5",hC="\u5217\u8868\u9009\u62E9",yC="\u5217\u8868\u89C6\u56FE",fC="\u64CD\u4F5C\u6309\u94AE",vC="\u5206\u9875",mC="\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55",gC="\u8BF4\u660E\u6587\u5B57",bC="\u6587\u5B57\u8BC6\u522B",CC="\u6807\u9898\u7EC4\u4EF6",_C="\u5F53\u524D\u5BA1\u6279\u72B6\u6001",EC="\u6570\u7EC4",BC="\u81EA\u52A8\u7F16\u53F7",wC="\u81EA\u5B9A\u4E49",DC="\u6570\u503C",AC="\u90E8\u95E8",IC="\u4EBA\u5458",FC="\u9644\u4EF6",SC="\u56FE\u7247",TC="\u5730\u5740",RC="\u64CD\u4F5C",PC="\u5E8F\u53F7",OC="\u4EBA\u5458",xC="\u957F\u6587\u672C",kC="\u65E5\u671F\u533A\u95F4",MC="\u65E5\u671F",$C="\u77ED\u6587\u672C",LC="\u6362\u884C\u5BB9\u5668Wrap",NC="\u8868\u683C",VC="\u660E\u7EC6\u5B50\u8868",HC="\u5730\u5740",jC="\u91D1\u989D",qC="\u8BA1\u7B97\u516C\u5F0F",WC="\u591A\u9009",UC="\u7535\u5B50\u7B7E\u7AE0",zC="\u5355\u884C\u6587\u672C",KC="\u6570\u5B57",GC="\u4E1A\u52A1\u7EC4\u7EC7",ZC="\u5355\u9009",XC="\u5BCC\u6587\u672C",QC="\u8BC4\u5206",JC="\u6570\u5B57\u533A\u95F4",YC="\u4E0B\u62C9\u5355\u9009",pC="\u4E0B\u62C9\u591A\u9009",e5="\u5173\u8054\u5355\u9009",t5="\u591A\u884C\u6587\u672C",n5="\u6811",i5="Vue\u5BB9\u5668",u5="Vue\u9875\u9762",a5="\u5728\u7EBF\u6587\u6863",l5="\u6309\u94AE\u64CD\u4F5C\u680F",r5="\u9AD8\u7EA7\u5BB9\u5668",o5="\u5206\u7EC4",c5="\u6805\u683C\u5217",s5="\u6570\u636E\u5BB9\u5668",d5="\u753B\u5E03",h5="\u6362\u884C\u5BB9\u5668",y5="\u6805\u683C\u7B49\u5206\u884C",f5="\u5217\u8868\u5BB9\u5668",v5="\u81EA\u7531\u9875\u9762",m5="\u5B9A\u4F4D\u5B50\u5BB9\u5668",g5="\u5B9A\u4F4D\u5BB9\u5668",b5="\u6805\u683C\u5E03\u5C40",C5="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",_5="\u660E\u7EC6\u5B50\u8868\u884C",E5="\u6807\u7B7E\u9875",B5="\u6807\u7B7E\u5355\u5143",w5="\u5DE5\u5177\u680F",D5="\u6279\u91CF\u63D0\u4EA4",A5="\u5BFC\u51FA\u8BB0\u5F55",I5="\u5217\u8868\u89C6\u56FE",F5="\u5F15\u7528\u5217\u8868",S5="\u9009\u9879\u4E00",T5="\u9009\u9879\u4E8C",R5="\u9009\u9879\u4E09",P5={isNotNumber:Lg,isNotString:Ng,isNotObject:Vg,isNotArray:Hg,isNotBoolean:jg,runtimeRequired:qg,pleaseEnterCaption:Wg,pleaseEnterCaptionTip:Ug,pleaseEnterRowCaption:zg,pleaseEnterPlaceholder:Kg,pleaseEnterFieldCode:Gg,pleaseEnterForm:Zg,pleaseEnterList:Xg,pleaseEnterProcess:Qg,pleaseEnterLabel:Jg,pleaseEnterValue:Yg,bizKeyNotBindFiled:pg,pleaseSelectOneField:eb,pleaseEnterNumberRange:tb,pleaseEnterAValueGreaterThanMin:nb,pleaseEnterAValueLessThanMax:ib,numberRangeSetError:ub,stringRangeError:ab,attachmentMaxSize:lb,pleaseEnterTotalScoreSetting:rb,theTotalScoreMustNotBeLessThan1:ob,scoreDefaultValueRange:cb,attachmentLimitError:sb,PleaseReselectTheOptionalQuantity:db,TheMaximumLengthIsGreaterThanTheMinimumLength:hb,TheMinimumLengthIsGreaterThanTheMaximumLength:yb,PleaseSelectTheCorrectOptionSettings:fb,optionIdIsRepeat:vb,optionIsRequired:mb,pleaseEnterDataCode:gb,pleaseEnterValueFieldCode:bb,pleaseEnterSvcCode:Cb,pleaseBindAtLeastOneDisplayValue:_b,pleaseSelectProvince:Eb,pleaseSelectCity:Bb,pleaseSelectDistrict:wb,limitRowsCannotBeLessThan0:Db,TheNumberOfRowsCannotBeLessThanMinRows:Ab,pleaseEnterColumnWidth:Ib,pleaseSetTheLogicalRelationshipOfAllRuleConditions:Fb,pleaseCompleteAllRulesAndConditions:Sb,pleaseSelectControl:Tb,pleaseSelectDashboard:Rb,theViewNameCannotBeEmpty:Pb,pleaseSelectOcrType:Ob,pleaseSelectAtLeastOneFieldToFillIn:xb,pleaseChooseAtLeastOne:kb,pleaseEnterButtonContent:Mb,pleaseEnterDataCodeInDataSetting:$b,pleaseEnterValueFieldCodeInDataSetting:Lb,pleaseEnterSvcCodeInDataSetting:Nb,pleaseBindAtLeastOneDisplayValueInDataSetting:Vb,rootNodeIsRequiredInDataSetting:Hb,pleaseEnterMaxHeight:jb,pleaseEnter:qb,pleaseEnterWatermark:Wb,pleaseEnterFileName:Ub,pleaseUploadAtLeastOnePrintTemplate:zb,pleaseAssignBusiness:Kb,pleaseAssignExternal:Gb,pleaseEnterAliasCode:Zb,pleaseSelectDataCode:Xb,pleaseSelectSvcCode:Qb,pleaseSelectJoinFieldCode:Jb,pleaseSelectMainFieldCode:Yb,pleaseSelectSortFieldCode:pb,batchDeleteButton:eC,batchPrintListButton:tC,batchPrintRecordList:nC,button:iC,createFormListButton:uC,dashboard:aC,divider:lC,exportListButton:rC,formSelectButton:oC,importRecordListButton:cC,invoiceCheckButton:sC,link:dC,listSelectButton:hC,ListViewSelect:yC,operationButton:fC,pagination:vC,submissionRecordListButton:mC,text:gC,textOcrButton:bC,title:CC,approvalStatusColumn:_C,array:EC,autoNumber:BC,custom:wC,decimal:DC,department:AC,employee:IC,file:FC,image:SC,location:TC,operation:RC,order:PC,people:OC,long:xC,timescope:kC,timestamp:MC,varchar:$C,gridLayoutWrap:LC,gridTable:NC,subTable:VC,address:HC,amount:jC,calc:qC,checkBox:WC,electronicSignature:UC,input:zC,number:KC,organizationSelection:GC,radio:ZC,richText:XC,score:QC,searchNumberRange:JC,select:YC,selectMultiple:pC,selectRelation:e5,textarea:t5,tree:n5,vueFormItem:i5,vuePage:u5,WPS:a5,actionBar:l5,advancedContainer:r5,cardGroup:o5,col:c5,dataView:s5,grid:d5,gridLayoutContainer:h5,gridRow:y5,listView:f5,page:v5,position:m5,positioningContainer:g5,row:b5,subtableColumn:C5,subtableRow:_5,tab:E5,tabPane:B5,toolbox:w5,batchSubmissionListButton:D5,exportRecordListButton:A5,listViewSelect:I5,referenceList:F5,optionOne:S5,optionTwo:T5,optionThird:R5},Cu={zhCN:jv,enUS:$g,jaJP:P5},_u,O5=(_u=window.localStorage.getItem("locale"))!==null&&_u!==void 0?_u:"zh-CN",Pn=function(t){return t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search",t}({}),D=function(t){return t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.DISPLAY_TEXT="display-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.TABLE_LAYOUT="table-layout",t.TABLE_LAYOUT_ROW="table-layout-row",t.TABLE_LAYOUT_COL="table-layout-col",t.TABLE_LAYOUT_WRAPPER="table-layout-wrapper",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",t.STEP="step",t.STEP_PANE="step-pane",t}({}),b=function(t){return 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",t}({}),it=function(t){return t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime",t}({}),Kl={DEFAULT:"default"},Gl="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",x5=Gl+"0123456789";function se(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?Gl:x5,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return e}function Eu(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 k5(t){if(Array.isArray(t))return Eu(t)}function M5(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Zl(t,e,n){return e=xt(e),V5(t,wu()?Reflect.construct(e,n||[],xt(t).constructor):e.apply(t,n))}function Xl(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function On(t,e,n){return wu()?On=Reflect.construct:On=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&kt(s,l.prototype),s},On.apply(null,arguments)}function xt(t){return xt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xt(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&&kt(t,e)}function $5(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function L5(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function N5(){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 V5(t,e){return e&&(H5(e)==="object"||typeof e=="function")?e:M5(t)}function kt(t,e){return kt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},kt(t,e)}function Jl(t){return k5(t)||L5(t)||j5(t)||N5()}function H5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function j5(t,e){if(!!t){if(typeof t=="string")return Eu(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 Eu(t,e)}}function Bu(t){var e=typeof Map=="function"?new Map:void 0;return Bu=function(i){if(i===null||!$5(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 On(i,arguments,xt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),kt(u,i)},Bu(t)}function wu(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(wu=function(){return!!t})()}var Du=console;function Au(){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=Du).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Jl(u)))}function Yl(){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=Du).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Jl(u)))}function q5(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Iu=function(t){Ql(e,t);function e(n){Xl(this,e);var i;return i=Zl(this,e,[n]),i.name="\u{1F4A5} Driven Error",i.message=n?q5(n):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",i}return e}(Bu(Error)),W5=function(t){Ql(e,t);function e(n){Xl(this,e);var i;return i=Zl(this,e,[n]),i.name="\u{1F6A8} Driven Reference Error",i}return e}(Iu);function Mt(t){throw new Iu(t)}function pl(t){throw new W5(t)}function U5(t){Du.error(new Iu(t))}function z5(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function er(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 K5(t,e,n){return e&&er(t.prototype,e),n&&er(t,n),t}function G5(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var tr=function(){function t(){z5(this,t)}return K5(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},u;return r("CMD."+n,i,Cu==null||(u=Cu[O5.split("-").join("")])===null||u===void 0?void 0:u[n])}},{key:"resetI18n",value:function(){}},{key:"setLocale",value:function(n,i){}}]),t}();G5(tr,"$i18n",tr.resetI18n());function Z5(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,l){return"."+l}).split("."),u=!1;return i.reduce(function(a,l,o,d){var s=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,l)){Au("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 o===d.length-1&&!Object.is(s[l],n)&&(s[l]=n,u=!0),s[l]}},t),u}var X5=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Q5={exports:{}};(function(t){(function(e){var n=function(v,E,$){if(!s(E)||m(E)||g(E)||_(E)||d(E))return E;var R,M=0,ue=0;if(y(E))for(R=[],ue=E.length;M<ue;M++)R.push(n(v,E[M],$));else{R={};for(var L in E)Object.prototype.hasOwnProperty.call(E,L)&&(R[v(L,$)]=n(v,E[L],$))}return R},i=function(v,E){E=E||{};var $=E.separator||"_",R=E.split||/(?=[A-Z])/;return v.split(R).join($)},u=function(v){return B(v)?v:(v=v.replace(/[\-_\s]+(.)?/g,function(E,$){return $?$.toUpperCase():""}),v.substr(0,1).toLowerCase()+v.substr(1))},a=function(v){var E=u(v);return E.substr(0,1).toUpperCase()+E.substr(1)},l=function(v,E){return i(v,E).toLowerCase()},o=Object.prototype.toString,d=function(v){return typeof v=="function"},s=function(v){return v===Object(v)},y=function(v){return o.call(v)=="[object Array]"},m=function(v){return o.call(v)=="[object Date]"},g=function(v){return o.call(v)=="[object RegExp]"},_=function(v){return o.call(v)=="[object Boolean]"},B=function(v){return v=v-0,v===v},C=function(v,E){var $=E&&"process"in E?E.process:E;return typeof $!="function"?v:function(R,M){return $(R,v,M)}},w={camelize:u,decamelize:l,pascalize:a,depascalize:l,camelizeKeys:function(v,E){return n(C(u,E),v)},decamelizeKeys:function(v,E){return n(C(l,E),v,E)},pascalizeKeys:function(v,E){return n(C(a,E),v)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=w:e.humps=w})(X5)})(Q5);var nr={};Object.defineProperty(nr,"__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 J5=nr.default=Fu;function Y5(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oe(t){if(t!==void 0)return(typeof t=="undefined"?"undefined":Y5(t))==="object"?J5(t):t}function p5(t){return Object.prototype.toString.call(t)==="[object Object]"}function xn(t){return Array.isArray(t)}function e_(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Su(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function t_(t){if(Array.isArray(t))return Su(t)}function ir(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function n_(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){ir(a,i,u,l,o,"next",d)}function o(d){ir(a,i,u,l,o,"throw",d)}l(void 0)})}}function i_(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 u_(t,e,n){return e&&ur(t.prototype,e),n&&ur(t,n),t}function ar(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function a_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function l_(){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 Tu(t){return t_(t)||a_(t)||r_(t)||l_()}function r_(t,e){if(!!t){if(typeof t=="string")return Su(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Su(t,e)}}function o_(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(y){return d([s,y])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(y){s=[6,y],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var c_=function(){function t(){i_(this,t),ar(this,"_events",new Map),ar(this,"debug",!1)}return u_(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];return n_(function(){var l,o,d,s,y,m,g,_,B,C,w,v;return o_(this,function(E){switch(E.label){case 0:if(l=this._events.get(n),o=[],!l)return[3,10];d=l.slice(),s=!0,y=!1,m=void 0,E.label=1;case 1:E.trys.push([1,8,9,10]),g=d[Symbol.iterator](),E.label=2;case 2:if(s=(_=g.next()).done)return[3,7];if(B=_.value,!l.includes(B))return[3,6];E.label=3;case 3:return E.trys.push([3,5,,6]),this.debug&&Yl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(Tu(u))),[4,B.apply(null,Tu(u))];case 4:return C=E.sent(),this.debug&&Yl.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(B.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+B.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(Tu(u),[C])),o.push(C),C===!1?[3,7]:[3,6];case 5:return w=E.sent(),U5(String(w)+":"+String(w.stack)),[3,6];case 6:return s=!0,[3,2];case 7:return[3,10];case 8:return v=E.sent(),y=!0,m=v,[3,10];case 9:try{!s&&g.return!=null&&g.return()}finally{if(y)throw m}return[7];case 10:return[2,o]}})}).call(this)}},{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 s_(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function lr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function d_(t,e,n){return e&&lr(t.prototype,e),n&&lr(t,n),t}function h_(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var y_=[{key:"on_click",name:r("CMD.click",null,"\u70B9\u51FB\u65F6"),code:"click"},{key:"on_click_finish",name:r("CMD.finished",null,"\u6267\u884C\u5B8C\u6210\u65F6"),code:"click-finish"},{key:"on_change",name:r("CMD.valueChange",null,"\u503C\u53D1\u751F\u53D8\u5316\u65F6"),code:"change"},{key:"on_search",name:r("CMD.search",null,"\u641C\u7D22\u65F6"),code:"search"},{key:"on_file_actions",name:r("CMD.onClickFileBtn",null,"\u70B9\u51FB\u6587\u4EF6\u6309\u94AE\u65F6"),code:"file-actions"},{key:"on_list_change",name:r("CMD.listDataChange",null,"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6"),code:"list-change"},{key:"on_list_search",name:r("CMD.listDataCreate",null,"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6"),code:"list-search"},{key:"on_list_mounted",name:r("CMD.listDataBack",null,"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6"),code:"list-mounted"},{key:"on_list_delete",name:r("CMD.listDataDelete",null,"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6"),code:"list-delete"},{key:"on_list_before_insert",name:r("CMD.listDataAdd",null,"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D"),code:"list-before-insert"},{key:"on_input",name:r("CMD.onInput",null,"\u7528\u6237\u8F93\u5165\u65F6"),code:"input"},{key:"on_blur",name:r("CMD.onBlur",null,"\u5931\u53BB\u7126\u70B9\u65F6"),code:"blur"},{key:"on_focus",name:r("CMD.onFocus",null,"\u83B7\u53D6\u7126\u70B9\u65F6"),code:"focus"},{key:"on_wps_open",name:r("CMD.onOpenFile",null,"\u6253\u5F00\u6587\u4EF6\u65F6"),code:"wps-open"},{key:"on_wps_save",name:r("CMD.onSaveFile",null,"\u4FDD\u5B58\u6587\u4EF6\u65F6"),code:"wps-save"},{key:"on_wps_rename",name:r("CMD.rename",null,"\u91CD\u547D\u540D\u65F6"),code:"wps-rename"},{key:"on_list_actions",name:r("CMD.onClickBtn",null,"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6"),code:"list-actions"},{key:"on_list_render_operation",name:r("CMD.cellRender",null,"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6"),code:"list-render-operation"},{key:"on_list_rowclick",name:r("CMD.rowClick",null,"\u884C\u70B9\u51FB\u65F6"),code:"list-rowclick"},{key:"on_list_before_rowdelete",name:r("CMD.rowDelete",null,"\u884C\u5220\u9664\u524D"),code:"list-before-rowdelete"},{key:"on_list_before_import",name:r("CMD.listDataImport",null,"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D"),code:"list-before-import"},{key:"on_list_rows_checked",name:r("CMD.rowSelected",null,"\u884C\u9009\u4E2D\u65F6"),code:"list-rows-checked"},{key:"on_change_tab",name:r("CMD.tabChange",null,"\u6807\u7B7E\u9875\u5207\u6362\u65F6"),code:"change-tab"},{key:"on_modal_ok",name:r("CMD.modalConfirm",null,"\u5F39\u7A97\u786E\u8BA4\u65F6"),code:"modal-ok"},{key:"on_change_steps",name:r("CMD.stepsChange",null,"\u6B65\u9AA4\u5207\u6362\u65F6"),code:"change-steps"},{key:"on_option_selected",name:r("CMD.optionSelected",null,"DOM\u70B9\u51FBoption\u4E8B\u4EF6"),code:"option_selected"}],f_=function(){function t(){s_(this,t)}return d_(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 o=l.key;return l.namespace!==void 0&&l.namespace!==null&&l.namespace!==""&&(o=l.namespace+":"+l.key),{key:o,code:l.key,name:l.name}});return i=i.concat(a),i}}]),t}();h_(f_,"events",y_);function Ru(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 Ru(t)}function m_(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function g_(){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 rr(t){return v_(t)||m_(t)||b_(t)||g_()}function b_(t,e){if(!!t){if(typeof t=="string")return Ru(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 Ru(t,e)}}function Pu(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function or(t,e,n){n!=="Runtime"&&(t.parent=e,Pu(t,"parent"))}function C_(t,e,n){t.forEach(function(i){or(i,e,n)})}var cr=Symbol("targetKey");function sr(t){var e;return(e=t[cr])!==null&&e!==void 0?e:t}function dr(t,e,n){return C_(t,e,n),new Proxy(t,{get:function(u,a){for(var l=arguments.length,o=new Array(l>2?l-2:0),d=2;d<l;d++)o[d-2]=arguments[d];var s;return a===cr?u:(s=Reflect).get.apply(s,[u,a].concat(rr(o)))},set:function(u,a,l){for(var o=arguments.length,d=new Array(o>3?o-3:0),s=3;s<o;s++)d[s-3]=arguments[s];var y;if(xn(t)&&a==="length"&&l===t.length)return!0;var m=(y=Reflect).set.apply(y,[u,a,l].concat(rr(d)));return p5(l)&&or(l,e,n),m}})}function de(t,e,n,i,u){var a=i!=null?i:t,l=dr(sr(n!=null?n:[]),a,u);Object.defineProperty(t,e,{get:function(){return l},set:function(d){l=dr(sr(d),a,u)},enumerable:!0})}function __(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function hr(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 E_(t,e,n){return e&&hr(t.prototype,e),n&&hr(t,n),t}function we(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var yr=[],kn=function(){function t(e){__(this,t),we(this,"registeredControlTypes",new Set),we(this,"controlConfigMap",new Map),we(this,"_controls",[]),we(this,"_type",void 0),this._type=e,this._initControls(e)}return E_(t,[{key:"registerControlConfig",value:function(n,i){return this.controlConfigMap.set(n,i),this}},{key:"getControlConfig",value:function(n){return this.controlConfigMap.get(n)}},{key:"getControls",value:function(){return this._controls}},{key:"register",value:function(n){n.__is_control__||Mt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(Au("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===Pn.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===Pn.FORM}},{key:"isListControl",value:function(n){return n.controlType===Pn.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===Pn.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(y){return u.createControl(y,i)});if(n.children&&(n.children=n.children.map(function(y){return u.createControl(y,i)})),this.isListControl(n)){var a=n.props;a.headers&&(a.headers=a.headers.map(function(y){return u.createControl(y,i)}))}var l=this.getControlFormType(n.type);if(l){var o=n;if(typeof i=="function"){var d=i(o);d&&(o=d)}var s;return l.mode==="Runtime"?(s=o,s.fieldType=l.controlFieldType,this._setParentPrototypeToSchema(s,this)):s=new l(o),s}else Mt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"resetInstanceParent",value:function(n,i){delete n.parent,Object.defineProperty(n,"parent",{configurable:!0,get:function(){return i}}),Pu(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,o=i.instanceMap;if(!(!l||!o)){var d=l[a],s=o[a];if(!(!d&&!s)){var y=s.findIndex(function(_){return _==n}),m=o[d]||[],g;return m.length!==s.length?g=m[0]:g=m[y],g}}}}),Pu(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__)&&Mt("".concat(n," is can't register as a Control"));var o=this.staticControls.findIndex(function(d){return d.Designer.controlType===u.controlType});return o>-1&&(Au("The ".concat(u.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(o,1)),this.staticRegisteredTypes.add(u.controlType),this.staticControls.push(n),l.mode=i,this}}]),t}();we(kn,"staticControlsRuntimeRules",new Map),we(kn,"staticControls",yr),we(kn,"staticRegisteredTypes",new Set(yr.map(function(t){return t.Designer.controlType}))),we(kn,"staticRegisteredConfigs",new Map);function B_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function le(t,e,n){return e=Mn(e),w_(t,fr()?Reflect.construct(e,n||[],Mn(t).constructor):e.apply(t,n))}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function re(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function w_(t,e){return e&&(D_(e)==="object"||typeof e=="function")?e:B_(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ou(t,e)}function D_(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function fr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(fr=function(){return!!t})()}var he=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"aliasCode",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"",this.aliasCode=e==null?void 0:e.aliasCode},vr=function t(e){A(this,t),h(this,"minWidth",void 0),h(this,"maxWidth",void 0),h(this,"flex",void 0);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var i;this.flex=(i=e==null?void 0:e.flex)!==null&&i!==void 0?i:1},mr=function t(e){A(this,t),h(this,"rowHeightType",void 0),h(this,"minRows",void 0),h(this,"maxRows",void 0),h(this,"fiexdRow",void 0);var n;this.rowHeightType=(n=e==null?void 0:e.rowHeightType)!==null&&n!==void 0?n:"fixed";var i;this.minRows=(i=e==null?void 0:e.minRows)!==null&&i!==void 0?i:4;var u;this.maxRows=(u=e==null?void 0:e.maxRows)!==null&&u!==void 0?u:20;var a;this.fiexdRow=(a=e==null?void 0:e.fiexdRow)!==null&&a!==void 0?a:4},A_=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new mr(e==null?void 0:e.pc),this.mobile=new mr(e==null?void 0:e.mobile)},xu=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"width",void 0),h(i,"widthType",void 0);var u;i.width=(u=n==null?void 0:n.width)!==null&&u!==void 0?u:240;var a;return i.widthType=(a=n==null?void 0:n.widthType)!==null&&a!==void 0?a:"auto",i}return e}(vr),I_=function t(e){A(this,t),h(this,"pc",void 0),h(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})},F_=function t(e){A(this,t),h(this,"type",void 0),h(this,"customOptions",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var i;this.customOptions=(i=e==null?void 0:e.customOptions)!==null&&i!==void 0?i:[]},ut=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"formKey",void 0),h(this,"appId",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.formKey=(i=e==null?void 0:e.formKey)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:""},S_=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"primaryControlId",void 0);var u;return i.primaryControlId=(u=n==null?void 0:n.primaryControlId)!==null&&u!==void 0?u:"",i}return e}(ut),gr=function t(e){A(this,t),h(this,"fieldCode",void 0),h(this,"dataCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:"";var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:""},ku=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new gr(l)}))!==null&&a!==void 0?a:[]},T_=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:b.VARCHAR},R_=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"title",void 0),h(i,"svcCode",void 0),h(i,"isOpenFilter",void 0),h(i,"filters",void 0);var u;i.title=(u=n==null?void 0:n.title)!==null&&u!==void 0?u:"";var a;i.svcCode=(a=n==null?void 0:n.svcCode)!==null&&a!==void 0?a:"";var l;i.isOpenFilter=(l=n==null?void 0:n.isOpenFilter)!==null&&l!==void 0?l:!1;var o;return i.filters=(o=n==null?void 0:n.filters)!==null&&o!==void 0?o:[],i}return e}(ut),P_=function t(e){A(this,t);var n,i;h(this,"type","sublist-page"),h(this,"formBind",void 0),h(this,"displayFields",void 0),h(this,"sublists",void 0),this.formBind=new ut(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new T_(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 R_(l)}))!==null&&a!==void 0?a:[]},O_=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"dataCode",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value,this.dataCode=e==null?void 0:e.dataCode},De=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"displayBos",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:[];var u;this.displayBos=(u=e==null?void 0:e.displayBos)!==null&&u!==void 0?u:[]},Mu=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var 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(o){if(o.children!==void 0){var d,s=new t(o);(d=n.children)===null||d===void 0||d.push(s)}else{var y,m=new $n(o);(y=n.children)===null||y===void 0||y.push(m)}}))},$n=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new O_(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new De(e==null?void 0:e.rightVariableBo)},x_=function t(e){A(this,t),h(this,"aliasCode",void 0),h(this,"datasourceBind",void 0),h(this,"relationFields",void 0);var n;this.aliasCode=(n=e==null?void 0:e.aliasCode)!==null&&n!==void 0?n:"",this.datasourceBind=new J(e==null?void 0:e.datasourceBind);var i;this.relationFields=(i=e==null?void 0:e.relationFields)!==null&&i!==void 0?i:[]},ee=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},$u=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),h(this,"fieldType",void 0);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var i;this.value=(i=e==null?void 0:e.value)!==null&&i!==void 0?i:"",this.fieldType=e==null?void 0:e.fieldType},k_=function t(e){A(this,t),h(this,"columnName",void 0),h(this,"desc",void 0);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var i;this.desc=(i=e.desc)!==null&&i!==void 0?i:!1};function Lu(t){var e,n,i,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(o){return o.children!==void 0?new Mu(o):new $n(o)}))!==null&&u!==void 0?u:[];var a;this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(o){return o.children!==void 0?new Mu(o):new $n(o)}))!==null&&a!==void 0?a:[];var l;this.orders=(l=t==null||(i=t.orders)===null||i===void 0?void 0:i.map(function(o){return new k_(o)}))!==null&&l!==void 0?l:[]}var J=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0),h(this,"assignDepartment",void 0),h(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 $u(m))}));var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var d;this.showOrder=(d=e==null?void 0:e.showOrder)!==null&&d!==void 0?d:!0;var s;this.svcCode=(s=e==null?void 0:e.svcCode)!==null&&s!==void 0?s:"",this.assignDepartment=new De(e==null?void 0:e.assignDepartment);var y;this.openAssignDepartment=(y=e==null?void 0:e.openAssignDepartment)!==null&&y!==void 0?y:!1,Lu.call(this,e)},Nu=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"displayBoList",void 0);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var i;this.displayBoList=(i=e==null?void 0:e.displayBoList)!==null&&i!==void 0?i:[]},ve=function t(e){A(this,t),h(this,"code",void 0),h(this,"color",void 0),h(this,"command",void 0),h(this,"confirmMessage",void 0),h(this,"defaultState",void 0),h(this,"formKey",void 0),h(this,"formType",void 0),h(this,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var l;this.defaultState=(l=e==null?void 0:e.defaultState)!==null&&l!==void 0?l:"default";var o;this.formKey=(o=e==null?void 0:e.formKey)!==null&&o!==void 0?o: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 s;this.needConfirm=(s=e==null?void 0:e.needConfirm)!==null&&s!==void 0?s:!1;var y;this.openType=(y=e==null?void 0:e.openType)!==null&&y!==void 0?y:"modal";var m;this.priorityProcess=(m=e==null?void 0:e.priorityProcess)!==null&&m!==void 0?m:!0},br=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new $u(l)}))!==null&&a!==void 0?a:[]},Ln=function(t){re(e,t);function e(n){A(this,e);var i,u;i=le(this,e,[n]),h(i,"attributes",void 0);var a;return i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(l){return new br(l)}))!==null&&a!==void 0?a:[],i}return e}(J),M_=function(t){re(e,t);function e(n){A(this,e);var i,u;i=le(this,e,[n]),h(i,"attributes",void 0),h(i,"formCode",void 0);var a;i.attributes=(a=n==null||(u=n.attributes)===null||u===void 0?void 0:u.map(function(o){return new br(o)}))!==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}(J),Cr=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"rootNode",void 0),h(i,"filterCode",void 0),i.rootNode=new De(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),_r=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new ee(l)}))!==null&&a!==void 0?a:[]},Er=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e,[n]),h(i,"filters",void 0),h(i,"viewFilters",void 0),h(i,"orders",void 0),Lu.call(i,n),i}return e}(_r),Br=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"mode",void 0),h(i,"multiple",void 0);var u;i.mode=(u=n==null?void 0:n.mode)!==null&&u!==void 0?u:"current";var a;return i.multiple=(a=n==null?void 0:n.multiple)!==null&&a!==void 0?a:!1,i}return e}(_r),wr=function t(e){A(this,t),h(this,"stencilName",void 0),h(this,"expression",void 0),h(this,"errMessage",void 0);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var i;this.expression=(i=e==null?void 0:e.expression)!==null&&i!==void 0?i:"";var u;this.errMessage=(u=e==null?void 0:e.errMessage)!==null&&u!==void 0?u:""},Dr=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:se(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label},$_=function(t){re(e,t);function e(n){A(this,e);var i;i=le(this,e,[n]),h(i,"cueWord",void 0),h(i,"checked",void 0);var u;i.cueWord=(u=n==null?void 0:n.cueWord)!==null&&u!==void 0?u:"";var a;return i.checked=(a=n==null?void 0:n.checked)!==null&&a!==void 0?a:!1,i}return e}(Dr);function me(t){var e;return(e=t==null?void 0:t.map(function(n){return new Dr(n)}))!==null&&e!==void 0?e:[]}function Ar(t){var e;return(e=t==null?void 0:t.map(function(n){return new $_(n)}))!==null&&e!==void 0?e:[]}var Vu=function t(){A(this,t)},L_=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e),h(i,"amount",void 0),h(i,"currency",void 0),i.amount=new he(n==null?void 0:n.amount),i.currency=new he(n==null?void 0:n.currency),i}return e}(Vu),N_=function t(e){A(this,t),h(this,"amount",void 0),h(this,"currency",void 0);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var i;this.currency=(i=e==null?void 0:e.currency)!==null&&i!==void 0?i:"CNY"},V_=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e),h(i,"min",void 0),h(i,"max",void 0),i.min=new he(n==null?void 0:n.min),i.max=new he(n==null?void 0:n.max),i}return e}(Vu),H_=function t(e){A(this,t),h(this,"min",void 0),h(this,"max",void 0);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var i;this.max=(i=e==null?void 0:e.max)!==null&&i!==void 0?i:""},j_=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var l;this.province=(l=e==null?void 0:e.province)!==null&&l!==void 0?l:"";var o;this.provinceDisplay=(o=e==null?void 0:e.provinceDisplay)!==null&&o!==void 0?o:""},q_=function(t){re(e,t);function e(n){A(this,e);var i;return i=le(this,e),h(i,"result",void 0),h(i,"unit",void 0),i.result=new he(n==null?void 0:n.result),i.unit=new he(n==null?void 0:n.unit),i}return e}(Vu),W_=function t(e){A(this,t),h(this,"result",void 0),h(this,"unit",void 0);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var i;this.unit=(i=e==null?void 0:e.unit)!==null&&i!==void 0?i:""},U_=function(t){return 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",t}({}),c=function(t){return 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",t.IS_INTERNATIONAL="isInternational",t.CAPTION_SIZE="captionSize",t.CAPTION_COLOR="captionColor",t.IS_CAPTION_ITALIC="isCaptionItalic",t}({}),z_=function(t){return t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT",t}({}),Ae=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var l;this.type=(l=e==null?void 0:e.type)!==null&&l!==void 0?l:"";var o;this.priorityProcess=(o=e==null?void 0:e.priorityProcess)!==null&&o!==void 0?o:!1},K_=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:se(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new gr(l)}))!==null&&a!==void 0?a:[],Lu.call(this,e)},G_=function t(e){A(this,t),h(this,"width",void 0),h(this,"height",void 0),h(this,"widthConfig",void 0),h(this,"heightConfig",void 0);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var i;this.height=(i=e==null?void 0:e.height)!==null&&i!==void 0?i:"";var u;this.widthConfig=(u=e==null?void 0:e.widthConfig)!==null&&u!==void 0?u:"fill";var a;this.heightConfig=(a=e==null?void 0:e.heightConfig)!==null&&a!==void 0?a:"fill"},Z_=function t(e){A(this,t),h(this,"optCode",void 0),h(this,"optType",void 0);var n;this.optCode=(n=e==null?void 0:e.optCode)!==null&&n!==void 0?n:"";var i;this.optType=(i=e==null?void 0:e.optType)!==null&&i!==void 0?i:""},X_=function t(e){A(this,t);var n,i;h(this,"id",void 0),h(this,"name",void 0),h(this,"settings",void 0),h(this,"filters",void 0),h(this,"script",void 0);var u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:se();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 Mu(d):new $n(d)}))!==null&&l!==void 0?l:[];var o;this.settings=(e==null?void 0:e.settings)&&Array.isArray(e==null?void 0:e.settings)?(o=e==null||(i=e.settings)===null||i===void 0?void 0:i.map(function(d){return new Q_(d)}))!==null&&o!==void 0?o:[]:[],this.script=e==null?void 0:e.script},Q_=function t(e){A(this,t),h(this,"color",void 0),h(this,"fieldCodes",void 0),h(this,"type",void 0),h(this,"scope",void 0);var n;this.type=(n=e.type)!==null&&n!==void 0?n:"background";var i;this.fieldCodes=(i=e.fieldCodes)!==null&&i!==void 0?i:[];var u;this.color=(u=e.color)!==null&&u!==void 0?u:"theme";var a;this.scope=(a=e.scope)!==null&&a!==void 0?a:"row"},J_=function t(e){A(this,t);var n;h(this,"type",void 0),h(this,"interval",void 0),h(this,"rules",void 0);var i;this.type=(i=e==null?void 0:e.type)!==null&&i!==void 0?i:"none";var u;this.interval=(u=e==null?void 0:e.interval)!==null&&u!==void 0?u:{color:""};var a;this.rules=(e==null?void 0:e.rules)&&Array.isArray(e==null?void 0:e.rules)?(a=e==null||(n=e.rules)===null||n===void 0?void 0:n.map(function(l){return new X_(l)}))!==null&&a!==void 0?a:[]:[]};function Y_(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function p_(t,e,n){return e=$t(e),nE(t,qu()?Reflect.construct(e,n||[],$t(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 o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Lt(s,l.prototype),s},Nn.apply(null,arguments)}function ge(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function $t(t){return $t=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$t(t)}function eE(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&&Lt(t,e)}function tE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function nE(t,e){return e&&(iE(e)==="object"||typeof e=="function")?e:Y_(t)}function Lt(t,e){return Lt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Lt(t,e)}function iE(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||!tE(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,$t(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Lt(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),ge(this,"isHide",{type:"boolean"})},Me=function(t){eE(e,t);function e(n){return Hu(this,e),p_(this,e)}return e}(ju(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";Hu(this,t),ge(this,"isHide",void 0),ge(this,"className",void 0),ge(this,"style",void 0),ge(this,"caption",void 0),ge(this,"defaultState",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new G_(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};ge(q,"mode",void 0),ge(q,"Rules",j),ge(q,"RuntimeRules",Me);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 uE(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Wu(t){return Wu=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wu(t)}function Vn(t,e){return Vn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Vn(t,e)}function aE(){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 aE()?Hn=Reflect.construct:Hn=function(u,a,l){var o=[null];o.push.apply(o,a);var d=Function.bind.apply(u,o),s=new d;return l&&Vn(s,l.prototype),s},Hn.apply(null,arguments)}function lE(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Uu(t){var e=typeof Map=="function"?new Map:void 0;return Uu=function(i){if(i===null||!lE(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,Wu(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Vn(u,i)},Uu(t)}var rE=/%[sdj%]/g,Ir=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Ir=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 te(){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(rE,function(o){if(o==="%%")return"%";if(i>=a)return o;switch(o){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 o}});return l}return u}function oE(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function K(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||oE(e)&&typeof t=="string"&&!t)}function cE(t,e,n){var i=[],u=0,a=t.length;function l(o){i.push.apply(i,o),u++,u===a&&n(i)}t.forEach(function(o){e(o,l)})}function Fr(t,e,n){var i=0,u=t.length;function a(l){if(l&&l.length){n(l);return}var o=i;i=i+1,o<u?e(t[o],a):n([])}a([])}function sE(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Sr=function(t){uE(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}(Uu(Error));function dE(t,e,n,i){if(e.first){var u=new Promise(function(m,g){var _=function(w){return i(w),w.length?g(new Sr(w,zu(w))):m()},B=sE(t);Fr(B,n,_)});return u.catch(function(m){return m}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var l=Object.keys(t),o=l.length,d=0,s=[],y=new Promise(function(m,g){var _=function(C){if(s.push.apply(s,C),d++,d===o)return i(s),s.length?g(new Sr(s,zu(s))):m()};l.length||(i(s),m()),l.forEach(function(B){var C=t[B];a.indexOf(B)!==-1?Fr(C,n,_):cE(C,n,_)})});return y.catch(function(m){return m}),y}function Tr(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 Rr(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 Pr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||K(e,a||t.type))&&i.push(te(u.messages.required,t.fullField))}function hE(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(te(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},Nt={integer:function(e){return Nt.number(e)&&parseInt(e,10)===e},float:function(e){return Nt.number(e)&&!Nt.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"&&!Nt.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 yE(t,e,n,i,u){if(t.required&&e===void 0){Pr(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?Nt[l](e)||i.push(te(u.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&i.push(te(u.messages.types[l],t.fullField,t.type))}function fE(t,e,n,i,u){var a=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",d=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,s=e,y=null,m=typeof e=="number",g=typeof e=="string",_=Array.isArray(e);if(m?y="number":g?y="string":_&&(y="array"),!y)return!1;_&&(s=e.length),g&&(s=e.replace(d,"_").length),a?s!==t.len&&i.push(te(u.messages[y].len,t.fullField,t.len)):l&&!o&&s<t.min?i.push(te(u.messages[y].min,t.fullField,t.min)):o&&!l&&s>t.max?i.push(te(u.messages[y].max,t.fullField,t.max)):l&&o&&(s<t.min||s>t.max)&&i.push(te(u.messages[y].range,t.fullField,t.min,t.max))}var at="enum";function vE(t,e,n,i,u){t[at]=Array.isArray(t[at])?t[at]:[],t[at].indexOf(e)===-1&&i.push(te(u.messages[at],t.fullField,t[at].join(", ")))}function mE(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(te(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(te(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var I={required:Pr,whitespace:hE,type:yE,range:fE,enum:vE,pattern:mE};function gE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();I.required(t,e,i,a,u,"string"),K(e,"string")||(I.type(t,e,i,a,u),I.range(t,e,i,a,u),I.pattern(t,e,i,a,u),t.whitespace===!0&&I.whitespace(t,e,i,a,u))}n(a)}function bE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I.type(t,e,i,a,u)}n(a)}function CE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&(I.type(t,e,i,a,u),I.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(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I.type(t,e,i,a,u)}n(a)}function EE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),K(e)||I.type(t,e,i,a,u)}n(a)}function BE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function wE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function DE(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();I.required(t,e,i,a,u,"array"),e!=null&&(I.type(t,e,i,a,u),I.range(t,e,i,a,u))}n(a)}function AE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I.type(t,e,i,a,u)}n(a)}var IE="enum";function FE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u),e!==void 0&&I[IE](t,e,i,a,u)}n(a)}function SE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"string")&&!t.required)return n();I.required(t,e,i,a,u),K(e,"string")||I.pattern(t,e,i,a,u)}n(a)}function TE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e,"date")&&!t.required)return n();if(I.required(t,e,i,a,u),!K(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),I.type(t,o,i,a,u),o&&I.range(t,o.getTime(),i,a,u)}}n(a)}function RE(t,e,n,i,u){var a=[],l=Array.isArray(e)?"array":typeof e;I.required(t,e,i,a,u,l),n(a)}function Gu(t,e,n,i,u){var a=t.type,l=[],o=t.required||!t.required&&i.hasOwnProperty(t.field);if(o){if(K(e,a)&&!t.required)return n();I.required(t,e,i,l,u,a),K(e,a)||I.type(t,e,i,l,u)}n(l)}function PE(t,e,n,i,u){var a=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(K(e)&&!t.required)return n();I.required(t,e,i,a,u)}n(a)}var Vt={string:gE,method:bE,number:CE,boolean:_E,regexp:EE,integer:BE,float:wE,array:DE,object:AE,enum:FE,pattern:SE,date:TE,url:Gu,hex:Gu,email:Gu,required:RE,any:PE};function Zu(){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 Xu=Zu();function Ie(t){this.rules=null,this._messages=Xu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=Rr(Zu(),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,o=i;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function d(C){var w,v=[],E={};function $(R){if(Array.isArray(R)){var M;v=(M=v).concat.apply(M,R)}else v.push(R)}for(w=0;w<C.length;w++)$(C[w]);v.length?E=zu(v):(v=null,E=null),o(v,E)}if(l.messages){var s=this.messages();s===Xu&&(s=Zu()),Rr(s,l.messages),l.messages=s}else l.messages=this.messages();var y,m,g={},_=l.keys||Object.keys(this.rules);_.forEach(function(C){y=u.rules[C],m=a[C],y.forEach(function(w){var v=w;typeof v.transform=="function"&&(a===e&&(a=ye({},a)),m=a[C]=v.transform(m)),typeof v=="function"?v={validator:v}:v=ye({},v),v.validator=u.getValidationMethod(v),v.field=C,v.fullField=v.fullField||C,v.type=u.getType(v),v.validator&&(g[C]=g[C]||[],g[C].push({rule:v,value:m,source:a,field:C}))})});var B={};return dE(g,l,function(C,w){var v=C.rule,E=(v.type==="object"||v.type==="array")&&(typeof v.fields=="object"||typeof v.defaultField=="object");E=E&&(v.required||!v.required&&C.value),v.field=C.field;function $(ue,L){return ye(ye({},L),{},{fullField:v.fullField+"."+ue})}function R(ue){ue===void 0&&(ue=[]);var L=ue;if(Array.isArray(L)||(L=[L]),!l.suppressWarning&&L.length&&Ie.warning("async-validator:",L),L.length&&v.message!==void 0&&(L=[].concat(v.message)),L=L.map(Tr(v)),l.first&&L.length)return B[v.field]=1,w(L);if(!E)w(L);else{if(v.required&&!C.value)return v.message!==void 0?L=[].concat(v.message).map(Tr(v)):l.error&&(L=[l.error(v,te(l.messages.required,v.field))]),w(L);var ae={};if(v.defaultField)for(var Sn in C.value)C.value.hasOwnProperty(Sn)&&(ae[Sn]=v.defaultField);ae=ye(ye({},ae),C.rule.fields);for(var Ee in ae)if(ae.hasOwnProperty(Ee)){var vu=Array.isArray(ae[Ee])?ae[Ee]:[ae[Ee]];ae[Ee]=vu.map($.bind(null,Ee))}var Tn=new Ie(ae);Tn.messages(l.messages),C.rule.options&&(C.rule.options.messages=l.messages,C.rule.options.error=l.error),Tn.validate(C.value,C.rule.options||l,function(Rt){var Be=[];L&&L.length&&Be.push.apply(Be,L),Rt&&Rt.length&&Be.push.apply(Be,Rt),w(Be.length?Be:null)})}}var M;v.asyncValidator?M=v.asyncValidator(v,C.value,R,C.source,l):v.validator&&(M=v.validator(v,C.value,R,C.source,l),M===!0?R():M===!1?R(v.message||v.field+" fails"):M instanceof Array?R(M):M instanceof Error&&R(M.message)),M&&M.then&&M.then(function(){return R()},function(ue){return R(ue)})},function(C){d(C)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Vt.hasOwnProperty(e.type))throw new Error(te("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"?Vt.required:Vt[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");Vt[e]=n},Ie.warning=Ir,Ie.messages=Xu,Ie.validators=Vt;var OE={required:r("CMD.aad41751712156995"),maxLength:r("CMD.890d1751712141808"),minLength:r("CMD.bb9b1751712143625"),string:{range:r("CMD.f7131751712147855")}};function xE(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(OE,e)),n}var kE=new c_;function Qu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function ME(t){if(Array.isArray(t))return t}function $E(t){if(Array.isArray(t))return Qu(t)}function Or(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function xr(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Or(a,i,u,l,o,"next",d)}function o(d){Or(a,i,u,l,o,"throw",d)}l(void 0)})}}function LE(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function NE(t,e,n){return e&&kr(t.prototype,e),n&&kr(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 Mr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function $r(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function VE(){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 HE(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function Lr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){P(t,u,n[u])})}return t}function jE(t){return ME(t)||$r(t)||Nr(t)||VE()}function Ju(t){return $E(t)||$r(t)||Nr(t)||HE()}function qE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Nr(t,e){if(!!t){if(typeof t=="string")return Qu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Qu(t,e)}}function Vr(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(y){return d([s,y])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(y){s=[6,y],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var x=function(){function e(n){var i=this;LE(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",jr),P(this,"removeSetting",Hr),this._callControlHooks("preInstance",n);var u=Mr(this,e)?this.constructor:void 0,a=u.controlName,l=u.controlIcon,o=u.controlType,d=u.controlFieldType,s=u.controlEventKeys,y=u.controlCustomEvents,m=u.name,g=u.setting,_=u.slots,B=u.slotPosition;a&&l&&o||pl("The ".concat(m," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:se(10),this.name=a,this.icon=l;var w;this.type=(w=n==null?void 0:n.type)!==null&&w!==void 0?w:o,this.props=new q(n==null?void 0:n.props,(Mr(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=oe(g);var E;this.fieldType=(E=n==null?void 0:n.fieldType)!==null&&E!==void 0?E:d,this.eventKeys=oe(s),this.customEvents=oe(y),this.slots=oe(_),this.slotPosition=oe(B),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return NE(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,o=jE(u),d=o[0],s=o.slice(1);return(l=kE).emit.apply(l,[d,this].concat(Ju(s)))}},{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),Z5(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){return xr(function(){var i,u,a;return Vr(this,function(l){switch(l.label){case 0:return i=Lr({},this.rules),[4,this._callControlHooks("preValidate",i)];case 1:return u=l.sent(),a=u[u.length-1],[2,a===!1?void 0:a]}})}).call(this)}},{key:"validate",value:function(i,u){return xr(function(){var a,l,o,d;return Vr(this,function(s){switch(s.label){case 0:return[4,this.preValidate()];case 1:a=s.sent(),l=a!==void 0?a:Lr({},this.rules),Array.isArray(u)&&u.forEach(function(y){l.hasOwnProperty(y)&&delete l[y]}),o=xE(l,i),s.label=2;case 2:return s.trys.push([2,4,,5]),[4,o.validate(this.props)];case 3:return s.sent(),[2,!0];case 4:throw d=s.sent(),d.control||(d.control=this),d;case 5:return[2]}})}).call(this)}},{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,o=this.props,d=o.dataBind,s=o.datasourceBind,y=o.optionConfig,m=o.caption,g=o.required,_=o.maxLength,B=o.options,C=o.encrypted,w=o.encryptedMode;if(!(!u&&!d&&!s)){var v={parentId:i,fieldType:u,controlId:a,caption:m,type:l,props:{}};switch(d&&(v.dataBind=d),y){case"datasource":case void 0:s&&(v.datasourceBind=s);break;case"custom":v.props.options=B;break}return g!==void 0&&(v.required=g),_!==void 0&&(v.maxLength=_),C!==void 0&&(v.encrypted=C),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:oe(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,Ju(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();P(x,"mode","Designer"),P(x,"slots",void 0),P(x,"slotPosition",void 0),P(x,"controlName",r("CMD.7baf1751712168384")),P(x,"controlIcon","icon"),P(x,"controlType","control"),P(x,"controlFieldType",void 0),P(x,"controlEventKeys",[]),P(x,"controlCustomEvents",[]),P(x,"setting",[]),P(x,"__is_control__",!0),P(x,"removeSettingItem",Hr),P(x,"updateSettingItem",jr);function Hr(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(s){return s.key===(a?i.key:i)});if(l!==-1){var o,d;a?e.setting[l].showItems=(o=e.setting[l].showItems)===null||o===void 0?void 0:o.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(l,1),a&&!(!((d=e.setting[l].showItems)===null||d===void 0)&&d.length)&&e.setting.splice(l,1)}})}function jr(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(s){return s.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if((typeof e=="undefined"?"undefined":qE(e))==="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")a.showItems=e.showItems;else{var d;(d=a.showItems).push.apply(d,Ju(e.showItems))}}}})}function WE(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 UE(t,e,n){return e&&qr(t.prototype,e),n&&qr(t,n),t}function ne(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function zE(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){WE(this,e),ne(this,"id",void 0),ne(this,"type",void 0),ne(this,"controlType",void 0),ne(this,"props",void 0),ne(this,"fieldType",void 0),ne(this,"customEvents",[]),ne(this,"pageStatus",void 0),ne(this,"parent",null);var i=zE(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,l=i.name,o=i.controlCustomEvents;u||pl("The ".concat(l," controlType is not define"));var d;this.id=(d=n==null?void 0:n.id)!==null&&d!==void 0?d:se(10);var s;this.type=(s=n==null?void 0:n.type)!==null&&s!==void 0?s:u,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var y;this.controlType=(y=n==null?void 0:n.controlType)!==null&&y!==void 0?y:"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:z_.UNKNOWN}return UE(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}();ne(W,"mode","Runtime"),ne(W,"controlType","control"),ne(W,"controlFieldType",void 0),ne(W,"__is_control__",!0),ne(W,"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:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:r("CMD.pleaseEnterLabel",null,"\u8BF7\u8F93\u5165\u663E\u793A\u503C")},value:{type:"string",required:!0,message:r("CMD.pleaseEnterValue",null,"\u8BF7\u8F93\u5165\u5B58\u50A8\u503C")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(r("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(o){return o.value}),l=e_(a);a.length!==l.length?u(r("CMD.optionIdIsRepeat",null,"\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D")):u()},message:r("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:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},valueFieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterValueFieldCode",null,"\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseEnterSvcCode",null,"\u8BF7\u7ED1\u5B9A\u670D\u52A1")},displayBoList:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(n,i,u){i.length===0&&u(r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")),u()},message:r("CMD.pleaseBindAtLeastOneDisplayValue",null,"\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C")}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("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:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterDataCodeInDataSetting":"CMD.pleaseEnterDataCode",null,r(n?"CMD.c4901751712137782":"CMD.8e161751712150947"))},valueFieldCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterValueFieldCodeInDataSetting":"CMD.pleaseEnterValueFieldCode",null,r(n?"CMD.9af91751712139782":"CMD.92701751712154242"))},svcCode:{type:"string",required:!0,message:r(n?"CMD.pleaseEnterSvcCodeInDataSetting":"CMD.pleaseEnterSvcCode",null,r(n?"CMD.203c1751712145631":"CMD.9d361751712158465"))},attributes:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},key:{type:"string",required:!0,message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},value:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",validator:function(u,a,l){a.length===0&&l(r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))),l()},message:r(n?"CMD.pleaseBindAtLeastOneDisplayValueInDataSetting":"CMD.pleaseBindAtLeastOneDisplayValue",null,r(n?"CMD.6a071751712131459":"CMD.52351751712149286"))}]}}}],orders:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},desc:{type:"boolean",message:r("CMD.isNotBoolean",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14")}}}}]}}]}function KE(t){return(t==null?void 0:t.dataCode)!==void 0&&(t==null?void 0:t.fieldCode)!==void 0}function GE(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=Un(e),ZE(t,Wr()?Reflect.construct(e,n||[],Un(t).constructor):e.apply(t,n))}function Wn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function N(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Un(t){return Un=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Un(t)}function 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 ZE(t,e){return e&&(XE(e)==="object"||typeof e=="function")?e:GE(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}function XE(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Wr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Wr=function(){return!!t})()}var G=function(t){zn(e,t);function e(n){Wn(this,e);var i;i=qn(this,e,[n]),N(i,"dataBind",{}),N(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),N(i,"isHideCaption",{type:"boolean"}),N(i,"labelPosition",{type:"enum",enum:["top","left"]}),N(i,"defaultState",{type:"enum",enum:["default","readonly"]}),N(i,"required",{type:"boolean"}),N(i,"captionTip",{type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")});var u={fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}};if(KE(n.dataBind))i.dataBind={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};else{var a={type:"object",required:!0,fields:{},message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")};Object.keys(n.dataBind).forEach(function(l){a.fields[l]={type:"object",required:!0,fields:oe(u),message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}}),i.dataBind=a}return n.isShowCaptionTip&&(i.captionTip.required=!0),i}return e}(j),H=function(t){zn(e,t);function e(n){Wn(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:r("CMD.runtimeRequired",{caption:n.caption},"{caption}\u5FC5\u586B")}),i}return e}(Me),F=function(t){zn(e,t);function e(n){Wn(this,e);var i;i=qn(this,e,[n]),N(i,"caption",void 0),N(i,"captionSize",void 0),N(i,"captionColor",void 0),N(i,"isCaptionItalic",void 0),N(i,"isHideCaption",void 0),N(i,"isShowCaptionTip",void 0),N(i,"captionTip",void 0),N(i,"labelPosition",void 0),N(i,"dataBind",void 0),N(i,"defaultValue",void 0),N(i,"placeholder",void 0),N(i,"defaultState",void 0),N(i,"required",void 0),N(i,"requiredMessage",void 0);var u;i.caption=(u=n==null?void 0:n.caption)!==null&&u!==void 0?u:"";var a;i.captionSize=(a=n==null?void 0:n.captionSize)!==null&&a!==void 0?a:"";var l;i.captionColor=(l=n==null?void 0:n.captionColor)!==null&&l!==void 0?l:"";var o;i.isCaptionItalic=(o=n==null?void 0:n.isCaptionItalic)!==null&&o!==void 0?o:!1;var d;i.isHideCaption=(d=n==null?void 0:n.isHideCaption)!==null&&d!==void 0?d:!1;var s;i.isShowCaptionTip=(s=n==null?void 0:n.isShowCaptionTip)!==null&&s!==void 0?s:!1;var y;i.captionTip=(y=n==null?void 0:n.captionTip)!==null&&y!==void 0?y:"";var m;i.defaultState=(m=n==null?void 0:n.defaultState)!==null&&m!==void 0?m:"default";var g;i.labelPosition=(g=n==null?void 0:n.labelPosition)!==null&&g!==void 0?g:"top";var _;i.placeholder=(_=n==null?void 0:n.placeholder)!==null&&_!==void 0?_:"";var B;i.required=(B=n==null?void 0:n.required)!==null&&B!==void 0?B:!1;var C;i.requiredMessage=(C=n==null?void 0:n.requiredMessage)!==null&&C!==void 0?C:"",i.dataBind=new he(n==null?void 0:n.dataBind);var w;return i.defaultValue=(w=n==null?void 0:n.defaultValue)!==null&&w!==void 0?w:"",i}return e}(q);N(F,"Rules",G),N(F,"RuntimeRules",H);var lt=function(t){zn(e,t);function e(n){Wn(this,e);var i;return i=qn(this,e,[n]),N(i,"optionConfig",{type:"enum",enum:["custom","datasource"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),N(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),N(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(G);function QE(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function JE(t,e,n){return e=Gn(e),e6(t,Ur()?Reflect.construct(e,n||[],Gn(t).constructor):e.apply(t,n))}function YE(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 pE(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 e6(t,e){return e&&(t6(e)==="object"||typeof e=="function")?e:QE(t)}function ea(t,e){return ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ea(t,e)}function t6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Ur(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ur=function(){return!!t})()}var S=function(t){pE(e,t);function e(n){YE(this,e);var i;return i=JE(this,e,[n]),Kn(i,"controlType","form"),Kn(i,"props",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(x);Kn(S,"controlEventKeys",["on_change","on_focus","on_blur"]),Kn(S,"controlCustomAttributes",void 0);function n6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function i6(t,e,n){return e=Zn(e),l6(t,zr()?Reflect.construct(e,n||[],Zn(t).constructor):e.apply(t,n))}function u6(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 Zn(t){return Zn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Zn(t)}function a6(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 l6(t,e){return e&&(r6(e)==="object"||typeof e=="function")?e:n6(t)}function na(t,e){return na=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},na(t,e)}function r6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function zr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(zr=function(){return!!t})()}var T=function(t){a6(e,t);function e(n){u6(this,e);var i;return i=i6(this,e,[n]),ta(i,"controlType","form"),ta(i,"props",void 0),ta(i,"value",void 0),i.props=new F(n==null?void 0:n.props),i}return e}(W);function o6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function c6(t,e,n){return e=Xn(e),h6(t,Kr()?Reflect.construct(e,n||[],Xn(t).constructor):e.apply(t,n))}function s6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function d6(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 h6(t,e){return e&&(y6(e)==="object"||typeof e=="function")?e:o6(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function y6(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 O=function(t){d6(e,t);function e(n){return s6(this,e),c6(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 f6(t){if(Array.isArray(t))return ua(t)}function v6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function m6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){Gr(a,i,u,l,o,"next",d)}function o(d){Gr(a,i,u,l,o,"throw",d)}l(void 0)})}}function g6(t,e,n){return e=Se(e),F6(t,Qr()?Reflect.construct(e,n||[],Se(t).constructor):e.apply(t,n))}function b6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Zr(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 C6(t,e,n){return e&&Zr(t.prototype,e),n&&Zr(t,n),t}function Fe(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function rt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?rt=Reflect.get:rt=function(u,a,l){var o=S6(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},rt(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function _6(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 E6(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function B6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function w6(){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 D6(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Fe(t,u,n[u])})}return t}function 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 I6(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 F6(t,e){return e&&(T6(e)==="object"||typeof e=="function")?e:v6(t)}function aa(t,e){return aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},aa(t,e)}function S6(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Xr(t){return f6(t)||B6(t)||R6(t)||w6()}function T6(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function R6(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 Qr(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Qr=function(){return!!t})()}function P6(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(y){return d([s,y])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(y){s=[6,y],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var O6=1e4,k=function(e){_6(n,e);function n(i){b6(this,n);var u;u=g6(this,n,[i]),Fe(u,"controlType","layout"),Fe(u,"children",void 0),Fe(u,"excludes",void 0),Fe(u,"childrenMaxLength",void 0),Fe(u,"props",void 0);var a=E6(this,n)?this.constructor:void 0,l=a.excludes,o=a.childrenMaxLength;return u.props=new O(i==null?void 0:i.props),de(u,"children",i==null?void 0:i.children,void 0,"Designer"),u.excludes=oe(l),u.childrenMaxLength=o,u}return C6(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,o=this,d=function(){return rt(Se(n.prototype),"validate",l)};return m6(function(){return P6(this,function(s){switch(s.label){case 0:return[4,d().call(o,u,a)];case 1:return s.sent(),[4,Promise.all(this.children.map(function(y){return y.validate(u,a)}))];case 2:return s.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=rt(Se(n.prototype),"toDataBindModel",this).call(this),l=a?[a]:[];return this.children.reduce(function(o,d){var s=d.toDataBindModel(u);if(Array.isArray(s)){var y=s.filter(function(m){return!!m});return Xr(o).concat(Xr(y))}return s&&o.push(s),o},l)}},{key:"toSchema",value:function(){var u=rt(Se(n.prototype),"toSchema",this).call(this),a=this.children.map(function(l){var o=l.toSchema();return o});return I6(D6({},u),{children:a})}}]),n}(x);Fe(k,"excludes",!1),Fe(k,"childrenMaxLength",O6);function x6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function k6(t,e,n){return e=Qn(e),L6(t,Jr()?Reflect.construct(e,n||[],Qn(t).constructor):e.apply(t,n))}function M6(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 Qn(t){return Qn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Qn(t)}function $6(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 L6(t,e){return e&&(N6(e)==="object"||typeof e=="function")?e:x6(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}function N6(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 V=function(t){$6(e,t);function e(n){M6(this,e);var i;return i=k6(this,e,[n]),la(i,"controlType","layout"),la(i,"children",void 0),la(i,"props",void 0),i.props=new O(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function V6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function H6(t,e,n){return e=Jn(e),W6(t,Yr()?Reflect.construct(e,n||[],Jn(t).constructor):e.apply(t,n))}function j6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ot(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Jn(t){return Jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Jn(t)}function q6(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&&(U6(e)==="object"||typeof e=="function")?e:V6(t)}function oa(t,e){return oa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},oa(t,e)}function U6(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 Yn=function(t){q6(e,t);function e(n,i,u){j6(this,e);var a;a=H6(this,e,[i]),ot(a,"headers",void 0),ot(a,"footers",void 0),ot(a,"pageIndex",void 0),ot(a,"pageSize",void 0),ot(a,"pageSizeOptions",void 0),ot(a,"totalCount",void 0),de(a,"headers",i==null?void 0:i.headers,n,u),de(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 o;a.pageSize=(o=i==null?void 0:i.pageSize)!==null&&o!==void 0?o:20;var d;a.pageSizeOptions=(d=i==null?void 0:i.pageSizeOptions)!==null&&d!==void 0?d:[20];var s;return a.totalCount=(s=i==null?void 0:i.totalCount)!==null&&s!==void 0?s: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 z6(t){if(Array.isArray(t))return ca(t)}function K6(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function pr(t,e,n,i,u,a,l){try{var o=t[a](l),d=o.value}catch(s){n(s);return}o.done?e(d):Promise.resolve(d).then(i,u)}function G6(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function l(d){pr(a,i,u,l,o,"next",d)}function o(d){pr(a,i,u,l,o,"throw",d)}l(void 0)})}}function Z6(t,e,n){return e=Te(e),tB(t,uo()?Reflect.construct(e,n||[],Te(t).constructor):e.apply(t,n))}function X6(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function eo(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 Q6(t,e,n){return e&&eo(t.prototype,e),n&&eo(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 ct(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ct=Reflect.get:ct=function(u,a,l){var o=nB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ct(t,e,n||t)}function Te(t){return Te=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Te(t)}function J6(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 Y6(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function p6(){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 to(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 eB(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 no(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):eB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function tB(t,e){return e&&(iB(e)==="object"||typeof e=="function")?e:K6(t)}function sa(t,e){return sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},sa(t,e)}function nB(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Te(t),t!==null););return t}function io(t){return z6(t)||Y6(t)||uB(t)||p6()}function iB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function uB(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 uo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(uo=function(){return!!t})()}function aB(t,e){var n,i,u,a={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]},l=Object.create((typeof Iterator=="function"?Iterator:Object).prototype);return l.next=o(0),l.throw=o(1),l.return=o(2),typeof Symbol=="function"&&(l[Symbol.iterator]=function(){return this}),l;function o(s){return function(y){return d([s,y])}}function d(s){if(n)throw new TypeError("Generator is already executing.");for(;l&&(l=0,s[0]&&(a=0)),a;)try{if(n=1,i&&(u=s[0]&2?i.return:s[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,s[1])).done)return u;switch(i=0,u&&(s=[s[0]&2,u.value]),s[0]){case 0:case 1:u=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,i=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(u=a.trys,!(u=u.length>0&&u[u.length-1])&&(s[0]===6||s[0]===2)){a=0;continue}if(s[0]===3&&(!u||s[1]>u[0]&&s[1]<u[3])){a.label=s[1];break}if(s[0]===6&&a.label<u[1]){a.label=u[1],u=s;break}if(u&&a.label<u[2]){a.label=u[2],a.ops.push(s);break}u[2]&&a.ops.pop(),a.trys.pop();continue}s=e.call(t,a)}catch(y){s=[6,y],i=0}finally{n=u=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}}var da=function(t){J6(e,t);function e(n){X6(this,e);var i;return i=Z6(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 Q6(e,[{key:"validate",value:function(i,u){var a=this,l=this,o=function(){return ct(Te(e.prototype),"validate",a)};return G6(function(){return aB(this,function(d){switch(d.label){case 0:return[4,o().call(l,i)];case 1:return d.sent(),[4,Promise.all(this.props.headers.map(function(s){return s.validate(i,u)}))];case 2:return d.sent(),[2,!0]}})}).call(this)}},{key:"toDataBindModel",value:function(){var i=ct(Te(e.prototype),"toDataBindModel",this).call(this),u=i?[i]:[],a=this.id;return this.props.headers.reduce(function(l,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var s=d.filter(function(y){return!!y});return io(l).concat(io(s))}return d&&l.push(d),l},u)}},{key:"toSchema",value:function(){var i=ct(Te(e.prototype),"toSchema",this).call(this),u=this.props.headers.map(function(a){return a.toSchema()});return no(to({},i),{props:no(to({},this.props),{headers:u})})}}]),e}(x);pn(da,"controlFieldType",b.LIST);function lB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rB(t,e,n){return e=ei(e),dB(t,lo()?Reflect.construct(e,n||[],ei(t).constructor):e.apply(t,n))}function oB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ao(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 cB(t,e,n){return e&&ao(t.prototype,e),n&&ao(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 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&&ya(t,e)}function dB(t,e){return e&&(hB(e)==="object"||typeof e=="function")?e:lB(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}function hB(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 ro=function(t){sB(e,t);function e(n){oB(this,e);var i;return i=rB(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"),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return cB(e,[{key:"length",get:function(){return this.children.length}}]),e}(W);function yB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fa(t,e,n){return e=ti(e),fB(t,oo()?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 Z(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 fB(t,e){return e&&(vB(e)==="object"||typeof e=="function")?e:yB(t)}function ga(t,e){return ga=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ga(t,e)}function vB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function oo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(oo=function(){return!!t})()}var be=function(t){ma(e,t);function e(n){va(this,e);var i;return i=fa(this,e,[n]),Z(i,"caption",{type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}),Z(i,"width",{type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")}),i.width.required=n.widthType==="px",i}return e}(j),U=function(t){ma(e,t);function e(n){va(this,e);var i;i=fa(this,e,[n]),Z(i,"widthType",void 0),Z(i,"width",void 0),Z(i,"caption",void 0),Z(i,"dataBind",void 0),Z(i,"autoWidth",void 0),Z(i,"fixed",void 0),Z(i,"sort",void 0),Z(i,"align",void 0),Z(i,"colSpan",void 0),Z(i,"autoHeight",void 0),Z(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 vr(n==null?void 0:n.autoWidth),i.dataBind=new he(n==null?void 0:n.dataBind);var o;i.sort=(o=n==null?void 0:n.sort)!==null&&o!==void 0?o:!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);Z(U,"Rules",be);var ba=function(t){ma(e,t);function e(n){va(this,e);var i;return i=fa(this,e,[n]),Z(i,"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:r("CMD.PleaseSelectTheCorrectOptionSettings",null,"\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E")}),Z(i,"options",[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")}]),Z(i,"datasourceBind",[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}]),Yu.call(i,n),i}return e}(be);function mB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function gB(t,e,n){return e=st(e),DB(t,so()?Reflect.construct(e,n||[],st(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 co(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 CB(t,e,n){return e&&co(t.prototype,e),n&&co(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 o=AB(u,a);if(!!o){var d=Object.getOwnPropertyDescriptor(o,a);return d.get?d.get.call(l||u):d.value}},ii(t,e,n||t)}function st(t){return st=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},st(t)}function _B(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ca(t,e)}function EB(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 BB(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 wB(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):BB(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function DB(t,e){return e&&(IB(e)==="object"||typeof e=="function")?e:mB(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=st(t),t!==null););return t}function IB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function so(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(so=function(){return!!t})()}var X=function(t){_B(e,t);function e(n){bB(this,e);var i;return i=gB(this,e,[n]),ni(i,"controlType","column"),ni(i,"props",void 0),ni(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Designer"),i}return CB(e,[{key:"toSchema",value:function(){var i=ii(st(e.prototype),"toSchema",this).call(this);return wB(EB({},i),{children:this.children?this.children.map(function(u){return u.toSchema()}):[]})}}]),e}(x);function FB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function SB(t,e,n){return e=ui(e),PB(t,ho()?Reflect.construct(e,n||[],ui(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 _a(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 RB(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ea(t,e)}function PB(t,e){return e&&(OB(e)==="object"||typeof e=="function")?e:FB(t)}function Ea(t,e){return Ea=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ea(t,e)}function OB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function ho(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(ho=function(){return!!t})()}var Q=function(t){RB(e,t);function e(n){TB(this,e);var i;return i=SB(this,e,[n]),_a(i,"controlType","column"),_a(i,"props",void 0),_a(i,"children",void 0),i.props=new U(n==null?void 0:n.props),de(i,"children",n==null?void 0:n.children,void 0,"Runtime"),i}return e}(W);function xB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function kB(t,e,n){return e=ai(e),NB(t,yo()?Reflect.construct(e,n||[],ai(t).constructor):e.apply(t,n))}function MB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $B(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 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&&Ba(t,e)}function NB(t,e){return e&&(VB(e)==="object"||typeof e=="function")?e:xB(t)}function Ba(t,e){return Ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ba(t,e)}function VB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function yo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(yo=function(){return!!t})()}var wa=function(t){LB(e,t);function e(n){MB(this,e);var i;return i=kB(this,e,[n]),$B(i,"dataBind",void 0),i.dataBind=new he(n==null?void 0:n.dataBind),i}return e}(O);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=li(e),UB(t,vo()?Reflect.construct(e,n||[],li(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 fo(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 UB(t,e){return e&&(zB(e)==="object"||typeof e=="function")?e:HB(t)}function Da(t,e){return Da=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Da(t,e)}function zB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function vo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(vo=function(){return!!t})()}var KB=function(t){WB(e,t);function e(n){qB(this,e);var i;return i=jB(this,e,[n]),fo(i,"controlType","search"),fo(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(k);function GB(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ZB(t,e,n){return e=ri(e),JB(t,go()?Reflect.construct(e,n||[],ri(t).constructor):e.apply(t,n))}function XB(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function mo(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 QB(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 JB(t,e){return e&&(YB(e)==="object"||typeof e=="function")?e:GB(t)}function Aa(t,e){return Aa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Aa(t,e)}function YB(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function go(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(go=function(){return!!t})()}var pB=function(t){QB(e,t);function e(n){XB(this,e);var i;return i=ZB(this,e,[n]),mo(i,"controlType","search"),mo(i,"props",void 0),i.props=new wa(n==null?void 0:n.props),i}return e}(V);function ew(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function tw(t,e,n){return e=oi(e),uw(t,bo()?Reflect.construct(e,n||[],oi(t).constructor):e.apply(t,n))}function nw(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 iw(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 uw(t,e){return e&&(aw(e)==="object"||typeof e=="function")?e:ew(t)}function Ia(t,e){return Ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ia(t,e)}function aw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(bo=function(){return!!t})()}var Fa=function(t){iw(e,t);function e(n){return nw(this,e),tw(this,e,[n])}return e}(O);function lw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function rw(t,e,n){return e=ci(e),sw(t,_o()?Reflect.construct(e,n||[],ci(t).constructor):e.apply(t,n))}function ow(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Co(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 cw(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 sw(t,e){return e&&(dw(e)==="object"||typeof e=="function")?e:lw(t)}function Sa(t,e){return Sa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Sa(t,e)}function dw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function _o(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(_o=function(){return!!t})()}var hw=function(t){cw(e,t);function e(n){ow(this,e);var i;return i=rw(this,e,[n]),Co(i,"controlType","wrap"),Co(i,"props",void 0),i.props=new Fa(n==null?void 0:n.props),i}return e}(k);function yw(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function fw(t,e,n){return e=si(e),gw(t,Bo()?Reflect.construct(e,n||[],si(t).constructor):e.apply(t,n))}function vw(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eo(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function si(t){return si=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},si(t)}function mw(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ta(t,e)}function gw(t,e){return e&&(bw(e)==="object"||typeof e=="function")?e:yw(t)}function Ta(t,e){return Ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ta(t,e)}function bw(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t}function Bo(){try{var t=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Bo=function(){return!!t})()}var Cw=function(t){mw(e,t);function e(n){vw(this,e);var i;return i=fw(this,e,[n]),Eo(i,"controlType","wrap"),Eo(i,"props",void 0),i.props=new Fa(n==null?void 0:n.props),i}return e}(V);function Re(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}])}class Ra extends q{constructor(e){var n,i,u,a,l,o,d;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:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(d=e==null?void 0:e.aiContentSearch)!=null?d:!1}}class wo extends x{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlName(){return r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57")}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}wo.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-align",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class _w extends W{constructor(e){super(e),this.props=new Ra(e==null?void 0:e.props)}static get controlType(){return"text"}}var Do={Designer:wo,Runtime:_w,Property:Ra};class Pa extends q{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("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 Oa extends x{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.link",null,"\u94FE\u63A5")}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Oa.controlEventKeys=["on_click"],Oa.setting=[{key:"content",visible:!0},{key:"link-url",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"open-mode",visible:!0},{key:"super-setting",visible:!0}];class Ew extends W{constructor(e){super(e),this.props=new Pa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ao={Designer:Oa,Runtime:Ew,Property:Pa};class p extends q{constructor(e){var n,i,u,a,l,o,d,s,y;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("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=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(s=e==null?void 0:e.isLoading)!=null?s:!1,this.optObj=new Z_((y=e==null?void 0:e.optObj)!=null?y:{})}}class Y extends x{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlName(){return r("CMD.button",null,"\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}Y.slots=["grid-table-toolbar-slot","action-bar-slot",Kl.DEFAULT],Y.controlEventKeys=["on_click"],Y.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:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class ie extends W{constructor(e){super(e),this.props=new p(e==null?void 0:e.props)}static get controlType(){return"button"}}var Io={Designer:Y,Runtime:ie,Property:p},Pe=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(Pe||{}),Fo=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Fo||{}),So=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(So||{});class di{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:se(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var xa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(xa||{});class hi{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:se(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var ka=(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))(ka||{});class Ma{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v,E,$;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new De((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 De((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(d=e==null?void 0:e.company)!=null?d:new De((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.indexSignature=(y=e==null?void 0:e.indexSignature)!=null?y:new De((s=e==null?void 0:e.indexSignature)!=null?s:{type:"form"}),this.signaturePosition=(m=e==null?void 0:e.signaturePosition)!=null?m:"free",this.seal=new De((g=e==null?void 0:e.seal)!=null?g:{type:"form"}),this.platformAutoSign=(_=e==null?void 0:e.platformAutoSign)!=null?_:!1,this.signDateBeanType=(B=e==null?void 0:e.signDateBeanType)!=null?B:0,this.signDateFontSize=(C=e==null?void 0:e.signDateFontSize)!=null?C:12,this.signOrder=(w=e==null?void 0:e.signOrder)!=null?w:1,this.forceReadTime=e==null?void 0:e.forceReadTime,this.posX=(v=e==null?void 0:e.posX)!=null?v:0,this.posY=(E=e==null?void 0:e.posY)!=null?E:0,this.remark=($=e==null?void 0:e.remark)!=null?$:""}}class To{constructor(e){var n,i,u,a,l,o;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=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Ht{constructor(e){var n,i,u,a,l,o,d;this.id=(n=e==null?void 0:e.id)!=null?n:se(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],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 Ro{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,o,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=(o=e==null?void 0:e.isRelation)!=null?o:!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 Po{constructor(e){this.dataCode=e.dataCode}}class Oo{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 Po(a)))!=null?u:[]}}class xo{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 Ht(a)))!=null?u:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u677F"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}const ko=480;function jt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Mo{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 $o{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 Lo=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(Lo||{}),Va=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Va||{}),yi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(yi||{}),Oe=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Oe||{}),Ha=(t=>(t.ALL="all",t.ADMIN="admin",t))(Ha||{}),ja=(t=>(t.NO_COMPRESS="0",t.RATIO_COMPRESS="1",t.PIXEL_COMPRESS="2",t))(ja||{});class qa 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:ka.SOLID}}class No extends x{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.divider",null,"\u5206\u5272\u7EBF")}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}No.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Bw extends W{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Vo={Designer:No,Runtime:Bw,Property:qa};class ww extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Pe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")},dataCode:{type:"string",required:!0,message:r("CMD.bizKeyNotBindFiled",null,"\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879")}},message:r("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:r("CMD.pleaseSelectOneField",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01")})}}class fi extends q{constructor(e){var n,i,u,a;super(e),this.dataBind=new he(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Pe.ShowSubmitUser,Pe.ShowSubmitDept,Pe.ShowSubmitTime,Pe.ShowCurrentApprovar,Pe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:dt==null?void 0:dt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}fi.Rules=ww;class dt extends x{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.title",null,"\u6807\u9898\u7EC4\u4EF6")}static get controlIcon(){return"title"}static get controlType(){return"title"}}dt.controlFieldType=b.AUTO_NUMBER,dt.setting=[{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"title-setting",visible:!0},{key:"position",visible:!0},{key:"super-setting",visible:!0}];class Dw extends W{constructor(e){super(e),this.props=new fi(e==null?void 0:e.props)}static get controlType(){return"title"}}var Ho={Designer:dt,Runtime:Dw,Property:fi};class Aw extends j{constructor(e){super(e),this.formKey={type:"string",required:!0,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}}class vi extends p{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:ht.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:ht.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}vi.Rules=Aw;class ht extends Y{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.createFormListButton",null,"\u521B\u5EFA\u5355\u636E")}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}ht.slots=["grid-table-toolbar-slot"],ht.controlEventKeys=["on_click","on_click_finish"],ht.setting=[{key:"button-content",visible:!0},{key:"select-form",visible:!0},{key:"open-type",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Iw extends ie{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var jo={Designer:ht,Runtime:Iw,Property:vi};class Fw extends j{constructor(e){super(e),this.processKey=[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterProcess",null,"\u8BF7\u7ED1\u5B9A\u6D41\u7A0B")}]}}class mi extends p{constructor(e){var n,i,u,a,l,o;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=(o=e==null?void 0:e.employeeId)!=null?o:""}}mi.Rules=Fw;class yt extends Y{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return r("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 Sw extends ie{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var qo={Designer:yt,Runtime:Sw,Property:mi};class Wa extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:ft.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:ft.controlIcon}}class ft extends Y{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlName(){return r("CMD.submissionRecordListButton",null,"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55")}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}ft.slots=["grid-table-toolbar-slot"],ft.controlEventKeys=["on_click"],ft.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 Tw extends ie{constructor(e){super(e),this.props=new Wa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Wo={Designer:ft,Runtime:Tw,Property:Wa};class Ua extends p{constructor(e){var n,i,u,a,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:vt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:vt.controlName,this.templateType=(u=e==null?void 0:e.templateType)!=null?u:"system",this.templateList=(l=(a=e==null?void 0:e.templateList)==null?void 0:a.map(o=>new Ht(o)))!=null?l:[new Ht({id:"default",name:r("CMD.defaultTemplate",null,"\u9ED8\u8BA4\u6A21\u7248"),appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class vt extends Y{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportListButton",null,"\u5BFC\u51FA")}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}vt.slots=["grid-table-toolbar-slot"],vt.controlEventKeys=["on_click","on_click_finish"],vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"export-list-template",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Rw extends ie{constructor(e){super(e),this.props=new Ua(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Uo={Designer:vt,Runtime:Rw,Property:Ua};class za extends p{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 Y{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlName(){return r("CMD.exportRecordListButton",null,"\u5BFC\u51FA\u8BB0\u5F55")}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}mt.slots=["grid-table-toolbar-slot"],mt.controlEventKeys=["on_click"],mt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Pw extends ie{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var zo={Designer:mt,Runtime:Pw,Property:za};class Ow{constructor(e){this.dataCode=e.dataCode}}class Ka extends p{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:gt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:gt.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(o=>new Ow(o)))!=null?a:[],this.templateType=(l=e==null?void 0:e.templateType)!=null?l:"system"}}class gt extends Y{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlName(){return r("CMD.importRecordListButton",null,"\u5BFC\u5165")}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}gt.slots=["grid-table-toolbar-slot"],gt.controlEventKeys=["on_click","on_click_finish"],gt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"import-list-template",visible:!0},{key:"super-setting",visible:!0}];class xw extends ie{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Ko={Designer:gt,Runtime:xw,Property:Ka};function gi(){return{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")},controlId:{type:"string",required:!0,message:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")}}}}}}class kw extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},gi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("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:r("CMD.pleaseSelectControl",null,"\u8BF7\u9009\u62E9\u63A7\u4EF6")})}}class bi extends p{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:qt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:qt.controlIcon,this.command=(u=e==null?void 0:e.command)!=null?u:"create",this.fillPayload=new Er(e==null?void 0:e.fillPayload),this.formBind=new S_(e==null?void 0:e.formBind),this.fillBack=new Br(e==null?void 0:e.fillBack)}}bi.Rules=kw;class qt extends Y{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.formSelectButton",null,"\u8868\u5355\u64CD\u4F5C")}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}qt.controlEventKeys=["on_click","on_click_finish"],qt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Mw extends ie{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Go={Designer:qt,Runtime:Mw,Property:bi};class $w extends j{constructor(e){super(e),this.fillPayload={type:"object",fields:nt({},gi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")},headers:{type:"array",required:!0,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}},this.fillBack={type:"object",fields:nt({mode:{type:"string",required:!0,message:r("CMD.pleaseSelectFillBackMode",null,"\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E")}},gi())}}}class Ci extends p{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 Er(e==null?void 0:e.fillPayload),this.listPageBind=new ku(e==null?void 0:e.listPageBind),this.fillBack=new Br(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Nu(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=$w;class Wt extends Y{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlName(){return r("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:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Lw extends ie{constructor(e){super(e),this.props=new Ci(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var Zo={Designer:Wt,Runtime:Lw,Property:Ci};class Nw extends j{constructor(e){super(e)}}class Vw extends Me{constructor(e){super(e)}}class Ut extends q{constructor(e){super(e)}}Ut.Rules=Nw,Ut.RuntimeRules=Vw;class Xo extends x{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return r("CMD.pagination",null,"\u5206\u9875")}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}Xo.setting=[];class Hw extends W{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var Qo={Designer:Xo,Runtime:Hw,Property:Ut};class jw extends j{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:r("CMD.pleaseSelectDashboard",null,"\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8")},this.caption={type:"string",required:!0,message:r("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:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.isShowReportParams={type:"boolean"},this.reportParams={type:"array",min:0},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class _i extends q{constructor(e){var n,i,u,a,l,o,d,s;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=(o=e==null?void 0:e.labelPosition)!=null?o:"top",this.isShowReportParams=(d=e==null?void 0:e.isShowReportParams)!=null?d:!1,this.reportParams=(s=e==null?void 0:e.reportParams)!=null?s:[]}}_i.Rules=jw;class Jo extends x{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return r("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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"report-params-setting",visible:!0},{key:"super-setting",visible:!0}];class qw extends W{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var Yo={Designer:Jo,Runtime:qw,Property:_i};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:r("CMD.theViewNameCannotBeEmpty",null,"\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A")},headers:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectAtLeastOneColumn",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5")}}}}}}class Ei 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 K_(a)))!=null?u:[]}}Ei.Rules=Ww;class po extends x{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return r("CMD.listViewSelect",null,"\u5217\u8868\u89C6\u56FE")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}po.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class Uw extends W{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ec={Designer:po,Runtime:Uw,Property:Ei};class zw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("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:r("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(r("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:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Bi extends p{constructor(e){var n,i,u,a,l,o,d,s,y,m;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:bt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:bt.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:bt.controlIcon,this.ocrType=(s=e==null?void 0:e.ocrType)!=null?s:"",this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(g=>new ee(g)))!=null?m:[]}}Bi.Rules=zw;class bt extends Y{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlName(){return r("CMD.textOcrButton",null,"\u6587\u5B57\u8BC6\u522B")}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}bt.controlEventKeys=["on_click","on_click_finish"],bt.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Kw extends ie{constructor(e){super(e),this.props=new Bi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var tc={Designer:bt,Runtime:Kw,Property:Bi};class Gw extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("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(r("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:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class wi extends p{constructor(e){var n,i,u,a,l,o,d,s,y,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=(o=e==null?void 0:e.content)!=null?o:Ct.controlName,this.icon=(d=e==null?void 0:e.icon)!=null?d:Ct.controlIcon,this.invoiceCheck=(s=e==null?void 0:e.invoiceCheck)!=null?s:!0,this.fillList=(m=(y=e==null?void 0:e.fillList)==null?void 0:y.map(g=>new ee(g)))!=null?m:[]}}wi.Rules=Gw;class Ct extends Y{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return r("CMD.invoiceCheckButton",null,"\u53D1\u7968\u8BC6\u522B")}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}Ct.controlEventKeys=["on_click","on_click_finish"],Ct.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"text-ocr",visible:!0},{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Zw extends ie{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var nc={Designer:Ct,Runtime:Zw,Property:wi};class Xw extends j{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:r("CMD.pleaseUploadAtLeastOnePrintTemplate",null,"\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01")}}}class Di extends p{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(o=>new Mo(o)))!=null?a:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}Di.Rules=Xw;class _t extends Y{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlName(){return r("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 Qw extends ie{constructor(e){super(e),this.props=new Di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var ic={Designer:_t,Runtime:Qw,Property:Di};class Ga extends p{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Et.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Et.controlIcon}}class Et extends Y{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlName(){return r("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"}}Et.slots=["grid-table-toolbar-slot"],Et.controlEventKeys=["on_click"],Et.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class Jw extends ie{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var uc={Designer:Et,Runtime:Jw,Property:Ga};class Yw 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:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")})}}class Ai extends q{constructor(e){var n,i,u,a,l;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:r("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}}Ai.Rules=Yw;class Ii extends x{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlName(){return r("CMD.operationButton",null,"\u64CD\u4F5C\u6309\u94AE")}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ii.controlEventKeys=["on_click"],Ii.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class pw extends W{constructor(e){super(e),this.props=new Ai(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var ac={Designer:Ii,Runtime:pw,Property:Ai};class Za extends q{constructor(e){var n,i,u,a,l,o,d,s,y;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.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=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(d=e==null?void 0:e.defaultState)!=null?d:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(y=e==null?void 0:e.isLoading)!=null?y:!1}}class Bt extends x{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlName(){return r("CMD.batchDeleteButton",null,"\u6279\u91CF\u5220\u9664")}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}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:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class eD extends W{constructor(e){super(e),this.props=new Za(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var lc={Designer:Bt,Runtime:eD,Property:Za};class tD extends j{constructor(e){super(e),this.actionSetting={type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseEnterDataCode",null,"\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B")},formKey:{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}}}}}class Fi extends q{constructor(e){var n,i,u,a,l,o;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Si.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=(o=new Na(e==null?void 0:e.listHeightSetting))!=null?o:new Na}}Fi.Rules=tD;class Si extends x{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlName(){return r("CMD.referenceList",null,"\u5F15\u7528\u5217\u8868")}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"reference-list"}}Si.controlEventKeys=["on_list_rowclick"],Si.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_SIMPLE_SEARCH,c.IS_SHOW_TOOL_BAE]},{key:"action-setting",visible:!0},{key:"line-height-setting",visible:!0},{key:"super-setting",visible:!0}];class nD extends W{constructor(e){super(e),this.props=new Fi(e==null?void 0:e.props)}static get controlType(){return"reference-list"}}var rc={Designer:Si,Runtime:nD,Property:Fi},iD=Object.freeze({__proto__:null,Text:Do,Link:Ao,Button:Io,Divider:Vo,Title:Ho,CreateFormListButton:jo,BatchSubmissionListButton:qo,SubmissionRecordListButton:Wo,ExportListButton:Uo,ExportRecordListButton:zo,ImportRecordListButton:Ko,FormSelectButton:Go,ListSelectButton:Zo,Pagination:Qo,Dashboard:Yo,ListViewSelect:ec,TextOcrButton:tc,InvoiceCheckButton:nc,BatchPrintListButton:ic,BatchPrintRecordListButton:uc,OperationButton:ac,BatchDeleteButton:lc,ReferenceList:rc});class uD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:200,message:r("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:r("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=r("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=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class aD extends H{constructor(e){super(e),this.push({type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{max:e.maxLength,min:e.minLength,message:r("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:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class wt extends F{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new wr(e==null?void 0:e.regularRules),this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:Dt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(d=e==null?void 0:e.encryptedMode)!=null?d:"",this.aiContentSearch=(s=e==null?void 0:e.aiContentSearch)!=null?s:!1}}wt.Rules=uD,wt.RuntimeRules=aD;class Dt extends S{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}Dt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Dt.controlFieldType=b.VARCHAR,Dt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{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 oc extends T{constructor(e){super(e),this.props=new wt(e==null?void 0:e.props)}static get controlType(){return"input"}}oc.controlFieldType=b.VARCHAR;var cc={Designer:Dt,Runtime:oc,Property:wt};class lD extends lt{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:r("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 rD extends H{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 zt extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("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=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(d=e==null?void 0:e.limitMax)!=null?d:"unlimited",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Kt.controlName,this.defaultValue=(m=e==null?void 0:e.defaultValue)!=null?m:[],this.optionsFormat=(g=e==null?void 0:e.optionsFormat)!=null?g:"horizontal",this.defaultShowOptions=(_=e==null?void 0:e.defaultShowOptions)!=null?_:!0,this.openMultistageFilling=(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(w=>{var v;(v=this.multistageFilling)==null||v.push(new ee(w))})),this.aiContentSearch=(C=e==null?void 0:e.aiContentSearch)!=null?C:!1}}zt.Rules=lD,zt.RuntimeRules=rD;class Kt extends S{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlName(){return r("CMD.checkBox",null,"\u591A\u9009")}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Kt.controlEventKeys=["on_change","on_click"],Kt.controlFieldType=b.ARRAY,Kt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{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 sc extends T{constructor(e){super(e),this.props=new zt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}sc.controlFieldType=b.ARRAY;var dc={Designer:Kt,Runtime:sc,Property:zt};class oD extends lt{constructor(e){super(e)}}class Ti extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("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=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(d=e==null?void 0:e.optionsFormat)!=null?d:"horizontal",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.interreaction=(s=e==null?void 0:e.interreaction)!=null?s:[],this.caption=(y=e==null?void 0:e.caption)!=null?y:Gt.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(B=>{var C;(C=this.multistageFilling)==null||C.push(new ee(B))})),this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}Ti.Rules=oD;class Gt extends S{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return r("CMD.radio",null,"\u5355\u9009")}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Gt.controlEventKeys=["on_change","on_click"],Gt.controlFieldType=b.VARCHAR,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class hc extends T{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"radio"}}hc.controlFieldType=b.VARCHAR;var yc={Designer:Gt,Runtime:hc,Property:Ti};class cD extends G{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:r("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=r("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:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")}),this.defaultValue[1].pattern=jt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class sD extends H{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:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.16921751712133509":i===void 0?"CMD.f0231751712135569":"CMD.78ab1751712129046"))}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:jt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Zt extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,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=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(d=e==null?void 0:e.showUpperCase)!=null?d:!1,this.isShowUnit=(s=e==null?void 0:e.isShowUnit)!=null?s:!1,this.unitPosition=(y=e==null?void 0:e.unitPosition)!=null?y:"right",this.unit=(m=e==null?void 0:e.unit)!=null?m:"",this.caption=(g=e==null?void 0:e.caption)!=null?g:Xt.controlName,this.placeholder=(_=e==null?void 0:e.placeholder)!=null?_:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.defaultValue=(B=e==null?void 0:e.defaultValue)!=null?B:"",this.regularRules=new wr(e==null?void 0:e.regularRules)}}Zt.Rules=cD,Zt.RuntimeRules=sD;class Xt extends S{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlName(){return r("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}}Xt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Xt.controlFieldType=b.DECIMAL,Xt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class fc extends T{constructor(e){super(e),this.props=new Zt(e==null?void 0:e.props)}static get controlType(){return"number"}}fc.controlFieldType=b.DECIMAL;var vc={Designer:Xt,Runtime:fc,Property:Zt};class Xa extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.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=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnterDate",null,"\u8BF7\u8F93\u5165\u65E5\u671F"),this.defaultValue=(d=e==null?void 0:e.defaultValue)!=null?d:"",this.limitDateList=(y=(s=e==null?void 0:e.limitDateList)==null?void 0:s.map(B=>new di(B)))!=null?y:[],this.allowDateRange=(m=e==null?void 0:e.allowDateRange)!=null?m:["",""],this.filterWeekend=(g=e==null?void 0:e.filterWeekend)!=null?g:!1,this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}class Ri extends S{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlName(){return r("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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ri.controlFieldType=b.TIMESTAMP,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class mc extends T{constructor(e){super(e),this.props=new Xa(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}mc.controlFieldType=b.TIMESTAMP;var gc={Designer:Ri,Runtime:mc,Property:Xa};class dD extends H{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 Pi extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.dataBind=new V_(e==null?void 0:e.dataBind),this.defaultValue=new H_(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.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=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:r("CMD.pleaseSelectStartDate",null,"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:r("CMD.pleaseSelectEndDate",null,"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F"),this.caption=(y=e==null?void 0:e.caption)!=null?y:Oi.controlName,this.limitDateList=(g=(m=e==null?void 0:e.limitDateList)==null?void 0:m.map(B=>new di(B)))!=null?g:[],this.isInternational=(_=e==null?void 0:e.isInternational)!=null?_:!1}}Pi.RuntimeRules=dD;class Oi extends S{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return r("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,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Oi.controlFieldType=b.TIMESCOPE,Oi.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_INTERNATIONAL]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class bc extends T{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"date-range"}}bc.controlFieldType=b.TIMESCOPE;var Cc={Designer:Oi,Runtime:bc,Property:Pi};class hD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("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:r("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=r("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 yD extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("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 Qt extends F{constructor(e){var n,i,u,a,l,o,d,s;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:Jt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.rowHeightSetting=new A_(e==null?void 0:e.rowHeightSetting),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Ar((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}])}}Qt.Rules=hD,Qt.RuntimeRules=yD;class Jt extends S{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlName(){return r("CMD.textarea",null,"\u591A\u884C\u6587\u672C")}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}Jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Jt.controlFieldType=b.TEXT,Jt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{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 _c extends T{constructor(e){super(e),this.props=new Qt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}_c.controlFieldType=b.TEXT;var Ec={Designer:Jt,Runtime:_c,Property:Qt};class fD extends G{constructor(e){super(e),this.maxLength={type:"number",min:0,message:r("CMD.TheMaximumLengthIsGreaterThanTheMinimumLength",null,"\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6")},this.minLength={type:"number",max:1e6,message:r("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:r("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=r("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 vD extends H{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:r("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 Yt extends F{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.aiContentSearch=(o=e==null?void 0:e.aiContentSearch)!=null?o:!1,this.aiGeneration=(d=e==null?void 0:e.aiGeneration)!=null?d:!1,this.aiOptions=Ar((s=e==null?void 0:e.aiOptions)!=null?s:[{label:r("CMD.aiOptionOneLabel",null,"\u603B\u7ED3"),cueWord:r("CMD.aiOptionOneCurword",null,"SUMM"),checked:!0},{label:r("CMD.aiOptionTwoLabel",null,"\u4E30\u5BCC"),cueWord:r("CMD.aiOptionTwoCurword",null,"RICH"),checked:!1},{label:r("CMD.aiOptionThreeLabel",null,"\u7FFB\u8BD1"),cueWord:r("CMD.aiOptionThreeCurword",null,"TRANS"),checked:!1}])}}Yt.Rules=fD,Yt.RuntimeRules=vD;class pt extends S{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return r("CMD.richText",null,"\u5BCC\u6587\u672C")}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=b.TEXT,pt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!1},{key:"ai-generation",visible:!0},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Bc extends T{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Bc.controlFieldType=b.TEXT;var wc={Designer:pt,Runtime:Bc,Property:Yt};class Qa extends F{constructor(e){var n,i,u,a,l,o,d;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:r("CMD.text",null,"\u8BF4\u660E\u6587\u5B57"),this.align=(o=e==null?void 0:e.align)!=null?o:"",this.aiContentSearch=(d=e==null?void 0:e.aiContentSearch)!=null?d:!1}}class Dc extends S{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlName(){return r("CMD.diplayText",null,"\u5C55\u793A\u6587\u672C")}static get controlIcon(){return"iconwenben"}static get controlType(){return"display-text"}}Dc.setting=[{key:"data-bind",visible:!0},{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"ai-content-search",visible:!0},{key:"text-color",visible:!0},{key:"text-align",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class mD extends T{constructor(e){super(e),this.props=new Qa(e==null?void 0:e.props)}static get controlType(){return"display-text"}}var Ac={Designer:Dc,Runtime:mD,Property:Qa};class gD extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class xi extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("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 J(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:ki.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(d=e==null?void 0:e.allowCopyOptions)!=null?d:!1,this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var B;(B=this.multistageFilling)==null||B.push(new ee(_))})),this.canViewForm=(y=e==null?void 0:e.canViewForm)!=null?y:!1,this.viewFormModelType=(m=e==null?void 0:e.viewFormModelType)!=null?m:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(g=e==null?void 0:e.aiContentSearch)!=null?g:!1}}xi.Rules=gD;class ki extends S{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return r("CMD.select",null,"\u4E0B\u62C9\u5355\u9009")}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}ki.controlFieldType=b.VARCHAR,ki.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ic extends T{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlType(){return"select"}}Ic.controlFieldType=b.VARCHAR;var Fc={Designer:ki,Runtime:Ic,Property:xi};class bD extends lt{constructor(e){super(e),this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class CD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class en extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[{label:r("CMD.optionOne",null,"\u9009\u9879\u4E00"),value:r("CMD.optionOne",null,"\u9009\u9879\u4E00")},{label:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C"),value:r("CMD.optionTwo",null,"\u9009\u9879\u4E8C")},{label:r("CMD.optionThird",null,"\u9009\u9879\u4E09"),value:r("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 J(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:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],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(g=>{var _;(_=this.multistageFilling)==null||_.push(new ee(g))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.aiContentSearch=(m=e==null?void 0:e.aiContentSearch)!=null?m:!1}}en.Rules=bD,en.RuntimeRules=CD;class Mi extends S{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return r("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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"ai-content-search",visible:!0},{key:"options-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Sc extends T{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}Sc.controlFieldType=b.ARRAY;var Tc={Designer:Mi,Runtime:Sc,Property:en};class _D extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class $i extends F{constructor(e){var n,i,u,a,l,o,d,s,y;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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Li.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.openMultistageFilling=(y=e==null?void 0:e.openMultistageFilling)!=null?y:!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 ee(m))}))}}$i.RuntimeRules=_D;class Li extends S{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return r("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:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Rc extends T{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"employee"}}Rc.controlFieldType=b.EMPLOYEES;var Pc={Designer:Li,Runtime:Rc,Property:$i};const ED=10485760,BD=104857600,wD=1048576e3;class DD extends G{constructor(e){super(e),this.maxSize={type:"number",min:0,max:wD,message:r("CMD.attachmentMaxSize",null,"\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4")}}}class AD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array"),this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:r("CMD.attachmentLimitError",{max:e.maxLimit,min:e.minLimit},"\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u8D85\u8FC7\u4E86\u9650\u5236")})}}class At extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.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=(o=e==null?void 0:e.minLimit)!=null?o:0,this.maxSize=(d=e==null?void 0:e.maxSize)!=null?d:BD,this.caption=(s=e==null?void 0:e.caption)!=null?s:It.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:r("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=(_=e==null?void 0:e.operation)!=null?_:["info","preview","download"],this.aiExplanation=(B=e==null?void 0:e.aiExplanation)!=null?B:!1,this.aiExplanationLength=(C=e==null?void 0:e.aiExplanationLength)!=null?C:500,this.storageType=(w=e==null?void 0:e.storageType)!=null?w:"local",this.customOperation=(v=e==null?void 0:e.customOperation)!=null?v:[]}}At.Rules=DD,At.RuntimeRules=AD;class It extends S{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlName(){return r("CMD.file",null,"\u9644\u4EF6")}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}It.controlEventKeys=["on_change","on_file_actions"],It.controlFieldType=b.FILE,It.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"ai-explanation",visible:!0},{key:"attachment-storage",visible:!0},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-custom-operation",visible:!0},{key:"attachment-operation",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Ja extends T{constructor(e){super(e),this.props=new At(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Ja.controlFieldType=b.FILE;var Oc={Designer:It,Runtime:Ja,Property:At};class Ya extends At{constructor(e){var n,i,u,a,l,o,d;super(e),this.showType="image",this.maxLimit=(n=e==null?void 0:e.maxLimit)!=null?n:10,this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:Ni.controlName)!=null?u:r("CMD.image",null,"\u56FE\u7247"),this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.uploadImg",null,"\u4E0A\u4F20\u56FE\u7247"),this.compressTypeCode=(l=e==null?void 0:e.compressTypeCode)!=null?l:ja.NO_COMPRESS,this.compressRatio=(o=e==null?void 0:e.compressRatio)!=null?o:1,this.maxPixel=(d=e==null?void 0:e.maxPixel)!=null?d:1080}}class Ni extends It{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlName(){return r("CMD.image",null,"\u56FE\u7247")}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}}Ni.controlFieldType=b.IMAGE,Ni.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.IS_SHOW_WATERMARK]},{key:"compression-setting",visible:!0},{key:"ai-explanation",visible:!0},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ID extends Ja{constructor(e){super(e),this.props=new Ya(e==null?void 0:e.props)}static get controlType(){return"image"}}var xc={Designer:Ni,Runtime:ID,Property:Ya};class FD extends lt{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:r("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=r("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:r("CMD.numberRangeSetError",null,"\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF")})}}class SD extends H{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:[Wl(nt({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:r(n===void 0?"CMD.pleaseEnterAValueGreaterThanMin":i===void 0?"CMD.pleaseEnterAValueLessThanMax":"CMD.pleaseEnterNumberRange",{max:n,min:i},r(n===void 0?"CMD.51051751712133507":i===void 0?"CMD.41d01751712135567":"CMD.affe1751712129045"))}],currency:{type:"string"}}})}}class tn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new L_(e==null?void 0:e.dataBind),this.datasourceBind=new J((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new $u({value:"name"})]}),this.defaultValue=new N_((d=e==null?void 0:e.defaultValue)!=null?d:{amount:"",currency:U_.CNY}),this.unitPosition=(s=e==null?void 0:e.unitPosition)!=null?s:"right",this.options=me(e==null?void 0:e.options),this.caption=(y=e==null?void 0:e.caption)!=null?y:nn.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.submitSelectCurrency=(g=e==null?void 0:e.submitSelectCurrency)!=null?g:!1,this.showUpperCase=(_=e==null?void 0:e.showUpperCase)!=null?_:!1}}tn.Rules=FD,tn.RuntimeRules=SD;class nn extends S{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlName(){return r("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}}nn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],nn.controlFieldType=b.MONEY,nn.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"unit-position",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class kc extends T{constructor(e){super(e),this.props=new tn(e==null?void 0:e.props)}static get controlType(){return"amount"}}kc.controlFieldType=b.MONEY;var Mc={Designer:nn,Runtime:kc,Property:tn};class TD extends G{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:r("CMD.pleaseEnterTotalScoreSetting",null,"\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E")},{type:"number",min:1,message:r("CMD.theTotalScoreMustNotBeLessThan1",null,"\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1")}],this.defaultValue={type:"number",min:0,max:5,message:r("CMD.scoreDefaultValueRange",null,"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")},this.defaultValue.max=e.totalScore,this.defaultValue.message=r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:0},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")}}class RD extends H{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:r("CMD.scoreDefaultValueRange",{max:e.totalScore,min:n},"\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4")})}}class un extends F{constructor(e){var n,i,u,a,l,o,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:xa.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(s=>new hi(s)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new hi),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(d=e==null?void 0:e.caption)!=null?d:an.controlName}}un.Rules=TD,un.RuntimeRules=RD;class an extends S{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return r("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)}}an.controlEventKeys=["on_change","on_click"],an.controlFieldType=b.DECIMAL,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class $c extends T{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"score"}}$c.controlFieldType=b.DECIMAL;var Lc={Designer:an,Runtime:$c,Property:un};class PD extends H{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:r("CMD.pleaseSelectProvince",null,"\u8BF7\u9009\u62E9\u7701")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:r("CMD.pleaseSelectCity",null,"\u8BF7\u9009\u62E9\u5E02")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:r("CMD.pleaseSelectDistrict",null,"\u8BF7\u9009\u62E9\u533A")}),this.push(n)}}}class Vi extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Hi.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 j_((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:r("CMD.pleaseChooseAddress",null,"\u8BF7\u9009\u62E9\u5730\u5740")}}Vi.RuntimeRules=PD;class Hi extends S{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.address",null,"\u5730\u5740")}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Hi.controlFieldType=b.ADDRESS,Hi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Nc extends T{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return r("CMD.e7c91751712163978")}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}Nc.controlFieldType=b.ADDRESS;var Vc={Designer:Hi,Runtime:Nc,Property:Vi};class OD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class ji extends F{constructor(e){var n,i,u,a,l,o,d,s,y,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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:ln.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("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(_=>{var B;(B=this.multistageFilling)==null||B.push(new ee(_))}))}}ji.RuntimeRules=OD;class ln extends S{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}ln.controlName=r("CMD.department",null,"\u90E8\u95E8"),ln.controlFieldType=b.DEPARTMENTS,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Hc extends T{constructor(e){super(e),this.props=new ji(e==null?void 0:e.props)}static get controlType(){return"department"}}Hc.controlFieldType=b.DEPARTMENTS;var jc={Designer:ln,Runtime:Hc,Property:ji};class pa extends F{constructor(e){var n,i,u;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:rn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:r("CMD.pleaseEnterAutonumber",null,"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7")}}class rn extends S{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlName(){return r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7")}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}rn.controlEventKeys=["on_change"],rn.controlFieldType=b.AUTO_NUMBER,rn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class qc extends T{constructor(e){super(e),this.props=new pa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}qc.controlFieldType=b.AUTO_NUMBER;var Wc={Designer:rn,Runtime:qc,Property:pa};class xD extends G{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 kD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="object"),this.push({type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61"),fields:{result:[{type:"number",message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")}],unit:{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")}}})}}class on extends F{constructor(e){var n,i,u,a,l,o,d,s,y;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 q_(e==null?void 0:e.dataBind),this.defaultValue=new W_(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:cn.controlName,this.unitPosition=(l=e==null?void 0:e.unitPosition)!=null?l:"right",this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:r("CMD.pleaseEnter",null,"\u8BF7\u8F93\u5165"),this.scriptEcho=(d=e==null?void 0:e.scriptEcho)!=null?d:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:"",this.calcOnMounted=(y=e==null?void 0:e.calcOnMounted)!=null?y:!1}}on.Rules=xD,on.RuntimeRules=kD;class cn extends S{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlName(){return r("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}}cn.controlEventKeys=["on_change"],cn.controlFieldType=b.CALC,cn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],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:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"unit-position",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Uc extends T{constructor(e){super(e),this.props=new on(e==null?void 0:e.props)}static get controlType(){return"calc"}}Uc.controlFieldType=b.CALC;var zc={Designer:cn,Runtime:Uc,Property:on};class MD extends H{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(r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")):Promise.resolve()}})}}class qi extends F{constructor(e){var n,i,u,a,l,o;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:r("CMD.min",null,"\u6700\u5C0F\u503C"),this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:r("CMD.max",null,"\u6700\u5927\u503C"),this.caption=(o=e==null?void 0:e.caption)!=null?o:Wi.controlName}}qi.RuntimeRules=MD;class Wi extends S{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlName(){return r("CMD.searchNumberRange",null,"\u6570\u5B57\u533A\u95F4")}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Wi.controlFieldType=b.DECIMAL_RANGE,Wi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Kc extends T{constructor(e){super(e),this.props=new qi(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Kc.controlFieldType=b.DECIMAL_RANGE;var Gc={Designer:Wi,Runtime:Kc,Property:qi};class $D extends H{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 F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:it.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=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(d=e==null?void 0:e.rangeMax)!=null?d:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:r("CMD.startDate",null,"\u5F00\u59CB\u65E5\u671F"),this.placeholderEnd=(y=e==null?void 0:e.placeholderEnd)!=null?y:r("CMD.endDate",null,"\u7ED3\u675F\u65E5\u671F"),this.caption=(m=e==null?void 0:e.caption)!=null?m:zi.controlName,this.limitDateList=(_=(g=e==null?void 0:e.limitDateList)==null?void 0:g.map(B=>new di(B)))!=null?_:[]}}Ui.RuntimeRules=$D;class zi extends S{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4")}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}zi.controlFieldType=b.ARRAY,zi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Zc extends T{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Zc.controlFieldType=b.ARRAY;var Xc={Designer:zi,Runtime:Zc,Property:Ui};class LD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class ND extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class sn extends F{constructor(e){var n,i,u,a,l;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ft.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}}sn.Rules=LD,sn.RuntimeRules=ND;class Ft extends S{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vueFormItem",null,"Vue\u5BB9\u5668")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}Ft.controlFieldType=b.ANY,Ft.controlEventKeys=[],Ft.slots=["grid-table-toolbar-slot",Kl.DEFAULT],Ft.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class Qc extends T{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}Qc.controlFieldType=b.ANY;var Jc={Designer:Ft,Runtime:Qc,Property:sn};class VD extends lt{constructor(e){super(e),this.listPageBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:r("CMD.isNotString",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32")},{type:"string",required:!0,message:r("CMD.pleaseEnterList",null,"\u8BF7\u7ED1\u5B9A\u5217\u8868")}]}}],this.formBind={type:"object",fields:{formKey:{type:"string",message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")}}},e.canViewForm===!0&&(this.formBind.fields.formKey.required=!0)}}class Ki extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.options=me((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new ku(e==null?void 0:e.listPageBind),this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:dn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(d=e==null?void 0:e.showSelectedDetail)!=null?d:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(B=>{var C;(C=this.multistageFilling)==null||C.push(new ee(B))})),this.canViewForm=(s=e==null?void 0:e.canViewForm)!=null?s:!1,this.viewFormModelType=(y=e==null?void 0:e.viewFormModelType)!=null?y:"window",this.formBind=new ut(e==null?void 0:e.formBind),this.optionDisplayConfig=(m=e==null?void 0:e.optionDisplayConfig)!=null?m:[],this.canSearch=(g=e==null?void 0:e.canSearch)!=null?g:!1,this.aiContentSearch=(_=e==null?void 0:e.aiContentSearch)!=null?_:!1}}Ki.Rules=VD;class dn extends S{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return r("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}}dn.controlFieldType=b.VARCHAR,dn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.CAN_SEARCH]},{key:"ai-content-search",visible:!0},{key:"relation-setting",visible:!0,showItems:[c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE]},{key:"default-value",visible:!0},{key:"option-config-setting",visible:!0},{key:"super-setting",visible:!0}],dn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class Yc extends T{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}Yc.controlFieldType=b.VARCHAR;var pc={Designer:dn,Runtime:Yc,Property:Ki};class el extends wt{constructor(e){super(e)}}class es extends Dt{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlName(){return r("CMD.input",null,"\u5355\u884C\u6587\u672C")}static get controlType(){return"search-input"}}es.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class ts extends T{constructor(e){super(e),this.props=new el(e==null?void 0:e.props)}static get controlType(){return"search-input"}}ts.controlFieldType=b.VARCHAR;var ns={Designer:es,Runtime:ts,Property:el};class HD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],jn.call(this,e,xe.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:r("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:r("CMD.rootNodeIsRequired",null,"\u8BF7\u9009\u62E9\u6839\u8282\u70B9")}}}])}}class jD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class hn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v,E,$,R;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:xe.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:r("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=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(d=e==null?void 0:e.containsSubNode)!=null?d:!1,this.isShowFilterItem=(s=e==null?void 0:e.isShowFilterItem)!=null?s:!1,this.isShowIncludeSub=(y=e==null?void 0:e.isShowIncludeSub)!=null?y:!1,this.isDefaultCheckSub=(m=e==null?void 0:e.isDefaultCheckSub)!=null?m:!1,this.defaultCollapse=(g=e==null?void 0:e.defaultCollapse)!=null?g:"all",this.defaultCollapseLevel=(_=e==null?void 0:e.defaultCollapseLevel)!=null?_:1,this.datasourceBind=new Cr((B=e==null?void 0:e.datasourceBind)!=null?B:{attributes:xe.controlCustomAttributes}),this.filterItemDatasourceBind=new Cr((C=e==null?void 0:e.filterItemDatasourceBind)!=null?C:{attributes:xe.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=($=(E=e==null?void 0:e.multistageFilling)==null?void 0:E.map(M=>new ee(M)))!=null?$:[],this.defaultValue=(R=e==null?void 0:e.defaultValue)!=null?R:[]}}hn.Rules=HD,hn.RuntimeRules=jD;class xe extends S{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlName(){return r("CMD.tree",null,"\u6811")}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.6cb51751712162323"),required:!0},{key:"parentField",name:r("CMD.33ee1751712159752"),required:!0}]}}xe.controlEventKeys=["on_change","on_click"],xe.controlFieldType=b.ARRAY,xe.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class is extends T{constructor(e){super(e),this.props=new hn(e==null?void 0:e.props)}static get controlType(){return"tree"}}is.controlFieldType=b.ARRAY;var us={Designer:xe,Runtime:is,Property:hn};class qD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.externalScope={type:"any"},jn.call(this,e,$e.controlCustomAttributes),e.externalType===Oe.ASSIGN&&(this.externalScope={type:"array",required:!0,message:r("CMD.pleaseAssignExternal",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7")})}}class WD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class yn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:$e.controlName,this.placeholder=(s=e==null?void 0:e.placeholder)!=null?s:r("CMD.pleaseEnterNameorEmail",null,"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1"),this.datasourceBind=new Ln((y=e==null?void 0:e.datasourceBind)!=null?y:{attributes:$e.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=(_=e==null?void 0:e.externalType)!=null?_:Oe.ALL,this.externalScope=(B=e==null?void 0:e.externalScope)!=null?B:[],this.openMultistageFilling=(C=e==null?void 0:e.openMultistageFilling)!=null?C:!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 E;(E=this.multistageFilling)==null||E.push(new ee(v))}))}}yn.Rules=qD,yn.RuntimeRules=WD;class $e extends S{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlName(){return r("CMD.people",null,"\u4EBA\u5458")}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.ffd71751712162321"),required:!0}]}}$e.controlFieldType=b.EMPLOYEES,$e.controlEventKeys=["on_change","on_focus","on_blur","on_option_selected"],$e.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP,c.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 as extends T{constructor(e){super(e),this.props=new yn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}as.controlFieldType=b.EMPLOYEES;var ls={Designer:$e,Runtime:as,Property:yn};class UD extends G{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:r("CMD.pleaseSelectSignFile",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6")},undersignedList:{type:"array",required:!0,min:1,message:r("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:r("CMD.pleaseSelectSigner",null,"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA")}}},signatureType:{type:"array",required:!0,min:1,message:r("CMD.pleaseSelectSignType",null,"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B")},telephone:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&xn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectPhoneOrEmail",null,"\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1"));return}o()}},indexSignature:{type:"object",required:!0,validator(a,l,o){if((i==null?void 0:i.signaturePosition)==="index"&&xn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelect",null,"\u8BF7\u9009\u62E9"));return}o()}},company:{type:"object",required:!0,validator(a,l,o){if(i.type==="public"&&i.signatureType.includes("company")&&xn(l.value)&&l.value.length===0){o(r("CMD.pleaseSelectCompanyName",null,"\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0"));return}o()}}}},n),{})}}}}}class Gi extends F{constructor(e){var n,i,u,a,l,o;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:fn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("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=(o=e==null?void 0:e.icon)!=null?o:"iconfenlei2",this.signatureConfig=new To(e==null?void 0:e.signatureConfig)}}Gi.Rules=UD;class fn extends S{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return r("CMD.electronicSignature",null,"\u7535\u5B50\u7B7E\u7AE0")}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}fn.controlEventKeys=["on_click","on_click_finish"],fn.controlFieldType=b.VARCHAR,fn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class rs extends T{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}rs.controlFieldType=b.VARCHAR;var os={Designer:fn,Runtime:rs,Property:Gi};class zD extends G{constructor(e){super(e),this.content={type:"string",required:!0,message:r("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(r("CMD.pleaseEnterWatermark",null,"\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(r("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(r("CMD.pleaseChooseAtLeastOne",null,"\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A"));return}u()}}}}class KD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class vn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:r("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=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(d=e==null?void 0:e.canDownload)!=null?d:!0,this.canExport=(s=e==null?void 0:e.canExport)!=null?s:!0,this.canDelete=(y=e==null?void 0:e.canDelete)!=null?y:!1,this.maxSize=(m=e==null?void 0:e.maxSize)!=null?m:ED,this.defaultValue=(g=e==null?void 0:e.defaultValue)!=null?g:[],this.wpsSetting=new Ro(e==null?void 0:e.wpsSetting),this.revisionsMode=(_=e==null?void 0:e.revisionsMode)!=null?_:!1}}vn.Rules=zD,vn.RuntimeRules=KD;class mn extends S{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return r("CMD.WPS",null,"\u5728\u7EBF\u6587\u6863")}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}mn.controlEventKeys=["on_change","on_wps_open"],mn.controlFieldType=b.FILE,mn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class cs extends T{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"wps"}}cs.controlFieldType=b.FILE;var ss={Designer:mn,Runtime:cs,Property:vn};class GD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,Le.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class ZD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class gn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:Le.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectDept",null,"\u8BF7\u9009\u62E9\u90E8\u95E8"),this.datasourceBind=new Ln((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:Le.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:yi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C: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 E;(E=this.multistageFilling)==null||E.push(new ee(v))}))}}gn.Rules=GD,gn.RuntimeRules=ZD;class Le extends S{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.72d21751712162321"),required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Le.controlName=r("CMD.department",null,"\u90E8\u95E8"),Le.controlFieldType=b.DEPARTMENTS,Le.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ds extends T{constructor(e){super(e),this.props=new gn(e==null?void 0:e.props)}static get controlType(){return"department2"}}ds.controlFieldType=b.DEPARTMENTS;var hs={Designer:Le,Runtime:ds,Property:gn};class XD extends G{constructor(e){super(e),this.datasourceBind=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")}],this.businessScope={type:"any"},jn.call(this,e,St.controlCustomAttributes),e.businessType===Oe.ASSIGN&&(this.businessScope={type:"array",required:!0,message:r("CMD.pleaseAssignBusiness",null,"\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8")})}}class QD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="array")}}class bn extends F{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v,E,$;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 ku(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=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(d=e==null?void 0:e.displayLevel)!=null?d:1,this.showSubDept=(s=e==null?void 0:e.showSubDept)!=null?s:!0,this.caption=(y=e==null?void 0:e.caption)!=null?y:St.controlName,this.placeholder=(m=e==null?void 0:e.placeholder)!=null?m:r("CMD.pleaseSelectOrg",null,"\u8BF7\u9009\u62E9\u7EC4\u7EC7"),this.datasourceBind=new M_((g=e==null?void 0:e.datasourceBind)!=null?g:{attributes:St.controlCustomAttributes}),this.datasourceType=(_=e==null?void 0:e.datasourceType)!=null?_:yi.INTERNAL,this.businessScope=(B=e==null?void 0:e.businessScope)!=null?B:[],this.businessType=(C=e==null?void 0:e.businessType)!=null?C: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=e==null?void 0:e.showSelectedDetail)!=null?E:!1,this.selectedContentConfig=new Nu(e==null?void 0:e.selectedContentConfig),this.openMultistageFilling=($=e==null?void 0:e.openMultistageFilling)!=null?$:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(R=>{var M;(M=this.multistageFilling)==null||M.push(new ee(R))}))}}bn.Rules=XD,bn.RuntimeRules=QD;class St extends S{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return r("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:r("CMD.895a1751712162322"),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}}St.controlFieldType=b.DEPARTMENTS,St.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"caption-style",showItems:[c.CAPTION_SIZE,c.CAPTION_COLOR,c.IS_CAPTION_ITALIC],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class ys extends T{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}ys.controlFieldType=b.DEPARTMENTS;var fs={Designer:St,Runtime:ys,Property:bn};class JD extends G{constructor(e){super(e),this.dataBind={type:"any"}}}class YD extends H{constructor(e){super(e),this[0]!==void 0&&(this[0].type="any")}}class Cn extends F{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}}Cn.Rules=JD,Cn.RuntimeRules=YD;class _n extends S{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlName(){return r("CMD.vuePage",null,"Vue\u9875\u9762")}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return D.VUE_PAGE}}_n.controlFieldType=b.ANY,_n.controlEventKeys=[],_n.setting=[];class vs extends T{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return D.VUE_PAGE}}vs.controlFieldType=b.ANY;var ms={Designer:_n,Runtime:vs,Property:Cn},pD=Object.freeze({__proto__:null,Input:cc,Checkbox:dc,Radio:yc,Number:vc,DatePicker:gc,DateRange:Cc,Textarea:Ec,RichText:wc,DisplayText:Ac,Select:Fc,SelectMultiple:Tc,Employee:Pc,Image:xc,Attachment:Oc,Amount:Mc,Score:Lc,Address:Vc,Department:jc,AutoNumber:Wc,Calc:zc,SearchNumberRange:Gc,SearchDateRange:Xc,VueFormItem:Jc,SelectRelation:pc,SearchInput:ns,Tree:us,Employee2:ls,ElectronicSignature:os,WPS:ss,Department2:hs,OrganizationSelection:fs,VuePage:ms});class gs extends k{static get controlName(){return r("CMD.grid",null,"\u753B\u5E03")}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}gs.excludes=[D.GRID];class e8 extends V{static get controlType(){return"grid"}constructor(e){super(e)}}var bs={Designer:gs,Runtime:e8,Property:O};const t8=24;class Ne extends O{constructor(e){var n,i,u,a;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:t8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:""}}class En extends k{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlName(){return r("CMD.col",null,"\u6805\u683C\u5217")}static get controlType(){return"col"}static get controlIcon(){return"col"}}En.excludes=[D.COL,D.SUBTABLE,D.SUBTABLE_COLUMN,D.GRID_LAYOUT_CONTAINER,D.DIVIDER],En.childrenMaxLength=1;class tl extends V{constructor(e){super(e),this.props=new Ne(e==null?void 0:e.props)}static get controlType(){return"col"}}var Cs={Designer:En,Runtime:tl,Property:Ne};class Zi extends O{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 k{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlName(){return r("CMD.row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}Xi.excludes=[D.ROW],Xi.setting=[{key:"col-setting",visible:!0}];class _s extends V{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Es={Designer:Xi,Runtime:_s,Property:Zi};const n8=4;class Qi extends Xi{static get controlName(){return r("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=[D.GRID_ROW],Qi.setting=[],Qi.childrenMaxLength=n8;class i8 extends _s{static get controlType(){return"grid-row"}constructor(e){super(e)}}class u8 extends Zi{constructor(e){super(e)}}var Bs={Designer:Qi,Runtime:i8,Property:u8};class a8 extends O.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class Ji extends O{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:r("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=a8;class nl extends k{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlName(){return r("CMD.cardGroup",null,"\u5206\u7EC4")}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}nl.setting=[{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],nl.excludes=[D.CARD_GROUP];class l8 extends V{constructor(e){super(e),this.props=new Ji(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var ws={Designer:nl,Runtime:l8,Property:Ji};class r8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.width={type:"number",required:!1,message:r("CMD.pleaseEnterColumnWidth",null,"\u8BF7\u8F93\u5165\u5217\u5BBD")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Yi extends O{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 I_(e==null?void 0:e.metaAutoWidth)}}Yi.Rules=r8;class ce extends k{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}ce.controlName=r("CMD.subtableColumn",null,"\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C"),ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[D.SUBTABLE,D.SUBTABLE_COLUMN,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT,D.GRID_LAYOUT_CONTAINER],ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Ds extends V{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}Ds.controlType="subtable-column";var As={Designer:ce,Runtime:Ds,Property:Yi};class il extends O{constructor(e){super(e)}}class Ve extends k{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}}Ve.controlName=r("CMD.subtableRow",null,"\u660E\u7EC6\u5B50\u8868\u884C"),Ve.controlType="subtable-row",Ve.controlIcon="subtable-row",Ve.childrenMaxLength=1,Ve.excludes=[D.SUBTABLE,D.SUBTABLE_COLUMN,D.SUBTABLE_ROW,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT],Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class o8 extends V{constructor(e){super(e),this.props=new il(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Is={Designer:Ve,Runtime:o8,Property:il};class ul extends O{constructor(e){var n,i,u,a,l,o,d,s,y,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=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.textCleanFormart=(d=e==null?void 0:e.textCleanFormart)!=null?d:!1,this.decimalKeepPrecision=(s=e==null?void 0:e.decimalKeepPrecision)!=null?s:0,this.timestampDateType=(y=e==null?void 0:e.timestampDateType)!=null?y:it.DATE,this.departmentDisplayLevel=(m=e==null?void 0:e.departmentDisplayLevel)!=null?m:1}}class He extends k{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}}He.controlName=r("CMD.8ba01751712155518"),He.controlType="gridtable-column",He.controlIcon="gridtable-column",He.childrenMaxLength=1,He.excludes=[D.GRID_TABLE,D.GRID_TABLE_COLUMN,D.ROW,D.COL,D.CARD_GROUP,D.DIVIDER,D.TEXT],He.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Fs extends V{constructor(e){super(e),this.props=new ul(e==null?void 0:e.props)}}Fs.controlType="gridtable-column";var Ss={Designer:He,Runtime:Fs,Property:ul};class al extends O{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 ll extends k{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutContainer",null,"\u6362\u884C\u5BB9\u5668")}static get controlType(){return"grid-layout-container"}static get controlIcon(){return"icona-huanhangrongqi1"}}ll.excludes=[D.GRID_LAYOUT_CONTAINER,D.CARD_GROUP,D.TAB],ll.setting=[{key:"grid-child-min-width",visible:!0},{key:"grid-col-gap",visible:!0}];class c8 extends V{constructor(e){super(e),this.props=new al(e==null?void 0:e.props)}static get controlType(){return"grid-layout-container"}}var Ts={Designer:ll,Runtime:c8,Property:al};class rl extends O{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class s8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")}}}class pi extends O{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:wn.controlName}}pi.Rules=s8;class Bn extends k{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlName(){return r("CMD.tabPane",null,"\u6807\u7B7E\u5355\u5143")}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}Bn.excludes=[D.TAB],Bn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class d8 extends V{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var Rs={Designer:Bn,Runtime:d8,Property:pi};class wn extends k{constructor(e){var n;super(e),this.props=new rl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Bn,new Bn]}static get controlName(){return r("CMD.tab",null,"\u6807\u7B7E\u9875")}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}wn.excludes=[D.TAB],wn.controlEventKeys=["on_change_tab"],wn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class h8 extends V{constructor(e){super(e),this.props=new rl(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Ps={Designer:wn,Runtime:h8,Property:rl};class Os extends O{constructor(e){super(e)}}class xs extends k{constructor(e){super(e),this.props=new Os({}),this.children=(e==null?void 0:e.children)||[new En({props:new Ne({span:12})}),new En({props:new Ne({span:12})})]}static get controlName(){return r("CMD.toolbox",null,"\u5DE5\u5177\u680F")}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}xs.excludes=[D.GRID_ROW,D.ROW,D.GRID,D.SUBTABLE,D.TAB,D.TOOLBOX];class y8 extends V{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new tl({props:new Ne({span:12})}),new tl({props:new Ne({span:12})})]}}var ks={Designer:xs,Runtime:y8,Property:Os};class f8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class v8 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:r("CMD.pleaseEnterFieldCode",null,"\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879")}),e.isShowJoinRelation&&(this.joinRelation=[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{aliasCode:{type:"string",required:!0,message:r("CMD.pleaseEnterAliasCode",null,"\u8BF7\u8F93\u5165\u5B50\u8868\u522B\u540D")},datasourceBind:[{type:"object",message:r("CMD.isNotObject",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:r("CMD.pleaseSelectDataCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u4E1A\u52A1\u6A21\u578B")},svcCode:{type:"string",required:!0,message:r("CMD.pleaseSelectSvcCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u8868\u8BBE\u7F6E\u7ED1\u5B9A\u670D\u52A1")}}}],relationFields:[{type:"array",message:r("CMD.isNotArray",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4")},{type:"array",defaultField:{type:"object",fields:{joinFieldCode:{type:"string",required:!0,message:r("CMD.pleaseSelectJoinFieldCode",null,"\u8BF7\u9009\u62E9\u5173\u8054\u5B50\u8868\u5B57\u6BB5")},mainFieldCode:{type:"string",required:!0,message:r("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 Dn extends O{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(i=e==null?void 0:e.isShowSubList)!=null?i:!1,this.triggerType=(u=e==null?void 0:e.triggerType)!=null?u:1,this.triggerFieldCode=(a=e==null?void 0:e.triggerFieldCode)!=null?a:"",this.sublistPage=new P_(e==null?void 0:e.sublistPage),this.isShowJoinRelation=(l=e==null?void 0:e.isShowJoinRelation)!=null?l:!1,this.joinRelation=new x_(e==null?void 0:e.joinRelation),this.showType=(o=e==null?void 0:e.showType)!=null?o:"stretch",this.showFullScreen=(d=e==null?void 0:e.showFullScreen)!=null?d:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(y=e==null?void 0:e.isFixedHeader)!=null?y:!1,this.isShowSelection=(m=e==null?void 0:e.isShowSelection)!=null?m:!1,this.isAllLoaded=(g=e==null?void 0:e.isAllLoaded)!=null?g:!0,this.countType=e==null?void 0:e.countType,this.countLimit=(_=e==null?void 0:e.countLimit)!=null?_:1e5,this.rowStyle=new J_(e==null?void 0:e.rowStyle)}}Dn.Rules=v8,Dn.RuntimeRules=f8;class An extends k{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlName(){return r("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=[D.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 m8 extends V{constructor(e){super(e),this.props=new Dn(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Ms={Designer:An,Runtime:m8,Property:Dn};class g8 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class eu extends O{constructor(e){var n,i,u,a,l,o;super(e),this.save=new Ae((n=e==null?void 0:e.save)!=null?n:{content:r("CMD.save",null,"\u4FDD\u5B58"),type:"save",isShow:!1}),this.cancel=new Ae((i=e==null?void 0:e.cancel)!=null?i:{content:r("CMD.cancel",null,"\u53D6\u6D88"),type:"cancel",isShow:!1}),this.saveAs=new Ae((u=e==null?void 0:e.saveAs)!=null?u:{content:r("CMD.draft",null,"\u4FDD\u5B58\u8349\u7A3F"),type:"saveAs",isShow:!1}),this.print=new Ae((a=e==null?void 0:e.print)!=null?a:{content:r("CMD.print",null,"\u6253\u5370"),type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(d=>new Ae(d)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new J(e==null?void 0:e.datasourceBind)}}eu.RuntimeRules=g8;class $s extends k{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlName(){return r("CMD.dataView",null,"\u6570\u636E\u5BB9\u5668")}static get controlType(){return"data-view"}}$s.excludes=[];class b8 extends V{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var Ls={Designer:$s,Runtime:b8,Property:eu};class C8 extends k{static get controlName(){return r("CMD.page",null,"\u81EA\u7531\u9875\u9762")}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class _8 extends V{static get controlType(){return"page"}constructor(e){super(e)}}class E8 extends O{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 Ns={Designer:C8,Runtime:_8,Property:E8};class B8 extends k{static get controlName(){return r("CMD.advancedContainer",null,"\u9AD8\u7EA7\u5BB9\u5668")}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class w8 extends V{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class D8 extends O{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new $o(e==null?void 0:e.flexConfig)}}var Vs={Designer:B8,Runtime:w8,Property:D8};class A8 extends k{static get controlName(){return r("CMD.positioningContainer",null,"\u5B9A\u4F4D\u5BB9\u5668")}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class I8 extends V{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class F8 extends O{constructor(e){super(e)}}var Hs={Designer:A8,Runtime:I8,Property:F8};class S8 extends k{static get controlName(){return r("CMD.position",null,"\u5B9A\u4F4D\u5B50\u5BB9\u5668")}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class T8 extends V{static get controlType(){return"position"}constructor(e){super(e)}}class R8 extends O{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 js={Designer:S8,Runtime:T8,Property:R8};class ol extends O{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 tu extends k{constructor(e){var n;super(e),this.props=new ol((n=e==null?void 0:e.props)!=null?n:{})}static get controlName(){return r("CMD.actionBar",null,"\u6309\u94AE\u64CD\u4F5C\u680F")}static get controlType(){return"action-bar"}static get controlIcon(){return"action-bar"}}tu.slotPosition={default:"action-bar-slot"},tu.excludes=[],tu.setting=[{key:"action-position",visible:!0},{key:"background-opacity",visible:!0},{key:"buttons-align",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class P8 extends V{constructor(e){var n;super(e),this.props=new ol((n=e==null?void 0:e.props)!=null?n:{})}static get controlType(){return"action-bar"}}var qs={Designer:tu,Runtime:P8,Property:ol};class cl extends O{constructor(e){var n,i,u,a,l;super(e),this.direction=(n=e==null?void 0:e.direction)!=null?n:"horizontal",this.labelPlacement=(i=e==null?void 0:e.labelPlacement)!=null?i:"horizontal",this.size=(u=e==null?void 0:e.size)!=null?u:"default",this.type=(a=e==null?void 0:e.type)!=null?a:"default",this.isSticky=(l=e==null?void 0:e.isSticky)!=null?l:!1}}class sl extends O{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.title=(n=e==null?void 0:e.title)!=null?n:"",this.subTitle=(i=e==null?void 0:e.subTitle)!=null?i:"",this.disabled=(u=e==null?void 0:e.disabled)!=null?u:!1,this.icon=(a=e==null?void 0:e.icon)!=null?a:"",this.color=(l=e==null?void 0:e.color)!=null?l:"",this.status=(o=e==null?void 0:e.status)!=null?o:"wait",this.description=(d=e==null?void 0:e.description)!=null?d:"",this.isDefault=(s=e==null?void 0:e.isDefault)!=null?s:!1}}class Tt extends k{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlName(){return r("CMD.stepPane",null,"\u6B65\u9AA4\u5355\u5143")}static get controlType(){return"step-pane"}static get controlIcon(){return"step-pane"}}Tt.excludes=[D.TAB],Tt.setting=[];class O8 extends V{constructor(e){super(e),this.props=new sl(e==null?void 0:e.props)}static get controlType(){return"step-pane"}}var Ws={Designer:Tt,Runtime:O8,Property:sl};class nu extends k{constructor(e){var n;super(e),this.props=new cl(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new Tt,new Tt,new Tt]}static get controlName(){return r("CMD.step",null,"\u6B65\u9AA4\u6761")}static get controlType(){return"step"}static get controlIcon(){return"icondaiban1"}}nu.excludes=[],nu.controlEventKeys=["on_change_steps"],nu.setting=[{key:"step-direction",visible:!0},{key:"step-label-placement",visible:!0},{key:"step-size",visible:!0},{key:"step-type",visible:!0},{key:"is-sticky",visible:!0},{key:"step-pane",visible:!0},{key:"super-setting",visible:!0}];class x8 extends V{constructor(e){super(e),this.props=new cl(e==null?void 0:e.props)}static get controlType(){return"step"}}var Us={Designer:nu,Runtime:x8,Property:cl};class dl extends O{constructor(e){var n,i,u,a,l,o,d,s,y,m,g;super(e),this.rowCount=(n=e==null?void 0:e.rowCount)!=null?n:2,this.colCount=(i=e==null?void 0:e.colCount)!=null?i:2,this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"left",this.colWidthType=(a=e==null?void 0:e.colWidthType)!=null?a:"average",this.colWidth=(l=e==null?void 0:e.colWidth)!=null?l:"12:12",this.labelWidth=(o=e==null?void 0:e.labelWidth)!=null?o:"",this.padding=(d=e==null?void 0:e.padding)!=null?d:{paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0},this.margin=(s=e==null?void 0:e.margin)!=null?s:{marginTop:0,marginRight:0,marginBottom:0,marginLeft:0},this.border=(y=e==null?void 0:e.border)!=null?y:{borderTop:!1,borderBottom:!1,borderLeft:!1,borderRight:!1,borderWidth:1,borderColor:"#e8eaed",borderType:"solid"},this.borderRadius=(m=e==null?void 0:e.borderRadius)!=null?m:{borderTopLeftRadius:0,borderTopRightRadius:0,borderBottomRightRadius:0,borderBottomLeftRadius:0},this.background=(g=e==null?void 0:e.background)!=null?g:{type:"backgroundColor",backgroundColor:"transparent",backgroundImage:"",placementMode:"contain"}}}class hl extends k{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlName(){return"\u8868\u683C\u5E03\u5C40"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"table-layout"}}hl.excludes=[],hl.setting=[{key:"row-count",visible:!0},{key:"col-count",visible:!0},{key:"col-width",visible:!0},{key:"label-position",visible:!0},{key:"label-width",visible:!0},{key:"dynamic-border",visible:!0},{key:"dynamic-border-radius",visible:!0},{key:"dynamic-margin-padding",visible:!0},{key:"dynamic-background",visible:!0}];class k8 extends V{constructor(e){super(e),this.props=new dl(e==null?void 0:e.props)}static get controlType(){return"table-layout"}}var zs={Designer:hl,Runtime:k8,Property:dl};class yl extends O{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 fl extends k{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-row",null,"\u6805\u683C\u5E03\u5C40")}static get controlType(){return"table-layout-row"}static get controlIcon(){return"iconyihangduolie"}}fl.excludes=[D.ROW,D.TABLE_LAYOUT_ROW],fl.setting=[{key:"col-setting",visible:!0}];class M8 extends V{constructor(e){super(e),this.props=new yl(e==null?void 0:e.props)}static get controlType(){return"table-layout-row"}}var Ks={Designer:fl,Runtime:M8,Property:yl};const $8=24;class vl extends O{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:$8,this.offset=(i=e==null?void 0:e.offset)!=null?i:0,this.tableLayoutColSpan=(u=e==null?void 0:e.tableLayoutColSpan)!=null?u:0,this.tableLayoutColSpanType=(a=e==null?void 0:e.tableLayoutColSpanType)!=null?a:"",this.layout=(l=e==null?void 0:e.layout)!=null?l:"block",this.flexDirection=(o=e==null?void 0:e.flexDirection)!=null?o:"row",this.alignItems=(d=e==null?void 0:e.alignItems)!=null?d:"flex-start",this.justifyContent=(s=e==null?void 0:e.justifyContent)!=null?s:"flex-start"}}class ml extends k{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-col",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-col"}static get controlIcon(){return"table-layout-col"}}ml.excludes=[D.COL,D.SUBTABLE,D.SUBTABLE_COLUMN,D.GRID_LAYOUT_CONTAINER,D.DIVIDER,D.TABLE_LAYOUT_COL],ml.setting=[{key:"col-span",visible:!0},{key:"layout-config",visible:!0},{key:"flex-config",visible:!0}];class L8 extends V{constructor(e){super(e),this.props=new vl(e==null?void 0:e.props)}static get controlType(){return"table-layout-col"}}var Gs={Designer:ml,Runtime:L8,Property:vl};class gl extends O{constructor(e){var n,i;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:"",this.widthCompany=(i=e==null?void 0:e.widthCompany)!=null?i:"px"}}class bl extends k{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}static get controlName(){return r("CMD.table-layout-wrapper",null,"\u8868\u683C\u5E03\u5C40\u6805\u683C\u5217")}static get controlType(){return"table-layout-wrapper"}static get controlIcon(){return"table-layout-wrapper"}}bl.excludes=[],bl.setting=[{key:"dynamic-size",visible:!0}];class N8 extends V{constructor(e){super(e),this.props=new gl(e==null?void 0:e.props)}static get controlType(){return"table-layout-wrapper"}}var Zs={Designer:bl,Runtime:N8,Property:gl},V8=Object.freeze({__proto__:null,Grid:bs,Col:Cs,Row:Es,GridRow:Bs,CardGroup:ws,SubTableColumn:As,SubTableRow:Is,GridTableColumn:Ss,GridLayoutContainer:Ts,Tab:Ps,TabPane:Rs,Toolbox:ks,ListView:Ms,DataView:Ls,Page:Ns,AdvancedContainer:Vs,PositioningContainer:Hs,Position:js,ActionBar:qs,Step:Us,StepPane:Ws,TableLayout:zs,TableLayoutRow:Ks,TableLayoutCol:Gs,TableLayoutWrapper:Zs});class H8 extends j{constructor(e){super(e),this.caption={type:"string",required:!0,message:r("CMD.pleaseEnterCaption",null,"\u8BF7\u8F93\u5165\u6807\u9898")},this.limitRows=[{type:"number",required:!0,message:r("CMD.isNotNumber",null,"\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57")},{type:"number",min:0,message:r("CMD.limitRowsCannotBeLessThan0",null,"\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0")}],this.formKey={type:"string",required:!1,message:r("CMD.pleaseEnterForm",null,"\u8BF7\u7ED1\u5B9A\u8868\u5355")},this.maxHeight={type:"number",required:!0,message:r("CMD.pleaseEnterMaxHeight",null,"\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6")},this.captionTip={type:"string",required:!1,message:r("CMD.pleaseEnterCaptionTip",null,"\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED")},this.mobileRowCaption={type:"string",required:!1,message:r("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 j8 extends Me{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:r("CMD.runtimeRequired",{caption:e.caption},"{caption}\u5FC5\u586B")},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")),u()},message:r("CMD.TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows},"\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C")})}}const Xs=class extends Yn{constructor(t,e){var n,i,u,a,l,o,d,s,y,m,g,_,B,C,w,v,E,$,R,M,ue,L,ae,Sn,Ee,vu,Tn,Rt,Be,_d,Ed,Bd,wd;super(t,e,Xs.mode),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fn.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.defaultState=(u=e==null?void 0:e.defaultState)!=null?u:"default",this.labelPosition=(a=e==null?void 0:e.labelPosition)!=null?a:"top",this.openType=(l=e==null?void 0:e.openType)!=null?l:"default",this.formKey=(o=e==null?void 0:e.formKey)!=null?o:"",this.useCustomHeight=(d=e==null?void 0:e.useCustomHeight)!=null?d:!1,this.maxHeight=(s=e==null?void 0:e.maxHeight)!=null?s:ko,this.printMode=(y=e==null?void 0:e.printMode)!=null?y:"row",this.limitRows=(m=e==null?void 0:e.limitRows)!=null?m:1,this.maxRows=(g=e==null?void 0:e.maxRows)!=null?g:null,this.defaultRows=(_=e==null?void 0:e.defaultRows)!=null?_:1,this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.canAdd=(B=e==null?void 0:e.canAdd)!=null?B:!0,this.canDelete=(C=e==null?void 0:e.canDelete)!=null?C:!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=e==null?void 0:e.canImport)!=null?E:!1,this.canExport=($=e==null?void 0:e.canExport)!=null?$:!1,this.canClear=(R=e==null?void 0:e.canClear)!=null?R:!0,this.serverPagination=(M=e==null?void 0:e.serverPagination)!=null?M:!1,this.isShowCaptionTip=(ue=e==null?void 0:e.isShowCaptionTip)!=null?ue:!1,this.captionTip=(L=e==null?void 0:e.captionTip)!=null?L:"",this.mobileShowType=(ae=e==null?void 0:e.mobileShowType)!=null?ae:"list",this.mobileDefaultNum=(Sn=e==null?void 0:e.mobileDefaultNum)!=null?Sn:10,this.dataStorageDoc=(Ee=e==null?void 0:e.dataStorageDoc)!=null?Ee:new F_,this.fixedColumn=(vu=e==null?void 0:e.fixedColumn)!=null?vu:[],this.mobileRowCaption=(Tn=e==null?void 0:e.mobileRowCaption)!=null?Tn:r("CMD.detailed",null,"\u660E\u7EC6"),this.mobileIsTile=(Rt=e==null?void 0:e.mobileIsTile)!=null?Rt:!1,this.isPaste=(Be=e==null?void 0:e.isPaste)!=null?Be:!1,this.pageSize=(_d=e==null?void 0:e.pageSize)!=null?_d:10,this.pageSizeOptions=(Ed=e==null?void 0:e.pageSizeOptions)!=null?Ed:[10,20,50,100],this.importConfig=new Oo(e==null?void 0:e.importConfig),this.exportConfig=new xo(e==null?void 0:e.exportConfig),this.sortable=(Bd=e==null?void 0:e.sortable)!=null?Bd:!1,this.sortKey=(wd=e==null?void 0:e.sortKey)!=null?wd:{}}};let In=Xs;In.Rules=H8,In.RuntimeRules=j8;class Fn extends da{constructor(e){var n;super(e),this.props=new In(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 ce,new ce,new ce])}static get controlName(){return r("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 ce,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Fn.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Fn.slotPosition={toolbar:"subtable-toolbar-slot"},Fn.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.IS_PASTE,c.SERVER_PAGINATION,c.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 q8 extends ro{constructor(e){super(e),this.props=new In(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}}var Qs={Designer:Fn,Runtime:q8,Property:In};class Cl extends Yn{constructor(e,n){var i,u,a,l,o;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=(o=n==null?void 0:n.pageSizeOptions)!=null?o:[10,20,50,100,500]}}class W8 extends be{constructor(e){super(e),this.caption.required=!1}}class iu extends U{constructor(e){var n,i,u,a,l,o,d,s;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:je.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=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?d:.4,this.widthType=(s=e==null?void 0:e.widthType)!=null?s:"px"}}iu.Rules=W8;class je extends X{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}je.controlType="order-column",je.controlName=r("CMD.order",null,"\u5E8F\u53F7"),je.controlIcon="order-column",je.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-align-content",visible:!0},{key:"super-setting",visible:!0}];class _l extends Q{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}_l.controlType="order-column",_l.controlFieldType=b.DECIMAL;var Js={Designer:je,Runtime:_l,Property:iu};class El extends U{constructor(e){var n,i,u,a,l,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:Ce.controlName,this.showType=(l=e==null?void 0:e.showType)!=null?l:"icon",this.limit=(o=e==null?void 0:e.limit)!=null?o:3}}class Ce extends X{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ii.controlType){const i=n;e.props[i.props.command]=i.props}}),e}validate(e,n){return zl(this,null,function*(){return yield Ul(Ce.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ce.controlType="operation-column",Ce.controlName=r("CMD.operation",null,"\u64CD\u4F5C"),Ce.controlIcon="operation-column",Ce.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0},{key:"super-setting",visible:!0}];class Bl extends Q{constructor(e){super(e),this.props=new El(e==null?void 0:e.props)}}Bl.controlType="operation-column",Bl.controlFieldType=b.FILE;var Ys={Designer:Ce,Runtime:Bl,Property:El};const U8=1e4;class qe extends da{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new Cl(this,e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new je,new Ce]),this.excludes=oe(n),this.childrenMaxLength=i}static get controlName(){return r("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 Wl(nt({},e),{children:n})}validate(e,n){return zl(this,null,function*(){return yield Ul(qe.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}qe.slotPosition={toolbar:"grid-table-toolbar-slot"},qe.setting=[{key:"list-fixed-header",visible:!0}],qe.excludes=[],qe.childrenMaxLength=U8;class z8 extends ro{constructor(e){super(e),this.props=new Cl(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Mt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var ps={Designer:qe,Runtime:z8,Property:Cl},K8=Object.freeze({__proto__:null,SubTable:Qs,GridTable:ps});class G8 extends ba{constructor(e){super(e),Re.call(this,e)}}class uu extends U{constructor(e){var n,i,u,a,l,o;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 J(e==null?void 0:e.datasourceBind),this.options=me((u=e==null?void 0:e.options)!=null?u:[{}]),this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1,this.dictionaryTagConfig=(o=e==null?void 0:e.dictionaryTagConfig)!=null?o:{isTag:!1}}}uu.Rules=G8;class We extends X{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}We.controlType="varchar-column",We.controlName=r("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:[c.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 wl extends Q{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}wl.controlType="varchar-column",wl.controlFieldType=b.VARCHAR;var ed={Designer:We,Runtime:wl,Property:uu};class Z8 extends be{constructor(e){super(e),Re.call(this,e)}}class au extends U{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:Ue.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}au.Rules=Z8;class Ue extends X{constructor(e){super(e),this.props=new au(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}}Ue.controlType="text-column",Ue.controlName=r("CMD.long",null,"\u957F\u6587\u672C"),Ue.controlIcon="text-column",Ue.controlFieldType=b.TEXT,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-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 Dl extends Q{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}Dl.controlType="text-column",Dl.controlFieldType=b.TEXT;var td={Designer:Ue,Runtime:Dl,Property:au};class X8 extends ba{constructor(e){super(e),Re.call(this,e)}}class lu extends U{constructor(e){var n,i,u,a,l,o,d;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.options=me((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(d=e==null?void 0:e.showLinkOperation)!=null?d:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}lu.Rules=X8;class ze extends X{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}ze.controlType="decimal-column",ze.controlName=r("CMD.decimal",null,"\u6570\u503C"),ze.controlIcon="decimal-column",ze.controlFieldType=b.DECIMAL,ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-link-operation",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.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 Al extends Q{constructor(e){super(e),this.props=new lu(e==null?void 0:e.props)}}Al.controlType="decimal-column",Al.controlFieldType=b.DECIMAL;var nd={Designer:ze,Runtime:Al,Property:lu};class Q8 extends be{constructor(e){super(e),Re.call(this,e)}}class ru extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ke.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}ru.Rules=Q8;class Ke extends X{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ke.controlType="timescope-column",Ke.controlName=r("CMD.timescope",null,"\u65E5\u671F\u533A\u95F4"),Ke.controlIcon="timescope-column",Ke.controlFieldType=b.TIMESCOPE,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Il extends Q{constructor(e){super(e),this.props=new ru(e==null?void 0:e.props)}}Il.controlType="timescope-column",Il.controlFieldType=b.TIMESCOPE;var id={Designer:Ke,Runtime:Il,Property:ru};class J8 extends be{constructor(e){super(e),Re.call(this,e)}}class ou extends U{constructor(e){var n,i,u,a;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:it.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:Ge.controlName,this.isInternational=(a=e==null?void 0:e.isInternational)!=null?a:!1}}ou.Rules=J8;class Ge extends X{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i,isInternational:u}=this.props;n.props.dateType=i,n.props.isInternational=u}return n}}Ge.controlType="timestamp-column",Ge.controlName=r("CMD.timestamp",null,"\u65E5\u671F"),Ge.controlIcon="timestamp-column",Ge.controlFieldType=b.TIMESTAMP,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Fl extends Q{constructor(e){super(e),this.props=new ou(e==null?void 0:e.props)}}Fl.controlType="timestamp-column",Fl.controlFieldType=b.TIMESTAMP;var ud={Designer:Ge,Runtime:Fl,Property:ou};class Y8 extends ba{constructor(e){super(e),Re.call(this,e)}}class cu extends U{constructor(e){var n,i,u,a;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new J(e==null?void 0:e.datasourceBind),this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.options=me((a=e==null?void 0:e.options)!=null?a:[{}])}}cu.Rules=Y8;class Ze extends X{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Ze.controlType="array-column",Ze.controlName=r("CMD.array",null,"\u6570\u7EC4"),Ze.controlIcon="array-column",Ze.controlFieldType=b.ARRAY,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Sl extends Q{constructor(e){super(e),this.props=new cu(e==null?void 0:e.props)}}Sl.controlType="array-column",Sl.controlFieldType=b.ARRAY;var ad={Designer:Ze,Runtime:Sl,Property:cu};class Tl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class Xe extends X{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}Xe.controlType="department-column",Xe.controlName=r("CMD.department",null,"\u90E8\u95E8"),Xe.controlIcon="department-column",Xe.controlFieldType=b.DEPARTMENTS,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Rl extends Q{constructor(e){super(e),this.props=new Tl(e==null?void 0:e.props)}}Rl.controlType="department-column",Rl.controlFieldType=b.DEPARTMENTS;var ld={Designer:Xe,Runtime:Rl,Property:Tl};class p8 extends be{constructor(e){super(e),Re.call(this,e)}}class su extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}su.Rules=p8;class Qe extends X{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Qe.controlType="auto-number-column",Qe.controlName=r("CMD.autoNumber",null,"\u81EA\u52A8\u7F16\u53F7"),Qe.controlIcon="auto-number-column",Qe.controlFieldType=b.AUTO_NUMBER,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Pl extends Q{constructor(e){super(e),this.props=new su(e==null?void 0:e.props)}}Pl.controlType="auto-number-column",Pl.controlFieldType=b.AUTO_NUMBER;var rd={Designer:Qe,Runtime:Pl,Property:su};class Ol extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.operation=(i=e==null?void 0:e.operation)!=null?i:["info","preview","download"]}}class Je extends X{constructor(e){super(e),this.props=new Ol(e==null?void 0:e.props)}}Je.controlType="file-column",Je.controlName=r("CMD.file",null,"\u9644\u4EF6"),Je.controlIcon="file-column",Je.controlFieldType=b.FILE,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 xl extends Q{constructor(e){super(e),this.props=new Ol(e==null?void 0:e.props)}}xl.controlType="file-column",xl.controlFieldType=b.FILE;var od={Designer:Je,Runtime:xl,Property:Ol};class kl extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName}}class Ye extends X{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}Ye.controlType="image-column",Ye.controlName=r("CMD.image",null,"\u56FE\u7247"),Ye.controlIcon="image-column",Ye.controlFieldType=b.IMAGE,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Ml extends Q{constructor(e){super(e),this.props=new kl(e==null?void 0:e.props)}}Ml.controlType="image-column",Ml.controlFieldType=b.IMAGE;var cd={Designer:Ye,Runtime:Ml,Property:kl};class $l extends U{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:pe.controlName}}class pe extends X{constructor(e){super(e),this.props=new $l(e==null?void 0:e.props)}}pe.controlType="people-column",pe.controlName=r("CMD.people",null,"\u4EBA\u5458"),pe.controlIcon="people-column",pe.controlFieldType=b.EMPLOYEES,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Ll extends Q{constructor(e){super(e),this.props=new $l(e==null?void 0:e.props)}}Ll.controlType="people-column",Ll.controlFieldType=b.EMPLOYEES;var sd={Designer:pe,Runtime:Ll,Property:$l};class e7 extends be{constructor(e){super(e),Re.call(this,e)}}class du extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:et.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption)}}du.Rules=e7;class et extends X{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}et.controlType="location-column",et.controlName=r("CMD.location",null,"\u5730\u5740"),et.controlIcon="location-column",et.controlFieldType=b.ADDRESS,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Nl extends Q{constructor(e){super(e),this.props=new du(e==null?void 0:e.props)}}Nl.controlType="location-column",Nl.controlFieldType=b.ADDRESS;var dd={Designer:et,Runtime:Nl,Property:du};class t7 extends be{constructor(e){super(e),this.sortFieldCode={type:"string",message:r("CMD.pleaseSelectSortFieldCode",null,"\u8BF7\u9009\u62E9\u6392\u5E8F\u5B57\u6BB5")},e.sort===!0&&(this.sortFieldCode.required=!0)}}class hu extends U{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:""}}hu.Rules=t7;const n7=1;class _e extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new hu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Designer"),this.excludes=oe(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=r("CMD.custom",null,"\u81EA\u5B9A\u4E49"),_e.controlIcon="custom-column",_e.slots=["column-column-slot"],_e.excludes=[],_e.childrenMaxLength=n7,_e.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0},{key:"column-sort-field",visible:!0},{key:"super-setting",visible:!0}];class hd extends Q{constructor(e){super(e),this.props=new hu(e==null?void 0:e.props),de(this,"children",e==null?void 0:e.children,void 0,"Runtime")}}hd.controlType="custom-column";var yd={Designer:_e,Runtime:hd,Property:hu};class Vl extends U{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ke.controlName,this.datasourceBind=new Ln((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:ke.controlCustomAttributes})}}class ke extends X{constructor(e){super(e),this.props=new Vl(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:r("CMD.81231751712162319"),required:!0}]}}ke.controlType="employee-column",ke.controlName=r("CMD.employee",null,"\u4EBA\u5458"),ke.controlIcon="employee-column",ke.controlFieldType=b.EMPLOYEES,ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.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 Hl extends Q{constructor(e){super(e),this.props=new Vl(e==null?void 0:e.props)}}Hl.controlType="employee-column",Hl.controlFieldType=b.EMPLOYEES;var fd={Designer:ke,Runtime:Hl,Property:Vl};class jl extends U{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new ve(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1}}class tt extends X{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}}tt.controlType="approval-status-column",tt.controlName=r("CMD.approvalStatusColumn",null,"\u5F53\u524D\u5BA1\u6279\u72B6\u6001"),tt.controlIcon="approval-status-column",tt.excludes=[],tt.setting=[{key:"caption",showItems:[c.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 vd extends Q{constructor(e){super(e),this.props=new jl(e==null?void 0:e.props)}}vd.controlType="approval-status-column";var md={Designer:tt,Runtime:vd,Property:jl},i7=Object.freeze({__proto__:null,VarcharColumn:ed,TextColumn:td,DecimalColumn:nd,TimescopeColumn:id,TimestampColumn:ud,ArrayColumn:ad,DepartmentColumn:ld,AutoNumberColumn:rd,FileColumn:od,ImageColumn:cd,PeopleColumn:sd,LocationColumn:dd,CustomColumn:yd,OrderColumn:Js,OperationColumn:Ys,EmployeeColumn:fd,ApprovalStatusColumn:md});class u7 extends Me{constructor(e){super(e),this.push({type:"object",fields:{}})}}class yu extends wa{constructor(e){var n,i,u,a,l,o,d,s,y,m,g,_;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Ae((a=e==null?void 0:e.search)!=null?a:{content:r("CMD.query",null,"\u67E5\u8BE2"),isShow:!0}),this.cancel=new Ae((l=e==null?void 0:e.cancel)!=null?l:{content:r("CMD.reset",null,"\u91CD\u7F6E"),isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((d=e==null?void 0:e.custom)!=null?d:[]).map(B=>new Ae(B)),this.queryTypeMap=(s=e==null?void 0:e.queryTypeMap)!=null?s:[],this.childMinWidth=(y=e==null?void 0:e.childMinWidth)!=null?y:230,this.colGap=(m=e==null?void 0:e.colGap)!=null?m:24,this.viewConfig=(g=e==null?void 0:e.viewConfig)!=null?g:[],this.simpleConfig=(_=e==null?void 0:e.simpleConfig)!=null?_:[]}}yu.RuntimeRules=u7;class fu extends KB{constructor(e){super(e),this.props=new yu(e==null?void 0:e.props)}}fu.controlType="simple-search",fu.slotPosition={default:"search"},fu.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:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class gd extends pB{constructor(e){var n;super(e),this.props=new yu(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}gd.controlType="simple-search";var bd={Designer:fu,Runtime:gd,Property:yu},a7=Object.freeze({__proto__:null,SimpleSearch:bd});class ql extends Fa{constructor(e){var n;super(e),this.wholeRow=(n=e==null?void 0:e.wholeRow)!=null?n:!1}}class l7 extends hw{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}static get controlName(){return r("CMD.gridLayoutWrap",null,"\u6362\u884C\u5BB9\u5668Wrap")}static get controlIcon(){return"page"}static get controlType(){return"grid-layout-wrap"}}class r7 extends Cw{constructor(e){super(e),this.props=new ql(e==null?void 0:e.props)}static get controlType(){return"grid-layout-wrap"}}function g7(t){return t}var o7={fields:[{key:"wholeRow",type:"boolean",component:"switch",label:r("CMD.fullLine",null,"\u5145\u6EE1\u6574\u884C"),props:{updateParent:!0}}],groups:[{items:["wholeRow"]}]},Cd={Designer:l7,Runtime:r7,Property:ql,Setting:o7},c7=Object.freeze({__proto__:null,GridLayoutWrap:Cd});f.ActionBar=qs,f.ActionSetting=La,f.Address=Vc,f.AdvancedContainer=Vs,f.Amount=Mc,f.ApprovalStatusColumn=md,f.ArrayColumn=ad,f.AssignType=Oe,f.Attachment=Oc,f.AutoNumber=Wc,f.AutoNumberColumn=rd,f.BatchDeleteButton=lc,f.BatchPrintListButton=ic,f.BatchPrintRecordListButton=uc,f.BatchSubmissionListButton=qo,f.Button=Io,f.Calc=zc,f.CardGroup=ws,f.Checkbox=dc,f.Col=Cs,f.CreateFormListButton=jo,f.CustomColumn=yd,f.DATE_CONFIG_TYPE=Fo,f.DATE_LIMIT_TYPE=So,f.Dashboard=Yo,f.DataView=Ls,f.DatePicker=gc,f.DateRange=Cc,f.DecimalColumn=nd,f.Department=jc,f.Department2=hs,f.DepartmentColumn=ld,f.DepartmentType=yi,f.DisplayText=Ac,f.Divider=Vo,f.ElectronicSignature=os,f.ElectronicSignatureConfig=To,f.Employee=Pc,f.Employee2=ls,f.EmployeeColumn=fd,f.EncryptTypeEnum=Lo,f.Explain=hi,f.ExportConfig=xo,f.ExportListButton=Uo,f.ExportRecordListButton=zo,f.ExportTemplate=Ht,f.FileColumn=od,f.FlexStyleConfig=$o,f.FormSelectButton=Go,f.Grid=bs,f.GridLayoutContainer=Ts,f.GridLayoutWrap=Cd,f.GridRow=Bs,f.GridTable=ps,f.GridTableColumn=Ss,f.Image=xc,f.ImageColumn=cd,f.ImageCompressType=ja,f.ImportConfig=Oo,f.ImportListBind=Po,f.ImportRecordListButton=Ko,f.Input=cc,f.InternalType=Ha,f.InvoiceCheckButton=nc,f.LINE_STYLE=ka,f.LimitDate=di,f.Link=Ao,f.ListHeightSetting=Na,f.ListSelectButton=Zo,f.ListView=Ms,f.ListViewSelect=ec,f.LocationColumn=dd,f.Number=vc,f.OperationButton=ac,f.OperationColumn=Ys,f.OrderColumn=Js,f.OrganizationSelection=fs,f.OrganizeType=Va,f.Page=Ns,f.Pagination=Qo,f.PeopleColumn=sd,f.Position=js,f.PositioningContainer=Hs,f.PrintTemplate=Mo,f.Radio=yc,f.ReferenceList=rc,f.RichText=wc,f.Row=Es,f.SCORE_TYPE=xa,f.SUBTABLE_DEFAULT_MAX_HEIGHT=ko,f.Score=Lc,f.SearchDateRange=Xc,f.SearchInput=ns,f.SearchNumberRange=Gc,f.Select=Fc,f.SelectMultiple=Tc,f.SelectRelation=pc,f.SimpleSearch=bd,f.Step=Us,f.StepPane=Ws,f.SubTable=Qs,f.SubTableColumn=As,f.SubTableRow=Is,f.SubmissionRecordListButton=Wo,f.Tab=Ps,f.TabPane=Rs,f.TableLayout=zs,f.TableLayoutCol=Gs,f.TableLayoutRow=Ks,f.TableLayoutWrapper=Zs,f.Text=Do,f.TextColumn=td,f.TextOcrButton=tc,f.Textarea=Ec,f.TimescopeColumn=id,f.TimestampColumn=ud,f.Title=Ho,f.TitleConfigEnum=Pe,f.Toolbox=ks,f.Tree=us,f.UndersignedPerson=Ma,f.VarcharColumn=ed,f.VueFormItem=Jc,f.VuePage=ms,f.WPS=ss,f.WPSSetting=Ro,f.WpsOperationItem=$a,f.baseControls=iD,f.columnControls=i7,f.formControls=pD,f.initExpression=jt,f.layoutControls=V8,f.listControls=K8,f.searchControls=a7,f.wrapControls=c7,Object.defineProperty(f,"__esModule",{value:!0})});
|