@byteluck-fe/model-driven-controls 2.5.0-beta.7 → 2.5.0-beta.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/api-doc-index.js +89 -89
- package/dist/esm/baseControls/BatchDeleteButton/designer.js +20 -34
- package/dist/esm/baseControls/BatchDeleteButton/index.js +6 -6
- package/dist/esm/baseControls/BatchDeleteButton/property.js +22 -44
- package/dist/esm/baseControls/BatchDeleteButton/runtime.js +5 -19
- package/dist/esm/baseControls/BatchPrintListButton/designer.js +20 -34
- package/dist/esm/baseControls/BatchPrintListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchPrintListButton/property.js +24 -40
- package/dist/esm/baseControls/BatchPrintListButton/runtime.js +5 -19
- package/dist/esm/baseControls/BatchPrintRecordListButton/designer.js +18 -32
- package/dist/esm/baseControls/BatchPrintRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchPrintRecordListButton/property.js +8 -8
- package/dist/esm/baseControls/BatchPrintRecordListButton/runtime.js +5 -19
- package/dist/esm/baseControls/BatchSubmissionListButton/designer.js +21 -35
- package/dist/esm/baseControls/BatchSubmissionListButton/index.js +6 -6
- package/dist/esm/baseControls/BatchSubmissionListButton/property.js +28 -53
- package/dist/esm/baseControls/BatchSubmissionListButton/runtime.js +5 -19
- package/dist/esm/baseControls/Button/designer.js +20 -34
- package/dist/esm/baseControls/Button/index.js +6 -6
- package/dist/esm/baseControls/Button/property.js +19 -41
- package/dist/esm/baseControls/Button/runtime.js +5 -19
- package/dist/esm/baseControls/CreateFormListButton/designer.js +21 -35
- package/dist/esm/baseControls/CreateFormListButton/index.js +6 -6
- package/dist/esm/baseControls/CreateFormListButton/property.js +21 -36
- package/dist/esm/baseControls/CreateFormListButton/runtime.js +5 -19
- package/dist/esm/baseControls/Dashboard/designer.js +16 -30
- package/dist/esm/baseControls/Dashboard/index.js +6 -6
- package/dist/esm/baseControls/Dashboard/property.js +39 -58
- package/dist/esm/baseControls/Dashboard/runtime.js +5 -19
- package/dist/esm/baseControls/Divider/designer.js +13 -27
- package/dist/esm/baseControls/Divider/index.js +6 -6
- package/dist/esm/baseControls/Divider/property.js +9 -24
- package/dist/esm/baseControls/Divider/runtime.js +5 -19
- package/dist/esm/baseControls/ExportListButton/designer.js +20 -34
- package/dist/esm/baseControls/ExportListButton/index.js +6 -6
- package/dist/esm/baseControls/ExportListButton/property.js +20 -34
- package/dist/esm/baseControls/ExportListButton/runtime.js +5 -19
- package/dist/esm/baseControls/ExportRecordListButton/designer.js +18 -32
- package/dist/esm/baseControls/ExportRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/ExportRecordListButton/property.js +8 -8
- package/dist/esm/baseControls/ExportRecordListButton/runtime.js +5 -19
- package/dist/esm/baseControls/FormSelectButton/designer.js +22 -36
- package/dist/esm/baseControls/FormSelectButton/index.js +6 -6
- package/dist/esm/baseControls/FormSelectButton/property.js +32 -36
- package/dist/esm/baseControls/FormSelectButton/runtime.js +5 -19
- package/dist/esm/baseControls/ImportRecordListButton/designer.js +20 -34
- package/dist/esm/baseControls/ImportRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/ImportRecordListButton/property.js +12 -29
- package/dist/esm/baseControls/ImportRecordListButton/runtime.js +5 -19
- package/dist/esm/baseControls/InvoiceCheckButton/designer.js +26 -40
- package/dist/esm/baseControls/InvoiceCheckButton/index.js +6 -6
- package/dist/esm/baseControls/InvoiceCheckButton/property.js +52 -72
- package/dist/esm/baseControls/InvoiceCheckButton/runtime.js +5 -19
- package/dist/esm/baseControls/Link/designer.js +18 -32
- package/dist/esm/baseControls/Link/index.js +6 -6
- package/dist/esm/baseControls/Link/property.js +9 -25
- package/dist/esm/baseControls/Link/runtime.js +5 -19
- package/dist/esm/baseControls/ListSelectButton/designer.js +23 -37
- package/dist/esm/baseControls/ListSelectButton/index.js +6 -6
- package/dist/esm/baseControls/ListSelectButton/property.js +32 -48
- package/dist/esm/baseControls/ListSelectButton/runtime.js +5 -19
- package/dist/esm/baseControls/ListViewSelect/designer.js +13 -27
- package/dist/esm/baseControls/ListViewSelect/index.js +6 -6
- package/dist/esm/baseControls/ListViewSelect/property.js +26 -41
- package/dist/esm/baseControls/ListViewSelect/runtime.js +5 -19
- package/dist/esm/baseControls/OperationButton/designer.js +20 -34
- package/dist/esm/baseControls/OperationButton/index.js +6 -6
- package/dist/esm/baseControls/OperationButton/property.js +23 -49
- package/dist/esm/baseControls/OperationButton/runtime.js +5 -19
- package/dist/esm/baseControls/Pagination/designer.js +8 -22
- package/dist/esm/baseControls/Pagination/index.js +6 -6
- package/dist/esm/baseControls/Pagination/property.js +9 -22
- package/dist/esm/baseControls/Pagination/runtime.js +5 -19
- package/dist/esm/baseControls/SubmissionRecordListButton/designer.js +18 -32
- package/dist/esm/baseControls/SubmissionRecordListButton/index.js +6 -6
- package/dist/esm/baseControls/SubmissionRecordListButton/property.js +8 -8
- package/dist/esm/baseControls/SubmissionRecordListButton/runtime.js +5 -19
- package/dist/esm/baseControls/Text/designer.js +17 -31
- package/dist/esm/baseControls/Text/index.js +6 -6
- package/dist/esm/baseControls/Text/property.js +13 -32
- package/dist/esm/baseControls/Text/runtime.js +5 -19
- package/dist/esm/baseControls/TextOcrButton/designer.js +26 -40
- package/dist/esm/baseControls/TextOcrButton/index.js +6 -6
- package/dist/esm/baseControls/TextOcrButton/property.js +53 -73
- package/dist/esm/baseControls/TextOcrButton/runtime.js +5 -19
- package/dist/esm/baseControls/Title/designer.js +17 -31
- package/dist/esm/baseControls/Title/index.js +6 -6
- package/dist/esm/baseControls/Title/property.js +34 -51
- package/dist/esm/baseControls/Title/runtime.js +5 -19
- package/dist/esm/baseControls/index.js +22 -22
- package/dist/esm/baseControls/utils.js +9 -9
- package/dist/esm/columnControls/ArrayColumn/designer.js +18 -32
- package/dist/esm/columnControls/ArrayColumn/index.js +6 -6
- package/dist/esm/columnControls/ArrayColumn/property.js +15 -52
- package/dist/esm/columnControls/ArrayColumn/runtime.js +7 -21
- package/dist/esm/columnControls/AutoNumberColumn/designer.js +18 -32
- package/dist/esm/columnControls/AutoNumberColumn/index.js +6 -6
- package/dist/esm/columnControls/AutoNumberColumn/property.js +12 -33
- package/dist/esm/columnControls/AutoNumberColumn/runtime.js +7 -21
- package/dist/esm/columnControls/CustomColumn/designer.js +22 -50
- package/dist/esm/columnControls/CustomColumn/index.js +6 -6
- package/dist/esm/columnControls/CustomColumn/property.js +9 -23
- package/dist/esm/columnControls/CustomColumn/runtime.js +7 -22
- package/dist/esm/columnControls/DecimalColumn/designer.js +24 -38
- package/dist/esm/columnControls/DecimalColumn/index.js +6 -6
- package/dist/esm/columnControls/DecimalColumn/property.js +22 -72
- package/dist/esm/columnControls/DecimalColumn/runtime.js +7 -21
- package/dist/esm/columnControls/DepartmentColumn/designer.js +18 -32
- package/dist/esm/columnControls/DepartmentColumn/index.js +6 -6
- package/dist/esm/columnControls/DepartmentColumn/property.js +9 -27
- package/dist/esm/columnControls/DepartmentColumn/runtime.js +7 -21
- package/dist/esm/columnControls/EmployeeColumn/designer.js +20 -34
- package/dist/esm/columnControls/EmployeeColumn/index.js +6 -6
- package/dist/esm/columnControls/EmployeeColumn/property.js +9 -26
- package/dist/esm/columnControls/EmployeeColumn/runtime.js +7 -21
- package/dist/esm/columnControls/FileColumn/designer.js +24 -38
- package/dist/esm/columnControls/FileColumn/index.js +6 -6
- package/dist/esm/columnControls/FileColumn/property.js +7 -7
- package/dist/esm/columnControls/FileColumn/runtime.js +7 -21
- package/dist/esm/columnControls/ImageColumn/designer.js +17 -31
- package/dist/esm/columnControls/ImageColumn/index.js +6 -6
- package/dist/esm/columnControls/ImageColumn/property.js +7 -7
- package/dist/esm/columnControls/ImageColumn/runtime.js +7 -21
- package/dist/esm/columnControls/LocationColumn/designer.js +18 -32
- package/dist/esm/columnControls/LocationColumn/index.js +6 -6
- package/dist/esm/columnControls/LocationColumn/property.js +12 -33
- package/dist/esm/columnControls/LocationColumn/runtime.js +7 -21
- package/dist/esm/columnControls/OperationColumn/designer.js +35 -161
- package/dist/esm/columnControls/OperationColumn/index.js +6 -6
- package/dist/esm/columnControls/OperationColumn/property.js +17 -45
- package/dist/esm/columnControls/OperationColumn/runtime.js +8 -23
- package/dist/esm/columnControls/OrderColumn/designer.js +12 -26
- package/dist/esm/columnControls/OrderColumn/index.js +6 -6
- package/dist/esm/columnControls/OrderColumn/property.js +21 -34
- package/dist/esm/columnControls/OrderColumn/runtime.js +7 -21
- package/dist/esm/columnControls/PeopleColumn/designer.js +17 -31
- package/dist/esm/columnControls/PeopleColumn/index.js +6 -6
- package/dist/esm/columnControls/PeopleColumn/property.js +7 -7
- package/dist/esm/columnControls/PeopleColumn/runtime.js +7 -21
- package/dist/esm/columnControls/TextColumn/designer.js +21 -35
- package/dist/esm/columnControls/TextColumn/index.js +6 -6
- package/dist/esm/columnControls/TextColumn/property.js +16 -47
- package/dist/esm/columnControls/TextColumn/runtime.js +7 -21
- package/dist/esm/columnControls/TimescopeColumn/designer.js +19 -33
- package/dist/esm/columnControls/TimescopeColumn/index.js +6 -6
- package/dist/esm/columnControls/TimescopeColumn/property.js +15 -41
- package/dist/esm/columnControls/TimescopeColumn/runtime.js +7 -21
- package/dist/esm/columnControls/TimestampColumn/designer.js +19 -33
- package/dist/esm/columnControls/TimestampColumn/index.js +6 -6
- package/dist/esm/columnControls/TimestampColumn/property.js +15 -41
- package/dist/esm/columnControls/TimestampColumn/runtime.js +7 -21
- package/dist/esm/columnControls/VarcharColumn/designer.js +21 -35
- package/dist/esm/columnControls/VarcharColumn/index.js +6 -6
- package/dist/esm/columnControls/VarcharColumn/property.js +18 -56
- package/dist/esm/columnControls/VarcharColumn/runtime.js +7 -21
- package/dist/esm/columnControls/index.js +16 -16
- package/dist/esm/formControls/Address/designer.js +22 -36
- package/dist/esm/formControls/Address/index.js +6 -6
- package/dist/esm/formControls/Address/property.js +32 -56
- package/dist/esm/formControls/Address/runtime.js +9 -23
- package/dist/esm/formControls/Amount/designer.js +34 -48
- package/dist/esm/formControls/Amount/index.js +6 -6
- package/dist/esm/formControls/Amount/property.js +60 -123
- package/dist/esm/formControls/Amount/runtime.js +7 -21
- package/dist/esm/formControls/Attachment/designer.js +29 -43
- package/dist/esm/formControls/Attachment/index.js +6 -6
- package/dist/esm/formControls/Attachment/property.js +34 -56
- package/dist/esm/formControls/Attachment/runtime.js +7 -21
- package/dist/esm/formControls/AutoNumber/designer.js +23 -37
- package/dist/esm/formControls/AutoNumber/index.js +6 -6
- package/dist/esm/formControls/AutoNumber/property.js +10 -24
- package/dist/esm/formControls/AutoNumber/runtime.js +7 -21
- package/dist/esm/formControls/Calc/designer.js +31 -45
- package/dist/esm/formControls/Calc/index.js +6 -6
- package/dist/esm/formControls/Calc/property.js +33 -72
- package/dist/esm/formControls/Calc/runtime.js +7 -21
- package/dist/esm/formControls/Checkbox/designer.js +29 -43
- package/dist/esm/formControls/Checkbox/index.js +6 -6
- package/dist/esm/formControls/Checkbox/property.js +57 -93
- package/dist/esm/formControls/Checkbox/runtime.js +7 -21
- package/dist/esm/formControls/DatePicker/designer.js +29 -39
- package/dist/esm/formControls/DatePicker/index.js +6 -6
- package/dist/esm/formControls/DatePicker/property.js +30 -51
- package/dist/esm/formControls/DatePicker/runtime.js +7 -21
- package/dist/esm/formControls/DateRange/designer.js +29 -39
- package/dist/esm/formControls/DateRange/index.js +6 -6
- package/dist/esm/formControls/DateRange/property.js +36 -88
- package/dist/esm/formControls/DateRange/runtime.js +7 -21
- package/dist/esm/formControls/Department/designer.js +28 -42
- package/dist/esm/formControls/Department/index.js +6 -6
- package/dist/esm/formControls/Department/property.js +32 -74
- package/dist/esm/formControls/Department/runtime.js +7 -21
- package/dist/esm/formControls/Department2/designer.js +31 -45
- package/dist/esm/formControls/Department2/index.js +6 -6
- package/dist/esm/formControls/Department2/property.js +55 -108
- package/dist/esm/formControls/Department2/runtime.js +7 -21
- package/dist/esm/formControls/ElectronicSignature/designer.js +27 -41
- package/dist/esm/formControls/ElectronicSignature/index.js +6 -6
- package/dist/esm/formControls/ElectronicSignature/property.js +43 -63
- package/dist/esm/formControls/ElectronicSignature/runtime.js +7 -21
- package/dist/esm/formControls/Employee/designer.js +25 -39
- package/dist/esm/formControls/Employee/index.js +6 -6
- package/dist/esm/formControls/Employee/property.js +28 -56
- package/dist/esm/formControls/Employee/runtime.js +7 -21
- package/dist/esm/formControls/Employee2/designer.js +28 -42
- package/dist/esm/formControls/Employee2/index.js +6 -6
- package/dist/esm/formControls/Employee2/property.js +53 -90
- package/dist/esm/formControls/Employee2/runtime.js +7 -21
- package/dist/esm/formControls/Image/designer.js +29 -42
- package/dist/esm/formControls/Image/index.js +6 -6
- package/dist/esm/formControls/Image/property.js +3 -3
- package/dist/esm/formControls/Image/runtime.js +12 -12
- package/dist/esm/formControls/Input/designer.js +32 -46
- package/dist/esm/formControls/Input/index.js +6 -6
- package/dist/esm/formControls/Input/property.js +46 -88
- package/dist/esm/formControls/Input/runtime.js +7 -21
- package/dist/esm/formControls/Number/designer.js +38 -52
- package/dist/esm/formControls/Number/index.js +6 -6
- package/dist/esm/formControls/Number/property.js +59 -131
- package/dist/esm/formControls/Number/runtime.js +7 -21
- package/dist/esm/formControls/OrganizationSelection/designer.js +30 -44
- package/dist/esm/formControls/OrganizationSelection/index.js +6 -6
- package/dist/esm/formControls/OrganizationSelection/property.js +61 -126
- package/dist/esm/formControls/OrganizationSelection/runtime.js +7 -21
- package/dist/esm/formControls/Radio/designer.js +28 -42
- package/dist/esm/formControls/Radio/index.js +6 -6
- package/dist/esm/formControls/Radio/property.js +38 -70
- package/dist/esm/formControls/Radio/runtime.js +7 -21
- package/dist/esm/formControls/RichText/designer.js +31 -45
- package/dist/esm/formControls/RichText/index.js +6 -6
- package/dist/esm/formControls/RichText/property.js +36 -52
- package/dist/esm/formControls/RichText/runtime.js +7 -21
- package/dist/esm/formControls/Score/designer.js +31 -45
- package/dist/esm/formControls/Score/index.js +6 -6
- package/dist/esm/formControls/Score/property.js +41 -59
- package/dist/esm/formControls/Score/runtime.js +7 -21
- package/dist/esm/formControls/SearchDateRange/designer.js +30 -40
- package/dist/esm/formControls/SearchDateRange/index.js +6 -6
- package/dist/esm/formControls/SearchDateRange/property.js +39 -60
- package/dist/esm/formControls/SearchDateRange/runtime.js +7 -21
- package/dist/esm/formControls/SearchInput/designer.js +17 -31
- package/dist/esm/formControls/SearchInput/index.js +6 -6
- package/dist/esm/formControls/SearchInput/property.js +6 -6
- package/dist/esm/formControls/SearchInput/runtime.js +7 -21
- package/dist/esm/formControls/SearchNumberRange/designer.js +23 -37
- package/dist/esm/formControls/SearchNumberRange/index.js +6 -6
- package/dist/esm/formControls/SearchNumberRange/property.js +24 -44
- package/dist/esm/formControls/SearchNumberRange/runtime.js +7 -21
- package/dist/esm/formControls/Select/designer.js +23 -37
- package/dist/esm/formControls/Select/index.js +6 -6
- package/dist/esm/formControls/Select/property.js +32 -56
- package/dist/esm/formControls/Select/runtime.js +7 -21
- package/dist/esm/formControls/SelectMultiple/designer.js +23 -37
- package/dist/esm/formControls/SelectMultiple/index.js +6 -6
- package/dist/esm/formControls/SelectMultiple/property.js +34 -56
- package/dist/esm/formControls/SelectMultiple/runtime.js +7 -21
- package/dist/esm/formControls/SelectRelation/designer.js +29 -43
- package/dist/esm/formControls/SelectRelation/index.js +6 -6
- package/dist/esm/formControls/SelectRelation/property.js +40 -103
- package/dist/esm/formControls/SelectRelation/runtime.js +7 -21
- package/dist/esm/formControls/Textarea/designer.js +32 -46
- package/dist/esm/formControls/Textarea/index.js +6 -6
- package/dist/esm/formControls/Textarea/property.js +39 -72
- package/dist/esm/formControls/Textarea/runtime.js +7 -21
- package/dist/esm/formControls/Tree/designer.js +33 -47
- package/dist/esm/formControls/Tree/index.js +6 -6
- package/dist/esm/formControls/Tree/property.js +68 -103
- package/dist/esm/formControls/Tree/runtime.js +7 -21
- package/dist/esm/formControls/VueFormItem/designer.js +22 -36
- package/dist/esm/formControls/VueFormItem/index.js +6 -6
- package/dist/esm/formControls/VueFormItem/property.js +22 -39
- package/dist/esm/formControls/VueFormItem/runtime.js +7 -21
- package/dist/esm/formControls/WPS/designer.js +37 -51
- package/dist/esm/formControls/WPS/index.js +6 -6
- package/dist/esm/formControls/WPS/property.js +51 -77
- package/dist/esm/formControls/WPS/runtime.js +7 -21
- package/dist/esm/formControls/index.js +30 -30
- package/dist/esm/framework.js +110 -190
- package/dist/esm/index.js +14 -14
- package/dist/esm/layoutControls/AdvancedContainer/Setting.js +13 -13
- package/dist/esm/layoutControls/AdvancedContainer/designer.js +6 -6
- package/dist/esm/layoutControls/AdvancedContainer/index.js +6 -6
- package/dist/esm/layoutControls/AdvancedContainer/property.js +5 -20
- package/dist/esm/layoutControls/AdvancedContainer/runtime.js +4 -4
- package/dist/esm/layoutControls/CardGroup/designer.js +17 -31
- package/dist/esm/layoutControls/CardGroup/index.js +6 -6
- package/dist/esm/layoutControls/CardGroup/property.js +15 -35
- package/dist/esm/layoutControls/CardGroup/runtime.js +5 -19
- package/dist/esm/layoutControls/Col/designer.js +12 -26
- package/dist/esm/layoutControls/Col/index.js +6 -6
- package/dist/esm/layoutControls/Col/property.js +7 -22
- package/dist/esm/layoutControls/Col/runtime.js +5 -19
- package/dist/esm/layoutControls/DataView/designer.js +7 -21
- package/dist/esm/layoutControls/DataView/index.js +6 -6
- package/dist/esm/layoutControls/DataView/property.js +28 -57
- package/dist/esm/layoutControls/DataView/runtime.js +5 -19
- package/dist/esm/layoutControls/Grid/designer.js +9 -22
- package/dist/esm/layoutControls/Grid/index.js +6 -6
- package/dist/esm/layoutControls/Grid/property.js +1 -1
- package/dist/esm/layoutControls/Grid/runtime.js +4 -4
- package/dist/esm/layoutControls/GridRow/designer.js +11 -24
- package/dist/esm/layoutControls/GridRow/index.js +6 -6
- package/dist/esm/layoutControls/GridRow/property.js +3 -3
- package/dist/esm/layoutControls/GridRow/runtime.js +4 -4
- package/dist/esm/layoutControls/GridTableColumn/designer.js +18 -32
- package/dist/esm/layoutControls/GridTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/GridTableColumn/property.js +25 -51
- package/dist/esm/layoutControls/GridTableColumn/runtime.js +5 -19
- package/dist/esm/layoutControls/ListView/designer.js +27 -41
- package/dist/esm/layoutControls/ListView/index.js +6 -6
- package/dist/esm/layoutControls/ListView/property.js +45 -121
- package/dist/esm/layoutControls/ListView/runtime.js +5 -19
- package/dist/esm/layoutControls/Page/Setting.js +23 -23
- package/dist/esm/layoutControls/Page/designer.js +6 -6
- package/dist/esm/layoutControls/Page/index.js +6 -6
- package/dist/esm/layoutControls/Page/property.js +9 -23
- package/dist/esm/layoutControls/Page/runtime.js +4 -4
- package/dist/esm/layoutControls/Position/Setting.js +1 -1
- package/dist/esm/layoutControls/Position/designer.js +6 -6
- package/dist/esm/layoutControls/Position/index.js +6 -6
- package/dist/esm/layoutControls/Position/property.js +11 -28
- package/dist/esm/layoutControls/Position/runtime.js +4 -4
- package/dist/esm/layoutControls/PositioningContainer/Setting.js +13 -13
- package/dist/esm/layoutControls/PositioningContainer/designer.js +6 -6
- package/dist/esm/layoutControls/PositioningContainer/index.js +6 -6
- package/dist/esm/layoutControls/PositioningContainer/property.js +3 -3
- package/dist/esm/layoutControls/PositioningContainer/runtime.js +4 -4
- package/dist/esm/layoutControls/Row/designer.js +14 -28
- package/dist/esm/layoutControls/Row/index.js +6 -6
- package/dist/esm/layoutControls/Row/property.js +7 -22
- package/dist/esm/layoutControls/Row/runtime.js +5 -19
- package/dist/esm/layoutControls/SubTableColumn/designer.js +18 -32
- package/dist/esm/layoutControls/SubTableColumn/index.js +6 -6
- package/dist/esm/layoutControls/SubTableColumn/property.js +29 -61
- package/dist/esm/layoutControls/SubTableColumn/runtime.js +5 -19
- package/dist/esm/layoutControls/SubTableRow/designer.js +16 -30
- package/dist/esm/layoutControls/SubTableRow/index.js +6 -6
- package/dist/esm/layoutControls/SubTableRow/property.js +3 -3
- package/dist/esm/layoutControls/SubTableRow/runtime.js +5 -19
- package/dist/esm/layoutControls/Tab/designer.js +22 -36
- package/dist/esm/layoutControls/Tab/index.js +6 -6
- package/dist/esm/layoutControls/Tab/property.js +5 -19
- package/dist/esm/layoutControls/Tab/runtime.js +5 -19
- package/dist/esm/layoutControls/TabPane/designer.js +17 -31
- package/dist/esm/layoutControls/TabPane/index.js +6 -6
- package/dist/esm/layoutControls/TabPane/property.js +14 -28
- package/dist/esm/layoutControls/TabPane/runtime.js +5 -19
- package/dist/esm/layoutControls/Toolbox/designer.js +13 -27
- package/dist/esm/layoutControls/Toolbox/index.js +6 -6
- package/dist/esm/layoutControls/Toolbox/property.js +3 -3
- package/dist/esm/layoutControls/Toolbox/runtime.js +6 -6
- package/dist/esm/layoutControls/index.js +17 -17
- package/dist/esm/listControls/GridTable/designer.js +32 -163
- package/dist/esm/listControls/GridTable/index.js +6 -6
- package/dist/esm/listControls/GridTable/property.js +20 -57
- package/dist/esm/listControls/GridTable/runtime.js +7 -21
- package/dist/esm/listControls/SubTable/designer.js +43 -57
- package/dist/esm/listControls/SubTable/index.js +6 -6
- package/dist/esm/listControls/SubTable/property.js +107 -238
- package/dist/esm/listControls/SubTable/runtime.js +7 -21
- package/dist/esm/listControls/index.js +2 -2
- package/dist/esm/searchControls/SimpleSearch/designer.js +12 -26
- package/dist/esm/searchControls/SimpleSearch/index.js +6 -6
- package/dist/esm/searchControls/SimpleSearch/property.js +26 -73
- package/dist/esm/searchControls/SimpleSearch/runtime.js +7 -22
- package/dist/esm/searchControls/index.js +1 -1
- package/dist/index.umd.js +1 -1
- package/dist/types/formControls/DatePicker/property.d.ts +2 -0
- package/dist/types/formControls/DateRange/property.d.ts +12 -0
- package/dist/types/formControls/SearchDateRange/property.d.ts +2 -0
- package/dist/types/listControls/SubTable/property.d.ts +1 -0
- package/package.json +5 -5
package/dist/index.umd.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
var DE=Object.defineProperty,xE=Object.defineProperties;var FE=Object.getOwnPropertyDescriptors;var ss=Object.getOwnPropertySymbols,OE=Object.getPrototypeOf,kE=Object.prototype.hasOwnProperty,ME=Object.prototype.propertyIsEnumerable,NE=Reflect.get;var ds=(y,H,j)=>H in y?DE(y,H,{enumerable:!0,configurable:!0,writable:!0,value:j}):y[H]=j,Ae=(y,H)=>{for(var j in H||(H={}))kE.call(H,j)&&ds(y,j,H[j]);if(ss)for(var j of ss(H))ME.call(H,j)&&ds(y,j,H[j]);return y},Pn=(y,H)=>xE(y,FE(H));var br=(y,H,j)=>NE(OE(y),j,H);var Er=(y,H,j)=>new Promise((lu,Dn)=>{var ou=ge=>{try{It(j.next(ge))}catch(St){Dn(St)}},cu=ge=>{try{It(j.throw(ge))}catch(St){Dn(St)}},It=ge=>ge.done?lu(ge.value):Promise.resolve(ge.value).then(ou,cu);It((j=j.apply(y,H)).next())});(function(y,H){typeof exports=="object"&&typeof module!="undefined"?H(exports):typeof define=="function"&&define.amd?define(["exports"],H):(y=typeof globalThis!="undefined"?globalThis:y||self,H(y.modelDrivenControls={}))})(this,function(y){"use strict";var H="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",j="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",lu="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",Dn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",ou="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",cu="{caption}\u5FC5\u586B",It="\u8BF7\u8F93\u5165\u6807\u9898",ge="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",St="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",fs="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",hs="\u8BF7\u7ED1\u5B9A\u8868\u5355",ys="\u8BF7\u7ED1\u5B9A\u5217\u8868",ms="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",vs="\u8BF7\u8F93\u5165\u663E\u793A\u503C",gs="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",bs="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Es="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",_s="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Cs="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",ws="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Is="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Ss="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",As="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Ts="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",Bs="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",Rs="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ps="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",Ds="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",xs="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",Fs="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",Os="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",ks="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",Ms="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",Ns="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ls="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",$s="\u8BF7\u7ED1\u5B9A\u670D\u52A1",Vs="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Hs="\u8BF7\u9009\u62E9\u7701",qs="\u8BF7\u9009\u62E9\u5E02",js="\u8BF7\u9009\u62E9\u533A",Us="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",Ws="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",Ks="\u8BF7\u8F93\u5165\u5217\u5BBD",zs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Gs="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Xs="\u8BF7\u9009\u62E9\u63A7\u4EF6",Qs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Js="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Zs="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ys="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",ps="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ed="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",td="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",nd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",id="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",ad="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",rd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ld="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",od="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",cd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",sd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",dd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",fd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",hd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",yd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",md="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",vd={isNotNumber:H,isNotString:j,isNotObject:lu,isNotArray:Dn,isNotBoolean:ou,runtimeRequired:cu,pleaseEnterCaption:It,pleaseEnterCaptionTip:ge,pleaseEnterPlaceholder:St,pleaseEnterFieldCode:fs,pleaseEnterForm:hs,pleaseEnterList:ys,pleaseEnterProcess:ms,pleaseEnterLabel:vs,pleaseEnterValue:gs,bizKeyNotBindFiled:bs,pleaseSelectOneField:Es,pleaseEnterNumberRange:_s,pleaseEnterAValueGreaterThanMin:Cs,pleaseEnterAValueLessThanMax:ws,numberRangeSetError:Is,stringRangeError:Ss,attachmentMaxSize:As,pleaseEnterTotalScoreSetting:Ts,theTotalScoreMustNotBeLessThan1:Bs,scoreDefaultValueRange:Rs,attachmentLimitError:Ps,PleaseReselectTheOptionalQuantity:Ds,TheMaximumLengthIsGreaterThanTheMinimumLength:xs,TheMinimumLengthIsGreaterThanTheMaximumLength:Fs,PleaseSelectTheCorrectOptionSettings:Os,optionIdIsRepeat:ks,optionIsRequired:Ms,pleaseEnterDataCode:Ns,pleaseEnterValueFieldCode:Ls,pleaseEnterSvcCode:$s,pleaseBindAtLeastOneDisplayValue:Vs,pleaseSelectProvince:Hs,pleaseSelectCity:qs,pleaseSelectDistrict:js,limitRowsCannotBeLessThan0:Us,TheNumberOfRowsCannotBeLessThanMinRows:Ws,pleaseEnterColumnWidth:Ks,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zs,pleaseCompleteAllRulesAndConditions:Gs,pleaseSelectControl:Xs,pleaseSelectAtLeastOneColumn:Qs,pleaseSelectFillBackMode:Js,pleaseSelectDashboard:Zs,rootNodeIsRequired:Ys,theViewNameCannotBeEmpty:ps,pleaseSelectOcrType:ed,pleaseSelectAtLeastOneFieldToFillIn:td,pleaseChooseAtLeastOne:nd,pleaseEnterButtonContent:id,pleaseEnterDataCodeInDataSetting:ud,pleaseEnterValueFieldCodeInDataSetting:ad,pleaseEnterSvcCodeInDataSetting:rd,pleaseBindAtLeastOneDisplayValueInDataSetting:ld,rootNodeIsRequiredInDataSetting:od,pleaseEnterMaxHeight:cd,pleaseEnter:sd,pleaseEnterWatermark:dd,pleaseEnterFileName:fd,pleaseUploadAtLeastOnePrintTemplate:hd,pleaseAssignBusiness:yd,pleaseAssignExternal:md},gd="Please enter a number",bd="Please enter a string",Ed="Please enter an object",_d="Please enter an array",Cd="Please enter a boolean",wd="{caption} Required",Id="Please enter the title",Sd="Please enter the bubble prompt",Ad="Please enter the prompt text",Td="Please bind data items",Bd="Please bind the form",Rd="Please bind the list",Pd="Please bind the process",Dd="Please enter the displayed value",xd="Please enter the stored value",Fd="The document number is not bound to the data item",Od="Please select at least one display field",kd="Please enter a value greater than or equal to {min} and less than or equal to {max}",Md="Please enter a value greater than or equal to {min}",Nd="Please enter a value less than or equal to {max}",Ld="The value range is set incorrectly",$d="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",Vd="The attachment size must be between 0MB and 1000MB",Hd="Please fill in the total score setting",qd="The total score cannot be less than 1",jd="The default value must be between {min} and {max}",Ud="The number of attachments uploaded must be between {min} and {max}",Wd="Please re-select the optional quantity",Kd="The maximum length of the control must be greater than the minimum length",zd="The minimum length of the control must be less than the maximum length",Gd="Please select the correct option setting",Xd="Option ID cannot be repeated",Qd="Please enter at least one option",Jd="Please bind the data source",Zd="Please bind the stored value",Yd="Please bind the service",pd="At least one display value must be bound",ef="Please select a province",tf="Please select a city",nf="Please select a district",uf="The minimum number of lines to fill in cannot be less than 0",af="The number of rows cannot be less than {min} rows",rf="Please enter the column width",lf="Please set the logical relationship of all rule conditions",of="Please complete all rules and conditions",cf="please select control",sf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",df="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",ff="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",hf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",yf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",mf="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",vf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",gf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",bf="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Ef="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",_f="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Cf="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",wf="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",If="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Sf="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Af="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Tf="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",Bf="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Rf={isNotNumber:gd,isNotString:bd,isNotObject:Ed,isNotArray:_d,isNotBoolean:Cd,runtimeRequired:wd,pleaseEnterCaption:Id,pleaseEnterCaptionTip:Sd,pleaseEnterPlaceholder:Ad,pleaseEnterFieldCode:Td,pleaseEnterForm:Bd,pleaseEnterList:Rd,pleaseEnterProcess:Pd,pleaseEnterLabel:Dd,pleaseEnterValue:xd,bizKeyNotBindFiled:Fd,pleaseSelectOneField:Od,pleaseEnterNumberRange:kd,pleaseEnterAValueGreaterThanMin:Md,pleaseEnterAValueLessThanMax:Nd,numberRangeSetError:Ld,stringRangeError:$d,attachmentMaxSize:Vd,pleaseEnterTotalScoreSetting:Hd,theTotalScoreMustNotBeLessThan1:qd,scoreDefaultValueRange:jd,attachmentLimitError:Ud,PleaseReselectTheOptionalQuantity:Wd,TheMaximumLengthIsGreaterThanTheMinimumLength:Kd,TheMinimumLengthIsGreaterThanTheMaximumLength:zd,PleaseSelectTheCorrectOptionSettings:Gd,optionIdIsRepeat:Xd,optionIsRequired:Qd,pleaseEnterDataCode:Jd,pleaseEnterValueFieldCode:Zd,pleaseEnterSvcCode:Yd,pleaseBindAtLeastOneDisplayValue:pd,pleaseSelectProvince:ef,pleaseSelectCity:tf,pleaseSelectDistrict:nf,limitRowsCannotBeLessThan0:uf,TheNumberOfRowsCannotBeLessThanMinRows:af,pleaseEnterColumnWidth:rf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:lf,pleaseCompleteAllRulesAndConditions:of,pleaseSelectControl:cf,pleaseSelectDashboard:sf,theViewNameCannotBeEmpty:df,pleaseSelectOcrType:ff,pleaseSelectAtLeastOneFieldToFillIn:hf,pleaseChooseAtLeastOne:yf,pleaseEnterButtonContent:mf,pleaseEnterDataCodeInDataSetting:vf,pleaseEnterValueFieldCodeInDataSetting:gf,pleaseEnterSvcCodeInDataSetting:bf,pleaseBindAtLeastOneDisplayValueInDataSetting:Ef,rootNodeIsRequiredInDataSetting:_f,pleaseEnterMaxHeight:Cf,pleaseEnter:wf,pleaseEnterWatermark:If,pleaseEnterFileName:Sf,pleaseUploadAtLeastOnePrintTemplate:Af,pleaseAssignBusiness:Tf,pleaseAssignExternal:Bf},Pf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Df="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",xf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Ff="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Of="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",kf="{caption}\u5FC5\u9808",Mf="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Nf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Lf="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",$f="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Hf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",qf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",jf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Uf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",Wf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Kf="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",zf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Gf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Xf="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Qf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Jf="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Zf="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Yf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",pf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",eh="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",th="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",nh="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",ih="\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",uh="\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",ah="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",rh="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",lh="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",oh="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",ch="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",sh="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",dh="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",fh="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",hh="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",yh="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",mh="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",vh="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",gh="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bh="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Eh="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",_h="please select control",Ch="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",wh="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ih="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Sh="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Ah="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Th="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Bh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Rh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Ph="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Dh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",xh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Fh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Oh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",kh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Mh="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Nh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Lh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",$h="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",Vh={isNotNumber:Pf,isNotString:Df,isNotObject:xf,isNotArray:Ff,isNotBoolean:Of,runtimeRequired:kf,pleaseEnterCaption:Mf,pleaseEnterCaptionTip:Nf,pleaseEnterPlaceholder:Lf,pleaseEnterFieldCode:$f,pleaseEnterForm:Vf,pleaseEnterList:Hf,pleaseEnterProcess:qf,pleaseEnterLabel:jf,pleaseEnterValue:Uf,bizKeyNotBindFiled:Wf,pleaseSelectOneField:Kf,pleaseEnterNumberRange:zf,pleaseEnterAValueGreaterThanMin:Gf,pleaseEnterAValueLessThanMax:Xf,numberRangeSetError:Qf,stringRangeError:Jf,attachmentMaxSize:Zf,pleaseEnterTotalScoreSetting:Yf,theTotalScoreMustNotBeLessThan1:pf,scoreDefaultValueRange:eh,attachmentLimitError:th,PleaseReselectTheOptionalQuantity:nh,TheMaximumLengthIsGreaterThanTheMinimumLength:ih,TheMinimumLengthIsGreaterThanTheMaximumLength:uh,PleaseSelectTheCorrectOptionSettings:ah,optionIdIsRepeat:rh,optionIsRequired:lh,pleaseEnterDataCode:oh,pleaseEnterValueFieldCode:ch,pleaseEnterSvcCode:sh,pleaseBindAtLeastOneDisplayValue:dh,pleaseSelectProvince:fh,pleaseSelectCity:hh,pleaseSelectDistrict:yh,limitRowsCannotBeLessThan0:mh,TheNumberOfRowsCannotBeLessThanMinRows:vh,pleaseEnterColumnWidth:gh,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bh,pleaseCompleteAllRulesAndConditions:Eh,pleaseSelectControl:_h,pleaseSelectDashboard:Ch,theViewNameCannotBeEmpty:wh,pleaseSelectOcrType:Ih,pleaseSelectAtLeastOneFieldToFillIn:Sh,pleaseChooseAtLeastOne:Ah,pleaseEnterButtonContent:Th,pleaseEnterDataCodeInDataSetting:Bh,pleaseEnterValueFieldCodeInDataSetting:Rh,pleaseEnterSvcCodeInDataSetting:Ph,pleaseBindAtLeastOneDisplayValueInDataSetting:Dh,rootNodeIsRequiredInDataSetting:xh,pleaseEnterMaxHeight:Fh,pleaseEnter:Oh,pleaseEnterWatermark:kh,pleaseEnterFileName:Mh,pleaseUploadAtLeastOnePrintTemplate:Nh,pleaseAssignBusiness:Lh,pleaseAssignExternal:$h},Hh={zhCN:vd,enUS:Rf,jaJP:Vh},_r;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(_r||(_r={}));var Cr;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Cr||(Cr={}));var qh="zh-CN";function re(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var ot;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(ot||(ot={}));var C;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.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.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.SUBTABLE="subtable",t.GRID_TABLE="grid-table",t.SIMPLE_SEARCH="simple-search",t.PAGINATION="pagination",t.CHECKBOX_IMAGE="checkbox-image",t.DASHBOARD="dashboard",t.TREE="tree",t.EMPLOYEE2="employee2",t.DEPARTMENT2="department2"})(C||(C={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var ne;ne={},re(ne,g.ARRAY,C.ARRAY_COLUMN),re(ne,g.AUTO_NUMBER,C.AUTO_NUMBER_COLUMN),re(ne,g.DECIMAL,C.DECIMAL_COLUMN),re(ne,g.DEPARTMENTS,C.DEPARTMENT_COLUMN),re(ne,g.FILE,C.FILE_COLUMN),re(ne,g.IMAGE,C.IMAGE_COLUMN),re(ne,g.ADDRESS,C.LOCATION_COLUMN),re(ne,g.EMPLOYEES,C.EMPLOYEE_COLUMN),re(ne,g.TEXT,C.TEXT_COLUMN),re(ne,g.TIMESCOPE,C.TIMESCOPE_COLUMN),re(ne,g.TIMESTAMP,C.TIMESTAMP_COLUMN),re(ne,g.VARCHAR,C.VARCHAR_COLUMN),re(ne,g.RELATION,C.VARCHAR_COLUMN);var Te;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATETIME="datetime"})(Te||(Te={}));var wr="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",jh=wr+"0123456789";function be(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var i=n===0?wr:jh,u=Math.random()*i.length;e+=i[parseInt(String(u),10)]}return 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 Uh(t){if(Array.isArray(t))return su(t)}function Wh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ir(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Kh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function xn(t,e,n){return Kh()?xn=Reflect.construct:xn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Tt(o,r.prototype),o},xn.apply(null,arguments)}function At(t){return At=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},At(t)}function Sr(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&&Tt(t,e)}function zh(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Gh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Xh(){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 Qh(t,e){return e&&(Jh(e)==="object"||typeof e=="function")?e:Wh(t)}function Tt(t,e){return Tt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Tt(t,e)}function Ar(t){return Uh(t)||Gh(t)||Zh(t)||Xh()}var Jh=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zh(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 du(t){var e=typeof Map=="function"?new Map:void 0;return du=function(i){if(i===null||!zh(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 xn(i,arguments,At(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Tt(u,i)},du(t)}function Yh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tr(t){var e=Yh();return function(){var i=At(t),u;if(e){var a=At(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qh(this,u)}}var fu=console;function hu(){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=fu).warn.apply(i,["\u{1F9D0} Driven Warning:"+e[0]].concat(Ar(u)))}function Br(){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=fu).log.apply(i,["\u{1F680} Driven Log:"+e[0]].concat(Ar(u)))}function ph(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var yu=function(t){Sr(n,t);var e=Tr(n);function n(i){Ir(this,n);var u;return u=e.call(this,i),u.name="\u{1F4A5} Driven Error",u.message=i?ph(i):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",u}return n}(du(Error)),ey=function(t){Sr(n,t);var e=Tr(n);function n(i){Ir(this,n);var u;return u=e.call(this,i),u.name="\u{1F6A8} Driven Reference Error",u}return n}(yu);function Bt(t){throw new yu(t)}function Rr(t){throw new ey(t)}function ty(t){fu.error(new yu(t))}var ny=Object.prototype.toString;function Pr(t,e){return ny.call(t)==="[object "+e+"]"}function iy(t){return Pr(t,"String")}function uy(t){return Pr(t,"Promise")}var ay=function(){function t(e){var n,i;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((i=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&i!==void 0?i:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var i=this.getMessageData();uy(i)?i.then(function(u){n._messageCache.clear(),n.messages[n.localeInMessageKey]=u}):this.messages[this.localeInMessageKey]=i},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,i){var u=this.getMessage(e);return u?this.formatMessage(u,i):this.formatMessage(n,i)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),i=n.reduce(function(u,a,r,l){if(u!==void 0){var s=u[a];if(!(r===l.length-1&&!iy(s)))return s}},this.message);return this._messageCache.set(e,i),i},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(i,u){var a=n[u];return a!==void 0?String(a):i}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var i=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(i)?window.okI18nPreImport:(n={},n[i]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function ry(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ly(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function oy(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var f=function(){function t(){ry(this,t)}return ly(t,null,[{key:"getMessage",value:function(n){var i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",i)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:qh;return new ay({locale:n,messages:Hh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();oy(f,"$i18n",f.resetI18n());function cy(t,e,n){var i=e.replace(/\[(\d)]/g,function(a,r){return"."+r}).split("."),u=!1;return i.reduce(function(a,r,l,s){var o=a;if(!!a){if(!Object.prototype.hasOwnProperty.call(a,r)){hu("Can not set ".concat(e,"'s ").concat(r," property in current %o, Because there is no ").concat(r," property on the %o"),a,a);return}return l===s.length-1&&!Object.is(o[r],n)&&(o[r]=n,u=!0),o[r]}},t),u}var sy=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},dy={exports:{}};(function(t){(function(e){var n=function(m,_,B){if(!o(_)||v(_)||b(_)||w(_)||s(_))return _;var D,F=0,ce=0;if(d(_))for(D=[],ce=_.length;F<ce;F++)D.push(n(m,_[F],B));else{D={};for(var O in _)Object.prototype.hasOwnProperty.call(_,O)&&(D[m(O,B)]=n(m,_[O],B))}return D},i=function(m,_){_=_||{};var B=_.separator||"_",D=_.split||/(?=[A-Z])/;return m.split(D).join(B)},u=function(m){return I(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(_,B){return B?B.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},a=function(m){var _=u(m);return _.substr(0,1).toUpperCase()+_.substr(1)},r=function(m,_){return i(m,_).toLowerCase()},l=Object.prototype.toString,s=function(m){return typeof m=="function"},o=function(m){return m===Object(m)},d=function(m){return l.call(m)=="[object Array]"},v=function(m){return l.call(m)=="[object Date]"},b=function(m){return l.call(m)=="[object RegExp]"},w=function(m){return l.call(m)=="[object Boolean]"},I=function(m){return m=m-0,m===m},E=function(m,_){var B=_&&"process"in _?_.process:_;return typeof B!="function"?m:function(D,F){return B(D,m,F)}},S={camelize:u,decamelize:r,pascalize:a,depascalize:r,camelizeKeys:function(m,_){return n(E(u,_),m)},decamelizeKeys:function(m,_){return n(E(r,_),m,_)},pascalizeKeys:function(m,_){return n(E(a,_),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=S:e.humps=S})(sy)})(dy);var xr={};Object.defineProperty(xr,"__esModule",{value:!0});function mu(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:mu(e));{const e={};for(const n in t){const i=t[n];e[n]=typeof i!="object"||i===null?i:mu(i)}return e}}var fy=xr.default=mu;function Be(t){if(t!==void 0)return typeof t=="object"?fy(t):t}function hy(t){return Object.prototype.toString.call(t)==="[object Object]"}function vu(t){return Array.isArray(t)}function yy(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function gu(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 my(t){if(Array.isArray(t))return gu(t)}function Fr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function vy(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){Fr(a,i,u,r,l,"next",s)}function l(s){Fr(a,i,u,r,l,"throw",s)}r(void 0)})}}function gy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Or(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 by(t,e,n){return e&&Or(t.prototype,e),n&&Or(t,n),t}function kr(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ey(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function _y(){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 bu(t){return my(t)||Ey(t)||Cy(t)||_y()}function Cy(t,e){if(!!t){if(typeof t=="string")return gu(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 gu(t,e)}}var wy=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},Iy=function(){function t(){gy(this,t),kr(this,"_events",new Map),kr(this,"debug",!1)}return by(t,[{key:"emit",value:function(n){for(var i=arguments.length,u=new Array(i>1?i-1:0),a=1;a<i;a++)u[a-1]=arguments[a];var r=this;return vy(function(){var l,s,o,d,v,b,w,I,E,S,m,_;return wy(this,function(B){switch(B.label){case 0:if(l=r._events.get(n),s=[],!l)return[3,10];o=l.slice(),d=!0,v=!1,b=void 0,B.label=1;case 1:B.trys.push([1,8,9,10]),w=o[Symbol.iterator](),B.label=2;case 2:if(d=(I=w.next()).done)return[3,7];if(E=I.value,!l.includes(E))return[3,6];B.label=3;case 3:return B.trys.push([3,5,,6]),r.debug&&Br.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"\u3002")].concat(bu(u))),[4,E.apply(null,bu(u))];case 4:return S=B.sent(),r.debug&&Br.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(E.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+E.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(u.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(bu(u),[S])),s.push(S),S===!1?[3,7]:[3,6];case 5:return m=B.sent(),ty(String(m)+":"+String(m.stack)),[3,6];case 6:return d=!0,[3,2];case 7:return[3,10];case 8:return _=B.sent(),v=!0,b=_,[3,10];case 9:try{!d&&w.return!=null&&w.return()}finally{if(v)throw b}return[7];case 10:return[2,s]}})})()}},{key:"on",value:function(n,i){if(this._events.has(n)){var u;(u=this._events.get(n))===null||u===void 0||u.push(i)}else this._events.set(n,[i])}},{key:"off",value:function(n,i){if(this._events.has(n)){var u=this._events.get(n),a=u==null?void 0:u.indexOf(i);u==null||u.splice(a,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}();function Sy(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Mr(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 Ay(t,e,n){return e&&Mr(t.prototype,e),n&&Mr(t,n),t}function Ty(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var By=[{key:"on_click",name:"\u70B9\u51FB\u65F6",code:"click"},{key:"on_click_finish",name:"\u6267\u884C\u5B8C\u6210\u65F6",code:"click-finish"},{key:"on_change",name:"\u503C\u53D1\u751F\u53D8\u5316\u65F6",code:"change"},{key:"on_search",name:"\u641C\u7D22\u65F6",code:"search"},{key:"on_list_change",name:"\u5217\u8868\u6570\u636E\u53D8\u5316\u65F6",code:"list-change"},{key:"on_list_search",name:"\u5217\u8868\u6570\u636E\u67E5\u8BE2\u6784\u5EFA\u65F6",code:"list-search"},{key:"on_list_mounted",name:"\u5217\u8868\u6570\u636E\u8FD4\u56DE\u65F6",code:"list-mounted"},{key:"on_list_delete",name:"\u5217\u8868\u6570\u636E\u5220\u9664\u65F6",code:"list-delete"},{key:"on_list_before_insert",name:"\u5217\u8868\u6570\u636E\u63D2\u5165\u524D",code:"list-before-insert"},{key:"on_input",name:"\u7528\u6237\u8F93\u5165\u65F6",code:"input"},{key:"on_blur",name:"\u5931\u53BB\u7126\u70B9\u65F6",code:"blur"},{key:"on_focus",name:"\u83B7\u53D6\u7126\u70B9\u65F6",code:"focus"},{key:"on_wps_open",name:"\u6253\u5F00\u6587\u4EF6\u65F6",code:"wps-open"},{key:"on_wps_save",name:"\u4FDD\u5B58\u6587\u4EF6\u65F6",code:"wps-save"},{key:"on_wps_rename",name:"\u91CD\u547D\u540D\u65F6",code:"wps-rename"},{key:"on_list_actions",name:"\u70B9\u51FB\u64CD\u4F5C\u6309\u94AE\u65F6",code:"list-actions"},{key:"on_list_render_operation",name:"\u64CD\u4F5C\u5217\u6E32\u67D3\u65F6",code:"list-render-operation"},{key:"on_list_rowclick",name:"\u884C\u70B9\u51FB\u65F6",code:"list-rowclick"},{key:"on_list_before_rowdelete",name:"\u884C\u5220\u9664\u524D",code:"list-before-rowdelete"},{key:"on_list_before_import",name:"\u5217\u8868\u6570\u636E\u5BFC\u5165\u524D",code:"list-before-import"},{key:"on_list_rows_checked",name:"\u884C\u9009\u4E2D\u65F6",code:"list-rows-checked"},{key:"on_change_tab",name:"\u6807\u7B7E\u9875\u5207\u6362\u65F6",code:"change-tab"},{key:"on_modal_ok",name:"\u5F39\u7A97\u786E\u8BA4\u65F6",code:"modal-ok"}],Ry=function(){function t(){Sy(this,t)}return Ay(t,[{key:"getEventsFromKeys",value:function(n){var i=typeof n=="string"?[n]:n;return t.events.filter(function(u){return i.includes(u.key)})}}]),t}();Ty(Ry,"events",By);function Py(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nr(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function Dy(t,e,n){return e&&Nr(t.prototype,e),n&&Nr(t,n),t}function $e(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Lr=[],Eu=function(){function t(e){Py(this,t),$e(this,"registeredControlTypes",new Set),$e(this,"controlConfigMap",new Map),$e(this,"_controls",[]),$e(this,"_type",void 0),this._type=e,this._initControls(e)}return Dy(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__||Bt("".concat(n.name," is not a Control"));var i=this._controls.findIndex(function(u){return u.controlType===n.controlType});return i>-1&&(hu("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===ot.LAYOUT}},{key:"isFormControl",value:function(n){return n.controlType===ot.FORM}},{key:"isListControl",value:function(n){return n.controlType===ot.LIST}},{key:"isColumnControl",value:function(n){return n.controlType===ot.COLUMN}},{key:"createControl",value:function(n,i){var u=this;if(Array.isArray(n))return n.map(function(o){return u.createControl(o,i)});n.children&&(n.children=n.children.map(function(o){return u.createControl(o,i)})),this.isListControl(n)&&n.props.headers&&(n.props.headers=n.props.headers.map(function(o){return u.createControl(o,i)}));var a=this.getControlFormType(n.type);if(a){var r=n;if(typeof i=="function"){var l=i(r);l&&(r=l)}var s=new a(r);return s}else Bt("The constructor of ".concat(n.type," could not be found, please confirm that the constructor has been registered"))}},{key:"createControlInstance",value:function(n,i){var u=this.getControlFormType(n);if(u)return new u(i)}},{key:"getControlFormType",value:function(n){return this._controls.find(function(i){return i.controlType===n})}},{key:"_initControls",value:function(n){var i=this;this.constructor.staticControls.forEach(function(u){i.register(u[n])})}}],[{key:"register",value:function(n){var i=n.Designer,u=n.Runtime;(!i||!u||!i.__is_control__||!u.__is_control__)&&Bt("".concat(n," is can't register as a Control"));var a=this.staticControls.findIndex(function(r){return r.Designer.controlType===i.controlType});return a>-1&&(hu("The ".concat(i.controlType," is repeat register, So it overwrites the one that was registered before.")),this.staticControls.splice(a,1)),this.staticRegisteredTypes.add(i.controlType),this.staticControls.push(n),this}}]),t}();$e(Eu,"staticControls",Lr),$e(Eu,"staticRegisteredTypes",new Set(Lr.map(function(t){return t.Designer.controlType}))),$e(Eu,"staticRegisteredConfigs",new Map);function k(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function A(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function h(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function fe(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_u(t,e)}function $r(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function xy(t,e){return e&&(Fy(e)==="object"||typeof e=="function")?e:k(t)}function _u(t,e){return _u=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_u(t,e)}var Fy=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Oy(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function he(t){var e=Oy();return function(){var i=Fn(t),u;if(e){var a=Fn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return xy(this,u)}}var ye=function t(e){A(this,t),h(this,"dataCode",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);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:""},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},Cu=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"width",void 0),h(k(u),"widthType",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:240;var r;return u.widthType=(r=i==null?void 0:i.widthType)!==null&&r!==void 0?r:"auto",u}return n}(Vr),ky=function t(e){A(this,t),h(this,"pc",void 0),h(this,"mobile",void 0),this.pc=new Cu(e==null?void 0:e.pc),this.mobile=e!=null&&e.mobile?new Cu(e==null?void 0:e.mobile):new Cu({width:130,minWidth:180})},My=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:[]},wu=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:""},Ny=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"primaryControlId",void 0);var a;return u.primaryControlId=(a=i==null?void 0:i.primaryControlId)!==null&&a!==void 0?a:"",u}return n}(wu),Hr=function t(e){A(this,t),h(this,"fieldCode",void 0);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},Iu=function t(e){A(this,t);var n;h(this,"appId",void 0),h(this,"formKey",void 0),h(this,"headers",void 0);var i;this.appId=(i=e==null?void 0:e.appId)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Hr(r)}))!==null&&a!==void 0?a:[]},Ly=function t(e){A(this,t),h(this,"fieldName",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:g.VARCHAR},$y=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"title",void 0),h(k(u),"svcCode",void 0),h(k(u),"isOpenFilter",void 0),h(k(u),"filters",void 0);var a;u.title=(a=i==null?void 0:i.title)!==null&&a!==void 0?a:"";var r;u.svcCode=(r=i==null?void 0:i.svcCode)!==null&&r!==void 0?r:"";var l;u.isOpenFilter=(l=i==null?void 0:i.isOpenFilter)!==null&&l!==void 0?l:!1;var s;return u.filters=(s=i==null?void 0:i.filters)!==null&&s!==void 0?s:[],u}return n}(wu),Vy=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 wu(e==null?void 0:e.formBind);var u;this.displayFields=(u=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(r){return new Ly(r)}))!==null&&u!==void 0?u:[];var a;this.sublists=(a=e==null||(i=e.sublists)===null||i===void 0?void 0:i.map(function(r){return new $y(r)}))!==null&&a!==void 0?a:[]},Hy=function t(e){A(this,t),h(this,"type",void 0),h(this,"value",void 0),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},Rt=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:[]},qr=function t(e){var n=this;A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","conditions"),h(this,"level",void 0),h(this,"value",void 0),h(this,"children",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)&&(e==null||e.children.map(function(l){if(l.children!==void 0){var s,o=new t(l);(s=n.children)===null||s===void 0||s.push(o)}else{var d,v=new Su(l);(d=n.children)===null||d===void 0||d.push(v)}}))},Su=function t(e){A(this,t),h(this,"id",void 0),h(this,"ruleId",void 0),h(this,"type","condition"),h(this,"symbol",void 0),h(this,"checked",void 0),h(this,"describe",void 0),h(this,"leftVariableBo",void 0),h(this,"rightVariableBo",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be();var i;this.ruleId=(i=e==null?void 0:e.ruleId)!==null&&i!==void 0?i:new Date().valueOf();var u;this.symbol=(u=e==null?void 0:e.symbol)!==null&&u!==void 0?u:"";var a;this.checked=(a=e==null?void 0:e.checked)!==null&&a!==void 0?a:!1;var r;this.describe=(r=e==null?void 0:e.describe)!==null&&r!==void 0?r:"",this.leftVariableBo=new Hy(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new Rt(e==null?void 0:e.rightVariableBo)},ae=function t(e){A(this,t),h(this,"controlId",void 0),h(this,"fieldCode",void 0),h(this,"fieldType",void 0),h(this,"propName",void 0);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var i;this.fieldCode=(i=e==null?void 0:e.fieldCode)!==null&&i!==void 0?i:"";var u;this.fieldType=(u=e==null?void 0:e.fieldType)!==null&&u!==void 0?u:"";var a;this.propName=(a=e==null?void 0:e.propName)!==null&&a!==void 0?a:""},Au=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},qy=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 Tu(t){var e,n,i;this.filters=(i=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(l){return l.children!==void 0?new qr(l):new Su(l)}))!==null&&i!==void 0?i:[];var u;if(this.viewFilters=(u=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(l){return l.children!==void 0?new qr(l):new Su(l)}))!==null&&u!==void 0?u:[],$r(this,Z)||$r(this,Ru)){var a,r;this.orders=(r=t==null||(a=t.orders)===null||a===void 0?void 0:a.map(function(l){return new qy(l)}))!==null&&r!==void 0?r:[]}}var Z=function t(e){var n=this;A(this,t),h(this,"dataCode",void 0),h(this,"valueFieldCode",void 0),h(this,"displayBoList",void 0),h(this,"keywordMapping",void 0),h(this,"svcCode",void 0),h(this,"appId",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"isOpenViewFilters",void 0),h(this,"orders",void 0),h(this,"showOrder",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)&&(e==null||e.displayBoList.map(function(d){var v;(v=n.displayBoList)===null||v===void 0||v.push(new Au(d))}));var l;this.keywordMapping=(l=e==null?void 0:e.keywordMapping)!==null&&l!==void 0?l:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var o;this.svcCode=(o=e==null?void 0:e.svcCode)!==null&&o!==void 0?o:"",Tu.call(this,e)},Bu=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,"icon",void 0),h(this,"needConfirm",void 0),h(this,"openType",void 0),h(this,"priorityProcess",void 0);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var i;this.color=(i=e==null?void 0:e.color)!==null&&i!==void 0?i:"primary";var u;this.command=(u=e==null?void 0:e.command)!==null&&u!==void 0?u:"view";var a;this.confirmMessage=(a=e==null?void 0:e.confirmMessage)!==null&&a!==void 0?a:void 0;var r;this.defaultState=(r=e==null?void 0:e.defaultState)!==null&&r!==void 0?r:"default";var l;this.formKey=(l=e==null?void 0:e.formKey)!==null&&l!==void 0?l:void 0;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var o;this.needConfirm=(o=e==null?void 0:e.needConfirm)!==null&&o!==void 0?o:!1;var d;this.openType=(d=e==null?void 0:e.openType)!==null&&d!==void 0?d:"modal";var v;this.priorityProcess=(v=e==null?void 0:e.priorityProcess)!==null&&v!==void 0?v:!0},jr=function t(e){A(this,t);var n;h(this,"name",void 0),h(this,"key",void 0),h(this,"value",void 0);var i;this.name=(i=e==null?void 0:e.name)!==null&&i!==void 0?i:"";var u;this.key=(u=e==null?void 0:e.key)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(r){return new Au(r)}))!==null&&a!==void 0?a:[]},On=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(k(u),"attributes",void 0);var r;return u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(l){return new jr(l)}))!==null&&r!==void 0?r:[],u}return n}(Z),jy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u,a;u=e.call(this,i),h(k(u),"attributes",void 0),h(k(u),"formCode",void 0);var r;u.attributes=(r=i==null||(a=i.attributes)===null||a===void 0?void 0:a.map(function(s){return new jr(s)}))!==null&&r!==void 0?r:[];var l;return u.formCode=(l=i==null?void 0:i.formCode)!==null&&l!==void 0?l:"",u}return n}(Z),Ur=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"rootNode",void 0),h(k(u),"filterCode",void 0),u.rootNode=new Rt(i==null?void 0:i.rootNode);var a;return u.filterCode=(a=i==null?void 0:i.filterCode)!==null&&a!==void 0?a:"",u}return n}(On),Wr=function t(e){A(this,t);var n;h(this,"dataCode",void 0),h(this,"appId",void 0),h(this,"fillList",void 0);var i;this.dataCode=(i=e==null?void 0:e.dataCode)!==null&&i!==void 0?i:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.fillList=(a=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(r){return new ae(r)}))!==null&&a!==void 0?a:[]},Ru=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this,i),h(k(u),"filters",void 0),h(k(u),"viewFilters",void 0),h(k(u),"orders",void 0),Tu.call(k(u),i),u}return n}(Wr),Kr=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;u=e.call(this,i),h(k(u),"mode",void 0),h(k(u),"multiple",void 0);var a;u.mode=(a=i==null?void 0:i.mode)!==null&&a!==void 0?a:"current";var r;return u.multiple=(r=i==null?void 0:i.multiple)!==null&&r!==void 0?r:!1,u}return n}(Wr),zr=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:""},Uy=function t(e){A(this,t),h(this,"id",void 0),h(this,"label",void 0),h(this,"value",void 0);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:be(8);var i;this.label=(i=e==null?void 0:e.label)!==null&&i!==void 0?i:"";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:this.label};function Ee(t){var e;return(e=t==null?void 0:t.map(function(n){return new Uy(n)}))!==null&&e!==void 0?e:[]}var Pu=function t(){A(this,t)},Wy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(k(u),"amount",void 0),h(k(u),"currency",void 0),u.amount=new ye(i==null?void 0:i.amount),u.currency=new ye(i==null?void 0:i.currency),u}return n}(Pu),Ky=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:kn.CNY},zy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(k(u),"min",void 0),h(k(u),"max",void 0),u.min=new ye(i==null?void 0:i.min),u.max=new ye(i==null?void 0:i.max),u}return n}(Pu),Gy=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:""},Xy=function t(e){A(this,t),h(this,"city",void 0),h(this,"cityDisplay",void 0),h(this,"district",void 0),h(this,"districtDisplay",void 0),h(this,"province",void 0),h(this,"provinceDisplay",void 0);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var i;this.cityDisplay=(i=e==null?void 0:e.cityDisplay)!==null&&i!==void 0?i:"";var u;this.district=(u=e==null?void 0:e.district)!==null&&u!==void 0?u:"";var a;this.districtDisplay=(a=e==null?void 0:e.districtDisplay)!==null&&a!==void 0?a:"";var r;this.province=(r=e==null?void 0:e.province)!==null&&r!==void 0?r:"";var l;this.provinceDisplay=(l=e==null?void 0:e.provinceDisplay)!==null&&l!==void 0?l:""},Qy=function(t){fe(n,t);var e=he(n);function n(i){A(this,n);var u;return u=e.call(this),h(k(u),"result",void 0),h(k(u),"unit",void 0),u.result=new ye(i==null?void 0:i.result),u.unit=new ye(i==null?void 0:i.unit),u}return n}(Pu),Jy=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:""},kn;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(kn||(kn={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var Du;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(Du||(Du={}));var Re=function t(e){A(this,t),h(this,"isShow",void 0),h(this,"priorityProcess",void 0),h(this,"formKey",void 0),h(this,"content",void 0),h(this,"openType",void 0),h(this,"type",void 0);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var i;this.content=(i=e==null?void 0:e.content)!==null&&i!==void 0?i:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.openType=(a=e==null?void 0:e.openType)!==null&&a!==void 0?a:"modal";var r;this.type=(r=e==null?void 0:e.type)!==null&&r!==void 0?r:"";var l;this.priorityProcess=(l=e==null?void 0:e.priorityProcess)!==null&&l!==void 0?l:!1},Zy=function t(e){A(this,t);var n;h(this,"id",void 0),h(this,"title",void 0),h(this,"filters",void 0),h(this,"viewFilters",void 0),h(this,"headers",void 0);var i;this.id=(i=e==null?void 0:e.id)!==null&&i!==void 0?i:be(8);var u;this.title=(u=e==null?void 0:e.title)!==null&&u!==void 0?u:"";var a;this.headers=(a=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(r){return new Hr(r)}))!==null&&a!==void 0?a:[],Tu.call(this,e)},Yy=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"};function py(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function xu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function em(){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 Mn(t,e,n){return em()?Mn=Reflect.construct:Mn=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Dt(o,r.prototype),o},Mn.apply(null,arguments)}function He(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Pt(t){return Pt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pt(t)}function tm(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&&Dt(t,e)}function nm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function im(t,e){return e&&(um(e)==="object"||typeof e=="function")?e:py(t)}function Dt(t,e){return Dt=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Dt(t,e)}var um=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Fu(t){var e=typeof Map=="function"?new Map:void 0;return Fu=function(i){if(i===null||!nm(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 Mn(i,arguments,Pt(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Dt(u,i)},Fu(t)}function am(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function rm(t){var e=am();return function(){var i=Pt(t),u;if(e){var a=Pt(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return im(this,u)}}var U=function t(e){xu(this,t),He(this,"isHide",{type:"boolean"})},qe=function(t){tm(n,t);var e=rm(n);function n(i){return xu(this,n),e.call(this)}return n}(Fu(Array)),G=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";xu(this,t),He(this,"isHide",void 0),He(this,"className",void 0),He(this,"style",void 0),He(this,"caption",void 0);var i;this.isHide=(i=e==null?void 0:e.isHide)!==null&&i!==void 0?i:!1,this.style=new Yy(e==null?void 0:e.style);var u;this.caption=(u=e==null?void 0:e.caption)!==null&&u!==void 0?u:n};He(G,"Rules",U),He(G,"RuntimeRules",qe);function ve(){return ve=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},ve.apply(this,arguments)}function lm(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function Ou(t){return Ou=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ou(t)}function Nn(t,e){return Nn=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Nn(t,e)}function om(){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 Ln(t,e,n){return om()?Ln=Reflect.construct:Ln=function(u,a,r){var l=[null];l.push.apply(l,a);var s=Function.bind.apply(u,l),o=new s;return r&&Nn(o,r.prototype),o},Ln.apply(null,arguments)}function cm(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function ku(t){var e=typeof Map=="function"?new Map:void 0;return ku=function(i){if(i===null||!cm(i))return i;if(typeof i!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(i))return e.get(i);e.set(i,u)}function u(){return Ln(i,arguments,Ou(this).constructor)}return u.prototype=Object.create(i.prototype,{constructor:{value:u,enumerable:!1,writable:!0,configurable:!0}}),Nn(u,i)},ku(t)}var sm=/%[sdj%]/g,Gr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(Gr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(i){return typeof i=="string"})&&console.warn(e,n)});function Mu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var i=n.field;e[i]=e[i]||[],e[i].push(n)}),e}function le(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var i=1,u=e[0],a=e.length;if(typeof u=="function")return u.apply(null,e.slice(1));if(typeof u=="string"){var r=String(u).replace(sm,function(l){if(l==="%%")return"%";if(i>=a)return l;switch(l){case"%s":return String(e[i++]);case"%d":return Number(e[i++]);case"%j":try{return JSON.stringify(e[i++])}catch(s){return"[Circular]"}break;default:return l}});return r}return u}function dm(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function W(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||dm(e)&&typeof t=="string"&&!t)}function fm(t,e,n){var i=[],u=0,a=t.length;function r(l){i.push.apply(i,l),u++,u===a&&n(i)}t.forEach(function(l){e(l,r)})}function Xr(t,e,n){var i=0,u=t.length;function a(r){if(r&&r.length){n(r);return}var l=i;i=i+1,l<u?e(t[l],a):n([])}a([])}function hm(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var Qr=function(t){lm(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}(ku(Error));function ym(t,e,n,i){if(e.first){var u=new Promise(function(v,b){var w=function(S){return i(S),S.length?b(new Qr(S,Mu(S))):v()},I=hm(t);Xr(I,n,w)});return u.catch(function(v){return v}),u}var a=e.firstFields||[];a===!0&&(a=Object.keys(t));var r=Object.keys(t),l=r.length,s=0,o=[],d=new Promise(function(v,b){var w=function(E){if(o.push.apply(o,E),s++,s===l)return i(o),o.length?b(new Qr(o,Mu(o))):v()};r.length||(i(o),v()),r.forEach(function(I){var E=t[I];a.indexOf(I)!==-1?Xr(E,n,w):fm(E,n,w)})});return d.catch(function(v){return v}),d}function Jr(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 Zr(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var i=e[n];typeof i=="object"&&typeof t[n]=="object"?t[n]=ve(ve({},t[n]),i):t[n]=i}}return t}function Yr(t,e,n,i,u,a){t.required&&(!n.hasOwnProperty(t.field)||W(e,a||t.type))&&i.push(le(u.messages.required,t.fullField))}function mm(t,e,n,i,u){(/^\s+$/.test(e)||e==="")&&i.push(le(u.messages.whitespace,t.fullField))}var Nu={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},xt={integer:function(e){return xt.number(e)&&parseInt(e,10)===e},float:function(e){return xt.number(e)&&!xt.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"&&!xt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(Nu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(Nu.url)},hex:function(e){return typeof e=="string"&&!!e.match(Nu.hex)}};function vm(t,e,n,i,u){if(t.required&&e===void 0){Yr(t,e,n,i,u);return}var a=["integer","float","array","regexp","object","method","email","number","date","url","hex"],r=t.type;a.indexOf(r)>-1?xt[r](e)||i.push(le(u.messages.types[r],t.fullField,t.type)):r&&typeof e!==t.type&&i.push(le(u.messages.types[r],t.fullField,t.type))}function gm(t,e,n,i,u){var a=typeof t.len=="number",r=typeof t.min=="number",l=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,o=e,d=null,v=typeof e=="number",b=typeof e=="string",w=Array.isArray(e);if(v?d="number":b?d="string":w&&(d="array"),!d)return!1;w&&(o=e.length),b&&(o=e.replace(s,"_").length),a?o!==t.len&&i.push(le(u.messages[d].len,t.fullField,t.len)):r&&!l&&o<t.min?i.push(le(u.messages[d].min,t.fullField,t.min)):l&&!r&&o>t.max?i.push(le(u.messages[d].max,t.fullField,t.max)):r&&l&&(o<t.min||o>t.max)&&i.push(le(u.messages[d].range,t.fullField,t.min,t.max))}var ct="enum";function bm(t,e,n,i,u){t[ct]=Array.isArray(t[ct])?t[ct]:[],t[ct].indexOf(e)===-1&&i.push(le(u.messages[ct],t.fullField,t[ct].join(", ")))}function Em(t,e,n,i,u){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var a=new RegExp(t.pattern);a.test(e)||i.push(le(u.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var T={required:Yr,whitespace:mm,type:vm,range:gm,enum:bm,pattern:Em};function _m(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u,"string"),W(e,"string")||(T.type(t,e,i,a,u),T.range(t,e,i,a,u),T.pattern(t,e,i,a,u),t.whitespace===!0&&T.whitespace(t,e,i,a,u))}n(a)}function Cm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function wm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e===""&&(e=void 0),W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Im(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}function Sm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),W(e)||T.type(t,e,i,a,u)}n(a)}function Am(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Tm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Bm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(e==null&&!t.required)return n();T.required(t,e,i,a,u,"array"),e!=null&&(T.type(t,e,i,a,u),T.range(t,e,i,a,u))}n(a)}function Rm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T.type(t,e,i,a,u)}n(a)}var Pm="enum";function Dm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u),e!==void 0&&T[Pm](t,e,i,a,u)}n(a)}function xm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"string")&&!t.required)return n();T.required(t,e,i,a,u),W(e,"string")||T.pattern(t,e,i,a,u)}n(a)}function Fm(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e,"date")&&!t.required)return n();if(T.required(t,e,i,a,u),!W(e,"date")){var l;e instanceof Date?l=e:l=new Date(e),T.type(t,l,i,a,u),l&&T.range(t,l.getTime(),i,a,u)}}n(a)}function Om(t,e,n,i,u){var a=[],r=Array.isArray(e)?"array":typeof e;T.required(t,e,i,a,u,r),n(a)}function Lu(t,e,n,i,u){var a=t.type,r=[],l=t.required||!t.required&&i.hasOwnProperty(t.field);if(l){if(W(e,a)&&!t.required)return n();T.required(t,e,i,r,u,a),W(e,a)||T.type(t,e,i,r,u)}n(r)}function km(t,e,n,i,u){var a=[],r=t.required||!t.required&&i.hasOwnProperty(t.field);if(r){if(W(e)&&!t.required)return n();T.required(t,e,i,a,u)}n(a)}var Ft={string:_m,method:Cm,number:wm,boolean:Im,regexp:Sm,integer:Am,float:Tm,array:Bm,object:Rm,enum:Dm,pattern:xm,date:Fm,url:Lu,hex:Lu,email:Lu,required:Om,any:km};function $u(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var Vu=$u();function Pe(t){this.rules=null,this._messages=Vu,this.define(t)}Pe.prototype={messages:function(e){return e&&(this._messages=Zr($u(),e)),this._messages},define:function(e){if(!e)throw new Error("Cannot configure a schema with no rules");if(typeof e!="object"||Array.isArray(e))throw new Error("Rules must be an object");this.rules={};var n,i;for(n in e)e.hasOwnProperty(n)&&(i=e[n],this.rules[n]=Array.isArray(i)?i:[i])},validate:function(e,n,i){var u=this;n===void 0&&(n={}),i===void 0&&(i=function(){});var a=e,r=n,l=i;if(typeof r=="function"&&(l=r,r={}),!this.rules||Object.keys(this.rules).length===0)return l&&l(),Promise.resolve();function s(E){var S,m=[],_={};function B(D){if(Array.isArray(D)){var F;m=(F=m).concat.apply(F,D)}else m.push(D)}for(S=0;S<E.length;S++)B(E[S]);m.length?_=Mu(m):(m=null,_=null),l(m,_)}if(r.messages){var o=this.messages();o===Vu&&(o=$u()),Zr(o,r.messages),r.messages=o}else r.messages=this.messages();var d,v,b={},w=r.keys||Object.keys(this.rules);w.forEach(function(E){d=u.rules[E],v=a[E],d.forEach(function(S){var m=S;typeof m.transform=="function"&&(a===e&&(a=ve({},a)),v=a[E]=m.transform(v)),typeof m=="function"?m={validator:m}:m=ve({},m),m.validator=u.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=u.getType(m),m.validator&&(b[E]=b[E]||[],b[E].push({rule:m,value:v,source:a,field:E}))})});var I={};return ym(b,r,function(E,S){var m=E.rule,_=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");_=_&&(m.required||!m.required&&E.value),m.field=E.field;function B(ce,O){return ve(ve({},O),{},{fullField:m.fullField+"."+ce})}function D(ce){ce===void 0&&(ce=[]);var O=ce;if(Array.isArray(O)||(O=[O]),!r.suppressWarning&&O.length&&Pe.warning("async-validator:",O),O.length&&m.message!==void 0&&(O=[].concat(m.message)),O=O.map(Jr(m)),r.first&&O.length)return I[m.field]=1,S(O);if(!_)S(O);else{if(m.required&&!E.value)return m.message!==void 0?O=[].concat(m.message).map(Jr(m)):r.error&&(O=[r.error(m,le(r.messages.required,m.field))]),S(O);var se={};if(m.defaultField)for(var Bn in E.value)E.value.hasOwnProperty(Bn)&&(se[Bn]=m.defaultField);se=ve(ve({},se),E.rule.fields);for(var Ie in se)if(se.hasOwnProperty(Ie)){var ru=Array.isArray(se[Ie])?se[Ie]:[se[Ie]];se[Ie]=ru.map(B.bind(null,Ie))}var Rn=new Pe(se);Rn.messages(r.messages),E.rule.options&&(E.rule.options.messages=r.messages,E.rule.options.error=r.error),Rn.validate(E.value,E.rule.options||r,function(wt){var Se=[];O&&O.length&&Se.push.apply(Se,O),wt&&wt.length&&Se.push.apply(Se,wt),S(Se.length?Se:null)})}}var F;m.asyncValidator?F=m.asyncValidator(m,E.value,D,E.source,r):m.validator&&(F=m.validator(m,E.value,D,E.source,r),F===!0?D():F===!1?D(m.message||m.field+" fails"):F instanceof Array?D(F):F instanceof Error&&D(F.message)),F&&F.then&&F.then(function(){return D()},function(ce){return D(ce)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Ft.hasOwnProperty(e.type))throw new Error(le("Unknown rule type %s",e.type));return e.type||"string"},getValidationMethod:function(e){if(typeof e.validator=="function")return e.validator;var n=Object.keys(e),i=n.indexOf("message");return i!==-1&&n.splice(i,1),n.length===1&&n[0]==="required"?Ft.required:Ft[this.getType(e)]||!1}},Pe.register=function(e,n){if(typeof n!="function")throw new Error("Cannot register a validator by type, validator is not a function");Ft[e]=n},Pe.warning=Gr,Pe.messages=Vu,Pe.validators=Ft;var Mm={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function Nm(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Pe(t);return n.messages(Object.assign(Mm,e)),n}var Lm=new Iy;function Hu(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 $m(t){if(Array.isArray(t))return t}function Vm(t){if(Array.isArray(t))return Hu(t)}function pr(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function el(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){pr(a,i,u,r,l,"next",s)}function l(s){pr(a,i,u,r,l,"throw",s)}r(void 0)})}}function Hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tl(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function qm(t,e,n){return e&&tl(t.prototype,e),n&&tl(t,n),t}function M(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function nl(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function il(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function jm(){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 Um(){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 ul(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){M(t,u,n[u])})}return t}function Wm(t){return $m(t)||il(t)||al(t)||jm()}function qu(t){return Vm(t)||il(t)||al(t)||Um()}function al(t,e){if(!!t){if(typeof t=="string")return Hu(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 Hu(t,e)}}var rl=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},N=function(){function e(n){var i=this;Hm(this,e),M(this,"id",void 0),M(this,"name",void 0),M(this,"icon",void 0),M(this,"type",void 0),M(this,"controlType",void 0),M(this,"props",void 0),M(this,"setting",[]),M(this,"fieldType",void 0),M(this,"eventKeys",[]),M(this,"customEvents",[]),M(this,"parent",null),M(this,"updateSetting",ol),M(this,"removeSetting",ll),this._callControlHooks("preInstance",n);var u=nl(this,e)?this.constructor:void 0,a=u.controlName,r=u.controlIcon,l=u.controlType,s=u.controlFieldType,o=u.controlEventKeys,d=u.controlCustomEvents,v=u.name,b=u.setting;a&&r&&l||Rr("The ".concat(v," controlName,controlIcon,controlType is not define"));var w;this.id=(w=n==null?void 0:n.id)!==null&&w!==void 0?w:be(10),this.name=a,this.icon=r;var I;this.type=(I=n==null?void 0:n.type)!==null&&I!==void 0?I:l,this.props=new G(n==null?void 0:n.props,(nl(this,e)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=Be(b);var S;this.fieldType=(S=n==null?void 0:n.fieldType)!==null&&S!==void 0?S:s,this.eventKeys=Be(o),this.customEvents=Be(d),Promise.resolve().then(function(){i._callControlHooks("postInstance",n)})}return qm(e,[{key:"rules",get:function(){var i=this.props.constructor.Rules;return i?new i(this.props):{}}},{key:"_callControlHooks",value:function(){for(var i=arguments.length,u=new Array(i),a=0;a<i;a++)u[a]=arguments[a];var r,l=Wm(u),s=l[0],o=l.slice(1);return(r=Lm).emit.apply(r,[s,this].concat(qu(o)))}},{key:"preUpdate",value:function(i,u){this._callControlHooks("preUpdateProps",i,u)}},{key:"postUpdate",value:function(i,u){this._callControlHooks("postUpdateProps",i,u)}},{key:"updateProps",value:function(i,u){this.preUpdate(i,u),cy(this.props,i,u),this.postUpdate(i,u)}},{key:"preValidate",value:function(){var i=this;return el(function(){var u,a,r;return rl(this,function(l){switch(l.label){case 0:return u=ul({},i.rules),[4,i._callControlHooks("preValidate",u)];case 1:return a=l.sent(),r=a[a.length-1],[2,r===!1?void 0:r]}})})()}},{key:"validate",value:function(i,u){var a=this;return el(function(){var r,l,s,o;return rl(this,function(d){switch(d.label){case 0:return[4,a.preValidate()];case 1:r=d.sent(),l=r!==void 0?r:ul({},a.rules),Array.isArray(u)&&u.forEach(function(v){l.hasOwnProperty(v)&&delete l[v]}),s=Nm(l,i),d.label=2;case 2:return d.trys.push([2,4,,5]),[4,s.validate(a.props)];case 3:return d.sent(),[2,!0];case 4:throw o=d.sent(),o.control||(o.control=a),o;case 5:return[2]}})})()}},{key:"toDataBindModel",value:function(){var i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,u=this.fieldType,a=this.id,r=this.type,l=this.props,s=l.dataBind,o=l.datasourceBind,d=l.optionConfig,v=l.caption,b=l.required,w=l.maxLength,I=l.options,E=l.encrypted,S=l.encryptedMode;if(!(!u&&!s&&!o)){var m={parentId:i,fieldType:u,controlId:a,caption:v,type:r,props:{}};switch(s&&(m.dataBind=s),d){case"datasource":case void 0:o&&(m.datasourceBind=o);break;case"custom":m.props.options=I;break}return b!==void 0&&(m.required=b),w!==void 0&&(m.maxLength=w),E!==void 0&&(m.encrypted=E),S!==void 0&&(m.encryptedMode=S),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Be(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,qu(u.add))}u.remove&&this.removeSettingItem(u.remove),u.update}}}]),e}();M(N,"controlName","\u63A7\u4EF6"),M(N,"controlIcon","icon"),M(N,"controlType","control"),M(N,"controlFieldType",void 0),M(N,"controlEventKeys",[]),M(N,"controlCustomEvents",[]),M(N,"setting",[]),M(N,"__is_control__",!0),M(N,"removeSettingItem",ll),M(N,"updateSettingItem",ol);function ll(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(i){var u=typeof i!="string",a=e.setting.findIndex(function(s){return s.key===(u?i.key:i)});if(a!==-1){var r,l;u?e.setting[a].showItems=(r=e.setting[a].showItems)===null||r===void 0?void 0:r.filter(function(s){return!i.hideItems.includes(s)}):e.setting.splice(a,1),u&&!(!((l=e.setting[a].showItems)===null||l===void 0)&&l.length)&&e.setting.splice(a,1)}})}function ol(t,e){var n=this,i=typeof t=="string"?[t]:t;i.forEach(function(u){var a=n.setting.find(function(o){return o.key===u});if(a){if(typeof e=="boolean")a.visible=e;else if(typeof e=="object"){var r,l=(r=e.type)!==null&&r!==void 0?r:"replace";if(l==="replace")a.showItems=e.showItems;else{var s;(s=a.showItems).push.apply(s,qu(e.showItems))}}}})}function Km(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function cl(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 zm(t,e,n){return e&&cl(t.prototype,e),n&&cl(t,n),t}function de(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Gm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}var X=function(){function e(n){Km(this,e),de(this,"id",void 0),de(this,"type",void 0),de(this,"controlType",void 0),de(this,"props",void 0),de(this,"fieldType",void 0),de(this,"customEvents",[]),de(this,"pageStatus",void 0),de(this,"parent",null);var i=Gm(this,e)?this.constructor:void 0,u=i.controlType,a=i.controlFieldType,r=i.name,l=i.controlCustomEvents;u||Rr("The ".concat(r," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:be(10);var o;this.type=(o=n==null?void 0:n.type)!==null&&o!==void 0?o:u,this.props=new G(n==null?void 0:n.props),this.customEvents=l;var d;this.controlType=(d=n==null?void 0:n.controlType)!==null&&d!==void 0?d:"base";var v;this.fieldType=(v=n==null?void 0:n.fieldType)!==null&&v!==void 0?v:a;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:Du.UNKNOWN}return zm(e,[{key:"rules",get:function(){var i=this.props.constructor.RuntimeRules;if(i){var u=new i(this.props);return Array.from(u)}return[]}}]),e}();de(X,"controlType","control"),de(X,"controlFieldType",void 0),de(X,"__is_control__",!0),de(X,"controlCustomEvents",[]);function ju(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("optionIsRequired")),u()}},{type:"array",validator:function(n,i,u){var a=i.map(function(l){return l.value}),r=yy(a);a.length!==r.length?u(f.getMessage("optionIdIsRepeat")):u()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,i,u){i.length===0&&u(f.getMessage("pleaseBindAtLeastOneDisplayValue")),u()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function $n(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(u,a,r){a.length===0&&r(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),r()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function L(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Vn(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function qn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function Xm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Qm(t,e){return e&&(Jm(e)==="object"||typeof e=="function")?e:L(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Uu(t,e)}var Jm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function jn(t){var e=Zm();return function(){var i=Hn(t),u;if(e){var a=Hn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Qm(this,u)}}var Y=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;u=e.call(this,i),$(L(u),"dataBind",{}),$(L(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),$(L(u),"isHideCaption",{type:"boolean"}),$(L(u),"labelPosition",{type:"enum",enum:["top","left"]}),$(L(u),"defaultState",{type:"enum",enum:["default","readonly"]}),$(L(u),"required",{type:"boolean"}),$(L(u),"captionTip",{type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")});var a={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(Xm(i.dataBind,ye))u.dataBind={type:"object",required:!0,fields:Be(a),message:f.getMessage("pleaseEnterFieldCode")};else{var r={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(i.dataBind).forEach(function(l){r.fields[l]={type:"object",required:!0,fields:Be(a),message:f.getMessage("pleaseEnterFieldCode")}}),u.dataBind=r}return i.isShowCaptionTip&&(u.captionTip.required=!0),u}return n}(U),V=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;return u=e.call(this,i),u.push({type:"string",required:i.isHide?!1:i.required,message:i.requiredMessage!==""?i.requiredMessage:f.getMessage("runtimeRequired",{caption:i.caption})}),u}return n}(qe),R=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;u=e.call(this,i),$(L(u),"caption",void 0),$(L(u),"isHideCaption",void 0),$(L(u),"isShowCaptionTip",void 0),$(L(u),"captionTip",void 0),$(L(u),"labelPosition",void 0),$(L(u),"dataBind",void 0),$(L(u),"defaultValue",void 0),$(L(u),"placeholder",void 0),$(L(u),"defaultState",void 0),$(L(u),"required",void 0),$(L(u),"requiredMessage",void 0);var a;u.caption=(a=i==null?void 0:i.caption)!==null&&a!==void 0?a:"";var r;u.isHideCaption=(r=i==null?void 0:i.isHideCaption)!==null&&r!==void 0?r:!1;var l;u.isShowCaptionTip=(l=i==null?void 0:i.isShowCaptionTip)!==null&&l!==void 0?l:!1;var s;u.captionTip=(s=i==null?void 0:i.captionTip)!==null&&s!==void 0?s:"";var o;u.defaultState=(o=i==null?void 0:i.defaultState)!==null&&o!==void 0?o:"default";var d;u.labelPosition=(d=i==null?void 0:i.labelPosition)!==null&&d!==void 0?d:"top";var v;u.placeholder=(v=i==null?void 0:i.placeholder)!==null&&v!==void 0?v:"";var b;u.required=(b=i==null?void 0:i.required)!==null&&b!==void 0?b:!1;var w;u.requiredMessage=(w=i==null?void 0:i.requiredMessage)!==null&&w!==void 0?w:"",u.dataBind=new ye(i==null?void 0:i.dataBind);var I;return u.defaultValue=(I=i==null?void 0:i.defaultValue)!==null&&I!==void 0?I:"",u}return n}(G);$(R,"Rules",Y),$(R,"RuntimeRules",V);var st=function(t){qn(n,t);var e=jn(n);function n(i){Vn(this,n);var u;return u=e.call(this,i),$(L(u),"optionConfig",{type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),$(L(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),$(L(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(L(u),i),u}return n}(Y);function Wu(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ym(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Un(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Wn(t){return Wn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Wn(t)}function pm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ku(t,e)}function ev(t,e){return e&&(tv(e)==="object"||typeof e=="function")?e:Wu(t)}function Ku(t,e){return Ku=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Ku(t,e)}var tv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function nv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function iv(t){var e=nv();return function(){var i=Wn(t),u;if(e){var a=Wn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return ev(this,u)}}var P=function(t){pm(n,t);var e=iv(n);function n(i){Ym(this,n);var u;return u=e.call(this,i),Un(Wu(u),"controlType","form"),Un(Wu(u),"props",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(N);Un(P,"controlEventKeys",["on_change","on_focus","on_blur"]),Un(P,"controlCustomAttributes",void 0);function Kn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function uv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function zu(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 av(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Gu(t,e)}function rv(t,e){return e&&(lv(e)==="object"||typeof e=="function")?e:Kn(t)}function Gu(t,e){return Gu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Gu(t,e)}var lv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ov(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function cv(t){var e=ov();return function(){var i=zn(t),u;if(e){var a=zn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return rv(this,u)}}var x=function(t){av(n,t);var e=cv(n);function n(i){uv(this,n);var u;return u=e.call(this,i),zu(Kn(u),"controlType","form"),zu(Kn(u),"props",void 0),zu(Kn(u),"value",void 0),u.props=new R(i==null?void 0:i.props),u}return n}(X);function sv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function dv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Gn(t){return Gn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Gn(t)}function fv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Xu(t,e)}function hv(t,e){return e&&(yv(e)==="object"||typeof e=="function")?e:sv(t)}function Xu(t,e){return Xu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Xu(t,e)}var yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function mv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function vv(t){var e=mv();return function(){var i=Gn(t),u;if(e){var a=Gn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return hv(this,u)}}var q=function(t){fv(n,t);var e=vv(n);function n(i){return dv(this,n),e.call(this,i)}return n}(G);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 gv(t){if(Array.isArray(t))return Qu(t)}function bv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ev(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function sl(t){return gv(t)||bv(t)||_v(t)||Ev()}function _v(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 Cv(t,e){var n;!((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0)&&n.enumerable&&Object.defineProperty(t,e,{enumerable:!1})}function dl(t,e){t.parent=e,Cv(t,"parent")}function wv(t,e){t.forEach(function(n){dl(n,e)})}var fl=Symbol("targetKey");function hl(t){var e;return(e=t[fl])!==null&&e!==void 0?e:t}function yl(t,e){return wv(t,e),new Proxy(t,{get:function(i,u){for(var a=arguments.length,r=new Array(a>2?a-2:0),l=2;l<a;l++)r[l-2]=arguments[l];var s;return u===fl?i:(s=Reflect).get.apply(s,[i,u].concat(sl(r)))},set:function(i,u,a){for(var r=arguments.length,l=new Array(r>3?r-3:0),s=3;s<r;s++)l[s-3]=arguments[s];var o;if(vu(t)&&u==="length"&&a===t.length)return!0;var d=(o=Reflect).set.apply(o,[i,u,a].concat(sl(l)));return hy(a)&&dl(a,e),d}})}function _e(t,e,n,i){var u=i!=null?i:t,a=yl(hl(n!=null?n:[]),u);Object.defineProperty(t,e,{get:function(){return a},set:function(l){a=yl(hl(l),u)},enumerable:!0})}function Ju(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function Iv(t){if(Array.isArray(t))return Ju(t)}function je(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ml(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function Sv(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){ml(a,i,u,r,l,"next",s)}function l(s){ml(a,i,u,r,l,"throw",s)}r(void 0)})}}function Av(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function vl(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 Tv(t,e,n){return e&&vl(t.prototype,e),n&&vl(t,n),t}function De(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function dt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?dt=Reflect.get:dt=function(u,a,r){var l=Mv(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},dt(t,e,n||t)}function xe(t){return xe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},xe(t)}function Bv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Zu(t,e)}function Rv(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?!!e[Symbol.hasInstance](t):t instanceof e}function Pv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Dv(){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 xv(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){De(t,u,n[u])})}return t}function Fv(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 Ov(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):Fv(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function kv(t,e){return e&&(Nv(e)==="object"||typeof e=="function")?e:je(t)}function Zu(t,e){return Zu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},Zu(t,e)}function Mv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=xe(t),t!==null););return t}function gl(t){return Iv(t)||Pv(t)||Lv(t)||Dv()}var Nv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Lv(t,e){if(!!t){if(typeof t=="string")return Ju(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ju(t,e)}}function $v(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Vv(t){var e=$v();return function(){var i=xe(t),u;if(e){var a=xe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return kv(this,u)}}var Hv=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},qv=1e4,K=function(e){Bv(i,e);var n=Vv(i);function i(u){Av(this,i);var a;a=n.call(this,u),De(je(a),"controlType","layout"),De(je(a),"children",void 0),De(je(a),"excludes",void 0),De(je(a),"childrenMaxLength",void 0),De(je(a),"props",void 0);var r=Rv(this,i)?this.constructor:void 0,l=r.excludes,s=r.childrenMaxLength;return a.props=new q(u==null?void 0:u.props),_e(je(a),"children",u==null?void 0:u.children),a.excludes=Be(l),a.childrenMaxLength=s,a}return Tv(i,[{key:"judgeExcludesChildren",value:function(a){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(a)}},{key:"judgeJoinChildren",value:function(a){var r=this.judgeExcludesChildren(a);return r&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(a,r){var l=this,s=this,o=function(){return dt(xe(i.prototype),"validate",l)};return Sv(function(){return Hv(this,function(d){switch(d.label){case 0:return[4,o().call(s,a,r)];case 1:return d.sent(),[4,Promise.all(s.children.map(function(v){return v.validate(a,r)}))];case 2:return d.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,r=dt(xe(i.prototype),"toDataBindModel",this).call(this),l=r?[r]:[];return this.children.reduce(function(s,o){var d=o.toDataBindModel(a);if(Array.isArray(d)){var v=d.filter(function(b){return!!b});return gl(s).concat(gl(v))}return d&&s.push(d),s},l)}},{key:"toSchema",value:function(){var a=dt(xe(i.prototype),"toSchema",this).call(this),r=this.children.map(function(l){var s=l.toSchema();return s});return Ov(xv({},a),{children:r})}}]),i}(N);De(K,"excludes",!1),De(K,"childrenMaxLength",qv);function Ot(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function jv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Yu(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Xn(t){return Xn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Xn(t)}function Uv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&pu(t,e)}function Wv(t,e){return e&&(Kv(e)==="object"||typeof e=="function")?e:Ot(t)}function pu(t,e){return pu=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},pu(t,e)}var Kv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function zv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Gv(t){var e=zv();return function(){var i=Xn(t),u;if(e){var a=Xn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Wv(this,u)}}var Q=function(t){Uv(n,t);var e=Gv(n);function n(i){jv(this,n);var u;return u=e.call(this,i),Yu(Ot(u),"controlType","layout"),Yu(Ot(u),"children",void 0),Yu(Ot(u),"props",void 0),u.props=new q(i==null?void 0:i.props),_e(Ot(u),"children",i==null?void 0:i.children),u}return n}(X);function ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Xv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Qv(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 Jv(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 Zv(t,e){return e&&(Yv(e)==="object"||typeof e=="function")?e:ea(t)}function ta(t,e){return ta=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ta(t,e)}var Yv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function pv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function eg(t){var e=pv();return function(){var i=Qn(t),u;if(e){var a=Qn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Zv(this,u)}}var Jn=function(t){Jv(n,t);var e=eg(n);function n(i,u){Xv(this,n);var a;return a=e.call(this,u),Qv(ea(a),"headers",void 0),_e(ea(a),"headers",u==null?void 0:u.headers,i),a}return n}(G);function na(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}function tg(t){if(Array.isArray(t))return na(t)}function Zn(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bl(t,e,n,i,u,a,r){try{var l=t[a](r),s=l.value}catch(o){n(o);return}l.done?e(s):Promise.resolve(s).then(i,u)}function ng(t){return function(){var e=this,n=arguments;return new Promise(function(i,u){var a=t.apply(e,n);function r(s){bl(a,i,u,r,l,"next",s)}function l(s){bl(a,i,u,r,l,"throw",s)}r(void 0)})}}function ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function El(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function ug(t,e,n){return e&&El(t.prototype,e),n&&El(t,n),t}function Yn(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ft(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?ft=Reflect.get:ft=function(u,a,r){var l=sg(u,a);if(!!l){var s=Object.getOwnPropertyDescriptor(l,a);return s.get?s.get.call(r):s.value}},ft(t,e,n||t)}function Fe(t){return Fe=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fe(t)}function ag(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 rg(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function lg(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function _l(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},i=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(i=i.concat(Object.getOwnPropertySymbols(n).filter(function(u){return Object.getOwnPropertyDescriptor(n,u).enumerable}))),i.forEach(function(u){Yn(t,u,n[u])})}return t}function og(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 Cl(t,e){return e=e!=null?e:{},Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(e)):og(Object(e)).forEach(function(n){Object.defineProperty(t,n,Object.getOwnPropertyDescriptor(e,n))}),t}function cg(t,e){return e&&(dg(e)==="object"||typeof e=="function")?e:Zn(t)}function ia(t,e){return ia=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ia(t,e)}function sg(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Fe(t),t!==null););return t}function wl(t){return tg(t)||rg(t)||fg(t)||lg()}var dg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function fg(t,e){if(!!t){if(typeof t=="string")return na(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return na(t,e)}}function hg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function yg(t){var e=hg();return function(){var i=Fe(t),u;if(e){var a=Fe(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return cg(this,u)}}var mg=function(t,e){var n,i,u,a,r={label:0,sent:function(){if(u[0]&1)throw u[1];return u[1]},trys:[],ops:[]};return a={next:l(0),throw:l(1),return:l(2)},typeof Symbol=="function"&&(a[Symbol.iterator]=function(){return this}),a;function l(o){return function(d){return s([o,d])}}function s(o){if(n)throw new TypeError("Generator is already executing.");for(;r;)try{if(n=1,i&&(u=o[0]&2?i.return:o[0]?i.throw||((u=i.return)&&u.call(i),0):i.next)&&!(u=u.call(i,o[1])).done)return u;switch(i=0,u&&(o=[o[0]&2,u.value]),o[0]){case 0:case 1:u=o;break;case 4:return r.label++,{value:o[1],done:!1};case 5:r.label++,i=o[1],o=[0];continue;case 7:o=r.ops.pop(),r.trys.pop();continue;default:if(u=r.trys,!(u=u.length>0&&u[u.length-1])&&(o[0]===6||o[0]===2)){r=0;continue}if(o[0]===3&&(!u||o[1]>u[0]&&o[1]<u[3])){r.label=o[1];break}if(o[0]===6&&r.label<u[1]){r.label=u[1],u=o;break}if(u&&r.label<u[2]){r.label=u[2],r.ops.push(o);break}u[2]&&r.ops.pop(),r.trys.pop();continue}o=e.call(t,r)}catch(d){o=[6,d],i=0}finally{n=u=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}},ua=function(t){ag(n,t);var e=yg(n);function n(i){ig(this,n);var u;return u=e.call(this,i),Yn(Zn(u),"controlType","list"),Yn(Zn(u),"props",void 0),u.props=new Jn(Zn(u),i==null?void 0:i.props),u}return ug(n,[{key:"validate",value:function(u,a){var r=this,l=this,s=function(){return ft(Fe(n.prototype),"validate",r)};return ng(function(){return mg(this,function(o){switch(o.label){case 0:return[4,s().call(l,u)];case 1:return o.sent(),[4,Promise.all(l.props.headers.map(function(d){return d.validate(u,a)}))];case 2:return o.sent(),[2,!0]}})})()}},{key:"toDataBindModel",value:function(){var u=ft(Fe(n.prototype),"toDataBindModel",this).call(this),a=u?[u]:[],r=this.id;return this.props.headers.reduce(function(l,s){var o=s.toDataBindModel(r);if(Array.isArray(o)){var d=o.filter(function(v){return!!v});return wl(l).concat(wl(d))}return o&&l.push(o),l},a)}},{key:"toSchema",value:function(){var u=ft(Fe(n.prototype),"toSchema",this).call(this),a=this.props.headers.map(function(r){return r.toSchema()});return Cl(_l({},u),{props:Cl(_l({},this.props),{headers:a})})}}]),n}(N);Yn(ua,"controlFieldType",g.LIST);function ht(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Il(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function gg(t,e,n){return e&&Il(t.prototype,e),n&&Il(t,n),t}function aa(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function pn(t){return pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},pn(t)}function bg(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 Eg(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:ht(t)}function ra(t,e){return ra=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ra(t,e)}var _g=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function wg(t){var e=Cg();return function(){var i=pn(t),u;if(e){var a=pn(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Eg(this,u)}}var Sl=function(t){bg(n,t);var e=wg(n);function n(i){vg(this,n);var u;return u=e.call(this,i),aa(ht(u),"controlType","list"),aa(ht(u),"children",void 0),aa(ht(u),"props",void 0),u.props=new Jn(ht(u),i==null?void 0:i.props),_e(ht(u),"children",i==null?void 0:i.children),u}return gg(n,[{key:"length",get:function(){return this.children.length}}]),n}(X);function J(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function la(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}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 ei(t){return ei=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ei(t)}function oa(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 Ig(t,e){return e&&(Sg(e)==="object"||typeof e=="function")?e:J(t)}function ca(t,e){return ca=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ca(t,e)}var Sg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ag(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function sa(t){var e=Ag();return function(){var i=ei(t),u;if(e){var a=ei(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Ig(this,u)}}var Ce=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;return u=e.call(this,i),p(J(u),"caption",{type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}),p(J(u),"width",{type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")}),u.width.required=i.widthType==="px",u}return n}(U),z=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;u=e.call(this,i),p(J(u),"widthType",void 0),p(J(u),"width",void 0),p(J(u),"caption",void 0),p(J(u),"dataBind",void 0),p(J(u),"autoWidth",void 0),p(J(u),"fixed",void 0),p(J(u),"sort",void 0),p(J(u),"align",void 0),p(J(u),"colSpan",void 0),p(J(u),"autoHeight",void 0);var a;u.width=(a=i==null?void 0:i.width)!==null&&a!==void 0?a:150,u.widthType=(i==null?void 0:i.widthType)||"auto";var r;u.caption=(r=i==null?void 0:i.caption)!==null&&r!==void 0?r:"";var l;u.fixed=(l=i==null?void 0:i.fixed)!==null&&l!==void 0?l:"none",u.autoWidth=new Vr(i==null?void 0:i.autoWidth),u.dataBind=new ye(i==null?void 0:i.dataBind);var s;u.sort=(s=i==null?void 0:i.sort)!==null&&s!==void 0?s:!0,u.align=i==null?void 0:i.align,u.colSpan=i==null?void 0:i.colSpan;var o;return u.autoHeight=(o=i==null?void 0:i.autoHeight)!==null&&o!==void 0?o:!1,u}return n}(G);p(z,"Rules",Ce);var Al=function(t){oa(n,t);var e=sa(n);function n(i){la(this,n);var u;return u=e.call(this,i),p(J(u),"optionConfig",{type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")}),p(J(u),"options",[{type:"array",message:f.getMessage("isNotArray")}]),p(J(u),"datasourceBind",[{type:"object",message:f.getMessage("isNotObject")}]),ju.call(J(u),i),u}return n}(Ce);function da(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tl(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 Bg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&fa(t,e)}function Rg(t,e){return e&&(Pg(e)==="object"||typeof e=="function")?e:da(t)}function fa(t,e){return fa=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},fa(t,e)}var Pg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function xg(t){var e=Dg();return function(){var i=ti(t),u;if(e){var a=ti(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Rg(this,u)}}var ee=function(t){Bg(n,t);var e=xg(n);function n(i){Tg(this,n);var u;return u=e.call(this,i),Tl(da(u),"controlType","column"),Tl(da(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(N);function ha(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Fg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Bl(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ni(t){return ni=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ni(t)}function Og(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 kg(t,e){return e&&(Mg(e)==="object"||typeof e=="function")?e:ha(t)}function ya(t,e){return ya=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ya(t,e)}var Mg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ng(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Lg(t){var e=Ng();return function(){var i=ni(t),u;if(e){var a=ni(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return kg(this,u)}}var te=function(t){Og(n,t);var e=Lg(n);function n(i){Fg(this,n);var u;return u=e.call(this,i),Bl(ha(u),"controlType","column"),Bl(ha(u),"props",void 0),u.props=new z(i==null?void 0:i.props),u}return n}(X);function Rl(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $g(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vg(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function ii(t){return ii=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ii(t)}function Hg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&ma(t,e)}function qg(t,e){return e&&(jg(e)==="object"||typeof e=="function")?e:Rl(t)}function ma(t,e){return ma=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ma(t,e)}var jg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Ug(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Wg(t){var e=Ug();return function(){var i=ii(t),u;if(e){var a=ii(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return qg(this,u)}}var va=function(t){Hg(n,t);var e=Wg(n);function n(i){$g(this,n);var u;return u=e.call(this,i),Vg(Rl(u),"dataBind",void 0),u.dataBind=new ye(i==null?void 0:i.dataBind),u}return n}(q);function ga(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Kg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pl(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 zg(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 Gg(t,e){return e&&(Xg(e)==="object"||typeof e=="function")?e:ga(t)}function ba(t,e){return ba=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},ba(t,e)}var Xg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Qg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Jg(t){var e=Qg();return function(){var i=ui(t),u;if(e){var a=ui(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return Gg(this,u)}}var Zg=function(t){zg(n,t);var e=Jg(n);function n(i){Kg(this,n);var u;return u=e.call(this,i),Pl(ga(u),"controlType","search"),Pl(ga(u),"props",void 0),u.props=new va(i==null?void 0:i.props),u}return n}(K);function Ea(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Yg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dl(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 pg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&_a(t,e)}function e0(t,e){return e&&(t0(e)==="object"||typeof e=="function")?e:Ea(t)}function _a(t,e){return _a=Object.setPrototypeOf||function(i,u){return i.__proto__=u,i},_a(t,e)}var t0=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function n0(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function i0(t){var e=n0();return function(){var i=ai(t),u;if(e){var a=ai(this).constructor;u=Reflect.construct(i,arguments,a)}else u=i.apply(this,arguments);return e0(this,u)}}var u0=function(t){pg(n,t);var e=i0(n);function n(i){Yg(this,n);var u;return u=e.call(this,i),Dl(Ea(u),"controlType","search"),Dl(Ea(u),"props",void 0),u.props=new va(i==null?void 0:i.props),u}return n}(Q);function Ue(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Ca extends G{constructor(e){var n,i,u,a,r;super(e),this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(i=e==null?void 0:e.color)!=null?i:"#646A73",this.icon=(u=e==null?void 0:e.icon)!=null?u:"page-hint",this.showState=(a=e==null?void 0:e.showState)!=null?a:"text",this.content=(r=e==null?void 0:e.content)!=null?r:"\u8BF4\u660E\u6587\u5B57"}}class xl extends N{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}}xl.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class a0 extends X{constructor(e){super(e),this.props=new Ca(e==null?void 0:e.props)}static get controlType(){return"text"}}var Fl={Designer:xl,Runtime:a0,Property:Ca};class wa extends G{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(i=e==null?void 0:e.url)!=null?i:"",this.openMode=(u=e==null?void 0:e.openMode)!=null?u:"new"}}class Ia extends N{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}}Ia.controlEventKeys=["on_click"],Ia.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 r0 extends X{constructor(e){super(e),this.props=new wa(e==null?void 0:e.props)}static get controlType(){return"link"}}var Ol={Designer:Ia,Runtime:r0,Property:wa};class ie extends G{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(i=e==null?void 0:e.buttonType)!=null?i:"primary",this.showType=(u=e==null?void 0:e.showType)!=null?u:"text",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=(r=e==null?void 0:e.icon)!=null?r:"iconfenlei2",this.defaultState=(l=e==null?void 0:e.defaultState)!=null?l:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1}}class ue extends N{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}}ue.controlEventKeys=["on_click"],ue.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class oe extends X{constructor(e){super(e),this.props=new ie(e==null?void 0:e.props)}static get controlType(){return"button"}}var kl={Designer:ue,Runtime:oe,Property:ie},Oe=(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))(Oe||{}),Ml=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(Ml||{}),Nl=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(Nl||{});class ri{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:be(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Sa=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Sa||{});class li{constructor(e){var n,i;this.id=(n=e==null?void 0:e.id)!=null?n:be(),this.text=(i=e==null?void 0:e.text)!=null?i:""}}var Aa=(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))(Aa||{});class Ta{constructor(e){var n,i,u,a,r,l,s,o;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new Rt((i=e==null?void 0:e.person)!=null?i:{type:"form"}),this.signatureType=(u=e==null?void 0:e.signatureType)!=null?u:[],this.telephone=(r=e==null?void 0:e.telephone)!=null?r:new Rt((a=e==null?void 0:e.telephone)!=null?a:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new Rt((l=e==null?void 0:e.company)!=null?l:{type:"form"}),this.remark=(o=e==null?void 0:e.remark)!=null?o:""}}class Ll{constructor(e){var n,i,u,a,r,l;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(u=(i=e==null?void 0:e.undersignedList)==null?void 0:i.map(s=>new Ta(s)))!=null?u:[new Ta],this.statusControl=(a=e==null?void 0:e.statusControl)!=null?a:"",this.completeControl=(r=e==null?void 0:e.completeControl)!=null?r:"",this.completeTimeControl=(l=e==null?void 0:e.completeTimeControl)!=null?l:""}}class Ba{constructor(e){var n,i,u,a,r,l,s;this.id=(n=e==null?void 0:e.id)!=null?n:be(8),this.appId=(i=e==null?void 0:e.appId)!=null?i:"",this.dataCode=(u=e==null?void 0:e.dataCode)!=null?u:"",this.svcCode=(a=e==null?void 0:e.svcCode)!=null?a:"",this.name=(r=e==null?void 0:e.name)!=null?r:"",this.fieldList=(l=e==null?void 0:e.fieldList)!=null?l:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Ra{constructor(e){var n,i;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(i=e==null?void 0:e.text)!=null?i:""}}class $l{constructor(e){var n,i,u,a;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(i=e==null?void 0:e.history)!=null?i:!1,this.collaborativeRecord=(u=e==null?void 0:e.collaborativeRecord)!=null?u:!1,this.logicToDelete=(a=e==null?void 0:e.logicToDelete)!=null?a:!0,this.watermark=new Ra(e==null?void 0:e.watermark),this.autoRename=new Ra(e==null?void 0:e.autoRename)}}const Vl=480;function kt(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class Hl{constructor(e){var n,i,u,a,r;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(i=e==null?void 0:e.fileName)!=null?i:"",this.ruleName=(u=e==null?void 0:e.ruleName)!=null?u:"",this.isDefault=(a=e.isDefault)!=null?a:!1,this.rules=(r=e.rules)!=null?r:[]}}class ql{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 jl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(jl||{}),Pa=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(Pa||{}),oi=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(oi||{}),ke=(t=>(t.ALL="all",t.ASSIGN="assign",t))(ke||{}),Da=(t=>(t.ALL="all",t.ADMIN="admin",t))(Da||{});class xa extends G{constructor(e){var n,i;super(e),this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(i=e==null?void 0:e.lineStyle)!=null?i:Aa.SOLID}}class Ul extends N{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}}Ul.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class l0 extends X{constructor(e){super(e),this.props=new xa(e==null?void 0:e.props)}static get controlType(){return"divider"}}var Wl={Designer:Ul,Runtime:l0,Property:xa};class o0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(Oe.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class ci extends G{constructor(e){var n,i,u,a;super(e),this.dataBind=new ye(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[Oe.ShowSubmitUser,Oe.ShowSubmitDept,Oe.ShowSubmitTime,Oe.ShowCurrentApprovar,Oe.ShowTitle],this.caption=(u=(i=e==null?void 0:e.caption)!=null?i:yt==null?void 0:yt.controlName)!=null?u:"",this.position=(a=e==null?void 0:e.position)!=null?a:"top"}}ci.Rules=o0;class yt extends N{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}}yt.controlFieldType=g.AUTO_NUMBER,yt.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 c0 extends X{constructor(e){super(e),this.props=new ci(e==null?void 0:e.props)}static get controlType(){return"title"}}var Kl={Designer:yt,Runtime:c0,Property:ci};class s0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class si extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Mt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Mt.controlName,this.formKey=(u=e==null?void 0:e.formKey)!=null?u:"",this.openType=(a=e==null?void 0:e.openType)!=null?a:"modal"}}si.Rules=s0;class Mt extends ue{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}}Mt.controlEventKeys=["on_click","on_click_finish"],Mt.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 d0 extends oe{constructor(e){super(e),this.props=new si(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-create-form"}}var zl={Designer:Mt,Runtime:d0,Property:si};class f0 extends U{constructor(e){super(e),this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class di extends ie{constructor(e){var n,i,u,a,r,l;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Nt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Nt.controlName,this.initiatorMode=(u=e==null?void 0:e.initiatorMode)!=null?u:"currentInitiator",this.processKey=(a=e==null?void 0:e.processKey)!=null?a:"",this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.employeeId=(l=e==null?void 0:e.employeeId)!=null?l:""}}di.Rules=f0;class Nt extends ue{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}}Nt.controlEventKeys=["on_click","on_click_finish"],Nt.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 h0 extends oe{constructor(e){super(e),this.props=new di(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-submission"}}var Gl={Designer:Nt,Runtime:h0,Property:di};class Fa extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Lt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Lt.controlIcon}}class Lt extends ue{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}}Lt.controlEventKeys=["on_click"],Lt.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 y0 extends oe{constructor(e){super(e),this.props=new Fa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-submission-record"}}var Xl={Designer:Lt,Runtime:y0,Property:Fa};class Oa extends ie{constructor(e){var n,i,u,a;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:$t.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:$t.controlName,this.templateList=(a=(u=e==null?void 0:e.templateList)==null?void 0:u.map(r=>new Ba(r)))!=null?a:[new Ba({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class $t extends ue{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}}$t.controlEventKeys=["on_click","on_click_finish"],$t.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 m0 extends oe{constructor(e){super(e),this.props=new Oa(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-list"}}var Ql={Designer:$t,Runtime:m0,Property:Oa};class ka extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Vt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Vt.controlIcon}}class Vt extends ue{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}}Vt.controlEventKeys=["on_click"],Vt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class v0 extends oe{constructor(e){super(e),this.props=new ka(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-export-record"}}var Jl={Designer:Vt,Runtime:v0,Property:ka};class g0{constructor(e){this.dataCode=e.dataCode}}class Ma extends ie{constructor(e){var n,i,u,a;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Ht.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Ht.controlIcon,this.canImportList=(a=(u=e==null?void 0:e.canImportList)==null?void 0:u.map(r=>new g0(r)))!=null?a:[]}}class Ht extends ue{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}}Ht.controlEventKeys=["on_click","on_click_finish"],Ht.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class b0 extends oe{constructor(e){super(e),this.props=new Ma(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-import-record"}}var Zl={Designer:Ht,Runtime:b0,Property:Ma};function fi(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class E0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},fi())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:Ae({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class hi extends ie{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 Ru(e==null?void 0:e.fillPayload),this.formBind=new Ny(e==null?void 0:e.formBind),this.fillBack=new Kr(e==null?void 0:e.fillBack)}}hi.Rules=E0;class qt extends ue{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}}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 _0 extends oe{constructor(e){super(e),this.props=new hi(e==null?void 0:e.props)}static get controlType(){return"form-select-button"}}var Yl={Designer:qt,Runtime:_0,Property:hi};class C0 extends U{constructor(e){super(e),this.fillPayload={type:"object",fields:Ae({},fi())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:Ae({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},fi())}}}class yi extends ie{constructor(e){var n,i,u;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:jt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:jt.controlIcon,this.fillPayload=new Ru(e==null?void 0:e.fillPayload),this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.fillBack=new Kr(e==null?void 0:e.fillBack),this.showSelectedDetail=(u=e==null?void 0:e.showSelectedDetail)!=null?u:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig)}}yi.Rules=C0;class jt extends ue{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}}jt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],jt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class w0 extends oe{constructor(e){super(e),this.props=new yi(e==null?void 0:e.props)}static get controlType(){return"list-select-button"}}var pl={Designer:jt,Runtime:w0,Property:yi};class I0 extends U{constructor(e){super(e)}}class S0 extends qe{constructor(e){super(e)}}class Ut extends G{constructor(e){super(e)}}Ut.Rules=I0,Ut.RuntimeRules=S0;class eo extends N{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}}eo.setting=[];class A0 extends X{constructor(e){super(e),this.props=new Ut(e==null?void 0:e.props)}static get controlType(){return"pagination"}}var to={Designer:eo,Runtime:A0,Property:Ut};class T0 extends U{constructor(e){super(e),this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class mi extends G{constructor(e){var n,i,u,a,r,l;super(e),this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top"}}mi.Rules=T0;class no extends N{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}}no.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class B0 extends X{constructor(e){super(e),this.props=new mi(e==null?void 0:e.props)}static get controlType(){return"dashboard"}}var io={Designer:no,Runtime:B0,Property:mi};class R0 extends U{constructor(e){super(e),this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class vi extends G{constructor(e){var n,i,u;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(u=(i=e==null?void 0:e.viewList)==null?void 0:i.map(a=>new Zy(a)))!=null?u:[]}}vi.Rules=R0;class uo extends N{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}}uo.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class P0 extends X{constructor(e){super(e),this.props=new vi(e==null?void 0:e.props)}static get controlType(){return"list-view-select"}}var ao={Designer:uo,Runtime:P0,Property:vi};class D0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class gi extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:mt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:mt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:mt.controlIcon,this.ocrType=(o=e==null?void 0:e.ocrType)!=null?o:"",this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(b=>new ae(b)))!=null?v:[]}}gi.Rules=D0;class mt extends ue{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}}mt.controlEventKeys=["on_click","on_click_finish"],mt.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 x0 extends oe{constructor(e){super(e),this.props=new gi(e==null?void 0:e.props)}static get controlType(){return"text-ocr-button"}}var ro={Designer:mt,Runtime:x0,Property:gi};class F0 extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,i,u){if(i.every(r=>!r.controlId)){u(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}u()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class bi extends ie{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:vt.controlName,this.isHideCaption=(i=e==null?void 0:e.isHideCaption)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.labelPosition=(r=e==null?void 0:e.labelPosition)!=null?r:"top",this.content=(l=e==null?void 0:e.content)!=null?l:vt.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:vt.controlIcon,this.invoiceCheck=(o=e==null?void 0:e.invoiceCheck)!=null?o:!0,this.fillList=(v=(d=e==null?void 0:e.fillList)==null?void 0:d.map(b=>new ae(b)))!=null?v:[]}}bi.Rules=F0;class vt extends ue{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}}vt.controlEventKeys=["on_click","on_click_finish"],vt.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 O0 extends oe{constructor(e){super(e),this.props=new bi(e==null?void 0:e.props)}static get controlType(){return"invoice-check-button"}}var lo={Designer:vt,Runtime:O0,Property:bi};class k0 extends U{constructor(){super(...arguments),this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class Ei extends ie{constructor(e){var n,i,u,a,r;super(e),this.icon=(n=e==null?void 0:e.icon)!=null?n:Wt.controlIcon,this.content=(i=e==null?void 0:e.content)!=null?i:Wt.controlName,this.printTemplates=(a=(u=e==null?void 0:e.printTemplates)==null?void 0:u.map(l=>new Hl(l)))!=null?a:[],this.autoSelectTemplate=(r=e==null?void 0:e.autoSelectTemplate)!=null?r:!1}}Ei.Rules=k0;class Wt extends ue{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}}Wt.controlEventKeys=["on_click","on_click_finish"],Wt.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 M0 extends oe{constructor(e){super(e),this.props=new Ei(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print"}}var oo={Designer:Wt,Runtime:M0,Property:Ei};class Na extends ie{constructor(e){var n,i;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:Kt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:Kt.controlIcon}}class Kt extends ue{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}}Kt.controlEventKeys=["on_click"],Kt.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 N0 extends oe{constructor(e){super(e),this.props=new Na(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-print-record"}}var co={Designer:Kt,Runtime:N0,Property:Na};class L0 extends U{constructor(e){super(e),this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class _i extends G{constructor(e){var n,i,u,a,r;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(i=e==null?void 0:e.command)!=null?i:"custom",this.color=(u=e==null?void 0:e.color)!=null?u:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(a=e==null?void 0:e.defaultState)!=null?a:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(r=e==null?void 0:e.isLoading)!=null?r:!1}}_i.Rules=L0;class Ci extends N{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}}Ci.controlEventKeys=["on_click"],Ci.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 $0 extends X{constructor(e){super(e),this.props=new _i(e==null?void 0:e.props)}static get controlType(){return"operation-button"}}var so={Designer:Ci,Runtime:$0,Property:_i};class La extends G{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.content=(n=e==null?void 0:e.content)!=null?n:zt.controlName,this.icon=(i=e==null?void 0:e.icon)!=null?i:zt.controlIcon,this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"iconText",this.color=(r=e==null?void 0:e.color)!=null?r:"danger",this.isHide=(l=e==null?void 0:e.isHide)!=null?l:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(o=e==null?void 0:e.command)!=null?o:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class zt extends N{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}}zt.controlEventKeys=["on_click"],zt.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 V0 extends X{constructor(e){super(e),this.props=new La(e==null?void 0:e.props)}static get controlType(){return"list-page-btn-batch-delete"}}var fo={Designer:zt,Runtime:V0,Property:La},H0=Object.freeze({__proto__:null,Text:Fl,Link:Ol,Button:kl,Divider:Wl,Title:Kl,CreateFormListButton:zl,BatchSubmissionListButton:Gl,SubmissionRecordListButton:Xl,ExportListButton:Ql,ExportRecordListButton:Jl,ImportRecordListButton:Zl,FormSelectButton:Yl,ListSelectButton:pl,Pagination:to,Dashboard:io,ListViewSelect:ao,TextOcrButton:ro,InvoiceCheckButton:lo,BatchPrintListButton:oo,BatchPrintRecordListButton:co,OperationButton:so,BatchDeleteButton:fo});class q0 extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=kt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class j0 extends V{constructor(e){super(e),this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:kt(e.regularRules.expression),message:e.regularRules.errMessage})}}class gt extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.regularRules=new zr(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:bt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.encrypted=(l=e==null?void 0:e.encrypted)!=null?l:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}gt.Rules=q0,gt.RuntimeRules=j0;class bt extends P{constructor(e){super(e),this.props=new gt(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}}bt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],bt.controlFieldType=g.VARCHAR,bt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class ho extends x{constructor(e){super(e),this.props=new gt(e==null?void 0:e.props)}static get controlType(){return"input"}}ho.controlFieldType=g.VARCHAR;var yo={Designer:bt,Runtime:ho,Property:gt};class U0 extends st{constructor(e){super(e),this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const i=u=>u==="unlimited"?void 0:u;this.limitMax.min=i(e.limitMin)}}class W0 extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class Gt extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(i=e==null?void 0:e.checkboxMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.optionsOrder=(a=e==null?void 0:e.optionsOrder)!=null?a:!1,this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.limitMin=(l=e==null?void 0:e.limitMin)!=null?l:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Xt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(w=e==null?void 0:e.defaultShowOptions)!=null?w:!0,this.openMultistageFilling=(I=e==null?void 0:e.openMultistageFilling)!=null?I:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var S;(S=this.multistageFilling)==null||S.push(new ae(E))}))}}Gt.Rules=U0,Gt.RuntimeRules=W0;class Xt extends P{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}}Xt.controlEventKeys=["on_change","on_click"],Xt.controlFieldType=g.ARRAY,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:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class mo extends x{constructor(e){super(e),this.props=new Gt(e==null?void 0:e.props)}static get controlType(){return"checkbox"}}mo.controlFieldType=g.ARRAY;var vo={Designer:Xt,Runtime:mo,Property:Gt};class K0 extends st{constructor(e){super(e)}}class wi extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(i=e==null?void 0:e.radioMode)!=null?i:"horizontal",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.otherOption=(a=e==null?void 0:e.otherOption)!=null?a:!1,this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.defaultShowOptions=(l=e==null?void 0:e.defaultShowOptions)!=null?l:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.interreaction=(o=e==null?void 0:e.interreaction)!=null?o:[],this.caption=(d=e==null?void 0:e.caption)!=null?d:Qt.controlName,this.defaultValue=(v=e==null?void 0:e.defaultValue)!=null?v:"",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var I;(I=this.multistageFilling)==null||I.push(new ae(w))}))}}wi.Rules=K0;class Qt extends P{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}}Qt.controlEventKeys=["on_change","on_click"],Qt.controlFieldType=g.VARCHAR,Qt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class go extends x{constructor(e){super(e),this.props=new wi(e==null?void 0:e.props)}static get controlType(){return"radio"}}go.controlFieldType=g.VARCHAR;var bo={Designer:Qt,Runtime:go,Property:wi};class z0 extends Y{constructor(e){super(e),this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=i,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=kt(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class G0 extends V{constructor(e){super(e),this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,i=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:i,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:kt(e.regularRules.expression),message:e.regularRules.errMessage})}}class Jt extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.numberType=(u=e==null?void 0:e.numberType)!=null?u:"number",this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(o=e==null?void 0:e.isShowUnit)!=null?o:!1,this.unitPosition=(d=e==null?void 0:e.unitPosition)!=null?d:"right",this.unit=(v=e==null?void 0:e.unit)!=null?v:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Zt.controlName,this.placeholder=(w=e==null?void 0:e.placeholder)!=null?w:"\u8BF7\u8F93\u5165",this.defaultValue=(I=e==null?void 0:e.defaultValue)!=null?I:"",this.regularRules=new zr(e==null?void 0:e.regularRules)}}Jt.Rules=z0,Jt.RuntimeRules=G0;class Zt extends P{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Zt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Zt.controlFieldType=g.DECIMAL,Zt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Eo extends x{constructor(e){super(e),this.props=new Jt(e==null?void 0:e.props)}static get controlType(){return"number"}}Eo.controlFieldType=g.DECIMAL;var _o={Designer:Zt,Runtime:Eo,Property:Jt};class $a extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.caption=(u=e==null?void 0:e.caption)!=null?u:Ii.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.limitDateList=(s=(l=e==null?void 0:e.limitDateList)==null?void 0:l.map(v=>new ri(v)))!=null?s:[],this.allowDateRange=(o=e==null?void 0:e.allowDateRange)!=null?o:["",""],this.filterWeekend=(d=e==null?void 0:e.filterWeekend)!=null?d:!1}}class Ii extends P{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ii.controlFieldType=g.TIMESTAMP,Ii.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"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 Co extends x{constructor(e){super(e),this.props=new $a(e==null?void 0:e.props)}static get controlType(){return"date-picker"}}Co.controlFieldType=g.TIMESTAMP;var wo={Designer:Ii,Runtime:Co,Property:$a};class X0 extends V{constructor(e){super(e),this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class Si extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.dataBind=new zy(e==null?void 0:e.dataBind),this.defaultValue=new Gy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.setValueType=(i=e==null?void 0:e.setValueType)!=null?i:"custom",this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(s=e==null?void 0:e.caption)!=null?s:Ai.controlName,this.limitDateList=(d=(o=e==null?void 0:e.limitDateList)==null?void 0:o.map(v=>new ri(v)))!=null?d:[]}}Si.RuntimeRules=X0;class Ai extends P{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:i}=this.props;n.props.dateType=i}return n}}Ai.controlFieldType=g.TIMESCOPE,Ai.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"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 Io extends x{constructor(e){super(e),this.props=new Si(e==null?void 0:e.props)}static get controlType(){return"date-range"}}Io.controlFieldType=g.TIMESCOPE;var So={Designer:Ai,Runtime:Io,Property:Si};class Q0 extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class J0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Yt extends R{constructor(e){var n,i,u,a,r,l;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:4}}Yt.Rules=Q0,Yt.RuntimeRules=J0;class pt extends P{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}}pt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],pt.controlFieldType=g.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:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Ao extends x{constructor(e){super(e),this.props=new Yt(e==null?void 0:e.props)}static get controlType(){return"textarea"}}Ao.controlFieldType=g.TEXT;var To={Designer:pt,Runtime:Ao,Property:Yt};class Z0 extends Y{constructor(e){super(e),this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Y0 extends V{constructor(e){super(e),this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class en extends R{constructor(e){var n,i,u,a,r;super(e),this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(i=e==null?void 0:e.minLength)!=null?i:0,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:"",this.caption=(a=e==null?void 0:e.caption)!=null?a:tn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165"}}en.Rules=Z0,en.RuntimeRules=Y0;class tn extends P{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}}tn.controlEventKeys=["on_change","on_input","on_focus","on_blur"],tn.controlFieldType=g.TEXT,tn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Bo extends x{constructor(e){super(e),this.props=new en(e==null?void 0:e.props)}static get controlType(){return"rich-text"}}Bo.controlFieldType=g.TEXT;var Ro={Designer:tn,Runtime:Bo,Property:en};class p0 extends st{constructor(e){super(e)}}class Ti extends R{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Bi.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(d=>{var v;(v=this.multistageFilling)==null||v.push(new ae(d))}))}}Ti.Rules=p0;class Bi extends P{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}}Bi.controlFieldType=g.VARCHAR,Bi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Po extends x{constructor(e){super(e),this.props=new Ti(e==null?void 0:e.props)}static get controlType(){return"select"}}Po.controlFieldType=g.VARCHAR;var Do={Designer:Bi,Runtime:Po,Property:Ti};class eb extends st{constructor(e){super(e)}}class tb extends V{constructor(e){super(e),this[0].type="array"}}class nn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(i=e==null?void 0:e.defaultShowOptions)!=null?i:!0,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"custom",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ri.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.openMultistageFilling=(s=e==null?void 0:e.openMultistageFilling)!=null?s:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(o=>{var d;(d=this.multistageFilling)==null||d.push(new ae(o))}))}}nn.Rules=eb,nn.RuntimeRules=tb;class Ri extends P{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}}Ri.controlFieldType=g.ARRAY,Ri.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class xo extends x{constructor(e){super(e),this.props=new nn(e==null?void 0:e.props)}static get controlType(){return"select-multiple"}}xo.controlFieldType=g.ARRAY;var Fo={Designer:Ri,Runtime:xo,Property:nn};class nb extends V{constructor(e){super(e),this[0].type="array"}}class Pi extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Di.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(v))}))}}Pi.RuntimeRules=nb;class Di extends P{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}}Di.controlFieldType=g.EMPLOYEES,Di.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Oo extends x{constructor(e){super(e),this.props=new Pi(e==null?void 0:e.props)}static get controlType(){return"employee"}}Oo.controlFieldType=g.EMPLOYEES;var ko={Designer:Di,Runtime:Oo,Property:Pi};const ib=10485760,ub=104857600,ab=1048576e3;class rb extends Y{constructor(e){super(e),this.maxSize={type:"number",min:0,max:ab,message:f.getMessage("attachmentMaxSize")}}}class lb extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class Et extends R{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(i=e==null?void 0:e.showType)!=null?i:"default",this.attachmentAccept=(u=e==null?void 0:e.attachmentAccept)!=null?u:[],this.maxLimit=(a=e==null?void 0:e.maxLimit)!=null?a:10,this.minLimit=(r=e==null?void 0:e.minLimit)!=null?r:0,this.maxSize=(l=e==null?void 0:e.maxSize)!=null?l:ub,this.caption=(s=e==null?void 0:e.caption)!=null?s:_t.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u4E0A\u4F20\u9644\u4EF6"}}Et.Rules=rb,Et.RuntimeRules=lb;class _t extends P{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}}_t.controlEventKeys=["on_change"],_t.controlFieldType=g.FILE,_t.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class Va extends x{constructor(e){super(e),this.props=new Et(e==null?void 0:e.props)}static get controlType(){return"attachment"}}Va.controlFieldType=g.FILE;var Mo={Designer:_t,Runtime:Va,Property:Et};const No=class extends _t{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){var e,n,i,u;super(t),this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:No.controlName,this.props.placeholder=(u=(i=t==null?void 0:t.props)==null?void 0:i.placeholder)!=null?u:"\u4E0A\u4F20\u56FE\u7247"}};let Ha=No;Ha.controlFieldType=g.IMAGE,Ha.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ob extends Va{static get controlType(){return"image"}constructor(e){var n,i,u,a,r,l;super(e),this.props.showType="image",this.props.maxLimit=(i=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?i:9,this.props.caption=(a=(u=e==null?void 0:e.props)==null?void 0:u.caption)!=null?a:"\u56FE\u7247",this.props.placeholder=(l=(r=e==null?void 0:e.props)==null?void 0:r.placeholder)!=null?l:"\u4E0A\u4F20\u56FE\u7247"}}class cb extends Et{constructor(e){super(e)}}var Lo={Designer:Ha,Runtime:ob,Property:cb};class sb extends st{constructor(e){super(e),this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=i,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:i}),i&&n!==void 0&&(this.rangeMax={type:"number",min:i,message:f.getMessage("numberRangeSetError")})}}class db extends V{constructor(e){super(e),this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,i=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[Pn(Ae({},this[0]),{type:"number"}),{type:"number",min:i,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":i===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:i})}],currency:{type:"string"}}})}}class un extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(i=e==null?void 0:e.rangeMax)!=null?i:"",this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.precision=(r=e==null?void 0:e.precision)!=null?r:2,this.dataBind=new Wy(e==null?void 0:e.dataBind),this.datasourceBind=new Z((l=e==null?void 0:e.datasourceBind)!=null?l:{displayBoList:[new Au({value:"name"})]}),this.defaultValue=new Ky((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:kn.CNY}),this.options=Ee(e==null?void 0:e.options),this.caption=(o=e==null?void 0:e.caption)!=null?o:an.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(v=e==null?void 0:e.submitSelectCurrency)!=null?v:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}un.Rules=sb,un.RuntimeRules=db;class an extends P{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}an.controlEventKeys=["on_change","on_input","on_focus","on_blur"],an.controlFieldType=g.MONEY,an.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class $o extends x{constructor(e){super(e),this.props=new un(e==null?void 0:e.props)}static get controlType(){return"amount"}}$o.controlFieldType=g.MONEY;var Vo={Designer:an,Runtime:$o,Property:un};class fb extends Y{constructor(e){super(e),this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class hb extends V{constructor(e){super(e),this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class rn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(i=e==null?void 0:e.scoreType)!=null?i:Sa.STAR,this.isShowExplain=(u=e==null?void 0:e.isShowExplain)!=null?u:!0,this.explain=(r=(a=e==null?void 0:e.explain)==null?void 0:a.map(o=>new li(o)))!=null?r:Array(this.totalScore).fill(void 0).map(()=>new li),this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:ln.controlName}}rn.Rules=fb,rn.RuntimeRules=hb;class ln extends P{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}postUpdate(e,n){if(e==="totalScore"){if(n===this.props.explain.length)return;if(this.props.explain.length>n)this.props.explain=this.props.explain.slice(0,n);else{const i=n-this.props.explain.length,u=Array(i).fill(void 0).map(()=>new li);this.props.explain.push(...u)}}super.postUpdate(e,n)}}ln.controlEventKeys=["on_change","on_click"],ln.controlFieldType=g.DECIMAL,ln.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ho extends x{constructor(e){super(e),this.props=new rn(e==null?void 0:e.props)}static get controlType(){return"score"}}Ho.controlFieldType=g.DECIMAL;var qo={Designer:ln,Runtime:Ho,Property:rn};class yb extends V{constructor(e){if(super(e),this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class xi extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Fi.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 Xy((a=e==null?void 0:e.defaultValue)!=null?a:{}),this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9\u5730\u5740"}}xi.RuntimeRules=yb;class Fi extends P{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}}Fi.controlFieldType=g.ADDRESS,Fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class jo extends x{constructor(e){super(e),this.props=new xi(e==null?void 0:e.props)}static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}}jo.controlFieldType=g.ADDRESS;var Uo={Designer:Fi,Runtime:jo,Property:xi};class mb extends V{constructor(e){super(e),this[0].type="array"}}class Oi extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:on.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(w=>{var I;(I=this.multistageFilling)==null||I.push(new ae(w))}))}}Oi.RuntimeRules=mb;class on extends P{constructor(e){super(e),this.props=new Oi(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}}on.controlName="\u90E8\u95E8",on.controlFieldType=g.DEPARTMENTS,on.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"department-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class Wo extends x{constructor(e){super(e),this.props=new Oi(e==null?void 0:e.props)}static get controlType(){return"department"}}Wo.controlFieldType=g.DEPARTMENTS;var Ko={Designer:on,Runtime:Wo,Property:Oi};class qa extends R{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:cn.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class cn extends P{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}}cn.controlEventKeys=["on_change"],cn.controlFieldType=g.AUTO_NUMBER,cn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class zo extends x{constructor(e){super(e),this.props=new qa(e==null?void 0:e.props)}static get controlType(){return"auto-number"}}zo.controlFieldType=g.AUTO_NUMBER;var Go={Designer:cn,Runtime:zo,Property:qa};class vb extends Y{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 gb extends V{constructor(e){super(e),this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class sn extends R{constructor(e){var n,i,u,a,r,l,s;super(e),this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(i=e==null?void 0:e.micrometer)!=null?i:!1,this.showUpperCase=(u=e==null?void 0:e.showUpperCase)!=null?u:!1,this.dataBind=new Qy(e==null?void 0:e.dataBind),this.defaultValue=new Jy(e==null?void 0:e.defaultValue),this.caption=(a=e==null?void 0:e.caption)!=null?a:dn.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u8F93\u5165",this.scriptEcho=(l=e==null?void 0:e.scriptEcho)!=null?l:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}sn.Rules=vb,sn.RuntimeRules=gb;class dn extends P{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}dn.controlEventKeys=["on_change"],dn.controlFieldType=g.CALC,dn.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class Xo extends x{constructor(e){super(e),this.props=new sn(e==null?void 0:e.props)}static get controlType(){return"calc"}}Xo.controlFieldType=g.CALC;var Qo={Designer:dn,Runtime:Xo,Property:sn};class bb extends V{constructor(e){super(e),this[0].type="array",this.push({validator(n,i){return e.required&&i.every(a=>!a)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class ki extends R{constructor(e){var n,i,u,a,r,l;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(i=e==null?void 0:e.rangeMin)!=null?i:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.placeholderStart=(a=e==null?void 0:e.placeholderStart)!=null?a:"\u6700\u5C0F\u503C",this.placeholderEnd=(r=e==null?void 0:e.placeholderEnd)!=null?r:"\u6700\u5927\u503C",this.caption=(l=e==null?void 0:e.caption)!=null?l:Mi.controlName}}ki.RuntimeRules=bb;class Mi extends P{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}}Mi.controlFieldType=g.DECIMAL_RANGE,Mi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Jo extends x{constructor(e){super(e),this.props=new ki(e==null?void 0:e.props)}static get controlType(){return"search-number-range"}}Jo.controlFieldType=g.DECIMAL_RANGE;var Zo={Designer:Mi,Runtime:Jo,Property:ki};class Eb extends V{constructor(e){super(e),this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class Ni extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(i=e==null?void 0:e.dateType)!=null?i:Te.DATE,this.setValueType=(u=e==null?void 0:e.setValueType)!=null?u:"custom",this.rangeMin=(a=e==null?void 0:e.rangeMin)!=null?a:"",this.rangeMax=(r=e==null?void 0:e.rangeMax)!=null?r:"",this.placeholderStart=(l=e==null?void 0:e.placeholderStart)!=null?l:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(s=e==null?void 0:e.placeholderEnd)!=null?s:"\u7ED3\u675F\u65E5\u671F",this.caption=(o=e==null?void 0:e.caption)!=null?o:Li.controlName,this.limitDateList=(v=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(b=>new ri(b)))!=null?v:[]}}Ni.RuntimeRules=Eb;class Li extends P{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}}Li.controlFieldType=g.ARRAY,Li.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"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 Yo extends x{constructor(e){super(e),this.props=new Ni(e==null?void 0:e.props)}static get controlType(){return"search-date-range"}}Yo.controlFieldType=g.ARRAY;var po={Designer:Li,Runtime:Yo,Property:Ni};class _b extends Y{constructor(e){super(e),this.dataBind={type:"any"}}}class Cb extends V{constructor(e){super(e),this[0].type="any"}}class fn extends R{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:hn.controlName,this.defaultValue=(i=e==null?void 0:e.defaultValue)!=null?i:void 0,this.controlExportName=(u=e==null?void 0:e.controlExportName)!=null?u:"",this.permissions=(a=e==null?void 0:e.permissions)!=null?a:[],this.isInlineEdit=(r=e==null?void 0:e.isInlineEdit)!=null?r:!1}}fn.Rules=_b,fn.RuntimeRules=Cb;class hn extends P{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}}hn.controlFieldType=g.ANY,hn.controlEventKeys=[],hn.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class ec extends x{constructor(e){super(e),this.props=new fn(e==null?void 0:e.props)}static get controlType(){return"vue-form-item"}}ec.controlFieldType=g.ANY;var tc={Designer:hn,Runtime:ec,Property:fn};class wb extends st{constructor(e){super(e),this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class $i extends R{constructor(e){var n,i,u,a,r,l,s,o,d;super(e),this.options=Ee((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"datasource",this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.caption=(u=e==null?void 0:e.caption)!=null?u:yn.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u9009\u62E9",this.defaultValue=(r=e==null?void 0:e.defaultValue)!=null?r:"",this.openMultistageFilling=(l=e==null?void 0:e.openMultistageFilling)!=null?l:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var b;(b=this.multistageFilling)==null||b.push(new ae(v))})),this.canViewForm=(o=e==null?void 0:e.canViewForm)!=null?o:!1,this.viewFormModelType=(d=e==null?void 0:e.viewFormModelType)!=null?d:"window"}}$i.Rules=wb;class yn extends P{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}}yn.controlFieldType=g.VARCHAR,yn.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],yn.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class nc extends x{constructor(e){super(e),this.props=new $i(e==null?void 0:e.props)}static get controlType(){return"select-relation"}}nc.controlFieldType=g.VARCHAR;var ic={Designer:yn,Runtime:nc,Property:$i};class ja extends gt{constructor(e){super(e)}}class uc extends bt{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}}uc.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class ac extends x{constructor(e){super(e),this.props=new ja(e==null?void 0:e.props)}static get controlType(){return"search-input"}}ac.controlFieldType=g.VARCHAR;var rc={Designer:uc,Runtime:ac,Property:ja};class Ib extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],$n.call(this,e,Me.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Sb extends V{constructor(e){super(e),this[0].type="array"}}class mn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I,E,S,m,_,B,D;super(e),this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Me.controlName,this.placeholder=(i=e==null?void 0:e.placeholder)!=null?i:"\u8BF7\u9009\u62E9",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.canSearch=(a=e==null?void 0:e.canSearch)!=null?a:!0,this.levelType=(r=e==null?void 0:e.levelType)!=null?r:"all",this.optionalLevel=(l=e==null?void 0:e.optionalLevel)!=null?l:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(o=e==null?void 0:e.isShowFilterItem)!=null?o:!1,this.isShowIncludeSub=(d=e==null?void 0:e.isShowIncludeSub)!=null?d:!1,this.isDefaultCheckSub=(v=e==null?void 0:e.isDefaultCheckSub)!=null?v:!1,this.defaultCollapse=(b=e==null?void 0:e.defaultCollapse)!=null?b:"all",this.defaultCollapseLevel=(w=e==null?void 0:e.defaultCollapseLevel)!=null?w:1,this.datasourceBind=new Ur((I=e==null?void 0:e.datasourceBind)!=null?I:{attributes:Me.controlCustomAttributes}),this.filterItemDatasourceBind=new Ur((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Me.controlCustomAttributes}),this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(B=(_=e==null?void 0:e.multistageFilling)==null?void 0:_.map(F=>new ae(F)))!=null?B:[],this.defaultValue=(D=e==null?void 0:e.defaultValue)!=null?D:[]}}mn.Rules=Ib,mn.RuntimeRules=Sb;class Me extends P{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}}Me.controlEventKeys=["on_change","on_click"],Me.controlFieldType=g.ARRAY,Me.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class lc extends x{constructor(e){super(e),this.props=new mn(e==null?void 0:e.props)}static get controlType(){return"tree"}}lc.controlFieldType=g.ARRAY;var oc={Designer:Me,Runtime:lc,Property:mn};class Ab extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},$n.call(this,e,Ct.controlCustomAttributes),e.externalType===ke.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Tb extends V{constructor(e){super(e),this[0].type="array"}}class vn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I,E;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(i=e==null?void 0:e.range)!=null?i:"all",this.rangeOptions=(u=e==null?void 0:e.rangeOptions)!=null?u:[],this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:Ct.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new On((d=e==null?void 0:e.datasourceBind)!=null?d:{attributes:Ct.controlCustomAttributes}),this.datasourceType=(v=e==null?void 0:e.datasourceType)!=null?v:Pa.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:Da.ADMIN,this.externalType=(w=e==null?void 0:e.externalType)!=null?w:ke.ALL,this.externalScope=(I=e==null?void 0:e.externalScope)!=null?I:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(S=>{var m;(m=this.multistageFilling)==null||m.push(new ae(S))}))}}vn.Rules=Ab,vn.RuntimeRules=Tb;class Ct extends P{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Ct.controlFieldType=g.EMPLOYEES,Ct.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class cc extends x{constructor(e){super(e),this.props=new vn(e==null?void 0:e.props)}static get controlType(){return"employee2"}}cc.controlFieldType=g.EMPLOYEES;var sc={Designer:Ct,Runtime:cc,Property:vn};class Bb extends Y{constructor(e){super(e),this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,i,u)=>(n[u]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&vu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}l()}},company:{type:"object",required:!0,validator(a,r,l){if(i.type==="public"&&i.signatureType.includes("company")&&vu(r.value)&&r.value.length===0){l("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}l()}}}},n),{})}}}}}class Vi extends R{constructor(e){var n,i,u,a,r,l;super(e),this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:gn.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.signatureConfig=new Ll(e==null?void 0:e.signatureConfig)}}Vi.Rules=Bb;class gn extends P{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}}gn.controlEventKeys=["on_click","on_click_finish"],gn.controlFieldType=g.VARCHAR,gn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class dc extends x{constructor(e){super(e),this.props=new Vi(e==null?void 0:e.props)}static get controlType(){return"electronic-signature"}}dc.controlFieldType=g.VARCHAR;var fc={Designer:gn,Runtime:dc,Property:Vi};class Rb extends Y{constructor(e){super(e),this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterWatermark"));return}u()}},autoRename:{type:"object",validator(n,i,u){if(i.active&&!i.text){u(f.getMessage("pleaseEnterFileName"));return}u()}}}},this.canAdd={type:"boolean",validator(n,i,u){if(e.canAdd&&!e.addLocal&&!e.addOnline){u(f.getMessage("pleaseChooseAtLeastOne"));return}u()}}}}class Pb extends V{constructor(e){super(e),this[0].type="array"}}class bn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:En.controlName,this.content=(i=e==null?void 0:e.content)!=null?i:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(u=e==null?void 0:e.canAdd)!=null?u:!0,this.addLocal=(a=e==null?void 0:e.addLocal)!=null?a:!0,this.addOnline=(r=e==null?void 0:e.addOnline)!=null?r:!0,this.canEdit=(l=e==null?void 0:e.canEdit)!=null?l:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(o=e==null?void 0:e.canExport)!=null?o:!0,this.canDelete=(d=e==null?void 0:e.canDelete)!=null?d:!1,this.maxSize=(v=e==null?void 0:e.maxSize)!=null?v:ib,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new $l(e==null?void 0:e.wpsSetting),this.revisionsMode=(w=e==null?void 0:e.revisionsMode)!=null?w:!1}}bn.Rules=Rb,bn.RuntimeRules=Pb;class En extends P{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}}En.controlEventKeys=["on_change","on_wps_open"],En.controlFieldType=g.FILE,En.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class hc extends x{constructor(e){super(e),this.props=new bn(e==null?void 0:e.props)}static get controlType(){return"wps"}}hc.controlFieldType=g.FILE;var yc={Designer:En,Runtime:hc,Property:bn};class Db extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,We.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class xb extends V{constructor(e){super(e),this[0].type="array"}}class _n extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I,E,S;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:We.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new On((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:We.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:ke.ALL,this.openMultistageFilling=(S=e==null?void 0:e.openMultistageFilling)!=null?S:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(m=>{var _;(_=this.multistageFilling)==null||_.push(new ae(m))}))}}_n.Rules=Db,_n.RuntimeRules=xb;class We extends P{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}We.controlName="\u90E8\u95E8",We.controlFieldType=g.DEPARTMENTS,We.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-datasource-setting",visible:!0},{key:"department-defaultval",visible:!0},{key:"department-level",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class mc extends x{constructor(e){super(e),this.props=new _n(e==null?void 0:e.props)}static get controlType(){return"department2"}}mc.controlFieldType=g.DEPARTMENTS;var vc={Designer:We,Runtime:mc,Property:_n};class Fb extends Y{constructor(e){super(e),this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},$n.call(this,e,Ke.controlCustomAttributes),e.businessType===ke.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class Ob extends V{constructor(e){super(e),this[0].type="array"}}class Cn extends R{constructor(e){var n,i,u,a,r,l,s,o,d,v,b,w,I,E,S,m,_,B;super(e),this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(i=e==null?void 0:e.multiple)!=null?i:!1,this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.listPageBind=new Iu(e==null?void 0:e.listPageBind),this.defaultValueType=(a=e==null?void 0:e.defaultValueType)!=null?a:"none",this.rangeOptions=(r=e==null?void 0:e.rangeOptions)!=null?r:[],this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(o=e==null?void 0:e.showSubDept)!=null?o:!0,this.caption=(d=e==null?void 0:e.caption)!=null?d:Ke.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new jy((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Ke.controlCustomAttributes}),this.datasourceType=(w=e==null?void 0:e.datasourceType)!=null?w:oi.INTERNAL,this.businessScope=(I=e==null?void 0:e.businessScope)!=null?I:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:ke.ALL,this.organizingFunction=(S=e==null?void 0:e.organizingFunction)!=null?S:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(_=e==null?void 0:e.showSelectedDetail)!=null?_:!1,this.selectedContentConfig=new Bu(e==null?void 0:e.selectedContentConfig),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(D=>{var F;(F=this.multistageFilling)==null||F.push(new ae(D))}))}}Cn.Rules=Fb,Cn.RuntimeRules=Ob;class Ke extends P{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:i,showSubDept:u}=this.props;n.props.displayLevel=i,n.props.showSubDept=u}return n}}Ke.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Ke.controlFieldType=g.DEPARTMENTS,Ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class gc extends x{constructor(e){super(e),this.props=new Cn(e==null?void 0:e.props)}static get controlType(){return"organization-selection"}}gc.controlFieldType=g.DEPARTMENTS;var bc={Designer:Ke,Runtime:gc,Property:Cn},kb=Object.freeze({__proto__:null,Input:yo,Checkbox:vo,Radio:bo,Number:_o,DatePicker:wo,DateRange:So,Textarea:To,RichText:Ro,Select:Do,SelectMultiple:Fo,Employee:ko,Image:Lo,Attachment:Mo,Amount:Vo,Score:qo,Address:Uo,Department:Ko,AutoNumber:Go,Calc:Qo,SearchNumberRange:Zo,SearchDateRange:po,VueFormItem:tc,SelectRelation:ic,SearchInput:rc,Tree:oc,Employee2:sc,ElectronicSignature:fc,WPS:yc,Department2:vc,OrganizationSelection:bc});class Ec extends K{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ec.excludes=[C.GRID];class Mb extends Q{static get controlType(){return"grid"}constructor(e){super(e)}}var _c={Designer:Ec,Runtime:Mb,Property:q};const Nb=24;class ze extends q{constructor(e){var n,i;super(e),this.span=(n=e==null?void 0:e.span)!=null?n:Nb,this.offset=(i=e==null?void 0:e.offset)!=null?i:0}}class wn extends K{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}}wn.excludes=[C.COL,C.CARD_GROUP,C.SUBTABLE,C.SUBTABLE_COLUMN,C.DIVIDER],wn.childrenMaxLength=1;class Ua extends Q{constructor(e){super(e),this.props=new ze(e==null?void 0:e.props)}static get controlType(){return"col"}}var Cc={Designer:wn,Runtime:Ua,Property:ze};class Hi extends q{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 qi extends K{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}}qi.excludes=[C.ROW],qi.setting=[{key:"col-setting",visible:!0}];class wc extends Q{constructor(e){super(e),this.props=new Hi(e==null?void 0:e.props)}static get controlType(){return"row"}}var Ic={Designer:qi,Runtime:wc,Property:Hi};const Lb=4;class ji extends qi{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}ji.excludes=[C.GRID_ROW],ji.setting=[],ji.childrenMaxLength=Lb;class $b extends wc{static get controlType(){return"grid-row"}constructor(e){super(e)}}class Vb extends Hi{constructor(e){super(e)}}var Sc={Designer:ji,Runtime:$b,Property:Vb};class Hb extends q.Rules{constructor(){super(...arguments),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ui extends q{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(i=e==null?void 0:e.collapse)!=null?i:"none"}}Ui.Rules=Hb;class Wa extends K{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}}Wa.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],Wa.excludes=[C.CARD_GROUP];class qb extends Q{constructor(e){super(e),this.props=new Ui(e==null?void 0:e.props)}static get controlType(){return"card-group"}}var Ac={Designer:Wa,Runtime:qb,Property:Ui};class jb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Wi extends q{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(i=e==null?void 0:e.fixed)!=null?i:!1,this.isShowCaptionTip=(u=e==null?void 0:e.isShowCaptionTip)!=null?u:!1,this.captionTip=(a=e==null?void 0:e.captionTip)!=null?a:"",this.isHideCaption=(r=e==null?void 0:e.isHideCaption)!=null?r:!1,this.metaAutoWidth=new ky(e==null?void 0:e.metaAutoWidth)}}Wi.Rules=jb;class me extends K{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}me.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",me.controlType="subtable-column",me.controlIcon="subtable-column",me.childrenMaxLength=1,me.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],me.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",showItems:[c.IS_SHOW_CAPTION_TIP],visible:!0},{key:"column-auto-width",visible:!0}];class Tc extends Q{constructor(e){super(e),this.props=new Wi(e==null?void 0:e.props)}}Tc.controlType="subtable-column";var Bc={Designer:me,Runtime:Tc,Property:Wi};class Ka extends q{constructor(e){super(e)}}class Ge extends K{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}}Ge.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ge.controlType="subtable-row",Ge.controlIcon="subtable-row",Ge.childrenMaxLength=1,Ge.excludes=[C.SUBTABLE,C.SUBTABLE_COLUMN,C.SUBTABLE_ROW,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Ge.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class Ub extends Q{constructor(e){super(e),this.props=new Ka(e==null?void 0:e.props)}static get controlType(){return"subtable-row"}}var Rc={Designer:Ge,Runtime:Ub,Property:Ka};class za extends q{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(i=e==null?void 0:e.caption)!=null?i:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.fieldCode=(a=e==null?void 0:e.fieldCode)!=null?a:"",this.fieldType=(r=e==null?void 0:e.fieldType)!=null?r:g.VARCHAR,this.fieldName=(l=e==null?void 0:e.fieldName)!=null?l:"",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(o=e==null?void 0:e.decimalKeepPrecision)!=null?o:0,this.timestampDateType=(d=e==null?void 0:e.timestampDateType)!=null?d:Te.DATE,this.departmentDisplayLevel=(v=e==null?void 0:e.departmentDisplayLevel)!=null?v:1}}class Xe extends K{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Xe.controlName="\u5217\u8868\u5355\u5143\u683C",Xe.controlType="gridtable-column",Xe.controlIcon="gridtable-column",Xe.childrenMaxLength=1,Xe.excludes=[C.GRID_TABLE,C.GRID_TABLE_COLUMN,C.ROW,C.COL,C.CARD_GROUP,C.DIVIDER,C.TEXT],Xe.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Pc extends Q{constructor(e){super(e),this.props=new za(e==null?void 0:e.props)}}Pc.controlType="gridtable-column";var Dc={Designer:Xe,Runtime:Pc,Property:za};class Ga extends q{constructor(e){var n;super(e),this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class Wb extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ki extends q{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Sn.controlName}}Ki.Rules=Wb;class In extends K{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}}In.excludes=[C.TAB],In.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class Kb extends Q{constructor(e){super(e),this.props=new Ki(e==null?void 0:e.props)}static get controlType(){return"tab-pane"}}var xc={Designer:In,Runtime:Kb,Property:Ki};class Sn extends K{constructor(e){var n;super(e),this.props=new Ga(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new In,new In]}static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}}Sn.excludes=[C.TAB],Sn.controlEventKeys=["on_change_tab"],Sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class zb extends Q{constructor(e){super(e),this.props=new Ga(e==null?void 0:e.props)}static get controlType(){return"tab"}}var Fc={Designer:Sn,Runtime:zb,Property:Ga};class Oc extends q{constructor(e){super(e)}}class kc extends K{constructor(e){super(e),this.props=new Oc({}),this.children=(e==null?void 0:e.children)||[new wn({props:new ze({span:12})}),new wn({props:new ze({span:12})})]}static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}}kc.excludes=[C.GRID_ROW,C.ROW,C.GRID,C.SUBTABLE,C.TAB,C.TOOLBOX];class Gb extends Q{static get controlType(){return"toolbox"}constructor(e){super(e),this.children=(e==null?void 0:e.children)||[new Ua({props:new ze({span:12})}),new Ua({props:new ze({span:12})})]}}var Mc={Designer:kc,Runtime:Gb,Property:Oc};class Xb extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Qb extends U{constructor(e){if(super(e),this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),ju.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(i=>i.type==="object"&&i.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class An extends q{constructor(e){var n,i,u,a,r,l,s,o,d,v;super(e),this.datasourceBind=new Z(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 Vy(e==null?void 0:e.sublistPage),this.showType=(r=e==null?void 0:e.showType)!=null?r:"stretch",this.showFullScreen=(l=e==null?void 0:e.showFullScreen)!=null?l:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(o=e==null?void 0:e.isFixedHeader)!=null?o:!1,this.isShowSelection=(d=e==null?void 0:e.isShowSelection)!=null?d:!1,this.isAllLoaded=(v=e==null?void 0:e.isAllLoaded)!=null?v:!0,this.countType=e==null?void 0:e.countType}}An.Rules=Qb,An.RuntimeRules=Xb;class zi extends K{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}}zi.excludes=[C.ROW],zi.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"],zi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class Jb extends Q{constructor(e){super(e),this.props=new An(e==null?void 0:e.props)}static get controlType(){return"list-view"}}var Nc={Designer:zi,Runtime:Jb,Property:An};class Zb extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class Gi extends q{constructor(e){var n,i,u,a,r,l;super(e),this.save=new Re((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new Re((i=e==null?void 0:e.cancel)!=null?i:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new Re((u=e==null?void 0:e.saveAs)!=null?u:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new Re((a=e==null?void 0:e.print)!=null?a:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((r=e==null?void 0:e.custom)!=null?r:[]).map(s=>new Re(s)),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.datasourceBind=new Z(e==null?void 0:e.datasourceBind)}}Gi.RuntimeRules=Zb;class Lc extends K{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}}Lc.excludes=[];class Yb extends Q{constructor(e){super(e),this.props=new Gi(e==null?void 0:e.props)}static get controlType(){return"data-view"}}var $c={Designer:Lc,Runtime:Yb,Property:Gi};class pb extends K{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class eE extends Q{static get controlType(){return"page"}constructor(e){super(e)}}class tE extends q{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 Vc={Designer:pb,Runtime:eE,Property:tE};class nE extends K{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class iE extends Q{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class uE extends q{constructor(e){super(e),this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ql(e==null?void 0:e.flexConfig)}}var Hc={Designer:nE,Runtime:iE,Property:uE};class aE extends K{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class rE extends Q{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class lE extends q{constructor(e){super(e)}}var qc={Designer:aE,Runtime:rE,Property:lE};class oE extends K{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class cE extends Q{static get controlType(){return"position"}constructor(e){super(e)}}class sE extends q{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 jc={Designer:oE,Runtime:cE,Property:sE},dE=Object.freeze({__proto__:null,Grid:_c,Col:Cc,Row:Ic,GridRow:Sc,CardGroup:Ac,SubTableColumn:Bc,SubTableRow:Rc,GridTableColumn:Dc,Tab:Fc,TabPane:xc,Toolbox:Mc,ListView:Nc,DataView:$c,Page:Vc,AdvancedContainer:Hc,PositioningContainer:qc,Position:jc});class fE extends U{constructor(e){super(e),this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0)}}class hE extends qe{constructor(e){super(e),e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,i,u){i.length<e.limitRows&&u(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),u()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class Tn extends Jn{constructor(e,n){var i,u,a,r,l,s,o,d,v,b,w,I,E,S,m,_,B,D,F,ce,O,se,Bn,Ie,ru,Rn,wt,Se;super(e,n),this.caption=(i=n==null?void 0:n.caption)!=null?i:Xi.controlName,this.isHideCaption=(u=n==null?void 0:n.isHideCaption)!=null?u:!1,this.defaultState=(a=n==null?void 0:n.defaultState)!=null?a:"default",this.labelPosition=(r=n==null?void 0:n.labelPosition)!=null?r:"top",this.openType=(l=n==null?void 0:n.openType)!=null?l:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(o=n==null?void 0:n.useCustomHeight)!=null?o:!1,this.maxHeight=(d=n==null?void 0:n.maxHeight)!=null?d:Vl,this.printMode=(v=n==null?void 0:n.printMode)!=null?v:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(w=n==null?void 0:n.maxRows)!=null?w:null,this.defaultRows=(I=n==null?void 0:n.defaultRows)!=null?I:1,this.datasourceBind=new Z(n==null?void 0:n.datasourceBind),this.canAdd=(E=n==null?void 0:n.canAdd)!=null?E:!0,this.canDelete=(S=n==null?void 0:n.canDelete)!=null?S:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(_=n==null?void 0:n.canEdit)!=null?_:!1,this.canImport=(B=n==null?void 0:n.canImport)!=null?B:!1,this.canExport=(D=n==null?void 0:n.canExport)!=null?D:!1,this.canClear=(F=n==null?void 0:n.canClear)!=null?F:!0,this.serverPagination=(ce=n==null?void 0:n.serverPagination)!=null?ce:!1,this.isShowCaptionTip=(O=n==null?void 0:n.isShowCaptionTip)!=null?O:!1,this.captionTip=(se=n==null?void 0:n.captionTip)!=null?se:"",this.mobileShowType=(Bn=n==null?void 0:n.mobileShowType)!=null?Bn:"list",this.mobileDefaultNum=(Ie=n==null?void 0:n.mobileDefaultNum)!=null?Ie:10,this.dataStorageDoc=(ru=n==null?void 0:n.dataStorageDoc)!=null?ru:new My,this.fixedColumn=(Rn=n==null?void 0:n.fixedColumn)!=null?Rn:[],this.mobileRowCaption=(wt=n==null?void 0:n.mobileRowCaption)!=null?wt:"\u660E\u7EC6",this.mobileIsTile=(Se=n==null?void 0:n.mobileIsTile)!=null?Se:!1}}Tn.Rules=fE,Tn.RuntimeRules=hE;class Xi extends ua{constructor(e){var n;super(e),this.props=new Tn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new me,new me,new me])}static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}addColumn(e,n){const i=e!==void 0&&typeof e!="number"?e:new me,u=typeof e=="number"?e:n;return u===void 0?this.props.headers.push(i):this.props.headers.splice(u,0,i),i}}Xi.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Xi.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class yE extends Sl{constructor(e){super(e),this.props=new Tn(this,e==null?void 0:e.props)}static get controlType(){return"subtable"}getChildrenDataSourceBindLayout(){Bt("Method not implemented.")}getChildrenFormControl(){return[]}}var Uc={Designer:Xi,Runtime:yE,Property:Tn};class Xa extends Jn{constructor(e,n){var i,u,a,r;super(e,n),this.isFixedHeader=(i=n==null?void 0:n.isFixedHeader)!=null?i:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(u=n==null?void 0:n.isShowToolbar)!=null?u:!0,this.isShowSelection=(a=n==null?void 0:n.isShowSelection)!=null?a:!1,this.isShowCustomColumns=(r=n==null?void 0:n.isShowCustomColumns)!=null?r:!0}}class mE extends Ce{constructor(e){super(e),this.caption.required=!1}}class Qi extends z{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(i=e==null?void 0:e.caption)!=null?i:Qe.controlName,this.width=(u=e==null?void 0:e.width)!=null?u:60,this.autoWidth.minWidth=(r=(a=e==null?void 0:e.autoWidth)==null?void 0:a.minWidth)!=null?r:60,this.autoWidth.flex=(s=(l=e==null?void 0:e.autoWidth)==null?void 0:l.flex)!=null?s:.4,this.widthType=(o=e==null?void 0:e.widthType)!=null?o:"px"}}Qi.Rules=mE;class Qe extends ee{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Qe.controlType="order-column",Qe.controlName="\u5E8F\u53F7",Qe.controlIcon="order-column",Qe.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Qa extends te{constructor(e){super(e),this.props=new Qi(e==null?void 0:e.props)}}Qa.controlType="order-column",Qa.controlFieldType=g.DECIMAL;var Wc={Designer:Qe,Runtime:Qa,Property:Qi};class Ja extends z{constructor(e){var n,i,u,a,r,l;super(e),this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(u=(i=e==null?void 0:e.autoWidth)==null?void 0:i.minWidth)!=null?u:84,this.caption=(a=e==null?void 0:e.caption)!=null?a:we.controlName,this.showType=(r=e==null?void 0:e.showType)!=null?r:"icon",this.limit=(l=e==null?void 0:e.limit)!=null?l:3}}class we extends ee{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===Ci.controlType){const i=n;e.props[i.props.command]=i.props}}),e}toSchema(){const e=super.toSchema();return Pn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){return Er(this,null,function*(){return yield br(we.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}we.controlType="operation-column",we.controlName="\u64CD\u4F5C",we.controlIcon="operation-column",we.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class Za extends te{constructor(e){super(e),this.props=new Ja(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}Za.controlType="operation-column",Za.controlFieldType=g.FILE;var Kc={Designer:we,Runtime:Za,Property:Ja};class Ji extends ua{constructor(e){super(e),this.props=new Xa(this,e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new Qe,new we])}static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}toSchema(){const e=super.toSchema(),n=this.children.map(i=>i.toSchema());return Pn(Ae({},e),{children:n})}validate(e,n){return Er(this,null,function*(){return yield br(Ji.prototype,this,"validate").call(this,e,n),yield Promise.all(this.children.map(i=>i.validate(e,n))),!0})}}Ji.setting=[{key:"list-fixed-header",visible:!0}];class vE extends Sl{constructor(e){super(e),this.props=new Xa(this,e==null?void 0:e.props)}static get controlType(){return"grid-table"}getChildrenDataSourceBindLayout(){Bt("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var zc={Designer:Ji,Runtime:vE,Property:Xa},gE=Object.freeze({__proto__:null,SubTable:Uc,GridTable:zc});class bE extends Al{constructor(e){super(e),Ue.call(this,e)}}class Zi extends z{constructor(e){var n,i,u,a,r;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=Ee((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=(r=e==null?void 0:e.lineEllipsis)!=null?r:1}}Zi.Rules=bE;class Je extends ee{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Je.controlType="varchar-column",Je.controlName="\u77ED\u6587\u672C",Je.controlIcon="varchar-column",Je.controlFieldType=g.VARCHAR,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ya extends te{constructor(e){super(e),this.props=new Zi(e==null?void 0:e.props)}}Ya.controlType="varchar-column",Ya.controlFieldType=g.VARCHAR;var Gc={Designer:Je,Runtime:Ya,Property:Zi};class EE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class Yi extends z{constructor(e){var n,i,u,a;super(e),this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(i=e==null?void 0:e.caption)!=null?i:Ze.controlName,this.lineEllipsis=(u=e==null?void 0:e.lineEllipsis)!=null?u:1,this.showLinkOperation=(a=e==null?void 0:e.showLinkOperation)!=null?a:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}Yi.Rules=EE;class Ze extends ee{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:i}=this.props;n.props.escapeHTML=i}return n}}Ze.controlType="text-column",Ze.controlName="\u957F\u6587\u672C",Ze.controlIcon="text-column",Ze.controlFieldType=g.TEXT,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class pa extends te{constructor(e){super(e),this.props=new Yi(e==null?void 0:e.props)}}pa.controlType="text-column",pa.controlFieldType=g.TEXT;var Xc={Designer:Ze,Runtime:pa,Property:Yi};class _E extends Ce{constructor(e){super(e),Ue.call(this,e)}}class pi extends z{constructor(e){var n,i,u,a,r,l,s;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ye.controlName,this.precision=(i=e==null?void 0:e.precision)!=null?i:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.percentageFormat=(a=e==null?void 0:e.percentageFormat)!=null?a:!1,this.optionConfig=(r=e==null?void 0:e.optionConfig)!=null?r:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=Ee((l=e==null?void 0:e.options)!=null?l:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}pi.Rules=_E;class Ye extends ee{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:i,micrometer:u}=this.props;i!==""&&(n.props.precision=i),n.props.micrometer=u}return n}}Ye.controlType="decimal-column",Ye.controlName="\u6570\u503C",Ye.controlIcon="decimal-column",Ye.controlFieldType=g.DECIMAL,Ye.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class er extends te{constructor(e){super(e),this.props=new pi(e==null?void 0:e.props)}}er.controlType="decimal-column",er.controlFieldType=g.DECIMAL;var Qc={Designer:Ye,Runtime:er,Property:pi};class CE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class eu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:pe.controlName}}eu.Rules=CE;class pe extends ee{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}pe.controlType="timescope-column",pe.controlName="\u65E5\u671F\u533A\u95F4",pe.controlIcon="timescope-column",pe.controlFieldType=g.TIMESCOPE,pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class tr extends te{constructor(e){super(e),this.props=new eu(e==null?void 0:e.props)}}tr.controlType="timescope-column",tr.controlFieldType=g.TIMESCOPE;var Jc={Designer:pe,Runtime:tr,Property:eu};class wE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class tu extends z{constructor(e){var n,i,u;super(e),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Te.DATE,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption),this.caption=(u=e==null?void 0:e.caption)!=null?u:et.controlName}}tu.Rules=wE;class et extends ee{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:i}=this.props;n.props.dateType=i}return n}}et.controlType="timestamp-column",et.controlName="\u65E5\u671F",et.controlIcon="timestamp-column",et.controlFieldType=g.TIMESTAMP,et.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class nr extends te{constructor(e){super(e),this.props=new tu(e==null?void 0:e.props)}}nr.controlType="timestamp-column",nr.controlFieldType=g.TIMESTAMP;var Zc={Designer:et,Runtime:nr,Property:tu};class IE extends Al{constructor(e){super(e)}}class nu extends z{constructor(e){var n,i,u;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:tt.controlName,this.optionConfig=(i=e==null?void 0:e.optionConfig)!=null?i:"none",this.datasourceBind=new Z(e==null?void 0:e.datasourceBind),this.options=Ee((u=e==null?void 0:e.options)!=null?u:[{}])}}nu.Rules=IE;class tt extends ee{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}tt.controlType="array-column",tt.controlName="\u6570\u7EC4",tt.controlIcon="array-column",tt.controlFieldType=g.ARRAY,tt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class ir extends te{constructor(e){super(e),this.props=new nu(e==null?void 0:e.props)}}ir.controlType="array-column",ir.controlFieldType=g.ARRAY;var Yc={Designer:tt,Runtime:ir,Property:nu};class ur extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:nt.controlName,this.displayLevel=(i=e==null?void 0:e.displayLevel)!=null?i:1}}class nt extends ee{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:i}=this.props;n.props.displayLevel=i}return n}}nt.controlType="department-column",nt.controlName="\u90E8\u95E8",nt.controlIcon="department-column",nt.controlFieldType=g.DEPARTMENTS,nt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"department-level",visible:!0},{key:"column-sort",visible:!0}];class ar extends te{constructor(e){super(e),this.props=new ur(e==null?void 0:e.props)}}ar.controlType="department-column",ar.controlFieldType=g.DEPARTMENTS;var pc={Designer:nt,Runtime:ar,Property:ur};class SE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class iu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}iu.Rules=SE;class it extends ee{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}it.controlType="auto-number-column",it.controlName="\u81EA\u52A8\u7F16\u53F7",it.controlIcon="auto-number-column",it.controlFieldType=g.AUTO_NUMBER,it.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class rr extends te{constructor(e){super(e),this.props=new iu(e==null?void 0:e.props)}}rr.controlType="auto-number-column",rr.controlFieldType=g.AUTO_NUMBER;var es={Designer:it,Runtime:rr,Property:iu};class lr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName}}class ut extends ee{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}ut.controlType="file-column",ut.controlName="\u9644\u4EF6",ut.controlIcon="file-column",ut.controlFieldType=g.FILE,ut.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class or extends te{constructor(e){super(e),this.props=new lr(e==null?void 0:e.props)}}or.controlType="file-column",or.controlFieldType=g.FILE;var ts={Designer:ut,Runtime:or,Property:lr};class cr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:at.controlName}}class at extends ee{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}at.controlType="image-column",at.controlName="\u56FE\u7247",at.controlIcon="image-column",at.controlFieldType=g.IMAGE,at.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class sr extends te{constructor(e){super(e),this.props=new cr(e==null?void 0:e.props)}}sr.controlType="image-column",sr.controlFieldType=g.IMAGE;var ns={Designer:at,Runtime:sr,Property:cr};class dr extends z{constructor(e){var n;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:rt.controlName}}class rt extends ee{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}rt.controlType="people-column",rt.controlName="\u4EBA\u5458",rt.controlIcon="people-column",rt.controlFieldType=g.EMPLOYEES,rt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class fr extends te{constructor(e){super(e),this.props=new dr(e==null?void 0:e.props)}}fr.controlType="people-column",fr.controlFieldType=g.EMPLOYEES;var is={Designer:rt,Runtime:fr,Property:dr};class AE extends Ce{constructor(e){super(e),Ue.call(this,e)}}class uu extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:lt.controlName,this.showLinkOperation=(i=e==null?void 0:e.showLinkOperation)!=null?i:!1,this.linkOperationOption=new Ve(e==null?void 0:e.linkOperationOption)}}uu.Rules=AE;class lt extends ee{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}lt.controlType="location-column",lt.controlName="\u5730\u5740",lt.controlIcon="location-column",lt.controlFieldType=g.ADDRESS,lt.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class hr extends te{constructor(e){super(e),this.props=new uu(e==null?void 0:e.props)}}hr.controlType="location-column",hr.controlFieldType=g.ADDRESS;var us={Designer:lt,Runtime:hr,Property:uu};class yr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Ne.controlName,this.fieldCodeList=(i=e==null?void 0:e.fieldCodeList)!=null?i:[]}}const TE=1;class Ne extends ee{constructor(e){super(e);const{excludes:n,childrenMaxLength:i}=new.target;this.props=new yr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children),this.excludes=Be(n),this.childrenMaxLength=i}judgeJoinChildren(e){const n=this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(e);return n&&this.childrenMaxLength>this.children.length}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{fieldCodeList:i}=this.props;n.props.fieldCodeList=i}return n}toSchema(){const e=super.toSchema();return Pn(Ae({},e),{children:this.children.map(n=>n.toSchema())})}}Ne.controlType="custom-column",Ne.controlName="\u81EA\u5B9A\u4E49",Ne.controlIcon="custom-column",Ne.excludes=[],Ne.childrenMaxLength=TE,Ne.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class as extends te{constructor(e){super(e),this.props=new yr(e==null?void 0:e.props),_e(this,"children",e==null?void 0:e.children)}}as.controlType="custom-column";var rs={Designer:Ne,Runtime:as,Property:yr};class mr extends z{constructor(e){var n,i;super(e),this.caption=(n=e==null?void 0:e.caption)!=null?n:Le.controlName,this.datasourceBind=new On((i=e==null?void 0:e.datasourceBind)!=null?i:{attributes:Le.controlCustomAttributes})}}class Le extends ee{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}}Le.controlType="employee-column",Le.controlName="\u4EBA\u5458",Le.controlIcon="employee-column",Le.controlFieldType=g.EMPLOYEES,Le.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class vr extends te{constructor(e){super(e),this.props=new mr(e==null?void 0:e.props)}}vr.controlType="employee-column",vr.controlFieldType=g.EMPLOYEES;var ls={Designer:Le,Runtime:vr,Property:mr},BE=Object.freeze({__proto__:null,VarcharColumn:Gc,TextColumn:Xc,DecimalColumn:Qc,TimescopeColumn:Jc,TimestampColumn:Zc,ArrayColumn:Yc,DepartmentColumn:pc,AutoNumberColumn:es,FileColumn:ts,ImageColumn:ns,PeopleColumn:is,LocationColumn:us,CustomColumn:rs,OrderColumn:Wc,OperationColumn:Kc,EmployeeColumn:ls});class RE extends qe{constructor(e){super(e),this.push({type:"object",fields:{}})}}class au extends va{constructor(e){var n,i,u,a,r,l,s,o;super(e),this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(i=e==null?void 0:e.labelPosition)!=null?i:"top",this.viewType=(u=e==null?void 0:e.viewType)!=null?u:"mini",this.search=new Re((a=e==null?void 0:e.search)!=null?a:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new Re((r=e==null?void 0:e.cancel)!=null?r:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(d=>new Re(d)),this.queryTypeMap=(o=e==null?void 0:e.queryTypeMap)!=null?o:[]}}au.RuntimeRules=RE;class gr extends Zg{constructor(e){super(e),this.props=new au(e==null?void 0:e.props)}}gr.controlType="simple-search",gr.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class os extends u0{constructor(e){var n;super(e),this.props=new au(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}os.controlType="simple-search";var cs={Designer:gr,Runtime:os,Property:au},PE=Object.freeze({__proto__:null,SimpleSearch:cs});y.Address=Uo,y.AdvancedContainer=Hc,y.Amount=Vo,y.ArrayColumn=Yc,y.AssignType=ke,y.Attachment=Mo,y.AutoNumber=Go,y.AutoNumberColumn=es,y.BatchDeleteButton=fo,y.BatchPrintListButton=oo,y.BatchPrintRecordListButton=co,y.BatchSubmissionListButton=Gl,y.Button=kl,y.Calc=Qo,y.CardGroup=Ac,y.Checkbox=vo,y.Col=Cc,y.CreateFormListButton=zl,y.CustomColumn=rs,y.DATE_CONFIG_TYPE=Ml,y.DATE_LIMIT_TYPE=Nl,y.Dashboard=io,y.DataView=$c,y.DatePicker=wo,y.DateRange=So,y.DecimalColumn=Qc,y.Department=Ko,y.Department2=vc,y.DepartmentColumn=pc,y.DepartmentType=oi,y.Divider=Wl,y.ElectronicSignature=fc,y.ElectronicSignatureConfig=Ll,y.Employee=ko,y.Employee2=sc,y.EmployeeColumn=ls,y.EncryptTypeEnum=jl,y.Explain=li,y.ExportListButton=Ql,y.ExportRecordListButton=Jl,y.ExportTemplate=Ba,y.FileColumn=ts,y.FlexStyleConfig=ql,y.FormSelectButton=Yl,y.Grid=_c,y.GridRow=Sc,y.GridTable=zc,y.GridTableColumn=Dc,y.Image=Lo,y.ImageColumn=ns,y.ImportRecordListButton=Zl,y.Input=yo,y.InternalType=Da,y.InvoiceCheckButton=lo,y.LINE_STYLE=Aa,y.LimitDate=ri,y.Link=Ol,y.ListSelectButton=pl,y.ListView=Nc,y.ListViewSelect=ao,y.LocationColumn=us,y.Number=_o,y.OperationButton=so,y.OperationColumn=Kc,y.OrderColumn=Wc,y.OrganizationSelection=bc,y.OrganizeType=Pa,y.Page=Vc,y.Pagination=to,y.PeopleColumn=is,y.Position=jc,y.PositioningContainer=qc,y.PrintTemplate=Hl,y.Radio=bo,y.RichText=Ro,y.Row=Ic,y.SCORE_TYPE=Sa,y.SUBTABLE_DEFAULT_MAX_HEIGHT=Vl,y.Score=qo,y.SearchDateRange=po,y.SearchInput=rc,y.SearchNumberRange=Zo,y.Select=Do,y.SelectMultiple=Fo,y.SelectRelation=ic,y.SimpleSearch=cs,y.SubTable=Uc,y.SubTableColumn=Bc,y.SubTableRow=Rc,y.SubmissionRecordListButton=Xl,y.Tab=Fc,y.TabPane=xc,y.Text=Fl,y.TextColumn=Xc,y.TextOcrButton=ro,y.Textarea=To,y.TimescopeColumn=Jc,y.TimestampColumn=Zc,y.Title=Kl,y.TitleConfigEnum=Oe,y.Toolbox=Mc,y.Tree=oc,y.UndersignedPerson=Ta,y.VarcharColumn=Gc,y.VueFormItem=tc,y.WPS=yc,y.WPSSetting=$l,y.WpsOperationItem=Ra,y.baseControls=H0,y.columnControls=BE,y.formControls=kb,y.initExpression=kt,y.layoutControls=dE,y.listControls=gE,y.searchControls=PE,Object.defineProperty(y,"__esModule",{value:!0})});
|
|
1
|
+
var eE=Object.defineProperty,tE=Object.defineProperties;var nE=Object.getOwnPropertyDescriptors;var xc=Object.getOwnPropertySymbols;var iE=Object.prototype.hasOwnProperty,uE=Object.prototype.propertyIsEnumerable;var kc=(h,N,U)=>N in h?eE(h,N,{enumerable:!0,configurable:!0,writable:!0,value:U}):h[N]=U,be=(h,N)=>{for(var U in N||(N={}))iE.call(N,U)&&kc(h,U,N[U]);if(xc)for(var U of xc(N))uE.call(N,U)&&kc(h,U,N[U]);return h},mn=(h,N)=>tE(h,nE(N));var qa=(h,N,U)=>new Promise((ae,vn)=>{var qi=de=>{try{dt(U.next(de))}catch(ft){vn(ft)}},Ui=de=>{try{dt(U.throw(de))}catch(ft){vn(ft)}},dt=de=>de.done?ae(de.value):Promise.resolve(de.value).then(qi,Ui);dt((U=U.apply(h,N)).next())});(function(h,N){typeof exports=="object"&&typeof module!="undefined"?N(exports,require("regenerator-runtime")):typeof define=="function"&&define.amd?define(["exports","regenerator-runtime"],N):(h=typeof globalThis!="undefined"?globalThis:h||self,N(h.modelDrivenControls={},h.regeneratorRuntime))})(this,function(h,N){"use strict";function U(t){return t&&typeof t=="object"&&"default"in t?t:{default:t}}var ae=U(N),vn="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u5B57",qi="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5B57\u7B26\u4E32",Ui="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5BF9\u8C61",dt="\u8BF7\u8F93\u5165\u4E00\u4E2A\u6570\u7EC4",de="\u8BF7\u8F93\u5165\u4E00\u4E2A\u5E03\u5C14",ft="{caption}\u5FC5\u586B",Oc="\u8BF7\u8F93\u5165\u6807\u9898",Mc="\u8BF7\u8F93\u5165\u6C14\u6CE1\u63D0\u793A\u8BED",Nc="\u8BF7\u8F93\u5165\u884C\u6807\u9898",Lc="\u8BF7\u8F93\u5165\u63D0\u793A\u6587\u5B57",$c="\u8BF7\u7ED1\u5B9A\u6570\u636E\u9879",Vc="\u8BF7\u7ED1\u5B9A\u8868\u5355",Hc="\u8BF7\u7ED1\u5B9A\u5217\u8868",jc="\u8BF7\u7ED1\u5B9A\u6D41\u7A0B",qc="\u8BF7\u8F93\u5165\u663E\u793A\u503C",Uc="\u8BF7\u8F93\u5165\u5B58\u50A8\u503C",Wc="\u5355\u636E\u7F16\u53F7\u672A\u7ED1\u5B9A\u6570\u636E\u9879",Kc="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5\uFF01",zc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Gc="\u8BF7\u8F93\u5165\u5927\u4E8E\u7B49\u4E8E{min}\u7684\u6570\u503C",Xc="\u8BF7\u8F93\u5165\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u6570\u503C",Qc="\u6570\u503C\u8303\u56F4\u8BBE\u7F6E\u6709\u8BEF",Jc="\u8BF7\u8F93\u5165\u957F\u5EA6\u5927\u4E8E\u7B49\u4E8E{min}\u4E14\u5C0F\u4E8E\u7B49\u4E8E{max}\u7684\u503C",Zc="\u9644\u4EF6\u5927\u5C0F\u5FC5\u987B\u57280MB\u81F31000MB\u4E4B\u95F4",Yc="\u8BF7\u586B\u5199\u603B\u5206\u8BBE\u7F6E",pc="\u603B\u5206\u4E0D\u80FD\u5C0F\u4E8E1",es="\u9ED8\u8BA4\u503C\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ts="\u9644\u4EF6\u4E0A\u4F20\u7684\u6570\u91CF\u5FC5\u987B\u5728{min}\u548C{max}\u4E4B\u95F4",ns="\u8BF7\u91CD\u65B0\u9009\u62E9\u53EF\u9009\u6570\u91CF",is="\u8BE5\u63A7\u4EF6\u6700\u5927\u957F\u5EA6\u9700\u5927\u4E8E\u6700\u5C0F\u957F\u5EA6",us="\u8BE5\u63A7\u4EF6\u6700\u5C0F\u957F\u5EA6\u9700\u5C0F\u4E8E\u6700\u5927\u957F\u5EA6",as="\u8BF7\u9009\u62E9\u6B63\u786E\u7684\u9009\u9879\u8BBE\u7F6E",rs="\u9009\u9879ID\u4E0D\u80FD\u91CD\u590D",ls="\u8BF7\u8F93\u5165\u81F3\u5C11\u4E00\u6761\u9009\u9879",os="\u8BF7\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",cs="\u8BF7\u7ED1\u5B9A\u5B58\u50A8\u503C",ss="\u8BF7\u7ED1\u5B9A\u670D\u52A1",ds="\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",fs="\u8BF7\u9009\u62E9\u7701",hs="\u8BF7\u9009\u62E9\u5E02",ys="\u8BF7\u9009\u62E9\u533A",ms="\u6700\u5C11\u586B\u5199\u884C\u6570\u4E0D\u80FD\u5C0F\u4E8E0",vs="\u884C\u6570\u91CF\u4E0D\u80FD\u5C0F\u4E8E{min}\u884C",gs="\u8BF7\u8F93\u5165\u5217\u5BBD",bs="\u8BF7\u8BBE\u7F6E\u6240\u6709\u89C4\u5219\u6761\u4EF6\u7684\u903B\u8F91\u5173\u7CFB",Es="\u8BF7\u5C06\u6240\u6709\u89C4\u5219\u6761\u4EF6\u586B\u5199\u5B8C\u6574",Cs="\u8BF7\u9009\u62E9\u63A7\u4EF6",ws="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u663E\u793A\u5B57\u6BB5",Is="\u8BF7\u9009\u62E9\u56DE\u586B\u8BBE\u7F6E",Ss="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",As="\u8BF7\u9009\u62E9\u6839\u8282\u70B9",_s="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Ts="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Rs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Bs="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",Ps="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",Ds="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Fs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",xs="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",ks="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",Os="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Ms="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Ns="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Ls="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",$s="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Vs="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Hs="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",js="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",qs={isNotNumber:vn,isNotString:qi,isNotObject:Ui,isNotArray:dt,isNotBoolean:de,runtimeRequired:ft,pleaseEnterCaption:Oc,pleaseEnterCaptionTip:Mc,pleaseEnterRowCaption:Nc,pleaseEnterPlaceholder:Lc,pleaseEnterFieldCode:$c,pleaseEnterForm:Vc,pleaseEnterList:Hc,pleaseEnterProcess:jc,pleaseEnterLabel:qc,pleaseEnterValue:Uc,bizKeyNotBindFiled:Wc,pleaseSelectOneField:Kc,pleaseEnterNumberRange:zc,pleaseEnterAValueGreaterThanMin:Gc,pleaseEnterAValueLessThanMax:Xc,numberRangeSetError:Qc,stringRangeError:Jc,attachmentMaxSize:Zc,pleaseEnterTotalScoreSetting:Yc,theTotalScoreMustNotBeLessThan1:pc,scoreDefaultValueRange:es,attachmentLimitError:ts,PleaseReselectTheOptionalQuantity:ns,TheMaximumLengthIsGreaterThanTheMinimumLength:is,TheMinimumLengthIsGreaterThanTheMaximumLength:us,PleaseSelectTheCorrectOptionSettings:as,optionIdIsRepeat:rs,optionIsRequired:ls,pleaseEnterDataCode:os,pleaseEnterValueFieldCode:cs,pleaseEnterSvcCode:ss,pleaseBindAtLeastOneDisplayValue:ds,pleaseSelectProvince:fs,pleaseSelectCity:hs,pleaseSelectDistrict:ys,limitRowsCannotBeLessThan0:ms,TheNumberOfRowsCannotBeLessThanMinRows:vs,pleaseEnterColumnWidth:gs,pleaseSetTheLogicalRelationshipOfAllRuleConditions:bs,pleaseCompleteAllRulesAndConditions:Es,pleaseSelectControl:Cs,pleaseSelectAtLeastOneColumn:ws,pleaseSelectFillBackMode:Is,pleaseSelectDashboard:Ss,rootNodeIsRequired:As,theViewNameCannotBeEmpty:_s,pleaseSelectOcrType:Ts,pleaseSelectAtLeastOneFieldToFillIn:Rs,pleaseChooseAtLeastOne:Bs,pleaseEnterButtonContent:Ps,pleaseEnterDataCodeInDataSetting:Ds,pleaseEnterValueFieldCodeInDataSetting:Fs,pleaseEnterSvcCodeInDataSetting:xs,pleaseBindAtLeastOneDisplayValueInDataSetting:ks,rootNodeIsRequiredInDataSetting:Os,pleaseEnterMaxHeight:Ms,pleaseEnter:Ns,pleaseEnterWatermark:Ls,pleaseEnterFileName:$s,pleaseUploadAtLeastOnePrintTemplate:Vs,pleaseAssignBusiness:Hs,pleaseAssignExternal:js},Us="Please enter a number",Ws="Please enter a string",Ks="Please enter an object",zs="Please enter an array",Gs="Please enter a boolean",Xs="{caption} Required",Qs="Please enter the title",Js="Please enter the bubble prompt",Zs="Please enter the row title",Ys="Please enter the prompt text",ps="Please bind data items",ed="Please bind the form",td="Please bind the list",nd="Please bind the process",id="Please enter the displayed value",ud="Please enter the stored value",ad="The document number is not bound to the data item",rd="Please select at least one display field",ld="Please enter a value greater than or equal to {min} and less than or equal to {max}",od="Please enter a value greater than or equal to {min}",cd="Please enter a value less than or equal to {max}",sd="The value range is set incorrectly",dd="Please enter a value with a length greater than or equal to {min} and less than or equal to {max}",fd="The attachment size must be between 0MB and 1000MB",hd="Please fill in the total score setting",yd="The total score cannot be less than 1",md="The default value must be between {min} and {max}",vd="The number of attachments uploaded must be between {min} and {max}",gd="Please re-select the optional quantity",bd="The maximum length of the control must be greater than the minimum length",Ed="The minimum length of the control must be less than the maximum length",Cd="Please select the correct option setting",wd="Option ID cannot be repeated",Id="Please enter at least one option",Sd="Please bind the data source",Ad="Please bind the stored value",_d="Please bind the service",Td="At least one display value must be bound",Rd="Please select a province",Bd="Please select a city",Pd="Please select a district",Dd="The minimum number of lines to fill in cannot be less than 0",Fd="The number of rows cannot be less than {min} rows",xd="Please enter the column width",kd="Please set the logical relationship of all rule conditions",Od="Please complete all rules and conditions",Md="please select control",Nd="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Ld="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",$d="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Vd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",Hd="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",jd="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",qd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",Ud="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",Wd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",Kd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",zd="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",Gd="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",Xd="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",Qd="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",Jd="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zd="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",Yd="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",pd="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",ef={isNotNumber:Us,isNotString:Ws,isNotObject:Ks,isNotArray:zs,isNotBoolean:Gs,runtimeRequired:Xs,pleaseEnterCaption:Qs,pleaseEnterCaptionTip:Js,pleaseEnterRowCaption:Zs,pleaseEnterPlaceholder:Ys,pleaseEnterFieldCode:ps,pleaseEnterForm:ed,pleaseEnterList:td,pleaseEnterProcess:nd,pleaseEnterLabel:id,pleaseEnterValue:ud,bizKeyNotBindFiled:ad,pleaseSelectOneField:rd,pleaseEnterNumberRange:ld,pleaseEnterAValueGreaterThanMin:od,pleaseEnterAValueLessThanMax:cd,numberRangeSetError:sd,stringRangeError:dd,attachmentMaxSize:fd,pleaseEnterTotalScoreSetting:hd,theTotalScoreMustNotBeLessThan1:yd,scoreDefaultValueRange:md,attachmentLimitError:vd,PleaseReselectTheOptionalQuantity:gd,TheMaximumLengthIsGreaterThanTheMinimumLength:bd,TheMinimumLengthIsGreaterThanTheMaximumLength:Ed,PleaseSelectTheCorrectOptionSettings:Cd,optionIdIsRepeat:wd,optionIsRequired:Id,pleaseEnterDataCode:Sd,pleaseEnterValueFieldCode:Ad,pleaseEnterSvcCode:_d,pleaseBindAtLeastOneDisplayValue:Td,pleaseSelectProvince:Rd,pleaseSelectCity:Bd,pleaseSelectDistrict:Pd,limitRowsCannotBeLessThan0:Dd,TheNumberOfRowsCannotBeLessThanMinRows:Fd,pleaseEnterColumnWidth:xd,pleaseSetTheLogicalRelationshipOfAllRuleConditions:kd,pleaseCompleteAllRulesAndConditions:Od,pleaseSelectControl:Md,pleaseSelectDashboard:Nd,theViewNameCannotBeEmpty:Ld,pleaseSelectOcrType:$d,pleaseSelectAtLeastOneFieldToFillIn:Vd,pleaseChooseAtLeastOne:Hd,pleaseEnterButtonContent:jd,pleaseEnterDataCodeInDataSetting:qd,pleaseEnterValueFieldCodeInDataSetting:Ud,pleaseEnterSvcCodeInDataSetting:Wd,pleaseBindAtLeastOneDisplayValueInDataSetting:Kd,rootNodeIsRequiredInDataSetting:zd,pleaseEnterMaxHeight:Gd,pleaseEnter:Xd,pleaseEnterWatermark:Qd,pleaseEnterFileName:Jd,pleaseUploadAtLeastOnePrintTemplate:Zd,pleaseAssignBusiness:Yd,pleaseAssignExternal:pd},tf="\u6570\u5B57\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",nf="\u6587\u5B57\u5217\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",uf="\u5BFE\u8C61\u7269\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",af="\u6570\u5B57\u7D44\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",rf="\u30D6\u30FC\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",lf="{caption}\u5FC5\u9808",of="\u30BF\u30A4\u30C8\u30EB\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",cf="\u6C17\u6CE1\u306E\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",sf="\u884C\u30D8\u30C3\u30C0\u30FC\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",df="\u30D2\u30F3\u30C8\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",ff="\u30C7\u30FC\u30BF\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",hf="\u30B7\u30FC\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",yf="\u30EA\u30B9\u30C8\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",mf="\u30D5\u30ED\u30FC\u3092\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",vf="\u8868\u793A\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",gf="\u4FDD\u5B58\u5024\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",bf="\u30B7\u30FC\u30C8\u756A\u53F7\u304C\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3055\u308C\u3066\u3044\u307E\u305B\u3093\u3002",Ef="\u5C11\u306A\u304F\u3068\u30821\u3064\u306E\u8868\u793A\u30D5\u30A3\u30FC\u30EB\u30C9\u3092\u9078\u629E\u3057\u3066\u304F\u3060\u3055\u3044",Cf="{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",wf="{min}\u4EE5\u4E0A\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",If="{max}\u672A\u6E80\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",Sf="\u6570\u5024\u7BC4\u56F2\u8A2D\u5B9A\u30A8\u30E9\u30FC",Af="\u9577\u3055\u304C{min}\u4EE5\u4E0A{max}\u4EE5\u4E0B\u306E\u5024\u3092\u5165\u529B\u3057\u3066\u304F\u3060\u3055\u3044",_f="\u6DFB\u4ED8\u30D5\u30A1\u30A4\u30EB\u306F0MB\u304B\u30891000MB\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Tf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Rf="\u30C8\u30FC\u30BF\u30EB\u70B9\u6570\u306F\uFF11\u4EE5\u4E0A\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Bf="\u57FA\u672C\u8A2D\u5B9A\u5024\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059\u3002",Pf="\u30A2\u30C3\u30D7\u30C7\u30FC\u30C8\u4EF6\u6570\u306F{min}\u304B\u3089{max}\u306E\u9593\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Df="\u6570\u91CF\u3092\u518D\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Ff="\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",xf="\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",kf="\u6B63\u78BA\u306A\u8A2D\u5B9A\u5024\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Of="ID\u306F\u91CD\u8907\u3057\u306A\u3044\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Mf="\u6700\u4F4E\uFF11\u70B9\u3092\u9078\u3076\u3088\u3046\u306B\u304A\u9858\u3044\u3057\u307E\u3059",Nf="\u5143\u30C7\u30FC\u30BF\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Lf="\u4FDD\u5B58\u5024\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",$f="\u30B5\u30FC\u30D3\u30B9\u306B\u30EA\u30F3\u30AF\u3057\u3066\u4E0B\u3055\u3044",Vf="\u8868\u793A\u5024\u3092\u30EA\u30F3\u30AF\u3057\u76F4\u3057\u3057\u3066\u4E0B\u3055\u3044",Hf="\u7701\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",jf="\u5E02\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",qf="\u533A\u3092\u9078\u629E\u3057\u3066\u4E0B\u3055\u3044",Uf="\u6700\u5C0F\u5024\u306F\uFF10\u3088\u308A\u5927\u304D\u304F\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Wf="\u6700\u4F4E\u884C\u6570\u306F{min}\u884C\u3067\u304A\u9858\u3044\u3057\u307E\u3059",Kf="\u5217\u5E45\u3092\u5165\u529B\u3057\u3066\u4E0B\u3055\u3044",zf="\u5168\u3066\u306E\u6761\u4EF6\u306E\u30ED\u30B8\u30C3\u30AF\u3092\u8A2D\u5B9A\u3057\u3066\u4E0B\u3055\u3044",Gf="\u5168\u3066\u306E\u6761\u4EF6\u3092\u5B8C\u6210\u3055\u305B\u3066\u4E0B\u3055\u3044",Xf="please select control",Qf="\u8BF7\u9009\u62E9\u4EEA\u8868\u76D8",Jf="\u89C6\u56FE\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",Zf="\u8BF7\u9009\u62E9\u8BC6\u522B\u7C7B\u578B",Yf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A\u5B57\u6BB5\u8FDB\u884C\u586B\u5145",pf="\u8BF7\u81F3\u5C11\u9009\u62E9\u4E00\u4E2A",eh="\u8BF7\u8F93\u5165\u6309\u94AE\u6807\u9898",th="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u4E1A\u52A1\u6A21\u578B",nh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u5B58\u50A8\u503C",ih="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u7ED1\u5B9A\u670D\u52A1",uh="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u81F3\u5C11\u7ED1\u5B9A\u4E00\u4E2A\u663E\u793A\u503C",ah="\u8BF7\u5728\u6570\u636E\u8BBE\u7F6E\u4E2D\u9009\u62E9\u6839\u8282\u70B9",rh="\u8BF7\u8F93\u5165\u6700\u5927\u9AD8\u5EA6",lh="\u8F93\u5165\u5185\u5BB9\u4E0D\u80FD\u4E3A\u7A7A",oh="\u6C34\u5370\u4E0D\u80FD\u4E3A\u7A7A",ch="\u6587\u4EF6\u540D\u79F0\u4E0D\u80FD\u4E3A\u7A7A",sh="\u8BF7\u81F3\u5C11\u4E0A\u4F20\u4E00\u4E2A\u6253\u5370\u6A21\u7248\uFF01",dh="\u8BF7\u9009\u62E9\u6307\u5B9A\u4E1A\u52A1\u90E8\u95E8",fh="\u8BF7\u9009\u62E9\u6307\u5B9A\u5916\u90E8\u7EC4\u7EC7",hh={isNotNumber:tf,isNotString:nf,isNotObject:uf,isNotArray:af,isNotBoolean:rf,runtimeRequired:lf,pleaseEnterCaption:of,pleaseEnterCaptionTip:cf,pleaseEnterRowCaption:sf,pleaseEnterPlaceholder:df,pleaseEnterFieldCode:ff,pleaseEnterForm:hf,pleaseEnterList:yf,pleaseEnterProcess:mf,pleaseEnterLabel:vf,pleaseEnterValue:gf,bizKeyNotBindFiled:bf,pleaseSelectOneField:Ef,pleaseEnterNumberRange:Cf,pleaseEnterAValueGreaterThanMin:wf,pleaseEnterAValueLessThanMax:If,numberRangeSetError:Sf,stringRangeError:Af,attachmentMaxSize:_f,pleaseEnterTotalScoreSetting:Tf,theTotalScoreMustNotBeLessThan1:Rf,scoreDefaultValueRange:Bf,attachmentLimitError:Pf,PleaseReselectTheOptionalQuantity:Df,TheMaximumLengthIsGreaterThanTheMinimumLength:Ff,TheMinimumLengthIsGreaterThanTheMaximumLength:xf,PleaseSelectTheCorrectOptionSettings:kf,optionIdIsRepeat:Of,optionIsRequired:Mf,pleaseEnterDataCode:Nf,pleaseEnterValueFieldCode:Lf,pleaseEnterSvcCode:$f,pleaseBindAtLeastOneDisplayValue:Vf,pleaseSelectProvince:Hf,pleaseSelectCity:jf,pleaseSelectDistrict:qf,limitRowsCannotBeLessThan0:Uf,TheNumberOfRowsCannotBeLessThanMinRows:Wf,pleaseEnterColumnWidth:Kf,pleaseSetTheLogicalRelationshipOfAllRuleConditions:zf,pleaseCompleteAllRulesAndConditions:Gf,pleaseSelectControl:Xf,pleaseSelectDashboard:Qf,theViewNameCannotBeEmpty:Jf,pleaseSelectOcrType:Zf,pleaseSelectAtLeastOneFieldToFillIn:Yf,pleaseChooseAtLeastOne:pf,pleaseEnterButtonContent:eh,pleaseEnterDataCodeInDataSetting:th,pleaseEnterValueFieldCodeInDataSetting:nh,pleaseEnterSvcCodeInDataSetting:ih,pleaseBindAtLeastOneDisplayValueInDataSetting:uh,rootNodeIsRequiredInDataSetting:ah,pleaseEnterMaxHeight:rh,pleaseEnter:lh,pleaseEnterWatermark:oh,pleaseEnterFileName:ch,pleaseUploadAtLeastOnePrintTemplate:sh,pleaseAssignBusiness:dh,pleaseAssignExternal:fh},yh={zhCN:qs,enUS:ef,jaJP:hh},Ua;(function(t){t.Number="Number",t.Operator="Operator",t.VariableInMainTable="VariableInMainTable",t.VariableInCurrentSubTable="VariableInCurrentSubTable",t.VariableInOtherSubTable="VariableInOtherSubTable",t.UndefinedVariable="UndefinedVariable"})(Ua||(Ua={}));var Wa;(function(t){t.SUM="SUM",t.AVG="AVG",t.MAX="MAX",t.MIN="MIN"})(Wa||(Wa={}));var mh="zh-CN";function ee(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Ka;(function(t){t.BASE="base",t.FORM="form",t.LAYOUT="layout",t.WRAP="wrap",t.COLUMN="column",t.LIST="list",t.SEARCH="search"})(Ka||(Ka={}));var S;(function(t){t.TITLE="title",t.LINK="link",t.BUTTON="button",t.DIVIDER="divider",t.TEXT="text",t.CREATE_FORM_LIST_BUTTON="list-page-btn-create-form",t.BATCH_SUBMISSION_LIST_BUTTON="list-page-btn-batch-submission",t.SUBMISSION_RECORD_LIST_BUTTON="list-page-btn-submission-record",t.IMPORT_RECORD_LIST_BUTTON="list-page-btn-import-record",t.EXPORT_RECORD_LIST_BUTTON="list-page-btn-export-record",t.EXPORT_LIST_BUTTON="list-page-btn-export-list",t.LIST_SELECT_BUTTON="list-select-button",t.ORGANIZATION_SELECTION="organization-selection",t.FORM_SELECT_BUTTON="form-select-button",t.LIST_VIEW_SELECT="list-view-select",t.TEXT_OCR_BUTTON="text-ocr-button",t.INVOICE_CHECK_BUTTON="invoice-check-button",t.LIST_PAGE_BTN_BATCH_PRINT="list-page-btn-batch-print",t.LIST_PAGE_BTN_BATCH_PRINT_RECORD="list-page-btn-batch-print-record",t.VARCHAR_COLUMN="varchar-column",t.TEXT_COLUMN="text-column",t.DECIMAL_COLUMN="decimal-column",t.TIMESCOPE_COLUMN="timescope-column",t.TIMESTAMP_COLUMN="timestamp-column",t.ARRAY_COLUMN="array-column",t.DEPARTMENT_COLUMN="department-column",t.AUTO_NUMBER_COLUMN="auto-number-column",t.FILE_COLUMN="file-column",t.IMAGE_COLUMN="image-column",t.PEOPLE_COLUMN="people-column",t.LOCATION_COLUMN="location-column",t.CUSTOM_COLUMN="custom-column",t.ORDER_COLUMN="order-column",t.OPERATION_COLUMN="operation-column",t.EMPLOYEE_COLUMN="employee-column",t.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.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.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"})(S||(S={}));var g;(function(t){t.VARCHAR="varchar",t.TEXT="text",t.ARRAY="array",t.ADDRESS="location",t.DECIMAL="decimal",t.DECIMAL_RANGE="decimal_range",t.TIMESTAMP="timestamp",t.EMPLOYEES="people",t.DEPARTMENTS="department",t.MONEY="money",t.TIMESCOPE="timescope",t.FILE="file",t.IMAGE="image",t.AUTO_NUMBER="auto_number",t.CALC="calc",t.RELATION="relation",t.LIST="list",t.RELATION_FIELD="relation-field",t.REFERENCE_FIELD="reference-field",t.CALC_FIELD="calc",t.JSON="json",t.BIGINT="bigint",t.ANY="ANY",t.ENCRYPTED_FIELD="encrypted_field"})(g||(g={}));var J;J={},ee(J,g.ARRAY,S.ARRAY_COLUMN),ee(J,g.AUTO_NUMBER,S.AUTO_NUMBER_COLUMN),ee(J,g.DECIMAL,S.DECIMAL_COLUMN),ee(J,g.DEPARTMENTS,S.DEPARTMENT_COLUMN),ee(J,g.FILE,S.FILE_COLUMN),ee(J,g.IMAGE,S.IMAGE_COLUMN),ee(J,g.ADDRESS,S.LOCATION_COLUMN),ee(J,g.EMPLOYEES,S.EMPLOYEE_COLUMN),ee(J,g.TEXT,S.TEXT_COLUMN),ee(J,g.TIMESCOPE,S.TIMESCOPE_COLUMN),ee(J,g.TIMESTAMP,S.TIMESTAMP_COLUMN),ee(J,g.VARCHAR,S.VARCHAR_COLUMN),ee(J,g.RELATION,S.VARCHAR_COLUMN);var Ee;(function(t){t.YEAR="year",t.MONTH="month",t.DATE="date",t.DATEHOUR="datehour",t.DATEMIN="datemin",t.DATETIME="datetime"})(Ee||(Ee={}));var za="abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",vh=za+"0123456789";function fe(){for(var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:15,e="",n=0;n<t;n++){var u=n===0?za:vh,a=Math.random()*u.length;e+=u[parseInt(String(a),10)]}return e}function Wi(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function gh(t){if(Array.isArray(t))return Wi(t)}function bh(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ga(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Eh(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch(t){return!1}}function gn(t,e,n){return Eh()?gn=Reflect.construct:gn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&yt(d,l.prototype),d},gn.apply(null,arguments)}function ht(t){return ht=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},ht(t)}function Xa(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&yt(t,e)}function Ch(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function wh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Ih(){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 Sh(t,e){return e&&(Ah(e)==="object"||typeof e=="function")?e:bh(t)}function yt(t,e){return yt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},yt(t,e)}function Qa(t){return gh(t)||wh(t)||_h(t)||Ih()}var Ah=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _h(t,e){if(!!t){if(typeof t=="string")return Wi(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 Wi(t,e)}}function Ki(t){var e=typeof Map=="function"?new Map:void 0;return Ki=function(u){if(u===null||!Ch(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return gn(u,arguments,ht(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),yt(a,u)},Ki(t)}function Th(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ja(t){var e=Th();return function(){var u=ht(t),a;if(e){var r=ht(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Sh(this,a)}}var zi=console;function Rh(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=zi).warn.apply(u,["\u{1F9D0} Driven Warning:"+e[0]].concat(Qa(a)))}function Za(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u,a=e.slice(1);(u=zi).log.apply(u,["\u{1F680} Driven Log:"+e[0]].concat(Qa(a)))}function Bh(t){return t+" \u{1F41B}\u{1F41B}\u{1F41B}"}var Gi=function(t){Xa(n,t);var e=Ja(n);function n(u){Ga(this,n);var a;return a=e.call(this,u),a.name="\u{1F4A5} Driven Error",a.message=u?Bh(u):"An unknown error occurred in the Driven, please contact the person in charge \u{1F691}\u{1F691}\u{1F691}",a}return n}(Ki(Error)),Ph=function(t){Xa(n,t);var e=Ja(n);function n(u){Ga(this,n);var a;return a=e.call(this,u),a.name="\u{1F6A8} Driven Reference Error",a}return n}(Gi);function Ya(t){throw new Gi(t)}function pa(t){throw new Ph(t)}function Dh(t){zi.error(new Gi(t))}var Fh=Object.prototype.toString;function er(t,e){return Fh.call(t)==="[object "+e+"]"}function xh(t){return er(t,"String")}function kh(t){return er(t,"Promise")}var Oh=function(){function t(e){var n,u;this._messageCache=new Map,this.messages={},this.variableRegExp=/\{([0-9a-zA-Z_]+)\}/g,this._messages=Object.freeze((u=(n=e.messages)!==null&&n!==void 0?n:this.getPreImport(e.locale))!==null&&u!==void 0?u:{}),e.variableRegExp&&(this.variableRegExp=e.variableRegExp),this.setLocale(e.locale)}return t.prototype.setLocale=function(e){var n=this;this.locale=e,this._messageCache.clear();var u=this.getMessageData();kh(u)?u.then(function(a){n._messageCache.clear(),n.messages[n.localeInMessageKey]=a}):this.messages[this.localeInMessageKey]=u},t.prototype.getMessageData=function(){var e=this._messages[this.localeInMessageKey];return typeof e=="function"?e():e},t.prototype.translate=function(e,n,u){var a=this.getMessage(e);return a?this.formatMessage(a,u):this.formatMessage(n,u)},t.prototype.getMessage=function(e){if(this._messageCache.has(e))return this._messageCache.get(e);var n=this.getPathArray(e),u=n.reduce(function(a,r,l,o){if(a!==void 0){var s=a[r];if(!(l===o.length-1&&!xh(s)))return s}},this.message);return this._messageCache.set(e,u),u},t.prototype.formatMessage=function(e,n){return n?e.replace(this.variableRegExp,function(u,a){var r=n[a];return r!==void 0?String(r):u}):e},t.prototype.getPreImport=function(e){var n;if(window.okI18nPreImport){var u=this.getLocaleInMessageKey(e);return window.okI18nPreImport.hasOwnProperty(u)?window.okI18nPreImport:(n={},n[u]=window.okI18nPreImport,n)}},t.prototype.getPathArray=function(e){return e.split(".")},t.prototype.getLocaleInMessageKey=function(e){return e.replace(/-/g,"")},Object.defineProperty(t.prototype,"$t",{get:function(){return this.translate},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"localeInMessageKey",{get:function(){return this.getLocaleInMessageKey(this.locale)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"message",{get:function(){var e;return(e=this.messages[this.localeInMessageKey])!==null&&e!==void 0?e:{}},enumerable:!1,configurable:!0}),t}();function Mh(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function tr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Nh(t,e,n){return e&&tr(t.prototype,e),n&&tr(t,n),t}var f=function(){function t(){Mh(this,t)}return Nh(t,null,[{key:"getMessage",value:function(n){var u=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return this.$i18n.$t(n,"",u)}},{key:"resetI18n",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:mh;return new Oh({locale:n,messages:yh})}},{key:"setLocale",value:function(n){return this.$i18n.setLocale(n)}}]),t}();f.$i18n=f.resetI18n();function Lh(t,e,n){var u=e.replace(/\[(\d)]/g,function(r,l){return"."+l}).split("."),a=!1;return u.reduce(function(r,l,o,s){var d=r;if(!!r){if(!Object.prototype.hasOwnProperty.call(r,l)){Rh("Can not set ".concat(e,"'s ").concat(l," property in current %o, Because there is no ").concat(l," property on the %o"),r,r);return}return o===s.length-1&&!Object.is(d[l],n)&&(d[l]=n,a=!0),d[l]}},t),a}var $h=typeof globalThis!="undefined"?globalThis:typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:{},Vh={exports:{}};(function(t){(function(e){var n=function(m,I,w){if(!d(I)||y(I)||b(I)||C(I)||s(I))return I;var P,x=0,ie=0;if(v(I))for(P=[],ie=I.length;x<ie;x++)P.push(n(m,I[x],w));else{P={};for(var k in I)Object.prototype.hasOwnProperty.call(I,k)&&(P[m(k,w)]=n(m,I[k],w))}return P},u=function(m,I){I=I||{};var w=I.separator||"_",P=I.split||/(?=[A-Z])/;return m.split(P).join(w)},a=function(m){return A(m)?m:(m=m.replace(/[\-_\s]+(.)?/g,function(I,w){return w?w.toUpperCase():""}),m.substr(0,1).toLowerCase()+m.substr(1))},r=function(m){var I=a(m);return I.substr(0,1).toUpperCase()+I.substr(1)},l=function(m,I){return u(m,I).toLowerCase()},o=Object.prototype.toString,s=function(m){return typeof m=="function"},d=function(m){return m===Object(m)},v=function(m){return o.call(m)=="[object Array]"},y=function(m){return o.call(m)=="[object Date]"},b=function(m){return o.call(m)=="[object RegExp]"},C=function(m){return o.call(m)=="[object Boolean]"},A=function(m){return m=m-0,m===m},E=function(m,I){var w=I&&"process"in I?I.process:I;return typeof w!="function"?m:function(P,x){return w(P,m,x)}},_={camelize:a,decamelize:l,pascalize:r,depascalize:l,camelizeKeys:function(m,I){return n(E(a,I),m)},decamelizeKeys:function(m,I){return n(E(l,I),m,I)},pascalizeKeys:function(m,I){return n(E(r,I),m)},depascalizeKeys:function(){return this.decamelizeKeys.apply(this,arguments)}};t.exports?t.exports=_:e.humps=_})($h)})(Vh);var nr={};Object.defineProperty(nr,"__esModule",{value:!0});function Xi(t){if(typeof t!="object"||t===null)return t;if(Array.isArray(t))return t.map(e=>typeof e!="object"||e===null?e:Xi(e));{const e={};for(const n in t){const u=t[n];e[n]=typeof u!="object"||u===null?u:Xi(u)}return e}}var Hh=nr.default=Xi;function Ce(t){if(t!==void 0)return typeof t=="object"?Hh(t):t}function jh(t){return Object.prototype.toString.call(t)==="[object Object]"}function Qi(t){return Array.isArray(t)}function qh(t){return t.reduce(function(e,n){return e.includes(n)||e.push(n),e},[])}function Ji(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Uh(t){if(Array.isArray(t))return Ji(t)}function ir(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Wh(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){ir(r,u,a,l,o,"next",s)}function o(s){ir(r,u,a,l,o,"throw",s)}l(void 0)})}}function Kh(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 u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function zh(t,e,n){return e&&ur(t.prototype,e),n&&ur(t,n),t}function Gh(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Xh(){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 Zi(t){return Uh(t)||Gh(t)||Qh(t)||Xh()}function Qh(t,e){if(!!t){if(typeof t=="string")return Ji(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 Ji(t,e)}}var Jh=function(){function t(){Kh(this,t),this._events=new Map,this.debug=!1}return zh(t,[{key:"emit",value:function(n){for(var u=arguments.length,a=new Array(u>1?u-1:0),r=1;r<u;r++)a[r-1]=arguments[r];var l=this;return Wh(ae.default.mark(function o(){var s,d,v,y,b,C,A,E,_,m;return ae.default.wrap(function(w){for(;;)switch(w.prev=w.next){case 0:if(s=l._events.get(n),d=[],!s){w.next=42;break}v=s.slice(),y=!0,b=!1,C=void 0,w.prev=5,A=v[Symbol.iterator]();case 7:if(y=(E=A.next()).done){w.next=28;break}if(_=E.value,s.includes(_)){w.next=11;break}return w.abrupt("continue",25);case 11:return w.prev=11,l.debug&&Za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"\u3002")].concat(Zi(a))),w.next=15,_.apply(null,Zi(a));case 15:if(m=w.sent,l.debug&&Za.apply(void 0,["\u6B63\u5728\u6267\u884C ".concat(n," \u4E8B\u4EF6: ").concat(_.applyingPluginName?"\u5F53\u524D\u6267\u884C\u7684\u63D2\u4EF6\u4E3A:"+_.applyingPluginName:"",", \u5F53\u524D\u6267\u884C\u51FD\u6570\u7684\u53C2\u6570\u4E3A").concat(a.map(function(){return"%o"}).join(","),"; \u51FD\u6570\u7684\u8FD4\u56DE\u7ED3\u679C\u4E3A%o")].concat(Zi(a),[m])),d.push(m),m!==!1){w.next=20;break}return w.abrupt("break",28);case 20:w.next=25;break;case 22:w.prev=22,w.t0=w.catch(11),Dh(String(w.t0)+":"+String(w.t0.stack));case 25:y=!0,w.next=7;break;case 28:w.next=34;break;case 30:w.prev=30,w.t1=w.catch(5),b=!0,C=w.t1;case 34:w.prev=34,w.prev=35,!y&&A.return!=null&&A.return();case 37:if(w.prev=37,!b){w.next=40;break}throw C;case 40:return w.finish(37);case 41:return w.finish(34);case 42:return w.abrupt("return",d);case 43:case"end":return w.stop()}},o,null,[[5,30,34,42],[11,22],[35,,37,41]])}))()}},{key:"on",value:function(n,u){if(this._events.has(n)){var a;(a=this._events.get(n))===null||a===void 0||a.push(u)}else this._events.set(n,[u])}},{key:"off",value:function(n,u){if(this._events.has(n)){var a=this._events.get(n),r=a==null?void 0:a.indexOf(u);a==null||a.splice(r,1)}}},{key:"delete",value:function(n){this._events.has(n)&&this._events.delete(n)}},{key:"clear",value:function(){this._events=new Map}}]),t}(),Zh=[];new Set(Zh.map(function(t){return t.Designer.controlType}));function ar(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function T(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function bn(t){return bn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},bn(t)}function 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&&Yi(t,e)}function rr(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function Yh(t,e){return e&&(ph(e)==="object"||typeof e=="function")?e:ar(t)}function Yi(t,e){return Yi=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Yi(t,e)}var ph=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ey(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function le(t){var e=ey();return function(){var u=bn(t),a;if(e){var r=bn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Yh(this,a)}}var oe=function t(e){T(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:""},lr=function t(e){T(this,t);var n;this.minWidth=(n=e==null?void 0:e.minWidth)!==null&&n!==void 0?n:150,this.maxWidth=e==null?void 0:e.maxWidth;var u;this.flex=(u=e==null?void 0:e.flex)!==null&&u!==void 0?u:1},pi=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:240;var l;return a.widthType=(l=u==null?void 0:u.widthType)!==null&&l!==void 0?l:"auto",a}return n}(lr),ty=function t(e){T(this,t),this.pc=new pi(e==null?void 0:e.pc),this.mobile=(e==null?void 0:e.mobile)?new pi(e==null?void 0:e.mobile):new pi({width:130,minWidth:180})},ny=function t(e){T(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"firstThree";var u;this.customOptions=(u=e==null?void 0:e.customOptions)!==null&&u!==void 0?u:[]},eu=function t(e){T(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.formKey=(u=e==null?void 0:e.formKey)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:""},iy=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u);var r;return a.primaryControlId=(r=u==null?void 0:u.primaryControlId)!==null&&r!==void 0?r:"",a}return n}(eu),or=function t(e){T(this,t);var n;this.fieldCode=(n=e==null?void 0:e.fieldCode)!==null&&n!==void 0?n:""},tu=function t(e){T(this,t);var n,u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new or(l)}))!==null&&r!==void 0?r:[]},uy=function t(e){T(this,t);var n;this.fieldName=(n=e==null?void 0:e.fieldName)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:g.VARCHAR},ay=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u);var r;a.title=(r=u==null?void 0:u.title)!==null&&r!==void 0?r:"";var l;a.svcCode=(l=u==null?void 0:u.svcCode)!==null&&l!==void 0?l:"";var o;a.isOpenFilter=(o=u==null?void 0:u.isOpenFilter)!==null&&o!==void 0?o:!1;var s;return a.filters=(s=u==null?void 0:u.filters)!==null&&s!==void 0?s:[],a}return n}(eu),ry=function t(e){T(this,t);var n,u;this.type="sublist-page",this.formBind=new eu(e==null?void 0:e.formBind);var a;this.displayFields=(a=e==null||(n=e.displayFields)===null||n===void 0?void 0:n.map(function(l){return new uy(l)}))!==null&&a!==void 0?a:[];var r;this.sublists=(r=e==null||(u=e.sublists)===null||u===void 0?void 0:u.map(function(l){return new ay(l)}))!==null&&r!==void 0?r:[]},ly=function t(e){T(this,t),this.type=e==null?void 0:e.type,this.value=e==null?void 0:e.value},mt=function t(e){T(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"custom";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:[];var a;this.displayBos=(a=e==null?void 0:e.displayBos)!==null&&a!==void 0?a:[]},cr=function t(e){T(this,t),this.type="conditions";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.level=(a=e==null?void 0:e.level)!==null&&a!==void 0?a:0;var r;if(this.value=(r=e==null?void 0:e.value)!==null&&r!==void 0?r:"and",this.children=[],Array.isArray(e==null?void 0:e.children)){var l=this;e==null||e.children.map(function(o){if(o.children!==void 0){var s,d=new t(o);(s=l.children)===null||s===void 0||s.push(d)}else{var v,y=new nu(o);(v=l.children)===null||v===void 0||v.push(y)}})}},nu=function t(e){T(this,t),this.type="condition";var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe();var u;this.ruleId=(u=e==null?void 0:e.ruleId)!==null&&u!==void 0?u:new Date().valueOf();var a;this.symbol=(a=e==null?void 0:e.symbol)!==null&&a!==void 0?a:"";var r;this.checked=(r=e==null?void 0:e.checked)!==null&&r!==void 0?r:!1;var l;this.describe=(l=e==null?void 0:e.describe)!==null&&l!==void 0?l:"",this.leftVariableBo=new ly(e==null?void 0:e.leftVariableBo),this.rightVariableBo=new mt(e==null?void 0:e.rightVariableBo)},p=function t(e){T(this,t);var n;this.controlId=(n=e==null?void 0:e.controlId)!==null&&n!==void 0?n:"";var u;this.fieldCode=(u=e==null?void 0:e.fieldCode)!==null&&u!==void 0?u:"";var a;this.fieldType=(a=e==null?void 0:e.fieldType)!==null&&a!==void 0?a:"";var r;this.propName=(r=e==null?void 0:e.propName)!==null&&r!==void 0?r:""},iu=function t(e){T(this,t);var n;this.type=(n=e==null?void 0:e.type)!==null&&n!==void 0?n:"FIELD";var u;this.value=(u=e==null?void 0:e.value)!==null&&u!==void 0?u:"",this.fieldType=e==null?void 0:e.fieldType},oy=function t(e){T(this,t);var n;this.columnName=(n=e.columnName)!==null&&n!==void 0?n:"";var u;this.desc=(u=e.desc)!==null&&u!==void 0?u:!1};function uu(t){var e,n,u;this.filters=(u=t==null||(e=t.filters)===null||e===void 0?void 0:e.map(function(s){return s.children!==void 0?new cr(s):new nu(s)}))!==null&&u!==void 0?u:[];var a;if(this.viewFilters=(a=t==null||(n=t.viewFilters)===null||n===void 0?void 0:n.map(function(s){return s.children!==void 0?new cr(s):new nu(s)}))!==null&&a!==void 0?a:[],rr(this,z)||rr(this,ru)){var r,l,o;this.orders=(o=(r=t)===null||r===void 0||(l=r.orders)===null||l===void 0?void 0:l.map(function(s){return new oy(s)}))!==null&&o!==void 0?o:[]}}var z=function t(e){T(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.appId=(u=e==null?void 0:e.appId)!==null&&u!==void 0?u:"";var a;this.valueFieldCode=(a=e==null?void 0:e.valueFieldCode)!==null&&a!==void 0?a:"",this.displayBoList=[];var r;if(this.isOpenViewFilters=(r=e==null?void 0:e.isOpenViewFilters)!==null&&r!==void 0?r:0,Array.isArray(e==null?void 0:e.displayBoList)){var l=this;e==null||e.displayBoList.map(function(v){var y;(y=l.displayBoList)===null||y===void 0||y.push(new iu(v))})}var o;this.keywordMapping=(o=e==null?void 0:e.keywordMapping)!==null&&o!==void 0?o:"";var s;this.showOrder=(s=e==null?void 0:e.showOrder)!==null&&s!==void 0?s:!0;var d;this.svcCode=(d=e==null?void 0:e.svcCode)!==null&&d!==void 0?d:"",uu.call(this,e)},au=function t(e){T(this,t);var n;this.dataCode=(n=e==null?void 0:e.dataCode)!==null&&n!==void 0?n:"";var u;this.displayBoList=(u=e==null?void 0:e.displayBoList)!==null&&u!==void 0?u:[]},De=function t(e){T(this,t);var n;this.code=(n=e==null?void 0:e.code)!==null&&n!==void 0?n:"view";var u;this.color=(u=e==null?void 0:e.color)!==null&&u!==void 0?u:"primary";var a;this.command=(a=e==null?void 0:e.command)!==null&&a!==void 0?a:"view";var r;this.confirmMessage=(r=e==null?void 0:e.confirmMessage)!==null&&r!==void 0?r:void 0;var 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;var s;this.icon=(s=e==null?void 0:e.icon)!==null&&s!==void 0?s:"iconliulan1";var d;this.needConfirm=(d=e==null?void 0:e.needConfirm)!==null&&d!==void 0?d:!1;var v;this.openType=(v=e==null?void 0:e.openType)!==null&&v!==void 0?v:"modal";var y;this.priorityProcess=(y=e==null?void 0:e.priorityProcess)!==null&&y!==void 0?y:!0},sr=function t(e){T(this,t);var n,u;this.name=(u=e==null?void 0:e.name)!==null&&u!==void 0?u:"";var a;this.key=(a=e==null?void 0:e.key)!==null&&a!==void 0?a:"";var r;this.value=(r=e==null||(n=e.value)===null||n===void 0?void 0:n.map(function(l){return new iu(l)}))!==null&&r!==void 0?r:[]},En=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a,r;a=e.call(this,u);var l;return a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(o){return new sr(o)}))!==null&&l!==void 0?l:[],a}return n}(z),cy=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a,r;a=e.call(this,u);var l;a.attributes=(l=u==null||(r=u.attributes)===null||r===void 0?void 0:r.map(function(s){return new sr(s)}))!==null&&l!==void 0?l:[];var o;return a.formCode=(o=u==null?void 0:u.formCode)!==null&&o!==void 0?o:"",a}return n}(z),dr=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u),a.rootNode=new mt(u==null?void 0:u.rootNode);var r;return a.filterCode=(r=u==null?void 0:u.filterCode)!==null&&r!==void 0?r:"",a}return n}(En),fr=function t(e){T(this,t);var n,u;this.dataCode=(u=e==null?void 0:e.dataCode)!==null&&u!==void 0?u:"";var a;this.appId=(a=e==null?void 0:e.appId)!==null&&a!==void 0?a:"";var r;this.fillList=(r=e==null||(n=e.fillList)===null||n===void 0?void 0:n.map(function(l){return new p(l)}))!==null&&r!==void 0?r:[]},ru=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;return a=e.call(this,u),uu.call(ar(a),u),a}return n}(fr),hr=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;a=e.call(this,u);var r;a.mode=(r=u==null?void 0:u.mode)!==null&&r!==void 0?r:"current";var l;return a.multiple=(l=u==null?void 0:u.multiple)!==null&&l!==void 0?l:!1,a}return n}(fr),yr=function t(e){T(this,t);var n;this.stencilName=(n=e==null?void 0:e.stencilName)!==null&&n!==void 0?n:"";var u;this.expression=(u=e==null?void 0:e.expression)!==null&&u!==void 0?u:"";var a;this.errMessage=(a=e==null?void 0:e.errMessage)!==null&&a!==void 0?a:""},sy=function t(e){T(this,t);var n;this.id=(n=e==null?void 0:e.id)!==null&&n!==void 0?n:fe(8);var u;this.label=(u=e==null?void 0:e.label)!==null&&u!==void 0?u:"";var a;this.value=(a=e==null?void 0:e.value)!==null&&a!==void 0?a:this.label};function he(t){var e;return(e=t==null?void 0:t.map(function(n){return new sy(n)}))!==null&&e!==void 0?e:[]}var lu=function t(){T(this,t)},dy=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;return a=e.call(this),a.amount=new oe(u==null?void 0:u.amount),a.currency=new oe(u==null?void 0:u.currency),a}return n}(lu),fy=function t(e){T(this,t);var n;this.amount=(n=e==null?void 0:e.amount)!==null&&n!==void 0?n:"";var u;this.currency=(u=e==null?void 0:e.currency)!==null&&u!==void 0?u:Cn.CNY},hy=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;return a=e.call(this),a.min=new oe(u==null?void 0:u.min),a.max=new oe(u==null?void 0:u.max),a}return n}(lu),yy=function t(e){T(this,t);var n;this.min=(n=e==null?void 0:e.min)!==null&&n!==void 0?n:"";var u;this.max=(u=e==null?void 0:e.max)!==null&&u!==void 0?u:""},my=function t(e){T(this,t);var n;this.city=(n=e==null?void 0:e.city)!==null&&n!==void 0?n:"";var u;this.cityDisplay=(u=e==null?void 0:e.cityDisplay)!==null&&u!==void 0?u:"";var a;this.district=(a=e==null?void 0:e.district)!==null&&a!==void 0?a:"";var r;this.districtDisplay=(r=e==null?void 0:e.districtDisplay)!==null&&r!==void 0?r:"";var 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:""},vy=function(t){re(n,t);var e=le(n);function n(u){T(this,n);var a;return a=e.call(this),a.result=new oe(u==null?void 0:u.result),a.unit=new oe(u==null?void 0:u.unit),a}return n}(lu),gy=function t(e){T(this,t);var n;this.result=(n=e==null?void 0:e.result)!==null&&n!==void 0?n:0;var u;this.unit=(u=e==null?void 0:e.unit)!==null&&u!==void 0?u:""},Cn;(function(t){t.CNY="CNY",t.USD="USD",t.JPY="JPY",t.EUR="EUR",t.INR="INR",t.IDR="IDR",t.BRL="BRL",t.AED="AED",t.AUD="AUD",t.CAD="CAD",t.EGP="EGP",t.GBP="GBP",t.ZAR="ZAR",t.KRW="KRW",t.MAD="MAD",t.MXN="MXN",t.MYR="MYR",t.PHP="PHP",t.PLN="PLN",t.RUB="RUB",t.SGD="SGD",t.THB="THB",t.TRY="TRY",t.TWD="TWD",t.VND="VND",t.HKD="HKD",t.IEP="IEP"})(Cn||(Cn={}));var c;(function(t){t.DEFAULT_DISPLAY="defaultDisplay",t.REQUIRED="required",t.IS_HIDE="isHide",t.IS_SHOW_UNIT="isShowUnit",t.IMD_SEARCH="immediatelySearch",t.MULTIPLE="multiple",t.SUBMIT_SELECT_CURRENCY="submitSelectCurrency",t.CAPTION="caption",t.IS_HIDE_CAPTION="isHideCaption",t.DEFAULT_SHOW_OPTIONS="defaultShowOptions",t.CAN_SEARCH="canSearch",t.CAN_CHECK="canCheck",t.CAN_EDIT="canEdit",t.CAN_DELETE="canDelete",t.SHOW_UPPER_CASE="showUpperCase",t.MICROMETER="micrometer",t.PRECISION="precision",t.PERCENTAGE="percentage",t.OPTIONAL_LEVEL="optionalLevel",t.CONTAINS_SUB_NODE="containsSubNode",t.DEFAULT_COLLAPSE="defaultCollapse",t.CAN_VIEW_FORM="canViewForm",t.VIEW_FORM_MODEL_TYPE="viewFormModelType",t.SERVER_PAGINATION="serverPagination",t.IS_SHOW_CAPTION_TIP="isShowCaptionTip",t.ENCRYPTED="encrypted",t.IS_INLINE_EDIT="isInlineEdit",t.REVISIONS_MODE="revisionsMode",t.ALLOW_COPY_OPTIONS="allowCopyOptions"})(c||(c={}));var ou;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.READONLY=1]="READONLY",t[t.EDITABLE=2]="EDITABLE",t[t.PRINT=5]="PRINT"})(ou||(ou={}));var we=function t(e){T(this,t);var n;this.isShow=(n=e==null?void 0:e.isShow)!==null&&n!==void 0?n:!0;var u;this.content=(u=e==null?void 0:e.content)!==null&&u!==void 0?u:"";var a;this.formKey=(a=e==null?void 0:e.formKey)!==null&&a!==void 0?a:"";var r;this.openType=(r=e==null?void 0:e.openType)!==null&&r!==void 0?r:"modal";var 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},by=function t(e){T(this,t);var n,u;this.id=(u=e==null?void 0:e.id)!==null&&u!==void 0?u:fe(8);var a;this.title=(a=e==null?void 0:e.title)!==null&&a!==void 0?a:"";var r;this.headers=(r=e==null||(n=e.headers)===null||n===void 0?void 0:n.map(function(l){return new or(l)}))!==null&&r!==void 0?r:[],uu.call(this,e)},Ey=function t(e){T(this,t);var n;this.width=(n=e==null?void 0:e.width)!==null&&n!==void 0?n:"";var u;this.height=(u=e==null?void 0:e.height)!==null&&u!==void 0?u:"";var a;this.widthConfig=(a=e==null?void 0:e.widthConfig)!==null&&a!==void 0?a:"fill";var r;this.heightConfig=(r=e==null?void 0:e.heightConfig)!==null&&r!==void 0?r:"fill"};function Cy(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function cu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function wy(){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 wn(t,e,n){return wy()?wn=Reflect.construct:wn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&>(d,l.prototype),d},wn.apply(null,arguments)}function vt(t){return vt=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},vt(t)}function Iy(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&>(t,e)}function Sy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function Ay(t,e){return e&&(_y(e)==="object"||typeof e=="function")?e:Cy(t)}function gt(t,e){return gt=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},gt(t,e)}var _y=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function su(t){var e=typeof Map=="function"?new Map:void 0;return su=function(u){if(u===null||!Sy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return wn(u,arguments,vt(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),gt(a,u)},su(t)}function Ty(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Ry(t){var e=Ty();return function(){var u=vt(t),a;if(e){var r=vt(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Ay(this,a)}}var $=function t(e){cu(this,t),this.isHide={type:"boolean"}},Fe=function(t){Iy(n,t);var e=Ry(n);function n(u){return cu(this,n),e.call(this)}return n}(su(Array)),q=function t(e){var n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";cu(this,t);var u;this.isHide=(u=e==null?void 0:e.isHide)!==null&&u!==void 0?u:!1,this.style=new Ey(e==null?void 0:e.style);var a;this.caption=(a=e==null?void 0:e.caption)!==null&&a!==void 0?a:n};q.Rules=$,q.RuntimeRules=Fe;function se(){return se=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var u in n)Object.prototype.hasOwnProperty.call(n,u)&&(t[u]=n[u])}return t},se.apply(this,arguments)}function By(t,e){t.prototype=Object.create(e.prototype),t.prototype.constructor=t,t.__proto__=e}function du(t){return du=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},du(t)}function In(t,e){return In=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},In(t,e)}function Py(){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 Sn(t,e,n){return Py()?Sn=Reflect.construct:Sn=function(a,r,l){var o=[null];o.push.apply(o,r);var s=Function.bind.apply(a,o),d=new s;return l&&In(d,l.prototype),d},Sn.apply(null,arguments)}function Dy(t){return Function.toString.call(t).indexOf("[native code]")!==-1}function fu(t){var e=typeof Map=="function"?new Map:void 0;return fu=function(u){if(u===null||!Dy(u))return u;if(typeof u!="function")throw new TypeError("Super expression must either be null or a function");if(typeof e!="undefined"){if(e.has(u))return e.get(u);e.set(u,a)}function a(){return Sn(u,arguments,du(this).constructor)}return a.prototype=Object.create(u.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}),In(a,u)},fu(t)}var Fy=/%[sdj%]/g,mr=function(){};typeof process!="undefined"&&process.env&&process.env.NODE_ENV!=="production"&&typeof window!="undefined"&&typeof document!="undefined"&&(mr=function(e,n){typeof console!="undefined"&&console.warn&&n.every(function(u){return typeof u=="string"})&&console.warn(e,n)});function hu(t){if(!t||!t.length)return null;var e={};return t.forEach(function(n){var u=n.field;e[u]=e[u]||[],e[u].push(n)}),e}function te(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];var u=1,a=e[0],r=e.length;if(typeof a=="function")return a.apply(null,e.slice(1));if(typeof a=="string"){var l=String(a).replace(Fy,function(o){if(o==="%%")return"%";if(u>=r)return o;switch(o){case"%s":return String(e[u++]);case"%d":return Number(e[u++]);case"%j":try{return JSON.stringify(e[u++])}catch(s){return"[Circular]"}break;default:return o}});return l}return a}function xy(t){return t==="string"||t==="url"||t==="hex"||t==="email"||t==="date"||t==="pattern"}function V(t,e){return!!(t==null||e==="array"&&Array.isArray(t)&&!t.length||xy(e)&&typeof t=="string"&&!t)}function ky(t,e,n){var u=[],a=0,r=t.length;function l(o){u.push.apply(u,o),a++,a===r&&n(u)}t.forEach(function(o){e(o,l)})}function vr(t,e,n){var u=0,a=t.length;function r(l){if(l&&l.length){n(l);return}var o=u;u=u+1,o<a?e(t[o],r):n([])}r([])}function Oy(t){var e=[];return Object.keys(t).forEach(function(n){e.push.apply(e,t[n])}),e}var gr=function(t){By(e,t);function e(n,u){var a;return a=t.call(this,"Async Validation Error")||this,a.errors=n,a.fields=u,a}return e}(fu(Error));function My(t,e,n,u){if(e.first){var a=new Promise(function(y,b){var C=function(_){return u(_),_.length?b(new gr(_,hu(_))):y()},A=Oy(t);vr(A,n,C)});return a.catch(function(y){return y}),a}var r=e.firstFields||[];r===!0&&(r=Object.keys(t));var l=Object.keys(t),o=l.length,s=0,d=[],v=new Promise(function(y,b){var C=function(E){if(d.push.apply(d,E),s++,s===o)return u(d),d.length?b(new gr(d,hu(d))):y()};l.length||(u(d),y()),l.forEach(function(A){var E=t[A];r.indexOf(A)!==-1?vr(E,n,C):ky(E,n,C)})});return v.catch(function(y){return y}),v}function br(t){return function(e){return e&&e.message?(e.field=e.field||t.fullField,e):{message:typeof e=="function"?e():e,field:e.field||t.fullField}}}function Er(t,e){if(e){for(var n in e)if(e.hasOwnProperty(n)){var u=e[n];typeof u=="object"&&typeof t[n]=="object"?t[n]=se(se({},t[n]),u):t[n]=u}}return t}function Cr(t,e,n,u,a,r){t.required&&(!n.hasOwnProperty(t.field)||V(e,r||t.type))&&u.push(te(a.messages.required,t.fullField))}function Ny(t,e,n,u,a){(/^\s+$/.test(e)||e==="")&&u.push(te(a.messages.whitespace,t.fullField))}var yu={email:/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,url:new RegExp("^(?!mailto:)(?:(?:http|https|ftp)://|//)(?:\\S+(?::\\S*)?@)?(?:(?:(?:[1-9]\\d?|1\\d\\d|2[01]\\d|22[0-3])(?:\\.(?:1?\\d{1,2}|2[0-4]\\d|25[0-5])){2}(?:\\.(?:[0-9]\\d?|1\\d\\d|2[0-4]\\d|25[0-4]))|(?:(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)(?:\\.(?:[a-z\\u00a1-\\uffff0-9]+-*)*[a-z\\u00a1-\\uffff0-9]+)*(?:\\.(?:[a-z\\u00a1-\\uffff]{2,})))|localhost)(?::\\d{2,5})?(?:(/|\\?|#)[^\\s]*)?$","i"),hex:/^#?([a-f0-9]{6}|[a-f0-9]{3})$/i},bt={integer:function(e){return bt.number(e)&&parseInt(e,10)===e},float:function(e){return bt.number(e)&&!bt.integer(e)},array:function(e){return Array.isArray(e)},regexp:function(e){if(e instanceof RegExp)return!0;try{return!!new RegExp(e)}catch(n){return!1}},date:function(e){return typeof e.getTime=="function"&&typeof e.getMonth=="function"&&typeof e.getYear=="function"&&!isNaN(e.getTime())},number:function(e){return isNaN(e)?!1:typeof e=="number"},object:function(e){return typeof e=="object"&&!bt.array(e)},method:function(e){return typeof e=="function"},email:function(e){return typeof e=="string"&&!!e.match(yu.email)&&e.length<255},url:function(e){return typeof e=="string"&&!!e.match(yu.url)},hex:function(e){return typeof e=="string"&&!!e.match(yu.hex)}};function Ly(t,e,n,u,a){if(t.required&&e===void 0){Cr(t,e,n,u,a);return}var r=["integer","float","array","regexp","object","method","email","number","date","url","hex"],l=t.type;r.indexOf(l)>-1?bt[l](e)||u.push(te(a.messages.types[l],t.fullField,t.type)):l&&typeof e!==t.type&&u.push(te(a.messages.types[l],t.fullField,t.type))}function $y(t,e,n,u,a){var r=typeof t.len=="number",l=typeof t.min=="number",o=typeof t.max=="number",s=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,d=e,v=null,y=typeof e=="number",b=typeof e=="string",C=Array.isArray(e);if(y?v="number":b?v="string":C&&(v="array"),!v)return!1;C&&(d=e.length),b&&(d=e.replace(s,"_").length),r?d!==t.len&&u.push(te(a.messages[v].len,t.fullField,t.len)):l&&!o&&d<t.min?u.push(te(a.messages[v].min,t.fullField,t.min)):o&&!l&&d>t.max?u.push(te(a.messages[v].max,t.fullField,t.max)):l&&o&&(d<t.min||d>t.max)&&u.push(te(a.messages[v].range,t.fullField,t.min,t.max))}var Ye="enum";function Vy(t,e,n,u,a){t[Ye]=Array.isArray(t[Ye])?t[Ye]:[],t[Ye].indexOf(e)===-1&&u.push(te(a.messages[Ye],t.fullField,t[Ye].join(", ")))}function Hy(t,e,n,u,a){if(t.pattern){if(t.pattern instanceof RegExp)t.pattern.lastIndex=0,t.pattern.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern));else if(typeof t.pattern=="string"){var r=new RegExp(t.pattern);r.test(e)||u.push(te(a.messages.pattern.mismatch,t.fullField,e,t.pattern))}}}var R={required:Cr,whitespace:Ny,type:Ly,range:$y,enum:Vy,pattern:Hy};function jy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();R.required(t,e,u,r,a,"string"),V(e,"string")||(R.type(t,e,u,r,a),R.range(t,e,u,r,a),R.pattern(t,e,u,r,a),t.whitespace===!0&&R.whitespace(t,e,u,r,a))}n(r)}function qy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}function Uy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e===""&&(e=void 0),V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function Wy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}function Ky(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),V(e)||R.type(t,e,u,r,a)}n(r)}function zy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function Gy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function Xy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(e==null&&!t.required)return n();R.required(t,e,u,r,a,"array"),e!=null&&(R.type(t,e,u,r,a),R.range(t,e,u,r,a))}n(r)}function Qy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R.type(t,e,u,r,a)}n(r)}var Jy="enum";function Zy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a),e!==void 0&&R[Jy](t,e,u,r,a)}n(r)}function Yy(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"string")&&!t.required)return n();R.required(t,e,u,r,a),V(e,"string")||R.pattern(t,e,u,r,a)}n(r)}function py(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e,"date")&&!t.required)return n();if(R.required(t,e,u,r,a),!V(e,"date")){var o;e instanceof Date?o=e:o=new Date(e),R.type(t,o,u,r,a),o&&R.range(t,o.getTime(),u,r,a)}}n(r)}function em(t,e,n,u,a){var r=[],l=Array.isArray(e)?"array":typeof e;R.required(t,e,u,r,a,l),n(r)}function mu(t,e,n,u,a){var r=t.type,l=[],o=t.required||!t.required&&u.hasOwnProperty(t.field);if(o){if(V(e,r)&&!t.required)return n();R.required(t,e,u,l,a,r),V(e,r)||R.type(t,e,u,l,a)}n(l)}function tm(t,e,n,u,a){var r=[],l=t.required||!t.required&&u.hasOwnProperty(t.field);if(l){if(V(e)&&!t.required)return n();R.required(t,e,u,r,a)}n(r)}var Et={string:jy,method:qy,number:Uy,boolean:Wy,regexp:Ky,integer:zy,float:Gy,array:Xy,object:Qy,enum:Zy,pattern:Yy,date:py,url:mu,hex:mu,email:mu,required:em,any:tm};function vu(){return{default:"Validation error on field %s",required:"%s is required",enum:"%s must be one of %s",whitespace:"%s cannot be empty",date:{format:"%s date %s is invalid for format %s",parse:"%s date could not be parsed, %s is invalid ",invalid:"%s date %s is invalid"},types:{string:"%s is not a %s",method:"%s is not a %s (function)",array:"%s is not an %s",object:"%s is not an %s",number:"%s is not a %s",date:"%s is not a %s",boolean:"%s is not a %s",integer:"%s is not an %s",float:"%s is not a %s",regexp:"%s is not a valid %s",email:"%s is not a valid %s",url:"%s is not a valid %s",hex:"%s is not a valid %s"},string:{len:"%s must be exactly %s characters",min:"%s must be at least %s characters",max:"%s cannot be longer than %s characters",range:"%s must be between %s and %s characters"},number:{len:"%s must equal %s",min:"%s cannot be less than %s",max:"%s cannot be greater than %s",range:"%s must be between %s and %s"},array:{len:"%s must be exactly %s in length",min:"%s cannot be less than %s in length",max:"%s cannot be greater than %s in length",range:"%s must be between %s and %s in length"},pattern:{mismatch:"%s value %s does not match pattern %s"},clone:function(){var e=JSON.parse(JSON.stringify(this));return e.clone=this.clone,e}}}var gu=vu();function Ie(t){this.rules=null,this._messages=gu,this.define(t)}Ie.prototype={messages:function(e){return e&&(this._messages=Er(vu(),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,u;for(n in e)e.hasOwnProperty(n)&&(u=e[n],this.rules[n]=Array.isArray(u)?u:[u])},validate:function(e,n,u){var a=this;n===void 0&&(n={}),u===void 0&&(u=function(){});var r=e,l=n,o=u;if(typeof l=="function"&&(o=l,l={}),!this.rules||Object.keys(this.rules).length===0)return o&&o(),Promise.resolve();function s(E){var _,m=[],I={};function w(P){if(Array.isArray(P)){var x;m=(x=m).concat.apply(x,P)}else m.push(P)}for(_=0;_<E.length;_++)w(E[_]);m.length?I=hu(m):(m=null,I=null),o(m,I)}if(l.messages){var d=this.messages();d===gu&&(d=vu()),Er(d,l.messages),l.messages=d}else l.messages=this.messages();var v,y,b={},C=l.keys||Object.keys(this.rules);C.forEach(function(E){v=a.rules[E],y=r[E],v.forEach(function(_){var m=_;typeof m.transform=="function"&&(r===e&&(r=se({},r)),y=r[E]=m.transform(y)),typeof m=="function"?m={validator:m}:m=se({},m),m.validator=a.getValidationMethod(m),m.field=E,m.fullField=m.fullField||E,m.type=a.getType(m),!!m.validator&&(b[E]=b[E]||[],b[E].push({rule:m,value:y,source:r,field:E}))})});var A={};return My(b,l,function(E,_){var m=E.rule,I=(m.type==="object"||m.type==="array")&&(typeof m.fields=="object"||typeof m.defaultField=="object");I=I&&(m.required||!m.required&&E.value),m.field=E.field;function w(ie,k){return se(se({},k),{},{fullField:m.fullField+"."+ie})}function P(ie){ie===void 0&&(ie=[]);var k=ie;if(Array.isArray(k)||(k=[k]),!l.suppressWarning&&k.length&&Ie.warning("async-validator:",k),k.length&&m.message!==void 0&&(k=[].concat(m.message)),k=k.map(br(m)),l.first&&k.length)return A[m.field]=1,_(k);if(!I)_(k);else{if(m.required&&!E.value)return m.message!==void 0?k=[].concat(m.message).map(br(m)):l.error&&(k=[l.error(m,te(l.messages.required,m.field))]),_(k);var ue={};if(m.defaultField)for(var hn in E.value)E.value.hasOwnProperty(hn)&&(ue[hn]=m.defaultField);ue=se(se({},ue),E.rule.fields);for(var ve in ue)if(ue.hasOwnProperty(ve)){var ji=Array.isArray(ue[ve])?ue[ve]:[ue[ve]];ue[ve]=ji.map(w.bind(null,ve))}var yn=new Ie(ue);yn.messages(l.messages),E.rule.options&&(E.rule.options.messages=l.messages,E.rule.options.error=l.error),yn.validate(E.value,E.rule.options||l,function(st){var ge=[];k&&k.length&&ge.push.apply(ge,k),st&&st.length&&ge.push.apply(ge,st),_(ge.length?ge:null)})}}var x;m.asyncValidator?x=m.asyncValidator(m,E.value,P,E.source,l):m.validator&&(x=m.validator(m,E.value,P,E.source,l),x===!0?P():x===!1?P(m.message||m.field+" fails"):x instanceof Array?P(x):x instanceof Error&&P(x.message)),x&&x.then&&x.then(function(){return P()},function(ie){return P(ie)})},function(E){s(E)})},getType:function(e){if(e.type===void 0&&e.pattern instanceof RegExp&&(e.type="pattern"),typeof e.validator!="function"&&e.type&&!Et.hasOwnProperty(e.type))throw new Error(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),u=n.indexOf("message");return u!==-1&&n.splice(u,1),n.length===1&&n[0]==="required"?Et.required:Et[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");Et[e]=n},Ie.warning=mr,Ie.messages=gu,Ie.validators=Et;var nm={required:"%s \u5FC5\u586B",maxLength:"%s \u8D85\u51FA\u6700\u5927\u957F\u5EA6\u9650\u5236",minLength:"%s \u5C0F\u4E8E\u6700\u5C0F\u957F\u5EA6\u9650\u5236",string:{range:"%s \u4E0D\u5728\u6307\u5B9A\u957F\u5EA6\u5185"}};function im(t){var e=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=new Ie(t);return n.messages(Object.assign(nm,e)),n}var um=new Jh;function bu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function am(t){if(Array.isArray(t))return t}function rm(t){if(Array.isArray(t))return bu(t)}function wr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Ir(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){wr(r,u,a,l,o,"next",s)}function o(s){wr(r,u,a,l,o,"throw",s)}l(void 0)})}}function lm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Sr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function om(t,e,n){return e&&Sr(t.prototype,e),n&&Sr(t,n),t}function cm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function Ar(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 sm(){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 dm(){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 Tr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){cm(t,a,n[a])})}return t}function fm(t){return am(t)||_r(t)||Rr(t,i)||sm()}function Eu(t){return rm(t)||_r(t)||Rr(t)||dm()}function Rr(t,e){if(!!t){if(typeof t=="string")return bu(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 bu(t,e)}}var O=function(){function e(n){var u=this;lm(this,e),this.setting=[],this.eventKeys=[],this.customEvents=[],this.parent=null,this.updateSetting=Pr,this.removeSetting=Br,this._callControlHooks("preInstance",n);var a=Ar(this,e)?this.constructor:void 0,r=a.controlName,l=a.controlIcon,o=a.controlType,s=a.controlFieldType,d=a.controlEventKeys,v=a.controlCustomEvents,y=a.name,b=a.setting;r&&l&&o||pa("The ".concat(y," controlName,controlIcon,controlType is not define"));var C;this.id=(C=n==null?void 0:n.id)!==null&&C!==void 0?C:fe(10),this.name=r,this.icon=l;var A;this.type=(A=n==null?void 0:n.type)!==null&&A!==void 0?A:o,this.props=new q(n==null?void 0:n.props,(Ar(this,e)?this.constructor:void 0).controlName);var E;this.controlType=(E=n==null?void 0:n.controlType)!==null&&E!==void 0?E:"base",this.setting=Ce(b);var _;this.fieldType=(_=n==null?void 0:n.fieldType)!==null&&_!==void 0?_:s,this.eventKeys=Ce(d),this.customEvents=Ce(v),Promise.resolve().then(function(){u._callControlHooks("postInstance",n)})}return om(e,[{key:"rules",get:function(){var u=this.props.constructor.Rules;return u?new u(this.props):{}}},{key:"_callControlHooks",value:function(){for(var u=arguments.length,a=new Array(u),r=0;r<u;r++)a[r]=arguments[r];var l,o=fm(a),s=o[0],d=o.slice(1);return(l=um).emit.apply(l,[s,this].concat(Eu(d)))}},{key:"preUpdate",value:function(u,a){this._callControlHooks("preUpdateProps",u,a)}},{key:"postUpdate",value:function(u,a){this._callControlHooks("postUpdateProps",u,a)}},{key:"updateProps",value:function(u,a){this.preUpdate(u,a),Lh(this.props,u,a),this.postUpdate(u,a)}},{key:"preValidate",value:function(){var u=this;return Ir(ae.default.mark(function a(){var r,l,o;return ae.default.wrap(function(d){for(;;)switch(d.prev=d.next){case 0:return r=Tr({},u.rules),d.next=3,u._callControlHooks("preValidate",r);case 3:return l=d.sent,o=l[l.length-1],d.abrupt("return",o===!1?void 0:o);case 6:case"end":return d.stop()}},a)}))()}},{key:"validate",value:function(u,a){var r=this;return Ir(ae.default.mark(function l(){var o,s,d;return ae.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,r.preValidate();case 2:return o=y.sent,s=o!==void 0?o:Tr({},r.rules),Array.isArray(a)&&a.forEach(function(b){s.hasOwnProperty(b)&&delete s[b]}),d=im(s,u),y.prev=6,y.next=9,d.validate(r.props);case 9:return y.abrupt("return",!0);case 12:throw y.prev=12,y.t0=y.catch(6),y.t0.control||(y.t0.control=r),y.t0;case 16:case"end":return y.stop()}},l,null,[[6,12]])}))()}},{key:"toDataBindModel",value:function(){var u=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,a=this.fieldType,r=this.id,l=this.type,o=this.props,s=o.dataBind,d=o.datasourceBind,v=o.optionConfig,y=o.caption,b=o.required,C=o.maxLength,A=o.options,E=o.encrypted,_=o.encryptedMode;if(!(!a&&!s&&!d)){var m={parentId:u,fieldType:a,controlId:r,caption:y,type:l,props:{}};switch(s&&(m.dataBind=s),v){case"datasource":case void 0:d&&(m.datasourceBind=d);break;case"custom":m.props.options=A;break}return b!==void 0&&(m.required=b),C!==void 0&&(m.maxLength=C),E!==void 0&&(m.encrypted=E),_!==void 0&&(m.encryptedMode=_),m}}},{key:"preToSchema",value:function(){this._callControlHooks("preToSchema",this)}},{key:"toSchema",value:function(){return this.preToSchema(),{id:this.id,type:this.type,props:Ce(this.props),fieldType:this.fieldType,controlType:this.controlType}}}],[{key:"updateBasicControl",value:function(u,a){if(u==="setting"){if(a.add){var r;(r=this.setting).push.apply(r,Eu(a.add))}a.remove&&this.removeSettingItem(a.remove),a.update}}}]),e}();O.controlName="\u63A7\u4EF6",O.controlIcon="icon",O.controlType="control",O.controlEventKeys=[],O.controlCustomEvents=[],O.setting=[],O.__is_control__=!0,O.removeSettingItem=Br,O.updateSettingItem=Pr;function Br(t){var e=this,n=Array.isArray(t)?t:[t];n.forEach(function(u){var a=typeof u!="string",r=e.setting.findIndex(function(s){return s.key===(a?u.key:u)});if(r!==-1){var l,o;a?e.setting[r].showItems=(l=e.setting[r].showItems)===null||l===void 0?void 0:l.filter(function(s){return!u.hideItems.includes(s)}):e.setting.splice(r,1),a&&!((o=e.setting[r].showItems)===null||o===void 0?void 0:o.length)&&e.setting.splice(r,1)}})}function Pr(t,e){var n=this,u=typeof t=="string"?[t]:t;u.forEach(function(a){var r=n.setting.find(function(d){return d.key===a});if(r){if(typeof e=="boolean")r.visible=e;else if(typeof e=="object"){var l,o=(l=e.type)!==null&&l!==void 0?l:"replace";if(o==="replace")r.showItems=e.showItems;else{var s;(s=r.showItems).push.apply(s,Eu(e.showItems))}}}})}function hm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function ym(t,e,n){return e&&Dr(t.prototype,e),n&&Dr(t,n),t}function mm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}var W=function(){function e(n){hm(this,e),this.customEvents=[],this.parent=null;var u=mm(this,e)?this.constructor:void 0,a=u.controlType,r=u.controlFieldType,l=u.name,o=u.controlCustomEvents;a||pa("The ".concat(l," controlType is not define"));var s;this.id=(s=n==null?void 0:n.id)!==null&&s!==void 0?s:fe(10);var d;this.type=(d=n==null?void 0:n.type)!==null&&d!==void 0?d:a,this.props=new q(n==null?void 0:n.props),this.customEvents=o;var v;this.controlType=(v=n==null?void 0:n.controlType)!==null&&v!==void 0?v:"base";var y;this.fieldType=(y=n==null?void 0:n.fieldType)!==null&&y!==void 0?y:r;var b;this.pageStatus=(b=n==null?void 0:n.pageStatus)!==null&&b!==void 0?b:ou.UNKNOWN}return ym(e,[{key:"rules",get:function(){var u=this.props.constructor.RuntimeRules;if(u){var a=new u(this.props);return Array.from(a)}return[]}}]),e}();W.controlType="control",W.__is_control__=!0,W.controlCustomEvents=[];function Cu(t){t.hasOwnProperty("optionConfig")||(this.optionConfig={type:"any"}),t.hasOwnProperty("options")||(this.options={type:"any"}),t.hasOwnProperty("datasourceBind")||(this.datasourceBind={type:"any"}),t.hasOwnProperty("options")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="custom")?this.options=[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{label:{type:"string",required:!0,message:f.getMessage("pleaseEnterLabel")},value:{type:"string",required:!0,message:f.getMessage("pleaseEnterValue")}}}},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("optionIsRequired")),a()}},{type:"array",validator:function(n,u,a){var r=u.map(function(o){return o.value}),l=qh(r);r.length!==l.length?a(f.getMessage("optionIdIsRepeat")):a()},message:f.getMessage("optionIdIsRepeat")}]:t.hasOwnProperty("datasourceBind")&&(!t.hasOwnProperty("optionConfig")||t.hasOwnProperty("optionConfig")&&t.optionConfig==="datasource")&&(this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterSvcCode")},displayBoList:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(n,u,a){u.length===0&&a(f.getMessage("pleaseBindAtLeastOneDisplayValue")),a()},message:f.getMessage("pleaseBindAtLeastOneDisplayValue")}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}])}function An(t,e){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",fields:{dataCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterDataCodeInDataSetting":"pleaseEnterDataCode")},valueFieldCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterValueFieldCodeInDataSetting":"pleaseEnterValueFieldCode")},svcCode:{type:"string",required:!0,message:f.getMessage(n?"pleaseEnterSvcCodeInDataSetting":"pleaseEnterSvcCode")},attributes:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{name:{type:"string",required:!0,message:f.getMessage("isNotString")},key:{type:"string",required:!0,message:f.getMessage("isNotString")},value:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",validator:function(a,r,l){r.length===0&&l(f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")),l()},message:f.getMessage(n?"pleaseBindAtLeastOneDisplayValueInDataSetting":"pleaseBindAtLeastOneDisplayValue")}]}}}],orders:[{type:"array",message:f.getMessage("isNotArray")},{type:"array",defaultField:{type:"object",fields:{columnName:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},desc:{type:"boolean",message:f.getMessage("isNotBoolean")}}}}]}}]}function Fr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function _n(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Tn(t){return Tn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Tn(t)}function Rn(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&wu(t,e)}function vm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function gm(t,e){return e&&(bm(e)==="object"||typeof e=="function")?e:Fr(t)}function wu(t,e){return wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},wu(t,e)}var bm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Em(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Bn(t){var e=Em();return function(){var u=Tn(t),a;if(e){var r=Tn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return gm(this,a)}}var G=function(t){Rn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;a=e.call(this,u),a.dataBind={},a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.isHideCaption={type:"boolean"},a.labelPosition={type:"enum",enum:["top","left"]},a.defaultState={type:"enum",enum:["default","readonly"]},a.required={type:"boolean"},a.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")};var r={fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}};if(vm(u.dataBind,oe))a.dataBind={type:"object",required:!0,fields:Ce(r),message:f.getMessage("pleaseEnterFieldCode")};else{var l={type:"object",required:!0,fields:{},message:f.getMessage("pleaseEnterFieldCode")};Object.keys(u.dataBind).forEach(function(o){l.fields[o]={type:"object",required:!0,fields:Ce(r),message:f.getMessage("pleaseEnterFieldCode")}}),a.dataBind=l}return u.isShowCaptionTip&&(a.captionTip.required=!0),a}return n}($),M=function(t){Rn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;return a=e.call(this,u),a.push({type:"string",required:u.isHide?!1:u.required,message:u.requiredMessage!==""?u.requiredMessage:f.getMessage("runtimeRequired",{caption:u.caption})}),a}return n}(Fe),B=function(t){Rn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;a=e.call(this,u);var r;a.caption=(r=u==null?void 0:u.caption)!==null&&r!==void 0?r:"";var l;a.isHideCaption=(l=u==null?void 0:u.isHideCaption)!==null&&l!==void 0?l:!1;var o;a.isShowCaptionTip=(o=u==null?void 0:u.isShowCaptionTip)!==null&&o!==void 0?o:!1;var s;a.captionTip=(s=u==null?void 0:u.captionTip)!==null&&s!==void 0?s:"";var d;a.defaultState=(d=u==null?void 0:u.defaultState)!==null&&d!==void 0?d:"default";var v;a.labelPosition=(v=u==null?void 0:u.labelPosition)!==null&&v!==void 0?v:"top";var y;a.placeholder=(y=u==null?void 0:u.placeholder)!==null&&y!==void 0?y:"";var b;a.required=(b=u==null?void 0:u.required)!==null&&b!==void 0?b:!1;var C;a.requiredMessage=(C=u==null?void 0:u.requiredMessage)!==null&&C!==void 0?C:"",a.dataBind=new oe(u==null?void 0:u.dataBind);var A;return a.defaultValue=(A=u==null?void 0:u.defaultValue)!==null&&A!==void 0?A:"",a}return n}(q);B.Rules=G,B.RuntimeRules=M;var pe=function(t){Rn(n,t);var e=Bn(n);function n(u){_n(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(Fr(a),u),a}return n}(G);function Cm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function wm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Pn(t){return Pn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Pn(t)}function Im(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Iu(t,e)}function Sm(t,e){return e&&(Am(e)==="object"||typeof e=="function")?e:Cm(t)}function Iu(t,e){return Iu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Iu(t,e)}var Am=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function _m(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Tm(t){var e=_m();return function(){var u=Pn(t),a;if(e){var r=Pn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Sm(this,a)}}var D=function(t){Im(n,t);var e=Tm(n);function n(u){wm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(O);D.controlEventKeys=["on_change","on_focus","on_blur"];function Rm(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Bm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dn(t){return Dn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Dn(t)}function Pm(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&&Su(t,e)}function Dm(t,e){return e&&(Fm(e)==="object"||typeof e=="function")?e:Rm(t)}function Su(t,e){return Su=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Su(t,e)}var Fm=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function xm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function km(t){var e=xm();return function(){var u=Dn(t),a;if(e){var r=Dn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Dm(this,a)}}var F=function(t){Pm(n,t);var e=km(n);function n(u){Bm(this,n);var a;return a=e.call(this,u),a.controlType="form",a.props=new B(u==null?void 0:u.props),a}return n}(W);function Om(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Fn(t){return Fn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Fn(t)}function Nm(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Au(t,e)}function Lm(t,e){return e&&($m(e)==="object"||typeof e=="function")?e:Om(t)}function Au(t,e){return Au=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Au(t,e)}var $m=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Vm(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Hm(t){var e=Vm();return function(){var u=Fn(t),a;if(e){var r=Fn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Lm(this,a)}}var L=function(t){Nm(n,t);var e=Hm(n);function n(u){return Mm(this,n),e.call(this,u)}return n}(q);function _u(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function jm(t){if(Array.isArray(t))return _u(t)}function qm(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Um(){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 xr(t){return jm(t)||qm(t)||Wm(t)||Um()}function Wm(t,e){if(!!t){if(typeof t=="string")return _u(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 _u(t,e)}}function Km(t,e){var n;((n=Object.getOwnPropertyDescriptors(t)[e])===null||n===void 0?void 0:n.enumerable)&&Object.defineProperty(t,e,{enumerable:!1})}function kr(t,e){t.parent=e,Km(t,"parent")}function zm(t,e){t.forEach(function(n){kr(n,e)})}var Or=Symbol("targetKey");function Mr(t){var e;return(e=t[Or])!==null&&e!==void 0?e:t}function Nr(t,e){return zm(t,e),new Proxy(t,{get:function(u,a){for(var r=arguments.length,l=new Array(r>2?r-2:0),o=2;o<r;o++)l[o-2]=arguments[o];var s;return a===Or?u:(s=Reflect).get.apply(s,[u,a].concat(xr(l)))},set:function(u,a,r){for(var l=arguments.length,o=new Array(l>3?l-3:0),s=3;s<l;s++)o[s-3]=arguments[s];var d;if(Qi(t)&&a==="length"&&r===t.length)return!0;var v=(d=Reflect).set.apply(d,[u,a,r].concat(xr(o)));return jh(r)&&kr(r,e),v}})}function ye(t,e,n,u){var a=u!=null?u:t,r=Nr(Mr(n!=null?n:[]),a);Object.defineProperty(t,e,{get:function(){return r},set:function(o){r=Nr(Mr(o),a)},enumerable:!0})}function Tu(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Gm(t){if(Array.isArray(t))return Tu(t)}function Lr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function $r(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Xm(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){$r(r,u,a,l,o,"next",s)}function o(s){$r(r,u,a,l,o,"throw",s)}l(void 0)})}}function Qm(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Jm(t,e,n){return e&&Vr(t.prototype,e),n&&Vr(t,n),t}function Zm(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function et(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?et=Reflect.get:et=function(a,r,l){var o=uv(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},et(t,e,n||t)}function Se(t){return Se=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Se(t)}function Ym(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ru(t,e)}function pm(t,e){return e!=null&&typeof Symbol!="undefined"&&e[Symbol.hasInstance]?e[Symbol.hasInstance](t):t instanceof e}function ev(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function tv(){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 nv(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Zm(t,a,n[a])})}return t}function iv(t,e){return e&&(av(e)==="object"||typeof e=="function")?e:Lr(t)}function Ru(t,e){return Ru=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ru(t,e)}function uv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Se(t),t!==null););return t}function Hr(t){return Gm(t)||ev(t)||rv(t)||tv()}var av=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function rv(t,e){if(!!t){if(typeof t=="string")return Tu(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Tu(t,e)}}function lv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ov(t){var e=lv();return function(){var u=Se(t),a;if(e){var r=Se(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return iv(this,a)}}var cv=1e4,H=function(e){Ym(u,e);var n=ov(u);function u(a){Qm(this,u);var r;r=n.call(this,a),r.controlType="layout";var l=pm(this,u)?this.constructor:void 0,o=l.excludes,s=l.childrenMaxLength;return r.props=new L(a==null?void 0:a.props),ye(Lr(r),"children",a==null?void 0:a.children),r.excludes=Ce(o),r.childrenMaxLength=s,r}return Jm(u,[{key:"judgeExcludesChildren",value:function(r){return this.excludes===!1||Array.isArray(this.excludes)&&!this.excludes.includes(r)}},{key:"judgeJoinChildren",value:function(r){var l=this.judgeExcludesChildren(r);return l&&this.childrenMaxLength>this.children.length}},{key:"validate",value:function(r,l){var o=this,s=this,d=function(){return et(Se(u.prototype),"validate",o)};return Xm(ae.default.mark(function v(){return ae.default.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return b.next=2,d().call(s,r,l);case 2:return b.next=4,Promise.all(s.children.map(function(C){return C.validate(r,l)}));case 4:return b.abrupt("return",!0);case 5:case"end":return b.stop()}},v)}))()}},{key:"toDataBindModel",value:function(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:null,l=et(Se(u.prototype),"toDataBindModel",this).call(this),o=l?[l]:[];return this.children.reduce(function(s,d){var v=d.toDataBindModel(r);if(Array.isArray(v)){var y=v.filter(function(b){return!!b});return Hr(s).concat(Hr(y))}return v&&s.push(v),s},o)}},{key:"toSchema",value:function(){var r=et(Se(u.prototype),"toSchema",this).call(this),l=this.children.map(function(o){var s=o.toSchema();return s});return nv({},r,{children:l})}}]),u}(O);H.excludes=!1,H.childrenMaxLength=cv;function jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function sv(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 dv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Bu(t,e)}function fv(t,e){return e&&(hv(e)==="object"||typeof e=="function")?e:jr(t)}function Bu(t,e){return Bu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Bu(t,e)}var hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function yv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function mv(t){var e=yv();return function(){var u=xn(t),a;if(e){var r=xn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return fv(this,a)}}var K=function(t){dv(n,t);var e=mv(n);function n(u){sv(this,n);var a;return a=e.call(this,u),a.controlType="layout",a.props=new L(u==null?void 0:u.props),ye(jr(a),"children",u==null?void 0:u.children),a}return n}(W);function qr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function vv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function kn(t){return kn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},kn(t)}function gv(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 bv(t,e){return e&&(Ev(e)==="object"||typeof e=="function")?e:qr(t)}function Pu(t,e){return Pu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Pu(t,e)}var Ev=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Cv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function wv(t){var e=Cv();return function(){var u=kn(t),a;if(e){var r=kn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return bv(this,a)}}var On=function(t){gv(n,t);var e=wv(n);function n(u,a){vv(this,n);var r;return r=e.call(this,a),ye(qr(r),"headers",a==null?void 0:a.headers,u),r}return n}(q);function Du(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,u=new Array(e);n<e;n++)u[n]=t[n];return u}function Iv(t){if(Array.isArray(t))return Du(t)}function Ur(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Wr(t,e,n,u,a,r,l){try{var o=t[r](l),s=o.value}catch(d){n(d);return}o.done?e(s):Promise.resolve(s).then(u,a)}function Sv(t){return function(){var e=this,n=arguments;return new Promise(function(u,a){var r=t.apply(e,n);function l(s){Wr(r,u,a,l,o,"next",s)}function o(s){Wr(r,u,a,l,o,"throw",s)}l(void 0)})}}function Av(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 u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function _v(t,e,n){return e&&Kr(t.prototype,e),n&&Kr(t,n),t}function Tv(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function tt(t,e,n){return typeof Reflect!="undefined"&&Reflect.get?tt=Reflect.get:tt=function(a,r,l){var o=Fv(a,r);if(!!o){var s=Object.getOwnPropertyDescriptor(o,r);return s.get?s.get.call(l):s.value}},tt(t,e,n||t)}function Ae(t){return Ae=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ae(t)}function Rv(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Fu(t,e)}function Bv(t){if(typeof Symbol!="undefined"&&t[Symbol.iterator]!=null||t["@@iterator"]!=null)return Array.from(t)}function Pv(){throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function zr(t){for(var e=1;e<arguments.length;e++){var n=arguments[e]!=null?arguments[e]:{},u=Object.keys(n);typeof Object.getOwnPropertySymbols=="function"&&(u=u.concat(Object.getOwnPropertySymbols(n).filter(function(a){return Object.getOwnPropertyDescriptor(n,a).enumerable}))),u.forEach(function(a){Tv(t,a,n[a])})}return t}function Dv(t,e){return e&&(xv(e)==="object"||typeof e=="function")?e:Ur(t)}function Fu(t,e){return Fu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Fu(t,e)}function Fv(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&(t=Ae(t),t!==null););return t}function Gr(t){return Iv(t)||Bv(t)||kv(t)||Pv()}var xv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function kv(t,e){if(!!t){if(typeof t=="string")return Du(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);if(n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set")return Array.from(n);if(n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Du(t,e)}}function Ov(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Mv(t){var e=Ov();return function(){var u=Ae(t),a;if(e){var r=Ae(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Dv(this,a)}}var xu=function(t){Rv(n,t);var e=Mv(n);function n(u){Av(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new On(Ur(a),u==null?void 0:u.props),a}return _v(n,[{key:"validate",value:function(a,r){var l=this,o=this,s=function(){return tt(Ae(n.prototype),"validate",l)};return Sv(ae.default.mark(function d(){return ae.default.wrap(function(y){for(;;)switch(y.prev=y.next){case 0:return y.next=2,s().call(o,a);case 2:return y.next=4,Promise.all(o.props.headers.map(function(b){return b.validate(a,r)}));case 4:return y.abrupt("return",!0);case 5:case"end":return y.stop()}},d)}))()}},{key:"toDataBindModel",value:function(){var a=tt(Ae(n.prototype),"toDataBindModel",this).call(this),r=a?[a]:[],l=this.id;return this.props.headers.reduce(function(o,s){var d=s.toDataBindModel(l);if(Array.isArray(d)){var v=d.filter(function(y){return!!y});return Gr(o).concat(Gr(v))}return d&&o.push(d),o},r)}},{key:"toSchema",value:function(){var a=tt(Ae(n.prototype),"toSchema",this).call(this),r=this.props.headers.map(function(l){return l.toSchema()});return zr({},a,{props:zr({},this.props,{headers:r})})}}]),n}(O);xu.controlFieldType=g.LIST;function ku(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Nv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Xr(t,e){for(var n=0;n<e.length;n++){var u=e[n];u.enumerable=u.enumerable||!1,u.configurable=!0,"value"in u&&(u.writable=!0),Object.defineProperty(t,u.key,u)}}function Lv(t,e,n){return e&&Xr(t.prototype,e),n&&Xr(t,n),t}function Mn(t){return Mn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Mn(t)}function $v(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ou(t,e)}function Vv(t,e){return e&&(Hv(e)==="object"||typeof e=="function")?e:ku(t)}function Ou(t,e){return Ou=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Ou(t,e)}var Hv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function jv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function qv(t){var e=jv();return function(){var u=Mn(t),a;if(e){var r=Mn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Vv(this,a)}}var Qr=function(t){$v(n,t);var e=qv(n);function n(u){Nv(this,n);var a;return a=e.call(this,u),a.controlType="list",a.props=new On(ku(a),u==null?void 0:u.props),ye(ku(a),"children",u==null?void 0:u.children),a}return Lv(n,[{key:"length",get:function(){return this.children.length}}]),n}(W);function Jr(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Mu(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Nn(t){return Nn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Nn(t)}function Nu(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&&Lu(t,e)}function Uv(t,e){return e&&(Wv(e)==="object"||typeof e=="function")?e:Jr(t)}function Lu(t,e){return Lu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Lu(t,e)}var Wv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Kv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function $u(t){var e=Kv();return function(){var u=Nn(t),a;if(e){var r=Nn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Uv(this,a)}}var me=function(t){Nu(n,t);var e=$u(n);function n(u){Mu(this,n);var a;return a=e.call(this,u),a.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},a.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},a.width.required=u.widthType==="px",a}return n}($),j=function(t){Nu(n,t);var e=$u(n);function n(u){Mu(this,n);var a;a=e.call(this,u);var r;a.width=(r=u==null?void 0:u.width)!==null&&r!==void 0?r:150,a.widthType=(u==null?void 0:u.widthType)||"auto";var l;a.caption=(l=u==null?void 0:u.caption)!==null&&l!==void 0?l:"";var o;a.fixed=(o=u==null?void 0:u.fixed)!==null&&o!==void 0?o:"none",a.autoWidth=new lr(u==null?void 0:u.autoWidth),a.dataBind=new oe(u==null?void 0:u.dataBind);var s;a.sort=(s=u==null?void 0:u.sort)!==null&&s!==void 0?s:!0,a.align=u==null?void 0:u.align,a.colSpan=u==null?void 0:u.colSpan;var d;return a.autoHeight=(d=u==null?void 0:u.autoHeight)!==null&&d!==void 0?d:!1,a}return n}(q);j.Rules=me;var Zr=function(t){Nu(n,t);var e=$u(n);function n(u){Mu(this,n);var a;return a=e.call(this,u),a.optionConfig={type:"enum",enum:["custom","datasource","none"],message:f.getMessage("PleaseSelectTheCorrectOptionSettings")},a.options=[{type:"array",message:f.getMessage("isNotArray")}],a.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],Cu.call(Jr(a),u),a}return n}(me);function zv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Gv(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ln(t){return Ln=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Ln(t)}function Xv(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&&Vu(t,e)}function Qv(t,e){return e&&(Jv(e)==="object"||typeof e=="function")?e:zv(t)}function Vu(t,e){return Vu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Vu(t,e)}var Jv=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Zv(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Yv(t){var e=Zv();return function(){var u=Ln(t),a;if(e){var r=Ln(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Qv(this,a)}}var X=function(t){Xv(n,t);var e=Yv(n);function n(u){Gv(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(O);function pv(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function eg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function $n(t){return $n=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},$n(t)}function tg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Hu(t,e)}function ng(t,e){return e&&(ig(e)==="object"||typeof e=="function")?e:pv(t)}function Hu(t,e){return Hu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Hu(t,e)}var ig=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function ug(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function ag(t){var e=ug();return function(){var u=$n(t),a;if(e){var r=$n(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return ng(this,a)}}var Q=function(t){tg(n,t);var e=ag(n);function n(u){eg(this,n);var a;return a=e.call(this,u),a.controlType="column",a.props=new j(u==null?void 0:u.props),a}return n}(W);function rg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function lg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Vn(t){return Vn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Vn(t)}function og(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&&ju(t,e)}function cg(t,e){return e&&(sg(e)==="object"||typeof e=="function")?e:rg(t)}function ju(t,e){return ju=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},ju(t,e)}var sg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function dg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function fg(t){var e=dg();return function(){var u=Vn(t),a;if(e){var r=Vn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return cg(this,a)}}var qu=function(t){og(n,t);var e=fg(n);function n(u){lg(this,n);var a;return a=e.call(this,u),a.dataBind=new oe(u==null?void 0:u.dataBind),a}return n}(L);function hg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function yg(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Hn(t){return Hn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},Hn(t)}function mg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Uu(t,e)}function vg(t,e){return e&&(gg(e)==="object"||typeof e=="function")?e:hg(t)}function Uu(t,e){return Uu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Uu(t,e)}var gg=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function bg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Eg(t){var e=bg();return function(){var u=Hn(t),a;if(e){var r=Hn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return vg(this,a)}}var Cg=function(t){mg(n,t);var e=Eg(n);function n(u){yg(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new qu(u==null?void 0:u.props),a}return n}(H);function wg(t){if(t===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Ig(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function jn(t){return jn=Object.setPrototypeOf?Object.getPrototypeOf:function(n){return n.__proto__||Object.getPrototypeOf(n)},jn(t)}function Sg(t,e){if(typeof e!="function"&&e!==null)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Wu(t,e)}function Ag(t,e){return e&&(_g(e)==="object"||typeof e=="function")?e:wg(t)}function Wu(t,e){return Wu=Object.setPrototypeOf||function(u,a){return u.__proto__=a,u},Wu(t,e)}var _g=function(t){return t&&typeof Symbol!="undefined"&&t.constructor===Symbol?"symbol":typeof t};function Tg(){if(typeof Reflect=="undefined"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch(t){return!1}}function Rg(t){var e=Tg();return function(){var u=jn(t),a;if(e){var r=jn(this).constructor;a=Reflect.construct(u,arguments,r)}else a=u.apply(this,arguments);return Ag(this,a)}}var Bg=function(t){Sg(n,t);var e=Rg(n);function n(u){Ig(this,n);var a;return a=e.call(this,u),a.controlType="search",a.props=new qu(u==null?void 0:u.props),a}return n}(K);function xe(t){t.hasOwnProperty("linkOperationOption")&&t.hasOwnProperty("showLinkOperation")&&t.showLinkOperation&&(this.linkOperationOption=[{type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}])}class Ku extends q{constructor(e){super(e);var n,u,a,r,l;this.fontSize=(n=e==null?void 0:e.fontSize)!=null?n:"14px",this.color=(u=e==null?void 0:e.color)!=null?u:"#646A73",this.icon=(a=e==null?void 0:e.icon)!=null?a:"page-hint",this.showState=(r=e==null?void 0:e.showState)!=null?r:"text",this.content=(l=e==null?void 0:e.content)!=null?l:"\u8BF4\u660E\u6587\u5B57"}}class Yr extends O{static get controlName(){return"\u8BF4\u660E\u6587\u5B57"}static get controlIcon(){return"iconwenben"}static get controlType(){return"text"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}Yr.setting=[{key:"content",visible:!0},{key:"text-font-size",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"text-color",visible:!0},{key:"text-state",visible:!0},{key:"text-icon",visible:!0},{key:"super-setting",visible:!0}];class Pg extends W{static get controlType(){return"text"}constructor(e){super(e);this.props=new Ku(e==null?void 0:e.props)}}var pr={Designer:Yr,Runtime:Pg,Property:Ku};class zu extends q{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6211\u662F\u4E00\u4E2A\u94FE\u63A5",this.url=(u=e==null?void 0:e.url)!=null?u:"",this.openMode=(a=e==null?void 0:e.openMode)!=null?a:"new"}}class Gu extends O{static get controlName(){return"\u94FE\u63A5"}static get controlIcon(){return"iconlink_new"}static get controlType(){return"link"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}}Gu.controlEventKeys=["on_click"],Gu.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 Dg extends W{static get controlType(){return"link"}constructor(e){super(e);this.props=new zu(e==null?void 0:e.props)}}var el={Designer:Gu,Runtime:Dg,Property:zu};class Z extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.buttonType=(u=e==null?void 0:e.buttonType)!=null?u:"primary",this.showType=(a=e==null?void 0:e.showType)!=null?a:"text",this.color=(r=e==null?void 0:e.color)!=null?r:"primary",this.icon=(l=e==null?void 0:e.icon)!=null?l:"iconfenlei2",this.defaultState=(o=e==null?void 0:e.defaultState)!=null?o:"default",this.command=(s=e==null?void 0:e.command)!=null?s:"custom",this.isLoading=(d=e==null?void 0:e.isLoading)!=null?d:!1}}class Y extends O{static get controlName(){return"\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}Y.controlEventKeys=["on_click"],Y.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 ne extends W{static get controlType(){return"button"}constructor(e){super(e);this.props=new Z(e==null?void 0:e.props)}}var tl={Designer:Y,Runtime:ne,Property:Z},_e=(t=>(t.ShowBizKey="is_show_biz_key",t.ShowSubmitUser="is_show_submit_user",t.ShowSubmitTime="is_show_submit_time",t.ShowSubmitDept="is_show_submit_dept",t.ShowCurrentApprovar="is_show_current_approvar",t.ShowTitle="is_show_title",t))(_e||{}),nl=(t=>(t.EARLY_DATE="earlyDate",t.LATE_DATE="lateDate",t.UN_SELECT_ABLE_INTERVAL="unSelectAbleInterval",t))(nl||{}),il=(t=>(t.FILE_IN_TIME="filledInTime",t.BEFORE_TIME="beforeTime",t.AFTER_TIME="afterTime",t.TIME_SPECIFIED="timeSpecified",t))(il||{});class qn{constructor(e={dateConfigType:"unSelectAbleInterval",dateLimitType:"filledInTime",id:fe(8),value:["",""]}){this.id=e.id,this.dateConfigType=e.dateConfigType,this.dateLimitType=e.dateLimitType,this.value=e.value}}var Xu=(t=>(t.PRAISE="praise",t.STAR="star",t.FLOWER="flower",t.HAND="hand",t.HEART="heart",t.SMILE="smile",t))(Xu||{});class Un{constructor(e){var n,u;this.id=(n=e==null?void 0:e.id)!=null?n:fe(),this.text=(u=e==null?void 0:e.text)!=null?u:""}}var Qu=(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))(Qu||{});class Ju{constructor(e){var n,u,a,r,l,o,s,d;this.type=(n=e==null?void 0:e.type)!=null?n:"private",this.person=new mt((u=e==null?void 0:e.person)!=null?u:{type:"form"}),this.signatureType=(a=e==null?void 0:e.signatureType)!=null?a:[],this.telephone=(l=e==null?void 0:e.telephone)!=null?l:new mt((r=e==null?void 0:e.telephone)!=null?r:{type:"form"}),this.company=(s=e==null?void 0:e.company)!=null?s:new mt((o=e==null?void 0:e.company)!=null?o:{type:"form"}),this.remark=(d=e==null?void 0:e.remark)!=null?d:""}}class ul{constructor(e){var n,u,a,r,l,o;this.fileControl=(n=e==null?void 0:e.fileControl)!=null?n:"",this.undersignedList=(a=(u=e==null?void 0:e.undersignedList)==null?void 0:u.map(s=>new Ju(s)))!=null?a:[new Ju],this.statusControl=(r=e==null?void 0:e.statusControl)!=null?r:"",this.completeControl=(l=e==null?void 0:e.completeControl)!=null?l:"",this.completeTimeControl=(o=e==null?void 0:e.completeTimeControl)!=null?o:""}}class Zu{constructor(e){var n,u,a,r,l,o,s;this.id=(n=e==null?void 0:e.id)!=null?n:fe(8),this.appId=(u=e==null?void 0:e.appId)!=null?u:"",this.dataCode=(a=e==null?void 0:e.dataCode)!=null?a:"",this.svcCode=(r=e==null?void 0:e.svcCode)!=null?r:"",this.name=(l=e==null?void 0:e.name)!=null?l:"",this.fieldList=(o=e==null?void 0:e.fieldList)!=null?o:[],this.active=(s=e==null?void 0:e.active)!=null?s:!1}}class Yu{constructor(e){var n,u;this.active=(n=e==null?void 0:e.active)!=null?n:!1,this.text=(u=e==null?void 0:e.text)!=null?u:""}}class al{constructor(e){var n,u,a,r;this.types=(n=e==null?void 0:e.types)!=null?n:["word","ppt","excel"],this.history=(u=e==null?void 0:e.history)!=null?u:!1,this.collaborativeRecord=(a=e==null?void 0:e.collaborativeRecord)!=null?a:!1,this.logicToDelete=(r=e==null?void 0:e.logicToDelete)!=null?r:!0,this.watermark=new Yu(e==null?void 0:e.watermark),this.autoRename=new Yu(e==null?void 0:e.autoRename)}}const rl=480;function Ct(t){return new RegExp(t.replace(/^\/|\/$/g,""))}class ll{constructor(e){var n,u,a,r,l;this.fileId=(n=e==null?void 0:e.fileId)!=null?n:"",this.fileName=(u=e==null?void 0:e.fileName)!=null?u:"",this.ruleName=(a=e==null?void 0:e.ruleName)!=null?a:"",this.isDefault=(r=e.isDefault)!=null?r:!1,this.rules=(l=e.rules)!=null?l:[]}}class ol{constructor(e){var n,u,a;this.direction=(n=e==null?void 0:e.direction)!=null?n:"row",this.justifyContent=(u=e==null?void 0:e.justifyContent)!=null?u:"flex-start",this.alignItems=(a=e==null?void 0:e.alignItems)!=null?a:"flex-start"}}var cl=(t=>(t.NO_MASK="NO_MASK",t.LAST_FOUR_MASK="LAST_FOUR_MASK",t.ALL_MASK="ALL_MASK",t))(cl||{}),pu=(t=>(t.ALL="ALL",t.INTERNAL="INTERNAL",t.EXTERNAL="EXTERNAL",t.INTERNAL_EXTERNAL="INTERNAL_EXTERNAL",t))(pu||{}),Wn=(t=>(t.INTERNAL_BUSINESS="INTERNAL_BUSINESS",t.INTERNAL="INTERNAL",t.BUSINESS="BUSINESS",t))(Wn||{}),Te=(t=>(t.ALL="all",t.ASSIGN="assign",t))(Te||{}),ea=(t=>(t.ALL="all",t.ADMIN="admin",t))(ea||{});class ta extends q{constructor(e){super(e);var n,u;this.color=(n=e==null?void 0:e.color)!=null?n:"#000",this.lineStyle=(u=e==null?void 0:e.lineStyle)!=null?u:Qu.SOLID}}class sl extends O{static get controlName(){return"\u5206\u5272\u7EBF"}static get controlIcon(){return"iconfengexian"}static get controlType(){return"divider"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}sl.setting=[{key:"line-style",visible:!0},{key:"color",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]}];class Fg extends W{static get controlType(){return"divider"}constructor(e){super(e);this.props=new ta(e==null?void 0:e.props)}}var dl={Designer:sl,Runtime:Fg,Property:ta};class xg extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.dataBind={type:"any"},this.config={type:"array"},e.config.includes(_e.ShowBizKey)&&(this.dataBind={type:"object",required:!0,fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")},dataCode:{type:"string",required:!0,message:f.getMessage("bizKeyNotBindFiled")}},message:f.getMessage("bizKeyNotBindFiled")}),!e.isHide&&e.config.length===0&&(this.config={type:"array",min:1,required:!0,message:f.getMessage("pleaseSelectOneField")})}}class Kn extends q{constructor(e){super(e);var n,u,a,r;this.dataBind=new oe(e==null?void 0:e.dataBind),this.config=(n=e==null?void 0:e.config)!=null?n:[_e.ShowSubmitUser,_e.ShowSubmitDept,_e.ShowSubmitTime,_e.ShowCurrentApprovar,_e.ShowTitle],this.caption=(a=(u=e==null?void 0:e.caption)!=null?u:nt==null?void 0:nt.controlName)!=null?a:"",this.position=(r=e==null?void 0:e.position)!=null?r:"top"}}Kn.Rules=xg;class nt extends O{static get controlName(){return"\u6807\u9898\u7EC4\u4EF6"}static get controlIcon(){return"title"}static get controlType(){return"title"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}nt.controlFieldType=g.AUTO_NUMBER,nt.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 kg extends W{static get controlType(){return"title"}constructor(e){super(e);this.props=new Kn(e==null?void 0:e.props)}}var fl={Designer:nt,Runtime:kg,Property:Kn};class Og extends ${constructor(e){super(e);this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")}}}class zn extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:wt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:wt.controlName,this.formKey=(a=e==null?void 0:e.formKey)!=null?a:"",this.openType=(r=e==null?void 0:e.openType)!=null?r:"modal"}}zn.Rules=Og;class wt extends Y{static get controlName(){return"\u521B\u5EFA\u5355\u636E"}static get controlIcon(){return"iconchuangjiandanju"}static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}wt.controlEventKeys=["on_click","on_click_finish"],wt.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 Mg extends ne{static get controlType(){return"list-page-btn-create-form"}constructor(e){super(e);this.props=new zn(e==null?void 0:e.props)}}var hl={Designer:wt,Runtime:Mg,Property:zn};class Ng extends ${constructor(e){super(e);this.processKey=[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterProcess")}]}}class Gn extends Z{constructor(e){super(e);var n,u,a,r,l,o;this.icon=(n=e==null?void 0:e.icon)!=null?n:It.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:It.controlName,this.initiatorMode=(a=e==null?void 0:e.initiatorMode)!=null?a:"currentInitiator",this.processKey=(r=e==null?void 0:e.processKey)!=null?r:"",this.fieldCode=(l=e==null?void 0:e.fieldCode)!=null?l:"",this.employeeId=(o=e==null?void 0:e.employeeId)!=null?o:""}}Gn.Rules=Ng;class It extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}It.controlEventKeys=["on_click","on_click_finish"],It.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 Lg extends ne{static get controlType(){return"list-page-btn-batch-submission"}constructor(e){super(e);this.props=new Gn(e==null?void 0:e.props)}}var yl={Designer:It,Runtime:Lg,Property:Gn};class na extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:St.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:St.controlIcon}}class St extends Y{static get controlName(){return"\u6279\u91CF\u63D0\u4EA4\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}St.controlEventKeys=["on_click"],St.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class $g extends ne{static get controlType(){return"list-page-btn-submission-record"}constructor(e){super(e);this.props=new na(e==null?void 0:e.props)}}var ml={Designer:St,Runtime:$g,Property:na};class ia extends Z{constructor(e){super(e);var n,u,a,r;this.icon=(n=e==null?void 0:e.icon)!=null?n:At.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:At.controlName,this.templateList=(r=(a=e==null?void 0:e.templateList)==null?void 0:a.map(l=>new Zu(l)))!=null?r:[new Zu({id:"default",name:"\u9ED8\u8BA4\u6A21\u677F",appId:"default",dataCode:"default",svcCode:"default",fieldList:[""],active:!0})]}}class At extends Y{static get controlName(){return"\u5BFC\u51FA"}static get controlIcon(){return"iconxiazai1"}static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}At.controlEventKeys=["on_click","on_click_finish"],At.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 Vg extends ne{static get controlType(){return"list-page-btn-export-list"}constructor(e){super(e);this.props=new ia(e==null?void 0:e.props)}}var vl={Designer:At,Runtime:Vg,Property:ia};class ua extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:_t.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:_t.controlIcon}}class _t extends Y{static get controlName(){return"\u5BFC\u51FA\u8BB0\u5F55"}static get controlIcon(){return"icondaochujilu"}static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}_t.controlEventKeys=["on_click"],_t.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 Hg extends ne{static get controlType(){return"list-page-btn-export-record"}constructor(e){super(e);this.props=new ua(e==null?void 0:e.props)}}var gl={Designer:_t,Runtime:Hg,Property:ua};class jg{constructor(e){this.dataCode=e.dataCode}}class aa extends Z{constructor(e){super(e);var n,u,a,r;this.content=(n=e==null?void 0:e.content)!=null?n:Tt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Tt.controlIcon,this.canImportList=(r=(a=e==null?void 0:e.canImportList)==null?void 0:a.map(l=>new jg(l)))!=null?r:[]}}class Tt extends Y{static get controlName(){return"\u5BFC\u5165"}static get controlIcon(){return"iconshangchuan3"}static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new aa(e==null?void 0:e.props)}}Tt.controlEventKeys=["on_click","on_click_finish"],Tt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"can-import-subtable",visible:!0},{key:"super-setting",visible:!0}];class qg extends ne{static get controlType(){return"list-page-btn-import-record"}constructor(e){super(e);this.props=new aa(e==null?void 0:e.props)}}var bl={Designer:Tt,Runtime:qg,Property:aa};function Xn(){return{dataCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterDataCode")},fillList:{type:"array",defaultField:{type:"object",fields:{fieldCode:{type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")},controlId:{type:"string",required:!0,message:f.getMessage("pleaseSelectControl")}}}}}}class Ug extends ${constructor(e){super(e);this.fillPayload={type:"object",fields:be({},Xn())},this.formBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}}},this.fillBack={type:"object",fields:be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())},(e.command==="edit"||e.command==="view")&&(this.formBind.fields.primaryControlId={type:"string",required:!0,message:f.getMessage("pleaseSelectControl")})}}class Qn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Rt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Rt.controlIcon,this.command=(a=e==null?void 0:e.command)!=null?a:"create",this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.formBind=new iy(e==null?void 0:e.formBind),this.fillBack=new hr(e==null?void 0:e.fillBack)}}Qn.Rules=Ug;class Rt extends Y{static get controlName(){return"\u8868\u5355\u64CD\u4F5C"}static get controlIcon(){return"iconbiaodancaozuo"}static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Qn(e==null?void 0:e.props)}}Rt.controlEventKeys=["on_click","on_click_finish"],Rt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class Wg extends ne{static get controlType(){return"form-select-button"}constructor(e){super(e);this.props=new Qn(e==null?void 0:e.props)}}var El={Designer:Rt,Runtime:Wg,Property:Qn};class Kg extends ${constructor(e){super(e);this.fillPayload={type:"object",fields:be({},Xn())},this.listPageBind={type:"object",fields:{formKey:{type:"string",required:!0,message:f.getMessage("pleaseEnterList")},headers:{type:"array",required:!0,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}},this.fillBack={type:"object",fields:be({mode:{type:"string",required:!0,message:f.getMessage("pleaseSelectFillBackMode")}},Xn())}}}class Jn extends Z{constructor(e){super(e);var n,u,a;this.content=(n=e==null?void 0:e.content)!=null?n:Bt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Bt.controlIcon,this.fillPayload=new ru(e==null?void 0:e.fillPayload),this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.fillBack=new hr(e==null?void 0:e.fillBack),this.showSelectedDetail=(a=e==null?void 0:e.showSelectedDetail)!=null?a:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig)}}Jn.Rules=Kg;class Bt extends Y{static get controlName(){return"\u5217\u8868\u9009\u62E9"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}Bt.controlEventKeys=["on_click","on_click_finish","on_modal_ok"],Bt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"button-action-setting",visible:!0},{key:"super-setting",visible:!0}];class zg extends ne{static get controlType(){return"list-select-button"}constructor(e){super(e);this.props=new Jn(e==null?void 0:e.props)}}var Cl={Designer:Bt,Runtime:zg,Property:Jn};class Gg extends ${constructor(e){super(e)}}class Xg extends Fe{constructor(e){super(e)}}class Pt extends q{constructor(e){super(e)}}Pt.Rules=Gg,Pt.RuntimeRules=Xg;class wl extends O{static get controlName(){return"\u5206\u9875"}static get controlIcon(){return"pagination"}static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Pt(e==null?void 0:e.props)}}wl.setting=[];class Qg extends W{static get controlType(){return"pagination"}constructor(e){super(e);this.props=new Pt(e==null?void 0:e.props)}}var Il={Designer:wl,Runtime:Qg,Property:Pt};class Jg extends ${constructor(e){super(e);this.dashboardKey={type:"string",required:!0,message:f.getMessage("pleaseSelectDashboard")},this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Zn extends q{constructor(e){super(e);var n,u,a,r,l,o;this.dashboardKey=(n=e==null?void 0:e.dashboardKey)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.isHideCaption=(a=e==null?void 0:e.isHideCaption)!=null?a:!1,this.isShowCaptionTip=(r=e==null?void 0:e.isShowCaptionTip)!=null?r:!1,this.captionTip=(l=e==null?void 0:e.captionTip)!=null?l:"",this.labelPosition=(o=e==null?void 0:e.labelPosition)!=null?o:"top"}}Zn.Rules=Jg;class Sl extends O{static get controlName(){return"\u4EEA\u8868\u76D8"}static get controlIcon(){return"iconbiaodan_yibiaopan"}static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Zn(e==null?void 0:e.props)}}Sl.setting=[{key:"dashboard-setting",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class Zg extends W{static get controlType(){return"dashboard"}constructor(e){super(e);this.props=new Zn(e==null?void 0:e.props)}}var Al={Designer:Sl,Runtime:Zg,Property:Zn};class Yg extends ${constructor(e){super(e);this.showType={type:"enum",enum:["select","tabs"]},this.viewList={type:"array",defaultField:{type:"object",fields:{title:{type:"string",required:!0,message:f.getMessage("theViewNameCannotBeEmpty")},headers:{type:"array",required:!0,min:1,message:f.getMessage("pleaseSelectAtLeastOneColumn")}}}}}}class Yn extends q{constructor(e){super(e);var n,u,a;this.showType=(n=e==null?void 0:e.showType)!=null?n:"select",this.viewList=(a=(u=e==null?void 0:e.viewList)==null?void 0:u.map(r=>new by(r)))!=null?a:[]}}Yn.Rules=Yg;class _l extends O{static get controlName(){return"\u5217\u8868\u89C6\u56FE"}static get controlIcon(){return"iconliebiaoxuanze"}static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}_l.setting=[{key:"view-list-setting",visible:!0},{key:"view-list-show-type",visible:!0},{key:"super-setting",visible:!0}];class pg extends W{static get controlType(){return"list-view-select"}constructor(e){super(e);this.props=new Yn(e==null?void 0:e.props)}}var Tl={Designer:_l,Runtime:pg,Property:Yn};class eb extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.ocrType={type:"string",required:!0,message:f.getMessage("pleaseSelectOcrType")},this.fillList={type:"array",validator(n,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class pn extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y;this.caption=(n=e==null?void 0:e.caption)!=null?n:it.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:it.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:it.controlIcon,this.ocrType=(d=e==null?void 0:e.ocrType)!=null?d:"",this.fillList=(y=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new p(b)))!=null?y:[]}}pn.Rules=eb;class it extends Y{static get controlName(){return"\u6587\u5B57\u8BC6\u522B"}static get controlIcon(){return"iconwenzishibie"}static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new pn(e==null?void 0:e.props)}}it.controlEventKeys=["on_click","on_click_finish"],it.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 tb extends ne{static get controlType(){return"text-ocr-button"}constructor(e){super(e);this.props=new pn(e==null?void 0:e.props)}}var Rl={Designer:it,Runtime:tb,Property:pn};class nb extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.isHideCaption={type:"boolean"},this.labelPosition={type:"enum",enum:["top","left"]},this.invoiceCheck={type:"boolean"},this.fillList={type:"array",validator(n,u,a){if(u.every(l=>!l.controlId)){a(f.getMessage("pleaseSelectAtLeastOneFieldToFillIn"));return}a()}},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class ei extends Z{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y;this.caption=(n=e==null?void 0:e.caption)!=null?n:ut.controlName,this.isHideCaption=(u=e==null?void 0:e.isHideCaption)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.labelPosition=(l=e==null?void 0:e.labelPosition)!=null?l:"top",this.content=(o=e==null?void 0:e.content)!=null?o:ut.controlName,this.icon=(s=e==null?void 0:e.icon)!=null?s:ut.controlIcon,this.invoiceCheck=(d=e==null?void 0:e.invoiceCheck)!=null?d:!0,this.fillList=(y=(v=e==null?void 0:e.fillList)==null?void 0:v.map(b=>new p(b)))!=null?y:[]}}ei.Rules=nb;class ut extends Y{static get controlName(){return"\u53D1\u7968\u8BC6\u522B"}static get controlIcon(){return"iconfabiaoshibie1"}static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}ut.controlEventKeys=["on_click","on_click_finish"],ut.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 ib extends ne{static get controlType(){return"invoice-check-button"}constructor(e){super(e);this.props=new ei(e==null?void 0:e.props)}}var Bl={Designer:ut,Runtime:ib,Property:ei};class ub extends ${constructor(){super(...arguments);this.printTemplates={type:"array",min:1,required:!0,message:f.getMessage("pleaseUploadAtLeastOnePrintTemplate")}}}class ti extends Z{constructor(e){super(e);var n,u,a,r,l;this.icon=(n=e==null?void 0:e.icon)!=null?n:Dt.controlIcon,this.content=(u=e==null?void 0:e.content)!=null?u:Dt.controlName,this.printTemplates=(r=(a=e==null?void 0:e.printTemplates)==null?void 0:a.map(o=>new ll(o)))!=null?r:[],this.autoSelectTemplate=(l=e==null?void 0:e.autoSelectTemplate)!=null?l:!1}}ti.Rules=ub;class Dt extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370"}static get controlIcon(){return"iconbtn_piliangtijiao"}static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}Dt.controlEventKeys=["on_click","on_click_finish"],Dt.setting=[{key:"button-content",visible:!0},{key:"batch-print-setting",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"super-setting",visible:!0}];class ab extends ne{static get controlType(){return"list-page-btn-batch-print"}constructor(e){super(e);this.props=new ti(e==null?void 0:e.props)}}var Pl={Designer:Dt,Runtime:ab,Property:ti};class ra extends Z{constructor(e){super(e);var n,u;this.content=(n=e==null?void 0:e.content)!=null?n:Ft.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:Ft.controlIcon}}class Ft extends Y{static get controlName(){return"\u6279\u91CF\u6253\u5370\u8BB0\u5F55"}static get controlIcon(){return"iconyyzy-renwu"}static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ra(e==null?void 0:e.props)}}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 rb extends ne{static get controlType(){return"list-page-btn-batch-print-record"}constructor(e){super(e);this.props=new ra(e==null?void 0:e.props)}}var Dl={Designer:Ft,Runtime:rb,Property:ra};class lb extends ${constructor(e){super(e);this.formKey={type:"string",required:!1},(e.command==="edit"||e.command==="view")&&(this.formKey={type:"string",required:!0,message:f.getMessage("pleaseEnterForm")})}}class ni extends q{constructor(e){super(e);var n,u,a,r,l;this.content=(n=e==null?void 0:e.content)!=null?n:"\u6309\u94AE",this.code=e==null?void 0:e.code,this.command=(u=e==null?void 0:e.command)!=null?u:"custom",this.color=(a=e==null?void 0:e.color)!=null?a:"primary",this.icon=e==null?void 0:e.icon,this.formKey=e==null?void 0:e.formKey,this.openType=e==null?void 0:e.openType,this.needConfirm=e==null?void 0:e.needConfirm,this.confirmMessage=e==null?void 0:e.confirmMessage,this.options=e==null?void 0:e.options,this.defaultState=(r=e==null?void 0:e.defaultState)!=null?r:"default",this.priorityProcess=e==null?void 0:e.priorityProcess,this.isLoading=(l=e==null?void 0:e.isLoading)!=null?l:!1}}ni.Rules=lb;class ii extends O{static get controlName(){return"\u64CD\u4F5C\u6309\u94AE"}static get controlIcon(){return"iconbtn"}static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}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 ob extends W{static get controlType(){return"operation-button"}constructor(e){super(e);this.props=new ni(e==null?void 0:e.props)}}var Fl={Designer:ii,Runtime:ob,Property:ni};class la extends q{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.content=(n=e==null?void 0:e.content)!=null?n:xt.controlName,this.icon=(u=e==null?void 0:e.icon)!=null?u:xt.controlIcon,this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"iconText",this.color=(l=e==null?void 0:e.color)!=null?l:"danger",this.isHide=(o=e==null?void 0:e.isHide)!=null?o:!1,this.defaultState=(s=e==null?void 0:e.defaultState)!=null?s:"default",this.command=(d=e==null?void 0:e.command)!=null?d:"custom",this.isLoading=(v=e==null?void 0:e.isLoading)!=null?v:!1}}class xt extends O{static get controlName(){return"\u6279\u91CF\u5220\u9664"}static get controlIcon(){return"iconlajitong"}static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}}xt.controlEventKeys=["on_click"],xt.setting=[{key:"button-content",visible:!0},{key:"button-type",visible:!0},{key:"button-show-type",visible:!0},{key:"button-color-type",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class cb extends W{static get controlType(){return"list-page-btn-batch-delete"}constructor(e){super(e);this.props=new la(e==null?void 0:e.props)}}var xl={Designer:xt,Runtime:cb,Property:la},sb=Object.freeze({__proto__:null,Text:pr,Link:el,Button:tl,Divider:dl,Title:fl,CreateFormListButton:hl,BatchSubmissionListButton:yl,SubmissionRecordListButton:ml,ExportListButton:vl,ExportRecordListButton:gl,ImportRecordListButton:bl,FormSelectButton:El,ListSelectButton:Cl,Pagination:Il,Dashboard:Al,ListViewSelect:Tl,TextOcrButton:Rl,InvoiceCheckButton:Bl,BatchPrintListButton:Pl,BatchPrintRecordListButton:Dl,OperationButton:Fl,BatchDeleteButton:xl});class db extends G{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:200,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue=[{type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},{pattern:"",message:""}],this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue[0].max=e.maxLength,this.defaultValue[0].min=e.minLength,this.defaultValue[0].message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength}),this.defaultValue[1].pattern=Ct(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class fb extends M{constructor(e){super(e);this.push({type:"string",message:f.getMessage("isNotString")},{max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ct(e.regularRules.expression),message:e.regularRules.errMessage})}}class at extends B{constructor(e){super(e);var n,u,a,r,l,o,s;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:200,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.regularRules=new yr(e==null?void 0:e.regularRules),this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:rt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.encrypted=(o=e==null?void 0:e.encrypted)!=null?o:!1,this.encryptedMode=(s=e==null?void 0:e.encryptedMode)!=null?s:""}}at.Rules=db,at.RuntimeRules=fb;class rt extends D{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlIcon(){return"iconSingleline_new1"}static get controlType(){return"input"}constructor(e){super(e);this.props=new at(e==null?void 0:e.props)}}rt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],rt.controlFieldType=g.VARCHAR,rt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP,c.ENCRYPTED]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class kl extends F{static get controlType(){return"input"}constructor(e){super(e);this.props=new at(e==null?void 0:e.props)}}kl.controlFieldType=g.VARCHAR;var Ol={Designer:rt,Runtime:kl,Property:at};class hb extends pe{constructor(e){super(e);this.limitMax={type:"number",min:void 0,message:f.getMessage("PleaseReselectTheOptionalQuantity")},e.limitMax==="unlimited"&&(this.limitMax.type="string");const u=a=>a==="unlimited"?void 0:a;this.limitMax.min=u(e.limitMin)}}class yb extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:typeof e.limitMax=="number"?e.limitMax:void 0,min:typeof e.limitMin=="number"?e.limitMin:void 0})}}class kt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,C,A;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.checkboxMode=(u=e==null?void 0:e.checkboxMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.optionsOrder=(r=e==null?void 0:e.optionsOrder)!=null?r:!1,this.otherOption=(l=e==null?void 0:e.otherOption)!=null?l:!1,this.limitMin=(o=e==null?void 0:e.limitMin)!=null?o:"unlimited",this.limitMax=(s=e==null?void 0:e.limitMax)!=null?s:"unlimited",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:Ot.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:[],this.optionsFormat=(b=e==null?void 0:e.optionsFormat)!=null?b:"horizontal",this.defaultShowOptions=(C=e==null?void 0:e.defaultShowOptions)!=null?C:!0,this.openMultistageFilling=(A=e==null?void 0:e.openMultistageFilling)!=null?A:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(E=>{var _;(_=this.multistageFilling)==null||_.push(new p(E))}))}}kt.Rules=hb,kt.RuntimeRules=yb;class Ot extends D{static get controlName(){return"\u591A\u9009"}static get controlIcon(){return"iconduoxuan"}static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Ot.controlEventKeys=["on_change","on_click"],Ot.controlFieldType=g.ARRAY,Ot.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"limit-select",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Ml extends F{static get controlType(){return"checkbox"}constructor(e){super(e);this.props=new kt(e==null?void 0:e.props)}}Ml.controlFieldType=g.ARRAY;var Nl={Designer:Ot,Runtime:Ml,Property:kt};class mb extends pe{constructor(e){super(e)}}class ui extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.radioMode=(u=e==null?void 0:e.radioMode)!=null?u:"horizontal",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.otherOption=(r=e==null?void 0:e.otherOption)!=null?r:!1,this.optionsOrder=(l=e==null?void 0:e.optionsOrder)!=null?l:!1,this.defaultShowOptions=(o=e==null?void 0:e.defaultShowOptions)!=null?o:!0,this.optionsFormat=(s=e==null?void 0:e.optionsFormat)!=null?s:"horizontal",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.interreaction=(d=e==null?void 0:e.interreaction)!=null?d:[],this.caption=(v=e==null?void 0:e.caption)!=null?v:Mt.controlName,this.defaultValue=(y=e==null?void 0:e.defaultValue)!=null?y:"",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(C=>{var A;(A=this.multistageFilling)==null||A.push(new p(C))}))}}ui.Rules=mb;class Mt extends D{static get controlName(){return"\u5355\u9009"}static get controlIcon(){return"iconradio_new"}static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}Mt.controlEventKeys=["on_change","on_click"],Mt.controlFieldType=g.VARCHAR,Mt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"options-format",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"options-order",visible:!0},{key:"super-setting",visible:!0}];class Ll extends F{static get controlType(){return"radio"}constructor(e){super(e);this.props=new ui(e==null?void 0:e.props)}}Ll.controlFieldType=g.VARCHAR;var $l={Designer:Mt,Runtime:Ll,Property:ui};class vb extends G{constructor(e){super(e);this.defaultValue=[{type:"number",min:0,max:200,message:f.getMessage("pleaseEnterNumberRange")},{pattern:"",message:""}],this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue[0].max=n,this.defaultValue[0].min=u,this.defaultValue[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")}),this.defaultValue[1].pattern=Ct(e.regularRules.expression),this.defaultValue[1].message=e.regularRules.errMessage}}class gb extends M{constructor(e){super(e);this[0].type="number";const n=e.rangeMax!==""?e.rangeMax:void 0,u=e.rangeMin!==""?e.rangeMin:void 0;this.push({type:"number",max:n,min:u,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}),e.regularRules.expression&&e.regularRules.errMessage&&this.push({pattern:Ct(e.regularRules.expression),message:e.regularRules.errMessage})}}class Nt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,C,A;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.numberType=(a=e==null?void 0:e.numberType)!=null?a:"number",this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.micrometer=(l=e==null?void 0:e.micrometer)!=null?l:!1,this.precision=(o=e==null?void 0:e.precision)!=null?o:0,this.showUpperCase=(s=e==null?void 0:e.showUpperCase)!=null?s:!1,this.isShowUnit=(d=e==null?void 0:e.isShowUnit)!=null?d:!1,this.unitPosition=(v=e==null?void 0:e.unitPosition)!=null?v:"right",this.unit=(y=e==null?void 0:e.unit)!=null?y:"",this.caption=(b=e==null?void 0:e.caption)!=null?b:Lt.controlName,this.placeholder=(C=e==null?void 0:e.placeholder)!=null?C:"\u8BF7\u8F93\u5165",this.defaultValue=(A=e==null?void 0:e.defaultValue)!=null?A:"",this.regularRules=new yr(e==null?void 0:e.regularRules)}}Nt.Rules=vb,Nt.RuntimeRules=gb;class Lt extends D{static get controlName(){return"\u6570\u5B57"}static get controlIcon(){return"iconnuminput_new"}static get controlType(){return"number"}constructor(e){super(e);this.props=new Nt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Lt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Lt.controlFieldType=g.DECIMAL,Lt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"number-range",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_UNIT,c.IS_SHOW_CAPTION_TIP]},{key:"unit-position",visible:!0},{key:"number-type",visible:!0},{key:"unit",visible:!0},{key:"default-value",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"regular-rules",visible:!0},{key:"super-setting",visible:!0}];class Vl extends F{static get controlType(){return"number"}constructor(e){super(e);this.props=new Nt(e==null?void 0:e.props)}}Vl.controlFieldType=g.DECIMAL;var Hl={Designer:Lt,Runtime:Vl,Property:Nt};class oa extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.caption=(l=e==null?void 0:e.caption)!=null?l:ai.controlName,this.placeholder=(o=e==null?void 0:e.placeholder)!=null?o:"\u8BF7\u8F93\u5165\u65E5\u671F",this.defaultValue=(s=e==null?void 0:e.defaultValue)!=null?s:"",this.limitDateList=(v=(d=e==null?void 0:e.limitDateList)==null?void 0:d.map(C=>new qn(C)))!=null?v:[],this.allowDateRange=(y=e==null?void 0:e.allowDateRange)!=null?y:["",""],this.filterWeekend=(b=e==null?void 0:e.filterWeekend)!=null?b:!1}}class ai extends D{static get controlName(){return"\u65E5\u671F"}static get controlIcon(){return"iconriqi1"}static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new oa(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}ai.controlFieldType=g.TIMESTAMP,ai.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class jl extends F{static get controlType(){return"date-picker"}constructor(e){super(e);this.props=new oa(e==null?void 0:e.props)}}jl.controlFieldType=g.TIMESTAMP;var ql={Designer:ai,Runtime:jl,Property:oa};class bb extends M{constructor(e){super(e);this[0].type="object",e.isHide||this.push({type:"object",fields:{max:{type:"string",required:e.required,message:this[0].message},min:{type:"string",required:e.required,message:this[0].message}}})}}class ri extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b;this.dataBind=new hy(e==null?void 0:e.dataBind),this.defaultValue=new yy(e==null?void 0:e.defaultValue),this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.DATE,this.dateFormat=(u=e==null?void 0:e.dateFormat)!=null?u:"",this.commonTimeSetting=(a=e==null?void 0:e.commonTimeSetting)!=null?a:[],this.setValueType=(r=e==null?void 0:e.setValueType)!=null?r:"custom",this.rangeMin=(l=e==null?void 0:e.rangeMin)!=null?l:"",this.rangeMax=(o=e==null?void 0:e.rangeMax)!=null?o:"",this.placeholderStart=(s=e==null?void 0:e.placeholderStart)!=null?s:"\u8BF7\u9009\u62E9\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(d=e==null?void 0:e.placeholderEnd)!=null?d:"\u8BF7\u9009\u62E9\u7ED3\u675F\u65E5\u671F",this.caption=(v=e==null?void 0:e.caption)!=null?v:li.controlName,this.limitDateList=(b=(y=e==null?void 0:e.limitDateList)==null?void 0:y.map(C=>new qn(C)))!=null?b:[]}}ri.RuntimeRules=bb;class li extends D{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"date-range"}constructor(e){super(e);this.props=new ri(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{dateType:u}=this.props;n.props.dateType=u}return n}}li.controlFieldType=g.TIMESCOPE,li.setting=[{key:"data-bind-date-range",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Ul extends F{static get controlType(){return"date-range"}constructor(e){super(e);this.props=new ri(e==null?void 0:e.props)}}Ul.controlFieldType=g.TIMESCOPE;var Wl={Designer:li,Runtime:Ul,Property:ri};class Eb extends G{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Cb extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class $t extends B{constructor(e){super(e);var n,u,a,r,l,o;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:Vt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.lineEllipsis=(o=e==null?void 0:e.lineEllipsis)!=null?o:4}}$t.Rules=Eb,$t.RuntimeRules=Cb;class Vt extends D{static get controlName(){return"\u591A\u884C\u6587\u672C"}static get controlIcon(){return"iconMultilineline_new1"}static get controlType(){return"textarea"}constructor(e){super(e);this.props=new $t(e==null?void 0:e.props)}}Vt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Vt.controlFieldType=g.TEXT,Vt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"default-value",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"super-setting",visible:!0}];class Kl extends F{static get controlType(){return"textarea"}constructor(e){super(e);this.props=new $t(e==null?void 0:e.props)}}Kl.controlFieldType=g.TEXT;var zl={Designer:Vt,Runtime:Kl,Property:$t};class wb extends G{constructor(e){super(e);this.maxLength={type:"number",min:0,message:f.getMessage("TheMaximumLengthIsGreaterThanTheMinimumLength")},this.minLength={type:"number",max:1e6,message:f.getMessage("TheMinimumLengthIsGreaterThanTheMaximumLength")},this.defaultValue={type:"string",max:200,min:0,message:f.getMessage("stringRangeError")},this.maxLength.min=e.minLength,this.minLength.max=e.maxLength,this.defaultValue.max=e.maxLength,this.defaultValue.min=e.minLength,this.defaultValue.message=f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})}}class Ib extends M{constructor(e){super(e);this.push({type:"string",max:e.maxLength,min:e.minLength,message:f.getMessage("stringRangeError",{max:e.maxLength,min:e.minLength})})}}class Ht extends B{constructor(e){super(e);var n,u,a,r,l;this.maxLength=(n=e==null?void 0:e.maxLength)!=null?n:5e4,this.minLength=(u=e==null?void 0:e.minLength)!=null?u:0,this.defaultValue=(a=e==null?void 0:e.defaultValue)!=null?a:"",this.caption=(r=e==null?void 0:e.caption)!=null?r:jt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165"}}Ht.Rules=wb,Ht.RuntimeRules=Ib;class jt extends D{static get controlName(){return"\u5BCC\u6587\u672C"}static get controlIcon(){return"iconRichtextbox_new"}static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Ht(e==null?void 0:e.props)}}jt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],jt.controlFieldType=g.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:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"max-length",visible:!0},{key:"min-length",visible:!0},{key:"rich-text",visible:!0},{key:"super-setting",visible:!0}];class Gl extends F{static get controlType(){return"rich-text"}constructor(e){super(e);this.props=new Ht(e==null?void 0:e.props)}}Gl.controlFieldType=g.TEXT;var Xl={Designer:jt,Runtime:Gl,Property:Ht};class Sb extends pe{constructor(e){super(e)}}class oi extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:ci.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:"",this.allowCopyOptions=(s=e==null?void 0:e.allowCopyOptions)!=null?s:!1,this.openMultistageFilling=(d=e==null?void 0:e.openMultistageFilling)!=null?d:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(v=>{var y;(y=this.multistageFilling)==null||y.push(new p(v))}))}}oi.Rules=Sb;class ci extends D{static get controlName(){return"\u4E0B\u62C9\u5355\u9009"}static get controlIcon(){return"iconxiala1"}static get controlType(){return"select"}constructor(e){super(e);this.props=new oi(e==null?void 0:e.props)}}ci.controlFieldType=g.VARCHAR,ci.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP,c.ALLOW_COPY_OPTIONS]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Ql extends F{static get controlType(){return"select"}constructor(e){super(e);this.props=new oi(e==null?void 0:e.props)}}Ql.controlFieldType=g.VARCHAR;var Jl={Designer:ci,Runtime:Ql,Property:oi};class Ab extends pe{constructor(e){super(e)}}class _b extends M{constructor(e){super(e);this[0].type="array"}}class qt extends B{constructor(e){super(e);var n,u,a,r,l,o,s;this.options=he((n=e==null?void 0:e.options)!=null?n:[{label:"\u9009\u9879\u4E00",value:"\u9009\u9879\u4E00"},{label:"\u9009\u9879\u4E8C",value:"\u9009\u9879\u4E8C"},{label:"\u9009\u9879\u4E09",value:"\u9009\u9879\u4E09"}]),this.defaultShowOptions=(u=e==null?void 0:e.defaultShowOptions)!=null?u:!0,this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"custom",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.caption=(r=e==null?void 0:e.caption)!=null?r:si.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],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(d=>{var v;(v=this.multistageFilling)==null||v.push(new p(d))}))}}qt.Rules=Ab,qt.RuntimeRules=_b;class si extends D{static get controlName(){return"\u4E0B\u62C9\u591A\u9009"}static get controlIcon(){return"iconxialaduoxuan"}static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new qt(e==null?void 0:e.props)}}si.controlFieldType=g.ARRAY,si.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.DEFAULT_SHOW_OPTIONS,c.IS_SHOW_CAPTION_TIP]},{key:"options-setting",visible:!0},{key:"super-setting",visible:!0}];class Zl extends F{static get controlType(){return"select-multiple"}constructor(e){super(e);this.props=new qt(e==null?void 0:e.props)}}Zl.controlFieldType=g.ARRAY;var Yl={Designer:si,Runtime:Zl,Property:qt};class Tb extends M{constructor(e){super(e);this[0].type="array"}}class di extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:fi.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.openMultistageFilling=(v=e==null?void 0:e.openMultistageFilling)!=null?v:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var b;(b=this.multistageFilling)==null||b.push(new p(y))}))}}di.RuntimeRules=Tb;class fi extends D{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}fi.controlFieldType=g.EMPLOYEES,fi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"employee-multistage-filling",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class pl extends F{static get controlType(){return"employee"}constructor(e){super(e);this.props=new di(e==null?void 0:e.props)}}pl.controlFieldType=g.EMPLOYEES;var eo={Designer:fi,Runtime:pl,Property:di};const Rb=10485760,Bb=104857600,Pb=1048576e3;class Db extends G{constructor(e){super(e);this.maxSize={type:"number",min:0,max:Pb,message:f.getMessage("attachmentMaxSize")}}}class Fb extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",max:e.maxLimit,min:e.minLimit,message:f.getMessage("attachmentLimitError",{max:e.maxLimit,min:e.minLimit})})}}class lt extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:[],this.showType=(u=e==null?void 0:e.showType)!=null?u:"default",this.attachmentAccept=(a=e==null?void 0:e.attachmentAccept)!=null?a:[],this.maxLimit=(r=e==null?void 0:e.maxLimit)!=null?r:10,this.minLimit=(l=e==null?void 0:e.minLimit)!=null?l:0,this.maxSize=(o=e==null?void 0:e.maxSize)!=null?o:Bb,this.caption=(s=e==null?void 0:e.caption)!=null?s:ot.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u4E0A\u4F20\u9644\u4EF6"}}lt.Rules=Db,lt.RuntimeRules=Fb;class ot extends D{static get controlName(){return"\u9644\u4EF6"}static get controlIcon(){return"iconfujian2"}static get controlType(){return"attachment"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}ot.controlEventKeys=["on_change"],ot.controlFieldType=g.FILE,ot.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-state",visible:!0},{key:"attachment-accept",visible:!0},{key:"attachment-limit",visible:!0},{key:"attachment-size",visible:!0},{key:"attachment-defaultval",visible:!0},{key:"super-setting",visible:!0}];class ca extends F{static get controlType(){return"attachment"}constructor(e){super(e);this.props=new lt(e==null?void 0:e.props)}}ca.controlFieldType=g.FILE;var to={Designer:ot,Runtime:ca,Property:lt};const no=class extends ot{static get controlName(){return"\u56FE\u7247"}static get controlIcon(){return"iconpic_new"}static get controlType(){return"image"}constructor(t){super(t);var e,n,u,a;this.props.showType="image",this.props.caption=(n=(e=t==null?void 0:t.props)==null?void 0:e.caption)!=null?n:no.controlName,this.props.placeholder=(a=(u=t==null?void 0:t.props)==null?void 0:u.placeholder)!=null?a:"\u4E0A\u4F20\u56FE\u7247"}};let sa=no;sa.controlFieldType=g.IMAGE,sa.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"attachment-limit",visible:!0},{key:"image-defaultval",visible:!0},{key:"super-setting",visible:!0}];class xb extends ca{static get controlType(){return"image"}constructor(e){super(e);var n,u,a,r,l,o;this.props.showType="image",this.props.maxLimit=(u=(n=e==null?void 0:e.props)==null?void 0:n.maxLimit)!=null?u:9,this.props.caption=(r=(a=e==null?void 0:e.props)==null?void 0:a.caption)!=null?r:"\u56FE\u7247",this.props.placeholder=(o=(l=e==null?void 0:e.props)==null?void 0:l.placeholder)!=null?o:"\u4E0A\u4F20\u56FE\u7247"}}class kb extends lt{constructor(e){super(e)}}var io={Designer:sa,Runtime:xb,Property:kb};class Ob extends pe{constructor(e){super(e);this.defaultValue={type:"object",fields:{amount:[{type:"number",min:void 0,max:void 0,message:f.getMessage("pleaseEnterNumberRange")}]}},this.rangeMax={type:"any"};const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.defaultValue.fields.amount[0].max=n,this.defaultValue.fields.amount[0].min=u,this.defaultValue.fields.amount[0].message=f.getMessage("pleaseEnterNumberRange",{max:n,min:u}),u&&n!==void 0&&(this.rangeMax={type:"number",min:u,message:f.getMessage("numberRangeSetError")})}}class Mb extends M{constructor(e){super(e);this[0].type="object";const n=e.rangeMax===""?void 0:e.rangeMax,u=e.rangeMin===""?void 0:e.rangeMin;this.push({type:"object",fields:{amount:[mn(be({},this[0]),{type:"number"}),{type:"number",min:u,max:n,message:f.getMessage(n===void 0?"pleaseEnterAValueGreaterThanMin":u===void 0?"pleaseEnterAValueLessThanMax":"pleaseEnterNumberRange",{max:n,min:u})}],currency:{type:"string"}}})}}class Ut extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b;this.rangeMin=(n=e==null?void 0:e.rangeMin)!=null?n:"",this.rangeMax=(u=e==null?void 0:e.rangeMax)!=null?u:"",this.optionConfig=(a=e==null?void 0:e.optionConfig)!=null?a:"datasource",this.micrometer=(r=e==null?void 0:e.micrometer)!=null?r:!1,this.precision=(l=e==null?void 0:e.precision)!=null?l:2,this.dataBind=new dy(e==null?void 0:e.dataBind),this.datasourceBind=new z((o=e==null?void 0:e.datasourceBind)!=null?o:{displayBoList:[new iu({value:"name"})]}),this.defaultValue=new fy((s=e==null?void 0:e.defaultValue)!=null?s:{amount:"",currency:Cn.CNY}),this.options=he(e==null?void 0:e.options),this.caption=(d=e==null?void 0:e.caption)!=null?d:Wt.controlName,this.placeholder=(v=e==null?void 0:e.placeholder)!=null?v:"\u8BF7\u8F93\u5165",this.submitSelectCurrency=(y=e==null?void 0:e.submitSelectCurrency)!=null?y:!1,this.showUpperCase=(b=e==null?void 0:e.showUpperCase)!=null?b:!1}}Ut.Rules=Ob,Ut.RuntimeRules=Mb;class Wt extends D{static get controlName(){return"\u91D1\u989D"}static get controlType(){return"amount"}static get controlIcon(){return"iconjine"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Wt.controlEventKeys=["on_change","on_input","on_focus","on_blur"],Wt.controlFieldType=g.MONEY,Wt.setting=[{key:"data-bind-amount",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.SUBMIT_SELECT_CURRENCY,c.IS_SHOW_CAPTION_TIP]},{key:"amount-range",visible:!0},{key:"default-value",visible:!0},{key:"currency-type",visible:!0},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class uo extends F{static get controlType(){return"amount"}constructor(e){super(e);this.props=new Ut(e==null?void 0:e.props)}}uo.controlFieldType=g.MONEY;var ao={Designer:Wt,Runtime:uo,Property:Ut};class Nb extends G{constructor(e){super(e);this.totalScore=[{type:"number",required:!0,message:f.getMessage("pleaseEnterTotalScoreSetting")},{type:"number",min:1,message:f.getMessage("theTotalScoreMustNotBeLessThan1")}],this.defaultValue={type:"number",min:0,max:5,message:f.getMessage("scoreDefaultValueRange")},this.defaultValue.max=e.totalScore,this.defaultValue.message=f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:0})}}class Lb extends M{constructor(e){super(e);this[0].type="number";const n=e.required?1:0;this.push({type:"number",min:n,max:e.totalScore,message:f.getMessage("scoreDefaultValueRange",{max:e.totalScore,min:n})})}}class Kt extends B{constructor(e){super(e);var n,u,a,r,l,o,s;this.totalScore=(n=e==null?void 0:e.totalScore)!=null?n:5,this.scoreType=(u=e==null?void 0:e.scoreType)!=null?u:Xu.STAR,this.isShowExplain=(a=e==null?void 0:e.isShowExplain)!=null?a:!0,this.explain=(l=(r=e==null?void 0:e.explain)==null?void 0:r.map(d=>new Un(d)))!=null?l:Array(this.totalScore).fill(void 0).map(()=>new Un),this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:0,this.caption=(s=e==null?void 0:e.caption)!=null?s:zt.controlName}}Kt.Rules=Nb,Kt.RuntimeRules=Lb;class zt extends D{static get controlName(){return"\u8BC4\u5206"}static get controlIcon(){return"iconpingfen"}static get controlType(){return"score"}constructor(e){super(e);this.props=new Kt(e==null?void 0:e.props)}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 u=n-this.props.explain.length,a=Array(u).fill(void 0).map(()=>new Un);this.props.explain.push(...a)}}super.postUpdate(e,n)}}zt.controlEventKeys=["on_change","on_click"],zt.controlFieldType=g.DECIMAL,zt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"score-type",visible:!0},{key:"total-setting",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class ro extends F{static get controlType(){return"score"}constructor(e){super(e);this.props=new Kt(e==null?void 0:e.props)}}ro.controlFieldType=g.DECIMAL;var lo={Designer:zt,Runtime:ro,Property:Kt};class $b extends M{constructor(e){super(e);if(this[0].type="object",e.required&&!e.isHide){const n={type:"object",fields:{province:{type:"string",required:e.required,message:f.getMessage("pleaseSelectProvince")}}};e.addressType.includes("city")&&(n.fields.city={type:"string",required:e.required,message:f.getMessage("pleaseSelectCity")}),e.addressType.includes("district")&&(n.fields.district={type:"string",required:e.required,message:f.getMessage("pleaseSelectDistrict")}),this.push(n)}}}class hi extends B{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:yi.controlName,this.defaultValueType=(u=e==null?void 0:e.defaultValueType)!=null?u:"default",this.addressType=(a=e==null?void 0:e.addressType)!=null?a:["province","city","district"],this.defaultValue=new my((r=e==null?void 0:e.defaultValue)!=null?r:{}),this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u9009\u62E9\u5730\u5740"}}hi.RuntimeRules=$b;class yi extends D{static get controlName(){return"\u5730\u5740"}static get controlIcon(){return"icondizhi"}static get controlType(){return"address"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}yi.controlFieldType=g.ADDRESS,yi.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"address-defaultval",visible:!0},{key:"super-setting",visible:!0}];class oo extends F{static get controlName(){return"\u7701\u5E02\u533A"}static get controlIcon(){return"iconicon_site_management11"}static get controlType(){return"address"}constructor(e){super(e);this.props=new hi(e==null?void 0:e.props)}}oo.controlFieldType=g.ADDRESS;var co={Designer:yi,Runtime:oo,Property:hi};class Vb extends M{constructor(e){super(e);this[0].type="array"}}class mi extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:Gt.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.openMultistageFilling=(b=e==null?void 0:e.openMultistageFilling)!=null?b:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(C=>{var A;(A=this.multistageFilling)==null||A.push(new p(C))}))}}mi.RuntimeRules=Vb;class Gt extends D{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}Gt.controlName="\u90E8\u95E8",Gt.controlFieldType=g.DEPARTMENTS,Gt.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"department-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 so extends F{static get controlType(){return"department"}constructor(e){super(e);this.props=new mi(e==null?void 0:e.props)}}so.controlFieldType=g.DEPARTMENTS;var fo={Designer:Gt,Runtime:so,Property:mi};class da extends B{constructor(e){super(e);var n,u,a;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:"",this.caption=(u=e==null?void 0:e.caption)!=null?u:Xt.controlName,this.placeholder=(a=e==null?void 0:e.placeholder)!=null?a:"\u8BF7\u8F93\u5165\u81EA\u52A8\u7F16\u53F7"}}class Xt extends D{static get controlName(){return"\u81EA\u52A8\u7F16\u53F7"}static get controlIcon(){return"iconnumber_new"}static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}}Xt.controlEventKeys=["on_change"],Xt.controlFieldType=g.AUTO_NUMBER,Xt.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"super-setting",visible:!0}];class ho extends F{static get controlType(){return"auto-number"}constructor(e){super(e);this.props=new da(e==null?void 0:e.props)}}ho.controlFieldType=g.AUTO_NUMBER;var yo={Designer:Xt,Runtime:ho,Property:da};class Hb 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 jb extends M{constructor(e){super(e);this[0].type="object",this.push({type:"object",message:f.getMessage("isNotObject"),fields:{result:[{type:"number",message:f.getMessage("isNotNumber")}],unit:{type:"string",message:f.getMessage("isNotString")}}})}}class Qt extends B{constructor(e){super(e);var n,u,a,r,l,o,s;this.precision=(n=e==null?void 0:e.precision)!=null?n:0,this.micrometer=(u=e==null?void 0:e.micrometer)!=null?u:!1,this.showUpperCase=(a=e==null?void 0:e.showUpperCase)!=null?a:!1,this.dataBind=new vy(e==null?void 0:e.dataBind),this.defaultValue=new gy(e==null?void 0:e.defaultValue),this.caption=(r=e==null?void 0:e.caption)!=null?r:Jt.controlName,this.placeholder=(l=e==null?void 0:e.placeholder)!=null?l:"\u8BF7\u8F93\u5165",this.scriptEcho=(o=e==null?void 0:e.scriptEcho)!=null?o:[],this.scriptSrc=(s=e==null?void 0:e.scriptSrc)!=null?s:""}}Qt.Rules=Hb,Qt.RuntimeRules=jb;class Jt extends D{static get controlName(){return"\u8BA1\u7B97\u516C\u5F0F"}static get controlType(){return"calc"}static get controlIcon(){return"iconcalculation_new"}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}Jt.controlEventKeys=["on_change"],Jt.controlFieldType=g.CALC,Jt.setting=[{key:"data-bind-calc",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"calc-script-src",visible:!0},{key:"calc-script-echo",visible:!1},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"unit-alone",visible:!0},{key:"default-value",visible:!1},{key:"number-suite",showItems:[c.SHOW_UPPER_CASE,c.MICROMETER,c.PRECISION],visible:!0},{key:"super-setting",visible:!0}];class mo extends F{static get controlType(){return"calc"}constructor(e){super(e);this.props=new Qt(e==null?void 0:e.props)}}mo.controlFieldType=g.CALC;var vo={Designer:Jt,Runtime:mo,Property:Qt};class qb extends M{constructor(e){super(e);this[0].type="array",this.push({validator(n,u){return e.required&&u.every(r=>!r)?Promise.reject(f.getMessage("runtimeRequired",{caption:e.caption})):Promise.resolve()}})}}class vi extends B{constructor(e){super(e);var n,u,a,r,l,o;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.rangeMin=(u=e==null?void 0:e.rangeMin)!=null?u:"",this.rangeMax=(a=e==null?void 0:e.rangeMax)!=null?a:"",this.placeholderStart=(r=e==null?void 0:e.placeholderStart)!=null?r:"\u6700\u5C0F\u503C",this.placeholderEnd=(l=e==null?void 0:e.placeholderEnd)!=null?l:"\u6700\u5927\u503C",this.caption=(o=e==null?void 0:e.caption)!=null?o:gi.controlName}}vi.RuntimeRules=qb;class gi extends D{static get controlName(){return"\u6570\u5B57\u533A\u95F4"}static get controlIcon(){return"iconshuziqujian"}static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}gi.controlFieldType=g.DECIMAL_RANGE,gi.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"number-placeholder-start",visible:!0},{key:"number-placeholder-end",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class go extends F{static get controlType(){return"search-number-range"}constructor(e){super(e);this.props=new vi(e==null?void 0:e.props)}}go.controlFieldType=g.DECIMAL_RANGE;var bo={Designer:gi,Runtime:go,Property:vi};class Ub extends M{constructor(e){super(e);this[0].type="array",this.push({type:"array",fields:{0:{type:"string",required:e.required,message:this[0].message},1:{type:"string",required:e.required,message:this[0].message}}})}}class bi extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,C;this.defaultValue=(n=e==null?void 0:e.defaultValue)!=null?n:["",""],this.dateType=(u=e==null?void 0:e.dateType)!=null?u:Ee.DATE,this.dateFormat=(a=e==null?void 0:e.dateFormat)!=null?a:"",this.commonTimeSetting=(r=e==null?void 0:e.commonTimeSetting)!=null?r:[],this.setValueType=(l=e==null?void 0:e.setValueType)!=null?l:"custom",this.rangeMin=(o=e==null?void 0:e.rangeMin)!=null?o:"",this.rangeMax=(s=e==null?void 0:e.rangeMax)!=null?s:"",this.placeholderStart=(d=e==null?void 0:e.placeholderStart)!=null?d:"\u5F00\u59CB\u65E5\u671F",this.placeholderEnd=(v=e==null?void 0:e.placeholderEnd)!=null?v:"\u7ED3\u675F\u65E5\u671F",this.caption=(y=e==null?void 0:e.caption)!=null?y:Ei.controlName,this.limitDateList=(C=(b=e==null?void 0:e.limitDateList)==null?void 0:b.map(A=>new qn(A)))!=null?C:[]}}bi.RuntimeRules=Ub;class Ei extends D{static get controlName(){return"\u65E5\u671F\u533A\u95F4"}static get controlIcon(){return"iconriqiqujian"}static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Ei.controlFieldType=g.ARRAY,Ei.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"date-placeholder-start",visible:!0},{key:"date-placeholder-end",visible:!0},{key:"date-type",visible:!0},{key:"date-common-time-setting",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.IS_SHOW_CAPTION_TIP]},{key:"date-limit-range",visible:!0},{key:"default-value",visible:!0},{key:"super-setting",visible:!0}];class Eo extends F{static get controlType(){return"search-date-range"}constructor(e){super(e);this.props=new bi(e==null?void 0:e.props)}}Eo.controlFieldType=g.ARRAY;var Co={Designer:Ei,Runtime:Eo,Property:bi};class Wb extends G{constructor(e){super(e);this.dataBind={type:"any"}}}class Kb extends M{constructor(e){super(e);this[0].type="any"}}class Zt extends B{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:Yt.controlName,this.defaultValue=(u=e==null?void 0:e.defaultValue)!=null?u:void 0,this.controlExportName=(a=e==null?void 0:e.controlExportName)!=null?a:"",this.permissions=(r=e==null?void 0:e.permissions)!=null?r:[],this.isInlineEdit=(l=e==null?void 0:e.isInlineEdit)!=null?l:!1}}Zt.Rules=Wb,Zt.RuntimeRules=Kb;class Yt extends D{static get controlName(){return"Vue\u5BB9\u5668"}static get controlIcon(){return"iconvuerongqi"}static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Zt(e==null?void 0:e.props)}}Yt.controlFieldType=g.ANY,Yt.controlEventKeys=[],Yt.setting=[{key:"data-bind-vue",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_HIDE_CAPTION,c.REQUIRED,c.IS_SHOW_CAPTION_TIP,c.IS_INLINE_EDIT]},{key:"vue-control-export-name",visible:!0},{key:"vue-permissions",visible:!0},{key:"super-setting",visible:!0}];class wo extends F{static get controlType(){return"vue-form-item"}constructor(e){super(e);this.props=new Zt(e==null?void 0:e.props)}}wo.controlFieldType=g.ANY;var Io={Designer:Yt,Runtime:wo,Property:Zt};class zb extends pe{constructor(e){super(e);this.listPageBind=[{type:"object",message:f.getMessage("isNotObject")},{type:"object",required:!0,fields:{formKey:[{type:"string",message:f.getMessage("isNotString")},{type:"string",required:!0,message:f.getMessage("pleaseEnterList")}]}}]}}class Ci extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v;this.options=he((n=e==null?void 0:e.options)!=null?n:[]),this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"datasource",this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.caption=(a=e==null?void 0:e.caption)!=null?a:pt.controlName,this.placeholder=(r=e==null?void 0:e.placeholder)!=null?r:"\u8BF7\u9009\u62E9",this.defaultValue=(l=e==null?void 0:e.defaultValue)!=null?l:"",this.openMultistageFilling=(o=e==null?void 0:e.openMultistageFilling)!=null?o:!1,this.showSelectedDetail=(s=e==null?void 0:e.showSelectedDetail)!=null?s:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(y=>{var b;(b=this.multistageFilling)==null||b.push(new p(y))})),this.canViewForm=(d=e==null?void 0:e.canViewForm)!=null?d:!1,this.viewFormModelType=(v=e==null?void 0:e.viewFormModelType)!=null?v:"window"}}Ci.Rules=zb;class pt extends D{static get controlName(){return"\u5173\u8054\u5355\u9009"}static get controlIcon(){return"iconguanliandanxuan"}static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}pt.controlFieldType=g.VARCHAR,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.CAN_VIEW_FORM,c.VIEW_FORM_MODEL_TYPE,c.IS_SHOW_CAPTION_TIP]},{key:"relation-setting",visible:!0},{key:"super-setting",visible:!0}],pt.controlEventKeys=["on_change","on_focus","on_blur","on_modal_ok"];class So extends F{static get controlType(){return"select-relation"}constructor(e){super(e);this.props=new Ci(e==null?void 0:e.props)}}So.controlFieldType=g.VARCHAR;var Ao={Designer:pt,Runtime:So,Property:Ci};class fa extends at{constructor(e){super(e)}}class _o extends rt{static get controlName(){return"\u5355\u884C\u6587\u672C"}static get controlType(){return"search-input"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}_o.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED]},{key:"super-setting",visible:!0}];class To extends F{static get controlType(){return"search-input"}constructor(e){super(e);this.props=new fa(e==null?void 0:e.props)}}To.controlFieldType=g.VARCHAR;var Ro={Designer:_o,Runtime:To,Property:fa};class Gb extends G{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],An.call(this,e,Re.controlCustomAttributes,!0),this.datasourceBind[1].fields&&(this.datasourceBind[1].fields.rootNode=[{type:"object",required:!0,message:f.getMessage("isNotObject")},{type:"object",fields:{type:{type:"enum",enum:["form","system","custom","gv"],required:!0},value:{type:"array",required:!0,min:1,message:f.getMessage("rootNodeIsRequired")}}}])}}class Xb extends M{constructor(e){super(e);this[0].type="array"}}class en extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,C,A,E,_,m,I,w,P;this.optionConfig="datasource",this.caption=(n=e==null?void 0:e.caption)!=null?n:Re.controlName,this.placeholder=(u=e==null?void 0:e.placeholder)!=null?u:"\u8BF7\u9009\u62E9",this.multiple=(a=e==null?void 0:e.multiple)!=null?a:!1,this.canSearch=(r=e==null?void 0:e.canSearch)!=null?r:!0,this.levelType=(l=e==null?void 0:e.levelType)!=null?l:"all",this.optionalLevel=(o=e==null?void 0:e.optionalLevel)!=null?o:1,this.containsSubNode=(s=e==null?void 0:e.containsSubNode)!=null?s:!1,this.isShowFilterItem=(d=e==null?void 0:e.isShowFilterItem)!=null?d:!1,this.isShowIncludeSub=(v=e==null?void 0:e.isShowIncludeSub)!=null?v:!1,this.isDefaultCheckSub=(y=e==null?void 0:e.isDefaultCheckSub)!=null?y:!1,this.defaultCollapse=(b=e==null?void 0:e.defaultCollapse)!=null?b:"all",this.defaultCollapseLevel=(C=e==null?void 0:e.defaultCollapseLevel)!=null?C:1,this.datasourceBind=new dr((A=e==null?void 0:e.datasourceBind)!=null?A:{attributes:Re.controlCustomAttributes}),this.filterItemDatasourceBind=new dr((E=e==null?void 0:e.filterItemDatasourceBind)!=null?E:{attributes:Re.controlCustomAttributes}),this.openMultistageFilling=(_=e==null?void 0:e.openMultistageFilling)!=null?_:!1,this.defaultDisplay=(m=e==null?void 0:e.defaultDisplay)!=null?m:!1,this.multistageFilling=(w=(I=e==null?void 0:e.multistageFilling)==null?void 0:I.map(x=>new p(x)))!=null?w:[],this.defaultValue=(P=e==null?void 0:e.defaultValue)!=null?P:[]}}en.Rules=Gb,en.RuntimeRules=Xb;class Re extends D{static get controlName(){return"\u6811"}static get controlIcon(){return"icontree"}static get controlType(){return"tree"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0},{key:"parentField",name:"\u7236\u7EA7\u5B57\u6BB5",required:!0}]}constructor(e){super(e);this.props=new en(e==null?void 0:e.props)}}Re.controlEventKeys=["on_change","on_click"],Re.controlFieldType=g.ARRAY,Re.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.CAN_SEARCH,c.DEFAULT_DISPLAY,c.CONTAINS_SUB_NODE,c.IS_SHOW_CAPTION_TIP]},{key:"tree-optional-level",visible:!0},{key:"tree-default-collapse",visible:!0},{key:"tree-datasource-bind",visible:!0},{key:"super-setting",visible:!0}];class Bo extends F{static get controlType(){return"tree"}constructor(e){super(e);this.props=new en(e==null?void 0:e.props)}}Bo.controlFieldType=g.ARRAY;var Po={Designer:Re,Runtime:Bo,Property:en};class Qb extends G{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.externalScope={type:"any"},An.call(this,e,ct.controlCustomAttributes),e.externalType===Te.ASSIGN&&(this.externalScope={type:"array",required:!0,message:f.getMessage("pleaseAssignExternal")})}}class Jb extends M{constructor(e){super(e);this[0].type="array"}}class tn extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,C,A,E;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.range=(u=e==null?void 0:e.range)!=null?u:"all",this.rangeOptions=(a=e==null?void 0:e.rangeOptions)!=null?a:[],this.multiple=(r=e==null?void 0:e.multiple)!=null?r:!1,this.defaultValueType=(l=e==null?void 0:e.defaultValueType)!=null?l:"none",this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.caption=(s=e==null?void 0:e.caption)!=null?s:ct.controlName,this.placeholder=(d=e==null?void 0:e.placeholder)!=null?d:"\u8BF7\u8F93\u5165\u4EBA\u5458\u59D3\u540D\u6216\u90AE\u7BB1",this.datasourceBind=new En((v=e==null?void 0:e.datasourceBind)!=null?v:{attributes:ct.controlCustomAttributes}),this.datasourceType=(y=e==null?void 0:e.datasourceType)!=null?y:pu.INTERNAL,this.insideType=(b=e==null?void 0:e.insideType)!=null?b:ea.ADMIN,this.externalType=(C=e==null?void 0:e.externalType)!=null?C:Te.ALL,this.externalScope=(A=e==null?void 0:e.externalScope)!=null?A:[],this.openMultistageFilling=(E=e==null?void 0:e.openMultistageFilling)!=null?E:!1,this.multistageFilling=[],Array.isArray(e==null?void 0:e.multistageFilling)&&(e==null||e.multistageFilling.map(_=>{var m;(m=this.multistageFilling)==null||m.push(new p(_))}))}}tn.Rules=Qb,tn.RuntimeRules=Jb;class ct extends D{static get controlName(){return"\u4EBA\u5458"}static get controlIcon(){return"iconpeople1"}static get controlType(){return"employee2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}ct.controlFieldType=g.EMPLOYEES,ct.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"employee-datasource-setting",visible:!0},{key:"employee-range",visible:!0},{key:"employee-default-value",visible:!0},{key:"show-tree",visible:!0},{key:"super-setting",visible:!0}];class Do extends F{static get controlType(){return"employee2"}constructor(e){super(e);this.props=new tn(e==null?void 0:e.props)}}Do.controlFieldType=g.EMPLOYEES;var Fo={Designer:ct,Runtime:Do,Property:tn};class Zb extends G{constructor(e){super(e);this.signatureConfig={type:"object",fields:{fileControl:{type:"string",required:!0,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u6587\u4EF6"},undersignedList:{type:"array",required:!0,min:1,message:"\u81F3\u5C11\u9700\u8981\u4E00\u4E2A\u7B7E\u7F72\u4EBA",fields:e.signatureConfig.undersignedList.reduce((n,u,a)=>(n[a]={type:"object",required:!0,fields:{type:{type:"enum",enum:["private","public"],required:!0},person:{type:"object",required:!0,fields:{value:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7F72\u4EBA"}}},signatureType:{type:"array",required:!0,min:1,message:"\u8BF7\u9009\u62E9\u7B7E\u7AE0\u7C7B\u578B"},telephone:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&Qi(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u624B\u673A\u53F7/\u90AE\u7BB1");return}o()}},company:{type:"object",required:!0,validator(r,l,o){if(u.type==="public"&&u.signatureType.includes("company")&&Qi(l.value)&&l.value.length===0){o("\u8BF7\u9009\u62E9\u516C\u53F8\u540D\u79F0");return}o()}}}},n),{})}}}}}class wi extends B{constructor(e){super(e);var n,u,a,r,l,o;this.command="",this.isLoading=!1,this.caption=(n=e==null?void 0:e.caption)!=null?n:nn.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u53D1\u8D77\u7B7E\u7F72",this.buttonType=(a=e==null?void 0:e.buttonType)!=null?a:"primary",this.showType=(r=e==null?void 0:e.showType)!=null?r:"text",this.color=(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 ul(e==null?void 0:e.signatureConfig)}}wi.Rules=Zb;class nn extends D{static get controlName(){return"\u7535\u5B50\u7B7E\u7AE0"}static get controlIcon(){return"icondianziqianzhang"}static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}nn.controlEventKeys=["on_click","on_click_finish"],nn.controlFieldType=g.VARCHAR,nn.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_SHOW_CAPTION_TIP]},{key:"placeholder",visible:!0},{key:"button-type",visible:!0},{key:"button-color-type",visible:!0},{key:"electronic-signature-setting",visible:!0},{key:"super-setting",visible:!0}];class xo extends F{static get controlType(){return"electronic-signature"}constructor(e){super(e);this.props=new wi(e==null?void 0:e.props)}}xo.controlFieldType=g.VARCHAR;var ko={Designer:nn,Runtime:xo,Property:wi};class Yb extends G{constructor(e){super(e);this.content={type:"string",required:!0,message:f.getMessage("pleaseEnterButtonContent")},this.wpsSetting={type:"object",fields:{watermark:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterWatermark"));return}a()}},autoRename:{type:"object",validator(n,u,a){if(u.active&&!u.text){a(f.getMessage("pleaseEnterFileName"));return}a()}}}},this.canAdd={type:"boolean",validator(n,u,a){if(e.canAdd&&!e.addLocal&&!e.addOnline){a(f.getMessage("pleaseChooseAtLeastOne"));return}a()}}}}class pb extends M{constructor(e){super(e);this[0].type="array"}}class un extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,C;this.caption=(n=e==null?void 0:e.caption)!=null?n:an.controlName,this.content=(u=e==null?void 0:e.content)!=null?u:"\u65B0\u5EFA\u6587\u6863",this.canAdd=(a=e==null?void 0:e.canAdd)!=null?a:!0,this.addLocal=(r=e==null?void 0:e.addLocal)!=null?r:!0,this.addOnline=(l=e==null?void 0:e.addOnline)!=null?l:!0,this.canEdit=(o=e==null?void 0:e.canEdit)!=null?o:!0,this.canDownload=(s=e==null?void 0:e.canDownload)!=null?s:!0,this.canExport=(d=e==null?void 0:e.canExport)!=null?d:!0,this.canDelete=(v=e==null?void 0:e.canDelete)!=null?v:!1,this.maxSize=(y=e==null?void 0:e.maxSize)!=null?y:Rb,this.defaultValue=(b=e==null?void 0:e.defaultValue)!=null?b:[],this.wpsSetting=new al(e==null?void 0:e.wpsSetting),this.revisionsMode=(C=e==null?void 0:e.revisionsMode)!=null?C:!1}}un.Rules=Yb,un.RuntimeRules=pb;class an extends D{static get controlName(){return"\u5728\u7EBF\u6587\u6863"}static get controlIcon(){return"iconwps"}static get controlType(){return"wps"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}an.controlEventKeys=["on_change","on_wps_open"],an.controlFieldType=g.FILE,an.setting=[{key:"data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_SHOW_CAPTION_TIP,c.REVISIONS_MODE]},{key:"button-content",visible:!0},{key:"wps-actions-setting",visible:!0},{key:"wps-word-setting",visible:!0},{key:"wps-attachment-size",visible:!0},{key:"wps-default-value",visible:!0},{key:"super-setting",visible:!0}];class Oo extends F{static get controlType(){return"wps"}constructor(e){super(e);this.props=new un(e==null?void 0:e.props)}}Oo.controlFieldType=g.FILE;var Mo={Designer:an,Runtime:Oo,Property:un};class e0 extends G{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,ke.controlCustomAttributes),e.businessType===Te.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class t0 extends M{constructor(e){super(e);this[0].type="array"}}class rn extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,C,A,E,_;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"none",this.rangeOptions=(l=e==null?void 0:e.rangeOptions)!=null?l:[],this.defaultValue=(o=e==null?void 0:e.defaultValue)!=null?o:[],this.displayLevel=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:ke.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u90E8\u95E8",this.datasourceBind=new En((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:ke.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Te.ALL,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(m=>{var I;(I=this.multistageFilling)==null||I.push(new p(m))}))}}rn.Rules=e0,rn.RuntimeRules=t0;class ke extends D{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"department2"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}ke.controlName="\u90E8\u95E8",ke.controlFieldType=g.DEPARTMENTS,ke.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"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 No extends F{static get controlType(){return"department2"}constructor(e){super(e);this.props=new rn(e==null?void 0:e.props)}}No.controlFieldType=g.DEPARTMENTS;var Lo={Designer:ke,Runtime:No,Property:rn};class n0 extends G{constructor(e){super(e);this.datasourceBind=[{type:"object",message:f.getMessage("isNotObject")}],this.businessScope={type:"any"},An.call(this,e,Oe.controlCustomAttributes),e.businessType===Te.ASSIGN&&(this.businessScope={type:"array",required:!0,message:f.getMessage("pleaseAssignBusiness")})}}class i0 extends M{constructor(e){super(e);this[0].type="array"}}class ln extends B{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y,b,C,A,E,_,m,I,w;this.showType=(n=e==null?void 0:e.showType)!=null?n:"default",this.multiple=(u=e==null?void 0:e.multiple)!=null?u:!1,this.range=(a=e==null?void 0:e.range)!=null?a:"all",this.listPageBind=new tu(e==null?void 0:e.listPageBind),this.defaultValueType=(r=e==null?void 0:e.defaultValueType)!=null?r:"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=(s=e==null?void 0:e.displayLevel)!=null?s:1,this.showSubDept=(d=e==null?void 0:e.showSubDept)!=null?d:!0,this.caption=(v=e==null?void 0:e.caption)!=null?v:Oe.controlName,this.placeholder=(y=e==null?void 0:e.placeholder)!=null?y:"\u8BF7\u9009\u62E9\u7EC4\u7EC7",this.datasourceBind=new cy((b=e==null?void 0:e.datasourceBind)!=null?b:{attributes:Oe.controlCustomAttributes}),this.datasourceType=(C=e==null?void 0:e.datasourceType)!=null?C:Wn.INTERNAL,this.businessScope=(A=e==null?void 0:e.businessScope)!=null?A:[],this.businessType=(E=e==null?void 0:e.businessType)!=null?E:Te.ALL,this.organizingFunction=(_=e==null?void 0:e.organizingFunction)!=null?_:void 0,this.organizationView=(m=e==null?void 0:e.organizationView)!=null?m:void 0,this.showSelectedDetail=(I=e==null?void 0:e.showSelectedDetail)!=null?I:!1,this.selectedContentConfig=new au(e==null?void 0:e.selectedContentConfig),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(P=>{var x;(x=this.multistageFilling)==null||x.push(new p(P))}))}}ln.Rules=n0,ln.RuntimeRules=i0;class Oe extends D{static get controlIcon(){return"icondepartment_new"}static get controlType(){return"organization-selection"}static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n&&!Array.isArray(n)){const{displayLevel:u,showSubDept:a}=this.props;n.props.displayLevel=u,n.props.showSubDept=a}return n}}Oe.controlName="\u4E1A\u52A1\u7EC4\u7EC7",Oe.controlFieldType=g.DEPARTMENTS,Oe.setting=[{key:"data-bind",visible:!0},{key:"field-type",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"default-state",visible:!0},{key:"placeholder",visible:!0},{key:"common-setting",visible:!0,showItems:[c.REQUIRED,c.IS_HIDE,c.IS_HIDE_CAPTION,c.MULTIPLE,c.IS_SHOW_CAPTION_TIP]},{key:"organization-selection-setting",visible:!0},{key:"org-selection-defaultval",visible:!0},{key:"show-tree",visible:!0},{key:"department-contain-sub",visible:!0},{key:"super-setting",visible:!0}];class $o extends F{static get controlType(){return"organization-selection"}constructor(e){super(e);this.props=new ln(e==null?void 0:e.props)}}$o.controlFieldType=g.DEPARTMENTS;var Vo={Designer:Oe,Runtime:$o,Property:ln},u0=Object.freeze({__proto__:null,Input:Ol,Checkbox:Nl,Radio:$l,Number:Hl,DatePicker:ql,DateRange:Wl,Textarea:zl,RichText:Xl,Select:Jl,SelectMultiple:Yl,Employee:eo,Image:io,Attachment:to,Amount:ao,Score:lo,Address:co,Department:fo,AutoNumber:yo,Calc:vo,SearchNumberRange:bo,SearchDateRange:Co,VueFormItem:Io,SelectRelation:Ao,SearchInput:Ro,Tree:Po,Employee2:Fo,ElectronicSignature:ko,WPS:Mo,Department2:Lo,OrganizationSelection:Vo});class Ho extends H{static get controlName(){return"\u753B\u5E03"}static get controlIcon(){return"grid"}static get controlType(){return"grid"}constructor(e){super(e)}}Ho.excludes=[S.GRID];class a0 extends K{static get controlType(){return"grid"}constructor(e){super(e)}}var jo={Designer:Ho,Runtime:a0,Property:L};const r0=24;class Me extends L{constructor(e){super(e);var n,u;this.span=(n=e==null?void 0:e.span)!=null?n:r0,this.offset=(u=e==null?void 0:e.offset)!=null?u:0}}class on extends H{static get controlName(){return"\u6805\u683C\u5217"}static get controlType(){return"col"}static get controlIcon(){return"col"}constructor(e){super(e);this.props=new Me(e==null?void 0:e.props)}}on.excludes=[S.COL,S.CARD_GROUP,S.SUBTABLE,S.SUBTABLE_COLUMN,S.DIVIDER],on.childrenMaxLength=1;class ha extends K{static get controlType(){return"col"}constructor(e){super(e);this.props=new Me(e==null?void 0:e.props)}}var qo={Designer:on,Runtime:ha,Property:Me};class Ii extends L{constructor(e){super(e);var n,u;this.layoutMode=(n=e==null?void 0:e.layoutMode)!=null?n:"select",this.gutter=(u=e==null?void 0:e.gutter)!=null?u:0}}class Si extends H{static get controlName(){return"\u6805\u683C\u5E03\u5C40"}static get controlType(){return"row"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}Si.excludes=[S.ROW],Si.setting=[{key:"col-setting",visible:!0}];class Uo extends K{static get controlType(){return"row"}constructor(e){super(e);this.props=new Ii(e==null?void 0:e.props)}}var Wo={Designer:Si,Runtime:Uo,Property:Ii};const l0=4;class Ai extends Si{static get controlName(){return"\u6805\u683C\u7B49\u5206\u884C"}static get controlType(){return"grid-row"}static get controlIcon(){return"grid-row"}constructor(e){super(e)}}Ai.excludes=[S.GRID_ROW],Ai.setting=[],Ai.childrenMaxLength=l0;class o0 extends Uo{static get controlType(){return"grid-row"}constructor(e){super(e)}}class c0 extends Ii{constructor(e){super(e)}}var Ko={Designer:Ai,Runtime:o0,Property:c0};class s0 extends L.Rules{constructor(){super(...arguments);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class _i extends L{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:"\u5206\u7EC4",this.collapse=(u=e==null?void 0:e.collapse)!=null?u:"none"}}_i.Rules=s0;class ya extends H{static get controlName(){return"\u5206\u7EC4"}static get controlIcon(){return"iconfenzu6"}static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}ya.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"collapse-setting",visible:!0},{key:"super-setting",visible:!0}],ya.excludes=[S.CARD_GROUP];class d0 extends K{static get controlType(){return"card-group"}constructor(e){super(e);this.props=new _i(e==null?void 0:e.props)}}var zo={Designer:ya,Runtime:d0,Property:_i};class f0 extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.width={type:"number",required:!1,message:f.getMessage("pleaseEnterColumnWidth")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},e.isShowCaptionTip&&(this.captionTip.required=!0)}}class Ti extends L{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:"",this.fixed=(u=e==null?void 0:e.fixed)!=null?u:!1,this.isShowCaptionTip=(a=e==null?void 0:e.isShowCaptionTip)!=null?a:!1,this.captionTip=(r=e==null?void 0:e.captionTip)!=null?r:"",this.isHideCaption=(l=e==null?void 0:e.isHideCaption)!=null?l:!1,this.metaAutoWidth=new ty(e==null?void 0:e.metaAutoWidth)}}Ti.Rules=f0;class ce extends H{constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}ce.controlName="\u660E\u7EC6\u5B50\u8868\u5355\u5143\u683C",ce.controlType="subtable-column",ce.controlIcon="subtable-column",ce.childrenMaxLength=1,ce.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],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 Go extends K{constructor(e){super(e);this.props=new Ti(e==null?void 0:e.props)}}Go.controlType="subtable-column";var Xo={Designer:ce,Runtime:Go,Property:Ti};class ma extends L{constructor(e){super(e)}}class Ne extends H{constructor(e){super(e);this.props=new ma(e==null?void 0:e.props)}}Ne.controlName="\u660E\u7EC6\u5B50\u8868\u884C",Ne.controlType="subtable-row",Ne.controlIcon="subtable-row",Ne.childrenMaxLength=1,Ne.excludes=[S.SUBTABLE,S.SUBTABLE_COLUMN,S.SUBTABLE_ROW,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Ne.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0}];class h0 extends K{static get controlType(){return"subtable-row"}constructor(e){super(e);this.props=new ma(e==null?void 0:e.props)}}var Qo={Designer:Ne,Runtime:h0,Property:ma};class va extends L{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y;this.width=(n=e==null?void 0:e.width)!=null?n:200,this.widthType=(e==null?void 0:e.widthType)||"auto",this.caption=(u=e==null?void 0:e.caption)!=null?u:"",this.fixed=(a=e==null?void 0:e.fixed)!=null?a:!1,this.fieldCode=(r=e==null?void 0:e.fieldCode)!=null?r:"",this.fieldType=(l=e==null?void 0:e.fieldType)!=null?l:g.VARCHAR,this.fieldName=(o=e==null?void 0:e.fieldName)!=null?o:"",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.textCleanFormart=(s=e==null?void 0:e.textCleanFormart)!=null?s:!1,this.decimalKeepPrecision=(d=e==null?void 0:e.decimalKeepPrecision)!=null?d:0,this.timestampDateType=(v=e==null?void 0:e.timestampDateType)!=null?v:Ee.DATE,this.departmentDisplayLevel=(y=e==null?void 0:e.departmentDisplayLevel)!=null?y:1}}class Le extends H{constructor(e){super(e);this.props=new va(e==null?void 0:e.props)}}Le.controlName="\u5217\u8868\u5355\u5143\u683C",Le.controlType="gridtable-column",Le.controlIcon="gridtable-column",Le.childrenMaxLength=1,Le.excludes=[S.GRID_TABLE,S.GRID_TABLE_COLUMN,S.ROW,S.COL,S.CARD_GROUP,S.DIVIDER,S.TEXT],Le.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0}];class Jo extends K{constructor(e){super(e);this.props=new va(e==null?void 0:e.props)}}Jo.controlType="gridtable-column";var Zo={Designer:Le,Runtime:Jo,Property:va};class ga extends L{constructor(e){super(e);var n;this.mobileShowType=(n=e==null?void 0:e.mobileShowType)!=null?n:"vertical"}}class y0 extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")}}}class Ri extends L{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:sn.controlName}}Ri.Rules=y0;class cn extends H{static get controlName(){return"\u6807\u7B7E\u5355\u5143"}static get controlType(){return"tab-pane"}static get controlIcon(){return"tab-pane"}constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}cn.excludes=[S.TAB],cn.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"super-setting",visible:!0}];class m0 extends K{static get controlType(){return"tab-pane"}constructor(e){super(e);this.props=new Ri(e==null?void 0:e.props)}}var Yo={Designer:cn,Runtime:m0,Property:Ri};class sn extends H{static get controlName(){return"\u6807\u7B7E\u9875"}static get controlType(){return"tab"}static get controlIcon(){return"iconmanage11"}constructor(e){super(e);var n;this.props=new ga(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[new cn,new cn]}}sn.excludes=[S.TAB],sn.controlEventKeys=["on_change_tab"],sn.setting=[{key:"tab-mobile-show-type",visible:!0},{key:"super-setting",visible:!0}];class v0 extends K{static get controlType(){return"tab"}constructor(e){super(e);this.props=new ga(e==null?void 0:e.props)}}var po={Designer:sn,Runtime:v0,Property:ga};class ec extends L{constructor(e){super(e)}}class tc extends H{static get controlName(){return"\u5DE5\u5177\u680F"}static get controlType(){return"toolbox"}static get controlIcon(){return"toolbox"}constructor(e){super(e);this.props=new ec({}),this.children=(e==null?void 0:e.children)||[new on({props:new Me({span:12})}),new on({props:new Me({span:12})})]}}tc.excludes=[S.GRID_ROW,S.ROW,S.GRID,S.SUBTABLE,S.TAB,S.TOOLBOX];class g0 extends K{static get controlType(){return"toolbox"}constructor(e){super(e);this.children=(e==null?void 0:e.children)||[new ha({props:new Me({span:12})}),new ha({props:new Me({span:12})})]}}var nc={Designer:tc,Runtime:g0,Property:ec};class b0 extends Fe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class E0 extends ${constructor(e){super(e);if(this.triggerFieldCode={type:"any"},this.datasourceBind={type:"any"},e.triggerType===2&&e.isShowSubList&&(this.triggerFieldCode={type:"string",required:!0,message:f.getMessage("pleaseEnterFieldCode")}),Cu.call(this,{optionConfig:"datasource",datasourceBind:e.datasourceBind,options:[]}),Array.isArray(this.datasourceBind)&&this.datasourceBind.length>1){const n=this.datasourceBind.find(u=>u.type==="object"&&u.fields);n&&(delete n.fields.valueFieldCode,delete n.fields.displayBoList)}}}class dn extends L{constructor(e){super(e);var n,u,a,r,l,o,s,d,v,y;this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.isLoading=(n=e==null?void 0:e.isLoading)!=null?n:!1,this.isShowSubList=(u=e==null?void 0:e.isShowSubList)!=null?u:!1,this.triggerType=(a=e==null?void 0:e.triggerType)!=null?a:1,this.triggerFieldCode=(r=e==null?void 0:e.triggerFieldCode)!=null?r:"",this.sublistPage=new ry(e==null?void 0:e.sublistPage),this.showType=(l=e==null?void 0:e.showType)!=null?l:"stretch",this.showFullScreen=(o=e==null?void 0:e.showFullScreen)!=null?o:!1,this.selectionType=(s=e==null?void 0:e.selectionType)!=null?s:"multiple",this.isFixedHeader=(d=e==null?void 0:e.isFixedHeader)!=null?d:!1,this.isShowSelection=(v=e==null?void 0:e.isShowSelection)!=null?v:!1,this.isAllLoaded=(y=e==null?void 0:e.isAllLoaded)!=null?y:!0,this.countType=e==null?void 0:e.countType}}dn.Rules=E0,dn.RuntimeRules=b0;class Bi extends H{static get controlName(){return"\u5217\u8868\u5BB9\u5668"}static get controlType(){return"list-view"}static get controlIcon(){return"iconyihangduolie"}constructor(e){super(e);this.props=new dn(e==null?void 0:e.props)}}Bi.excludes=[S.ROW],Bi.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"],Bi.setting=[{key:"list-datasource-bind",visible:!0},{key:"list-fixed-header",visible:!0},{key:"list-default-state",visible:!0},{key:"list-selection-state",visible:!0},{key:"super-setting",visible:!0}];class C0 extends K{static get controlType(){return"list-view"}constructor(e){super(e);this.props=new dn(e==null?void 0:e.props)}}var ic={Designer:Bi,Runtime:C0,Property:dn};class w0 extends Fe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Pi extends L{constructor(e){super(e);var n,u,a,r,l,o;this.save=new we((n=e==null?void 0:e.save)!=null?n:{content:"\u4FDD\u5B58",type:"save",isShow:!1}),this.cancel=new we((u=e==null?void 0:e.cancel)!=null?u:{content:"\u53D6\u6D88",type:"cancel",isShow:!1}),this.saveAs=new we((a=e==null?void 0:e.saveAs)!=null?a:{content:"\u4FDD\u5B58\u8349\u7A3F",type:"saveAs",isShow:!1}),this.print=new we((r=e==null?void 0:e.print)!=null?r:{content:"\u6253\u5370",type:"print",isShow:!1}),this.custom=((l=e==null?void 0:e.custom)!=null?l:[]).map(s=>new we(s)),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.datasourceBind=new z(e==null?void 0:e.datasourceBind)}}Pi.RuntimeRules=w0;class uc extends H{static get controlName(){return"\u6570\u636E\u5BB9\u5668"}static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}uc.excludes=[];class I0 extends K{static get controlType(){return"data-view"}constructor(e){super(e);this.props=new Pi(e==null?void 0:e.props)}}var ac={Designer:uc,Runtime:I0,Property:Pi};class S0 extends H{static get controlName(){return"\u81EA\u7531\u9875\u9762"}static get controlIcon(){return"page"}static get controlType(){return"page"}constructor(e){super(e)}}class A0 extends K{static get controlType(){return"page"}constructor(e){super(e)}}class _0 extends L{constructor(e){super(e);var n;this.background="#fff",this.minWidth="",this.maxWidth="",this.heightConfig="auto",this.hideHeader=(n=e==null?void 0:e.hideHeader)!=null?n:!1}}var rc={Designer:S0,Runtime:A0,Property:_0};class T0 extends H{static get controlName(){return"\u9AD8\u7EA7\u5BB9\u5668"}static get controlIcon(){return"AdvancedContainer"}static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class R0 extends K{static get controlType(){return"AdvancedContainer"}constructor(e){super(e)}}class B0 extends L{constructor(e){super(e);this.display=(e==null?void 0:e.display)||"flex",this.flexConfig=new ol(e==null?void 0:e.flexConfig)}}var lc={Designer:T0,Runtime:R0,Property:B0};class P0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5BB9\u5668"}static get controlIcon(){return"PositioningContainer"}static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class D0 extends K{static get controlType(){return"PositioningContainer"}constructor(e){super(e)}}class F0 extends L{constructor(e){super(e)}}var oc={Designer:P0,Runtime:D0,Property:F0};class x0 extends H{static get controlName(){return"\u5B9A\u4F4D\u5B50\u5BB9\u5668"}static get controlIcon(){return"position"}static get controlType(){return"position"}constructor(e){super(e)}}class k0 extends K{static get controlType(){return"position"}constructor(e){super(e)}}class O0 extends L{constructor(e){super(e);var n,u,a,r;this.widthSpan=(n=e==null?void 0:e.widthSpan)!=null?n:12,this.heightSpan=(u=e==null?void 0:e.heightSpan)!=null?u:12,this.left=(a=e==null?void 0:e.left)!=null?a:0,this.top=(r=e==null?void 0:e.top)!=null?r:0}}var cc={Designer:x0,Runtime:k0,Property:O0},M0=Object.freeze({__proto__:null,Grid:jo,Col:qo,Row:Wo,GridRow:Ko,CardGroup:zo,SubTableColumn:Xo,SubTableRow:Qo,GridTableColumn:Zo,Tab:po,TabPane:Yo,Toolbox:nc,ListView:ic,DataView:ac,Page:rc,AdvancedContainer:lc,PositioningContainer:oc,Position:cc});class N0 extends ${constructor(e){super(e);this.caption={type:"string",required:!0,message:f.getMessage("pleaseEnterCaption")},this.limitRows=[{type:"number",required:!0,message:f.getMessage("isNotNumber")},{type:"number",min:0,message:f.getMessage("limitRowsCannotBeLessThan0")}],this.formKey={type:"string",required:!1,message:f.getMessage("pleaseEnterForm")},this.maxHeight={type:"number",required:!0,message:f.getMessage("pleaseEnterMaxHeight")},this.captionTip={type:"string",required:!1,message:f.getMessage("pleaseEnterCaptionTip")},this.mobileRowCaption={type:"string",required:!1,message:f.getMessage("pleaseEnterRowCaption")},e.openType==="modal"&&(this.formKey.required=!0),e.isShowCaptionTip&&(this.captionTip.required=!0),e.mobileShowType==="tile"&&(this.mobileRowCaption.required=!0)}}class L0 extends Fe{constructor(e){super(e);e.isHide||this.push({type:"array",required:e.limitRows>0,message:f.getMessage("runtimeRequired",{caption:e.caption})},{type:"array",validator(n,u,a){u.length<e.limitRows&&a(f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})),a()},message:f.getMessage("TheNumberOfRowsCannotBeLessThanMinRows",{min:e.limitRows})})}}class fn extends On{constructor(e,n){super(e,n);var u,a,r,l,o,s,d,v,y,b,C,A,E,_,m,I,w,P,x,ie,k,ue,hn,ve,ji,yn,st,ge;this.caption=(u=n==null?void 0:n.caption)!=null?u:Di.controlName,this.isHideCaption=(a=n==null?void 0:n.isHideCaption)!=null?a:!1,this.defaultState=(r=n==null?void 0:n.defaultState)!=null?r:"default",this.labelPosition=(l=n==null?void 0:n.labelPosition)!=null?l:"top",this.openType=(o=n==null?void 0:n.openType)!=null?o:"default",this.formKey=(s=n==null?void 0:n.formKey)!=null?s:"",this.useCustomHeight=(d=n==null?void 0:n.useCustomHeight)!=null?d:!1,this.maxHeight=(v=n==null?void 0:n.maxHeight)!=null?v:rl,this.printMode=(y=n==null?void 0:n.printMode)!=null?y:"row",this.limitRows=(b=n==null?void 0:n.limitRows)!=null?b:1,this.maxRows=(C=n==null?void 0:n.maxRows)!=null?C:null,this.defaultRows=(A=n==null?void 0:n.defaultRows)!=null?A:1,this.datasourceBind=new z(n==null?void 0:n.datasourceBind),this.canAdd=(E=n==null?void 0:n.canAdd)!=null?E:!0,this.canDelete=(_=n==null?void 0:n.canDelete)!=null?_:!0,this.canCheck=(m=n==null?void 0:n.canCheck)!=null?m:!1,this.canEdit=(I=n==null?void 0:n.canEdit)!=null?I:!1,this.canImport=(w=n==null?void 0:n.canImport)!=null?w:!1,this.canExport=(P=n==null?void 0:n.canExport)!=null?P:!1,this.canClear=(x=n==null?void 0:n.canClear)!=null?x:!0,this.serverPagination=(ie=n==null?void 0:n.serverPagination)!=null?ie:!1,this.isShowCaptionTip=(k=n==null?void 0:n.isShowCaptionTip)!=null?k:!1,this.captionTip=(ue=n==null?void 0:n.captionTip)!=null?ue:"",this.mobileShowType=(hn=n==null?void 0:n.mobileShowType)!=null?hn:"list",this.mobileDefaultNum=(ve=n==null?void 0:n.mobileDefaultNum)!=null?ve:10,this.dataStorageDoc=(ji=n==null?void 0:n.dataStorageDoc)!=null?ji:new ny,this.fixedColumn=(yn=n==null?void 0:n.fixedColumn)!=null?yn:[],this.mobileRowCaption=(st=n==null?void 0:n.mobileRowCaption)!=null?st:"\u660E\u7EC6",this.mobileIsTile=(ge=n==null?void 0:n.mobileIsTile)!=null?ge:!1}}fn.Rules=N0,fn.RuntimeRules=L0;class Di extends xu{static get controlName(){return"\u660E\u7EC6\u5B50\u8868"}static get controlIcon(){return"iconGroup11"}static get controlType(){return"subtable"}constructor(e){super(e);var n;this.props=new fn(this,e==null?void 0:e.props),((n=e==null?void 0:e.props)==null?void 0:n.headers)===void 0&&(this.props.headers=[new ce,new ce,new ce])}addColumn(e,n){const u=e!==void 0&&typeof e!="number"?e:new ce,a=typeof e=="number"?e:n;return a===void 0?this.props.headers.push(u):this.props.headers.splice(a,0,u),u}}Di.controlEventKeys=["on_list_search","on_list_mounted","on_list_change","on_list_delete","on_list_before_insert","on_list_before_import"],Di.setting=[{key:"subtable-datasource-bind",visible:!0},{key:"caption",showItems:[c.CAPTION,c.IS_HIDE_CAPTION],visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE,c.IS_SHOW_CAPTION_TIP]},{key:"default-state",visible:!0},{key:"subtable-btn-setting",visible:!0},{key:"subtable-opened-mode",visible:!0},{key:"orders-setting",visible:!0},{key:"print-setting",visible:!0},{key:"default-rows",visible:!0},{key:"limit-rows",visible:!0},{key:"subtable-max-height",visible:!0},{key:"fixed-column",visible:!0},{key:"mobile-show-type",visible:!0},{key:"data-storage-description",visible:!0},{key:"super-setting",visible:!0}];class $0 extends Qr{static get controlType(){return"subtable"}constructor(e){super(e);this.props=new fn(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ya("Method not implemented.")}getChildrenFormControl(){return[]}}var sc={Designer:Di,Runtime:$0,Property:fn};class ba extends On{constructor(e,n){super(e,n);var u,a,r,l;this.isFixedHeader=(u=n==null?void 0:n.isFixedHeader)!=null?u:!1,this.selectionType=n==null?void 0:n.selectionType,this.isShowToolbar=(a=n==null?void 0:n.isShowToolbar)!=null?a:!0,this.isShowSelection=(r=n==null?void 0:n.isShowSelection)!=null?r:!1,this.isShowCustomColumns=(l=n==null?void 0:n.isShowCustomColumns)!=null?l:!0}}class V0 extends me{constructor(e){super(e);this.caption.required=!1}}class Fi extends j{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"left",this.caption=(u=e==null?void 0:e.caption)!=null?u:$e.controlName,this.width=(a=e==null?void 0:e.width)!=null?a:60,this.autoWidth.minWidth=(l=(r=e==null?void 0:e.autoWidth)==null?void 0:r.minWidth)!=null?l:60,this.autoWidth.flex=(s=(o=e==null?void 0:e.autoWidth)==null?void 0:o.flex)!=null?s:.4,this.widthType=(d=e==null?void 0:e.widthType)!=null?d:"px"}}Fi.Rules=V0;class $e extends X{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}$e.controlType="order-column",$e.controlName="\u5E8F\u53F7",$e.controlIcon="order-column",$e.setting=[{key:"column-fixed",visible:!0},{key:"column-autowidth",visible:!0}];class Ea extends Q{constructor(e){super(e);this.props=new Fi(e==null?void 0:e.props)}}Ea.controlType="order-column",Ea.controlFieldType=g.DECIMAL;var dc={Designer:$e,Runtime:Ea,Property:Fi};class Ca extends j{constructor(e){super(e);var n,u,a,r,l,o;this.fixed=(n=e==null?void 0:e.fixed)!=null?n:"right",this.widthType="auto",this.autoWidth.minWidth=(a=(u=e==null?void 0:e.autoWidth)==null?void 0:u.minWidth)!=null?a:84,this.caption=(r=e==null?void 0:e.caption)!=null?r:Ve.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 Ve extends X{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}toDataBindModel(){const e=super.toDataBindModel();return this.children.map(n=>{if(n.type===ii.controlType){const u=n;e.props[u.props.command]=u.props}}),e}toSchema(){const e=super.toSchema();return mn(be({},e),{children:this.children.map(n=>n.toSchema())})}validate(e,n){var u=a=>super[a];return qa(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}Ve.controlType="operation-column",Ve.controlName="\u64CD\u4F5C",Ve.controlIcon="operation-column",Ve.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-opt-btns",visible:!0},{key:"column-opt-limit",visible:!0},{key:"column-show-type",visible:!0},{key:"column-sort",visible:!0}];class wa extends Q{constructor(e){super(e);this.props=new Ca(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}wa.controlType="operation-column",wa.controlFieldType=g.FILE;var fc={Designer:Ve,Runtime:wa,Property:Ca};class hc extends xu{static get controlName(){return"\u8868\u683C"}static get controlIcon(){return"iconlistview"}static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new ba(this,e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),(e==null?void 0:e.props.headers)===void 0&&(this.props.headers=[new $e,new Ve])}toSchema(){const e=super.toSchema(),n=this.children.map(u=>u.toSchema());return mn(be({},e),{children:n})}validate(e,n){var u=a=>super[a];return qa(this,null,function*(){return yield u("validate").call(this,e,n),yield Promise.all(this.children.map(r=>r.validate(e,n))),!0})}}hc.setting=[{key:"list-fixed-header",visible:!0}];class H0 extends Qr{static get controlType(){return"grid-table"}constructor(e){super(e);this.props=new ba(this,e==null?void 0:e.props)}getChildrenDataSourceBindLayout(){Ya("Method not implemented.")}getChildrenFormControl(){return[]}getCheckboxProps(e){return{}}}var yc={Designer:hc,Runtime:H0,Property:ba},j0=Object.freeze({__proto__:null,SubTable:sc,GridTable:yc});class q0 extends Zr{constructor(e){super(e);xe.call(this,e)}}class xi extends j{constructor(e){super(e);var n,u,a,r,l;this.caption=(n=e==null?void 0:e.caption)!=null?n:He.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}]),this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.lineEllipsis=(l=e==null?void 0:e.lineEllipsis)!=null?l:1}}xi.Rules=q0;class He extends X{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}He.controlType="varchar-column",He.controlName="\u77ED\u6587\u672C",He.controlIcon="varchar-column",He.controlFieldType=g.VARCHAR,He.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Ia extends Q{constructor(e){super(e);this.props=new xi(e==null?void 0:e.props)}}Ia.controlType="varchar-column",Ia.controlFieldType=g.VARCHAR;var mc={Designer:He,Runtime:Ia,Property:xi};class U0 extends me{constructor(e){super(e);xe.call(this,e)}}class ki extends j{constructor(e){super(e);var n,u,a,r;this.escapeHTML=(n=e==null?void 0:e.escapeHTML)!=null?n:!0,this.caption=(u=e==null?void 0:e.caption)!=null?u:je.controlName,this.lineEllipsis=(a=e==null?void 0:e.lineEllipsis)!=null?a:1,this.showLinkOperation=(r=e==null?void 0:e.showLinkOperation)!=null?r:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}ki.Rules=U0;class je extends X{constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{escapeHTML:u}=this.props;n.props.escapeHTML=u}return n}}je.controlType="text-column",je.controlName="\u957F\u6587\u672C",je.controlIcon="text-column",je.controlFieldType=g.TEXT,je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-autoHeight",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-escape-html",visible:!0},{key:"column-line-ellipsis",visible:!0},{key:"column-sort",visible:!0}];class Sa extends Q{constructor(e){super(e);this.props=new ki(e==null?void 0:e.props)}}Sa.controlType="text-column",Sa.controlFieldType=g.TEXT;var vc={Designer:je,Runtime:Sa,Property:ki};class W0 extends me{constructor(e){super(e);xe.call(this,e)}}class Oi extends j{constructor(e){super(e);var n,u,a,r,l,o,s;this.caption=(n=e==null?void 0:e.caption)!=null?n:qe.controlName,this.precision=(u=e==null?void 0:e.precision)!=null?u:0,this.micrometer=(a=e==null?void 0:e.micrometer)!=null?a:!1,this.percentageFormat=(r=e==null?void 0:e.percentageFormat)!=null?r:!1,this.optionConfig=(l=e==null?void 0:e.optionConfig)!=null?l:"none",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.options=he((o=e==null?void 0:e.options)!=null?o:[{}]),this.showLinkOperation=(s=e==null?void 0:e.showLinkOperation)!=null?s:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Oi.Rules=W0;class qe extends X{constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{precision:u,micrometer:a}=this.props;u!==""&&(n.props.precision=u),n.props.micrometer=a}return n}}qe.controlType="decimal-column",qe.controlName="\u6570\u503C",qe.controlIcon="decimal-column",qe.controlFieldType=g.DECIMAL,qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"number-suite",showItems:[c.MICROMETER,c.PRECISION,c.PERCENTAGE],visible:!0},{key:"column-align",visible:!0},{key:"column-sort",visible:!0}];class Aa extends Q{constructor(e){super(e);this.props=new Oi(e==null?void 0:e.props)}}Aa.controlType="decimal-column",Aa.controlFieldType=g.DECIMAL;var gc={Designer:qe,Runtime:Aa,Property:Oi};class K0 extends me{constructor(e){super(e);xe.call(this,e)}}class Mi extends j{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:Ue.controlName}}Mi.Rules=K0;class Ue extends X{constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}Ue.controlType="timescope-column",Ue.controlName="\u65E5\u671F\u533A\u95F4",Ue.controlIcon="timescope-column",Ue.controlFieldType=g.TIMESCOPE,Ue.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class _a extends Q{constructor(e){super(e);this.props=new Mi(e==null?void 0:e.props)}}_a.controlType="timescope-column",_a.controlFieldType=g.TIMESCOPE;var bc={Designer:Ue,Runtime:_a,Property:Mi};class z0 extends me{constructor(e){super(e);xe.call(this,e)}}class Ni extends j{constructor(e){super(e);var n,u,a;this.dateType=(n=e==null?void 0:e.dateType)!=null?n:Ee.DATE,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption),this.caption=(a=e==null?void 0:e.caption)!=null?a:We.controlName}}Ni.Rules=z0;class We extends X{constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{dateType:u}=this.props;n.props.dateType=u}return n}}We.controlType="timestamp-column",We.controlName="\u65E5\u671F",We.controlIcon="timestamp-column",We.controlFieldType=g.TIMESTAMP,We.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"date-type",visible:!0},{key:"column-sort",visible:!0}];class Ta extends Q{constructor(e){super(e);this.props=new Ni(e==null?void 0:e.props)}}Ta.controlType="timestamp-column",Ta.controlFieldType=g.TIMESTAMP;var Ec={Designer:We,Runtime:Ta,Property:Ni};class G0 extends Zr{constructor(e){super(e)}}class Li extends j{constructor(e){super(e);var n,u,a;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ke.controlName,this.optionConfig=(u=e==null?void 0:e.optionConfig)!=null?u:"none",this.datasourceBind=new z(e==null?void 0:e.datasourceBind),this.options=he((a=e==null?void 0:e.options)!=null?a:[{}])}}Li.Rules=G0;class Ke extends X{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}Ke.controlType="array-column",Ke.controlName="\u6570\u7EC4",Ke.controlIcon="array-column",Ke.controlFieldType=g.ARRAY,Ke.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-options-setting",visible:!0},{key:"column-sort",visible:!0}];class Ra extends Q{constructor(e){super(e);this.props=new Li(e==null?void 0:e.props)}}Ra.controlType="array-column",Ra.controlFieldType=g.ARRAY;var Cc={Designer:Ke,Runtime:Ra,Property:Li};class Ba extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:ze.controlName,this.displayLevel=(u=e==null?void 0:e.displayLevel)!=null?u:1}}class ze extends X{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}toDataBindModel(e){const n=super.toDataBindModel(e);if(n){const{displayLevel:u}=this.props;n.props.displayLevel=u}return n}}ze.controlType="department-column",ze.controlName="\u90E8\u95E8",ze.controlIcon="department-column",ze.controlFieldType=g.DEPARTMENTS,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:"department-level",visible:!0},{key:"column-sort",visible:!0}];class Pa extends Q{constructor(e){super(e);this.props=new Ba(e==null?void 0:e.props)}}Pa.controlType="department-column",Pa.controlFieldType=g.DEPARTMENTS;var wc={Designer:ze,Runtime:Pa,Property:Ba};class X0 extends me{constructor(e){super(e);xe.call(this,e)}}class $i extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ge.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}$i.Rules=X0;class Ge extends X{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}Ge.controlType="auto-number-column",Ge.controlName="\u81EA\u52A8\u7F16\u53F7",Ge.controlIcon="auto-number-column",Ge.controlFieldType=g.AUTO_NUMBER,Ge.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Da extends Q{constructor(e){super(e);this.props=new $i(e==null?void 0:e.props)}}Da.controlType="auto-number-column",Da.controlFieldType=g.AUTO_NUMBER;var Ic={Designer:Ge,Runtime:Da,Property:$i};class Fa extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Xe.controlName}}class Xe extends X{constructor(e){super(e);this.props=new Fa(e==null?void 0:e.props)}}Xe.controlType="file-column",Xe.controlName="\u9644\u4EF6",Xe.controlIcon="file-column",Xe.controlFieldType=g.FILE,Xe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class xa extends Q{constructor(e){super(e);this.props=new Fa(e==null?void 0:e.props)}}xa.controlType="file-column",xa.controlFieldType=g.FILE;var Sc={Designer:Xe,Runtime:xa,Property:Fa};class ka extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Qe.controlName}}class Qe extends X{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props)}}Qe.controlType="image-column",Qe.controlName="\u56FE\u7247",Qe.controlIcon="image-column",Qe.controlFieldType=g.IMAGE,Qe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Oa extends Q{constructor(e){super(e);this.props=new ka(e==null?void 0:e.props)}}Oa.controlType="image-column",Oa.controlFieldType=g.IMAGE;var Ac={Designer:Qe,Runtime:Oa,Property:ka};class Ma extends j{constructor(e){super(e);var n;this.caption=(n=e==null?void 0:e.caption)!=null?n:Je.controlName}}class Je extends X{constructor(e){super(e);this.props=new Ma(e==null?void 0:e.props)}}Je.controlType="people-column",Je.controlName="\u4EBA\u5458",Je.controlIcon="people-column",Je.controlFieldType=g.EMPLOYEES,Je.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Na extends Q{constructor(e){super(e);this.props=new Ma(e==null?void 0:e.props)}}Na.controlType="people-column",Na.controlFieldType=g.EMPLOYEES;var _c={Designer:Je,Runtime:Na,Property:Ma};class Q0 extends me{constructor(e){super(e);xe.call(this,e)}}class Vi extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Ze.controlName,this.showLinkOperation=(u=e==null?void 0:e.showLinkOperation)!=null?u:!1,this.linkOperationOption=new De(e==null?void 0:e.linkOperationOption)}}Vi.Rules=Q0;class Ze extends X{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}Ze.controlType="location-column",Ze.controlName="\u5730\u5740",Ze.controlIcon="location-column",Ze.controlFieldType=g.ADDRESS,Ze.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-link-operation",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class La extends Q{constructor(e){super(e);this.props=new Vi(e==null?void 0:e.props)}}La.controlType="location-column",La.controlFieldType=g.ADDRESS;var Tc={Designer:Ze,Runtime:La,Property:Vi};class $a extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Be.controlName,this.fieldCodeList=(u=e==null?void 0:e.fieldCodeList)!=null?u:[]}}const J0=1;class Be extends X{constructor(e){super(e);const{excludes:n,childrenMaxLength:u}=new.target;this.props=new $a(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children),this.excludes=Ce(n),this.childrenMaxLength=u}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:u}=this.props;n.props.fieldCodeList=u}return n}toSchema(){const e=super.toSchema();return mn(be({},e),{children:this.children.map(n=>n.toSchema())})}}Be.controlType="custom-column",Be.controlName="\u81EA\u5B9A\u4E49",Be.controlIcon="custom-column",Be.excludes=[],Be.childrenMaxLength=J0,Be.setting=[{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-filed-list",visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Rc extends Q{constructor(e){super(e);this.props=new $a(e==null?void 0:e.props),ye(this,"children",e==null?void 0:e.children)}}Rc.controlType="custom-column";var Bc={Designer:Be,Runtime:Rc,Property:$a};class Va extends j{constructor(e){super(e);var n,u;this.caption=(n=e==null?void 0:e.caption)!=null?n:Pe.controlName,this.datasourceBind=new En((u=e==null?void 0:e.datasourceBind)!=null?u:{attributes:Pe.controlCustomAttributes})}}class Pe extends X{static get controlCustomAttributes(){return[{key:"displayBoList",name:"\u663E\u793A\u503C",required:!0}]}constructor(e){super(e);this.props=new Va(e==null?void 0:e.props)}}Pe.controlType="employee-column",Pe.controlName="\u4EBA\u5458",Pe.controlIcon="employee-column",Pe.controlFieldType=g.EMPLOYEES,Pe.setting=[{key:"column-data-bind",visible:!0},{key:"caption",showItems:[c.CAPTION],visible:!0},{key:"column-autowidth",visible:!0},{key:"column-fixed",visible:!0},{key:"column-sort",visible:!0}];class Ha extends Q{constructor(e){super(e);this.props=new Va(e==null?void 0:e.props)}}Ha.controlType="employee-column",Ha.controlFieldType=g.EMPLOYEES;var Pc={Designer:Pe,Runtime:Ha,Property:Va},Z0=Object.freeze({__proto__:null,VarcharColumn:mc,TextColumn:vc,DecimalColumn:gc,TimescopeColumn:bc,TimestampColumn:Ec,ArrayColumn:Cc,DepartmentColumn:wc,AutoNumberColumn:Ic,FileColumn:Sc,ImageColumn:Ac,PeopleColumn:_c,LocationColumn:Tc,CustomColumn:Bc,OrderColumn:dc,OperationColumn:fc,EmployeeColumn:Pc});class Y0 extends Fe{constructor(e){super(e);this.push({type:"object",fields:{}})}}class Hi extends qu{constructor(e){super(e);var n,u,a,r,l,o,s,d;this.searchType=(n=e==null?void 0:e.searchType)!=null?n:"model",this.labelPosition=(u=e==null?void 0:e.labelPosition)!=null?u:"top",this.viewType=(a=e==null?void 0:e.viewType)!=null?a:"mini",this.search=new we((r=e==null?void 0:e.search)!=null?r:{content:"\u67E5\u8BE2",isShow:!0}),this.cancel=new we((l=e==null?void 0:e.cancel)!=null?l:{content:"\u91CD\u7F6E",isShow:!0}),this.isLoading=(o=e==null?void 0:e.isLoading)!=null?o:!1,this.custom=((s=e==null?void 0:e.custom)!=null?s:[]).map(v=>new we(v)),this.queryTypeMap=(d=e==null?void 0:e.queryTypeMap)!=null?d:[]}}Hi.RuntimeRules=Y0;class ja extends Cg{constructor(e){super(e);this.props=new Hi(e==null?void 0:e.props)}}ja.controlType="simple-search",ja.setting=[{key:"search-fields",visible:!0},{key:"label-position",visible:!0},{key:"common-setting",visible:!0,showItems:[c.IS_HIDE]},{key:"search-view-type",visible:!0}];class Dc extends Bg{constructor(e){super(e);var n;this.props=new Hi(e==null?void 0:e.props),this.children=(n=e==null?void 0:e.children)!=null?n:[]}}Dc.controlType="simple-search";var Fc={Designer:ja,Runtime:Dc,Property:Hi},p0=Object.freeze({__proto__:null,SimpleSearch:Fc});h.Address=co,h.AdvancedContainer=lc,h.Amount=ao,h.ArrayColumn=Cc,h.AssignType=Te,h.Attachment=to,h.AutoNumber=yo,h.AutoNumberColumn=Ic,h.BatchDeleteButton=xl,h.BatchPrintListButton=Pl,h.BatchPrintRecordListButton=Dl,h.BatchSubmissionListButton=yl,h.Button=tl,h.Calc=vo,h.CardGroup=zo,h.Checkbox=Nl,h.Col=qo,h.CreateFormListButton=hl,h.CustomColumn=Bc,h.DATE_CONFIG_TYPE=nl,h.DATE_LIMIT_TYPE=il,h.Dashboard=Al,h.DataView=ac,h.DatePicker=ql,h.DateRange=Wl,h.DecimalColumn=gc,h.Department=fo,h.Department2=Lo,h.DepartmentColumn=wc,h.DepartmentType=Wn,h.Divider=dl,h.ElectronicSignature=ko,h.ElectronicSignatureConfig=ul,h.Employee=eo,h.Employee2=Fo,h.EmployeeColumn=Pc,h.EncryptTypeEnum=cl,h.Explain=Un,h.ExportListButton=vl,h.ExportRecordListButton=gl,h.ExportTemplate=Zu,h.FileColumn=Sc,h.FlexStyleConfig=ol,h.FormSelectButton=El,h.Grid=jo,h.GridRow=Ko,h.GridTable=yc,h.GridTableColumn=Zo,h.Image=io,h.ImageColumn=Ac,h.ImportRecordListButton=bl,h.Input=Ol,h.InternalType=ea,h.InvoiceCheckButton=Bl,h.LINE_STYLE=Qu,h.LimitDate=qn,h.Link=el,h.ListSelectButton=Cl,h.ListView=ic,h.ListViewSelect=Tl,h.LocationColumn=Tc,h.Number=Hl,h.OperationButton=Fl,h.OperationColumn=fc,h.OrderColumn=dc,h.OrganizationSelection=Vo,h.OrganizeType=pu,h.Page=rc,h.Pagination=Il,h.PeopleColumn=_c,h.Position=cc,h.PositioningContainer=oc,h.PrintTemplate=ll,h.Radio=$l,h.RichText=Xl,h.Row=Wo,h.SCORE_TYPE=Xu,h.SUBTABLE_DEFAULT_MAX_HEIGHT=rl,h.Score=lo,h.SearchDateRange=Co,h.SearchInput=Ro,h.SearchNumberRange=bo,h.Select=Jl,h.SelectMultiple=Yl,h.SelectRelation=Ao,h.SimpleSearch=Fc,h.SubTable=sc,h.SubTableColumn=Xo,h.SubTableRow=Qo,h.SubmissionRecordListButton=ml,h.Tab=po,h.TabPane=Yo,h.Text=pr,h.TextColumn=vc,h.TextOcrButton=Rl,h.Textarea=zl,h.TimescopeColumn=bc,h.TimestampColumn=Ec,h.Title=fl,h.TitleConfigEnum=_e,h.Toolbox=nc,h.Tree=Po,h.UndersignedPerson=Ju,h.VarcharColumn=mc,h.VueFormItem=Io,h.WPS=Mo,h.WPSSetting=al,h.WpsOperationItem=Yu,h.baseControls=sb,h.columnControls=Z0,h.formControls=u0,h.initExpression=Ct,h.layoutControls=M0,h.listControls=j0,h.searchControls=p0,Object.defineProperty(h,"__esModule",{value:!0})});
|